Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
josefx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
181.
▲
by
josefx
1y ago
The previous proposals ran into basic human rights issues. Changing laws related to those tends to be a lot harder than just passing jet another surveillance bill. Of course it still isn't perfect since those can be bypassed by "r
182.
▲
by
josefx
1y ago
Here I thought that LLMs would just copy paste decades old badly written SQL code into new codebases. Instead they went above and bejyond and became SQL injection vectors themselves.
183.
▲
by
josefx
1y ago
It is "mostly" backwards compatible. Applets and everything related to them where dropped. A few interface dependencies where changed to improve modularity of the runtime. Widely used hacks like sun.misc.unsafe are getting replace
184.
▲
by
josefx
1y ago
> Reserve will not initialize, but then you have to keep track of the real vector size on the side You already do that when you use push_back. It tracks the size for you, overallocates to amortize the cost of growing and most importantly
185.
▲
by
josefx
1y ago
Tinfoil hat: The entire thing is just an ad. "Our product is so great aerospace companies are literally stealing it, also have you seen our new 30 day trial? So back to that aerospace company and how cheaply it could use our software,
186.
▲
by
josefx
1y ago
> In effect, you are assuming that your uninitialized and initialized variables straddle a page boundary You are assuming that I am working with small data structures, don't use arrays of data, don't have large amounts of POD m
187.
▲
by
josefx
1y ago
> Note that in C++, reading from a variable before writing to it is undefined behavior, so it's not particularly clear what benefit you're getting from this. The compiler cannot always tell if a variable will be written to befo
188.
▲
by
josefx
1y ago
> keep in mind that the old code was arguably already broken The code is only broken if the data is used before anything is written to it. A lot of uninitialized data is wrapped by APIs that prevent reading before something was written t
189.
▲
by
josefx
1y ago
> on countless layers of abstractions Even worse, our bottom most abstraction layers pretend that we are running on a single core system from the 80s. Even Rust got hit by that when it pulled getenv from C instead of creating a modern a
190.
▲
by
josefx
1y ago
It would be a rather ineffective extortion if "customers would just switch" as the comment further above claims.
191.
▲
by
josefx
1y ago
Does it have a sense of scale? Can it make a matching bookcase, table and chair or are they all going to end up with a random size?
192.
▲
by
josefx
1y ago
I think it is not that local code does not get a free pass by itself but the combination. By letting cloud services that use GPL software stay closed source it actively encourages development of cloud based tooling in a commercial context a
193.
▲
by
josefx
1y ago
> Wait, what? But, that's inherently constant foldable without reasoning about string hash codes; we don't need them at all. Their goal wasn't to improve key lookups in hash tables, that is more or less just an example.It
194.
▲
by
josefx
1y ago
Another "trusted" third party based tracking system. All I need to know to avoid it even when it is printed on toiletpaper.
195.
▲
by
josefx
1y ago
The Beatles? With iTunes going to Apple Records.
196.
▲
by
josefx
1y ago
That would just open an entire new can of worms to litigate for decades to come. For the near future the best we can hope for is that the courts continue to hit Apple on topics that have already been litigated to death.
197.
▲
by
josefx
1y ago
> makes breaking, unreviewed changes in kernel, And reverted them as soon as the issue became apparent. > then flames the maintainer who was working on cleanly updating the kernel for the not-yet-released compiler? Talking aboutchange
198.
▲
by
josefx
1y ago
Why didn't Linux programmers just fork Windows or iOS?
199.
▲
by
josefx
2y ago
We have separate privileges and trust for information sources. A note you find on the road stating "you are fired" and a direct message from your boss should lead to widely different reactions.
200.
▲
by
josefx
2y ago
Given that the comment is talking about python he probably already has those 1.000.000 libraries. The common thing to do for python programs that are not directly bundled with the os is to set up a separate virtual environment for each one
201.
▲
by
josefx
2y ago
That was an issue in 2023? Quite sure C# fixed something similar back in 2012. Is Go still proudly reinventing the wheel, wooden and filled with termites?
202.
▲
by
josefx
2y ago
An overload for Class.forName with an explicit initialize parameter was added in Java 1.2 .
203.
▲
by
josefx
2y ago
Java reflection can load classes without initializing them, so no untrusted code would have to be executed at that point.
204.
▲
by
josefx
2y ago
> In the worst case of randomly guessing, you are still going to time travel with a 12.5% success rate. Random guessing clearly isn't the worst case then, a bad prediction can miss every single time.
205.
▲
by
josefx
2y ago
They certainly seem to have moved from "it is literally skynet" and "FSD is just around the corner" in 2016 to "look how well it paces my first lady Trump/Musk slashfic" in 2025. Truly world changing.
206.
▲
by
josefx
2y ago
Cheap up front cost and an unwillingness to estimate long term costs.
207.
▲
by
josefx
2y ago
Are we still pretending that Guantanamo Bay never existed or that the US didn't randomly accuse people all over the world of terrorism and imprison them without a shred of evidence?
208.
▲
by
josefx
2y ago
> Meh. Just change the type to long long, and it works well. C libraries tend to support a lot of exotic platforms. zlib for example supports Unicos, where int, long int and long long int are all 64 bits large.
209.
▲
by
josefx
2y ago
> long sum = (long)x + y; There is no guarantee that sizeof(long) > sizeof(int), in fact the GNU libc documentation states that int and long have the same size on the majority of supported platforms. https://www.gnu.org&#x
210.
▲
by
josefx
2y ago
It might be a rationale for a rewrite and rust is just the language the people doing the rewrite wanted to use.
More ›