skysight-inc/HackerNews huggingface dataset:
Right, better to use the *at() functions (e.g. http://linux.die.net/man/2/unlinkat) where applicable.
http://wagtail.io is definitely worth checking out.
In the past century, the average retirement age has been steadily decreasing up until very recently when it began going up again[1]. People spend more time in school earlier, but education usually leads to working later in life as well[2].

[1] http://www.bls.gov/mlr/1992/07/art3full.pdf
[2] http://crr.bc.edu/wp-content/uploads/2011/08/IB_11-11-508.pd...
New analytics solution Hotjar Insights offers free beta access
People who care more about freedom than comfort?
ECommerce case study for in-memory caching at scale
"Neither of them fail often"

See /etc/security/limits.conf and nproc and "fork bomb"

Aside from intentional fork bombs I've seen this done intentionally in the spirit of a OOMkiller to keep a machine alive for debugging / detection of problem. 100 "whatever" processes will kill this webserver making it impossible to log in and diagnose much less fix, so we'll limit to 50 processes in the OS.

I've also seen it in systems where people are too lazy to test if a process is running before forking another and the system doesn't like multiple copies running (like a keep alive restarter pattern). If ops has no access to the source to fix that or no one cares, then just run it in jail where you only get two processes, the restarter-forker and the forkee. Then hilarity can result if the restarter thinks the PID of the failed fork means something, like sending an email alert or logging the restart attempt. "Why are my logs now gigabytes of ERROR: restarted process new pid is -1?"
Thanks! Definitively in my "shit I should know but didn't before HN schooled me"-top-10 :)
Thanks. We missed that one.

(If anyone is wondering, as I was, the convention is to use "Mayan" for the language and "Maya" for the people.)
This sounds pretty useful. Would like to see more tutorials
This is a mostly-untrue statement because it makes unreliable assumptions about the host system. It depends on the vm.overcommit_memory setting and the programmer should never make assumptions about why or when malloc might fail. Read more on Rich Felker's excellent blog post here: http://ewontfix.com/3/
I do exercise, every day. I am in good shape, and stay that way.

I do not have hobbies, because I don't really like anything. Trust me, I've tried quite a lot of things... but nothing seems enjoyable enough to stick with it. And I could force myself to stick with it, but, at that point its just work.
I wonder what the average color of all web pages is, and that of all smart phone app icons.

Edit: web pages should be weighted by page views, and app icons by downloads.
That isn't a field of physics that's a high school textbook.
The algorithm for generating chords does seem to work very well for simple songs, and at least makes a good stab at more complicated songs, for the guitar-driven songs I tried.

In terms of presentation and editing, I believe the guys at http://www.soundslice.com/ have a solution that is much better. I would love to see a synthesis of these two technologies, with YouTab producing a first draft of a sheet for SoundSlice based on any video.
Yeah, looking back I should have kept better documentation and they knew to call me on it, so I used the threat of not letting them charge me (as the card's expiration had changed) to get out.

If I knew to expect shenanigans like that, I would have played it differently, but they had always been good to me prior to that, so it blindsided me. I was only leaving because their DSL offering was no longer remotely competitive and I had already kept it longer than made sense. They simply didn't have a product to offer me at that point.
Perhaps the solutions could be encrypted, so that you need to decrypt them to read them?
Nathan, thanks for the reply! I'll be sure to take a look at some of the links you've provided. As mentioned I'm glad to see that it will be developed on its own going forward. Continuity and data integrity are my only concerns and so far everything looks to be OK on that front.

I'll be sure to send along feedback to you as it comes to me. Thanks again for taking the time to reply. It inspires confidence in the future of the project.
Sometimes there are legitimate reasons for relying on the CWD, such as avoiding time-of-check/time-of-use race conditions. The *at syscalls provide a better alternative, but (at least as of a few years ago) they weren't widely implemented outside of Linux and Solaris.
I do think that in certain circumstances you should be able to communicate instructions to them clearly.

If their service is faulty, or if you wish to make a change to service they shouldn't be able to try to sell to you, at least until you have completed your request.

For instance, if you want to terminate service, you should be able to notify them that you want to terminate service, they should have to process that request, and then they could try and sweeten the deal. But it should be to the point where you can call them, tell them you are cancelling, and then hang up, and have the service canceled.

Similarly with technical issues. You should be able to explain your technical issue, receive support, get some kind of action for resolution, and then get the sales speech. If they are contracted to provide a service, they should have to provide that service before they can sell to you. Instead of trying to upsell you before they dispatch a technician, they could try to upsell you after they dispatch the technician. Instead of trying to upsell you instead of solving your problem, they should upsell you after they solve your problem.

I think that should be general rules for consumer relations. It's common, but it's terrible that it's common. If you want to cancel your service you shouldn't be beholden to continue paying because the company filibusters you when you try to cancel.

The consumer needs to have a way to exercise their right to terminate the arrangement, and a way to request resolution of a service issue that is not prevented or hindered by a company that would rather not have to fulfill their obligations without making a buck.
The market is happy with marginal quality software, even if it's not good enough. (In some cases, marginal might be good enough, in others the externalities of marginal software aren't fully taken into account). Few people are going to pursue good software when it'll be trounced in the marketplace by marginal software. What's the solution to that?
Millimeter wave scanners still subject the body to radiation, even though they don't have the work "X-Ray" in the name. Radiation damage to your body is cumulative throughout your life, so if you care about your longevity, you'd be wise to opt-out of subjecting your body to this radiation whenever possible.
Without documentation the government can just deny everything the whistleblower says and spend their time discrediting them. The only reason anyone is taking Tye's disclosure seriously is because of the documents Snowden provided.
Not quite. I live in Arlington, VA and they're currently facing hurtles but they still service the area. For a while there, cops were pulling suspected Uber drivers over and fining them between 500 and 2k (I even had drivers ask me to sit in the front seat so it didn't look like he was chauffeuring). Uber would pay all of the fines for the drivers. It's been an ongoing battle but from what drivers have told me recently, they've calmed down with the arrests.
Very cool—thanks for sharing!

One feature that might be nice would be to allow for transposing or denoting that a capo should be used.
It really depends. I have a non-CS degree and it has helped me in my work, both the degree and knowledge I probably would not have gained if it weren't for my university forcing it. Your experience on a startup might garner interest from future employers more than a college degree.

Keep in mind though there is more to starting a successful start-up than programming though, there's also filling a need. And learning about subjects other than CS helps find a need to fill. You see tons of brilliant programmers looking to do a start-up but without an idea of what need to fill so they just create knock-offs of successful apps. Pinterest for specific groups, mobile rewards, ephemeral messaging, the recent rehash of delivery services, etc; think of something new instead of trying to just be better than the 5 other companies doing the same thing.

Your stint in college might give you a broader education than sitting in an office coding all day would, and that broader education might lead to better ideas for a future start-up, or lead to networking with someone who isn't a programmer but sees a need to fill.
Who even wants that? When I am coding, sure as hell some compiler vendor won't be telling me what to use my bits for!

I identify myself as an atypical coder.
Forcibly reducing the workday doesn't sound like a good idea, the optimal number of work hours depends on your specific situation. If I love my job, I could be ok with 9 hours a day. If I hate my job but it pays really really well, I could be ok with 4 hours a day or less.
But how is the above sample 'unfree'?
My experience was in selling ice cream. I did better than anyone else simply by trying to anticipate what people would like and offering them that. I never tried to push something onto someone who did not want it and when a customer knew exactly what they wanted, I let them have exactly that.

All selling was via suggestion - "X would go well with that ice cream" or something akin to this. I won every award for upselling until they asked me to bow out so someone else could win :) (I didn't mind because I wasn't really interested in the movie tickets you'd win for this in the first place.)
I agree that the site is DMCA compliant, you've covered that. lyrics added by the users for tracks that musixmatch hasn't got the rights to will probably still be a problem. the chords are, I guess, no problem, as you can't copyright a chord progression.

the big problem however is the embedding of material from soundcloud and youtube. while strictly speaking it might be legal, the total experience of your site is severely impacted by the fact that youtube continually removes video's that violate _their_ TOS, leaving orphaned tabs. or, as I myself noticed, blocks embedding of most tracks (at least for me, there's probably some geo-blocking going on).

I really like the interface, I'm very impressed with how well it works for most tracks (and fast too), but by making it dependent on difficult external parties like youtube and soundcloud I don't see it taking off. I've had very similar usability problems with all other projects that attempt similar things.

edit : I'll check back for the updated TOS later. I'm curious what they'll say...
In a similar family, note also that setuid() can fail! If you try to setuid() to a user that has has reached their ulimit for number of processes, then setuid() will fail, just like fork() would for that user.

This is a classic way to get your application exploited. Google did it (at least) twice in Android: once in ADB [1], and once in Zygote [2]. Both resulted in escalation.

Check your return values! All of them!

[1] http://thesnkchrmr.wordpress.com/2011/03/24/rageagainsttheca...
[2] https://github.com/unrevoked/zysploit
It's a bit more complex than that. Tye, the whistleblower would still be Tye, the non-notable government employee had Snowden not down what he did. Just as Snowden was influenced by Assange, Tye was influenced by Snowden. Whistleblowers of all stripes are desperately needed to bring the government to heel.
In those times I wish I could use the emacs lisp way:

(let (dir "/foo")
(create-directory dir)
(with-current-directory dir
(delete-all-files-recursively)))

Factor recognized the value of dynamically scoped variables: http://concatenative.org/wiki/view/Factor/FAQ/What's%20Facto...

A lot of code became much simpler because of that decision.
We are of the same mind. I do have a side project, and it even earns me money.

Your comment: "It is not a lifestyle I would recommend and I hate that it is a necessity in this world without taking on tremendous risk" basically sums up my thoughts... My original question was asking if life has to be like this. I don't know anyone directly who grew up rich or went to an elite school (I did neither), and I just sort of wonder if that segment of society doesn't have to struggle as much.
We have a tutorial for building a chat app in Javascript here - http://appbase.io/tutorial.html.

We will be adding more dynamic tutorials in the future!
Note that wasn't the real reason. At the bottom you can see an edit which reads:

"I was wrong about why malloc finally failed! @GodmarBack observes, in the comments, that x64 systems only have an address space of 48 bits, which comes out to about 131000 GB. So, on my machine at least, the malloc finally failed because of address space exhaustion."
Heroku, is it always about money? /rant
It is, I get that. They have a platform to run, but they hand out credits left and right to shit like Yo.

We (...I) got slut-shamed (for lack of a better term) because my small startup isn't part of the "clique" with known VCs. We're bootstrapped, so I guess that means that we won't last long or ever generate enough income to pay them.

Sorry, Heroku. But this is bullshit.

/rant

ps. we have the largest family-held corporation as a client, but that still doesn't give us any... whatever that word is. We launch in a few days, and aren't charging our early-adopters for the first 'x' months while we figure things out/iron out the app/biz model. We also have 4/5 major sports leagues in the US on-board.
Honestly, I find their mobile offering really disappointing. Several times I've wanted to do things with it and not been able to, like login using only the mobile app and download some pictures I backed up for my wife, etc.. They don't seem to see the mobile app as a real, full app. This connect to desktop thing just makes it even worse. I didn't have my laptop around at the time. We've had other big issues with it involving the iPad version not being able to do things.
Hypnotic. Aquarius can't seem to lose.
and have no hobbies?
Maybe someone could suggest to Fauxcohontas that printing money and giving it away to those you deem worthy has an impact on wages and prices.
> Productivity keeps going up but wages don't.

Source?
It seems to me that the majority of the time learning any new language is not the syntax itself, but memorizing function names and parameter order. Has there ever been an effort to design a family of languages which use the same function names and order of parameters for the same operation so that switching between them would be a matter of learning basic syntax?
My guess is that the average smart phone app colour is blue.
He is a winning machine. His gold color suits him well. Aquarius is an impeccable fighter.
Not sure I understand. IPO shares are still only available to the wealthy clients of the banks that underwrite them.
Continuous Integration Servers: Should you self-host or rely on SaaS?
When you got hired as an interviewer, did they make you interview a couple of people at home before a phone screening? You know, to check out your interviewing skills and to see if you're good or not.

Also, do you do this with your doctors and lawyers too? Give them homework to see if they are worth the money?
Do you think there /is/ a solution to the problem? Or is this just one of the side effects of capitalism?

I'm not trolling here...just curious. My own mind tends to go in the direction of the parent, but, I also see how enforcement would be next to impossible.
Why does it think this video

https://www.youtube.com/watch?v=fTNzykQba3s

has anything to do with Glenn Gould?

https://www.youtab.me/music/loK8Eby47RZ/glenn-gould/goldberg...
Very nice. This is based on Boundary's Erlang Flake ID service, more details of which are at http://boundary.com/blog/2012/01/12/flake-a-decentralized-k-....

One thing I had to look up again was the definition of k-ordering: K-ordering gives roughly time-ordered id's down to the millisecond when sorted lexicographically. This is usually fine for most purposes but keep in mind it doesn't allow you to reason about causality between timestamps from different machines.

This also relies on your servers clocks to be in sync (something that should be happening anyway).
Yes! Couldn't agree more. Touched on this in a comment a while back:
https://news.ycombinator.com/item?id=5039418

So much time wasted.
> Closing the socket results in a race condition.

That is true. To go more in-depth, you'd do shutdown first. But I think you have to be connected for that.

> Canceling select or any other multi-fd call is really easy. Create a pipe and add it to your fd set. Any time you want the thread to wake up (e.g. because you need to tell it that you're canceling something) you just write to the pipe.

That a good way, agree. But I would still use a select with 2 file descriptors per thread. One fd for the pipe and one for socket itself. Each thread handles its own request and processing as needed without having one global dispatch in the whole application. Pipe is exposed to the outside in case shutdown needs to be triggered (from another thread).
One Simple Way To Support #Ferguson
Why I Love Data Engineering
"I think a lot of Silicon Valley startups cannot see beyond their Bay Area bubble where everyone earns $150k, treats their time like gold dust, and will pay a premium for menial services."

Couldn't agree more. Amazing how tunnel visioned they are.
"I'd like to" means I would like to, presumably meaning "I would like to take your post seriously, but your offensive handle is preventing me"
Great! Wanna try!
The “freedom” to choose a license is in reality the right to have power over other people:

https://www.gnu.org/philosophy/freedom-or-power.html
If everyone would receive X money then X would be the new 0.
I can see that thought process. However, I think there's a big difference between racks of servers and racks of people. People skip work, crash into things, ask for raises, unionize, sleep in, etc.. I don't know much about commoditizing things, but I'd much rather invest in a warehouse full of machines, then a low wage and potentially uninspired human workforce.
Web-based Lightroom analogue. Almost
Golang-dev: Help: Converting everything on the G stack to Go
That page is incomplete: malloc() will fail on Linux depending on the `vm_overcommit` setting:

https://www.kernel.org/doc/Documentation/vm/overcommit-accou...
For daemonization, daemon(3) is better (EDIT: assuming you only care about Linux). (It also chdirs to /, closes STD*, and detaches from the terminal.)
This is self-imposed, owner-initiated DRM: it's software specifically to make your computer run fewer programs and be less useful, because it might hurt the owner to come to rely upon powerful non-free programs.
What's next, GNU LibreCSS?

(I read somewhere that html5+css3 can be turing complete)
It tries to figure out the artist by itself and as with all automatic things like this it missed sometimes.
Hi Amit,

I came here to vote this article up. I didn't expect you to be posting here. I love your site. It has been an awesome resource and I have referenced it for other people multiple times.

I really enjoyed your piece on procedural terrain generation. It's so well written that it's the first thing I think of when I want to help people understand that concept.

I also really liked some of the work you did with the interactive diagrams, especially the article on modeling dice rolls.

The way you have made this information accessible is very impressive to me. You make me want to do the things you do for others.

Thank you!
I'm the author of this post. Happy to answer any questions you might have :)
I see where you're going with this, but try to understand the common man can't always be a founder... cause the common man has bills/mortgages/rent/families/kids and a whole lot of other things to deal with. Also, have you been out there in the startup world lately? There are tons of people out there with ideas (mostly bad, some possibly good) -- and no money.

I imagine these big investments will push the costs of tech labor up (designers and devs) -- since there are people out there with the money now -- which can possibly be a good thing and a bad thing... But in either case, it will become harder to price talent/skills properly.
There's also the "City people who don't have cars" market. When I was one of those people, I'd have happily paid a $10-ish delivery fee to not have to hand-carry 20lb of groceries about a mile.
No, I expect to hit roughly head on. A container won't show up on radar, and its hard to detect something that near the surface using any sort of transducer/depth measurement device.

Titanium is non-reactive/corrosive, lightweight, and extremely durable. I'm extremely confident of the design, ensuring survivability of a container encounter, even at 12-15 knots.
Make your own path, fuck everyone else.

Heroku too expensive? Spend some time migrating to Digitalocean.

Don't ever rant about things you can't control. Strategize and find your own way.
I prefer to think about USA as no-vacation-nation. Just because it's good to think that there a lot of guys working 24/7 and if you don't do so, you are retired.

You can't do the smart work more than 4 hours a day, right, maybe it's just beyond energy exchange capacity in our brain that support extra concentration.

But everyone have a lot of a dumb work, documentation, settling professional conflicts in mail, pinging standstill tasks, routine refactorings or other forms of small product polishing, whatever.

I'm not sure that the 4 of "smart work" is including all those 20% of work giving 80% of value, its sounds funny but sometimes you have too much energy to do very valuable routine.

If you have predisposition to depression (as i do) you can liberate your own time and just waste it to extension your depression experience. Wow it's really worth it.

Depression is just negation of any actions. When external factors is punching your arse its hard to negate. When not, welcome to slow way down.
There is no license notice in the sample. LibreJS looks for a license notice as a comment in the script: http://www.gnu.org/software/librejs/manual/librejs.html#Free...
Sorry, should have tested it. I'll edit my comment.
This wouldn't explain why the same effect was seen from photos of graffiti (which presumably were outside, in the day.)

"When someone told him that it was probably due to the colors of flesh in photographs, he tried it with a pool of graffiti. Still orange. "
It's strange how age and the passage of time can change you. When I was in my 20's, I used to say things exactly like this. The further along I get into my 30's, the more I read things like this and experience the same feeling I get when reading "9/11 Truth" material.
Don't most of those newer lighting technologies usually try to imitate the color temperature of traditional lighting?
Blocking "nontrivial JavaScript"?! You have got to be kidding me. Let's block Linux kernel for "nontrivial C" while we at it. It sure as hell looks far more nontrivial than an average js script.
I once did

rm -rf $PREFIX/usr/lib

in a Bash script being run as root. PREFIX was misspelled, and set -u was not in effect, so the misspelled variable silently expanded to nothing ...