skysight-inc/HackerNews huggingface dataset:
Are there API services that you can integrate with to accelerate the path to having all of the below? For example: Auth0 takes care of SSO.

Team Management
Deployment Options
Support/SLA
Security
Role-based Access Control
Single Sign-On
Integrations
Reporting
Audit Logging
Product Assortment
Change Management
For what it's worth, just sticking to the Fib example, since that's a fairly standard benchmark:

struct FibonacciIterable{I}
s0::I
s1::I
end
import Base: iterate
iterate(iter::FibonacciIterable) = iter.s0, (iter.s0, iter.s1)
iterate(iter::FibonacciIterable, state) = state[2], (state[2], sum(state))
function iteratorfib(N)
i = 0
x = 0
for F in FibonacciIterable(0,1)
i += 1
x = F
i > N && break
end
x
end

vs

function loopfib(N)
x0 = 0; x1 = 1
N == 0 && return 0
for i in 2:N
x0, x1 = x1, x0+x1
end
x1
end

Then I get:

julia> N = 30;

julia> using BenchmarkTools

julia> @benchmark iteratorfib($N)
BenchmarkTools.Trial:
memory estimate: 0 bytes
allocs estimate: 0
--------------
minimum time: 31.351 ns (0.00% GC)
median time: 32.723 ns (0.00% GC)
mean time: 32.891 ns (0.00% GC)
maximum time: 54.525 ns (0.00% GC)
--------------
samples: 10000
evals/sample: 994

julia> @benchmark loopfib($N)
BenchmarkTools.Trial:
memory estimate: 0 bytes
allocs estimate: 0
--------------
minimum time: 37.831 ns (0.00% GC)
median time: 37.871 ns (0.00% GC)
mean time: 38.616 ns (0.00% GC)
maximum time: 105.626 ns (0.00% GC)
--------------
samples: 10000
evals/sample: 992

If instead of writing "N=30" and interpolating it ($N) I just used N, I'd be benchmarking the dynamic dispatch. If I declared N constant, or just wrote 30 directly, the compiler turns into a cheater:

julia> @benchmark iteratorfib(30)
BenchmarkTools.Trial:
memory estimate: 0 bytes
allocs estimate: 0
--------------
minimum time: 2.990 ns (0.00% GC)
median time: 2.997 ns (0.00% GC)
mean time: 3.030 ns (0.00% GC)
maximum time: 56.348 ns (0.00% GC)
--------------
samples: 10000
evals/sample: 1000

julia> @benchmark loopfib(30)
BenchmarkTools.Trial:
memory estimate: 0 bytes
allocs estimate: 0
--------------
minimum time: 2.990 ns (0.00% GC)
median time: 2.997 ns (0.00% GC)
mean time: 3.006 ns (0.00% GC)
maximum time: 8.908 ns (0.00% GC)
--------------
samples: 10000
evals/sample: 1000

Anyway, my points here are:
1) In this benchmark that should be focused on iteration, the custom iteration protocol actually seems faster than the for loop for some reason.
2) While for iterative algorithms like conjugate gradient, it does seem like a nice fit, it's probably not the clearest approach everywhere.
I see several responses that are of truly emerging fields. The one I decided to mention, amorphous computing, has been around for a few years but hasn't gained much traction. It's hard to drive discussions around tech that by definition not many know about or understand or have much input on...
That was the best part. When I just looked at the 50 drawings I sure noticed that most of them had something wrong, but at the same time my brain seems to have corrected what I'm seeing; "yep it's a bike alright"

But then seeing these detailed, realistic takes on the drawings suddenly made it so absurd. I lost it at a couple of them and I'm wondering how the author was doing while making them.
> Is it normal or even possible for western journalists to let a source/interviewer dictate the final content of an article?

Not possible, but when journalists court the source, they often make promises they know they'd never deliver on (not that they are unique in this, aren't they?) They may promise to leave certain things off-the-record, or omit certain parts, and then decide - or have higher-ups decide, or make it look like higher-ups decided, whatever - that this is too juicy and click-worthy material to hide it, and violate all promises. It is very rare for any negative consequences besides source being pissed off to come from it, and the source is already used up, so who cares?

> Can a source generally put limits on a journalist like this?

Essentially, no, but journalists often make it look like they can.
A nightly fasting window of at least 13h has been shown to reduce recurrence of breast cancer in women.
Not spontaneously, no. But law enforcement are more likely to be able to make them follow the law if there's actually a law to be followed.
Nah, I get that part. The part I don't get is where did we, as a society, fail so badly for people to even consider the things that I read around this thread.
The article states that 3 out of four ER doctors are male.

So, out of 50% of 75% of the sample, they found a very slim, close to noise, discrepancy.

They are not focusing on a very strict group, they are simply taking 60% of the group and comparing it to the rest 40%. A small discrepancy in the data is obviously expected, even on large samples.

The article's author even has the courage of saying that the lack os women working as ER doctors is a sign of a lack of gender equality on medicine. Cmon now. Women make up a larger percentage of medicine graduates over the whole western world. Maybe they simply would prefer to work on less stressful environments than ER and it's not a matter of prejudice?

PC took over the world. Idiocracy is already a reality.
This idea that debts don't need to paid because they can be rolled over is pretty absurd.

It's true that aggregate debt never need go to zero, but all debt has a carrying cost. Current debt expense is $310BN annually for the federal government [1], and likely going higher. A high amount of debt is very dangerous because the carrying costs could easily rise for reasons beyond our control. In fact carry costs were 4.7% merely ten years ago, vs 2.7% today. If high interest rates return, high debt countries are definitely facing a budget squeeze.

[1] https://www.thebalance.com/interest-on-the-national-debt-411...
> It’s my strong belief that those images that prevented nuclear war between the US and the Soviet Union.

I'm going to guess it's more because neither government was willing to find out if they could survive the other side's nuclear attack. Who wants to rule a country with all the major cities destroyed, transportation recked, the economy in ruins, massive humanitarian crises, etc.
the number of volcanos erupting in some interval (say 10 years) is large enough that you can roughly treat it as a constant source of CO2, but at the same time the volcano is emitting igneous rock (i.e. the magma with CO2 removed), which will reabsorb the CO2 over a very long timespan... so yes volcanos emit large amounts of CO2, and commensurate amounts of CO2 absorbing igneous rock, in geological timescales they cancel
That wasn't a feature, it was a bug. It's not that you could limit the amount of memory a program could use, you had to implement one contiguous block of memory an app could use and you had to close apps even when you had plenty of memory to get a contiguous block.

That was like Mac users who said that cooperative multitasking was better because it let games run more smoothly, while technically correct. It was like being happy that your dog pooped on your carpet because now you have free fertilizer.....
Ask HN: What could NASA do with a 100B budget?
I went to lessons in the spirit of this book (Drawing on the Right Side of the Brain), but I didn’t have the patience. What kind of artist are you if I may ask? Do you think it is of substantial value for an aspiring UI designer starting literally from scratch to focus on learning to draw well?
Exactly. Or credit/debit cards.
My order is:

• iDeal (convenient Dutch banks' system)

• PayPal linked to bank account

• I've usually paid at this point

• cryptocurrency

• credit card because it's such a pain in the ass
!

INitial state, precondition, postcondition and increment right in front of your eyes. For-loops are rather rich in context information
If you won't stop trolling we'll ban the account.

https://news.ycombinator.com/newsguidelines.html
making a feature available does not make it required
> "Then what happens when the trees are fully grown? Processing them for industry would just reintroduce the carbon back into the environment."

A forest is only a significant carbon sink while it is growing. Harvesting and replanting a mature forest is the best thing to do with it.

Obviously you want to use the wood for construction, or other long-term applications. Well-constructed buildings can last for hundreds of years (and after that, the timber can be recycled). Long term carbon storage.
Hold on a second there, we don't teach basic functional logical deduction skills in our public school system, so let's not have extraordinary expectations of our students' parents ;)

But yea usually interactions with parents are a nightmare. It's become even worse now that special needs children are lumped into regular classes, so special needs parents will be asking questions my teacher family is literally untrained to handle.
> The researchers divided 500,000-plus cases into four categories: male doctors treating men; male doctors treating women; female doctors treating men; and female doctors treating women. “All of those are statistically indistinguishable except for male doctor–female patient,” says Brad Greenwood, an author on the study and a data scientist at the University of Minnesota. If a heart attack patient is a woman and her emergency physician is a man, he says, her risk of death suddenly rises by about 12 percent.
The same doesn’t apply to sex?
We make use of a custom version of WebRTC (default) (https://github.com/RainwayApp/spitfire) and WebSockets as a fallback with low latency implementations.
It's more important for the low-powered clients where native implementations tend to pay a lot of attention to conserving battery life, which is often the biggest consideration.
When I compare my tax burden in one country vs. what I would be paying had I been living in another country, I would not use the measure of "Tax revenue as share of GDP". This is the first time I came across such a way of defining the total tax percentage.

Is this include corporate income tax, capital gains tax, personal income tax, social-security payments rolled into one? If so, then it makes sense, as the US has low corporate and cap gains taxes.
A small difference can still be statistically significant.
mmm. s/email/www/

Email is centralized in the exact same way Facebook, Twitter, or Netflix are centralized--probably more so. There is less CDN, etc. infrastructure built for email unless you are one of the really big players.
Boston also has lower mobility for tech workers, because in California non-competes are unenforceable but in Massachusetts they are.
If you change the words, you change the meaning.

Let's try and get to the bottom of why the swapped version is meaningfully different. What makes "men" and "women" fundamentally different in this context, so much so that they can't be exchanged without significantly altering the effect of the headline?
Thank you for sharing. And then people say GDPR is overreach. It is precisely to deal with these type of issues and the type of issue described in the OP that we don’t want. Time will tell if it works, but I have hope.
It's an appeal to authority.

The Press Freedom Index's assessment cannot be taken seriously because it lists UK in the same tier as the US. I'm a citizen of neither so I don't have a horse in this race.

The former regularly engages in thought policing the social networks with real prison sentences handed out to such "heinous" criminals like Tommy Robinson.
Thanks for your feedback. I did find a verbatim copy of your response in a reddit thread[0] while I was waiting — but I guess it serves me wrong for not doing my research :)

As this is a canned response, it doesn't really do a great job, in my opinion, of comparing Parsec and Rainway directly. I can look into the tech myself and make a comparison that way.

For a more direct question: do you have any plans to sell customers cloud rack-space directly through Rainway?

[0] - https://www.reddit.com/r/cloudygamer/comments/8tntdt/parsec_...
> What's, not to love?

Biodegradable. That means that at the end of its life it decomposes and returns its recourses to the environment. Normally this is good, but not when the goal is to remove a resource from the environment.
"including card transactions and checking account balances,"

It's hard to imagine how anyone could even consider this being OK without the user being asked and being able to revoke permission anytime.
We eventually ban the main account if you continue using throwaways for throwaway posting.

https://news.ycombinator.com/newsguidelines.html
Do you mean top-to-bottom Numba-jitted? Or projects/libraries that use Numba to speed up parts of the code?
Bloomberg last week: This No-Brand Startup Won $240 Million to Fight Amazon on Price and Quality

https://www.bloomberg.com/news/articles/2018-07-31/brandless...
"Simply put, if social conditioning causes men to take the concerns of male patients more seriously than female patients (OR inversely, social conditioning makes female patients less likely to share potentially relevant information with male doctors in the first place), it would explain the difference pretty easily."

But given the opprobrium currently attached to labeling someone "SEXIST" in our society, personally I'd like to see a bit more evidence, and some alternate explanations explored and ruled out, before we start wheeling that one out and tarring people with it.

The other problem with that is more practical... if it "truly is" sexism, then you also foreclose any chance of fixing it, because there's just no way you're going to go to doctors and make them precisely 10% less sexist than they are now. But if it is in fact something else, it may be fixable. (Or illusory.)
A) Big. The south side alone is ~60% of the city; the west side is much smaller, but the point is that by land area (not a great measure, admittedly), there's just a ton of space to patrol.

B) No. It's been tried, pretty consistently, with (at best) mixed results. Under Rahm, at one point (may still be true), CPD was paying boatloads of money in overtime to saturate violent neighborhoods.

C) That said, the book Ghettoside makes the really convincing argument that neighborhoods like the ones under discussion in Chicago simultaneously suffer from under- and over-policing. There's a massive police presence in much of the south side, kinda, and a lot of people get arrested for a lot of stuff. At the same time, the murder clearance rate (the number of murders "solved" by the police) was ~17% in 2017 (https://chicago.suntimes.com/news/murder-clearance-rate-in-c...) but over 60% in the (rather more violent) 1990s. So a lot of people have a lot of negative interactions with police, but the most serious crimes - murder especially - rarely get solved. Lots of people in the neighborhood know (or suspect) who did it, but that person never goes to jail (for that crime), resentments build up, it becomes harder for police to cultivate good sources/relationships, retaliations occur, etc etc you can imagine how things go.

D) There have been pretty successful interventions; CeaseFire comes to mind (https://chicagodefender.com/2018/01/10/the-return-of-ceasefi...). But it's suffered from lack of money and infighting at the state level between Rs and Ds. The basic idea, though - intervene in violent situations with people who are from those neighborhoods and used to be in gangs - seems to work quite well. It just needs money.

E) Crime is still actually down when compared to the 70s/80s/90s. Not that that's much comfort to someone living in one of the affected neighborhoods. But the country as a whole has become both more peaceful and more media-saturated, so aberrations like this get much more attention and the problem seems worse than it is - though again, that doesn't mean much to someone who just had a loved one get shot.
So it's just like Steam Link or Nvidia Geforce Now?
Ten Arguments for Deleting Your Social Media Accounts Right Now by Jaron Lanier
I wonder if Google's own apps are exempt from adaptive battery? I continue to have problems with Google's apps soaking my phone's battery. Reset the phone, and I get 6 days of standby (this is LineageOS). Install Google apps, and it's now 4 hours. Wakelock detector says the apps Inbox, Google, and Google Contacts are the top offenders with dozens of wakes keeping the phone awake between 40% and 99% of the time. Super irritating.
These CONCERNS for the Oil and Gas field might surprise you
If you need to add hardware to solve a software optimization problem such as this, you've failed your job as a software engineer (if you should even be called an engineer, neigh, a developer).

I'll probably get downvoted for this, but you should should examine opportunities to optimize your SQL/other storage patterns before you assume anything else if your indicators are your DB is slow.
The 20 per week limit has been an issue for large organizations with tons of different subdomains managed by different groups. Universities are a good example: you might have things like bobsmith.faculty.example.edu, cs101.compsci.example.edu, etc., which all count against the example.edu rate limit.

This can especially be a problem because the renewal exception to the rate limit doesn't work like you might expect. If a particular cert (meaning the exact same set of domains) has already been created, it can be renewed regardless of whether it would exceed the rate limit - but it still counts against the rate limit. If 45 certs have already been renewed in the last week, you can only create 5 new ones. If 80 certs have been renewed in the last week, you can't create any new ones. They plan to change this, but it hasn't happened yet: https://github.com/letsencrypt/boulder/issues/2800

Some organizations have gotten rate limit exceptions to handle this particular issue. Maybe they looked at some internal metrics and decided raising it to 50 would reduce the number of exceptions they have to make while still curbing misuse.
I was hoping that Thunderbird would become a unified desktop equivalent of Mail/Calendar/ToDo of the apps we have on the mobile that can handle all the major providers (exchange, gmail, icloud, yahoo, pop, imap, etc...).

But it doesn't support a good chunk of these, which makes it difficult to adopt in my life.
Bummer that Tim Cook didn't mention Woz. Heck, nobody here on "Hacker" News has mentioned Woz in the context of this article or Tim Cook's email. Way to go, folks. (and yes, Ronald Wayne deserves a shout out, too.)

Posthumous reality distortion field in effect. Can you feel it?
> nobody ever reports confidence intervals

But the article[0], in PNAS, has confidence intervals.

[0] http://www.pnas.org/content/early/2018/07/31/1800097115
when our programmer implemented exactly what PM required...LOL
Discussion: https://news.ycombinator.com/item?id=17700894
The author is basically implying that men are worse at that profession than females because of their natural behavior. Isn't it exactly the sort of arguments that got that google guy fired?
>It feels like a happy family of devices all working together for a more scientific future.

With this philosophy, I’d suggest you’d avoid paying attention to the trajectory of Chinese society, perhaps even more so now that Google plans to get in bed with the CCP’s censorship and dissident quashing regime...
Links to relevant kernel commits:

| Introduced | Fixed |
|===============|============================|
| 36a6503f [3] | 72cd43ba [0] |
| 1da177e4 [4] | f4a3313d [1], 3d4bf93a [2]|

Looking at the git tags, it looks like commit 36a6503f was introduced in kernel v4.9-rc1, while 1da177e4 is the first commit in the kernel git repo, for kernel 2.6-rc2.

[0] https://git.kernel.org/linus/72cd43ba64fc172a443410ce0164589...

[1] https://git.kernel.org/linus/f4a3313d8e2ca9fd8d8f45e40a2903b...

[2] https://git.kernel.org/linus/3d4bf93ac12003f9b8e1e2de37fe279...

[3] https://git.kernel.org/linus/36a6503feddadbbad415fb3891e80f9...

[4] https://git.kernel.org/linus/1da177e4c3f41524e886b7f1b8a0c1f...
This will not work. You can not expect to achieve your ends by acting in random fashion. You're going to actually have to do the hard work of figuring out who's good on this issue and who's not.
You can do that today in the same way that email allows it: register your own domain and you can find a Mastodon host to service it and even CNAME it to a different Mastodon host if your needs change or a hosting provider becomes broken. It is part of why it was important to me to use an instance on a domain I control.
Do I have to remind you what happened between peak dot com hype and the modern web?

https://en.wikipedia.org/wiki/Early_2000s_recession
Still need more money for the James Webb space telescope.
Practical Factorization of Widely Used RSA Moduli [pdf]
And what about spam and protections against it? Very much centralized and reliant on DNS to boot.
Mokens Launches on the Main Ethereum Blockchain
If I want to hide "malicious code" in my binary (whatever that means on iOS), there's no amount of Apple review that will be able to catch it. In fact, even their restriction on downloadable code is not enforceable.

This limitation is not about improving security, it's about preventing developers from creating ecosystems inside their apps.
I just started using AWS a few months ago, professionally, had a couple hobby projects before that.

I don't think I could answer any of those questions. I actually gave up because it started to feel ridiculous, like I was just looking at random geometric shapes.

But my point is that I still use AWS and I find what I need without ever having seen those icons or remembered them. The console remembers my most used tools so usually I find them in that shortcut menu.
We've told you several times how to know it as a user. You just conveniently are skipping over it..
I am the creator of Mokens. Let me know if you have any questions!
Ask HN: Quality literature on implementation of cookies and sessions?
I have a solid working understanding of cookies and sessions, but want to go deeper on the subject. I've been unable to find any canonical documentation on best practices, useful techniques, and patterns to avoid. Have you encountered any examples or documentation that meet any of those criteria?
I was suggesting that they don't have executable code at all, that they use static configuration. But it may not be possible within their problem domain, I don't know. I always prefer static solutions until dynamic becomes necessary.
My experience is the same as yours.

Scenario 1 - You build a GPU+ gaming PC in the cloud, play for 35 minutes, have a 10 minute shut down policy, come back 5 days later, play for 45 minutes, and delete your cloud gaming PC.

35 minutes of playing + 10 minutes of idle time - This will cost $0.30 because Paperspace charges per minute rather than per hour.
5 days of storage for 500 GB - Storage is $10/month. For 5 days of storage, this will cost $1.67.
45 minutes of playing - This will cost $0.30.
Delete your cloud gaming PC.
Total cost for 1.33 hours of gaming in the cloud will be $2.27.

Scenario 2 - You build a P5000 server, play 1 hour and 15 minutes 3 times a week for 2 months and then delete your cloud gaming computer.

1 hour and 15 minutes of game play - This will cost $1.16. If you play 3 times a week for two months, this is about $30.16 (1.16 per day * 3 days * 4.33 weeks per month * 2 months).
Storage will cost $20 for two months of saved data for a 500 GB hard drive.
Total cost of two months of gaming for about 32 hours in the cloud will be $50.16.