Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
styfle
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
421.
▲
by
styfle
9y ago
> And always based on understanding the domain and the existing software you are building upon This is good. My version of "slow code" is taking note of requests from users and storing in my long term memory to stew over. 1. Us
422.
▲
by
styfle
9y ago
I tend to squeeze every penny and I have a bit of buyer's remorse for buying a refurbished MacBook 2015 with the smallest storage: 128 GB. Everything else is great, but I'm constantly finding myself in situations where I am about
423.
▲
by
styfle
9y ago
Does anyone know if Dat can be used over HTTP like IPFS can?
424.
▲
by
styfle
9y ago
My dad is currently using SeaMonkey for email and and editing his website. It feels very wrong but after 20 years and 100 GB of pop3 email, it's hard to switch I suppose.
425.
▲
by
styfle
9y ago
I read about @std/esm and I wasn't totally sold on it. But now that I read the browser side of the story, I think it makes way more sense to make use of @std/esm in all packages on npm. The old way of doing things was write f
426.
▲
by
styfle
9y ago
This! It still makes me sad that safari is updated as part of the OS like IE instead of out of band like Chrome.
427.
▲
by
styfle
9y ago
Another similar project to use the available browser on the user's current platform: https://github.com/pojala/electrino
428.
▲
by
styfle
9y ago
What is keyed DOM updates? Is that the equivalent of React's `key` property? https://facebook.github.io/react/docs/lists-and-keys.html#ke...
429.
▲
by
styfle
9y ago
Another small template engine similar to React is ".dom", weighing in at only 500 bytes! https://news.ycombinator.com/item?id=13605673 It only works in modern browsers supporting Proxy.
430.
▲
by
styfle
9y ago
I tried it out myself. CommonJS (read everything in the wild) exports as default. That means you can't use the following syntax with (most) existing npm modules: import * as fs from 'fs'; import { map } from 'lodash'
431.
▲
by
styfle
9y ago
Oops, it looks like medium removes the hash on load so my copy/paste didn't work. I fixed my link.
432.
▲
by
styfle
9y ago
I asked about the import syntax[0] and got an answer on GitHub. [0]: https://github.com/nodejs/node/pull/14369#issuecomment-32903...
433.
▲
by
styfle
9y ago
> I'm surprised the author thinks that Flow is more popular amongst the React community than Typescript. I hardly ever hear about Flow, and I work with React and follow it's development. Agreed. Perhaps the thought that Flow is
434.
▲
by
styfle
9y ago
Jump straight to "The four types of common JavaScript leaks" section: https://blog.sessionstack.com/how-javascript-works-memory-ma...
435.
▲
by
styfle
9y ago
https://code.visualstudio.com/Docs/languages/javascript#_typ...
436.
▲
by
styfle
9y ago
Maybe the title should append "in V8" so it's clear this is for the JS Engine
437.
▲
by
styfle
9y ago
I had a hard time starting with webpack. Because it's so flexible, there are so many choices. That's why I made a boiler plate project with React SSR, TypeScript, and Webpack https://github.com/styfle/react-se
438.
▲
by
styfle
9y ago
I had to look it up. Sure enough, it's been 8 years.
439.
▲
by
styfle
9y ago
I could or couldn't care less. The material is very flammable or inflammable. https://www.merriam-webster.com/words-at-play/flammable-or-i... English is confusing.
440.
▲
by
styfle
9y ago
I believe TypeScript has the JSDoc feature as well, although it's much more recent.
441.
▲
by
styfle
9y ago
Very cool, I never thought about doing it this way!
442.
▲
by
styfle
9y ago
Where did you hear this? Is there a source?
443.
▲
by
styfle
9y ago
rvagg responds: https://github.com/nodejs/CTC/issues/165#issuecomment-324798...
444.
▲
by
styfle
9y ago
The Proxy API is how dot-dom[0] implements a React-like component API [0]: https://github.com/wavesoft/dot-dom
445.
▲
by
styfle
9y ago
A couple more: https://github.com/nexe/nexe https://github.com/pmq20/node-compiler
446.
▲
by
styfle
9y ago
This got "fixed" in #32459 https://github.com/Microsoft/vscode/issues/32459
447.
▲
by
styfle
9y ago
I just realized that Hosted VS2017 is still using Visual Studio 2017 (15.1 Update). That's two versions behind now. When is it going to get the 15.3 update?
448.
▲
by
styfle
9y ago
A lot of large organizations purchase domains that are similar to theirs to avoid typo-squatting as well as the impersonation you pointed out. The creation of new TLDs in the last few years only increases the permutations. For example: htt
449.
▲
by
styfle
9y ago
> We'll be working on moving on from jQuery. Very exciting! I have been slowly removing jQuery from many web apps over the last several years and its good too hear that Bootstrap wants to get there too :) Now obviously removing jQue
450.
▲
by
styfle
9y ago
Yes, a runtime check in TypeScript is the same as a runtime check in JavaScript. function inc(n) { if (typeof n === 'number') { return n + 1 } throw new Error('Parameter n is not a number'); } If
More ›