Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
msclrhd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
msclrhd
6y ago
If there's a bug between the specifications and Chrome, what incentive is there for Chrome to change? How do you check/verify the specifications if there is only one implementation? Given a single implementation, what incentive is
2.
▲
by
msclrhd
6y ago
The tricky part of this is that not all programmers make good managers, or want to be promoted into management. They are different skill sets. That said, having a basic understanding of the difficulties and things that take time (learning n
3.
▲
by
msclrhd
6y ago
Is that from the work by David Crystal reconstructing the sound of Shakespeare? It's very interesting to listen to passages read out in that Original Pronunciation. There are several videos of it on YouTube. NativLang also did a video
4.
▲
by
msclrhd
6y ago
I now tend to focus on a black box logic coverage approach to tests, rather than a white box "have I covered every line of code" approach. I focus on things like format specifications, or component contract definitions/behavi
5.
▲
by
msclrhd
6y ago
I've allocated a 5GiB partition to /home on my SSD, as it does not need to be bigger. I don't want it filling up with software or other things like ivy/maven caches.
6.
▲
by
msclrhd
6y ago
If you are implementing a specification (e.g. CSS/HTML/other language parser), tests are invaluable to assess how conformant your code is. They allow you to test the different parts and specifications in isolation (the lexer, the
7.
▲
by
msclrhd
6y ago
If it is in your top sites, you need to add that widget to the home page to get access to the menu to dismiss the result. (See my reply to the grandparent post for details.) I don't know of an easier way to do this.
8.
▲
by
msclrhd
6y ago
Ok, I've figured it out. The Shift+Delete combination only works for search results (e.g. the results displayed when you press space or type part of the url that are in your history). To manage the top sites (which Firefox 78 displays
9.
▲
by
msclrhd
6y ago
If you have that in your history, you can highlight that entry in the search results (e.g. using the up/down arrow keys after typing "weather") then press Shift and Delete to delete it from the history. If you don't want
10.
▲
by
msclrhd
6y ago
I don't like the behaviour in Chrome or Slack either. I haven't tried the new Edge (Edgeium) -- the Trident/IE derived Edge only expands downward. 1. It is inconsistent with the behaviour of every other control, including oth
11.
▲
by
msclrhd
6y ago
See https://www.userchrome.org/megabar-styling-firefox-address-b... for details on how to customize the new address bar, including userChrome css for keeping its size confined to the dropdown UI like other dropdown/com
12.
▲
by
msclrhd
6y ago
My understanding is that from General Relativity (GR) mass carrying particles (and other energy-momentum) curves space-time, and that curvature is what we understand as gravity. I'm aware of there needing to be an exchange particle due
13.
▲
by
msclrhd
6y ago
Ranges are a (start, end) pair of iterators that support begin/end -- think of them like a subset of containers that just provide access to the iterators over them. They also support the end iterator being a different type to the sstar
14.
▲
by
msclrhd
6y ago
Destructors in C++ aren't just for making sure you leak memory. They are used for many lifetime controlled things such as: 1. general resource cleanup (file handle, database connection, etc.) using RAII (Resource Aquisition Is Initial
15.
▲
by
msclrhd
6y ago
And the nightmare of determining who owns the APIs in things like SQL, BSD, POSIX, libc, speadsheet functions, the cairo and HTML canvas path APIs, HTML DOM, and more. Not to mention compatibility projects like wine, DOSBox, and various emu
16.
▲
by
msclrhd
6y ago
What about something like "in_order_traversal", which is an algorithm and you need to keep track of the traversed stack. You could either write it with functions in which case you would need to pass the stack as a parameter and ha
17.
▲
by
msclrhd
6y ago
A better comparison would be the yearly death toll due to flu for the US, noting that the current COVID-19 death toll is over a 2-3 month period. Preliminary estimates for the 2019-2020 US flu season [1] put the number of deaths for a 6 mon
18.
▲
by
msclrhd
6y ago
The audio generation is split into packets or chunks of audio. There are two general methods of storing/generating these chunks: 1. LPC/formants -- building the audio using the LPC (linear predictive coding) or frequency (formant
19.
▲
by
msclrhd
6y ago
Then what about vitamin A? Our body can synthesize it from beta-carotene.
20.
▲
by
msclrhd
6y ago
That's interesting. So what you have is some sort of similarity metric that is colour based. You could define it as being 1 for an exact match, and 0 for not matching, so cyan, etc. would be 0 red, while orange may be slightly red (e.g
21.
▲
by
msclrhd
6y ago
It depends on the show and the presenter. John Humpfreys was very pro-Leave -- there was one segment on the Today program where he was interviewing someone advocating for a people's vote and angrily asked them how working people would
22.
▲
by
msclrhd
7y ago
You can temporarily implement both interfaces where needed, create adaptors, or other patterns during the intermediate steps.
23.
▲
by
msclrhd
7y ago
Note that with Kotlin, JetBrains created it initially for working on their IntelliJ IDE and are porting their Java codebase to use Kotlin. So that is a good indicator of long-term sustainability.
24.
▲
by
msclrhd
7y ago
Emulation is typically reserved for processor emulation. A NES emulator works by simulating the CPU, PPU (GPU), bus and other parts of the NES system on the computer running the emulator. DOSEmu, QEmu, and Amiga Forever work in similar ways
25.
▲
by
msclrhd
7y ago
All his works are available on Project Gutenberg for free: http://www.gutenberg.org/ebooks/author/120 .
26.
▲
by
msclrhd
7y ago
If you have keys that tend to have common prefices (e.g. URLs in RDF) then checking them in reverse (e.g. with a suffix tree) is generally faster, as you will hit differences quicker.
27.
▲
by
msclrhd
7y ago
Can we have a reliable cross-browser way to say "this is a change password field, so don't autocomplete it" and "this is an email address field not a username field, so don't autocomplete it with the login username&
28.
▲
by
msclrhd
7y ago
Great! :( Now I need to recheck to see if an autocomplete bug has reappeared where it thinks an email address field is a username field in a change password UI and autocompletes the email address with the username from the login page. Sigh!
29.
▲
by
msclrhd
7y ago
What about the Tiny C Compiler (TCC) that Fabrice Bellard wrote? https://bellard.org/tcc/
30.
▲
by
msclrhd
7y ago
One of the things I hate is when traffic ignores padestrian crossing indicators, including the ones with traffic lights, when traffic is backed up.
More ›