Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
blaisio
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
151.
▲
by
blaisio
9y ago
Yeah this is due to the recent security bug related to speculative execution on CPUs. It causes a performance hit, and they have to force people who haven't restarted in a long time to restart now because it's around the official
152.
▲
by
blaisio
9y ago
I can personally assure everyone that plenty of people are still partying and have no problem with social interaction. This is an article that's practically targeted towards the hacker news audience of older introverted people who feel
153.
▲
by
blaisio
9y ago
Anyone interested in this should also check out the hashicorp talk at gophercon on advanced testing in Go: https://www.youtube.com/watch?v=8hQG7QlcLBk It has several awesome ideas.
154.
▲
by
blaisio
9y ago
But you can decouple the database logic from the app logic anyway, without using stored procedures. They don't actually help you do this since you still need code that knows what stored procedures to call. Also, I'm not sure how t
155.
▲
by
blaisio
9y ago
I mean, stored procedures are fine, but I don't think that actually solves anything? Except maybe for reducing the amount of SQL code you have to send back and forth and (in some databases) allowing for a few more optimizations? If you
156.
▲
by
blaisio
9y ago
I think saying "Just use SQL" is probably a bad idea. You'll most likely end up implementing an ORM anyway, or you will end up with your model code mixed up everywhere with your views. I do think a lot of people use ORMs as a
157.
▲
by
blaisio
9y ago
Yeah I definitely agree there are pros and cons on both sides. Every company is different, etc. What I wanted to point out is mainly that it's naive to think the costs of hardware and bandwidth are always most significant or even in th
158.
▲
by
blaisio
9y ago
The hardware and bandwidth costs are only small parts of the full cost of running your own infrastructure. There are so many other benefits: - you don't have to support your own low level services like Pub/Sub, Cloud Storage, Span
159.
▲
by
blaisio
9y ago
It's pretty much the same as in other languages, so don't over think it. The main difference for you will be Go is compiled, so you have to think slightly differently when writing tests. Here are a few don'ts: - don't ta
160.
▲
by
blaisio
9y ago
$139 is almost certainly not what the insurance company would pay. It's also largely a price determined by the pharmacy itself, not the drug manufacturer.
161.
▲
by
blaisio
9y ago
I know it's not entirely the town's fault because sometimes people make mistakes, and hindsight is 20/20, but some of that is the fault of the local government. Houses without solid internet access are way less valuable on th
162.
▲
by
blaisio
9y ago
I'm not sure why his motivation matters? Both of those are good reasons to advocate for a universal basic income. We should want people to be aware of the consequences of their successes and to try and alleviate any pain they caused. I
163.
▲
by
blaisio
9y ago
I agree, this seems like a poorly done clone of logojoy. It's still good to have competition though.
164.
▲
by
blaisio
9y ago
So one of Linus' main points in this series of posts is that failing loudly is actually not always better than failing silently or quietly, and it's really annoying when people come in making that assumption without thinking. This
165.
▲
by
blaisio
9y ago
This blog post is confusing, and I'm having trouble figuring out what they're talking about in the Cloud SQL documentation. What are these regional disks? Why should I care about them as a customer? Their mention of replication ma
166.
▲
by
blaisio
9y ago
I'm not even interested in the content (sorry!), I just want to look at it. It's seriously beautiful, even on my phone.
167.
▲
by
blaisio
9y ago
Yeah there's definitely some weird engineering decisions there. I think maybe we just don't have all the information. But I guess this is another example of why that stuff just doesn't matter when you're growing your bus
168.
▲
by
blaisio
9y ago
Good book! It's only at the introductory level, but I liked that it lacks bias and does a survey of the field.
169.
▲
by
blaisio
9y ago
The biggest case almost completely unhandled by PostgreSQL is if you need a clustered index like in MySQL. There are basically two common ways of organizing rows in a database: store everything in a tree according to the primary key, or sto
170.
▲
by
blaisio
9y ago
Garbage collection simplifies but does not eliminate memory management. That's okay, because even though it does not eliminate the need for memory management completely, it does still save the programmer from an awful lot of work. Anyw
171.
▲
by
blaisio
9y ago
It's interesting, because they really need to pick a city that won't have trouble attracting software developers. Some large companies (like Epic) have trouble recruiting and have to pay people way more because they're so far
172.
▲
by
blaisio
9y ago
At the time of writing, this post title is clickbaity and presumes guilt without any actual evidence. This is not what I want to see on hacker news.
173.
▲
by
blaisio
9y ago
It's pretty weird in this case. Google serves web pages and adds rate limits to keep people from taking their servers down (or, at least, from making them use way more servers than normal, which would make providing the services too ex
174.
▲
by
blaisio
9y ago
This is a great article. It explains the various concurrency issues in fairly plain English, which is great! I wish more people were aware of these isolation levels and their consequences. Many application developers will either a) assume t
175.
▲
by
blaisio
9y ago
The next problem you'll likely encounter after switching to utf8mb4 is the relatively tiny maximum index key length in InnoDB - even though the strings are variable length, for the utf8 4 encoding MySQL will multiply the length of the
176.
▲
by
blaisio
9y ago
Which questions specifically would you have trouble with? While technically these aren't things someone absolutely has to know in order to be useful on frontend work, I think they are all very useful and practical things to know, so ma
177.
▲
by
blaisio
9y ago
There is so much negativity in these comments! This project is really cool! I really appreciate the trend to rewrite C/C++ libraries in Go. It has always been really frustrating that hacky library wrappers for other languages leave per
178.
▲
by
blaisio
10y ago
FCM is a standalone service, it's just branded with Firebase instead of Google like before.
179.
▲
by
blaisio
10y ago
I love terraform! It is one of the few tools I've found that was easy to understand and easy to integrate with legacy stuff, and it very quickly saved me a huge amount of time. It only took me about 30 minutes to setup a terraform file
180.
▲
by
blaisio
10y ago
The idea is usually to allow committing partially completed or deployed features, which are hidden by config flags until you're ready to activate them. When the feature is fully baked and effectively always on in production, you just r
More ›