skysight-inc/HackerNews huggingface dataset:
Is HBO still a premium product? We watch it through HBO GO/NOW or something like that without cable.

All this Netflix talk makes me wish I never ever tried to "play" the stock market with Netflix. I learned a very valuable lesson thanks to them & Amazon. It's called buy & hold on companies you use & love. Needless to say, overall I agree that they've ran their business extremely well. That whole dvd/stream announcement is hardly a distant memory. Also they deserve credit for listening to their customers & trying to fix that pretty immediately.
Ah, a bit of confusion with the title -- It's literally "Show HN Karma," not a Show HN.

I've updated the title to clarify, but if a mod can think of a better version, feel free.
Kernighan and Ritchie, the C Programming Language.
https://en.wikipedia.org/wiki/The_C_Programming_Language
I was expecting some discussion of S-W hypothesis and coding. Does learning particular programming languages alter thinking more generally? I've read that it's better to know several distinct sorts of languages. Are some languages dangerous to learn?
I used overleaf to collaborate with my group in my Discrete mathematics class last semester. The other collaborators didn't even have to create an account. It was super useful. Thanks for the great app!
I believe they discussed about this being the method they were actually doing on ATP a few weeks ago, I'll find the link and report back soon.
> What changes around that age?

For tech, males become more introverted.

At that age, introverted boys stay at home, play video games, post on bulletin boards (back in the old days), program, read, etc.

That is how many boys get into tech. They played video games, became immersed in internet forums and tech culture and trolled the internets.

Why do teen boys spend less time socializing and more time on the internet and video games?

That is the main question we could attempt to answer to find the root cause.
Offtopic question, what documentation tool is used for this? I've seen it a lot of times but I'm not sure how to search for it. Thanks!
I also want to know this.
I can tell you why I'm inclined to downvote this comment, though I don't know if it's the safe reasons others have. Note that I can only see the question, not whatever you removed.

Those outbursts are bordering on full schizophasia, they are symptoms of his mental illness. He is certainly an interesting person, and it's perfectly natural to be curious about his condition. But you're asking for a video depicting him suffering some of the most severe effects of his mental illness, which borders on voyeuristic. Being interested in him is fine, being interested in schizophrenia is fine, but that curiosity has to be balanced with some degree of constraint and respect for a person who is suffering from a debilitating condition.

Again, nothing wrong with curiosity, and I don't doubt that you meant no harm in asking. But it's important that we don't let discussions about Terry devolve into some sort of carnival freak show, and your question stepped too close to that line.
"The other issue that always comes up in C styling is the placement of braces. Unlike the indent size, there are few technical reasons to choose one placement strategy over the other, but the preferred way, as shown to us by the prophets Kernighan and Ritchie, is to put the opening brace last on the line, and put the closing brace first, thusly"
UnBox the Chomsky Archive – MIT Libraries
"Grue" is actually pretty common: https://en.wikipedia.org/wiki/Blue%E2%80%93green_distinction...
This is from Documentation/process/coding-style.rst (formerly Documentation/CodingStyle) in the kernel source tree; an unrendered version is canonically at https://www.kernel.org/doc/Documentation/process/coding-styl...
> "The Optane cache is just a Optane SSD which uses some new and apparently faster 3D Nand technology."

Optane products use 3D XPoint memory, which is not 3D NAND flash memory or any other kind of flash memory. It's probably a phase change memory, but Intel won't say so we have to wait for Chipworks to put it under an electron microscope.

The Optane Memory product for consumers is entirely centered around the use case of running Intel's SSD caching software for Windows, which requires a Skylake or newer chipset plus boot firmware that will only actually be available for Kaby Lake systems. The hardware feature they're relying on is a disgusting hack that Linux users want to stay far away from (and can, since there are generic caching solutions for Linux that work atop any block device).
Sphinx, it's linked to in the footer.
Is rootless containers safe now? It is not turned on by default in ArchLinux because of security concerns[1].

[1]: https://bugs.archlinux.org/task/36969
You get NZ 20c coins in place of Australian ones a fair bit.
Look here's the deal with him. The man is unwell. What do you have to gain from digging down rabbit holes like this?

In regards to Terry I have taken a "if you don't have anything nice to say don't say anything" policy. Every once in a while, if you like his work send him a note telling him so. Don't endeavor to increase his suffering. The same fate may await any of us.
My camera's eye and face detection are also pretty racist. Works well with white and asian people, not so much with black people. It must have been written by women though because it recognizes women much more than men.
I'd argue that talking about C's simplicity requires one big caveat... it gains that simplicity by delegating a lot of essential complexity to the underlying platform and the spec leaves a lot of details up to the compiler writers.

While I'm sure experienced C developers will be used to that, one cannot simply read The C Programming Language, set a language reference on their desk, and safely learn how C will behave through experience because of all the unspecified or counter-intuitive things which often don't even trigger compiler warnings with -Weverything.

While Rust may have more concepts to grasp and more grammar to remember, I find it far less of a mental burden to code in for the same reason that OOP proponents trumpet encapsulation... C forces me to constantly double-check that I haven't forgotten some detail of the language or GCC's implementation which is sensible if you understand the low-level implementation, but completely counter to my intuition. Rust allows me to audit the heck out of modules containing unsafe code to make sure the unsafety can't escape, then set it aside to think about another piece of the logic.

Rust also places a stronger emphasis on making it possible to reason locally, bolstered by things like hygienic macros.

Finally, simplicity does not automatically make something intuitive. (That's something I hear quite commonly among HCI people bemoaning how Apple has brilliantly used simplicity to convince iOS users that, if they get stumped by the UI, it's their own fault, not a failing on Apple's part.)
I think the experiences are getting better. My first SPA projects were with Angular 1.x and for the whole duration that I was using it, I found that I could point out an Angular 1.x based site off of gut feeling / familiarity with certain pain points (hi Seamless).

I feel like there was a huge reduction in bug-prone madness when React + the Flux pattern started gaining steam. We are still collectively working toward an end (reliable software in the browser) but it's impossible for me not to feel the difference in the past few years, as a dev and a user.

SPAs are sort of a hack. The web was designed for documents that link to each other. Maybe they'll never be perfect until we reach some sort of impossible isomorphic framework utopia, but there is real progress being made
I would happily pay a consultant $300 an hour to do the CSS for my websites. I imagine someone who specialized in CSS could do in 10 minutes what would take me several hours of googling and hair-pulling frustration.
I'm interested in the subject and appreciated your post, thanks. A couple of questions:

How does the brain adapt to having the electrodes in there, how long before the probes are accepted as being "part of" the brain?

Do you envision we need lots more sensors than in your example above, or is said number enough for precision input (say, text/words, or navigation in a 3 dimensional position & rotation plus a temporal dimension interface)? I guess the brain would work around the rough edges (or lack of sensor resolution) just like it already does with keyboards, mice, bodies, and language.
> UTF-8 strings can have zero bytes in them

This is not true. A zero-byte in a utf-8 string is the null-terminator and utf-8 strings can be treated exactly like C strings in terms of where the string ends.

What you do need to look out for is malformed utf-8, for example, 1 byte before the null terminator you get a lead byte saying the next character is 4-bytes long.

If you're not checking each byte for null and just skipping based on the length indicated by the lead byte then you're in for a crash.

Where utf-8 strings differ from C strings is slicing. You can't just slice the string at some random point without doing extra validation to make sure you only slice on codepoint boundaries.
Ah, I see. They're right here:

Input mask: https://github.com/luanfujun/deep-photo-styletransfer/blob/m...
Output mask: https://github.com/luanfujun/deep-photo-styletransfer/blob/m...

So, presumably these masks were drawn manually. The three different colors in the input mask tell it to train 3 different models from the masked regions, and then the same three colors in the output mask tell it where to apply each trained model. So it trains a model for each apple and then applies that model to the next apple over. It's not just randomly swapping colors on the apples.
No DAX yet. Both this consumer Optane Memory product and the enterprise Optane SSD announced last week are standard NVMe devices. For the enterprise market, Intel is providing mmap capability with a hypervisor-based software solution.

3D XPoint DIMMs are on the roadmap for next year.
It's made with Sphinx, a tool commonly used for Python documentation. But it can render reStructuredText that isn't associated with Python just as well, so it's popular for other projects. http://sphinx-doc.org/

(There's a link to Sphinx at the bottom of the page)

It looks like this is just generated from Documentation/index.rst and linked pages in the kernel source tree, which seems to have been created less than a year ago: https://github.com/torvalds/linux/commits/master/Documentati...
There are trigger words that should be used, in large type, before posting.

Please upload a document to host publicly for anyone on the internet.
> Tabs are 8 characters...

The madman!

/s

Actually, now that I think about it, he has a point. Having a little more horizontal space seems like it would be easier on the eyes.
> automatic code splitting

PHP has include()/autoload, you can structure your code any way you want. If you wonder about client side, the client side should be greatly reduced, by the virtue that page is ready to use as returned by the server. You'd just put JS code into a single script tag, and let it do its progressive enhancement when it's ready. Also you'd have much less JS code to load, because server is doing all the heavy lifting.

So this is mostly a solution to a problem of having to put all the website's code into the browser first, even if you want to view a single page and go away.

> routing

I think routing is a fine feature, even for PHP. But all you need is about 100 lines of generic PHP code, you can reuse for the rest of your life. So yeah, I guess this is useful if you want nice URLs and common initialization code.

But you can easily do without, either by using query parameters or URL rewriting. Really routing server side is such a simple problem it really is not even worth mentioning. It's always get me a final HTML code for some URL.

Client side it can get quite complicated, because your job is to transition between arbitrary app states, or to restore the state based on the route, switch views, update things incrementally. Again, it's just because SPAs are this complicated, that routing is even a feature worth mentioning.

> hot code reloading

You can put setInterval() on your page that will iterate through all <link rel=stylesheet> tags and reloads them every second, or you can hook it to a keyboard shortcut in the browser, to get immediate style changes, without reloading the page.

Though your server side app should be able to withstand F5 without loosing state at any point. One trouble is usually form inputs state. The thing with server side apps is that you can modify the code and just try to submit the form again without reloading the page first. You're not loosing the state, because the state is in cookies, query parameters, url, and server side. None of this changes when you modify your server side code. So you shouldn't have these issues. This is the biggest benefit of server side web apps.

> universal (server-side and client-side) rendering

Unless the client side code is optional, that's a disadvantage vs the progressive enhancement solution, because it's still unusable without the client code. It's just a performance optimization for the problem of client side only rendering being slow.

Even on twitter universal rendering is implemented in such a way that it's useless without client side code. You can't navigate, load more tweets, open images, nothing. It's just a gimmick.

When this universal rendering thing starts to mean that I can either use server side code only, or let the client side code run if I want more modern crap that doesn't work server side apps, like DnD, etc. Then that would be a feature itself. Otherwise it's just a solution to its own problem of the SPAs.
This scenario scare the hell out of me. Is injecting/intercepting brain signals directly really the way forward? Do we really want to create monster human species?

IMHO, future AI should be used to enhance human cognitives in a noninvasive way. Never in such a dystopian way as in the movie "The Matrix".
Same rhythm with a different instrument?
The problem is that audio is very dense for this (now)
When it comes to Facebook and stories, I have resorted to the comments section. Let someone else waste their time dealing with the popups, ads, and pagination. If there is not a useful comment that tells you that you should read the article, or provides some insight into it, than don't bother at all.

It saves a lot of time and you probably missed nothing anyway. There are plenty of those articles that are like, "Find out..." or "She performed this miracle that saved her life, find out what it was!" with 10 pages of pagination and you read a comment that says: "I scrolled through it all and that information wasn't even in there."

Reminds me of what the television news always does: "You've been eating this at dinnertime for years and its actually poison! Find out what it is [after your dinner] at 6 PM!"

Honestly, websites with pagination are not websites I bother to read through unless they offer a single page view, or they have a maximum of two pages. Anymore than that and its just horrible web design that does not deserve the time of day.

The reason these websites continue to exist is because 1) they specialize in clickbait 2) they put up Google Ads or some system that helps them make a ton of money on those views -- only resulting in pennies, good enough for them; 3) but they advertise using Facebook ads or 4) coming up with clever headlines that make you want to click and 5) people keep clicking and reading, feeding their habits, and the websites are not penalized at all by Google or Facebook.

I know Google has started to penalize for popups on mobile, but as far as their ability to get past adblockers and still popup on desktops -- no biggie to Google.

So what reason does Google or Facebook have to really stop these types of website? Facebook is starting to initiate "fake news" but these websites that deal with the 5-20 pages of pagination? They aren't classified as doing anything wrong by Facebook or Google.
Στοιχημα: Προκριματικά παγκοσμίου κυπέλλου Ν.Αμερικής
Includes more ideas than just the Bash unofficial strict mode.
If you've got suggestions for how to meaningfully and realistically compare caching of a Windows boot volume against a Linux cache solution, please share. My usual suite of tests won't work well for this, and I'm open to suggestions for what to include in my new test suite.
Have to agree with the comment on GNU coding style, I work on a project that uses it and it really sucks. Braces on a newline and indented two spaces...
While I'm a bit more optimistic than you, I think you're raising a very important point. We just found out the lungs make half the platelets in the body (http://www.nature.com/nature/journal/vaop/ncurrent/full/natu...) - the idea that the brain will be easy to sort out is definitely an overconfident one.
> Would be weird to ask the user to do this

Alternatives to training include downloading the trained model. It could be a big download but an overnight download is not that weird to ask users to do.
Indentation war is ON again ;-)

TL;DR - Linux kernel source code use TABs (8 characters) instead of spaces. The rationale behind is that the maintainers believe that large indentation makes code easier to read on screen (especially for long hours), makes sense.

Personally I (not a programmer but Linux SysAdmin/Ops/Infra Architect background) tend to use 4 spaces everywhere else (e.g. Shell, Ruby, Java and all sorts of configuration files). Not to pick a fight (sounds familiar? ;-) but 2 spaces in general make readability worse.

Anyway, the most important point is to honour what is already established/in place and stick to it, whatever you work on.
I wouldn't presume to speak for Daniel, but I got the feeling that he just wanted to publish this to point people to rather than send the same canned response to inquiries about porting to Rust et al.

Drakma sounds great. Tone is tough to get right online. I don't like people doing drive-by suggestions like "you should rewrite X in Y". But if people are really willing to roll up their sleeves, write the tool (in any language) and keep it going for the long haul, I applaud them. I just have great respect and empathy for project maintainers, I think some don't appreciate what a huge PITA it is to BDFL a successful project.
I think that depends on what kind of company it is. Not all companies are "tech" companies.
I'm thinking more along the lines of Deus Ex.
Ignoring known technical deficiencies in the system and assigning the same confidence levels in the output regardless of race could work out to be pretty racist, but what are they supposed to do, manually cripple the accuracy of the system down to the lowest common denominator?

In the medical device I mentioned above, it was medically useful for caucasians and lighter-skinned Hispanics, so-so with Asians, and almost useless for Africans.

So, what–don't go to market until the technology has parity across all skin tones?

Not everything is about intent.
Microsoft sued for millions over Windows 10 upgrades
At the bottom of the page:

> Built with Sphinx using a theme provided by Read the Docs.

John Corbert has done quite a bit recently within Documentation to make it more structured and has (from my understanding) massively revamped the documentation compilation.
Loop-breaker rewrites JavaScript code to break potentially infinite loops
Chomsky: ‘false flag’ terror attack to ‘change the country instantly’
Building Ages throughout Brooklyn
Thanks, didn't see it!
I think this is solvable by "Flag it and move on." If people can't so much as use the search function on HN, they probably aren't the next Steve Jobs/(insert other name of your choice of famous founders).
Their app does a fairly impressive job of giving feedback to help you stay on track during meditation.

However, the cool thing about Muse, IMO, is that it's cheap, comfortable (moreso than the Emotiv), gives reasonable signal quality, and has a free SDK for developers. Brain-connecting devices even if they just use EEG open up a lot of doors for interesting products. Assisting in meditation is a great idea, but there's got to be a lot of good BCI ideas that we probably just haven't thought of yet.
Well it's not a photo sharing site, it's a document sharing site under the MS Office branding.

Funny you should bring up auto safety when we've now got at least 4-6, and sometimes as many as 13 airbags in the average new car despite the fact they'll often never be used, and all because of the drivers. Certainly lane departure and collision avoidance systems aren't there for the people using vehicles properly.
> Apple themselves just today released an entirely new file systems that was a complete rewrite as well.

Without CRCs or checksums on the blocks. Grr...

"Silent data corruption is real" https://news.ycombinator.com/item?id=13851349
You mean that it would work better with darker skin?
Women are absolutely capable of internalizing and perpetuating misogyny (which is what you're describing your wife doing here). And also, not all women have vaginas, and not all people who have vaginas are women.
People should just use actual tabs. Then you can make the indentation display however you want in your editor. And you never have to worry about deleting part of an indent level, creating weird slightly offset indentations.

I know, everyone is going to downvote me for saying this. But if you're literally using 8 spaces to represent a tab, which is the default width tabs are rendered at, then what downside could there be to switching to actual tabs?

Edit: "spaces are never used for indentation" so do they actually use tab characters then?
Alternative viewpoint from a popular style guide, google uses 2 spaces for C++.
a.k.a., https://en.wikipedia.org/wiki/Affine_transformation
And none of my array stuff is published yet (grrr!)

I did single-electrode experiments for my PhD and those definitely mess up the brain after a while. The Utah array stuff strikes me as "less bad" in there's only one* big insult to the brain, but it is a pretty bad one: the arrays are inserted with a pneumatic "gun".

I think you're right that non-invasive techniques will never give us single unit data, though I hope we can get some longer-lasting implantable electrodes soon.
I think politicians vote the way they're paid to vote on issues nobody cares about, but it can be dangerous to ignore voters on issues they do care about.
It's really pretty. I wish euros would be designed that well.
> In all cases, prefer spaces to tabs in source files. People have different preferred indentation levels, and different styles of indentation that they like; this is fine. What isn’t fine is that different editors/viewers expand tabs out to different tab stops. This can cause your code to look completely unreadable, and it is not worth dealing with.

from the LLVM style guide.
How do you know this and how did you find that?
Anyone here use drupal? I'm only vaguely aware of it. What does this mean for the project? I know my university uses it for their entire website.
What the hell is that top comment on the YouTube? (https://www.youtube.com/watch?v=DepFpVt-mIo)
Almost all advancements come with pros/cons and teething issues. How we implement and the the rules around it are key. I like to believe having someone like Musk at the forefront will be helpful. In the same way have to fight for privacy and free speech, the fight for privacy and free thought will surely be an issue as this tech develops. So many positive and negative possibilities here.
The writing style of this document seems somewhat casual ("Please at least consider the points made here.") and a little confusing compared to OpenBSD's style guide. [1]

The LibreSSL team spent months putting the OpenSSL code into KNF. It makes a big difference, even though it may seem trivial.

[1] http://man.openbsd.org/style
Interesting that Microsoft is so eager to support enough syscalls for non-GUI developers. But I wonder how much this increases the attack surface of both Windows and the WSL Linux.