Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
drew-y
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
drew-y
5y ago
Going to mars and making the earth a better place are not mutually exclusive.
62.
▲
by
drew-y
5y ago
This article has a few good ones. https://9to5linux.com/firefox-89-enters-beta-testing-with-st...
63.
▲
by
drew-y
6y ago
Agreed. The author is conflating discriminated unions with optional properties. His example is better off as a discriminated union because the optionals are set based off of it's type. There are plenty of situations where optional pr
64.
▲
by
drew-y
6y ago
Again, his point that making porn more "acceptable" means that people and our government will start having open conversations about it. This means making clear rules that both acknowledge the right of these sites to exist while al
65.
▲
by
drew-y
6y ago
You're not really addressing their point. Some people believe that drugs are "inherently harmful", but an outright ban or "war on drugs" made the problem worse. It pushed drugs to the unregulated black market. The s
66.
▲
by
drew-y
6y ago
I don't think the comment is referring to individual companies but the market as a whole. It's clear that wealth is and has always tended to accumulate to the richest when not checked. This article does a great job laying out some
67.
▲
by
drew-y
6y ago
> instead of maintaining a running process that holds a reference to a different process, we can simply stop the current process altogether until our effects are finished. Ooof. That does not seem like an efficient replacement for promis
68.
▲
by
drew-y
6y ago
That’s just it. I don’t think it can be stated that he was armed at this point. We know a knife was in the car. That’s about it. Personally, I wouldn’t consider him to be armed unless he was actively brandishing it. Which the USA Today arti
69.
▲
by
drew-y
6y ago
From the USA Today article in regards to the paragraph: > The DOJ has not clarified whether the knife was on the floorboard throughout the confrontation, or if Blake may have held it at some point. Spokeswoman Gillian Drummond declined t
70.
▲
by
drew-y
6y ago
Can someone actually point to those "facts" y'all claim to have? Because I'm the only one actually citing sources right now.
71.
▲
by
drew-y
6y ago
No. > When destructive protests by demonstrators did take place, the "victims" were often statues of slave owners, Confederate leaders, and colonial figures.
72.
▲
by
drew-y
6y ago
Can you provide a source for this? The best I can find is that he had a knife on the floor of the truck. But was otherwise unarmed. This is consistent across all the main sources I've checked. 1. https://www.usatoday.com
73.
▲
by
drew-y
6y ago
> BLM Riots This is a harmful characterization of an important movement. No protests on that scale are going to go without a hitch. That shouldn't minimize their importance. > Researchers at the US Crisis Monitor analyzed over 10
74.
▲
by
drew-y
6y ago
Yeah that's very odd. I use that feature a lot and have never had it choke. But I also don't use vsvim.
75.
▲
by
drew-y
6y ago
I was actually a Sublime Text user before VSCode. I'll be the first to admit Sublime Text is faster. VSCode still wins for me in a landslide. Sublime text's performance is just not enough of an advantage over VSCode's feature
76.
▲
by
drew-y
6y ago
It's ok to have a different opinion. But you shouldn't assume your experience invalidates my own. I've used a large number of text editors. Vim, Sublime Text, TextMate. I loved them all, and they are of course much faster and
77.
▲
by
drew-y
6y ago
VSCode, an Electron app, is my favorite application of all time. It starts up quickly and is incredibly responsive in use. It's easy to customize, there are loads of community extensions, and it's free. When abstractions allow sof
78.
▲
by
drew-y
6y ago
It used to be. But more recent versions of TypeScript (I believe since 3.5) are much stricter with strings in implicit unions. It's really quite helpful. Here's an example where the feature can save you: ``` let x = () => {
79.
▲
by
drew-y
6y ago
In TypeScript, x would be of type () => "abc" | number.
80.
▲
Implementing while loops in WASM using binaryen.js
(drew.ltd)
3 points
by
drew-y
6y ago
|
0 comments
81.
▲
by
drew-y
6y ago
> The weird part of WASM is the control structures. Out of curiosity, what do you find weird about the control structure portion? I just wrote a basic language that compiles to wasm and found the built in control structures made my life
82.
▲
by
drew-y
7y ago
Is there any information on the program the simulator runs by default? I couldn't find anything in the user guide or the FAQs.
83.
▲
by
drew-y
7y ago
But if you look at the per capita value of facebook vs this company, facebook produces a lot more revenue. In 2018 facebook made 55.8 billion[1], that same year boskalis made about 2.8691 billion usd[2]. If facebook has 30k employees that m
84.
▲
by
drew-y
7y ago
That's not the point I was trying to make. I agree they are essentially unrelated. But they do both try to reduce requests made. From the article: > Not only that, but HTTP/2 has a new concept called Server Push. Without going
85.
▲
by
drew-y
7y ago
That's basically what the article says though. The connection to HTTP2 is that they both try and minimize the amount of requests made to a server. The author is just pointing out that GraphQL has more to offer than reduced requests.
86.
▲
by
drew-y
7y ago
Mid to late spring is my favorite time of the year. Perfect temperature and lots too explore. Plus the waterfalls outside of town are at their peak.
87.
▲
by
drew-y
7y ago
I think that is an error in the article. I live in Boise. The law allows ticketing if there IS room in shelters. People would not be ticketed if the shelters are full. Not saying it's a good law. But the article is wrong. Edit: Here is
88.
▲
by
drew-y
7y ago
I live in Idaho. A couple years ago a boy and his dog where walking in the foothills near their house and ran into one. It killed the dog and nearly killed the kid. These are a terrible idea. They should especially never be placed so close
89.
▲
Building a Programming Language Pt. 3 – Interpreting
(drew.ltd)
129 points
by
drew-y
7y ago
|
10 comments
90.
▲
Building a Programming Language Pt. 2 – Parsing
(drew.ltd)
1 points
by
drew-y
7y ago
|
0 comments
More ›