Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nawgszy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
nawgszy
8y ago
I am a Canadian citizen in California on a TN visa. I have been working on a project that I would like to post as a website and monetize, but has no relation to my TN visa, of course. Is this possible to do without having a green card?
62.
▲
by
nawgszy
8y ago
Not OP / GP; from what I understand, this isn't an API generated by ML, it's a cache manager. "Computing correct responses to requests" refers to deciding whether or not it should read it from some caching layer and
63.
▲
by
nawgszy
8y ago
>that can offer transactions per second that exceed any financial system today >that make SWIFT innovations seem trivial by comparison Listen, those two phrases alone are gigantic signs of your bias. Even if they were true, the way yo
64.
▲
by
nawgszy
8y ago
What is a DIF?
65.
▲
by
nawgszy
8y ago
Look at this [0] It's an interpolation thing; it's much easier for your brain to do the tracking of an object when it smoothly moves around, instead of it having to do interp / extrapolation, and this should demonstrate why C
66.
▲
by
nawgszy
8y ago
It's absolutely mind-boggling that they are allowed to sell phone location data in the first place without any real consent from their customers. That's why it must really say something about these companies - Verizon especially -
67.
▲
by
nawgszy
8y ago
>Apple has a 100% marketshare in the distribution of iOS apps Right, and Steam has a 100% marketshare in the distribution of apps available on Steam. Now, obviously there's wrinkles here and I'm not trying to be disingenuous an
68.
▲
by
nawgszy
8y ago
Not going to lie, thought this was someone from Cisco Webex posting a how-to on govt contracting. Alas.
69.
▲
by
nawgszy
8y ago
So, I'm uneducated in this matter. Let me do a bit of googling, because your comment implies two things >Acrylamide is known to cause cancer >Coffee apparently contains (significant) amounts of acrylamide The first thing I come a
70.
▲
by
nawgszy
8y ago
How on earth am I the one who needs to "[s]how some initiative" when some guy literally just says "JS is a flaming pile of trash" and gives no justification? It was an ad hominem and I asked him to expound on it.
71.
▲
by
nawgszy
8y ago
Hopefully I can explain your downvotes a bit. The JavaScript ecosystem is in an entirely different place now. ES6 has made it feasible to write cleaner, more concise code, and Webpack has allowed library consumers to "naively" imp
72.
▲
by
nawgszy
8y ago
>it's just not a terribly good or fast one From everything I've seen, its performance sits just below Java (4x slower, perhaps) on some standard algorithms or tasks, and significantly faster than languages like Ruby, Python, et
73.
▲
by
nawgszy
8y ago
>good, far more suitable languages Can you give a simple analysis on what weaknesses JS has that other languages would avoid with no pitfalls of their own?
74.
▲
by
nawgszy
8y ago
>even worse language What's wrong with JS, exactly, that isn't made up for by its advantages? I see these 'kool-aid' / 'JS is cancer' comments all the time, but they don't come with any real detail
75.
▲
by
nawgszy
8y ago
I am amused by a lot of the hyperbole used against JS, as if it somehow is hard to use or drastically restricts the problems you can solve. At this point, I'm not even sure if a single comment in this thread that poses itself as obviou
76.
▲
by
nawgszy
9y ago
It's broken for me too, on Chrome and a 2017 MBP
77.
▲
by
nawgszy
9y ago
Doesn't that just mean your browser window didn't have focus? I can scroll on apps in the background with scroll wheel but not arrow keys, etc.. That's just an OS thing
78.
▲
by
nawgszy
9y ago
Is it possible to shill for an open source library which, as far as I can tell, has no monetization path?
79.
▲
by
nawgszy
9y ago
>Having 10kb tooltip library for doing this automatically is a bit of an overkill for me Of course, but I hardly see how that's comparable to writing a React class "ToolTip" which is smart enough to know where the side of
80.
▲
by
nawgszy
9y ago
But how could they "be a LOT better"? I see this being said, but from what I've seen async handling is generally not very graceful; with that said, Promises are a very simple but powerful API that seem to handle the problem f
81.
▲
by
nawgszy
9y ago
Yeah, exactly. Say you have an API request that is persisting a chunk of data to the database, like a few dependent data items. This way, you write the API request to just be a simple function invocation of the class you instantiated: (
82.
▲
by
nawgszy
9y ago
I'm not sure what you're getting at, can you expand? I work a lot with databases, so say you're trying to write an object and its children in some sort of one-to-many relationship to the DB. You can write a Promise chain like
83.
▲
by
nawgszy
9y ago
I am surprised to see so much venom against Promises expressed here. I am young, but I began coding (as a profession) just when Angular 1 was popular and I remember callback hell was a real thing. A few years later, I use Promises a lot, an
84.
▲
by
nawgszy
9y ago
Not really a surprise. Lyft is their only real competition in the States, I don't have any idea about the global state of things but I imagine they are likewise entrenched with their first mover's advantage. The real question, I t
85.
▲
by
nawgszy
9y ago
>at market Ah yes, the calling card of people that think systematic exploitation of workers in a global economy where only the top few are gaining wealth is fine because "free market rules" matter in a world full of regulatory
86.
▲
by
nawgszy
9y ago
Completely unrelated question, but how on earth is 'clickhouse.yandex' a valid web address?
87.
▲
by
nawgszy
9y ago
You can also ignore React's built-in 'state' object and just store stuff directly in variables using MobX, which will force update components for you. That said, it is best used as you describe it: a store that holds all the
88.
▲
by
nawgszy
9y ago
That's some pretty incredible confirmation bias in action
89.
▲
by
nawgszy
9y ago
I'm not sure I understand the implication. Can you be a bit more explicit?
90.
▲
by
nawgszy
9y ago
In the hope you wouldn't reply, perhaps?
More ›