skysight-inc/HackerNews huggingface dataset:
Yeah, I got on board the mechanical keyboard train before it was cool, and as a result my keyboard has no software that can configure it. There's a DIP switch to make caps lock into control. Perfect.

I have a Corsair mouse, and their software is spectacularly awful. (Their other software is also terrible; like configuring fan speed profiles for the water cooler.) No account required, but the button configuration is horrendously complex and in the end completely useless. I never figured out how to make a mouse button show up to Windows as an extra mouse button. Switched to a DeathAdder, and while their software is also terrible, at least the extra mouse buttons show up to the OS as mouse buttons. (Razer's software is terrible in a different way; the UI is overdesigned and I don't want to type in a username and secure password to change my fucking mouse settings... but once you're in there, the software does actually work well, letting you configure what you want in a relatively straightforward manner.)

All in all, this stuff is all super gimmicky. I want the marketing people to know I bought their product _in spite_ of the software they spent hundreds of thousands of dollars developing. I would be happier without it. The company would be more profitable without it. The mouse is for pointing at enemies and clicking when their head is under the crosshairs. I don't need a "brand experience". I don't need fancy colors or "game optimization". Just translate my hand motion to input events. I'll do the rest. Thanks.
Nowadays I always write future proofing code. Like, if I need to make a bad decision/tech debt, I will leave ample documentation explaining why and providing alternatives in a hypothetical better future.

My future self is always happy that this is the new standard. High quality, documented tech debt.
Probably, but they are playing with peoples lives (as reporters do in every country) and they should take some basic precautions, say mailing them an encrypted mSD with a silence.im APK onboard so they can establish a vaguely secure communications channel.

Most attackers (low level, local politicians) will be unable to break this most of the time, which would make for a safer situation for all involved. I think that this should be standard procedure in every country, subbing in Signal Private Messenger where it isn't blocked.
ESTA is all electronic, the process would be automatic, I'm sure you can run it for less than $180m a year.
It could be as simple as: Enter first name, last name, passport number, passport country, date of flights >>> Cool you have 90 days this year! or >>> You've stayed more than 90 days, please get a real visa.

If one gets denied the ESTA, like the US system he'd get refunded $10 of the $14 and if he stills want to travel, he would then have to show up to the embassy for a real, couple of hundreds dollars visa, similar to what today's countries who are not part of the ESTA program have to go through to visit the US.
All that stuff is a waste of time, not a good use of it. It's a symbol of "face time" at work, where you have four hours of real work a day so you stretch it out to eight by wasting time.

So is coming home and just flopping on the couch and watching TV all night because you're so tired.

These things make me feel like my life is wasted.
Why though? What are your arguments for fixed point over decimal floating point. If you ensure a sufficiently large mantissa it will be more resilient in procedures like calculating a small percentage of a small value.
When I was a kid I learnt about globalization, and the world getting smaller.

What a strange times are we witnessing? Technology and Internet approaching us, while politics tries to separate.
This was published in April 2015 but it never reached a wide audience.

I find that a lot of PHP developers still ask a lot of questions that are answered by this post, so I thought I'd share it with HN.
Hasn't Japan already done that? Secondly, I think it's very Western-centric viewpoint that your country's economy comes before everything else.
In this case, I think regulation serves as competition - either you get the money from the fare, or take a double financial hit from missing the fare and owing a fine.

Edit: Also I disagree that discrimination can be solved by competition. Competition can result in mutually exclusive sets of discrimination eg. extreme nationalism.
As opposed to trusting biased, rushed, financially-motivated humans of average human intelligence to distill the world's knowledge? Or biased, rushed, career-driven sociologists, that live under publish-or-perish and don't use the scientific method? Why the hell is it acceptable to have political activists and ideologues influence public policy?

Again, that isn't the point. AI would be a step forward, and I'd gladly take journalists becoming unemployed if it causes a new AI-led era of Enlightenment.

You're missing the vision: AI, with its swathes of data, would be able to tell you precisely what percentage of blacks that have been put in prison over drug laws would never have committed violent crimes. People's perception that these laws are justified for "public safety" would recede. That's just an example.

You're arguing from a fundamentally obscurantist point of view, arguing that unless we know 100% of the facts, it's better to keep certain things quiet to prevent human bias, whereas you should be arguing that we'll never know 100% of the facts (obviously) and should just stop being so quick to judge. More facts are always better than less facts, period.
>What does single ownership have to do with anything? Is it somehow better than any number of people can spend your life for you? //

No, it's not automatically better AFAICT, in practice I think it's likely to better on average. It's more that it was claimed to be "slavery" in actuality, not "like slavery" but actual slavery. So it's in some ways semantic but more it's that I think the position is substantially different to slavery - it's not just that it's a group of people, it's that it's a democratic country that you are also part of (as opposed to a corporation owning you, or an individual owning you). They're different conditions. In practice they perhaps share some [a lot of] downsides.
const M_PI: f64 = 3.14159265358979323846264338327950288;

You wouldn't use a macro for something like that in Rust.
> your behavior around knowing where a police car was sighted is to comply better with the law

It may be...it may also be to avoid the area, for illegitimate (I'm a criminal police are looking for) or legitimate (the local PD is notoriously racist against people of my race, and I want to avoid being hassled) reasons.
Japan has been influenced by the rest of the world for millennia - just recently there was an article posted to HN about ancient Persia having envoys to Imperial Japan[0,1], to say nothing of China, which is probably responsible for just about everything you associate with "Japanese culture," or the Western influences behind the Meiji restoration and postwar government.

All cultures change over time, even the ones that some people, for some reason, hold up as icons of homogeneous purity like Japan. A culture which isn't an expression of the people who currently live in a certain place and time is dead. That immigration would inevitably alter Japanese culture is a sign of health and evolutionary progress, not destruction.

I mean, the Ainu might even consider it karma, since they were already there before the Yamato showed up with their weird foreign ideas.

[0]https://news.ycombinator.com/item?id=13693800

[1]http://www.japantimes.co.jp/news/2016/10/05/national/history...
> the message that some politicians have been using ("trade agreements are evil!" "immigration is bad!" "the EU is making us abuse you!") has taken hold

Or, perhaps, the dissatisfaction was there all along, and the politicians are merely exploiting the pain of a faction of the electorate. Humans are tribal. They don't become tribal overnight because a politician told them to do so.
No. Not at all.

The Browser is my portal between sites on the internet. The Nav is my portal between pages on a site. I want them to remain consistent to themselves.

The site has to have a uniform experience across all pages. And the browser needs to stay the same as I switch between sites. I need it to house my various tools and interfaces to best allow me to browse the internet as a whole.

But what's that? If the Nav was in the Browser, it would still be consistent across a single site? Sure, but not all sites are created equal, and I need the Nav to be tailored to that site so I can interact with the site most efficiently. The Nav I use for HN would be wholly inappropriate for YouTube, and the Nav I use on Reddit would be overkill for my personal website.
https://en.wikipedia.org/wiki/Young_Earth_creationism
> So you think people in Mosul who refuse to fight for ISIS, and violently resist them, are traitors?

> Nice to know that you support terrorism.

> And before you try the "ISIS isn't a government" BS line, the same logic applies to German citizens in the 1930s-40s.

I'm not the one in this thread defending domestic terrorism. And yes ISIS isn't a government so that doesn't apply. Quite the contrary, as ISIS the terrorists in your example so fighting back against them would be encouraged.

> Apparently you think Germans who refuse to fight for Hitler are traitors.

Well yes that's the definition of treason / being a traitor. You could say the same thing for Churchill/England, Roosevelt/USA,or Stalin/USSR.

> Interesting what kind of values you support. I think people like you should be locked up and the key thrown away.

Sounds like you don't particularly like freedom of speech either. To quote our great new president, "Sad!"

> Supporting mass murder is disgusting.

Damn straight. Though I fail to see how that's relevant or where anyone claimed it's not.
Golang.org/x/net/dns: A new DNS library for Go
A picture is, a vid not so. But you are right. It helps to explain the situation far more easy than a wall of text could.
What if you have to calculate, say, a 0.5% fee on a few satoshis?
I don't understand what this means. You'd use const in Rust for this, not a macro.
I think most people who do not live in Japan would be very surprised at how far this "revolution" has progressed. The problem is that Japan's older generations, Japan Inc in particular, have given these folks the collective middle finger (e.g., no stable and/or prestigious jobs for these folks).

You're right that income security (and status security, imho) would go a long way towards addressing the problem. That said, that digs much deeper into Japanese social issues -- for example, small business owners (e.g., small restaurant/bar owners, consultants, tech entrepreneurs, etc.) are often perceived as having lower social status than salarymen even though they sometimes make bucket loads more money. Folks in lower prestige careers have a harder time getting married, getting loans, moving into good neighborhoods, etc.

As such, the men who embrace the revolution are ipso facto marginalized in society.

Once Japan can embrace more individualistic careers more favorably, then I think their economy will be able to move forward more aggressively, and the "revolution" folks will have a more prominent and visible role in society.
I have found using conditionals as expressions super useful, like:

```
fn foo(number: u32) -> bool {
if number > 2 { true } else { false }
}
```

I mean obviously in this situation you could just have the body of the function be `number > 2` but I write a lot of Rust code that does similar things now.
Reusable annotations for D3 with d3-annotation
On Empathy
Superhuman Willpower
I totally agree, search for Vocaloid or Hatsune Miku for a similar thing. I even went to a live performance in Japan (probably as the only foreigner from what I saw) and it was amazing.
Lol what? Relative to Java which is maybe 50% slower than native... they used Gecko, which is at least 100% slower than native in practice. There are huge obvious well-explored reasons why this can't be fast.
Uber isn't a monopoly. For all the scummy things that Uber has done, they have avoided the most scummy thing they could do to become a monopoly: driver lock-in, making their drivers commit to only drive for them and not for Lyft.

Susan Fowler's post has me pretty fed up with Uber, but for some reason greyballing doesn't bother me at all.
Hell no, i don't think religions should be allowed to push their agenda on children. If we banned that we could eradicate religion within a generation.

If I had a teenage daughter I'm sure I'd have little control over what she read anyway.
Both--this article is pretty informative: http://la.curbed.com/2015/3/31/9975230/snapchat-venice-lease...

But even if a retail vacancy appears--it kinda diminishes the quality of a pedestrian-friendly neighborhood for a private corporate office rather than another retail storefront, bar or restaurant to take its place.

I'm a free marketer, blah blah blah, Snapchat is free to set up shop wherever they want within the bounds of the law. My point is to say what they are doing is lame, and they've made Venice lame. And it's uniquely lame compared to cases where tech giants set up shop in a single large commercial building that can accommodate all their employees within a locale.
That's just ridiculous statement.
The Word “Hacker”
Kind of, except unlike trickle down economics, what I'm describing is actually real.
Not sure how civil disobedience leads to authoritarianism rather than the opposite. Also, by your reasoning, civil disobedience is never justified. And does Trump being President change your reasoning at all?
Nothing much. One interesting fact:

https://www.weforum.org/agenda/2016/11/nationalities-granted...

There is not 1st world country in the top10 for EU immigration other than USA.
The problem is structural, not the result of one actor's actions.
That's really interesting. So you are saying the US is actually providing "equal treatment" but since each country's stats are grouped separately, some of them fall outside the requirements and lose out on visa waiver.

Of course if you grouped the stats for all of EU it would probably bring everyone in range, but it's hard to argue that would be the right policy for the US.
Farmers Confront Climate Change
US Americans are just Americans. Only people who are incredibly pedantic think otherwise.
When I saw the story title, I thought at first it was something about polyamory. It's slowly gaining more visibility and acceptance in parts of society.

Then I read it and my mood went down the tubes. :-(
Oh but I have heard people claiming the contrary: that banks are actually using a number for transaction and it has 666 embedded into it.
Using the visa refusal rate as an excuse sounds a bit like circular logic: "We're not going to give you online rubber-stamped visas, because we're currently not giving you many visas." I'm not saying that the refusals don't have merit, but since they are discretionary, the refusal rate may never improve. It's just the perception: "Those Eastern-Europeans seem dodgy to me, so we won't allow them because they'll surely overstay." Yet the reality is that they don't overstay so much.
I thought that style was considered bad form in modern C/C++ (esp. the later, with `constexpr`). What's wrong with

const PI: f64 = 3.14159265358979323846264338327950288;

?
I will certainly take you up on your offer!:

https://github.com/pjungwir/rust-initialization-functions
We are always constantly trying to listen to people and get feedback; for example, it's one of the reasons I pay such close attention to these threads!

There's always room for improvement, but iterating in this way is defintely a core value.
You make a distinction between staying passive and not helping an investigation (the drugs example) - and actively deterring the investigation (the flight example).

That's a valid distinction to make, however given how much development effort companies like Uber and VW invested in their tools, I think those are clear cases of active deferring.
"To suspect your own mortality is to know the beginning of terror; to learn irrefutably that you are mortal is to know the end of terror."
(Children of Dune)
Some recent articles to read on JavaScript
It's not a security problem, or else my comment would have been much more adamant about removing the link. It's mostly just reader confusion. Seeing the git clone url led me to believe the project was open sourced and was disappointed to find that not to be the case.
As if USA exists in a vacuum.
> And then would argue that we freely entered into those terms of our own free will by being born where we were and when we were!

You just described what the government does.
What is the will of the people? How is it expressed? Through representative elections? What about Arrow's impossibility theorem?

The 'will of the people' on the issue of Uber is abundantly clear. Everyone wants it, except taxi drivers and the companies and structures that benefit from them. This gets blocked sometimes due to the fact that taxi drivers represent a concentrated interest against a diffuse benefit. We all benefit a little from Uber, but taxi drivers benefit a lot from killing Uber. So they raise their voices against it, and nobody speaks up for the rest of us. It is the classic problem of representative democracy. The representatives are beholden to the concentrated interests of the few against the collective interests of the many.
Docs suggest Palantir could help power Trump's ‘extreme vetting’ of immigrants
Great！

but do not forget to document what is implicit. Otherwise, it is magic and make it more confusing. That is the impression of my last attempt to learn rust.
I've been using a Razer Blade 2015 as an Ubuntu-only computer for several years now, and I've recommended it on HN in the past. It's been a great machine, and Linux works surprisingly well. (Of course that means that there are some minor problems, but "surprisingly well" is high praise in the world of Linux on laptops.)

Lots of people here complaining about build quality issues, but mine has been completely solid. The only issues I've experienced are some of the keyboard keys are losing their matte black printing, which is surprising but not fatal.

Additionally, at first I had a hard time getting a Blade that did not have a screen with a pink-to-white tint to it. However this appears to be an issue with all IPS panels--my Nexus 6 has the same issue and you can find people on Apple forums complaining about similar problems on Macbooks. Razer support was very helpful, and they hand-checked a unit to send me as a replacement, which is the one I'm using to this day.

In short, I'd continue recommending Blades for development work as Linux machines, and even moreso if they can iron out the usual Linux driver issues that plague all laptops.

Edit: I should also add that my limited experience with Razer support has been good, in that I got personal replies from people who didn't seem to be reading from a script, and who were happy to accommodate my returns and pickiness about screen quality.
Thanks for bringing that to my attention, I hadn't seen that. Worth reading is the last post in that thread, where Unknwon finally responds.
> I am not sure if this directly applies to your post, but it came to mind when I read the section about `extern crate`. It seems like the Cargo system is relied upon by almost all Rust users, and I am not sure if this is an ergonomics problem or a lack of understanding on my part.

This is definitely true, and I don't think it's negative. You can use Rust without Cargo and crates.io, but it feels very different. It's nice that that option exists, but I wouldn't want to work that way. Any sizeable project is likely to accumulate a large number of crates.io dependencies, but having written a lot of C++ code, the alternatives are "reimplement this thing myself" or "copy paste some code", neither of which are particularly good.
The civil rights movement was in no way about the abolition of the rule of law. Hitler's promise of greatness actually did seduce a ton of the economically and socially devastated German population. Hitler was a known outlaw. Even if you can't yet think your premise through to the end, at least consider the consistency and truth of your own words.
This would probably work. But the outcry would be huge. People don't like paying for things they used to get for free. $2 to $2.10 for gas in lamentable, but ultimately only a 5% raise. 0 to anything is outrageous and a mathematically "impossible" to represent as a percentage.
"If you're developing software for unsophisticated users it's obvious that you should be doing user testing"

Compilers actually have a unique opportunity to introduce some form of opt-out tracking of all of the compilation errors with sources, etc. This could really help to understand the users.
RISC-V comes to mind as an open and free instruction set. The step to an actual implemented-in-silicon processor is pretty big though, and for any such chip it's hard to verify that it really is as free as it's claimed to be. You can't diassemble your CPU (or perhaps you can, but for very few values of "you").
The Free Software Foundation published a response to this thing already: https://www.defectivebydesign.org/blog/response_tim_bernersl...
Well, that's complicated but...

I currently use android, and lyft won't work without permanent access to my location and contacts, which I consider unacceptable. I'm supposed to get the ubuntu phone in about a week, and afaik, there's no lyft client for that. There is an uber webpage, m.uber.com or something that should work with it though.

This is all untested on my new phone, so I may be incorrect.
Spike Lee spoke pretty well about how gentrification marginalizes people.

https://soundcloud.com/daily-intelligencer/spike-lee-on-gent...
I'm reminded of a friend who related to me, "I just don't want to be old and poor." (As a doctor theyve likely seen many instances of the difficulties one faces in this situation)
Well both of those things basically already exist; you can do conditional compilation based on architecture, etc. and macros can do some of the less hacky things a preprocesser can (as well as many things it can't).

The biggest Rust project (which already has many of the core contributors working on it) is Servo, and it's probably about as ambitious as you can get while still having a nonzero chance at completion. I don't think there's much additional value in taking on a completely unfinishable project to shape the Rust language so it's good for a kind of programming (i.e. Kernel programming) that is far removed from what 99% of potential users will use it for.
That makes you part of the VHS generation, so that counts.
That's fair enough. There's isn't really a good current state comparison of the two.

It was discussed in January, on HN, here: https://news.ycombinator.com/item?id=13296717
I simply don't see how Uber can be a monopoly. You need a critical mass of drivers, but nothing stops drivers from being on multiple networks. This isn't Microsoft doing per-CPU licensing.
Civil disobedience works precisely by accepting the consequences of the law. This is the literal opposite of Uber's behavior.
We have discussed doing this in the past, actually. Opt-in (oops, had "out" here initially) is very important here!

I am not sure if it's something that ever landed or not...