Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ablob
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
121.
▲
by
ablob
2y ago
Surprise is also based on convention. What could be surprising to you might be just a stroll in the park for others. In Japan people would be surprised to see others wearing shoes in a house while it's perfectly normal for people of ot
122.
▲
by
ablob
2y ago
Why not give it a new name? We could do so with Marxism, Leninism, Maoism, etc. There is no reason we have to stop giving these phenomena a new name. You can always talk about the similarities, but if you mix it carelessly you'll lose
123.
▲
by
ablob
2y ago
I think what's meant is that you need to be open to changing your opinion and manner of approach to things. To stay with the analogy: when you "remake" your bed and it ends up the same, chances are that you didn't try to
124.
▲
by
ablob
2y ago
I guess its because you can allow for custom data formats. You'll have to validate/parse the file anyways, and maybe having utc timestamps is worse than local date-time notation. Especially if the user is supposed to edit the file
125.
▲
by
ablob
2y ago
Memory is freed as soon as the program closes by the operating system. If you have an open connection to a database they might expect you to talk to them before you close the handle (for example, to differentiate between crash and normal sh
126.
▲
by
ablob
2y ago
In that case the only difference between a webapp and a normal app would be the permissions, wouldn't it?
127.
▲
by
ablob
2y ago
You could write this in C, no? { int val; if (getFoo(&val)) { ... }} Both ways of expressing this are weird, but stating that this can't be achieved with C is dishonest in my opinion.
128.
▲
by
ablob
2y ago
Funny enough, banning cotton is being considered in europe at the moment.
129.
▲
by
ablob
2y ago
This is an issue that really can't be fixed imo. If use the scheme "app/storage" then migration/deletion of singular apps is easy, but if you want to touch just a part of every program (e.g. delete the cache) then i
130.
▲
by
ablob
2y ago
I am confused. I tried it with glxgears and it appears to work. It even prints its output (and reading it into the buffer works as well). So what do you mean when you say that it does not support running external programs with a UI?
131.
▲
by
ablob
2y ago
I think the issue the OC was hinting at is that the borders of the domain are forced to be the files. Having a folder for "food" and a folder for "animal" should not imply that they are in different packages by the OC&#x
132.
▲
by
ablob
2y ago
There's also pandoc written in Haskell. Facebook used it for it's spam-protection too, at some point (it might still do that, but I don't know).
133.
▲
by
ablob
2y ago
In this context it follows. If you believe the pointers dont alias (and want to use simd) then there should be no data-dependencies inbetween indices. (If there are data-dependencies it is quite likely that you have designed your algorithm
134.
▲
by
ablob
2y ago
I believe it is impossible to prevent dataloss if the device powers off during a write. The point about corruption still stands and appears to be used correctly from what I skimmed in the paper. Nice reference.
135.
▲
by
ablob
2y ago
Having read the article, nothing really stands out to me as "C with C++ compiler". It talks about ranges, shared/unique pointers, lambdas... Essentially a lot of things C is lacking. I don't know where exacly the overlap
136.
▲
by
ablob
2y ago
If the license plate was not readable, then the additional information is false data. You do not know more about the image than you knew before by definition. Replacing pixels with plausible data does not mean a gain of information. If anyt
137.
▲
by
ablob
2y ago
And a big enough plane does not stop random people from walking up and turning them on. I don't think this analogy fits here.
138.
▲
by
ablob
2y ago
The whole issue of trusting other peoples code does have a solution besides just not running it: capability based code execution ("Capability-based security" if you want to look it up) Processes can forfeit the permission to do ce
139.
▲
by
ablob
2y ago
It's an editor issue then. "Back in the old days", people used to understand how to input ^A and ^B. Showing these characters is also only a mere addition in the character set. Sure, there is inertia to change, but even rich
140.
▲
by
ablob
2y ago
I think it is simple, but not easy to grasp. I might be quibbling over words, but these things are not quite the same in my eyes. simple <-> complex easy <-> difficult
141.
▲
by
ablob
2y ago
Both of which aren't portable, however.
142.
▲
by
ablob
2y ago
If entries can be relations themselves it is not possible afaik. For example User | Telephone Numbers -----+------------------ A | 123, 456 <- not atomic; more than 1 number (i.e. a set) B | 789 Now there are
143.
▲
by
ablob
2y ago
If you talk about the written code to the student in question it should become clear whether it was copied or not.
144.
▲
by
ablob
2y ago
Any push-based service would be vulnerable to this, wouldn't it? The medium doesn't matter if somewhere in the chain someone stores the message (in public).
145.
▲
by
ablob
2y ago
I want to take this opportunity to recommend the talk "NTFS isn't that bad" ( https://www.youtube.com/watch?v=qbKGw8MQ0i8 ). NTFS prefers a different access pattern than most usual file systems. I remember that
146.
▲
by
ablob
2y ago
There exist algorithms that deal with state blow-up. In fact, these algorithms project any given DFA into an equivalent DFA of minimal size - guaranteeing a minimal automaton for the language that is accepted by it. In essence, you build eq
147.
▲
by
ablob
2y ago
As soon as you collaborate with more people, 80 charactars becomes a valid target for line width. Eventually you'll have someone reading your code in a manner that is hardly pleasant with lengths of 200 characters or more: - Someon
148.
▲
by
ablob
2y ago
I'm going to be a bit pedantic here: There is a semantic difference between Option<Option<T>> and Option<T>. If I intend to retrieve a setting from a file, the former allows me to differentiate between a missing file
149.
▲
by
ablob
3y ago
Which alphabet did you take as a basis to reach 2^256 combinations?
150.
▲
by
ablob
3y ago
Storing by delta can bite you quite hard in the event of data corruption. Instead of 1 data point being affected it would cascade down. Selecting specific ranges where the concrete bottom/top as in "give me everything between 1-2
More ›