Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
echlebek
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
331.
▲
by
echlebek
9y ago
You are meant to use a storage driver such as aufs or overlay with an attached volume to persist information between container lifetimes. There are a variety of opinions on the goodness of using docker for running a database.
332.
▲
by
echlebek
9y ago
If you don't think sqlite is reliable, don't ride in an airbus a350 ;) https://sqlite.org/famous.html
333.
▲
by
echlebek
9y ago
I think it is a story, because most people, having never worked for TripAdvisor, would find it surprising.
334.
▲
by
echlebek
9y ago
SQLite is one of the best pieces of software I have used in my career as a developer. It is performant, reliable, simple and consistent. There is a reason sqlite3 is deployed in so many places.
335.
▲
by
echlebek
9y ago
Static languages make refactoring easier, not harder. The more information you have at compile time, the more automated tooling can do for you.
336.
▲
by
echlebek
9y ago
Would you consider Go? Have a look at the net library. https://golang.org/pkg/net/ ZeroMQ is not popular among Go developers, because the language and standard library subsume its functionality.
337.
▲
by
echlebek
9y ago
There's nothing wrong with spending a bit of time developing a portfolio for yourself. It doesn't have to be a full time job that you do for free.
338.
▲
by
echlebek
9y ago
This is just the US coming in line with the rest of the civilized world, which does not permit hate speech. Hate speech is speech that encourages violence towards specific groups of people. Therefore it's worthwhile to make a free spee
339.
▲
by
echlebek
9y ago
As a former mercurial user, it absolutely drives me nuts when people rebase already-pushed commits. I get that this is the norm in a lot of git workflows, but it still makes me twitch! I prefer to rebase liberally before pushing commits, an
340.
▲
by
echlebek
9y ago
I think the consensus is that the industrial revolution would have been impossible without fossil fuels.
341.
▲
by
echlebek
9y ago
If you aren't using a profiler and benchmarks when analyzing performance problems you're just blindly stabbing in the dark.
342.
▲
by
echlebek
9y ago
The article makes a lot of assumptions, I feel that it's intellectually lazy. What if an employee is under the influence of marijuana? Well gosh, if your employee constantly comes to work drunk, you probably fire them. The article trie
343.
▲
by
echlebek
9y ago
If there's no setup then why do I have to authenticate?
344.
▲
by
echlebek
9y ago
That's right. The newer releases of Go include more points where goroutines will yield to the scheduler. I'm unsure about how that plays with inlining, though.
345.
▲
by
echlebek
9y ago
Yes. The goroutine that increments i in a loop never has a chance to yield to the scheduler. package main import ( "fmt" "time" ) func main() { go func() { time.Sleep(100
346.
▲
by
echlebek
9y ago
That's adorable! CSV is notoriously loose, has a bajillion edge cases, differs wildly on region, and is not even really a format at all. Basically nobody follows RFC 4180, nor does anyone care about its existence. The other day I had t
347.
▲
by
echlebek
9y ago
That's a nice sentiment, but I don't see how Uber has changed the world for the better. Has Uber's app decreased pollution or global warming? No. Has Uber's app decreased economic stratification? No. Has Uber's app
348.
▲
by
echlebek
9y ago
Why should we spend resources so that you can die on mars? Do you realize how much fuel that costs? What is the ROI of you dying on mars?
349.
▲
by
echlebek
9y ago
45 minutes? Are you incorporating stretching and mobility work into that?
350.
▲
by
echlebek
9y ago
You probably do suck at coding, but that's actually OK. Lots of people suck at coding, even people who have been professional software developers for years. It's hard to get that first job, but just keep trying. With a bit of luck
351.
▲
by
echlebek
9y ago
Can you explain how a library for dependency injection could improve a Go standard library like net/http, io, encoding/json, or database/sql?
352.
▲
by
echlebek
9y ago
That's really too bad. Pirate Joe's fit nicely into our cultural tradition of thumbing our noses at the Americans.
353.
▲
by
echlebek
9y ago
Certainly not, the Alphabet company is a multinational corporation.
354.
▲
by
echlebek
9y ago
This is the most obvious, simple and effective tip. Take transit, carpool, ride a bicycle, or walk if you can.
355.
▲
by
echlebek
9y ago
Python generators and iterators are a terrible choice for processing billions of records. Python's iteration is notoriously slow.
356.
▲
by
echlebek
9y ago
I see this all the time too. There's always some appeal to open-mindedness or an interesting hypothesis. It's all horseshit of course, in the same vein as antivax.
357.
▲
by
echlebek
9y ago
Do you have some evidence that any of that can harm children?
358.
▲
by
echlebek
9y ago
> Both Golang and Swift were designed as performant, type-aware Pythons. What do you base that assertion on? :)
359.
▲
by
echlebek
9y ago
Yeah, exactly, peer review. If you read your parent's argument again, they explicitly mention that.
360.
▲
by
echlebek
9y ago
I'm not suggesting anything, I'm fully aware of the spec. I'm just pointing out that you can't represent NaN and Inf in JSON. Strings don't count.
More ›