Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Klathmon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
511.
▲
by
Klathmon
8y ago
But it was again rewritten in Dart and the Dart version is now the reference implementation. And they did that because for a lot of Sass users, working with Ruby sucked, simply because they didn't have the tooling and knowledge built u
512.
▲
by
Klathmon
8y ago
And that's why I tried to avoid saying it's a bad idea in general. I'd love to see more diversity in languages on NPM. Things written in Go but compiled and distributed as binaries over NPM (maybe with a small JS wrapper), or
513.
▲
by
Klathmon
8y ago
You just reminded me of a really good point. We already have "previous examples" of people trying to make CSS tooling in another language! sass was written in ruby originally, and it sucked so much to manage and work with for many
514.
▲
by
Klathmon
8y ago
But when 99% of your target audience (in this case JS and web developers) already have the runtime installed, then "just copy a binary" isn't easier, it's harder. `npm install stylelint` is about as easy as it gets. copy
515.
▲
by
Klathmon
8y ago
I'm not so sure that'd be a good idea. A few questions: 1. what benefits would a statically compiled binary provide? Would it be significantly faster? Would it be easier to manage? Would it be easier to modify? I'd guess the
516.
▲
by
Klathmon
8y ago
This might be off topic, but how are you liking reasonML? I've been meaning to pick it up for a while now and keep reading over the docs but still haven't done much. Would you be willing to talk about some of the pitfalls and roug
517.
▲
by
Klathmon
8y ago
Oh wow that's awesome I had no idea, thanks!
518.
▲
by
Klathmon
8y ago
I didn't think it worked like that, but I could be super wrong. Last I saw things launched from the home screen or in a webview from another app use the "Android System Webview" as it's rendering engine. IIRC there was s
519.
▲
by
Klathmon
8y ago
I see a lot of people asking for this in TS, but i'd much rather it be in plain JS and let TS add anything on top of it that is needed. Pattern matching would work SO WELL in javascript, especially considering how frequently switch is
520.
▲
by
Klathmon
8y ago
Ah okay makes sense! It's amazing the gaps in knowledge I still have with a lot of things. I've used Linux daily for like 15 years now, and I know about control characters, but since I never really used emacs (or readline beyond t
521.
▲
by
Klathmon
8y ago
>most of these are just past crimes^W^Wlegacy This is completely off topic, but I've seen things like the "^W^W" a few times before, and I don't know what it means. Is this a weird encoding mismatch thing? is it from
522.
▲
by
Klathmon
8y ago
Are all of the positions remote-ok or only some?
523.
▲
by
Klathmon
8y ago
I'm a mostly web-focused developer that is looking for a fulltime lead or senior position. I'm really passionate about good architecture and robust code with a focus on maintainability and testing. I've helped greenfield buil
524.
▲
by
Klathmon
8y ago
This is cool, i love projects like this! A few years ago I did some image work in the browser and made a little site that converts an image into a cross stitch pattern. A few things that I learned from that which might interest you: 1. usin
525.
▲
by
Klathmon
8y ago
Https still shows up for me, as does the padlock, www is still showing as well (that change was fairly quickly reverted after the feedback they got).
526.
▲
by
Klathmon
8y ago
>Are there pain points or disadvantages to libraries like Babel that we could address via the core language instead? I think the main disadvantage is that compilers need to target something, and then JS engines need to be able to optimiz
527.
▲
by
Klathmon
8y ago
> if your application is popular and used by devs I'd argue even if it's not popular and it's used by non-devs. Error codes saved our support people a ton of time when trying to understand user problems. It's good for
528.
▲
by
Klathmon
8y ago
PRs are never merged because the github repo isn't the source of truth for Flow, their internal systems are. They have this workflow where they will import PRs from github and apply them internally, then close the PR when it's don
529.
▲
by
Klathmon
8y ago
>And then there's... whatever this is: I respect Jamie for the things done and built, but his views tend to be a bit extreme. I agree that flow is not in a good place right now, but to say that they don't give a shit about the
530.
▲
by
Klathmon
8y ago
I feel like i'm spamming this link every time the private fields stuff comes up, but take a look at the FAQ, it explains the reasoning behind it and why they didn't go with alternate options (like underscore, private, or others).
531.
▲
by
Klathmon
8y ago
It's not just about keywords, it's about shadowing mostly [1]. For example, what does `this.foo` access in an object? the private property `foo`? the public property `foo`? What about if I'm using your object and put a new pr
532.
▲
by
Klathmon
8y ago
It works fantastically! At first I was worried about the extra electricity usage or the extra wear and tear on the HVAC system, but after trying it at the recommendation of a neighbor, I've been nothing but happy, and I haven't no
533.
▲
by
Klathmon
8y ago
>it is difficult to know that you have opted out of all data collection. So the issue is a lack of a single (or a very limited number of) "opt out of all data collection" button? I didn't know that was a requirement. How d
534.
▲
by
Klathmon
8y ago
Yeah, we have a Nest in our house and I have it set to circulate the air for 15 minutes out of every hour. We started running it like that only at night as we found that the bedroom would get pretty warm during the summer while the center o
535.
▲
by
Klathmon
8y ago
I'm not trying to bait a fight here, I'm genuinely curious. Why is that okay but the way google is doing it isn't? From the linked article: > The relevant information is accessible after several steps only, implying someti
536.
▲
by
Klathmon
8y ago
They are in that one case, but the vast majority of components aren't PureComponent, and therefore it's not a universal "perf antipattern". It's also one of those things that people tend to extrapolate out. They hea
537.
▲
by
Klathmon
8y ago
That's a great point, assuming APT follows redirects by default! I don't know enough about it to know either way. I do know that you need to install a package to get HTTPS support for most connections, but I'm not sure if tha
538.
▲
by
Klathmon
8y ago
The generational garbage collectors in all (or the vast majority of) javascript implementations is specifically tuned to make this a pretty big non-issue for the extreme vast majority of code. It's the same argument people make against
539.
▲
by
Klathmon
8y ago
The argument is that the package you are downloading is already signed with public key crypto and verified during the update process. It's integrity is "secured". However there could be bugs in that implementation, and bugs c
540.
▲
by
Klathmon
8y ago
For me it's that VSCode has targeted a slightly different market. In Atom, plugins/extensions are king, and they can do EVERYTHING. Most of what you see in the UI is a plugin. Tabs, the file-listing sidebar, syntax highlighting, e
More ›