skysight-inc/HackerNews huggingface dataset:
This article is good, but there is one thing I take issue with:

> For normal operation, you want to be within the engineered capacity of the system. But emergencies do happen and you get close to the peak of the system.

If you've built a sufficiently monitored and auto-scaled system, then you're better off running close to the peak capacity at all times. You'll save money and find bottlenecks sooner.
WordPress Custom Post Type Guide
I'm on 3.14. Thank you, I will probably like that much better.

Edit: Hmm, it doesn't seem to work properly in 9.20. Well, I should probably be using tmux anyway, which does fix the problem.
There are several possible triggers. A popular hypothesis is that in the early 1990s, the SEC began requiring the disclosure and reporting of executive compensation. The prevailing theory was that it would shine some light on the discrepancies between executive and normal workers' pay and force executive compensation down through public shaming. Instead, it did the opposite: executives started comparing their own salaries, and shopping around for the best compensation. Boards, on the other hand, started increasing executive compensation to make it look like they were recruiting only top most valuable talent. It became a positive feedback status-based market for executive compensation.
Basically what I'm reading is it probably would have been more prudent just to light the 116 million dollar investment on fire and not waste everyone's time.

These are terrible ideas.
The perpetual SHA256 hashing machine...

Did anybody tell 21 that pure proof-of-work hashing was just an experiment and could go the way of the dinosaur?

Ethereum, Nxt and other cryptocurrencies are already using proof-of-stake or some other hybrid process...
I'd follow Gassé to war.
Sure, you can represent it that way, but it needlessly complicates the semantics of `then`. If they were merely monadic bind then it'd easily be 1/20th as confusing.

The "overload everything every which way and assume that people are really sensitive to the differences" strategy just begs misunderstanding.

Monadic bind as the core and basis of your API is fantastic. It is exactly enough and no more than you need to define effectful sequencing semantics and, if you like, you can build everything atop it. And, honestly, you do anyway. But right now the design obscures the simple basis technology in order to have heaps of overload magic.
Sandstorm is one of the few things where my first thought wasn't "How do I selfhost this".

But that's only because of how you've built in securely and of course because you make it clear that I COULD selfhost if I wanted.

I am just super impressed with sandstorm.io. rock on.
Oh good. The one I linked was just what showed up first on Google. Still, I doubt hashrate will level off entirely.

And if 21 is successful (I hope not...), they'll continue to drive it up further than it would have gone otherwise.
Riak has the same sort of concept: http://docs.basho.com/riak/latest/theory/concepts/Eventual-C...

I think Riak is richer in this area than Cassandra, because if the inconstancy can not be resolved, Riak can keep both versions and let you deal with it at the application level.

See also: https://aphyr.com/posts/294-call-me-maybe-cassandra
These comments reminded me of the crapping-on Colour took on HN, not even on the grounds of theoretical impossibility of the product but simply the buzzword-laden me-too nature of their pitch. Turns out the naysayers were right: whilst the team weren't intentionally scamming the VCs that backed their remarkably large pre-product fundraising efforts, the world's first stealth social network might as well have been a scam for all the traction it achieved.

I'm having to hedge my scepticism on the basis that I know I know barely any more about bitcoin mining technology than the average layman, and VCs can bring in highly skilled specialists for their due diligence, especially for investments of this magnitude. But when a press release fails to acknowledge the level of technical breakthrough they'd need to have achieved for their product to be viable, and instead launches straight into a series of theoretical monetisation strategies of varying degrees of plausibility, I think the cynicism is entirely warranted.

If they actually have a team of engineers that could develop chips with far more computational power in relation to their size and energy requirements than anything else on the market, you'd have to wonder why they'd think persuading consumers to put Bitcoin miners in their pocket was the most promising avenue to monetise.
> a game that is one of the best five games ever made

What are the other 4?
I'm pretty sure I read somewhere that they used dried seaweed and dried animal dung. Maybe peat as well - it's still a fairly common fuel in the wilder parts of Scotland.

Skara Brae is in an amazing part of the world for neolithic monuments - Maeshowe, the Ring of Brodgar and lots of others.

Edit: The Viking graffiti in Maeshowe is pretty special too...
I don't agree with his fundamental premise:

> Network Partitions are Rare, Server Failures are Not

Network partitions happen all the time. Sure, the whole "a switch failed and that piece of the network isn't there anymore" doesn't happen a lot, but what does happen a lot is a slow or delayed connection, or a machine going offline for a few seconds.
That was precisely my first question, so thanks for the answer, but I don't really see how that's enough to switch… I've been using this "cleaned up/opinionated" fork 'Prezto' for a while now: https://github.com/sorin-ionescu/prezto

If I'm motivated enough to download and install a shell, why wouldn't I just clone Prezto and change one config file to turn on syntax highlighting and git support? Especially when it doesn't bring any "weirdness in command substitution" and I get the great zsh expansions and completions?

Anyways, I'll try it out (why not?) but the benefit to me wasn't clear from the page, and even with your direct clarification here I'm seeing more downsides than zsh + Prezto and not a significant upside.
> Does running the self-pipe trick on a separate thread solve that issue?

Perhaps but then you're mixing signals and threads and you're in for a whole new world of hurt. :)

E.g. I've found that OSX does not always behave correctly when delivering signals to a process where one thread has blocked the signal but another hasn't, though I cannot remember the exact details. And of course on any system there is such a thing as signals addressed to a specific thread rather than a whole process (ptherad_kill()).
Hyperpolyglot has a nice breakdown of the differences between bash, zsh, and fish.

http://hyperpolyglot.org/unix-shells
Yes. This need to be emphasized:
Disallowing URLs in robots.txt will not necessarily exclude them from search results.
Search engines will still find those pages if they are linked to or mentioned somewhere else.

The search result will consist only of the URL, and the snippet will say "A description for this result is not available because of this site's robots.txt"

Use the noindex tag, folks. Also, Google Webmaster Tools allows you to remove URLs from Google's index.

Ref.: https://yoast.com/prevent-site-being-indexed/
I think you may be missing the point. I don't think the boom in equities escaped Krugman or other observers. I think the point is more that boom or no, boards get to approve comp packages. And when designing a comp package, it is not all that difficult to ensure that the CEO does/does not qualify for gargantuan sums of money on meeting performance targets. Further, taking this step can lead to better alignment with shareholders.

For example, one frequently recommended way to improve compensation is to compensate on alpha vs. a peer group and/or index. Clearly, every CEO in the S&P 500 didn't deserve the massive ramp in comp implied by the charts.

Bigger picture, just like with any employee, management usually has an idea of the total package value in mind and then backs into how the employee gets there. If the Board starts with an expectation that the CEO should make a gazillion dollars, they can design a package to get there. If the expectation is that the CEO should earn less, they can design a package to do that as well. The question remains why this expectation changed.
Prezto – Instantly Awesome Zsh
Agreed! I think its the best "car chase" movie since "Bullitt" [1] (beating out Cannonball Run, the Bourne trilogies, etc).

http://www.imdb.com/title/tt0062765/
In an amoral economic sense, insurance companies don't profit by helping people eke out their problem-prone later years, versus helping generally-healthy people avoid death and stay customers.

There are probably scenarios where their best-case scenario is to say: "Oh well, I guess it was his time to go" and move on.
What the hell is that humongous funnel west of the center.

I'm always amazed by the size of the constructions people make in Minecraft (without the use of external editors). Myself, I once undertook to dig a 16x16 hole to the bottom of the world and build a tower to the sky. Never again, that was way too much useless work.

Then again, this is multiplayer, so there's extra motivation of group effort.
Steven Johnson's Problem W Apple Watch: No Real “Home” Button
It's easy to define a spoiler: Any description of an event in a fictional work which would be difficult to predict and that has significant consequences.

It's very difficult to determine what trigger warnings should be used in a general case. Should pictures of dogs (especially German shepherds) carry a trigger warning because dogs are often used as attack animals by police and militaries, and can cause traumatic experiences in someone attacked by them? What about birds? I have an acquaintance who is deathly afraid of birds. How about warnings for people with ideophobia (the fear of ideas)? Or all the other things on http://phobialist.com/ or any other such list. Who decides what list of triggers is legitimate?
HR was one of the few games I replayed multiple times and the level of design and atmosphere was one of the main reasons for going back, just to spend some more time in it's moody world. Can't wait for the next one either! Looks very impressive from the small peaks they have given: https://community.eidosmontreal.com/blog/dawn-engine

I'm hoping that they address one of the main letdowns of Human Revolution, that the hub environments were a bit sparse and lacking more NPCs to make them feel like real locations. I listened to the game commentary and apparently that was simple a limitation of the engine they used.
It was written in 2012 and is a fairly well known and accessible text! Pedro is an excellent speaker, if you ever get chance to hear him I highly recommend it.
First link is to the movie kung fu panda: http://www.trainer.ly/videos/31/kung-fu?activityId=33

Probably not that educational...
Depends on how you have things set up. I once worked at a company with SVN/Trac integration. If you put "Refs #27" in a commit message, it would actually add a link to the commit as a comment on the ticket. If you put "Fixes #27", it would do that and close the ticket. Our system was also set up so you had to ref or fix a valid ticket in order to commit.

I miss having a system like that...
Yea! To get the js-css-trickster-folks on board the first version works 'obviously' by splitting an image into the shadow and non-shadow parts offline. The result gets recombined in the browser by overlaying them and using some fancy blending modes.
Some micro-benchmarking should be able to show that the two shadows (jpg compressed 'obviously') plus css and js put together are smaller than a simple jpg compressed version of the input image...
Go! Go! Go! Before Hooli steals the idea... ;)
News Is Not Porn or File Sharing
Computer Criminals Brought to Justice – Randall Charles Tucker
I'm having trouble grokking whatever type-added syntax you're using for Javascript here. I'm guessing it's:

function ap(pf) {
return (pa) =>
pf.then((f) => pa.then((a) => Promise.resolve(f(a))))
}

Still, if I wanted to go full-hog static-typed functional I doubt I'd be using straight Javascript, I'd probably try one of the various Haskell-alike to JS converters. Promises with async/await syntax seems like the most practical of the various solutions whilst still feeling like Javascript.

(Besides, I prefer dynamic typing and I find points-free style in Haskell to be obfuscating rather than clarifying, so it seems unlikely we're going to have the same opinion of the best way to accomplish things here. :)
I run zsh barebones, and I've never been able to get some tab completions to work on bash as well as in zsh. But it's probably possible.

E.g. on some patterns involving *. Care to share your setup?
You mean even the renderer was written in Lisp? Didn't you have any issues with garbage collection?
Constructive feedback here, I'm off the market, but I was in the market for this type of job not too long ago.

Sounds like "business guys just need a geek to build the product for them". If you're offering %70+ of the company then it would be appealing to a seasoned CTO type. You might get a junior with little experience for %30.

That may not be fair-- but that's what your ad telegraphs. IF you've done more work and are bringing more to the table then you're not conveying it well in your ad.

Here's something to know: Engineers can be business guys but business guys can't be engineers. Everyone's going to be diluted but too often engineers are the ones who do all the hard work, while they get a disproportionately small share of the equity.
... there are even highway exchanges. Wow.
> but what does happen a lot is a slow or delayed connection, or a machine going offline for a few seconds.

This is especially true for cross-datacenter rings across the public internet.
Is there any scenario under which a long commit message is detrimental, even if "messy"?
Might still be useful as a seeder of last resort to borrow done finance terminology. Ie back a large number of say community nix isos with it.
Interesting. I've also viewed it that the folks paying the economic rents are not coordinated enough to fight back.
May want to remove t=109 from the URL.
I have not played the game, but found the manual on google: http://cdn.akamai.steamstatic.com/steam/apps/238010/manuals/...

The section on the audio settings says: "Adjust the game’s music, dialogs and SFX volume levels"

Typically those sort of settings gives you a slider for different categories of sound. It seems like that is probably what this game does as well.

So I guess my answer is, "I think so".
yes, they do. I'm contracting (in germany, if that's important) and about a third of the companies that hire me have high or very high standards when it comes to avoiding technical debt, adherence to sane development cycles and clean code. So yes, there are those companies.
> It would be extremely convenient if there were still one number or index we could check to make sense of our economy, especially during times of chaos.

The per-capita debt would be a good start.

Funny to see Apple named as Microsofts successor. I think they're roughly equal in terms of 'launch date', of course the context is successor in the Dow but if you just put the most successful companies in the index (which they do...) then that already causes it to lose a lot of its meaning because any structural 'bad news' will get filtered out.

The idea is to provide a sliding window over history to capture trends, such as to embody the trend of moving away from the Desktop to mobile devices (Microsoft -> Apple) but that's a very imperfect science because a lot of that trend will never materialize simply because a whole pile of stuff (creation, mostly) does not happen on mobile devices but on good old desktops.

Mobile devices tend to be much better at consumption than creation (which is entirely consistent with the trends in computing as a whole).
It's not so simple. The main complaint I have heard is that programmers find it difficult to deal with eventual consistency exposed through vector clocks. It's only recently that CRDTs have been reasonably well known, and they solve this problem. Riak 2.0 includes a CRDT library but it might be too late.

Note that Cassandra doesn't actually handle eventual consistency properly, and has weird corner cases a result (e.g. it's infamous "doomstones"). As an immutable data store it works very well, particularly when you have a high write load.
Decorators and Metadata Reflection in TypeScript: From Novice to Expert
TDD is great. It should be a given on any project that isn't just a spike.

I'm curious what kind of products you were building? Simple websites, or full fledged applications?

100% unit test coverage can still miss a host of gnarly bugs. A lot of the ugliness of QA comes from how A interacts with B. Or how A + B + C + D work together. Or at least, that's my 2 cents :D
(JAVA, SQL, PHP, C++, C) programming quizzes, questions and answers
That is a good thing. It does not mean that Dynamo and Cassandra are bad choices, but that companies and teams can move onto other solutions when their requirements changes. In an Open Source model just because you invented it does not mean you are stuck with it.

Not sure I could work in a one product company where you have to eat your own dog food in all situations even where it really is not suited for.
As someone who spends half of my workday in a shell, but doesn't often _code_ in shell, I find "it's not POSIX" to be the advantage.

Loop constructs and defining temporary functions in particular seem much more natural to my brain.

I used it as my main shell for about two years (on OSX even), but had to give it up due to a broken command-not-found handler (long story, but increased my quality of life with non-global bundler so much I went back to zsh).
ossreality: Thanks!

FYI, it appears HN is auto-killing all your comments, which is why I couldn't reply directly. :(
Not to sound rude, but I don't think you are going to get much response from this. It may help to clarify several items.

1. Who are you and your current team? Have you done a startup before? What was the end result of that? What makes this startup special?

2. You are asking the applicant to take on significant risk from your posting. First, you want someone to apply that has a good bit of experience, but are only offering equity for the time being. Second you are making two very big assumptions: (a) that you will have a liquidity event in 2 years; and (b) that you will obtain funding towards the end of the year. While these sound great in theory, there is a better than average chance this will not happen. How does the applicant guard against developing an entire platform for you and a year from now still not being paid?

3. You are not providing any details regarding the business until an "in-person interview". Sorry but I don't know many people that will travel just to go to an interview to find out what a company is planning to do.

4. I understand that this is a "co-founder" role, but you describe it more as a first hire. I understand that most co-founders forego salary in hopes of the big payday, but in this case you have not lured the applicant into knowing you, your product, or the chances of that payday. To be a "co-founder" with no salary for what could be at least a 6 month period, I for one would have to have some amount of trust in my other co-founders and more importantly the idea itself.

5. If it is more of a "first-hire" situation you may want to make sure all your legal ducks are in a row from an employment perspective. Hiring someone with no salary/pay walks the line on being illegal at least in the U.S.. Something you may want to consider when nailing down an agreement. It would suck to hire someone, have them work for a few months, quit, and then sue you for back pay.

That's just my two-cents.
There's a discontinuity square around the center of the map. I suppose a different terrain generating algorithm was used for that center area when the map was created?
IMO we need to decriminalize drugs, treat addiction as a medical issue, and shift our cultural attitudes away from seeking punishment out of the justice system. But none of those will happen because there are too many people making too much money from the current paradigm.

And politicians have worked long and hard to ensure they have no accountability. As long as the place that they're from is aligned to their party affiliation, they have a job for life regardless of what they do.
Found one where people asked the white house to release their beer recipe...
https://petitions.whitehouse.gov/response/ale-chief-white-ho...

Source: http://www.npr.org/2013/01/03/168564135/white-houses-we-the-...
Our customers tend to be the kind who need extreme performance, so they aren't spanning cluster across WANs. For well-tuned datacenters rack awareness (putting the replicas in sane places), is more useful.

For WAN replication we have a cross-datacenter replication which works on an AP model.
Cool. Ayasdi seems like an awesome company.
Is there ever actually a good reason to use finalizers? Why do they even exist?

It seems like the things you want them to do, they actually don't provide the guarantees necessary to do them; and the things they are guaranteed to do, are so minimal that no one actually wants to do them.
My 2 cents

I think that one of the best ways to learn things in depth is to share and discuss it with other skilled professionals who can share their thoughts based on other points of view.

There is always something new to learn from the others, and even if you know more than them, remember that it doesn't matter if you know 100% of something if you don't know how to communicate in a clear and concise way.
Don't think the article sufficiently accounts for the fact that the tech is going to get cheaper fast & thus help Tesla reach the lower end easier as time goes by. Plus much like Apple they anchored their product in consumers mind as a high end product already. Perhaps not truly disruptive yet but it already kinda works and once it's up to scale (better network etc) it'll only get better.
The CC3200 looks nice, I just wish it was half the price. The Particle / Spark Photon M0 looks promising though:

https://www.particle.io/prototype

$10/12 Broadcom chip + STM32 chip. It's not market yet and I don't like the idea of being tied to a 3rd party platform / API. There doesn't seem to be anything in the >500 units, <5K units space that really makes sense. Near the high end of that I assume you can probably roll the intentional emitter cost into the unit cost though.
You can optimize in some cases, even when you don't know what the input would be.

A great example is the one from the post where `morte` optimizes the function `#and #True` to the identity function on `#Bool`s even though it doesn't yet know what the second argument would be.
I've heard claims of badness with signals and threads, but I've failed to track down concrete problems -- I would really like to know what they are. Meanwhile I've heard of people successfully using dedicated signal-handling threads in production, at least on Linux.

I'm not really sure that thread-directed signals are in scope for the sorts of things where you must use signals (SIGINT, SIGTSTP, etc. from a terminal, SIGCHLD from child termination, etc.) Those should all be process-directed. If you design your own API that involves signals, then sure, but that's a problem of your own making.
Computing at the speed of light: Team takes big step toward faster computers