Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
l1ambda
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
l1ambda
11y ago
I use vim, but Atom now primarily. Atom because of plugins: Beautify, Minimap, Markdown Preview, Convert css-to-inline, editorconfig, easy to split windows, and easy to search for text in whole directory. VSCode can't split windows hor
62.
▲
by
l1ambda
11y ago
The problem with standard libraries is they are a standard library. A place where good code goes to die. Standard libraries also mean you can't use the particular version of the module you need; now you are pinned to the version of the
63.
▲
by
l1ambda
11y ago
Thank you for taking the time to write this out. This is probably the best description I have seen of why it is enjoyable to write JavaScript. I myself have been programming professionally for 15 years, writing C, C++, Scheme, Java, Rust, P
64.
▲
by
l1ambda
11y ago
"Sometimes, the elegant implementation is just a function. Not a method. Not a class. Not a framework. Just a function." --John Carmack
65.
▲
by
l1ambda
11y ago
Fair point. I would probably use a multiprocessing approach in node.js or use https://www.npmjs.com/package/webworker-threads . If perf were very critical I would use Rust.
66.
▲
by
l1ambda
11y ago
Here is my language-choosing thought process... Perl/Python/PHP/Ruby: Generally 10x or more slower than V8 Node.js, plus global interpreter lock = automatic no. C/C++/etc? Fast, but too complex to work with build sy
67.
▲
by
l1ambda
11y ago
I was told XML will solve this.
68.
▲
by
l1ambda
11y ago
https://github.com/llambda/koa-boiler/blob/master/app.js#L75 is an example of Bluebird coroutines paired with Koa.
69.
▲
by
l1ambda
11y ago
"And zfs.ko, as a self-contained file system module, is clearly not a derivative work of the Linux kernel but rather quite obviously a derivative work of OpenZFS and OpenSolaris. Equivalent exceptions have existed for many years, for
70.
▲
by
l1ambda
11y ago
The GPL doesn't even really prevent it, the only clause is a "derived work" which is quite a stretch that a court would find a module to be such a thing.
71.
▲
by
l1ambda
11y ago
Canonical's lawyers OK'd it which is why they are including it.
72.
▲
by
l1ambda
11y ago
The Reiser guys were talking about this too. I think they needed defrag and were trying to get DARPA money to implement it, but it never happened.
73.
▲
by
l1ambda
11y ago
TGIF?
74.
▲
by
l1ambda
11y ago
+1
75.
▲
by
l1ambda
11y ago
Koa middleware are generally more composable and more robust than Express. In Koa, middleware flows down and up in a stack-like manner with the help of generators. E.g., in Koa you set an X-Response-Time header like so: https://g
76.
▲
by
l1ambda
11y ago
That's a good idea. Motorcyclists are taught to rapidly close and open the brake, in order to flash the rear brake light for extra visibility when stopping.
77.
▲
by
l1ambda
11y ago
Interesting point there. All things being equal, I would favor someone who is learning Rust over someone who is learning Go--even if I were hiring for a job that involved writing Go!
78.
▲
by
l1ambda
11y ago
https://www.techempower.com/benchmarks/ also show the fastest HTTP servers are written in C++.
79.
▲
by
l1ambda
11y ago
James Kuntsler talks about this very thing--the places we are building he describes as "places not worth caring about." https://www.ted.com/talks/james_howard_kunstler_dissects_sub...
80.
▲
by
l1ambda
11y ago
Basically in the 50's, we started building cities at automobile scale, instead of at human scale like we used to, and the design goal for roads was simply to move as many cars through as quickly as possible. Things like 12' wide
81.
▲
by
l1ambda
11y ago
I'm glad you posted this. Even the 10ms rule of thumb is...well, not always true either! FWIW, if you are playing virtual drums, drummers need something like under 2ms response time; even 10ms can be easily felt by a drummer and cause
82.
▲
by
l1ambda
11y ago
This. In fact by supporting those browsers on your website, you're in effect complicit in allowing malware to hijack those users' logins.
83.
▲
by
l1ambda
11y ago
Wow. Could it also work with JavaScript?
84.
▲
by
l1ambda
11y ago
I went back to Fedora from Arch on desktop because Arch is tough to install. I have servers/workstations running Arch, CentoS and actually notice a lot of times the Fedora packages are often updated faster than Arch packages now. Also
85.
▲
by
l1ambda
11y ago
What about gitter.im?
86.
▲
by
l1ambda
11y ago
The author's point was that with Angular, the Angular module system you must use (you can't opt out), and you are most likely nowadays going to be using commonJS or AMD anyway, so you end up with two module systems. At the time (i
87.
▲
by
l1ambda
11y ago
Or a big HTML file.
88.
▲
by
l1ambda
11y ago
I went from Backbone to Angular to Mithril, and published a blog post about it: https://medium.com/@l1ambda/mithril-vs-angular-vs-react-d0d6...
89.
▲
by
l1ambda
11y ago
Recently installed the Fedora 22 beta on my desktop and am blown away. It even automatically resized my Windows partition for me and works with my UEFI BIOS. 3D, printer, sound, all my mouse buttons worked out of the box. Thanks to systemd,
90.
▲
by
l1ambda
11y ago
Thanks for sharing. I went from Backbone to Angular to Mithril, so it's nice to hear about folks experience with React.
More ›