Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ramses0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
601.
▲
by
ramses0
3y ago
An honest answer, tons of tests with mocks are really frustrating to find. Anything that simply “must” be mocked is better served by returning a “command pattern” response. eg: return new DoGood() || new DoBad(), and separately: TestableIsG
602.
▲
by
ramses0
3y ago
I’ve had the privilege of refactoring age-old code, and it takes more than two hands to count the number of times I’ve named a class “TestableMegaFoo”, whereby little testable bits of “MegaFoo” have been judiciously migrated to. There’s ano
603.
▲
by
ramses0
3y ago
So a “bypass probation” ID-only queue.
604.
▲
by
ramses0
3y ago
The traditional response is “over-specification” with a coffee pot on a commercial airliner needing to be certified against becoming a dangerous missile in the event of a plane crash (shatter, break, etc). Yes, it may be that the trash can
605.
▲
by
ramses0
3y ago
Rough Summary: Start with a dumb-cache using "FIFO" (first in/first out) Keep track of anything with "hits" while in the cache (simple boolean/bitmap instead of complicated locks/data structures) Re-insert
606.
▲
by
ramses0
3y ago
printf "%q" "$VAR" P.S. quotes matter, surprisingly or unsurprisingly because “bash”
607.
▲
by
ramses0
3y ago
:-)
608.
▲
by
ramses0
3y ago
Corded tools, my friend. Corded tools, a few good extension cords (and a pluggable reel), good hand tools, small/dumb tools with AA/AAA rechargeable batteries. Very few exceptions to this rule for me, and I generally avoid anythi
609.
▲
by
ramses0
3y ago
Read through the Super-Mario analysis, but refer to the all-caps table down below as you're reading. (HERO, NEO, BAD, DRAKE) They're basically analyzing "tropes" (common storytelling patterns), and doing something simila
610.
▲
by
ramses0
3y ago
Yeah, I should switch my one USB device that emits keyboard HID events for another USB device that also emits keyboard HID events but is smaller, easier to lose, and has less buttons. ;-) But yes, I agree with you in principle. In practice
611.
▲
by
ramses0
3y ago
Take a deep look at this keyboard: https://www.amazon.com/KINESIS-Gaming-Freestyle-Mechanical-K... Or the non-rgb version: https://www.amazon.com/Freestyle-Ergonomic-Mechanical-Progra... (but for $30 more,
612.
▲
by
ramses0
3y ago
Have I got a thrill for you! https://www.mutopiaproject.org https://lilypond.org https://www.hacklily.org ...it really helped me understand why "$SCORE = ( $MELODY + $BASS )" was sometimes super
613.
▲
by
ramses0
3y ago
1. Bloom for existence, re-create via brute-force search (?), checkpoint hash every $N seconds(?) 2. Godbolt => "This rendered text came from these portions of the DAG/tree, press CTRL-Del to irrecoverably remove them from the
614.
▲
by
ramses0
3y ago
I was "doing the analysis" w/ Toy Story not long ago. They basically invented Woody/Buzz out of whole cloth, "guilty of being an incredibly lovable toy by association" (with other incredibly lovable toys). As
615.
▲
by
ramses0
3y ago
It matches exactly the on-disk format for deno.json / import_map.json. Based on my limited experience with it, I was super-stoked to see it be basically: “oh, what I was messing around with last night when trying out deno!”
616.
▲
by
ramses0
3y ago
A favorite that I use very frequently is `esc .` (or maybe `alt+.`), which "up-arrows" through the last token of your command history. mkdir /tmp/foo # /tmp/foo is the last token cd <esc .>
617.
▲
by
ramses0
4y ago
(did you ever watch Failsafe, by the way?)
618.
▲
by
ramses0
4y ago
https://beanstalkd.github.io
619.
▲
by
ramses0
4y ago
"Sea Lion" comment/question. It's a distraction. http://wondermark.com/1k62/
620.
▲
by
ramses0
4y ago
* Amount less than $250k * "Deposit Account" => not a "fancy investment interest account" Details: https://www.fdic.gov/resources/deposit-insurance/ Not Covered: https://www.fdic.
621.
▲
by
ramses0
4y ago
https://tile38.com - Not yet had cause to use this one, but it seems like "the right one" for "geo stuff".
622.
▲
by
ramses0
4y ago
The other difficulty is it appears there is little-to-no support for API/automation: https://github.com/lastpass/lastpass-cli/issues/602 https://github.com/lastpass/lastpass-cli/
623.
▲
by
ramses0
4y ago
The favorite prank played on me was coworkers changing my wallpaper to a "funny" picture, then renaming *.jpg to *.old and replacing the original *.jpg's with the same "funny" picture. So when I went to change my w
624.
▲
by
ramses0
4y ago
RMS: "Right to Read" - https://www.gnu.org/philosophy/right-to-read.en.html
625.
▲
by
ramses0
4y ago
The glory of “ERROR” documents as a concept! JSONAPI is too complicated at first, then exactly as complicated as is useful over time.
626.
▲
by
ramses0
4y ago
It's "simply" an "AI" EQ preset adjuster using the existing licensing/sale/broadcast rights. /s
627.
▲
by
ramses0
4y ago
Aside: it would be nice to have geographically local "web-rings". There was a sewing consortium place nearby that I randomly drove by, and also a local quilting specialty shop that I saw, why aren't they all connected to eac
628.
▲
by
ramses0
4y ago
...love me some papi-jump!
629.
▲
by
ramses0
4y ago
I’m in a slightly similar place to the author, but would love some other backup nerds to throw in some advice. I’m aware of the traditional “requirements” for backup (eg: attribute/metadata, cross platform, restore testing, etc), but i
630.
▲
by
ramses0
4y ago
Take a look at Small Red Delicious v. Large Red Delicious. Nowadays you can only find large's, and larges used to be "mealy and icky", while the small red delicious were wonderful. Everybody dunks on Red Delicious apples, b
More ›