Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fweimer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
511.
▲
by
fweimer
3y ago
How does Rust implement this on targets where LLVM does not implement stack clash protection?
512.
▲
by
fweimer
3y ago
In many cases, you do not need to pin the object, only keep it alive. Current Java has a reachability fence for this: https://docs.oracle.com/en/java/javase/17/docs/api/java.base... I think I s
513.
▲
by
fweimer
3y ago
North Korea is currently involved in a proxy war in Europe, so it can't be that short on resources.
514.
▲
by
fweimer
3y ago
Current glibc unwinds the shadow stack if it is active: https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/x86... It makes longjmp useless for coroutine switching, although it does not result in other effect
515.
▲
by
fweimer
3y ago
How does this work? Doesn't Vmware's remote desktop functionality depend on their virtualization technology?
516.
▲
by
fweimer
3y ago
Some longjmp implementations unwind the stack, so they can't be used for coroutine switching. Even if it works (it's technically undefined), you need to get a suitable stack from somewhere. The next issue is that usually, applicat
517.
▲
by
fweimer
3y ago
Did you meant to write “pretty close to GNOME 2”? Either way, it doesn't really matter. RHEL 6 was released in 2010 with a traditional menu for starting applications, long after the alleged cutoff date that, according to the article, s
518.
▲
by
fweimer
3y ago
Huh. William Gibson's novel suddenly makes much more sense: https://en.wikipedia.org/wiki/Pattern_Recognition_%28novel%2... (Although I still find it a bit strange that the protagonist is not triggered by devices
519.
▲
by
fweimer
3y ago
Probably a better story (not paywalled, maybe the original source): https://www.theverge.com/2024/2/21/24079371/google-ai-gemini... Also related: https://news.ycombinator.com/item?id=3946
520.
▲
by
fweimer
3y ago
The /proc/self/mem thing shouldn't be a problem because you won't run into it accidentally. What I'm wondering if this compiler bug is in the same category, or if a Rust programmer is somewhat likely to run int
521.
▲
by
fweimer
3y ago
Without compiler bugs, on stock Linux, you can achieve the same thing via /proc/self/mem. Rust makes this very easy because you can get the raw address from safe code, so no guessing is required which memory location to patch
522.
▲
by
fweimer
3y ago
The questions were flipped in the original TV programme.
523.
▲
by
fweimer
3y ago
I would argue that the native word size is still 32 bits on x86-64, though. With many instructions, using 64-bit registers needs a segment prefix override. Some RISC architectures do not even have 32-bit zero-extending integer instructions,
524.
▲
by
fweimer
3y ago
Hah! Thanks, fixed.
525.
▲
by
fweimer
3y ago
Packages fail to build after a while all the time. The maintainer fixes them (preferably using an upstream patch), and we move on. The issue with this set of compiler changes was that a lot of software builds successfully, but the new build
526.
▲
Porting to GCC 14: C language issues
(gcc.gnu.org)
154 points
by
fweimer
3y ago
|
136 comments
527.
▲
by
fweimer
3y ago
There is Clockhands (and STRAIGHT before that): https://dl.acm.org/doi/fullHtml/10.1145/3613424.3614272 Previous discussion: https://news.ycombinator.com/item?id=38581719 I think such things
528.
▲
by
fweimer
3y ago
Yes, I believe there was a variant where struct members had global identifier scope. This means that in order to compile x->mem or x.mem, you don't need to know the type of x at all: mem alone tells you the offset to use. In this co
529.
▲
by
fweimer
3y ago
We tried that already, there used to be candidate CAN-* identifiers. Review to promote them to CVE-* identifiers was always a bottleneck.
530.
▲
by
fweimer
3y ago
I suppose it depends on how collision detection is implemented. Maybe the cars tunnel through the frog at later levels? Although it does not seem to get easier at higher levels (got up to level 62 using the potato method).
531.
▲
by
fweimer
3y ago
For many generations now, you can't run Linux on bare metal anymore, it has to be inside an LPAR. I think this is true for z/VM and the other operating systems as well.
532.
▲
by
fweimer
3y ago
Open source software shouldn't be a problem. Pretty much anything that has been ported to 64-bit big-endian also works on s390x. The architecture is otherwise pretty non-challenging: always 4K pages, strong memory model. Pre-built bina
533.
▲
by
fweimer
3y ago
There is this: https://en.wikipedia.org/wiki/Generative_theory_of_tonal_mus... My impression is that it's not exactly mainstream. I'm also not sure to what extent it works for polyphonic music.
534.
▲
by
fweimer
3y ago
After reading Section A.1 (Data Collection and Network Construction), I wonder to what degree their analysis depends on MIDI encoding practices. For example, for a keyboard fugue, you could use one channel for the entire piece, one channel
535.
▲
BayLibre Expands Open Source Business to Include Compiler Services
(baylibre.com)
1 points
by
fweimer
3y ago
|
1 comments
536.
▲
by
fweimer
3y ago
CodeSourcery was the company acquired by Mentor Graphics and then by Siemens. They were significant contributors to GCC and the overall GNU toolchain.
537.
▲
by
fweimer
3y ago
Uninitialized local variables are documented as a source of a certain type of nondeterminism: http://www.cprover.org/cprover-manual/modeling/nondeterminis... So the checker treats them as defined, but with an unkn
538.
▲
by
fweimer
3y ago
If we put the PID into the vDSO, this data page can no longer be shared among different processes (at least not in the same container). We could use the rseq area for PID and TID.
539.
▲
by
fweimer
3y ago
I think I saw this first with the ASM bytecode toolkit: https://asm.ow2.io/javadoc/org/objectweb/asm/util/ASMifier.h... Possibly via the Eclipse extension: https://marketplace.eclipse.org
540.
▲
by
fweimer
3y ago
No politics is only feasible if your life or your existence isn't considered political in itself, or maybe if you can hide how you challenge the status quo without harming yourself.
More ›