Better HN
topnewbestaskshowjobs
Log inSign up

voidbert

97 karma · joined Jul 10, 2023 (3y ago) · 49 submissions

Submissions

comment 3y ago · link · parent

Having more than 100mL of liquid is also not allowed, but you won't get on the no fly list for that. They'll just ask you to throw it out. Not sure about airtags, but it could be the same.

comment 3y ago · link · parent

> Network traffic (bytes):

> Native: 39,422,545

> Web: 21,956,270

User tracking from system information?

comment 3y ago · link · parent

Does China have the technology and expertise to make 7nm lithography machines, or did they have to somehow import machinery from ASML?

comment 3y ago · link · parent

And there's nothing to stop you from asking a friend to buy something in Germany, and shipping it to you, where VAT is 23% (Portugal smh).

comment 3y ago · link · parent

foot uses software rendering only. How good is your CPU? It may have been Vsync... I think there has been progress on allowing the user to disable it.

comment 3y ago · link · parent

Contributing to global warming until math gets good enough to prove that conjecture

comment 3y ago · link · parent

This presentation is very good! A few days ago, I started thinking how code from a functional language could be converted to imperative code for better performance, with in-place operations (instead of object regeneration) and a complex (and likely slow) optimizing compiler. However, things like closures, composition at runtime and partial function application just made everything 10x harder.

comment 3y ago · link · parent

No need for cloud computing. My first CS semester was done with Termux, a cheap android tablet and a Bluetooth keyboard.

comment 3y ago · link · parent

Through virtualization (Termux + QEMU), it should be possible. However, unless you're running Windows for ARM (no need for x86-64 emulation), you may get the performance of a Pentium III. Natively, though, those OSes simply don't have drivers and bootloader for your tablet. If you were a systems programmer, you could write those yourself and, after months of work, you'd have something like https://www.worproject.com/

comment 3y ago · link · parent

Maturity to fix most compiler bugs? Yes, on x86_64 (some bugs remain on other architectures). But you can still expect your code to break between zig versions.

comment 3y ago · link · parent

It depends on what you're doing. My 4th low power i5 in my laptop and my i3 7100 in my main desktop are just fine for web browsing and development.

comment 3y ago · link · parent

I don't know much about peak power consumption of these chips, but they are crazy efficient when idling / having little load. Plus, ARM support still sucks :-(

comment 3y ago · link · parent

Though iOS is, out of the box, more private than stock (non-AOSP) Android, nothing compares to a custom ROM. You can even debloat android and disable play services, if you don't want to risk bricking your device, or if there aren't any custom ROMs available.

Of course, the average Joe wouldn't do that, but I guess most people on HN are quite tech savvy.

comment 3y ago · link · parent

Modern VRAM (GDDDR) runs at very high frequencies and very low latency. This makes the wiring between the RAM chips and GPU very tricky (they need to be short and the same length), so slots aren't an option. There were actually VRAM slots in some 90s GPUs.

comment 3y ago · link · parent

The only problem I see is the 2G module, as many carriers will soon start to phase out support.

comment 3y ago · link · parent

It shouldn't be too hard to write a script that objdumps a list of functions and checks if SIMD instructions are used. Strap it to your build system / CI pipeline and you're good to go. Of course, it'd be better if compilers could do that natively.

comment 3y ago · link · parent

I don't know much about CPUs, but isn't this going to increase decoder complexity and binary size? The reduction in memory accesses seems great, but can anybody tell me if there are better ways of achieving this? x86 gets more complex each day.

comment 3y ago · link · parent

Thank my university for hiring more professors due to the high number of students failing functional programming. :-)

comment 3y ago · link · parent

C compilers already optimize for CPU instruction order on multi-issue pipelined CPUs. Multithreading in C, however, is left as an exercise to the coder. You manually need to use locks and make sure no race conditions are occurring, which is hard in large programs. Also, no function is thread safe unless you're explicitly told so.

I don't use Rust very much, so someone correct me if I'm wrong, but the ownership and borrowing system makes the compiler fail if you transfer data to child threads and then use it in the main one. It's just safer to parallelize code, and you'll do it! (unlike in C, where it may be better not to risk it)

12