Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fweimer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
541.
▲
by
fweimer
3y ago
Note that the article refers to Soviet antisemitism: Jews were denied academic jobs, and they couldn't move abroad to work in their field, either. Not really related to mathematics as such (and definitely not about the mathematical com
542.
▲
by
fweimer
3y ago
Typically, you have a parser handle and can use that to query it about various aspects of its state. Here it would include line number, character offset, and byte offset. The type of error can be encoded in the error return value.
543.
▲
by
fweimer
3y ago
Some operating systems and file systems do not support renaming files that are opened by the same or another process.
544.
▲
by
fweimer
3y ago
Try this instead: xsel | iconv -t UTF-32 | tr -d '\000\016'
545.
▲
by
fweimer
3y ago
Web sites displaying non-copyrighted works could still be protected under the UK implementation of the EU database directive. There might also be non-copyright reasons why you are not allowed to reuse the displayed works without permission.
546.
▲
by
fweimer
3y ago
I don't think you can have automated retry because if the application logic lives outside the database and is not subject to its transaction processing (which is the common programming pattern today, I think), the database has to arran
547.
▲
by
fweimer
3y ago
If you start using locking, you'll encounter many more serialization failures. Similarly for higher isolation levels. This means that you need to retry transactions, and doing that can be quite hard. Many years ago, I wrote some helper
548.
▲
by
fweimer
3y ago
I understand that. The build environment I used had type-checking for CDI annotations, obviously outside of the Java language, if I recall correctly. If the types did not line up, the build would fail. This was part of some JEE training I t
549.
▲
by
fweimer
3y ago
Isn't Clojure dynamically typed by default? That would seem like a major difference to Java. Or is enterprise Java effectively dynamically typed as well, so that the language-level difference matters less? I had only very limited expos
550.
▲
by
fweimer
3y ago
I agree with the sentiment. Consider a hypothetical variant of Python that requires using eval() (with the same behavior as in Python, so full Python expression support) for converting from strings to integers or floats. Or that implicitly
551.
▲
by
fweimer
3y ago
Does it matter? Hasbro probably has growth targets. They may have concluded that price hikes for legacy content matching their growth targets were unlikely to be feasible.
552.
▲
by
fweimer
3y ago
The demands of the retailers are supposed to shape what the grid offers (both in the market sense and the infrastructure sense). I suspect the answer is far more mundane: the consumers purchased something like 98% availability, and this is
553.
▲
by
fweimer
3y ago
This misses an explanation why the suit was brought against the wholesale providers, and not the retail electric companies. I would expect that in general if there a dispute over services rendered, you need to work things out with your supp
554.
▲
by
fweimer
3y ago
But it's not actually written in C89. It uses POSIX threads, flexible array members, anonymous unions, bitfield members that are not int, declarations intermixed with statements. And that's just what “gcc -std=c89 -pedantic-errors
555.
▲
by
fweimer
3y ago
As far as I understand it, with JNA, all calls into C code go through libffi: https://github.com/java-native-access/jna/blob/master/www/Fu... This means that every call sets up some libffi data stru
556.
▲
by
fweimer
3y ago
The general topic is covered in Brett Cannon's “Python is (mostly) made of syntactic sugar” series of posts, via translation of high-level semantics into a subset of Python. LWN has a high-level summary: https://lwn.net/
557.
▲
by
fweimer
3y ago
If you want to use JNI to interface with an existing C library, you need to write a thin C or C++ wrapper that is called via JNI and interfaces with that C library. This new Java API allows you to call C functions directly and manipulate da
558.
▲
by
fweimer
3y ago
Not sure about that. One of the screenshots mentions AMZNMKTPLACE AMAZON CO UK. If it was indeed an Amazon Marketplace vendor, then it's not entirely unheard of that it was a scam from the start.
559.
▲
by
fweimer
3y ago
Not so subtle: "If anyone still retains a copy of the missing two episodes, the BBC archive would be very happy to hear from them."
560.
▲
by
fweimer
3y ago
AT&T use to publish bits about the data management technology for their call data records, called Daytona: https://web.archive.org/web/20140610135457/http://www.resear...
561.
▲
by
fweimer
3y ago
Admittedly I had missed that. The kernel has self-patching mechanisms for doing effectively the same thing (although I don't know if it has ever been applied to memcpy before).
562.
▲
by
fweimer
3y ago
It's possible that they looked at RISC-V and concluded that it was unlikely they could achieve their performance goals with that architecture. As far as I understand it, the new Loongson CPU and the Asus mainboard are available commerc
563.
▲
by
fweimer
3y ago
These seem to have slightly more technical detail: https://www.tomshardware.com/news/loongson-launches-3a6000-c... https://wccftech.com/china-loongson-3a6000-cpu-reaches-core-...
564.
▲
by
fweimer
3y ago
And AMD is investigating: https://inbox.sourceware.org/libc-alpha/20231115190559.29112...
565.
▲
by
fweimer
3y ago
The exact nature of the fix is unclear at present. During dynamic linking, glibc picks a memcpy implementation which seems most appropriate for the current machine. We have about 13 different implementations just for x86-64. We could add an
566.
▲
by
fweimer
3y ago
In all fairness, the Terraform provider registry has always been clearly proprietary, prohibiting commercial use by default: > You may download or copy the Content (and other items displayed on the Services for download) for personal non
567.
▲
by
fweimer
3y ago
If you use it for producing the Box in the return value, you have to move out of it, and then it's gone. If you don't move it, you have a use-after-free bug after the first such panic has been caught and the box has been dropped a
568.
▲
by
fweimer
3y ago
The Box type, as used in the return type, transfers ownership to the calling function, so a check in the deallocator path would be needed to recognize this special object and avoid deallocating it. GCC has an emergency pool for its exceptio
569.
▲
by
fweimer
3y ago
I don't think panics are comparable to Java's VM errors. A lot of libraries (not just the standard library) seem to target panic-safety, avoiding unsafe behavior and resource leaks in case of panics. This means that the panic itse
570.
▲
by
fweimer
3y ago
Rust currently cannot reliably panic on allocation failures because the error object is inside a Box, which itself requires allocation. This means that if memory is tight, panicking itself might fail. For reference, this is the type that is
More ›