Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ratbeard
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
ratbeard
6y ago
Yep. And trailing commas,
2.
▲
by
ratbeard
7y ago
A 'saving…' or 'loading…' popup or any type of interaction preventing mask is a common UX pattern in my opinion in javascripts heavy apps. We didn't care about testing the popup at all, it was just breaking our othe
3.
▲
by
ratbeard
7y ago
We invested a large amount of time in them recently, and I agree they are terrible to write. We dare not even turn on IE or any other browser, we can't even keep the tests green in Firefox. Really wish we'd used cypress instead
4.
▲
by
ratbeard
7y ago
Pre dece comment explaining some deets why quantum mechanics and general relativity seem incompatible: https://blogs.sciencemag.org/pipeline/archives/2019/10/11/co...
5.
▲
by
ratbeard
8y ago
From this story I take away: - A Sr. Marketing staff member saw technical deficiencies in the project and pulled a _complete 180°_ literally days before showtime in front of a huge client, successfully. - Jobs pushed his workers hard.. thou
6.
▲
by
ratbeard
8y ago
I've been happy with 1password as well, other than two times my vault would not unlock until I restarted my computer. Making it seem like you lost access to all your passwords seems just below security issues as far as high priority bu
7.
▲
by
ratbeard
9y ago
I think the single quotes are correct, and are whats in my history. I think they're arguments to the zmv program, which itself does the expansion and $1 substitutions. Otherwise I think that $1 would be substituted once when you run i
8.
▲
by
ratbeard
9y ago
zmv is great for when doing mass renaming of files, in zshell. You can for example rename all .jade files to .pug with: autoload -U zmv # or put this line in your ~/.zshrc zmv -w 'src/**/*.jade' 'src
9.
▲
by
ratbeard
9y ago
I'd agree that angular 2 was a letdown. Seems like most people are like me and like typescript, the cli, and a better router, but those could have been incrementally added instead of starting from scratch. It still boggles my mind thi
10.
▲
by
ratbeard
10y ago
It'd be handy if there was a page listing his comments you could point those who don't really follow what he's said to.
11.
▲
by
ratbeard
10y ago
Chaos monkey - http://techblog.netflix.com/2012/07/chaos-monkey-released-in... Nope, not related.
12.
▲
by
ratbeard
10y ago
why is it called heapq?
13.
▲
by
ratbeard
10y ago
I use it for 'style classes' that you add to an element purely to get some styling change - for example '.pad-left' or '.text-center'. In this case you may be trying to override a style from a stronger selecto
14.
▲
by
ratbeard
10y ago
It seems possible to add heuristics like 'the canvas element has requested more than X fonts within about Y seconds' and then treat that as a tracking script and do something like prompt the user, or return the default font from t
15.
▲
by
ratbeard
10y ago
A downside is everyone on your team has to learn how to use it.
16.
▲
by
ratbeard
10y ago
We've got an iPad 2 that is not useless, but much worse after upgrading to ios9. I still play Kingdom Rush games on it but its so slow now its too frustrating to use for internet browsing and other things.
17.
▲
by
ratbeard
11y ago
My gut tells me asking for donations probably won't bring in that much, unfortunately :| Just wanted to say this project looks awesome. Builtin https configuration and the simplicity of the config file are very nice.
18.
▲
by
ratbeard
11y ago
Or Epic healthcare in Madison, that was my first job out of college and continues to grow at an insane rate. MUMPS was a kinda cool language - I liked it a lot better than VB6 which the GUI was written in. Every line had to start with a co
19.
▲
by
ratbeard
11y ago
jQuery's api seemed innovative and quite different than the other libraries I used at the time. - css selectors to get at nodes. Very dom-focused, but without messing w/ prototypes like _Prototype_ did - almost every function in
20.
▲
by
ratbeard
12y ago
It seems like you'd have to avoid having async code inside of an autorun, otherwise when it resumes `Tracker.currentComputation` could be different?
21.
▲
by
ratbeard
12y ago
Ah, that makes sense re:same size as if you added jquery, and the API abstractions do sound better. Though as a counterpoint (and relevant to angular 2 :) I read they're going to just use the raw dom api's instead of a jquery/
22.
▲
by
ratbeard
12y ago
I imagine they've improved the runtime size since that stack overflow post was posted a few years ago. However I've never used dart and just tried it out using a basic html sample from the tutorial page and I see: 264 Mar
23.
▲
by
ratbeard
12y ago
Yes Dart compiles to javascript, but it has pretty different semantics from javascript and needs to insert extra javacript to get your transpiled javascript to run. For example, noSuchMethod isn't available in all js engines so using
24.
▲
by
ratbeard
12y ago
Dart requires loading a dart runtime js file on to the page, as far as I know. And I think they would claim Typescript is javascript + some extra stuff on top, whereas dart is a whole new language to learn.
25.
▲
by
ratbeard
12y ago
Not to discredit what you're saying, but I've heard two drinks a day for men, and no more than 4(?) in a single day is not considered abuse. http://www.mayoclinic.org/healthy-living/nutrition-and-healt...
26.
▲
by
ratbeard
12y ago
Agreed. It seems like it's primary purpose is to add dependency injection annotations, so its similar to today needing to understand `['$q', function($q) {` notation, or the special `$get` function for providers.
27.
▲
by
ratbeard
12y ago
A case where the "only 1 instance" assumption can break is on a styleguide page, where you might want to include multiple instances of a singleton element to show it in different states, say for your #header for example. Multiple
28.
▲
by
ratbeard
12y ago
Just a basic request, but maybe in the developer edition you could default the '3d view' button being available in the dev panel. It took me a while to figure out how to get that cool (and distinguishing!) feature of FF. Thanks!
29.
▲
by
ratbeard
12y ago
Actually, I spoke to soon. Since selector engines work right to left, this would first narrow down the list of elements to all the spans in the document. Assuming thats a fairly small percentage of the overall tags in the document, this
30.
▲
by
ratbeard
12y ago
Yea, thats slower for sure.
More ›