Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
inglor
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
541.
▲
by
inglor
8y ago
That's a good point - it is highly dependent on what languages you already know from beforehand. If you know JavaScript already then it makes sense to learn a language that is not garbage collected, has no mutations or is not managed.
542.
▲
by
inglor
8y ago
> but its actually 5-10x slower than Java and uses 5-10X more memory I am definitely against the "Java is slow" claims and think they are mostly rediculous but so is this claim. Saying "uses 5-10x more memory and 5-10x slo
543.
▲
by
inglor
8y ago
It's implicit - but my criticism here is mostly that once you know one development stack learning others is significantly easier. Learning Java is something that a backend developer can likely do in a week - and so is learning Node.js
544.
▲
by
inglor
8y ago
Node.js is 9 years old and is also very stable with a large ecosystem. It's far from "hype train" in 2018 and it's more the mature technology - though it's still moving fast forward with new tools and paradigms it&#
545.
▲
by
inglor
8y ago
> If you want a low stress good paid job, where you would be able to rush home at 5pm, then yes. Those aren't exclusive, you can do something exciting, join a startup, learn $hype_of_the_year and still work for a place that understa
546.
▲
by
inglor
8y ago
I never got the "Should I learn X" posts. The answer is yes to all the "Should I learn X" questions so it's very hard to have a discussion. Learning another language is _significantly_ easier than learning the first
547.
▲
by
inglor
8y ago
So a few things - now that this won't get any more 'public' attention. > What do you mean by that? Compared to the alternative (of manually importing code) it saves me time. The 'download code from the internet'
548.
▲
by
inglor
8y ago
Just to be clear, the reason I (and others) use the NPM registry is that it saves us a ton of time and helps us be more productive. There is nothing stopping me or you from putting "regular" JavaScript files in your `node_modules`
549.
▲
by
inglor
8y ago
> 3. Warn when the dependency tree goes too deep (8 or 9 levels of deps) Hmm, why? > 4. Better auditing of suspicious patterns (accessing .npmrc should throw a flag) As in - when `.npmrc` is accessed as a result of `npm install` you w
550.
▲
by
inglor
8y ago
> Not just network permissions, opting into what local directories it can see. Well, one way I personally do this for my own stuff is with Docker. The problem is that I don't think it's reasonable to expect every developer to r
551.
▲
by
inglor
8y ago
> Explicit whitelisting for network access. > Explicit whitelisting for fs access. Would you (or anyone else reading this) be interested in exploring what that would look like for Node.js? (If you do, feel free to reach me at my email
552.
▲
by
inglor
8y ago
Asking for some feedback for Node.js What (if at all) should Node.js do better to protect users from this sort of attack vector? Is a deno-like surface where users opt into packages getting network permissions desirable? More guides on npm-
553.
▲
by
inglor
8y ago
Well, to be fair the website looks like it does the most it can possibly do to avoid good SEO and search engine visibility. It uses `<meta keywords` and other techniques that apparently search engines like Google do not take into account
554.
▲
by
inglor
8y ago
As an Israeli, I believe that US intervention in the long term and the fact we were stuck in a proxy of the cold war did us mostly harm. While we see the US as an ally here - we haven't traditionally been at war with Arab countries and
555.
▲
by
inglor
8y ago
WebRTC is stateful whereas dash/hls are HTTP based and stateless - caching with HTTP is easy and CDNs have a ton of infrastructure on the internet to support it. Caching with WebRTC is very hard - even for a single second - since every
556.
▲
by
inglor
8y ago
CORS applies to XHR but fetch can make opaque requests by setting {mode: 'no-cors'} as the second parameter.
557.
▲
by
inglor
8y ago
Sure you can, you can make any request you want without CORS, the content is just opaque to you (for example you can display an image but not manipulate its pixels). You do this for example with `fetch('./any-resource', {mode
558.
▲
by
inglor
8y ago
Exactly! This is a little backwards, the goal of CORS isn't just to protect the _user_ it is also to protect the _third party website_. All it takes for a website to opt-in to this is just adding a single header - it's possible fo
559.
▲
by
inglor
8y ago
Hey, I work at Peer5 (another Peer5 employee wrote this article). We typically measure video user experience in several ways: - The amount of rebuffering the user is getting (basically, the less the user sees the loading wheel the better).
560.
▲
by
inglor
8y ago
This, not a single word about automation and self-driving trucks in the article but every person I talked to that considered this career path* has mentioned automation as a reason staying out of a field. A lot of people value job security r
561.
▲
by
inglor
8y ago
> 1) what happens when evaluating is going to take a lot longer that usual? Just checked: It evaluates it in another thread - and around 1e6 actions it stops evaluating. There is no noticeable slowdown in the devtools.
562.
▲
by
inglor
8y ago
Honestly one of the biggest motivations I have to work from home which I otherwise dislike is to be there for my children when they're 2. Especially since where I live (Israel) like most of the world men and women are still usually not
563.
▲
by
inglor
8y ago
Came here to find this. Precisely what I thought - I think that some people work better remotely and some work better in an office setting (like myself). If you ask people to volunteer for remote work then people who are better remote worke
564.
▲
by
inglor
8y ago
Uh, there was never such a cliché? I've never heard anyone say French people were bad engineers.
565.
▲
by
inglor
9y ago
If you're using promises and async/await then you don't have any of those problems anyway :)
566.
▲
by
inglor
9y ago
The reason we don't have zones in Node is because they mess up with error handling. I recommend anyone considering Zones to read trevnorris's domain postmortem https://gist.github.com/trevnorris/d19addf4aa09a0
567.
▲
by
inglor
9y ago
> For instance, RFC 8259 mentions that a design goal of JSON was to be "a subset of JavaScript", but it's actually not. Actually, it's really close https://github.com/tc39/proposal-json-superset
568.
▲
by
inglor
9y ago
GPS broadcasts several signals, the higher precision ones are encrypted - until 1999 GPS was encrypted at much lower resolution but the army and armies it shares its tech with still operate at a higher resolution. The US can lock countries
569.
▲
by
inglor
9y ago
Hey Adam, I'm not attending NAB this year - Shachar and Hadar would love to talk (shachar@peer5.com or hadar@peer5.com) in terms of technical people attending :)
570.
▲
by
inglor
9y ago
Hey, Benji from Peer5 here - our product is really cool and helps you scale your video delivery but I don't believe it works in this case. We solve the problem of distributing HLS/DASH delivery over large p2p swarms and scaling vi
More ›