skysight-inc/HackerNews huggingface dataset:
>Then that stopped working. That's the crisis.

It didn't stop working. There isn't any unexplainable data - the opposite in fact, too many explanations for the data we have.
This isn't news. Do we need to blow every little thing happening to Tesla out of proportion? Not to mention, the inside cabin doesn't even look affected.
Ask HN: How to properly authenticate REST API?
I've been researching this for about 4 days now and can't seem to find an industry consensus. What I'm almost sure not to do is: use JWTs, and implement stateless authentication— it's probably not worth it. I've read about using 16+ random bytes as a token, but am not sure of it's implementation. My understanding is:
1. generate the tokens in the server when a user logs in and store them in a tokens table in data store
2. respond to request with token
3. store token in cookie client side
4. include token in header of request as auth bearer for every protected URI

What am I missing here? I don't see that much of a difference from this to using a stateful JWT? Since the token would also be stored client side, wouldn't this have all the insecurities of JWTs?
Cloud/Comerical <> automation.

I have been burned in the past by "commercial", thankfully I wasn't the guy who had to go to the board hat in hand and say "this isn't in our control"...

Every comercial provider is going to do everything in their power to "lock you in" they are going to put up features that are "better enough" that you migrate to them and then they own you.

Automate, reduce your workforce as needed (it will be less than your plan) and then look at the commercial provider as a second step, look at them in relation to a real DR plan. You might not like what you see for day to day operations but having them on stand by in the even of an emergency could make you a hero and present a massive cost savings already.
Shamefully my default assumption was this would be about something good. The SV speak had almost made me forget the original meaning of the word isn’t always positive.
They have everything to do with increasing power density. By definition power density is potential energy and when you release that energy you get waste heat.
"stronger checks" is an escape valve to stick practically anything in there. Give me a break haha.
Anyone utterly serious about security would never put their infrastructure in someone else's hands.

So, the real question, how serious are you when it comes to security?
So mind control will be the replacement of vim movement and other stuffs with steep learning curve?
https://www.scientificamerican.com/article/its-time-to-end-t...

Scientific America (2011)

”This week a meta-analysis of seven studies involving a total of 6,250 subjects in the American Journal of Hypertension found no strong evidence that cutting salt intake reduces the risk for heart attacks, strokes or death in people with normal or high blood pressure. In May European researchers publishing in the Journal of the American Medical Association reported that the less sodium that study subjects excreted in their urine—an excellent measure of prior consumption—the greater their risk was of dying from heart disease. These findings call into question the common wisdom that excess salt is bad for you, but the evidence linking salt to heart disease has always been tenuous.”
It's one possible reason but certainly not the only possible reason.
Right but worse when batteries contain the “oxidizer”. If the battery uses atmospheric oxygen (e.g. as with hydrogen fuel cell vehicles) then it’s exactly like gasoline.
The Union Cottle's the UPS employee base and make it more difficult. UPS's management is one step above GM 2005. The are old school not that motivated to innovate and build lean.
I also did not follow what is special about 2^n/phi. I found this more concise justification:
http://mathforum.org/kb/message.jspa?messageID=431065

"Knuth's finding was that the dispersion of indexes for a sequence of consecutive keys is maximized when M is chosen this way, thus a multiplicative hash table with a dense set of keys will have the fewest possible collisions when M approx= 2^N * R."

Although, if the keys are dense, then we could just use the low bits directly. I guess the unstated assumption is that in the real world, we'll have a mix of keys that are sequential and keys that are strided in such a way that using low bits directly would cause a lot of collisions. So we need a multiplicative hash to take care of the latter and we should use 2^n/phi to take care of the former.

Austin, you've done a lot of great work on this. What is the hash function you'd use today for small (<=32byte) keys?
The problem is that women still get pregnant, women still lactate and men do not (people looking for BS excuses to attack me can spare me their rant about how that statement makes me transphobic, thanks -- there are far better ways to advocate for trans rights than randomly pissing on people). This is further compounded by a raft load of social norms that I see as ultimately rooted in that fundamental reality.

I'm not interested in fighting with you, but when you outright dismiss my assertion that women remain oppressed, it's really not fertile ground for having a good discussion on the topic. I'm not having a good day to begin with and your comment just reminds me of comments on HN where people try to dismiss the idea that my gender is a serious barrier to financial connections on HN and my rebuttal to that is that I appear to be the only woman to have ever been on the leaderboard and then that gets attacked as irrelevant and it's a really crazy making thing for me.

A lot of men on the leaderboard are quite well heeled. Some of that money clearly comes from their connections here on HN. These conversations make fire coming shooting out my ears and that's not a good place from which to try to engage in civil discourse in accordance with HN guidelines.
A Japanese rabbit mascot rapping about cryptocurrency and blockchain in English
ahk was forked from the last open source version of autoit. I like ahk. Never needed to use autoit.
Why is it so important that the office overlooks Herald Square, is that just poor editing or am I missing a deeper meaning?
For ICE trains, if you buy within one week for that distance you pay 120-150E. But if you buy 2 weeks or more ahead of time there are steep discounts. Prime time likely 80E, I did similar distance for midnight or the 4-5am trains for 30-60E.
> Have a little kid and make the mistake of attaching a credit card to the app store account.

iOS and Android have parental controls where you can lock out/limit IAPs for an account or device to counteract this. I agree the whole practice is shady, but there are at least tools to prevent some of the worst scenarios. Which was not always the case.
Inaccurate article on one point - they say that in 2014 it was proved the smallest number of moves to solve is 26... but in 2010 it was proven to be 20 moves actually. [1]. (And the article they linked to was from 2008 anyway and said that 25 moves was the max needed as of 2008 best knowledge)

They probably were referring to the "quarter turn metric" which is 26 quarter-turn moves, but "moves" in speedcubing almost always refers to face turns. And this is made more confusing by the article since the article they linked to was regarding face turns as well.

Both of course are mentioned at cube20.org [2]...

[1] https://www.bbc.com/news/technology-10929159

[2] http://www.cube20.org/
Doubtful. If this was common we would have more female startups funded. Just because she is attractive and raised money doesn’t mean she had to use sex to get there. She did go to a Ivy League school which brings a network and credibility in and of itself.
Maybe the community, the "business" is doing quite poorly.
Does caffeine affect your blood pressure? I found mine went way down when I quit.
Would have been nice if they mentioned the quarter-turn metric, and hadn't said "moves" then, which in speedcubing almost always refers to face turns. Especially when the article they linked to was regarding face turns as well.

Both of course are mentioned at cube20.org ... http://www.cube20.org/
Ever since I learnt about this, I have made a practice of saying what I'm doing out loud as I leave one room and enter another one to do the thing I want to do. So I have that moment of "I walked through a door and flushed my brain's to-do cache", but it's quickly remedied by the fact that I loaded up a few words describing what I want to do the instant before I stepped through the door into the longer pipeline of brain-to-mouth.

It helps me, at least.
The author has the email marketeer's model of customer onboarding. - onboarding is complete when an email address has been captured. "We have you now!" The product is targets to spam, and the service provided is a loss leader for that.

There's a school of thought that onboarding is only complete when the user perceived that they are getting more value from the service than the effort they put in to use it. For some services, that's a long process. Github onboarding is complete only when the user has created a repository or made a change to some existing one. You don't need to be a Github user to read.

This is sometimes confused with customer retention. It's different. Customer retention is about keeping customers who fully completed onboarding. The signup that never did anything was never onboarded. (Also, it may just be a signup bot.) This is especially important to services which have a free and paid tier. Counting free customers too soon creates the illusion that there's a big customer base ready to be converted to pay. That pool may be much smaller than thought.
Murmur3 has good distribution properties and is much less code than City/Highway/Spooky. There are also some hashes based on hardware AES instructions (not crypto, just taking advantage of the mixing properties) that are near perfect but I don't recall their names and haven't benchmarked them.
A couple of Amazon things
Right because, frankly, that's the point of marriage, to legally declare "this is a permanent relationship and we are totally serious."

If you don't wanna make the legal commitment to marriage, you don't get benefits of "committed relationship." The military isn't the only governmental or non-governmental organization to treat married partners different from unmarried partners. You'll be shocked to learn that you also can't collect spousal social security if you never married your girlfriend.
I want a process patent...

"Small Scale Patent Acquisition and Publication for the Purposes of Misleading Investors and Customers on the Feasibility of Large Scale Research and Development Efforts"
Edison tried for many, many years to improve batteries for electric cars. This has been going a lot longer than 30 years.
A good secondary hash would be the fmix methods from Murmur, or multiply-byteswap-multiply.

However, having seen a lot of terrible user-defined hashes (I do a bit of consulting on an internal Google mailing list), I strongly advise against rolling your own.
Eposo: Minimal content curation theme to make your own Product Hunt
Did you read the abstract? They conducted an online survey and asked where the participants where coming from. They collected the data a few months ago.

Besides that you seem to have no idea how society actually worked in Eastern Germany - trust to medical personel was actually pretty high and health care was good. STEM subjects were hard science and also medicine education was good. Not sure about psychiatry but western countries did lobotomy until the 80ies...

So I guess if they would have screened in the GDR for that, the data might be accurate enough - but you didn't bother to read the abstract.

Stasi worked different - they didn't bother with regular folks but were focussed on dissidents (wearing blue jeans and having long hair was often enough, through) and people in power positions or with connections outside of GDR were targeted.

Reprisal was not like in North Korea where you end up in the gulag (stuff like that happend, I just want to clarify not excuse them) - it was a much more nuanced system - you don't get the flat or job an stuff like this.

People planning for or announcing public discontent with system got often harsh treatment but everday folks could speak open as long as you didn't articulate discontent with the system - even that was allowed to a certain degree.
Answer: Seed dispersal mechanisms for giant seeds? (and search strategies)
> women have 100% the same rights as men in this day and age

No, they don't. For one example, there are several hoops that women have to jump through when getting some medical procedures. Men do not have to jump through those same hoops.
A Great Survey of Logic and It's Evolution
Not sure if it's still the case, but DataView used to be vastly slower than having multiple typed views (Uint(8/16/32)Array) of the same buffer. Could explain some of the perf difference.
I believe this changed several years ago:

https://postalpro.usps.com/competitivepoboxes
If the servicemember, married or unmarried, has a child they will get the "with dependants" BAH pay.

A marriage license is for legally making your relationship "for realsies."
Yes, it's their main sales tool for recruiting and public relations efforts. Everyone gets two weeks training in part on 1-1-1 when they join, and employees involved in recruitment get a lot of training on how to present it and respond to questions, and exposed to ongoing marketing on it.
The comment about Minesweeper is a particularly smart observation that is true of AR as well.
Déraciné hands-on: From Software can also do beautiful, thoughtful VR
IIRC Chromium is free software, even if it is a proprietary expression of something. There's only so much bs you can pull before people has you figured out. I still use Firefox, but it's been years since any news about it made me happy. Seriously considering now to compile Chromium myself and use it as my main browser.
Probably because the people who have lost money on Theranos are rich investors, not the "regular folks" who invested too much of their 401ks in Enron, nor did Theranos cheat people like how Enron gouged old Californians on their electric bills by intentionally shutting down power generation.
That is not what the work is about. Not at all. In fact it removes caps. It's wise to read things first, talk about them later.
Or even a flywheel. Any energy storage device is going to be energetic when things go wrong. One of the many challenges is in assessing and managing the risk of such an outcome.
I also wonder why potassium chloride is not being promoted heavily, in the face of low recommended intake of sodium, IIRC the recommended potassium intake is much higher than that of sodium.
The fake missed delivery notices USPS sends are widely reported in the media, Amazon is powerless to do anything and probably doesn’t care much to begin with, they change items from guaranteed to “expected” when USPS ships them.
There was actually a panel discussion on Friday about modernizing the USPS with many different stake holders (Union workers rep, small business owner, European logistics expert). You can check it out here: https://www.c-span.org/video/?447082-1/panelists-discuss-pre...
Because the patent system in is broken, always has been, probably always will be. Less of it is about creating and protecting innovation, most of it is about creating litigation to slow down others who attempt to compete with you (even when they’re doing something different).
During Oktoberfest... 2012, we stayed during the week in Munich and then planned on leaving for Berlin before the weekend.

I recall the cost of 2 train tickets being comparable to gas and 1 day 1-way rental for an entry level Mercedes (E class perhaps?).

Autobahn or train... it wasn’t a hard choice.

Edit: As Canadians, we took the car rental. We couldn't turn down an experience of no-speed limits, even if driving is work.
THIS IS a SELF PROMOTION: Music
https://youtu.be/XMBZGiRf9a4

I have worked VERY hard on this song and I did it all in my basement. It would mean SO much if you would listen to it...thank you
Probably Bitterfeld.
From what I've read, that's another everybody-is-different sort of thing. The median effect is marginal (like a few mmHg, if I recall correctly), but there's a wide distribution, and some people are affected much more than others.
Vendor Native — Xcode or Android Stidio — is still king but clients typically care more about what your app does for them than how you made it (unless the way you made it adds dozens of megabytes to the final app like Xamarin.Forms does). Learning the vendor-Native stack will give you a far greater understanding of the underlying OS which will set you apart from other Ionic devs who start panicking when an app returns a java exception of Android or similar on iOS.

Doing Xamarin development for a few years taught me that you really need to understand the underlying operating system and how it works. Most of the consulting gigs I got were what I called "bomb squad programming" where a C# web shop decided "How hard can it be?" and embarked on a Xamarin.Form project only to discover too late what they didn't know. When I started mobile work with Xamarin this bit me as well (but I Googled my way out of it quickly enough). These weren't dumb programmers but just because you can expertly apply C# in web development doesn't mean you can instantly apply that in another kind of programming (like multi-threading, desktop, server services... or mobile). The very best Xamarin devs I knew came over from doing ObjC in Xcode or Java in Android Studio. What made them so good is that they understood at a deep level how to write mobile apps. It's like if you do Java MVC web development and switch over to ASP.NET MVC. The concepts are pretty much identical so the only hurdle is adapting to the language/syntax differences.

Really long-winded way of saying: sticking with Ionic initially and making friends with someone who can bail you out and/or mentor you on deeper understanding of the mobile operating systems will pay off.
Dubai is not safe for anyone to visit. You can have a microscopic spec of cannabis on your shoe or three poppy seeds and you get years in jail. That's not at all like everywhere else. In fact, it's laws like these that typically get places labeled uncivilized and barbaric. In Dubai's case I think the slavery, oppression of women, and other laws typically fulfill that label even better. No place with such laws is a place I would visit or encourage anyone to visit. Who knows what other stupid laws they will try to enforce on unsuspecting travelers who don't even know they are in violation?

https://newsone.com/409392/brit-jailed-in-dubai-for-4-years-...
Of course you think that it's fair to discriminate based on skills, because it benefits you. That's not how the rules are though. If Green Cards were based on the queue length, then Indians would starve out every other country, and that's not how the US has decided to approach immigration. There is a set limit based on country. Just because 1 country has more applicants doesn't mean there's discrimination. Having a set limit per country ensures that everyone globally gets a fairer shot, just because you're not getting what you want doesn't mean there's discrimination. Letting you in would be discriminating against someone else in another country.
Wrong thing will not be tolerated. Don't you try to take us out of the matrix. I'm happy here
But isn't there, atleast for Americans, the FDA, who is a final authority on food product safety; So till the time that FDA is convinced to make an advice, there is no credible advice; irregardless of any other published study.
The height of the antenna would give away the frequency. But the soviets had good spy penetration into the US industrial base so it's likely they already knew anyways.
Have you used it lately? The Lightning update, not to mention their rabid acquisitions have made them quite formidable. They own Heroku for example. There core systems are a pain to learn, but the most powerful stuff in their market.
No. I'm saying that income plays a larger role than dialect. Dialect still plays a role. If dialect differences were accounted for, speakers of non-standard dialects would have greater aggregate scores.
Those lobbyists and the scientists they fund are decentralized. Decentralization isn't guaranteed to improve anything, usually it only adds overhead.

Decentralized consensus works in Bitcoin (a minority can never fool the majority) because verifying work is much easier than doing the work. Decentralized consensus doesn't work very well in research, because verifying work is even harder. If you repeat someone's experiment and get different results, maybe you just didn't do it correctly? So you need multiple replication attempts before you can be sure to have falsified it, and in that time someone else has already published the next bogus study.
Which is the best Marketing and Sales strategy for online travel startup?
Suggestion and input for the best marketing and sales strategy for online travel startup are welcome.
Thank you.
Good grief. Salesforce people are well paid. They can take a personal day to vote. For many people, working at Salesforce is a dream job.
gamecopyworld?

Wow, it still looks the same way it did 15 years ago!
Had some success with this amateur setup to get a higher resolution image from multiple Nikon D90 photos :

- take multiple zoomed-in low DOF overlapping photos, with fixed settings, covering the artwork from a tripod, only rotating the camera

- stitch with Hugin[1] and export undistorted UHD photo

- split the it into tiles according to your viewer's format with ImageMagick

- view with a tile viewer. OpenSeaDragon[2] is smooth and well suited for UHD images, but any can be adapted/used, for example leaflet[3].

Would love to hear about other workflows !

The Bosch websites seems to use Micrio[4] for the UHD viewing and storytelling.

[1] http://hugin.sourceforge.net/

[2] https://openseadragon.github.io/

[3] https://leafletjs.com

[4] https://micr.io/
The question was what's the benefit for a taxpayer footing the bill, not the individual benefiting.
I have arguments with my girlfriend about this. She says she's concerned for my well-being because I am skeptical of most dietary recommendations. I have to convince her that detox shakes are a scam perpetrated by snake-oil salesmen trying to make a buck off people who don't know any better. I'm not sure how to defend the latter without conceding to the former.
I suppose it is more ergonomic
In addition to this, the JRE podcast with Matthew Walker has tons of fascinating insights into sleep (and how essential it is for health, longevity, etc.). Highly recommend just about everyone listen to it:

Joe Rogan Experience #1109 - Matthew Walker
https://www.youtube.com/watch?v=pwaWilO_Pig