Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nkohari
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
301.
▲
by
nkohari
9y ago
I think it's safe to wait until we can envision a truly post-scarcity society to envision how we might go about destroying it.
302.
▲
by
nkohari
9y ago
If you're interested in fixing the problem the article discusses, this is pretty much exactly the wrong approach. You would actually be hard-pressed to find a solution more diametrically opposed to fixing the problem.
303.
▲
by
nkohari
10y ago
Yes and no -- you could also get away with passing the state down from a higher-level component. This does break down quickly, but if your app isn't too complicated, it can be enough for the first version. (Certainly, if I was unfami
304.
▲
by
nkohari
10y ago
Maybe... but I'm not sure about that. If you want to make the argument that Azure has a good chance to make .NET relevant again, I might buy that, but in terms of developer mindshare it's still nowhere near something like Heroku.
305.
▲
by
nkohari
10y ago
ALT.NET died because a huge number of the people who were involved have left the .NET ecosystem entirely, mostly to Ruby and node.js. (For example, I wrote Ninject, which was a fairly popular OSS .NET project in its day, but I haven't
306.
▲
by
nkohari
10y ago
Yes, I understand how JSX works. My point is that it permits nesting in a syntax that is much simpler and emulates markup, which is familiar to web developers. It's okay if you prefer to write code using the direct function calls, but
307.
▲
by
nkohari
10y ago
The example I gave was simplistic, but the value of JSX is the ability to easily nest elements. For instance, let's take my previous example and say we're creating a profile link: const Dashboard = (props) => { cons
308.
▲
by
nkohari
10y ago
The output isn't the problem; it's that "class" is also a keyword in the JSX input. I admit, though, I'm not intimately familiar with the JSX transpiler and am just guessing as to their motives.
309.
▲
by
nkohari
10y ago
Ternary operators should never be nested, whether you're using JSX or not. If you have that many conditionals you should use variables and/or decompose the optional pieces into sub-components. Pretty much any time you have a tag t
310.
▲
by
nkohari
10y ago
Best case, you should build both integration tests (the entire system tested together) and unit tests (tests for individual pieces of the system isolated from others). The two types of tests will reveal different flaws in your code. Also, s
311.
▲
by
nkohari
10y ago
Honestly, if Linux's font rendering looked as good as OS X, I would have already switched. I know it might sound arbitrary, but aesthetics matter to me, and if I'm going to stare at it for 12 hours a day it should look nice. :)
312.
▲
by
nkohari
10y ago
My IDE didn't teach me that much about software engineering either.
313.
▲
by
nkohari
10y ago
It will also create a company that can't grow past the point where you are the lynchpin. Good leaders find people that will put them out of a job, not lackeys to do whatever they say. If you're happy where you are, then I congratu
314.
▲
by
nkohari
10y ago
The effects you list are a result of others not having empathy for people who would end up supporting Trump.
315.
▲
by
nkohari
10y ago
Well.. you're parsing a bit, aren't you? Clinton received the most votes , that is, the votes of most voters . The number of votes she received didn't represent a majority of the votes cast, but she still received the vote
316.
▲
by
nkohari
10y ago
Public companies often can't take big risks because they have to justify them to their shareholders and consistently meet expectations. The examples you've listed are all just R&D projects, the expense of which are a tiny line
317.
▲
by
nkohari
10y ago
Okay, so... your first mistake was watching the Project Veritas videos, and your second mistake was believing them. In the US, there is no federally-issued photo ID. The most common ID is a state-issued driver's license, but not everyo
318.
▲
by
nkohari
10y ago
Sure, but OP didn't specifically ask you to review the code anyway, and there's a way to give feedback that doesn't make you look like an asshole.
319.
▲
by
nkohari
10y ago
Considering Jigsaw is also interested in combating extremism, I'd say no.
320.
▲
by
nkohari
10y ago
Is this necessarily true if all of the connected peers are also streaming? In my understanding, Bittorrent optimizes for the most in-demand chunks, and in a streaming context those would be the ones at the beginning of the video.
321.
▲
by
nkohari
10y ago
Right, exactly. The key question is whether the algorithm's resolution heuristic takes into account the intent of the edit, and I'm not sure the algorithm in the article makes an effort to do that. (Not saying it doesn't, I j
322.
▲
by
nkohari
10y ago
There are several CRDT algorithms (LSEQ, Logoot, WOOT, Treedoc) that try to properly solve the merging solution (your outcome #2) while still retaining the intent of the edits of each user. Their implementations differ, but the general idea
323.
▲
by
nkohari
10y ago
I've been doing some tinkering in this area lately, and I was also looking for an explanation of the string editing mechanics in this algorithm. The hardest part there is retaining the intent of the simultaneous edits -- the I in the
324.
▲
by
nkohari
10y ago
This is the same stuff people have been saying about React since its inception. Putting opinions into Arguman doesn't make them factual statements.
325.
▲
by
nkohari
10y ago
I use the monitor's toggle. For keyboard/mouse, I have a separate keyboard for the two computers, and my mouse (Logitech MX Master) has a toggle that lets it switch between computers. I'm not sure how you'd do this with
326.
▲
by
nkohari
10y ago
I have a Windows machine that I use for gaming, and a MacBook Pro that I use for work. Both are connected to the same monitor, which can toggle between inputs. For storage, I have a Synology NAS, but an external USB3 hard drive would work j
327.
▲
by
nkohari
10y ago
This is really interesting, thanks for sharing it! I haven't had a chance to dig into the code yet, but I notice that you say two replicas of the same database can be disconnected, altered, and then merged. Could you explain how Noms t
328.
▲
by
nkohari
10y ago
Adtech in general is kind of difficult to grok at first. It's dense with jargon and is largely driven by partnerships and resale. To a newcomer the industry can be very opaque. It's likely they weren't working on the actual a
329.
▲
by
nkohari
10y ago
Do you subscribe to all of the sites with paywalls?
330.
▲
by
nkohari
10y ago
I think what they're saying is that the bank exercised their lien and claimed the mortgaged property, whereas card debt is unsecured and there's no collateral to claim.
More ›