Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fstrthnscnd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
fstrthnscnd
5y ago
Yes, that was more or less the argument I was trying to do by the end of my comment: diffing is meant to be space agnostic (the -B option of diff(3)), but since code is committed with formatting, formatting will interfere.
32.
▲
by
fstrthnscnd
5y ago
Interesting idea. This will work with C (for now), but it will fail with language like C++ where you can have lambdas. When a lambda is a function parameter, it will need to be aligned to other parameters, but the lambda body will require i
33.
▲
by
fstrthnscnd
5y ago
Tabs do work as long as they aren't fixed width (I don't know what you mean by "custom"). For instance, in many languages, one will sometimes have to split a function call to many lines, and in most languages function na
34.
▲
by
fstrthnscnd
5y ago
> The pure libertarian view is that if it is a net benefit to twitter (including where less expenditure on moderation outweighs the costs of poorer quality of moderation), then it's a good idea. > Libertarianism centers around th
35.
▲
by
fstrthnscnd
5y ago
I don't think this is quite the correct place to ask technical questions like that. You're more likely to get answers on stackexchange, but you'd have first to give a bit more details about your problem, it's quite vague
36.
▲
by
fstrthnscnd
5y ago
I understand it was meant as a rhetorical question, but I think there's a plausible response to that. People looked at the behaviour of many large companies when they had to deal with IP infringement, and the most memorable examples we
37.
▲
by
fstrthnscnd
5y ago
> They're not that expensive; something like 1000 cycles. When you factor in all the atomic operations, which take 10-25x more cycles than normal operations, required to post and pull from shared memory queues, you're not actua
38.
▲
by
fstrthnscnd
5y ago
That's cool! C++ had support for partial applications with templates (std::bind iirc), and it was possible to implement closures as objects with the () operator implemented. Now it has support for closure with a dedicated syntax. It wo
39.
▲
by
fstrthnscnd
5y ago
I don't know much about kernel security dev, let alone plain kernel dev, so take what I said and about to say with a (big) grain of salt. Indeed, it seems there's a similar issue with traditional syscalls. I suppose that a larger
40.
▲
by
fstrthnscnd
5y ago
I know that DragonflyBSD was born on the idea of implementing syscalls as a messages, while retaining the structure of a monolithic kernel (FreeBSD 4), but I don't know if the messages are kept in userland or there's still a conte
41.
▲
by
fstrthnscnd
5y ago
> We’re working on it :) [1] Here's a bunch of questions for you then: is the io_uring API similar to what we see in message based micro-kernels like Mach, where any syscall is implemented as a message posted to the kernel? If so, i
42.
▲
by
fstrthnscnd
5y ago
> Platforms must be responsible for the content they are hosting, broadcasting, and publishing. > One to one communications between two people exchanging ideas and having a private discussion is different from mass broadcasting. The h
43.
▲
by
fstrthnscnd
5y ago
Actually, first class functions also means the ability to form functions (ie, closures). Javascript for instance has that feature. I think that python also supports it. C OTOH doesn't, but it has other advantages.
44.
▲
by
fstrthnscnd
5y ago
jisho.org doesn't provide the same numbers for these kanjis: 議 : 25 https://jisho.org/search/議%20%23kanji 選 : 57 https://jisho.org/search/選%20%23kanji 調 : 87 https://jisho.org&#