skysight-inc/HackerNews huggingface dataset:
I completely agree, I've entered China about a dozen times in the past year - always a smile, polite, efficient. Never had my bags looked at or questioned.

The US is quite different, far from welcoming, it's scary, so many bad stories of things happening, the immigration people trend to scowl (they must be under so much pressure) they take your photos, your fingerprints (not entering China) ... honestly, as much as I love the US, it's my home I've spent half my adult life there, I'm not going out of my way to visit these days
PostgreSQL has very thorough and well-written documentation.
ARKit is fun and easy to get started with. Plane detection works even on a clear glass surface. Here's a demo of a fidget spinner I made: https://twitter.com/shanev/status/873225569164546048.
> Please don't pollute the comments here if you're not even going to bother with the bare minimum of intellectual seriousness.

Ah, yes. The new HN. Everyone else is stupid and lazy.

> Yes we can keep structures insulated and heated to maintain higher temperatures than ambient outside conditions, as is done routinely across the globe every second of the day on Earth.

Please show me on-Earth greenhouses which are pressurized to 14PSI over external.

Constructing a greenhouse isn't hard. Constructing a pressurized greenhouse on Mars is rather a lot harder.

> Is that the limit of your straw-man argument here or do you have anything of substance to say?

Yes... everyone else is stupid and lazy. And has bad intentions. And isn't honest.

Welcome to the new HN. You could take my words at face value. But it's easier (and more intellectually dishonest) to assume the stupidest possible interpretation, and then attack them for your own inadequacies.
some insights
https://www.webofstories.com/story/search?q=math&max=20&p=1&...
This is really interesting to me as I do not have a driver's license and I am not intending to get one.
It became a much bigger deal once he fled first Sweden, and then British jurisdiction. That set up it as a test of the powers of the legal systems of those countries.

If you allow someone to escape prosecution simply by raising the costs/creating inconvenience, you all but guarantee others to try to do the same, and/or to lose faith in the equality of justice.

Regarding the common conspiracy theories: always remember that he was arrested, then freed on bail, in both countries. If they had wanted to extradite him to Guantanamo, they would've done it long ago.
Hi, thanks for replying! I'm sorry if I come off as overly critical. I did indeed think that this was the work of a very curious teenage mind who nevertheless still had insufficient experience with academic-level mathematics.
Usually. Drunk and sleepy drivers blur this distinction, but you still make a good point.
That is a pretty bad judge, one quality for judging cases is to also be human and flexible.
"A grad student or an assistant professor isn't going to put his/her career on the line for ideals."

It is not like the choice is for free..
In Germany, a new 'feminist' Islam is hoping to make a mark
> After a report of inexcusable workplace harassment surfaced earlier this year

A lie of omission to tell us how they've changed...Interesting choice. Omitting the sexual nature of said harassment report is hardly contrite.
> I don't understand how governments have the authority to make private companies (journal publishers) give-away their product for free. The fact that much of the research is funded by taxpayers is not relevant -- scientists have voluntarily submitted their work to private publishers for publication.

Of course they have the authority. Publishers own these works on the basis of copyright law. Laws can be changed by governments.
And those organizations could change that, right?
I wonder how fast the car is going as well.
Christopherfitzpatrick
> the fact remains that scientists have been voluntarily publishing their work in private for-profit journals for 100+ years

yeah, slightly not "voluntarily".
I think TeX came pretty close.

I think the Exim spec is pretty much the gold standard for reference documentation, but they need a separate user-friendly introduction too (there was a separate paper book at one point).
This thread is full of comments that at first seem appropriate, but quickly reveal to be utter fluff/rubbish. Count this comment in that category too.
> The key fallacy here is taking our present state of living as somehow "natural" or non-technological.

The key fallacy in your argument is taking each solution in isolation.

Winnipeg, etc. have summers. They're not always winter. And they have breathable air. And cheap resupply from Mexico via tractor-trailer.

Saudia Arabia, etc. has breathable air.

And it's just laughable to suggest that because parts of Earth didn't have industry before people, it should be simple to do the same on Mars. Earth has air, water, resources, readily available local food, and cheap re-supply.

Mars has none of that.

Mars is Winnipeg in the winter (i.e. all the time), with the water of Saudi Arabia (i.e. none), with the resources of a polynesian volcanic island (i.e. rock), and the breathable air worse than the top of Everest, the food availability of Saudia Arabia, and is at the end of a 1-2 year resupply line. All at the same time.

I like dreaming as much as the next person. But colonizing Mars won't be done on dreams. It will require hard-nosed engineering.
> They've actually been doing great work on the code

It still is nowhere near readable.
I'm not trying to express a fear that comes from humans losing control. I don't fear that - in fact, I can't wait until the day comes no humans are allowed to drive on public roads.

I was just answering about the concerns of self-driving systems relying solely (or primarily) on visual data from cameras. It's true this is how humans drive, but human visual system is much more complicated than what the current (published) state of the art in image processing seems to be. I do not trust visual-only systems today (especially if they employ deep learning shenanigans).

I know those problems aren't insurmountable, but I'd feel much safer if they threw in a LIDAR there too.
Have you ever heard of this ridiculous idea of using offline documentation?
It's not perfect but it's way better than most libraries so I wouldn't count it.
>most of them don't care (source: I'm a scientist).

This is sort of the gist of the problem. For one, the researches themselves are shielded from the lack of open access because all major universities have institutional access. Secondly, no one wants to take up the auxiliary work that would be required to publish a journal, even if it's only publishing on the web. And finally, it's hard to replace history and prestige of existing journals. Younger researchers will continue submitting to these journals since they care more about their careers than ideals. Any change in public perception would have to be driven top down by people already established in their fields.
Accelerate is a low level C framework that is not representative of all Apple APIs. It's only used directly for very specific use cases. Most of the time you'll be creating neural nets with CoreML which is built on Accelerate and has a much friendlier and higher level API.
I have wondered if there are security hazards to piping binary to your terminal.

I guess what really bad things can happen (and no I'm not talking about blindly piping to a shell to eval)?

Sure it messes up the terminal of which I usually type clear and/or reset. If it's really bad I usually just kill the terminal.
Laravel is always praised for its documentation: https://laravel.com/docs/

I've heard that every comment in code follows the same pattern: every line becomes smaller and smaller. There is a lot of dedication in this project.
Programmers who use spaces 'paid more'
Add `.compact` to the end of any URL on reddit and that's the best mobile mode. Super fast.
Many people have, but putting them in practice usually leads to totalitarism.
You're saying in 20 years, the 50+ year old demographic will become relevant to mainstream retailers. What do you base this projected transformation upon?

Other reports have said Walmart is seeking to move upmarket, because lower end consumers have no money to spend, with expenses like food and rent dominating their budgets...I think this is the motivation for this acquisition.
Newbie here. So now to eat red meat was good? Really confused.
There is a dedicated upvote page as a tab on your profile. Not easily combined with subreddit filters without using addons, though.

(Just a note, your profile's upvotes appear to be public. This is a toggle available in options)
Can you clarify what you mean by submissions from independent blogs? You seem to be saying that the new users are bots or something from media/marketing ? Or am i reading too much iwmto this...
Most of the performance loss is due to using a frontend framework at all. Differences in such frameworks is then little. You need two round-trips at each page-load because you need the base HTML page then the data and rendering in the browser is orders of magnitude slower than rendering server-side with a good rendering engine.

I understand the point of frontend frameworks for SPA, not so much for Reddit profile pages which are literally single, static, pages.
I remember having enormous difficulties developing an audio app with HTML5. I don't know if they made more progress but almost nothing was documented.
Sloth: a chrom(ium) plugin to lazy load tabs
Nope. The age of the sufficiently "advanced" (actually: retarded?) compiler was only theoretical during most of the lifetime of C, and UB were actually defined mostly because of differences between processors, NOT compilers. Compilers were faster thanks to their backend.

The standard even says: "undefined behavior:
behavior, upon use of a nonportable or erroneous program construct or of erroneous data, for which this International Standard imposes no requirements"

However, today, you should act as if the nonportable part of this statement don't exist anymore, and act as if ALL UB are absolutely forbidden and result in the worst non-deterministic consequences, in all cases and regardless of your actual target. Meaning that today on e.g. x86, if you use a mainstream compiler, you ARE limited by some of the limitations of e.g. some obscure outdated DSPs.

And this is likely impossible to check in a non-trivial program.

So just use another language. C for serious purposes is dead. (some projects that started in that language continue to be developed in it, but given the security issues it creates, this will become unacceptable in a not too far future; so don't wait it is too late to switch: lead that movement.)
Maybe it wasn't voluntary 25 years ago, but there are plenty of options today and most scientists still send most papers to for-profit publishers. You can argue about the culture and career pressures that influence those decisions, but the fact remains that there are alternatives that are still not commonly used. Other fields have managed to get around this (eg ArXivX in Physics) so it's on biologist/chemists to figure this out, too.
The guys tackles among the hardest problems ever and you only see the failures ? The only way to not fuck up massively is to never do anything that matters.
WebRTC for the browser is poorly documented, but try their C++ library. The documentation is _literally_ "it's open source, to look st headers in the api/ directory".

Just look at this: https://webrtc.org/native-code/native-apis/ - a couple of high level diagrams, and links to headers.
Ask HN: Why TensorFlow instead of Theano for deep learning?
I am an average solo user / applied researcher using Windows locally with a GTX 1070 8GB and looking for speed and documentation first, so Theano is way ahead in these departments. That said, we are also told TensorFlow is the next big thing because of scalability (?). TensorFlow works under Windows with Anaconda and Python 3.5 through Keras as well, so I have it available indeed and can try the benchmarks. Where do we stand, really? Thanks.
There are children being born right now in Cambodian garbage dumps, in North Korean gulags, with heroin addictions that immediately turn into withdrawal, to religious nuts that will knowingly give birth to horribly sick children that will suffer for days or weeks without treatment and then die because it's God's will.

Yet it will continue happening, and will happen on Mars as well, because humans are -- quite literally -- born to procreate more humans. Children are also supremely adaptable and some (but not all) will prosper even in the toughest circumstances.
There is no other Unicode code point that will be encoded in UTF8 with a zero byte anywhere within it.

From what I understand, this means that no wild UTF-8 string would have a NUL byte anywhere in it, no?
I am sympathetic to your comment because it feels like we are babying users. To me, this is no different than when FreeBSD and GNU modified the rm command to prevent people from shooting themselves in the foot.
Here the first answer says (with some quotations) that it depends on, if the variable could be declared as register or not.

https://stackoverflow.com/questions/11962457/why-is-using-an...

edit: i recognised that it does not count as the original example is about an array element...
Companies can issue common stock both with and without voting rights; non-voting stock isn't welcome at some exchanges like the NYSE, for instance.

Here's an article with more history:

https://www.bloomberg.com/view/articles/2017-03-16/non-votin...
An interesting book, written by an interesting group, is "Who is Fourier". They seem to be mainly undergraduates in Japan who learn and teach each other new languages. They took on a similar task to explain Fourier Transforms to each other. Their motivation was to understand the mathematics of languages.
Isn't the whole issue rendered moot by SciHub?
Propaganda is the primary business model as of late.
What do Taylor expansions have to do with guid uniqueness and the birthday problem?
That function sure is ugly, but in general they have done a great job in making their own APIs more easy on the eyes.

And even that monstrosity doesn't look that bad in actual use:

let filter = BNNSFilterCreateConvolutionLayer(&inDesc, &outDesc, &layerParams, &filterParams)

The worst offenders for readability are these C-ish functions that deal with unsafe pointers. But at least in Swift, I appreciate the safety brought by the type checking. It's quite nice that unsafe code is clearly marked.
I lived in both China and the US and the experience at the border are very different.

I wouldn't say the experience of getting into China is the best, because you still need a Visa to study/work there. But I'd say that it might have been the easiest Visa to get.

On the other hand I've never been through so much aggressiveness and difficulty with the American border. It probably is the worst border in the world (or at least that I've been through).
FYI, this admin was Steve Huffman, CEO of Reddit.

https://www.theverge.com/2016/11/23/13739026/reddit-ceo-stev...
CMU buggy also has a good track record for being a way to get hired.
Machine UI: IDE for machine learning [video]
It's also because they are better at PR. Bill Gate is a terrible person but he is managing to make people believe is a saint these days.
peace is obtained through war. There are no exception.
Forever. It's much easier when you deal with low level code from Objective-C(++) and Apple has tons of that written with no obvious benefit when it's rewritten in Swift.

They might introduce modules that are incompatible or awkward to use with Objective-C in the future though.
what situation would you want this?
> So be it. This is our home. It has given birth to life and sustained it till now (and it will if we hadn't messed up so badly).

Do you still live at home with your parents? Some people grow up and move out. So will humanity if it will be responsible.

> So you want to save yourself by getting out while the earth is still getting fucked?

> That is like the most ungrateful thing you can do as a species. And if we are doing that, what worth are we really, as a species? We are nothing more that complete imbeciles if we do that.

Let me draw a historical parallel. Should the colonists have stayed in Europe and tried to solve their social problems first before moving over the ocean to the Americas?

I agree that we have enough problems on Earth that we wouldn't need to tackle other problems on other celestial bodies. But that's not how our society works. Not everybody has the same influence on the progression of things.

Potential Mars colonists would be able to change things on Mars but unlikely to have any impact on Earth.

And if we really fuck over the ecosphere on Earth, if we have no other place where humans are living in a self-sustaining way then it's game over.

But if we have an autarkic colony outside Earth there is at least a chance that they might come back to Earth to repopulate it with at least some of the life that was lost. With likely exactly that technology that they had to use on Mars first.
Many terminal emulators are not very good at dealing with unstrusted input.

http://www.openwall.com/lists/oss-security/2017/05/01/13
> You don't switch from seeing cars to seeing nothing to seeing an elephant just because the input got a little noisy.

You'd be surprised. All kinds of conditions can do really weird things to your vision. Migraine auras probably being the most common.
OpenCV, particularly the python bindings. Return values are not specified or only alluded to, a complete function listing is normally absent. You kind of have to piece it together from the (Only slightly better) c++ docs and the awfully written "tutorials".
The french Revolution was also kind of a mess, they shortly after elected Napoleon as the emperor, then they became a monarchy again, then an emperor came again? I don't know it's confusing.
Moto Z2 Spotted on AnTuTu Benchmark with Specs Details
A professor of mine (of philosophy of economics and scientific methodology) was effectively banned from several major journals in his field for roughly ten years because he made an argument about labourers' stock ownership in a Marxist economist conference—and one of the audience members was an influential chairman in those journals.

People seem to think that there is no politics in academia and science, and that everybody is automaton-rational people with no ulterior motives. Very, very wrong...
Complete list of wifi routers affected by CIA hacking tools
> Having been on the internet since before Linux or web browsers existed, and studied a good deal of economics and history going back to antiquity, and having grown up in a town founded 1500 years ago, you're really not telling me anything new here.

Fantastic credentials.

> I'm sorry but I disagree with your approach of making sweeping statements of economic theory but limiting them to the timeframe of a single generation.

Given that we're discussing the impact of a specific set of companies that brought societal/economical issues that are new — such as data privacy/control —, and have no other examples in history to guide us in dealing or discussing them, we must focus on this period. Regarding "sweeping economic theory", I do not hold to such presumption.

> I know your original comment was not meant to be exhaustive, but I found the economic analysis superficial.

Reading comprehension. I should probably have added an emphasis in "a _certain class_ of investments". I find your analysis of my comments superficial, and clearly you do not want to discuss and clarify points of view but to "win an argument". That's a game I won't play, so by all means, consider yourself victorious.
> the French Secret Service leaving audio recording devices in the first class seats

somehow, a plane is so noisy that I cannot imagine this working :D
The part on quantifiers reminds me of point-free notation in Haskell. Not in a good way, either...
A better Notation is a digital one, which can be zoomed by clicking upon a component.
Click on the Summation Symbol to get to the Wikipedia Article for the Summation.
https://en.wikipedia.org/wiki/Summation
Click on a worked upon item to see its origin and a history of access and usage within the formuala/proof.

TL,DR; A better Mathematic Notation is a VS for math.
Clearly, you're fine putting words in other people's mouths and making subjective claims about the nature of one's post.

You're fine rejecting my arguments for why his post is arrogant, but somehow yours about why my post is condescending are valid.

That's a toxic and arrogant way of arguing, so I'm not surprised you're projecting something I didn't say. Honestly I would have expected better from an HN audience, but techies are still people...

Also quite indicative of what would happen on Mars.
The UK border was OK in comparison to the USA.
You can use the desktop site on mobile which if you combine with mobile Firefox's "switch to new tab" makes reading reddit on mobile not suck.
Linux is getting closer to machine learning with new memory management
This seems pretty obvious, doesn't it? Your interests are the subreddits that you're subscribed to. They don't need to do any "tracking" because that's just how the site works by default.

Steve's tone here is pretty clearly tongue-in-cheek.
The increase in GDP should make it profitable for government to fund all journals. The cost is relatively small as compared to the benefit to all citizens, allowing them to understand new technologies, business and social structures. Like education, this seems like a way to spend public funds with a high return on investment. Obviously this isn't the only reason governments should spend money--veterans and health care for retirees shouldn't be ignored--but it's nice when spending grows the economy.
Isn't 1.7B a bit too low for Reddit considering it's size and popularity especially in the US?
I like your idea that it feels like sounds cause each other. But I disagree that beat 1 is always the cause. The pattern of dah-DUM is pretty common, and the dah would typically be a quarter or eight note before the DUM on the 1.
> what if your output is a normal UTF-8 string but contains a byte 0?

It's not really a valid character to print to a terminal and most terminals ignore it nor is it particular valid in a "text file".

As for the rest of your questions if the bytes in the file are randomly distributed which is common with compressed binary files the chance that there is not a zero byte in the first 2000 bytes is 0.03% which seems low enough.
1. It is not sensible to check more than a small chunk of data, as it would result in significant performance penalties, both in high resource consumption (memory or temporary files) and in blocked pipeline (cURL streams data as it is received). Imagine `curl http://somesite/10GBoftext | grep "rarely-occurring-prefix" | do-something-with-found-data`—with a full scan, curl would use 10GB of memory, checking every byte before it sent things to grep and do-something. Without a full scan, do-something processes data live, and curl uses negligible resources.

2. Then the check yields a false negative, which is not a problem.

3. Then your UTF-8 string is unprintable, and the check will yield a true positive. The UTF-8/ASCII NUL character is not printable, despite being valid.

If one only assumes ASCII/UTF-8/Shift-JIS/similar, then a blob containing a null byte is guaranteed to be unprintable, while a blob not containing a null byte may be printable. That's good enough for a warning, telling you that you're doing something that you might not have intended.

Given that UTF-8 has become standard, it means that you will never realistically get a false warning, but may still get bonkers output. You can always overrule if you have a fetish for UTF-32.