skysight-inc/HackerNews huggingface dataset:
I like that too, I just wish UNIX IPC pipes had more metadata than throwing raw strings at one another and hoping the receiving process understands.

I know people are going to roll their eyes at this, but Powershell's IPC constructs are a step forward. Everything inherits from Object which has the following prototype:

public class Object
{
public Object();
public string ToString();
public bool Equals(object obj);
public static bool Equals(object objA, object objB);
public static bool ReferenceEquals(object objA, object objB);
public int GetHashCode();
public extern Type GetType();
}

So if you want to just do strings you still can (string will inherit from type object, and must implement toString()).

However if you want to do a List<Object> you still can, and better still the receiving process can use GetType() which has to be implemented, and then have a few different workflows to handle the type (e.g. List, string, et al).

UNIX was created in 1969(!) so nobody can blame them for designing it the way they did. However if you were creating UNIX today you'd definitely want to look at OOP and inheritance as a core pillar.

See this post for this topic:
http://technet.microsoft.com/en-us/magazine/2007.07.powershe...
> The fact that Apple designed the hotplugging at the OS-level infuriated me for the longest time.

On the flip side, if there's an issue with the protocol, it can be easily fixed with an OS update. Consider that in contrast with the recent USB security hoopla.
Isn't it easier to have the parent print the error message by passing yet another pipe to the child that closes on exec and can be used to pass up errno?
Show HN: Luigi as a Service
There are two issues here. One is doing layout with a constraint solver. The other is the user interface for the person doing the page layout.

A constraint solver interface is a good match to a GUI. It's not a good match to a textual interface. Web designers should be using a layout tool like Dreamweaver, not hand-coding constraint expressions.

For an example of a constraint-based tool for a much harder problem, see Autodesk Inventor, which is a 3D CAD system. It has 2D sketches, and those are controlled by constraints. You can draw rectangles, and if they have coincident points or edges when drawn, those are constrained to stay together. You can explicitly dimension something, and it becomes that length. If you try to apply inconsistent constraints, the system rejects them. You can make all constraints visible as icons, then delete any you don't want. Web designers would probably love the power of Inventor sketch mode, because it's not restricted to horizontal and vertical lines, or even to straight lines. That might be overkill for web design, although being able to wrap text around a curved image would make some people happy. Inventor demonstrates that a much harder constraint problem than web design has been successfully solved with a good GUI.

Asking visual designers to write constraint expressions by hand is pounding a screw with a hammer. Use the right tool for the job.
I think Anonabox will have more success than Safeplug because it's open source. Selling a black box to the privacy conscious never sounded like a good idea.
committed +32 -12
---- is_terrorist();
That's also because of the 'shutter speed' or 'shutter angle'. Basically each frame stays 'open' for a certain amount of time to let the light in. Anything slower than say 1/500s is going to introduce motion blur into the frame.

Shutter Speed/Angle are also creative choices. Anything that is faster than 1/50th (180 degree shutter angle) will introduce a 'staccato' effect to the video. Anything slower will be mushy/blurry.

Somewhat off topic, but interesting nontheless!
I think the distinction he/she's looking for is that these particular drones aren't flying murderous robots, just like all hackers aren't trying to steal grandma's social security number.
My thoughts as well. I'm using Yii framework, and you can do a similar thing with Yii's Gii tool.
> Military contamination rates for Decon are considered to be 25%.

Just curious, do you have any citations for this?
ISPs Are Throttling Encryption, Breaking Net Neutrality
Also see the PORTAL travel router: https://github.com/grugq/portal

It uses the GL-Inet travel router. They already run OpenWRT by default and have both LAN and WAN ports. Eliminates the problems of Kickstarter.

I may do this tonight, as I have a few of them at home (they're great for "need a wifi bridge", "need a repeater", "friend needs a replacement router" type tasks).

http://www.amazon.com/Gl-iNet-Router-Openwrt-Mobile-Control/...
I'm curious if there is any object avoidance technology on-board?
Will work for now but you are still following a pretty straightforward 'pattern' that the algorithms can easily catch up with if algorithm authors wanted them to. (i.e. if too many people start doing this)

I guess using random@domainname may work better?
Why FPGAs? I though they were much slower, and if you're building out a berjillion nodes you probably don't require the reconfigurability because the problem is known.
It's weird having never used a real terminal, because while I understand what it means that Unix is a multi-user system (and have obviously used terminal emulator programs as well as ssh-ing into servers, etc), the notion of a big physical box with arrays of dedicated ports that physical terminals plug in to is really alien.
Is using gorilla/context really the only easy way to store an retrieve data that is specific to the current HTTP request? Seems like there should be a better way to map values and retrieve them later from a global mutex on a map of request objects, or something.
Time Doesn't Give a Shit About You
> That said, I think they should take all the lessons learned doing high performance implementations of C++ and start over to create a new language that doesn't suck with all the baggage.

Oh, you mean Rust (programming language)?
If this tool is taking data directly from MySQL, why does it need to rely on column names to determine relationships? Couldn't it just see that a column is a foreign key?
https://www.bing.com/search?q=zero+to+one&go=Submit&qs=n&for...

i got book results...first link is to amazon for buying the book.

Tried it again in incognito. Same results.
This is a great read. It's always fun to read about how much we don't know about even the recent past.
I'm a weird case (electrical engineer with ~a BSc in CS as well). When I first saw the WWDC 2012 sessions about AutoLayout, I was blown away! After all these years dicking around with specific pixel sizes for things, and basically doing my own linear constraint solving on paper to make things work (web, mobile, desktop, etc), I just breathed a sigh of relief to see that it was finally done the right way. I've since done a few layouts with it and am super impressed, especially with the text DSL for specifying constraints. Sure, it's a little finicky sometimes, but that's generally when I haven't thought through the constraints well enough :)
Maybe Bing has improved lately, but a year or so ago I tried it for a while and was not impressed. However, more recently I tried using DuckDuckGo and find it pretty excellent. It's surprisingly useful for esoteric developer-y stuff I'm often searching for. Since iOS 8 and OS X Yosemite offer it as a default search engine option in Safari, I've been using it full-time. I only rarely access Google for web searches now, which is pretty awesome.
This photo from that series http://www.spaceflightnow.com/news/n1211/19rubberroom/full15... looks like something straight out of Half-Life. After reading the article on STS-1, that doesn't seem too far off.
For someone in type A, how do you decide if it's worth pursuing an MBA vs moving into technical management without an MBA vs sucking it up?
I agree about the competition, I'd much rather have a larger percentage of people using Bing than there is currently for that reason alone. However, for other reasons such as you mention, DuckDuckGo is clearly the one to root for.
That's pretty trivial for parents. "Hey pumpkin, I need to borrow your phone for a second". That said this is something that maybe 0.1% of parents could or would set up.
Life can not be acquired or given away more than once (with current technology).

But that's not what property means to everyone. For me, property is something that is owned privately, and I claim private ownership of my life.
Nerd culture is destroying Silicon Valley [?]
Mann's books ("1491" and "1493") are even better - great examples of longform journalism as history. They also update some of the facts in the article, since we've learned a lot more in the past decade.
I just did but both shows quite the same.
Not with proper encryption, I believe? In this case you can get someone else's supposedly private snaps if they're on your network, because the key is the same as the one for decrypting your snaps.
Who was that standing up front in the white Empire gown? Lady Justice? I'm more accustomed to her portrayed as looking down than as looking up... Even if they deny her motion, with those Popeye arms she can take the law into her own hands.
Female gamer dev harrassment
Ooh, I didn't even to think to test it on Android phones. This method works on iOS devices, however.
Slicing syntax is about being able to do stuff like string[1:3] AFAIK, so I hope it won't get killed.
Show HN: A Soft Murmur (my first Android app)
Build a 'physical' traffic light
The same website on Chrome, OS X, Retina:

http://i.imgur.com/KdvPoEB.png
It's sort of like software certifications. Having them is not negative, but using them as a crutch/symbol-of-authority is.
It was really cool and fun even though a simple green terminal screen. I had one in front of me and one in back of me. The one in back was typically logged in as root. (Was an office with a lock and a small enough place that I didn't have to worry about anyone knowing what that was..) Hard drive was 70mb with 4mb of memory. And a tape drive for backup. (System was perhaps 30k in 80's dollars iirc approx etc.)

That said right now I'm staring at 3 Thunderbolt displays hooked up to a Mac Pro with over 25 terminal windows going. All in different colors. (Well actually not different colors for all of them).

But using even the simple green screen was really cool. Definitely got a buzz using that system.

I remember the first test to show that it was "multi user". I put two of the terminals next to each other, hit return at the same time, and ran two things at concurrently. (Might have been ls -Rlt / or something like that.)
Yeah, it seems that they are marketing to different groups of people.
The Power of Drug Color
> aren't you just taking exception to the fact that people disagree with you? You don't really know why the people who down-voted the parent comment did so, and are projecting a certain viewpoint upon those folks. ... I'm guessing if the down-voting were of an opinion you did not agree with, there'd be less of this "we should raise our standards" talk.

I'm not and your guess is wrong.

First, do they disagree with me? What is my opinion? Aren't you doing what you accuse me of?

You're right that I don't know the reasons for the individual downvotes. However I'm confident in the pattern I've observed in this discussion and others on HN. I think the aggressive, dogmatic responses, the lack of value in many comments, and the voting patterns (including for my comment, for which -2 is way overboard) are obvious.

If you care, my opinion is that I don't know enough about the subject to form one, that without a proposed pension system there is nothing to have an opinion about (i.e., it's too hypothetical), and especially that it would be valuable to me and to our society to have intelligent discussion about it. The signal-to-noise ratio of the libertarian orthodoxy makes it difficult to find any valuable contribution from them, and their shouting down of anyone who disagrees also doesn't help. They may have good points in policy, but the standard of discussion needs to be raised.
Definitely ASICs. They have the budget and foresight.
Police are always armed. They are trained in their use. A K9 unit is an officer and a dog, trained to be nice to people. This whole article is puffed-up baloney
Harnessing the Predictive Power of Machine Learning in Google Sheets
Not quite no, I would be after something to turn passive speakers into active speakers.
Postgres did an awful job on that query. Small values of LIMIT should not require a full sort, even when there's no index. I think MySQL has a special case for small values of LIMIT.

Looking forward to the next installment. That query is so simple that you're not seeing what a real database can do. Let's see something with a JOIN and lots of indices, so the optimizer can do some work.
Computer Chronicles: Gary Kildall Special (1995) [video]
First Impressions of Systemd, and They Are Not Good
Somewhat related, for years and years I've walked a lot (average is 4-5 miles a day, every day). About 5 years ago I started having pain in the ball of my feet and I couldn't walk much. I was about to give up, when I discovered MBTs, which are a "rocker" style shoe. It saved me. Now, I have 4 pairs that I rotate and I have many fewer issues. They gave me a scare a few years ago when they declared bankruptcy, but they came back a couple of years ago.

I believe I have Morton's neuroma, and it makes sense that a rocker-style shoe would help this malady.

Regarding the article, I don't know why some of these people can't just buy two pairs of shoes of different sizes and just use the correct shoe from each pair for each foot.