Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vcarl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
vcarl
11y ago
If you compile ahead of time, you can tune your optimizations. With the right tooling you can tell the compiler that a certain path is hot and should be optimized from the beginning, or catch deoptimizations better, or just get rid of the c
92.
▲
by
vcarl
11y ago
It would be great if that were how it was taught, but when I took the class it was taught as a trick. No theory behind it, just the prof on the board saying, "But look! :swap: And now you can integrate it."
93.
▲
by
vcarl
11y ago
I remember a similar problem in Calc 2. I forget the specifics now, but I think it was an integral of some combination of sin/cos that ended up being circular. You had to recognize an opportunity to swap one of the steps for an equival
94.
▲
by
vcarl
11y ago
Fair enough, low latency, high interactivity applications aren't well suited, but those will always benefit from being as "bare metal" as possible.
95.
▲
by
vcarl
11y ago
>Does it seem that the entire industry has migrated to this stack, whether or not it really makes sense for everyone to? It definitely doesn't make sense for all types of websites, but React seems to me like a solid choice any time
96.
▲
by
vcarl
11y ago
That might be the case, but stalling a justice nomination isn't as severe or visible as a government shutdown and might not get the same level of attention.
97.
▲
by
vcarl
11y ago
Adding a phone number to your account and enabling two factor auth aren't the same thing in my mind. It might be that I'm paranoid about giving LinkedIn my info plus bad copy on the prompt, but I had the same reaction as the grand
98.
▲
by
vcarl
11y ago
Designing roads properly for the desired speed removes the need for enforcement. And enforcement doesn't mean that people go the posted limit, it just means more tickets.
99.
▲
by
vcarl
11y ago
And having speed limits set too low for the road leads to a mismatch between posted risk (the speed limit) and actual risk (the actual speed of cars) to pedestrians. There's evidence that speed limits have no impact on how fast people
100.
▲
by
vcarl
11y ago
Fun trick I learned with Chrome: Click a tab, then shift-click another tab. The tabs should darken, and if you drag them, they all move as a unit. Very handy when you have sessions that kind of diverged and you'd like to mentally separ
101.
▲
by
vcarl
11y ago
Agreed, opting not to use JSX and then complaining about a lack of ergonomics seems pretty contrived. Yeah, the raw function calls aren't particularly friendly, that's why JSX exists. If more people opted not to use JSX, I'm
102.
▲
by
vcarl
11y ago
I read some "rebuttals" to the previous essay, and while there were definitely some valid points brought up, a lot of them seemed to me to have misinterpreted a lot of what was said. PG tweeted about feeling like a lot of his side
103.
▲
by
vcarl
11y ago
As a counterpoint, there are a decent number of people learning it around where I am in southeast Michigan. There was a conference in Detroit, they said that they got a ton of React talk submissions. I used it at a small business print shop
104.
▲
by
vcarl
11y ago
They have it doing medical analysis (I'm hesitant to say "diagnosis" but I think it's being used to find symptom patterns doctors might otherwise miss). http://www.ibm.com/smarterplanet/us/en&#x
105.
▲
by
vcarl
11y ago
Ah, the distinction being that it wasn't stolen in a single bulk breach or via a device placed between the card and the scanner. Fair enough.
106.
▲
by
vcarl
11y ago
Swiper skimming might be an issue as well, but didn't some of the largest breaches include stored credit card data? Washington Post says credit and debit card information was included in the Target breach. https://www.washin
107.
▲
by
vcarl
11y ago
Care to offer a summary for those of us that aren't fluent? :)
108.
▲
by
vcarl
11y ago
Around a month ago, Marc Andreessen tweeted that we're coming up on 13 years of people saying there's a new tech bubble. https://twitter.com/pmarca/status/657172791100203009 The article talks about a lac
109.
▲
by
vcarl
11y ago
Similarly, another quote from him that always resonated with me: "A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a b
110.
▲
by
vcarl
11y ago
Obfuscated code samples unless I sign in with GitHub? No way.
111.
▲
by
vcarl
11y ago
I found that theory before I got into the show, it would've been really perfect. Totally fit with his appearance, manner, and history too.
112.
▲
by
vcarl
11y ago
Exactly, my biggest takeaway is "don't write your own unique ID algorithm." At best it does the same as existing methods, at worst you screw it up and end up here.
113.
▲
by
vcarl
11y ago
Part of the reason a lot of D-pads sucked is because Nintendo had a patent on it, it expired in 2005. https://www.google.com/patents/US4687200
114.
▲
by
vcarl
11y ago
I also love this one. http://www.adamtornhill.com/articles/fizzbuzz.htm Fizzbuzz implemented as C++ compiler errors.
115.
▲
by
vcarl
11y ago
I have, and every time I do, I basically end up trying to rebuild Bootstrap's grid. It has 4 screen sizes that cascade so you can set a small size and not explicitly declare that you want larger screens to be the same, responsive and a
116.
▲
by
vcarl
11y ago
This is my experience as well. If people want little tweaks and you're using a CSS framework, you're going to have a bad time. OTOH Bootstrap's grid system is almost a must have when I'm writing a responsive application.
117.
▲
by
vcarl
11y ago
React has been ported a few times, React Native is the most well known. Since React is basically describing components as functions of props and state, what's returned doesn't have to be DOM.
118.
▲
by
vcarl
11y ago
Take a look at where the Wikipedia page for "National Socialism" takes you. https://en.wikipedia.org/wiki/National_Socialism
119.
▲
by
vcarl
11y ago
Anyone using it in production shouldn't have, it's completely unsupported except by Chrome and Opera. http://caniuse.com/#feat=object-observe
120.
▲
by
vcarl
11y ago
True, but that's because whatever site can choose to rely on a cutting edge specced feature that the other browsers haven't implemented yet. At least it's not the 4 different companies trying to one-up each other.
More ›