hacker news with inline top comments    .. more ..    18 Oct 2016 News
home   ask   best   3 years ago   
How breakpoints are set majantali.net
173 points by luu  5 hours ago   29 comments top 8
dkopi 4 hours ago 1 reply      
The reason INT 3 is used is that it's the only interrupt that has a single byte opcode (0xCC). Other interrupts require two bytes: CD <interupt number>.

This makes setting a breakpoint really easy, as all you have to do is replace a single byte (and restore a single byte) where you want to place your breakpoint.INT 3 being only one byte is also important when you're setting a breakpoint instead of a another single byte instruction - your newly set breakpoint won't override the consecutive instruction, which might be jumped to somewhere else in the code.

stinos 2 hours ago 0 replies      
You can consider your debugger to be a program which forks() to create a child process and then calls execl() to load the process we want to debug

That is one way to look at it, but I find it a bit too limiting (debuggers can attach to an existing process as well) and too confusing (requires knowing what fork does/is, same for execl - and are those even used when attaching to an existing process?) and because of the latter functions used obviously coming from a linux background (nothing wrong with that, on the contrary, but I can imagine windows people or beginners still having no clue whatsoever about a debugger after reading this - though it's likely not the target group).

pcwalton 4 hours ago 0 replies      
Also worth noting: x86 supports four hardware breakpoints, which are sometimes more convenient, since they don't involve overwriting any instructions. (They're also more flexible because they can be used to trap on memory reads, etc.) https://en.wikipedia.org/wiki/X86_debug_register
jtchang 4 hours ago 5 replies      
How would a program detect the use of a debugger? I know a lot of crackmes and other anti-piracy measures involve detecting the use of one but am not sure how they do it. Do they just look for running processes with a debugger signature like softice?
gulpahum 4 hours ago 2 replies      
Nice explanation.

However, it didn't explain how the debugger can stop again at the breakpoint after the last step? The interrupt command has been replaced with the original command, so the process won't stop again..

jack9 4 hours ago 1 reply      
I went 20 years without knowing how breakpoints work because they always just did (when they were available). Reading this, it's unsurprising how the tool works. That's the best kind of tool.
tavish1 3 hours ago 3 replies      
Any comments on how breakpoints work on external targets, running bare-metal, and you can't replace instructions? Ex. debugging an 8-bit AVR, say atmega1280 over JTAG. I am guessing it has to do with the JTAG doing a simple compare of the PC with the breakpoint address, just want confirmation and more details.
pjmlp 2 hours ago 1 reply      
No mention of hardware breakpoints?
Leo Beranek, an engineer who helped build Arpanet, has died nytimes.com
153 points by sew  8 hours ago   19 comments top 9
Homunculiheaded 7 hours ago 1 reply      
I worked at BBN (Bolt, Beranek and Newman) from 2006-2008 and was fortunate enough to have a one-on-one phone call with Leo while I worked there. At that time he was in his early 90s, and was still amazingly sharp and full of energy. Even in a brief phone call his curiosity and kindness left a long lasting impact.

BBN was (and presumably still is, though now part of Raytheon) an amazing company to work for even 50 years after its heyday as one of the original contractors on the ARPANET project. I remember getting to meet Ray Tomlinson (who sadly passed this March) and a wide range of others who were instrumental in the early days of the internet. Seeing what was happening in CS research at the time was pivotal for me changing my career towards computer science.

One of my favorite anecdotes about the early years of the company: As mentioned in another comment, BBN started as an acoustics firm. While JCR Licklider was there briefly in the early 60s he got the company to purchase a computer. This was expensive and somewhat out of the scope of the company, when asked why purchase such the thing the response was this company is full of smart people, theyll figure something out. A few years later Licklider was a PM at ARPA in charge of the ARPANET project which BBN would soon become the lead contractor on.

Leo definitely lived to a ripe old age, but he will be missed nonetheless.

robmiller 7 hours ago 1 reply      
I'm glad this made it to HN. While he was the founder of BBN which we all know was involved in ARPANET, you won't find the Internet in his Wikipedia entry. It started as an acoustical consulting firm--the one whose employees started many firms across the US and describe in their lineage from BBN.

He was one of the fathers of architectural acoustics, noise control and vibration isolation, and remained active until the end, traveling to conferences, publishing papers and such. I met him in Seattle in 2011 at the spring Acoustical Society of America conference. Genuinely warm of a guy, always interested in others' research.

davidbalbert 6 hours ago 1 reply      
Beranek and BBN both make an appearance in Mitch Waldrop's excellent book "The Dream Machine," which is in theory a biography of J.C.R. Licklider (who was mentioned in the obit), but in practice a history of computing from the 1930s onward. It has been out of print for some time, but a Kindle edition just came out this summer[1]. It's a great book and worth many times the $3.99 Amazon is charging for it.

[1]. https://www.amazon.com/gp/aw/d/B01FIPHEXM

vidarh 1 hour ago 0 replies      
One of the little signs you have made an impact: When the NY Times interviews you for your own obituary:

'As president, I decided to take B.B.N. into the field of man-machine systems because I felt acoustics was a limited field and no one seemed to be offering consulting services in that area, Dr. Beranek said in a 2012 interview for this obituary.'

greenyoda 7 hours ago 2 replies      
This brings back memories of being connected to the ARPANET through a BBN IMP[1] in 1982. Here's a photo of BBN's iconic refrigerator-sized network interface box:


Some years later, our CS department's IMP was replaced by a much smaller Cisco router (and our .ARPA e-mail addresses with .EDU addresses).

I had always associated BBN with internet engineering, so it was interesting to read that they started out in a completely different business.

[1] https://en.wikipedia.org/wiki/Interface_Message_Processor

jmorrison 4 hours ago 0 replies      
Worked at BBN from 1983-1990, at the tail end of the NCP->IP/TCP "transition." Terrifically interesting stuff to work on, with loads of terrifically smart people to learn from. One of the legendary recruiters there (rest his soul) referred to the place as a "halfway house for failed MIT & Harvard PhDs." A magical place, and I feel lucky to have fooled that recruiter into letting me get hired.
a11r 7 hours ago 1 reply      
A great account of the building of the IMP: "where wizards stay up late".
rbanffy 57 minutes ago 0 replies      
ifdown eth0 ; sleep 60 ; ifup eth0
FigmentEngine 5 hours ago 2 replies      
I always find it wierd, the phrase "Dies at xxx" like that defines something. "Born at 0" is odd..Can't we focus on what they did? rather than the lenght of life?
Disney Open Source disney.github.io
415 points by craigkerstiens  13 hours ago   96 comments top 19
j0j0r0 7 hours ago 2 replies      
I work there, and am on the Disney Open Source Committee!

We also just open sourced a hybrid public/private blockchain platform "Dragonchain" with some interesting features.


Architecture document: https://dragonchain.github.io/doc/DragonchainArchitecture.pd...

Code is newly released, and rough around the edges.We're working to get the docs up to par and some Docker containers ready for ease of use.Feedback is welcome.

lima 11 hours ago 2 replies      
OpenSubdiv is a game changer in FOSS 3d software.

Blender is already using it: https://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.7...

Demo: https://youtu.be/dzIl_S-qHIQ?t=115

yazaddaruvala 12 hours ago 4 replies      
Just an FYI: Always be careful!

I opened up a couple of these repos and some seem to have modifications on their licenses.

Some like OpenEXR say "BSD" but don't actually have a license file.

Others like, Ptex and Partio, have no mention of a license at all.

Edit: For anyone wondering why this is an issue. From a legal standpoint, there is a huge difference between being able to read the code, and being able to use the code.

tajen 13 minutes ago 0 replies      
We don't need Disney to open-source their software. We need Volkswagen and various bogus companies to open-source the software of safety-sensitive material. Dangerous hardware, measurement tools (e.g. petrol stations, security cams), voting machines, droids... Disney's open-source is merely dry bread for the plebs: We'll take it but it's not advancing our situation.
dragonshed 11 hours ago 3 replies      
The DIY style management software for OS X/macOS[1][2] is interesting. I knew commercial packages existed for this sort of thing (and more), but I'm fascinated that Disney admins & engineers chose to implement their own Software Update Servers.


mrcactu5 9 hours ago 0 replies      
Pixar has a course through Khan academy. The algebra gets quite advanced!


I don't mind if the images are too realistic -- just some good shading here and there

Pulce 12 hours ago 1 reply      
Good. I have downloaded and viewed a lot of WD movies with torrents (I'm a near homeless man in Italy, no money to buy/rent DVD). Now I can give back something contributing to the open source project.
6stringmerc 9 hours ago 0 replies      
Oh, so that's what the replacements that Disney outsourced and canned those US professionals will be using? Maybe not the most polite type of joke, but hey, I just saw that a judge recently smacked down the class action the terminated employees had submitted (using sound logic).

Be wary of anything with Disney's fingerprints on it. They are - rightly or wrongly - seen as Public Enemy #1 to Copyright reform. Throwing some spare change into the pond of Open Source should be measured.

alexkavon 12 hours ago 1 reply      
Can't wait for the Mickey Mouse repo in 2024.
jedberg 10 hours ago 2 replies      
I as really hoping all the projects would be named after Disney characters, because it would be fun to say, "I think we should run Mickey, but we may need to fork Donald to make it work in our environment".
curiouscat321 12 hours ago 0 replies      
I hope Disney does more of this! They're a tech company in a lot of ways. I believe they're using Rails for their site (which would make it amongst the biggest Rails sites in the world) and I hope they release some Rails stuff too!
sarreph 10 hours ago 0 replies      
After my microeconomics lectures, these are two words* I never thought I'd see together.[0]

[0] - https://en.wikipedia.org/wiki/Copyright_Term_Extension_Act

*Yes, I am treating 'Open Source' as one word, you 'Disney Open' trolls.

agentgt 12 hours ago 1 reply      
I was expecting to see some Squeak links (OSS Smalltalk) but I guess no one at Disney is using it now? I think it was the Go.com group ala Alan Kay that was doing something with it internally (I'll need to do some googling but it appears the group moved to ycombinator according to wikipedia... my memory sucks).
santaclaus 11 hours ago 2 replies      
Super cool! I'd be curious to see what bits of software here are from WDAS vs ILM vs Pixar.
zump 8 hours ago 0 replies      
How can I apply for a job at Disney? Someone send me an email that won't lead to a black hole!!
shredwheat 11 hours ago 1 reply      
This is a showcase of larger open source projects used in the visual effects and animation industry. Several of them are contributed to by Disney engineers, but most people would not consider these Disney projects. Disney has open sourced and released some impressive open source projects over the years, and it's exciting to see their endorsement on these others.
smegel 12 hours ago 0 replies      
They make light-hearted animations, but their software looks seriously hardcore.
baccredited 11 hours ago 1 reply      

 1. Fire all the old programmers 2. Make them train their cheap H-1B visa replacements 3. Open source some code 4. Have a magical day!

gdamjan1 5 hours ago 0 replies      
is it coincidence that disney gets on hacker news at the same time as they are"The empire strikes back: Disney to sue school that teaches lightsaber skills"http://www.theguardian.com/film/2016/oct/17/star-wars-disney...


Panoramio no longer available after November 4, 2016 panoramio.com
18 points by mgliwka  2 hours ago   9 comments top 6
pmlnr 1 hour ago 0 replies      
This was an invaluable source for finding interesting areas close to you or to your travel destination. I'm already missing it; the Flickr world map is garbage compared to what Panoramio was.

I'd love to see this resurrected somehow.

Buetol 1 hour ago 1 reply      
Looks like it has already been archived by Archive Team, good job ! http://tracker.archiveteam.org/panoramio/
raesene6 40 minutes ago 0 replies      
I was sorry to see this, although the writing has been on the cards for Panoramio for some time.

It seems a really odd decision by Google, panoramio had a strong community which may well not migrate to the alternatives that google are suggesting and it provided a load of useful information for other Google services.

Anyone know of decent similar alternatives? I know one large contributor who's moving off to Flickr, but is not very impressed by their mapping setup.

Symbiote 1 hour ago 0 replies      
Was this the only source of geotagged photos that show in Google Maps?

Since time ago, I added semantic web tags to my photo album, hoping they'd then appear on the public map. They already have location data in EXIF tags.

Nothing happened. I don't know of any site that indexes images in this way.

shaqbert 1 hour ago 0 replies      
Oh, that makes me quite sentimental. All the time I wasted on Google Earth exploring lonely islands, Antarctica, and Kamchatka volcanoes... Panoramio, you will be missed.
joosters 2 hours ago 2 replies      
Goodbye to another Google service.

To be fair, most of the features had been integrated into Google maps. Was there anything left?

Analysis Shows Hotels Are Not Losing Share to Airbnb hostfully.com
22 points by silvialisam  2 hours ago   27 comments top 9
dlss 1 hour ago 1 reply      
Finally an article that answers some pressing societal questions:

* Can hostfully.com identify suspicious data analysis? (no.)

* If given the chance, will Airbnb present misleading data for self-serving ends? (yes.)

* Will an already self-serving study be given an even more self-serving spin when presented by a sympathetic reporter? (yes.)

To understand what I'm talking about, consider the source cited by OP (http://hotelnewsnow.com/Articles/77191/New-Airbnb-data-sheds...). Going by that data we might be tempted to say that Airbnb is being out-competed by the hotel industry.

However, stagnant growth on the part of AirBnb seems like it would have been widely reported. And yet it hasn't. Googling we find a seemingly contradictory datapoint: Airbnb's revenue is up 89% this year (http://www.bizjournals.com/sanfrancisco/news/2016/09/01/airb...).

How can Airbnb's revenue have almost doubled while still losing market share across the board?

Option 1. They didn't lose market share across the board, and instead cherry picked non-representative markets for their 13 region hotel comparison.

Option 2. They lost large numbers of low-margin bookings across the board, while gaining (taking market share from hotels) higher margin bookings. [Note this would contradict OP's article.]

In both cases, Airbnb's data is misleading.

blunte 1 hour ago 0 replies      
If the data only comes from Airbnb, I'm not sure how much I trust it given their suspicious behavior with New York data - http://www.businessinsider.com/airbnb-deleted-rentals-before...
antirez 42 minutes ago 0 replies      
So I've a bunch of friends than when traveling used to go to Hotels and now go to AirBnb. While anecdotical, this is more convincing than data from AirBnb cherry picked to show a seemingly hard to make point.
rmason 2 hours ago 4 replies      
AirBnB's marketshare is coming out of someone. Travel habits are changing and it may take awhile for them to be observed clearly.

I clearly remember the newspaper industry doing a survey in the late nineties showing that the Internet wasn't materially hurting their business. Then sometime after 2003 the industry fell off a cliff.

jacalata 2 hours ago 1 reply      
This is a terribly uncompelling attempt at analysis and I can only assume that they began by writing the headline and then went and looked at the data.
sschueller 2 hours ago 3 replies      
I think hotels are loosing money because sites like booking.com charge insane fees (35% is not uncommon [1]) and the hotels don't have their own mega portal.

Some of which will give you better ranking on their site if you pony up more percentage.

If you are looking to book a hotel I would find what the price is on one of these sites and then call the hotel to negotiate a lower price. You get a better price and the hotel gets more money.

[1] https://www.quora.com/How-much-commission-is-booking-com-cha...

xchaotic 45 minutes ago 0 replies      
Bad analysis. Nowadays, my bookings are 50/50 split between regular hotels and apartment rentals. I would have stayed in hotels 100% if there was no alternative.
visarga 2 hours ago 0 replies      
So both hotels and AirBnb are growing, but that doesn't mean AirBnb isn't taking a large share of the profits. I used to go to hotels when travelling, but in the last few years it has been only AirBnb. I am much more satisfied with the quality of service and being closer to the local culture.
torrent-of-ions 1 hour ago 1 reply      
> Hotels have much higher year-round occupancy due to the diverse nature of their business (leisure, business, and group).

What is "group"?

Doudou Linux For children from 2 to 12 years old doudoulinux.org
47 points by Sykox  3 hours ago   46 comments top 13
glaberficken 2 hours ago 0 replies      
I used to have this on a USB key for my daughter from age 2 to 5 (she is now 6).

The UX was terrible, full of inconsistencies, with different icon symbols in different positions from application to application to close windows, confirm menu choices etc.

But my daughter loved it to bits =) Some games are a lot of fun for a toddler.

And guess what, I think the struggle she experienced with the inconsistent UI may have been the best "school" she could have had for "real world" UIs.

At 6yo she is now completely autonomous navigating a Windows environment and any of the multitude of "Frankenstein" UIs I throw at her.

Might even revisit it now for the 1st grade level games I remember she couldn't play back then.

willvarfar 2 hours ago 1 reply      
I tried Doudou, and then Qimo, and finally gave up and gave my kids xubuntu.

The sad truth is that the childrens games like Childs Play are sad stale games with hopeless UIs and glaring bugs like mislabelled animals in quizzes and things.

I have lots of feedback from watching my kids learning to use and play with Doudou and Qimo; even though it is several years ago now, I think - from looking at the screenshots - that nothing much has changed :(


I hope there are modern set of games produced, but I'd imagine they'd be better served over http into the browser than as native apps.

mwfunk 3 hours ago 3 replies      
From their "Translator's FAQ" (which I think is meant for volunteers to help with localization):

"How should I tell to pronounce DoudouLinux?

In French and Chinese it is pronounced doodoolinux. However as the word doodoo has a weird meaning in slang American English, we recommend English-speakers to say it as if it was an English word, the way they prefer to say it. We also ask to not write doodoolinux at all to avoid any confusion (except here!). Of course if pronouncing the word the French way has no awful meaning in your language, please tell to use this pronunciation."

I'm not sure I understand what they mean by "say it as if it was an English word" though.

* http://www.doudoulinux.org/web/english/contribute/translate-...

avar 30 minutes ago 0 replies      
As the parent of a 1 year old, this looks great, can the content filtering be disabled, since this is a Live CD?

I wonder if there's any evidence whatsoever for content filtering actually being useful for children's development, as opposed to just reinforcing societal squeamishness.

The example they have[1] on their page is blocking the DuckDuck go result for "sex", whose first result is the Wikipedia article.

I really can't imagine why a child who's developed enough to search for that on their own isn't ready to read about it. To the extent that the parent needs to be around to explain things to the child I don't see how that needs to be done for sex in particular, as opposed to say economics.

1. http://www.doudoulinux.org/web/english/documentation-7/advan...

maruhan2 1 hour ago 1 reply      
Personally i don't understand why you need a 7 and under child to use a computer. And 7 year olds pick up computer just as quickly as an adult would if they used computers for the first time
mhd 2 hours ago 2 replies      
Where does this mention home schooling?
winkbrace 41 minutes ago 2 replies      
Very nice, but my 5yr old is discovering the mouse by playing Overwatch.

Such an environment is probably more required for seniors than children.

pmontra 3 hours ago 0 replies      
The home page is all about booting from CD-ROM drives but luckily it boots also from USB keys http://www.doudoulinux.org/web/english/documentation-7/artic...
LeoPanthera 2 hours ago 0 replies      
Is Edubuntu dead? No updates in over a year. https://www.edubuntu.org
cygnus 1 hour ago 0 replies      
Doudou, tu viens plus aux soires ?
palerdot 2 hours ago 0 replies      
A better webpage would be nice, something on the lines of ubuntu (https://www.ubuntu.com/)
meddlepal 3 hours ago 2 replies      
What an unfortunate name... I can only imagine telling a young kid he uses "Doo Doo Linux"
partycoder 2 hours ago 5 replies      
Reminds me a bit of the One Laptop Per Child project, which according to some people is a little bit defunct. They produced a distro called Sugar (https://www.sugarlabs.org) that might be worth looking into.

Now tablets have largely overcome laptops as an inexpensive computing device for children.

EDIT: not defunct as people let me know. thanks for pointing this out.

Don'tletyourangerpersist julian.com
196 points by julianshapiro  11 hours ago   108 comments top 26
PravlageTiem 8 hours ago 19 replies      
Western culture is so obsessed about suppressing anger at all costs. Like each person is a nuclear weapon that needs to be aggressively contained or else the entire fabric of civilization will collapse.

Anger exists for a reason and it exists for good reasons. The manifestation of anger means some model you are holding onto is no longer in sync with reality and that resynchronization costs more than your time preferences will allow. (Using the authors scenario, your expectation was for a reasonably timed phone call, not a 35 minute wait.)

It's not that anger is wrong. The anger is correct. The expectation was wrong. The West automatically assumes all instances of anger are permanently wrong, and this child-like ritual prevents one from appreciated the value of anger as a compulsion that tells you in no uncertain terms that your expectation is completely out of whack and you need to either cut your losses or resynchronize the expectation.

Anger becomes fuel for remodeling reality once you understand what is is trying to tell you. Putting taboos up around it prevents this realization, which in turn, creates people who are trained to perpetually cling to false models of reality out of fear of violating the taboo.

sthatipamala 9 hours ago 1 reply      
This post is very timely. Recently I developed some type of "learned helplessness" where I felt that shitty situations were being thrust upon me and I was drowning. What I was missing is that I had a lot of agency over these situations. I could have declined meetings, asked for help, missed deadlines, or risked disappointing whoever was requesting something from me.

Being angry and resentful didn't solve anything. So instead I asked myself "if I don't do this thing I don't like, what's the worst that will happen?". The answer most of the time turned out to be... "nothing."

What remained was what I chose and those things were worth doing whole-heartedly.

mouzogu 1 hour ago 0 replies      
Most of the anger I experience or come across from others is borne out of selfishness. The article makes a good point. Controlling anger is usually in our best self interest - thereby being a means of tempering our selfishness for long or short term benefit.

It points to something else which is not discussed as much: Self control. The amount of times I've seen grown adults and over 60s acting like petulant children over the most minor inconvenience. I cant help but think that in the span of your life you have not yet learnt to control your emotions.

Some comments refer to buddhism. Which to me is a form of self control.

Some other comments, point out rightly (imo) that Anger like all emotions serves a purpose and should not simply be ignored. I think the purpose of anger is to highlight (but not validate) the differences between our expectations and reality.

In order to assess the balance between our expecations and reality, you need self control, I think. Otherwise you can act out of haste.

LordKano 1 hour ago 0 replies      
I used to work in call centers and I would try to de-escalate angry customers. When they settled down and were decent in return, I'd do everything I could to help them. Sometimes, I'd even bend the rules to help out a decent person with their problem.

If the person continued to heap abuse upon me, I'd do everything by the book. I wouldn't bend the rules. I wouldn't provide helpful suggestions to help people get what they wanted from a manager.

Be nice to people and more often than not, they'll be nice to you in return.


deepGem 1 hour ago 0 replies      
I agree with most of what is said here. What has personally helped me is to know the limits of patience and to walk out of the scenario as soon as those limits cross. In the quoted instance, I would have never waited for 35 minutes on the call . I would have cut the call in 10 regardless of the expected outcome.

It's better to judge what kind of a situation you are walking into and set expectations accordingly. For instance, in Bangalore I know that it is normal for people to be late for meetings. Traffic is bad, your previous meetings don't end on time etc. So I'll be prepared for a 15-30 minute wait. Beyond that I'll just cancel and move on. I failed do this on an interview and it was just an unpleasant experience. The interviewer was pissed and so was I. We just wasted the next 30 minutes.

stupidcar 1 hour ago 1 reply      
If you accept abuse with a smile, then you're just going to keep on receiving abuse. The reason companies get away with providing this kind of appalling customer service is because too many people put up with it out of politeness.

By the time I've been treated like this by a company, I've already made up my mind to stop using their service ASAP. When I finally get through to an operator, my aims are:

1. Get a fix to my immediate problem.

2. Waste as much of the company's time, money and goodwill as possible. They've wasted my time by putting me on hold, but every minute I spend arguing with an operator or, better yet, a supervisor, is time the company is paying someone for, and has an opportunity cost, because they're not speaking to some other customer.

3. Pissoff the operator enough that they'll consider quitting their job. I do feel sympathy for people who work in these call centres, but only the same way I'd feel sympathy for the soldier of an evil regime. It doesn't stop me viewing them as the enemy.

Right now there is a metastasised corporate approach to running customer service that has focussed on cutting costs and outsourcing to the point that the actual service provided is totally dysfunctional. The result is that if you have any problem, with any large company, it is a crapshoot whether you will ever get it fixed. This situation is a deliberate choice on the part of the companies involved.

This won't change by people being calm and friendly and swallowing their anger, any more than politics ever gets fixed by people voting for the marginally less corrupt/incompetent candidate every four years. And anyone who tells you it will is either naive or dishonest.

This situation will only change through a revolution in consumer behaviour that makes it too difficult and/or expensive for the companies to continue as is. Companies that think it's OK to treat their customers like garbage need to be met with concentrated and directed anger at every opportunity. Giving their customer services employees such hell that they can't retain them is just the start of it.

When it becomes impossible for companies to act like this without unleashing a tsunami of fury from every direction, you can bet they'll change their approach pretty quickly.

somberi 3 hours ago 0 replies      
Question: Do you ever feel angry or outraged?

His Holiness: Oh, yes, of course. I'm a human being. Generally speaking, if a human being never shows anger, then I think something's wrong. He's not right in the brain. [Laughs.]

Ref: Dalai Lama's website where it quotes his interview in the Time Magazine - http://www.dalailama.com/messages/transcripts/10-questions-t...

I found this book useful: "Destructive Emotions: A Scientific Dialogue with the Dalai Lama" - http://www.goodreads.com/book/show/26332.Destructive_Emotion...

leshow 7 hours ago 0 replies      
I disagree wholeheartedly, that being happy in the face of being treated like shit will get you what you want in that type of situation. What is the author basing his assumptions off of?
wbillingsley 8 hours ago 1 reply      
TL;DR: Wouldn't life be so much better if we all had to be Stepford Wives, faking our utmost delight and happiness despite whatever misfortune might come our way, and nary ever committing that most heinous crime of grumping or letting it be outwardly visible that we're not in the best mood today. Would that not be a most delightful utopia, o ever-smiling citizen?
haalcion3 5 hours ago 1 reply      
> When Max picked up the phone, you should have exclaimed, Hey, Max! Its a pleasure to chat. I would love to hear what youre up to. And you should have said it genuinely.

Should have, yes, if you really felt that way. And if you can feel that way geniunely, that's the best.

However, I don't think it's right to lie like that if you don't really feel that way. You can go a long way being nice without lying.

But, on don't just give up and say, "I'm just not nice." That's a problem, and if you feel that way all the time, you should go see or talk to someone: a family member, a friend, a GP doctor, a psychiatrist, or anyone that will listen and help you figure out the real problem. You might need more sleep. You might need medicine. You might need a chiropractic adjustment. You might need to vent. You might need to just spend time with another person. You might need to be alone in nature.

debacle 7 hours ago 2 replies      
I generally explain to the CSR I am on the phone with when I need to make an unpleasant phone call:

 Look, I know this isn't your fault. I know you didn't cause this, but I need to be angry at someone. If you could redirect my call to the right person it would be greatly appreciated.
I generally either receive very good service (a thank you goes a long way), or I get forwarded to someone whose job it is to deal with "problem" customers and we have at it.

amorphid 8 hours ago 0 replies      
I learned a while ago (in therapy) to decouple anger from action. I can feel angry, and just not act on it. Without an action to act on attached to my anger, the anger just mind of melts away. Reducing need feel angry is a different skill.
tomcam 8 hours ago 1 reply      
I grew up angry because I was unsafe and couldn't defend myself. Strong motivator. My children grew up safe in nice neighborhoods because of it. Being powerless as a kid led directly to starting my own businesses. It was the surest way I could buy safety. It allowed me to build up a buffer against the rest of the world.
ksec 5 hours ago 0 replies      
It is VERY hard. Some may even call it bad temper. Some call it self control. But sometimes I think some system are in place as if they were there just to make you angry. In tech terms, these UX are bad. And it is exactly this reason we can innovate, and someday an idea was born from this frustration into a startup. Other thing that easily set me off is Hypocrite. I would much rather they admit they are a asshole. And I am fine with that.

Thinking back now I think I have grow up with a little bit more patient, rather then spending time to get angry, I just spend time doing something else worthwhile. Hypocrite I can ignore, but someone put me in the wrong, is still something i cant over come yet. I tried to let time fix it. But the anger still creeps in once I sit down and not doing anything as if evil is trying to seduce me into darkness.

Many mention here the power to control your anger as Intelligent and smart. I am not sure if those are the correct word to use. I think they are wise, which I think is something different to Intellect.

I am using the word "I think" here a lot, because i am not sure if any of these of sure, so correct me if I am wrong.

derefr 8 hours ago 1 reply      
Complete tangent: what's up with the word spacing in the submission title here? It's abnormally thin.
supersan 8 hours ago 1 reply      
I learned this lesson by experience. I am partner in a popular marketing site and so I get a lot people who are interested in JV opportunities from all around the world. Now I like getting directly to the point (Hi Max. Tell me what I can help you with.) because it saves us time and we both know this is a JV call so if the other person has a list or opportunity that matches ours, it's on.

Unfortunately most JV calls I've had start off like a dick measuring contest. People love to boast how big their business is and how this can be start of a million dollar partnership, yada yada. This becomes especially infuriating when the other person is blatantly lying just to impress you. Earlier I used to get kind of pissed off or started 1-upping them while getting irritated and angry of what I'm doing with my time. Now I just put the phone on speaker and do something else saying "sure" or "great" from time to time. Not only does it save my time, I don't lose my focus after and yes, I close more deals and create longer relationships. So yes, this don't be a child philosophy is really great, esp for geeks (like me) who think that the shortest distance between two points is always the best route.

agumonkey 8 hours ago 0 replies      
Pay attention to your mental balance people. On average it's never a problem, but when stuck, anxiety can have significant somatic impact, raised secretions of acid in your stomach, trouble eating (stuck oesophagus valve), lack of bowel movements, or worse like artery constriction, thus potential increase in blood clot, which doesn't need more explanations.
mholt 8 hours ago 0 replies      
This reminds me of the self awareness tools codified by the Arbinger Institute in their book, Leadership and Self Deception, where they describe how to "get out of the box." I also highly recommend The Anatomy of Peace by them.
stcredzero 8 hours ago 0 replies      
We humans are really bad at controlling our emotions. This post won't help with that.

I'm reading this as: "Now putting on my asbestos long johns and awaiting the internet mobs."

pjwal 3 hours ago 0 replies      
tldr; Golden Rule

Such a basic premise, that is absolutely impossible to master.

partycoder 8 hours ago 1 reply      
If you have some exposure to game theory you will learn that consistently collaborating will not be the best approach in every situation. If people learn that you consistently collaborate they will intuitively start abusing that (e.g: force you to play "chicken", "the volunteer's dilemma" or any model game in which the collaborator loses). That's to start with.

Now, competing doesn't mean losing control of yourself and explode and become vulgar. It also does not mean having bad intentions and being evil. Whatever you decide to do, compose yourself and don't let your emotions take over. And try to keep your motivations well-intentioned.

If you are going through a bad moment... a good tool for introspections and analyzing your situation is the SWOT chart (4 quadrants: strengths, weaknesses, opportunities, threats). You can express your current situation in terms of these 4 things, to better understand and identify ways to use your strengths and opportunities, work on your weaknesses and mitigate threats.

Another important concept is balance. Try to find the imbalances in your life. What are excesses, what are the things you are lacking... and find ways to balance things out. Your anger might come out of frustration generated from these imbalances.

If people give you a hard time, read a book called: "The No Asshole Rule". Now, those are not the only types of draining people. Just try to not let people drain you emotionally, at least not for a good reason. If after an interaction with someone you consistently feel drained, it's time to avoid that person for your own good.

Kenji 10 hours ago 4 replies      
Some people only understand the language of anger. It really depends on the individual. Some people understand you when you're acting calmly 100% of the time. Others need to be reminded that what they're doing actually bothers you and the only way to get through to them and applying pressure is being loud and angry. But those are usually the people you souldn't be doing business with anyway.
EGreg 2 hours ago 0 replies      
I realized the same thing about fear.

I was in an elevator and thought something scary happened ... But then the elevator normally opened on a floor and I realized it was nothing.

Or you hear a scary sound by the door -- but then see it was nothing.

You thought that something was due Monday but now realize it's not.

You can make a mental shortcut to STOP feeling fear right there. Yes you will still have the brain chemistry for a bit, but you can snap back into being productive and relaxed.

projektir 5 hours ago 0 replies      
I'm not too happy with the framing of this post. It's rather guilt-trippy (this is highly common in self-help these days, sadly), and, as most such advice, it relies on making you feel bad in overt ways rather than making a good argument. But I'm also getting a strong manipulative vibe here.

The author makes unfounded claims and then calls the reader a child if they don't agree with the author.

The terms "asshole" and "jerk" are being thrown rather liberally. You're not an asshole or a jerk if you want to end a conversation.

People who do not immediately reciprocate are not automatically takers with no concept of generosity.

Anger is not "childlike". It's an emotion, like many others. I've seen it plenty in older people. Some people could use more of it. Some people have too much of it. This is true for virtually every emotion. Shutting it down instead of calibrating can cause problems. Most of this is irritation, not anger, anyway. Passive-aggressiveness often occurs when it's not possible to release emotions properly. At the end of the day, we're not Vulcans, but some environments practically demand that we express no strong emotions of any kind, which is not without side effects. We should work with what we are, not what we like to pretend to be, and I think emotions have been getting a lot of bad rap lately.

Emotions are of informational value in and of themselves and most of us do not express them as a means to an end. We express them because we feel them. Whether or not we should be feeling a particular emotion is a more interesting discussion. And the effect such a thing will have on other people depends a lot on the situation and the culture...

The language just creeps me out.

> "John" sounds patient and caring. He actually wants to help.

> He won't go above and beyond when it turns out his ex-cofounder is someone who can help you.

> You know, the self that is good at getting what it wants from others.

> And you should have said it genuinely. Even if you're feeling miserable. With your sudden warmth, Max is appreciative that youre making his hustle easier, and he goes out of his way to tell you what he can do for you at the end of the call.

I do not find it a great thing if someone is in a poor mood, thinks I'm a waste of time, but then tries to mimic genuine warmth without actually feeling it in order to get what they want and maximize their use of time. I'd much, much rather they brush me off as fast as possible.

There's a word that describes people like this but I'd rather not use it. I'm OK with "not valuing my time" if it means I remain genuine. I do not want to live in a world of masks. I expect people to occasionally be irritated, cold, and otherwise not on their best emotional performance. I expect it even more if I am indeed at risk of wasting their time. Them being irritated and such is a cue to me to understand what's going on, if they are masking it, how can I tell? Emotions are information.

I find it much more productive to expect people to express emotions and learn to understand them, empathize with them, as well as tolerate them. The people don't have to construct elaborate masks, and I don't have guess as to what everyone's feeling.

This doesn't seem like a good source of emotional advice to me.

drivingmenuts 5 hours ago 0 replies      
Funny (by that I mean not-funny-at-all) thing I've discovered about myself:

It's a hell of a lot easier to let go of my anger when it's directed at someone else, but when it's directed at me, I hold on to that anger with both hands, tooth and nail.

hiou 10 hours ago 4 replies      
This is gross. Maybe don't be an asshole because you are hurting someone by doing it? Terrifying that a human being needs to think about the world in such a self centric way.
Postgres Count Performance citusdata.com
60 points by rdegges  5 hours ago   6 comments top 5
rowanseymour 22 minutes ago 0 replies      
Even if counts could be made faster, at scale you'd probably still want to avoid counting anything that can be pre-calculated.

We use something similar to the trigger-based method they describe, tho have found that a lot of updates to count table inevitably ends with deadlocks. So instead of updating a count value, we always insert a new count of 1 or -1, and use summing to calculate the total count as needed. A background task is responsible for continually squashing the count values.

orf 1 hour ago 0 replies      
> On the other hand count(1) takes an argument and PostgreSQL has to check at every row to see that ts argument, 1, is indeed still not NULL.

I expect that's the same for all function calls like this? Surely pg has a concept of constants and doesn't needlessly re-check parameters?

JoelJacobson 3 hours ago 0 replies      
No mention in the article of the new parallel query support in 9.6 that can speed up COUNT(*)?


andrea_s 2 hours ago 0 replies      
It's a bit odd there's no mention of the PG columnar store in this article (https://www.citusdata.com/blog/2014/04/03/columnar-store-for...) - especially since it's from the same company.

It would be interesting to see how much the performances improve once you use cstore_fdw (especially since 1M records is quite small when talking about OLAP workloads).

disclaimer: I've never used cstore_fdw, but I have evaluated a number of columnar databases in the past.

oelmekki 2 hours ago 1 reply      
Super in-depth analysis, thanks to the author for writing it.

Past the recommendation of counting based on an indexed column, I wonder if this should really be user's concern. This paragraph especially triggers a "this should be fixed upstream" feeling in me:

> A word of warning. When work_mem is high enough to hold the whole relation PostgreSQL will choose HashAggregate even when an index exists. Paradoxically, giving the database more memory resources can lead to a worse plan. You can force the index-only scan by setting SET enable_hashagg=false; but remember to set it true again afterward or other query plans will get messed up.

But worst case scenario, this article will be useful until this is fixed, so thanks again :)

Scrypt is Maximally Memory-Hard iacr.org
39 points by cperciva  4 hours ago   11 comments top 4
loup-vaillant 2 hours ago 1 reply      
Wait a minute, there's a time memory tradeoff attack for scrypt. Argon2 was developed precisely to remedy that problem. And now there's a proof Scrypt is the best anyone can do? This would mean a similar attack is possible on Argon2 as well, even if we haven't found it yet.

This sounds like a significant result, so I'm a bit skeptical right now. Perhaps the paper doesn't mean what I think it means?

todd-davies 1 hour ago 0 replies      
When we talk about the term 'computationally hard', we usually mean an NP-hard problem. I assume that here, 'memory-hard' means that no other hashing algorithm can have a greater lower bound on its memory complexity than Scrypt. Is that correct?

Edit: After a re-read, I realised that the answer is in the text:

"Memory-hard functions (MHFs) are hash algorithms whose evaluation cost is dominated by memory cost."

infruset 2 hours ago 4 replies      
I was under the impression that there were scrypt ASICS. Can someone explain how, if true, this is compatible with this claim?
murbard2 2 hours ago 0 replies      
It's worth noting that an issue with scrypt for proof-of-work cryptocurrencies is that is is expensive to check. The ideal problem is memory hard to solve but can be checked cheaply. This is what equihash (used by zcash, (https://www.internetsociety.org/sites/default/files/blogs-me...) attempts to do, though proving the memory hardness seems more harduous than in the case of scrypt.
Judicial reform advocate jailed for blogging about publicly available documents eastbaytimes.com
49 points by growlix  6 hours ago   3 comments top 2
rayiner 1 hour ago 1 reply      
I agree with the lawyers cited in the article that once the ex-wife filed private information in court filings that were not under seal, they became matters of public record.

But god, what a shitty article. The "judicial reform advocate" angle is a total red herring. That's not why the guy was jailed--he was held in contempt because he violated a restraining order not to discuss private information that came to light in the context of a court proceeding. That restraining order would have been totally enforceable if the ex-wife's lawyer hadn't screwed up by filing that private information without seal.

beedogs 0 minutes ago 0 replies      
The judge should probably be removed from the bench for that egregious decision.
Response from Google Tech Lead, Re: Google May Be Stealing Your Mobile Traffic alexkras.com
252 points by akras14  8 hours ago   113 comments top 20
cyrusshepard 7 hours ago 10 replies      
This is a good response and I appreciate Malte's effort to engage publishers, but it doesn't calm my nerves about the biggest publisher complaint about AMP:

Google owns the chrome (top navigation) on all AMP pages. This makes it easy to navigate back to Google (why would you ever want to leave?) and other publishers in the AMP ecosystem, but much harder to navigate to the publisher that created the page in the first place

In essence, this means that what was once a publisher-owned page is now shared property: between the Google and the publisher. By controlling the top navigation, Google more easily controls the content the visitor sees, keeps visitors on Google longer, provides greater opportunity to track visitors, and perhaps most importantly has the opportunity to earn more ad revenue.

Now imagine if this was a requirement for ALL pages served in Google search results. You publish a page and it appears in Google, but when the user clicks on it Google has pasted a new navigation on the top of your page. This is exactly what is happening with AMP.

This is especially troubling in light of all the anti-trust controversies Google is finding itself in, both in the US and abroad. A recent study showed that 49% of all Google clicks go to Google properties of one kind or another (Maps, YouTube, Ads, etc) http://www.slideshare.net/randfish/intro-to-mozcon-2016/24-L...

Does AMP count as another Google property that will push more than 49% of clicks their way? Hard to say, but it's a disturbing trend for a monopoly and a hard pill for publishers to swallow.

gleb 7 hours ago 3 replies      
As a user I've learned to avoid AMP pages because the UX is horrible:

* back button is broken 1/2 the time

* the bar wastes 1/3 of my screen

* I can no longer see what site I am on in the url

* it's hard to navigate to the / of the site

* I can't forward the link

* being on a good network in US it solves no problem that I have

What I'd really like to see is a way to opt-out of seeing AMP'ed pages in my search results. Or at least a way to navigate from AMP page to its native version.

Further, I noticed that AMP is a signal for low quality content. I am guessing sophisticated publishers are conservative enough to wait and see. And individuals haven't bothered dealing with it. So you get low-end publishers in between.

matt4077 7 hours ago 1 reply      
Yeah, I was quite surprised how positive a reaction the original complaint got, considering it was long-winded, repetitive, and seemed to go out of its way to misunderstand AMP.

The only valid criticism appears to be how google displays search results using its own URL and this toolbar it seems to break rather fundamental assumption about http and has the potential to break all sorts of tools that rely on the established structure of the web and open standards, as has already happened with the refer(r)er as mentioned in this response.

I wonder if there's a way to get the same result without rehosting content on their own URL. Couldn't they allow publishers to achieve the same result with a CNAME, possibly for amp.<hostname>.<tld>? And do the google servers add anything beyond being distributed caches? Because if not, it seems this level of indirection is redundant for websites already hosted on CDNs.

Regarding the toolbar: yeah, that's a terrible idea. I have no sympathy for publishers who object to it because if it reduces your retention rates there's probably more wrong with the content than the presentation. But as a user, it's the sort of "assisted browsing" that feels intrusive, like resizing the window or a "you need flash" popup (I don't).

Considering their market share in browsers isn't far behind the in search, I wonder why that function isn't just a chrome feature. Funny thing is: it's a feature that exists in Safari ("Search results snapback").

chiefalchemist 6 hours ago 2 replies      
Google has their version of the internet. Facebook has their version of the internet. As time slides forward just think of how many users won't know the real internet from these rubber doll versions.

Congrats humanity. Your best invention ever and it only 20 years or so to completely fuck it up. This is why we can't have nice things.

nv-vn 2 hours ago 1 reply      
Am I the only one here who has never seen an AMP site in the wild? Seems people in the comments are super familiar with the service.
Sephr 6 hours ago 3 replies      
As positive as the response sounds, it is an empty promise.

> Were looking at ways to make the source link more discoverable and will update once that is done.

If Google was actually going to fix the issue, they would have said "we will make the close button direct users to the original site and will update once that is done" OR "we are changing the x (close) button to a (back) button".

"x" means "close" and "" means "back". This is confusing UX at the least and arguably a dark pattern.

dingo_bat 7 hours ago 3 replies      
So basically this guy says all of the issues are by design and you can choose not to use amp if you don't like all of it. Google isn't going to penalize non amp pages in search ranking. They are just going to not show your page in the carousel.

I think it's a pretty fair position to take. If you don't like amp don't use it. We'll see if amp catches on over a period of time.

codezero 6 hours ago 1 reply      
Am I being uncharitable in saying the TLDR is:

This is working as expected and you need to do more work to make AMP work for you?

Why can't it work with templates, why does content that was created need to be created again for AMP? This doesn't seem very scalable.

Also, the attribution for ads and analytics basically means you need to reimplement your entire tracking code within the schema and spec of AMP's analytics attributes which only supports a subset of existing providers rather than allowing an abstract interface.

Also to the point that AMP doesn't affect search position, is this true if someone serves a shitty AMP page? Or is it only true that it won't boost position?

rahrahrah 7 hours ago 1 reply      
He avoids really hard addressing the only bit that matters

> Guess what happens when the "close" button is clicked inside the AMP view?

And the amount of disingenuous on this just rubs me the wrong way:

> If you are not comfortable with traffic on your AMP pages, please do not publish AMP pages.

csmajorfive 7 hours ago 0 replies      
It's nice to see Google investing in direct responses to the community. If you build a developer product, monitoring HN for criticism and responding is very high ROI. Few companies actually do this.
StephenConnell 7 hours ago 1 reply      
If hacker news had a speed rating next to the links I would probably click on them more instead of just reading the comments to decide if it's worth pulling up an article.

Note, It has been suggested that a speed rating on Google would be equivalent to the amp experience with less Google control.

jasonhansel 5 hours ago 1 reply      
I don't see why Google needs to have its own cache for AMP pages. If a publisher has its own fast CDN, why not just let it serve the AMP pages from its own domain?
ComodoHacker 2 hours ago 0 replies      
>Hey, this is Malte and I am the tech lead of the AMP Project for Google.

Of all his 725-words response only 18 words directly address the problem:

>Were looking at ways to make the source link more discoverable and will update once that is done.

That's 2.5%. Is he really a tech lead?

stygiansonic 7 hours ago 0 replies      
Previous HN comments on the original story: https://news.ycombinator.com/item?id=12722590
pmontra 3 hours ago 0 replies      
> If Google cares so much about the mobile experience, why cover 15% of the small mobile screen with a fat bar at the top?

> The Android users might have already noticed that it is now scrolling out of the way

It doesn't scroll away. Just checked on Google news with both Chrome and Opera. Android 6. Am I missing something?

woliveirajr 7 hours ago 0 replies      
End users, in generall, don't know and don't mind about these complaints against AMP.

What matters is if one gets the results he was searching for. And somehow those pages that have "amp" written nearby open faster, so let's click more on those.

Market pressure will drive decisions on whether it's better have amped pages (with those claimed drawbacks) or try to capture attention to the whole site with navigation and lighter pages.

And as a prisoner's dilemma, if sites that don't have amp are as fast as the amped, having "amp" near your link won't matter. If they are slower, the distinction will matter, independently of your specific optimization.

aeharding 7 hours ago 2 replies      
So if I built my own personal ad network, I could make a PR and have it be accepted?
mthoms 4 hours ago 0 replies      
There's also this little chestnut:


TL;DR Google AMP also hijacks app deep links

TheAceOfHearts 7 hours ago 1 reply      
Does Google have any plans to let users opt out? Maybe an icon that takes you to the original? I tried opening the AMP link in a new tab and it took me to the site, so at least there's a workaround.

Since I normally use Firefox Mobile (has to try it with Chrome), I don't get the AMP icon and I'm taken to the requested site. I'm guessing this functionality is limited to Chrome and (maybe?) Safari on mobile.

AMP is attempting to solving a challenging problem, and although I don't personally agree with their solution, I've gotta recognize that opening the embedded AMP version of the page from the result of "git tips" was faster on Chrome than on Firefox. I'm hopeful that the lessons learned from this will be pushed upstream and help improve the web.

SakiWatanabe 4 hours ago 0 replies      
so how do i view the original page...?
The VeraCrypt Audit Results ostif.org
259 points by conductor  15 hours ago   75 comments top 11
JoachimSchipper 14 hours ago 4 replies      
Those results do not really inspire confidence. Shipping an ancient version of zlib without patching, ever, is an avoidable mistake. The GOST 28147-89 cipher basically cannot be used with XTS due to the cipher's 64-bit block size, which should have been caught by a good crypto engineer.

Also, the most significant new work - the UEFI support - seems to have quite a few issues.

Note that, despite the color-coding, the list of fixed issues is not the list of critical (red) issues!

technion 12 hours ago 0 replies      
The danger I caution against, is that I've seen colleagues jumping to obscure, and in some cases, obviously broken crypto products, because "I read an audit that Veracrypt is insecure".

That some person's weekend project doesn't have an audit like this expressing issues doesn't make it better - it makes it worse. Please consider that when reviewing the context of this paper.

hackuser 12 hours ago 3 replies      
OSTIF's financial support is sad. Why is the open source world so generous with time and so cheap with money? Kudos to DuckDuckGo for apparently being the only business that pulls their weight; another great reason to use them.


 Top OSTIF Donors These are the individuals and organizations that have given the most support to the OSTIF. Individuals: Derek Zimmer $1947 Zach Graves $188 Amir Montazery $200 Ben W $30 Nathan N $10 Groups: DuckDuckGo $25,000 VikingVPN $1000 A special thank you for website support from Mike from HTPCGuides.com
EDIT: On a second look, is that list really accurate? The fifth highest individual donor gave $10?

I read about the founder and long-time developer of a well-known, respected Linux distro, who had to move back to his hometown because he couldn't afford the Bay Area and has no health insurance. Maybe some of his millions of users could chip in a little for the incredible service he provides to them. How depressing.

djsumdog 14 hours ago 1 reply      
I was a big fan of TrueCrypt before its still very explained end.

Glad we finally have a security audit of this fork. True/VeraCrypt has been essential in defending the rights and freedoms of many people. Hope this project continues.

zerognowl 14 hours ago 2 replies      
So many bootloader fixes, this is awesome! For those using FDE, read this: http://spaceisdisorienting.com/when-fulldisk-encryption-goes...

I tend to use FDE for non mission critical working environments, like casually surfing the web, or just messing around with code. FDE can go wrong at the worst of times, and can undo years of work if you let it.

That's why if you're using FDE for anything important, you should be backing up crucial data to containers, or otherwise preparing for the entire disk to be scrambled beyond repair and or bricked.

therealmarv 14 hours ago 3 replies      
I've read several times that VeraCrypt is not 100% TrueCrypt compatible. Any experiences? I switched anyway for most stuff to EncFS (and not using containers anymore, but the reasons for this is more cloud backup) but I'm not sure if I would upgrade from old TrueCrypt 7.1a (for old containers) to VeraCrypt in the future.
arunc 13 hours ago 1 reply      
How do we request OSTIF to audit a project? For instance, Tox [0] claims to be secure. Is there a way to request them to audit Tox?

[0] https://tox.chat/

noarchy 13 hours ago 1 reply      
VeraCrypt has not been usable for me, since upgrading (if I can call it that) to macOS Sierra. There seems to be an issue with FUSE for macOS, preventing me from mounting anything.
zapt02 13 hours ago 0 replies      
Anyone with experience on DiskCryptor? I've been using it for a while and it seems to be stable and well-built, but development seems to have halted and now I'm looking to possibly jump ship to VeraCrypt.
Kenji 14 hours ago 3 replies      
If you find this many critical bugs, there is no doubt that there are more, since it is indicative of the overall code quality. Still, what they're doing is good work and crypto remains hard. I am glad they're doing it.
JohnStrange 13 hours ago 1 reply      
The audit confirms my suspicions that VeraCrypt is relatively unsafe.

I would also suggest to take into account the fact that, albeit being open source, it is primarily developed by a French security company whose web pages https://www.idrix.fr/Root/ do not inspire confidence in combination with France's history of dealing with encryption. A conflict of interest can easily arise in such companies between the companies or authorities that pay them and the interests of the general public.

"You'll find below a partial list of those who gave us their full trust, as some of our customers prefer to remain discrete about our collaboration."

If you get a C or lower, Ill buy you a present nytimes.com
236 points by hypertexthero  14 hours ago   99 comments top 26
JumpCrisscross 12 hours ago 7 replies      
Part of the problem is our culture lauds perfectionism as a case of someone caring too much or being too ambitious. That's not what it is.

Perfectionism is a failure to optimize across a complex goal space, settling, instead, on ignoring the difficult (and beautifully complex) prioritisation problem in favour of over-optimizing a limited set of easily-defined goals ("getting an A") over longer-run priorities ("being a fulfilled and productive citizen").

unabst 10 hours ago 0 replies      
In Japan perfectionism is not encouraged. The rough translation kanpeki shugi () will bring up more ways to fix it than become it on the first page of google.

What the Japanese culture and other Asian cultures similarly encourage however is discipline (majime, ), and the proper way (matomo, . This means parents instill time management (basically they force kids to take the time to study) and procedure (study environment, tools, focus, resources). This is the true cultural advantage.

With regards to suicide, this too can be correlated to culture with statistics, but it has nothing to do with perfectionism. I would attribute it more to their naivety when it comes to mental well being, and to self sacrifice. In other words, they think it's okay to suffer and sacrifice their mental health far past the safe line, and fare more than most would permit in the west. In Japan, your "self" takes a back seat to the onus of being the majime and matomo Japanese citizen.

The answer is to learn time management, discipline, and procedure, but while staying healthy, both physically and mentally. That's what OP's father did. He made sure his daughter's mental health was okay. That's what parents ought to do, and he deserves all the credit in the world.

11thEarlOfMar 12 hours ago 2 replies      
Do you think there is more uncertainty about the future today than there was, say, 50 years ago?

Anxiety about school and grades may be an outcome of an increasing sense of uncertainty. The less confident one is about the prospects of the future, the more safety net they will desire. Getting the best possible education is perceived to be the best safety net short of a trust fund.

One major difference between 2016 and 1956 is the perceived likelihood (for Americans, anyway) that you'll be able to work on an assembly line, or, a customer support group, or that your white collar job will be done on-shore.

My advice to my kids was to seek a profession that could not be sent overseas, one way or the other. Such as dentist or lumberjack :-) But of course, we now have hair transplant robots which bodes poorly for both professions.

What it means to me is that navigating the rest of the 21st century requires thoughtfulness, sound analytical skills and a sense of agency. People have to be able to understand the relative impact of all manner of dynamic systems in the world, not just technology, but economics and government, and the way they all interact. Then, they need to plan how to do to stay relevant and execute their plan.

Learning that seems like a lot to ask from a public high school education these days, yet, I believe I learned it 40 years ago.

What has changed?

zodPod 12 hours ago 2 replies      
This sentiment, while important to remember if you ARE a perfectionist, also sounds like a really slippery slope similar to something like eating right. "Well if I just eat when I'm hungry" you'll find you're frequently "hungry" if you're a certain type of person. That said, if you're a certain type of person, "not being a perfectionist" could be a great avenue for never pulling yourself out of your slump.

"I messed up at school" Well, I'm not a perfectionist so that's fine I'll just keep at the same pace. TURNS OUT, that pace wasn't so useful. "I am failing Chemistry" OH WELL. I'm not a perfectionist so it doesn't matter.

You can see how this can be a problem as a mantra to a certain type of person.

yaacov 12 hours ago 3 replies      
These parents were able to send their kid to NYU, an extremely expensive private college with almost no financial aid.

Many of the parents who put insane pressure on their kids to succeed academically do so because they can't afford schools like NYU- they have to get into more competitive schools that offer more financial aid or lower tuitions.

drakonka 12 hours ago 3 replies      
I have experienced both types of approaches from my family. As a kid attending school in Ukraine we had classes 6 days a week and hours of homework each day. My grandmother was a teacher before retirement - I remember her having some very harsh words over my late nights doing math homework in 3rd-5th grade (I can't remember why but in my school there was no 4th grade, everyone in my class went from 3rd into 5th). I just could not get long division for the longest time - there was yelling and tears.

When my family (not including grandparents) moved to the U.S., my parents noticeably loosened up. I think it was because they didn't feel like they had to chase after me to do well so much anymore. They were kind of caught off guard by the school system. Math was the most important, but the stuff we were learning in math at the U.S. school were things we learned long ago in Ukraine so to them it looked like I was doing well and needed no chasing. In truth I was only doing well because my grandmother made me drill math so hard in Ukraine in prior years!

Unfortunately when in later years what we learned in American schools started to overtake what I had already known from Ukrainian schools, the relaxed attitude began to show in my grades. Perfect scores slipped to mid-lower 90s, then to Bs, and even some Cs. I remember failing one test - still can't remember why, even my teacher was shocked. I ended up graduating high school with "above average" grades, but nowhere near as good as they would've been had my grandmother kept charge of my learning.

While I don't miss my grandmother's yelling, I do wish my parents were a bit more strict back then (and at the same time realize that my lack of motivation in school was entirely my fault). I turned out ok, but feel like having a stronger grasp of math and more structured study habits would've been very beneficial later in life.

webkike 12 hours ago 4 replies      
My dad always believed that if you're going to do anything, you should try to be the best at it. In terms of grades I certainly have not seen a positive effect, but I think the reason is I don't value professional education as much as passion learning, which for me is much more rare. The sentiment however has been instilled in me, and when I discover something that I enjoy doing its hard for me to be second place.
pingec 12 hours ago 1 reply      
If my parents bought me a present after I had received a bad mark in school when I was a teenager my twisted mind would have interpreted that as a catastrophe, "my god, they really do think I have failed and now they are even trying to bribe me to be better, they must be desperate".
lr4444lr 11 hours ago 1 reply      
That motivation may have been contextually valuable for Ms. Chia, but speaking as a former teacher, the majority of American students would probably benefit from parenting that sits further down toward the "Tiger Mom" end of the parenting spectrum. Not off the deep end, of course, but definitely further than at present.
alextheparrot 6 hours ago 0 replies      
My parents and collegiate experiences were much like the author's. I would call them asking for advice, only for them to ask about how I'm pursuing happiness. That openness and lack of using perfection as a goal allowed me to pursue first (pre-)medicine, then (pre-)graduate school (Biochemistry), and finally Computer Science throughout college. After four years, I found myself with two majors (Biochemistry and CS) and can only thank my parents for not pushing me in one direction, as I've never been happier as I am now developing software in the biotech space.
toomanybeersies 8 hours ago 0 replies      
I seem to be saying it even more, but once again I must state that perfect is the enemy of good.

Often people strive for perfection in their grades, to the detriment of their finances, friendships, and personal development.

It happened to several people I know, they'd lock themselves away and study for hours instead of being social and forging relationships (which in the real world outside university are a lot more important than grades).

At the end of the day, everyone gets the same Degree (unless you're doing honours, where there are grades). It doesn't really matter what your grades were if you can network yourself into a job instead.

snowwrestler 12 hours ago 1 reply      
By the time her father said this to her, she obviously already had strong intrinsic motivation. Her parents just did a good job of managing it.

How to create intrinsic motivation is a harder question. There is some research that parents can create it by setting and clearly communicating expectations from an early age. But it's not conclusive.

We're clearly deep into nature/nurture territory here.

blahblah3 6 hours ago 1 reply      
In my experience, asian parents tend to vastly underestimate the importance of genetics that predetermine a child's strengths and dispositions. Kids that are born with some combination of great working memory, processing speed, and abstract reasoning ability will do fine at math and science with an order of magnitude less effort than others. For these kids, being pushed to perfection in school can be beneficial. For others, the expectation that they need to do as well as the other kid on the SATs or in engineering or medicine or whatever often leads to the problems the author describes (suicidal ideation, depression, etc...). Sure, everyone should be encouraged to try their best but there needs to be more focus on cultivating everyone's unique strengths. Often times the people getting perfect SAT scores aren't studying any more than others (in my experience, less), yet asian parents will tend to believe that their kid's imperfect score is due merely to a lack of effort.
thomasahle 2 hours ago 0 replies      
In high school I asked my parents if they'd pay me for hood grades, like I'd seen from some of my friends.

Mh parents agreed they'd pay me my GPA, which converted from the Danish grade range and currency meant I could make from 0 to 2 dollars a year..

I actually quite liked that system.

stirner 12 hours ago 0 replies      
As others in the NYT and HN comments have said, the best parenting strategy seems to depend on the psychology of the kid.

My parents were more or less in the pussycat camp, which led me to put an enormous amount of pressure on myself as I felt like they just said that to be nice, because they knew I was "gifted" and would ultimately do "what they really wanted". It wasn't good for me mental health wise.

electriclove 11 hours ago 0 replies      
I agree with the sentiment and hope to raise my children without tiger parent pressure. Though graduating with a psychology degree and studying copywriting seems to make for a tough life ahead. I certainly don't want my child to "have to break [their] neck to make a living", but it seems like that might end up being the case here anyways.
shurcooL 6 hours ago 0 replies      
This phenomenon reminds me of what it's like to send PRs to a project, hoping it gets approved and merged ASAP... Then being given push rights, and suddenly finding yourself on the other side of the fence: hoping PRs are reviewed very rigorously and merged only after much scrutiny, to keep the code quality and maintainability up, scope low, etc.
agentgt 12 hours ago 1 reply      
The work ethic correlation with suicide at the end of the article in a common sense way is sort of sound but it also begs the question: "maybe some cultures are more comfortable with suicide" (a->b) instead of idea of the author has "since asians work harder/have higher expectations more asians must commit suicide" (a->b->c). Obviously the author has the stats that asians are in more prestigious schools but that doesn't necessarily mean they are pressured more or that they are consequently more likely to commit suicide.

For example you could have devout catholics that have the same work pressures and stressors but would never commit suicide (I don't know if that is true but I'm not sure about the authors position either).

andrewvijay 2 hours ago 0 replies      
I'm gonna show this to my mom now. Hope she doesnt smack me.
tomcam 10 hours ago 0 replies      
What amazing parents. I know Asian parents well, and this is utterly extraordinary.
vtepe 12 hours ago 0 replies      
I was raised the oppossing camp. The effects: psyche to fix, loneliness and I still have to work in warehouses.
haloboy777 5 hours ago 0 replies      
That was a very good clickbait for me as a college student.
jlebrech 4 hours ago 1 reply      
maybe it's just genetics then.
gohrt 8 hours ago 0 replies      
> Kate Chia, a 2015 graduate of New York University [with a degree in Psychology], is studying copywriting at Miami Ad School.

Not sure we should be looking to this person's story as a role model.

supergetting 4 hours ago 0 replies      
When I was a 3rd grader in South Korea I had the hardest time solving the simplest arithmetic problems. My teacher used to keep me after hours as a punishment until I was able to solve them. I think it was literally something like "2+3-3+2+2-100+39". You could say that I was pretty much in the opposite end of "exceptional" on any subject was NEVER serious about school back then and completely ignorant of education (probably didn't even know what this meant).

To me school was a place where I went to hang out with friends for 7 to 8 hours, and yet, I don't remember my parents doing anything about it, not even a light discussion about my education. This went on for several years even during my early school years in the U.S. (my family immigrated in the middle of my 3rd grade year).

It was only when I started watching stargate and other scifi movies/tvshows that I got interested in science and technology, and thought "Hey, maybe I might try this thing called education so that I can do things that these guys are doing in the tv!", but realized that I was still extremely subpar at math and english (not to mention i even sucked at korean - got worse now, but i think i got a little bit better at english), and pretty much everything else, flunked algebra in high school and mostly Cs and rarely Bs on other subjects, and miraculously A in PE hahaha.

At the time I knew I had to do something about it, so I asked my parents for help, but sadly got close to none. They hired some tutors for me but it never worked out (you could really tell, the tutors were frustrated at how stupid I was). At some point I realized that I had to take this matter into my own hands - had to start all over from the fundamentals. At which point I actually started reading books, writing, memorizing, solving (math problems), I had to pretty much make up for what people usually learned in their primary school up to jr. high years. I eventually managed to do well in math, improved speaking/writing/reading in english a little bit, trained myself in scientific thinking, got into physics at a university and now I'm working as a software engineer. Buried in financial aid debt... :(

The thing about people though... is that we forget quite a lot of things we learned 10 years ago, but the most coolest thing nowadays is that as long as you have a way of getting information into your head, your education only ends at your last breath. Although when I was growing up I hardly saw my father, and my parents never intervened in regards to my education, they were there for moral support, life lessons, and the list goes on. I think that in the near future if I were to have children of my own, first and foremost I'd hope to see them growing up healthy, and that they'd find something they're interested in earlier in their lives, but I'm not sure if it will help to be strict with their education, we'll see.

honkhonkpants 11 hours ago 0 replies      
Had to think for a bit about the sign or direction of "or lower". A and B are less than C in my everyday existence.
No Mans Sky Procedural Content 3dgamedevblog.com
177 points by Impossible  13 hours ago   111 comments top 11
stcredzero 12 hours ago 12 replies      
I say this as someone currently developing a vast space game using procedural generation: The danger with procedural generation is "remix boredom." The user can feel, "Oh, this is just a remixed variation of the same stuff."

The reason why we don't feel that way about the real world, is because the real world doesn't just have "remix procedural." You have to have some player-significant emergent effects coming out of the procedural generation. You see this in Minecraft. You even see it in the 1st generation of the original Elite game. The player's interest in your procedural world is directly dependent on how deep these emergent effects are. (So the emergent effects can be shallow or deep, with the corresponding amount of interest from the user.) (Which is why my procedural generated world primarily exists to support a procedural generated technology tree.)

danso 10 hours ago 2 replies      
It speaks to the clusterfuck that NMS became that this detailed blog post is written by a fan reverse-engineering the code/content, rather than someone from Hello Games doing a post-mortem on Gamasutra who can speak with more authority. I'm not knocking the author's attempt at reverse-engineering -- in fact, it's awesome on a geek level because reverse-engineering is an additional technical hoop to understanding a game's core. It's just that when a game has as much hype and sales as NMS does, usually the creators would be the ones to do a technical post about how clever they were.

But the mention of the diplodocus is just one example of how much of a clusterfuck NMS is: The diplodocus and other beautiful dinosaurs were part of the E3 demo that was presented to fans as NMS's procedural code in action. And, as the author notes, it doesn't appear to be something that actually was procedurally generated, but was hand-designed to make the E3 demo footage look good (and, to Hello Games's shame, they used this footage as the official advertising for NMS, even after release).

Here's one of the canonical parodies of the shady shit Hello Games pulled: https://www.youtube.com/watch?v=RvAwB7ogkik

edit: grammar fixes

boardwaalk 11 hours ago 3 replies      
Unfortunately Hello Games didn't go in the most interesting direction I think procedural generation has to offer, which is to, however it is accomplished, create content that is actually interesting to the human player. We're way too smart to not recognize the random planets and creatures and so on as samey and pointless rather then something to be discovered and learned and overcome.

Also, using procedural as a "force multiplier" for content developers is really interesting: Letting them make snippets or "mad libs" and have algorithms mix and match and adjust under constraints that make the content make sense (i.e. buildings where the rooms have purpose and their interconnections make sense).

I know this has been explored in some games, particularly rogue-likes like Spelunky and Rogue Legacy.

What about shipping a trained neural network with your game taught with human-made levels to create even more levels? How neat would that be?

I just hope procedural generation doesn't get a bad name and is explored even more.

kabdib 11 hours ago 0 replies      
Douglas Crockford, in Atari days, remarked on some procedurally generated content:

"Never once the same. Never twice very much different."

The Diablo 2 / 3 franchises do procedural dungeon generation, as does Spelunky. They have written rather thoughtful articles on some of their techniques.


(Hmmm, can't find anything concrete about Diablo. I'll keep looking).

grenoire 12 hours ago 3 replies      
It's interesting how the level of variety of the assets does not translate directly to the game. I do actually suspect that there might be some sort of prefabrication going on with the creatures, or maybe some bug with the generation code is simply not using all the available asset combinations.
edem 11 hours ago 1 reply      
This is in stark contrast with Dwarf Fortress which has literally no graphics but indefinitely more rich in content. My favorite statement about No Man's Sky is: "One feet deep ocean".
chamakits 6 hours ago 0 replies      
A bit of an aside, but WOW. I am amazed both by the dedication and skill needed to reverse the format and protocol of some undocumented binary files without even having access to the code that processes it, and on top of that, the dedication of building a UI to help along.

I know it's not the main topic of discussion, but sometimes I find it overwhelming and frustrating to analyze things that I have full access to the codebase, and it's really quite humbling to see this level of success and dedication.

Really impressive work.

jheriko 11 hours ago 1 reply      
It's a shame there is nothing much about animation. The rest is pretty much the simplest possible approach you could take, and nothing special at all... but the animation seems genuinely interesting.
EugeneOZ 10 hours ago 1 reply      
It will not save this extremely boring game. It will not return trust to the team after lie about multiplayer. Only useful lesson NMS gave us - generated content is pretty boring.

I hope there will be games for future generations of computers, maybe quantum computers, where world will be generated on the molecular level. Maybe very small world, but it will be interesting just to increase time speed and bring some action there - just watching of micro-world evolution will be interesting.

Cozumel 12 hours ago 0 replies      
I think maybe assets are related to regions of space, at first I got no snow or water planets, then I got loads of them, purely anecdotal though, I don't know one way or the other.
partycoder 6 hours ago 0 replies      
If you like procedurally generated stuff, a good exercise is to render a basic Lindermayer system, or L-system for short. You can render some trees and stuff. Very didactic and entertaining.
Secure Your Containers with This One Weird Trick redhat.com
100 points by cheiVia0  5 hours ago   27 comments top 9
brendangregg 3 hours ago 1 reply      
I wrote an open source BPF tool recently that shows which capabilities your application is using, live, for the purposes of determining such a whitelist: http://www.brendangregg.com/blog/2016-10-01/linux-bcc-securi...
josteink 2 hours ago 1 reply      
It's da to see the word "container" used synonymously with "Docker container". There are other container-technologies out there, and this one only applies to Docker.

Have we landed in what seems like yet another mono-culture situation where there are actually several viable technologies at hand?

If so, that would be a real shame. Docker is broken in quite a lot of ways and needs all the competition it can get.

fulafel 4 hours ago 3 replies      
What's holding back user namespaces with Docker, are containers requiring real root common or is there some other reason it's turned off by default?

I guess the explanation might be the example image here: it's called "fedora". I thought running whole Linux distributions VM/LXC-style under Docker didn't really work - the Docker people always said you're only supposed run one app per container. Has this changed?

tayo42 5 hours ago 0 replies      
I never understood why container security needs to be treated differently then regular security for the os and process.
RangerScience 5 hours ago 2 replies      
So... coming from Rails land, where convention reigns, why is the locked-down list not the standard?
quickben 4 hours ago 2 replies      
Clickbait headline.
insaneirish 4 hours ago 0 replies      
> Secure Your Containers with This One Weird Trick

tl;dr run SmartOS?

andrewvijay 3 hours ago 0 replies      
so much talk about security but still the blog is served as http. SMH
lowbloodsugar 3 hours ago 1 reply      
I'd find it a lot easier to believe this isn't a redhat FUD-job if the article listed the entire list of privileges and contrasted those that docker gives by default and those that require --privileged [1]. Also required would be meaningful discussion about how other defaults, such as networking, affect these capabilities.

>This ones easy. If you have this capability, you can bind to privileged ports (e.g., those below 1024).

Sure, it can bind to port 80 on a virtual network device that is unique to that docker container, unless you give the container host network privileges.

[1] https://docs.docker.com/engine/reference/run/#/runtime-privi...

Codebender is closing down codebender.cc
49 points by bhagman  7 hours ago   8 comments top 5
cyberferret 4 hours ago 0 replies      
Dang! Sorry to hear this. I had a CodeBender account a while back when I had time to play with Arduino devices. Haven't had the time lately, but from all I remember, it was a great online IDE for such devices.

I wish the team all the best. I didn't expect that the site would cost ~$25K/month to keep up. That is a huge cost to be borne out of their own pockets, or from the modest investment money they had.

Sembiance 2 hours ago 1 reply      
$25,000 a month operating costs. Wow. I'd really love to see a breakdown of these costs! It would help so many other entrepreneurs out there.
sotojuan 5 hours ago 2 replies      
Is it true that makers don't "want" to pay for software or is it because they're so used to software being free?
tarr11 6 hours ago 0 replies      
What a cool project, wish I had heard of it earlier...
mankash666 2 hours ago 0 replies      
That's a generous transition plan for current free users. Well done!
Apple hires CMU professor as director of AI research to smarten up Siri techcrunch.com
144 points by doppp  14 hours ago   47 comments top 9
vonnik 10 hours ago 1 reply      
This headline doesn't include the most important information. Russ was part of the big bang in deep learning about 10 years ago when he was Geoff Hinton's student. His name is on the 2006 papers about RBMs.[0] CMU is a great school, but Russ is not a random guy from CMU. He's a deep learning veteran who's done a lot of important work, which makes this a huge hire for Apple. They were lacking a marquee name for their AI team, and now they have it, and that's probably going to accelerate their recruiting and product development.


grandalf 8 hours ago 3 replies      
I'd never used Siri in the 5+ years I've been using an iPhone. Then I switched to Android for a month while awaiting the iPhone 7 (my previous phone screen cracked and could not be repaired a month before the new release).

After being impressed with "OK Google" I decided to try out Siri on my iPhone 7. I have been shocked how much better "OK Google" works than Siri. I think Apple has a fair bit of catching up to do in this area.

With OK Google you can basically just tell it what app to open, what to do, etc., and it works. With Siri, something as simple as asking her to play a song doesn't actually start playing the song, it forces you to interact with a clunky UI on the siri screen first, then it doesn't even open the correct song in Apple Music.

shas3 11 hours ago 3 replies      
Just mull the power and influence of deep learning: Yann LeCun is in FB, Geoffrey Hinton and part of his lab are affiliated with Google, Ruslan Salakhutdinov is now with Apple. In addition to this, there are other alumni of LeCun, Hinton, and Bengio dispersed across different notable companies like OpenAI, etc. Aside from the post-WW2 semiconductors-spurt, I can't think of a 'technology' that has become so suddenly so important as deep learning. You have a few scientists who spawned the fields of neural networks and deep learning in charge of what appear to be significant research efforts at the top tech companies (by market cap). Like silicon semiconductors and integrated circuits, deep learning approaches are likely to be the primary set of algorithms underlying many future 'intelligent' products and services. You will likely see a similar thing in biology/biotechnology with CRISPR in the near future.
spike021 11 hours ago 0 replies      
Sounds like a major concern of him being hired by Apple is whether or not he'll be able to publish research.

I wonder how that'll work.

gnipgnip 1 hour ago 0 replies      
Hmm. Is Turi going to be separate from Apple AI division ?
rileymat2 6 hours ago 0 replies      
Beyond AI they have lots of basics to get right.

Hey Siri turn on flash light...

I cannot do that.

fnbr 10 hours ago 1 reply      
Smart move by Apple. I'll be following their moves to improve Siri closely. The fact that they're hiring researchers as strong as Ruslan makes me feel that they've got real potential to drastically improve Siri going forward.

I think that Siri has the potential to improve non-linearly. If they can get Siri to be slightly more useful, the millions of iPhone owners will instantly use it more, creating a virtuous feedback loop.

arcanus 12 hours ago 2 replies      
His expertise is in deep learning, not that this is a surprise.

Was Siri already based on neural nets?

jheriko 11 hours ago 1 reply      
I got spam trying to sell me uber when I visit on my phone.

No thank you TechCrunch... shame on you

I Won $104M for Blowing the Whistle But Was the Only One Who Went to Jail melmagazine.com
405 points by monsieurpng  13 hours ago   81 comments top 11
bradleybuda 12 hours ago 2 replies      
A little more detail from a neutral source on why Birkenfeld was jailed: http://content.time.com/time/business/article/0,8599,1928897...
tptacek 12 hours ago 4 replies      
This almost makes some kind of sense. The "whistleblower award" he got was the percentage of recovery the IRS pays as a bounty for intelligence on tax avoidance schemes; it's a portion of the money he actually helped recover for the government. There is a rational case to make for someone being both fully culpable for wrongdoing while still remaining entitled to bounties they've satisfied.

For another complicated IRS recovery bounty case, see the story about Vanguard's "internal whistleblower" who is making the case to the IRS that their cost-saving structure is an unfair advantage, and that they owe taxes on those savings to the government. If that "whistleblower" prevails, he'll have harmed the retirement savings of tens of millions of Americans, all of whom benefit from Vanguard's novel structure. But there you go!

As for this guy's superiors not being prosecuted, yeah, that sucks. The prosecutors can only make the cases they can make; this guy confessed.

guelo 12 hours ago 2 replies      
It's worth noting that both Kathryn Keneally, the assistant attorney general mentioned in this article, and Kevin Downing, the lead prosecutor that got him jailed, both now work for private law firms helping large corporations shelter their taxes.
intrasight 7 hours ago 1 reply      
Whistle blowing is a total crap shoot. We'd have much more of it if that wasn't the case.
JakeAl 1 hour ago 0 replies      
His book:http://lucifersbanker.com/

As secretary of state, in an unusual move Hillary Clinton intervened with UBS to help it out with the IRS and DOJ. He seems to imply that Hillary brokered the treaty to release the 52,000 names -- a deal which they backed out of citing Swiss law after only providing 4,500 names -- because of the global corporate elites tied to our government, politicians from all over the globe and CIA who would be implicated. He notes that the CIA funneled the money from Iran-Contra through a Swiss bank account, and the plane used to deliver the 400 million in unmarked cash to Iran came from Geneva. He also thinks it was the CIA that leaked the Panama Papers, selectively exposing names.

After Hillary's deal, the Swiss bank paid Bill Clinton $1.5 million for speaking gigs. Total donations by UBS to the Clinton Foundation grew from less than $60,000 through 2008 to a cumulative total of about $600,000 by the end of 2014, according the foundation and the bank.

There is no evidence of any link between Hillary's involvement in the case and the banks donations to the Bill, Hillary and Chelsea Clinton Foundation, or its hiring of Mr. Clinton. But her involvement with UBS is a prime example of how the Clintons' private and political activities overlap.

It should also be noted that in 2011 the Clinton Foundation announced a partnership with UBS on the CEO-UBS Small Business Advisory Program which connects "small businesses" with - One-on-one pro-bono strategic financial and business counseling - Access to the entire suite of UBS's resources, including senior leaders within the firm's marketing, human resources, operations and Investment Banking divisions - Opportunities to network with industry influencers and major decision makers in both the private and public sectors.

The ten small businesses enrolled in the program had average annual revenues of $8.44 million in 2010 and together employed a total of 400 people at the end of 2010. The entrepreneurs and their companies who participated are: Julie Azuma, Different Roads to Learning, Inc.; Dinesh and Josh Boaz, Direct Agents, Inc.; K.Y. Chow, GM Printing; Richelieu Dennis, Sundial Creations; Kenny Lao, Rickshaw Dumpling Bar; Tamara Mangum-Thomas, Sharpened Image, Inc.; Mike DiMarino, Linda Tool; Marjorie Perry, MZM Construction & Management Company, Inc.; Jeffrey Smalls, Smalls Electrical Construction, Inc.; and Larry Velez, Sinu.

ipsin 11 hours ago 0 replies      
I was so confused by the chronology, particularly with respect to smuggling diamonds in a toothpaste tube[1], which I'd read about previously.

What I can't figure out is if that evidence was actually retained and entered as evidence at trial, or if the image in the article I linked was a reconstruction.

[1] http://upstart.bizjournals.com/views/columns/2008/09/17/UBS-...

chc 12 hours ago 3 replies      
It sounds like he didn't actually go to jail for the crime he blew the whistle on, per se, but for continuing to cover up part of the crime afterward by refusing to produce information they knew he had. Maybe all the folks who got non-prosecution agreements actually cooperated with investigators.
wrs 8 hours ago 1 reply      
Just to clarify a minor point -- the person he says threw her Blackberry across the room in frustration over his award is described by the NYT article as being frustrated because it was larger than her department's entire budget, not necessarily because he got an award at all.
victorhooi 11 hours ago 1 reply      
Aha, but does he need to pay taxes on that $104 million? =)
themodder666 5 hours ago 2 replies      
Fuck this guy. No, seriously, fuck this guy. Why in the hell would anybody who's not an asshole decide to aid and abet the state in its coercive expropriation of money? I find this guy repulsive.
ensiferum 4 hours ago 0 replies      
And this is just the tip of the ice berg. Think about all the scheming, scams, power mongering, corruption and outright crime that goes on in the banking business. Self regulation my ass. They're gambling on the whole planet basically. And ofc nothing will ever chance, because the banks own the goverments. A single "occupy wall street" protester will certainly get more time in the jail for minor offence than a bank exec would ever get for his crimes.
Milagro: Distributed Cryptosystem for Cloud Computing apache.org
68 points by blopeur  11 hours ago   5 comments top 3
Ar-Curunir 9 hours ago 1 reply      
They say they use generic implementations in languages like Java and Swift. I'm left wondering how that impacts security against side channels.

I also can't seem to find any actual security definitions or proofs for the project; I am thus disinclined to trust any security guarantees this project claims to offer.

kapitza 9 hours ago 0 replies      
Irritatingly, a lot of the docs on the Milagro site are stubs. For the user experience I found this most explanatory:


evv 9 hours ago 1 reply      
From what I can tell, Milagro does more-or-less the same thing as Ethereum. In what ways it it different?
Samsung Foundry Announces 10nm SoC in Mass-Production anandtech.com
77 points by desdiv  12 hours ago   24 comments top 4
sounds 11 hours ago 4 replies      
Intel's 14nm process uses 2 fins per gate for an SRAM cell size of 59nm x 59nm [1, corrected]. Samsung's 10nm process uses 3 fins per gate -- unknown what an apples-to-apples SRAM cell size would be on this node.

It will be interesting to see final benchmarks of performance, power consumption and price (PPP).

It's worth noting that Samsung announced 10nm DRAM back in April [2].

[1] http://www.tomshardware.com/reviews/intel-14nm-broadwell-y-c...

[2] https://news.samsung.com/global/samsung-starts-mass-producin...

rshm 11 hours ago 0 replies      
The power/performance advantage holds up. First or exclusive use of new chips might aid them offsetting the fallout from N7 disaster.
edoceo 5 hours ago 0 replies      
Explode proof?
petra 11 hours ago 4 replies      
Being so fast(at such a complex node), it makes me wonder: was moore's law, i.e. a doubling every 18 months just an anti-competitive collaboration among the industry to slow down ? could they have improved the technology much faster ?
Streaming Messages from Kafka into Redshift in Near Real-Time yelp.com
88 points by shazeline  13 hours ago   7 comments top 4
prewett 5 hours ago 1 reply      
The proliferation of software using words with a strong, precise, pre-existing meaning is making some of these headlines difficult to read... My first impression was that there is a space telescope I was unaware of whose copious data was being converted into redshift measurements of galaxies. Sadly, it has nothing to do with space news. Not sure whether to laugh or sigh.
woodcut 1 hour ago 0 replies      
How would redshift compare to Yandexs' Clickhouse[1] for this kind of architecture?

[1] https://clickhouse.yandex/

jack9 7 hours ago 1 reply      
Cut out Kafka by writing directly to S3 and bulk loading from S3 directory (optimal for Redshift). The article never details what "near real-time" means, which is bothersome.
juskrey 7 hours ago 0 replies      
With a rate of 300 small messages a second it was enough for me to write in 10k batches.Had a small writer script that kept the buffer in memory and did batch insert.
How to Kill Antibiotic-Resistant Superbugs Without Antibiotics edgylabs.com
71 points by Parbeyjr  13 hours ago   24 comments top 8
danielmorozoff 6 hours ago 1 reply      
Whenever i see nano particles used to combat disease, I am always interested in the off target controls. Since they are using physical mechanism to disrupt membrane stability (in the case of bacteria), controlling targeting is very difficult and requires vastly different membrane properties on the surface of bacteria vs regular cells. Issues usually involve lodging of nano particles in the liver or kidneys/ lysis and cytotoxicity . Here they looked at haemolytic and necrotic activities in cells and assessed whether the mice survived- most are short term, and aggregation of nano particles is not uncommon to cause large obvious pathology, it just takes time.

I looked up the core molecule 'PAMAM' or Poly(amidoamine) and it seems to show relatively low cytoxicity, but recent studies seem to shed some more light:

'More recently, a series of studies by Mukherjee et al.[13][14][15] have shed some light on the mechanism of PAMAM cytotoxicity, providing evidence that the dendrimers break free of their encapsulating membrane (endosome) after being absorbed by the cell, causing harm to the cell's mitochondria and eventually leading to cell death. Further elucidation of the mechanism of PAMAM cytotoxicity would help resolve the dispute as to precisely how toxic the dendrimers are.'


anonymfus 11 hours ago 1 reply      
akanet 11 hours ago 1 reply      
Looks like they found a way to generate nanoparticles that don't damagehost cells, but target bacteria more or less exclusively:

 These star nanoparticles were termed structurally nanoengineered antimicrobial peptide polymers (SNAPPs). Unlike existing selfassembled antimicrobial macromolecules, which will dissociate to unimers below their critical micelle concentration, SNAPPs are stable unimolecular architectures up to infinite dilution. We demonstrate that SNAPPs exhibit superior antibacterial activity against a range of clinically important Gram-negative bacteria, possess high therapeutic indices and display selectivity towards pathogens over mammalian cells.
More on biocompatibility with humans:

 As a test of biocompatibility, the haemolytic activities of SNAPPs were investigated by incubating them with red blood cells at different nanoparticle concentrations. Both S16 and S32 had negligible haemolytic activity. Even at a very high concentration of >100 MBC, the extent of haemolysis was well below 30%. Subsequently, we investigated the viability of two types of mammalian cells (human embryonic kidney cells and rat hepatoma cells) in response to SNAPPs. The therapeutic indices (TI) of SNAPPs ranged from 52 to 171 , generally higher than the TI of colistin, which is currently being used as the last therapeutic option for MDR Gram-negative pathogens
Very promising stuff. Even though this was built as a treatment forgram-negative bacteria, it seems to show an effect for gram-positivebacteria, too. Equally promising is how uniformly effective SNAPPsseemed to be across several types of gram-negative bacteria.

btilly 10 hours ago 2 replies      
Destroying diseases through biomechanical stress sounds cool. But my concern would be whether the stress increases the mutation rate. As a well-known example of another biomechanical stress that does so, consider asbestos.

I wouldn't want a treatment for my cold that could give me cancer in 20 years...

pmontra 3 hours ago 0 replies      
Basically they're shooting nano bullets to the bacteria and those bullets can't be stopped. But how can they deliver those nano particles only to the harmful bacteria? They should kill also the good ones.
Madmallard 9 hours ago 1 reply      
What about gut bacteria? Is that going to be destroyed?

Why aren't phages being researched?

Does this target mitochondria too? Other bacteriocidal antibiotics apparently do so, because the structures are similar enough.

sakopov 10 hours ago 3 replies      
I know next to nothing about this stuff but is using antibiotics or the kind of treatment outlined in this article prevent our body's natural defenses from "learning" how to fight off these bacterias? Are we basically pumping our bodies full of chemicals to the point that our immune system atrophies after several generations?
known 3 hours ago 0 replies      
Can it be used to kill Cancer cells?
Lego-Like Wall Produces Acoustic Holograms sciencebulletin.org
37 points by upen  10 hours ago   2 comments top 2
kazinator 4 hours ago 0 replies      
> Its basically like putting a mask in front of a speaker, said Cummer. It makes it seem like the sound is coming from a more complicated source than it is.

> Were currently in the exploration phase, trying to determine where this technology would be useful, said Xie.

I'd like to try that between my face and a guitar amp.

I always use a 4-speaker 4x12 cabinet even for practice just because the sound is more complex; the interference patterns change subtly as your head moves. That keeps the tone fresh if you're at it for several hours.

Imagine a "hologram grille" on a simple little combo amp with a 10" speaker. Maybe it could affect the tone in cool ways.

dharma1 2 hours ago 0 replies      
"They are also shopping the idea around to industries that work in the kilohertz range, such as aerial sensing and imaging technologies"

How would this work?

A Harmony in Living: Happy families are indeed all alike (2011) laphamsquarterly.org
51 points by pepys  12 hours ago   8 comments top 2
marktangotango 8 hours ago 1 reply      
Honest question: how does one read something like this? Take the time to research each obscure reference in each paragraph? I found it to be quite impenetrable, and boring.
lolc 7 hours ago 1 reply      
In the first paragraph, did I understand the author right in saying that happy homosexual couples are a recent invention?

"[other couples] of more recent vintage with chromosomes exactly matched,"

To me, literal reading of that fragment would posit identical twins as married couples. Any other interpretations?

The Next Wave of Deep Learning Hardware Architectures nextplatform.com
73 points by Katydid  16 hours ago   13 comments top 3
vonnik_2 13 hours ago 1 reply      
The article is a little dated. It was written in the wake of Intel acquiring Nervana and Movidius, which it used as a hook to talk about Wave Computing. Wave was founded a few months before Nervana in 2014, and raised a similar amount of money (~$24M), which is just enough to get to your first chip if you don't waste resources. There are other companies tackling this (Cerberas Sys.) and other technologies that can get you acceleration (FPGAs).
WalterBright 11 hours ago 2 replies      
I'd like to see AI applied to handwritten letters. (I have thousands of them, and want to transcribe them.)
alistproducer2 15 hours ago 2 replies      
Is there anyone who can put into practical terms what these domain-specific processors mean to the future of AI/deep learning?
An implementation of the Speculative Paxos protocol github.com
48 points by drkp  12 hours ago   12 comments top 5
RijilV 10 hours ago 2 replies      
Le sigh, multicast. A great example where software engineering crosses over to the physical realms.

When a router receives a packet destined for a multicast group and that router has multiple destinations for that pocket, it must store that packet in memory until the last interface associated with that group can be written to. On networks which aren't heavily used that's not problem. Once you start utiziling your network however, the routers will be busy storing packets and their sensible-for-simple-cases buffers will become overwhelmed and you've got a multicast storm on your hands.

Great on paper, even works in test setups. Call me when you're running your kit to the limits, and I'll let you know you have a multicast problem.

erichocean 2 hours ago 0 replies      
This would go very nicely with Aeron.


blopeur 11 hours ago 0 replies      
Interesting concept but relies on multicast. SDN might help solve the inherent multicast drawbacks by creating topologies, distribution trees, etc.. ahead of time. But practically, how often do you see multicast deployed and enabled in modern datacenters ?
alexnewman 6 hours ago 0 replies      
I like this as a niche (sub 100 node) solution to an interesting problem. I wonder how well this works over a MAN.
GauntletWizard 11 hours ago 4 replies      
Use Raft. Rather than speculating, learn, do, and guarantee you're doing the correct thing by electing once, distributing, achieving quorum and continuing. This is spitshine on a turd - PAXOS is a great protocol, but not a speedy one. It's an important building block, not something to be running constantly.
Tech Innovation to Fight Child Sexual Exploitation Thorn wearethorn.org
42 points by r3bl  10 hours ago   5 comments top 3
danso 8 hours ago 2 replies      
Seeing that Ashton Kutcher is a co-founder brought to mind his feud with the Village Voice a few years ago over the VV's escort ads, which Kutcher alleged were facilitating child prostitution and sex slavery. The VV then published a long investigative piece arguing that Kutcher's statistical claims -- e.g. that 100,000 to 300,000 U.S. children are sold into sex slavery each year -- was off by several orders of magnitude: http://www.villagevoice.com/news/real-men-get-their-facts-st...

And of course it should be said, VV, which was and is undergoing huge financial stress, has every incentive to believe its hands are clean, as it was desperate for the revenue from escort ads.

Hard to tell if Kutcher has revised his numbers. The Thorn site is vague about its numbers. It talks about hundreds of thousands of kids at risk, and on the about page, fuzzes the claim with "100,000 escort ad posted in the United States every day, and within these, there are ads that represent children."...the unsaid implication being that the number of escort ads per day may not have any real bearing on the actual number of children at risk.

It might seem pedantic to care about stats when children are at risk, but the purported goal of this Thorn initiative is to "use tech to fight child sexual exploitation", and its pages make as much mention about data science as the average tech startup press release. But worthwhile data science requires good data, not platitudes. It's not as if the fight against child abuse is as simple as throwing tech and computational resources at it, nor is that even necessarily the most efficient way to fight the problem.

WhitneyLand 8 hours ago 0 replies      
Has anyone here worked with them or have more color to add?

Some of the problems they mention I know are already being worked on by other organizations.

How do they work with the FBI and the NCMEC? Do they work with local law enforcement?

codesuki 7 hours ago 0 replies      
Would be great to know more details about this as WhitneyLand already said. Like are there ways to contribute/join if you live in another country?Are they committed long term to do something or is this just PR? I don't have as much knowledge about the people as danso above.
The Medieval Battle That Launched Modern English getty.edu
57 points by diodorus  12 hours ago   23 comments top 7
dghf 48 minutes ago 0 replies      
There is the theory (mentioned in this paper [0], for example) that the critical event that pushed Old English on to the path of becoming modern English was not the Norman Conquest but the Danish invasions about two hundred years before.

As Germanic languages, Old English and Old Norse had a lot of similar vocabulary (e.g OE scirt, ON skirt, both meaning a unisex knee-length tunic, the former giving us the word 'shirt', the latter 'skirt'): but their grammar, especially their inflections, were different. Middle English, so the theory grows, developed from what was essentially a creole of Old English and Old Norse, which is why modern English does not have the complexities of inflection of, say, modern German.

[0] https://brage.bibsys.no/xmlui/bitstream/id/245485/Hanna%20Do...

alistoriv 10 hours ago 1 reply      
There's a very interesting essay from 1989 written about basic atomic theory while avoiding latin and otherwise non-germanic roots as much as possible called "Uncleftish Beholding"

You can read it here:https://groups.google.com/forum/message/raw?msg=alt.language...

mc32 10 hours ago 1 reply      
There's something to be said for the vigor injecting new vocabulary and throwing the language into the great vowel shift had on the language, but at the same time, woe onto us the untidy spelling that came about and the loss of declension.

I wonder some times if Winstanley had a point --along modern day French, when he decried the assault of a foreign language on the indigenous culture. Never the less, I think we are better off for it.

m_myers 9 hours ago 1 reply      
An illustrative quote from the first chapter of Sir Walter Scott's historical novel Ivanhoe (published 1820, available from Project Gutenberg at http://www.gutenberg.org/ebooks/82):


Truly, said Wamba, without stirring from the spot, I have consulted my legs upon this matter, and they are altogether of opinion, that to carry my gay garments through these sloughs, would be an act of unfriendship to my sovereign person and royal wardrobe; wherefore, Gurth, I advise thee to call off Fangs, and leave the [swine] herd to their destiny, which, whether they meet with bands of travelling soldiers, or of outlaws, or of wandering pilgrims, can be little else than to be converted into Normans before morning, to thy no small ease and comfort.

The swine turned Normans to my comfort! quoth Gurth; expound that to me, Wamba, for my brain is too dull, and my mind too vexed, to read riddles.

Why, how call you those grunting brutes running about on their four legs? demanded Wamba.

Swine, fool, swine, said the herd, every fool knows that.

And swine is good Saxon, said the Jester; but how call you the sow when she is flayed, and drawn, and quartered, and hung up by the heels, like a traitor?

Pork, answered the swine-herd.

I am very glad every fool knows that too, said Wamba, and pork, I think, is good Norman-French; and so when the brute lives, and is in the charge of a Saxon slave, she goes by her Saxon name; but becomes a Norman, and is called pork, when she is carried to the Castle-hall to feast among the nobles; what dost thou think of this, friend Gurth, ha?

It is but too true doctrine, friend Wamba, however it got into thy fools pate.

Nay, I can tell you more, said Wamba, in the same tone; there is old Alderman Ox continues to hold his Saxon epithet, while he is under the charge of serfs and bondsmen such as thou, but becomes Beef, a fiery French gallant, when he arrives before the worshipful jaws that are destined to consume him. Mynheer Calf, too, becomes Monsieur de Veau in the like manner; he is Saxon when he requires tendance, and takes a Norman name when he becomes matter of enjoyment.

By St Dunstan, answered Gurth, thou speakest but sad truths; little is left to us but the air we breathe, and that appears to have been reserved with much hesitation, solely for the purpose of enabling us to endure the tasks they lay upon our shoulders. The finest and the fattest is for their board; the loveliest is for their couch; the best and bravest supply their foreign masters with soldiers, and whiten distant lands with their bones, leaving few here who have either will or the power to protect the unfortunate Saxon.

strlen 9 hours ago 0 replies      
For those who are more curious, I found that "The English and their History" talks in depth about the post-Conquest society and emergence of the written English language, and some of the more distinctive English (and later Anglo-American) institutions: https://www.amazon.com/English-Their-History-Robert-Tombs-eb...
Ericson2314 6 hours ago 0 replies      
And I expected something from tje hundred years war on the middlemodern transition. Hah!
peterwwillis 3 hours ago 1 reply      
The tapestry they talk about is quite famous for being the longest in the world, and has survived really well. It's one of a couple sights worth seeing in Bayeaux.

The Normans were perhaps one of the most fearsome dynasties the modern world has known. They were birthed by a Viking Earl named Rollo, who basically pillaged his way into northern France around 876 and was so fearsome that the French actually gave him the lands he invaded in exchange for him not fucking them up so hardcore anymore. His descendants included William the Conqueror, and they ruled lands such as England, Scotland, Wales, Ireland, Sicily and Antioch, and generally kicked ass for a few hundred years as feared warriors and mercenaries. (Btw, if you want to see a statue of Rollo and don't want to go all the way to Rouen, France, you can visit a replica in Fargo, North Dakota)

Normandy was a powerful and independent region, even through its contested ownership over the hundred years' war, up to about 1468 when it began to cede its autonomy to Paris. Modern Normans are pretty proud of their heritage, and there's still a friendly rivalry with the neighboring Bretons. What really struck me was a kids theme park called Festyland outside Caen, sort of near Rouen. Lots of rides and attractions surrounding the battle of hastings and the Viking origins of the Normans. The billboards advertising Festyland shows a bunch of little Viking kids carrying off a princess tied to a wooden pole. Cute.

High-fidelity 3D Haptic Shape Rendering on Handheld VR Controllers acm.org
38 points by eDameXxX  11 hours ago   5 comments top 3
modeless 10 hours ago 0 replies      
gene-h 10 hours ago 2 replies      
One thing I have found with haptics is that like VR, it can make you very sick. It has been shown that haptics can cause pretty nasty cases of vertigo[0]. In this study, after using a haptics device for 10 minutes the user started experiencing vertigo which lasted several hours, with mild symptoms persisting for several days.

I have noticed many of the same effects using the novint falcon haptic controller. It almost feels as if your hand is being pushed on when in fact it is not.


CocoaGeek 11 hours ago 0 replies      
Had the chance to try to demo a couple of months ago. It was pretty compelling although the "controllers" were pretty bulky.
       cached 18 October 2016 10:02:01 GMT