Better HN
topnewbestaskshowjobs
Log inSign up

slashdev

17,493 karma · joined May 14, 2013 (13y ago) · 5,498 submissions

Founder of revscope.co

Revenue focused web analytics to help you quickly identify where to focus your effort to best increase revenue.

And embersofvictory.com

Retro turn-based strategy game.

Submissions

comment 8y ago · link · parent

Indeed, that's how youtube, twitter, and facebook use MySQL, among others.

comment 8y ago · link · parent

Lies, damn lies, and benchmarks. Using default configuration invalidates the result at best, at worst it's knowingly misleading.

Why? Because nobody who cares about performance runs their database with default configuration. Plus some databases, like PostgreSQL are well known to have very conservative settings. So benchmarking with the defaults like that is knowingly trying to make your product look better than it is. You didn't know? Then what are you doing benchmarking databases?!?

Seriously, this is shady as hell.

comment 8y ago · link · parent

This is smart, decreasing the hurdles to contributions will inevitably result in more contributions. Economics 101. And I don't think it necessarily follows that they will be lower quality either, maybe for first time contributors, but we all start at the same place and have to learn. More first time contributors will also lead to more repeat contributors.

comment 8y ago · link · parent

What is a good source to read more about that?

comment 8y ago · link · parent

You missed the headline apparently since you were commenting about the dangers of sucking too much carbon dioxide from the atmosphere. Clearly if it's carbon neural there's no danger of that happening.

Trees are also carbon neutral since they either burn or decompose and return the carbon to the atmosphere. But over much longer timescales than fuel - so they could still be useful in combating global warming (despite what some people say.)

comment 8y ago · link · parent

Obviously they have to put in more energy than they get out as per the law of conservation of energy. This is really not likely to compete well with batteries and EVs in terms of efficiency. Its only useful if the government distorts the market with incentives or where the energy density of the produced fuel gives an advantage over batteries (maybe if they produce jet fuel for planes?) I'm dubious that this could ever work for vehicles more efficiently than batteries.

comment 8y ago · link · parent

It gets burned and goes straight back into the atmosphere. It's carbon neural, not carbon negative.

comment 8y ago · link · parent

Experienced Go backend developer $90-$120/hr ($14.4-19.2K/mo) FULLY REMOTE full-time contract (US and Canada only)

This is a contract position good for at least 5 months, but most likely a year or longer. You’ll be working 40 hours a week for Victorias Secret doing Go microservices. You should be willing to be onsite for the first two weeks (expenses paid), after that this is a fully remote contract. Remote work experience is a plus. You need to be self-motivated and able to work with minimal supervision.

Email dan@closetothemetal.com with an answer to: what is the purpose of this line of code? var _ io.Writer = (*myStreamStruct)(nil)

Include your resume and your github if possible.

comment 8y ago · link · parent

Yeah, it's really 2 4k screens in picture by picture mode making them 4 individual displays to the computer, with 4 cables. I find that gives me more usable real estate than 2 4K screens because of the way it's easier to maximize windows and place them side by side.

comment 8y ago · link · parent

I'll add HAMT and tries to my reading list, thanks.

comment 8y ago · link · parent

No, it's a proxy for intelligence and higher forms of conscious awareness. There's no such thing as right to live for non-humans - if the world stops eating pigs, how many do you think would be alive? That applies in nature too where survival comes down to fitness and luck. But the higher the life form, the more human-like it is and the more humanely we should treat them. Ants get different dispensation from cows, and cows from dogs. Dolphins and elephants should get better treatment still, but this is not currently the case.

comment 8y ago · link · parent

Pigs are smart too. I don't know about on the same scale as elephants though. Elephants are also very social and long lived.

comment 8y ago · link · parent

I had no end of issues with Nvidia cards on Linux, I had to buy a ridiculously expensive AMD GPU (thanks crypto miners!) which has since been rock solid. I needed monster card that can drive four 1920x2160 displays, and the liquid-cooled fury didn't dissapoint (plus it's nice and quiet.)

comment 8y ago · link · parent

I would use the memory address, if the GC is a non-moving collector. With a good hash function it should be fine. However, given most GCs are moving, including V8s, I can see why they chose the implementation they did.

comment 8y ago · link · parent

My understanding is you can't tell order using this trick. I guess the bitmap is just an optimization to skip the hash lookup? Order doesn't matter for you?

Something I came up with is packing the pointers/values into a contiguous array and using the bitfield to tell not only if it's present, but what offset is at (mask + popcnt) * size of(value). This eliminates wasted space due to unused buckets in the hash table. I'm sure it's been done before, but I haven't seen it anywhere.

How's your Go? Want a remote contact doing Go microservices that pays very well? Email is in my profile.

comment 8y ago · link · parent

Transactions? Crash data safety? SQL queries? Portability?

comment 8y ago · link · parent

That's interesting, although as those sources indicate, the pay gap increases with age so that by the time women hit their mid thirties they're substantially behind men in compensation (for the same work.) It's an improvement to be sure, but I wouldn't go so far as to call the problem solved and say that women aren't still a disadvantaged class, when it comes to compensation.

comment 8y ago · link · parent

I've heard there's an app for that in the US, you drive with it for a week or two and then they adjust your premiums according to how you drive. That would be a more fair system. We're not discussing that though, we're discussing the current system vs one where insurance companies can't discriminate on the basis of gender - clearly that advantages men unfairly and disadvantages women unfairly. Yeah the system is still unfair the way it is, but this change would make it more so.

Women graduate from college more often, but college is not what it once was - I'm a college dropout and I'm sure I earn more than most graduates (plus I don't have the debt.) Women still earn less than men. Your claim that they earn more is just false.

comment 8y ago · link · parent

And this observation is downvoted because? It's just stating obviously true facts as far as I can tell.

edit And then I get downvoted for sticking my neck out. Let me break the parent post down.

It asserts that charging genders equally will shift more burden to women. This is clearly true because premiums are higher for men because we have more accidents (so much for all the female driver jokes).

It also asserts women were a previously disadvantaged class. Also clearly true.

So to the downvoters out there, you might have found something disagreeable about the parent post, but you're wrong and he's right.

comment 8y ago · link · parent

No shopping carts? Maybe for a convenience store that's ok. I shop at Costco without a car, and I bring two large carry bags. But I don't carry them around inside the store unless I'm just buying one or two things. I buy a lot of heavy things (oh god those watermelons, never again.) And I don't want my arms getting tired in the store. It's bad enough for the 1.5km I have to walk back to my place.

comment 8y ago · link · parent

That's certainly true of other animals, and historically true for humans as well. See the population boom in Europe after introducing super foods from the Americas (potatoes, corn) which enabled calories grown per acre to double. However, in developed nations food is only one part of people's expenses. Food would be cheaper if there's more land available, but it won't get hugely cheaper, because it still has to sell for more than what it costs to grow it. Also much of the land used for livestock grazing is unsuitable for farming - too arid or poor soil. I don't think at the end of the day it would affect people's decisions about how many children to have in any material way. The other considerations around having children would dominate the decision making. Even unrealistically large changes to the cost of food would not likely factor into the top 3. The developing world is another story all together, but those countries are changing and will eventually more closely resemble the developed countries. Any affect on those countries would be short-lived (but still encompass multiple generations, which could have a huge effect on world population.)

comment 8y ago · link · parent

It depends I guess on how you do your homework and how long you hold the stocks for. Warren Buffett style long-term value based investing vs speculative day trading for example.

comment 8y ago · link · parent

How does Prisma cause your backend logic to move into the database? I don't believe you need to add stored procedures to use it, you just write GraphQL resolvers for nodejs as per usual.

comment 8y ago · link · parent

Because the polluted air stays in your country? Anyway afaik electricity export is not a huge businesses internationally compared to domestic consumption.

comment 8y ago · link · parent

I don't think this is a popular opinion at all, so thank you for expressing it. The shouting down of unpopular ideas drives me crazy - all progress is based on unpopular ideas. I think if you do a risk analysis weighing the cost of not having nukes in the face of an alien invasion, vs the threat they pose to ourselves - I think the smart money is in getting rid of them.

Remember also that nukes may not be that effective against an interstellar civilizations and the technology that implies. Almost certainly useless against the point defenses a ship that travels at a fractional percentage of lightspeed would need for targeting and deflecting/destroying small space debris. On the Earth itself it should be suicidaly useful, but if the aliens feel we're a threat to them on the ground they can simply sterilize the planet from space.

Bottom line, if we're visited by a hostile alien race, it's likely to be game over - even with home field advantage.

comment 8y ago · link · parent

In analyzing this, it doesn't matter what something purports to be, it matters what it is actually used as. By and large bitcoin is a digital commodity, not a currency. That may well change in the future, but that's not relevant to the analysis.

comment 8y ago · link · parent

Because bitcoin and tulips have nothing in common? Bitcoin is a commodity, tulips are a commodity. Tulips went through a particular phase of hype with a famous bubble (and crash). It's not irrational to look at bitcoin through that lens. Bitcoin might be new tech, but commodity markets and the human psychology and greed that drive them are old as dirt. Those who ignore history are doomed to repeat it.

comment 8y ago · link · parent

This is assembly, not pure Go, but it doesn't use CGO which I probably what they mean.

Intel Cannon Lake processors will support the SHA instruction extensions (currently available only on Goldmont). It will be interesting to see how that compares with this approach of running 16 SHA computations in parallel. You would be able to get rid of the scheduling overhead of having to first queue up 16 SHA calculations from other threads.

4769.

Cloudflare has a plan to never censor again(arstechnica.com ↗)

36 points · by eloff · 9y ago · 11 comments

comment 9y ago · link · parent

Thanks for sharing, that was good for a laugh.
1
158159160
184