Better HN
topnewbestaskshowjobs
Log inSign up

nice_byte

1,126 karma · joined Aug 23, 2015 (11y ago) · 408 submissions

Submissions

comment 1y ago · link · parent

the complaints about the Protobuf type system being not flexible enough are also really funny to read.

fundamentally, the author refuses to contend with the fact that the context in which Protobufs are used -- millions of messages strewn around random databases and files, read and written by software using different versions of libraries -- is NOT the same scenario where you get to design your types once and then EVERYTHING that ever touches those types is forced through a type checker.

again, this betrays a certain degree of amateurishness on the author's part.

Kenton has already provided a good explanation here: https://news.ycombinator.com/item?id=45140590

comment 1y ago · link · parent

> Make all fields in a message required.

funnily enough, this line alone reveals the author to be an amateur in the problem space they are writing so confidently about.

comment 1y ago · link · parent

When such technology comes out, we'll find out.

comment 1y ago · link · parent

preventing down syndrome is "eugenics"?

95.

More About Jumps Than You Wanted to Know(gpfault.net ↗)

5 points · by nice_byte · 1y ago · discuss

comment 1y ago · link · parent

Doesn't explain the "why you must too" part

comment 1y ago · link · parent

because the point is literally to filter based on vibes not precise keywords

comment 1y ago · link · parent

have you tried actually comparing what you have to what the c++ compiler generates? i don't have a lot of context here but I think it's possible that the difference is less due to the dispatch mechanism (i.e. how the next instruction is fetched) but due to the implementations of the instructions themselves.

one opportunity for optimization is mapping emulated registers to real x86-64 registers and basically never spilling them to memory (so that way if you have to add you don't have to first fetch then add, but just add directly). though that makes writing the emulator a lot more annoying.

comment 1y ago · link · parent

correct, understanding the instruction set architecture you are working with is required for reasoning about the performance of a given algorithm in detail.

you will likely not be writing a lot of assembly by hand, however steering the compiler codegen in the right direction requires an understanding of what the compiler produces.

even outside of enhancing performance, knowledge of instruction sets is instrumental for security research and reverse engineering. for some fun but practical demonstrations, see work by Nathan Baggs on YouTube - it involves staring at a lot of disassembly.

i don't know where this misguided notion that assembly language is "1975" comes from. it's not like Cobol where a few large but important systems keep it alive. this is something that lies at the core of every interaction with computers that you have daily.

comment 1y ago · link · parent

(i am the author) not to this series, but the very first post on the blog is an example of a simple reverse-engineering exercise: https://gpfault.net/posts/ripping-sprites-from-super-cyborg....

comment 1y ago · link · parent

Author here. The final part of this series is still sitting in my drafts.

It was nominally supposed to be about flow control instructions, but as it goes with those things, it spiralled and ended up touching on relocations, position-independent code, aslr... One on these days I'll clean it up and post it

comment 1y ago · link · parent

Personally I prefer onestop.mid :)

103.

D.B. Cooper(en.wikipedia.org ↗)

6 points · by nice_byte · 1y ago · discuss

comment 1y ago · link · parent

watching people talking into these text boxes as if they were talking to a real person, and getting back these trite little bullet lists invokes feelings of sadness, second-hand embarrassment and mild disgust.

comment 1y ago · link · parent

Romania, judging from the blog URL. But this type of PhD experience feels like the norm in most of eastern-european/ex-soviet countries. In mine, getting a PhD was one of the ways to get out of compulsory military service. Both profs and students knew that, of course. So real research is very scarce. Other small details, like worshipping titles and putting out a spread for the PhD commission also feel familiar.

Ironically, the only one of my university friends who I'd regard as "actual PhD material" ended up _not_ finishing their PhD in 3yrs time (I surmise because they picked a topic they _actually_ thought worthy) and went to serve in the army.

comment 1y ago · link · parent

> AGI is important for the future of humanity.

says who?

> Maybe they will have legal personhood some day. Maybe they will be our heirs.

Hopefully that will never come to pass. it means total failure of humans as a species.

> They will be just slaves. All this talk about "alignment", when applied to actual sentient beings, is just slavery. AGI will be treated just like we treat animals, or even worse.

Good? that's what it's for? there is no point in creating a new sentient life form if you're not going to utilize it. just burn the whole thing down at that point.

comment 1y ago · link · parent

simple, political stances do not exist in a vacuum. the same position taken in different contexts can be both "right wing" and "left wing". it depends on who's interests are being served. in this particular case, the being anti-IP serves the ruling billionaire class and is therefore a right wing position.

comment 1y ago · link · parent

this sounds like a bunch of people who make a living _talking_ about the technology, which lends them close to 0 credibility.

comment 1y ago · link · parent

at this point, what's even the point of immigrating here? if you're still young and haven't rooted yourself to this place (no family / house / significant other), I'd advise to leave and look to build a life in a different country. the best years of your life would be better lived elsewhere.

comment 1y ago · link · parent

java classes have "abi". any binary representation of executable code that is supposed to be interacted with by other code necessarily defines an application BINARY interface.

comment 1y ago · link · parent

explain to me why the HELL should i be limited to only running binaries that my distro vendor has deigned to provide, or jump through endless hoops to obtain and build source code (which by the way might not even be obtainable OR buildable). if i have a binary from 5, 10, 15 years ago i should just be able to fucking run it on my fucking computer.

comment 1y ago · link · parent

for those who use it, how do you deal with the fact that it stores mail on your hard drive un-encrypted? Do encrypt the entire volume?

comment 1y ago · link · parent

HL2 stuck with me for years and years exactly because of his art direction. It was the first time I ever saw a video game world that somewhat resembled my actual real-world surroundings. Incredibly sad he passed away at only 52...

comment 1y ago · link · parent

it's based on crazy amounts of evidence

comment 1y ago · link · parent

coherent branches are "free" but the extra instructions increase register pressure. that's the main reason why dynamic branches are avoided, not that they are inherently "slow".

comment 1y ago · link · parent

godbolt has rga compiler now, you can always paste in hlsl and look at the actual rdna instructions that are generated (what GPU actually runs, not spirv)

comment 1y ago · link · parent

> can you paint better and more imaginatively than that?

the fact that you are seriously asking this question says a lot about your taste.

comment 1y ago · link · parent

it is, just like everything else, a manufactured purpose used to paper over the normal state of existential dread. just happens to be the one that most people default on.
12345
14