Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
moring
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
391.
▲
by
moring
4y ago
I disagree about well-developed error codes. Examples: * There is no useful distinction between different kindes of bad requests (syntactically wrong, structurally wrong, not applicable to the data found, etc.) * Special handling is needed
392.
▲
by
moring
4y ago
This article assumes a very narrow definition of "long-term plan", yet doesn't give that definition to the reader. Here are some clues towards that definition: > Instead of rewarding teams for delivering useful, profitable
393.
▲
by
moring
4y ago
"Eberle left work and drove to the Palo Alto police station, where he explained the situation. But there wasn't much the police could do about it." This is, IMHO, the key part. Mr Eberle found himself in a situation that woul
394.
▲
by
moring
4y ago
The hidden assumption here is that using a CP doesn't actually give you at least some legal protection or at least an advantage if you end up in court. Also, instead of blaming the restaurant owner who gets fire from all sides all the
395.
▲
by
moring
4y ago
I tried making sourdough without a starter culture several times and it worked every time (1), so I suspect that having the correct conditions may be sufficient depending on what you want to ferment. (1) to be precise, it looked and tasted
396.
▲
by
moring
4y ago
How is the root password hashed these days? Does it use some "slow" hash like bcrypt, for example? About 10 years ago a GPU-assisted tool could grind through several hundred million passwords per second to find the cleartext to a
397.
▲
by
moring
4y ago
But then why the monthly cost instead of a one-time cost for "unlocking" the feature?
398.
▲
by
moring
4y ago
I could say the same about almost every web app that gets rendered on the server because every tiny step of interaction needs a network round-trip.
399.
▲
by
moring
4y ago
> So just because you can remove screws more easily you build better shelves? Yes, with a high probability. Try to put all your screwdrivers away and then try to build a shelf without them. Not only will you need lots of time just for fa
400.
▲
by
moring
4y ago
Is there a distinction between "owning" a digital color, a color of light or a color of object? The background of this question is that an infringement lawsuit will have to test for some kind of "equality" between colors
401.
▲
by
moring
4y ago
Lines of code are irrelevant compared to readability, and the latter is where bash loses hard. Time to write and maintain these scripts is far less with typescript. The remainder of your arguments seems to be based on wrong assumptions abou
402.
▲
by
moring
4y ago
My job/team might be the exception to the rule, but anyways: "In any case you'll face SQL" -- there is no trace of SQL in our project. We're using a NoSQL database. This may change in the future, though. "Learn
403.
▲
by
moring
4y ago
IMHO, the best they can do is being honest about what they can't say due to an NDA. For example, if they can't say that they don't own the design, they might say "due to an NDA we cannot say who owns the design". Th
404.
▲
by
moring
4y ago
> choose how logical elements are interconnected On the RTL level, you can already do that with FPGAs. On the physical level, you can't do that with an asynchronous design either. > absence of clocks (less devices The clocks are
405.
▲
by
moring
4y ago
A bit late for an answer, but an SQL view that only shows not-deleted data might have helped you in your case.
406.
▲
by
moring
4y ago
I tried to keep the domain logic in the upper layer and only push down "dumb" queries -- in the sense that the queries were allowed to be somewhat complex but not allowed to contain domain logic. This way the DB layer was not writ
407.
▲
by
moring
4y ago
I didn't know that term, so many thanks for that. I might add that I always treated performance in a "don't fix it if it ain't broken" way because clean domain code was much more important to me and performance prob
408.
▲
by
moring
4y ago
Not OP, but the worst I ran into is the DB layer and the unit-of-work pattern. That is, loading an entity from the database, then implementing the domain logic at a high level (in-memory), and then you have to figure out how to translate th
409.
▲
by
moring
4y ago
While I generally agree with the article, IMHO there is more to automation than understanding, and I regularly encounter problems with automation that cannot be solved by just understanding things. Two examples just because I tripped over t
410.
▲
by
moring
5y ago
Doesn't the article show that newline isn't harmless at all? Of course EOT doesn't end anything by itself, nor does 0x0a end a line by itself -- all that happens through code that interprets those characters in a particular w
411.
▲
by
moring
5y ago
> Don't switch to Azure unless your employer forces you, you will regret it. Can you give any details? Pricing, reliability, weird quirks you have to program around, ...?
412.
▲
by
moring
5y ago
If IntelliJ was as fast as vim or VisiData, and as a bonus totally scriptable (I think it is to some extent, but just for fun let's assume you could change everything), which would you prefer then?
413.
▲
by
moring
5y ago
> Would Kyiv be prepared to relinquish Donetsk, Luhansk, Crimea and establish a Finland-like declaration of neutrality to avoid the widespread demolition of the country? Not an inch on any of those right now but when the siege is in its
414.
▲
by
moring
5y ago
Towards who, and for what purpose, that's what I don't get -- except if the audience is the Russian population. Anybody in the western world has seen enough (or has been presented enough by the western media, if you're cynic)
415.
▲
by
moring
5y ago
> (...) or ways to de-escalate the conflict by giving Putin some sort of face-saving measure (...) One thing I never understood is what "face-saving" means in this context. Could somebody try to explain that? Edit: to explain t
416.
▲
by
moring
5y ago
If you don't know how the program is going to be used, how do you know that it is doing the right thing? Is "Hello world" actually the expected output? Also, what makes the status code handling special compared to, say, - ass
417.
▲
by
moring
5y ago
What would be the expected reaction if either puts or fflush returns an error code? You might think, write a message on stderr (which may be different from stdout), but what if stderr is also redirected to a full device? How would you react
418.
▲
by
moring
5y ago
I think you are still assuming some context to understand your comment that I'm still missing. By "directly using gpu" you probably mean without Vulkan and without any operating-system-level graphics driver, right? I.e. writi
419.
▲
by
moring
5y ago
Could somebody help me understand what exactly this is? The description tells about 2D rendering, and it seems that it sits on top of, for example, Vulkan, so my best guess it is a 2D rendering library to be used in games or other applicati
420.
▲
by
moring
5y ago
My impression is that low-code/no-code fails when it tries to be a generic, domain-agnostic solution for everything. People then realize that programming languages are complex for a reason. However, when it is applied in a highly domai
More ›