Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kungtotte
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
31.
▲
by
kungtotte
6y ago
Go is aiming to be a slightly better C. If you look at it from a C programmer's perspective then Go streamlines the typical C control flow of error values by letting you return a value and an error code. It's not trying to revol
32.
▲
by
kungtotte
6y ago
Sure, you can't predict which way any given company will go in a situation like this, but my initial statement is still true. Minimizing costs and maximizing profits is always what companies do absent any external factors. Consider the
33.
▲
by
kungtotte
6y ago
100% of the time, companies will do what is either cheapest or stands to make them the most money in the long run. That's why you need regulations like minimum parking, otherwise companies would completely forgo parking if they could g
34.
▲
by
kungtotte
6y ago
The first rule would have index 0...
35.
▲
by
kungtotte
6y ago
Not to mention that a big tractor or combine harvester costs more than an average Ferrari or Lamborghini (unless you happen to buy a Lamborghini tractor I guess ;)). Looking now I could find a used New Holland combine from 2005 for $71000 U
36.
▲
by
kungtotte
6y ago
And even in that case it predates all the other languages except Python by almost a year (Python 1.0 came out in January 1994).
37.
▲
by
kungtotte
6y ago
Perl 5.0 was released towards the end of 1994. Python 1.2 was released in 1995. The first public release of Java as 1.0 was in 1996. JavaScript appeared in 1995 as well, but the first ECMAScript standard didn't appear until 1997. First
38.
▲
by
kungtotte
6y ago
No, I've never been to Denmark at all. That sounds really expensive. Not even Stockholm is that expensive (I live 60 KM south of Stockholm). If you go out to eat there at a normal place, it'll be more like 300-400 SEK (~280 DKK) p
39.
▲
by
kungtotte
6y ago
Eh, I live in Sweden and I make around that much before taxes and me and my wife could manage with just my paycheck if we really had to. That's with a mortgage on a house, two cars, and a four year old kid. I doubt the cost of living
40.
▲
by
kungtotte
6y ago
The problem isn't bias/partisanship. You can't have any one source be truly unbiased and if you're aware of the politics behind any given source you can neutralise it and temper it with multiple sources from opposite cam
41.
▲
by
kungtotte
6y ago
As a frame of reference we were quoted $160,000 USD to resurface two miles worth of residential streets, including ground work like changing drainage pipes and upgrading drains etc. This is in Sweden so YMMV, but we were quoted $80K per mil
42.
▲
by
kungtotte
6y ago
That doesn't always work out cheaper. The sanitation department here needed to replace 80 meters worth of pipes and first went to the in-house construction crew and was quoted a cost of 250,000 SEK (~$25K USD), then shopped it around t
43.
▲
by
kungtotte
6y ago
Doctors don't randomly perform surgery or prescribe medication to people on the street though (largely based on the colour of their skin), at least not very often.
44.
▲
by
kungtotte
6y ago
Their success is, I think, highly correlated to their mass testing campaigns. South Korea had drive-through testing facilities up within 48 hours of the outbreak, so they knew exactly how the virus spread and who to quarantine or not. Add t
45.
▲
by
kungtotte
6y ago
They've been working their asses off to make it work (immense kudos to all of our health care workers!) but we haven't once exceeded our capacity for intensive care patients, which is one of the critical aspects in flattening the
46.
▲
by
kungtotte
6y ago
C on Unix-like systems isn't so surprising. The K&R book devotes a large section to the Unix system interface for example, the Linux kernel is one of the biggest C projects in the world, and even when using a higher level language
47.
▲
by
kungtotte
6y ago
Let's say it's a small office then. If they have just one floor and someone with a service dog what's a reasonable accommodation for a potential hire with allergies?
48.
▲
by
kungtotte
6y ago
What happens when an existing employee has an ADA-approved service dog? Do they fire that person so the allergic new hire can come to work? Do they alternate weeks and deep-clean the office during the weekends?
49.
▲
by
kungtotte
6y ago
You can choose fair trade products over the alternatives, you can forgo meat entirely or mostly and be selective about where you source it, you can choose not to put money in Nestlé's pocket and you can choose not to work for Google. Y
50.
▲
by
kungtotte
7y ago
It also had a very different take on inventory management for the time: You could carry two weapons, and there were no reloads. So you had a submachine gun with most of a magazine left and a shotgun with two shells when you ran across a big
51.
▲
by
kungtotte
7y ago
> nimble install docopt > echo "import docopt" > test.nim > nim c test.nim Nim's package management isn't exactly rocket surgery. Even if you use nimble as a build tool it's still extre
52.
▲
by
kungtotte
7y ago
As long as it doesn't affect the health of the codebase or force the engineers to work overtime, why do the engineers care about what features get shipped or not? They're paid to code, so if they aren't sacrificing code quali
53.
▲
by
kungtotte
7y ago
I haven't written any Go, and only a little Rust, but it competes with both of them in a way. It's safe and GC'd by default, but you can trivially swap GC or you can run entirely without GC and do everything manually. It'
54.
▲
by
kungtotte
7y ago
I was looking at it from a perspective of who would be likely to install WG and set up their own VPN. This is me guessing (that's why I hedged and said probably), but I suspect there is great overlap in the tinkering and DIY attitude o
55.
▲
by
kungtotte
7y ago
Three of the top 20 list on distrowatch are Arch or Arch derivatives, including the number 2 spot. Its wiki is widely recommended as well for users of any distro. "Niche" is a bad way to describe Arch. It's probably more like
56.
▲
by
kungtotte
7y ago
I have no idea about how Doom Eternal does it, but John Carmack has some ideas on how to parallelize game engines here: https://www.youtube.com/watch?v=1PhArSujR_A&feature=youtu.be...
57.
▲
by
kungtotte
7y ago
I think most of the problems with globals can be solved at a language level. Immutable references to globals are practically never a problem, so if your language forced you to explicitly mutably borrow a reference to a global variable you f
58.
▲
by
kungtotte
7y ago
I'm convinced this kind of thing will become more common, because so many people use mobile devices as their primary/only computing device. They have very little concept of filesystems, directories, or even files. For them data li
59.
▲
by
kungtotte
7y ago
I don't think it's estimated at 500+kph, not realistically anyway. It took 12 years to go from 408 kph to 447 kph (current record) in the production road car speed record, I doubt they're going to jump 53 kph in the record ov
60.
▲
by
kungtotte
7y ago
He was underselling it. Unless you walked naked out into the woods and built your life entirely from found materials, literally everything in your life was at some point or another hauled by a truck. Everything. This is not a hyperbolic way
More ›