Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sakras
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
211.
▲
by
sakras
4y ago
Ah nice, thank you for sharing that. I hadn’t seen it before, and congrats on beating out Spark that hard, I hope it continues to improve! As an aside, maybe it would make sense to publish a new blog post somewhere so that the top hit on Go
212.
▲
by
sakras
4y ago
Just to be a bit pedantic, what you really want is several concurrent IOs, doesn’t have to be multithreaded. For example, io_uring can kick off many concurrent IOs off a single (userspace) thread. But yes, if you don’t have io_uring you nee
213.
▲
by
sakras
4y ago
> datafusion > blazingly fast I’m going to need to see a citation for that. Last I checked, it was being beaten by Apache Spark in non-memory constrained scenarios [0]. This may be “blazingly fast” compared to Pandas or something, but
214.
▲
by
sakras
4y ago
At least at this latest SIGMOD, it felt like everyone and their dog was researching databases in an RDMA environment… so I’d imagine this stuff hasn’t peaked in popularity.
215.
▲
by
sakras
4y ago
I guess it depends on your definition of “doing better”, but for example in the Soviet Union the average factory worker made much more than an academic researcher, and I’d bet that academics would score better on an IQ test. So it’s definit
216.
▲
by
sakras
4y ago
I definitely prefer physical books for technical stuff since it’s easier to look back at stuff I’d read before. On the other hand, I never buy books about programming languages, mostly about algorithmic stuff. If I am trying to learn a prog
217.
▲
by
sakras
4y ago
Though I am curious about why he didn’t switch to using predicated instructions for the tail loop. I’ve switched to that pattern when writing AVX512.
218.
▲
by
sakras
4y ago
Until adoption of io_uring picks up (looking at you RHEL), I’m not sure it’s even really possible to hit the bandwidth of modern nvme drives. It takes a lot of parallelism to do, and eventually context switch overhead kills you.
219.
▲
by
sakras
4y ago
I didn't go through and click all the links in the article, I was mainly interested in the problem-solving section. However, that one links to a Harvard Business Review study that drops this quote: > Received wisdom is that the more
220.
▲
by
sakras
4y ago
I feel bad that whenever I read the name I think “I AM CORNHOLIO, I NEED TIPI FOR MY BUNGHOLE”…
221.
▲
by
sakras
4y ago
I've become convinced recently that the role of an engineering manager is to act as a nanny for the engineers. Managers act as an intermediary between engineers and upper management and soften any blows that come from above. If somethi
222.
▲
by
sakras
4y ago
A bit pedantic, but a trade off with any new programming language is “having to learn a new language”. I haven’t programmed in zig but the syntax looks different enough from C that it would take a while to pick up.
223.
▲
by
sakras
4y ago
> Always aim for declarative programming (abstract out the how it does it) No, no, no! Do not do this because then I have to go read all of the abstractions to actually figure out what the hell my computer is actually doing. It seems ni
224.
▲
by
sakras
4y ago
For what it’s worth, I treat C++ as C with a basket of goodies that you can use if it makes your code better (at least in the context of performance-sensitive stuff). Things like templates and classes can help if you don’t overuse them. STL
225.
▲
by
sakras
4y ago
Instant cassettes! They're out in stores before the movie is finished!
226.
▲
by
sakras
4y ago
Wow that was pretty mind-blowing. His Phi operator almost felt like he was doing some sort of "diagonalization" step of continuous derivatives/integrals into discrete differences/sums in the same way you would diagonaliz
227.
▲
by
sakras
4y ago
To elaborate, I usually end up mixing 3 cups of whole milk over the span of the day into it (usually done by 2pm), and then the combination of the fat and the caffeine keeps me full for a while after that, so I end up only having 450 calori
228.
▲
by
sakras
4y ago
Yes I love getting a large nitro cold brew and dumping milk in it! Helped me lose a lot of weight too!
229.
▲
by
sakras
4y ago
This reminds me of that Order of the Stick strip about bad coffee: Xykon: Hell no, it's the most disgusting sludge I've put in my stomach in years. But you see, nothing really compares to a cup of truly awful coffee. Right-Eye: U
230.
▲
by
sakras
4y ago
Holy crap I’ve been wanting to make basically this exact language for a while now: C with modules and defer! I am wondering how strings are represented (I dislike the sentinel value scheme we have now), and what the library/locale situ
231.
▲
by
sakras
4y ago
I’m not familiar with JVM things and what DMA is there, but usually when people talk about the OS page cache, they mean the in-memory file cache stored by the kernel. This means that if you read or write to a page in the cache, you’d be acc
232.
▲
by
sakras
4y ago
Are you kidding?! SQL is an ancient mess with different dialects and idiosyncrasies. What bringing a query engine into Python gives is a functional query DSL. DuckDB’s non-SQL interface, where you build up a query plan from nodes in Python
233.
▲
by
sakras
4y ago
They are given a small AWS instance to ssh into, everything is already set up there. There’s a makefile already prepared that will build it.
234.
▲
by
sakras
5y ago
To be honest I kind of understand this “passing the buck”. In computing in general you never trust the guy up the stack to give you good input. Query engines do filter reordering because they don’t trust the optimizer to get it right. Compi
235.
▲
by
sakras
5y ago
I think fundamentally it’s faster just because it’s dead simple. It’s just a mash of RLE, dictionary encoding, and delta encoding, and it does it all in a single pass. PNG has to break things into chunks, apply a filter, deflate, etc.
236.
▲
by
sakras
5y ago
This looks similar to a research project I worked on called the Hammerblade Manycore. The cores were connected by a network, where you could read/write to an address by sending a packet which contained the address of the word, whether
237.
▲
by
sakras
5y ago
I thought this was a shitpost at first... rather than spending time to decrease Chrome's memory footprint their solution is to just run it on a bigger machine in the cloud?
238.
▲
by
sakras
6y ago
Also worth noting that Saleem has also been working on a wrapper of Windows GDI for Swift. While it's not a port of SwiftUI, it looks pretty similar. https://github.com/compnerd/swift-win32
239.
▲
by
sakras
7y ago
They made us on several different occasions take Cornell notes saying they'd help us learn. Supposedly there were numerous studies saying that students that used them succeeded. I HATED taking these notes - it just makes more sense to
240.
▲
Show HN: Swift Playgrounds on Windows
(github.com)
5 points
by
sakras
7y ago
|
0 comments
More ›