skysight-inc/HackerNews huggingface dataset:
That's at the root of corn-fed beef too! Feeding cows corn the last days of their lives before they get on the truck to be weighed and cut up, raises their weight by far more than the cost of the corn. Its just economics. And the farmers set the beef grades, so beef raised this way is Grade A regardless of how it tastes.
Turns out you're making that up without any statistical proof what so ever, and if you're attaching a knife to a lanyard it is you yourself who becomes the tool
Four L-system fractals in LaTeX
How Harry's Bought a German Razor Factory
That explains it! I lived in California, where all the grocery-store avocadoes were marked 'Florida'. And California is a major avocado-growing region! I suppose all their best ones ended up in Florida.
I've been scrubbed
Have we forgotten about Zephyr?
You missed the point. In 1940, black doctors were held to a higher standard than white ones, and would therefore be better on average than white ones. So a non-racist person (i.e., a person who only cares about the quality of care he receives) should seek out a black doctor specifically.

Apply appropriate substitutions for 2015.
Selling Off Apache Holy Land
also: https://en.wikipedia.org/wiki/Shortt-Synchronome_clock
Ah, gotcha. Same here.
Stop Losses Are a Necessary Evil but How Do I Set Them?
"Mobbing? Are you serious with this hyperbole?"

Thousands of people on social media, reacting to dozens of instances of journalistic incitement by launching ill-informed attacks and accusations of the worst possible social sin in the Western world, to the extent that he had to deliver a tearful apology on worldwide television? Sounds like a mob to me.

"Position of power, public role in that instance – and consequently also the responsibility that comes with that."

You're describing a politician, not a scientist. This guy was not "famous" except among the microscopic sliver of people who follow space science. He was not "powerful" except in a tiny group of ten people or so. He was briefly in the public spotlight and the response was a ginned-up mob. Let's say you briefly become famous for something you do in your day job. Is it fair for a mob to come after _you_?

"I’m absolutely clear about being absolutely in love with free speech and consequently criticizing someone for wearing a dumb shirt. Sure."

Nobody's saying you don't have the free speech to criticize a scientist for wearing a shirt. You certainly do! And similarly, everyone else has the free speech to tell you how overwrought and disproportionate your criticism is.

Anyway, since you've stated clearly that you're fine with what happened to him for wearing a shirt, I guess we'll just have to agree to disagree and leave it at that.
Cute. No statistics at all? I didn't know the Amazing Kreskin posted on HN! I yield to superior argument.
Hey Now, the US NEVER used torture. We let other countries torture the people for us, while we were in the room asking questions and taking notes.

(The fact that somebody in the administration somehow thought that was different and acceptable makes me weep.)
Ask HN: What hourly rate can a solid Python developer be paid per hour?
Assuming a Python developer with full stack experience, Linux/AWS, front end, back end, databases and APIs.
The article links to the iOS HIG.

https://developer.apple.com/library/ios/documentation/UserEx...
The same happens here in Florida with orange juice. Every grocery store carries many varieties of "California orange juice". Which seems silly, given that we have great oranges right here.
Just use tail -f and a bash function.

Put this in your .bashrc file:

function talk { echo "$USER: $@" >> talkfile; }

then run:

tail -f talkfile &

The & puts tail into the background so it continues running, and "talkfile" needs to be a file that both of you have write access to.

You can both communicate simply by using the talk function like any other bash command:

talk whatever you want and it'll be written to talkfile

This works on Linux, not sure about Mac.

It's nice because it records what you say, so there's no need for the other person to be logged in to get your message, and you get a printout of the last few lines of conversation when you "login" (run the tail -f command). There's nothing extra to install either.

(edit, apparently say is already installed on OS X, so I renamed the function "talk")
How popular is Seccomp? I know Chrome uses it, but I'm not familiar with many other programs outside of sandboxing software.
> When you're on my website, you're in my theater. In my store. The idea that you shouldn't be monitored while doing so is ridiculous. A store owner doesn't need to negotiate a contract with everyone who visits to put up a camera.

That's a ridiculous analogy. I own the computer your content is being displayed on. I am not in your store--you are in my home.

You are like a traveling magazine salesman. I open my front door and you offer me a magazine sample. If I take it from your hand, close the door, and sit down to read it in my home, you are not authorized to come in through the back door and watch me, or walk through my yard and spy on me through a window. And do not complain if I put up curtains that prevent you from watching through binoculars from across the street. You are not entitled to access the inside of my home.

The model you propose is akin to a bait-and-switch. "Hey, want some free content? Great, enjoy! What, you want privacy in your home? Hey, you took the content, so I'm entitled to do whatever it takes to observe you consuming it." If you are not content with my having taken the content you offered, then do not offer it.
I'm cringing at the weight... 5.4lbs?! A Surface3 is 1.76lbs!
Oh for sure, precomputation is essential. Hell, on a 100-1000 node sparse graph you can store all pairs shortest path info in a really small amount of data (like, PC game feasible for sure). For a game situation I'd be willing to burn a lot of time to crunch down pathing times, but memory pressure is real - so there is a "pareto"/nondominated set of algorithms that explore the tradeoff between memory consumption and run time, and the question is not whether you are 100x faster than another algorithm, but whether you are improving that "efficient frontier" of algorithms by using the same memory as another algorithm but running faster, or running as fast as another but using less memory.
Do there exist free (as in freedom) compilers for the DSPs of TI?
> Did you know io.Copy returns an error? It does, and I rarely see it handled. You don't need to explicitly '_' ignore things.

Correct, and I agree this isn't explicit. I'd actually like to see you _not_ be able to ignore errors like this. But that's just me maybe.

> Your point makes utterly no sense to me.

My point is Go, by it's simplistic nature, more often than not forces you to at least think about the error case, instead of punting it to another part of the code. This is the point of the parent comment which I'm in agreement with.

If you're writing 'if err != nil { return nil, nil}' you're failing on oh so many levels.

Also, Java doesn't make you think about handling exceptions any more than Go does. If we're talking about code, I've seen lots of Java where the programmer figured "oh, I'll let someone else handle these exceptions..."
$75 - $125 assuming direct hire/contract (no middlemen), and you are in the US. It also depends on the length of the project and if 1099 vs w2.
Busses are designed in a way in which adding seat belts would be more harmful. It has to do with a combination of the seat in front of the person, how the seat they are sitting in is made to be very strong but collapse forward where the front seat acts as an airbag of sorts.

There is a How it's Made episode on school busses that explains it in short detail.

I can say, in my area, public transportation has never had sear lets, and do not to this day. The school busses are still all very old, and I doubt they have them. They did not when i went to school, and I don't see retrofitting them without full seat replacements as they are designed to break away and assume you are not connected to the seat.
I LOVE my Sculpt Ergonomic keyboard! Have mixed feelings about the mouse though (I still haven't found a way to use the back button on it with my Mac). It would be perfect if Microsoft found a way to put a Thinkpad's track point into it!

On the off chance, has anyone found a good carrying bag for the Sculpt Ergonomic keyboard?
I somehow hadn't come across Twitter's Effective Scala guide, which is a great companion to this presentation.

https://twitter.github.io/effectivescala/
Good point! Terrible wording on my part.
Yes, I was just surprised that I didn't ever hear about it. It's not that it's something new, it's clearly not :)
You definitely don't want to name the alias 'say' because there's already an OS X command by that name. In fact, if you both have Macs and want to have some fun, create accounts for each other and use the 'say' command to use the speech synthesizer for chat. You can even choose different voices:

man say
Nice suggestion!

Just to note, on the Mac there's already a /usr/bin/say, which invokes the text-to-speech. So if you don't create your function, SSHing to the friend's Mac and typing 'say whatever you want' will have an interesting but probably not desired effect :) I'll admit to having used this on a friend's machine once or twice for amusement.

(And invoking 'say' invokes the TTS even if you SSH in as a user other than the one logged in to the main GUI. I'm pretty sure this wasn't always the case; not sure when it changed.)
It's an old article - I can't imagine this has improved as Apple has rolled out new handsets/OS versions. My wife didn't even realize there was a difference - and I expect that is quite common.

http://www.theguardian.com/technology/2013/nov/11/apple-maps...

"But a year on, a total of 35m iPhone owners in the US used Apple's maps during September 2013, according to ComScore, compared to a total of 58.7m Google Maps users across the iPhone and Android base.

Of those, about 6m used Google Maps on the iPhone, according to calculations by the Guardian based on figures from ComScore. That includes 2m iPhone users who have not or cannot upgrade to iOS 6, according to data from MixPanel."

Now, that's comScore data and since I've worked in that industry and I can tell you that the data is sampled and therefore could be off by a factor - but that, combined with what Apple said at WWDC makes it more likely that Apple's data is right.
Great point - that is definitely a key difference and one that opens a huge number of markets if they can pull it off.
> I think you'll find some people who wouldn't say that Haskell is overall simple, or at least as simple as Go can be.

You'll also find some people who say the opposite. We need to qualify what kind of simple we are talking about? Are we talking purely about language?

Are we talking about standard libraries? Ease of use of API's? Ease of use in analyzing performance?

If we just compare Go's syntax to Haskell's syntax you'll find they both have few reserved words.
How Electronic Arts changed the way it worked
Things like gzip or tar or compilers should use it imo. They are programs which just read from one file descriptor and write to another.
An easy way is to just create a new screen (see the Unix command "screen") and then open a text editor in it. The second participant then joins the screen (via screen -x) and now you both can type into the same editor.
Jerry Brito on those who dismiss Bitcoin
After watching this you will never waste another banana again
You reach it with your right thumb, the same way you reach for space only a little bit more to the right.

You're then in a conformable position for reaching out to this keys I mention.
That very page would definitely be improved by darker, larger text.
I remember netcat being installed on OS X by default, you could ssh in and run it or pipe the port through ssh.
I keep seeing people making this wrong assumption that an Android device makes a linux-ish device.

Android is a component-based linux. It can't play the role of a full-fledged OS that the diff. flavours of linux play.
I felt the same way, Racket is ridiculously fun to use! :)
Ask HN: New MacBook for iOS development
I think the new MacBook is a super beautiful computer and would love to get one. My only tradeoff is if its good for running Xcode.
Eventually, the pendulum will swing the other way. People will get sick of freemium games, and go back to games where you pay $1-$10 once.

Some people made a lot of money with freemium, so everyone is copying them.

I can't stand wait timers, energy systems, and all the other tricks they use to balance freemium games.

Many freemium games require an Internet connection to play, which is bad for me because my prime gaming time is on the subway while commuting.

Another bad part about freemium is that, when they someday shut down the servers, you won't be able to play the game AT ALL anymore. I can still play Super Mario Bros. even if Nintendo goes bankrupt and decides they don't care about the game anymore.
Mobility and consumption don't need to be correlated. If the middle class family is away on vacation, they can relinquish their home for the duration and obviate the need to build big hotels. That's a lot of saved embodied environmental costs! While a bit extreme: That means you could bulldoze all hotels to make open green spaces since their vacant rooms are unnecessary.

It's similar for automobiles. Take a look the overall carbon footprint for automobiles. Last time I looked it up, at least 1/3 of the car's lifetime carbon footprint was due to initial manufacturing -- for an asset that (as a personal automobile) has sub-1% utilization. Share the car, and we have fewer cars and tolerate >30% more individual travel for the same net carbon footprint.
There's a photo and a video of two different bridges in different locations, both about halfway through construction. If you read to the very end of the article, though, they don't plan to start construction until 2017, and they haven't even finalized the location yet. Also, it's expected to take two months of continuous operation to complete.

Seems like they're deceptively frontloading the interesting stuff to drive traffic.
>Its power source is an internal hermetically sealed capsule containing a mixture of gaseous and liquid ethyl chloride, which expands into an expansion chamber as the temperature rises, compressing a spiral spring; with a fall in temperature the gas condenses and the spring slackens.

So it's basically a clock powered by a really simple Sterling engine?
I don't know about country wide, but Calif. has mandatory seat belts, I think $50 a ticket, and doubling each time thereafter. Though I have gotten about 5 seat belt tickets when the law first went into effect and it was always just 50.00 and does not affect your insurance or driving record. Things may have changed since then, that was a long time ago.

I don't personally agree with them, there are cases where not wearing them save you. Mt brother was tossed out of the windshield instead of getting crumpled into a small box of metal that was once a car.

Motorcyclists would be hitching a ride on a death trap if they were strapped, whereas, even at 50+ you can, if practiced, sort of roll out of a fall and you just slide on the pavement. You may get a little banged up but rarely a trip to the hospital. Impact another car or object and you are probably screwed, but I would say no more screwed than being in a car and getting tossed out the window at 50+mph.

I always felt it my decision to handle my life how I desire, so if I want to die and don't care, I can not wear my seatbelt, if they catch me, I am happy to pay the fine.

I have since long ago just started wearing it as every car I get into I get told to put it on, so it has just become habit. But I hate the way they ride on my neck, tighten on my stomach, and are generally restricting and uncomfortable. I spend more time adjusting with my eyes off the road than is probably safe, and this can't be don't pre-driving as belts tend to creep up on my like a loose pair of underwear :)
> (And invoking 'say' invokes the TTS even if you SSH in as a user other than the one logged in to the main GUI

Been this way since at least 2008 - I remember doing this back in school when bored in class.
Lol truth hurts...
Is high school level math/science being taught well in North America?
I'm constantly worried whether I should educate my children in school in North America or back home in south-east asia. I'm mostly worried that my kids won't be able to grasp the basic math/science skill as I've seen many students at undergrad level lack proper logic when I was a TA.

I stumbled upon this

http://classroom.synonym.com/solve-percentages-numbers-17430.html?wa_user1=tombstone

The proper solution could be

Question: 30% of 15 = ?

Answer:

30% of 100 = 30

30% of 1 = 30/100

30% of 15 = (30/100)15

= (3/10)15

= (9/2) = 4.5

The rot logic of creating decimal and not teaching important logic for students who are just learning basics of math bothers me. Wondering if this kind of thing is prevalent ?
As far as the Quil window with graphics, I'm not sure if it's because an Applet is being used, but on Mac OS X, the window pops up for me behind my other windows and without focus. I have to hide all of the other windows on top of it to find it. It's weird, I know.

What is the command you're running that gives you the error "quil.Applet cannot be cast to clojure.lang.IFn" ?
I wrote this for use on a client project for a client I'm pretty sure won't consider this a breach of anything.

#!/bin/bash
# Simple chat system for when Skype is fucked.
nick=${1?Usage: $0 nickname (e.g. $0 biturd)}
chan=/tmp/yapchan
echo "^D to exit chat." >&2
tail -F "$chan" & tailpid=$!
trap 'kill "$tailpid"' 0
while IFS='' read -er line; do echo "<$nick> $line"; done >> "$chan"

If you're running this with multiple accounts, you may need to chmod a+w /tmp/yapchan, and if you're using MacOS on the server, you may need to use a different filename since MacOS has a per-user private /tmp.
Ask HN: Algorithms for text fingerprinting?
I remember reading an article a year or so ago about (the NSA) identifying users based on how they write: vocabulary, spelling mistakes, grammar, dialect, and so on.

This is interesting to me because it is extremely difficult to change the vocabulary I use in writing and speaking. Being able to estimate the amount of similarity between two pieces of text would be useful.

The closest I can think of right now would be the proprietary algorithms used to check for plagiarism (for schools and universities, for instance).

Are there any publicly available algorithms for this? Where can I go to learn more? (Academic journals?) Am I just DDGing the wrong search terms?
You're missing the point here: this is a practical application. He's saying in the context that most people currently use A* his approach is much faster (and he does explain it uses more memory) -- the title is completely justified. You're nitpicking, really.
How do you get ton one fifth of our users? Just trying to understand your math.
Games for Designers
Crypto 101 (free ebook, new release)
That's nice.

In the article, a TI rep is quoted saying, "We believe customers will be able to develop their devices three times faster than when using FPGAs — in days rather than weeks"

I'm kind of wondering about that. Maybe if you were already up and running with syslink/codecengine/xdctools, etc. IMHO, working with TI's c6X DSPs was just awful, and their software suite was one of the only dev environments that has made me pine for Xilinx's stuff.

Syslink? Perhaps the worst-behaved linux kernel module I've ever encountered. Xdctools? Did anyone ever really want yet another build system? And in javascript? When we were working with the toolchain, even TI considered it inscrutable - their own image loader was a hacked example buried deep in the xdctools examples dir. And support? Every time we sent an email to TI, all we got was, "have you asked this question in the TI forums?" It was such a ridiculously poor standard of support that eventually it became a joke on our team.

But I know that in embedded, the quality of the software tools is rarely considered. Oh well.
Photos: Rosetta’s Philae Lander Wakes Up from Hibernation
Ask HN: Best way to quickly re-learn Java?
I've been a software dev for 9 years now. My first three years were a combo of front end and Java. since then I haven't touched Java once (but have done PHP, python and Nodejs). I'm interested in applying to a job that has "2 years focus on middle-tier/back-end Java development" as one of the main requirements. If I wanted to realistically have a shot at this position, how can I bring my self back up to speed?
Urho3D – C++ game engine with HTML5 examples
ssh to the same machine.
$ mesg y
$ talk <otherusername>
> without installing other software
Mathematics: Its Content, Methods and Meaning (Dover Books on Mathematics)

Also, you might want to get Richard Courant's "What is mathematics?" and a book (I'm reading multiple as I'm in your same spot, didn't have much mathematics during high-school because I thought I didn't possess the acumen, then I realized I really liked the subject) on proofs.

Gelfand's books are very very very good, trust me on this one, they build on the fundamentals. The books are not short of flaws though, namely the writing is informal, the author assumes some preexisting knowledge (that's why they are often not used as class books but as supplementary notes) and do not offer many exercises. But if you get the whole bunch you'll have covered the high-school curriculum (and more).
The AMA olympiad books are good reads, same with those "Art of Problem Solving" books. But personally, I'm not starting these until I've gained enough confidence, I still can't solve elaborate problems or mathematical olympiad kind of questions (but I'm getting smarter).
Definitely sped up. If you read to the very end of the article, you'll find that the actual bridge is scheduled to take two months to complete. That's a long way from practical for a small footbridge. If they can't increase the speed by a few orders of magnitude, this technology will be a lot less usedful than they're trying to make it look.
I'd argue that Rdio is a pretty good product. On Android, Google Play is very good. Both predate Tidal by a wide margin.
You're exactly right. However, back when the NES came out, duplication of an NES rom was beyond the average consumer. Now, say you release a DRM free game (that will be available regardless of internet connection, server uptime etc) -- how do you monetize it when fans will install free copies?
I love the jslogo site!
Well you kind of pulled that stat straight out of your back pocket
> but I hope none of pythonistas will use it and one day it will be removed from the language.

This behaviour for map with None is no longer present in python3 and raises a TypeError.
Agree with these, but in my opinion, the date selector wheels in iOS are a terrible design. Three rolling wheels just doesn't map to most people's concept of a calendar
There was some press material around that, as well as some preliminary support in the Sourcery toolchain back around the 2010-2012 timeframe. But I haven't heard anything about that effort lately, and I think that it has stalled.
The keyboard's alright, but the spongy wrist pad is challenging to keep clean. I like the ergonomics of the mouse, but it's a dirt collector. They need to find a new material for the bottom that doesn't accumulate grit. The biggest problem with the Sculpt is that you can't associate new devices with a single dongle, so you'll tie up more USB ports unless you buy preconfigured combos. That's extremely shortsighted compared to Logitech, which allows you to associate up to 6 devices to a single dongle.