Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sham1
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
151.
▲
by
sham1
3y ago
Decreased battery life, because you have to actively keep polling. Either WebSockets or even real TCP sockets would make that a lot better. Also, it means that a server can't really push events at you, especially if they're coming
152.
▲
by
sham1
3y ago
Matrix has annoying HTTP long polling. That still hasn't been fixed. There's still no officially blessed alternative transport that wouldn't require you to send a request every N seconds just to see if you have a new message.
153.
▲
by
sham1
3y ago
Not the GP, but I'd at least imagine that a self-hosted XMPP could get the job done. You'd probably also need your own STUN and TURN servers, but it should definitely be doable. Hell, might even be doable with public XMPP and OM
154.
▲
by
sham1
3y ago
Libertarianism, like any other such utopic ideology, has this problem. The ideology requires disregarding reality and assuming the frictionless plane, because otherwise it just wouldn't work properly. When ideals and reality go against
155.
▲
by
sham1
3y ago
> Which capitalist theorists say that competition isn’t crucial for the success of capitalism? > > It’s entirely integral to the proper functioning of the system. What you’re describing is that not being followed, which is exactly
156.
▲
by
sham1
3y ago
> One is a concept that means that something is defined in terms of itself, which why I linked you the definition. The other is a data structure where the first item in is the last item out. One is an abstract concept that isn't lim
157.
▲
by
sham1
3y ago
> Recursion means defining something in terms of itself, so no, using a stack isn't recursion. How can you differentiate between them? How do you account for these two things being isomorphic? Any algorithm that can be defined by ca
158.
▲
by
sham1
3y ago
I can't speak for other distros, but at least in Fedora what happens is that library code is distributed in various devel packages, where the base package for, say, "futures-io" contains the actual code. So that's the &q
159.
▲
by
sham1
3y ago
Well, it's still recursion whether you're using the call stack or are using an explicit stack structure. You're still breaking the problem down into smaller subproblems inductively. I feel that people focus on the wrong thing
160.
▲
by
sham1
3y ago
Annoyingly said library ecosystem with the standard build system and package manager becomes a pain to deal with when you're trying to do something like add packages made in the language to distros, requiring a bunch of hacks to do thi
161.
▲
by
sham1
3y ago
I'd guess that Strong Towns would advocate for cities more along the lines of Amsterdam and many other similar European cities than NYC. Of course, I personally tend to agree with the thesis of walkable cities and what Strong Towns is
162.
▲
by
sham1
3y ago
American companies are always free to leave, if they don't want to be regulated. Yeah, we'd also need more innovation here, but regulation is not a bad thing no matter what libertarians say.
163.
▲
by
sham1
3y ago
> Part of the problem is that many of the concepts OpenGL teaches you have no bearing on how modern hardware actually works, so you end up having to unlearn bad habits which OpenGLs messy abstractions enable. OpenGL won't teach you
164.
▲
by
sham1
3y ago
Then again, it's hard to make a case for not learning OGL. You still need to learn all the concepts whether you'd end up using Vulkan or Metal or whatnot. At worst you'd end up having to use an OpenGL middleware thing in th
165.
▲
by
sham1
3y ago
There's nothing in here that would technically preclude one from building a nice UI around this and make this have a nice UX where most people wouldn't even need to know that any given protocol like this is being used. The social
166.
▲
by
sham1
3y ago
Well maybe it's just me, but the borrow semantics were never all that bad. Of course there were things that needed to be relearnt, but it's not all that bad all things considered.
167.
▲
by
sham1
3y ago
Markets don't work rationally and the demand for RTO isn't from developers. Also, non-IT stuff can also keep office rental businesses up and running.
168.
▲
by
sham1
3y ago
I do somewhat doubt that. `no_std` Rust is still quite different from normal, userspace Rust. You don't get all the fancy libraries or whatever (of course Linus would probably just veto them anyway) and the Linux kernel development mod
169.
▲
by
sham1
3y ago
The thing is, the consequences seem to be very much intended. The consequences of forcing companies to be transparent about tracking, and hopefully letting the users start voting with their wallets as they get annoyed by the omnipresent &qu
170.
▲
by
sham1
3y ago
The issue here isn't that there is regulation, it's that the regulation is badly written. For essential services such as banking and government stuff, you shouldn't be forced to rely on things like the Google Play Store and A
171.
▲
by
sham1
3y ago
I use the Mozilla location services to have my Linux desktops and laptops automatically figure out where they are in order to properly apply blue-light filtering at night. How might one be able to integrate either the aforementioned Apple o
172.
▲
by
sham1
3y ago
Well, Guix sidesteps that problem by (rightly) pointing out that Intel microcode updates are non-free software, and thus aren't included in the system. If one wants those updates, they have to do it themselves, usually by using a softw
173.
▲
by
sham1
3y ago
Yes it is. And a democracy under (quite literal) attack by hostile forces. Ukraine does have its flaws, with the influence of the oligarchs being a major one, but to not consider it a democracy would just be silly.
174.
▲
by
sham1
3y ago
It must then be a question of perspective and what people are used to, because this specific ruling about the EU and not about the US. It's of course good to bring up the analogy, but it just means that Apple shouldn't be using Am
175.
▲
by
sham1
3y ago
I feel that for this kind of AI stuff, the company behind the model could probably argue that they're not liable for what the individual user generates. So that for example with CSAM, that as long as they make sure that the training da
176.
▲
by
sham1
3y ago
And the fun part is that there are many folks out there, that still argue that there's no need for climate regulation for example, because left to its own devices, the free market will do the "right thing." But clearly becaus
177.
▲
by
sham1
3y ago
You'd think that "preventing a large chunk of the biosphere, especially the part with humans in it, from going FUBAR" would have enough financial incentives behind it as-is (after all, the human-part of the biosphere going FU
178.
▲
by
sham1
3y ago
For slight pedantry, "unsigned plus sign" is the sign-and-magnitude representation, while one's complement negation is taking the bitwise NOT of the number in question.
179.
▲
by
sham1
3y ago
As years have gone by, I've realised that the whole "don't reinvent the wheel" is fundamentally an anti-innovation and anti-intellectualist idiom. Like yeah, the idea is that the wheel already works pretty well, so you w
180.
▲
by
sham1
3y ago
Eglot does that automatically though. It detects when you're in TRAMP and launches the language server in a remote. Of course, it assumes that the language server exists at the remote, but that should be the case.
More ›