Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ademarre
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
ademarre
5y ago
That's amusing, but I think it also highlights the effectiveness of the strategy. WNKR is excusable and defensible. WANK would not be. Edit: But I'll concede that when your outputs are only four characters long and end users will
32.
▲
by
ademarre
5y ago
When it comes to censoring randomly generated strings, I like simply to omit vowels from the alphabet. Usually I'll omit some of the more obvious lookalikes too, e.g. [1 0 v]. It's a simple solution. Sure, it is still possible for
33.
▲
by
ademarre
5y ago
Now I am curious to look at Swift's strings. I am a big fan of explicit encodings. I have long believed that an ideal text API would not use string as a concrete data type. Instead, encodings themselves (UTF-8 et al.) should be concret
34.
▲
by
ademarre
5y ago
I think the term you are looking for is grapheme cluster . https://manishearth.github.io/blog/2017/01/14/stop-ascribing...
35.
▲
by
ademarre
5y ago
191 is a magic number for VARCHAR columns in MySQL when innodb_large_prefix is disabled, which was the default for MySQL <= 5.7.6. Here is a short list of MySQL magic numbers for column types. Space efficiency and performance: - VARBINAR
36.
▲
by
ademarre
6y ago
I would not have my current career if not for the information freely available online. The most useful knowledge I've acquired about building things on the internet came not from framework/library/API docs, but from RFCs publ
37.
▲
by
ademarre
6y ago
Agreed. I couldn't immediately see if it was "DOLT" or "do it", as in "just do it". It's the former.
38.
▲
by
ademarre
6y ago
Signage. Advertisements, restaurant menu displays, etc. New artistic styles often come from the limitations of their mediums. I expect the limitations of color e-ink to be no different.
39.
▲
by
ademarre
6y ago
There are many of these out there. Search for "SEO recovery case study".
40.
▲
by
ademarre
6y ago
To avoid this issue when writing URLs in plaintext, I add a space at the end. > Check out https://example.com/thing . They've got... Let's say we were serious about solving this problem (without adopting a stra
41.
▲
by
ademarre
6y ago
> "Strictly speaking, I would classify this as user error, not a browser flaw, though it's an easy mistake to make" I agree, but browsers should use console warnings to report when they resort to font synthesis or weight
42.
▲
by
ademarre
7y ago
This story could make a good anecdote to remember when considering human factors, user interface, and checklist design. > Investigators said that because the pilots flew the second circuit at 1500ft, the Electronic Centralised Aircraft
43.
▲
Jetstar pilots forgot to lower the landing gear
(airlineratings.com)
100 points
by
ademarre
7y ago
|
91 comments
44.
▲
by
ademarre
7y ago
It's not free, but Chief Architect also makes a lightweight version called Home Designer: https://www.homedesignersoftware.com/
45.
▲
by
ademarre
7y ago
Mike Massimino's book, Spaceman , includes a captivating account of what it was like to spacewalk on Hubble. He went on two Hubble servicing missions, including the final one when the WFC3 was installed—the camera that captured this n
46.
▲
by
ademarre
7y ago
It's also frustrating when they change password rules and invalidate existing passwords in the process. Yesterday I had to go through an inconvenient password reset because my bank no longer allows spaces in passwords. The password inp
47.
▲
by
ademarre
7y ago
Oops, yep. I didn't see that context.
48.
▲
by
ademarre
7y ago
Googlebot actually used to support a noindex rule in robots.txt, but they are removing it. https://webmasters.googleblog.com/2019/07/a-note-on-unsuppor...
49.
▲
by
ademarre
7y ago
Except you may have to deal with the inconvenience of changing your credit card number.
50.
▲
by
ademarre
7y ago
That happened with the HTTP_PROXY environment variable and the Proxy request header: https://httpoxy.org/ Since the CGI "protocol variables" are actually environment variables, it creates a namespace collision and
51.
▲
by
ademarre
7y ago
libchrurl It's visually more distinct than libcrurl while retaining an appropriate resemblance to libcurl. One could argue that some resemblance in name is a good thing for curl. But libcrurl is too close and likely to cause confusion.
52.
▲
by
ademarre
7y ago
That sounds similar to the Volkswagen diesel emissions scandal.
53.
▲
by
ademarre
8y ago
Exactly. It's usually best to specify end times exclusively, and not just for leap seconds; it's easier to program in general. If your clock has sub-second granularity, then you can end up with a time value like 23:59:59.123. Whic
54.
▲
by
ademarre
8y ago
https://gizmodo.com/how-cartographers-for-the-u-s-military-i... https://splinternews.com/how-an-internet-mapping-glitch-turn... In those cases there were negative consequences because low-precision markers
55.
▲
by
ademarre
8y ago
> I prefer to see them only as a sequence of Unicode codepoints You can still have this with encodings as data types. Encoding is definitely a concern at the boundary, but to say that it is a concern only at the boundary is too simpl
56.
▲
by
ademarre
8y ago
This looks like good information about the memory representation, but we would be better off without string as a data type at all, at least not as a concrete type. Strings as they commonly work are leaky abstractions which for decades have
57.
▲
by
ademarre
8y ago
That's a good point! But wouldn't we need better mobile keyboard support before that happens?
58.
▲
by
ademarre
8y ago
I don't have a strong opinion on the interrobang either way, but let's imagine we wanted to start a campaign for it to go mainstream. The most important thing that could happen would be for a popular auto-correct tool to start sub
59.
▲
by
ademarre
8y ago
> "I see a significant loading animation (the grey lines) - likely slower than just loading a simple new page each time." You can test the difference yourself by toggling JavaScript in your browser.
60.
▲
by
ademarre
8y ago
I love Battleship hacks. The game begs to be implemented everywhere for its simplicity. Before I learned to program I implemented it in MS Excel circa 2002. It was played over a local network as a shared file, and it relied on manual pollin
More ›