Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hmfrh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
hmfrh
2y ago
> Yes. The exporters can handle whatever meaningful address selection you can throw at them, including multiple disjoint ranges within the same section. So you can keep carving holes inside your selection until nothing remains of the ori
2.
▲
by
hmfrh
2y ago
> As long as you do not cut across a variable or a function, you can export pretty much however you want, you don't have to follow the original object file boundaries. Would it be possible to export basically the entire program at o
3.
▲
by
hmfrh
2y ago
How much work is it to figure out which sections of the executable to export? Would it be realistic to be able to export a modern-ish (2008-2015) Win32 game into objects and then compile/link it into a full executable again with less t
4.
▲
by
hmfrh
3y ago
> So ultimately, the borrow checker doesn’t seem worth it if you actually think about the cognitive overhead and headaches it brings. You quite literally also have to "borrow check" C/C++ in order to have a well formed pro
5.
▲
by
hmfrh
3y ago
Surely the C++ surface area will also have increased significantly in the same span of time which means that Rust will still be ahead?
6.
▲
by
hmfrh
4y ago
Other than Godbolt Rust also has cargo-show-asm[1] that directly shows the actual assembly. [1]: https://crates.io/crates/cargo-show-asm
7.
▲
by
hmfrh
4y ago
It appears to also be called the "abstract machine"[1]. C semantics do not work "directly on the hardware" but instead on an abstract machine that is then converted to the actual hardware. It most often comes up when tal
8.
▲
by
hmfrh
4y ago
> C having better support for pointers make it near to how the processor works, compared to other languages. Java is almost entirely pointers to heap allocations, yet I don't think anyone would argue that Java is close to how the pr
9.
▲
by
hmfrh
4y ago
> Do you want criminal prosecution for actual harm, or for potential harm? Do you only want DUI to be illegal if it results in an accident?
10.
▲
by
hmfrh
4y ago
> And how is these countries joining NATO benefiting the existing NATO members? Stability in Europe. The west doesn't want refugees from whatever country Russia decided to invade this week to show up on their doorstep all the time,
11.
▲
by
hmfrh
4y ago
> It all looks rosy now, but remember just a few years ago when Turkey shot down a Russian jet on the Syrian border and almost led to NATO involvement? Remember when Russia invaded Ukraine and it didn't lead to NATO involvement? We
12.
▲
by
hmfrh
4y ago
You probably think that you do, but in reality you don't. Large corporations have been proven to fix wages for tech workers[1]. There's literally no way that you could have any possible way of bargaining your way around that as a
13.
▲
by
hmfrh
5y ago
> where is the bad news? The bad news come when you reach the "Extinguish" phase. [1] [1]: https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguis...
14.
▲
by
hmfrh
5y ago
Introducing a new keyword means that all existing code that uses the new keyword as an identifier will break. That's why the `constexpr` keyword is deliberately weird. It's also why they reuse keywords like `using`.
15.
▲
by
hmfrh
5y ago
> She leaked a trove of internal research and communications showing the company was aware of the ills of its platforms, including the toxic risks of Instagram to some teenage girls' mental health and the prevalence of drug cartels
16.
▲
by
hmfrh
5y ago
> What fascism used to be was ultra nationalistic, non democratic, centralised control of people's lives and the economy for the greater good of the state. And I means these to the most extreme you can possibly take these ideas, tha
17.
▲
by
hmfrh
5y ago
> Some days I can get a dozen robo calls, each with a different spoofed number. I live in the EU and have literally never gotten a robo call in my life. It's a political problem, not a technical one.
18.
▲
by
hmfrh
5y ago
> this is something that can change from person to person yes, but is it like that for you? In my opinion it really depends on your background. For example, Rust uses the `i32` type as the standard integer. If you come from a C/C++
19.
▲
by
hmfrh
5y ago
The Zero to Rust[1] series also has a fairly comprehensive look into these. [1]: https://www.lpalmieri.com/posts/2020-09-27-zero-to-productio...
20.
▲
by
hmfrh
5y ago
> I’m not sure that that is a reasonable test of how the program typically behaves. That's not what people care about, people care about their copyright being blatantly violated by a massive corporation _without any consequences_.
21.
▲
by
hmfrh
5y ago
> You do understand that's not how laws work in general, right? The only reason the law doesn't work this way for Microsoft Copilot is because the copyright holders are individuals who do not have the capital or expertise to fi
22.
▲
by
hmfrh
5y ago
> If you open-sourced code and allowed it to be used for commercial purposes Uploading it to Github does not transfer ownership or imply allowances for any use. If you upload it without a license it is a copyright violation to copy the c
23.
▲
by
hmfrh
5y ago
The second option also doesn't result in any big negatives for UMN associated personnel because the kernel devs take on all the work of enforcing stricter scrutiny.
24.
▲
by
hmfrh
5y ago
Nobody is an expert on every subject. You could have PhD level knowledge of the theory behind a specific filesystem or allocator but know next to nothing about the underlying hardware.
25.
▲
by
hmfrh
5y ago
I've had issues on PopOs 20.04 and 20.10 with microphones connected through the audio jack. Connecting through a cheap jack-to-USB converter eliminated the background noise. There were proposed fixes although none of them worked. Jack-
26.
▲
by
hmfrh
5y ago
A list is found here[1]. [1]: https://github.com/Rust-for-Linux/linux/issues/2