HackerTrans
TopNewTrendsCommentsPastAskShowJobs

diffuse_l

no profile record

comments

diffuse_l
·上個月·discuss
Seems like weekly allowance got reset back to 0%, pretty usual when they deploy new models.
diffuse_l
·2 個月前·discuss
For short strings (probably most of them) - use a byte for the length (at the string/symbol definition site, alongside the offset) (adds 1 byte * symbols, use high bit if necessary to add bytes for longer strings). You need the offset into the table anyway. It isn't strictly better, but it isn't strictly worse, and it gives you the option to reuse sub-strings.
diffuse_l
·2 個月前·discuss
Nothing prevents you from using a shared pool of strings that don't have null terminator. It can even be more efficient, since you don't have the null byte to handle at string end. Depending on the maximum string length you want to support, it doesn't even have to take more space.
diffuse_l
·2 個月前·discuss
Complete assembly. Wouldn't call it trivial, but not super hard either. I wouldn't dream of doing this without the complete assembly, not worth the hassle. You run the risk of ruining something, but for me the reasoning was that worst case I'd still have a conputer I can attach to an external monitor. Replacement itself is mostly removing screws and cables carefully - followed the ifixit guide.
diffuse_l
·2 個月前·discuss
Had a similar issue - some of the display was garbled for more than a year. Had a replacement screen from aliexpress lying around that cost 126$ two and half years ago, got to do the replacement a few weeks ago, as the kid needed a laptop for school. Turns out the replacement screen resolution was not the same as the original, but it still works fine, took ~1 hour for the replacement.

So for me it did make sense to repair - it costs less than a new laptop, at least
diffuse_l
·4 個月前·discuss
That's if you parse the into a DOM and work on that. If you use SAX parsing, it makes it much better regarding the memory footprint.

But of course, working with SAX parsing is yet another, very different, bag of snakes.

I still hope that json parsing had the same support for stream processing as XML (I know that there are existing solutions for that, but it's much less common than in the XML world)
diffuse_l
·5 個月前·discuss
Some minor nitpicks, but hey, we're counting registers, it's already quite nitpicky :)

Add far as I van remember, you can't access the high/low 8 bits of si, di, sp. ip isn't accessible directly at all.

The ancestry of x86 can actually be traced back to 8 bit cpus - the high/low bits of registers are remenants of an even older arch - but I'm not sure about that from the top of my head.

I think most of the "weird" choices mentioned there boil down to limitations that seem absurd right now, but were real constraints - x87 stack can probably traced back to exposing minimal interface to the host processor - 1 register instead of 8 can save quite a few data line - although a multiplexer can probably solve this - so just a wild guess. MMX probably reused the register file of x87 to save die space.
diffuse_l
·6 個月前·discuss
The policy link[0] page still has a link to the bug bounty program[1] which still discuss monetary compensation.

[0] https://curl.se/dev/vuln-disclosure.html

[1] https://curl.se/docs/bugbounty.html
diffuse_l
·6 個月前·discuss
Too bad, but I managed to watch about 30 seconds of the video before getting motion sickness.

Seems like a really cool technology, though.

I wonder if anyone else got the same response, or it's just me.
diffuse_l
·6 個月前·discuss
Really enjoyed the article, thanks! A small nit - I think you have a small mistake in the value range at the start - 136000 should probably be 13600?
diffuse_l
·7 個月前·discuss
It was pretty clear towards the middle of the piece that an ai was involved writing this piece, which was unfortunate, since it distracted me so much from the subject that I couldn't complete reading it...
diffuse_l
·8 個月前·discuss
At least it's ACID compliant
diffuse_l
·9 個月前·discuss
Well, at least the first half was somewhat useful...
diffuse_l
·9 個月前·discuss
It mostly rehashes the point of using float instead of integer representation, and uses different headers (radical solution, why this matters, secret weapon, philosophy, the bottom line) for streching what could be said in a few sentences into a few pages.
diffuse_l
·9 個月前·discuss
I think the article could be better and get the point across with half the length and without the second half of it being full of ai generated list of advantages, or using that space to give some more technical information
diffuse_l
·9 個月前·discuss
For some reason, it really bothers me that under one of the images there is a caption that says "the pink cube", but the cube is in a shade of blue...
diffuse_l
·11 個月前·discuss
It's more than that. They have an unlimited license to arm designs, and can change them as they see fit, since they were an early investors (or something along those lines). Other manufacturers can't get these terms, or if they can, it will be prohibtly expensive