Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aaronem
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
121.
▲
by
aaronem
11y ago
Oh hey, I didn't know about the acorn parser before now. Thanks!
122.
▲
by
aaronem
11y ago
Esprima [1] is a full-featured and quite extensible ES5 parser, which has been used as the basis for a lot of the sort of analysis tools you're thinking about here. You might want to take a look at it, and at the software that's b
123.
▲
by
aaronem
11y ago
Well, you do at minimum need something that understands CommonJS modules, if you want to pack isomorphic code to run in the browser, so you need Browserify or Webpack. And you need a module downloader that resolves and installs dependencies
124.
▲
by
aaronem
11y ago
That repo sounds like a good candidate for replacement with a Yeoman generator!
125.
▲
by
aaronem
11y ago
> power outrage I like that!
126.
▲
by
aaronem
11y ago
Some of those regexes are terrifying . Granted that I'm not sure there is any better alternative for extracting structured address information from an unstructured source, but...
127.
▲
by
aaronem
11y ago
I can't load the site, so I'm not sure exactly what it's offering, but I'm also not sure what you mean by a regex for zipcodes. Surely it'd be simpler, quicker, and more maintainable just to match /(\d{5})/
128.
▲
by
aaronem
11y ago
It's been a while, but as I recall, when it started it involved a proxy to inject the client code into pages, and a hosts file mapping that pointed an invalid FQDN ___._ to the backend, whose IP you had to get from someone who already
129.
▲
by
aaronem
11y ago
It's a lot easier to escalate a binary drop into a persistent threat if it can reflash the BIOS with compromised firmware. Requiring firmware be signed prevents this, at the cost of also preventing the use of coreboot, libreboot et al.
130.
▲
by
aaronem
11y ago
It's a great idea. I can't wait for someone to build one.
131.
▲
by
aaronem
11y ago
As I said, no upside for management.
132.
▲
by
aaronem
11y ago
Where on Earth did you get the idea that labor laws prohibit employees from discussing remuneration with one another?
133.
▲
by
aaronem
11y ago
Staff being subordinate to management in an organizational sense is one thing. Staff members being forbidden even to approach anything, which might grow into a discussion of how and where management's interests are actively inimical to
134.
▲
by
aaronem
11y ago
It would be polite for the manager not to allude to threats which would be unlawful to make outright. Where else do you see something like "Don't you know what could happen?" going in a situation like that? And let's be
135.
▲
by
aaronem
11y ago
I'm pretty sure the "telling her manager to fuck off" comment was a reference to refusing to be illegally intimidated over salary information sharing. Assuming that's an accurate reading of GP's comment, I think i
136.
▲
by
aaronem
11y ago
Yes. Heaven forfend staff should behave in a way potentially inimical to the interests of management, instead of the other way around.
137.
▲
by
aaronem
11y ago
But then that's precisely the point: Bostrom is a philosopher . He's not an engineer, who builds things for a living, or a researcher, whose breadth at least is somewhat constrained by the necessity to have some kind of consisten
138.
▲
by
aaronem
11y ago
Indeed; you'd think that, had it been done with intent to extort users or otherwise make prolonged use of the stolen information, they wouldn't have been so obvious about having broken in to begin with.
139.
▲
by
aaronem
11y ago
Did you not read the part about what it's like to try to get benefits through the VA? World War II was the last time the United States gave anything like a genuine damn about their expended soldiers; they've never given less of on
140.
▲
by
aaronem
11y ago
Sure, because we're all six years old and walking home from school.
141.
▲
by
aaronem
11y ago
Isn't it? No one in Silicon Valley gives a damn about anyone outside it, or indeed outside their own social and professional circles. There's nothing intrinsically unusual about this, of course, but it lends a certain sardonic amu
142.
▲
by
aaronem
11y ago
A robot could do my fucking job. In a few years, one will. God bless Silicon Valley.
143.
▲
by
aaronem
11y ago
Welp. That's what I get for not opening the PDF yet, I guess.
144.
▲
by
aaronem
11y ago
Worked for me; I gave it an email address and got back an email with a PDF attachment.
145.
▲
by
aaronem
11y ago
Of note: they're giving away free copies in exchange for contact info.
146.
▲
by
aaronem
11y ago
Seriously! Every editor in the world by now has an Emmet plugin (possibly still called "zencoding" if it hasn't been updated in a while), and I'd rather write an easy-to-learn superset of CSS selector syntax, then genera
147.
▲
by
aaronem
11y ago
That's nice. The blog example exhibits a lot of the problems identified in OP's article, especially those around history and scroll position. Look, I'm all in favor of SPAs; I build them myself. But when I trip over something
148.
▲
by
aaronem
11y ago
Having had experience with both, I'm a lot happier implementing Ajax form submissions than POST-redirect-GET. Sometimes a form submission has a lot of state around it. Sometimes its result has a major effect on the state of the applica
149.
▲
by
aaronem
11y ago
Which, in turn, is why Cmd+[ and Cmd+] are by default bound to "Back" and "Forward" in at least Safari, Firefox, and Chrome.
150.
▲
by
aaronem
11y ago
Unless it's "dick" or a close equivalent, which no one minds in the same way. I wonder why that is.
More ›