Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hathawsh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
301.
▲
by
hathawsh
5y ago
I agree; this looks like a great service. I don't understand the objections. Thanks @ollymeakings!
302.
▲
by
hathawsh
6y ago
The most impressive part is that it's actually conceivable to implement such deep changes without a major version bump in Rust. (I hope so anyway!)
303.
▲
by
hathawsh
6y ago
That's a good one. My favorite is this one: - F is the 6th letter of the alphabet. - I is the 9th letter of the alphabet. - S is the 19th letter of the alphabet. - H is the 8th letter of the alphabet. 6 + 9 + 19 + 8 = 42. IOW, the dolp
304.
▲
by
hathawsh
6y ago
I agree, fond memories. Today you can get all the popular colors for less than a penny each. https://www.aliexpress.com/item/32848810276.html
305.
▲
by
hathawsh
6y ago
Thanks for speaking up, rhodozelia. The currently prevailing voice of HN appears not to be on your side, but you have 30 customers who are on your side, and you probably represent the views of many. We need to hear more of your side.
306.
▲
by
hathawsh
6y ago
It sounds like you need a secretary--someone who can type fast and dress up your words for wider distribution in the company.
307.
▲
by
hathawsh
6y ago
Another thing I find interesting is that Amazon's main business is so common that there's a single word for it: retail. They're just yet another middleman between distributors and consumers. Not long ago, a lot of the busines
308.
▲
by
hathawsh
6y ago
In the US, people go to "college" at a "university". College is a level of education and a university provides that level of education. One alternative to a college education is what's called a "technical schoo
309.
▲
by
hathawsh
6y ago
This is the first time I've heard of intentionally running a fuel pump backwards and I wonder whether you're right. The fuel pump in modern vehicles is normally submerged in the fuel tank. My guess is that air drawn in by the pump
310.
▲
by
hathawsh
6y ago
That was my reaction too. It seems like GlacierMD might have been successful if it had focused on SEO. Whenever someone types "what is the best headache medicine", GlacierMD should have been at the top of the results. The landing
311.
▲
by
hathawsh
6y ago
You might want to start here: https://github.com/pulseaudio/pulseaudio/tree/master/src/mod... It would be very interesting to port that code. Another option, obviously, is to use a Raspberry Pi inst
312.
▲
by
hathawsh
6y ago
I would think that profile-guided optimization (PGO) also makes compilation nondeterministic (unless the profile is stored for reuse.) https://en.wikipedia.org/wiki/Profile-guided_optimization I've been enabling P
313.
▲
by
hathawsh
6y ago
This is fantastic material. I'm going to present this quandary to my kids. Some of my kids struggle at math, so it will help them understand that math is a language and, like any language, it has abbreviations that sometimes lead you d
314.
▲
by
hathawsh
6y ago
Both cache invalidation and naming are easy on the surface but surprisingly complicated and prone to error. Cache invalidation has a risk of both false positives (something got evicted from the cache but shouldn't have) and false negat
315.
▲
by
hathawsh
6y ago
Transactional DDL is, IMHO, the best way to write database tests! I've been really happy with database testing since I built and started using a library that runs DDL and uses savepoints without ever committing a transaction. https:&#
316.
▲
by
hathawsh
6y ago
You're hitting on the difference between unit tests and integration tests. Unit tests should generally not try to test load limits or timing, while integration tests should have the freedom to load millions of rows into a table and ver
317.
▲
by
hathawsh
7y ago
By trap I mean a surprising exception to the common rules. Most high school graduates learn algebra, yet they rarely learn how to avoid accidental division by zero. It's a surprising exception. "null != null" is also a surpri
318.
▲
by
hathawsh
7y ago
I had a simple Radio Shack RC car when I was young. When it started to wear out, I took it apart, hoping I would be able to improve it. It turned out to be nearly pure analog circuitry, and I didn't know where to learn more about analo
319.
▲
by
hathawsh
7y ago
The fact that null != null (and NaN != NaN) is, to me, a helpful reminder that the mathematical model behind SQL is not as simple and elegant as newcomers would like it to be. It reminds me of the classic "proof" that 1 = 2, based
320.
▲
by
hathawsh
7y ago
Yeah, on second thought, that would mean TLS is broken: if many people connect to a static web site and receive the same content, they would be at risk of revealing key material. However, they are not at risk of any such thing. Never mind.
321.
▲
by
hathawsh
7y ago
I like that idea. I think there might be some risk that because all recipients receive the same encrypted text (encrypted by a different key for each recipient), a recipient may be able to discover other recipients' encryption keys. To
322.
▲
by
hathawsh
7y ago
This is why I read HN. Thank you for recommending a good retailer.
323.
▲
by
hathawsh
7y ago
I can't help but wonder how they concluded that they should add arbitrary emojis to Unicode. Are emojis the future of language?
324.
▲
by
hathawsh
7y ago
I believe the author meant that Rocket provides helpers to make unit testing easy. The tests are written using the ordinary "#[test]" Rust annotation and run by the standard Rust test runner.
325.
▲
by
hathawsh
7y ago
FWIW, I chose to learn Rust specifically because of the metaprogramming afforded by procedural macros. The code I write leans heavily on (de)serialization, frequent error handling, declarative programming, and other automation. I can hardly
326.
▲
by
hathawsh
7y ago
Perhaps. I can think of a couple reasons to steer people away from Rc/Arc: they are less efficient than references and they don't support cyclic garbage collection. On the other hand, Rc/Arc are very helpful for newcomers com
327.
▲
by
hathawsh
7y ago
The key, I think, is to figure out which kinds of Rust patterns are ambitious and efficient if they work, versus patterns that are easy to write and unlikely to fail. It's tempting to use references everywhere possible for efficiency,
328.
▲
by
hathawsh
7y ago
I wonder if anyone has advice for someone like me who thinks writing a journal is probably a good idea, but I rarely write because I can hardly bear to read what I've written. I always want to edit it for clarity or just throw it out b
329.
▲
by
hathawsh
7y ago
Life might be easier if emotions were that simple. :-) I've worked with several people to help them overcome emotional baggage. It is quite challenging. It's true that many emotional differences can be eventually distilled down to
330.
▲
by
hathawsh
7y ago
Strong point IMHO. Also, the indicator has been close to the same level since 2014 (6 years). If this indicator were perfectly predictive, then we would have seen a recession shortly after 2014.
More ›