skysight-inc/HackerNews huggingface dataset:
I think what they probably mean is just try to have fun in life. So be passionate about who you are, rather than about what you would be willing to achieve in life. Because it's simply impossible for everyone to be CEO of the world.

Bill Gates recently posted some graphics showing where most people live in the world. Needless to say, most were in China and India. If they all wanted to be CEO of the world, we'd have a problem. :-)
https://twitter.com/BillGates/status/566375184790462465

Scott Adams is a nobody in other cultures. I don't know why we would need more economists telling the world how the world is supposed to work. Maybe China and India need to be more capitalists or something. :-)

Cheers.
can i extract an svg of this? that would let me CNC it.
One sad thing throughout history is that creators, inventors and really anyone not in the upperclass, got stepped on repeatedly for their creations and robbed of their success and contribution. Many times the copycat is the one that gets all the praise.

This bit was interesting:

She created two sets of rules for her game: an anti-monopolist set in which all were rewarded when wealth was created, and a monopolist set in which the goal was to create monopolies and crush opponents. Her dualistic approach was a teaching tool meant to demonstrate that the first set of rules was morally superior.

And yet it was the monopolist version of the game that caught on

Another general sad thing, sometimes the bad version you send to the client/customer is the one they like, apparently also baked into history.
Watch+K3+(2015)+Tamil+full+Movies+online+|+Watch+Full+Movies+online
It's only correct if you are following your passion to achieve some other end. If it's means based, then everything this guy says is completely wrong. Under a means based approach, you wouldn't care about great fame/recognition, because, for instance, painting everyday and being a community college arts teacher to support yourself is sufficient to make you happy.

I do agree 100% with what he says about systems vs goals.
It appears to me that it is useful for eliminating the "middle man" scripts/code often written for web application and server interaction. If I want to create a web application that displays the status of my server (CPU, memory, I/O, etc) I can use this software to call vmstat directly instead of writing an API (PHP, Node.js, RoR, etc) that executes the same command or uses a library that requires even more code to get the exact same data.
Manual Base64 Decoder
this is fucking cool. I got it instantly just glancing at the code example. I immediately understood how it worked. That is powerful stuff.

My only worry of course is, how would you scale this up? What's really going beneath the hood.

I'm really excited and trying to think of something so I can use it as an excuse to use this.

The only other suggestion I would make is maybe change the name to something more catchy and brandable. Websocketd...okay like systemd...but I don't know, something as good as this deserves a brandable name like Jupiter, or some Greek goddess or clever hacky name.
@piotrkaminski Comment nesting seemed to run out. So replying to myself.

Our team is currently using Rietveld. But I've used Gerrit in the past, as well as internal tools of the same flavor back when I was at Google.

I don't particularly love Rietveld. But it's simple to maintain and does the job. That being said, I'm genuinely looking forward to one day being able to just use Github for this.
Fantastic. And thanks for that link. I was messing around with some 3D stuff in Nim, and he's working on 3D C++ stuff too I see...
Which version were you using? If you were using the portable version, I heard openntpd-portable wasn't updated for quite a while, and fell behind...missing out on some really big improvements from more recent versions.

The portable tree has apparently recently been picked up again by a new maintainer.
HubPress: A web application to build your blog on GitHub
Neat. The phenomenon is called Rayleigh fading, and is well known, but I've never seen it mapped as clearly. Rayleigh fading is often viewed statistically, and some article even call it "random". As shown here, it's not random at all; it's deterministic and repeatable. It's determined by the position of transmitter, receiver, and reflective and absorbent objects in the environment.

This is why most WiFi devices have two antennas and a diversity receiver.

Spread-spectrum systems are resistant to Rayleigh fading, because multipath nulls are frequency-specific; the two paths have to be half a wavelength different in length to get cancellation. So it seems surprising at first to see this with WiFi, which is a spread-spectrum system.

There's a reason for that. Cancellation becomes less of a problem as you get further from a spread spectrum transmitter, because the phase difference is related to the product of the frequency change times the number of wavelengths along the path. (This really needs pictures.) Once you're far enough away that the spreading moves the nulls at least a half wavelength, the effect is that a fixed percentage of data is lost, and error correction deals with that. In this demo, transmitter and receiver are very close, so the nulls are strong.
I don't think the parent is saying that the title is definitionally/grammatically incorrect. I think they're saying that it's not the typical/idiomatic use of the word when used in the context of a GUI. I got the same misimpression when I initially read it.

I don't think it's bad or crazy, or says anything about the project at all (it looks like a cool project). I mostly say this to note that the parent wasn't the only one that was a little confused by the title.
>> since otherwise, you can just bind the result of the functor to a structure once..

My understanding was that of lpw25's. I wanted to use applicative functors in the same way type classes (or OCaml's modular implicits) would make use of them, but even without type class's implicit resolution (explicitly specifying them). I agree there isn't too much difference from doing the same with generative functors, but the main difference is, as you said, I would need to find a place (some appropriately accessible location in the namespace) by which to access the result of these generative functor applications, and that's just an extra point of friction (if I understand correctly). It's not the end of the world as you said either way because we can do either.

Thanks for the help, jonsterling/lpw25.
How to Develop the Situational Awareness of Jason Bourne
Opensmtpd is really simple, and you might want to explore some of the programmability of the project. I think your looking for something like http://lamsonproject.org Lamson. I'm not sure it's maintained anymore, but it was an idea in that direction. For utter simplicity opensmtpd really is good.
semicolon doesn't work on Firefox Developer Edition 37.0a2
Funny, you and I agree that we don't know what causes OCD, but the article states flat out that the damaged portion of his brain is responsible for OCD. That's the only medical-ish claim in the article, it's made with no references, and you still think this article is useful?
I'm confused, what is the alternative here? I expect the IDE to stop when an exception is not handled. Should it stop even if it is?
Watch+Ishq+Vich:+You+Never+Kabi+fs+online+|+Watch+Full+Movies+online
Awesome. A while ago somebody did something similar but with really hard math: http://arstechnica.com/gadgets/2014/08/mapping-wi-fi-dead-zo...

It's always nice to see multiple approaches to the same problem.
> "The seeds of the Monopoly game were planted when James Magie shared with his daughter a copy of Henry George’s best-selling book, “Progress and Poverty,” written in 1879. As an anti-monopolist, James Magie drew from the theories of George, a charismatic politician and economist who believed that individuals should own 100 percent of what they made or created, but that everything found in nature, particularly land, should belong to everyone.

A PDF of this book is available at http://progressandpoverty.org/
Except for HKT.. the true litmus test of the highest of high lvl lang. We're waiting Rust.. we are waiting.
It looks really awesome but the syncopation of the song makes really hard to play along, I would love to see someone who is good do this though!
Badly mangled URL results in 404 error.
Interesting "article", nice visualizations - where did that data come from though ?
Fair point. As the responses note, the damage here is usually limited -- ATMs carry only so much cash each, and (usually) only dispense up to a few hundred dollars (or equivalents) at a time. There've been some exceptions where an exploit is found and utilized in mass effect at many locations in a short period. That takes a high level of organization though.
There is a huge lag between keypress and audio on Safari under Yosemite.
ASLR turns some unsuccessful buffer overflow attacks into system crashes. About all that can be said for address space randomization is that it's better than doing nothing. It has the useful feature that it makes it harder to reproduce buffer overflow bugs, which allows developers to avoid the work of finding and fixing them.

"We must do something. This is something. Therefore we must do this." - Yes, Minister
Why a mysterious black briefcase follows the US President everywhere
Does anyone else think this would be a fantastic fit for Servo? Seems like a straightforward approach that performs extremely well.
Ask HN: Software Engineer + DUI: What's going to happen to my career?
Last year, I ushered in my mid-thirties with a personal crisis culminating in a first offense, misdemeanor DUI. How much is this going to impact my career?

I'm a software engineer with a reasonably good resume, advanced degree from a well known school and I'm highly productive.

I know every job I apply for in the future is going to have a checkbox about misdemeanors on the application. How much do I need to fear it?

Has anyone had experience with applying for software jobs with a record?
Whether we find it offensive or not isn't relevant. Your comments are degrading to those who find it difficult, and you are actively hostile when they complain or we point this out.

Your attitude is one I see too often in the FP community, and well-meaning or not it holds us all back.
Just conjecture: http://en.wikipedia.org/wiki/Pass_the_hash
I forked this and made an almost-working Dvorak version. It's a mess though. Couple thousand lines of disorganized jQuery Spaghetti floating around on a JSFiddle.
See [1] for another, older version of this concept that also supports another Daft Punk song, Technologic, although this new one is definitely novel for showing the keyboard layout and being not in Flash. I do like the Flash version's use of shift as a meta key to shift registers, though!

[1] http://www.najle.com/idaft/

Edit: Before anyone asks, no, I didn't make this one. I just remember seeing it a long time ago, so it's interesting that someone independently (?) made something very similar!
WTF, I love you too, mom.
For me it's not about fuck those deaf people, or about captions being bad. It's about "I am not a big company and I have finite time and dollars to caption every bit of content I produce".
Sources are listed after the article:

> Sources: James Trussell, Office of Population Research, Princeton University; Brookings Institution
I'm sure this this is probably because I don't have do this for work - but from that description it's hard for me to tell what the advantages are. A script to feed vmstat (or other command data) with a python socket would be ~50 lines or so.
Wow, exact same concept posted to /r/hiphopheads yesterday. I had a blast, it's a little more feature-rich. I don't think the source is available, though.

http://samplestitch.com.s3-website-us-east-1.amazonaws.com/
this is genius :)
You're on the right track. This does however present us with a challenging problem: developing a single consistent efficient cross-platform language-independent form of storing and transmitting data (between programs).

It's something to ruminate upon.
>How the numbers were calculated: The probability that a woman doesn't get pregnant at all over a given period of time is equal to the success rate of her contraceptive method, raised to the power of the number of years she uses that method.

This does assume that the chance of getting pregnant after a year is independent of the person/people using it, though... presumably there are reasons other than a random roll of the dice why various birth control methods fail, which could well affect the distribution.

(It also seems absolutely crazy to give these statistics "per year" when I'd feel pretty confident in saying that it depends on how often you have sex!)
>For example, suppose you have a bunch of pid files in a directory, and you want to send all the associated processes a signal. What kind of data structure stream does your signal sending program accept?

What program? A single line of shell code would work fine. Kill itself only need take a pid, or an actual handle if Unix had sich a thing.

>What needs to be done to a bare number to convert it into the correct format?

If a "bare number" isn't the correct format, why would you have them at all?

>How do you re-structure plain text from individual files?

The whole idea is not to use plain text at all.

>Structure in streams seems to have suddenly added a whole lot of complexity and work, and for what?

Structuring your data doesn't add complexity; when you consider the hoops one jumps through to strip data of its structure at one end of a stream and reconstitute it at the other, it's really reducing it. It's only if you insist on also using unstructured representations that complexity is increased.

Of course, as long as Unixes and their shells only speak bytestreams and leave all structuring, even of program arguments, to individual programs, it's a moot point. He's still right aboutnit being a shitty design, though.
What job are you applying for, as a software engineer, that has an application that you fill out?

Also, assuming you are in the US, they only ask about felonies, not misdemeanors.

But, I can't remember, in my 20 years of experience, of ever being asked about a criminal record (don't have one) or having to even disclose it in any way. I mean the typical hiring scenario is sending a CV, doing an interview, signing a contract, start working. Though maybe larger firms will do a background check depending on the industry.

But I don't think a misdemeanor means anything.
Structure in streams seems to have suddenly added a whole lot of complexity and work, and for what?

Being able to stream a collections of bytes (and collections of collections of bytes, recursively) is one case that I find myself wanting when sending data between programs at the command line.

Consider:

ls "$pid_directory" | xargs rm

This, of course, has problems for some inputs because ls is sending a single stream and xargs is trying to re-parse it into a collection on which to use rm.

If there were some way to encode items in a collection OOB, you could pipe data through programs while getting some guarantees about it being represented correctly in the recipient program. (Sometimes you see scripts that do this by separating data in a stream with NUL delimiters, but this doesn't work recursively or if your main data stream might have NUL in it.)
I like how my old blog, ilictronix, is still there in the links section :) I remember when I first emailed him asking if we could link swap - that was pretty big for our traffic. I haven't contributed in about 3 years, but a couple people still run it. Good times - it's where I learned web development.
Have you read the Unix Haters Handbook?

http://web.mit.edu/~simsong/www/ugh.pdf
LOL, I totally love this. I wonder if this uses web audio.
I'm not usually a stickler for grammar/usage but this title needs some hyphens!
This looks great, without knowing much I was able to get:

./websocketd --staticdir=. --port=8123 ps

to give me a simple output of processes. What I'd really LOVE is to get this to work:

./websocketd --staticdir=. --port=8123 htop

It'd be great if I could see the output of htop on the web...from anywhere. I guess htop is setting up a different video mode or something that isn't compatible?
Well, there are separate numbers for "perfect use" versus "typical use". Presumably, perfect use is independent of the person using it.
Rust seems to take far more from the ML school than it does from Miranda/Haskell, however.
Huh, apparently it was the same Stanford grad student who busted Google for the Safari cookies and Verizon for the respawning cookies. Kinda cool.

http://webpolicy.org/2012/02/17/safari-trackers/

http://webpolicy.org/2015/01/14/turn-verizon-zombie-cookie/
I like this! crash Another!
Overprovisioning definitely makes a big impact on the performance of all but the most recent SSD controller architectures out there, but only once the disk is mostly full.

Check out any of Anandtech's benchmarks from the past year or so. They now include graphs showing the consistency of I/O completion times; reserving more than the default ~7.5% makes the GC pauses a lot less severe and makes a huge improvement in worst-case performance. Under sustained load, having more spare area often makes the difference between always being stuck at worst-case performance and always being near best-case.

For example, under a solid random write workload a full Samsung 850 Pro will complete arount 7-8k IOPS, but with 25% spare area it will hover around 40k IOPS. That's a very enticing space/speed tradeoff, especially if you've already decided that SSDs are to be preferred over hard drives for your workload.

The default amount of overprovisioning in most drives is chosen to be roughly enough to allow for reasonable performance and lifespan (affected by write amplification), and in MLC drives usually corresponds exactly to the discrepancy between a binary/memory gigabyte and a decimal/hard drive gigabyte, which simplifies marketing. Drives intended for high lifespan often have odd sizes due to their higher default overprovisioning.
When someone asks me for this wisdom one day, I'll tell them I'm just lucky, but lucky in this sense: http://lifehacker.com/5791032/improve-your-luck-by-relaxing-...
Nice, I didn't know about this board. It looks pretty interesting.
The article got a lot right, but also got a lot wrong. IMO here's what he (and many other pundits) got the most wrong:

Mobile phones are not complex to use because
of bad interface design, they are complex to
use because they are complex devices with
a myriad of features.

No, it really was "bad interface design". In spades.
Type-driven development, purity, equational reasoning, exhaustiveness checking, pattern matching, STM, Maybe/option types, generics, and alternative concurrency methods?

These are many of my reasons at least.
Example: I'd guess that when hormonal birth control fails despite being used perfectly, it could well be related to the person's particular biology. So if it failed for them one year, there'd be a high chance of it failing the next. And if it worked for the previous year, there's a lower chance of whatever goes wrong going wrong.

(I'd be curious to hear from someone who knows what they're talking about, though!)
Heh, that's almost exactly like me: used internal tools at Google, brought up a Rietveld instance after I left. Except that I got frustrated with Rietveld and built https://reviewable.io -- you might want to check it out. :)

FullStory looks awesome, BTW, I just wish I could afford it.
What lucky people do differently
Brad, if you ever want to come hang out in our slack channels, we'd love to have you over here at Keen IO :)

Nice piece Danielle. Jealous!
I'm happy to read that a Hormonal implant is the most effective (even better than sterilization.... I didn't expect that). http://www.implanon-usa.com/en/consumer/index.xhtml
Watching an actual talk (as opposed to a slide deck optimized for reading, which is arguably a paradox ;P) is much more fun, especially given that this is much shorter and mostly a teaser of the concept that Scott Adams talks about in more depth.

https://www.youtube.com/watch?v=oJVxkr9eE9A
This is the guy that popularized affirmations, in which he wrote his goal down 15 times every day for months on end:

"I’ve often written about my own experiences with affirmations, the practice of writing your goals 15 times a day. It seems to work much of the time, at least in my experience, but presumably not because of any magic. At least one probable explanation for its perceived effectiveness is that focusing on goals changes the person who is doing the focusing."
- http://dilbertblog.typepad.com/the_dilbert_blog/2007/07/the-...
> All Linux versions prior to 3.19-rc3 are affected.

I'm using 3.14.15 (and yes, I greatly enjoy the number) and I'm not affected.
Fascinating reading into the current state of the USPS. I didn't even know they were doing Sunday delivery for Amazon. There's a reason "going postal"[1] entered the lexicon.

[1] https://en.wikipedia.org/wiki/Going_postal
Perfect use means "the user did not make any mistakes".

A woman who gets pregnant after forgetting to take the pill one day is a "typical use" birth control failure; a woman who becomes pregnant because her natural hormone levels are such that the birth control pill (consistently taken at the same time every day) doesn't render her infertile is a "perfect use" birth control failure.

Similarly, couples who intend to use condoms but occasionally forget (or get carried away etc.) would be "typical use", but a man with a cat-like barbed penis which makes holes in condoms could still qualify as "perfect use".
Perhaps inspired by Daft Hands?

https://www.youtube.com/watch?v=K2cYWfq--Nw
> laziness tricks

When your language is lazy by default, is it really a trick to take advantage of that?

Do you consider this a trick?

take 1 [5..]

How about this Fibonacci definition?

fibs = 0 : 1 : zipWith (+) fibs (tail fibs)

What about this extensible fizzbuzz example?

fizzBuzz i = if null desc then show i else desc
where desc = concat [label | (j,label) <- tags, 0 == rem i j]
tags = [ (3,"Fizz"), (5,"Buzz"), (7,"Baz") ]

main = mapM_ (putStrLn . fizzBuzz) [1..120]
miracle ?
It doesn't work for me in Firefox 35 either under Linux.
You seem kind of hooked up on the "easy for you" part, which really isn't the part anyone cares about. I can't even comprehend how you came to the conclusion that you are being asked to lie.

Maybe a more constructive (humble?) approach would be to show others why it was easy for you, subjective as that may be, and how they can achieve faster comprehension levels based on your own experiences.
https://news.ycombinator.com/item?id=9033104
I would be surprised if block versioning didn't eliminate more type tests (counting dynamically) than a conservative analysis that takes the program graph as-is. Code duplication inherently provides more opportunities to specialise, which is why there are so many flavours of it - tail duplication, tracing, inlining, and to a lesser extent loop unswitching all take advantage of the basic trick of copy-and-specialise in various ways.

This basic block scheme seems like a interesting new copy-and-specialise technique for a dynamic compiler. I wonder if there aren't code size explosion problems, though.
Isn't that how radial keratotomy, the forerunner of lasik, got started?

http://en.wikipedia.org/wiki/Radial_keratotomy
Really great point. Wish it has occurred to me.
This is correct. You'll be alright.
How to restore disappearing iTunes song star ratings