skysight-inc/HackerNews huggingface dataset:
Programming mentor
Hello, I'm a high school student in the Netherlands doing gymnasium (Dutch school system) and my English is near fluent. The last 2 months or so I have been slowly learning Python and I am really enjoying myself, and I'd like to take it a step further, I'm even considering studying CS after high school. I am looking for an experienced programmer who would want to mentor me personally. I'm intelligent and a good learner. In return I could do work for you in the future or something of the sort. If you might be interested send me a private message!
Bas
Yes. The title of this post is ungrammatical.
How do you escape an asterisk on HN? Other than

(a*)*c

which seems to work.
…hard to verify without seeing the source
I find this fascinating and troubling.

From a hacker perspective it is incredible. On the other hand, this is all driven by a profoundly illiberal government that has no goals other than its own survival and that's supported by a lot of human misery, some might say slavery. I love using Apple products but it's hard to forget the conditions at places like Foxconn.

Both sides think they are outflanking the other - the West hopes this development will liberalize China and increase respect for IP and rule of law while the Chinese government intends to use this interaction, trade, and adoption of tech to increase their own power. It's a very risky game. It's easy to criticize the US government (and for obvious reasons - this is not a defense of US foreign policy) but Chinese hegemony might be far worse.

As techies how can we create places like this in other more open countries? Can this kind of development not be done locally or in Latin America countries?

Please understand this is not an attack on China, just some (I think) realistic concerns about their government.
It's already happening, even to people who are not from the 7 blacklisted countries : https://twitter.com/wirehead2501/status/829559451610931200
51% of Americans earn $30,000 or less a year [1] (yes, you read that right - and you wonder why populist candidates are so popular and why the anti-rich people sentiment is so strong...).

I wish Musk hasn't said that he's not going to make a car that's cheaper than $35,000. I know he wants to add Level 5 Autopilot and whatnot by default on these cars, but he really needs to get to the $20,000 range at least. That's where the real mainstream is, and not just in the U.S. either. EVs will go mainstream when they cost $10,000-$20,000.

It may take another decade to get there, but if Musk doesn't build such a car others will. It's just that I would've preferred a Tesla car to put pressure on the quality of the competitors as well.

[1] http://www.zerohedge.com/news/2015-10-21/goodbye-middle-clas...
You're missing the point, completely. The issue has nothing to do with whether it's okay to end a sentence with a preposition. The issue is that the title is ungrammatical.

"What device do you read academic papers with?" - fine
"What device do you use to read academic papers?" - fine
"What device do you use to read academic papers with?" - ungrammatical
I don't believe there is a single OSI or common license that makes it straightforward for an author to say "This has all the open source freedoms, except for commercial uses" and sell the exception.

When I see people asking if they can do this, they get laughed out of the room by others who claim that "open source freedoms" does not restrict commercial use.

This is kind of a serious issue. Artists get such a license, a high quality one (CC-BY-NC). Programmers don't. Programmers are not licensing law experts, they won't make their own, and if they do they won't do it right.

If you make it as easy to ask commercial bodies for money and still be OSS as it is to just build stuff for free, this story you mention will happen far more often.
"searching through around 200 million tuples within the order of 2 seconds (partially stored columnar using psql array types and GIN indexes). Not for a second did I consider using any kind of specialized database, nor optimized algorithms, except for some application-level caching. "

--

That's cool and all, but for some real-time applications, retrieving in the order of seconds is unacceptable.

DBMS has their earned place in the backend stack but I found that statement of covering 98% of the cases a bit of a stretch.
Has anybody seen the lectures? how does it compare to reading the book? Are the lectures sufficient?
Introducing Laravel: Part 1 – Installation and Setup
One million subscribers later, here's the state of Have I been pwned
Slow Query Analyzer and Smart MongoDB Indexing at NodeChef
>Piracy isn't a convenience problem. It's a not wanting to spend money for things problem.

Except the likes of iTunes and Steam have shown that if you provide an affordable, reliable and convenient distribution channel, people will flock to it over the napster/kazaa/torrent alternatives.
> Full regression tests are hard enough in software, but I can’t imagine trying to run through a “make sure everything in the house works” checklist in meatspace.

Interestingly, this is exactly what you do when you rent a boat, and also what owner does later when you return it. You go through a checklist and manually test and mark each feature. Kind of like manually running functional tests, except it's in a real world. :)
Outright crashed my firefox :) Seems to be very demanding.
Same. Very interesting reading events as described in the theguardian.com and then its foxnews.com equivalent.
Yeah there's this weird attitude that's quite prevalent that there's something wrong with printing things out on paper. There isn't. Paper that we buy in the west to use for printing things out on is almost all sustainably farmed timber, and consuming it promotes the creation of sustainably farmed young growth wood, which absorbs CO2 very effectively.
It was hard for anyone in the UK to make sense of how efficient the EU was in regards to making laws.

The general consensus was that they were too slow and didn't go far enough. Last summer there was a lot of talk about bee die off and what to do about it. The EU was simply too slow to do much about it. Banning pesticides or whatever. With most of these laws that people feel passionately about (farming, housing, jobs, energy, pollution, etc) the EU is so so so so slow.
From the article:

> If they don’t want to cooperate then they don’t come in. If they truly want to come to America they’ll cooperate, if not then ‘next in line’.

You will most likely be considered as "not cooperating".
FB claims almost 1.9 billion users, with 1.7 billion active at least once a month. Still some way off everyone, but for the right demographic (between 20 and 40, lives in a city, in a country with communications infrastructure) it's not unreasonable to see not having a FB account as really unusual.
Mint lost me, because it's too much of a PITA to keep the credentials managed for their screenscrapers. Also it seems like all my banks redid their websites in Angular or React over the past year, and Mint really hasn't handled that well
I'd argue that the power of a classical relational database makes it easier to handle for someone without in-depth knowledge of databases than many NoSQL databases.

Of course, if all you need is to look up values by keys, a key-value store is a much simpler solution. But the moment you need more complicated or just different kinds of queries than you expected, NoSQL can be rather difficult. You can get a lot of complicated queries done with mediocre SQL knowledge and a general-purpose RDBMS, but trying to use a more specialized database outside the intended use can be pretty painful.

I don't have all that much experience with NoSQL databases, but my impression was always that it is more important there to understand the limitations of the database than with something like Postgres that is more forgiving. They might be simpler to get started with, but much harder to use correctly.
Wire Cryptography Audit (with X41 D-Sec)
I don't see how that is relevant.

1. There is extra connection information, or information can be sampled. E.g. query to see if anything is responding.

2. Our user just wants to get action ASAP. Not necessary to be a good citizen, our user just wants it to work.

3. Heuristics depend on what works in practice. HTTP/S is a comp layered protocol so it is hard to know what is right.

4. Connection conditions are extremely varied, mobile connection type, overseas location, ISP, IPv6, proxies, VPNs, etc all affect the connection parameters so finding a reasonable heuristic is hard.

5. Sampling connection information is difficult, because when it fails you also fall to log it.
Show HN: Secrypto API
It seems slow to me too...

We have tables with > billion records In RDS / SQLServer and return results in <1 second...
And then the CBP officer will put you on the next flight back. You don't have to hand over your password, they don't have to admit you to the United States.
For instance, fs_usage(1)
Excluding Germany, Britain’s contribution is more than the total net contribution of the 26 other EU states combined.

https://i1.wp.com/order-order.com/wp-content/uploads/2017/01...
Yes, back when things actually buffered properly on the internet. The way YouTube buffers now: not actually loading more than a few seconds of the video ahead of where I'm watching, even when it KNOWS my internet is spotty, really frustrates me.
+100

this is a YC-fundable startup. Here are the projects I can think of:

1. Celery - jeez. It runs half the world's high availability python software, yet has severe funding crunch.

2. Octave - obviously

3. Jupyter+Pandas - http://jupyter.org/

4. Vue.js - http://vuejs.org/support-vuejs/
We're planning on emigrating away from the US.

We're out of stocks entirely, and are doing as much as we can to avoid directing money to the US government while these serial liars have it in their grasp. We're not buying things unless we absolutely need them.

The United State has begun a long, downward spiral at the hands of the comically-unqualified Mr. Trump. Every day that America refuses to reckon with this problem – Mr. Trump's serial lying, his nepotism, his increasingly-eratic behavior, and the dangerous Lenninist "destroy everything" views of his surrogate Bannon – the harder it becomes to undo.

Donald Trump is a serial liar, a bully, a probable sex offender, and carries with him a following of christian dominionists who are (a) in possession of nuclear weapons and (b) desperately want a war with a billions-strong religion they've decided to wage was on, via the doctrine of collective punishment.

Labor is a type of capital. Trumpism, meet capital flight.
The request from the immigration officers isn't actually a legal obligation, it's just that they can make it a condition of entry.
do you know where I could find those other patterns?
Perhaps because users don't care what app they use to send messages with? Text messages is like this universal thing we do. Nobody cares which phone their friend uses when calling each other, as long as the other person has a phone too it's all good. Messages should be like decentralized signals, and "apps" should be the radios of those signals. Nobody is going to "win" messages. People are sending messages with whatsapp, sms, facebook, snapchat........
Should I use a QR code? A bot can help you decide
No, you are not attacking, but you really do not understand. Let me ask you a question. If Apple is assembling the iPhones in India, do you think the work condition is much better than that of Foxconn? And do you know that Foxconn is a Taiwanese company? Yes the Chinese government has their goals. They are corrupted and they do not care much about people. But, it's great they can offer great jobs to farmers assembling iPhones. Even though the work condition is so bad according to your standard.
Vivaldi browser adds built-in screenshot functionality in version 1.7
Meanwhile in Germany : as long as the institution can provide a Spendenbescheid, companies can in theory donate all they want and simply deduct it from their taxes. But all the Anglo companies don't grok this, so now students unions etc are moving to what you describe "sponsoring agreements",where they pull any possible benefit they could possibly provide for the companies on paper so it doesn't look like a donation...which is exactly what it is.

Source : book keeper for a students union for years, dealt with this shit with our tax consultant all the time
Clash of Clans battle between Archer Queen vs 2 Baby Dragons
As far as I understand you can call JS APIs from WebAssembly, which means you use the already available DOM APIs. I don't know exactly what the calling convention from WASM to JS looks like, but I guess it's specified somewhere.
The main windows compiler would have been Visual C++ 6, which was released before standardization, and had notable differences from C++98. It was also buggy for non-trivial templates. Visual C++ 2002 wasn't much better.
I certainly bloody hope they're not running Microsoft software on the International Space Station.
well, it was looking like an email client (sender[s]/recipient[s] + message thread), but was "realtime", so it's not difficult to see it as an instant messenger (the parent message wasn't referring to a chat box inside Wave). But then again, it's not difficult to see any social network as a glorified forum if you look hard enough
A bit more context would be helpful for such a complex issue.

That's for 2015. Total? What about per-capita? What about per-GDP? Are you expecting Malta to contribute more than the UK?
Does anyone see this submission? https://news.ycombinator.com/item?id=13605887 seems Hacker News is censoring it
I agree we had a reasonably good deal - but the net contributions weren't massively different from other large nations (France, Germany, Italy) [1]. In my view that's very different from leaching.

> When I am renting an apartment, and I need to pay for something that needs repair, I do not ask for money back whenever I leave. There may be some assets that you have a right to claim a stake in, though. There are also some open bills. That is a matter of exit negotiations.

I don't think anyone sensible would be suggesting the EU refund all the contributions made whilst we were members. As for negotiations, I wouldn't fancy being a horse in the near future.

> By the way, who is paying for the financial burden that the negotiations themselves are going to put in the EU? I hope that is also a matter of negotiations, and since it is a UK decision to leave (which we respect), the UK must contribute specially to those costs.

The EU itself devised the mechanism for leaving the EU so this should have probably been specified at the time - if it wasn't then it probably wasn't a great piece of legislation.

> For you ... and for the EU.

Yes, I only mentioned the UK as I imagine the EU isn't going to bend massively so it will be more a case of whether the UK wishes to agree to certain terms set out by the EU rather than crafting a UK-specific deal. Though I guess we'll find out.

[1] https://www.theguardian.com/news/datablog/2012/nov/22/eu-bud...
Cheerp 1.3 – C++ to JavaScript up to 30% faster, 25% smaller output size
Sure. But I also know people who still romanticize the whole hunter-gatherer lifestyle and wish they could live that life (whether or not they'd actually want to keep living that life after first month is of course an open question).

Who knows, in a couple of hundred years we might have people romanticizing spending all day in a cubicle working at a mid-sized accounting firm :)
I'm a US citizen (born and raised in California), I just moved to Saigon 3 months ago. I never want to go back, especially now because of all of what is happening.
Does anyone see this submission?
Tor Collaborates with the CIA in Providing a Fake Tor Browser to a Journalist https://news.ycombinator.com/item?id=13605887 seems Hacker News is censoring it
I assume these guys have their own network controller and kickass optic fiber links. Network attached storage in poor cloud environments leads to issues.
That would make a fun site - link to the same event across multiple media sites to give that multi-perspective view.

A Rotten Tomatoes for news!
Does any other country do this? Are they going to start now that the US is doing it?

It's definitely put me right off traveling to the US with a smartphone or a computer.

The strange thing is: don't they already have quite a lot of this information? Isn't that what the whole fight with the NSA is about? Is this just a very high profile way of intimidating dissidents?

e.g.
https://www.aclu.org/blog/speak-freely/flying-home-abroad-bo...
>Because we have the capability to work beyond that capacity now in most cases. That's like asking "why shouldn't we allow horses on our highways?"

More like 'why shouldn't we allow people on our streets?' Which is a good question. It's a question we answered. With a yes.

>I look forward to WebAssembly and other advancements that allow us to treat the web as we once treated desktop environments, at the expense of human readability.

If you want to make a desktop programme, make a desktop programme. Don't ruin the web.

At my job, I work on a web app. It runs only on Android devices through a web view in a native app. It could have been a native app, and would have felt more natural on an Android device, been faster, and probably more secure too.
You can try increasing `N` in the nbody problem, and also measuring the memory overhead.

You could also try one of the hashing / crypto algorithms in JS. They should involve a lot of integer arithmetic that should make WebAssembly stand out.

More tips:

* for performance measurement, setup the benchmark so that JS run takes atleast 30 seconds. (Increase N, etc)

* close all other applications and tabs

* If you have linux, set the CPU governor to performance

* Measure the CPU temperature and make sure you let the CPU cool down between runs. In modern CPUs, the cores get throttled automatically when they reach a certain temperature.
A friend has stopped offering Stripe to customers of his Magento hosting service. The reason, he told me, is that Stripe frequently delays payments. You can find lots of articles about issues with Stripe on the web.
Nice! Does anyone know, is it possible to train such models on RPi (probably not) or similar sized computer?

EDIT: I guess the question should be: is there a RPi-like sized machine available which is more suitable for training ANN?
At least they don't bomb and destabilize the shit out of you. I think you have a skewed view of the worldwide reputation of the US.
Shopping with ‘Augmented Reality’ apps makes life easier
i feel that adding middleman organizations sap the margins, and also gives those middleman organizations that do the funding some measure of power that i feel is also undeserved.

I think the dual licensing method would extract the most value and give the most of said value back to the developers.
As a Python user, I have mixed feelings about this change.

I think this move to corporate hosting is acknowledgment of usability and ease of use at the expense of political purity -- for a project as important and major as Python, this further solidifies GitHub's positioning as the place where open source coding "happens" (consider what a move to GitLab would have done for the legitimacy of their platform), a position that they've very successfully used to up-sell "free" into paid accounts.

Python preceded and will outlive GitHub, but this now implicitly means Python is amplifying and promoting the various political positions[0] of GitHub by driving more traffic and money to their platform, which is run by a company that currently employs at least two people to be politically active who have publicly made questionable/racist statements[1]. If you personally agree with GitHub's politics, great, but some do not or would prefer their work to have more apolitical side-effects.

That said, as someone that "source dives" on the semi-official CPython mirror on GitHub, then verifies on hg.python.org, this makes my life easier, and I'm only a casually interested party of the CPython source. I do wonder about the increase in (people) management overhead the ease-of-use will bring in filing "issues" with the project though, as the prior mechanism acted as a filter for non-technical people and those unable to follow instructions.

[0] https://action.github.com/ ; https://github.com/blog/2039-adopting-the-open-code-of-condu... (in contrast with PSF's https://www.python.org/psf/codeofconduct/ );

[1] "some of the biggest barriers to progress are white women" - GitHub's VP of "Social Impact" ; "don't think we'll succeed teaching white, male middle managers empathy and compassion anytime soon ... so let's limit their scope of damage" - GitHub's Technical Director for "Social Impact"
This has popped up a couple of times and I never got around to confirming either way. I always went to the trouble of syncing to rule it out before moving on. (sometimes annoying on an isolated test network)

Thanks for taking the time to link the relevant section of the RFC. I'll remember this next time (or at least know where to check quickly ;) )
Setting up an IFTTT recipe to post from RSS feeds to Social media accounts is child's play. Anyone can create a fake social media footprint while they sleep, so it's pointless to demand passwords to social media accounts.

Can't expect much intelligence or common sense from an Idiocracy.
1. No.

Tada! A botless, static solution. No-server! ;o)
Im doing this now. The moaning that is. But the worst part is I'm seeing the names of people who gave birth to my problems on new projects. Lets hope they learned something.
Set up SSL on GitHub Pages with custom domain using Azure
are there really that many external contributions for most projects? and if there are, i would imagine that it's a "simple matter of accounting" to distribute the wealth received accordingly.
1. SMS isn't archaic.

2. 140-char limit isn't about SMS.
JavaScript is JIT compiled, it has to be parsed, typechecked, interpreted and eventually compiled. WebAssembly is parsed and then translated to machine code (with a much simpler compilation pipeline).

Typical JavaScript VMs have a lot of fast paths for small scripts which also benefits small benchmarks like this. For more realistic workloads, parsing and compiling takes a significant amount of time and you could skip (almost) all of it by precompiling to WebAssembly (not at the moment, since you can't generate JavaScript objects from WebAssembly yet, but that'll happen eventually).

JavaScript in particular also has the problem that its semantics is an utterly horrifying mess... This forces the generated code to be very conservative and include a lot of dynamic checks and escape hatches to the interpreter. If anything, the situation is worse than with Lua, and let me remind you that LuaJIT doesn't actually compile said "escape hatches" because of code size. There are just that many of them.
If Apple is assembling the iPhones in India, do you think the work condition is much better than that of Foxconn?

Probably not, but we can't really know this, and at least having a democratic government in theory provides some leverage. My argument is that paying incredibly low prices for technology has human costs and perhaps is not sustainable.

But, it's great they can offer great jobs to farmers assembling iPhones.

That's assuming farmers are happier on factory lines than they are working on their farms. Is there evidence to support this? Of course we can't and shouldn't keep China agrarian but Western consumerism is subsidizing some ugly stuff that wouldn't be possible without it.

China does not compete on an even playing field with many other countries because of poverty yes but also because its government is interested in development at all costs.

And yes, the West developed the same way but it doesn't mean it's ethical.
Theory of hyper-random phenomena
I very frequently had to sit and wait for my word processor to catch up when typing quickly, well into the mid-2000s.