skysight-inc/HackerNews huggingface dataset:
I think this is a great thing. I have been reading about Cliqz and what they published [0], [1] and I believe they are quite serious about privacy, as a matter of personal opinion, so serious I find it hard to draw a parallel between them and any other player in the industry. If no personal identifiable information is collected to start with, and as they call it, "privacy by design" is guaranteed, then it really matters very little who is a shareholder.

[0] http://www2016.net/proceedings/proceedings/p121.pdf
[1] http://josepmpujol.net/public/papers/big_green_tracker.pdf
Saying #noclickbait doesn't make it not clickbait.
This certainty is unwarranted, in the recent political context.
why python???? ... any language with functions will do. I mean just create a java class with all public static functions if you want it to work like python (global functions). Its really language agnostic. Your answer will be a number a string or a list of things. All languages can do that.

Im making an explicit opinion that python is no better than any other language for implementing algorithms. HN please prove me wrong in an objective way so we may all learn?
Drag and drop website building is a monumentally easier challenge and hasn't obsoleted programming.
Web Essentials, EditorConfig, Fix File Encoding and Line Endings Unifier. Also, Node.js tools and Tools for Apache Cordova if you work with those.

The reason I think it's the best - I haven't seen better HTML/JS/CSS auto-complete in another IDE. It's also got one of the best Android emulators for working with Cordova/Ionic. WebStorm comes close, but I don't like that I had to setup each new JS library to get auto-complete for it. VSCode comes close, but doesn't support code folding on // #region comments and it can't deal with large files as well as the full VS.
I've been through this cycle too many times to count. Eventually it sunk in for me that having a great product/website doesn't mean much for its success rate. I've realized finding cheap ways to promote the product to its target audience is the real make-it-or-break-it part of the equation, unfortunately, and has little to do with conventional dev skills.
Tcl/Tk is trivial to deploy; on linux and OS X, wish already exists and tclkit makes it easy to deploy in windows.
Did you forget about 2001 already?
You're treating a movement as a monolithic entity, and then saying it should be represented by its most extreme and vocal advocates, who inevitably make up the vast minority.
It's one thing to learn the language, it's an entirely different thing to be an pleasant presence, especially in a noisy environment.
No, I understood your meaning. I'm saying: that's what every code refactoring does. I'm saying that since you can't claim credit for eliminating vulnerabilities that are already disclosed, the emphasis you place on precluding vulnerabilities is strange.

Can you provide that list of vulnerabilities now? You're obviously keeping track of them, that being part of the premise of the project. I know you don't have them broken down, but we can help with that.
If Python is the king, C is the court jester juggling knives.

Done well it looks amazing, elegant, and efficient, but in the wrong hands you'll lose your hands.
> the overall community didn't thought the system would survive the eventual switch to proof of stake if 15% of all ether was in the hands of malicious actor

The author of Casper, Vlad Zamfir, clearly stated on numerous occasions on Reddit that there was no risk to PoS b/c of the hack.

> There was also the moral matter that something could indeed be done to actually return the stolen money to their original owners

That's a really nice way of phrasing "we have a moral right to help gamblers recoup their losses."
I was young, but I was there and remember it well. That flood was crazy. I remember being boxed in with my uncle and he had to do some crazy stuff to his truck's air intake on the fly just so we could get through a deep puddle and out of the box. In retrospect, we probably shouldn't have driven through deep water.
Contributing to Django Framework is easier than you think
Wasn't the Virtual Boy created by Gumpei Yokoi, the guy who basically created the Game Boy? Maybe it got through based on his reputation alone?

I recall reading (unconfirmed) stories in the gaming press that after the Virtual Boy failed, Yokoi was basically relegated to an office where he basically did nothing.
Giving money to any charity is potentially better for the world than giving money to no charity. But part of the premise of this article—and of the Gates Foundation—is that some charitable acts have much higher ROI (in lives saved per dollar, or whatever other metric you might want to measure by) than others, and you should focus on those if you want your money to go furthest in doing good in the world.

This approach is usually known as "effective altruism" — there's a whole part of the blogosphere hanging off that keyword. But conveniently, I can just link to http://www.givewell.org/charities/top-charities — this is a (very well-researched) consensus list on which charities turn "dollars contributed" into "good done in the world" most effectively.

Reasonably, the entries on GiveWell's list match pretty well with the strategy of the Gates foundation (i.e. vaccines et al.) The differences in the Gates Foundation's strategy mostly come down to the fact that economies of scale for solutions work out differently when you have millions vs. billions of dollars.

Of course, you're allowed to disagree with the ranking criteria the EA people use—maybe the global number of "quality-adjusted life-years" people get to live isn't the #1 thing you care about optimizing.

But even if you disagree about the particular charities, EA—and the parent post—still have an important point you should understand: no matter the charity, contributing money is almost always higher-ROI than volunteering. (It might feel "lazy", but it's the principle of comparative advantage: the person a charity could hire for the money you can earn in time X at your job, will almost certainly do more good for them than you'd do by volunteering X hours of your own time.) And that "get the highest ROI for my charity dollar" mindset is what's important, no matter what you're measuring ROI in terms of.
For purposes of security, there's no difference between example.com/api/my-webhook?auth-token=[some-uuid] and example.com/api/my-webhook/[some-uuid].
It is interesting piece of software but to me it seems to say critical business case of in-house JIT infra is gone. IBM lately seems to be betting on Swift for apps and Go for blockchain related infra initiatives.
Ok, understood. Then the other benchmark that matters in the typical Rails workflow is how fast rails c starts, and how fast tests run. If MRI runs tests twice as fasts it's hard not to use it. Think 30 seconds vs 1 minute. It really makes a difference. Or running a single rspec example.

Tests seem a really cold start scenario, even if only a bit of code changes among test runs. Is it possible to save (I don't know what, the internal state of the VM?) for the unchanged parts among runs? Would that even work?
I stumbled across a three-chapter preview of the upcoming book Learning TensorFlow on Safari Books Online and went through them in a sitting. It was so accessible - both the book and TensorFlow itself - and inspired me to start learning math so that when the rest of the book comes out I will be better prepared to go deeper. I love learning in general, but haven't been this excited about learning something totally new (for me) in a long time.
My Big Buttand other reasons I don't work for Cirque du Soleil
Why does retaining compatibility with systems that you've always had compatibility with mean reduced security? That seems like a pretty big assumption without any supporting evidence. Normally retaining compatibility with old systems is a pain just because it's extra work, rather than actually hurting the security of the software.
‘Field patterns’ as a new mathematical object
If a primary purpose of forking ntpd was to give the original project a kick in the ass about fixing vulnerabilities, could it not be argued that your project has now served its purpose, and dollars could be better spent on building from the success of "NTP Classic" --- which, after all, is the version of NTP most likely to be deployed?
I followed the links to this page:

http://home.dtm.ciw.edu/ebps/data/

When I try to download the TAR files, I'm sent to a Google Drive page where the download button gets a single 5 MB file.
The URL when I first clicked this was the GitHub release notes, which is far more informative and apropos to the HN audience than either the TF landing page or vague VentureBeat pseudonews.
Thanks joepie91. Yeah I'm planning on consulting with an attorney before launching it.

I mean there are tons of services and even extensions doing the same thing already, but I just want to make sure legally I'm ok. Good advice mate :)
> why python???? ... any language with functions will do.

it will. and this person chose python.

> HN please prove me wrong in an objective way so we may all learn?

no one cares about the choice of language. This is about learning algorithms.
Thanks for this. More than a pogrom, something favouring the encounter would be the nice approach here and the aim of this contest. The point is to make that quarter modern and attracting enough while spending next to nothing. I am pretty sure many are gone for good from that quarter, but youngsters may still find a way to integrate and coexist. Hipsters they are not, more open to contamination than parents and grandparents though. Aggregation spots and green areas may do half the trick, the other half being in rejuvenating the very old buildings in the proximity of the train station.
97%: An Inconvenient Truth About the Oft-Cited Polling of Climate Scientists
Let's say you are writing a python program, and you want to simply check if an element is in a list. So, you build a list and then check if 'd' is in the list:

mylist = ['a','b','c','d'].
if 'd' in mylist:
...

This works just fine, however, the time it takes, to find the item, grows proportional to the number of items in the list. If your list grows to 1000 items, and the item you are searching for is positioned last, python will check 1000 times. This is known as O(N).

Now, how does the performance compare, when using a set data structure?

myset = ('a','b','c','d')
if 'd' in myset:
...

Well, underneath the hood, the set stores the data in what's known as a hash. The time it takes to check if an item is (or isn't) in a list does not grow proportional to the number of items in the list—it's always constant: O(1).
It also forces you to know what's happening under the hood though. If learning the material comprehensively is your goal I think it's not a bad idea to dig in to a c implementation.
Ignore it. It's only important in the professional setting (where theres a personal risk).

Otherwise, in social situations, people who are sensitive towards it are holding others hostage to it. You're only a hostage if you allow it.
For site-to-site PSK tunnels it's really trivial to setup. Just install the package, copy/paste a config from the docs, add the PSK on both sides, and start the service. Wham, bam, thank you ma'am, you're done.
If anyone's worried that this "huge dataset" might be too much to handle on a home computer, it looks like it's around 5 MB if I clicked the right links.
Callback hell has confused me for a long time. I kept assuming there was a good reason people write code that way, and there was something wrong with naming my functions and passing them by name. The latter approach always made more sense to me - it's more readable, and more intuitive.

If there is no real benefit to the nested anonymous function style, why do people do it that way? It would never even have occurred to me to write code like that if I didn't see it in javascript all over the place.
Yes, this is an issue with ethereum. However:

1. Geth/Mist now supports a "light client" mode that requires much less storage and maintains most of the strong crypto guarantees.

2. Most of the size problem is due to the complexity in efficiently optimizing the serialized data, this will improve in the near future.

3. Ethereum is on the forefront of research into scalable blockchain technology, which has the potential to resolve this problem.
Years of boring english courses, but I really learned when I had to read the manual of my TRS-Color!
IMO, I shouldn't have to use Google to search Craigslist listings. Plus, this method only gives you listings that Google has already indexed.
The data for this approval rating seems to come directly from the same website via online voting.
There couldn't possibly be a worse way to gauge his actual approval ratings short of just making it up on the spot.
Yes. It was a good article.

It also made the point that in addition to specific issues around form factor (i.e. size/weight/looks), AR in glasses brings with it the whole social acceptance factor. This can be ameliorated to some degree with decreased size and less obtrusive design but there will still be the potential for a "Glasshole" factor in a consumer environment until/unless societal expectations change.

Someone taking pictures of you and having data displayed in real-time is just not something most people would be comfortable with today.

The article was also more generally bullish on AR than VR. Which seems right. Even given another generation or two of development, VR seems like a niche for hard-core gamers and maybe a few other uses.
A Face Chart App with Canvasses for a  Diversity Faces
Where is javascript in this medieval court?
>I don't see how working remotely can ever replace the human interaction of working in one place.

What "ever"? It has already replaced that for thousands of companies, including some valued at billions...

>People forget, humans are not machines.

Thankfully there's this great new technology called IM, where they can ask somebody (and in an even less intrusive manner than directly disrupting their flow going to their desk to talk to them).
Sure, but perfect is the enemy of good.
The Bulletin of the California Department of Water Resources (1922-2004)
This appears to be a clear violation of your own privacy policy.

https://nugget.one/privacy

"Sharing Your Information

Rest assured that we neither rent nor sell your personal information to anyone and that we will share your personal information only as described below.
Nugget Personnel: Nugget personnel and authorized consultants and/or contractors may have access to user information if necessary in the normal course of Nugget business.
Protection of Nugget and Others: We may release personal information when we believe in good faith that release is necessary to comply with a law; to enforce or apply our Terms of Use and other policies; or to protect the rights, property, or safety of Nugget, our employees, our users, or others. This includes exchanging information with other companies and organizations for fraud protection and credit risk reduction."
And the best way to learn, practice and improve for the last two levels is to get involved, which means the ones need more chances are more likely to be separated from the group and this is very discouraging. Instead, babies and toddlers generally get more patient guides. That's a more important reason for adult second language learners. The general solution I can think of is to have a private coach to help them learn with feedback and correction so that learners are more likely to catch the limited chances to begin to get involved with groups. High quality chat bot could be a more affordable option for most learners, if the bot is good enough, which I'm not familiar with.

edit: combined two sentences into one.
If you use a light client the actual size is around 30 MB and takes ~30 seconds. If by "each project" you mean ethereum projects, then no since they share the same chain.
Link: http://www.economist.com/news/science-and-technology/2171601...
10 Powerful Social Bookmarking Websites for Bloggers and Webmasters
I alternate coffe with orzo coffee, barley coffee, or chicory coffee. They look like coffe, taste like coffe but have no have caffeine. And "natural". It's good to trick the addiction.

https://www.amazon.co.uk/gp/aw/s/ref=is_s_ss_i_0_11?k=barley...
Not being able to implement a DP solution to a problem has killed me in the last two Google interviews I've done. It's important to learn.
Significant whitespace is great for technical interviews - you don't need to worry about matching brackets and whatnot. No brackets also means you have some more vertical space to work with on the whiteboard.

Beyond that, if your interviewer is fluent in python, list comprehensions can greatly shorten the amount of boilerplate you have to write.
Is this a muscle tissue with actual cells, and if so, what species is this and how it's... sourced? If it's not muscle of an existing species, why is it called muscle?
I'm not making a claim about Python being "best" for algorithms.

The course uses JavaScript. I recommend re-implementing the algorithms covered in the course in another language that you know well. It helped me really understand what's going on.

In my case, I'm most familiar with Python.
You have a typo in your title. It should be "does" not "dose".
Well, not all of it would go directly to the lake, for one. It would seep in to the ground, re-evaporate, etc.
Popular cryptocurrencies process many thousands of transactions per hour, and many wallets choose to retain a large fraction of that data. In which case a few years of operations easily yields dozens of GB of storage.

In theory though, through the magic of Merkle trees, a superlight client could get away with needing only a few KB of storage, accounting for the paths through the Merkle tree that witness its spendable outputs. A discussion about such a setup for Bitcoin can be found for instance at

https://bitcointalk.org/index.php?topic=88208.msg1896213#msg...

I don't know of any crypto-currencies that have implemented these UTXO commitments that would allow for such wallets though...
This is a good introduction focused on tensorflow.
https://www.youtube.com/watch?v=vq2nnJ4g6N0 (Tensorflow and deep learning - without a PhD by Martin Görner)

The ML/DNN rabbit-hole goes deep. If the video above leaves you wanting more, http://www.deeplearningbook.org/ does a good job on drilling into more specifics for the various techniques used. The examples on the tensorflow webpage are also very good.
I don't give a fig about "Milo", but what do you think when a noted feminist declares an entire race the "cancer of human history" [1]? How should people, whether on the left, right, or whatever, view this opinion? Scorn? Rioting? Approval? By denying her humanity? I'm guessing, if you are like most leftists, you would view such remarks with a mix of indifference and agreement.

[1] https://en.wikiquote.org/wiki/Susan_Sontag
They looked back at what the Vectrex 3D Imager had done a decade earlier and thought, "the technology has advanced; this time it's different!" ?
Not if you treat the secret URL like a password. Plus, not all webhook callers allow you to authenticate them without supplying them a special URL.
> Unless you have a way to verify the source of the code is the candidate with some level of confidence this isn't different from picking the office peacock for promotion.

This is why I specifically said 'less risk' rather than saying something like 'would 100% be a great hire'. You have to vet everything a candidate says and shows you, including their credentials and past experience. Some people lie on their resumes, unfortunately.

In the worst case, they are a good enough liar to get through the hiring process and you find out later they can't write code or don't actually know the things they said they know, so you fire them (and hopefully you figure this out during a probationary period).

> The only thing having self-published code signals is a willingness and desire to have one's code public.

I was conflating 'public' with 'available to be seen by the interviewer' in my argument, but it doesn't change what I'm trying to get across. Having code public has an advantage before the interview, when the employer only has the resumes to judge by. During the interview a candidate may also be able to show non-public code, but just being able to show any code gives an edge over no code.

Many, many, many people have no code show to show at all, generally because they wrote it for their previous employer. That's fine, but it puts them at a disadvantage over someone who can show code they wrote (public or not).

It's less risk because it's easier to judge someone by code than no code. I don't know why that isn't obvious. Let me put it this way: if you ask 10 programmers what "good" code is, you'll get 10 overlapping but distinct answers, and I think most programmers applying for a job are going to claim their code is 'good'. The trick is really figuring out if your definition of 'good' overlaps enough with my definition of 'good' that we can work together. We could discuss this for an hour or two and I could be 75% certain, or I could look at your code for 5-10 minutes and be 90+% certain.
I definitely agree that's unfortunate, but no specific entity is holding those funds, they are locked into the contract.
Quite an extensive list there :)
I don’t have any experience with that unfortunately. I’ve seen a couple of talks/demos/announcements about it and it sounds like it’s automatic, but I haven’t been able to find the SDK or any tutorial for it, so I’m not 100% sure. The Qualcomm speaker this morning said there would be more details about it later today but I don’t see anything on the Agenda [0]. Maybe Pete’s session at 12:40 will cover it?

[0]: https://events.withgoogle.com/tensorflow-dev-summit/agenda/#...
If anyone from Yahoo is listening, I'm still trying to get into my Flickr account after about a year and 10+ contact attempts now. You guys literally have thousands of users in a holding pattern complaining and you're not doing anything about it [1].

I'm not trying to cause trouble or shake anything up. I'm an honest person who just wants in my account with all my photos. Meanwhile while all this happens you're just leaking and leaking account info every year.

What am I to do? Yahoo Help is just a FAQ that has no route for me to submit my identification information. Flickr's legacy login is gone. My original gmail was deleted. I do not have a route for escalating my issue. I'll show you my driver's license, birth certificate, maybe even the last 4 numbers of the CC I used for flickr pro in 2008.

What do I do? Get a lawyer? This is my stuff! Get it together Yahoo!

https://www.flickr.com/help/forum/en-us/72157668446997150/
Promises did solve the problem; async/await is just syntactic sugar for them. The important thing is being able to start a task and pass around its value on completion without worrying whether that completion has happened yet. If you didn’t see an advantage to promises, you might have just been using them like callbacks.
Right now everybody cheats, so there is a lot more cooperation - but typically only in your racial group.
http://alf.nu/Unicode
You should spend the energy to write proper English sentences before posting online. It's easier to learn by doing.
We ended up switching to cxGrid to move away from delphi 5. It does absolutely everything, but it can be hard to figure out how to configure it so it does exactly what you need it to.
Since Threema Web is pretty new, the data protocol is still in flux and may change often. (You can find the details in the source code though.)

The SaltyRTC signaling protocol on the other hand is fully specified: https://saltyrtc.org/ and https://github.com/saltyrtc/saltyrtc-meta/blob/master/Protoc... There are already libraries for Java and JavaScript (TypeScript). It can also be used independently of Threema.