skysight-inc/HackerNews huggingface dataset:
Sorry nodemaker. This reminds me of a blog post I have that's a long time coming. (kinda painful to face).

My Dad passed away a year and a few weeks ago of Lung Cancer. I am furious that his pain doc didn't warn us that the day he started taking the heavy drugs, might be the last lucid day in his life.

We never got a chance to find out his final wishes.

35% is much better chance than my Dad was given, so I hope he pulls through and it's super important that he embraces the 35% like it's 100%.

But if it goes downhill, make sure before the pain meds are given, that last wishes are discussed. It's difficult to discuss, but don't be shy about it. Discuss it as a "just in case" scenario.

Also, @bananas' Dad was very wise. Listen to his advice.
EDIT: -1 from parent. Thanks.
kimsufi is the bottom of the barrel line from OVH, they have been around for a long time.
Yeah, this is what I was referring to. Pike lamented this in his famous essay, "Systems Software Research is Dead." In it's place, we tend to have more focused R&D, which is still kind of nifty, but can imply a certain amount of acquiescence with the status quo.
Given this post I am actually curious as to whether there are certain edge cases in which a single var statement prevents a semantic error that multiple var statements would hide.

This phrase piqued my interest:

> variables being hoisted half-way through a scope are declared before being necessarily defined

now I know how hoisting works. Every var statement is silently split from its assignment so all the declarations are semantically at the top of a function scope regardless of what you do, but the assignments stay where they are. Which means that the bugs we're trying to prevent probably have to do with building up a value through sequences of assignments using previously defined variables- which could well behave differently depending on which of these patterns is used.

I'm just wondering if there's some set of variable assignments that actually behaves differently depending on which of these two presented patterns are used. So I'll need to do some testing I think.

Aside from that, I always assumed the main advantage of this pattern is as an obvious visual indicator of code smell. If you have enough variables that the single var pattern starts becoming unmanageable, that is a strong indication that the function you are writing probably should be several different functions.
That's a valid question. Although I didn't appreciate fold.it that much since the software crashed immediately when I tried it.
would definitely agree, its a really fun game!
8 Tips for Creating Better Converting Author Websites
An author’s website or page is ESSENTIAL if you want to drive more sales to your non-fiction book and if you want to position yourself as being “media ready”!

The prices vary when it comes to getting an author page created by a webmaster, but there are key elements that MUST be present in order to make that page work for you.
It might be an (slight?) improvement over the current system in US, since vote buying is already happening, just in a very unrestricted way, and this voting system promises to restrict the buying of the votes somewhat.

However, at first sight (I'll have to look into it more), it doesn't seem nearly as good as http://rangevoting.org, and that doesn't cost anyone anything, either.
EDIT: Thank you!
a) 100M switchports are insanely cheap

b) It limits the damage you can do when your box gets owned.

b.1) It limits the amount of damage you can do if your business/usage model assumes more traffic than their business model assumes you'll use.
Why do I feel like another good name for this game would be "8 years of running a startup"?
Probably? (jadedly) It's a cheap one off that earns them a lot of free publicity.

Folding and SETI have been at it for decades, and will be for decades more. That'd be a lot of power/hardware costs for little net gain modulo time spent.

(Note: 30 cpu years really isn't a lot of time when you start getting truly massive parallelism, and google is certainly at that scale. I'm honestly surprised to see this is pthreads based, I would have expected it to lean heavily on CUDA (or maybe I'm just showing my naivete to the field of parallel programming))
Yeah, I've seen that. I guessed he didn't report back because it didn't work, but who knows.

Good question. I agree, that's probably the first step: a more expensive inferior product, but I'm trying to look beyond that. If the open tools compete in features, and the manufacturers don't have to recoup design investment, shouldn't the open tools be cheaper? I want to live in a world where people have access to tools at the marginal cost of manufacturer. Once the open tools can compete on features, presumably volume would increase, making them competitive.

Rigol, like the bigger test equipment manufactures, sell heavily software limited equipment and charge handsomely for upgrades. Dave on the EEVBlog recently did a teardown of the newly released Tek MDO3000 6-in-1 scope. The entry level box costs ~$3,000. It costs about $15K for all the features enabled. Same hardware. Dave estimated the signal analyzer front end costs $40 in raw parts but $2,500 to enable. What's the real costs of the box? I'm not saying open is necessarily cheaper, but I'm not yet convinced it couldn't be.
Other researchers did a similar thing to prove that a sudoku puzzle needs at least 17 clues to make a unique grid. They went from 6.7E21 possible grids to check, to 5.4E9 possible grids to check. http://www.youtube.com/watch?v=MlyTq-xVkQE
the important part here is that they no longer really use LXC.
A simple usability trick for Google Maps
Thanks! Yeah I will make sure we get the last wishes down in case it goes downhill.
I think this is a very important area of improvements for linux. While we call it "multitasking" there are a lot of situations where one might doubt it deserves that title.

I have been experimenting with very low cost computing setups that optimize for robustness and that led me to pretty slow disk I/O. While thats not a typical scenario for desktop computing, it can and should be possible with the limited but sane resources I ended up with. In practice however, certain loads freeze the whole system until a single usually non-urgent write finishes. Basically the whole throuput is used for a big write and then X (and others) freeze because they are waiting for the filesystem (probably just a stat and similar).

There are differences between applications. Some "behave" worse than others. Some even manage to choke themselves (ever seen GIMP take over an hour to write 4MB to an NFS RAID with 128kb/s throughput?).

I guess this is a hard problem, but I would wish for an OS to never stall on load. It is even better to slow down exponentially than to halt other tasks. Ideally the sytem would be smart and deprioritize long-running tasks so that small, presumably urgent, tasks are impacted as little as possible.
How To Use Twitter For Mobile App Marketing
I got them to validate my account with an email and a copy of a statement but I was later told I could not purchase this because it wasn't available to Americans. Before I realized this was the case, I received an e-mail saying that my paypal payment wasn't accepted because the order couldn't be validated.

I just ended up going with Digital Ocean instead. It would've been nice to have a cheap dedi but it isn't worth this kind of hassle.
EDIT: No more invites (zan, mducommu got 'em) - brilliant way to share!
Edit: Thank you for sharing this: I have ZERO invites left. Please remember to confirm and remove email :)
Submitter here.

Edit: no invites left. I gave 1 to rtaboada and 1 to Lyaserkiev, so try asking them. Don't forget to upvote the thread if you find it useful!
I would think you'd get a ton of bias by having the options labeled (particularly using words like 'old' and 'new') and always having the options in the same order, 7.1 on the right.
charles@rebelidealist.com

thanks a lot
Thanks :) I will send him the article.
Excellent strategy. Got painfully close to victory - 16,516 total.
Massively Multivariable Open Online Calculus Course
NoSQL company Basho loses CEO and CTO
I've got 3 invites, come and get them.

Edit: yarinb got the first one; two left.

Edit: albertoleal got the second; i--; One left...

Edit: merseylax14 got the last. Thanks for playing everybody!
I can't tell if you're trolling or not...

The use of man in this context is androgynous. It's merely an abbreviated use of "mankind," which is an abbreviated use of "humankind." I'm sorry if you're upset by this wording, but it's not inappropriate.
Social Media Marketing: How  Tumblr Can Boost Your Brand
Really impressive. Amazed at the voice actor quality you received for $25. We've typically paid $150-200 for ~60 seconds on voices.com. Next time we get voice done I'll definitely try out O Desk first.
Can you guys add a if/else clause in sinatra and add a FreeBSD logo?[1]

I see tux in my FreeBSD server and feels weird.

[1] https://github.com/scoutapp/scout_realtime/blob/master/lib/s...

ps. My photo-editing skills suck bigtime otherwise I'd do it.

EDIT: Doesn't seem to work properly under FreeBSD-10. No data is displayed. Apparently (as expected) uses Linux ProcFS structure to get data. So FreeBSD for now is not supported, keep the icon for later :-)
Ask HN: Looking for Haskell tutorial for experienced developer (with one caveat)
I've been using many mainstream programming languages for a while. I've always heard great things about functional programming and want to learn more. I hear Haskell is a good one. I'm looking for a good Haskell tutorial.

I just have one caveat.

Under no circumstances is the tutorial ever to mention the word "factorial" or have anything related to factorial in it. If the tutorial must make use of the factorial, it should be in the appendix section far away from the main bulk of the tutorial.

I'm just looking for Haskell tutorial which reads like a Java tutorial, not a calculus class.
How very recently was this? The pyglet dev version from 2012 at least claims to be for Python3.
I was wondering if received pronunciation was an available option.
His "admission" was very, very weak.

"I am no longer involved in that and I cannot discuss it," he says, dismissing all further queries with a swat of his left hand. "It's been turned over to other people. They are in charge of it now. I no longer have any connection."

For all we know he was confused and thought she was talking about his previous, possibly classified, work.
I have to sadly agree that it seems like Malaysia had neither military nor civilian radar watching. Either that or they didn't have it recording.

They have made vague statements about military radar but nothing conclusive.
That's the first thing I thought. Please, please change it. Things are difficult enough for women in technology without things like that. I don't care what the rational is. It looks awful, and I'd be embarrassed to show that to women at work.
Open source is not the meritocracy many think it is.

Let's say you one-upped AngularJS with a new library. How would you compete with that sort of marketing muscle? Devs are no different from regular people: they don't want to change, they'll be averse to re-learning things, and they'll downgrade you for not being backed by Google.
Timo Boll vs. KUKA’s Agilus robot in 5 hours
ΦΩΤΑ XENON 5202 6000K – XENON KIT – XENON ΦΩΤΑ : HxoStyle
Hmmm, that wasn't my experience. I got a score of 7540 on my first try. Although I do suspect that the skill component might be less than we think.
Thanks Chris!
Edit: no invites left. Elliott and tomassre got them.
> For all we know he was confused and thought she was talking about his previous, possibly classified, work.

If we're going to play that game, for all we know, bitcoin was his previous, classified work, and there is no confusion at all.
It sounds like you don't know how to code, so in what capacity are you joining the big tech company in the bay area (what kind of job role)?
Amazing how little you need to survive/thrive.

Also amazing how important our own beliefs/self-imposed limits impact our perception of the world . Neuro-linguistic progamming helps shed some light on this.

"Whether you think you can, or you think you can't --- you're right!"
PyGame also claims Python3 support for several releases back. I agree on the installation part though. Pyglet is really the one I've found easiest to install and get started with.
> he can't manage to capitalize the start of his sentences

Having no clue who this cat is (well... was) I had to look him up to figure out if I cared about his 14 year old rant against Perl. One thing about him that stuck with me after reading was that he did that on purpose because it was easier to type. But that doesn't really make it better.
Thanks - I can reproduce with that output. Opened an issue on github - we'll fix:

https://github.com/scoutapp/server_metrics/issues/9
Given that cancer cells are fueled by glucose (i.e., sugar metabolism), you might read up a bit on carb-restricted diets:

http://www.proteinpower.com/drmike/ketones-and-ketosis/carbo...

"Since cancers can't really get nourishment from anything but glucose, it stands to reason that cutting off this supply would, at the very least, slow down tumor growth, especially in aggressive, fast-growing cancers requiring a lot of glucose to fuel their rapid growth. Thomas Seyfried [showed] that ketogenic diets in animals and humans can stop malignant brain tumors."
"Turn right on El Camino rEal", said Siri's sister from UK.
I thought the vague (or rather clear but soon contradicted) statements about military radar were from Vietnam, which was closer to where contact was lost.
I wouldn't really agree that Antarctica is "left alone".

Antarctica is protected by international treaty but nations are populating it with "research" missions so they have a presence when that treaty is renegotiated. The continent has massive untapped natural resources.

All of which really supports your larger point.
In principle, yes. I believe most modern filesystems use (kernel-level) write barriers to ensure filesystem consistency, and those do depend on having hardware barriers as well.

The kernel is not set up to export this interface, however, and there doesn't appear to be any serious work being done to fix that.

EDIT: http://pl.atyp.us/2013-11-fixing-fsync.html has more details.
The only iOS 7.1 option that seems to be losing is the call screen. Of course the old one looks better with the full-screen photo, but how many people have good enough photos of their contacts to make that consistently look good in everyday use?
Not really
http://en.wikipedia.org/wiki/God's_algorithm
That's true! I noticed it as well, and it's pretty awesome.
I have (1) to give now, thanks!
To: nb13
You're right and I am wrong.

Editing my post.

Edit: Too much time has passed and I can no longer edit my original post. :(
That reminds me of this parody: http://www.youtube.com/watch?v=sAz_UvnUeuU
It seems to be an eggcorn: http://eggcorns.lascribe.net/english/1112/chock/
1) Just sit with him. Listen. That is a tremendous gift.

2) Tell him to pay no attention to "chances of survival."

3) Ask him to work closely with physician(s). Have him write down his questions before he goes in for his visits. Get answers to his questions. Don't be afraid to get second and third opinions.

4) Don't worry alone.

5) Ask about enrollment in clinical trials. His current treatment can often continue and he may be eligible for new treatments. The field is moving very quickly at this time.
I wonder if it can use the linproc compat stuff like htop does on FreeBSD.
I took a couple examples where gcc failed vectorization for unsigned indexes and tried to rewrite them in a way that didn't sacrifice 1/2 of the type's range just to satisfy the optimizer. In the first example I could just change a "<= n" to "!= n + 1", and the second example, which was based on your comment, could be solved by using pointers instead of indexing. I still wonder how many examples can't be solved without using signed types.

The results: http://ideone.com/7vidIs

Generated code http://tinyurl.com/le72k4o
Thanks! Got 2 invites now!
No, you're right... it's not inappropriate. But really, something like "for the modern admin" is more appropriate and should be used. There is no need for the "modern man", so it should be left out.

The phrase of "modern man" was meant to contrast with old-school admins. For me, it brought up images of classic admins in server rooms either your straight-laced IBM types or your Berkeley Unix neckbeards. Take your pick, but they were both predominantly men.
Look, I'm all for encouraging more girls in STEM, and all that.

My EE class mostly guys, and I'm sure we lost some diversity of viewpoints because of that.

However, let's just ask nicely once - and then leave it at that.

I would hate this to turn into another silly bike shedding flamewars on HN, where all the Social Justice Warriors come out of the woodwork, for their weekly feel-good topup.
"for the modern man" is a very gendered idiomatic phrase unrelated to mankind.

https://www.google.com/search?q="for+the+modern+man"

Note how all of the results are all about men and manliness, which is fine for gendered products and clothing, but doesn't really make sense for a piece of server monitoring software.
I understand that you want me to know that people are voting right now, but the yellow flashes are incredibly distracting and made trying to view all the poll results very difficult.
Just pure awesomeness! Been playing it for like an hour :)
Burn what, precisely? It's not a woodstove.
This is a great topic. I think many of us on here have probably dealt with the similar dilemma — we ALL get awesome ideas, but how do you birth it?

Should we not tell our friends about it to prevent that "reward" feeling from kicking in too early?

Also, great quote from the article:

"When you begin, things happen."

---> Just start doing, and let the probability cloud of the universe do the rest. An object in motion tends to stay in motion. An idea that you don't work on will probably stay un-worked on. Just putting yourself in the right spot and starting will put you at least within the realm of possibility.
The world’s highest clean-up effort
There are asians who solve the cube in less than 30 moves every time. ¿Are asians closest to be God?
I've been working on some tools which I'll open-source in a few months, to make it easier for developing the hardware component. I hadn't thought about the interface as being an area that needed help.

You say you could do this through HTML, would using Angular Modules work for you? I'm just thinking of how I can add some pretty easy features to do basic interactions with angular.
Models and athletes can't do their jobs anymore as they age; modelling is all about the beauty of youth and most sports with pro atheletes do a lot of physical damage that adds up over time.

Our jobs aren't like that at all. We may not be able to handle 48-hr caffeine-fueled marathons anymore, but our experience tells us that those are a bad idea anyway, and we wouldn't do them even if we could. That experience is valuable, giving us insight and true productivity, and lets face it the job is sitting at a desk... we can do that well past retirement age, since we'll be doing a lot of sitting around anyway.
> Huh, so to you, you assume that something labelled "archival" means "is especially fragile, must be treated with care", that's what "archival" and "treated so" means to you?

No. I just suppose that packing that much information so tightly, encoded in such small features on a plastic disc, will make the recording more fragile. It's like printing all your text with a 3-point font. You can print a lot of text on a single page, but any damage to the page may make large parts unreadable.

As for long term preservation, I'd never suggest keeping your data on the same medium for any significantly long time. And never, ever, under no circumstances, find yourself with a single copy of anything.
Images from Space game of the year
I see it as a mute point though.
CUDA is for GPUs (specifically NVIDIA GPUs). This is CPU processing. Pthreads is the way to go.
i was trying to build a word cloud algorithm and then I had a question: how do you rasterize letter shapes?

I looked at pyCairo but I couldn't figure out how to use it.
http://cairographics.org/documentation/pycairo/3/

I asked on StackOverflow no answer
http://stackoverflow.com/questions/21915335/getting-the-bitm...

i found the true-type format shape files and extracted polygons from those - which i also don't know how to rasterize.

i know this not really a response to the posted link - which is very low level and interesting - but maybe someone here knows an answer.
Broadly* speaking it's an east coast/west coast thing. East Coast imperial IPAs barely qualify as pale ales on the Best Coast.

*very broadly, no you don't need to tell me about DFH 120 minute or what have you.
I'm sorry to hear about your friend.

I had a bone marrow transplant as a teenager, currently 26 years post op. Those days, BMTs were still very early research. Mortality was 90%.

My primary oncologist at the time told me: People are not statistics.

Your first job as friend, patient advocate, care giver, or whatever other role you wish, is to leave your issues at the door. Your friend needs all their energy towards staying alive. They don't need anyone else's problems, issues, negativity, doubts, whatever.

Your second job is to not take away hope. No matter what the situation. It's the doctor's job to deliver the bad news. Your job is to suspend disbelief and always be supportive.

After my treatment, I volunteered for many years, visiting patients, helping out, etc. I've also had patients live with me while they're in town for treatment. Nothing as extreme or taxing as hospice care, but also not a cake walk. And I don't volunteer when my head's not straight, knowing I'm not able to do the two jobs above.

Lastly, sometimes your job is to help the family, more than the patient. Sometimes the patient has accepted their fate, is in a ICU/coma/whatever, and they're doing fine mentally and emotionally whereas the family now has to struggle with their grief.

Best wishes. You're a good friend to your neighbor.
Yeah, this all falls apart when you're driving in a city like San Francisco or Los Angeles, where many of the street names are in spanish. British Siri just mangles them!

That said, I'm a Brit myself so I can just stick with the US voice and get the benefit of both worlds.
I honestly can't tell if you're trolling or not...lol...

It's a little too earnest - I think you may have overdone it...haha - too obvious.

Good job though.
I've recently released a similar tool for Python. Definitely not as pretty but with a focus on providing a lot of details:
https://github.com/Jahaja/psdash

The more the merrier! :)
Is that not the purpose of [aio_fsync](http://pubs.opengroup.org/onlinepubs/009696899/functions/aio...)?

Disclaimer: I've never used it, I just filed it in the back of my mind for if I wanted to do basically what you just described.
EDIT: Wow. That was quick. Thanks Chris! =]

Thanks!

EDIT 2: I have an invite to give away. Reply if you'd like one.
Music video for Someone by One Step Closer. School charity single
Hilarious!!

At some point I spilled water all over my MacbookPro and I turned it off and let it dry overnight. The next morning it refused to turn on. I took it to Apple and they say they must send it to repairs for 750 dollars!!

I refused to pay money, went home, asked some friends about it, and concluded that I should put my computer in an inverted position like a teepee.

I let it sit for 2 days. And Voila! Good as new!