Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
volta83
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
391.
▲
by
volta83
6y ago
Right now, as a share holder I don't really care about what the company does, only that the stonks go up. There is no financial motivation for me to care. Sure, stonks can go to zero, but I still don't care. I have a very diversif
392.
▲
by
volta83
6y ago
I get what you are saying, but you are the one that chooses which index fund to use. Sure, one could limit this to voting rights, but most big Index funds have voting right on many companies because they own collectively many shares. One co
393.
▲
by
volta83
6y ago
> And why would shareholders be specifically punished but not creditors? If there is some liability claim how are shareholders not just equally responsible as everyone else including creditors? FWIW I also believe that creditors should t
394.
▲
by
volta83
6y ago
> . When private companies screw up, who gets left with the bill? The share holders (which often includes the leadership). Their shares drop relatively quickly to close zero. I think, however, that this is not enough. Share holders of a
395.
▲
by
volta83
6y ago
> the most important thing is to fix the layout of an output file as quickly as possible, so that we can start copying actual data from input object files to an output file as soon as possible. Why do we need to copy data at all ? Can&#x
396.
▲
by
volta83
6y ago
In Rust, the state machines just implement one trait, Future, which has one method: poll. For a very long time, async/await were just normal Rust macros; there was no compiler<->library interface. For a year or so, async/awa
397.
▲
by
volta83
6y ago
I find the Rust design very simple: a coroutine is just a state machine, i.e. just a C struct. I find this very easy to reason about. It does not require memory allocations, does not require a run-time, works on embedded targets, etc. Also,
398.
▲
by
volta83
6y ago
> Right, so what’s their volume on a100s and are they a favored mining tool? I don't think there are numbers available for A100. NVIDIA discloses in Earnings how much it makes from each sector: gaming ~50% and data center (A100) ~40
399.
▲
by
volta83
6y ago
Its insane how complex C++20 coroutines are when compared with Rust coroutines.
400.
▲
by
volta83
6y ago
This isn't true. Nvidia is using TSMC right now for all of the compute products, e.g., see: https://en.wikipedia.org/wiki/Ampere_(microarchitecture) > TSMC's 7 nm FinFET process for A100 > Custom versio
401.
▲
by
volta83
6y ago
If your bar is "I want to do X, let's start by reading the Arch Wiki", then sure. If your bar is "It just works", then for me at least, if it takes me more than 1 minute I'd describe it as painful. My mother wo
402.
▲
by
volta83
6y ago
If you use the standard library, its parallel run-time gets automatically linked. This is often the right choice when building binaries for a platform with an operating system, etc. If you do not include the standard library _AND_ if you us
403.
▲
by
volta83
6y ago
> while your program sits and does nothing with the CPU The CPU can run other threads while the hardware does DMA transfers. The thread just yields when the transfer is started, and a hardware exception wakes it up when the DMA transfer
404.
▲
by
volta83
6y ago
I don't use these hints for verification; in fact, these hints don't verify anything. It is trivial to create an integer type in Rust that only accepts certain values, and doing so doesn't require these hints, e.g., #[b
405.
▲
by
volta83
6y ago
> Where 1 iteration and 1 syscall to io_uring_enter() is submitting 100s of I/O operations per io_uring_enter() syscall (and you can even run the ring buffers with the kernel set to poll so you can do 0 syscalls if that's not a
406.
▲
by
volta83
6y ago
> io_uring's "slow" path is roughly one syscall per iteration, right? Right, so if a blocking API makes 1 syscall, io_uring would make N syscals for N iterations.
407.
▲
by
volta83
6y ago
If your request are huge. For example, imagine you need to read many huge files into memory. Whether you read one file after the other sequentially, or try to read all of them concurrently, won't make a difference, because your Disk&#x
408.
▲
by
volta83
6y ago
Does Ada perform layout optimizations on the niches ?
409.
▲
by
volta83
6y ago
> Or are they unsafe? They are unsafe. The safe API of your type must prevent constructing invalid values.
410.
▲
by
volta83
6y ago
> I do tend to run older (cheaper) chipsets. The experience of running old hardware on Linux is much better than that of running new hardware. Except for certain products at least (I run latest nvidia compute cards and the drivers just w
411.
▲
by
volta83
6y ago
I write a lot of code using the #[rustc_layout_scalar_valid_range_start(x)] #[rustc_layout_sclaar_valid_range_end(y)] struct MyInt(i32); to create integers with only valid values in range [x, y) that benefit from the niche
412.
▲
by
volta83
6y ago
> Why don’t you just return a Result<T, Box<dyn Error>> instead? Because this book is old and outdated.
413.
▲
by
volta83
6y ago
> Here's the thing: not every member company is completely beholden to an authoritarian government. Only one is. If you think this is an objectively a bad thing, you should probably compare the per capita excess mortality of China v
414.
▲
by
volta83
6y ago
better than lfs ?
415.
▲
by
volta83
6y ago
> How is including Huawei as a founding member of the Rust Foundation in any way justifiable from a moral perspective? Probably in the same way that it is justifiable to support the DoD of the USA to use Rust on their drones that kill ci
416.
▲
by
volta83
6y ago
I worked on two Rust projects over 500k LOC, one 800k LOC and one that's now at 1.5 million LOC. Number one feature versus Kotlin, C++, C#, C, Haskell, Python, Ruby, etc. is how easy it is to refactor large-scale Rust code bases safely
417.
▲
by
volta83
6y ago
> A Tesla is comparatively more green, arguably. Arguably? The Teslas are "recycled" by shipping them to the middle east, which then "recycle" them by shipping them to pakistan, india, etc., which ten "recycle&q
418.
▲
by
volta83
6y ago
I think its worth pointing out that Wayland does support NVIDIA's hardware, that the two most widely used Wayland compositors (GNOME and KDE) do support NVIDIA's hardware, and that NVIDIA pays people to work full-time on Wayland,
419.
▲
by
volta83
6y ago
I used MacPorts before hombrew. Homebrew "just worked", MacPorts sucked. Maybe I was too dumb to use MacPorts, but all other MacPort used I knew back then all moved to homebrew very quickly.
420.
▲
by
volta83
6y ago
> There, I said it. What a waste of bytes and bandwidth. "[homebrew] It’s the worst package manager I’ve used" is true for all users that have only used one package manager. The opposite claim ("it's the best I'v
More ›