skysight-inc/HackerNews huggingface dataset:
HN isn't one of those utopian "everyman" (to cop another reply's language) communities. It has a lot of rules, both explicit and implicit, and is very elitist. My (poorly made) point is that I don't see why we need a utopian reinvention when the utopian stuff hasn't worked while the web in its current state is already so useful at connecting people.
`mix test --stale` sound like a tremendous gain in productivity, can't wait to use it.

Is there a way to have `mix test` just call --stale steamlessly for me in my terminal?

The other updates to testing in general signal how important testing it to the Elixir core team, and should be a flag letting you know how robust this language and it's tooling is. Take a look for sure, it's a great language.
Macsurfer.com — a simpler and more useful site — has been around since 1995 as well. If I've ever read anything on MacNN it's been because it was linked from Macsurfer
Show HN: CMS Airship – Secure Content Management for the Modern Web
I take notes, then take pictures of the pages. I really have no need for notes to be converted to text or any special format as they are for review only.

That being said, an app where I can create a folder for, or tag the photos of my notes for the class or conference, put the pictures I took in that category to easily flip through them, and then be able to virtually highlight them, create bookmarks in them, or mark over them with a virtual sharpy would be awesome.
I really like your approach, is there any code you can share on that?
our cultural environment gives us a bias toward downplaying the problem of rape and sexual harassment. i've found this thought experiment helpful in exploring bias:

rape is torture. for some it is worse than murder.

sexual harassment is aggression. for some it is worse than being punched in the face.

how would you feel if someone at your work murdered or punched someone else?

how would you feel if there was a systemic cultural inequity such that 1 in 3 people could expect to be murdered or punched at some point in their life?

ps - the opposite of rape (bully) culture is nurturance (support) culture.
I use Evernote if that helps, it suits my purpose. Even though I do use some extra hotkeys for formating.
The best use out of it for me is the search functionality.
How does that relate to your first post? Are you really focusing on what people notice?
I know great coders that have failed fizzbuzz. I've seen it happen in an interview where I was an interviewer, they were my friend, and I did everything in my power to make the process low pressure.

Some people just can't deal with the pressure of interviewing.
My housemate dated him for a while. It's pretty much all true.
It is also worth mentioning that a vast majority of code snippets is not runnable. They are fragments of large programs, might require additional files (going far beyond some standard libraries that one can pull, etc.).

All in all it would help, but only with trivial snippets approaching hello-world complexity or self-contained examples better suited for tutorials rather than encyclopaedias.
I like Notes in iOS/macOS. I really like having it on my phone and mac. I would like it if it was markdown or something to style them more, but the updates they released in the past year is an improvement.

Im glad you mentioned math formulas. One thing I can't do, that would be nice to do in Notes is someway to do math. I like to calculate what each contestant should bet for Final Jeopardy! and it's hard to do it in Notes.
tsk tsk tsk, somebody didn't read the whole thread. I highlighted the juicy bits.

I was told the hiring manager was very keen to make me an offer but I have to travel about 4 to 5 hours to their office for onsite final interview.

Yes, it's the team of young punks who interviewed me.

This was a recruiter involved exercise where I was contacted. Did not apply for this position.

And now the whole post:

Just an update. There's another Skype interview I had that was successful and I was asked to attend a final interview. I was told the hiring manager was very keen to make me an offer but I have to travel about 4 to 5 hours to their office for onsite final interview. I suppose this could involve white board testing or whatever. They want the interview/meeting this week/thursday, a bit of a rush. I am not so keen on travelling this week, and I expected them not to offer me anything at all in the first place. Yes, it's the team of young punks who interviewed me. I am way too jaded to make a 4 to 5 hours trip just to attend a final whiteboard test. But even then I have to make a move if I do accept this offer. This was a recruiter involved exercise where I was contacted. Did not apply for this position. I asked to confirm the interview agenda, and all the recruiter said was to discuss the offer. The last thing I want is to be bamboozled and surprised by a whiteboard test and wasted my trip there. Even then I am already not too keen on this job due to the need to make a big move.
I think there is a lot of potential here (think 10 years and you might get something useful in the first 5). This will require great will on the part of those trying to make it happen (the market is not demanding something great -- and neither are academia or most funders).

"The softer an area, the tougher you have to be"
> How is this better than double salted sha256. I.e sha256("secret", sha256("secret2", $pwd))

ITYM hmac-sha256("secret", hmac-sha256("secret2", $pwd)), but that's neither here nor there; the operation requires either two (your version) or four (my HMAC version) SHA256 operations, which really isn't much: your version would make an exhaustive password search twice as expensive; mine would make it four times as expensive. Neither is very much.

Note too that salts are not secret; they must be stored with the password.

> The double sha/md5 would even give rainbow tables a super hard time right?

If you're using even a single high-entropy salt, a rainbow table is useless. What's not useless is just trying lots and lots and lots of potential passwords: first sha256("salt", sha256("salt2", "12345")), then sha256("salt", sha256("salt2", "hunter2")), then sha256("salt", sha256("salt2", "opensesame")), then sha256("salt", sha256("salt2", "love")) and on and on and on.

'But that will take forever!' you might cry. Not really: the article noted a 209.7 million hashes per second rate. At that rate, one could try every possible date in a century (36,525 possibilities: lots of people use birthdays or anniversaries in passwords) in U.S., British, German, French date formats (x4) with the top 100 male and female names prepended and appended (x400: 100 each, before & after), with and without spaces between (x2) in approximately half a second. If one adopted your approach, it'd slow it down to just over a second; under my approach, it'd be 2¼ seconds. Not very good.

PBKDF2, bcrypt, scrypt & Argon2 all attempt to slow this down by not requiring one or two or four hash operations, but rather by requiring thousands or hundreds of thousands of operations. scrypt goes even further by requiring lots of memory access, since memory access is slow on GPUs while just hashing is very expensive. Argon2 goes even further still.

Under any of the above, it might require a full second on even a GPU cluster to verify a password, which would mean that it'd take 3 years and 8 months to try all of those possibilities earlier. While a real-world system wouldn't be tuned to take a full second on a GPU cluster (it'd be slower on a server), it might very well be tuned to take say 10 or 100 milliseconds, which is still relatively slow for someone trying every single hash but relatively fast for validating a user login.
Valve would be a fantastic investment. Steam is essentially the app store for PC gamers -- which is an extremely dedicated (albeit smaller) userbase that consistently spends money buying and installing new games that come out on the platform (unlike actual mobile apps, installations of which are on the decline).
Everyone who advocates for codes of conduct needs to have a hard look at the Appelbaum story and answer cogently how a code of conduct would have defended against Jacob Appelbaum. That's the great weakness, they do not work at all against anyone in an elevated social position.
Extrajudicial mob justice is killing someone who you think is a murderer.

Firing someone because of their behavior does not require a court of law (though they can challenge it in court). Banning someone from a community function does not require a trial, nor should it.

If you act like an asshole, don't be surprised if people don't want to be around you. That part of the situation is not a matter for the courts. The rape, however, is a matter for the courts.
You can set aliases in mix.exs...

Search for aliases on this page:

http://elixir-lang.org/docs/stable/mix/Mix.html
"Pulling rank" is indeed a sign of failure, especially if nobody on the team has rank because then it becomes a question of who on the team has a "relationship" with management.
Getting it open-sourced has been a bit of a back-burner thing; I'll see if I can stoke the fires a bit.
They are competitors to ARM, so it's not really surprising. Agree with that this is just a press release - which mostly aren't neutral.
How will ESSA impact schools in your state?
It is generally considered inappropriate for a mental health practitioner to offer a diagnosis without formally seeing the patient in question, so I doubt that someone who has the knowledge to make an assessment would take the leap and breach protocol. It would surely be interesting though.
A blog is no substitute for due process. Appelbaum may be guilty of all of the things he's been accused of, he may be guilty of none of them. Let's see some formal charges, sworn witness statements and court proceedings before we decide. False accusations can and do happen all the time.
I guess as long as Public Key Encryption works, something like this should be theoretically possible?
This isn't unique to you, or to developers. What you're describing is part of the human experience. There's even a name for it, "Dark night of the soul". Everyone experiences it, in every walk of life.

[1] https://www.eckharttolle.com/newsletter/october-2011
I have a different takeaway - Leaders from Google like Nikesh Arora, Marissa Mayer, Vic Gundotra don't succeed outside of Google because Google has a very unique culture and team environment, and success does not come from individual leaders at Google - it comes from teams.
There's more than enough evidence for him to have been fired "in that article alone"; of course a rape charge would have to be prosecuted, my saying he should be in jail doesn't mean "without due process". Firing someone however requires no due process, several women complaining about harassment is more than enough.
I find writing aids my recall. I have experimented with a surface pro 3 and it is ok, if you need them digitized, but less convenient then paper. (sometimes I accidentally hit a button or exit my notetaking app, sometimes I find myself wanting to do special formatting and not knowing how to, etc.) Its recognition and comfort are fine, however.

Notes are for you to recall the material better. What helps you with that?
Try Phoenix with Elixir. Really similar to Rails with Ruby on the surface, and surface similarities are all you will really worry about for static pages.

Views (called Templates in Phoenix) are compiled as strings and cached by the CPU automatically so you get really nice scaling out of the box, with no effort on your part.
There's a whole spectrum of personality disorders, including narcissistic personality disorder, borderline personality disorder, antisocial personality disorder (aka sociopathy). Any of these and maybe others could be diagnosed. Or maybe none and this guy (based on the alleged behaviors) is just a terrible person with no diagnosable disorder.
My day job. If I leave I worry about excessive procrastination. Procrastination is good in small amounts. Finding a balance is something that always troubles me.
I use PayPal often for online stores where my Discover card isnt accepted but I cant believe they are still around and have a huge market share. The platform is so broken.
If it is not open sourced yet, can you at least elaborate a little more on the inner workings?
I grew up in a house filled with books and parents and relatives who were in many fields. This ruined me for school (and that helped, though it was a struggle).

Here is a "personal essay" I was asked to write in 2004:
http://www.vpri.org/pdf/m2004002_center.pdf
I can think of no better person to ask than Alan Kay:

What are the best books relevant to programming that have nothing to do with programming? (e.g. How Buildings Learn, Living Systems, etc.)?
> What on earth are you talking about?

Specifically, this:
"When harassment, sexual or otherwise, requires a cost-benefit analysis, you have failed."

And this: "When someone harasses, humiliates, discounts, abuses, threatens, stalks, takes action to harm someone, no — they do not do good work."

> He should be in jail, there's nothing medieval about separating a rapist from the community.

Assuming he is a rapist (he hasn't been convinced), then yes, he should be in jail. But even then, he shouldn't be entirely prevented to participate in coding on Tor or political activity or whatever he was doing.

> Anyone who introduces people to you by lying and saying you give good head in a business context is absolutely someone who needs to be completely ostracized

I disagree. I don't think a person like that should be completely ostracized. Yes, he should get a different job, something that perhaps requires less social skills.

Let me ask you, in practice, what are you going to do with all those ostracized people? If you're American, I am not surprised with your views - that's the way how you got the largest prison population on the planet. But I don't think it's a way to run a civilized society, I am sorry.

A case of Hans Reiser came to my mind. I don't think he should be ostracized and prevented to commit any new code in his life (assuming he wants to), and he is a murderer. Or that we should reject ReiserFS or its concepts in jest. I am sure there are many other examples from history.
Certainly, but it just concerns me how bad they're working to make this guy out as a rapist, when no one has been willing to put their name on an actual rape accusation.
Oh that's nice, will do.
Could just as easily run windows natively on a mac for comparison on the same hardware.

Also might be able to do a battery size to hours of browser use comparison.

Or, comparing Microsoft with their hardware (Surface Pro's are great) vs a Mac laptop.

At the end of the day, time in a browser.... is time in a browser to the end user.
I think the fastest way to convince yourself that Perl is obsolete is to try to hire for good Perl programmers. It's a fine language if you treat it well, but it's going the way of COBOL.
Something doesn’t add up in Nikesh Arora’s sudden exit from SoftBank
> The truth of it is, is that once you've picked up Ruby, nothing feels quite as nice as a scripting glue language.

I today agree. Ruby is amazing as a light scripting language - heck, I think it's pretty great as an all-around language, but quick glue scripts are where it really shines.

I wouldn't be sad to see it fade in popularity if it weren't for the fact that the language(s) and/or ecosystems eclipsing it are so, well, lame. For a profession that demands so much careful, reasoned thought software engineers as a whole can be incredibly irrational.
I feel like that often, both as a musician and as a programmer. I've got enough skills that it's not hard to get folks to want me on their teams (and they pay, too, which is nice).

The problem is that when I launch something wholly on my own I often back off.... there are usually good reasons:

it's not gonna be as profitable as I thought,

there are actually problems with my idea I couldn't have seen until I got into the project,

it's just not as good as the alternative of working on other folk's porjects.

My solution to this (because it happens maybe 4 times a year that I drop some project I was working on) is to identify some small goal, even if that goal is "learning how to install postfix" or "getting my banjo chops to the point where I can roll chords along to someone else's songs".

Even better is when these small goals are in themselves something I can return to later (like a save point in some dumb video game).

Like, I just made a marketing site to try and pick up some event music work. If I don't push on it hard and it doesn't generate a bunch of leads, then it can at least still just sit there and when I come back to it in a couple of months and try and make a push on the idea, then I already have that part of the marketing collateral done.

And, with this project, I've progressed in my skills at setting up the server and specifically configuring mail programs, I've learned a little bit about adwords and analytics, and I have something to show my musician buddies.

Projects don't have to be all or nothing-- if you can learn from them or jest get some small tangible thing out of them, that's okay and often quite valuable.
> Docker networking guarantees that a given hostname lookup by a given container in a given service discovery scope will always return the same IP. In that configuration, using DNS is a robust fit for production.

I really wish there was more technical documentation on this "feature", which would make actual discussions about this much more productive, as opposed to what amounts to "trust me" with an appeal to authority.

As it stands now, there's not enough technical documentation about this feature available to make intelligent decisions about whether this really is a "robust fit for production".

> Believe it or not, Docker is built by people who have actual operational experience :)

I believe in track records, and Docker's hasn't been too great so far. From "not our problem" responses to issues like devicemapper version differences (on major OSes, no less), to the fact that I had to automate the cleanup of orphaned mounts after stopping containers, to non-backwards compatible releases with major core re-writes every other month, to containers which are quite literally unkillable without a host restart; Docker's track record is pretty poor.

I've used it in production, and the benefits barely outweighed the pain of attempting to manage it.
I'm in the middle of this problem and not sure If I'm doing something wrong.

In the next month we are going to launch a new product, I'm full stack dev and I'm bit frustrated with my colleagues. I did all the devops and all developers(5) has his vagrant per branch, each vagrant box is deployed in one box so they can show to another colleague without trouble (I built a server with the subdomain with the $TASK-ID.subdomain) and the workflow is correct for all of them and they are happy. To deploy to staging/prod we have a full terraform + consul so we're in a happy place.

In terms of code this is painful, they didn't make any test, I made around 50 test 1 month ago to show to them how to make test, but in one month, only one test was added in the project. In terms of the code-review they complain about good indention, and each time that they made a Pull-Request (pep8 and pyflakes) is not passed, and they use to complain about it. They use to mark task as resolved before code got merged, things to weird that I can't explain.

I tried to explain why things need to change, I made a workflow in plantuml and they are complaining that it's too difficult. I'm the only one that made commits in the docs folder.

Nowadays I'm thinking to switch to another company, but I'm happy with my manager (He is too honest), but the team is killing me, and I don't feel comfortable with them, I rarely learn from them and they don't want to do things better, they only want to work to raise money.

This is a dead battle? Or can I fix this?
I can recommend Pieter Hintjens' "Psychopath Code" if you want to learn more on how human/social predators operate:

http://hintjens.com/blog:_psychopaths

Edit: I neither know the accused nor the writer of that piece, I just wanted to share that there's lots of layers to reality and that this book was eye-opening to me in that regard.
Phoenix's author Chris McCord wrote an excellent book on metaprogramming in Elixir: https://pragprog.com/book/cmelixir/metaprogramming-elixir
L4 runs on every phone in the world (to a first approximation).

Xen (derived from the original exokernel work) runs AWS on a bazillion servers.

Linux, FreeBSD, C are examples of how a heroic amount of work can make up for poor design, but it's clear that with a better architecture and the same number of developers they would be much more featureful.

It's also significant, I think, that all the important distributed filesystems (eg. Gluster) are implemented as userspace servers, not as kernel drivers. Once you go beyond a certain level of complexity implementing a kernel filesystem isn't really feasible even with heroic effort.
I'd love to find this. I have a case of notes from college that I'd like to reference again, if only for my own interest. I'm not sure it's worth the effort to go through and digitize 3 dozen notebooks, but there's information in there I'd like to have and I didn't really think much about long term recall when I was in college. I wish the capability of taking pictures and quickly digitizing them existed at the time I went to school.
5 Useful Examples from the Ruby Standard Library
How is this getting down-voted? Dude seems 100% toxic, keeping him around is only going to poison the community further.
Is there something the HN community identifies with in this man?
And in the early 1000s humans believed that we would never fly a few people strapped to a giant rocket to the moon. They believed that because the technology to do it hadn't been invented yet and we had no idea it was possible.

We have to learn how to do it and then we will do it.
> too important to do their jobs

Writing code on a white board is not anyone's job. That's the point. It's so different from anyone's job that you're not testing whether they're actually good at coding.
So they will protect gun rights but not privacy rights? Jerks.
It's a fun story. I would venture to guess that each of the 'traitorous 8' had their moments that would have changed the course of their lives and of Silicon Valley. Least of which is Andy Grove, whose dogged pursuit of process repeatability is what enabled Fairchild to mass produce their circuits.