Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
speleding
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
speleding
2y ago
As a result of sales drones getting hold of my number, I have to put my phone on silent and never pick up unless I recognize the number. Very unfortunate. What if there is an emergency with my kids?
92.
▲
by
speleding
2y ago
Another likely reason: the process of metering bandwidth accurately enough to use as input for a billing process costs money. On their distributed setup it's probably seriously expensive to do accurate bandwidth metering per site. Prob
93.
▲
by
speleding
2y ago
If the jobs are being outsourced then the American company doing the outsourcing apparently saves money. Whether that money eventually ends up in the pocket of the people you want (e.g. workers versus shareholders) is a different debate, bu
94.
▲
by
speleding
2y ago
Read the link: outsourcing results in an improved standard of living in America. Even if Americans are capable of doing those jobs themselves. It’s counterintuitive, I know.
95.
▲
by
speleding
2y ago
Another way to phrase that: it allows Americans to focus on jobs where they add most value, leading to a higher standard of living for both Indians and Americans. You should read about https://en.wikipedia.org/wiki/Comp
96.
▲
by
speleding
2y ago
As long as the test suite is small enough to quickly run on the devs laptops the gains from CI are fairly minimal. With old school Capistrano-rails you can deploy in 20 seconds and roll back in 5 seconds, IMHO you don't need to pay the
97.
▲
by
speleding
2y ago
Those changeable batteries were horribly unreliable! I've had over a dozen different brand of phones and eventually they all started to black out occasionally when the connections got corroded or otherwise loosened up. I really hope so
98.
▲
by
speleding
2y ago
Don't just focus on the language syntax, the high ratio of useful work to verbosity is in large part owing to the excellent design of the standard library, which is available without including any headers or downloading third party lib
99.
▲
by
speleding
2y ago
Yes, but it's a good example of how Java is about twice as verbose to do the same work. The Ruby version of that can be written as simply: Thread.new{ ... thread code ...}.join The extra verboseness quickly adds up if every statement t
100.
▲
by
speleding
2y ago
It's the language with the highest ratio of (useful work / LOC), so it's the least verbose language. This makes it very suitable to write and understand complex scripts, because the reduced boilerplate means less cognitive ov
101.
▲
by
speleding
2y ago
Depth perception? I would think objects as far away as the moon shouldn’t produce a meaningful difference between the left and right eye. But that does tell your brain they are far away, so perhaps that’s what you mean.
102.
▲
by
speleding
2y ago
Nice! Small nitpick, as a Dutchie: we changed the shape of our country quite a bit over time by reclaiming sea. The map of the area now occupied by The Netherlands was very different two thousand years ago from what your site shows. (And th
103.
▲
by
speleding
2y ago
I would think that getting to a positive cashflow shouldn't be that hard, most of the cost are fixed. Recouping the billions of R&D will take many years, but those cost are sunk. The fact that they're adding cities probably me
104.
▲
by
speleding
2y ago
In rails or elsewhere in our code base, if I'm ever unsure what a function does or what it returns then I just jump to the function definition and read it, a single key stroke in my IDE. Now I need to fix a small bug in a library. Rath
105.
▲
by
speleding
2y ago
Good tests do indeed not test the detailed shape of inputs and outputs, they test the system end to end. And they should be cheap to run, so you run them after every change. As soon as someone mistypes jobId the test will break and you will
106.
▲
by
speleding
2y ago
I agree that it's very bad they broke the exists() behaviour in a point release by changing the return value from a boolean to an integer. But I think strong typing is not the answer. It's a drag on productivity and I can think of
107.
▲
by
speleding
2y ago
No, what I'm saying is, that if you think about it for more than a few minutes you realize there is no way to implement this effectively. If there was a way to do it effectively, I might consider this.
108.
▲
by
speleding
2y ago
But what is "effective" in this case? My kids use huge Whatsapp groups as a form of social media, will Whatsapp be banned? Using a VPN to access TikTok from outside Australia is not beyond the skills of a determined kid, will VPNs
109.
▲
by
speleding
2y ago
Something we just ran in to: There are two UTF-8 codepoints for the @ character, the normal one and "Full width At Sign U+FF20". It took a lot of head scratching to understand why several Japanese users could not be found with the
110.
▲
by
speleding
2y ago
That would include the cookie with each request, which is inefficient. And potentially it also can get sent with requests to other subdomains, which may not be desirable from a security point of view (it could be cdn.example.com, owned by s
111.
▲
by
speleding
2y ago
The typical example of a path-based cookie is the "remember my login name" feature, where you want the cookie with the user name only available on the login page. (And you cannot use session storage because you want it to work whi
112.
▲
by
speleding
2y ago
With sshd configuration the first option is the one that sticks, so you need to make sure it sorts BEFORE the 50-cloud-init.conf file.
113.
▲
by
speleding
2y ago
When starting Chromium you can pass a `--kiosk` option with one (or more ) URLs of the pages you want to display
114.
▲
by
speleding
2y ago
Amsterdam is just like New York (New Amsterdam!) in that pedestrians (and bikes) cross wherever they like. Next up: in Amsterdam most bikes and pedestrians will not wait for a red light on small crossings when they can see there is no oncom
115.
▲
by
speleding
2y ago
In case you're wondering whether this works on a Mac, like I did, I found this source[0]. In short, you need an M2 Pro or better, and may need to edit a plist file to get it to work. [0] https://scottstuff.net/posts
116.
▲
by
speleding
2y ago
I'm a bit skeptical about this working well enough to handle exceptions as soon as something out of the ordinary occurs. But it seems this could work great for automated testing. Has anyone tried asking "use computer" to do &
117.
▲
by
speleding
2y ago
If you use a Rails helper to create a checkbox it puts a hidden field next to it with the "off" value to ensure something always gets POSTed back. I assume other frameworks do the same. If you put a <label> element around th
118.
▲
by
speleding
2y ago
Tax law is the highest paid field within law. High pay attracts smart people. Smart people could do something more beneficial to society with their time. (Source: I'm married to a tax lawyer)
119.
▲
by
speleding
2y ago
Sorry, I should have picked a clearer term. There is broad agreement among economists that _regulating_ markets is needed to have an optimal outcome for society. I was referring to government subsidies specifically, in that case the distort
120.
▲
by
speleding
2y ago
Fun fact: the word "Holland" comes from "Houtland" meaning "Wood" land. There is almost no forrest left there now because they turned the trees into boats during their golden age.
More ›