hacker news with inline top comments    .. more ..    15 Jul 2017 News
home   ask   best   2 weeks ago   
Critical vulnerability found in Broadcom WiFi chip firmware nist.gov
84 points by rnhmjoj  2 hours ago   14 comments top 8
jwildeboer 3 minutes ago 0 replies      
Seems to be fixed in Android July security update. Not sure wrt iPhone, iPad.
nthcolumn 31 minutes ago 1 reply      
43224gg252 1 hour ago 1 reply      
So since this is in the firmware is it safe to assume that this affects all devices with the broadcom chip, regardless of what OS they're running?
andridk 19 minutes ago 0 replies      
Are there any tools out yet, to patch and check if your vulnerable?
0x0 55 minutes ago 0 replies      
It feels like we just had another massive wifi firmware exploit not too long ago. iOS 10.3.1 / CVE-2017-6975 / CVE-2017-6956 / https://bugs.chromium.org/p/project-zero/issues/detail?id=10...
qume 1 hour ago 1 reply      
Love my macbook pro (linux), but the broadcom chips are such a pain. Almost enough me to drop Apple hardware.

I think this has pushed me over the edge.

TekMol 37 minutes ago 1 reply      
Does this affect laptops running Linux? How do you know if you are vurnurable?
This is why I cant have conversations using Twitter (2014) antirez.com
90 points by bjerun  4 hours ago   32 comments top 9
feral 1 hour ago 7 replies      
Tech design choices can have profound social impact.

This is just a personal theory, but I suspect Twitter's choices have done huge damage to Western Civilization, by forcing, as a medium, a very short 'soundbite' structure onto debate. (Even more so than the media which gave us the term 'soundbite' ever did!)

So that sounds like a very overblown assertion, right?

But think about Trump. Twitter is his platform, and arguably he is the sort of President a platform like Twitter most directly enables. He gets direct unchallenged access to a mass medium, a mass medium which makes it particularly hard to counteract false claims or have reasoned debate. For exactly the issues Antirez is raising.

I don't have evidence to support my theory, all I can say is I don't think I want Twitter to succeed.

gkya 46 minutes ago 1 reply      
Twitter is annoying. I signed up a couple years ago to follow some local stuff's news, mostly events. Thus I followed 8-9 accounts that initially were of my interest, and started refreshing and reading my feed. All I got was the same 3-4 posts repeated annoyingly often, so that I had to fish for new things that sink below stuff reposted almost hourly since months. I though, well, maybe it's these accounts that I follow that don't know what to do, and started looking around. What I found is that there are 3 prominent Twitter stereotypes: (i) the reposter, which repeatedly posts the same thing and retweets anybody who mention them, (ii) the dumper, like news sites etc., which just vomit tweets at you one every other minute, and (iii) the spartan which speaks in semi-cryptic punchlines. Given the platform has no spam filtering or any way to indicate whether a post is seen or not, it's byzantine task to extract information from what you get served in your feed.
moxious 2 hours ago 2 replies      
Well the fundamental chosen limitations of the service seem to make it a bad choice for detailed technical arguments. But ultimately social networks are just about who is there. We talk about technical topics on twitter not because it's the right forum, but because the people we want to talk to are there.
hota_mazi 1 hour ago 1 reply      
If you're the kind of person who's comfortable writing texts of two paragraphs or more, you should completely avoid writing on Twitter, period. This will only lead to frustration and interaction with people who don't value the same level of quality writing as you do.
kelukelugames 24 minutes ago 1 reply      
My biggest regret is arguing with people on Twitter. It is not productive. Even less so than arguing on any other forum.
agentgt 1 hour ago 0 replies      
For service consistency we have been experimenting with the CV which is the standard deviation over the mean (with of course 99% as well being looked at).

I told someone we were looking at it and I too got a similar response.

ealexhudson 2 hours ago 0 replies      
(This is a few years old at this point..)
wfunction 2 hours ago 0 replies      
Seems like part of this could've been prevented by just tweeting with (1/) or (2/) in the beginning of multi-tweet posts.
kleiba 1 hour ago 0 replies      
Potentially relevant, since the article draws a comparison between twitter discussions and (what used to be) usenet discussions: https://en.wikipedia.org/wiki/Eternal_September

Twitter seems to support less of a netiquette, it's more point-and-shoot. Besides that, it seems intuitive that the 140 chars restriction lends itself less to discussions than proper forums.

Seeing AI for iOS microsoft.com
507 points by kmather73  13 hours ago   74 comments top 19
nharada 10 hours ago 4 replies      
Yes, YES, this is what I'm talking about Microsoft. I'm surprised how muted the reaction is from HN here.

On the technical side, this is a perfect example of how AI can be used effectively, and is a (very obvious in hindsight) application of the cutting edge in scene understanding and HCI. There are quite a few recent and advanced techniques rolled into one product here, and although I haven't tried it out yet it seems fairly polished from the video. A whitepaper of how this works from the technical side would be fascinating, because even though I'm familiar with the relevant papers it's a long jump between the papers and this product.

On the social side, I think this is a commendable effort, and a fairly low hanging fruit to demonstrate the positive power of new ML techniques. On a site where every other AI article is full of comments (somewhat rightfully) despairing about the negative social aspects of AI and the associated large scale data collection, we should be excited about a tool that exists to improve lives most of us don't even realize need improving. This is the kind of thing I hope can inspire more developers to take the reins on beneficial AI applications.

MrJagil 5 minutes ago 0 replies      
The videos explaining it are really nice https://youtu.be/dqE1EWsEyx4
mattchamb 8 hours ago 0 replies      
Just as an extra piece of information for people, the person presenting the videos in that page is Saqib Shaikh, who is a developer at Microsoft. Earlier on HN, there was a really interesting video of him giving a talk about how he can use the accessibility features in visual studio to help him code. https://www.youtube.com/watch?v=iWXebEeGwn0
Finbarr 28 minutes ago 0 replies      
I'm pretty blown away by this. I took a picture of myself in the mirror with the scene description feature, and it said "probably a man standing in front of a mirror posing for the camera". I took a picture of the room in front of me and it said "probably a living room". Think I'll be experimenting with this for days.
booleandilemma 11 hours ago 1 reply      
It correctly identified my refrigerator and bookshelf. Color me impressed.

Things like this make articles like this one seem silly: https://www.madebymany.com/stories/what-if-ai-is-a-failed-dr...

dcw303 12 hours ago 3 replies      
US App Store only at this stage it seems. Pity, I'd like to try this.

edit: I'm wrong. it's in other stores as well, but not in the Australian app store, which is the one that I tried.

coworkerblues 45 minutes ago 0 replies      
Does this mean RIP OrCam (the other startup form mobileye creator which basically does this as a full hardware / software solution) ?


ve55 9 hours ago 4 replies      
If I have a friend that is visually impaired and is using this, I have to consent to their phone recording me and analyzing me and sending all of that data off to who knows where.

And this is just from my perspective - someone who is not visually impaired. For the person who is, every single thing they look at and read is going to be recorded and used.

It's an unfortunate situation for people to put in, and I'm sure everyone will choose using improvements like this over not using them. As much as I would love to see a focus on privacy for projects like this, I don't imagine it happening any time soon, given how powerful the data involved is.

I imagine a future where AI assistants like this are commonplace, and there is no escaping them.

ian0 8 hours ago 2 replies      
Wow. You can imagine a near future where this, a small wearable camera and an earphone could really make a big difference to a persons daily life.

Screw Siri, thats a real AI assistant :)

engulfme 9 hours ago 1 reply      
If I remember correctly, this came out of a OneWeek project - Microsoft's company-wide weeklong hackathon. Very cool to see a final published version of this!
EA 11 hours ago 0 replies      
I am recommending this for my elderly family members with poor eyesight. This could greatly increase their quality of life.
vinitagr 6 hours ago 0 replies      
This is quite an amazing technology. With new products like HoloLens and this, i think Microsoft is finally coming around.
rb666 6 hours ago 0 replies      
Well, it needs some work, but pretty cool nonetheless, can see where it was going with this :)


parish 8 hours ago 0 replies      
I'm impressed. Good job MS
arized 3 hours ago 0 replies      
Looks amazing, I really need to dive into machine learning more this year... Waiting impatiently for UK release to give it a try!
ClassyJacket 11 hours ago 1 reply      
Not available in the Australian store. Ah, I forgot my entire country doesn't exist.
mechaman 6 hours ago 0 replies      
Does it do hot dog or not?
chenster 11 hours ago 1 reply      
LeoNatan25 12 hours ago 3 replies      
Whenever I take a picture with the camera button on the left, it shows a loading indicator and the app crashes. Not a great first impression. Coming from a company the size of Microsoft, such trivial crashes should have been caught.
On being the employee who needs improvement virtuouscode.com
79 points by jamiepenney  6 hours ago   51 comments top 13
pweissbrod 17 minutes ago 0 replies      
The key to being a successful remote worker is a foundation of trust. It is imperative to establish a reputation where your co-workers trust you to do the right thing even if you're not available every second of the day. The moral of the story is not about abusive bosses or misaligned corporate goals. It is a failure in maintaining that crucial level of trust in the team. Both manager and employee play a an active part in this trusting relationship. Personally I would never hire a remote worker I could not confidently trust nor would I work for a place that didn't implicitly trust me

Edit - I've been a remote worker for over 10 years and will likely continue as long as I possibly can

empath75 7 minutes ago 0 replies      
If you get to the point that you're on a personal improvement plan, you should immediately look for other work. There are no circumstances in which it will turn around.
humanrebar 3 hours ago 3 replies      
I don't know what the motivations for the bosses in this story were, but in corporate America personal improvement plans are fundamentally about gearing up to fire someone more than any actual improvement. When defending yourself against a wrongful termination lawsuit, it looks good to courts to say, "Look, we met every week, we had these conversations, and things didn't get better enough."

In the story linked, it seems like the author was prioritizing family or health over work at times (me: Good! We need more of that!). The employer can't just fire you for that as it looks a lot like wrongful termination. So they need to build up a paper trail.

ptero 1 hour ago 1 reply      
Leaving aside the clear miscommunication that led to the "needs improvement" state first, it seems to me the management did just fine after that:

1. They quickly and clearly told the employee of the problem.

2. They proposed a course of action

3. Their proposal worked (at the end they were happy with his work).

It was not pleasant for sure (for both sides, I bet), but would it be worse to say nothing and terminate him for non performance in a couple of extra months. My 2c.

darawk 3 hours ago 1 reply      
> and I had been taking advantage of the freedom to prioritize family needs when they came up. To the degree that sometimes my bosses were left hanging, waiting for a day or more on my work.

> From my biased perspective, it is difficult to see how these personal improvement programs for a disappointing employee can ever be a constructive force.

> By the end, they were quite happy with my work.

...sounds pretty constructive to me?

qaq 41 minutes ago 2 replies      
OK I've being working remotely for close to 10 years, most places were very flexible about hours and taking time during the work day for family things etc. But one things none was ever flexible about is remote employees dropping off com. channels for days. I think that is clear abuse of trust and the main fear why so few jobs are remote in the first place.
throwme_1980 2 hours ago 1 reply      
I honestly think your employers have been super generous already, one ought to know what is expected of him/her and realise they shouldn't leave themselves open to criticism by abusing the trust of the employer, always be in a positive balance, put in more than you take out and make sure it gets visibility.

I wouldn't keep someone who is not performing for whatever reason, because by the time I lose trust in that person, in my mind he's pretty much out of the door. Because this is business , it's not a charity , one is responsible for their own life.

As for those who say ' company culture and fairness ' I say your competitors are already eating your lunch

lr4444lr 22 minutes ago 0 replies      
The problem with posts like this is that we only get one side of the story. Bottom line, everyone - up to your top performer - "needs improvement", so the phrase is meaningless. The world isn't static, and if your employees don't demonstrate a reasonable interest in continual improvement, it's a bad sign. If am employee is operating unsatisfactorily now, objective benchmarks and timelines need to be set, not weekly meetings, unless the employee is asking for that level of feedback.
blowski 4 hours ago 3 replies      
My takeaway from this is that frequent 1 to 1s are a good idea for every single employee, from the day you start to the day you leave the company.

You need to use them for positive feedback as well as negative, and general chats about progress and ideas.

madeofpalk 1 hour ago 1 reply      
What an interestingly bizarre article.

What we're all missing is how these things were presented - were the managers being unreasonable dicks in the way they talked about

"Mismatched expectations" about availability aside, what does the author expect when they're supposedly letting their team down?

I've had a number of conversations with managers were they've told me I'm letting them down and I'm always incredibly grateful for them. Sure, they're sometimes hard to hear, but I would much rather to receive feedback early so I can act on it and be better at what I do.

Also not to mention how incredibly valuable I find regular peer-review cycles (last 2 companies I've been to do these every 6 months). They've always found it super helpful to be told what I should continue doing well and what I need to improve on. Does everyone want to be the best at what they do?

tiredwired 3 hours ago 1 reply      
It's important to know what parameters they use to determine who or what needs improvement. There have been times when a manager told me there was a problem and it turned out he had inaccurate information. The manager was looking at the wrong version, branch or had 3rd hand information. Managers have claimed to be unaware of what I was working on even with daily standups, task tracking and working a few desks away. Some managers are terrible.
dudul 1 hour ago 0 replies      
I'm not sure what this post is complaining about. Whatever is advocated at the end seems to be exactly what the managers at this company did.

How can the author say that they don't see the point in these plans what it appears that they were able to correct their behavior and stay at the company until it went under?

"By the end, they were quite happy with my work." Looks like the author is building this whole drama out of nothing.

Shivetya 1 hour ago 1 reply      
I find that PIPs tend to compensate for bad management in general. By that I mean I know where everyone is on their projects and weekly checkups are a norm, if not more than once. I know a few people who have been on PIP at work, I have don't know how many don't complete it but it does tend to correct their manager as well since HR follows through with insuring that the program is followed. It is a program, HR has a check list of items that must be met each week by both manager and employee. This tends to remove some of the stress on the employee as they do see both sides have to play ball.

that being said there have been a few put on PIP I think would be better separated. I guess from this standpoint it does serve to protect company interest.

I do know that working remote introduces all new problems, the hardest I had to learn was to not let myself be distracted and I actually ended up with a personal check list that became natural after a time. I now understand how to make sure those who get more than one WFH effectively use this privileged and keep it.

Google is releasing 20M bacteria-infected mosquitoes in Fresno techcrunch.com
413 points by chriskanan  16 hours ago   176 comments top 38
jimrandomh 16 hours ago 9 replies      
This is called the sterile insect technique, and it is a well-established practice for getting rid of mosquito populations that could threaten humans. It is very safe, both to humans (male mosquitoes don't bite) and ecologically (species other than mosquitoes aren't affected at all).

It sounds like Google is working on improvements to the process. This is important work, because mosquitos are a major cause of disease, especially in Africa, and we haven't been able to fully solve the problem with existing technology.

Keyframe 58 minutes ago 0 replies      
Unlike other questions, I'm interested in logistics behind this. How do you produce 20m mosquitos and where do you hold them? How do you transport them and how do you release them? How do you 'store' them and when releasing are most harmed, are they 'sprayed' or you 'open a box and they will go by themselves'? How do you decide where to release them? Is it all at once (1m per week) or is there a pattern, is it related to wind... so many questions!!

I wan't a documentary "How it's made: Mosquitocide". I'm willing to make one if someone can provide access to info and logistics.

WaxProlix 15 hours ago 7 replies      
I recall hearing when I was younger that mosquitoes were an outlier in the natural world. With most species, the balance of any food web would be pretty thoroughly disrupted by a major culling. As I heard it, this isn't the case for mosquitoes - if you could press a button and kill them all tomorrow, most ecosystems would be largely unimpacted.

Am I just making this up/misremembering it?

Edit: found a few sources.






sjcsjc 3 hours ago 0 replies      
"Verily, the life sciences arm of Googles parent company Alphabet, has hatched a plan to release a ..."

My immediate reaction on reading that sentence was to wonder why they'd written it in some kind of Shakespearean English.

My next reaction was to feel stupid.

polskibus 15 hours ago 7 replies      
Google, while you're at it, please find a way to eradicate ticks. They are getting more and more irritating and dangerous in Northern Europe!
sillysaurus3 16 hours ago 2 replies      
So whats the plan to get rid of them? Verilys male mosquitos were infected with the Wolbachia bacteria, which is harmless to humans but when they mate with and infect their female counterparts, it makes their eggs unable to produce offspring.

Thank goodness. We can't eliminate mosquitoes fast enough.

Wildlife will probably find other food sources, so bring on the weapons of mosquito destruction.

teddyg1 15 hours ago 2 replies      
Can someone with knowledge of this particular experiment explain how they've overcome the regulations that have stopped Oxitec / Intrexon with their aedes aegypti solution? They key regulatory factors cited against Oxitec, especially in their Florida Keys trials in the past year, were centered around controlling for the release of only males (which do not bite humans), thus avoiding transmission of any kind from the genetically modified varieties, or bacterially modified varieties in this case.

Oxitec has worked for years to filter their mosquitoes so only ~0.2% of the released mosquitoes are female[1]. They then had to demonstrate that and more in many trials before being allowed to release their mosquitoes in the wild in Panama and Florida.

Otherwise, it's great that Google can overstep the other factors that would stop this solution like NIMBYism and working with county / municipal boards. These solutions are great.


davesque 15 hours ago 3 replies      
I'm aware that this is a known technique and thought has been given to whether or not it will impact the food chain, etc. But I do wonder this: has anyone considered what the effect will be of removing this constant source of stimulation for our immune systems?
yosito 15 hours ago 1 reply      
It's interesting that Google is doing this rather than some government organization. What's Google's motivation? Is it purely altruistic, a PR move, an experiment, or does it have some direct benefit to them?
RobLach 6 hours ago 0 replies      
Just want to point out that a megacorp breeding and releasing a sterilization disease is pretty sci-fi. Also a mutation away from a Children of Men style dystopia.
sxates 15 hours ago 1 reply      
"You don't understand. I didn't kill just one mosquito, or a hundred, or a thousand... I killed them all... all mosquito... everywhere."
amorphid 15 hours ago 0 replies      
Reminds of when UC Riverside released some stingless wasps to prey on a whitefly infestation in Southern California. This was in the early 1990s.

I think this paper is relevant, but I only scanned it:


vinitagr 2 hours ago 0 replies      
This is some real breakthrough. I don't remember i have heard of anything like this before. Any amount of success with this solution will have a lot of consequences on other problems.
mrschwabe 27 minutes ago 1 reply      
No one should have the right to play god with our biosphere.
azakai 10 hours ago 0 replies      
Why is "Google" in the title? The only connection between Google and this company is that they share a parent company, Alphabet.
Raphael 15 hours ago 1 reply      
What an unfortunate headline.
dzink 12 hours ago 0 replies      
From what is explained so far, this process doesn't kill mosquitoes. It just makes sure that some of the females (that reproduce 5 times in a life of 2 weeks as an adult) get fertilized with unproductive eggs. http://www.denguevirusnet.com/life-cycle-of-aedes-aegypti.ht... The eggs of aedes aegypti can be spread anywhere and the fertile hatch whenever their area gets wet in the next year or so.

Does anyone know what % population reduction impact this process results in? They'd have males likely die after 2 weeks and that just wipes the reproductive chances of the females in that period. Google is treating for 20 weeks in dry weather, which is not exactly the peak reproductive season of this mosquito.

markburns 6 hours ago 0 replies      
Does anyone know why the mosquitoes wouldn't evolve to be repulsed by others infected in this way?

Or is this a similar class of problem to antibiotics becoming useless over time?

I.e. it's useful to do now so let's cross that bridge if we come to it?

Or is there something else I don't understand about this?

LinuxBender 15 hours ago 1 reply      
Does this prevent reproduction of the mosquitos, or of the disease? If mosquitos, will this have a negative impact on bats? My bats eat mosquitos and moths, but there are not many moths any more.
makkesk8 3 hours ago 0 replies      
I've never been interested in biology. But this is so cool! :O
phkahler 16 hours ago 2 replies      
I wish the other mosquito killing efforts would go forward.
Lagged2Death 15 hours ago 1 reply      
What kind of planning and permitting process does a project like this require?

Or would it be legal for me to just go and release a cloud of mosquitoes myself?

stanislavb 15 hours ago 2 replies      
All good. Yet I thought that was a responsibility of the gov... A big corp spending millions for free seems, you know, questionable
tcbawo 16 hours ago 1 reply      
I can't wait until the day we start releasing solar powered the mosquito-hunting drones.
Harelin 14 hours ago 0 replies      
For those of us who live in Fresno and are curious as to which neighborhoods are being targeted: Harlan Ranch and Fancher Creek. They say "communities outside of these areas will not be affected."
SubiculumCode 15 hours ago 0 replies      
I wish they'd do it in Sacramento where most of the mosquitoes live.
walshemj 2 hours ago 0 replies      
could we have a less clickbaity title
pcollins123 15 hours ago 0 replies      
Google is releasing 20M bacteria-infected mosquitoes in Fresno... wearing small cameras and a projector that can display text advertisements
WalterBright 10 hours ago 1 reply      
I'm curious how mosquitoes will evolve to beat this.
briandear 14 hours ago 0 replies      
First they came for the mosquitos, but I didnt speak up because I wasnt a mosquito. Next they came for the invasive fire ants and then we all cheered because mosquitos and fire ants were finally gone.
pcarolan 16 hours ago 2 replies      
unclebucknasty 15 hours ago 3 replies      
Wait. Is there no regulation around this? Any company or individual can cook up whatever specimen they want and simply release it into the environment en masse?

Am I missing something?

chris_wot 15 hours ago 0 replies      
At least they aren't attempting to go viral.
kuschku 15 hours ago 1 reply      
[As apparently people prefer hyping Google over questioning why a corporation has to do this in the first place, this comment has been deleted]
will_pseudonym 11 hours ago 0 replies      
What could possibly go wrong?
forgottenacc57 15 hours ago 2 replies      
What could possibly go wrong? (Eye roll)
ultim8k 15 hours ago 0 replies      
I came up with this idea last year! I didn't know someone was already building it.
Gpu.js GPU Accelerated JavaScript gpu.rocks
251 points by olegkikin  13 hours ago   62 comments top 20
dewhelmed 9 hours ago 1 reply      
From their post-hackathon devpost at https://devpost.com/software/gpu-js,

What I learned:Not to make a compiler during a hackathon.

jingwen 8 hours ago 1 reply      
I've built an animated raytracer using this library.


The compile-able JavaScript subset is still fairly limited, so vector operations are quite painful. Beyond that, it's a great library to start with for parallel computation in the browser if you have no background in WebGL/GLSL.

RubenSandwich 12 hours ago 1 reply      
One thing that might be helpful is if you linked to the Github repo on the site: https://github.com/gpujs/gpu.js. Especially for a project like this, high-performance computing, I'm gonna want to look at the code before I trust it.
AndrewKemendo 12 hours ago 0 replies      
I saw this a few months back when I was researching GPGPU implementations in the browser. It looked like one of the better projects out there. Do you know how much theoretical GPU allocation you can get from a JS implementation vs say a native wrapper?

Worth noting that Clarifai just released an SDK for offline mobile DL training/evaluation. Not browser based but I'd be curious what the difference in GPU utilization is practically.

andreasklinger 11 hours ago 2 replies      
Is js via gpu (WebGL i assume) already efficient enough to make the concept of "computation time instead of banners" finally viable?
daenz 13 hours ago 1 reply      
cool! shameless self-promotion, I wrote a similar thing for a blog post

travelling salesman in js+gpu: https://amoffat.github.io/held-karp-gpu-demo/


stared 1 hour ago 0 replies      
How does it compare to weblas (GPU Powered BLAS for Browsers, https://github.com/waylonflinn/weblas)?

I had in mind matrix operations for neural networks, as in https://github.com/transcranial/keras-js.

skrowl 13 hours ago 2 replies      
v0.0 Alpha

My project manager just hear "So, you're saying this is production-ready? Great!"

snarfy 11 hours ago 3 replies      
Things like this make me fear banner ads mining bitcoins (not that they aren't already).
codefined 3 hours ago 1 reply      
Is anyone else getting consistently slower speeds on their GPU compared with their CPU? I seem to be getting:

CPU: 0.426s 7.6%

GPU: 2.399s 4.7%

Running Chrome, Latest Stable. Windows 7. It seems odd to me that it would take 6x longer when my graphics card (GTX 690) would theoretically be much faster than my CPU (Intel i7-3930k)

netvarun 12 hours ago 1 reply      
Next steps: A computational graph based deep learning system with a Tensorflow like API on Javascript/Node lala-land.

https://github.com/tqchen/tinyflow would be a great showcase (and useful) project to port for Gpu.js

bhouston 13 hours ago 0 replies      
This is very similar to the idea of Sh/RapidMind (eventually acquired by Intel.)

Some details:


Never really took off. In the end OpenCL and CUDA were the winners in this space and OpenCL and CUDA, while explicit GPU languages, can be simulated on the CPU. I think this pattern will continue.

noobermin 12 hours ago 2 replies      
What is NUS, National University of Singapore?
sscarduzio 4 hours ago 3 replies      
After running these GPU benchmarks I had to reboot my Macbook because all my open windows went scrambled and unreadable.

Not sure what's the root cause for this.

ilaksh 11 hours ago 1 reply      
How does this compare to Turbo.js?
Nican 11 hours ago 1 reply      
I am curious, how does it get an AST from the JS, and compiles it to compute kernels?
gthinkin 12 hours ago 0 replies      
Super excited to experiment around with this.
tshiran 11 hours ago 0 replies      
This is cool
Abishek_Muthian 10 hours ago 3 replies      
A major caveat is, it's still JavaScript so the performance vary according to the browser apart from other variables.

Benchmark on iPad Air 2 iOS 10.3.2 is close for both chrome and safari.


CPU: 6.110s 1.9%GPU: 0.487s 1.0% (12.55 times faster!)

Chrome 59

CPU: 4.454s 51.8%GPU: 0.483s 0.9% (9.22 times faster!)

Project looks promising though, congratulations to the team.

50 days of postmarketOS ollieparanoid.github.io
159 points by ollieparanoid  10 hours ago   31 comments top 12
onetom 4 hours ago 2 replies      
Hm... It feels like pmOS would be an ideal host for running applications written in http://www.red-lang.org/

It has a very concise, cross-platform GUI DSL ("inherited" from Rebol) which requires a 1MB runtime only on top of the host OS' GUI system.

Look what can you build in ~7kB which can run on top of a 1MB runtime, not a 100MB browser...


A few years ago I've actually built an iPhone app launcher simulator in a few kilobytes which looked exactly the same on a PPC iBook, an x86 Mac Mini or a Windows PC...

justinsaccount 8 hours ago 3 replies      
Even if half of the hardware features don't work, having a working, standards based linux image for old cell phones is super useful for prototyping random IoT devices.

An old cell phone is like a raspberry pi, if a pi had a built in touchscreen, camera, microphone, battery, wifi, and gps.

bikamonki 7 hours ago 1 reply      
I quit Windows a few years ago (I'm fine now thanks for asking!). It took me a couple of hours from what is this Linux thing to dual boot, and a few months from everything proprietary to everything open source. Freedom feels awesome.

I long for the day where I can have the same feeling on my phone.

chatman 8 hours ago 0 replies      
Hope this becomes big, all the best. The beginnings are extremely promising. My biggest motivation behind seeing this succeed is that this is a free software alternative to Android.
smoyer 1 hour ago 1 reply      
Isn't this also what OpenWRT/ddWRT have accomplished? I wouldn't be surprised at all if there was a huge amount of synergy between those groups and pmOS since there has been so much work done on wifi and core machine management for the various router hardware that's around.
ipsum2 5 hours ago 0 replies      
I would love to see this be the Rockbox (www.rockbox.org) of smartphones. Best of luck! I'm excited to see this project progress.
fosco 8 hours ago 2 replies      
Nice! Now we just need approval for use over cell towers.

This is really exciting!

If there is a way for a laymen to help please provide some guidance, I'm comfortable tinkering around with Linux and breaking and fixing things but this looks a bit over my head.

Keep up the great work!

interfixus 6 hours ago 1 reply      
Amazing! Got an old HTC Desire with a cracked screen lying around. I know what I'm doing tonight.

As for the Alpine Linux it's based on, that stuff is seriously nifty in its own right. Any old decrepit box is a decent server with Alpine on it.

SJetKaran 4 hours ago 0 replies      
Nice! Waiting for OnePlus One support.
rtpg 5 hours ago 1 reply      
This is pretty amazing work. I'm very excited for the future here.

I do wonder if using linux will make battery management hard

ianai 8 hours ago 1 reply      
I want this to be a big thing.
Animats 6 hours ago 2 replies      
Making calls and other basic phone features do not work yet.

Um. That could be a problem.

I Have No Enemies: My Final Statement (2009) nobelprize.org
188 points by z3t1  6 hours ago   156 comments top 7
maaaats 4 hours ago 1 reply      
As an aside, even though the Norwegian government has nothing to do with the prize, China quickly ended lots of relations with Norway, losing Norwegian companies billions.

Now, the government is too afraid to publicly speak about Liu, to not sour what they have spent years trying to fix. Weak.

larrysalibra 6 hours ago 1 reply      
If aren't sure who Liu Xiaobo is or want to learn more, this essay by China expert Perry Link is excellent: http://www.nybooks.com/daily/2017/07/13/the-passion-of-liu-x...
throwa34943way 4 hours ago 8 replies      
To some in the west, China is a land of opportunities, a booming economy with tech giants and a supply chain for the industrial world. To others it's a bloody dictatorship that assassinated thousands of people for the sole crime of speaking their mind in 1989.

To me it's the embodiment of the hypocrisy of the west when it comes to the defense human rights. Let's be frank, we didn't abolish slavery, we just outsourced it to make it more acceptable. It's also a proof that capitalism doesn't need democracy or free-speech to function.

gentro 5 hours ago 7 replies      
You ever get the feeling this Nobel Prize and the western media's fawning coverage of Liu Xiaobo is really just about westerners making themselves feel better?

China will get democracy one day. It will be because a large swath of Chinese people want it. Although there have been some high profile dissidents in China over the last 30 years, including Liu Xiaobo and the 1989 students, most Chinese are probably not ready for their message of political openness. They're still focused on lower levels of the Maslow hierarchy like shelter and food.

These dissidents have the bad luck of poor timing. In another 30 or 40 years when China is fully developed, their ideas may be well accepted among citizenry and party reformers.

Elect2 4 hours ago 1 reply      
Now in Chinese weibo.com, if your message includes "javascript", it can not be sent and return "content is illegal!".A guess is that the word "javascript" includes "RIP".
TokenDiversity 6 hours ago 4 replies      
I'm surprised China gets away with so much! They recently banned kids from being named Mohammad. And had Imams dance. I wish our war-mongering republicans would switch their attention to countries that really violate human rights.

EDIT: Of course they do much worse, I was pointing to the fact that not a peep was heard on Fox or CNN.

zuolan 6 hours ago 3 replies      
As a Chinese, I need to clarify some facts.

I think that the Communist Party of China made a really big mistake, which caused a serious impact on China's national image. But I also do not agree with Liu Xiaobo's political views.

Finally, China's political environment indeed bad, but most of the Western media coverage distorted the facts, including the Liu Xiaobo event.

Tardigrade water bears could survive 10B years, astrophysicists claim washingtonpost.com
62 points by happy-go-lucky  10 hours ago   20 comments top 7
mrleinad 31 minutes ago 1 reply      
Vogons will take care of that pest. The superhighway can't be contaminated with those creatures.
type0 2 hours ago 0 replies      
This is basically how we'll end up with the Alien synopsis in the future. Look at them, the resemblance is quite astonishing: http://dinoanimals.com/wp-content/uploads/2016/04/Tardigrade...
jwilk 4 hours ago 3 replies      
> For an asteroid to deposit that much energy into the ocean, it would need a mass of at least 1.7 quintillion kilograms. Of all the asteroids in the solar system, only 19 fit the bill. (By way of comparison, the asteroid that finished the dinosaurs was six miles across; an asteroid called Vesta that is one of the potential ocean killers has a diameter of 326 miles.)

How much does a mile weigh?

writeonlymemory 2 hours ago 1 reply      
How much data could these things encode? The tardigrade may be the best candidate to preserve our history in the long shot.
unclebucknasty 14 minutes ago 0 replies      
Wonder what happens if one swallows a water bear.
tgjsrkghruksd 5 hours ago 1 reply      
Good for them, the little buggers. Here's to another half a billion years. I have no doubt they'll outlast humans.
amingilani 5 hours ago 1 reply      
If the movie Life were real, and Earth were the planet being sampled, those cuddly beasts would kill with their cuteness.
Giving my kids the option of starting a company over going to college unsupervisedmethods.com
5 points by RobbieStats  2 hours ago   2 comments top
Broken_Hippo 1 hour ago 1 reply      
I always knew kids that wanted to start their own business - at least in high school and college. I grew up poor-to-middle class, nothing special, living in Indiana. I'm about 39 now. Some folks just don't consider it so young, just like changing professions in one's late 20's. It usually goes along with the dream of not having to answer to a boss and/or working hours one wants to work, but not always.

But I do think more folks would try if they could take the college money and invest it in things like starting a business, no matter what the business is, and wish more folks had this option.

Show HN: Quilt manage data like code quiltdata.com
301 points by akarve  19 hours ago   150 comments top 30
tannhauser23 2 minutes ago 0 replies      
I met one of your founders at an event recently. Very impressive product! Good luck to you all.
akarve 19 hours ago 15 replies      
Hi, I'm one of the founders of Quilt Data (YCW16). We built Quilt to bring package management to data. The goal is to create a community of versioned, reusable building blocks of data, so that analysts can spend more time analyzing and less time finding, cleaning, and organizing data.

Our general inspiration is to create a new kind of data warehouse based on code management practices that haven't yet reached the data domain.

Feedback welcome. Ask me anything.

smilliken 18 hours ago 5 replies      
It's outrageous how little tooling support there is for version control in data compared to code. Every mainstream database forgets history with updates, don't support distributed workflows, don't support commit ids as first class objects, or most other basic features of VCSs. Databases just aren't a solution to version control.

I can't imagine a future where we don't treat data version control like a necessity in the same was as code version control. I hope Quilt can fill the much-needed role of "Github for data".

rspeer 13 hours ago 2 replies      
I'm very excited. I want to use this to version ConceptNet's raw input and its built data, all of which is public.

So I can assume this isn't going to be afraid of gigabytes, right? I've seen services before that want to be a repository of data, and I try to upload a mere 20 GB of data and they're like "oh shit nevermind". Even S3 requires it to be broken into files of less than 5 GB for some inscrutable reason.

stewbrew 16 hours ago 3 replies      
It looks like a plain html page but requires JS to view anything except: "Please enable JavaScript to use this site." What a wonderful time to live in.

Anyway, do I get this right: They expect users to be experts in data analysis but not being able to load the data into whatever software they use? They want me to share data and to offload my data into their walled garden that can be accessed only via their service? If I wanted to share my data, wouldn't I rather use something more accessible?

edraferi 16 hours ago 0 replies      
This looks like a cool project -- always glad to see new tools for statistical collaboration and reproducible research.

How does this compare to what data.world [1] is doing? They recently released a Python SDK [2] as well.

[1] https://data.world/[2] https://github.com/datadotworld/data.world-py

gouggoug 17 hours ago 2 replies      
This makes me think of http://www.pachyderm.io/. Although Quilt seems to be more like github for data, whereas Pachyderm is more like git for data.
sixdimensional 16 hours ago 1 reply      
I think it was a really interesting (and smart) choice to convert to Parquet format. Columnar storage is so much more efficient, and working with data in Parquet is pretty fast using the engines they mention (Apache Spark, Impala, Hive, etc.).

I actually had been thinking about Parquet as a component of ETL, and if it might be possible to make ETL many times faster by compressing to Parquet format on the source and then transmitting to a destination - especially when you're talking about limited bandwidth situations where you need entire data sets moved around in bulk.

This looks really nice for sharing public data sets, but I wish that there was a better public non-profit org running indexes of public data sets.... I guess if something like the semantic web had ever taken off, then the Internet itself would be the index of public data sets, but it seems like that dream is still yet to materialize.

geraldbauer 4 hours ago 0 replies      
FYI: I've built a datapackage manager called datapak in ruby [1][2]. datapak supports the tabular datapackages (.csv with .json schema) from the frictionless data initiative (by the open knowledge foundation). All open source and public domain. See some examples such as the Standard&Poors 500. By default the datapackage gets auto-added from .csv to an in-memory SQLite database for easy querying etc. Thanks to ActiveRecord you can use PostgreSQL, MySQL, etc.

[1] https://github.com/textkit/datapak[2] http://okfnlabs.org/blog/2015/04/26/datapak.html

dawiddutoit 1 hour ago 0 replies      
Awesome idea. Have you thought about a marketplace perhaps? Say for instance I create a package with all the cities in the world or all species of canine, host it in a marketplace and others can buy that data package to use in their own projects.
fredcash25 19 hours ago 1 reply      
How is this different/the same as the DAT project (https://datproject.org/ and https://github.com/datproject)?
reggieband 18 hours ago 2 replies      
I think you're missing a trick with the pricing. My guess is the real money will come once data is treated like a commodity. So the big, big money will be in brokerage's and exchanges.

Paying flat fees for access to repos is fundamentally thinking about the problem incorrectly.

forkLding 19 hours ago 1 reply      
Is there an option to be able to sign up using Github? That would make life much easier for me.
tzm 19 hours ago 2 replies      
Thanks for releasing. Looks useful and aligned with several projects I've worked on.

The first thing I looked for was a canonical package / resource specification in build.py. Any chance supporting Frictionless data resource spec for interop?


azag0 18 hours ago 1 reply      
I am a scientist who sometimes publishes data sets with academic papers and this looks super useful both as a tool and as a potential publishing best practice. Currently doing away with HDF5 and figshare. One necessary future for academia would be to be able to assign a DOI to a given version of data. Is it feasible for quilt to have such a feature?
pinhead 18 hours ago 1 reply      
Not to be confused with http://quilt.io/
fiatjaf 18 hours ago 1 reply      
What does this do that cannot be done with git or similar software + data stored in some standard format?
hfourm 19 hours ago 0 replies      
Hey, website did a good job of explaining what you are within like 2 seconds. I like
dpiers 18 hours ago 1 reply      
Wow - this looks like it would be really useful for us, and fits perfectly with our existing processes. I am building out the data analytics function on the Internal Audit team at Uber, and one of our challenges is that we have to pull and manage data from different business systems, and be able to track which version of a data set a report/analysis was run against.

It would be really cool if quilt could generate documentation for datasets, even if it was just column names/types. One of the issues we have is keeping track of all of the data "assets" people have pulled or created.

temuze 18 hours ago 1 reply      
This is great! I was looking for something like this for a while.

You guys should make the search bar a little more prominent. Took me a while to find it!

jinjin2 13 hours ago 1 reply      
I would love if someone did this with http://realm.io, so that the data could be "live" and multiple users could collaborate on it in realtime.
servilio 17 hours ago 1 reply      
What's the difference with CVMFS[1] and Nix[2]?

[1] http://cernvm.cern.ch/portal/filesystem[2] http://nixos.org/nix/

wodenokoto 15 hours ago 2 replies      
The workflow I would have imagined for versioning data is:

1) Load original data from source into quilt

2) Do transformation

3) Commit transformations to quilt, with commit message

4) Run experiment

5) Do new transformations

6) Commit to quilt

7) Run experiment

Rinse and repeat.

Looking at the video and documentations, this is not emphasised at all, suggesting that edits to data should be saved as a new package.

mdevere 16 hours ago 3 replies      
Hey, this sounds really interesting and I'd like to play around with it. However, I'm a novice and run into the following issue:

>>> examples.sales


No idea what a DataNode is so am struggling to actually see the data! Any tips?

torchous 18 hours ago 2 replies      
Any thoughts on adding DOIs? It's a complex subject wrt versioning, in particular (new DOI per version? How to keep track?). It would help tremendously with the academic community; for the bean counting.
nosefouratyou 11 hours ago 1 reply      
What's the difference between Apache Parquet and Apache Arrow? They are both columnar formats right?
anon1253 17 hours ago 1 reply      
ah- 18 hours ago 1 reply      
How much of it is open source? Can I run my own?
synaesthesisx 18 hours ago 0 replies      
This is great - looking forward to seeing the available datasets grow!
huac 18 hours ago 1 reply      
No charge for bandwidth?
Claude Shannon at Bell Labs ieee.org
95 points by woodandsteel  12 hours ago   16 comments top 5
keithpeter 3 hours ago 0 replies      
Interesting links off the OA to the generation after Shannon who implemented a lot of the ideas.

>> Reflecting on this time later, he remembered the flashes of intuition. The work wasnt linear; ideas came when they came. One night I remember I woke up in the middle of the night and I had an idea and I stayed up all night working on that. <<

Do people think that putting Shannon somewhere like the Institute for Advanced Study would actually have quickened up his thinking? Or is a level of distracting background activity actually helpful?

losteverything 1 hour ago 1 reply      
What jumped out was the mere mention of the draft (wwii). I even looked it up.

The narrative my wwii relatives give is everyone enlisted. If you didnt there was shame that required an explanation

chubot 8 hours ago 3 replies      
This sounds like a promising book. I read the The Idea Factory a few years ago, which is a related and fantastic book about the history of Bell Labs.

Around that time I came across an interesting idea. I don't remember if it was in the Idea Factory, or in material I read afterward, but it's related to one of central ideas from this excerpt:

The sender no longer mattered, the intent no longer mattered, the medium no longer mattered, not even the meaning mattered: A phone conversation, a snatch of Morse telegraphy, a page from a detective novel were all brought under a common code.

The idea I came across is that:

 Shannon's information theory, devised at AT&T, indirectly led to the demise of AT&T's monopoly.
Before Shannon, there was no concept of the information-carrying capacity of a wire. And AT&T's monopoly was largely due to it having the biggest set of wires, which as you can imagine were expensive to deploy in the 19th/20th century. I remember that calling California from NYC was a huge achievement, precisely because of the number of physical wires that had to be connected. AT&T was the first to offer that service.

So I think the argument was that it made economic sense for a single organization to own all the wires, so it could maintain them with a set of common specifications and processes. But if you can reduce every wire to a single number -- its information-carrying capacity -- then this argument goes out the window. You can use all sorts of heterogeneous links made by different manufacturers and maintained by different companies.

(I'm not sure if this is historically accurate, but technically it sounds true.)

So my thought was that there's an analogous breakthrough waiting to happen with respect to cloud computing. Google and Facebook have information monopolies based on centralized processing of big data in custom-built data centers. Likewise, AWS has a strong network effect, and is hard to compete with even if you have billions of dollars to spend.

So my question is: Is it possible there will be a breakthrough in decentralized distributed computing? And could it make obsolete the centralized cloud computing that Google/Facebook/Amazon practice? Just like AT&T had no reason to be a monopoly after Shannon, maybe a technological breakthrough will be the end of Google/Facebook/Amazon.

Maybe this idea is too cute, and you can poke holes in it on a number of fronts, e.g.:

- Shannon's ideas were profound, but they didn't actually bring down AT&T. AT&T was forcibly broken apart, and there are still network effects today that make re-mergers rational.

- Centralized distributed computing will always be more efficient than decentralized distributed computing (?) I'm not aware of any fundamental theorems here but it seems within the realm of possibility. (EDIT: On further reflection, the main difference between centralized and decentralized is trust, so maybe they're not comparable. Decentralized algorithms always do more work because they have to deal with security and conflicting intentions.)

But still I like the idea that merely an idea could end an industry :)

Relatedly, I also recall that Paul Graham argued that there will be more startups because of decreasing transaction costs between companies, or something like that. But it still feels like the computer industry is inherently prone to monopolies, and despite what pg said, the big companies still control as much of the industry that Microsoft did back in the day, or maybe more.

B1FF_PSUVM 3 hours ago 0 replies      
> many of Shannons colleagues found themselves working six days a week.

Hmm. Was the 5 day work week common by 1940?

I have a notion that we went from Sunday off only, to Sunday plus Saturday afternoon, then Sunday plus Saturday off. Not sure when that happened, or where it started.

dabber 11 hours ago 2 replies      
Hmm, ieee.org still has Flash ads


Sorry maybe not a flash ad. Upon further inspection it was an iframe whose contents were blocked by my ad blocker, presenting me with that grey box in chrome. I'm not going to disable it to check what it actually is.

Writing RNNs in Tensorflow n-s-f.github.io
99 points by jacobianjacob  14 hours ago   9 comments top 2
ganeshkrishnan 35 minutes ago 1 reply      
Are RNNs ideal to process non-textual time series information?

We are looking to replace our Arima models with RNNs and the results so far has been far from satisfactory.

The usecase is: based on sale quantity in past year, predict the sale quantity tomorrow.

Regression does not consider weekdays or weekends or similar bumps and we thought RNN w/LSTM would be well suited for this problem

greato 9 hours ago 2 replies      
I read the article and seems to be well-written though lacking.

For even more customized RNNs such as attention mechanism, beam search as in Seq2Seq, you'll need to skip the tf.dynamic_rnn abstraction and use a symbolic loop directly: tf.while_loop

Yanni An artificial neural network for Erlang ikura.co
187 points by _nato_  20 hours ago   63 comments top 14
fenollp 19 hours ago 4 replies      
It uses `array` (somewhat mutable Erlang structure) and NOTP (no idea how it makes code "zippy" and the repo [1] does not explain anything... it seems to be bypassing the normal way modules are loaded?).

I am unsure why anyone would use Erlang for number crunching. Training neural nets is basically just multiplying big matrices. I was hoping this project would come up with an interesting approach (how about using SIMD on the binary comprehensions that can use it? now that would be cool) but performance / memory usage does not seem to be looked at here.

It is naive / uneducated to think that "Erlangs multi-core support" + distributedness will enable many things for you. How does the VM scale on 32, 64 threads? Have you tried making a cluster of 50+ VMs? Unfortunately Erlang Solutions Ltd.'s marketing has hyped many.

I am not against projects like these, I am just looking for reasons behind the choices made.

[1]: https://bitbucket.org/nato/notp/src

nukifw 28 minutes ago 0 replies      
Nice work ! At Dernier Cri, we begon a similar work : https://github.com/derniercri/multilayer-perceptronBut we were far less advanced than you!
slezakattack 19 hours ago 0 replies      
This is a neat idea but it would be great if there was a bit more substance to the post. Do we have any performance benchmarks? Why would I consider it a strong contender? Stating "multi-core support" to me is not necessarily scaling.

I'm in no way an expert, but I work in Erlang in my day job and just glancing at the repo, this solution can't possibly be performant. A) Erlang is slow at math. B) Arrays don't have O(1) access(ETS tables might be able to help with this). C) You can't scale this solution with more Erlang nodes(without some additional work).

I really like Erlang and want to evangelize it but I don't think this is a good way of doing it. I only see this as a neat toy but not a selling point for using Erlang..

As a side note: I noticed the repo has a feature note about adding NIF's for performance bottlenecks (native C code for Erlang to talk to). If you end up writing C code, then what are you gaining from Erlang?

Cieplak 19 hours ago 2 replies      
My favorite ML book is still the Handbook of Neuroevolution Through Erlang. A bit pricey but you can borrow my copy if you're in SoMa.
JamesUtah07 20 hours ago 2 replies      
Looking forward to a Elixir wrapper for this.
lgleason 19 hours ago 1 reply      
They should use this as the photo for the website ;) https://upload.wikimedia.org/wikipedia/en/b/b1/Nightbird_%28...
hartator 17 hours ago 1 reply      
Isn't Erlang good for concurrency but bad at math performance?
buttershakes 16 hours ago 1 reply      
I really wish there was a way to do inline optimized code, i.e a gen_server that transparently wraps another language without having to get into nif / external servers. Basically an abstraction that hides all of that cruft and builds optimized gen_servers for doing number crunching or heavy processing. Maybe I'm just being lazy. :)
Ono-Sendai 18 hours ago 1 reply      
If you use one Erlang node or whatever per neuron, it's gonna be slow as f*ck.
toisanji 19 hours ago 0 replies      
I wonder if you could make computation run faster by configuring the network to cut up the work into gpu vs non gpu work and have each node efficiently process the work and then have the results reassembled.
bitmapbrother 18 hours ago 1 reply      
I'm not sure how I feel about a ML project using the name of one of the greatest instrumentalists in history.
brandonhsiao 18 hours ago 1 reply      
What is the 1-to-1 mapping between the Erlang concurrency model and neural networks?
artur_makly 19 hours ago 0 replies      
and it also plays a sexy clarinet??
fizixer 19 hours ago 1 reply      
Cracking the code behind Apples App Store promo card design equinux.com
227 points by reklawnos  18 hours ago   50 comments top 12
rhythmvs 6 hours ago 0 replies      
That mysterious font actually is an adaptation of one of the oldest typefaces around specifically designed for optical character recognition. OCR-B (1968), by Adrian Frutiger. Its used everywhere still, on credit cards, wire transfer forms, license plates, etc. etc. Its even an industry standard (ISO 1073-2:1976).


So, its as custom as Apples (pre San Francisco) systemfont Myriad, compared to Frutigers Frutiger, who said of the adaptation: not badly done while feeling that the similarities had gone a little too far https://en.wikipedia.org/wiki/Myriad_(typeface)

huhtenberg 16 hours ago 1 reply      
It's likely that they use custom font not as a deterrence measure, but merely because it's specifically designed to simplify their recognition code.
amatecha 16 hours ago 0 replies      
At first I thought this was going to be some kind of sketchy "keygen" thing, but I was glad to see they've just deciphered the way to make your own iTunes-scannable promo code printouts! Very cool. :)
userbinator 8 hours ago 1 reply      
I feel like I've seen that font before, on non-Apple electronic products, where it was used for similar serialisation and part numbering purposes. It actually looks like a monospace version of http://www.identifont.com/find?font=code&q=Go

I wonder if Apple actually designed this font, or just asked for permission and extracted it from the built-in font of some industrial printing machine.

kchr 1 hour ago 0 replies      
> Or you could use Mail Designer Pro to share your promo codes, e.g. to send a nice promo code email to a journalist. It adds a bit of magic to the experience if your email is scannable

Yeah, sounds very convenient... How exactly would that work?

thebiglebrewski 17 hours ago 1 reply      
Wow this is really cool! So how do you get the promo codes at all? Do you buy those through an API?

Are you considered Apple will shut you down somehow?

kevincox 4 hours ago 1 reply      
Can someone explain what these promo codes are for? If they are just scanned by iTunes wouldn't you need to register them somehow in order for them to be useful?
raldi 9 hours ago 1 reply      
> Surrounding box, w/ proportions of the box (ratio 3 width : 1 height)

I don't understand this part. The aspect ratio of the box seems much more extreme than 3:1.

dingo_bat 8 hours ago 1 reply      
Any technical reason not to use a QR code?
Macsenour 16 hours ago 1 reply      
Am I right in assuming that we could use this in our apps to do different things other than a promo?
tiirbo 16 hours ago 0 replies      
Very cool stuff.
mschuster91 16 hours ago 3 replies      
So does this mean that the iPhone camera is always awake and scanning for said box with code?!
Activity inequality stanford.edu
71 points by mgalka  13 hours ago   15 comments top 2
cbanek 12 hours ago 2 replies      
I don't disagree that people aren't getting all the steps they need, but it seems like there's a pattern where hotter areas have less 'activity' (step count).

Central America, Northern South America, Northern Africa, and the Middle East seem particularly bad.

Looking at the "walkability" graph, you see that a lot of the cities listed as the worst (Arlington, Forth Worth, San Antonio) are in Texas, where it's pretty hot.

Living in Las Vegas, I totally get this. You just don't go outside in the day time, which can put a crimp on activity.

On the flip side, in the winter it's very nice, and is the perfect time to go outside and get some exercise.

tabeth 11 hours ago 4 replies      
1. Demographics are not controlled for

2. Temperature variations are not accounted for.

3. "The cost to exercise" (e.g. cost to live in walkable areas, average cost of gyms, etc.) is not accounted for.

Furthermore, the website (haven't read the paper yet) implies walkability is always good. Walking around during the summer time in a hot climate like Texas will get you killed [1]

The analysis is obviously good, however it basically says what's already obvious, rich people exercise more (in the case of United States). Is there something inherent in the areas that make people more or less likely to exercise or is it the demographics? Most of the evidence points to the latter. This raises the question: since you inherently can't change your demographic, what difference does it make?

[1] This happened just a couple weeks ago:


The Vatican's Latinist newcriterion.com
132 points by jthnews  18 hours ago   46 comments top 11
pmoriarty 16 hours ago 2 replies      
Anyone interested in this might enjoy reading about Cardinal Giuseppe Mezzofanti[1] and other "hyperpolyglots" in Michael Erard's Babel No More.[2]

An excerpt from the Introduction:

"...Mezofanti liked to quip that he knew 'fifty languages and Bolognese.' During his lifetime, he put enough of those on display -- among them Arabic and Hebrew (biblical and Rabbinic), Chaldean, Coptic, Persian, Turkish, Albanian, Maltese, certainly Latin and Bolognese, but also Spanish, Portuguese, French, German, Dutch, and English, as well as Polish, Hungarian, Chinese, Syrian, Amharic, Hindustani, Gujarati, Basque, and Romanian -- that he frequently appeared in rapturous accounts of visitors to Bologna and Rome. Some compared him to Mithradates, the ancient Persian king who could speak the language of each of the twenty-two territories he governed. The poet Lord Byron, who once lost a multilingual cursing contest with Mezzofanti, called him 'a monster of languages, the Briareus of parts of speech, a walking polyglott, and more, -- who ought to have existed at the time of the Tower of Babel, as universal interpreter.' ...

"On one occasion, Pope Gregory XVI (1765-1846), a friend of Mezzofanti, arranged for dozens of international students to surprise him. When the signal was given, the students knelt before Mezzofanti and then rose quickly, talking to him 'each in his own tongue, with such an abundance of words and such a volubility of tone, that, in the jargon of dialects, it was almost impossible to hear, much less to understand them.' Mezzofanti didn't flinch but 'took them up singly, and replied to each in his own language.' The pope declared the cardinal to be victorious. Mezzofanti could not be bested."

[1] - https://en.wikipedia.org/wiki/Mezzofanti

[2] - https://www.amazon.com/Babel-No-More-Extraordinary-Language/...

eru 21 minutes ago 0 replies      
> Fosters model has proven to be imitable (though his energy and expertise is notPaideia last year used six teachers to cover what Reginaldus would do alone).

I wonder if that can be ported to eg math education?

hyperdunc 39 minutes ago 0 replies      
Bill Maher called this guy Father Maverick when he interviewed him for the movie Religulous. The interview is quite amusing and can be found on YouTube.


DrScump 11 hours ago 2 replies      
My favorite quote:

About this method he said, You dont need a hydrology course to learn to swim. You dont point at the water and say, This is water, this is how water works. you just throw the babies in.

GnarfGnarf 16 hours ago 4 replies      
I wish I had had a teacher like that when Latin was being shoved down my throat. I so rebelled, I knew less Latin in my sixth year than I did in my fourth. The wasted hours of rosa, rosam, rosae, rosa.

However, it did enable me to become fluent in Spanish in two months. Fluent enough to teach high school physics, in Spanish, at the Instituto Americano of La Paz.

scop 17 hours ago 3 replies      
I have read many articles across different blogs all highlighting Foster's amazing career. I studied Latin in high school and regret that I was not more engaged at the time. I am thrilled to learn of the publishing of 'Ossa Latinitatis Sola' and will take it as an opportunity to give Latin another, more purposeful, go in the near future.
0xCMP 17 hours ago 2 replies      
The industry we do I think we are well suited to appreciating the devotion you can give to a craft or knowing something well.

It's pretty inspiring and also shocking how someone could be so devoted to something for so long and how little it gave him other than what he intrinsically got from it.

We should be thankful that we live in a perfect time for those of us who want to devote ourselves to engineering and computer science can also reap rewards which let us have the freedom to live the lives we want. Just because what we do is useful or hard doesn't mean it needs to be financially fulfilling.

pmoriarty 16 hours ago 0 replies      
Here's a video of Foster teaching a letter of Cicero:


tdumitrescu 7 hours ago 0 replies      
Previous discussion when first published a few months ago: https://news.ycombinator.com/item?id=13789097
mncharity 7 hours ago 0 replies      
> What the book cannot give, of course, is the experience of [...] strolling through the streets of Rome with him. For that we will need his likeor to wait for the Reginaldians to start writing memoirs.

Shouldn't someone point these folks at VR headsets and livestreaming stabilized 360deg video? It doesn't matter that he can't walk and is stuck in the US. With someone to be his walking and conversation companion in Rome, and to hold his eyes, he could walk Rome every morning, telling stories, and recording it for posterity.

sumobob 14 hours ago 0 replies      
I took latin in High School and loved it, thanks for posting this, it reminds me to get back into it
Erlang NOTP: a middle way ikura.co
59 points by setra  15 hours ago   8 comments top 4
jkingsbery 2 hours ago 1 reply      
This seems much simpler than what one would normally have to do, but still not as simple as getting started in Ruby or Python or Node.js (or even Java).
fenollp 14 hours ago 1 reply      
Still no explanation whatsoever of what this is doing.

Anyone knows what mystery "the final few pages in the Joe Armstrong 2nd edition Erlang book" hold?

Cieplak 14 hours ago 1 reply      
In case you're like me and have no idea how to navigate bitbucket:


hosh 8 hours ago 0 replies      
This might make Erlang practical for FAAS. I also wonder if this will work with Elixir (since Elixir might have extra modules being loaded in too).

I'm not sure why one would do that as opposed to say, running things with JavaScript (ubiquity) or Ruby/Python (library support). I like Elixir, though I recognize that many of Erlang's advantages is in concurrency and control.

Australian PM Calls for End-To-End Encryption Ban eff.org
143 points by theunamedguy  10 hours ago   73 comments top 13
gingernaut 8 hours ago 6 replies      
Pushed on how encrypted messages could be read when service providers don't hold the keys necessary decryption, and Turnbull had this to say:

Well, the laws of Australia prevail in Australia, I can assure you of that. The laws of mathematics are very commendable but the only laws that applies in Australia is the law of Australia.


chrischen 30 minutes ago 0 replies      
I wish the gun nuts in the US realize that the constitutional protection of gun rights was drafted in a time when guns weren't niche and were necessary as a check on government power.

Today, encryption is a check on government overreach, and guns are effectively a vestigial hobby (unless you're in a gang or the illicit drug industry).

jacques_chester 9 hours ago 2 replies      
I see that we Australians have resumed our international role as laughing-stock of the technology industry. As much as I disagree with the Greens generally, losing Scott Ludlam at this moment is a serious loss.

For those of you able to donate, the equivalent of the EFF in Australia is the EFA: https://www.efa.org.au/

openfuture 7 hours ago 1 reply      
"Terrorists are now only allowed to use waterpistols, this should dramatically lessen casualties and help with identifying them"
daxfohl 6 hours ago 1 reply      
May as well let's ban talking. Wait, and thinking too! Except for dickheads that run for office because ... (somebody smarter and better connected than me please end this sentence in a way that makes sense).
wisty 8 hours ago 2 replies      
As I understand it, it means banning end to end communication between clients. So you can chat over https, but only if the server in the middle (which can be served warrants) is doing the encryption.
blubb-fish 1 hour ago 0 replies      
and I thought he's a good and smart guy because he made fun of trump.
forgottenacc57 2 hours ago 0 replies      
It's stupid cause it doesn't solve the problem it is intended to.
type0 3 hours ago 0 replies      
You just can't turn the bull, all pun intended.
chris_wot 8 hours ago 1 reply      
He didn't say that when he was using end-to-end encryption.
openfuture 7 hours ago 1 reply      
"Terrorists are now only allowed to use waterpistols, this will dramatically lessen civilian casualties and help us identify them"
lngnmn 6 hours ago 0 replies      
Instead of better education, social security and jobs creation...
Path Guide: A New Approach to Indoor Navigation microsoft.com
40 points by petethomas  14 hours ago   5 comments top 5
benzi_a 8 hours ago 0 replies      
Using geomagnetic interference data for indoor positioning has already been in place for some time, but glad to see it getting more traction in adoption.

The original researchers have started a PaaS solution providing an API that you can hook into your apps today, allowing you to get (lat, lng) coordinates inside mapped structures. One needs to build path-finding on top of that though.


noja 6 hours ago 0 replies      
Another Android app won an award from Google several years ago for allowing you to easily share directions with other people. It looks a lot like this one. You would take photos of waypoints and add them onto a map. I think it was called Breadcrumbs. Unfortunately it is no longer developed.
troymc 7 hours ago 0 replies      
I went to install it on my Samsung Galaxy S5 Neo but Google Play said it couldn't be installed in my country (Germany).

The most interesting feature to me is the ability to add annotations along the way. I'd use that to describe wayfinding points, such as "the elevator" or "the giant ice cream cone."

neaanopri 10 hours ago 0 replies      
The easiest use case I can see is as a way for people to record where things are in a new office building, e.g., the route to the bathroom or supply closet. Then you could share the routes, though the bathroom example might not be one people want to share. Alternatively the office manager could create and share indoor routes.

This would also work well for an airport.

robertelder 10 hours ago 0 replies      
Crowd-sourcing the data is going to cost less, but this will also produce lower quality results. I think that's why all the pros use Mappedin:


Computation in Physical Systems stanford.edu
53 points by lainon  14 hours ago   6 comments top 3
strainer 12 hours ago 0 replies      
I have had thoughts about how we attach meaning to symbols in computers (our designed computational systems), and how a physical system like a landslide, or accretion disk or something could accidentally assume forms and computation-like behaviours which we could attach symbolic meaning to, yet mostly do not /can not as we are not watching.

With such a vision there is strong ambiguity in the world over what is potentially symbolically meaningful to someone, the meanings things can carry, and the stories their symbols can follow. I think that essential ambiguity of interpretation, of the apparent orders and symbols in the world, makes nonsense of the popular idea that we may ourselves be certain sophisticated symbolic constructs in an advanced simulation.

Sorry for this but I am in the middle of doing something else and have only skimmed this paper but it looks tantalisingly relevant...

100ideas 9 hours ago 3 replies      
Have often wondered how philosphers treat the apparent "dualism" of logicial or theoretical computational systems and their physical embodiments - thanks for posting!
rwnspace 3 hours ago 0 replies      
Relevant XKCD: https://xkcd.com/505/
I mean, why not tell everyone our password hashes? theobsidiantower.com
270 points by jorkro  17 hours ago   139 comments top 20
jjguy 16 hours ago 1 reply      
PSA to everyone responding to the title: please RTFA, it's sarcasm.
igonvalue 14 hours ago 1 reply      
What exactly are these passwords used for? The post mentions "controlling this object in the RIPE database" but I'm missing some context necessary to understand that.
lucasgonze 16 hours ago 9 replies      
That inspired this idea: make all password databases public, in an encrypted form. Just post them in a standard location. This is to get rid of the fiction that these are ever private and to eliminate an incentive to break in.
zpallin 16 hours ago 0 replies      
Shots fired.

That ending was an incredibly well delivered stab at Deutsche Telekom. This is why I love vigilante security.

w8rbt 16 hours ago 2 replies      
It depends on the hash type. Cryptographic hashes (MD4, SHA1, SHA256, etc.) are made to be efficient and fast to compute while password hashes (bcrypt, scrypt, etc.) are much more difficult to compute. The difference is staggering.

 john --test --format=nt Benchmarking: NT [MD4 128/128 X2 SSE2-16]... DONE Raw:29037K c/s real, 29037K c/s virtual john --test --format=bcrypt Will run 16 OpenMP threads Benchmarking: bcrypt ("$2a$05", 32 iterations) [Blowfish 32/64 X3]... (16xOMP) DONE Raw:5472 c/s real, 490 c/s virtual
Edit: NT hashes are one round of MD4. These are Microsoft Active Directory hashes. OpenBSD uses Blowfish hashes by default.

delegate 16 hours ago 0 replies      
It's also nice enough to mention the hashing algorithm used - MD5, just so you don't have waste time guessing.
pishpash 14 hours ago 0 replies      
Passwords are broken for precisely this reason. You are operating under the fiction that permanently handing over entropy from a limited source to an untrusted party, even through a (for a time) one-way function, is ever a good idea. Please do make all password hashes public. It will finally force the move away from passwords.
ThePhysicist 16 hours ago 0 replies      
Nice, they even have a rest API and web form to update the information:


joshfraser 10 hours ago 1 reply      
Stupid question, but what does this particular password hash unlock?
developer2 16 hours ago 3 replies      
One reason: you'd be surprised how many companies allow entering the hash as an alternative password to login to customers' accounts in production. Lazy method for customer support teams who don't have support tools to access customer information. Also frequently done to allow developers to debug problems on a customer's account when a bug cannot be reproduced elsewhere.

If such a company's database of hashed passwords is leaked, then an attacker doesn't even have to crack the hashes - the hash itself is a valid version of the password. Yet I've seen this behavior at multiple companies; only one of them pushed back against my request to remove that "feature", and I didn't stay with them much longer after that.

rdl 14 hours ago 0 replies      
The PGP option has been the preferred option for as long as I can remember (circa 2000).
jackjeff 16 hours ago 0 replies      
It's hard to imagine worse, except maybe putting the passwords in the clear...

Single unsalted broken MD5 is a far cry from scrypt... and even scrypt is probably a bad idea with all this crypto currency hashing hardware out there, unless you have a seriously strong password.

Just don't publish hashes.

ewzimm 14 hours ago 1 reply      
As you might have guessed, my password hash is password.
pmarreck 16 hours ago 2 replies      
a simple unsalted hash wouldn't work due to rainbow-tabling, and even a salted hash would be vulnerable to someone gaining unauthorized access to the salt and regenerating a rainbow table with it (although if one used bcrypt, that might be practically impossible)
cerved 15 hours ago 1 reply      
eveningcoffee 16 hours ago 1 reply      
Because your password is part of your identity and is actually used to cross check during identity matching.
justin_vanw 16 hours ago 0 replies      
Nah, why even give an inch? Yes, if you properly deal with passwords, the artifact you store gives virtually no information to an attacker, but on the other hand, why give them even almost nothing?
komali2 15 hours ago 1 reply      
>whois -h whois.ripe.net DTAG-NIC

Wait, was that just a straight bash command? Is this installed on my computer?

>$ whoisusage: whois [-aAbdgiIlmQrR6] [-c country-code | -h hostname] [-p port] name ...

Holy shit lol, that's neat.

basseq 16 hours ago 0 replies      
Sure, in an ideal world: post the hashes, the salts, the hash algorithm, everything. If it's done "right" (e.g., the hash function has enough complexity), then brute force cracking, rainbow tables, etc. would take so long that it wouldn't be feasible to crack them with any volume.

Of course, you could still crack some (problem), so keeping multiple secrets hidden through obscurity (the hashes, the salts, etc.) is another layer of security.

This doesn't guarantee security, but it's certainly more secure. But it is additive: there's no reason to just use MD5 (or plaintext) because "my hashes are secret".

schoen 16 hours ago 4 replies      
I was kind of disturbed that GitHub publishes every user's public key.


This is a different situation and public keys are not directly analogous to password hashes: there isn't a reliable way of cracking public keys in the same sense that there's a semi-reliable way of cracking hashes. But it was still strange and uncomfortable to me that they would reveal this "target" (and if there were specific key generation bugs, like RNG seeding errors, people might actually be able to crack a few of them and know that they had suceeded).

Relatedly, I was thinking about the magic crypto-cracking device in the movie Sneakers. Once they had it, they could immediately use it to log on to random network-connected services, defeating the authentication. So, how is that supposed to work? How do they automatically know what credentials would be accepted for a particular service? Are there common network authentication protocols based on public-key cryptography that have the property that the verifier tells the prover the public keys that it trusts?

Rank-reversal aversion may be causing more social problems than we realize arstechnica.com
78 points by pmoriarty  13 hours ago   66 comments top 14
AnthonyMouse 10 hours ago 4 replies      
This doesn't touch the real problem. Nobody intentionally creates a policy that will take $20K from someone with $40K and give it to someone with $10K. When that happens at all it's unintentional (e.g. 20 programs to transfer $1K that weren't expected to overlap) and people who discover that outcome find it outrageous.

Because that was never the problem with income inequality to begin with.

The problem isn't that one person makes $10,000 while another makes $40,000. Those people are both struggling. The problem is that one person makes $10,000 (or $40,000) while another makes $10,000,000.

Reversal never even enters into it. If you took $9,900,000 of the richer person's money and split it between 1000 poorer people, the richer person would still have more money. Even though that would imply a 99% tax rate.

interfixus 9 hours ago 7 replies      
"When the researchers tested children, they found that rank-reversal aversion doesn't develop until children are 6-10 years old, which suggests that this aversion is learned culturally as the child grows up"

"In addition, the Tibetan herders who participated in the study had a markedly higher level of rank-reversal aversion than other subjects. This also suggests the trait is cultural"

An all too common kind of sloppy thinking, which generally kills my desire to read any further. No such thing is suggested. The trait may be learned, or it may be completely hardwired, kicking in action between ages six and ten. Different populations may have evolved different inbred attitudes to equality.

humanrebar 9 hours ago 2 replies      
It's hard to understand in a lot of detail what the experiment was doing.

It seems like an alternate explanation is that people don't like to artificially pick winners and losers, but they're willing to lessen the gap between winners and losers if it's too big.

There are philosophical concerns about justice and utility in messing with organic selection mechanisms. Perhaps a fear of instability plays into it, but it seems like there are more nuanced narratives that can be applied as well.

venning 7 hours ago 0 replies      
Another way of interpreting the results:

- 76.87% of subjects accepted a 25% tax rate intended for redistribution.

- 44.80% of subjects accepted a 50% tax rate intended for redistribution.

It's hard to infer much beyond that.

Perhaps they need to test for a larger number or more fine-grained tax levels between 25% and 50% and see if there is indeed a step change (or other sharp decline) in acceptability when it "reverses social order". Or if there is a smooth distribution curve based on tax rate, not relative position.


Even if you take the results as intended, that subjects were considering social order and not tax rate, you still have to concede that this could be about "fairness" and not "rank". It shouldn't be surprising that a majority of people dislike redistributing more than is necessary to achieve equality. That helps explain the results with the children. Ages 6-10 is about where they start to understand "fairness" from the perspective of both parties [1].

Additionally, taking the tax perspective into account, "Person B" appears to be subject to a lower tax rate than "Person A" despite ending up with more money, which subjects would likely see as unfair.

[1] https://www.theatlantic.com/science/archive/2015/11/how-fair...

arieskg 9 hours ago 1 reply      
Instead of overthinking and assume that people don't want to upset social hierarchy, I suggest the researchers to take a step back and consider that people prefer symbiotic over the antibiotic scenario. In this "game", we may not know how A came to wealth, but we would be certain how A lost wealth. Similarly in the second scenario, while we know B is still less wealthy compared to A, at least B is wealthier than before. Value creation vs Value transfer. (Entrepreneur v. Investment Banker)
pizza 3 hours ago 1 reply      
arrow's theorem can be used to point out problems with social rank-reversal aversion, too, imo
mempko 6 hours ago 1 reply      
Most seem to miss the bigger picture with this study. People don't like rank in general, even when it's reversed. In other words most people, in there heart of hearts are communists and would prefer a classes society.
unclebucknasty 6 hours ago 0 replies      
Not sure why they draw the conclusion that the aversion is about not wanting to upset the social hierarchy. That's an amorphous statement in any case and carries different connotations.

Seems a more succinct conclusion is that it's about fairness. Most view the economy as a zero-sum game, and we generally measure our standing in society relative to others. So, the idea of redistributing wealth to the point where relative fortunes are being inverted may violate our sense of fairness.

failrate 10 hours ago 1 reply      
I assume that it has less to do with upsetting the social hierarchy than it does with the possibility that my wealth might be redistributed to someone else.
logicallee 7 hours ago 0 replies      
if we could only get over these pesky biases we might finally start introducing 150% marginal tax rates and let the middle class taste life at the upper middle class level. (by taking it from them, exchanging their places.)

as it stands the middle class really has no way of "trading places" with the upper middle class, who can always out-earn them.

a marginal tax rate above 100% would close this loophole.

yes this comment is sarcastic.

beeeebo 11 hours ago 0 replies      
This article makes me uncomfortable
graycat 10 hours ago 1 reply      
On the OP Web page, the lines commonly have about 96 characters. On my 14" screen with a Web browser magnification that lets a whole line show at once, the text is so small it is totally unreadable.

With more magnification from my Web browser, there are still 96 characters per line so have to use the horizontal scroll bars twice on each line to read it.

So, since I was interested in the article, I selected all of the text, copied it to my system clipboard, pasted it into a new e-mail in my e-mail program that reflowed the lines and used a larger font, and then read some of the article.

With 96 characters per line, apparently the Web site is determined, feet locked deep in reinforced concrete, with iron-clad rigidity, to discourage as many readers as they can.

Ah, since the OP is about psychology, the 96 characters per line and the whole OP is really just a psychology experiment?

Curious that a Web site would want to work so hard to discourage readers.

log_base_login 10 hours ago 0 replies      
There is a lot to be said for not wanting to piss off the people who control the money that flows to you. I am not as certain that people would choose to keep things the way that they are if they also weren't keenly aware (as say, someone might especially be in China) that the State might be monitoring their answers.

It's also very important to remember that most people who manage wealth well, on the other hand, do so in a way that benefits those who do not, and as such retain their responsibilities as money managers because they are one half of a financially symbiotic system of exchange.

There are also a lot of social factors to consider that didn't necessarily (and understandably so) make it into the studies dependent or independent variable sets. The attractiveness of each party needs to be controlled for, as there is a definite bias to give money to those we find attractive. The age of someone is another control variable that needs to be accounted for, as the elderly are generally (and correctly, generally speaking) more adept at managing money, for how else would they have survived so long?

All in all, I think mostly what this tells us is that we are cautiously optimistic about the belief that those who have less in our social hierarchy are capable enough to have more, but that it's important to preserve and honor the way in which wealth flows because it flows in a way that has kept us progressing for millenia.

I would be much more interested in reading about how much wealth they believed should be distributed rather than simply if it should. That would give us more than a binary response from which to extrapolate data.

mnm1 10 hours ago 5 replies      
This says nothing about why people don't support realistic measures to alleviate income inequality which don't upset the social order. I'd say almost all if not all realistic programs and solutions proposed do not upset said order so why aren't they supported by over 70% of the population? Or maybe they are and our representatives just ignore us. I'm not talking about stupid ideas like communism but things like raising the minimum wage.
Rocket, Rust Web Framework, v0.3: Fairings, TLS, Private Cookies rocket.rs
157 points by sbenitez  18 hours ago   65 comments top 12
jamescostian 17 hours ago 5 replies      
I actually really love the restrictions on fairings. I'm working on a project right now that uses Node.js with Express, and there are all of these pieces of middleware that won't compose at all, and I often find myself ripping things out and putting them in new functions.

By having clear delineations between fairings, request guards, and data guards, I think you can really avoid making a lot of design mistakes. I'm going to try out Rust some more and definitely play around with this framework! The only thing that bothers me is that Rocket says it requires a nightly version of rust[0] - why is that necessary? I thought Rust was pretty stable by now.

[0] https://rocket.rs/guide/getting-started/#minimum-nightly

continuations 15 hours ago 1 reply      
How is the performance of Rocket?

So far all the Rust web frameworks I've seen have pretty disappointing performances.

I was expecting C++/Java/Go level of performance. Instead, Tokio & Iron turn out to be slower than many frameworks in Ruby, Python, PHP, JS:




Nelkins 16 hours ago 3 replies      
I was just recently looking at the state of web frameworks[1] in Rust, and it seems like the two most popular are this and Iron[2]. Can anyone comment on some of the differences between the two? Also, can anyone point out a few sites that were made using these frameworks?

[1] http://www.arewewebyet.org/

[2] https://github.com/iron/iron

bpicolo 16 hours ago 1 reply      
Hey Sergio,

Regarding fairings, it seems a missing "middleware" case might be the sorts of things that cause redirects on entry (e.g. redirect routes with/without trailing slashes to the latter as a super trivial example). Is that something you'd expect to support in some way? I think that's something that doesn't feel like it maps either to guards or fairings well at the moment.

I did see where you mentioned your dislike of rails/sinatra/... style blunt force middleware, fwiw.

pc2g4d 14 hours ago 2 replies      
I'm a Rocket fan and glad to see this big slate of improvements. On the other hand, I do want to register a bit of concern regarding the plan to add "first-class database support" for 0.4. I hope that doesn't result in a close coupling to any particular database, or to using a database in general.
wyldfire 17 hours ago 2 replies      
> Private Cookies #

> To encrypt private cookies, Rocket uses the 256-bit key specified in the secret_key configuration parameter. If one is not specified, Rocket automatically generates a fresh key at launch.

Seems like a pretty clever idea. Do other servers/middlewares offer a similar feature? Seems like it would complicate deployment/scaling a bit if the secret has to be sent to all the nodes. Especially if they could silently ignore it if you accidentally don't configure the key for some nodes.

dvnguyen 16 hours ago 5 replies      
I don't have any experience in Rust. From what I read, Rust is a low level / system programming language. Comparing to dynamic languages like Python, I understand that Rust is much faster. However, Python is fast enough for most web applications. So why should I use Rust in web development? Even if the library ecosystem were mature enough, could I expect my productivity could become nearly high as in Python?
eptcyka 15 hours ago 2 replies      
It's really a shame they haven't jumped on tokio yet. Then again, I tried to look at the code, and it didn't seem to be a simple dropin thing to move over to tokio.
shmerl 17 hours ago 1 reply      
What's not clear from the front page. Is it its own Web server? Is it a framework which uses another Web server? I think that would be useful to clarify from the start.
leshow 16 hours ago 0 replies      
Rocket is great. Congrats on the new release!
lholden 17 hours ago 0 replies      
Fantastic Sergio! I'm glad v0.3 has landed :D
Scarbutt 16 hours ago 2 replies      
Since its async, do you have to develop in it using callbacks?
Double Shift: schooling Syrias child refugees nature.com
50 points by sohkamyung  19 hours ago   discuss
What Time Is It When You Try to Pass Through A Wrinkle in Time? jstor.org
59 points by samclemens  20 hours ago   15 comments top 5
brianberns 17 hours ago 1 reply      
This was one of my favorite books growing up, but the linked article is iffy at best. Author doesn't understand the difference between quantum mechanics and general relativity, which should be a nonstarter on HN. Would love to have a better article as a starting point for discussion of this book here.
randcraw 16 hours ago 0 replies      
It seems like kairos is like Csikszentmihalyi's flow. It's time that passes while you are engaged, active, purposeful -- living rather than waiting.

Perhaps without a willing participant, there can be no kairos; there is only chronos?

Great book, BTW. The most memorable from my childhood.

ktRolster 17 hours ago 2 replies      
Good article. I have to say, after reading it, I still don't understand the difference between chronos and kairos
jsjohnst 18 hours ago 3 replies      
One of my favorite fiction book series as a kid.
JohnJamesRambo 5 hours ago 0 replies      
This book had such a profound influence on my life and young mind. It basically formed a lot of the values I have and ideas about what is right and what is wrong.
       cached 15 July 2017 13:02:01 GMT