skysight-inc/HackerNews huggingface dataset:
Greek philosopher Epiktet has the solution.
From http://classics.mit.edu/Epictetus/epicench.html:

The Enchiridion

By Epictetus

Written 135 A.C.E.

Translated by Elizabeth Carter

1. Some things are in our control and others not. Things in our control are opinion, pursuit, desire, aversion, and, in a word, whatever are our own actions. Things not in our control are body, property, reputation, command, and, in one word, whatever are not our own actions.

The things in our control are by nature free, unrestrained, unhindered; but those not in our control are weak, slavish, restrained, belonging to others. Remember, then, that if you suppose that things which are slavish by nature are also free, and that what belongs to others is your own, then you will be hindered. You will lament, you will be disturbed, and you will find fault both with gods and men. But if you suppose that only to be your own which is your own, and what belongs to others such as it really is, then no one will ever compel you or restrain you. Further, you will find fault with no one or accuse no one. You will do nothing against your will. No one will hurt you, you will have no enemies, and you not be harmed.

Aiming therefore at such great things, remember that you must not allow yourself to be carried, even with a slight tendency, towards the attainment of lesser things. Instead, you must entirely quit some things and for the present postpone the rest. But if you would both have these great things, along with power and riches, then you will not gain even the latter, because you aim at the former too: but you will absolutely fail of the former, by which alone happiness and freedom are achieved.

Work, therefore to be able to say to every harsh appearance, "You are but an appearance, and not absolutely the thing you appear to be." And then examine it by those rules which you have, and first, and chiefly, by this: whether it concerns the things which are in our own control, or those which are not; and, if it concerns anything not in our control, be prepared to say that it is nothing to you.

[...]
I'm not in this industry, but isn't Yelp highly untrusted and relatively despised to the point that selling this is going to be a massive challenge?

Your checkered past seems like it might come back to haunt you ad you try expanding into other verticals...
Just stats. We know those fine computer scientists control most of the botnets, for example.
I don't know how many times I've accidentally sent emails to random people asking them to join LinkedIn because the button looks like the one for connecting with someone already on the site, two different things.
Awesome, and just as soon as a long-term financial instrument is as clear and unambiguous as a 2014 4WD Subaru versus a 1994 Porsche 911 (at least the 993 series had air cooling, which should work well in a cold climate), I'll be right alongside you.
Just what I've been looking for! Appears to be down now though?
I think the crushing-ness may come from a (somewhat justifiable, IMHO) fear of solipsism. "Because I want to" is a fundamentally ego-centric view of the universe: your feelings are your own, so what happens if nobody else wants what I want? Are we then alone in the universe?

The solution (at least for me) comes from expanding our view of what "I want" to include people close to us and the outside world as well. And so I do what I want, but my wants also include making the people I care about happy, being a net positive influence on the world, and not turning away from reality even when it seems bleak or painful. In this way, there's no contradiction between achieving things and doing what I want to be doing.

"Be good to yourself, and to others. You cannot do one or the other; it has to be both, or neither."
you should add google text ads.

Buy Cheap Fireplace
Don't miss out on our 50%
discount offer. Limited
time only.
https://fireplaces.biz
Learn Android by app building and realtime app evaluation
Simple introduction and tips for Swift's Optionals
(You know, Polonius was meant as a figure of mockery, so I'm not sure it makes sense to go around quoting his ironic sayings....!)
I see what he's saying. Maybe not "black swan", but it's pretty crazy. A Dark Room reminds me of a BBS door game from the late 80's. It blows my mind that this became the #1 app.

Now, if it was Cookie Clicker (basically the same formula) I wouldn't be surprised - that actually has nice graphics, a broad appeal, lots of dark humor.

This is a great game (the web version, at least) but not at all something I'd expect to go mainstream.
You might be interested in a tool I wrote called goim[1], which is a command + library (written in Go) that loads all of IMDb into either a PostgreSQL or SQLite database. (It takes about 12 minutes for the download and loading of the database from scratch on my personal machine.) It supports complex queries (with fuzzy matching) really easily on the command line. For example, this will find the top 5 ranked Simpsons episodes with "homer" in the title:

goim search '%homer%' {show:simpsons} {sort:rank desc} {limit:5} {votes:100-}

And if you're like me and rip episodes off your Simpsons DVDs that are named "S04E12.mkv", then you can rename all of them in one swoop:

goim rename -tv 'the simpsons' *.mkv

It will automatically find the `S04E12` in the file names to get the correspondence between episodes.

Of course, the database has more than Simpsons episodes in it (and renaming works with movies too), but it's my go-to example. :-)

Want to try it out? It's easy. Make sure you have Go installed, then install and load and search:

go get github.com/BurntSushi/goim # ~ 30 seconds (compiles SQLite)
goim load -db goim.sqlite # ~ 1 minute, only movies/tv shows
goim search -db goim.sqlite '%homer%' {show:the simpsons}

Loading/searching is a bit slower with SQLite than with PostgreSQL, but it's more convenient. (e.g., The search command above is over 12x faster with PostgreSQL on my system.)

[1] - https://github.com/BurntSushi/goim
F.C.C. Begins Investigation Into Quality of Internet Download Speeds
Survival Of The Digital Fittest
The OP makes the rookie mistake of confusing the Marriage Problem and the Secretary Problem. The Marriage Problem is the famous article by Gayle & Shapely (1964), on optimal matching (two-sided), and is the basis for The Match, used to place medical residents into hospitals. The Secretary Problem is a problem of optimal choice (one-sided).

As an aside, the best thing about the Marriage Problem is that it shows that it is much, much better to be the side making invitations instead of the side awaiting invitations. So being a guy is a pain in (generally) having to invite the woman, but that power translates into guys tending higher in their ultimate stable matching range than women. (Surprise! Hospitals make invitations to residents, not the other way around.)
I would actually put music in a similar class to biomed/ pharma. I think music is probably worse though, even with another 5 to 10 years to capital it is entirely possible that it could still be to early and fail.

Music services right now don't make good returns and at the same time short change artists. The issue is that in general people just won't pay the same amount for music as they used to. While we have that and entrenched labels it is going to be very hard. Over time hopefully the labels influence is broken down an we end up with something more sustainable.
But it does make them money, just indirectly (users using the apps to enjoy the service more). Look at those apps they listed, none would exist without the api, meaning their users wouldn't be using them, and many continue their subscription to netflix because they exist.

How many users would that total to? How much money?

Additionally, it's cheap marketing and cheap growth. Both good things for a subscription model company.

Taking the api offline is short term thinking and might hint it's time to sell.
Hmm, would you link to any stats?
The Wartime CEO
You might have more success if you explain your business model a bit better. What pain point are you addressing? Who's the customer? How big is the market? How do you plan to introduce your innovation and induce behavior change in the current marketplace and insert yourself into the transaction? etc..
Judging by the content of the article I get the sense that he didn't choose that title. The gist seems to be that some previous wars helped focus our values and priorities of spending, and that recent wars lacked that focusing aspect. There is no spending argument in the article, which is good because econ 101 tells us that war spending doesn't increase demand and doesn't create jobs.

However, the author's theory doesn't point to any solutions, so it is not interesting. I could also point to many other factors that may have changed US (and global) values and priorities aside from wars, so I don't find this theory compelling in itself either.
Well, my brother do the render of hundreds of 3D rendering of assets for one of the popular games in brazil at US90/h piece.

Is a matter of look for them.
> The tragedy of the commons can only be avoided by changing the rules of the market through an external force (lawmaking) so participants must act altruistically to act selfishly.

You're assuming that the external force will somehow make the "right" rules, the ones that actually fix the problems with the market and force participants to find Pareto optimal outcomes. Experience suggests that this is not the case; what actually happens is that the external force that makes the rules gets co-opted by some of the market participants, and you end up with worse outcomes (i.e., further from being Pareto optimal) because the concentration of power in the external force (the government) makes it easier to corrupt. Look up "regulatory capture".

> The concentration of resources is typically avoided through wealth redistribution, another mechanism of mandatory altruism.

Again, you're assuming that whoever redistributes the wealth will do so in a way that gets closer to a Pareto optimal outcome. Experience suggests that this is not the case; what actually happens is that the rules for redistribution get co-opted by some of the market participants, so you end up with a worse distribution of wealth. When the economy tanked in 2008, wealth got redistributed, by the government, to the banks that had caused the collapse, not to the people who lost their homes and their retirement savings.
Show HN: There's a word for that.
...and oh yeah, by the way, my units were the wrong order of magnitude; should've been kiloliters (not just liters), on top of the exponential notation.
Is There a STEM Worker Shortage?
"Why Pi?" – from Donald Knuth's Computer Musings
> :( Why are we replying without going down the chain?

I dislike deeply nested, indentation cramped and tangential threads, so sometimes if I dont have anything that important to say I inline it. More so when everyone has left the building.

> I'm also familiar with some fun disasters using software by Ada.

I dont think we were ever discussing whether using Ada or some other statically type checked language immunizes a project against all other peripheral errors. That would be a supremely ridiculous and stupid claim to make.

Typechecking proves either that the code is type error free or that the typechecker has a bug. In the case of the latter, you try and fix it and the benefit percolates to every software verified by it. Testing proves that it passes only those specific test cases and only if the programmer tested it at all.

BTW the very first line says the fault had nothing to do with Ada. The source of the error was beyond the scope of typechecking.

To backtrack, our discussion was on whether there are notable examples of software written in dynamically typed languages where the cost of error is high.

Runtime error while spaceshuttle descends backs to earth, no thank you, on a fly-by-wire unit, when the pilot is breaking out of a loop, again no thank you. There are times when, no pun intended, you just cannot bail out and wash your hands off the situation, without terrible consequences. In such cases I would rather have the error surfaced in an environment where I can control the consequences, meaning early, and as exhaustively as possible.

Most importantly typechecking does not preclude/replace testing, it complements it.

Everything cannot be statically verified or insured against, but that does not mean that just because we cannot verify everything statically, we should verify nothing statically.

BTW Typical x-ray machines do not have the power to kill you in a single exposure, radiotherapy units absolutely can, example Therac.

The accidents occurred when the high-power electron beam
was activated instead of the intended low power beam, and
without the beam spreader plate rotated into place.
Previous models had hardware interlocks in place to
prevent this, but Therac-25 had removed them, depending
instead on software interlocks for safety. The software
interlock could fail due to a race condition.

I would rather have it proved (exhaustively, rather than with typical tests which would be anecdotaly) that such errors cannot happen.
I will keep using wget.
I think this is a very important point that is often overlooked.
As time goes on, >51% control over hashing power becomes inevitable due to specialization of technology.

Why? Which technology?
The Origins of Flow Control and Acknowledgements (2011)
I agree. That was my point that music is too entrenched of an industry for a startup to change it overnight. They took on more than they could handle which is a flawed business model, yet they still call it validated and proven in their parting blog post. This is not exactly accurate seeing as they are shutting down - it's like calling a rocket that blew up a few seconds after launch a "proven, viable" design.

At least biomed and pharma startups have arguably the potential for a beneficial impact on society at large to justify the long-term capital infusions, whereas a service like this is more of a convenience or recreational product at best.
We have laws protecting you when you buy a car too, for example if it's stolen or has outstanding debt against it then that's the dealers problem. There's obviously a bit of a trade off as to how you write consumer protection legislation but it sounds like the laws referred to in the NYT article should be tightened. I don't know how far they could take it though - if the advisor is obliged to do what is best for the customer then he'd probably have to put the money in an index fund and fire himself.
Awesome. So what do the stars represent? Is that a different sort of rating for each hotel?
That's why you talk to a therapist who is legally bound to protect your doubts.
The C preprocessor is bad enough; it's much better if a separate macro language can be avoided altogether, leaving a single consistent syntax for the language. If there has to be a macro system, I would greatly prefer a simple preprocessor to a more powerful system that would allow even greater convolution of the syntax.
Ripe for disruption. OpenTable could exist in 1997, the only reason a competitor doesn't eat their lunch is that it's a boring space—that is unfortunately fully booked by OpenTable.

They could be toast within a year, if a Slack-quality competitor decided to take them on.
The title of this is misleading, and so is this part:

>>The cost of a single increment operation is highly variable. At low boundary values, it is around 0.03 time units per increment. But at high boundary values, the cost drops to one tenth that.

The cost of an increment operation has nothing to do with it. It's very fast and doesn't change. What matters is the cost of flushing the pipeline on every mispredicted branch.

Maybe you're supposed to get that that part is "naive" and ignore it once you've read the whole article?
Doing what you love is the key to happiness. This may not make you a billionaire but will certainly make you very happy. There is just too much pressure in wanting to be a billion dollar startup. If you take a VC's money as a means to your happiness, you will end up working for the VC's happiness and not yours.
Rah Rah Go Team! Is this a game of football or is it a government? You are so blinded by your party tribalism that you are willing to overlook criminal negligence.
Thanks for the feedback, yes agree about having a way to export data. Luckily we have that built in but have to implement the "not allow them to do further data entry" part..
HackerRank Raises A $9.2M Series B
Although potentially this might help people trapped in employer sponsored 401k plans, this seems too little too late? The trend appears to be for retail investors is to be invested in passive asset allocation mixes of ETFs which have no sales commissions.
>>> If you talk to e.g. people who've gone through rigorous Ph.D. programs, you'll find a number of them were severely depressed after their defense.

Likewise after earning tenure.
J manuals (J for C, I think) mention that in J array is a central object, so when you have primitive operations you have more of them, because an array allows you to do more things than a scalar.

There is a set of more frequently used operations, and there are others, which provide convenient shortcuts in some cases or are useful in some relatively narrow areas. Basic operations with arrays are: {. - take the first item, {: - take the last item, }. - take everything except the first item, }: - take everything except the last item. Then there is "generalized" sorting operation /: - ascending and \: - descending, array reversal |. , you can take unique elements of array with ~. , subtract one array from another with -: and apply dyadic operation between elements of an array with / - for example, +/ 1 2 3 makes 6. You can append arrays with , - for example, 1 2 , 3 4 makes 1 2 3 4. You can "zip" arrays with ,. - 1 2 3 ,. 4 5 6 makes array of pairs 1 4, 2 5 and 3 6. Then you also have several built-in ways to partition array - using first or last element of array as separator with ;. , making prefixes or suffixes of increasing length with \ or \. , you can group elements of one array by elements of another using /. - for example, 1 1 2 3 3 4 /. 'abcdef' will produce groups ab, c, de, f . Then there is ability to combine array items with weights using #. - like, 2 hours 3 minutes and 4 seconds total 24 60 60 #. 2 3 4 -> 7384 seconds - and do that backwards with #: , get array length or filter array elements with # , get cartesian product with { ... and that's about it. Pretty powerful, well thought-out set of highly orthogonal operations. Add scalar operations - where complex numbers and arbitrary precision are built-in - and you have a good base for a universal language.
Huh. I guess the reason it works in the article is that the value is not calculated, it's just a constant.
Go vs. Erlang
What I want is a 60hz 3-4k monitor with ~110ppi under $1k. Auria [1][2] seems to be the only one making 3k monitors in ~110ppi, but there isn't any reviews for it yet. Its cheaper $450 version claims to be 2880x1620, but reviews says it's actually a 2650x1600, so I'm not going to plunge $750-$850 until there's a good reliable review for it. Anyone know if there's any 60hz 3-4k monitors with ~110ppi under $1k?

1. http://www.amazon.com/dp/B00KG5LWM4 - $750

2. http://www.amazon.com/dp/B00JJQRUEK - $840
I don't recall seeing any ads in the game; could that be the difference?
Surely organizations will always point to a lack of funding in response to a lack of performance. But I find it odd that they were certainly able to spare the time and budget to target opposition groups. Yet nothing was in the budget to keep any record of their actions.
I think they give a pretty good answer to this question in their 'about' section:
http://www.tripexpert.com/about

1) up to 40% of user hotel reviews are fake, 2) users rarely visit more than 1 hotel per city so have no basis for comparison, whereas experts (presumably) visit multiple hotels in each city, 3) users tend to post reviews after having a 'marginal experience' that isn't really all that applicable to other users.

I think they should consider putting these 3 points on the main page as it was the first question I had when I visited.
well, it has a vowel and ends with 'k'.
>>Was the article's author even compiling with optimizations enabled?

Quite possibly not. Which, I guess, is reasonable, since the point was really about cpu instructions and not C compilers. What comes out is more predictable with optimizations off.

Note that the author mentions the optimizer in relation to the second version. I think it might be because that code generates a branch with optimizations off in Visual C++. gcc seems to treat ?: as inherently a cmov and VC++ seems to treat it no differently than an if.
Well, not all founders are Threes. It would be interesting to type everyone in a YC class (or several) and see what the distribution was. I'd certainly expect some Eights and a smaller number of Sixes. And Fives will of course be well represented among the technical founders.

(Interesting to see someone plugging the Enneagram on HN. Doesn't look like anyone else has picked up on it, though.)
HTTP Status Code 420
The "Wilson" of the title is David Bruce Wilson (http://dbwilson.com), an accomplished mathematical probabilist, who may be familiar as a developer of perfect sampling ("Propp-Wilson") for Markov chain Monte Carlo computations.
Why do these articles never include links to the content they are reporting on? This is the web, not a print magazine.
Isn't that how Itanium is supposed to work? I mean, I think specific instructions would have to be sent in order to force it to happen. But, I seem to recall the line "predication, not prediction" as one of the features, if you want to call it that.
It is interesting to see the responses both ways here: those who think there is malfeasance and those who don't, both with various reasonings. It would be more interesting to see the same posts next to the author's political leaning. i.e. how many people have an opinion that reflects something outside their own inherit political bias.
This is neat, and I just started playing with it.

Please fix how it scales for vertical displays. I know that's a strange case, but it's near unplayable on a large 1200x1920 due to the graphics being scaled by the horizontal size of the browser.

Perhaps when a display like that is encountered, logic moves the code editor below the gameplay window and keeps them equally sized horizontally?
Yes, from my (limited but growing) understanding of it, they are indeed similar to abelian groups.
If you've only used TypeScript, then you haven't really seen what gradual typing can do. In Typed Racket, you get actual guarantees about your types, and a type system that works for almost all existing untyped code. Of course, it might be more work to make it type check, since you have to get it right. ;)

This is also true of other systems like GradualTalk, and other systems like Typed Clojure have much more expressive type systems than TypeScript, even if they don't guarantee soundness in the presence of untyped code.

The designers of TypeScript went for simplicity first. This has real advantages, but also disadvantages, which you seem to be running into.
R.I.P. NetflixItNow - a weekend hackathon Greasemonkey/Chrome extension that sent you an email when user-selected movies became available for streaming (not just disc delivery).

Though the project was short lived, I am very sad that it is no longer possible to implement similar projects.

Netflix API code (very simple): https://github.com/swanson/netflix-it-now/blob/master/check_...

Video demo: https://www.youtube.com/watch?v=h-zXOUsyXjA

Entire repo: https://github.com/swanson/netflix-it-now