hacker news with inline top comments    .. more ..    24 Sep 2016 News
home   ask   best   2 years ago   
Show HN: InstaPart Build circuit boards faster with instant parts snapeda.com
50 points by natashabaker  50 minutes ago   7 comments top 2
natashabaker 37 minutes ago 3 replies      
Dear HN Community,

I wanted to introduce our startup SnapEDA to the HN community. We recently completed Y Combinator, and have been quiet about the platform while we've been improving it. With that said, wed love to get feedback from the HN community!

Our goal is to build a canonical library for making circuit boards: one trusted, centralized place to get digital models. These digital models include PCB footprints, schematic symbols, and 3D models. The library exports to a growing set of popular EDA tools: EAGLE, Altium, KiCad, Cadence OrCad/Allegro (Beta), & Mentor PADS (Beta).

The library is free because we believe in making this data widely accessible to enable innovation. The purpose of this new feature, InstaPart, is to give designers an option to "skip the queue" and get a part quickly if it doesn't yet exist in the free library. Once that part is made, it is then made available for the entire community to download for free. Growing the library is a top area of focus, so we hope to eventually render the InstaPart feature obsolete and just have everything available natively. :-)

In terms of standards, all new libraries are being made to IPC, and we also source models by partnering with component manufacturers. To ensure quality, we have an automated verification checker on each part page that provides a pass/fail result on common manufacturing issues that we plan to expand with additional checks.

Thanks HN!


zbjornson 37 minutes ago 1 reply      
Not an EE Am I correct that you replace this lengthy process? https://learn.sparkfun.com/tutorials/designing-pcbs-smd-foot...
Forget virtual assistants, Asteria wants to be your AI friend wareable.com
14 points by nathantross  1 hour ago   7 comments top 3
acobster 2 minutes ago 0 replies      
> Eventually they're predicting. Then you can do things like ambient intelligence where you can provide services and you can provide products or experiences to people before they know they need it.

So, it's your friend...but it's also there to sell you stuff. But just think of it as your friend.

It sounds like they don't quite know what they're selling or how it's going to be useful to people (which they kinda admit, to their credit). I could see getting utility from a VA that also suggests service's for specific needs, but a friendship with "ambient intelligence" behind it figuring out how it's going to chum up its next product placement? If it's really a "true AI" why not sell it on that merit alone?

visarga 58 minutes ago 1 reply      
A clip on camera you can take with you while jogging or in a museum, and it talks to you? It would be pretty embarrassing to be seen with it. This would work out better in professional settings, such as in a hospital, providing help to doctors.
thetest3r 35 minutes ago 0 replies      
Reminds me of the movie Her....
D-Wave Founder's New Startup Combines AI, Robots, and Monkeys in Exo-Suits ieee.org
17 points by zxcvvcxz  1 hour ago   7 comments top 3
inlineint 11 minutes ago 0 replies      
> The operator can use foot pedals to control the robots movement and a virtual reality headset like the Oculus Rift to experience what the robot is seeing.

Maybe it's a bit off topic, but I'd like to put here fiction sources (which I know) that explore this kind of setup:

1) A Cognitive Discontinuity story by Andrej Karpathy (2015): http://karpathy.github.io/2015/11/14/ai/

2) Sleep Dealer movie (2008): https://www.rottentomatoes.com/m/sleep_dealer/

yolesaber 43 minutes ago 2 replies      
Has D-Wave made any actual feasible technical achievements WRT quantum computing or are they just the Theranos of that domain?
dnautics 27 minutes ago 1 reply      
Why did the founder leave d-wave?
So You Want to Be a Hero? filfre.net
59 points by jsnell  4 hours ago   13 comments top 5
noelwelsh 1 hour ago 0 replies      
I loved Quest for Glory (or Heroes Quest, as it was when my sister and I purchased the first one) when I was younger. We totally mini-maxed it, spamming "pick nose" and sneaking everywhere to max out our skills (and of course we were a thief, because they could do fight and do magic as well.)

What sticks with me, however, is how the story gave the player freedom while still remaining engaging (exactly the points the article makes). So-called computer RPGs focused on the most boring parts of role-playing---combat---and completely ignored the thing that makes RPGs what they are, the player's role in creating the story! Bards Tale and Wizardry games that are contemporaneous to Quest for Glory are decidedly weaker sauce. Games like Ultima that tried to create an open world mostly ended up filling that world with bland variations on the same theme, and lost any narrative drive through endless side quests. Although we ground like only kids with nothing better to do can, there was no need for excessive grinding in Quest for Glory. You could push the story forward fairly quickly, and every puzzle had multiple solutions.

Totally agreed with 32bitkid that Deus Ex is the closest contemporary game to Quest for Glory, combining strong narrative with player freedom.

CM30 2 hours ago 1 reply      
The first quote by Corey Cole on that page is brilliant, and is something so many game designers shoud probably keep in mind:

> Rule #1 is The Player Must have Fun. Its trivially easy for a game designer to defeat players. We have all the tools and all the power. The trick is to play on the same side as the players, to tell the story together, and to make them the stars.

So many game designers (especially amateur ones) seem to think game design is about screwing over the player at every opportunity. That it's a battle between the designer and the player, with the aim to make things as difficult as possible.

And the point about a lot of Sirerra's designers not actually having much experience playing video games kind of says a lot, doesn't it? Certainly explains how brutal most of their adventure games were.

32bitkid 2 hours ago 2 replies      
The quest for glory I VGA remake was the first game I ever purchased with my own money as a teen; and it made a huge impact on me. (although I honestly think that qfg2 was the best game in the series). Though the mechanics have been explored in other games since, I still like to go back and play through 1-5 every now and then. They still hold up surprisingly well, through the glossy lens of nostalgia.

In fact, just this morning, my little brother asked me if the new dues ex is worth picking up and I described it as "scratching my itch for the old quest for glory series"

It's great to read insights into some of these games, though I sometimes worry about the history of a lot of the influential works in this medium. I'm afraid it'll get lost and unappreciated, and be unplayable. Can there be a "criterion collection" for early video games and interactive fiction. Is something that even matters? Maybe I'm just getting old.

forgettableuser 2 hours ago 0 replies      
Quest for Glory and Sierra fans who enjoyed this article may also really enjoy "Why We Loved Sierra Games". The Coles and some other Sierra designers said some nice things about this too.


sztwiorok 2 hours ago 1 reply      
Corey and Lori Ann Cole are the best!I can't wait for their new game :) https://www.kickstarter.com/projects/transolargames/hero-u-r...
Snapchat Releases First Hardware Product, Spectacles wsj.com
244 points by Doubleguitars  13 hours ago   217 comments top 51
keithwhor 8 hours ago 7 replies      
I think this is brilliant. Even the press details seem perfectly crafted, with one article referencing Evan's "supermodel girlfriend."

Snapchat can win here based on brand alone. The hardware features are a plus, but they're going to sell a lifestyle. Think GoPro + Versace. Commenters here are caught up in the tech. It's not the tech. Get a few celebrities in these, people will buy them and barely use the recording features. They're cheaper than Ray-Bans and I bet you and half of your friends own a pair of those.

Snapchat can assemble an AR powerhouse from the ground up with brand goodwill. Evan and his team have figured out the best market strategy to do so. Google is not "cool" and could never attempt to pull this off.

I have tremendous respect for Evan Spiegel right now. Bold move. Amazingly positioned. I wish them the best of luck. Dare I say, it has the scent of Jobs to it - the vision, the risk ("we make sunglasses now!") and definitely the "cool-factor." Don't misinterpret - this isn't the iPhone, not yet anyway, but I think they're on to something very big.

primigenus 7 hours ago 3 replies      
This fixes everything broken about Google Glass. It's almost disturbing how much more on point this is:

Of _course_ they're sunglasses.

Of _course_ it's focused completely on video.

Of _course_ it's marketed as being about sharing your memories as you lived them.

Of _course_ you can only record 10 second videos at a time.

Of _course_ snaps automatically sync to the app.

Of _course_ they're designed to appeal to young fashionable people.

Of _course_ the charge lasts all day

This is one of those things where once you see it it's just obvious this is what it was supposed to be all along.

fowlerpower 12 hours ago 7 replies      
I think this is significantly better than what Google did with Google Glass.

It's better because it focuses on the one thing that is really easy to do well. It does not try to do everything at once. It doesn't try to give you apps in your glasses and everything under the sun. This is the right approach to products. Do one thing but do that well.

Before you criticize me think back to the original iPhone, it didn't start with an App Store and everything under the sun like the iwatch did. And yet the iPhone is an icon and the watch is no big deal.

whitecarpet 8 minutes ago 0 replies      
Another huge innovation which is more about software than hardware is the new circular video format: you can rotate your phone and the video keeps its orientation.

Quite impressive, you have to see it in action:


WhitneyLand 1 hour ago 0 replies      
Looks like they have learned from the glasshole debacle.

1). The messaging emphasizes it's just "a toy", a low volume experiment. More playful and more humble approach makes it a smaller target for ridicule.

2.) Pricing at $149 also makes it less pretentious and more importantly, puts it in the discretionary income range of what the heck I'll give it a shot.

CodeWriter23 11 hours ago 1 reply      
Hype and grumbles aside, I believe optimizing the "I want to record what I'm seeing right now" to a tap near your temple is pretty compelling. Fumbling to get my camera out of my pocket, or even just grab from tabletop and swipe-to-cam is often long enough to miss that precious moment with my daughter.
cobookman 1 hour ago 2 replies      
For those wondering wtf are these, I don't like the styling, why do these exist...etc, well, i don't think the target market for these is hacker news viewers. I will say that they do look awesome. Way easier to use these than a go pro or hold a camera/phone. Hopefully it's not just locked down to Snapchat.
rdmsr 11 hours ago 0 replies      
This is definitely the result of Snapchat's acquisition of Epiphany Eyewear back in 2013[1], which was a startup that made something very similar.


ftrflyr 11 hours ago 4 replies      
Why? You need to seriously question the motives behind such a launch. IMHO:

[1]Snapshot is an online multimedia application.[2]The infrastructure required to move from online to hardware requires significant investment (beyond the $1.8B they recently raised) - that of which I don't believe Snapchat can fund without a serious re-monetiziation strategy beyond Ads. It is only a matter of time before FB makes the move into Snapchat's market more than they already are.[3]This is an unproven market. Google tried it and didn't succeed. A better play - let someone else test the market a bit more and then move in with a solid Ad monetization strategy around the Spectacles. [4]Why Hardware?! Seriously? I believe Evan is overplaying his hands with so much VC capital coming his way.

leetrout 12 hours ago 2 replies      
Even thought I'm not "inb4" Glass comparisons this really does hit a market that I think is untapped. I used to have a "flipcam". It was before I had a phone with the ability to take HD video and before a GoPro was a choice for me because of cost (I still don't have a GoPro).

The ability to have cheaper, stylish, handsfree video recording of my POV has a lot of potential. How-to videos, the "capturing memories" as noted in the article, even just easily recording benign life experiences (police stops, for instance) seamlessly and without hassle is huge.

I do hope there is a tattletale light or something so that the average user can't surreptitiously record things and otherwise easy privacy controls... and I hope it's not long before someone hacks this or they unlock the product to do more than 10 second clips...

If I were GoPro I'd be nervous.

Edit: Actually a second thought- this would be a lot better than body cams in a lot of situations (or certainly a good companion) because it would capture the officer's line of sight.

p4mk 52 minutes ago 0 replies      
I love the execution of "circular videos", surprising that no one has implemented this before!


orbitingpluto 10 hours ago 0 replies      
Now everybody can be Spider Jerusalem...

Just like Google Glass users being called Glassholes, SnapChat glasses will probably be called something like SnapChads, because only white rich guys in pastel shorts and rugby shirts named Chad will use them. The aesthetic just isn't there for wide adoption.

mathewsanders 50 minutes ago 1 reply      
There's been an empty store on exchange place in NYC financial district (near Tiffany's) that for a couple weeks has had a huge Snapchat logo taking up the entire window. I wonder if they're also gonna explore retail along with hardware.
josephpmay 9 hours ago 4 replies      
Being someone in the AR space, I find this a smart but risky move. If they're marked right and become "cool" I'll definitely have to cop a pair (and at $130 they're almost disposable). Spectacles will make it way easier for me to post to Snapchat at parties/concerts/etc without having to break out of the moment by taking my phone out. Strategy-wise, this is a Trojan horse into the AR hardware space, which Evan has wanted to get into for years. However, they fit way better into Snap's image of being a media company vs. directly launching an AR headset.
hackerews 51 minutes ago 0 replies      
I love the difference between this and Glass - 'capture life's moments in style' (spectacles.com) vs. 'join the future' (http://marketingland.com/wp-content/ml-loads/2014/05/glass-h...)
technofiend 12 hours ago 1 reply      
If this means I can go to a public performance and no longer have to try to look past the sea of upthrust arms and glare of 1000 brightly lit screens to see what I came to see then it can't come quickly enough!

Particularly since I feel it will inspire the next product which is an IR flood light that renders all digital cameras useless, since there are so many people oblivious to the fact by trying to capture the experience for themselves they're detracting from the experience for everyone else.

Letting people who need a digital memento silently get one without intruding on the experience of those of us just there to enjoy and be in the moment is a great compromise.

arcticfox 12 hours ago 4 replies      
> (Spiegel argues that rectangles are an unnecessary vestige of printing photos on sheets of paper.)

It's also the shape of nearly all screens in the world. Perhaps I'm not visionary enough, but I don't foresee a circular computer or phone screen really improving the current situation...

nitrogen 6 hours ago 0 replies      
I'm amazed the top-rated top-level comments are all so positive. We have enough people shoving cameras into devices and situations where they don't belong. At least we know what they look like now so we can ostracize anyone wearing them.
ajamesm 27 minutes ago 0 replies      
Great product for people who want to film women in public, but not be noticed. Game changer
bunkydoo 5 hours ago 0 replies      
Well I'll be completely straight and say this isn't anything new. (You've been able to buy similar video glasses from china for about 5 years now) but if it can properly integrate with the app, and slim down a LOT more. To the point the camera is unnoticeable - they could finally start making some money. Well, until the Chinese knockoffs start rolling in
slackoverflower 12 hours ago 1 reply      
Snapchat has a huge opportunity in its hand which it has limited to take full advantage of: starting a revenue share program with influencers on the platform. Facebook has yet to do it and Snapchat, which is strapped with VC dollars, can attract a lot more influencers to its platform. I think the companies on the Discover are already in some sort of revenue sharing agreement with Snapchat but brining this to the massive number of young influencers unlocks huge opportunities for Snapchat.
anonbiocoward 1 hour ago 0 replies      
They really should have consulted with the Warby Parker folks, or pretty much anyone who actually designs glasses.
Dwolb 1 hour ago 1 reply      
On the design end, I don't like the look of the camera lense.

Are they able to darken the lense glass to hide the camera a bit? Maybe they could match the black of the camera sensor to the black of the glass a little more. Otherwise it looks a lot like two cameras on your face.

nvr219 12 hours ago 0 replies      
I'm into this! I think selling it as a toy is the right approach.
mkagenius 1 hour ago 0 replies      
When deciding about products, try to think if cute Minions (from Despicable Me) would like that? - Evan Spiegel
k_sh 10 hours ago 0 replies      
> Why make this product, with its attendant risks, and why now? Because its fun.

The way they framed this product is _so_ refreshing.

listic 2 hours ago 0 replies      
How do I read the full story? I tried signing in with Facebook, but it redirects to http://www.wsj.com/europe.
BinaryIdiot 10 hours ago 2 replies      
I can't be the only one who thinks this is going to eat GoPro's lunch, am I? Sure the initial version may not be as high quality as a GoPro and the time limit isn't as good but those are easy things to fix and they have a monstrous social network (something GoPro is sorta trying to break into).

If anything kills GoPro it's something like this.

TeMPOraL 7 hours ago 1 reply      
I like it. Seriously, "creepy" is just a word that means "I can't accept the reality doesn't work the way I'd like it".

That said, I worry about implementation. My guess is that it's going to be directly and permanently tied to Snapchat itself. Which significantly reduces the potential usefulness of this product - not everything you record is something you only want to have sent directly to Snapchat. Personally, I want files. Plain, old files. Is that so hard to understand for all those cloud-first companies?

tomkinstinch 1 hour ago 0 replies      
What about people who wear prescription glasses, but can't wear or dislike contact lenses? Is it possible to replace the lenses with prescription ones?
bradleybuda 12 hours ago 1 reply      
Friday night media release? Surprising.
pmontra 6 hours ago 1 reply      
Where are those 10 second videos stored? At Snapchat, on the phone, into the glasses? That changes dramatically the privacy implications of both the glasses and Snapchat. Remember what he said: he watched videos from one year ago. Snapchat has been all about deleting everything now.
hellogoodbyeeee 11 hours ago 2 replies      
I don't understand why all these software companies are in a rush to make hardware. With the lone exception of Apple, all hardware seems to resort in a race to the bottom commoditization resulting in paper thin margins.
nappy 7 hours ago 0 replies      
If this leads to fewer people holding out their phones at concerts... Then I'm especially excited ;)
rabboRubble 9 hours ago 0 replies      
I reserve judgement until I see a pair in color. And better yet, in person. And see more detail about the power situation.
oliv__ 4 hours ago 0 replies      
I'm just going to wait until this "Spectacle" self deletes after a few months...
NTDF9 7 hours ago 0 replies      
This is genius. Really. You want to know what kind of crowd will drop $129 on this?



clydethefrog 4 hours ago 0 replies      
Reminds me of SeeChange from Dave Egger's The Circle.I wonder if Clinton will wear them during this election.
adamnemecek 12 hours ago 0 replies      
I wonder what is the intended use case of this. The response will be lackluster which will make creating a V2 harder.
drivingmenuts 1 hour ago 0 replies      
Nice design.

How do they solve the personal privacy issues that arose with Google Glass? Or have they even bothered?

Multiplayer 9 hours ago 0 replies      
The most interesting part of the article to me is how useless the WSJ comment section is.

I cannot believe this is still an issue for major publications.

mankash666 11 hours ago 1 reply      
2015 revenues of $59M. Assuming an above average salary range, 1000 employees cost about $250M. If they were a public company, they'd get slaughtered on the stock markets.
xeniak 10 hours ago 0 replies      
> initially appears to be a normal pair of sunglasses

While it's less offensive than Google Glasses, this doesn't look like "normal" glasses.

vasanthagneshk 9 hours ago 0 replies      
Is it only me that does not want to read the article because I cannot read it anonymously?
dmritard96 5 hours ago 0 replies      
ill wait for the generic model that posts to any social network....
smegel 8 hours ago 0 replies      
Goofy but clever. The kind of thing that might be a hit with a certain youthful demographic. And you need to be "cool" to pull something like this off - i.e. not Google.
superJimmy64 8 hours ago 0 replies      
This is a ridiculous product... reminds me of the classic upper management/CEO "ideas". You know the kind: obsolete, neglects societal concerns (security???), nobody around to tell them it's a bad idea.

> (Why make this product, with its attendant risks, and why now? Because its fun, he says with another laugh.)

Sometimes you can look at something and just KNOW that there is not a chance that pile of junk is gonna gain traction.

amingilani 9 hours ago 2 replies      
How do I get around the paywall?
Bud 9 hours ago 1 reply      
throwaway28123 10 hours ago 1 reply      
I'd just like give everyone a reminder,

>The most important principle on HN, though, is to make thoughtful comments. Thoughtful in both senses: civil and substantial.

"Google Glass 2.0" and similar cheap bashing isn't just against the rules, it's boring and petty.

Take it to 4chan, you'll get the attention you're after.

nefitty 1 hour ago 0 replies      
This is exciting for the wearable headset market. If even a fraction of Snapchat's users get this it will normalize the space much more than Google Glass was able to. This is especially considering the young demographic Snapchat caters to, which I assume is more open to new technologies.
Nokia to demonstrate a technique for terabit-speed data over optical-fiber zdnet.com
65 points by wallflower  6 hours ago   26 comments top 7
fulafel 4 hours ago 2 replies      
"Researchers will this week demonstrate a newly-refined data-transmission technique that can deliver one terabit per second (Tbps) over optical fiber"

We already had 10 Tbps per fiber pair: http://www.extremetech.com/internet/231074-googles-faster-un...

DigitalSea 5 hours ago 2 replies      
I am barely able to get a 20mb ADSL2 connection here in Australia, let alone 100mb. I know I won't live to see even a 1gb connection speed becoming available in Australia in my lifetime. Lab conditions and real world conditions are two different things. You can have a fast connection, but if the bandwidth isn't there to meet the demand, then you just end up with a fast link to the exchange and then from there, it's plain old slow internet.
qaq 1 hour ago 0 replies      
If memory serves there have being commercial multiplexers that could do that for a long time.
jbi 3 hours ago 1 reply      
Too bad, Deutsche Telekom is blocking fiber built-up for customers in Germany by pushing VDSL vectoring.
perseusprime11 3 hours ago 1 reply      
Just a thought - maybe Google will buy the new Nokia this time to expand Fiber...
willvarfar 4 hours ago 0 replies      
Ok this is interesting tech and I like the light being shined on the remnants of Nokia occasionally, but the headline is misleading clickbait. They compare the new speed against today's fast consumer fiber, even though they say in the article that this is a new tech for backbones. It feels like the headline just tries to work "Google" into it as an adversary to get the clicks :(

Go go Nokia Bell, go away zdnet ;)

givinguflac 28 minutes ago 0 replies      
I'm excited to hear the new BS excuses for data caps existing once common infrastructure can handle this bandwidth.
Bogdanov affair wikipedia.org
79 points by luu  7 hours ago   27 comments top 9
phtrivier 4 hours ago 4 replies      
Popular culture sidenote : in France, the Bogdanov's brothers are now the standard butt of jokes related to:

- aesthetic surgery (in a close race with actresses Emanuelle Beart and Angelina Jolie)

- aliens (or people looking like, claiming to have met, or communicate with aliens)

- chins (a rather popular comedian has based about 12% of all his jokes about silly puns with Bogdanov's brothers and the word 'menton')

- lots of other stufff

- mad scientists

- and, I suppose, cosmologists (although it is probably a challenge to make a cosmologist joke in front of a regular audience.)

For whatever it's worth, next time you have to make a standup routine in France.

fermigier 1 hour ago 1 reply      
For many years (in the 1980s), the Bogdanoffs claimed (for instance, in the back covers of their popular science books) to be "authentic geniuses", with combined IQs > 400 and two (2) PhD's each.

This was, obviously now, not true, at least for the "PhD" part of the claim, so at one point they had to try to pass PhDs for real. It took them quite a bit of time and effort, and this effort, as I had been told at the time the "affair" was unraveling by mathematicians who had been involved in this process, was to call famous scientists of their time over the phone asking them questions about the subject of their thesis (after all they were some sort of journalists so at least they knew how to ask questions), and transcribe the answers. Unfortunately they only understood the words of these conversations but not their meanings, which explains why their thesis can look like some genuine science if you look at the sentence level, but doesn't make any sense when you try to find any meaning in it.

Some recent discussion about the affair (in French): http://sciences.blogs.liberation.fr/2015/07/02/les-bogdanov-...

What's doubling truly sad in this story, IMHO, is that:

1) While the are obviously not the scientific geniuses they claim to be, they are even not good science popularisers, they are actually really bad.

2) There are still people, and not only people attracted by pseudoscience or the bizarre aspects of their personality, that take them seriously. I remember, for instance, that that have been interviewed in recent years on France Info (national public french information radio) about the Higgs boson discovery or their recent books.

mappu 5 hours ago 3 replies      
>"The Bogdanoffs' work is significantly more incoherent than just about anything else being published. But the increasingly low standard of coherence in the whole field is what allowed them to think they were doing something sensible and publish it."

There's a certain beauty in an entire field losing coherency.

I feel like this quote could be about javascript libraries too. For instance http://vanilla-js.com/ has all the right jargon and could be mistaken for a serious project.

freerobby 3 hours ago 1 reply      
This got me real good:

> One of the scientists who approved Igor Bogdanov's thesis, MIT's Roman Jackiw... was intrigued by the thesis, although it contained many points he did not understand. Jackiw defended the thesis:

> "All these were ideas that could possibly make sense. It showed some originality and some familiarity with the jargon. That's all I ask."

fzn 9 minutes ago 0 replies      
As an aside, they did a marketing video for the commodore Amiga https://www.youtube.com/watch?v=JjRNAndfFEY :)
junke 4 hours ago 1 reply      
> Since 1979, Igor and Grichka Bogdanov have been widely known in France as television-show hosts.

They recently had their own parodical song:


This is about their supposedly abnormally long chin (people regularly joke about Bogdanov being aliens).

wott 4 hours ago 1 reply      
I had no idea they were "famous" on English Wikipedia.
dfsegoat 1 hour ago 0 replies      
Almost sounds a bit like Elizabeth Holmes...
Thelonious Monk Creates a List of Tips for Playing a Gig (2012) openculture.com
38 points by taylorbuley  7 hours ago   2 comments top 2
koolba 2 hours ago 0 replies      
Most of the apply reasonably well to a business setting. A couple in particularly interesting ways:

* Youve got to dig it to dig it, you dig?

* I want to avoid the hecklers.

* Always leave them wanting more.

matthewvincent 2 hours ago 0 replies      
When you are swinging, swing some more!
Isaac Asimov Asks, How Do People Get New Ideas? (1959) technologyreview.com
28 points by ohjeez  1 hour ago   1 comment top
louprado 8 minutes ago 0 replies      
Asimov's point regarding "cross-connections" reminded me of V.S Ramachandran's discussions on synesthesia. People with synesthesia have insufficient neural pruning and therefore more cross-talk between different areas of the brains. V.S.R.'s hypothesis is that this condition could also make one more creative because it facilitates the connection between two seemingly unrelated ideas.
What a Programmer Does (1967) [pdf] computerhistory.org
77 points by old_sound  10 hours ago   27 comments top 8
superJimmy64 8 hours ago 1 reply      
> (A programmer does not primarily write code; rather, he primarily writes to another programmer about his problem solution.)

An obvious concept that can so easily be forgotten at times.

dang 9 hours ago 1 reply      
Anybody know whose handwritten note appears at the top? The URL includes "Knuth" and "Baker" and the initials at the top look like "CLB".

(Also, we changed the URL from http://videlalvaro.github.io/2014/09/a-programmers-role.html to the original source, in keeping with the HN guidelines, which call for original sources. In this case the submitted article does add glosses, but not enough to be more substantive than the original. Historical material is particularly welcome on HN, especially when it hasn't appeared before, and this piece doesn't seem to have.)

kowdermeister 6 hours ago 0 replies      
Oh, I had to google what dybbuk is. I first thought it's debug, but it didn't make sense.

"In Jewish mythology, a dybbuk (Yiddish: , from the Hebrew verb daq meaning "adhere" or "cling") is a malicious possessing spirit believed to be the dislocated soul of a dead person."

kowdermeister 5 hours ago 0 replies      
It seems HN has a vintage computing day. Two articles are besides each other on the front page :)


ozim 8 hours ago 0 replies      
I am kind of dissapointed that posts about "good practices" dumbly enumerating those like SRP and DRY without adding any value get here a lot of upvotes. Where this paper stating why we should use best practices has like 10 points. You can also infer from it why you somethimes should not use "good practices".
bbcbasic 5 hours ago 1 reply      
That aerospace corporation job advertised there sounds might fine. Even if they are a little sexist!
sztwiorok 5 hours ago 1 reply      
I don't agree!

I know many programmers, that just write the code.

For example: what problem is solved by the developer when he/she coding the login page?

It just like any other profession, only a few people in the group are able to solve problems

SoulMan 8 hours ago 1 reply      
I like the font in the PDF
Zombie Moore's Law shows hardware is eating software theregister.co.uk
62 points by miiiiiike  8 hours ago   48 comments top 8
janekm 1 hour ago 0 replies      
This article is based on a faulty premise. The A10 processor is still far away from the performance of recent Intel CPUs (a quick browse of geek bench shows about 2 times the single and 4 times the multi core performance). Apple is very quickly making the gains towards the limits of Moore's law not because of a different model of computation but because those gains had not yet been realised for mobile CPUs. As the performance gap is getting smaller, it is likely that the year-on-year improvements in processor performance will also slow down for Apple CPUs. Which is not to take away from the achievements of the A10 design team, considering performance per Watt this chip is incredible.
eximius 46 minutes ago 0 replies      
Huh, not where I thought this article was going from the title. I thought it'd be about software bloat eating into the gains given by hardware (which, in hindsight, is exactly backwards from the title).
gaius 5 hours ago 2 replies      
What is old is new again - this is the architecture of the Amiga! And before that the C=64 and the Atari 800.
okket 5 hours ago 0 replies      
This perspective fits into the top-down evolution narrative: Write highly specialised solutions in the most general way in software until essential, generic parts are discovered and stable enough to be translated into transistor logic. Repeat.

Or like the Bitcoin "evolution": CPU -> GPU -> FPGA -> ASIC (this is a very simple, single purpose optimisation, but it can illustrate part of picture)

Only optimising transistor speed, their size or the whole CPU/GPU package has obviously limitations and may be a dead end.

on_and_off 1 hour ago 1 reply      
This might also explains why Google seems more and more interested in designing its own chips for mobile devices, just like Apple.

That and the underwhelming offering on Android compared to what Apple has been able to deliver.

ismail 1 hour ago 3 replies      
Interestingly Sony went the other way with the PS4, Moving to x86. any ideas why?
bramen 2 hours ago 3 replies      
How bad is debugging logic running purely on hardware nowadays? Is there anything more user-friendly than tapping specific lines and watching the output on an oscilloscope?
arbuge 3 hours ago 2 replies      
TL:DR; Moore's law can no longer be counted on for performance gains, so speeding up things will now be dependent on replacing general purpose hardware with hardware specifically designed to implement specific algorithms.

Of course work on custom chips has been going on as long as chips were a thing. The article just underlines that this is now pretty much the only way forward.

How Many Die from Medical Mistakes in U.S. Hospitals? (2013) propublica.org
47 points by apsec112  10 hours ago   21 comments top 3
anon4this1 8 hours ago 6 replies      
As a Doctor, the potential for improvement begins from very basics. For instance - a radiologist sees a funny looking line on an xray and reports "this is probably nothing, but we should repeat the xray in 6 weeks to make sure." Sometimes these requests slip through the cracks and in a fraction of cases the patient presents 2 years later with terminal cancer from their metastatic lung Ca.

Ensuring blood thinners are prescribed post coronary bypass surgery or stenting is another one. It should happen every time, but sometimes by human error it may not.

A good startup idea would be to make a hotlist of the top ~1000 of these obvious, preventable errors, combine IT data sources to predict when they might be occuring, and have checking systems in place to prevent them. If it worked even adequately, hospitals would be seen as negligent for not using such a system.

finid 54 minutes ago 1 reply      
The problem, and the root cause of many medical mistakes, is medical staff not getting enough sleep.

I know of nurses who could barely keep their eyes open while driving to work. And that's because they just finished a shift at a different hospital.

At a time, a friend of mine had to be picking up his wife from work, because he was afraid of what might happen if she drove herself.

So let's fix the sleep deprivation problem.

HillaryBriss 1 hour ago 0 replies      
If I'm not mistaken, in Kaiser hospitals, each time a drug is administered to an in-hospital patient, the patient's wristband is electronically scanned with a handheld gun to re-verify that this is in fact Patient X with condition Y who needs treatment Z.
Space Art Propelled Scientific Exploration of the Cosmos, But Its Star Is Fading atlasobscura.com
19 points by prismatic  6 hours ago   3 comments top 3
dasmoth 3 hours ago 0 replies      
For those who haven't encountered Akin's Laws [1]:

>>> 30. (von Tiesenhausen's Law of Engineering Design) If you want to have a maximum effect on the design of a new engineering system, learn to draw. Engineers always wind up designing the vehicle to look like the initial artist's concept.

[1] http://spacecraft.ssl.umd.edu/akins_laws.html

MrBuddyCasino 4 hours ago 0 replies      
fit2rule 18 minutes ago 0 replies      
So Sci-Fi authors get a bad rap while its artists are yearned for .. I mean, can we not extend this observation to include those who push words, and not just paint, in order to inspire their fellow man?
The Sorcerer of Jazz nybooks.com
30 points by tintinnabula  9 hours ago   12 comments top 5
memonkey 1 minute ago 0 replies      
There are some purists left who are equated with Miles Davis. Christian Scott comes to mind as one of the modern greats for sure:



gotofritz 5 hours ago 2 replies      
Fantastic, legendary musician, but a monster as a person; a man who turned some of his female fans into prostitutes and beat them when they didn't make enough money to sustain his heroin habit.

This is common with a lot of figures from the past, of course, from Picasso the wifebeater to Wagner the antisemite, Washington the slave owner, to Gary Glitter the child abuser.

matchagaucho 36 minutes ago 0 replies      
I was drawn into electric Miles, much like Brian Eno, in the 80's. But ultimately became a bigger fan of his acoustic 1959-1963 sound.

Amazing career. Can't wait to see the movie.

Avshalom 6 hours ago 2 replies      
topogios 2 hours ago 0 replies      
Anyone know of a reference for "The keyboardist Joe Zawinul was aghast at Daviss ruthless arrangement of In a Silent Way,... " part?

It is difficult to prove a statement like "..he pioneered hard bop.." wrong, but it is definitely a new view on the history of jazz in the post bop era.

Ask HN: What's the best way to learn about the blockchain?
6 points by m52go  32 minutes ago   1 comment top
shp0ngle 27 minutes ago 0 replies      
Everything in Bitcoinlandia is fairly superficial, since everyone is trying to sell Bitcoin and make himself rich. So it's like reading multi-level-marketing books.

That being said. What's actually kind of good (with actual technical specifications) is Bitcoin wiki, even when it's slightly outdated; then official bitcoin website; and sometimes bitcoin stack exchange website (but that can become outdated too).

I don't think Blockchain can be disconnected from Bitcoin, and if you do, it's very general and not that specific.

What is Janitor Monkey? (2015) github.com
9 points by asimjalis  4 hours ago   3 comments top 2
ReedJessen 57 minutes ago 1 reply      
I would imagine a slight misconfiguration could turn janitor monkey into wrecking ball monkey.
TeMPOraL 2 hours ago 0 replies      
So, basically, it's a garbage collector for services. :).
Upgrade your SSH keys g3rt.nl
335 points by mariusavram  17 hours ago   117 comments top 24
developer2 10 hours ago 4 replies      
Seriously, the default options to ssh-keygen should be all anybody needs. If you need to pass arguments to increase the security of the generated key, then the software has completely failed its purpose. Passing arguments should only be for falling back on less secure options, if there is some limiting factor for a particular deployment.

There is absolutely no reason to pass arguments to ssh-keygen. If it is actually deemed necessary to do so, then that package's installation is inexcusably broken.

tete 6 hours ago 1 reply      
Something I don't understand is the "hate" that RSA gets. Yeah, Elliptic Curves are promising, have benefits (smaller/faster).

But RSA isn't broken, it is well understood, is "boring" (a plus on security, usually), has bigger bit sizes (according to people that know a lot more to me that's a plus point, regardless of EC requiring smaller ones, because of certain attacks), isn't hyped and sponsored by the NSA and isn't considered a bad choice by experts.

Not too many years ago Bruce Schneier was skeptical about EC, because of the NSA pushing for it. Now, I also trust djb and i an sure that ed25519 is a good cipher and there are many projects, like Tor that actually benefit from it, increasing throughput, etc., but for most use cases of SSH that might not be the issue, nor the bottleneck.

So from my naive, inexperienced point of view RSA might seem the more conservative option. And if I was worried about security I'd increase the bit size.

Am I going wrong here?

matt_wulfeck 15 hours ago 3 replies      
I disagree with the author. Before you go upgrading into ed25519, beware that the NSA/NIST is moving away from elliptical curve cryptography because it's very vulnerable to cracking with quantum attacks[0].

"So let me spell this out: despite the fact that quantum computers seem to be a long ways off and reasonable quantum-resistant replacement algorithms are nowhere to be seen, NSA decided to make this announcement publicly and not quietly behind the scenes. Weirder still, if you havent yet upgraded to Suite B, you are now being urged not to. In practice, that means some firms will stay with algorithms like RSA rather than transitioning to ECC at all. And RSA is also vulnerable to quantum attacks."

Stick with the battle tested RSA keys, which are susceptible but not as much as ECC crypto. 4097 or even better 8192-bit lengths.

There's no perceptible user benefits to using ed25519 and it's not even supported everywhere. Also you won't have to rotate all of your keys when workable quantum computers start crackin' everything.

[0] https://blog.cryptographyengineering.com/2015/10/22/a-riddle...

Achshar 13 hours ago 4 replies      
Noob question here, why move just one step ahead. Why not 8192 or hell 16,384? I can see it can lead to higher CPU consumption on often used keys but for keys that are not accessed more than a couple of times a day, why is it such a bad idea to overdo it?
jkirsteins 4 hours ago 1 reply      
Can anybody elaborate on the idea that for RSA <=2048 is potentially unsafe? Is it true? It seems that even 1024 bit keys haven't been factored yet, much less 2048, so why use anything else currently?


brandmeyer 13 hours ago 2 replies      
If you have servers too old to work with the latest keys, you can easily modify your ~/.ssh/config to automatically use a per-machine private key file:

 Host foo.example.com Keyfile ~/.ssh/my_obsolete_private_keyfile

LeoPanthera 15 hours ago 4 replies      
Can someone explain to me why RSA 2048 is "recommended to change"? It's still the default for gpg keys and as far as I know is widely thought to be secure for at least few hundred years!
loeg 14 hours ago 4 replies      
RSA 2048 is still the openssh default, i.e., best current advice from the openssh authors. The fact that this article's author labels that as "yellow" is a red flag.
morecoffee 12 hours ago 0 replies      
Ed25519 is fast, but I don't think the speed is significantly faster to be an argument for using it. Running the borgingssl speed tool on a skylake mobile processor:

 Did 1083 RSA 2048 signing operations in 1017532us (1064.3 ops/sec) Did 29000 RSA 2048 verify operations in 1016092us (28540.7 ops/sec) Did 1440 RSA 2048 (3 prime, e=3) signing operations in 1016334us (1416.9 ops/sec) Did 50000 RSA 2048 (3 prime, e=3) verify operations in 1014778us (49271.9 ops/sec) Did 152 RSA 4096 signing operations in 1000271us (152.0 ops/sec) Did 8974 RSA 4096 verify operations in 1076287us (8337.9 ops/sec) ... Did 6720 Ed25519 key generation operations in 1029483us (6527.5 ops/sec) Did 6832 Ed25519 signing operations in 1058007us (6457.4 ops/sec) Did 3120 Ed25519 verify operations in 1053982us (2960.2 ops/sec)
RSA key verification is still extremely fast.

(also don't look at these numbers purely as speed, but as CPU time spent)

perlgeek 5 hours ago 0 replies      
So I once read somewhere that RSA is simpler to implement than most other algorithms, and hence it's a safer choice than other algorithms, because weaknesses typically come from suboptimal implementation less than from the cryptographic algorithm. (Unless you use known-broken things like md5 or 3DES).

And I think that was in the context of some DSA or ECDSA weakness, possibly a side channel attack or something similar. I forgot the details :(

What are your thoughts on this? Should we focus more simplicity and robustness of the implementation, rather than just the strength of the algorithm itself?

katzgrau 13 hours ago 0 replies      
Security is not my specialty, but I obviously wade in this field, being a developer. Having read this article I will say this to OP and the author:

Thank you, I am sufficiently paranoid enough to change my keys now.

jlgaddis 15 hours ago 1 reply      
If you have any RHEL machines, you might wanna keep an RSA (or ECDSA) key around. RHEL doesn't support Ed25519.

I haven't checked, but I presume this also goes for CentOS, Scientific Linux, and other derivatives.

tw04 13 hours ago 3 replies      
This is my standard on new server setup (which is admittedly overkill but I'd rather have it slightly slower and safer):




sources.list (if you're on an older version of debian)deb http://http.debian.net/debian wheezy-backports main

apt-get -t wheezy-backports install --reinstall ssh


cd /etc/ssh

rm ssh_host_key

ssh-keygen -t ed25519 -f ssh_host_ed25519_key -a 256 < /dev/null

ssh-keygen -t rsa -b 4096 -f ssh_host_rsa_key < /dev/null

(do not password protect server side keys)



Protocol 2

HostKey /etc/ssh/ssh_host_ed25519_key

HostKey /etc/ssh/ssh_host_rsa_key

KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256

Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr

MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,umac-128@openssh.com




Host *

KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256

Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr

MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,umac-128@openssh.com


ssh-keygen -t ed25519 -a 256 -f yourkey.key -C whateveryouwant

Locke1689 12 hours ago 0 replies      
What's the problem with ECDSA?
ComodoHacker 6 hours ago 0 replies      
>RSA 2048: yellow recommended to change

Could someone provide a link with decent explanation why? Is it solely out of fear that it will be cracked soon on quantum computer?

qzervaas 15 hours ago 0 replies      
For those who have just updated to macOS Sierra, the default SSH client configuration is to not allow ssh-dss keys any longer.

Follow these instructions to update your keys.

franciscop 7 hours ago 0 replies      
Why not usimg this year as the name for the ssh? Then when you are using 2014.pub or 2013.pub you know it's time to upgrade
otabdeveloper 8 hours ago 0 replies      
Nobody is going to brute-force my git keys, especially when it's so trivial to gain access to the repos via social engineering.
aluhut 6 hours ago 1 reply      
I wish this whole SSH business would be less complicated...
stock_toaster 14 hours ago 3 replies      
github doesn't support ed25519 keys does it?
sztwiorok 3 hours ago 0 replies      
very good post about security!

many people still using RSA/DSA keys :/some people are doing even worse things.Last week I saw one man who have shared his priv key by email message!

QWERTY people have to grow up!

jamiesonbecker 14 hours ago 1 reply      
In Userify (ssh key manager that only distributes sudo roles and public keys -- you keep your private keys[1]) we're going to be disallowing DSS keys soon.

I like this post - it's good advice overall. Keys are easy to handle and in some ways more secure than certificate management (which relies on extra unnecessary infrastructure).

1. https://userify.com

wyclif 10 hours ago 0 replies      
the need to generate fresh ones to protect your privates much better

Um, I'm pretty sure he meant privacy, not "privates." Time for an edit.

Spotify and the Art of the Playlist bloomberg.com
42 points by walterbell  11 hours ago   21 comments top 8
StringyBob 7 hours ago 3 replies      
I wish there was some way to feedback that discover weekly has gone off at a tangent. Can I 'reset' it?

After Bowie died I listened to quite a lot of his back catalogue over the next month, I then found my discover weekly had been taken over by 70's prog.

I've heard similar things from people who have let friends or family use their account, or made a 'bad' playlist for a one-off event.

Really I want to 'delete my history' for a couple of weeks - private browsing requires foresight. Maybe it's not possible given how the 'musical taste' data gets hashed? In that case I'd take a full reset!

b1daly 6 hours ago 2 replies      
For me the Discover Weeky playlist is probably the biggest innovation in recorded music distribution since the beginning of commercial music distribution. I've found a couple of artist that have become all time favorites that I very well might never have heard of (Anekdoten from Sweden and Motorpsycho from Norway, the Scandinavians seem to be the only non-English cultural family that get rock)

It completely bypasses the music distribution industry's gatekeeper behavior. This is previously unheard of, because the labels have a lot at stake, wherever there is a natural interface where music can be presented, they quickly move in and start to use money to control the playlists. I'm pretty sure Spotify's charts are heavily influenced by music industry shenanigans at this point.

madethemcry 7 hours ago 1 reply      
I'm a huge fan of the Discover Weekly playlist. Most of the time it is so good that you can get in touch at least with 2-3 new songs. Sometimes I also have a lucky day where nearly every single song matches my taste but was unknown to me. This is a really great example of what algorithms can do. But it also proves that more is not better. If I imagine the playlist would be refreshed every day as planned or a list of 100 songs instead of 30- I wouldn't use it anymore. It simply would be to much to progress each week. The current amount is perfect to start a working week and I do so since that playlist started.
pimeys 7 hours ago 1 reply      
I recently cancelled my streaming service subscription for music and shifted back to my vinyl collection (which I've been digitalizing for office listening) and buying cds. Yes, it takes me more time to get the music I want to listen, but I spend more time and effort listening and exploring what is going on in the music scene. This actually made me more connected to the music I'm currently listening, because every purchase is worth something and before buying I tend to read reviews and articles about the artists who produced the music.

For me, the best playlists are the ones written by the long-standing institutions, like Hardwax[0], Berghain[1] and Resident Advisor[2].

[0] https://hardwax.com/[1] http://berghain.de/[2] https://www.residentadvisor.net/

anotheryou 2 hours ago 1 reply      
At work I listen to a lot of OK music that doesn't bother, but I'm really interested in things too difficult to hear in the background.

Spotify weekly went downhill at some point and I wonder if it just feeds back in to itself when I listen to it at work.

oDot 4 hours ago 0 replies      
Discover Weekly is great. I have a playlist with 800+ songs thanks to it. Unfortunately, though, Spotify fails to shuffle play them correctly. I always get the same 100 songs :(
aiw1nt3rs 6 hours ago 1 reply      
While Spotify does a great job in marketing, I think that in reality, YouTube and SoundCloud recommendations are by far superior to 'Discover Weekly'.
denzell 8 hours ago 1 reply      
I don't understand how this would work? Does the algorithm detect similar sounding beats?
YouTube Changes YouTube Heroes Video Stealthily techraptor.net
134 points by doppp  8 hours ago   44 comments top 8
anilgulecha 6 hours ago 7 replies      
I, and I think most other folks, treated a youtube video as write-once, read-many resource.

That trust has taken a massive hit. You can no longer reply on the same video-id having the same content as before.

restlessdesign 3 hours ago 1 reply      
Vimeo has allowed source file replacements for years. Why is it always conspiracy theory with YouTube users?
kmfrk 5 hours ago 1 reply      
I imagine YouTube didn't feel like breaking a bunch of links by replacing the original video, but surely they should have gone with some sort of annotation directing people to a new video.

YouTube has the most confusing and maddening UXes of any service I've ever used, and it's stuff like this that keeps shortening my lifespan.

duiker101 6 hours ago 1 reply      
Interestingly they didn't address the "flag mass videos" which I thought was the more painful point
pmontra 4 hours ago 1 reply      
Appropriation of likes and comments: you liked or commented to a video of cute little puppies and after the edit you end up having liked a video of dissecting puppies. Replace with any other uncomfortable subject.

It happens on FB when somebody changes the name and goal of a group, hijacking the non active members.

martin-adams 5 hours ago 0 replies      
I think if a video was edited there should be some indication when it happened, only because if feels like the right thing to do.

But because the tools to edit aren't available to everyone, they probably don't want to make this become an issue so tried to do it stealthily.

At least they didn't remove a few of the dislikes in the process (although I have no evidence they didn't).

As for the Heroes scheme itself, I don't get it. I don't know what the motivation to put all that work in is, as there is no money in it and the rewards seem to only serve the tool, but not the individual putting the time in.

Cozumel 6 hours ago 2 replies      
This isn't news, of course they're able to change their own videos!
kardashian007 1 hour ago 0 replies      
Possibly as important as subtly-revisionist history, it would be interesting to see thunderf00t and/or Gad Saad reaction videos to the subject matter of the Heroes program, because of the likely obvious empowerment of hyper-oversensitized, arbitrary, de facto censorship this program would enable. Sure YT needs to clean up spam, crap content and figure out how to deal with neo-Nazis, Alex Jones' and perpetual machine "inventors."
Nasa to reveal 'surprising' activity on Jupiter's moon Europa phys.org
64 points by dnetesn  5 hours ago   22 comments top 7
cjhveal 2 hours ago 2 replies      
NASA has said this announcement is not about alien life, despite what this article implies.


m_mueller 3 hours ago 3 replies      
Seems like a good weekend to watch Europa Report. I highly recommend that film to realistic sci fi fans, just hang in there for the first half hour or so with its nervous cuts.
freerobby 2 hours ago 1 reply      
Here's the NASA press release on which this is based: http://www.nasa.gov/press-release/nasa-to-hold-media-call-on...
r721 2 hours ago 0 replies      
Nice article about Europa mission:

http://www.popsci.com/europa-or-bust (Sep 2015)

Sharlin 2 hours ago 0 replies      
Hopefully more geysir activity.
Apreche 4 hours ago 1 reply      
How an Imaginary Island Stayed on Maps for Five Centuries hyperallergic.com
35 points by Vigier  10 hours ago   4 comments top 2
kurthr 2 hours ago 1 reply      
I always wondered if name and dreamy search in Brazil (1985 movie) for a mystical place (and woman) was motivated by Hy-Brasil.

I suppose it has been debunked, but it still seems apropos...http://stanleyrumm.com/?p=12

Port Talbot [in Wales] is a steel town, where everything is covered with gray iron ore dust. Even the beach is completely littered with dust, its just black. The sun was setting, and it was quite beautiful. The contrast was extraordinary, I had this image of a guy sitting there on this dingy beach with a portable radio, tuning in these strange Latin escapist songs like Brazil. The music transported him somehow and made his world less gray.

Terry Gilliam

shaftoe 3 hours ago 1 reply      
This would make a great basis for a video game.
Dripcap Packet Analyzer github.com
24 points by n_yuichi  8 hours ago   9 comments top 5
lossolo 4 hours ago 1 reply      
And why it's "next generation" ? Main site that is linked in github repo is not working for me. There is only screenshot, nothing else. From the screenshot it seems like very simple packet analyzer. I don't see any reason this is "next gen" or why i should use this instead of WireShark.
AstroJetson 4 hours ago 1 reply      
Same question, why is this better than Wireshark. Can I do custom packet analysis and packet matching? Is there a better scripting engine? (I love Lua hooks in Wireshark, makes it easy to pull apart complex traces / flows.)
paperwork 53 minutes ago 0 replies      
There doesn't seem to be a windows binary.
0xFFC 48 minutes ago 1 reply      
It's UI looks very nice. I hope all native UI's die as soon aa possible. What is last time you have tried gtk on Windows? Or Qt in gnome (yes I know, with some tweaking, it would be better). All of them feel so inconsistent together. At the other hand Web UI (and electron apps) is so nice to work with I don't even consider using native one when there is one with electron engine available.
electic 8 hours ago 0 replies      
I have to say the screenshots looked really good however I could not get this to work on OSX. It starts up, however, it won't let me enter a session name or start a capture session if I hit play. Hope it improves tho.
Googles lawyers are asking to find Oracles lawyers in contempt of court vice.com
373 points by ivank  22 hours ago   129 comments top 19
grellas 21 hours ago 6 replies      
It is huge that a lawyer would disclose in a public setting such important confidential numbers. I even have trouble seeing how something like that could be "accidental". It is basically a force of habit among experienced litigators to think and to say, in any number of contexts, "I know this may be relevant but I can't discuss it because it is the subject of a protective order" or "I know the attorneys know this information but it was disclosed under the protective order as being marked for 'attorneys' eyes only'". In all my years of litigating, I don't believe I have ever heard a casual slip on such information, even in otherwise private contexts (e.g., attorneys are discussing with their own client what an adverse party disclosed and are very careful not to disclose something marked for "attorneys' eyes only"). Certainly willful disclosures of this type can even get you disbarred.

But the significance of this breach is not the only thing that caught my eye.

These litigants have been entrenched in scorched-earth litigation for years now in which the working M.O. for both sides is to concede nothing and make everything the subject of endless dispute. Big firm litigators will often do this. It is a great way to rack up bills. Clients in these contexts do not oppose it and very often demand it. And so a lot of wasteful lawyering happens just because everyone understands that this is an all-out war.

To me, then, it seems that the big problem here (in addition to the improper disclosures of highly important confidential information in a public court hearing) was the resistance by the lawyers who did this to simply acknowledging that a big problem existed that required them to stipulate to getting the transcript sealed immediately. Had they done so, it seems the information would never have made the headlines. Instead (and I am sure because it had become the pattern in the case), they could not reach this simple agreement with the other lawyers to deal with the problem but had to find grounds to resist and fight over it.

I know that we as outside observers have limited information upon which to make an assessment here and so the only thing we can truly say from our perspective is "who knows". Yet, if the surface facts reflect the reality, then it is scarcely believable that the lawyers could have so lost perspective as to take this issue to the mat, resulting in such damage to a party. Assuming the facts are as they appear on the surface, this would be very serious misconduct and I can see why Judge Alsup is really mad that it happened.

mmastrac 22 hours ago 3 replies      
While this is a good story, the headline misses by far the point that the body makes - the only reason this is an open secret is because an Oracle lawyer revealed it in public.

A better title might be:

"Google is trying to get Oracle in trouble for revealing confidential figures"

nkurz 20 hours ago 4 replies      
As background, this opinion piece by the lawyer in question may be useful in understanding the mindset of the players. Hurst argues that because API's are not copyrightable, the GPL is dead and Oracle's valiant attempts to defend free software have been foiled:

The Death of "Free" Software . . . or How Google Killed GPLby Annette Hurst (@divaesq)

The developer community may be celebrating today what it perceives as a victory in Oracle v. Google. Google won a verdict that an unauthorized, commercial, competitive, harmful use of software in billions of products is fair use. No copyright expert would have ever predicted such a use would be considered fair. Before celebrating, developers should take a closer look. Not only will creators everywhere suffer from this decision if it remains intact, but the free software movement itself now faces substantial jeopardy.



This wasn't an accidental "slip" by a poorly trained intern. This was a conscious disclosure made by one of Oracle's lead attorneys. She is one of the top IP lawyers in the nation: https://www.orrick.com/People/2/6/2/Annette-Hurst. It is in keeping with the "scorched earth" strategy that has been followed for this case. She knew what she was doing, and she (and her firm) should pay the consequences. If there are no consequences, it will legitimize and reward this strategy.

nikic 20 hours ago 1 reply      
This article reads very weirdly to me. Are they arguing that disclosing confidential information, and subsequently opposing steps to contain the disclosed information, is perfectly fine because ... it can be found on the internet, precisely because of this disclosure? This makes absolutely no sense to me.
segmondy 21 hours ago 2 replies      
Oracle should pay, they knew exactly what they were doing. If it was them, they would be suing too. Live by the sword die by the sword.
balabaster 20 hours ago 1 reply      
Having read this article it reminds me somewhat of tactics in movies where lawyers deliberately ask an inflammatory question in front of a jury purely for the purpose of planting a seed, and before anyone can yell objection they immediately retract knowing that the damage has been done. The judge may strike it from the record, the judge may tell the jury to disregard it, but you can't unthink or unhear something that's been said. The bell has already been rung.

I don't (or can't, I'm unsure) believe that lawyers of this caliber make mistakes like this. So what was her play by doing this? Did it pay off?

yongjik 20 hours ago 3 replies      
Off-topic, but I find it strange that money in the order of $1B can change hands between two mega-corporations without anyone outside having an inkling, while I could find websites saying exactly how much a low-level government worker earns in a social services center in my county. (Spoiler: much less than I used to earn as developer.)

Shouldn't the structure of accountability be in the other direction?

b1daly 6 hours ago 0 replies      
Slightly off topic, but I've always had a hard wrapping my head around the stance the somehow an API is distinct from code. I understand that it's an abstraction in programming, and that industry practice has been that it's acceptable to take an existing API that you didn't create and write a new implementation.

But since the API is "implemented" in code, it seems like for the purpose of copyright consideration that the distinction is simply one of custom.

It's a programming abstraction, to create your own "implementation" of the API you still have to use code that is identical to original.

Alsop's original, overturned, ruling was that as a matter of law API's couldn't be copyrighted because they express an idea that can only be expressed exactly that way, and traditionally this would not be allowed (can't copyright an idea). As I understood it, his concept implied that to get IP protection over an API would require something more like patent protection. (I might be totally wrong on this).

edgesrazor 19 hours ago 2 replies      
Off topic: I may be old and cranky, but I simply can't stand articles with animated gifs - it just seems ridiculously unprofessional.
wfunction 18 hours ago 1 reply      
As someone who knows zilch about business, I don't quite understand why people knowing these numbers is so devastating. What will another company do with these two numbers that it otherwise wouldn't do?
1024core 20 hours ago 1 reply      
> Oracle attorney Melinda Haag

God I hate that woman. When she was a US Attorney for SF, she went around and threatened to seize buildings where medical cannabis dispensaries were located, in full compliance of the local laws. Because she couldn't do any thing to the dispensary directly, she threatened their landlords. This was after Obama had said that DoJ would not interfere with dispensaries which were operating within the state laws.

bitmapbrother 19 hours ago 1 reply      
Regardless of the outcome her career in litigating high profile cases is pretty much over. You simply do not utter highly confidential company information accidentally. It was intentional and it was done to paint a picture to the jury about how much money Google was making from Android and what it was paying Apple.
AceJohnny2 18 hours ago 0 replies      
If a lawsuit of this scale can be considered the corporate equivalent of war, contempt of court is equivalent to being declared a war criminal.
JadeNB 20 hours ago 2 replies      
The judge tried to reveal the depth of this revelation by comparing it to that of the most secret thing he could imagine:

> If she had had the recipe for Coca-Cola she could have blurted it out in this court right now.


EDIT: I wasn't trying to be snarky or silly, just pointing out an aspect of the story that struck me as funny. Serious request: if that is inappropriate, please let me know rather than just silently downvoting. In that case, I apologise and will delete the post.

joering2 16 hours ago 0 replies      
"... or Robin Thicke being forced to plunge his own toilet."

Can someone explain me this one??

c3534l 15 hours ago 0 replies      
How can a public corporation keep those two numbers secret? Those are basic cost and revenue numbers that should be disclosed in their annual financial statements. The fact that it's legal to keep those numbers secret means there's something very wrong with how we do financial disclosure in America.
suyash 21 hours ago 1 reply      
swehner 18 hours ago 0 replies      
Why now? The blurting happened in January.
ocdtrekkie 21 hours ago 3 replies      
If anything, my only sadness is that more of Google's dirty laundry wasn't aired. This illusion that Google search is winning because people prefer it and that Google doesn't make money on Android are both claims I'm happy to see debunked. Google's anti-monopoly claims fundamentally hinge on concepts like these.

And if a lawyer did break the law by doing it, I say she belongs on the same high pedestal people put Snowden on.

Philosophy, the Sartre blend: uncovering the birth of existentialism newstatesman.com
23 points by lermontov  10 hours ago   5 comments top 2
dschiptsov 7 hours ago 2 replies      
Existialism, obviously, has been around long before Sartre in Eastern (originally Indian) philosophy and partially in the philosophy of Schopenhauer.

Actually, what Sartre called existentialism is the Asian way of life, at least in societies influenced by the original Hindu philosophy (Upanishads) and its Buddhist derivatives and finally the Gita.

qwertyuiop924 4 hours ago 0 replies      
Don't worry, everybody, I have a super-soaker.

...I have nothing to apologize for.

Ripgrep A new command line search tool burntsushi.net
637 points by dikaiosune  1 day ago   171 comments top 32
losvedir 23 hours ago 2 replies      
Meh, yet another grep tool.... wait, by burntsushi! Whenever I hear of someone wanting to improve grep I think of the classic ridiculous fish piece[0]. But when I saw that this one was by the author of rust's regex tools, which I know from a previous post on here, are quite sophisticated, I perked up.

Also, the tool aside, this blog post should be held up as the gold standard of what gets posted to hacker news: detailed, technical, interesting.

Thanks for your hard work! Looking forward to taking this for a spin.

[0] http://ridiculousfish.com/blog/posts/old-age-and-treachery.h...

ggreer 20 hours ago 7 replies      
I'm the author of ag. That was a really good comparison of the different code searching tools. The author did a great job of showing how each tool misbehaved or performed poorly in certain circumstances. He's also totally right about defaults mattering.

It looks like ripgrep gets most of its speedup on ag by:

1. Only supporting DFA-able Rust regexes. I'd love to use a lighter-weight regex library in ag, but users are accustomed to full PCRE support. Switching would cause me to receive a lot of angry emails. Maybe I'll do it anyway. PCRE has some annoying limitations. (For example, it can only search up to 2GB at a time.)

2. Not counting line numbers by default. The blog post addresses this, but I think results without line numbers are far less useful; so much so that I've traded away performance in ag. (Note that even if you tell ag not to print line numbers, it still wastes time counting them. The printing code is the result of me merging a lot of PRs that I really shouldn't have.)

3. Not using mmap(). This is a big one, and I'm not sure what the deal is here. I just added a --nommap option to ag in master.[1] It's a naive implementation, but it benchmarks comparably to the default mmap() behavior. I'm really hoping there's a flag I can pass to mmap() or madvise() that says, "Don't worry about all that synchronization stuff. I just want to read these bytes sequentially. I'm OK with undefined behavior if something else changes the file while I'm reading it."

The author also points out correctness issues with ag. Ag doesn't fully support .gitiginore. It doesn't support unicode. Inverse matching (-v) can be crazy slow. These shortcomings are mostly because I originally wrote ag for myself. If I didn't use certain gitignore rules or non-ASCII encodings, I didn't write the code to support them.

Some expectation management: If you try out ripgrep, don't get your hopes up. Unless you're searching some really big codebases, you won't notice the speed difference. What you will notice, however, are the feature differences. Take a look at https://github.com/BurntSushi/ripgrep/issues to get a taste of what's missing or broken. It will be some time before all those little details are ironed-out.

That said, may the best code searching tool win. :)

1. https://github.com/ggreer/the_silver_searcher/commit/bd65e26...

minimax 22 hours ago 1 reply      
In contrast, GNU grep uses libcs memchr, which is standard C code with no explicit use of SIMD instructions. However, that C code will be autovectorized to use xmm registers and SIMD instructions, which are half the size of ymm registers.

I don't think this is correct. glibc has architecture specific hand rolled (or unrolled if you will lol) assembly for x64 memchr. See here: https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/x86...

cwillu 16 hours ago 0 replies      
I wish more people actually took steps to optimize disk io though; my current source tree may be in cache, but my logs certainly aren't. Nor are my /usr/share/docs/, /usr/includes/, or my old projects.

Chris Mason of btrfs fame did some proof of concept work for walking and reading trees in on-disk order, showing some pretty spectacular potential gains: https://oss.oracle.com/~mason/acp/

Tooling to do your own testing: https://oss.oracle.com/~mason/seekwatcher/

jonstewart 1 day ago 1 reply      
Nice! Lightgrep[1] uses libicu et al to look up code points for a user-specified encoding and encode them as bytes, then just searches for the bytes. Since ripgrep is presumably looking just for bytes, too, and compiling UTF-8 multibyte code points to a sequence of bytes, perhaps you can do likewise with ICU and support other encodings. ICU is a bear to build against when cross-compiling, but it knows hundreds of encodings, all of the proper code point names, character classes, named properties, etc., and the surface area of its API that's required for such usage is still pretty small.

[1]: http://strozfriedberg.github.io/liblightgrep

_audakel 18 hours ago 0 replies      

Id like to try to convince you why you shouldnt use ripgrep. Often, this is far more revealing than reasons why I think you should use ripgrep."

Love that he added this

lobster_johnson 20 hours ago 1 reply      
Very nice. Not only fast, but feels modern.

Tried it out on a 3.5GB JSON file:

 # rg rg erzg4 k.json > /dev/null 1.80s user 2.54s system 53% cpu 8.053 total # rg with 4 threads rg -j4 erzg4 k.json > /dev/null 1.76s user 1.29s system 99% cpu 3.059 total # OS X grep grep erzg4 k.json > /dev/null 60.62s user 0.96s system 99% cpu 1:01.75 total # GNU Grep ggrep erzg4 k.json > /dev/null 1.96s user 1.43s system 88% cpu 2.691 total
GNU Grep wins, but it's pretty crusty, especially with regards to its output (even with colourization).

bodyfour 23 hours ago 2 replies      
It would be interesting to benchmark how much mmap hurts when operating in a non-parallel mode.

I think a lot of the residual love for mmap is because it actually did give decent results back when single core machines were the norm. However, once your program becomes multithreaded it imposes a lot of hidden synchronization costs, especially on munmap().

The fastest option might well be to use mmap sometimes but have a collection of single-thread processes instead of a single multi-threaded one so that their VM maps aren't shared. However, this significantly complicates the work-sharing and output-merging stages. If you want to keep all the benefits you'd need a shared-memory area and do manual allocation inside it for all common data which would be a lot of work.

It might also be that mmap is a loss these days even for single-threaded... I don't know.

Side note: when I last looked at this problem (on Solaris, 20ish years ago) one trick I used when mmap'ing was to skip the "madvise(MADV_SEQUENTIAL)" if the file size was below some threshold. If the file was small enough to be completely be prefetched from disk it had no effect and was just a wasted syscall. On larger files it seemed to help, though.

dikaiosune 1 day ago 0 replies      
Compiling it to try right now...

Some discussion over on /r/rust: https://www.reddit.com/r/rust/comments/544hnk/ripgrep_is_fas...

EDIT: The machine I'm on is much less beefy than the benchmark machines, which means that the speed difference is quite noticeable for me.

cm3 1 day ago 1 reply      
To build a static Linux binary with SIMD support, run this:

 RUSTFLAGS="-C target-cpu=native" rustup run nightly cargo build --target x86_64-unknown-linux-musl --release --features simd-accel

echelon 1 day ago 1 reply      
Rust is really staring to be seen in the wild now.
Tim61 23 hours ago 0 replies      
I love the layout of this article. Especially the pitch and anti-pitch. I wish more more tools/libraries/things would make note of their downsides.

I'm convinced to give it a try.

krylon 22 hours ago 2 replies      
When I use grep (which is fairly regularly), the bottleneck is nearly always the disk or the network (in case of NFS/SMB volumes).

Just out of curiosity, what kind of use case makes grep and prospective replacements scream? The most "hardcore" I got with grep was digging through a few gigabytes of ShamePoint logs looking for those correlation IDs, and that apparently was completely I/O-bound, the CPUs on that machine stayed nearly idle.

visarga 4 hours ago 1 reply      
Great tool. Does there exist a faster implementation of sort as well? I once implemented quicksort in C and it was faster than Unix sort by a lot, I mean, seconds instead of minutes for 1 million lines of text.
pixelbeat 1 day ago 1 reply      
Thanks for the detailed comparisons and writeup.

I find this simple wrapper around grep(1) very fast and useful:


fsiefken 1 day ago 2 replies      
nice, but does it compile and run on armhf? I don't see any binaries
xuhu 1 day ago 1 reply      
Why not make --with-filename default even for e.g. "rg somestring" ? That seems like it could hinder adoption since grep does it and it's useful when piping to other commands.

Is it enabled when you specify a directory (rg somestring .) ?

wamatt 18 hours ago 1 reply      
On a somewhat related note.

There does not appear be a popular indexed full-text search tool in existence.

Think cross-platform version of Spotlight's mdfind. Could there be something fundamental that makes this approach unsuitable for code search?

Alternatively, something like locate, but realtime and fulltext, instead of filename only.

justinmayer 19 hours ago 2 replies      
Anyone have any suggestions regarding how to best use Ripgrep within Vim? Specifically, how best to use it to recursively search the current directory (or specified directory) and have the results appear in a quickfix window that allows for easily opening the file(s) that contain the searched term.
qwertyuiop924 1 day ago 0 replies      
That is really cool. Although I think this is a case where Good Enough will beat amazing, at least for me (especially given how much I use backrefs).
h1d 18 hours ago 0 replies      
"if you like speed, saner defaults, fewer bugs and Unicode"

Warning - Conditional always returns true.

petre 23 hours ago 2 replies      
Does it use PCRE (not the lib, the regex style). If not, ack is just fine. My main concern with grep are Posix regular expressions.
AlisdairO 12 hours ago 0 replies      
Superb work, and a superb writeup. It's really great to see such an honest and thorough evaluation.
pmontra 21 hours ago 1 reply      
It looks very good and I'd like to try it. However I'm lazy and I don't want to install all the Rust dev environment to compile it. Did anybody build a .deb for Ubuntu 16?
hxn 20 hours ago 2 replies      
Looks like every tool has its upsides and downsides. This one lacks full PCRE syntax support. Does one have to install Rust to use it?
spicyj 23 hours ago 5 replies      
rg is harder to type with one hand because it uses the same finger twice. :)
serge2k 21 hours ago 1 reply      
> We will attempt to do the impossible

Oh well. Waste of time then.

chalana 23 hours ago 2 replies      
I'm never sure whether or not I should adopt these fancy new command line tools that come out. I get them on my muscle memory and then all of a sudden I ssh into a machine that doesn't have any of these and I'm screwed...
libman 22 hours ago 0 replies      
Tragically the news that LLVM is switching to a non-Copyfree license (see copyfree.org/standard/rejected) has ruined everything... Nothing written in Rust can be called Free Software. :(
kozikow 19 hours ago 2 replies      
1. Ag have nice editor integration. I would miss emacs helm-projectile-ag

2. Pcre is good regexp flavor to master. It is have good balance of speed, power and popularity. In addition to Ag, there are accessible libraries in many languages, including python.

I think it would be good if everyone settled on Pcre, rather than each language thinking they will do regexps better.

zatkin 21 hours ago 0 replies      
>It is not, strictly speaking, an interface compatible drop-in replacement for both, but the feature sets are far more similar than different.
wruza 17 hours ago 1 reply      

 ... $ rg -uu foobar # similar to `grep -r` $ rg -uuu foobar # similar to `grep -a -r`
I knew it. The name is absolutely ironic. I cannot just drop-it-in and make all my scripts and whatever scripts I download work immediately faster (nor is it compatible with my shell typing reflexes). New, shiny, fast tool, doomed from birth.

       cached 24 September 2016 16:02:03 GMT