skysight-inc/HackerNews huggingface dataset:
How do you expect maker T harming dealer G? Other than making a better product and outselling G? Maker t can't force maker G to change its relationship with dealer G or undercut G. I would expect that if maker T is harming dealer G other than by normal market forces, then they are probably already doing something illegal and no further protection is actually needed.
Pocket sand, putting your phone face down on any surface where sand might have been is enough for scratches.

It's all about hardness [1], ordinary iron / metal is quite soft (4 - 5) scale on mohs scale, while gorilla glass is at least a 7. It has nothing to do with how "sharp" an object is, paper will never scratch steel and regular keys will never scratch glass. Someone on XDA [2] made quite a passionate case about this.

[1]http://en.wikipedia.org/wiki/Mohs_scale_of_mineral_hardness

[2] http://forum.xda-developers.com/galaxy-s2/general/misconcept...
> Better yet, if only the USA banks would finally get to this millennium and start using chip-and-pin cards. Then there would be no need for this nonsense.

What about a chip-and-pin card prevents a skimmer from either monitoring or emulating the radio conversation between the card and the terminal (and thus capturing the card number) and another keypad skimmer from capturing the PIN?

It seems to me that the problem is that everything required to conduct a transaction is handed to every merchant and/or untrusted machine of the merchant. (Compare to public key cryptography, where I remain in possession of a private key.) What about chip-and-pin changes that situation?
I have this almost dream-like hope that Google will encapsulate all of the Android APIs in a proxy layer in Go with much nicer APIs.

That we'll be able to have a cleaner interface to the platform, and have access to a better toolchain and programming environment.

I doubt it will happen, but one can hope.
Über-pedantry: It's "you're" and not "your".
Couldn't they just avoid all this fuss if you insert your card horizontally?
Actually the PPC Amigas were already available in the late 90s (my memory is not clear on when anymore, but maybe 97-98), but they were anyway too expensive and too underpowered to change anything. However it's been interesting to see that third parties have been pushing the hardware forward, as well as the OS (Eyetech for Hardware, MorphOS for new OS inspired and partly compatible with AmigaOS). There's still a very small and niche community using "modern" Amiga. But it's only a shadow of what it was...
Show HN: Tiny SVG JavaScript Library
Radio Shack has been doomed for more than two decades. I remember my first visit to a Best Buy in the early 1990's. The store was clean, they had lots of inventory, and most importantly, the employees understood the concept of service. The few times that I'd go to Radio Shack after that, it was because I had to, not because I wanted to. Service matters, and Radio Shack's management operated as if they were your only option for too long.
emacs-systemd, coming soon to your system.
If something is controversial I upvote the opinion I can agree with most, or if my opinion is not represented I write it myself. I think everybody has their own idea of what upvotes mean.
IOKit drivers are written in Embedded C++, which is C++ with all the decent bits removed.
From what I've roughly read, all behavioral interventions (such as n-back training) on working memory and its correlates or antecedents are basically disappointments, whether the effect size is too boring or the effects are not generalizable.
How are taxi companies a middle man in the auto industry? Is uber suddenly using bicycles or some other non auto conveyance to transport people around? Even in the taxi industry, uber is not cutting out a middle man, they are becoming one.
It's not really the vim way, though. Vim doesn't have web browsers, email client, and the like. Maybe the terribleness of vimscript is a blessing in disguise?
> The victims Violent Crime may have decreased but the victims of non-violent (white-collar) crimes may have actually increased.

This is an extremely important point. The way you fight white collar crime is comprehensively different than the way you fight violent crime. BearCats and SWAT teams are utterly useless.

Traditional law enforcement in general just doesn't work. You can't deter systemic risk with post facto sentencing. If the criminals live in a non-extradition country then obtaining evidence against them is pointless.

What is necessary is to help victims to not be victims rather than trying to apprehend the perpetrators after the fact. The problem is we put the FBI and DoJ in charge of it rather than the National Science Foundation.

We would do well to take half the DoJ's budget and put it into grants for computer security research, free security audits for popular software and libraries and UX improvements for the likes of PGP.
McKinsey’s airy platitudes bode ill for its next half-century
Amazon's new office buildings recycle 'waste heat' from nearby data centers
JavaScript 101-#7 – Numbers
Why is the FBI being given powers that could count as an act of war?

If the FBI needs the ability to invade foreign computers, it should have to seek a court order requesting the military (eg, the NSA) compromise those computers.
Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

I feel like this happens on the majority of the demos on the HN frontpage too. I just tried searching for what percentage of users disable cookies, and it seems like ~10% is a common figure. (Though I got numbers as low a ~1%, and a lot of confusion about third-party cookies.) I know this isn't technically a cookie, but I think most of the major browser vendors lump it under the same preference.

Anyways, hackers and demo writers: degrade gracefully. On first brush with your random website, I might not want to let you track me. (I don't know what you're using this for.) Show me value. Or at least tell me why you need this.
And the camera lens cover.
I think the Android team will hardly consider supporting another Java 1.0-like language progress.
Why We'll Keep Marketing on Pinterest Even If We Couldn't Growth Hack It
Tell HN: Google are going to finally sunset classic maps
The time has finally come. Google are announcing the death of classic maps. We are all about to be forced to use the resource sucking, poor UX of 'new maps' whether we like it or not.

I just received this in my inbox:

Hi,
We want to let you know that in the coming months, we're upgrading
the content you created in My Maps. All of the maps that you've
created will automatically move to the new Google My Maps (previously
called Google Maps Engine). Classic My Maps on maps.google.com will
no longer be available. You don't have to take any action to ensure
all your content will be upgraded.

If you don't want to wait to start using the new Google My Maps, you
can begin migrating your maps today.

1. Open the new My Maps.
2. Click Upgrade now to get started.

The new My Maps is a more powerful maps creation tool that makes it
easier to edit and share maps you've made. Just like with classic My
Maps, you can work on a map with others, save driving directions, add
photos and videos, and more. With the new Google My Maps, you can also
do things like:

• Share your map similar to how it works for a Google Doc.
• Use different colors to make parts of your map stand out.
• Label your features directly on the map.
• Import locations from a spreadsheet.
• Organize your places with layers.

For more information, please see our FAQ.

Thanks for using Google My Maps.
Happy mapping,
The Google Maps Team
Follow-up to “Functional Programming Doesn't Work”
Agreed. This is busy work. If emacs were a pay for commercial product then this wouldn't be considered because emacs is still proving itself economically viable.

Considering how intricately it is integrated into a lot of people's lives this is silly.

It's fine sitting on a an academic pedestal but some of us have to live in the real world.

Also I'm not sure how the maintainer failed to address your suggestion as it seems the most logical... which makes me worry this is an academic exercise.

Besides the point... almost nothing will be achieved by making elsip faster. I sometimes write macros to work on GBs of files and yes, it isn't fast... but if i cared about speed i'd be shelling out to cli tools to do the work anyway.

Makes. No. Sense.

Fork it if you must and leave the rest of us alone.
There are kernels available that place more emphasis on security than Minix, say seL4 or EROS and Coyotos for more academic approaches.
The countries I'm talking about have produced many startup founders. They move to the US and never move back. The successful role models don't exist in that country, because as soon as people start becoming successful they move out and never return.
Not everyone lives in California. I did for 2 years after getting my BS in EE, and Fry's was something I had never seen the like of in my life. Both northern and southern Cali have an unusual concentration of electrical engineers.

RadioShack is the only retail store I have heard of, in Delaware or Maryland or southern New Jersey, that has resistors, capacitors, bread boards, etc.
Sure, but that's a physical attack: You need someone to install the 3G Keylogger to your machinery.

I was talking on a keyboard-only level, but even that can be largely mitigate with proper policies IMHO.

That said, an insider is an achilles heel for every security scheme out there (e.g. Snowden).
Y'all need to help me with the next levels I have planned: The numbers will only appear for a limited time...

From http://www.livescience.com/7444-chimps-numbers-humans.html:

> However, they discovered the three young chimps could remember many numerals with a glance, with virtually no change in performance even when the numbers were flashed for just 210 milliseconds
I had the need for something like this as well at one time. Decided to ghetto-hack it since it only needed a touch at one point:

https://www.youtube.com/watch?v=Z4b5ym1ZqSo&list=UUm5ytliPWa...

The headphones around the pen are to ground it, so that the touch registers on the tablet.
HZ 3.3 Client Performance Almost Doubled
> * Their short game might stink in some areas so balance them with administrators that take care of formalities

hm, sorry, can someone translate that in too plain English for us non-native speakers! ty!
Why is Java's String#replace() so slow?
> 1. Crime pays less than it used to. Back in the good old days, people carried more cash on them. Pickpocketing and mugging was reasonably profitable when everyone had money. These days, everyone has credit cards. I frequently carry less than forty dollars; I've gone weeks where I have zero cash in my wallet.

On the other hand, now everyone has a smartphone in their pocket. My friends and I entered Southeast Asia with four phones and left with one. None of our wallets were pickpocketed, but that may just be chance.
I've never had a problem with the Activity state, but then I always shove data in an SQLite database anyway, which isn't hard. Is it really that troublesome to implement?
Chip and pin cards use public key cryptography. From my understanding, you would have to provide the PIN code to the device to first unlock it, and then you could verify the authenticity of the card by reading a public key, which identifies the card (and is used in transactions), and providing some nonce for it to sign for offline verification.

They also require the pin code to start the process, so you would have to skim that as well.

In addition to this, in the online scenario it can interact with the payment provider's servers to provide security.

The combination of these methods make rapid stealing of EMV cards difficult.

More info here: http://www.emvco.com/download_agreement.aspx?id=653
That morals and what's right and wrong are not universal, and up to each individual. That you can do whatever you want to do, if you feel it's right. However, when the onslaught of someone else doing something that appears right to them affects you, then, suddenly they aren't doing the right thing.
Average car lane is 12 feet wide (a bit narrower on less travelled roads) Average car is 6 feet wide. If your car is center you will be 3 feet from the edge of the bike lane. So what is the problem?
Yep, I'm simplifying since I'm talking about BSD vs GPL and not the philosophical differences of "Open Source" vs "Free Software". What I said was correct in that context.
I’ve used pipes for years and had a pretty good understanding of how the system calls of each process in the pipeline interacts with their own `sdin` and `stdout` file descriptors but this article puts it all together really nicely with some good examples.

I don’t mind the useless use of `cat` as it can enhance readability for some people. However, I would suggest replacing the Bash while loop with a for loop:

ls *.flac |
while read song
do
flac -d "$song" --stdout |
lame -V2 - "$song".mp3
done

for song in *.flac
do
flac -d "$song" --stdout |
lame -V2 - "$song".mp3
done

Using Bash’s file globbing avoids problems with enumerating the output of `ls` [1]. It also avoids an unnecessary Bash sub-shell being spawned for the while loop that follows the first pipe. More importantly, I think it’s a lot more readable while still demonstrating how pipes can be efficiently used to process any amount of FLAC files.

[1] http://mywiki.wooledge.org/ParsingLs
I think it would be a lot more difficult if the numbers actually moved. Our brains are very spatially oriented, making remembering positions or lines (as sillysaurus3 pointed out) much easier.

Would help out myself, but I'm on vacation and it's late here.
Never had much of a problem with it; just use reflection to see if certain API calls are available (kind of like seeing if a function is available within a DLL/so natively, not a problem)

I found it easy to start, and the documentation is quite extensive and easy to follow.
This differs from my iOS experience, as xcode worked in a different way every new release, and the documentation on how to write things changed every time too, from what I could tell?
> Which is why we are so much poorer these days than 100 years ago with way fewer people.
http://en.wikipedia.org/wiki/Lump_of_labour_fallacy

I don't buy the notion that every H-1B visa worker creates jobs. Taking the fact that some of the most talented individuals who come in under H-1B create jobs does not mean that they all do or that they create jobs on average. That is the Fallacy of composition described at http://en.wikipedia.org/wiki/Fallacy_of_composition as follows:

"The fallacy of composition arises when one implies that something is true of the whole from the fact that it is true of some part of the whole (or even of every proper part)."

> Also: if you keep all those people out, the companies will end up going where the talent is.

No, many of those hotshot CEOs (many of whom, like Zuckerberg, were born on third base) would have already moved all of their operations overseas if cheap labor was their only goal. They realize there are problems with doing that. First of all, they would have to constantly travel to the foreign sites to meet with the natives. They are also likely aware that it would just be a matter of time before the natives found a way to overthrow their American overlords and install their own people in charge. Finally, they realize that it would look unpatriotic and greedy to move their entire operation overseas. Instead, they just seek to buy influence in Washington D.C., push to loosen the H-1B laws to bring in more cheap labor, and make phony claims that this is necessary because there aren't enough American workers to allow their genius to take full bloom.
Not a bad article, but it's weird to see that alternate reality games like Red Alert get more mention than something like Total War, when a mod like Europa Barbarorum does a good job of using historical information. I've never played Mount and Blade, but it probably transcribes some of the realities of the time (mounted combat) that you don't find much about in other games.
I just remembered "swirls" of numbers (2s and 3s) that made a sweeping pattern (alternating or straight.) It worked so well I passed first time too!
Sam Varghese, by any chance?
Now someone just needs to write the wrapper that makes the apps available as *nix processes!
There will come a time when companies will realize that change for change's sake is not good. The 'new maps' is a terrible experience so far. It doesn't work in many ways that worked ok in the older version. For instance, the dutch real estate site 'funda' uses google maps as part of their interface. When you're looking at the available houses as a google maps datalayer it forces visibility of all the musea and other major landmarks on the map, and then overrides your clicks on HOUSES (the thing you came for) to display musea and other non-relevant items based on the statistical likelihood that you wanted to click that thing that everybody clicks on.

Google is consistently 'dumbing down' its products and whenever they do the functionality for power users gets worse. Especially in the case of products with an API such dumbing down has side effects for all the companies that used that API to enhance their products.

For the most parts their users will not understand that the sub-optimal experience they are having is a google issue, rather than an issue with the website they are currently visiting.

Very annoying trend.
No, but it get's on my nerves that Android always says "Hey I have something in my API for that", and I after a (short or longer) while I realize it doesn't work as expected.

I most often just use Json (because with Google Gson, you can just serialize it into an object without boilerplate).
you say that, but minecraft is worth actual money because it sells a product that lots of people want to buy and has a lot of potential for further attached products (servers, DLC, etc). A more apt comparison would be whatsapp/instagram/whatever ridiculous social app facebook is buying this week for $X billion, without any revenue or business model to speak of.
I've thought about this vector as well, and it's not just about sating bloodlust - a lot of crime happens when people get bored. A greater variety of entertainment that is much easier to access keeps the boredom at bay. It's the 'circuses' part of 'bread and circuses'.
That's not very classy of Penrose. And that artwork is indeed amazing. Wow. Thank you for posting this!
They could add that but as things stand right now that second key doesn't exist - or at least it did then Cook would be out and out lying here. Obviously anything can change in the future but based on what Cook is saying either he is lying or Apple can't read your iMessages - I see no wiggle room which creates a middle ground or half truth.

In terms of what the police and other agencies can request, they have been able to ask for stuff in the past because it was information you had. If someone produces a court order they have to comply with that but there is no way of making you produce information you don't have.

As a result some companies are now setting stuff up so they don't have the sort of information which might be requested.

I may be wrong about this but I'm not aware of any law that says that a company can't do this. Certainly if there is then there are plenty of businesses aimed squarely at this sort of privacy and security which are going to have major issues given that it's basically their USP.

And if a company has to do it then the same law will apply to any individual producing open source software to do the same - any such law would be highly unlikely to be dependent on the product being created and distributed by an incorporated company.

Where there will be a problem (and this is the point Cook was making) is for companies where gathering that data is fundamental to their business. Apple can happily survive without being able to read or track iMessages. Facebook or Google have fewer options when it comes to not recording or storing stuff.
Please Don't Ruin Haiku
Smartphone category is barely competitive. It is a basic economic law of luxury products: as long as there are people willing to pay - the price will increase.
25% increase in price can cause 20% decrease in sales and still result in the same net income.
That sounds like an interesting method! It seems that attaching some kind of spatial meaning to the sequence makes it a lot easier.
This is possible to do in Emacs by:

1. Going to the end of a line and pressing “Ctrl-x f” to run the set-fill-column command, to set the desired line width. (The default value is 70 characters.)

2. On each of the paragraphs, pressing “Ctrl-u Meta-q” to run the fill-paragraph command (with an argument to modify it to do justification as well as word wrapping).
On page 2 there's "CircuitMaker will be free to start" and you pay for extensions to handle more complexity.

So it probably comes down to what is core and what is an extension.
Every time game programmers get called out for writing bad game code i get a bit angry. Games are a very convoluted thing to have to express in a procedural fashion.

Have you ever looked at a hello world opengl program in java that includes textures and bump mapping and light source stuff? Its a mess.

Also being highly productive has bugger all to do with writing "good code". Almost no code gets the job done.

I've written plenty of stuff that is "bad code" that runs faster (in a world were speed is important) and makes more money than the elegantly designed frameworks i've built.

I would go so far as to say good code is contradictory to highly productive solutions that get the job done. Indeed i know one large firm that employs and spends millions trying to find the best c++ programmers they can.

All they do is sit all day arguing about the best way to do things. Chatting to them in the pub they guess they write about 1000 lines of code a year that gets into production.
You want lightsabers when everyone is using laser pistols. Good against remotes is one thing. Good against the living, that's something else.
Not thought about that, but I suppose desktop apps are where C++ is truly relevant. I am not sure that it is entirely Qt keeping it relevant though!

I see the desktop applications being swallowed up by C# at the moment.
I'd rather have Lua to be honest... But JS is better than AppleScript in this regard. While easy to understand, it wasn't suited for large projects and debugging was kinda nasty.
Weird it haven't included Europe Universalis and the likes. It uses a much more realistic model than civilizations.
I would love to use 1Password if only they supported Linux. I thought of them as paid KeePass. Unfortunately, LastPass beat them to it, and so I choose the convenience of omnipresence of my passwords over the security of keeping everything local.

I cannot have my password not follow me somewhere, especially if these password programs suggest complicated passwords to me.
Thank you for reporting this, I've create an issue: https://github.com/awendt/memory-chimp/issues/1. To explain why I do this: There's one write to localStorage, to persist your personal best across sessions.

In my defense, I did read the guidelines before posting this and it explicitly said:

> HN users are comfortable with work that's at an early stage.

This is my first "Show HN." I'll put "graceful degradation" on my list for next time :)
I agree. I just find the new maps unintuitive. It is also slow and often just hangs for a few seconds (and I have a fast enough machine).

The moving of 'My Maps' data is a good thing though. Whenever I have used the new maps, the fact that I couldn't use my maps without switching back and fore between old and new was very annoying.
Yay. I loved that the scripting framework existed and that so many native apps implemented it, but I've hated the actual AppleScript language ever since I first learned it 20 years ago. Has we not yet learned the folly of the "natural language" programming language? Luckily I'm not old enough to have ever used COBOL.