Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_v7gu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
_v7gu
3y ago
Well, good thing is that rehabilitation is the central goal of correctional systems; so you can send thiefs/etc to prison without feeling guilty. This is not a problem that requires a novel solution; almost every other rich country has
122.
▲
by
_v7gu
3y ago
That is a lot of words to just say “cope+seethe”. Are macMansion suburbs even sustainable (i.e can cover infrastructure cost via taxes)? Do children who have no freedom and have to be driven everywhere turn out to be better adults? How does
123.
▲
by
_v7gu
3y ago
If a thousand people try to go to work at the same time, the car being driverless or not will not result in less than a thousand cars being driven, and the number of cars in the road is the biggest cause of congestion. However, a bus can ca
124.
▲
by
_v7gu
3y ago
Yea, because the following equivalent piece of code is much more difficult to read without returns after every statement user |> mmap(get_balance) |> mmap(get_credit_amount)
125.
▲
by
_v7gu
3y ago
Kicker: most of the white-collar crimes are committed against the state (as listed by their link to Cornell Law); does this insurance cover antitrust violations? Or better yet, if they cover securities fraud, then I could make some very nic
126.
▲
by
_v7gu
3y ago
reading multiple lines of what would amount to a single scan/find/map/reduce is still a pain in the ass though
127.
▲
by
_v7gu
3y ago
But protectionism is often good and necessary for a country's economy. If country A cannot produce a good x, then another country B can stifle A's technology growth for producing x by selling x outright at a cost A can not produ
128.
▲
by
_v7gu
3y ago
Doing that is a clear GDPR violation
129.
▲
by
_v7gu
3y ago
With this political climate you can even make do with Winnie the Pooh references.
130.
▲
by
_v7gu
3y ago
Dynamically fill your website with heretical words where humans cannot see, but machines can. After that, generation of your content should trigger the content filters.
131.
▲
by
_v7gu
4y ago
So it's basically A* with higher scores when going towards gravity, very cool. Another physics problem analogue I really like is the problem of fastest travel from point A to point B when you have to cross a river. One approach to solv
132.
▲
by
_v7gu
4y ago
I don’t like to do it, but I like to sync my projects folder and google drive does not offer me an “exclude folders named node_modules” option
133.
▲
by
_v7gu
4y ago
EU is perfectly ok with issuing fines to smartasses who abide by the word of law but violate the spirit of it. Like the whole iPhone USB debacle and how Apple got warned again and again when they announced they were trying to go around the
134.
▲
by
_v7gu
4y ago
I believe this argument can be extended to Facebook/Instagram/Twitter/etc for other countries. And considering that; yes, let’s do it!
135.
▲
by
_v7gu
4y ago
As opposed to left to their own devices with almost no public transit infrastructure and unwalkable curbs if their condition does not allow them to drive a car? Also roads still exist in Europe, you know.
136.
▲
by
_v7gu
4y ago
Would it, though? Keyboard event sets highlighted item key/id; scroll event pops up, sets the highlighted item again, then react does not do an additional render because the state has not changed since the keyboard event. The code does
137.
▲
by
_v7gu
4y ago
The first file I looked into was the combo box. This is what I consider to be a timing hack: private onDropDownMouseOver(ev: MouseEvent): void { if ((new Date()).getTime() < this.whenScrolled + 250) { /
138.
▲
by
_v7gu
4y ago
How can you ever be sure that your state is valid when you’re putting it on the DOM? Worse yet, only parts of the state is stored there. I can’t really call this code simple since it had to resort to timing hacks to get its functionality in
139.
▲
by
_v7gu
4y ago
Implementation looks dead simple for this too: $ = (f, x) => f(x) flip = f => (x, y) => f(y, x) |> = (x, ...fs) => fs.reduce(flip($), x) However, |> in typescript is quite hard to type (no recursive types)
140.
▲
by
_v7gu
4y ago
But tailwind also provides a way to change variables? https://tailwindcss.com/docs/customizing-spacing Better yet, it also forces people to use theme spacing sizes or making the use of custom unit very explicit (a [] i
141.
▲
by
_v7gu
4y ago
> It's pretty funny that you never see these complaints Have you missed the 2000's on the internet? All the people mocking "fundamental Christian" outrages against things like Harry Potter, Pokemon (evolution lol) an
142.
▲
by
_v7gu
4y ago
There are people trying to call out Montenegro for its name, and there are people that use "get help"/"you need therapy" as an insult. The treadmill never ends and it's trying to eat everything
143.
▲
by
_v7gu
4y ago
Holy mother of bad takes. The same argument could also be extended to “old culture is real” or “poor culture is real” but that should not be reason to eliminate working to improve welfare. What are the psychological workings to make people
144.
▲
by
_v7gu
4y ago
The whole "conditions" part of the MIT license is this: "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software." No requirements for you to keep the
145.
▲
by
_v7gu
4y ago
Here's a chatgpt summary: - Wizards of the Coast announced on December 21, 2022 that a new version of the Open Gaming License (OGL) would be released, causing confusion in the gaming community. - The letter writer, who represents Sad
146.
▲
by
_v7gu
4y ago
The thing you're looking for is easily found with a Hoogle search for type (a -> Maybe b) -> [a] -> [b] Which yields mapMaybe: https://hackage.haskell.org/package/base-4.17.0.0/docs/Data
147.
▲
by
_v7gu
4y ago
So did Martin Luther King Jr and the founding fathers. There is no moral duty to obey arbitrary bullshit. Good on you!
148.
▲
by
_v7gu
4y ago
That’s why I said stones instead of lies. I’m ESL, but I believe that phrase relates to hypocrisy rather than slander.
149.
▲
by
_v7gu
4y ago
Well, for starters, it hasn’t published unsubstantiated claims about some countries having WMDs and advocating going to war over them.
150.
▲
by
_v7gu
4y ago
Can the title be un-editorialized? It makes the dev look arrogant for no reason
More ›