skysight-inc/HackerNews huggingface dataset:
>For it to be destroyed, you need to cause physical damage

However, I'd like to have redundancy. Backups. Library catalogs are quite critical when it comes to using the combined amount of information the humankind has amassed: It's critical infrastructure. We maintain also backups for things like seeds [1].

You would need just an automated machinery to create printout backups once in a while. It does not necessarily have to be exactly the same system as the old catalogs, just enough that something exists and is ready to use after the rare catastrophic failure.

[1] https://en.wikipedia.org/wiki/Svalbard_Global_Seed_Vault
If that is your desire, you already know not to use Go.

Personally, the idea of developing code that way for use in a server brings back many memories, mostly not good, so this is not a big problem for me.
RAM of the motherboard could also be in a circle or sphere

Cray did this back in the day https://en.m.wikipedia.org/wiki/Cray-1
Watchdogs 2 also runs surprisingly well on FX cpus, as seen in that benchmark. But one has to be careful with console ports anyway, Batman Arkham City for example would paint a very strange picture of PC performance (the port was and is a disaster)

But there are other valid examples, like Battlefield 1 in multiplayer. The 4 core era will end, and consoles might make that happen faster, but especially for 4K gaming I would not worry yet. Till gpus are fast enough to make cpu the bottleneck in those there will be a few more cpu generations to come. At least based on current performance and how gpus normally develop. We only just reached 60 FPS on high settings there, and that with the most expensive consumer gpu available.

But on 1080p and 1440p, that's a different story. Being more future proof for that development is one of the appeals of the Ryzen 5 1600 (6c/12t).
Do you think you'd have more of what you want if bargaining with your employer as an individual?
An Open Letter to Leaders on D&I
So you'd rather take a half-dozen, half-assed implementations of templates, macros, flaky cast-to-interface things and a bunch of incompatible weirdness rathern than a singular, reasonably effective pattern that's been proven successful over literally hundreds of programming languages?
Bigger words don't validate whatever point is being made.
It's weird, I see these complaints so often and I just.. don't.. get it. I'm not sure what I do differently, but I'm just so used to Go's method of non-generic that I don't run into frustration at all.

The only time I even notice it is if I have to write a method like `AcceptInt(), AcceptString(), AcceptBool()` and etc.

I enjoy generics in Rust, I'm just not sure what I'm doing differently in Go that causes me to not miss them.
I don't understand this comment - Python does what I'd argue to be the "right" thing, which is that operations which can fail raise exceptions that unwind the stack. If you don't care to handle failure in a particularly granular or graceful way (e.g., you're a command-line process, or you're a server process with lots of independent requests), you can have one large catch statement around all of your work, or even just use the implicit one around the entire program provided by the runtime.

Meanwhile, well-written C code does this the "wrong" way; every external call has to be done like

if (read(fd, buf, len) < 0) {
hopefully remember to free some things;
return NULL;
}

Why do you think explicit error handling is a Pythonic practice?
I think the parent comment was referring to Harvard/Stanford's need-blind admissions & full financial aid packages.
I am always feeling underpaid, so everything is supply and demand... enjoy the ride while it lasts..
Why wait?

Coroutines: http://www.boost.org/doc/libs/1_64_0/libs/coroutine2/doc/htm...

Fibers: http://www.boost.org/doc/libs/1_64_0/libs/fiber/doc/html/fib...
>Remember, technology is only good after it's old and been around for a while.

The funny thing about that is Facebook was good when it was new and has been getting steadily worse.
yes, sorry for the snark. It was more about, how does one go about spending $94MM in this day and age? And even after reading your well written post on AWS cost control, I still can't figure out how to spend that much money on a software biz other than given the lion's share to AWS. e.g. even if your engineers and salespeople cost (all in) $200K a year. $94MM = 470 person years of expensive staff.
It's already available. In the USA there's a efficiency rating called SEER which the federal government mandates new ACs must be at least rated at SEER 13. But if you want to spend the money you can buy ACs with SEER ratings above 25.
Qualcomm added recently some improvements for running deep learnning in mobile, and google is also working in mobile nets that use less operations. I don't think you will see TPUs or something similar in mobile soon, but there are other small improvements that are being done now.

Unless someone can put a huge battery in a small mobile, forget about running big (and good) networks in mobile.
I totally agree! If that's the case, there is a wonderful market opportunity here. People shouldn't be made to grudgingly put up with options they don't like - that's entirely why we have competition.

Maybe we'd find that the market is inefficient, which is why this website thrives despite its user interface (if we take as axiomatic that the user interface is really unenjoyable for most users). However, I'd happily bet that this is actually not the case, and that most users not only put up with it, they don't notice it.

I'll note (as a purely dialectic matter) that I do not agree with the idea that people can simultaneously dislike something and not be willing to spend money to enjoy it more, given that there are more enjoyable alternatives of the same utility and the users can afford it.
This comment seems a bit white to me. Just guessing.
If they're doing dodging/burning, then they could really use the processing on raw files instead of jpegs. The dynamic range is obviously limited when dodging/burning jpegs, as you can see from the flat clouds and blown highlights on the cows.
The strongest typed ORM I've ever used is http://diesel.rs/

This code (okay I made the use line up because it's not on the website and I'm lazy, you do need one though):

use some::stuff::for::the::dsl;

let versions = Version::belonging_to(krate)
.select(id)
.order(num.desc())
.limit(5);
let downloads = version_downloads
.filter(date.gt(now - 90.days()))
.filter(version_id.eq(any(versions)))
.order(date)
.load::<Download>(&conn)?;

is completely, statically typed, with zero runtime overhead. Generics + type inference makes sure that everything is valid, and if you screw it up, you get a compiler error (which honestly are not very nice at the moment).

Thanks to generics, all of this checking is computed at compile time. The end resulting code is the equivalent of

let results = handle.query("SELECT version_downloads.*
WHERE date > (NOW() - '90 days')
AND version_id = ANY(
SELECT id FROM versions
WHERE crate_id = 1
ORDER BY num DESC
LIMIT 5
)
ORDER BY date");

but you get a ton of checking at compile time. It can even, on the far end of things, connect to your database and ensure things like "the version_downloads table exists, the versions table exists, it has a crate_id column, it has a num column", etc.

You can absolutely create an ORM _without_ generics, but it cannot give you the same level of guarantees at compile time, with no overhead.
This makes me think about lending books during power outages.
hah. It's #1 "err", #2 "if", #3 "return", #4 "nil". :)

That must be because a lot of function calls are followed by:

if err != nil {
return err
}

https://stackoverflow.com/questions/18771569/avoid-checking-...
"Democratic" seems to be one of those words that's lost its meaning. I'm not sure it means much more than "I like this thing" now.
I don't think I've seen a Variant type in any language that doesn't store some form of type information at runtime (unless you count C void pointers, which I don't), and "any decent static type system" incurs no runtime overhead in the common case.
Yea, I get that, unless you were in on client negotiations you probably wouldn't be aware of the details unless someone told you.

And it is always possible they had it built into the contract terms or were just being shady. In which case I would think they'd try to keep it quiet.
> I don't think you would have a library for long if people were constantly holding candles close to large sets of cards.

Worked OK for 400 years or so. Newspaper archives, too.
I've typed catalog cards. I've maintained a card catalog by hand. My memories aren't nearly as fond as the book review author's. An IBM Selectric is at least still somewhat familiar to me.

I haven't been a proper librarian in years. I miss it. We have a reading comprehension problem in the USA as of late. There are not alternative literacies but rather we gave up on the basics. Literacy should be universal yet isn't.
Radiohead hides 8-bit secret message in the remastered version of OK Computer
Most RV's use this combo for the fridge. They don't seem to explode but there does seem to be a number of fires.
Yes, constantly increasing energy consumption by a fixed percentage per year projects out to physical absurdities like boiling the oceans or needing to expand colonies throughout the universe faster-than-light. But Tom Murphy is employing a straw-economist ("Note: because I have a better retention of my own thoughts than those of my conversational companion, this recreation is lopsided to represent my own points/words.") to make a point. I thought that was one of his weaker blog entries and I was a regular reader of his blog.

The Earth radiates a finite but not fixed amount of energy into space every year. Radiated power goes up with the 4th power of absolute temperature (modulated by greenhouse effect). The effects of increasing the greenhouse effect from fossil combustion are much greater than the direct waste heat from fossil combustion, because the greenhouse effect slightly amplifies the warming effects of the ~10^17 watts of sunlight reaching Earth's surface. Fossil combustion directly accounts for ~10^13 watts of terrestrial heating. Note the 4 orders of magnitude difference.
I recommend Meditations by Marcus Aurelius.
There's nothing ideological in saying this isn't sustainable:

https://fred.stlouisfed.org/series/GFDEBTN
Most home AC units in the US are single-stage, where they're all the way on, or all the way off. You can pay more for a two-stage unit, which has low & high operation. But in other countries, VRF systems are more popular (variable refrigerant flow) - they operate their fans & compressors at speeds which match the demand, and so use less electricity. And are quieter.
Some of it can come from social engineering instead of HVAC technical breakthroughs -- automated thermostats like the Nest, hand-held body-coolers like

http://news.mit.edu/2013/madmec-design-competition-1017

Better summer clothes will help too. I've been pretty impressed by advances in cooling undergarments that are designed to wick away moisture and encourage air flow.

Anyway, all of these seemingly unrelated things contribute to improved AC efficiency.
Why not become a member and organise for negotiations on those things that you would like?
That's not the same thing. It has new (terrible) illustrations
It's been mentioned elsewhere in this thread, but if you run your refrigerant loop through the ground instead of cooling it using the hot ambient air, you can absolutely achieve that improvement in efficiency. The concept is described here:

https://energy.gov/energysaver/geothermal-heat-pumps

The amount of efficiency increase you get depends on the ground temp, which varies by latitude, but I've seen 70% reductions in electricity usage quoted for systems installed in North America.

A side benefit is you no longer have a big, loud heat exchanger running on the side or top of your house. The pump unit for a ground loop can sit inside your garage, it's about the size of two mini-fridges and only emits a quiet hum.

Sidenote: When I bring up ground loop air conditioning in conversation with people, no one has ever heard of it. The technology has a marketing problem. That makes sense in states where electricity is cheap, but in places like California I'm surprised the state hasn't mandated them for new installations and offered tax breaks to give it some momentum.
It's sad that some of the same companies that have shown their support of net neutrality also support the adoption of EME. What's the point of an open internet if we have a closed web?
The questions are selected in a random order from a larger set, so nobody likely saw the same questions or order as you.
I'm finishing consider phlebas now, it's awesome. Can't wait to dive into others in the series. Any suggestion on what to read next?
We need a corresponding article telling us how many power plants we can avoid building by not mining Bitcoin. I love the general idea of cyber currency / bitcoin / block chain, but I hate that the implementation requires so much energy.
I'm the founder of itch.io which was mentioned in this article, if you want to find plugin-less web games then you can you go to the appropriate page: https://itch.io/games/html5

I realize that that link may have been a little hidden so I put that link into the homepage & sidebar of browse pages.

I think it's interesting how we've accumulated so many games that are dependent on a plugin. I'm looking forward to JavaScript implementations of these things in the future that will enable us to convert them over to HTML5. The good news is that these games are sitting in our database not going anywhere, so when the time is right we can make them easily available again. (classic Unity plugin games are the biggest offender right now, we have quite a few: https://itch.io/games/unity)
It's worth noting that in case of C#, it's really an implementation detail. It could just as well share all instantiations by boxing and adding a bunch of runtime checks - the language semantics wouldn't change because of it.

In C++, on the other hand, separate compilation of template for each instantiation is effectively part of language semantics, because it has numerous observable effects.
Any code that declares variables in the middle of a function, // comments, or varargs macros is using C99.
On it's face, that's not a terrible argument. But consider the "bet" you are making: spend like $1T on a habitable structure large enough for a good community, and then ~1B per year to operate it, in the hopes of "serendipity".

How many materials scientists (and their families) would want to live in orbit, or on the moon, in harsh, cramped conditions, with limited tools and resources?
I must say that whenever there is a discussion about the merits of the Go programming language, it really feels hostile in the discussion thread. It seems that people are seriously angry that others even consider using the language. It is sort of painful reading through the responses which implicitly declare that anybody who enjoys programming with Go is clueless.

It also really makes me wonder if I am living in some sort of alternate reality. I am a professional programmer working at a large company and I am pretty sure that 95% of my colleagues (myself included, as difficult as it is for me to admit) have no idea what a reified generic is. I have run into some problems where being able to define custom generic containers would be nice, but I don't feel like that has seriously hindered my ability to deliver safe, functional, and maintainable software.

What I appreciate most about Go is that I am sure that I can look at 99% of the Go code written in the world and I can understand it immediately. When maintaining large code bases with many developers of differing skill levels, this advantage can't be understated. That is the reason there are so many successful new programs popping up in Go with large open-source communities. It is because Go is accessible and friendly to people of varying skill levels, unlike most of the opinions expressed in this thread.
Ask HN: How do I protect buckets in Google cloud storage?
Using a google cloud storage bucket to store some images that will be served to customers. From the google cloud platform console, it seems that it's very easy to delete a bucket - even if it has some objects in it. Just by selecting the bucket, hitting delete, and confirming. I can't find anything about strategies for backing up or securing these buckets. Any tips? How do you secure/backup your gcs or s3 buckets?
Stronger social safety nets have historically been built by unions
If you're in the US, you can likely save much more than 30% today by replacing a central air system with a ductless mini-split style system. These are already dominant in the rest of the world, however.
The issue in cooling preferences is that if it is too cold, people can wear sweaters or even bring space heaters. If it is too hot, there is not much you can do. I think this problem is exacerbated by open office plans. If you have private/semi-private offices, you can probably do a much better job of controlling local temperature.
The Shin Megami Tensei and Persona series just might be the "Carmen Sandiego" of demonology.
Nope. Add household debt, state debt and obligations, muni debt... its a sinkhole.
There was a precedent in Haskell land: https://twitter.com/bos31337/status/116372971509121025

A more modern implementation: https://github.com/munificent/vigil
Great news for NVidia.
Not quite. The article mentions that Go 1 code needs to be able to coexist with Go 2 in the same codebase.

So, at runtime, Go 1 code needs to be able to work with Go 2 types. That will impose some restrictions, I imagine.
Growth Busters
HypoReality – Designing for Less
> Gender is supposedly a huge factor in temperature preferences

Source?
An uncontroversial (perhaps the only uncontroversial) goal of redistricting is to make the population of the districts in a state as similar as possible.

Conceptually, I like the idea of having a test for excessive unfairness; states can do whatever they want to deal with their special cases as long as the result is reasonable.
Freenode Live Call for Proposals and early bird tickets launch
I spoke with an HVAC guy over the weekend about just this topic. He said about 4 yrs ago, the state of CA required all new construction to have ducting that goes to and from, each room in a house. So when Jr. goes off to college, you can close the door and not send cool air to his room. I think he said it's something like 30% more efficient? But don't quote me on that.
The controller is already built into the cpu, and cost increases aren't linear like that at all when scale is factored in, especially considering packaging and assembly overhead.
Well, the efficiency of a heat pump/refrigerator is limited by Carnot's theorem. Essentially it boils down to the difference of the outside temperature compared to inside temperature. With an indoor temp of ~72F and outdoor ~90F the maximum efficiency is a COP of about 30. Current AC units are in the 2 to 4 range. So a 30% increase doesn't seem impossible that low on the efficiency scale. There was a recent similar jump in efficiency when the US raised the minimum SEER standards for new systems from 10 to 13.
I don't know. It seems the number of issues in each of those products more or less reflects their size. The fact that PHP comes with a huge builtin function list thanks to bundled extensions is IMHO penalizing it. It would be interesting to match the number of issues in each product with the number of SLOC - possibly excluding comments - I'm sure we'd have a more level playground (assuming they're all mostly C/C++).
You can still write a GC in Rust and use it for those types.
I got 11 of 15, but I can only write competently in maybe 4 of them (JS, Java, Python, PHP).
Most are WordPress, and it's not like WordPress has had a smooth development history... It's one of the most-exploited entry points into a server. That's why anyone running a server for long enough will see tons of hits to their access logs looking to /wp-admin and other WP-specific URIs.
Linux is definitely not on ANSI C, and CPython is on C99 starting from 3.6.
Starbucks has a bug bounty program, and they do actually pay out. https://www.starbucks.com/whitehat
Yes, and it's too late to change now, thanks.
Yeah. Even if you don't believe in unions, unions are necessary to force the hand of government. Bismarck instituted a welfare state in Germany to undercut the popularity of socialism and the left. You need unions to get to a stronger safety net, even if the powers-that-be are establishing it in opposition to them.
Postcart – Post it . Sell it
People in the US consume way too much air conditioning. It's pretty common where I work for people to have sweaters to put on inside due to the AC. Outside it's in the 80ies, with something like 10% humidity in the summer - absolutely perfect unless you're doing hard labor in direct sunlight.
// If your build is gonna take a minute ...

Same applies if you read a tutorial post while you wait your build to finish ?
I'm pretty disappointed in the numbers they chose for a vegetarian diet. It feels to me as if they actively went ahead and picked to lowest values they could find in their source. (Btw the source itself is a good read imo: http://www.drawdown.org/solutions/food/plant-rich-diet)

You could argue that people are not willing to go vegetarian or even vegan - but at least level the numbers when comparing it with other solutions: If everyone would go vegetarian, their source states 132 gigatons of CO2 reductions.

I also liked this quote from the report:

> As Zen master Thich Nhat Hanh has said, making the transition to a plant-based diet may be the most effective way an individual can stop climate change.
>If the electricity is out for a very long time I imagine that's not isolated to the library and people will have much larger problems to worry about.

Well, yes. But a library rendered unusable is also a major problem, in the long run. And especially if it's not just the local library, but all of them in the country?

I would probably need to read the book in question to be able to do Fermi estimates on what kind of amounts of paper and space the old system would need. But if one already has the "this is a backup system for very rare, very worst-case events, not for active use" viewpoint, one is free to do changes and optimizations. For example, miniaturized analogue backup from which the full-blown card system can be reproduced if the need arises.
You have to rely on compiler's implementation -- you can't implement a kernel in pure C unfortunately, you need to do some things "outside" of C.

In practice, most supporting of the kernel has come about by clang implementing things how gcc do them anyway.
Yes. There is of course still a negotiation of benefits on top of the standard contract, I'm not paid minimum wage. If I could remove some benefits I don't need from my own, personal contract this would give me leverage to get something else in return. A slightly higher wage if nothing else.
Restore Development Environments for Maintaining Legacy Apps
I actually saw an installation in a new apartment. After seeing that, I much preferred central AC. One of the nice things about the US style central AC systems, is that the bathrooms are comfortable. In the split style system, a few rooms (bedrooms/living room) may be comfortable but other rooms (such as bathrooms) are miserably stuffy.