skysight-inc/HackerNews huggingface dataset:
What is nootropics? If it is a drug, could you explain more about how it helps you?
> Are you insinuating that most designers harm usability with their attempt to make it better?

I am talking about the trends in UI design in general. I am sure that the designers don't set out to harm usability.

>Aesthetics are vitally important to the functionality of a product.

They could be important, but why do you think they're vitally important?
So what's his defense exactly? He makes it sound like this is just one big misunderstanding.
If a Computer Can Diagnose Cancer, Will Doctors Become Obsolete?
The point is that you spend more money trying to do this, and help less people, then just not worrying about it. Attempts at identifying the truly needy end up mostly excluding them and making the aid less helpful overall.
Science manages to figure that out without having to ask a philosopher.

The philosophy of science did not precede the development of science; in fact, it was the other way around.
Indeed, what we discover is this:

Suppose we are interested in the function f(N) such that a cell which originally has N squares to its left ends up with f(N) squares under it.

To calculate f(N), write N out in binary with K + 1 bits [where the tape has 2^K squares], including a leading zero. Reverse this bitstring [exchanging most- and least-significant bits, etc.]. Finally, if the result has a leading one rather than a leading zero [i.e., if N was odd], flip all the bits [turning ones into zeros and vice versa]; otherwise, leave them be. This yields the binary description of f(N) [with K + 1 bits, including a leading zero].

In the given example, N is 941; i.e., 01110101101, using ten + 1 binary bits. Reversing this, we get 10110101110. Finally, since this has a leading one, we flip all the bits to get 01001010001. This the binary description of 593, which is the answer.

(More generally, suppose at some point in the process, the tape has been folded to a width of 2^K * W squares and height of H squares, and we are interested in where the W-width, H-height block with N such blocks to its left ends up once we've gone through K more foldings to bring the tape width down to W and tape height up to 2^K * H. This block will end up with f(N) such blocks below it; if N is even, the block will be in the same orientation as currently, while if N is odd, it will be reversed 180 degrees from its current orientation (with its current top-left square becoming its bottom-right square, etc.))
How meditation killed my creativity and made me more stressed
it acts as two extra buttons, which you either could use for left-right scrolling or as any other button function. I have them bound to browser forwards-backwards and in combination with one of the other keys for switching tracks in media player.
That was a game where the object was to get there by clicking any link in the article.
This reads like a bit of Cold War fear-mongering, in that whatever the US has done in the past, when the Red Russkies do the same thing, it's cause for alarm and a 600-ship Navy, plus whatever the Air Force can grab.
C# .NET, WPF, Visual Studio. I can't share a link
Philosophy is something of a grab-bag of disparate disciplines, and I agree that ethics can often (and should) inform public policy.
This entire rant is just that: a rant. You have no idea if anything you're talking about is real. It's all anecdote and suspicion at others.

Someone who is creative and fastidious about saving, reusing and recycling would, to your eyes, look like a welfare fraud because they might superficially seem better off then you think they should.
I recorded all of my phone calls with the person from Epic’s legal department. I knew that without his acknowledgment of the recording that the call itself might not necessarily be admissible in court (depending on the state statutes), but knowing how fallible memory is, it would still provide me the ability to revisit exactly what was said on the calls and help me prepare for a legal battle if it came to that.

Besides the question of whether or not the contents of a recorded conversation is admissible in court, is it even legal to record a phone conversation without the other person’s knowledge?
... Somehow I "forgot" that it had to be one that was visually distinguishable I guess?

Oh, wait, now I remember.

Some religions mandate things about clothing which are visually distinguishable. I think that was something that I thought also could have been it.

It's not hard to imagine someone who is not familiar with the practice being unwilling to allow a Sikh to bring their kirpan in the taxi. (Hoping that I'm not misunderstanding something about that)

Now, from the context, I suppose I should have concluded which one they meant.

But people can be discriminated against based on things which are visibly apparent, and are mandated by a religion.
If the US bargained with drug companies on more even footing with other countries, we might not get stuck footing such a disproportionate fraction of the bill (R&D and otherwise).

> Health insurance in the US already is much more like a monopsony than most people realize.

Dead wrong, Medicare part D is hobbled so that the US is not even close to being a half-monopsony, let alone a full monopsony, in the drug market.

> in the aggregate, R&D costs more than patients are able to provide.

R&D is 10-20% of a typical pharma co's budget. Eroom's law says that in the limit you're correct (until we get over the genetic engineering bump), but there's plenty of room to speculate about constant factors. The pharma business is notoriously infested with rent-seeking shenanigans. See: OP.
I need to listen to music that I already know pretty well. It works like white noise in the background.

If I listen to anything new, I cannot focus on the programming.
I have found Pandora's selection frustratingly repetitive and looked toward using other services because of it. I have made a bunch of radio stations and cycle through them but they always have the same songs mixed in.

Now that I have Spotify premium, I see no reason to use Pandora again. Spotify has radio if I want to use it or I can just turn on any song or album I want. That's a big plus in my opinion.
"Science" is not one enterprise. Read Thomas Kuhn in "The Structure of Scientific Revolutions." He divides science into two categories. The first is normal science, which is a period where the basic assumptions have been set, and scientists work within defined parameters to understand nature. In this period philosophy of not very relevant.

Kuhn says that this works well for a while, until there builds up a collection of anomalies that result in the second type of science: revolutionary science. For a short while, people start to question fundamental assumptions about their world and this results in a "paradigm shift". In this mode of science, philosophy has always been relevant. The philosopher Ernst Mach was relevant to Einstein, for example.

In our present age, we are at the stage of normal science started by Einstein and the quantum physicists. But anomalies have started building up. And when we enter into the new phase of revolutionary science, as happens every few hundred years, we'll see philosophy be relevant once more.
Why do we have to establish a market?
We've spoken about several domain areas, but non seem viable to us yet.
How does that compare to each other little area of spending? If you have 100+ categories of spending to look at, 10% of the market in a single spending area can be some pretty low hanging fruit.
This is relevant ("Four Reasons Drugs Are Expensive, Of Which Two Are False"): http://www.forbes.com/sites/matthewherper/2015/10/13/four-re...
Obligatory Tom Lehrer: https://youtu.be/DfCJgC2zezw
I probably hate Socialism more than you do but I've come to accept that Single Payer is probably the only thing that allows your population to not to succumb to insane debts for just living.

I've also looked at https://en.wikipedia.org/wiki/Healthcare_in_Singapore
Or Wikipedia books: https://en.wikipedia.org/wiki/Wikipedia:Books
(This is not Wikibooks.)
I recently found out about Redux:

https://github.com/redox-os/redox

It's pretty incredible how quickly it's come together, there's a reasonable looking GUI already!

Edit: The author also did an AMA on reddit: https://www.reddit.com/r/rust/comments/3mw67c/i_am_jackpot51...
Good designers don't remove options, they make the option available WHEN required. They way developers design they make every option available all the time.

Do you need to send an email while formatting a table, then why the hell is that button still there?
A colleague of mine ordered a Steinway grand piano from Hamburg with an ivory keyboard (legally made in Germany). He went through a long process of trying to get it into the US (including a few phone calls to the Secretary of the Interior), but there's an absolute ban on importing ivory to the US. In the end, he had to get a plastic keyboard made for the piano before it could be shipped here; the original ivory keyboard is in a closet in his mother's house in Berlin.
They don't have enough berths. However they have really fast turnaround, 1-2 days for jobs that for most others take 2-4 days. Edit: this is partly because they have so little space and have to share so much with petrochemical and other bulk commodity ships, while simultaneously being probably the primary shipping hub for Asia.
Show HN: Glomp Attack – Tackle hug your friends
Me too. Some of the details of exactly how it works might be surprising to those who are familiar with the science involved but the general thesis that getting out for a relaxing walk in the woods is good for you is neither new nor surprising.

Also: couldn't they have found a stock picture of a pine forest?
Here's what I have discovered recently about the way I read & pay attention after habitual use of Reddit/HN:

I have "trained my brain" to scan headlines very quickly to see if they are relevant or of interest to me. Consequently, I have developed a troubling trait of reading most things only to "cognitively dump" immediately thereafter. I now find that I cannot hold concentration to read larger tracts of writing. Or that I will read something but fail to recall only moments later.
There's also this checklist: http://areweideyet.com/
Depends on the state... and in one state, it depends on whether or not you know it's illegal. I forget which state, but it came up a lot in the news during the Monica Lewinsky affair.
Took some heat on r/shutupandtakemymoney so I made a promo code 'reddit', it will work for the first 50 people. Use it to Glomp Attack your mom, your friends, your enemies!
That is actually totally an oversight on my part. Arrest != conviction and it is always the possibility that a random cop/DA is actually a bonehead.
One thing that I find a bit worrying is that there are now two projects that try to create better implementations of the existing ntp protocol, but the protocol itself is inherently insecure.
ntp right now is a clear-text protocol with no authentication and no protection at all against man-in-the-middle-attacks. There are two authentication modes from which one is insecure and the other relies on symmetric keys, which is impractical.

There's some work done on ntp security [1], I hope we'll see this implemented soon.

[1] https://tools.ietf.org/html/draft-ietf-ntp-using-nts-for-ntp
"When the Turris router detects suspicious traffic, it sends its fingerprint into the project Turris central."

No-profit or not, I'm not sure how many people would like this feature.
Another Republican-appointed federal judge. Remember at voting time, there are three branches of government, and then ask yourself this: Do I want this person to be responsible for appointing or approving judges to the federal bench?
The proof eludes me at the moment, but people have thought of this.
medium.com stories are penalized by default on HN, as are most sites that produce solid articles amid a lot of fluff. (If it were only fluff, we'd ban the site.) The penalty can get lifted by moderators or by software.

You may be underestimating the sheer quantity of articles people post from there (dozens a day), as well as the diversity of topics in them. I took a quick look and the 6 most successful medium.com posts from yesterday were all technical. (You can check this for yourself by clicking on the domain name next to the story title, which shows you all the posts from that domain.)
It really surprises me that Pandora hasn't been able to negotiate dramatically better rates than Spotify et al which allow random-access listening. Pandora is competitive mainly with radio, not music purchases. Spotify competes directly with record sales.

I've been a very loyal paying Pandora customer for a long time, but now that it's up to $5/mo, I'm seriously wondering whether paying just $5/mo more for Spotify would be worth it.
> If the US bargained with drug companies on more even footing with other countries, we might not get stuck footing such a disproportionate fraction of the bill (R&D and otherwise).

That's an odd way to phrase it, because it implies that the amount of research being done globally is constant. But it isn't; it's driven by the available funds.

This actually proves my point: a disproportionate amount of the research that happens globally happens in the US[0], and that's because there's enough profit in the US market for companies to conduct that research. If that profit is reduced, then yes, it's possible that the short-term prices would decrease, but at the cost of delaying further discoveries and advances in medicine.

That's not an easy tradeoff to make, precisely because it's unclear which choice benefits patients more. It's a much easier choice for a country that has a small population, or for a country that doesn't contribute that much to the global R&D (because the impact would be smaller), but the US is in neither of those two categories.

> Dead wrong, Medicare part D is hobbled so that the US is not even close to being a half-monopsony (let alone a full monopsony) in the drug market.

I'm actually not referring to Medicare Part D with that footnote, but that's a separate discussion.

[0] The US's share has dropped in the last decade or so, but only because China and India have become even more lucrative.
I don't think there has to be a conspiracy, Medium hosts a lot of high quality long form content which is a natural fit for the demographic here is all.

I like a lot of the medium stuff that's posted and it's one of the nicest in browser reading experiences around.
While he said as of August 23rd that he's agin working on ntimed, that's not reflected in GitHub updates: https://github.com/bsdphk/Ntimed

And it bears mentioning that ESR has been working on GPSD for more than a decade (a daemon to extract accurate time from GPS receivers), and he sure sounds math literate to my not entirely untutored ears in various discussions over the years.

Given the well known curse of total rewrites, which I've experienced myself, I too know who I'd bet my money on.
I'm sure the distinction is important to people in the industry, but from the outside, someone who pesters drivers in the hopes of receiving $500 referral bonuses is a recruiter.
It's all socialized medicine. We all have the same bodies. The only question is whether we get what we pay for. In the US, we don't.

The idea that "insurance" is somehow applicable to a scenario where essentially every participant will need to file multiple expensive claims is extremely silly.
It takes sense in context. The court accepted that the NSA has some upstream capability, but says there is no proof that it happens everywhere. Wikileaks says it is so large that it almost definitely gets caught up. The judge didn't accept that argument.

The sum up the holding of the judge, Wikipedia has no evidence to show that the NSA is actually spying on their data transfers beyond mere speculation.
Not quite true. 42 USC 1983 provides for a right of action for violation of constitutional rights including attorney's fees.
Article is from 2012
I'm glad Wired brought this up, because it is something that has been in the back of my head since 2008 and was reinforced with the 2012 election. For example take a look at http://awsofa.info/ Especially this from the article, “I don’t need 100,000 engineers,” he says. “I need 100 good ones.” And I think the GOP is going to have a serious time recruiting those engineers in the next few election cycles.

I'm not convinced about what Moffat says here when he touches on name recognition and the GOP candidates being newer being a problem compared to Hillary:

“I do envy the Democrats have had this six-year head start,”

I think this is more than just name recognition. It is just far easier for me to imagine a young Stanford graduate or Google employee jumping onto the the Sanders, Obama, or Clinton campaigns because of issues rather than name recognition. I follow developers from big products like Firefox, etc, and they mock the GOP candidates—name recognition was not the problem.
I have found that if a station gets stuck, liking or disliking songs will get it to play different ones.
On science reporting today, C&H said it best IMO: "You don't love science. You're looking at its butt when it walks by."

http://explosm.net/comics/3557/
It it impossible to consider the possibility that a free market can fail.
By definition, it's a market if there are two or more entities exchanging scarce goods or services. Medical care is a scarce good, medical research is a scarce good, and money is a scarce good, so it's a market, no matter how we structure it.

If one (or both) of those parties is a sovereign state, or if we set arbitrary restrictions on the price and/or quantities traded, that doesn't change the fact that it's a market.
People have tried.
Let's Play LLVM in Swift: Setup
6 startups that will change my life in 6 month
Note: This was published in August, 2013.
I only want to pay insurance tax.
At best I thought they were scaffold for another step, like covering the printed 'tree' with an elastic coating that would then be an 'artery'.
Considering they had to cut their services (including subscribers, with no refund at the time because it was a "soft" restriction, so when they started IP blocking you had no case) to virtually every major market at one point in time or another, and is now currently available only in the US and Australia I'm surprised they are still in business.
Write like you talk
Relevant: https://github.com/wbthomason/ironkernel
>I've been drinking only water for years and I don't feel any different from when I drank sugared soda and coffee and everything else.

Did you drank a LOT of them? Because if you were just drinking some in moderation (as opposed to 1 or even 2 bottles of Pepsi a day like I did), it probably didn't matter anyway.

Also were you younger? Because if you did that "break" at, say 25, it's not like you'll see much difference. Your body can still tolerate a whole lot of abuse at that age.
Most of the time it is the scientists themselves who are questioning the current paradigms (Mach himself was a physicist). You might argue that they are working in philosopher-mode at that time, but they didn't usually get to be in a position to constructively question the paradigms through a study of academic philosophy.
What I'd like to know is how this plays out at the operating system level. We can run cachegrind on a program, but it doesn't take into account the effects of task switching of the OS (as far as I know).

I think it would be lovely in these multicore days if we could dedicate a core to a process and have as close to 0 task switching as possible on that core.
Ask HN: How do I earn money?
Pardon the stupid question. So I'm a freshman in college, been programming since age 11. Worked with C and C++, Common Lisp, PHP, frontend stuff, Lua, etc. Had awards at competitive programming competitions, national/international, contests, stuff. So money is extremely tight, my country's economy is abysmally bad, yadda yadda. What are my options even? Software companies here don't seem to offer internships outside of summer. I work on and off doing frontend dev with a small company but I'm sick of the micromanagement and inefficiency there and the projects are sparse. I just can't believe I'm not good/experienced enough to earn even a junior dev's salary. Any suggestions welcome.
I realise that judges use the evidence put before them but aren't they supposed to rely on common knowledge as well. If a plaintiff said "we laced their food with arsenic" would the judge say, "well the defence haven't shown me that arsenic is a powerful poison so you can go free"? Surely the judge is expected to research common knowledge like whether a website is popular or not?

If I go to a search engine and search "website popularity" I get alexa.com as first hit, that leads me to http://www.alexa.com/siteinfo/wikipedia.org which says #7 in the world.

If the judge isn't allowed to do the basic research then presumably they're supposed to just ask in court "on a point of fact: is a trillion hits a significant number?".

Another analogy, would the government have to prove that a bird was really on the endangered species list when bringing a case against an egg-snatcher rather than rely on the judge being able to research common knowledge.

Whilst I understand the reasons - USA government don't want NSA exposed to court cases - the reasoning is moronic and makes [or possibly demonstrates that] the USA courts look completely corrupt.

Is there a process to follow this up in which this judge can be struck off?
I think it was more of a semantic than an argument and likely OP's friend would tell you this as well.
Maybe we need a charity that builds a research war chest to threaten companies like this with redevelopment. It costs a lot to replicate a pill and go through the FDA hoops, and once a private company does, the price just gets competed down to the point where it doesn't cover the redevelopment costs.

Instead, a charity doesn't have to take profit into consideration and can just threaten: drop your price or we'll persue independent redevelopment. With only the credible threat of spending on independent redevelopment, they could devalue a lot of these orphan drugs, and then buy up the rights/trade secrets to them for open release.

Competing businesses can't do this, because they can't pose a credible threat, because following through wouldn't make business sense. A charity can have non-business aims.
Triplebyte may be the future of technical interviewing
The implementation of true also makes a difference! Not quite an order of magnitude difference, though (except for the shell builtin).

method Hz comment
--------------------------------------------------------
empty file 500 an empty file gets passed to /bin/sh
dynamic libc 1000 "int main { return 0; }" -> gcc
static libc 1500 the same, but with "gcc -static"
assembly 2000 see below
bash builtin 150000 avoids hitting the kernel or filesystem

The empty file is the "traditional" implementation of true on Unix.

The assembly solution was my attempt at doing the littlest amount possible, because libc initialization still takes time:

.globl _start
_start:
movl $1, %eax	# %eax = SYS_exit
xorl %ebx, %ebx	# %ebx = 0 (exit status)
int $0x80
Calorie counts are often not there, the food are cooked composites where you don't know how much oil has been used for example.

Even if the counts were there, you have to bring a scale and hold up the line for everyone else for each item you dump on your plate. You'll piss off coworkers.

You also get gravity effects where if your scoop near the bottom of the serving dish, you get extra helpings of oil, adding hundreds of calories.