Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
josefx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
841.
▲
by
josefx
4y ago
> single file HTML with embedded images would be a much better format Or use epub, which lets you store the images as part of the zip archive without having to store binary files as bloated and text editor killing base64 text.
842.
▲
by
josefx
4y ago
> “A chat sent from this person’s phone tripped the detector” is a reasonable justification. A black box detector that similar to a trained drug dog will bark on command. Last time a secret internet block list pushed by von der Leyen wa
843.
▲
by
josefx
4y ago
Doesn't always work. For example Google seems to "auto correct" Gasgerd, a widely used nickname for former German chancellor Gerhard Schröder to Gasherd with and without quotes.
844.
▲
by
josefx
4y ago
Never used in python, but I had some C++ code where I used bit sets to identify which values in an array where valid, in that context the amount of ones was the amount of valid entries.
845.
▲
by
josefx
4y ago
Is it using up GPU time or just maxing out CPU? It uses OpenSceneGraph, which has some very slow state management (std::map and atomic reference counting all over the place) in its render thread so I wouldn't be surprised if you are s
846.
▲
by
josefx
4y ago
> many modern ones are pretty similar as well The problem is how well does Planescape Torment work as an introduction for someone who never played any of the games you listed? A few weeks ago I was talking with some younger coworkers ab
847.
▲
by
josefx
4y ago
The problem with that is that Putin doesn't seem to care about the damage to Russias economy and hijacking the gas pipelines is likely to do just as much damage to the countries downstream. One of Gazproms local off shots managing gas
848.
▲
by
josefx
4y ago
> that an automatic translation of code from C to go produces code that is twice as slow? try several thousand times, twice as slow was the best case measured. The group by performance is catastrophic.
849.
▲
by
josefx
4y ago
FUD isn't just a meaningless phrase, it means fear, uncertainty and doubt. Nearly every comment against GIL removal makes vague claims about this causing stability issues in a large amount of code that possibly, might, perhaps depend o
850.
▲
by
josefx
4y ago
> and it would be fairly simple for an expert to dump out the list of things being looked for. I think the Apple design used some fancy tricks to run the comparisons without ever decrypting the reference data and even if that wasn't
851.
▲
by
josefx
4y ago
> Unfortunately, Python 3.11+faster-cpython work has already superseded some of it, Why is that unfortunate? If his patch being slower than python 3.11 isn't acceptably fast despite being faster than every other python version befo
852.
▲
by
josefx
4y ago
Going by the paper it also improves performance even for single threaded code[1]. The GIL is just dated design, there isn't anything good about it. [1] https://docs.google.com/document/d/18CXhDb1ygxg-YXNBJNzfzZ
853.
▲
by
josefx
4y ago
Can you name one library affected by the change?
854.
▲
by
josefx
4y ago
Motion JPEG is widely used as a simple video streaming format.
855.
▲
by
josefx
5y ago
Also the only information available to the developer when it was added in PHP 3 in 1997, good luck Googling that error. They didn't add the actual token to the error message until PHP 5.4 over a decade later.
856.
▲
by
josefx
5y ago
A reporter might want to hide images that could be considered regime critical if they might be searched. Lots of nice pictures of healthy patriotic people, no suffering and starving people, empty shelves or grass stealing beggars to see. Or
857.
▲
by
josefx
5y ago
An invisible way to hide a signature comes to mind. Until the ownership comes into question no one will be aware that the image itself contains all proof needed. You could do something like Eurion and hide a pattern that only copiers can id
858.
▲
by
josefx
5y ago
Isn't that a rather narrow case? What happens on the following, is that protected? if (weakref.deref()) { /* garbage collection here */ use(heavyComputations(), weakref.deref()); }
859.
▲
by
josefx
5y ago
> Surely the same standards should be applied to all users? The standard under discussion seems to be free speech absolutism with the question "how much more liberal could twitter get". The ban of Trump just makes a good high p
860.
▲
by
josefx
5y ago
> "the scum of the earth" to describe people you disagree with because it doesn't help in any way. The top comment was classifying crypto coins as mostly " part a scam, a ponzi scheme or a platform for pump and dumps
861.
▲
by
josefx
5y ago
> When you're begging for money But that is just it, Wikipedia isn't that desperate for money that it has to do tricks for con artists and scammers. Now if Wikipedia was tethering at the edge of non existence it might be excusa
862.
▲
by
josefx
5y ago
> C++'s templates can't do that. In C++ even if the types look generic, your code can make assumptions about the types. If you want an assertion that a class pretends to implement certain semantics (a.k.a. implements an interfa
863.
▲
by
josefx
5y ago
> MO the strict aliasing rule is a mistake, people know how the code should behave, so it should behave as expected. The strict aliasing rule exists because without it a C compiler has to second guess every load and store, which would ha
864.
▲
by
josefx
5y ago
> We'll still need electric trucks and vans. But that would still reduce the problem by a factor of what? 100? With all the other side effects of needing smaller roads, reducing congestion, ... .
865.
▲
by
josefx
5y ago
Given that the AI are trained on human generated content to be human like without having understanding of the content, I would think approximately the same but even less correct.
866.
▲
by
josefx
5y ago
The court documents at one point call that contradiction out as being nonsensical. A license cannot prevent the licensor from choosing restrictions, so interpreting the AGPL in a way that automatically nullifies those does not make sense in
867.
▲
by
josefx
5y ago
Section 10 only seems to mention further restrictions as restrictions added by "you", so a licensee. Doesn't this reference to section 10 mean that section 7 explicitly limits itself to further restrictions added by licensees
868.
▲
by
josefx
5y ago
> It's almost like the FSF intended to trick the authors who choose AGPL into not realizing what terms they were licensing their work under. It is almost as if the FSF existed to push a certain ideology and uses licenses as one of t
869.
▲
by
josefx
5y ago
> It pains me when I see developers testing their functionality end to end, manually On the other hand I know developers that only unit test. Hundreds of lines of mock code, dozens of tests. No documentation, no sample configuration for
870.
▲
by
josefx
5y ago
> The messaging IIRC was a little more nuanced, but delivered poorly Probably as intended. Governments are not above outright lying about these matters when it suits them. Several years before covid the German government tried to push a
More ›