skysight-inc/HackerNews huggingface dataset:
or does it? You are passing arrays of arrays with a potentially random index position based convention that makes no sense to me at first read.

Is that how you pass on real-world code a generic person data around?

Is that how you don't use i18n for string and how you ignore occupations that starts with vowels?

Destructuring is nice as other new features in ES6 but abusing these just because there are there ... no, I don't think that's going to improve any code or any readability.
But is Linux about teaching kids to code? I don't think it is. I spent more time on RH6.2 attempting to learn how the system worked and how the heck to make my rubbish graphics card run X than running egcs or g++ back in the day. There was terse documentation for all the GTK stuff, and it was particularly daunting if you had not written any advanced C or C++ (like me). I did manage to write some rubbish programs under Qt thanks to the excellent documentation and through sheer perseverance under KDE2 but today installing Visual Studio is incredibly easy.

I ran Linux for years and still use it today for my Pi only but I think the INITIAL learning curve to use a system is less steep with Windows than Linux, particularly if you are presented with a CLI Linux login. If you are presented with a GUI then it may be different for a 6 year old but I wouldn't say that the Linux vs Windows discussion really takes into account how easy it is to get into programming on the platforms.

(I know you can install gcc and get writing C/C++ really quickly but you can do the same with Visual Studio without understanding a package management system).
The more I see and learn about ES6 the more I think JS code is going to look completely different in a couple years than it looks today - and in a good way.
There's another big reason to still be 'enthused' by GCC: without GCC we wouldn't have Linux. Or Mozilla/Firefox. Or virtually all of the shareware / freeware we largely take for granted, that frees users and developers alike from the domination of control-freak juggernauts like Apple and Microsoft and Oracle.

Every day I'm enthused by GCC and the freedoms it spawned.
Microtransactions have had implementations of various sorts for about two decades now. Patronage has had implementations for about two years now. Patronage is probably already ten times the size of microtransactions, and I suspect I'm being an order of magnitude or two generous on the side of microtransactions there. My conclusion: Patronage may work, microtransactions do not.

One possibly reason is that advertising crowds out microtransactions in any practical implementation; you can either hope that your viewer has installed a microtransaction plugin and is visiting enough sites to make it worthwhile and not let the installation decay, or you can simply install ads and get 100th the price of a single transaction but get it from everybody. Microtransactions have faced a serious boil-the-ocean problem. On the other hand, under the patronage model, you get about 500-1000 people to support you with 4-5 bucks a month and now you're living a middle class lifestyle. That's not trivial, but it's not boil the ocean. (And if you can't get that, well... sorry, perhaps you're not cut out to be an internet "content creator" and live on that. I know I personally am not.)

I got that 4-5 bucks a month by running the numbers on the four campaigns I'm involved in. The averages I obtained were $7.80, $3.50, $4.50, and $3.90 per patron. 2 of those are big enough that the creators can live comfortably middle-class lifestyles on the patronage alone. One is augmenting contract cartooning work and I would imagine between the two of those things is comfortably-middle class. One of them can not on just the patronage income, but has expressed thanks on his blog for it being enough money to find a better place to live for him and his family, and the other is a now embarrassingly-oversupplied-with-money Let's Play series that's a spare time thing that certainly is worth the time the owner invests in it now. So this is not a rehash of the "microtransactions will be awesome someday in the future" argument that I've been reading; this is happening now, it's the present.

(And in all cases, when I say "comfortably middle-class", I am including both fees taken out before they get their money, taxes, and self-insuring; $60-70K a year in income is more than many people see! If they're merely making the "median US income" in cash before fees and taxes I would be less glib, though even that is impressive compared to what could be done three years ago.)

(Also, by no means am I claiming this is a random sample. You may go do your own to whatever criteria you like. But I would also reiterate that this isn't going to work for everyone, and a failed Patreon campaign isn't really the fault of either Patreon or the idea of patronage as a viable solution.)
If you assume a current I=0 represents 0 and I=i represents 1, you could instead choose I={-i,0,i} to represent {-1,0,1} using just 1/6 more power.
They should probably just add support for the extension pack on FreeBSD.
Two nits:

I used to think vitamins had been thoroughly studied for their health trade-offs. They haven’t. The reason you take one multivitamin pill a day is marketing, not science.

One reason to take the latter is to make sure you don't get a deficiency disease.

I used to think I needed to drink a crazy-large amount of water each day, because smart people said so, but that wasn’t science either.

I don't know about "crazy-large" amounts (and too water much will kill you), but as far as I know, plus a little bit of time with Google just now, which indicates this has been the "scientific consensus" since the time of Hippocrates, unless you drink a fair amount, you're setting yourself up for kidney stones. Which I can attest are no fun at all.
If you ate all the whitespace and punctuation and uppercase'd it as part of your password input routine, it wouldn't be all that much worse than existing shorter passwords yet make life a lot easier for valid users.

Another interesting strategy, not discussed so far, is everyone in almost all lives and professions has some pool of weird technical names that can be concatenated together for a password. I'm partial to "unpopular yet cool integrated circuit ID codes of the 80s". I thought I invented that idea and was introduced to an old programmer using concatenated library calls from multiple languages (so his passwords were concatenations like a java soundex algo library call followed by some obscure fortran matrix manipulation) My mom knows the long legal names of some obscure real estate cases / judgments / citations / forms.
A big one I've seen is more related to the TLS cheat sheet [1] they link to on that page.

Many sites will send session tokens over http because they don't set the "secure" cookie flag. It's a simple thing to do, and prevents a malicious ARP poison or DNS attack from potentially hijacking an account.

You'd be surprised how many sites are vulnerable to such attacks. Reddit, parts of Ebay, several university websites, and many other sites still are vulnerable to session hijacking.

I think people writing web libraries need to start building "sane defaults" concerning security. All cookies should be secure by default, and only those who know what they are doing should turn them off. It's not that much extra overhead, and the potential benefits outweigh the increased processing and bandwidth.

1: https://www.owasp.org/index.php/Transport_Layer_Protection_C...
See my other reply that's like a great-great-uncle-once-removed of this comment or something, and I'd highlight I'm using real numbers from my real patronage, not theoretical things that could happen someday.
The 7 Rules for Writing Software That Won’t Die When You Do
Linux being open is not just about the kernel source code. It's the fact that it's modular, that you can decide what brick you need, add or remove them, and end up with the perfect right configuration.

It's especially interesting when you're building an embedded system (typically with a RPi). Start with the minimal Arch Linux install, think about what you need and add just that.

There is a lot to learn about how operating system work when you configure Linux without having to recompile your kernel (something that nobody do any longer anyway).
No link handy but I'm sure someone recently wrote an open source effective entropy calculator, which avoids either enforcing stupid entropy-reducing, complexity-increasing rule sets, while also preventing anyone using stupidly easy to guess passwords. Others do things like check against a normalised dictionary (i.e., I, 1 or L are all considered the same character). I really don't know why in this day and age of complex software with libraries for even trivial functionality, this practise isn't more widespread. People are still writing dumb complexity rules like it's 1980. This should really be the new "don't do your own crypto".
Let's Talk About Your Backups
If they integrated the kernel into systemd then Linus wouldn't have any say over it. ;-)
I misread you then and read ZX81 instead of Spectrum and my mind went back to typing in pages of code and being unable to save due to only have the 8k version.

That nearly put me off writing code!

Thanks to the BBC B and floppy disks!
In my interactions with them, I would say that Comcast has some very smart, very capable people working for them who really get technology in the HN sense. They care about doing things the right way, because everything they build has to be instantly scalable. They understand that the world doesn't revolve around them, and they need to use open standards where they exist. They even contribute back to a great many open source projects.

Unfortunately, the customer support part of the company does not share this quality. But don't punish the developers for it.

But should you ever meet a Comcast employee at a technical conference, realize that they hate the evil Comcast machine as much as you do. But they're working from the inside to try to make things better -- at least as much as they can as a developer.
Bespoke Post (https://bespokepost.com) - Subscription Service E-commerce - Programmer - New York, NY - Full time

Our stack is:

Heroku, Cloudflare
Ruby, Rails
CoffeeScript, Javascript
Angular
Sass, CSS

See full offer at https://bespokepost.com/careers

Contact us with relevant info at jobs@bespokepost.com.
How did you handle password++ iteration? For example P@ssword01, P@ssword02, P@ssword03 hash differently.
Also you could probably reset the bios in a couple minutes.
Why to Go on a Blind Date with a Book for Valentine’s Day
Cracking the Hadoop User Experience
Doctor On Demand, Inc.; San Francisco, CA / REMOTE / INTERN

Well-funded startup (A16Z, Shasta, Google Ventures) improving access to healthcare by making it easy to have a Video Visit with a licensed Physician, Psychologist or Lactation Consultant from a smartphone, tablet or computer.

We have openings in engineering/DevOps, business development and product management. http://www.doctorondemand.com/careers

Our backend platform is built with Python (Django/Celery), PostgreSQL and Redis.

I gave a talk about some of our unique challenges at DjangoCon 2014. https://www.youtube.com/watch?v=txlURM0n41Q

Please apply through our careers page and mention that you saw the posting here. You can also reach out to me directly with questions about engineering openings. jshelly@doctorondemand.com
If your students can physically remove the hard drive, you should consider physical security rather than software security.
Yup, they used MIPSpro compiler but it cost extra. And my recollection was that gcc wasn't fully functional without MIPSpro installed.
Excellent points, your "theme park land" C# comment made me laugh
> Are these kids hacking on the Linux kernel or something? Of course not.

Not most of them and not to begin with, but "educating themselves" means having a platform where their curiosity can run amok, and some kids with RPis absolutely will find the Eudyptula Challenge or some other source of inspiration and make it to tinkering with the kernel.

RPi is absolutely the perfect platform for this. Break your OS? Just throw in another SD card. Somehow damage the hardware? Whatever, it's only $35.

I'm not the only person on here who taught himself Z80 assembly language in school because it let me dig deeper into our TI calculators; if we'd been using RPis for programming assignments I would have been all over that. I think it's a little surprising that it even needs to be said on a site called "Hacker News", but let's not underestimate what curious kids with a bunch of free time will accomplish.
And in fact, I've written that exact thing in a C# network stack, about 7 years ago. No bug, as I did properly check the size of the data, but totally possible to have messed up. It's not even hard code to write, just a simple object pool to return byte arrays. Which is natural, as in .NET, high performance often ends up as an exercise in removing every heap allocation possible.
He has a really good point though, you can't just dismiss it with no counter argument.

The "windows way" involves a UI specific to one OS, the *nix way can usually be applied to any UNIX like OS, of which there are far more of than Windows.

Not only that but once you learn to program on UNIX all you have to learn is an intuitive GUI to move your skills to windows.
This really seems like confusing science with science headlines in the newspaper.
That was not the case when I used Irix (commercially), or later when I worked at SGI. Perhaps you mean "Son of SGI", the company that once was Rackable Systems?
What We Learned from Our Hardest Project Ever
Are You Struggling to Identify Your Social Media Audience?
With one minor difference: Humans at least have full-blown human intelligence which they can use to heuristically determine when the execution is "complete". Not that that makes all that much more sense ...
Doesn't almost every service leak users at sign up? There are ways around it but I don't think they've very common.
Hi, I don't think it's possible with System.js. Nevertheless I decoupled internal implementation from Webpack so it can be used in future hot-reload-capable build systems:

https://github.com/gaearon/react-hot-api

If you find a way to make it work with System, let me know!
Would I be right in suggesting that it's not encrypted data unless someone can decrypt it to prove so? In other words, we're free to send garbled nonsense to each other.
Here is what I noticed about this, sorry if it is considered too off-topic:

There was an argument, about something specific and technical; It was refuted without singling out a specific person by name; without using humiliation or insults; using code to do so ("show me the code!"); and there was a polite acknowledgement and resolution.

This is an example of an interaction in a community that I think anyone would want to be a part of. Thank you.
All the .NET devs and classic ASP (!) devs I know were/are scared stiff of Linux, see it as a hobby environment not used widely (they obviously don't think about servers, they use Windows servers and use the magic that IIS + .NET does for them), don't see outside the Windows development world and pronounce Linux as Lyenucks. Giving them a Raspberry Pi with Linux on them would kill them.

I think they should widen out.
This is actually a great idea. It's the modern equivalent of a paid mailing list.
Did you read this part?

Tur’s foreign investors need invest only $500,000 because the federal government agreed that the Lakeshore East development is an area of high unemployment. Lakeshore East, a community of high-priced apartments, is bounded by Randolph Street, Wacker Drive, Columbus and Lake Shore Drive.

It smells fishy. Lakeshore East is full of really nice high rise condos and apartment buildings. Jeanne Gang's Aqua Tower is there. I think most people would support a program that allows residency for serious foreign investors. But what people don't want (especially people in Chicago) is a federal program that allows Daley to use his connections to basically charge a toll on the foreign investors who would participate in such a program.
I would argue that the whole Rust ecosystem pretty strongly discourages you from writing broken low-level infrastructure code. The idea behind unsafe code blocks, the generics system, and Cargo is to encourage you to use off-the-shelf tools instead of rolling your own, often broken, solutions. The C ecosystem, by contrast, tends to encourage rolling your own solutions because managing dependencies in a cross-platform manner is such a pain (and the language doesn't help due to the lack of generics and so forth). I suspect that any free-list library in Cargo that didn't zero out buffers would be fixed pretty quickly (and, as eddyb rightly points out downthread, it would be pretty hard to write a free list system that works with multiple types that doesn't require initialization before use--Rust in general abhors uninitialized memory).

There are parallels between the philosophy of crypto libraries like NaCl and Keyczar and the Rust philosophy. Don't write your own low-level infrastructure code. Use somebody else's.
> t isn't as performant or as well tested as professional compilers

I don't know how true this statement is. ICC has been found to be very lacking compared to both gcc and clang -- and I'd wager in-house testing doesn't compare to massive world-wide deployment of gcc and clang as far as rooting out tough bugs that crop up in weird circumstances.
Ask YC:  Real-world earnings through udemy.com, etc.?
A friend recently pointed me towards udemy.com and their online course marketplace. Up until a few years ago I was a defense contractor, and a big portion of my job was teaching very technical classes to the defense and intelligence community on the technologies we had developed for them. I always received high marks and positive feedback for these classes, and my friend thought offering a few courses on udemy or a similar site might be a good fit for me.

However, since I had never even heard of them until a couple of days ago, I was very curious what the "real world" experience is with sites like this. Of course, udemy tells a great tale about how much money you can make, etc. But is that really the case? Have any of you offered courses through a site like this? If so, how were your earnings? Did you make decent money? Was it worth the effort/time/expense? How difficult was it to stand out in the crowd? I notice a lot of classes in the areas I'd offer courses -- information security, Java development, and especially iOS development. Is it hard to stand out in a marketplace like this?

I'd really love to hear about your experiences!
Also Cycle: https://github.com/staltz/cycle/

I don't prefer them over React, but I agree they make this stuff easier. React Hot Loader is a hack after all ;-)
Yeah, that does make it better, but it's still not perfect. Witness the complaints right here about how you can't tell whether you got an empty page or it just hasn't finished loading yet.

Trouble awaits when you try to wedge a general-purpose application environment into a page-based document viewer.
It sounds like you were running Linux on hardware that wasn't Ubuntu certified.

This is like complaining about how hard it is to get OS X up and running when installing on a Dell, but I see where you're coming from and realize this wasn't you whole point.

Anywho.. I would say it's easier to take skills learned from using Linux and apply them to the Windows OS than the other way around.
though there are plenty of people out there that don't want any fame or any kind of prestige.
Was this weird computer they used a Windows machine or was it an old OSX version? :-)

Only kidding. I went to PC World the other day and attempted to use one of the Windows PCs and quickly became angry with Windows 8.1. Seems I have been using Macs for too long (and I used to use Windows daily, now I do but in a VM and it pains me).
Patrick has quite the track record:

http://en.wikipedia.org/wiki/Patrick_R._Daley
Multiple comments are mentioning wearing headphones with loud music. But what about earplugs (the disposable foam type)? I’ve worn them during physical work (with loud machines) and, at least for me, they were very effective. I felt I had more energy and focus. Has someone tried them for office work?
Used IBM Model M + ps2->usb adapter
Which way is Linux miles ahead ? This is not a rhetorical question, I really want to understand. What features and functionality of Linux are missing in Windows that sets them miles apart ?
Communication systems in general routinely have up to 1024 modulation symbols (32 voltage levels for both the sin and cos carrier).

http://en.wikipedia.org/wiki/Quadrature_amplitude_modulation...
Wow. The NYR reporting about the supine posture of the national press has been fantastic, and this is another example, one of the most revealing I've read.
It's all good. :) We all make mistakes.

Further, I would frankly people understand that you _can_ have security bugs in Rust code, rather than think that if it compiles, there's no need to do security auditing. This post is almost a PSA of sorts. :)
One reason to take the latter is to make sure you don't get a deficiency disease.

And yet, what has started to come out (from what I understand and have read) is that taking a straight up multivitamin or something isn't that helpful. The general reason people seem to be finding being that the body doesn't absorb the stuff in the pill you just took very well, meaning you really aren't getting much benefit, if any, from taking said pill. Instead you would actually want to eat things that give you the vitamins and minerals that the body needs in order for it to be able to absorb those. Possibly including something such as a healthy fat which would promote absorbing the good things in stuff such as broccoli that much more. (again, from what I have read and understand) This is the possible reasoning behind the article saying taking multivitamins is marketing.
As a parent, I can say this is a STELLAR idea. Thank you for taking the time to make it.

I'm downloading it right now.

This is very relevant to me, my wife and I are planning a 3 week Europe trip for next summer with our two small children.
Graphene’s cousin silicene makes transistor debut
The use of "foreground" as a verb in that article really bothers me for some reason.
Yes, and it is very hard to show a generic error during sign up.

"There is an error with your data..." WHAT ERROR? I've typed 10 fields.

I think a better approach is to rate limit wrong usernames / emails during sign in.