Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
EvanPlaice
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
361.
▲
by
EvanPlaice
11y ago
tl;dr: security is the issue, users can't be trusted SSH is a 'general purpose' protocol for remote filesystem access. Clients with lax permissions are an attack risk. Non-technical users can't be depended upon to ha
362.
▲
by
EvanPlaice
11y ago
"Are there any true peer to peer chat apps left" Bittorrent recently released 'Bleep' which supports encrypted peer-to-peer chat including image transfer. It holds the message locally until a direct connection to the rec
363.
▲
by
EvanPlaice
11y ago
So... be agile agile agile... but, not really. Don't waste time trying out the latest-and-greatest cutting-edge development techniques. Except SPAs (Single Page Applications) because those (somehow) take less time to implement and are
364.
▲
by
EvanPlaice
11y ago
What I was implying was, minification only adds - at best - an additional %20 reduction in file size after gzip (ie which is more like 40%-60% reduction). Assuming practices #1 and #3 are followed, scripts should remain relatively small and
365.
▲
by
EvanPlaice
11y ago
Well, I prefer cdnjs.com. It hosts a very comprehensive collection of js libraries, and it's hosted by CloudFlare so there's no risk of it going down.
366.
▲
by
EvanPlaice
11y ago
If so, that has to be some sort of record.
367.
▲
by
EvanPlaice
11y ago
Yes, it's a (reasonably) intuitive front-end for a lousy data format. Xlsx is supposed to be an 'open' format but it's overly complex and a PITA to parse. Like most things produced by Microsoft, there are a ton of unnece
368.
▲
by
EvanPlaice
11y ago
While HTTP/2 will lead to some huge improvements in efficiency it's going to take some time for the web to collectively forget a decade's worth of kludges otherwise known as 'best practices.' Domain sharding, image
369.
▲
by
EvanPlaice
12y ago
The productivity gains don't come from increased typing speed. They come from the ability to script and automate most, if not all, of the administration and setup tasks from the command line. The first time a system is built will alway
370.
▲
by
EvanPlaice
12y ago
I wonder if cdnjs rates are any better. It's too bad more sites don't use CDNs. Nothing loads faster than a warm cache and they remove the unnecessary added complexity of managing third-party scripts in source control. It would he
371.
▲
by
EvanPlaice
12y ago
They're not exaggerating. Over the course of a decade. DTC (Denver Tech Center) and Centennial Airport sprawled for miles around with tech companies and their employees who migrated from Southern California. In the North West (Broomfie
372.
▲
by
EvanPlaice
12y ago
Crime rates tend to be higher around police stations, military bases, and airports. Not because of a higher rate of people committing actual crimes but simply because of the increased police presence. All it takes is an ambitious cop who do
373.
▲
by
EvanPlaice
12y ago
You have a valid point but I wholeheartedly disagree. There was a post on StackOverflow a while back where developers from different countries commented on the strengths/weaknesses of their home countries in the field of programming. M
374.
▲
by
EvanPlaice
12y ago
Regex lookaheads are more efficient because you're copying everything between terminal chars at once as opposed to one char at a time. Unnecessary string copy operations are what make the parser slow.
375.
▲
by
EvanPlaice
12y ago
Don't cast by default. It unnecessarily slows down the parser when the input is purely string data. Don't hesitate to look at how other CSV libraries work. They've likely solved most/all of the issues you're current
376.
▲
by
EvanPlaice
12y ago
It's not as complex as you make it sound. The parser should pass along any non-terminal characters without issue. The rest of the edge cases (ex newlines in data) can be handled by using a proper DFM (Deterministic Finite State Machine
377.
▲
by
EvanPlaice
12y ago
MS Excel also defaults to using /r as the newline char on the OSX version (despite /r being obsolete in OSX since v10.1). It's true that CSV parsers have been around in various forms for a long time but 'complete' i
378.
▲
by
EvanPlaice
12y ago
Ever heard of jquery-csv? I wrote the jquery-csv over two years ago with the goal of being the first completely RFC compliant CSV parser for Javascript. It integrates with the CSV namespace but doesn't depend on it, uses pure vanilla J