Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ddulaney
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
ddulaney
4y ago
Debug symbols are often larger than the original source code though. The main culprit is C++ template expansions, which can get crazy long.
92.
▲
by
ddulaney
4y ago
My solution in this case was to convince my company to buy CLion, which works reasonably well and which I believe is backed by LLDB.
93.
▲
by
ddulaney
4y ago
I recently was troubleshooting a crash that backtraced through the boost::sml library [0]. The crash didn't actually have anything to do with the library, but it was used as the core event loop. The backtrace -- as in, just the output
94.
▲
by
ddulaney
4y ago
Nothing anymore. Originally it measured a specific dimension on the transistor. Then transistors started shrinking non-uniformly, so they adjusted it -- "how big the transistors would be at equivalent density if they had shrunk evenl
95.
▲
by
ddulaney
4y ago
Before the CSA, the most notable legal instrument for banning substances was the constitutional amendment. After the CSA, the most notable legal instrument for banning constitutional substances was an administrative decision.
96.
▲
by
ddulaney
4y ago
Because they were born before 1970, which was when the Controlled Substances Act allowed the executive branch to make certain drugs illegal :)
97.
▲
by
ddulaney
4y ago
Building them would be a challenge, but definitely not an insurmountable one. I’ve worked on a couple of C++ projects at a similar scale to Windows (millions of LOC) and the build systems were a major pain. But a determined engineer with th
98.
▲
by
ddulaney
4y ago
How does this interact with the huge contract with Oshkosh a couple years ago to replace the LLV?
99.
▲
by
ddulaney
4y ago
> batch all syscalls by default Switching from user mode to kernel mode and back (a “context switch”) is expensive. Traditionally, OSes did that on every system call. You can go faster if you have some mechanism for sending more than one
100.
▲
by
ddulaney
4y ago
I work in financial data — lots of big ol’ UDP multicast streams getting replicated by big routers in private data centers on private lines. In that context, everything bad can happen, but it rarely does . For example: packets most defin
101.
▲
by
ddulaney
4y ago
I'm not sure where the 40 miles number comes from, but the Census Bureau put the one-way commute time at 28 minutes on average as of 2019, with 10% above 1 hour: https://www.census.gov/newsroom/press-releases/
102.
▲
by
ddulaney
4y ago
The Brother HL-L2370DW is in the same price class ($159) and is a solid monochrome laser printer. I'm about 1000 pages in and no issues. Maybe you don't like the dark color scheme, but I find it to be quiet when not in use, unobtr
103.
▲
by
ddulaney
4y ago
It’s not uncommon for people who like Debian overall but want to be less out-of-date.
104.
▲
by
ddulaney
4y ago
Sort of. There are a bunch of places in the safe API where you have to care. Off the top of my head: - Lock poisoning and dealing with locks failing to open because they’re poisoned after some other thread panics. - The whole scoped thread
105.
▲
by
ddulaney
4y ago
I think the key there is "as much as possible". It's really hard to guarantee that panics won't happen. I like Rust, but the panic mechanism is a bit of a weak point in the language. It's not like I have a better so
106.
▲
by
ddulaney
4y ago
Yeah it's been crazy out there. I've been trying to adapt by pushing into the ESP32, which has the WiFi connectivity I need and is cheap and available. But if I had built a business around RPi (as my old employer almost did -- the
107.
▲
by
ddulaney
4y ago
> reading from stdin isn’t challenging, nor writing to stdout. Unless you're Kernighan and Ritchie, who semi-famously wrote a buggy hello world program and used it to educate a generation of C programmers: https://blog.su
108.
▲
by
ddulaney
4y ago
Not OP, but price and availability. Before about a year or two ago, it was a cheap-and-cheerful way to put some smarts into any project. Now it's impossible to get at twice the price, and the alternatives aren't quite there yet in
109.
▲
by
ddulaney
4y ago
It depends. The best way to strongarm your employer is with another job offer. If you can't get another job offer, or if it's not a big bump up, that probably says that you're being paid competitively. But if you interview so
110.
▲
by
ddulaney
4y ago
I think their emphasis was on the word just . As in, keeping industry apart from other uses is a good thing the current zoning system does. But we should loosen restrictions elsewhere: offices, housing, commercial, and light industrial sho
111.
▲
by
ddulaney
4y ago
Hmm... That's an interesting example. It definitely makes sense to enable features like that. However, I'm not sure it's a place where you want to abandon foreign-key consistency. To display the song on the playlist (greyed-o
112.
▲
by
ddulaney
4y ago
It's a myth. See: https://www.copyright.gov/comp3/chap2200/ch2200-notice.pdf on page 9 "Variants for the © Symbol".
113.
▲
by
ddulaney
4y ago
Thank you so much for reminding me! I remember Hillel Wayne’s post about it from a while ago, and I had only gotten through the first couple of chapters before stuff got in the way. It might be a good long weekend read. Great suggestion!
114.
▲
by
ddulaney
4y ago
I think there are two different kinds of consistency, and it's important to not conflate them. There's consistency that's internal to a system. Do all of the foreign keys line up correctly? Have I lost any data that was pro
115.
▲
by
ddulaney
4y ago
It does, and one class of mitigation is to improve automation, which airlines (and their regulators) do all the time. But another class of mitigations is to make the human less error-prone in the first place. This is especially important in
116.
▲
by
ddulaney
4y ago
> so that car makers can hide this type of problem from customers as easily as possible What. No! At an absolute minimum, I want to be aware of any changes to the thing in my life most likely to kill me. Maybe we could use a better term
117.
▲
by
ddulaney
4y ago
I'm not going to defend New Jersey's teacher unions specifically. However, pay based on outcome is really hard to get right, especially for something like teaching. What is the outcome? Well, what we really want is adults who can
118.
▲
by
ddulaney
4y ago
It’s mechanically solvable but not in any practical timescale. A naive approach would be to check every square with no repeats in the rows, which requires (26!)^26 attempts, or roughly 5e691. Obviously you can improve that by exploiting sym
119.
▲
by
ddulaney
4y ago
Yes, for sure. But if you can easily build 20 or 10 or even just 2 stories on top of it, land value decouples from housing value (not all the way, but substantially). And for most people, housing value is what really matters; land value is
120.
▲
by
ddulaney
4y ago
I really think it's more complicated than that. For sure, there's no legal expectation of support. If you don't support your open-source project, I can't sue you. But there is a social expectation of support. If the issu
More ›