skysight-inc/HackerNews huggingface dataset:
Also on GCS, if you do a HEAD after DELETE on a bucket that is under lifecycle management it returns 200 instead of 404. Not really a consistency issue but it can really come and bite if you if you're not aware of it. GET returns 404 but HEAD returns 200.

I reported it as a bug but Google said it was by design. More specifically they said: "You are correct, if the versioning enabled in your bucket then the object metadata is saved as an archive object in the bucket [1].This is the reason you are getting 200 for your HEAD request."
it's not 1e6, it's le16

Little endian 16 bit

As for the driver itself, the spi interfaces are not too hard to understand.
It's unlikely anyone is disassembling anything.

The normal way to figure out the packets the touchpad uses are to look at the datasheets/etc you can find on whoever made the touchpad.

In this case, it's a bcm5974, and if you look at that driver, you'll see the packet format is the same.

Otherwise, you write a packet dumper and start pushing things
I mean, as compared to the cost of making it look lived-in, or just stopping by so as to technically "be occupying it". Rents in Vancouver are at a very low ratio to the cash value of property, as bad as 70:1 (value:annual rent.) In the normal world, it's more usually 20:1. This means that the costs and risks of renting a property in Vancouver are often considered not worth it.
Yes. And fuzzing works better by conscripting more users. :)
for the record I don't read fox-news and don't know what you're talking about. I read Reuters but its US news is limited, I did some study and was educated it is probably the closest to be called as a neutral source.
Hey, attacking the 1% is attacking 43% of the Jewish population. Check your gentile privilege. #EndAntiSemitism

https://en.wikipedia.org/wiki/American_Jews#Socioeconomics
And even the libertarians should be on board with this tax, because it's correcting a huge negative externality: empty units are bad for a neighborhood. Occupied units support local merchants, reduce crime, and generally make a neighborhood more fun and interesting to live in.
They should just rebrand to Apple Accessories co. at this point, because the level of greed is unprecedented.
We don't know why they're empty. A lot could very well be "I'll lower the rent until I can find someone to pay more".
GraphQL at GitHub
The software seems similar to sandstorm (sandstorm.io). This has a more integrated/opinionated app experience, rather than a software platform for apps of one's choosing? I can live with PHP, but Java is not something I willingly depend on. I suppose if I don't have to diddle with anything, I could live with Java.
Regardless of how you feel about him, you can't deny that he knows his audience. He's a salesman par excellence.
"TDD" is not the same thing as "having unit and integration tests".
Whoa whoa whoa that's awful packaging design
> How can you be said to own anything if you are forced, basically 'extorted' by government,

There are a huge amount of things you can't do with your own property. You can't erect a 300m tall tower. You can't make loud noise at 4am. You can't operate a tannery in the middle of the city. And so forth. If society believes this tax is a bad idea they can protest and vote them out.
Perhaps most people who buy an adapter do it to replace an old one, so you can use the old cable.

I prefer things modular like this. It lets me re-use / buy the right length cable for the use-case. The only problem I see is the price here.
I have always dream of hybrid software, meaning GUIs which show in real time the CLI equivalent of each one of your actions on the GUI, so later on everything you did in the GUI is combinable/scriptable, etc
The Guardian is also very biased. They're still useful media outlets.
Grubhub CEO tells pro-Trump employees to resign
Facebook fixes misinformation with this one weird trick! Publishers hate it.

(I couldn't resist)
It's hardly clear how this will help much. Vancouver has a population of about 600k people. According to the article, 10k houses are empty. This will, at best, increase the housing supply by 1.6%.

Meanwhile, Vancouver is extremely low density - 13k people/square mile, about 1/3 that of high-rise megacities like...Brooklyn.

Great work guys! Scapegoating a few rich Chinese people with second homes while ignoring the massive self-inflicted harm that locals do.
This is an honest request for clarification: Are you serious?
> ALL news outlets, starting with Gizmodo.

That's like saying "the truth of this information is at least 0"
The neighbors aren't the issue that's being addressed, it's the lack of housing supply for the locals.
Almost every control flow mechanism in Rust is redundant: `if (let)`, `while (let)`, and `for` are all encodable with loop/match/break. Even `return` and `continue` are arguably redundant. Control flow is also probably the biggest source of redundant functions (map, and_then, or_else, unwrap, etc...).

In this sense, ? is following in a long tradition.
Here are three news articles on what happened:

http://arstechnica.com/information-technology/2015/08/lenovo...

http://www.techrepublic.com/article/windows-and-uefi-anti-th...

http://www.pcworld.com/article/2969365/security/lenovos-serv...

This should really only affect Windows systems as far as I know -- Windows is running an executable stored in the firmware at boot (a rather dubious feature, in my opinion, but it's intended as an anti-theft measure). Lenovo used that feature to try to circumvent removal of their crapware when someone reinstalls the OS.
Sure, that's something you have to account for as well (they're not equally biased).

That said, you'd be surprised how well media organizations can bend hard facts (and so-called 'experts') to match their opinions. People who've worked in quantitative market research will tell you that you can find pretty much any pattern you want in any data if you present it (and label it) carefully.

Just because they've put in extra work to get an 'expert' and did some research doesn't mean that they're unbiased; it just gives you extra confidence - But you still have to fact-check yourself.
Give autistic children ALL THE RICIN!
Another thing about Vancouver is the staggering amount of brand new real estate being unsold for years.

Every developer thinks that one day there will be a naive Chindonesian/Eastern European nouveau riche that will buy it no matter the cost. And yes, such people were coming in great numbers
Anytime oh come on I prepare myself for evidence backed statements ....jk
New Populism and Silicon Valley on a Collision Course
> He doesn't seem totally opposed to renewable energy sources:

He has a professional climate change denier[1] being trial-ballooned to run the EPA.

I think of all the question marks about Trumps seriousness and commitment to specific policy areas (and there are lots -- the guy is a blank slate), environmental issues are the least uncertain. The guy is a straight up head-in-the-sand opponent of anything that looks or smells like it might be one of those hippie "clean" things.

[1] Literally! Myron Ebell's day job is to write papers for a conservative think tank "debunking" climate science.
Supposedly a big chunk of Alibaba's backend infrastructure runs on its custom-developed distributed datastore called Oceanbase, which is available on Github here[1] and here[2].

There are some presentations[3] and papers online (see links below), but I haven't found any information on people other than Alibaba running this software.

Would love to learn more about this if anyone has experience with it / more technical detail.

[1] https://github.com/alibaba/oceanbase

[2] https://github.com/alibaba/OceanBase-0.5

[3] http://ossforum.jp/jossfiles/Ocean%20Base%20Taobao.pdf

Here are some academic links describing Oceanbase. I would love to see some of these, if anyone has access; I haven't been able to download the academic papers. (Need Google translate, I imagine.)

I've accessed this [http://link.springer.com/chapter/10.1007%2F978-3-642-39527-7...] but it was only the abstract, not the full paper in printed form.

There are a bunch of references here, but not in English:
http://yuanjian.cnki.com.cn/Search/Result?content=oceanbase
"fueled largely by foreign nationals buying Vancouver property as an investment rather than actually living there. This prices Canadians out of the market."

The majority of property is bought by Canadians. The last time I looked it was 15% foreign, 85% Canadian.
On "Cotton Kills", George Boole (of Boolean algebra) died of pneumonia brought on by his wife's superstitious belief that wet bedsheets were the best cure for a chill that was caused by being caught in the rain.
Want to Make a Difference After the Election? Move to the Midwest
Tangential Question: Would you say that Thinkpads are still the safest bet if you're looking for good RHEL/Fedora support & updates?
"How does TDD prove its correctness? TDD suffers from the same limitations as the code - it generally only covers what you could think of."

Another limitation is that because the tests are (usually?) written by humans, the tests could also be wrong.

So you think your application works, but it turns out that both your application code and your test code were wrong and you didn't catch a bug at all.
The BBB is just a way for angry consumer to snipe at vendors. It doesn't to any sort of investigation of issues, nothing close to Politifact or Snopes.
But the problems go further. The go type system is littered with exceptions. Why ? Because append, make, maps, channels in for loops, channels in while loops, ... all have their own specific entries in the type system.

Go has generics ... but only for the core team. Go has polymorphism (there are polymorphic functions, all of which BEHAVE differently in the type system), there are return type polymorphic functions (functions that behave differently depending on whether you assign their result to one or two variables).

One look at github will tell you exactly what the go way of handling errors does in practice : ignoring errors. Golang code is like C code: it makes it sooo easy to just ignore errors. Second thing: errors are so hard to localize, as they're not tagged with location or stack trace. So I often find myself looking for string errors, while in Java/C# in 99% of cases I know exactly where shit happened. In Go I know in 20% of cases or so.

Speed. Go manages to be slower than Java, except in startup. For a compiled language, that's an accomplishment.

Besides the reactions to Go seem rather typical: it's simple and very, very limiting. Operations people are beside themselves. Predictable (although the ignoring of errors, channels and difficult to localize errors plus a number of mistakes in the standard library detract from that more than a little bit). Programmers don't like it.
Indeed. Reminds me of "rat-catchers" in Europe during the Plague, where some people ended up raising rats to turn in for a bounty.

It's interesting how people circumvent incentive-laws.
> gives you everything that linux offers that you would need

Homebrew is dope, but it's still a bolted-on package manager. I also hate hate hate that Apple have removed the ability to theme the OSX UI (RIP Flavours). If I'm going to stare at my dev screen all day it should look how I want it to.
TDD presents a paradox that requires split-brain thinking: when writing a test, you pretend to forget what branch of code you are introducing, and when writing a branch, you pretend to forget you already knew the solution. It is annoying as hell.

You CAN indeed cover all your branches with tests afterwards. You can even give that a fancier name, like "Exploratory Testing". Of course it may be more boring or tedious, but is a perfectly valid way to ensure coverage when needed.

TDD was great for popularizing writing test first; However I much prefer the methodology called CABWT - Cover All Branches With Tests. Let the devs choose the way to do it, because not everyone likes these pretend games.
What about vacation homes though?
If it's ineffective then what is the evidence is it that it's partisan?
Umm, they're using PCIe SSDs so you can just go get another laptop with one. Like this ASUS: http://amzn.to/2eGg2KM

> 512GB SSD with transfer speeds of 1400MB/s and 16GB DDR4 RAM
this is called the ol' reddit switcheroo. he's being anti semitic.
1.) It is __le16 with an L, not __1e16, and it means that it is a little endian field for bitflags, the tooling makes sure it is properly handled (not mixed with numbers or fields in the wrong endianess). See this Stack Overflow post and especially the links in the accepted answer: https://stackoverflow.com/questions/9680399/what-does-typede...
> the universe will find a way.

Do not blindly trust the universe! How do you know it is on our side?
You have a cite for that? Gas is extraordinarily transportable already. If this were true, we'd be sucking those deposits already and shipping or pipelining the LNG already.
تحميل برنامج تروكولر truecaller apk لمعرفة اسم المتصل للموبايل
Lisp representations can be used internally even if you have such a syntax.

Recent GCC commit:

https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=28251d450e034f...

GCC has some Lisp-like data structures inside, and those give a language to the commit comment also, making it easy to comprehend what is going on with the abstract syntax.
Not sure if that was a joke...
They chose for 'staingate' as it looks like regular stains (like the ones you get with dirty hands on your screen).
One of my colleague had the same issue (of course, same serie macbooks) but his was just in the middle of his screen. He tried everything to get it away (he said it randomly appeared; he used cleaning wipes daily)...
I wonder how many people are still walking around with damaged screens...
We detached this subthread from https://news.ycombinator.com/item?id=12925468 and marked it off-topic.
Obviously, people aren't being antisemitic when they attack the 1%.

I'm trying to show that arguments like the one I made are ridiculous (for example, white privilege).
Is their an exception if you're trying to sell your house?
Libertarians would argue that this is a problem created by onerous zoning requirements to begin with.
How do you decorate the errors? In Go I might write

a, err := foo()
if err != nil {
return nil, fmt.Errorf("failed to foo: %v", err)
}
Or maybe, just maybe, some homeowners will be incentivised to actually rent the house out to someone who needs it.
Ah, I searched this link for a while, thanks.
"If anyone opposes him, he'll have them fired, blackballed, or tormented until they quit either in disgust or humiliation."

You mean like how the CEO of Grubhub is doing an "ideological cleansing" of his company now[0]?

[0] 11/10 http://www.foxnews.com/us/2016/11/10/boss-tells-pro-trump-em...
Aaaand, just learned that a buddy of mine was diagnosed with liver cancer.

Shit.
https://en.wikipedia.org/wiki/Vancouverism
Agreed. I don't think he has any discernible political position. That would be too constraining. He's a salesmen and a deal maker. He's going to say what he needs to get support, then make hay while the sun shines. He and Musk will get along fine. They're peers. If there's a way to make money, increase economic growth, or otherwise trade the currency of Musk's brand, Trump will totally use it imo. Then he'll explain why it's the right thing to do to his followers and they'll be all in.
I don't think people change their mind on this kind of decision. For example, I could list in the document (written when healthy) that if I am unable to clearly communicate my wishes either verbally, by blinking, or whatever, maybe for more than X days, then I prefer to err on the side of dying.

A big advantage of having this written (and binding!) is that it takes the burden off of family to make the decision. Many people cannot make this kind of decision for others when they are incapacitated.
Except that try!() returns to the call site.

Raising an exception does not. It's akin to a `return` and `goto` all in one.

---

I don't mean to criticize Python's choice.

I think exceptions are a good decision for a high-level, dynamically typed, scripting language.

I do not think exceptions are a good decision for statically typed systems language.
On the plus side for Tesla, though, there's probably going to be fewer liberals buying cars from the Rust Belt states.
Excuse me, but the open enemy of press freedom was Obama himself.
The NY Times and James Risen support that view, and Ed Snowden just repeated it in his live event today.

http://www.theatlantic.com/politics/archive/2015/02/freedom-...
https://www.theguardian.com/world/2014/aug/17/james-risen-ob...

To the real problem of power abuse. Yes, turn it off. It is too late already. Way too dangerous to manipulate your enemies.
But also repeal the AUMF, the declaration of military law, and many more of Obama's and Bush' unconstitutional executive orders.
And exactly those were the first points Trump mentioned in his 100 point program.
I am American, and thank you for your viewpoint. Does a 'Canadian attitude to government' translate into enforceable legislature? Even in the US, it's a mix of attitudes, but one consistent law needs to prevail.

I have lived overseas for 8 years, and in Montreal for a year. As a libertarian I do believe you should be free to do things, unless those things impinge on somebody else's freedoms.

Being priced out by foreign investment does not seem to be a reason to have government intervention. Empty houses en masse should lead to big drops in property values after the initial buying spree spike.

Keeping your home up to code and paying taxes is one thing, but enforcing occupancy is another. How about if you travel 6 months out of the year for work? Why should you be penalized/fined for not staying home?

What is the period of occupancy - 4 days a week; 1 week per month; 2 months per year? Who decides, and how to gauge it?

I always think of the following ab adsurdum-like argument: Most crimes occur at night. Government is responsible for everyone's safety. Curfew is mandated for your own good from sundown to sunrise. Just a thought.
Vancouver voters simultaneously want:
a) a low-rise, spaced-out city,
b) rising property values for people who already own, and
c) low home prices for people getting into the market.

If you point out that you can only have two of these three things, you will not have any electoral success there.
Under your definition of "free", aren't current forms of natural gas "free"? Or any other form of hydrocarbon mining?
Yes, Open Whisper Systems. Signal is open source and meant to be accessible. There's also ToxCore - https://github.com/irungentoo/toxcore - which I have no experience with and I've heard sometimes the community is a little trollish, but it has similar goals.

Remember, any privacy project could use this help. All of them want to be accessible to the end user, including old-school tools like GnuPG. Often times these security engineers aren't very UX oriented and we like our command lines. Build good interfaces on top of them. Although a shitty name, Felony looked good for this: https://github.com/henryboldi/felony

Someone else asked a similar question in another Ask HN earlier, and I replied with this:

> Welcome to the fray.

> First: decide what your skills are, and where you can contribute.

> Try the Tor Project first:

> https://www.torproject.org/getinvolved/volunteer.html.en

> The community is great there and very accepting of newbies that have the skills.

> Signal / open whisper systems also are open source and accept pull requests:

> https://github.com/whispersystems/

> Read the anonbib:

> http://freehaven.net/anonbib/

> Also, there are other mixnet/darknet projects that could use help, such as i2p:

> https://geti2p.net/en/get-involved

> And if you want decentralized, mesh communications, cjdns and the Hyperboria experiment:

> https://hyperboria.net/

Get involved with any of it. Push for the user, fight for the user. Make it accessible and message the shit out of it. All of them have their merits and any work toward any of them is progress.
So you have someone pick up mail and make it look lived-in, but why would someone not just rent it out then?

Why pay for your service (assuming it's not tongue-in-cheek) when you can pay for a property manager (lets be generous and say 10%) and also get rental income to offset the investment?

Ultimately, that's why the city is doing this; Whether the property is rented or owner-occupied, there will be a consumer who is adding to the economy.

UK/London really has a problem with non-occupance - they should definitely follow suit.
That's like saying they shouldn't sell cables on their own because they don't come with anything to plug them into.
If demand is inelastic changing supply by even one percent could make a big difference in prices.
You might be interested in Whoosh.ly, my JDAAS (joke detection as a service) start up.
upvote for government contractor, I once saw 5k lines of code for simple change of address in the front end alone !!!
> use "finish" to effectively go call by call

Great tip. Thank you for the hint.
Probably from the perspective of someone who doesn't know either language, go is easier to infer what is happening.

Ultimately once you are actually writing code it doesn't matter.
> Even if the person you're responding to on some internet forum is the president of the Foundation For Keeping Software Developers from Being Overpaid ...

For the record - they wanted me to be president, but I declined. I am merely the secretary of said foundation.
Or opinions can be presented as facts, or at least presented in a way that makes it hard to tell if it is reporting or analysis.
Competition is always welcome! We do however build solid relationships with the neighbors and enroll the kids in local schools to provide complete residency simulation. All for one low fee.
My guess is you didn't read the article.
You clearly don't have a basic understanding of the issues here. Cars that use gas incur the additional penalty of environmental damage that is unaccounted for in the value of those vehicles relative to their cost. For example, a gas car may cost $1000, and bring $1500 of value to the owner, but incur $200 of damage to the environment. This is not priced into the value of the car. If you want to learn more you can read the first few chapters of an introductory economics textbook where they cover market failure.
Claudio from Erlang Solutions here.

I'll ask around in the company for more information.

I've worked briefly on wrapping an existing erlang app in a Elixir (Nerves) container and I did have a few issues around dependency management which required small changes here and there, but nothing major.

One area where I usually spend more time than I'd like is to get type specifications in good shape so that dialyzer doesn't report too many warnings, but that gets better with every Erlang/Elixir release.
Isn't increased complexity as codebase grows a basic rule of all computer programs? And don't say microservices are exempt - you'll have the same complexity on the tooling side.
No, I'm just trying to show that it's ridiculous to make "check your privilege" arguments.
Disagree, especially given that the truly political stories (if you want to accept that delineation) are greatly outnumbered by the tech ones.

Also, people here are smart. There's nothing to worry about.
Personally, I think unit tests shine best when you're designing an API. I can swing from hate to love and back about TDD in minutes, but when it comes to thinking about how your code will be used, unit tests (did we stop using that term?) are a tremendously useful tool I have.

I guess if all code written could be seen as an API, TDD would be great, but that's not the world I live in.