skysight-inc/HackerNews huggingface dataset:
Let's say you're an xterm, terminal.app, iTerm2.app, etc. You open a pseudo terminal which gives you a pair of file descriptors - a master and a slave. The parent process (xterm, et alia) does all reading/writing through the master file descriptor. The child process sets stdin, stdout, and stderr to the slave process and execs bash.

So when bash starts, stdin, stdout, and stderr are the same file descriptor. And those descriptors (the child pseudo terminal) are inherited by any programs launched from bash. (bash can redirect stdin, stdout, and stderr of course)

Backing up a step, xterm (et alia) could open 2 pseudo terminals and use one for stdin/stdout and the second for stderr. And then stderr could be displayed in a separate window, always blinking red, or whatever.

(You could also use a pipe for stderr. It would slightly less compatible since it's a pipe and not a pseudo terminal. Somewhere, there's probably a piece of code that cares.)
N is not fixed, so we're always in case (i), position ≤ N.

The equivalence class does indeed not specify the colour of the hat. The invocation of the Axiom of Choice was used to tell the prisoner what to guess in that equivalence class, although there is no guarantee that it is correct in their specific case.
Having worked at Microsoft, I'm convinced that, internally, running applications through the Microsoft menu jumbler is the main justification for most upgrades.
Alternatively, one of the consequences of React is that the front-end can largely be unit-tested. You can at least get a pretty good idea that the page will render what you expect if it gets the data you expect.

And whether or not it gets that data is a unit test in another place.

I'm not a huge fan of React, or javascript, but having been forced to work in it, this is one of the wins.
I agree. We're emotional creatures and our emotions are driven by perception. A wine that is thought to be expensive in a beautiful setting will be enjoyed more than that same wine thought to be inexpensive, drank out of a plastic cup in the back of MacDonald's. Same wine - different emotional experience.

Also, there is something to delaying gratification that can enhance the experience, and adding a certain kind of ceremony around the act will help too. In "Jiro Dreams of Sushi", it isn't just about the sushi. It's about the experience of knowing that you're being served by a craftsman who dedicated his life to perfecting his craft and being served in the way that he deems enhances the flavor. Rationally, it's silly, but we're emotional beings most of the time. Trump won largely because of emotion - it wasn't really a rational decision that the electorate took.
The author backs up his assertion that mathematical genius is fragile by ... listing a bunch of people whose genius was apparently rather robust.
GLIBC 2.25 Released
Even if it were computationally cheap to do so (despite a very long blockchain and new blocks arriving), it is a peer-driven system. So if you alter your blockchain, it will differ from the majority consensus from the rest of the crowd and your version of the truth will be rejected.
Yea, that's a problem for sure. I don't know what's the best way to weigh being able to make progress in the future vs surviving the next click. For example, is it better to take a 50/50 chance and be guaranteed to make progress, or take a 80% chance of surviving but likely be stuck next turn? It's an interesting problem to be investigated someday.
That's a bit overly dramatic. The Spotify model is just renting vs buying. You still have the option of buying, you have ever since the dawn of the iTunes Store. No one is going to take away songs you have digitally purchased.
The bank loses in that they are upside down on the spread. They have a mortgage which is paying a low interest rate but they have to borrow at a high one.

The mortgage is essentially a 30 year option, in those terms it becomes obvious why 30 year fixed mortgages wouldn't exist in an unsubsidized market.
That's would be one of them: http://news.nationalpost.com/arts/weekend-post/karagarga-and...
Since it was posted about a month ago there has been on the order of 100+ commits from a variety of people. I'm hoping @jwilm pops in to respond:

- Since it started getting community activity, where do you feel the direction of this is going now?

- Where has the interest for this been amongst the contributors?

- What's the short term roadmap looking like?
Interested in Web Dev Mentoring?
Definitely the talk I enjoyed the most at FOSDEM today. Both instructive, relevant and pleasant to listen to. Glad to see things like sort.Slice or JSON rendering. When you're spoiled with python or groovy, you miss them them badly.
omg who
The signal to noise ratio was poor, but there was some signal. It would be a tragedy for it to be deleted.
Except I didn't say what you're railing against. If you re-read what I posted, I said conflating all Trump voters with the nazis that voted for him. Two separate groups that should not be conflated: the small fraction of nazi Trump voters and the rest of Trump voters. I never once called all Trump voters nazis nor would I or any thinking person.

Yes, nazis did vote for Trump in the form of the American Nazi Party and others... literal "Sieg Heil", white power, "cleanse" others, nazi salute awful types. They were a very small fraction of his supporters. It's just as dumb to conflate those horrible excuses for humanity with the other millions who voted for Trump (and would be horrified by those nazi saluters) as it is to conflate the anarchists breaking windows and setting fires with the other millions who peacefully protested (and are horrified by the anarchists).
Being uncivil in general and personally abrasive in particular.
Being a hard worker is easier than being seven feet tall, though. I know it's disingenuous to say hard work will get you everywhere, but working your ass off and being confident about it will get you pretty far.
This is a symptom of a heavily mobile-first strategy. There are many developers at Spotify passionate about improving the desktop platform - and not just for feature parity with mobile.
>check if err != nil, prepend a descriptive message, and return it.

That'd be the RuntimeException equivalent, sure. But what do you do for the equivalent of checked exceptions? Errors are frequently recoverable, "err != nil" alone does nothing to help you there, and string manipulation is a horrific alternative to types.
It doesn't "resist change" as much as it just makes it easy to tell that it was manipulated. Now you can go ahead and rehash the following blocks in the chain (if you can) but with only you having that chain and nobody else, it will be discarded in a distributed system.
In the comments to the linked article there's a nice explanation by Terry Tao of why this is not so spectacular, in the sense that our intuition with probabilities here relies on Fubini's theorem, which in this case do not apply due to measure theoretic obstacles. But, again, our intuition of probability fails with much easier examples.

Here follows Terence Tao's comment (refer to the original to have proper rendering of math symbols):

"This paradox is actually very similar to Banach-Tarski, but involves a violation of additivity of probability rather than additivity of volume.

Consider the case of a finite number N of prisoners, with each hat being assigned independently at random. Your intuition in this case is correct: each prisoner has only a 50% chance of going free. If we sum this probability over all the prisoners and use Fubini’s theorem, we conclude that the expected number of prisoners that go free is N/2. So we cannot pull off a trick of the sort described above.

If we have an infinite number of prisoners, with the hats assigned randomly (thus, we are working on the Bernoulli space {\Bbb Z}_2^{\Bbb N}), and one uses the strategy coming from the axiom of choice, then the event E_j that the j^th prisoner does not go free is not measurable, but formally has probability 1/2 in the sense that E_j and its translate E_j + e_j partition {\Bbb Z}_2^{\Bbb N} where e_j is the j^th basis element, or in more prosaic language, if the j^th prisoner’s hat gets switched, this flips whether the prisoner gets to go free or not. The “paradox” is the fact that while the E_j all seem to have probability 1/2, each element of the event space lies in only finitely many of the E_j. This can be seen to violate Fubini’s theorem – if the E_j are all measurable. Of course, the E_j are not measurable, and so one’s intuition on probability should not be trusted here.

There is a way to rephrase the paradox in which the axiom of choice is eliminated, and the difficulty is then shifted to the construction of product measure. Suppose the warden can only assign a finite number of black hats, but is otherwise unconstrained. The warden therefore picks a configuration “uniformly at random” among all the configurations with finitely many black hats (I’ll come back to this later). Then, one can again argue that each prisoner has only a 50% chance of guessing his or her own hat correctly, even if the prisoner gets to see all other hats, since both remaining configurations are possible and thus “equally likely”. But, of course, if everybody guesses white, then all but finitely many go free. Here, the difficulty is that the group \lim_{n \to \infty} {\Bbb Z}_2^n is not compact and so does not support a normalised Haar measure. (The problem here is similar to the two envelopes problem, which is again caused by a lack of a normalised Haar measure.)"
Not only that, filtering above the audible range is a feature. Ultrasound can give audible artifacts, for example intermodulation between close tones. And all sorts of high frequency noise exists even from the equipment itself. (This is just one reason 96 kHz material doesn't make sense for the consumer. Any good playback chain would filter it out.)
Complexity is the price you pay for safety. C's simplicity has a terrible cost.
> printing (in the simple case) Ctrl-H, a space, and then another Ctrl-H.

For the really simple case, run 'stty -echoe'.

(And perhaps run something like 'cat', since most shells run in raw mode and do their own editing by default.)
How to translate your Eagle libraries to KiCad
You can now convert your Eagle libraries to KiCad (and other formats) on SnapEDA.

As many know, Autodesk moved Eagle to a subscription model last month. As a result, many have been asking how they can translate their Eagle files to other formats (particularly KiCad).

I think the subscription model will bring much-needed features. But I also understand that it is (for many) a showstopper. Hopefully this free tool is helpful to those for whom this is the case.
This is called "Whataboutism" and when you bounce to it you have already given up on your main argument.

Some acts are penalized before others because the negative externality is easy to identify, some are penalized before other problems because the agent of negative externality is easy to identify and tax, and some are penalized before other problems because those pushing for the penalty have a better PR machine or more political muscle.

None of these conditions means that there are not other negative externalities that need to be prevented or taxed/penalized, nor does it mean that some contrived dystopian solution is a likely consequence of our desire to prevent these other negative externalities.
I'm not surprised that we went in different directions. I'm certainly more sure of the problem that of the solution. Thanks for your comments!
> Go is a useful language, but it's a language that has purposefully stripped out all the magic. People like magic, they miss it.

I agree with everything you wrote except this. After 3 years in a job where I had to use Ruby on Rails, I am utterly tired of "magic" and I regret the many hours of my life I have wasted debugging issues that were created/concealed by it. Lack of magic is a feature in my opinion. But as you said, that's all this is - opinions.
http://orgmode.org/

Org mode is an emacs extension that defines a plain-text format in which you can take notes. It also includes a rather extensive system to manage and schedule tasks and todos (cf. the "Org Agenda").

It has a rather steep learning curve however, especially if you're new to emacs too. From what I know about it so far, I really like the premise and philosophy behind it, but I haven't managed to fully switch to an org-based setup for scheduling yet.

I would also be interested in what others here use to access/modify their schedule. Since I can't use Emacs for work, an option to quickly access it from my phone would be rather crucial, and the options I've found so far are mostly quite minimalistic...

I'm thinking some (basic) self-hosted, web-based tooling to manage the schedule in a Git-Repo would be very useful.
My argument aws: The constructible numbers are not "complete". You can always find cauchy sequences of constructible numbers that do not converge to a constructible number.

If you add the requirement that the sequence itself must be constructible things _might_ change. It depends on how you define constructible sequence.

I thought Cantors argument would show that there are uncountable constructible sequences:
- Assume there are countable many C[1], C[2]
- Construct a new one D = C[1][1] + 1, C[2][2] + 1, ...
- D in constructible, hence it's on the list: C[j] = D
- But D[j] =/= C[j][j]
- Contradiction.
This proof is however not correct. The sequence D does not need to be constructible.
Idk if that's such a clean binary, one of my favorite languages is Haskell, and people both complain about that and don't use it :)
I imagine they'll migrate somewhere. But they won't have the same opportunity to pick up random people as they float from board to board (they won't be nomadic anymore).
Exactly. It's nice to know that my success or failure is entirely up to me. It also lets you ramp up the difficulty to an absurd level and still have something you can solve with enough effort. Purely random boards become essentially impossible.
It is an hour long, but whoa, is this presentation excellent, illuminating, frightening, and absolutely compelling.

Can't help but draw analogies to politics and many other things.

Great post.
IMDB introduced message boards in 2001, and it was pretty mature by then.

http://www.polygon.com/2017/2/3/14501650/imdb-message-boards...
Completely unusable, perhaps the worst in recent memory of any front page article. Strange thing is that previous Go presentations have looked almost identical aesthetically but worked well.
Ask HN: What are the best resources to create an LLC/Incorporate?
I'm looking to form an LLC as a parent company for all of my side projects. What are some of the resources HNers use to do these things? Do you do it by yourself? Do you pay a service like LegalZoom?
For example, to limit a browser process from connecting to anything except the TOR proxy.

So, in case someone tries to de-anonymize you, unless the attacker has a kernel-level exploit, no packet will ever reach the attacker without going through TOR.

This could also be linked with a VM - so even if the attacker has a kernel-level exploit, there still won't be any outgoing packets.
Proposal for a Java policy files crafting process by Nicolas Fränkel
Color Ramp Creator
Using a similar metaphor, I'd compare Go with a jet that's high performance but easy to fly - i.e. it doesn't have the numerous gotchas and quirks high performance jets usually have that the pilot has always have to keep in mind to avoid shooting themselves in the foot (aka making a hole in the ground :)).

E.g. it won't let you overload your engine by using a very special feature that lets you get away with it, but it'll let you fly fast and enjoy afterwards how trouble free the experience was.

OK, I think I'll stop with the mataphors now :)
Syntax sugar is extra syntax to make an existing feature easier to use, syntax sugar has no runtime impact.

Generics are not syntax sugar, they add functionality such as stricter compile-time type checking and improved run-time performance (e.g., C# can use unboxed primatives in generics)
New social network for data people – what do you think?
Quick, tell me your favourite number between 0 and 1.

How did you do that? Weren't there an uncountable number of possible numbers?

Ah, you may say, but I obviously wasn't going to choose one with an infinite information content, so all but countably many possible numbers had probability 0.

Which is true. But in fact it's true that whenever you have a probability measure on an uncountable space then all but countably many elements have probability 0, so that escape clause applies equally well to the hat colours.
> Unix has amounts of in-band signaling

The in-band signalling is not a Unix thing; it's a widely-supported international standard ISO 6429 aka ANSI X3.64 aka ECMA-48.
I think simplicity is often the most difficult to achieve and requires deep technical expertise to deliver. It shows the creators have thought about the end user and usage scenarios. It would be a mistake to confuse complexity with quality or vice versa.
Realm.io – mobile database
To be able to do this, you'd need access to the pub subscription to be able to see the glass to replicate it, so why bother?
Congratulations on your licence!

If you're interested in CW for its own sake (rather than just something you needed to pass the test, that is), I'd strongly recommend you get in touch with for instance FISTS North America - a CW club which I've found to be packed with people generous with their time and skills when someone new comes along.

Getting on the air the first few times is quite stressful; it sure helps to know that the op at the other end knows you're new at this.

73, LB1LF - Odd Erling
I used to enjoy their message boards years ago but then it seemed like every single one was filled with trolls claiming the movie/show was terrible.
> You can't just take a set and arbitrarily pick something out of it! Making a choice requires information

True, but how can you "have a set", i.e. reference a set in any way, without having information about that set? There seems to be a requirement of some bare minimum of information enough to specify the set, and so enough to pick out a member of the set.
How I bootstrapped a successful startup in the evenings under 2 months
To the author of the article—you have a very tiny typo, garderning instead of gardening.
Patriots want to extend Tom Brady 3-5 years
Kind of like https://news.ycombinator.com/item?id=13513029 a week ago but better IMO. Have you considered putting up the source code on github and inviting community participation?
Are you okay with the whole world, every person you meet on the street, your boss, your parents, your ex, the guy who serves you coffee, that thug you bumped into in the subway, the guys who work at your company's competitors, the guys who live in that country at war with yours, knowing every detail of your personality and your life?

Or do you maybe think putting up your information on that open and permanent graveyard that is the web could put you at risk, someday?

If not, then I envy you, but you're not the norm, nor can you guarantee that your environment always be this supportive. What's guaranteed though, is that the databases will still be there.
Have you ever seen an Indian company from the inside? The chance that the hierarchy in the company reflects the caste system is very high, even in IT companies. The caste system still imposes a very strict order into the society. Organization then is top down.

Visit the Krishna temple in Bengaluru sometime. Nice long queues. People wait hours without any problem. There is a another, more expensive, but faster queue. Nobody complains. Huge crowds there. Nicely organized they move through the temple.

India also has a powerful bureaucracy, it's just not that efficient and people don't seem to expect efficiency. You either follow the rules or pay around it. In Germany you have bureaucracy, but one would expect at least some efficiency - though the recent large scale projects like the Berlin airport or the Stuttgart train station show the opposite.
At least in Hamburg the Elbphilharmonie concert hall has been finished recently - after years of delay - with rising costs of ten times the original estimate. So much for order and efficiency in Germany.

One thing you should know about Germans: they complain. A lot. About everything. Sometimes it even helps.
> Corporations have become the brownshirts and we are inching towards a one-party authoritarian system like China it seems.

This is a really interesting observation. I don't think there's a direct analog between brownshirts and corporations because the former were just thugs who Hitler discarded when they were no longer useful. Currently I think the corporations are in charge, at least of the "centrist" core of each party.

We've had a huge, laudable improvement in the rights of marginalized people in the past few decades. This has been happening substantially because many corporations and corporate elite have been supporters.

But I can't help but see this support as at least partially self serving, because improvements in social justice help keep the "culture wars" alive, dividing the population up almost 50/50 into red team and blue team along social rather than economic or class lines.

Right now we have a president who won his election by campaigning against the corporate establishment, but who is also a fully paid up member of that establishment.

He's now picking fights with the very federal bureaucracy he's supposed to lead, as well as the judiciary and many well connected corporations. How it all plays out is something I can't even begin to guess but it's not something the establishment planned for or wanted.

But getting back to your original statement about brownshirts. I think that absolutely we are increasingly developing a system where corporations and the government work together to monitor dissent and then corporations form the enforcement arm of this apparatus (to the extent that dissenters can't be brought up on charges) by denying their economic livelihood.
There was a shown hn about 3 months ago for a project somewhat similar to what you are describing -
https://news.ycombinator.com/item?id=12848917
You're missing the point. Look at that top bar. What do those mean? How do I un-gray them? What do I click to start capturing packets?

Look at these

http://cdn2.tekgoblinmedia.com/wp-content/uploads/Restore-di...

https://support.apple.com/library/content/dam/edam/applecare...

All icons have text. There is a uniform icon for Hard Drive. There is a uniform color scheme. There is a uniform font size. There is a uniform spacing between elements.

In the macOS window you see descriptions where needed like under "First Aid"

You get human-friendly lables such as "Capacity", "Used", etc. It is all presented eligantly and simply.

On the left of your screen all I see are random strings of text with squigly lines next to them. Are those buttons? Can I click them? I know you have to from using wireshark before but the average person sees that and says "...well shit".

Presentation is a very sensative art. HCI should be much more appreciated and people majoring in it shouldn't be relegated to VR as there are still many problems in desktop UI that needs to be fixed.