Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
haberman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
391.
▲
by
haberman
5y ago
Do you find that all of your financial institutions offer reliable OFX/CSV feeds? I'm asking because I've generally come to the conclusion that PDF is the only universal data format that every institution will offer.
392.
▲
by
haberman
5y ago
> Importers have been great. What importers do you mean? Are these importers you've written yourself, or existing importers you were able to reuse? What format are these importers pulling from (PDF statements, CSV, OFX, etc)?
393.
▲
by
haberman
5y ago
> surely neither version guarantees that the generated code is branchless, it's all still up to the compiler. That is true, and the article mentions that GCC did not want to generate branchless code in this case, and thus performed
394.
▲
by
haberman
5y ago
Yes, I agree that higher-resolution data is not readily available. LLVM MCA has a timeline view that attempts to visualize the overlapping execution of instructions ( https://llvm.org/docs/CommandGuide/llvm-mca.htm
395.
▲
by
haberman
5y ago
The visualization tools presented look really nice, but they seem to present program execution as sequential and linear, which is a model that seems like it will really break down at these time scales (10s of cycles). Modern processors will
396.
▲
by
haberman
5y ago
I couldn't find much info about Trilium Notes journal functionality. Do you mean something like this? https://github.com/zadam/trilium/wiki/Day-notes
397.
▲
by
haberman
5y ago
> You could technically create a script of some kind that runs git diffs across the git history of files, and maybe create a "*.changelog" child file for each note I think you may have missed my core point. I don't want t
398.
▲
by
haberman
5y ago
Every time I see a new note taking app, I get excited that it might finally be the one that will satisfy my desired workflow. But every time I end up disappointed that nobody seems to think about this space in the way that I do. Here is my
399.
▲
by
haberman
5y ago
My colleagues and I have developed a technique that addresses a lot of the issues Mike discusses in that link. In this blog article explaining the technique, I included an example that nearly matches Mike's hand-coded assembly from you
400.
▲
by
haberman
5y ago
This page does not provide any information why the recommended solutions (Bitwarden, KeePassXC) are more secure than the products it warns against (1Password, LastPass, Roboform, and iCloud Keychain).
401.
▲
by
haberman
5y ago
If the modeling is this good and this accurate, it would be helpful if consensus predictions were published in a prominent outlet that is easy for the public to consume and compare against empirical data as it comes in. I think this is par
402.
▲
by
haberman
5y ago
Protobuf decoders are expected to validate UTF-8 strings for syntax="proto3" files, but not syntax="proto2". The behavior diverges mostly for historical reasons. This is a validation pass only and it doesn't make a
403.
▲
by
haberman
5y ago
This blog entry taught me a mathy way of understanding double-entry accounting: https://martin.kleppmann.com/2011/03/07/accounting-for-compu... Summarized: a ledger is a directed graph of accounts, where edge
404.
▲
by
haberman
5y ago
"Read" here is shorthand for "call a const method". You can write const methods that are not safe to call concurrently: for example, they could use "mutable" or "const cast" to perform mutation, or t
405.
▲
by
haberman
5y ago
I agree that the writes are synchronized with the reads in my example. But the reads are totally unsynchronized with respect to other reads, in every sense. That is what thread-compatibility guarantees you: concurrent reads without synchr
406.
▲
by
haberman
5y ago
> reads are always unsafe when there is a possibility of writes. That is correct for any reads that could race against a write. Writes must be synchronized with all other operations. But reads may proceed in parallel with other reads wi
407.
▲
by
haberman
5y ago
My gut is that computing key (given reliable pitch data) is a lot easier than computing polyphonic pitch data (given audio). For relatively "conventional" music, there are very strong signals of key like beginning and ending chord
408.
▲
by
haberman
5y ago
The point of the exercise is to show that the C++ idiom doesn't make sense in Rust. It's certainly not trying to imply that Rust is being unreasonable for rejecting a direct port of a C++ idiom. I do think the ambiguity mentioned
409.
▲
by
haberman
5y ago
Yes that is a good point. I will see if I can fit this into the article without introducing too much digression.
410.
▲
by
haberman
5y ago
Which documentation do you mean? The Abseil docs I linked to ( https://abseil.io/blog/20180531-regular-types#data-races-and... ) are talking about thead-safety of types, not functions.
411.
▲
by
haberman
5y ago
Not exactly. I was just trying to show the most direct port possible of the C++. In C++, Increment() is a non-const method, so in Rust I made increment(&mut self). The point is to show that thread-safe types are expressed differently
412.
▲
by
haberman
5y ago
If electricity doesn't travel through wires, why do resistors dissipate heat? I'm having trouble understanding what is even being claimed. Electrons are moving, without the movement of the electrons there is no electricity travel
413.
▲
by
haberman
5y ago
I wrote a blog post about a Brainfuck JIT too: https://blog.reverberate.org/2012/12/hello-jit-world-joy-of-... Mine uses the DynASM framework developed for LuaJIT, so that the assembly instructions can be written
414.
▲
by
haberman
5y ago
I was shocked to come across this figure today: > "If the United States still hospitalized its mentally ill at the same rate it did in 1955, its mental health institutions would house almost 1.1 million people any given day. Instead
415.
▲
by
haberman
5y ago
I'd also like to see the smallest Rust binaries that are achieved by real projects. When the most size-conscious users use Rust to solve real problems, what is the result?
416.
▲
by
haberman
5y ago
The ideal is that an author is unbiased before seeing the evidence, then forms an opinion based on the strength of the evidence. An article that chronicles such a journey, presenting an opinion but also the strongest counter-arguments to t
417.
▲
by
haberman
5y ago
> The index file stores a list of every file at HEAD, along with the object ID for its blob and some metadata. This list of files is stored as a flat list and Git parses the index into an array. I'm surprised that the index is not h
418.
▲
by
haberman
5y ago
I think "a + b" is a good example. I really recommend the talk I linked ( https://youtu.be/qCGofLIzX6g ), it gets deep into this stuff. I don't think anyone benefits from "a + b" having so many speci
419.
▲
by
haberman
5y ago
In your second link it says: > For instance, to evaluate the expression x + y, where x is an instance of a class that has an __add__() method, x.__add__(y) is called. The talk I linked to ( https://youtu.be/qCGofLIzX6g ) i
420.
▲
by
haberman
5y ago
Python is in a situation where it is enormously popular, due to a winning aesthetic in syntax/ergonomics that appeals to both newbies and experienced programmers. And due to this success, there is a lot of demand and interest in speed
More ›