Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DoggettCK
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
DoggettCK
9y ago
I've written ~15 of the higher-level reference exercises for Elixir on Exercism, and do try to comment when I can, but my day job keeps me from it a lot of the time. Some sort of reminder system would definitely be great, especially as
2.
▲
by
DoggettCK
10y ago
Thankfully, it wasn't sputtering on the side of the road out of gas, just the dashboard light coming on indicating that that was 10-30 minutes away.
3.
▲
by
DoggettCK
10y ago
I'd be curious to see if certain locations trigger surge pricing, too. My wife and I got sideswiped about a month ago, had to go to the ER in Austin. Got out, had no way to get back to our truck, nor to our house an hour outside Austin
4.
▲
by
DoggettCK
11y ago
As a friend of mine said when I was interviewing with her to escape the 100-hour-week death march at the "unicorn" I was at: "You're not a unicorn until someone buys you for $1 billion." They may be valued at $1B+,
5.
▲
by
DoggettCK
11y ago
That's when I switch over to emacs and ikea-mode.
6.
▲
by
DoggettCK
11y ago
I use 'jf' instead of 'jk', so I can type "Dijkstra" occasionally, not to mention they're both on the home row, under your index fingers, typically have physical nubs on the keys, and no words in any langu
7.
▲
by
DoggettCK
11y ago
Definitely worth it. I had to drop out around week 5 due to a lack of time, but just started a new job that'll take me back to 40-hour weeks (down from 80-100), so I'll give it another shot next time they run the course.
8.
▲
by
DoggettCK
11y ago
Just what I needed. Thanks!
9.
▲
by
DoggettCK
11y ago
Opening a new buffer. Figured I'd try :new, and wound up getting good at splits. Still don't know how to just open up a new, blank buffer in the window I'm in without specifying a filename to :e.
10.
▲
by
DoggettCK
11y ago
One of the best things I've done, though I personally use 'jf', since they've both got little nubs on the keys, and I occasionally have to spell "Dijkstra".
11.
▲
by
DoggettCK
11y ago
I seem to remember reading they re-used paper a lot back then, scraping off old ink. Paper could've been much older than the author.
12.
▲
by
DoggettCK
11y ago
I've had similar problems with FluentMigrator, even though it orders things nicely using an attribute on the migration class that has a long value representing the order things should run in. I just use timestamps for when the migratio
13.
▲
by
DoggettCK
11y ago
I got one that was my exact name and number showing up on caller ID, which should be unlisted. As in, my home phone appeared to be calling itself. That one pissed me off enough to ask for a supervisor, which caused the guy to immediately ha
14.
▲
by
DoggettCK
11y ago
I remember some motivational poster from my old tech recruiter's FB feed that seems appropriate here: "What if we invest in training and our employees leave?" "What if we don't, and they stay?"
15.
▲
by
DoggettCK
11y ago
Not just efficiently parallel, but easily distributable to multiple nodes.
16.
▲
by
DoggettCK
11y ago
Agreed. Also, I'm pretty sure one of, if not the main point(s) of mocking is "How does this unit of code respond if an external dependency returns bad data?"
17.
▲
by
DoggettCK
12y ago
If you're not already following it, check out Handmade Hero ( https://handmadehero.org/ ). Great, free video series from Casey Muratori that guides you through building a game from scratch.
18.
▲
by
DoggettCK
12y ago
I highly recommend it, even if you just want a refresher on C.
19.
▲
by
DoggettCK
12y ago
That was my assumption, too. They do memoize the length, but I'm sure those bytes add up, having run into OutOfMemoryExceptions building huge amounts of strings before.
20.
▲
by
DoggettCK
12y ago
That does answer an unanswered question I had on SO about string hashing. If strings are immutable, why isn't the hash code memoized? Seems like it would make HashSet/Dictionary lookups using string keys much faster.
21.
▲
by
DoggettCK
12y ago
As mentioned in another comment, I'd probably do a Levenshtein distance between the old and new passwords, and reject if they crossed some threshold. However, only knowing the plaintext of the immediately-preceding password as they ent
22.
▲
by
DoggettCK
12y ago
Well, they wanted 4 of 4, actually, and yes, I had to do custom validation. Everything except the upper-case character worked in JS, so everything "just worked" if I took that part out, but that wasn't an option.
23.
▲
by
DoggettCK
12y ago
Didn't in either case, because they weren't in the requirements, and the first one, while well-meaning, just further decreases entropy. I got into an email fight with our network security over trying to use a 40-character password
24.
▲
by
DoggettCK
12y ago
Having recently had to implement improved password security for a customer who wouldn't read XKCD #936, the internationalization thing was a pain in the ass. They wanted at least 10 characters, and at least one uppercase, one lower, on
25.
▲
by
DoggettCK
12y ago
Realtors have been using these lately. Had to let my old house go back to the bank in a deed-in-lieu earlier this year, but within days of the MLS listing expiring with our realtor, we started getting mail forwarded to our new house that lo
26.
▲
by
DoggettCK
12y ago
I'm playing with replacing my Python analytics system with Elixir, piece by piece. Working on a little tool with it that'll convert our XML and JSON from two separate parts of the system to a common format.
27.
▲
by
DoggettCK
12y ago
Credit, blame, what's the difference, really?
28.
▲
by
DoggettCK
12y ago
I really want to suggest XORing the password with itself, as a goof, but it seems like the type of thing that will bite me in the ass later in life.
29.
▲
by
DoggettCK
12y ago
I would, but as a scientist, I don't feel you would accept the veracity of my response.
30.
▲
by
DoggettCK
12y ago
Ctrl-F "white": 0 of 0 results "Women" doesn't mean "white women", and as Haul4ss pointed out, all women won the right to vote in the U.S. years after minority men did.
More ›