skysight-inc/HackerNews huggingface dataset:
> How you talk changes how you think.

When I started to learn Japanese I was given the advice to pick a persona from a movie or something to copy. This makes it much easier to mold your speech and become fluent faster. The strange thing was that I started to develop that personality in Japanese and before I knew it I had a completely different character when speaking Japanese than when speaking English. Even stranger, I liked myself a lot better in Japanese. It's one of the reasons I chose to stay in Japan.

Because I now have an English speaking job I'm slowly trying to learn how to be my Japanese self in English, but I find it difficult :-)
I actually found Trello's API to be one of the worst most non-compliant restful API's I've seen. Nothing about it is restful with the extra actions they have on resources. It's hard to follow. The docs are sub-par too.
where does 'Am' come from? 'Am' does not save much than I'm
Make sure to read the Fielding Dissertation to understand what REST actually is.
What's wrong with strcpy?

In a nutshell, we can only safely use it if we somehow know that the source string fits into the destination buffer. Those situations are few: basically, they involve fixed-length string literals being moved into buffers that are "obviously" larger. E.g. some widget_t object has a char name[256] field, and we initialize it by default with strcpy(new_widget->name, "<unnamed widget>"), or some bullshit like that. The literal is way shorter than 256 and nobody in their right mind will ever make it that long, or shorten [256] in widget_t so that this literal doesn't fit.

In situations when we don't know the length of the source string, there are two cases: it is going into some buffer that is already allocated, or else we will be allocating one. In either situation, we must measure the length of the source string, to test whether it fits or to determine how much to allocate for it.

In the case when the string doesn't fit into the target buffer, we cannot use strcpy, obviously, since it copies the entire string. We use some truncating-copying function, or we handle the situation in some other way (diagnose the problem and abort or whatever).

In the case when we allocate, because we have calculated the length, we still should not use strcpy to finally copy the string. We should use memcpy, because memcpy doesn't wastefully examine every byte to see whether it is null.

So the opportunities for a correct, non-wasteful use of strcpy are few.
Or, essentially, PC gamers would rather not trade control and cash for simplicity like console games have.
Makes doing business and order of magnitude easier.
You're still thinking too small. It isn't about validation for duplicate accounts, and by the way, this gets past that duplicate account validation, because "admin" is different from "admin' --"

You get around it by parameterizing your queries, and not blindly trusting data that comes from the database.
This is a good introduction .For more details on the internals I find these very good.

[1]http://www.codemachine.com/articles.html

[2]http://advancedwindowsdebugging.com -is a very good book for user mode debugging
Living in the USA isn't enough punishment already?

I'm only kind of joking.
Hacker News search bug?
Why does this return results:

https://hn.algolia.com/?query=confused%20lost%20mathe

but, this does not?

https://hn.algolia.com/?query=mathe%20confused%20lost
Yes I am sure the European Coal and Steel Community had peace as their primary motivator in their creation of a globalist market for their product.
So, the State Department is supposed to maintain a worldwide set of consulates--with no charge to you--just so they can swoop in at your time of need and give you services that you then pay for. Do you think all those State Department resources just come out of pixie dust when you need them? Duh, no. We pay things called taxes to keep that worldwide network of consulates existing and available if you need them.

No, like so many expats, you just want to skate under the radar--gleaning the advantages of that blue passport--while expecting the "little people who pay taxes" in the states to float you.

No, all the expat whiners here can go right ahead and whine. Please renounce your citizenship. Your beef is not with the US Government that maintains this country for you to return to if you so choose based on your citizenship--but with all the prior tax evaders who caused the damned FBAR and then FATCA to exist in the first place. I have not heard a single whining expat here point the finger at the true culprits--the tax evaders who were so egregious that they caused FATCA to be passed with a bi-partisan majority in 2010.
> Would it make electronics cheaper, smaller, more efficient

As the name implies, it uses transport of spin rather than electrons themselves. The electrons may not move at all (you can have a spin current with no electric current at all). So it'd no longer be electronics.

The current premise is more dense memory devices with lower power consumption.

> This seems like an eminently testable thing- just take a semiconductor, put it in contact with something else, put a, uh, spin current (layman!) through them and check for impedance. What hilariously ignorant mistake am I making?

Well, where do I start?

Think about these: how do you generate a spin current? How much is it? How do you measure it? (hint: no, there is no such thing as spinmeter) How do you store/switch/manipulate bits? How does it effect magnetization, temperature, electric current, chemical potential? (these are all intricately coupled things) What kind of spin waves is it going to generate? Can you treat them as quasi particles? (magnons) Will there be a flow of magnons? What are the transport properties and how does an interface affect it (it's not easy to isolate and measure only a single transport coefficient in practice)? What is your order parameter? Are we talking about a ferromagnet, antiferromagnet or ferrimagnet? Are they interfaced? What are the transport properties of your interface? What is your Landau free energy (from which you can calculate effective field or ground state)? Which phase of matter are you in? Helical phase? Skyrmion crystal phase? Canted/polarized phase? What is your geometry? What kind of stray field does it generate? What are your anisotropies? Does your system have a strong spin-orbit copuling? What is your overall spin transfer torque? How do all these depend of temperature / thermal fluctuations? etc etc etc.

And keep in mind that almost all the physical observables we're talking about are really really really tiny. We're talking about quantum mechanical effects.

I hope by now it is clear that you have to come up with an "impedance" on your own tailored to your system, taking all the relevant physical aspects of your system into account (which requires a good background in condensed matter physics). There is no generic "impedance" of "spinmeter" that will work in any situation.

And generally, the issue is not measuring spin current or transport properties in an existing system. And you certain don't want to make devices randomly and measure its properties until something nice comes out miraculously: you have to "engineer" the desired properties (which typically requires very specific conditions), from ground up.

So it's a little different from connecting a lamp and a resistor to a battery and see whether it lights up or not. Suffice it to say that it's more complicated than your average high school science experiments.
While I have no particular desire to use Windows for anything, I think it's very interesting to see the engineering tools used to support it. Though it's a proprietary system, it is nonetheless a large and successful one. I'm particularly interested in any information about the parts of the stack which collect OS and application crash dumps from a large distributed install base for remote post mortem analysis; hopefully there will be some articles about that too!
Why would companies leave? Is not there benefit to waiting and seeing how the dust settles? I have lived long enough to know that any change is always disruptive and after time passes the initial reactions also pass.
> How do they deal with many chips crossing the line at the same time?

The EPC Gen 2 spec has a few ways of avoiding collisions. One is Random-slotted collision arbitration, where a tag waits a random amount of time before responding. There's also a somewhat complex algorithm; basically the interrogator says "I heard from tag X, so X be quiet, anyone else?" and repeats until everyone has been inventoried. The interrogator can also ask for subgroups of tags at a time, "Anyone whose number starts with 1? 2? ..." See [1] for details. The tags are designed to work for inventorying when many, many tags are visible at once. I'm not sure which methods are in use during races; taking inventory doesn't have as much time pressure, of course.

The tags are fairly omnidirectional, but the detection mats are directional. I read somewhere that the timing system has about 300ms accuracy, but I can't find that now. I assume that for the race winners they use highly accurate finish line technology, rather than RFID. (It would also be very embarrassing if the winner's tag didn't scan: "Sorry, we didn't catch your time.")

[1] http://www.gs1.org/sites/default/files/docs/epc/uhfc1g2_2_0_...
I bought the Dev Kit 1, but with the move to include DRM, combined with the fact that the Vive seems to better in every way except for Audio, I really don't see myself buying the retail Rift.
Urls here for clickability:

https://hn.algolia.com/?query=confused%20lost%20mathe

https://hn.algolia.com/?query=mathe%20confused%20lost
Only 25? GG2B, [0] not a patch on "The Geek Atlas" (128) by @gjc [1]

[0] http://forms.theregister.co.uk/gg2b/

[1] https://flickr.com/photos/bootload/3454610600 and https://www.amazon.com/Geek-Atlas-Places-Science-Technology/...
If anybody happens to be near Richmond, VA go to Alchemy Coffee near Virginia Commonwealth University (http://www.alchemycoffeerva.com/). That's where I got my first taste of cold brew and I was hooked. It tasted like a different drink and I felt that I could taste different characteristics about coffee than other types. They take the time to talk to you about their Japanese cold brew process as well as the different types of coffee they acquire.
Even if it doesn't... wouldn't Let's Encrypt just be able to change the default to 60 or something like that?
>Muslim ban

This is an anti-ideological stance. It's not racist, and it's not anti-immigration as a whole. When hundreds of millions of people in a group agree that leaving the group should result in the death penalty[1], I think it's fine for a country to want to put a hold on things for a bit while better selection processes are put in place?

>Mexican-American judge
Who is part of a "La Raza Lawyers" group which seems to stand for the opposite of everything Trump is. (Not to mention if a white guy joined a group called "The Race"...) That aside, ask yourself: Would this judge get some raised eyebrows among friends and family if he ruled in favour of Trump? It's not unreasonable to assume so.

If a judge declared himself Irish-American and proud of Ireland, maybe they wouldn't be the best judge to rule on the Microsoft Ireland data retention/access case. Maybe. Not agreeing with Trump, just pointing out that it's possibly plausible scenario and not a completely illegitimate comment.

At any rate, Mexican is not a race, so it's still not a racist comment.

Anyways this is getting into kill-area for HN, but I'd be happy to discuss over email/Skype if it's interesting.

1: http://www.pewforum.org/2013/04/30/the-worlds-muslims-religi...
Oh, wait, are you that Gumby?

https://web.archive.org/web/19990203041928/http://www.best.c...
I disliked the DRM as well, and applauded when they removed it, but on second thoughts, I don't find it unfair to expect something in return when Oculus is funding a game.

Developers are free to refuse Oculus's money and make a cross-platform game.

I don't see what was wrong here in the first place, when I step back and think about it calmly.
The problem here is MacOS

I've been doing sysadmin, programming, devops, etc professionally since 1995 and I've had to shave SunOS yaks, HP/UX yaks, Solaris yaks, Windows yaks, MacOS yaks, MacOS X yaks, Python yaks, Ruby yaks, Java yaks, Make yaks, C++ yaks, git yaks, cvs yaks, rcs yaks, ext2,3,4 yaks, Netapp yaks, Fibrechannel yaks, Cisco yaks, F5 yaks, nfs yaks, smb yaks, frame relay yaks (!), tcp yaks, rpm yaks, deb yaks, homebrew yaks, npm yaks, pip yaks, yum yaks, apache yaks, http yaks, xml yaks, tia568a no wait b yaks, serial crossover cable yaks, who the hell thought they could use 75 ohm as thicknet cable yaks, ... you get the idea.

We deal with a complex ecosystem with even more complex interactions that is often poorly documented at best. We're lucky when we can treat it as a black box and it all works. But often something breaks and suddenly we're hoisted by our own petard and there's yak hair friggen everywhere. I consider it a modern miracle that I don't have to pin ethernet duplex anymore! Glad we finally figured that one out.

Converse to your assertion, I switched to OS X back in 10.2 days because I got tired of shaving the hairball that was Linux desktop at the time. Oh, you want to print something? Here's an lpd yak for you... have fun! Oh you have a new monitor, here's some scanline settings to put in your xconfig that may work. Mac OS X is amazingly smooth as a desktop OS. [1]

But since you mention OS X, I'm reminded of of my favorite Apple technical note ever which began: ”As if it were a swarm of bees, you should stay away from the SyncServices folder in Mac OS X.” And that should apply to our whole industry, really... a swarm of bees.

Anywho, shaving yaks, story of my life, at least it pays well.

Pro-tip: when shaving yaks, take notes. I guarantee you you'll shave this yak again and it's handy to have your own reference to refer back to... even in these days of google, stack overflow, and quickly moving technologies. At worst, maybe it will be inspiration for a fun blog post some day. :-)

[1] So here's a fun story. Back in 2003 or so, I wrote a perl script which would forward emails to my phone via SMS. It did so by POSTing to a web form on a Verizon server. Worked fine when I was developing it on my OS X desktop, but failed to work on my Linux server. Yak shaving time. Eventually I'd broken out tcpdump after diagnosing that the Linux server, sitting on the network right next to the Mac, couldn't even connect to the Verizon server. Turned out the Linux server had ECN enabled, which being new at the time, Verizon's firewall was rejecting. Only had to peel about 5 layers of the onion on that one.
Logona Natural Body Care Volume 01 Deep Black
I am not surprised as there will be plenty of subsequences that repeat but that's some amazing compression ratio.
Motions re: Vagrant and an earlier post on nix absolutely seconded. If you practice good "environmental hygiene", you can run dev setups on "bare metal" OS X just fine. This can be a but of a hassle to make 100% repeatable, but it can be done.

In my experience, it's far preferable to work with an isolated and repeatable process whenever possible. I really love Vagrant for this, since it scales from simple inline shell scripts to setup a VM, up to integration with your favorite flavor of provisioning software (Chef, Puppet, Ansible, etc.). I've setup environments that ran common provisioning toolchains that scaled from individual dev setups straight to production clusters. Similar motives drive a number of other approaches, esp. container-based systems like Docker.

Once you're fluent in these kinds of tools, you never really want to go back...
It's amusing how the weakened pound is being hailed in the media as the End Times, and yet the weakened pound is the reason British stocks (minus financials) are actually doing fine -- it's very good for export industries.

If Greece could have just let their currency depreciate, they'd be in a far better spot than they are now, plausibly even competitive. But it was the tyranny of the Euro, driven by Germany that kept its currency strong.
Tell Europe's regulators: Net neutrality isn't just for the US and India
What probably would have happened if the police were involved? This device would have been sealed in an evidence vault while the police investigate, and hardly anybody would ever know about it, whether these particular criminals were found or not.

Instead, it's on the front page of Hacker News, and a LOT more people are aware of how sophisticated skimmers have become, and will be a lot more careful to check for skimmers on ATMs, and probably start warning family members and friends. IMO, this had a much more positive impact overall than anything the police would have done. But perhaps my opinion of police does not apply to Austrian police...
A wise decision to limit losses and a face saving statement. They shouldn't have started this, hopefully a lesson for other companies.
I'm starting to use stack for the one thing I do in Haskell. Is it really true that all you need is the stack binary? No shared libraries or anything?

When I set it up starting from Ubuntu packages, the process was still convoluted and involved bootstrapping from an older version of ghc.
How hard is it not to try to embrace extend extinguish the VR headset market. How can you possibly conflate those who aren't pleased with scummy companies manipulative nonsense with "can't please no matter what you do".

Its actually relatively easy to please most people. Make something worthwhile, take their money, fix it when it breaks.

It usually becomes complicated because people want to give people as little as possible, rake them over the coals as hard as possible and blame someone else when it breaks.
You do realise that in modern Russia Stalin is considered a hero and role model?
Bitcoin surges after Brexit sinks pound
Everybody’s OpenStack software is equally bad. It’s also as bad as all the other infrastructure software out there – software-defined networking, software-defined storage, cloud management platforms, platforms-as-service, container orchestrators, you name it. It’s all full of bugs, hard to upgrade and a nightmare to operate. It’s all bad.

100% my experience with OpenStack. And the breaking releases every 6 months only add insult to injury.
https://en.wikipedia.org/wiki/Ed_(text_editor)

$ ed --help
GNU Ed - The GNU line editor.

Usage: ed [options] [file]

I know, there's other problems in the world, but I wish people would look around a bit before they name their things.

http://man7.org/linux/man-pages/man1/script.1.html

Typescript is another one that bugs me, although that's even less worth a rant, because it isn't the name of an old program, it's the name of the default output file for an old program.

Harumph!
You realize that the fact that most people are silent doesn't imply they are entirely indifferent. Especially the developers.
Yeah, but if it was a defensible patent they would still be on the hook for using it at all. Thankfully, Let's Encrypt could show literally hundreds of cases of prior art for X-day trials.
This might be of your interest https://en.m.wikipedia.org/wiki/One_instruction_set_computer
In the prior thread you accused people of being emotional. I don't have personal relationships with people I do business with. I don't do business with people who treat me badly even once unless I have limited options.
https://news.ycombinator.com/item?id=9737403
That's fine until you realize long term, that common market won't be around for the UK to export to -- at least nowhere near as open and free as it is today.
What about citizen's buying power? What about foreign investment? What about the increased costs of doing business with the soon-to-be separate EU?

What's happening is complicated. It's not all bad, but there are lots of things to worry about.
Speaking as an American, that's been our loss. National identity, to be clear, is not just legal but cultural. In that light, Murdoch will always be in some way Australian.
The drop is priced in also. Ftse steady with a falling gbp is a drop.
I spent to much money on a couple of accounts in game of war and I'm just so upset with how MZ handles any problems there is, every response from their customer service is pretty much the exact same as the last!
I 100% support the movement of the boycott and hope that it gets so much attention MZ will actually fix the game instead of making every upgrade impossible for the little guys to reach!!!
I don't understand why he accosted that woman at the ATM next to him.

1. I would be very suspicious of anyone approaching me at at ATM, especially at a major tourist area. There's no reason to bother someone

2. There's a chance she's in on it! She may have come up there because she saw someone fiddling with the skimmer.

He should have either called the Bank or the Police. Don't bother strangers.
GBP/USD is down 7% on the month. We'll round up because we're being apocalyptic... according to outside investors, the UK economy lost 10% of it's value overnight.
I just recently installed a piece of software written in Go, from source, on Ubuntu 14.04. It wasn't so nice for a non-Go-programmer.

The instructions wanted me to download a binary tarball of Go and untar it directly into /usr/local. As if I would never need to uninstall it. Apparently even though the version of Go has changed several times since Ubuntu packaged it, they think this will be the last version ever, or something?

I ended up hunting for an Ubuntu PPA that had it instead. Of course all the accepted answers on Stack Overflow point to PPAs that don't exist anymore. A comment sitting at some tragically low score saying "hey, try this one instead?" pointed me to something that worked.

I think you dealt with it the first time and you've gotten used to it. (And maybe there's some nice way to get a newer version of Go when you already have Go.)
This new update sucks, I much prefer the previous layout.
> I'd rather that fewer people understand how to break tor, as opposed to more.

That is ridiculous. The more people who try to break Tor, succeed and tell the Tor Project how they did it, the safer Tor (and Firefox) become. The Tor Project relies on the security research community to find attacks on Tor so that they can be fixed. Same goes for all software in general.
The EU experiment has failed. The currency alone is proof of that. And now that several of the member states are economic sinking ships, the stronger nations are saving themselves before they go down with them. It'll be interesting to see what Germany does next. Either way, good on the UK, they don't need the EU member states and in they're much better for it.
I'm just curious -- do you have anything nice to say?

While I applaud your valor, I am grateful I clicked on this because I've only heard ATM scanner used in passing conversation -- had no idea they could be outfitted like this. Your parent comment & this comment make it seem like you got a chip on your shoulder.
How did this happen? Blair let the banks own britain. Incomes have been decemated by land prices. Blair set this in train.

Get back to jp morgan for some more cash you filthy liar, Blair.
Truck Door Magnetic Signs – Why Would You Use Them?
The question isn't "can you change who you are?", it is "How young do you have to be who you are?"

I haven't thrown a temper tantrum in the middle of a grocery store in 22 years.
In a world of only-smart-people: yes, I agree.

In a world of mostly-dumb-people: no, I disagree. The overwhelming majority of my direct life experience, so far, to date, says we are awash in a world of dumb people. Therefore, I can't say I agree with you. "Report a vulnerability? They'll assume you are an evil attacker. Glance at a pretty girl? They'll assume you're an evil pedophile. Wear camo pattern pants? They'll assume you're an evil militant revolutionary gun nut freak mass murderer waiting-to-happen."

Takeaway: The world in reality is very different than the world as it exists in your theory or ideal.