Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dahauns
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
451.
▲
by
dahauns
10y ago
Ah - the answer was so simple: I'm an idiot. for i in range(3): m.append(lambda x,i=i: x+i) actually works, I just had a brain fart. :)
452.
▲
by
dahauns
10y ago
It took me a minute to see the problems, but - not having touched Python for over a decade - I can't for the life of me bring the lambda to capture the value of the variable. I know this doesn't work (because python assignment rul
453.
▲
by
dahauns
10y ago
New concurrent collections? .NET 4 is over eight years old now. And for all these years, the docs have explicitly informed about lack of thread safety in the non-concurrent versions and referenced the concurrent equivalents.
454.
▲
by
dahauns
10y ago
https://web.stanford.edu/group/pdplab/pdphandbook/
455.
▲
by
dahauns
10y ago
Literally never.
456.
▲
by
dahauns
10y ago
Well, there's a (rather hard to see) link to the MDN (which has reference links) in the upper right corner. But yeah, this should be more prominent. I'd consider this one expendable, though: https://imgur.com/a
457.
▲
by
dahauns
10y ago
You may be surprised how both extensive and fine grained the constraints you mention can be with current high-end RDBMS. And yes, that includes stuff like high availability and blobs/filesystems. (via naked POSIX API? Why the hell woul
458.
▲
by
dahauns
10y ago
Heh, after a quick look at the examples I tend to agree. Looks actually a lot like durandal (lifecycle hooks!) plus the knockout.punches syntax enchancements (the local filters look nice!), minus the dreaded parentheses. :)
459.
▲
by
dahauns
10y ago
It doesn't change it, but makes it rather less useful.
460.
▲
by
dahauns
10y ago
3.5 gal would be ~13l. Sure, more than today, but not remarkably so: https://en.wikipedia.org/wiki/List_of_countries_by_alcohol_c...
461.
▲
by
dahauns
10y ago
Meditation definitely has its merits, but... > People are like radios and broadcast their thoughts, and you'll be picking them up without knowing it. You'll also be able to project them i.e influence people. Those powers known
462.
▲
by
dahauns
10y ago
Looks fine to me. The TOC is hidden behind the hamburger menu, and the text layouts correctly. Both on FF and Chrome (Android 6)
463.
▲
by
dahauns
10y ago
That's cute. Too bad when the project timeline doesn't fit, the teams themselves don't fit, etc. etc. Yeah, team members can decide all they want when they don't have any resources to work with, because the primary stra
464.
▲
by
dahauns
10y ago
It's not about specific unit test frameworks or TDD strategies. It's about the fact that thirty years ago, for all intents and purposes, there was no such thing as "unit test frameworks" or "test driven development&
465.
▲
by
dahauns
10y ago
> dial in a calorie goal that lets you lose weight without feeling like crap, it actually works. This greatly describes why so many people have a problem with the blanket statement "Eat less calories than you burn and lose weight.&q
466.
▲
by
dahauns
10y ago
> Are any of these concepts particularly difficult to understand for a seasoned developer? Depending on the personality of the developer: Absolutely. And most of the time it's not about the ability to understand, but the willingness
467.
▲
by
dahauns
10y ago
Those aren't mere "implementation details". Those are aspects that influence the whole process, up to strategic decisions.
468.
▲
by
dahauns
10y ago
> I think the fundamental principles of software engineering haven't changed a whole lot since then. Not sure I agree with that. A lot of todays best practices and workflows (and the tech to go with it), especially considering team
469.
▲
by
dahauns
10y ago
uMatrix is very nice, a whitelisting everything blocker with a really intuitive interface.
470.
▲
by
dahauns
10y ago
To add to that: a list of property names you don't even have to exactly know beforehand, since the shell can easily deliver you the exact data structure and metadata of any object (cmdlets, parameters, results,...) usable on the shell.
471.
▲
by
dahauns
10y ago
You bring up prototype of all things as an argument for having less design flaws than jquery...sorry, I really don't want to sound snarky, but that made me chuckle. Their moronic choice of directly extending the DOM was a more fundamen
472.
▲
by
dahauns
10y ago
Except that this is in no way specific to proprietary drivers. Lack of a stable interface makes maintaining ALL drivers harder.
473.
▲
by
dahauns
10y ago
Video compression shouldn't introduce that kind of latency (I get <10ms with Steam in-home streaming), but other than that you're correct, of course.
474.
▲
by
dahauns
10y ago
Whoa...so she basically tried to blackmail you into declining the counteroffer? What the hell?
475.
▲
by
dahauns
10y ago
In my experience the likelihood of your scenario (increasing resistance to refactoring) is almost always indirectly proportional to the amount and quality of refactoring tools available. 500KLOC JVM/.NET application? No big deal. 50KL
476.
▲
by
dahauns
10y ago
Exactly. Testing an API in isolation doesn't help you a thing when the bug arises because of, say, subtle inconsistencies between API implementations of interacting services on a long chain. This sounds a lot like the code coverage fal
477.
▲
by
dahauns
10y ago
> With micro services you could have different versions of those utilities in use which would not be possible in a monolithic app. You have no idea...:)
478.
▲
by
dahauns
10y ago
Now there's a nutjob theory. The Verge doing investigative journalism?
479.
▲
by
dahauns
10y ago
Microsoft actuallly were a classic snowball in their first few years with MS BASIC. Then, in 1981, they took the snowball and threw it smack dab into that huge towering snow slab they had noticed called the IBM PC, causing an avalanche of h
480.
▲
by
dahauns
10y ago
Ever heard of the Law of Leaky Abstractions? Logical purity is completely useless if the chosen abstraction leaks like the Titanic after the iceberg. And no, the alternative is not "just use C", but choosing an abstraction that be
More ›