Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
desc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
desc
7y ago
Indeed. As always, the public debate (and witchhunt) is focused on the tool, the symptom, the observation, and never the underlying cause. How are these technologies being abused, and why are the perpetrators allowed to do so? The surveilla
32.
▲
by
desc
7y ago
I learned to program without the Internet. There was just a blocky image on the TV, a rubber keyboard, and 16K of RAM. The overwhelming majority of the available memory resided in the programmer's head. While I'd never consider tr
33.
▲
by
desc
7y ago
Another way to look at it is that only infrastructure should be locking stuff, and infrastructure should be a very tiny part of the codebase. That infrastructure should probably be responsible for layering a different concurrency paradigm o
34.
▲
by
desc
7y ago
Indeed, I do like scripting languages which are specific . Whatever the language, I do insist that people spell stuff out in a properly readable and standard fashion if writing a script. Aliases and shorthand are fine at a prompt but by d
35.
▲
by
desc
7y ago
I think the point here is that going from level 4 to level 5 is a much, much harder problem than going from, say, level 1 to level 4.
36.
▲
by
desc
7y ago
It sounds like the author is talking about interfaces being impediments to composition. The point of an interface is to permit changing an implementation without changing every implementation which uses it. So maybe the complaint is that
37.
▲
by
desc
7y ago
I'm not a game dev, but rough guess: the framerate is artificially limited to some 'sane' range by the equivalent of a short sleep() which is cancelled by an input event. More devices, more events, more chance to prompt the n
38.
▲
by
desc
7y ago
The point of structure is to aid comprehension. If you throw out the requirement for the system to be comprehensible, you can write it any way you wish. Treating code as a black box with regard to making behavioural changes is essentially t
39.
▲
by
desc
7y ago
It's useful for development environments to cache things which have not changed in order to shorten the feedback loop. Many do. The problem is guaranteeing correctness. Correct cache invalidation is Hard(TM). Therefore, the CI system b
40.
▲
by
desc
7y ago
I wonder if the best approach might be to specify the precise request format required for DoH and actively deny requests with extra information. 'Thou shalt provide exactly this, no more and no less' Depends on whether we want to
41.
▲
by
desc
7y ago
* A URL is a name for a pointer. * A URL is a parameter to a function returning a resource. * A URL is a string, conforming to a certain format. Neither of these specifies that the resource it points to is always the same resource, nor that
42.
▲
by
desc
7y ago
This, very much. There are projects where there are multiple sets of 'users' who don't necessarily overlap, and you'll find someone like this championing one set to the detriment of others. This can be awkward to imagine
43.
▲
by
desc
7y ago
My advice would be: rigorously eliminate everything from your life which doesn't fit inside your top X critical priorities. Where X is as small as possible, and seek to cull it further by combining equivalents and trying to identify wh
44.
▲
by
desc
7y ago
Er, what? Foreign keys are not necessarily a net performance cost . Depending on the scale of the database, they can be essential for fast queries.
45.
▲
by
desc
7y ago
tl;dr: Uber have not the slightest idea what they're doing, and should not be permitted to develop anything safety-critical until they can properly explain 'object permanence'. Also, would probably be a good idea to hold the
46.
▲
by
desc
7y ago
Bitcoin is another wonderful example of trying to solve a people problem with technology. A complete and utter waste of resources, which at best fills a gap while the actual problem remains unsolved.
47.
▲
by
desc
7y ago
Obligatory: https://craphound.com/spamsolutions.txt
48.
▲
by
desc
7y ago
> It's risky and unnecessary to go to technical arguments for something that's a moral matter, because technology changes. True. > If you base your entire opposition around the key, what if at some point someone does have an
49.
▲
by
desc
7y ago
It's not as simple as left vs. right. Authoritarianism can build a power base on either. Those who reject authoritarianism still have the paradox of tolerance and tyranny of the minority to deal with. Those who band together have more
50.
▲
by
desc
7y ago
The primary reason why air travel is so safe is that each and every failure in production becomes a major news item for days. So the system broke somehow, and the news will keep hammering it until someone somewhere learns their lesson. We h
51.
▲
by
desc
7y ago
> But the general benefit you get from JS being single-threaded is the fact that any given callback is transactional. No other code will ever come in and mutate state between two regular lines of JavaScript code. Achieving this is pretty
52.
▲
by
desc
7y ago
"I'm sorry, I'm busy having a beer and playing a game right now. But I can offer you a full refund?"
53.
▲
by
desc
7y ago
Warning: brain dump ahead. Broadly speaking, in any system, there is necessary complexity (imposed by the problem domain) and unncessary complexity (imposed by the tools, the developers, the customer's interpretation of The Matrix, etc
54.
▲
by
desc
7y ago
> but if I make it as annoying and difficult to work with my software as possible the hope is that you'll go somewhere else. And yet, Oracle still has some market share.
55.
▲
by
desc
7y ago
This is by definition impossible to do without changing the behaviour of the code being 'anti-fuzzed'. This therefore risks introducing bugs which are then much harder to fix, and complicates debugging of issues in the original co
56.
▲
by
desc
7y ago
An OOP approach is fairly straightforward to understand when you've got state and need to control how it's modified. A functional approach is fairly straightforward to understand when you need to describe how state (maybe yours, m
57.
▲
by
desc
7y ago
Advertising generally: I guess it's necessary. Personalised ads, tracking, etc: Criminalise it. By which I mean, after a cooling-off period, jail people still pushing it.
58.
▲
by
desc
7y ago
Indeed. "If I have to pay nearly as much or more attention to the use of this software than it saves me, it is by definition worthless." Intellisense in VS/Resharper went through a nice period a few years back where it was sm
59.
▲
by
desc
7y ago
I was introduced to an important rule re. giving presentations when I was still at school: 1. Tell them what you're going to tell them. 2. Then tell them. 3. Then tell them what you told them. Open with a clear introduction, no more th
60.
▲
by
desc
7y ago
Indeed. Part of the issue is that 'humanity' is divided by borders, and countries do not generally share information and capabilities freely. So the fact that the US has achieved something means very little to other countries beyo
More ›