skysight-inc/HackerNews huggingface dataset:
Deus Ex human revolution suffered not from wrong stuff being created, but by lack of budget and time.

For example the game was supposed to have 4 hub levels (with 5 being considered once). It was going to be Detroit (that they seemly wanted bigger), Lower Hengsha (in-game as intended) Upper Hengsha (they built the city, but could not put content in it, so you see it as background art when you are inside a building that is located in Upper Hengsha), Montreal (they had to cut it off completely and in a so unexpected way that they had to do some storyline mucking-up to explain how the character get in the newspaper office in Montreal)

They considered once adding a Indian city, but that was only consideration (different from Montreal, that was written but not made in 3D, and Upper Hengsha, that was made in 3D but had no content)

They also cut lots of other random stuff, and the game kinda shows, there are lots of places that is unclear why you can't go there, or why there are some plot holes here or there, also the boss fights are obvious (and broken... since I was doing a stealth playthrough I could only win by using bugs, except the first boss, where my klepto tendencies led me to having a crazy amount of explosives...

the server-room boss I only won after the boss collision had a bug and the boss got stuck in a wall, allowing me to shoot it without retaliation, mind you, it still took 2 and a half minutes and almost all ammo in the room to kill the boss, not nice... there was that boss you can win with a knockout move, and the final boss that you could skip the entire fight by abusing a certain weapon (although probably not intended by the devs, that one they should NOT fix, because it makes perfect sense)
Семейный день под курочку
The biggest thing that swayed me to stick with (and optimize/customize) Prezto was the fact that most of the systems I work with have zsh, or a relatively modern version of it available in repos. Can't say the same for fish.
4 Traits Entrepreneurs Actually Should Have but Nobody Ever Talks About
This one isn't expired though (June 2015). Either they cheaped out, or misconfigured, or there's some kind of MITM attack going on.
Everyone uses Java/C# and Oracle, why choose something else?
Google fires first volley in new cloud pricing war
Determining the radiant of a meteor using Graves radar
I've heard this "spoiler" point before, but it fails to understand why people don't like trigger warnings in the first place.

Triggers are an excuse to avoid hearing, thinking or discussing uncomfortable ideas. Spoiler warnings are for people who want to savor the experience on their own time. Two preemptive warnings to bail out of a conversation, but for almost opposite reasons.

In this post Enlightenment era, the sharing and discussion of ideas is sacrosanct. Giving someone an Out rubs people the wrong way by violating such a fundamental principle. Discomfort is not an excuse.

So it's exactly the frivolity of TV that made society embrace the spoiler warning. But not without some "this is really stupid" consternation. Given some "everything else being equal" reasoning, and the fact anyone taking the warning will watch the show and be ready to talk about later, spoiler warnings became a thing.
Fish not being bash compliant was a deal breaker for me.

I use zsh with https://github.com/zsh-users/zsh-syntax-highlighting zsh fish like syntax hilighting and am much more happy.
It's not so much a matter of deciding it's ridiculous. It's that the numbers for the mining part are off by several orders of magnitude.

For that to work at all, they'd have to have some technology that revolutionized bitcoin mining at the most fundamental of levels, and they haven't indicated that they do.

That's what's so weird about this.
Fish is great. For those wondering what advantages is has over zsh+ohmyzsh, I can say is that by default it provides most the functionality you want without having to install/tweak anything. Git support is built in (you get a nice git prompt) there's syntax highlighting, amazing history completion, predictive commands, man page completions... and so on.
To try it on linux, just install fish and then run "fish", to get back to to bash/zsh just "exit"

Only problem is it's not POSIX so there is some weirdness in command substitution, logical operators and stuff. So you still script in sh.
2.2 beta 1 was released last week. Testers welcome!
Show HN: Blockchain Certification Protocol
Have any successful petitions on whitehouse.gov resulted in actual productive action, or are they simply additional topic generators for the administration's speech writers?
Out of curiosity: what made you give up on Bitcoin? (I'm still bullish on crypto-economies in general, but am concerned that the electricity costs of PoW creates a downward price pressure that's unsustainable.)
Klein's thesis is actually that the conditions weren't always there, they were that the conditions were set up by the Reagan tax cuts, but there was about a 10 year delay between the conditions being set up and the trigger.

Specifically, he argues that pre-Reagan, it wasn't worthwhile for CEOs to bother to try to get higher pay, because the high tax rates meant it mostly went to the government.

I do wonder whether Klein also feels that, say, higher capital gains taxes would mean falling investment because investors wouldn't bother chasing returns if the majority of them went to the government.

I also find it unimpressive for Klein to talk about 90% top marginal tax rates and then say that Reagan slashed tax rates. Just to be clear, 90% marginal taxes: 1951-1964. Reagan tax cuts: 1981. Between there: 70% marginal taxes. Does tripling the take-home pay of top earners (from 10% of nominal salary to 30%) not provoke any changes?

Finally, what's the word for "post hoc ergo propter hoc," except even lamer because it's not just post hoc it's way way way post hoc? Like, if I don't like 1916's establishment of National Parks, can I claim that they are responsible for overgrazing in the 1980s and it just took a while for norms to be overcome?
There is a not-so-nice but very effective trick: Send the process you wish to check for a signal of '0' (using kill(pid, 0)), if that fails the process no longer exists.

This is kind of nasty in case your pids tick over very fast so you'd have to do this with a fairly high frequency to make sure you don't hit the same pid twice.

Fortunately this is hardly ever a problem but it is something worth thinking about when using the trick.

See also:

http://unixhelp.ed.ac.uk/CGI/man-cgi?kill+2

No actual signal is sent, it's just asking the kernel to check if the signal could have been sent.
Observables and Data Flows in Angular 2.0
Once a language is “good enough”, the only thing that matters is the community
What does guake count as, then?
Inclusivity in Tech
Sure the AI was scripted, but there were a lot of scripts - more than in many other games (DX1). One can enable the developer menu in DX1 and try out different AI script states, very interesting as it shows how many possibility to walk through the game are really implemented - a lot!

The debug/developer menu of DX1: https://tcrf.net/images/2/2b/Deusex-legendmenu.png

More info: https://tcrf.net/Deus_Ex

Far Cry 1 had a great and very extensive game AI, all done in Lua script. On the other hand the AI in Call of Duty is basic and a lot of scripts make it look like a Hollywood movie (almost rail shooter).
Hrmmmm good point. Not one that applies to me particularly since if I'm on a server then I'm usually only running pre-written .sh scripts.

(edit: this was a reply to the post below.. not sure how I messed that up.. gah.. such a noob)
I don't think anyone knows a solid definition of purity. It certainly refers to at least two things (1. independence of order of evaluation, 2. no side effects) and informally speaking we often "know" what it is in a particular context, but writing down a formal definition is very hard. I'm certainly not satisfied with Sabry's definition. I don't like the idea that you have to have both a strict and a non-strict evaluation for your language.
Nice. A bunch of friends of mine play Minecraft, but I never really got into it. So I decided to look into the protocol, and coded a chat-only minecraft server in dlang, which the Mojang client can connect to. (I never released it, even though I meant to as OSS)
Blockchain Technologies Giveaway Cryptocurrency Hardware Wallets
That's an interesting question, now you've made me think about it. Let me write the same program in ALGOL 60 first, which would have been considered an imperative language and was relatively "close to the metal" to our standards:

integer procedure Fib (n); integer n;
begin
if n = 0 then
Fib := 0
else if n = 1 then
Fib := 1
else Fib := Fib(n-1) + Fib(n-2);
end Fib

Besides the obvious differences in syntax, I'd say that the procedure/method/function/subroutine is the same. Still, a more fundamental difference is the "distance" from the machine. In ALGOL 60 we almost see through it the implementation in machine code / assembler (or whatever mix between the two were actually used in those days) where a call to a subroutine meant mutating state: the calls, their arguments, and the results had to kept track of on the stack. For ALGOL 60 programmers of the time, their operational understanding of this snippet and ALGOL was imperative.

Compare that to Ruby in its modern context. Implementation details have been abstracted away in both language and in programmers' operational understanding of how the example and Ruby works. If I use and understand a machine that speaks Ruby—a way to look at using a programming language is to imagine a machine that has that programming language as its machine code—, there's no mutation, only a variable sequence of calls to fib written succinctly in a recursive manner. How's that different from functional programming? To be honest, I don't know. Maybe we should start interpreting "imperative" and "functional" differently than our predecessors did. Or, maybe these distinctions are getting less and less meaningful the more abstract a language or computing environment?

(As an aside, it is also interesting you use "accumulated", as for most ALGOL 60 programmers the accumulator in the arithmetic unit of their massive computers would take a prominent place.)
Using Chakra for Scripting Applications Across Windows 10
Testing AngularJS services that use $resource
GPU's are parallel, which means they are better if you perform the same operation multiple times. GPU's also are better optimized for floating point arithmetic, but not always integer arithmetic.

This makes sense since GPU's are optimized to calculate graphic-related things, which is often a bunch of floating point operations.
And for those who truly only need it now and again, it's great.

But time and time again I see infrastructure where people pay for these services for large amount of instances that are running continuously, blindly assuming that it's cheap because it's cloud. There's a bizarre level of price-blindness amongst certain subset of customers of Google Cloud and AWS that I've never seen anywhere else.
thoughtful article
The problem is that bash syntax for anything beyond the basics is awful and error prone. It's really hard to make significant progress while still being bash compliant.
I happen to agree. What's he's saying is more of a null hypothesis than an attempt at explanation. Because he doesn't actually quantify the social norms thing, it feels like a catchall for "nothing specific in terms of supply/demand".

If you look at supply, in any company there's a bunch of juniors who could (and often do) step up to the top job. There's no reason to think that companies suddenly suffered a drought of CEO candidates. Are there more companies that need a CEO? Maybe, but it's hard to see it explaining a 20-to-300 increase in salary ratio. Is it because competition gets tougher, so you need the best CEO? Maybe, but profits are also rocketing during that time, suggesting it wasn't so hard to make money after all.

If you look at how the S&P performed, it looks like there's a correlation, so probably some of it is due to option grants and such. But we're still trying to explain a huge gap.

One important thing he mentions is the scope: the Anglosphere. In fact, it's true that CEO pay is more restrained where people don't exchange as many ideas with the Anglos.

If I were to point at one thing that is in common with football, it's star worship. CEOs these days are not just professionals putting in a good shift, they're gods doing the impossible. And getting paid accordingly.
It seems more cost effective to just use batteries
> Deus Ex human revolution suffered not from wrong stuff being created, but by lack of budget and time.

Isn't that true for ever game?

Deus Ex 1 also was planned to be a lot bigger. The Design documents of Deus Ex 1 and all the parts that were never in the game (like the White House level): http://www.nanoaugur.net/dx/bible/

What's so sad is that the game design team of Deus Ex 3-5 has forgotten or never read the game design documents of the first two games.
What did Amazon move to? I wasn't aware they moved away from a Dynamo model.
Perhaps power density could be "fixed" by padding out the circuit to take more area. This would obviously increase cost, but probably less than changing the overall chip design.
Another weirdness about signalfd: read() from a signalfd returns signals for the calling process, regardless of what process created the signalfd (e.g. it could have been inherited through fork()). That's arguably usually what you want, but is inconsistent with usual file descriptor semantics, which say that it doesn't matter who read()s.

One place where the inconsistency gets weird is when you use signalfd with epoll. The epoll will flag events on the signalfd based on the process where the signalfd was registered with epoll, not the process where the epoll is being used. One case where this can be surprising is if you set up a signalfd and an epoll and then fork() for the purpose of daemonizing -- now you will find that your epoll mysteriously doesn't deliver any events for the signalfd despite the signalfd otherwise appearing to function as expected. That took me a day or two to debug. :(

With all that said, at the end of the day I disagree with Geoff. I would rather use signalfd than signal handlers. The "self-pipe trick" is ugly, involves a lot of unnecessary overhead, and runs the risk of deadlocking if you receive enough signals to fill the pipe buffer before you read them back (which can be solved with additional synchronization, but ick). In fact, in my own code, on systems that don't have signalfd or any similar mechanism, I tend to block signals except when I'm about to call poll(), and then siglongjmp() out of the signal handler to avoid the usual race condition. (See pselect(2) for discussion of said race condition.)

I think it's just a fact of life that you need to clear your signal mask between fork() and exec(), and yeah no one does this, whoops.

BTW, for the specific problem of dealing with child processes, I really hope Linux adopts the Capsicum interface as FreeBSD has:

https://www.freebsd.org/cgi/man.cgi?query=pdfork&sektion=2

Until then, you simply can't expect to reap children via signals. You use the signal to let you know that it's time to call wait().
Just noticed that AWS gives you 12 months of Free Tier access on a lot of their services. As a dev who's been aware of Amazon Web Services for a long time it may be finally time to get into use Google Cloud or AWS. If you've been hesitant about the costs of deploying and working in the cloud, this heated competition is fantastic.
I used Fish for about of year. But I ended up recently switching back to zsh. Stock Fish is far more useful than stock zsh. However, the community around zsh is far more active and I found that most of the functionality that Fish contains and zsh lacks that there are plugins to achieve the same effects.

I'd encourage you to check it out. The scripting language in Fish is the best I've ever used for a shell. But it's also incompatible with Bash/zsh.
Here is the text of an email I sent a relative when they were looking for WP development. This is the part about hosting.

"The dev sounds pretty sharp. About the hosting ... it's great they want to offer a one stop for the development effort, but keep in mind a few things:

1) If you discontinue your relationship with the developer, it might be difficult to "take your site" to another host if your agreement includes hosting.

2) The developer might be a reseller for a hosting company, which is usually ok. Try to find out which hosting company it is and let me know. Some hosting companies are better suited for the sales you are trying to drive versus an informational site.

3) Find out if the developer is responsible for regular maintenance of the back end (web server serving pages and security updates to the operating system). "
I think there's an important distinction between operational/infrastructure/support issues and development workflows and ease of use. While Perforce itself might be a beast to support from an Ops perspective it may provide enough positive benefits to the developers that it's well worth the trade off.
That's true, but those are extreme niche use cases, and in most cases people have a substantial base load that they can run on dedicated servers for anything from 1/2 to 1/3 of the cost of AWS/Azure/Google (even with reserved instances and factoring out retainers for someone to handle ops issues).

Nothing stops you from mixing and matching dedicated servers with handling batch jobs and peaks with cloud servers. In fact, most data centre providers can offer the full range from unfurnished colo space to cloud offerings out of the same data centre these days - either directly or via partners hosted in their buildings. At least that's my experience.
The door handle control module failed (apparently a common fault with the model S). But Tesla sent a technician over the next morning and fixed it in two hours.

Nice.
Kind of off topic, but how much did do.com cost? I understand if you can't share this, but if other people have purchased domains of similar status I'd love to hear about how it all went down.
Fish breaks compatibility with traditional shell languages. The syntax is a bit different, the variable expansion rules are a bit different, etc. It also gets rid of a bunch of features and configuration options, such history expansion ("$!!").

The positive side of this is that fish is very simple and has a very pleasant experience out of the box. And this is not just about having "good defaults" - its also about having a good design that encourages having one way to do things. That said, an interactive shell is a very personal thing. The only way to really get a good feeling is to install and check it out.
it is funny to me that your two sentence comment combined with his did more for my understanding of logarithmic scales than 1 qtr of university math.
Protect your software with the Circuit Breaker design pattern
The Avengers’ Age of Analog: The Power Records Story
I think geofft's answer is a good one, but I wanted to add a different point: you can't not deal with signals. They're going to happen, and even if you block or ignore them, that doesn't change the fact that something happened that may be important to your process. That's just the rules of the game.
Ah yes you could use time of flight even in the MHz range, where the wavelength of light is 300 meters if you have an accurate enough receiver, but that should be a problem.

I think the precision should be on the order of ~ (A/D relative precision) * (wavelength), so for mm accuracy you need an A/D converted with more then 10^(-9) precision (that is, a >30 bit D/A), which I don't think is cheap (but doable perhaps?). The other problem is this conflicts greatly with multipath and other kinds of interference.
I gave this talk, if anyone has any questions feel free to ask. I'd also like to point out this was given at ng-conf Isreal http://ng-conf.co.il/ and that none of the spec and hard work involved in getting this into Angular 2.0 are mine (on the contrary, I'm the guy with the annoying questions ;))
> Does it take some fiddling (configuration etc) with urxvt to bring it a minimal usable state

Yes. urxvt is pretty minimal and will likely be rather ugly by default. However, you can customize pretty much everything via editing your Xresources file.

In terms of advantages over gnome-terminal... it's lighter weight and considerably faster (though tbh, speed isn't that important for most people). It doesn't depend on any Gnome services/libraries, so it integrates better with e.g. a tiling WM. It's stable, in the sense of the developers won't cut <insert feature> out. The configuration is very flexible and it's extensible.

However, to be honest it's not for everybody. I wouldn't even say it's for "power users", it's really mostly for minimalists and the default configuration is incredibly sparse. If you're dissatisfied with gnome-terminal, I'd probably recommend roxterm or lxterminal instead. IMO, urxvt is more one of those "I already know I want it and I know why I want it" kind of things. That said, I've been using it for a few years and I really like it.
Which companies will IPO in 2015?
Should I drink more coffee?
If you don't mind adding external repositories, you can get up to date versions of fish for most distros.

http://fishshell.com/#get_fish_linux
This article from Jalopnik has crazier details about the actual cars. "So what about the War Rig itself? Well, it’s a Tatra with six-wheel-drive powered by two supercharged V8s, a 1940s Chevy Fleetmaster welded to the back of the cab, and a Beetle cabin mounted to the tanker. And it’s the least insane thing in Gibson’s armada."

Edit: yup, forgot link http://jalopnik.com/how-the-man-behind-the-machines-of-mad-m...
"... 'passion’ ... means you have an enthusiasm for your work that extends beyond your working hours"

For me passion is when you are up-to-date with the trends and strive to (re-)factor your code to be better.

Unpaid overtime is most definitely a NO though, but the pay doesn't have to be immediate.
Or: rise in CEO pay is cause of the rise stock market price, after all, you wouldn't vote to raise the CEO's wages if you didn't think it was going to improve the company now, would you?
Guake is just a Quake-style terminal emulator. Under the hood it's basically gnome-terminal (it uses the VTE libraries).
I sell a bunch of these modules on Tindie too! https://www.tindie.com/stores/George/

I only know what I've read. That said, take a look at the FCC certification document for the ESP-12: https://fccid.net/number.php?fcc=2ADUIESP-12&id=253176

Notice that it is certified as a "single modular" device.

The FCC requires that single modular devices be totally self contained: http://www.lsr.com/white-papers/fcc-guidance-on-transmitter-... https://www.fcc.gov/oet/ea/presentations/files/oct09/Modular... [PDF]

The ESP-12 module does not have onboard voltage regulation. Thus, it is not totally self contained and its certification is meaningless.

Regardless of the above discussion, these modules do not have a marked FCC ID, so any certification they do or do not have is meaningless.

Like I said, I only know what I've read. I don't understand how they reached certification without onboard voltage regulation, but they did. I don't know if that means the certification will be voided, but I certainly wouldn't want to be selling a product using these modules right now.