Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Klathmon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
73 ms
·
631.
▲
by
Klathmon
8y ago
But JS isn't aspiring to be a functional language, it's adding new syntax and changing itself to better solve the problems that it is currently being used to solve. Some of that is pushing it in a functional direction, some in a &
632.
▲
by
Klathmon
8y ago
I'm honestly not sure, but even taken in isolation it's a convincing argument to me. See [0] for some info straight from the proposal, but the gist is doing it this way makes it so that you never have to worry about name collision
633.
▲
by
Klathmon
8y ago
I really recommend you read over the FAQ that is in the proposal at [0], it answers most of your questions. The problem is that it seems a "private by convention" system isn't private enough for many library authors, who are
634.
▲
by
Klathmon
8y ago
I use this website/app which is very well maintained, and even includes an API if you want to use it! https://spacelaunchnow.me/ It includes locations, payload information, launch company and rocket, links to livestrea
635.
▲
by
Klathmon
8y ago
as of right now, `example.#myVar` isn't valid syntax, which is the reason that the # sigil was chosen. It's not possible to have current code that works like that, so defining new properties for that code (that it can only be used
636.
▲
by
Klathmon
8y ago
If `example.myVar = 500` can throw errors, then is the private field really private? Since now it's existence can break the public interface, and changing it to `myOtherVar` during a refactor can break existing code. That removes a maj
637.
▲
by
Klathmon
8y ago
npm has scoped packages, so you could make @mcguire/jQuery and I could make @klathmon/jQuery
638.
▲
by
Klathmon
8y ago
As others have said, npm has ways of marking a package version as deprecated and npm also has scoped packages. So if you wanted to stop maintaining your very own `right_pad`, you could mark it as deprecated so devs installing it get a warni
639.
▲
by
Klathmon
8y ago
My apologies! I was on mobile when I read it last night and the RFC links don't seem to go directly to the comment on my android device for some reason! (it loads the full list of comments, but never takes me to the correct one, and se
640.
▲
by
Klathmon
8y ago
Could something like this be used to move the "linting" that the react team recommends directly into react itself? If you can abuse error stack traces to get the call stack, and some trickery to get the string representation of th
641.
▲
by
Klathmon
8y ago
One cool thing that yarn provides (npm might as well, but I'm not sure) is the ability to replace a transitive package with a specific version against what it wants, or even replace it with your own. I'm on mobile but I believe th
642.
▲
by
Klathmon
8y ago
I actually think there is room here for an upgrade "helper" or wrapper (yeah I know, I'm gonna try to solve npm package problems by making a new npm package!) Something that can allow you to delay most updates by a set amount
643.
▲
by
Klathmon
8y ago
I mean right at the top of the page is a single switch that lets you turn off all targeted advertising if that's what you want. But personally I like targeted advertising. Ads let me use services for no monetary payment while still p
644.
▲
by
Klathmon
8y ago
Unfortunately being annoying and working aren't mutually exclusive. And if that is really the case, then I'd argue it's on ad networks like Google and Facebook to find a way to realign incentives here so that what works best
645.
▲
by
Klathmon
8y ago
I know it's not ideal, but if you go to the below URLs for Google and Facebook respectively, you can choose which categories you get ads about, and can even specifically "turn off" some categories of ads for you (it looks lik
646.
▲
by
Klathmon
8y ago
But every ad network ive ever worked with already allows you to define categories of people you specifically don't want to show your ads to. It's on the shopders of the ad creator to set that up though. I did read a comment one ti
647.
▲
by
Klathmon
8y ago
I'm going to start sounding like I work for them, but Google already allows you to disable targeted advertising entirely, and Facebook at least let's you disable targeting for the vast majority of things (the major exceptions bein
648.
▲
by
Klathmon
8y ago
Google at least let's you specifically go into ad settings and check/uncheck specific categories of things that you get ads about (that's an oversimplification of the process behind it). I'm not sure how but one time I s
649.
▲
by
Klathmon
8y ago
And some don't like their money being handled by a trusted entity at all, and others don't want it handled by a trusted entity in some cases. None of those people are wrong, they just want different things and luckily they have so
650.
▲
by
Klathmon
8y ago
>They get to be kids - lots of activity outside the house and lots of creativity inside, music, acting, painting. It's hard though as most of their classmates are screen zombies. Why do you consider things like painting, acting, and
651.
▲
by
Klathmon
8y ago
This is probably going to get a bit "rant-ey", it's not directed at you, but at the ecosystem at large (and kind of at myself). Everyone keeps saying this, but nobody is actually doing anything about it. People (myself includ
652.
▲
by
Klathmon
8y ago
IIRC at least the cobalt and nickel from lithium ion batteries are currently very recyclable, and in at least some cases it's actually cheaper to "mine" those metals from old batteries than it is to mine it from the ground. I
653.
▲
by
Klathmon
8y ago
There's room for both ideas. This one has the benefit of being stupid simple to implement and maintain. In 10 minutes I can throw this together for all of our login stuff. But a fully automated password changing system/API? That&#
654.
▲
by
Klathmon
8y ago
To be fair, there are plenty of examples of it exploding after touchdown in the early days (of landings), both on the barge and in the water, some which are pretty spectacular looking! It may not meet the technical definition of an "ex
655.
▲
by
Klathmon
8y ago
Similar story here. I work remotely, and my previous employer wanted me to come up to the office for a few days as we did every now and then. But I didn't really want to go this time, I had other obligations, but ended up going anyway.
656.
▲
by
Klathmon
8y ago
Is it a waste if it's getting used? I know this argument tends to become a bit philosophical, but if (ab)using memory the way that browsers or Electron does means that programs can be written faster, be safer, and can run on more platf
657.
▲
by
Klathmon
8y ago
Your idea is going to be pretty much impossible to legally do in the US, where you need to have some idea of who your money is coming from to operate.
658.
▲
by
Klathmon
8y ago
I'm someone with ADHD and I've had it diagnosed and medicated since I was around 10. Medication is only half the battle. It takes the edge off, but it's not a cure-all. For me, therapy was by far the most impactful thing in m
659.
▲
by
Klathmon
8y ago
Code review can't catch determined malicious actors. It just isn't a viable protection against that kind of attack. Take a look at the underhanded c contest for plenty of proof where even very senior developers told up front that
660.
▲
by
Klathmon
8y ago
This is such a great way of making access to the law more open and welcoming, which is a great thing to me! I haven't been able to check yet, but does anyone know if you are allowed to use this process to propose new laws or clarificat
More ›