Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alexhutcheson
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
alexhutcheson
3y ago
You can only fit 1-2 graphics cards in a “normal” ATX case (each card takes 2-3 “slots”). If you want 4 cards on one machine, you need a bigger/more expensive motherboard, case, PSU, etc. I haven’t personally seen anyone put 6 cards in
32.
▲
by
alexhutcheson
3y ago
Nvidia’s workstation cards are available with more RAM than the consumer cards, at a lower price than the datacenter cards. RTX 6000 Ada has 48 GB VRAM and retails for $6800, and RTX 5000 Ada has 32 GB VRAM and retails for $4000[1]. Very la
33.
▲
by
alexhutcheson
3y ago
The Park Database has a great 3-park blog series on the business of theme parks. This is part I, the others are linked from there: http://www.theparkdb.com/blog/the-business-of-theme-parks-pa... They have a really inte
34.
▲
by
alexhutcheson
5y ago
cxx is a huge improvement over manually writing bindings in C (with the inherent limitations imposed by C’s lack of expressiveness). At the same time, you still have to write a cxx::bridge to specify every boundary between Rust and C++ code
35.
▲
by
alexhutcheson
5y ago
> Rust is technically better than C++ in most possible ways — in some, significantly better — and worse in almost no way. It's much worse in one way: Interoperation with existing C++ code. Sure, that's not a fair criteria - C
36.
▲
by
alexhutcheson
5y ago
Not a book, but Andreas Zeller’s free “Software Debugging” course on Udacity is excellent: https://www.udacity.com/course/software-debugging--cs259
37.
▲
by
alexhutcheson
5y ago
> If you've ever implemented C++ iterators, you'll be pleasantly surprised at how elegant it is in Rust by comparison You probably already know this, but if you're willing to take a dependency on Boost.Iterator, then boost
38.
▲
by
alexhutcheson
5y ago
My example was a library, so both the library and it’s caller are in the same release artifact (binary/JAR/whatever). If you’re changing the interface of an RPC service, then you can’t do that in a single commit, and need to fall
39.
▲
by
alexhutcheson
5y ago
1. You determine that a library used by a sizable fraction of the code in your entire org has a problem that’s critical to fix (maybe a security issue, or maybe the change could just save millions of dollars in compute resources, etc.), but
40.
▲
by
alexhutcheson
5y ago
Thanks, I edited with your correction.
41.
▲
by
alexhutcheson
5y ago
For immutable value types, AutoValue[1] is a nice library for automating this. Lombok[2] is also popular, but a lot of orgs avoid it because it has some pretty deep dependencies on implementation details of the JDK that aren't guarante
42.
▲
by
alexhutcheson
5y ago
Bummer that this doesn’t seem to support or explicitly plan for the proposed FUTEX_SWAP operation[1] (unless I’m missing it). [1] https://lwn.net/Articles/824409/
43.
▲
by
alexhutcheson
5y ago
You might also like this one about a dive in Norway: The cave divers who went back for their friends[0] [0] https://www.bbc.com/news/magazine-36097300
44.
▲
by
alexhutcheson
5y ago
This seems to be a proposal in the early stages of winding through the bureaucracy, and hasn’t been approved by any real policymakers yet. I wouldn’t put too much stock in it at this point.
45.
▲
by
alexhutcheson
5y ago
It’s not standardized, but if you’re using gcc, you can use the cleanup attribute for this: https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attribute... IIRC clang implements it as well, but I wasn’t able to fi
46.
▲
by
alexhutcheson
5y ago
> The same salary in US could be viewed as 'you are rich' or 'you can't pay rent' depending on with city you live in. Now, you are talking about different continents. "You can't make rent"/&qu
47.
▲
by
alexhutcheson
5y ago
clang-include-fixer is the better tool for that: https://clang.llvm.org/extra/clang-include-fixer.html
48.
▲
by
alexhutcheson
6y ago
I think https://github.com/j-core/j-core-ice40 is the better repo to check out.
49.
▲
by
alexhutcheson
6y ago
Didn’t realize that - awesome to know. Looking forward to seeing their future announcements.
50.
▲
by
alexhutcheson
6y ago
It seems surprising to assert that Nvidia would slash R&D after the acquisition, considering Nvidia’s demonstrated willingness to spend enormous amounts of money on R&D, even for speculative and risky products. For example, they fun
51.
▲
by
alexhutcheson
6y ago
https://en.wikipedia.org/wiki/Flag_semaphore would have been good if you needed to send arbitrary text. Naval flags would be higher bandwidth if you could pre-arrange a modest-sized dictionary of the words and phrases
52.
▲
by
alexhutcheson
6y ago
No, by “can be idiomatic”, I meant “is already idiomatic in many codebases”. To name one prominent example among many, LLVM disables exceptions and requires that errors be returned as a value: https://llvm.org/docs/Codi
53.
▲
by
alexhutcheson
6y ago
Result types can be just as idiomatic in C++. The codebase I work in has exceptions disabled and uses absl::Status and absl::StatusOr[1] everywhere. [1] https://abseil.io/docs/cpp/guides/status
54.
▲
by
alexhutcheson
6y ago
ARM seems to have pretty thoroughly won the category of “embedded targets that are capable enough to run Linux”, though. Other than ARM and (presumably in the future) RISC-V, what other architectures are still relevant for new embedded desi
55.
▲
by
alexhutcheson
6y ago
For #1, you can just put #!/bin/bash at the top of the file to use Bash. Bash is still available, it’s just not the default for scripts that specify #!/bin/sh. #2 is still currently tricky, but Rob Landley (former Busybo
56.
▲
by
alexhutcheson
6y ago
Yeah will be interesting to see if and when they bring a design to market.
57.
▲
by
alexhutcheson
6y ago
The fact that they are using a Neoverse core licensed from ARM seems to imply that there won’t be another generation for NVidia’s Denver/Carmel microarchitectures. Somewhat of a shame, because those microarchitectures were unorthodox i
58.
▲
by
alexhutcheson
6y ago
What are the best-in-class replacements for those?
59.
▲
by
alexhutcheson
6y ago
If you really need to scale beyond what Postgres/PostGIS can handle, then you might want to check out GeoMesa[1], which is (very loosely) "PostGIS for HBase, Cassandra, or Google BigTable". That being said, you may not need i
60.
▲
by
alexhutcheson
6y ago
Mojolicious wasn’t released until 2008, by which point Rails and Django had both been available for >3 years. Catalyst was released in 2005 (so still after Rails), and definitely didn’t provide Rails-like productivity. If Mojolicious had
More ›