skysight-inc/HackerNews huggingface dataset:
State sales tax is a pain in the ass. I do some work for a place that only has a physical presence in the state of Washington, so collects sales tax for online sales to Washington residents.

Online sales tax in Washington is based on the buyer's location, not the seller's location. There are currently 25 different sales tax rates in effect here. So for each sale to a Washington resident we have to determine which of those 25 rates applies.

5 digit zip code is not sufficient to determine the tax rate for a location. A given zip code region can overlap different tax regions that have different rates. There is one zip code that includes 5 different sales tax rates, and several that include 4. A zip+4 code is sufficient, but (1) many people do not know their zip+4, and (2) I don't think there is any guarantee that a zip+4 won't cross a tax region boundary.

The way you are supposed to handle this is to determine the rate based on the street address. You can download from a Washington state government website[1] 39 files (one per county) that contain lists of streets and address ranges and tell which tax location each falls under. A typical record from one of these files looks like this:

100,198,E,CASECO LN,WA,98366,4700,Q22017,1802,N,Kitsap PTBA,

That particular record says that it covers addresses in the range [100, 198], on the even address side of the street named "Caseco LN", in the state of WA, and those addresses have zip code 98366-4700, the record is valid for quarter 2 of 2017, the location code is 1802, those addresses have Regional Sound Transit indicator N, and in the Kitsap PTBA (Public Transit Benefit Area). The empty field on the end is the name of the Community Empowerment Zone. The important part for tax purposes is the location code (1802), for those are the codes that identify tax regions.

If you use that you've got to deal with all the different ways people might write their street address. For instance, if there is a "Martin Luther King Blvd", you will find people who write it as "MLK Blvd", and probably some who write it as "MLKing Blvd", and some who will suffix it with "St" or "Ave" instead of "Blvd".

What we do is simplify this a bit, and just go by 5 digit zip code. The rate we collect is the rate of the highest rate location that overlaps that zip code. That way we are sure to never under collect (and more importantly, never under pay to the state).

Our only physical presence is in Washington, so we only have to do this for Washington. I cannot imagine how painful it would be if we had to do this for several states, let alone if we had to do it for 50 states.

[1] http://dor.wa.gov/content/FindTaxesAndRates/SalesAndUseTaxRa...
Except that DNS TLDs are already run by world governments.

Maybe you wanted to say that tree-structured DNS with TLDs owned by governments is bad, but this is a problem of DNS, not DNSSEC.

DANE reduces parties able to issue rouge certificate from TLD owner + all CAs to TLD owner only.
tk is so awesome. took me a while to grasp the auto resize things, but then you truly understand the genius of it.
Well over half of the article is nothing but speculation designed for fearmongering among their audience (who are undoubtedly extremely liberal, judging from the other Trump articles on their site).
While I agree about the respective qualities of the toolkits, if I remember correctly Gtk wasn't initially a replacement for Qt, but for Motif. The first version of Gimp was using that, and there was quite a bit of animosity against C++ back in those days.

They still could've tried to contribute to LessTif or at least created a new Xt-based toolkit instad of creating yet another overly verbose C OO system...
I will a LOT if LE can issue wildcard certificates to me with a 3 year validity. And send me reminder emails when im nearing expiry.
From now on I'm calling my UI/UX guy ZeusHammer
It's odd that in 2017 we are still having this debate. wiki welcomes you to improve the article. In fact that's the whole idea behind the site. It's odd that some users are still missing this use case in its entirety.
I don't understand what you don't get, this is how google works. Google does things like that constantly: buying popular softwares to kill them, make services such as google reader and kill them, etc.

Google has its own agenda and making an open and distributed internet that respect people privacy or wishes is not part of it.
There's a GIF at the end of the linked article.
> Beside Wasteland 2 and some adventures from former Lucasart developers I don't know any of the KS games.

You haven't heard of Pillars of Eternity?
So you're saying that generating believable fictions is a tough nut to crack?
Save Time and Effort by Integrating All Aspects of an Online Biz in One Place
They said economically beneficial, not good. This whole exchange seems to prove their point.

I'd like to read arguments on both sides for the economic effects of, say, slavery in America. Did America benefit? If so, over what timescales? Were there benefits in the short term but the ongoing divisions now hurt the economy more? And I can wonder about these things while still not thinking it was good.
Free access isn't great either. It took down the last Chinese dynasty and is the reason Hong Kong was British owned for a century.
Good answer. Could be interesting then. I use double tab to signal i want to use my phone but still need to solve a riddle. So this would fit my workflow
Feyerabend's Against Method goes further: examining crucial discoveries in science reveals no pattern which could be called a scientific method. Everyone sort of freestyles it or does what works.

I think modern western science discounts other sources of knowledge, because it is not just a platonic ideal but a sort of politics of the scientists, which they need to justify the choices they make.
I wish someone would pick back up wxc, the C interface for wxWidgets. IIRC the latest updates are in the wxc folder of wxHaskell [1]. That any non-C++ language is able to somewhat "import C++" (i.e. Nim and D) is nice and all, but doesn't really help the larger community and can be brittle in some C++ situations.

1 - https://github.com/wxHaskell/wxHaskell
We are incredibly off topic, but I think it's a bit reductionist to call China unreasonable. China is, above all, pragmatic. The Taiwan situation is a farce, but the Communist Party has reasons to believe it necessary. Party sovereignty and legitimacy are based on defending Chinese independence and restoring national grandeur (强国梦) after colonial humiliation. Any change on the Taiwan issue could cause both separatist and nationalist forces to escalate out of control, potentially destabilizing the entire country.

China really doesn't want to find out what might happen if countries start recognizing Taiwanese independence, so the US president poking at that bubble is seen as a threat. China responds with assertive words because fighting with words is better than fighting a war.
I would guess that's mostly a result of a lot of them being Q&D ("RAD") database CRUD interfaces, done on contract by a single developer, rarely touched again. Those tend to be awful in every language.

It's been a while, but I think my main complaint about Delphi was grid-based layouts and the static interfaces it creates. Fast, but usually don't respond well to resizing.
What I don't get is what about our perceptions of how slavery worked in the US might not be accurate. Except maybe in negligible ways. I mean, people were born into slavery. They could be given freedom. But they typically had no way to earn it. What am I missing?

What you are missing is that the sadistic behavior seen in Django Unchained was uncommon. Slaves were expensive. People don't usually destroy a $40k Lexus for entertainment - they usually take good care of their expensive capital investments, and they treat their own car far better than a rental.

In fact, slaves were often treated comparably or better than freeman laborers. Here is a modern treatment: http://www.latinamericanstudies.org/slavery/JLE-1977.pdf

Or you can read a contemporary treatment, from a northern unitarian abolitionist who visited the south: http://www.authorama.com/full/pdf/A-Southside-View-of-Slaver...

Note: none of what I've said here should remotely be interpreted as a defense of slavery. Just an acknowledgement that my modern mental picture of American slavery is likely not that accurate.
I don't spend much time w/ that stack, but Avalonia [1] seems to be a big player. Even better, they recently merged .Net core support [2]. You of course lose some native look and feel.

1 - https://github.com/AvaloniaUI/Avalonia 2 - https://github.com/AvaloniaUI/Avalonia/issues/314#issuecomme...
Actually meant x260. Why can't I edit?
By some strange coincidence I got the dreaded corrupted iTunes library shortly after I read this article. Years of ratings, playlists, play counts, and whatnot are gone :-/.

Last time this happened I couldn't find a way to fix this. Does anyone have any experience with the matter and/or tips for fixing this?
Debt: The First 5,000 Years is a book by anthropologist David Graeber published in 2011. It explores the historical relationship of debt with social institutions such as barter, marriage, friendship, slavery, law, religion, war and government; in short, much of the fabric of human life in society. It draws on the history and anthropology of a number of civilizations, large and small, from the first known records of debt from Sumer in 3500 BC until the present.

https://en.wikipedia.org/wiki/Debt:_The_First_5000_Years
"Your pseudo-medicine"? lol. I never claimed anything as mine and last I checked Indians are very involved in the medical field.

I'm not interested in discussing this with you, I have work to do. Things don't have to be this or that, they can be both. You obviously are looking for an argument because you missed my original points in the original comment.

You obviously don't know your Bay Area history. ;)
I don't know, what's best for security? The message is don't use a dodgy provider. Yes it's a pain for customers, but don't forget we're mostly talking about level 2/3 certificates (EV, wildcards), so we're talking about banks and major companies here. They both should and have enough resources to monitor the trustworthiness of their providers. In the current case, Symantec's falsifications has been know for long enough.
1. The Old Testament generally approved and regulated slavery, but it was different than the chattel slavery we tend to think of

Which ignores the difference in rules applying to Hebrew slaves compared to foreign slaves. As far as foreigners are concerned, you could beat them severely as long as you don't outright beat them to death. You could give wives to your male slaves, and the children would be born enslaved. After your death, these slaves became part of your inheritance.

How is that substantially different from our modern understanding of the word?
I find it interesting that software is the main issue with the F35, https://en.wikipedia.org/wiki/Lockheed_Martin_F-35_Lightning... and search for "software"

https://www.f35.com/about/life-cycle/software
Great, but if what GP says is true, the math notation in this case was so terrible that it took up more space than a simple English explanation and still took longer to parse for someone versed in the notation.
thanks for making me learn about mail-tester.com though you should probably obfuscate the email addresses in those images.
(OT) I use that feature all the time when I know the name of, say, a mathematical term in one language but not in another.
Ever heard of mail in a box[1] ? it does all this hard work for you.

[1]: https://mailinabox.email/
Interestingly, while in English we now say "business card", it seems that at least Swedish and Finnish, and probably other languages too, retained some form of "visiting card". In Swedish "visitkort" and in Finnish "käyntikortti" (literally, visit card) are still the terms for business card in use today.
> [...] etc... it gets complicated

Which is exactly why we want to employ static types: in order to catch the difficulties in implementing it correctly. We describe the complications in the type system, through a model that captures them, to allow compiler errors -- rather than runtime errors -- to guide us in implementing it correctly.

Types only hinder getting an invalid program to compile -- which is exactly what we want.
Diversity Makes Projects More Successful
The problem is that most of the users are not techies(ex I know someone that get scared by a fake warring windows window that was in face an image in a web page so I had to spend a lot of time to convince him that there is no viruses on the computer), this users that are not technical may not have backup disks or cloud accounts to backup the files,they do not know how to recover a broken boot or do not know where to undo the forced update, this less technical users were the ones that did not knew the tricks to stop the Win10 annoying popups, and they are the ones that suffered and in my opinion Microsoft disrespected them by forcing them into an upgrade with a non-zero change of stuf not working as before and 100% chance of UI changes
The meta-argument is unfalsifiable. We are invited to either buy into the integrity of the person presenting it (side with them in their view that they being censored and believe in the secret knowledge without knowing ourselves - or being seen to conive in views that other attribute to this side of the argument) or, alternatively to attack ad-hominem "I disbelieve you". Then the view : those who don't buy this are simply not doing their research!

This doesn't help us get anywhere apart from into groups that shout at each other.
I dont think thats the case on Android. Even apps written for Android 1.5 should still work fine on new phones.
How do you normalize arab or chinese in a meaningful way for people speaking these languages ?
Team and project management tool (a bit expensive)
It is absolutely forbidden for any Christian to own slaves or excessive debts, or to help slavery practices in any way.

That's not what the Catholic church taught as late as 1866: https://suchanek.name/texts/atheism/slavery.html
Strange Beasts is yet another cautionary tale about augmented reality
From the article: Around half of the world’s slaves are held in debt bondage in India, Pakistan and Bangladesh.

My point is that some significant fraction of this debt bondage is not remotely comparable to what is described in the article.
You might want to reconsider that:
https://support.google.com/chat/answer/159495?hl=en
Mabe most beta testers are based in english-speaking countries and countries where most people are used to stay away from non-english characters and never noticed the problem? I live in Sweden and still avoid using åäö in filenames because of old habits from DOS/Atari era.
I have a Nexus 5 from 2013 or whenever it was they released it, still going strong.

I don't see that much innovation in newer phones to warrant an upgrade, at least in the sense of spending hundreds of pounds on what amounts to be a slightly faster processor and the promise of Android O.

The only thing I can think of that might force my hand, outside of the phone breaking, is the security updates (Google no longer supports the Nexus 5 - so it will be stuck on Android 6 indefinitely)
Yes. It will probably take a while for you to become comfortable, but once you have become fluent with irregex and the other very nice libraries, there is no going back.

Then here are some very nice SRFIs around to do most of what you want, and I believe chicken comes with basic pattern matching facilities as well (although not as sweet as the ML-type which are checked at compile time).
I don't trade, so they won't help my models.

I'm interesting in how they are made though.
"Visitenkarte" in German (for both today's business card and the old style calling card).
Somehow this 1-on-1 chat has stopped working circa 2013 for me. People using google still show up as online in my contact list but do not ever receive my messages. On the other hand I do not appear in their contact list anymore.
Anybody remember Lawnmower Man? VR and AR have been the next big thing for most of my lifetime now and I'm a child of the 60s. In fact, didn't Google Glass already prove ordinary people don't want computers strapped to their faces? I think it will be a niche, like smart watches. It will be a nice little business, like the Watch is for Apple.
It seems that this article quotes a boatload of sources which could be presented as blatant examples of the very old and often forgotten motto "correlation does not imply causation".

Taken from the article:

> A study from McKinsey Research, for example, showed that across industry, gender diversity on a leadership team brough 15 percent higher financial returns than those without; those with ethnic diversity brought 35 percent higher returns.

Does anyone actually believe that an all-male, all white investment company would suddenly and magically see their returns increase by 35% if they added token employees to the team?

Perhaps a more reasonable -- and realistic -- explanation would be that success-driven companies hire based on results, and results aren't gender or even race-specific.
What is it about Abramowicz and Steven that needs updating?
I think the mission patches are quite clever...
Slavery (as well as private enterprises) is a form to coordinate efforts of an enterprise that requires more than one worker to function. "Requires" means that without a coordinated effort the enterprise won't be possible. Such enterprises are more productive than single workers and the gain is not linear, i.e. an enterprise that has two workers is more productive than two separate workers put together. This is why slavery (= coordinated team effort) is beneficial: it increases the wealth of the society more than when everyone is free and works on its own.

Of course, slavery is a very crude form of coordinated team effort. Private enterprise is much better and much more flexible; in fact, this is the best form so far. Best practical form, that is. I can imagine maybe a more attractive setup on a smaller scale, something like a community where the team effort is coordinated by the leader and everyone obeys because the leader is wise and knowledgeable or out of tradition; a monastery would be a good real-life example here. But I fail to imagine that this would scale.

Now, I believe that coordinated team effort in any form has to strip team members out of some of their liberties. E.g. if your enterprise is to work around the clock (and it may have to due to technical reasons), then some people will have to work nights. Yet coordinated work is so much more productive than single-person efforts that it's beneficial to accept these limits. Remember a DIY hamburger experiment where a guy wanted to make a plain hamburger all by himself and ended up with around $5,000 in costs and even that wasn't cheat-free?
The $5 metric is just my random number meant to indicate "below this, everything is crap". I agree that $5 is perhaps not the real border price that should be used for this, but hopefully we both agree that there is such a level, and HCL is purposefully going below it to save a buck.
Is there even a reason to buy a new smartphone nowadays? They get a bit flatter, get bigger screens, but overall we reached the point where their progress kinda flatlined. They have everything an average user could want since early 10s.
I don't agree that they're redefining even vs. odd. It's more like positive sloping vs. negative sloping. The reason they've introduced the y variable instead of referring to the slope of those lines is that they're going to use the y value as a class label later.

I agree that the paper is written in dense technical language, but the point is that the authors are writing for other academics, not laypeople. They could go to some lengths to avoid using symbols like ~, but those symbols are completely standard in stats and ML. If you haven't seen them, there's a good chance you don't have the right background to follow their paper anyway.

All writing styles have their place. In textbooks and blog posts, it's completely sensible to have an index of notation, and to use natural language to express ideas. But when writing for an audience of trained scientists, it's a different matter.
Someone did make an instant messaging over email thing recently, but I can't remember its name and searching for instant messaging over email is quite a haystack.
The batteries become crappy after a few years. And since they cannot be replaced..
I am intrigued by this snippet from the README:

type messages 'x = 'x | Fetch pid 'x

This appears to define a sum type where one of the variants is left with an implicit constructor. How do you pattern match on that? How do you do type inference?
GtkAda is a binding for Ada. Ada is like
Pascal but much more powerful. GTK is available for Linux, Windows and OSX. However, you could also use Qt and import from C++ to Ada.

http://www.ada2012.org/

http://www.adacore.com/gtkada/

http://compgroups.net/comp.lang.ada/gtkada-for-macos-x/14082...

https://www.gtk.org/download/windows.php
The Mandate by Perihelion Interactive ?

it's dev is still ongoing.
"Not user serviceable" != "non-replaceable." Apple is happy to replace your iPhone battery for around $80.
There are some nice things that could get standardized or available as an option for every mould:

- physical buttons for shooting

- physical buttons for volume

- back cover should be e-ink for light notification or reading books in the train without killing autonomy

- and of course the windows/ubuntu convergence that could - or could not - come one day
Oh, wow, thanks. I'd seen that, but assumed it was a link to the frontpage of each language. Still would like if it could offer an automatic translation.
Good introduction to modern XMPP.

Is there a cross platform, desktop client that strives to implement these XEPs? Something like Conversations.im for Android.
The F35 sound like a great plane but what happens if you jam the radar(is it even possible, I don't know much about radars) and communications ?

I'm saying this because the article state that the F35 is slower than other fighters so if it's possible to jam communications and radar, this plane may have a disadvantage in this kind of situation.
Political and social problems are harder for engineers and scientists to solve than technological and scientific problems. Though they get to lobby politicians using their financial resources, they don't get to directly make laws and policies -- they are not given the power by the people to do so.

This article carries the hidden assumption that technology alone can solve inequality and social problems, but they might as well put the blame on Hollywood or some other single professional group.
It's .. complicated. It's not so much whether tax should be collected, it's where and who by.

I can only speak for Michigan, the only state I've lived in, but it goes something like;

* Tax on interstate purchases (where the buyer and vendor are physically in different states) is owed in the state the buyer is physically in.

* Tax is not (was not?) collected at the point of sale.

* Buyer should declare (significant?) purchases on their (state) tax returns.

So the theory is that if I go into a shop and purchase something for $100, I pay $106 at the point of sale. If I purchase the same item from an out-of-state vendor online, I pay $100 at the point of sale, and owe the outstanding $6 on my state taxes.

As you can imagine, this is near-impossible to audit (hands up anyone who's ever declared those purchases?). There's been resistance to change nominally because taxes are very difficult to calculate (the same purchase can be covered by state, county and municipal taxes - it's not just a list of 50 numbers), but realistically because online vendors have enjoyed making it Someone Else's problem, with the lower prices also working in their favour (on significant, 4-digit purchases, whether the vendor had a presence in Michigan would factor into which vendor I chose).