skysight-inc/HackerNews huggingface dataset:
People lose their tokens and need a way to recover their account access. People don't want to have to go into a physical branch to verify ID and reset it. The security of everyone suffers to increase the convenience for a few.
probaably, they are faggots.
Thanks! Url changed from http://marginalrevolution.com/marginalrevolution/2017/10/see....
Vulnerable to XSS.

<b onmouseover=alert('XSS')>click me!</b>
I really DIG this site
Mapping in HTML – A Proposal for a New Element
We've added 'existing' above. Also changed the url from http://marginalrevolution.com/marginalrevolution/2017/10/see....
Fair point on the 'blame phones'. But social media is powerful and might have an amplifying effect on mental imbalances.
a less destructive version of this is to install `sl` on your linux or mac.
To clarify: "That's 100 cycles during which your CPU does nothing but wait..." is true only in the absolute worst case. In the likely case, your superscalar, out-of-order processor is working on the next several instructions, possibly including some speculative instructions after branches, and simultaneous-multithreading is letting another thread use the now-idle resources. Furthermore, since it's superscalar there are tons of compute resources (integer ALUs, FP ALUs, vector ALUs, to mention a few) which the CPU scheduler will try to keep busy as close to 100% of the time as possible.

That said, in any performance critical application, you pay close attention to your memory hierarchy and you design and compile your application in a way to respect that as well as take advantage of the underlying hardware architecture and resources to the fullest.
> it's what they enjoy doing

Sure.

But, passion ~= "suffering". "suffering" IMO is mutually exclusive with "enjoy" (unless that's your sort of thing)
I feel for the students facing this reality, but I think this comment in the article can lead to dead-ends.

"""Our survey, for example, shows that one-third of respondents do not have useful conversations about careers with their PhD supervisors."""

I remember speaking once with a few professors about what their work was like in industry. I was caught off guard when I was told they never worked in industry and had their whole careers in academia. Silly assumption on my part of course, but it was jarring nonetheless to be told so much point blank. It really put into perspective for me the angle at which advice was coming from.
perhaps, but AWS is so profitable even AMZN cannot reinvest all its proceeds.
They have no profit. Color me unimpressed.
Ask HN: Got laid off, interview failures and road ahead
I got recently laid off because my company decided to shutdown the office where I used to work. At my last job(1.5 yrs) I transitioned to the data side and have been working on ETL, BI reporting and also built a ML app. Earlier in my career I was a full stack developer working on monolithic apps. Over the last month I have been interviewing for various dev & data engineer roles. Most of the roles that I see listed require experience building microservices. But in my years of working as a developer I worked exclusively on monolithic apps. Because of this I have been having a tough time with my coding challenges which often require building some kind of service. I 'm in a dilemma, study on how to write /build services or continue applying for jobs, practicing my ds & algorithms. As the days go by and failure with interviews is causing lot of stress(have a young family to take care of).
Do I tell the companies I am interviewing with, that I dont have experience building microservices or keep trying to work on it. I am confident that given some time I can easily pick it up and start writing my own. Any suggestions on how to tackle this problem.
Thanks
The 250ms figure does not include loading the file into RAM. It's just memory access and number crunching.
On my system the naive approach + mmap + gcc-7.2 (-O3 -march=native) gets 0.126s if the file is in cache, so 8GB/s.

The same code on memory instead of a file gives me around 14GB/s. Maximum I can achieve with threads and/or intrinsics is 18GB/s (theoretical maximum for my dual channel memory is 20GB/s). This is pretty much a memory bounded problem.

I assume the author was using an older gcc version (as mentioned, autovectorization is not really a solved problem), and a lot of time in this scenario is going into file I/O:

real	0m0.126s
user	0m0.071s
sys	0m0.056s
The new profiler is much nicer. I'm a fan of the network monitor, it has a timeline of your requests, shows your JSON payload bodies, and previews images. I was mainly using Facebook's Stetho bridge for this, if Studio adds a good Sqlite inspector I'll happily kill that dependency.
That gets installed right after cowsay.

I have my priorities.
How. Did. You. Find. This.
Agreed. I'd even go a level up and simply say that centralized systems generally allow the service to have more control over user behavior. This allows them to monetize user behavior. This profit potential allows them to raise capital. The capital allows them to do all kinds of things that a nonmonetized platform can't, like hire 30000 employees, buy the competition, and engage in big marketing campaigns.

Ultimately though, it's a local optimum. Facebook acts in its own interest, not in the interests of users. The things that Facebook does to maximize its revenue cause great harm to its users. I'm not sure what's going to break the logjam, but something will.
So there's an agency that provides oversight that makes sure that the jobs were handed out to people who applied through USAJOBS and verifies they were available to the general public? It's not the same few private companies getting the same jobs every time and handing out union cards to a small group of tight-knit people? Typically family and friends of the original group? And they don't limit each hire to a narrow specific role defined in the RFP so they can hire more people for a job that a single multi-talented person can do?

That's good. I wouldn't want that to be the case like in other industries with artificial scarcity and special power structures.
Not now, but what about the 10th update?

In general, I don't think it works that way.

If you want people to install your code in a privileged position (such as a browser extension), you need to appear trustworthy.

You essentially ask your users for a credit of trust. And yes, being able to say "just read the code" is absolutely necessary, but it is not sufficient. You usually get trust by having a great track record in the past, or by cooperating with others who do have such a track record.
It would definitely work well for that sort of thing. :)
Hi folks! we're getting the HN Hug [edit:Fixed]. If you want to check out the book, while we fix the issue, you can go to:

https://notebooks.azure.com

Then on the top "Featured" carousel click the link for Jake's book.

If you just want to view, try the 'notebooks' directory to see HTML rendered view of the book.

If you want to Run/Edit/etc the book:

1) Sign in - any gmail, outlook etc email will do.
2) Clone the book
3) Run! (Cell/RunAll)
Protip. Put expensive stuff you want for yourself on the registry. It's unlikely that anyone will buy it (but hey if they do great!) but after the due date they send you a coupon for 20% off if you buy everything left on your registry.

We got a bunch of lego sets for the older kid that way, and the discount counted!
First they have to know or infer with reasonable certainty that you have a fitness tracker to even attempt a further inference that you're not sharing the data because you're lazy. So if they somehow can profile you well enough to know that you already lost the privacy game.
> prefers to expense everything off

What does that mean?
> Already, some apps do this by learning patterns in who we left and right swipe on, the same way Netflix makes recommendations from the movies we’ve liked in the past.

Netflix recommendations are utterly bad.

Musk et al. warn us constantly about "AI" and its dangers, but so far AI doesn't seem to work very well. Translating from Italian to English with Google Translate results in complete gibberish; Amazon (the other recommendation engine everyone mentions in that kind of discussion) is only ever able to suggest products one has already bought.

It's probably hard to judge the efficiency of those dating systems since there is no control, and people want them to work. It would be interesting to compare a "sophisticated" dating engine with a more random one and see if there's any difference in outcome.
Sounds like Named Data Networking, which cannot come soon enough. Is anybody doing commercial NDN yet?
UChicago is an excellent school, right up there with Stanford and the Ivys, and you're forgetting Northwestern, UIUC, Wisconsin - Madison, Michigan - Ann Arbor, Purdue, and plenty others.
Dating apps/sites that employ the strategy of "get as much data as possible and match intelligently" have failed to compete for users against Tinder, the dumbest, simplest dating app that hardly does any intelligent matching at all. This implies that it's not the sophistication of a dating app that matters, it's the simplicity and ability to attract a userbase that in turn attracts a larger userbase etc in a virtuous cycle.
Microsoft Cloud Continues to Grow, Powers First Quarter Results
I am not familiar with "the place with the ducks" as far as I know, so you probably have the wrong person.
Seen on Facebook. I think it was https://twitter.com/oleggp who initially discovered it.
How will multithreading speed this up unless the program is running on a multicore CPU?
Not at all; it's in their best interests to lump the "no data provided" bucket somewhere around the average, perhaps below as an incentive to provide the data. They don't have to know if you have a fitness tracker at all to enact such a policy.
Yes, but now it's CLI only. It used to have GUI.
I'd also like to know this as well.
Welcome to the corporate world, where buzzwords are everything.
Alphabet sees shares pop after earnings beat
Great article. They did themselves a bit of a disservice referencing the Flu shot though. It is the most ineffective vaccine used in America. This would be more convincing to those against vaccination if they had just left it out of the discussion.
The 2014 label is a little weird. While it was written in 2014 it was only just published publicly today.
Australia's is toothless though, in that enforcement is minimal and so are the penalties. NZ's may be equally crap or it may be quite effective, but I haven't seen details on the above and so it's hard to compare the policies at this point. A policy like Thailand's, where those found to be buying against the rules have their property taken off them without compensation, would be ideal.

The next step would be to require that those that do not meet the rules sell up, which should put a bit of supply into the market and achieve some meaningful price movement.

Another good step would be to finally bring in a decent capital gains tax, ideally charged annually on paper profits at whatever your marginal tax rate is, and with no family home exemptions. Ironically taxing the family home would, in this case, actually make them more affordable by exerting further pressure to move speculators out of the market.
Can anyone (preferably from the region) share some link to a good serious source for a foreigner to understand the modern thing with this Catalonia thing? (preferably without the history bullshit because... people never make decision based on history that's just pretext).

Because every article about it I've clicked ended up as an example of horrible quality journalism! Either 0% facts, or too un-opinionated to be of any use, or the other extreme with the "it's the Russians behind it" wackos.

Like... why tf would people want to "break" a country that works so well, such as Spain?! Yeah, some regions are poorer and other are richer and also pay some of the bills of the poorer ones, but that's how a country works.
You can play anything you own on steam r battle.net.
A couple random things:

1) I broke my leg quite badly, and after morphine and dilaudid didn't help they put me on fentanyl, which at the dosage they gave me, just barely helped with the pain. I am VERY glad they had that in their arsenal.

2) My understanding is that most Fentanyl deaths are due to heroin being cut with fentanyl (or even replaced with) on the street market and addicts don't know the potency of what they get, and OD. That fentanyl is coming illegally usually from China (either directly or via Mexico, etc..) and is isn't directly the fault of Pharma. If you want to solve that problem you need to either stabilize heroin potency or make it easy to test, etc... also making Narcan cheaply/freely available would save a lot of lives.
This is so wrong. Your partner is someone that balances you, not a mirror of you. Sure, you need a lot of similar interest, but also differences to get a relationship work, and those I don't yet see in these algoritms, not even remotely.
This reminds me of Vigil, "the eternal morally vigilant programming language" https://github.com/munificent/vigil
This is a prime example of what I don't like about a lot of hosting companies. Offer to do all of the techy stuff and just give the user a junky prefab "social" network.
Postgres is a relational database not a graph database.[1] Neo4j and OrientDB are true graph databases. You can build a graph DB on top of a RDMS but it is not inherent in the system.

With that said, GraphQL is a misnomer anyway. It's not really about graphs. It allows you to have a query syntax that lets you easily query related and nested objects but it doesn't have the concepts of directed edges and nodes like you have in a graph unless you explicitly code it.

[1] unless they added a feature that I was not aware of and couldn't find in the 30 seconds I spent googling
You keep referencing things you expect to be familiar, but they’re not. What John Oliver said once isn’t widely known.

It’s not obvious. Why would I check? You have to support your position. Right now you continue to weaken opposition to Pai’s actions by appearing that you aren’t being logical.
Georgia election server wiped after lawsuit filed
HTML resource you can parse with wget here

https://jakevdp.github.io/PythonDataScienceHandbook/
There are many positions that are in effect only for those already in the employ of the contract. Either lateral or promotion but only for an 'insider'. This is not particular to this single contract but can be applicable for all contracts depending on many factors.
I think the parent means, they prefer to aggressively spend their cash flow on growth rather than produce a nice taxable income figure. It's an odd way to phrase it, one wouldn't use "expense everything off" in that way normally.
Aren't very high sales for a store expected? They don't manufacture (most) stuff - they buy it for X, sell it for X+Y%, so better economy = more consumer spending = higher sales for stores. The real key for Amazon is how good their profit margins are on these sales.
that's because UIs are about the most uninteresting, unfun thing to program. If you have to do it, you sure don't want to do it for more than one platform.
New: Visual Studio Code Supported on Windows, Mac and Linux

You can now use Visual Studio Code to write code on all UE4 host platforms. To use it, select "Visual Studio Code" as your preferred IDE from the editor preferences dialog, or add the -vscode argument when generating project files on the command line. All platforms are also required to have the .NET Core 2.0 runtimes installed, which can be obtained from the Microsoft .NET Core website .

To use Visual Studio Code to build and debug all project types, some additional extensions are required. On all platforms, make sure the Microsoft C/C++ extension, and the C# extension are installed. On Linux and Mac, the "Mono Debug" extension is required to debug C# projects, and the “LLDB Debugger” extension is required to debug C++ projects.
So I signed up to evaluate the application but after giving the platform access to my timeline I do not see any of the breakdown the author is talking about. Is it because I'm using the web interface?
"Forward+" is the typical term for the newer style of forward rendering which includes a special pass for optimizing large numbers of lights(the most appealing part of deferred).
The housing and urban development department puts out price indices for construction of various types per sqft.
https://www.amazon.com/Construction-Cost-Indices-Supportive-...

You will find these are not far off industry average.

I don't know of a quantative model of the local financial system that fully implements the factors I mention, but these ideas are getting more traction because of the practically western-world-wide housing crisis.

I guess decent models are forthcoming to study these effects.
Also in comic strip form: http://www.commitstrip.com/en/2014/05/16/russian-roulette/
When did people decide that all caps means the writer is shouting?
Why not simply introduce foreign ownership surtaxes instead of this ham-handed (and loopholed) approach? Wouldn't that be a win-win? Either you have more tax income, inflating housing prices cool off, and/or more vacancies for citizens. What's not to love?
Ah thank you! We've updated the title above.
Yes, I don't see the "brutally effective" part. It's just clickbait.
The Future Is Near!
I've added a counter (of successful commands in a row) to my bashrc. I've seen it as high as 120.

function promptCommand()
{
LAST_STATUS=$?
# Set title of window to dir, then add new line to prompt.
PS1='\[\e]0;\w\a\]\n'
if [ $LAST_STATUS -eq 0 ]; then
((successes++))
PS1+='\[\033[1;32m\][$successes]'
else
successes=0
PS1+='\[\033[1;31m\][0 $LAST_STATUS]'
fi
PS1+='\[\033[0;32m\] '
PS1+='\w $(date +%H:%M) \$ \[\033[0m\]'
}

lastStatus=0
successes=-1
PROMPT_COMMAND="promptCommand"

My prompt:

[0] /home/bar/g3 14:19 $ echo "boo"
boo

[1] /home/bar/g3 14:19 $
Vegas?
Not entirely. In practice, the net result is that hunters want to preserve habitat. The large predator species that you mention require a huge range. It is the fragmentation of habitat that has done them in as much as anything else.
Apple will invest $1B in TV, but don’t expect Game of Thrones
Ege bölgesinden harika resimler en güzel fotoğraflar doğal güzellikler tarih
You're right, but I think you're overly simplifying the problem by ignoring the alternatives.

At one end of the spectrum, insurance companies, or dating apps, have essentially no data. So every person is charged equally, which I think is unfair (some might disagree).

To improve, companies collect data via a questionnaire. The obvious problem is people lie -- often unintentionally.

The next step is to use genuine data. And, there are certainly issues with that.

It's just not clear to me that the issues outweigh the problems with the alternative scenarios.
Sounds about right ;)
Stavros from TileDB, Inc. here: Currently, TileDB is a storage manager, so it offers only efficient slicing. Support for aggregation queries (e.g., similar to what you can do with Pandas) is in our roadmap. We plan to work on it as soon as we ship the Python bindings.
I’ve never used a machine with more than 32 gb of ram. I suspect if one did a survey the average android app developer is on an 8 gb dual core laptop.
The vast majority of "alcohol related illnesses" hit people late in life--taking a decade or so off of their life.

The opiod epidemic is hitting people in their prime. It's the leading cause of death for 15-65 year olds, and it dwarfs any other cause for people in their prime.

https://www.cdc.gov/injury/images/lc-charts/leading_causes_o...

(for reference, 90% of "unintentional poisonings" are opioid/opiate related, and it's data from 2015. By some measures, the increase in 2016 was an additional 10,000 ODs)

https://www.nytimes.com/interactive/2017/06/05/upshot/opioid...
Married, so I probably won’t be using that site anytime soon. I did meet my wife on OkCupid and I was doing the Ng ML class at the time and studying NLP and wrote a bit of my own “crawlers” to weed out people, find matches, and draft letters.

Intersting thing with this is I have 4 different twitter accounts for all of my different personalities:

- political

- work related

- life(dog) related

- shit posting

I kind of want to see the different matches I’d get based on my tweet taxonomy.
Well, it's really hard to read text upside down.
Interesting point. But p/e so long, and they are never paying dividends, what is happening with that money?

I don't think of ebay highly, desides what they did to Craigslist.

They had Skype. They could have been Facebook, but no. They had Paypal. With Skype and paypal they could have easily made micropayments on cell phones, but no. I hardly ever see a company with so many wasted chances. They are in a "winner takes it all" niche but sooner or later someone (Open Bazaar?) will challenge them and I don't see any innovation from this company.
I remember this from Twilio-con in 2014 or so. TwilioQuest was easily the best session I've ever had at a conference. It looks like they took that and went even further. What a fun project to work on! I wish every conference session was as well polished. To me this one is the gold standard, or maybe on HN the bitcoin standard, of conference sessions. Approachable, engaging, educational, and entertaining.
Subject to economic / technical constraints. But when there's money at stake, construction companies find a way. The petronas towers have pylons driven deeper than 100 meters [0].

You're right that the land matters and a San Fran to Dallas comparison is challenged in many dimensions but I think San Fran's housing market would be more reasonable if it were money / technology constrained, not zoning law constrained.

[0]: https://en.wikipedia.org/wiki/Petronas_Towers
In this case, you probably should :-)
I wonder what their reaction will be when people start attaching stickers to them
I like this approach.

Try the obvious and simple approach first. If not working, revise.

Instead of trying to balance between too many factors, slumping in decision making and consensus gathering, and in the process, all the smart people already exploited or even corrupted the system.
That is the source material for the book. It was loaded by Jake to Azure Notebooks.

You can load any github repo by creating a Library (a repo basically), and +New / Load from github. It'll load the notebooks, data, etc. You can then run the notebooks.
PostgreSQL corruption detection tool detects “freeze-the-dead” bug
Just wanted to chime in and say that as a Go developer of almost 5 years now, running into Rusts' compiled examples has been quite cool.

The cool thing about these is that you can actually (depending on the situation) make your examples your tests.
Yes. I said the same sort of thing below. Trampolines are also used in signal handling and other such things. The common thread is a need to adjust the stack, so to speak, to handle a strange situation (signal handling, calling GCC-style local function closures, ...). I think TFA just misues terminology, though it's possible that those uses are common in some communities, so maybe they aren't really misuses. Having to carry a mental dictionary for translating terminology in the world of CS seems to be... a requirement that will never go away. It's OK.
Title should include a warning about auto-play videos on the page.
You guys think there will be a backlash to this? Some sort of modern luddite movement? Whenever I shop I refuse to use the self-checkout, you think that sort of thing might spread?
So, search is a few keystrokes away, I doubt you didn't find anything.

Anyway, about Pai's ties to monopolistic ISPs, there was a lot published here: https://www.techdirt.com/search-g.php?q=Pai
The issue here is not the production of opiod drugs. The issue is bribing doctors. This guy would not be under prosecution if he had just produced opiods.