skysight-inc/HackerNews huggingface dataset:
I think you actually did. They are not saying - "Hey, we are having only a few 32bit customers, Microsoft should dump them". The problem is much more complex.
Yeah as I alluded to, libraries are the thing that hamper this style. You don't control all the code in your application. But it's not too hard to work around.

I also think language-supported thread locals are superfluous in this style. Instead, just create a single object that runs into a single thread. Then you don't pass the object to any other threads. The members are automatically thread locals.

If you have N threads, then you have N objects confined to those threads. There doesn't need to be a separate concept of thread-local IMO.
You must be confusing UTF-8 with 4-byte Unicode. UTF-8 by design will use variable length encoding, otherwise it's not UTF-8.

I can confirm both these commands return 36 in my mysql installation:

SELECT LENGTH('15c915fc-4d50-11e7-9bc7-50b7c307c620' COLLATE utf8_general_ci);

SELECT LENGTH('15c915fc-4d50-11e7-9bc7-50b7c307c620' COLLATE utf8mb4_general_ci);
Downed power lines, yes.
Are you serious that you would advocate for a multi-decade sentence for what this man did?
That's a nice example of the tradition of the British Medical Journal to publish tongue-in-cheek articles in its Christmas issue.

More examples at http://sciencemadeeasy.kinja.com/top-10-bmj-christmas-papers...

The Canadian Medical Association seems to have a similar tradition, judging that on "Cigarette smoking: an underused tool in high-performance endurance training" (https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3001541/)
> you'll match the last few and first few letters just as fast in your head

Definitely true, in fact I tend to prefer hex for this purpose. But one minor note - assuming the whole thing is cryptographic-strength random, there's no need to compare first and last, just do first only or last only (last is usually preferred for UUIDs due to them sometimes containing a timestamp at the start), the odds of an accidental match is the same and the visual processing time of switching from one end to the other is lower.
Victim!? Uke is the attacker! :)
Would it work in a 32-bit VM?
Well there's NFC. You put all your groceries into your bag once they scanned them, you tell them you want to pay by card, hold it in front of the terminal, enter the pin, done.
Yes it takes 2-3 seconds until you can enter the pin (only if amount > 25€) and then another 2-3s for it to very it, but during that you can just go back to putting things in your bag. If you want to you can also get a thin wallet and not even take your card out at all.
You're also overcomplicating the whole chip & pin/sign process by a lot. If the machines are simply mounted somewhere all you need is two fingers to hold/insert your card and then one of them to enter the pin or one hand to sign if your bank is weird. It's like you really want to see problems with the system. It works fine in other countries.
Pretty sure what the practices you described have 0% basis in law/regulations and 100% ass-covering/terrible customer service.
I imagine an upgrade path from 32-bit to 64-bit installations would take care of a huge chunk of the population MS keeps the 32-bit editions around for (enterprise 32-bit installations on 64-bit-capable hardware).

There's no technical reason this cannot be offered, as the Windows installer already replaces all system directories, detects incompatible hardware, disables drivers that aren't supported, and everything else that would be technically required.
View GHC's Assembly Online with Compiler Explorer
I work on an Entity Framework Core Implementation for MySQL and we recently added sequential GUID generation for primary keys that are of type Guid. The first 8 bytes of the GUID are the current UTC timestamp in ticks and the last 8 bytes are cryptographically random.

One interesting thing we ran into when implementing is that C#'s binary format and string format must be different to be sequential. So we have to detect whether the GUID is stored as a string or binary and put the timestamp in the correct place to ensure it is actually sequential.

Here's the PR for the feature for anyone interested: https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCo...
"Imagine you have something like a security camera, or you're a parent, you got a new newborn, you want a nursery camera.

You can put the camera into upspin by running a little directory storage server nearby -- or on the camera depending on how much control you have -- and then you've got access to the data whether it's a video stream or a series of static frames. Whatever it is. But it's encrypted, it's accessible only by the people in your family, which might be the name of an upspin group you created. It has you your wife and your other kids, or whatever. " - Rob Pike on Upspin at GopherCon 2017

https://youtu.be/giUatBmmb_Y?t=1h38m3s (talk starts at 1:19 https://youtu.be/giUatBmmb_Y?t=1h19m19s)
It's the building structure too, they're easier to design and construct using a repeating structural module. Each column supports the same area, each area has the same design loads, and you get a bunch of identical columns in a line.

And then you need to arrange rooms and corridors around those columns, and it's much more convenient to not have random columns dropping through the middle of most rooms. So you align your walls on the column grid, and now you have a bunch of straight walls and 90 degree angles.

To some degree it goes the other way (I need my rooms to be X by Y, design column grid to match), and you still do rectangular rooms because you know that way you can push your column gridlines into the walls. And it's not perfectly consistent, your central corridor might fall in an off-module grid width. But one way or another most modern buildings are on a grid like that.
Absolutely agreed on the ridding of constructors. Offer the option to set things (eg the Logger), and if it's nil, use some defaults. This seems much cleaner than making a huge function signature. The net/http package does this really well.
That's Totally Cool If You Talk to Yourself
Previous thread: https://news.ycombinator.com/item?id=13668870
Yes please expand. BUT you are attacking a straw man.

First of all I did not say Chess and Go are Solved!! I said that computers will be able to get solutions in our systems faster than we can and of such high quality that it's pointless to even challenge them (for a doctor or poker player or a man running away from a robot or someone trying to prevent the ruin of their reputation or someone trying to have a trust based relationship with their neighbor in a crazy world).

It is also not true that it is "simply" a matter of computers being able to process more information in a given period of time. This is a major deal.

Imagine a textile worker 3000 years ago making clothes. Now imagine the tread count today of a cheap shirt. No one would think of making shirts of such high thread counts back then.

With Chess and especially with Go, there is just a whole other level of intellence. It misses the "human meaning" part but it can manipulate a vector that involves 10,000,000 variables. It is in terms of such vectors that concepts like "cat", "dog" or diagnoses are made. How to explain why it made this diagnosis in a way a human can confirm?

What I said was actually pretty straightforward: in 17 years computers will be able to rap and make better jokes than humans and convince better than humans. They will be able to hack our systems of reputation, trust, voting, legal argument and so on. What's scary is that we will essentially be giving up control to systems that don't really have the same concepts as we do, and perhaps never will. And if one day it all blows up somehow or gradually shifts to something unpleasant for humans, then that's freaking scary!

Just look at how we are already doing it when it comes to wealth inequality. As a society we are richer than ever but the inequality is greater. This is just a mild example. What if computers could do a lot more?
> The whole point of UTF-8 is that it's identical to Latin-1 except in cases where it can't be.

It's only compatible with ASCII, not Latin-1. You are maybe confusing UTF-8 with the Unicode codepoint space, of which the first 256 codepoints are the same as Latin-1.
> Indeed, I would be amazed if at least part of the recent price movement of bitcoin wasn't due to people moving fiat -> BTC -> ETH

Can't be the case because of simple laws of supply and demand.

You would see BTC being hammered; meanwhile all 3 main currency out there right now - BTC ETC LTC are on a huge over 100% rise in last 45 days or so.

ETH is not singled out but its the youngest so IMHO get the most potential to shoot into $2,5K of BTC level (obviously don't take my advice, blah blah not a lawyer on analytical specialist)

I think as this currency is getting more squared away in terms of laws and regulations all around the world, many big fish are jumping aboard, including some hedge funds and other investment powerhouses. Remember they make money even if coins go down to $0.000001. I can imagine even if they see huge risk of a swing +50%/-80% on crypto, if they got clients keep calling them all the time about "that cool online currency that i can make killing off of", then they just follow market and offer wallets/investment in crypt, of course not taking any risk themselves :)

Bottom line... with all 3 major currencies not seeing the hill yet, most likely buckle up for a huge ride up, as most of the world still needs to "catch up" and get some of virtual currency in their own portfolios as well.

*not an investment advice.
If you take Verelox's word for it. Or if you want to be more conspiratorial, you could see your firing on the wall, tweak the new hire docs to lead to trashing prod, and just wait for the inevitable.

Or these two events are unrelated. Or the whole deleted prod on day 1 story is made up.
This is a terrible article.

> The main gigantic upside of a 64-bit process is the ability to support more than 2 GBytes of RAM ... Since only 1.6% of Backblaze customers have 2 GBytes or less of RAM, the other 98.4% desperately need 64-bit support, period, end of story.

This would only be true if all those Backblaze customers were only running one process on their machines. With PAE, A 32-bit system can support more than 2 GB, just not a 32-bit process. And actually, there are workarounds available to enable even that.

> And remember, there is no downside.

There is a downside. 64-bit systems consume more RAM since every pointer and word is double the size. This could mean a performance penalty due to more swapping too.

> Because there is zero downside, the first time it could, Apple shipped with 64-bit OS support.

No, Apple did this because they are in control of the hardware their OS runs on, so they can ensure that everyone is supported. Microsoft don't have that luxury. Even then, Apple was still building for 32-bit just 5 years ago. They also weren't first to support it as the author seems to imply -- 64-bit Windows XP was available before OSX even ran on Intel CPUs.

> There are a variety of security features such as ASLR (Address Space Layout Randomization) that work best in 64-bits. The 32-bit version is inherently less secure.

Yeah, in the sense that it's easier to guess a 32-bit long number than a 64-bit long number. It's still unfathomable.

> Supporting both versions is complicated. The more data our customers have, the more momentarily RAM intensive some functions (like inheriting backup state) can be. The more data you have the bigger the problem. Backblaze customers who accidentally chose to disable 64-bit operations are then going to have problems.

Has Backblaze honestly ever had this problem, where 2GB of RAM was not enough to reliably find a customer's backup state? That seems ridiculous to me.
One of the post's points is that UUIDs will scatter your writes across the database, and that for this reason you want a (more or less) sequential key as your primary key. This crucially depends on both your database technology and your query patterns.

In a single-node database or even a manually-sharded one, this post's advice is good (For Friendfeed, we used a variation of the "Integers Internal, UUIDs External" strategy on sharded mysql: https://backchannel.org/blog/friendfeed-schemaless-mysql).

But in a distributed database like CockroachDB (Disclosure: I'm the co-founder and CTO of Cockroach Labs) or Google Cloud Spanner, it's usually better to get the random scattering of a UUID primary key, because that spreads the workload across all the nodes in the cluster. Sometimes query patterns benefit enough from an ordered PK to overcome this advantage, but usually it's better to use randomly-distributed PKs by default.

For CockroachDB, my general recommendation for schema design would be to use UUIDs as the primary keys of tables that make up the top level of an interleaved table hierarchy, and SERIAL keys for tables that are interleaved into another. (Google's recommendations for Spanner are similar: https://cloud.google.com/spanner/docs/schema-design#choosing...)
Partner with a real service, Coinbase can hardly even be considered to deal with bitcoins, they deal in Coinbase coins, which may or may not be converted to Bitcoin.
That may or may not be true but it's the banks imposing these kinds of requirements, not Coinbase. Coinbase has no power to change banking practices so they must simply do what the banks require. Coinbase would probably love to let anyone do anything with their Bitcoin, but they would be shut down immediately.
Where I come from, our tables go towards a billion rows, so there's copying of keys regardless of whether it's uuid or sequential id.
He could have brought down a plane on landing (moffet field flies planes low over mountain view often), cut power to a hospital, had the broken line kill someone. This action was easily more dangerous to society and those around him than driving a tank on city streets while drunk

Yes I am serious.
Email Validation API SAAS Written in Go/Angular4
> to some retail "style."

So says Wikipedia:

> Trade dress is a legal term of art that generally refers to characteristics of the visual appearance of a product or its packaging (or even the design of a building) that signify the source of the product to consumers.

IANAL but selling Trading Joe's products and those alone in a store that looks like Trading Joe's could at least give rise to a trade dress claim.

As to extraterritoriality, NAFTA applies, trademarks are recognized across the border.
I checked, and that means it's basically illegal to fly a drone in the bay area: https://pbs.twimg.com/media/DB54FczUQAEQ5D6.jpg:large
Safe and efficient flight routes, like useful frequency spectra, are a high demand limited space quantity that can't be used by two people at the same time. To my mind, flying near an airport is actually the more troublesome crime, because people will assume it doesn't matter, but it definitely does.

An international flight system is only possible because a highly regulated system exists to ensure that a French plane flying east over Ukrainian airspace won't collide with a Norwegian plane going south, which is why all major flight plans are filed in advance.

If some scrub with $500 and no brain forces a plane to deviate from it's flight path to avoid sucking his $350 drone into its $12,000,000 engine, it could cause a chain-reaction of re-routing that costs tens of thousands of dollars in fuel and delay associated costs.

Don't fuck with airports. If you've got to scratch that public nuisance itch, go fishing with dynamite or something.
Glad to hear, right product and the right time :)
I used to live in Chicago. The city taxi service was horrible--the drivers were grumpy and sketchy. They would always try to take the expensive way around. I hated the taxi service so much that to get around the airport restrictions I would ride the train out to the first stop so I could order an Uber ride.
I have to disagree. My point was that the difference in accountability that a publicly traded company provides vs a governmental organisation is to big enough to support the parent's point. I suggest the reason is because the state is too heavily involved in the governance of these entities for the to be truly private.

Yes, I understand that public traded companies are not state-owned.
Yes but I would still want applicable laws preventing drone instigated powerouts for the rest of the country not within 5 mi of an airport.
> Ah the 'smart alec' has appeared.

Would you please not post uncivilly to HN, regardless of how annoying you find someone's comment? This kind of thing degrades discussion and provokes worse from others. We're hoping to do better than that here.
> Uh, that's the entire premise behind the free market. Money decides who is right and who is wrong. The Invisible Hand doesn't have morals.

Yeah, free market. Like "I have more money, and I dont like your face, so I nuisance sue you until you're bankrupt." free market?

That's not a world I want to be part of, continue, or assist in any way.
Weird. Coinbase allows you to use your debit card, credit card, direct wire of USD from your account (at least in USA). No idea why would they do that -- am I missing something?
Good riddance. Taxi medallions are a market in rent-seeking, investing in it should mean you lose your shirt.
I think this is an article written by someone that does not have an appreciation for static typing, ahead of time compilation, and the compiler benefits thereof. Also, it seems that a deeper study of WPF is warranted since some things it is claimed WPF cannot do are, in fact, quite possible.
Remember this is for in-table storage, so it makes a certain amount of sense - this saves a byte over UTF-16 with support beyond the BMP. You have a hard limit on the byte size of the table - how do you determine a priori how much storage a 20 character UTF8 field will consume? The alternatives are to store the value in a clob field or set a hard byte count on the field and let the application or user be surprised when 20 print characters are rejected. I actually don't know how other providers handle in-table Unicode fields, MySQL made some poor choices on naming things at the least.
Seer: Symbolic Execution Engine for Rust
Check out the Data Warehouse Toolkit. You might want to look into natural vs surrogate keys.

https://www.amazon.com/Data-Warehouse-Toolkit-Complete-Dimen...
Blogged creation, now avail: 8“ cables and true guarantee and free ship. Feedback?
I think that at least in some situation the opposite should be true, in so far a person's ability to daydream might depend on their creativity. Given a sufficiently high ability do day dream, the day dreamer is never bored, no matter how stimulus poor the environment is.

I think a good comparison would be how children have come to rely more on toy-play over imagination-play over the years (or centuries). Not long ago, kid might have had pretty fun day with nothing but a stick and a pool of mud (to use George Carlin's imagery). But if you took a contemporary child and blast them through a time-machine some fifty years into the past, they'd be massively bored once they got there (besides being somewhat shocked because of the whole being-kidnapped-and-shot-into-the-past thing). In this case, past children were more creative, but also less prone to boredom.
As much as I'd like to agree with you, calling it "fringe" might unfortunately underestimate the number of people that support.
Honestly, I find ansible quite simple and straight forward. You don't have to use third party playbooks and using 'autoenv' I achieved a very straight forward, simple, dynamic setup.
Fidget Flinger
That is correct except for places like pacifica
Dead man's switch? Embed a process somewhere to trip when an account is removed from AD/some other trigger.
I don't use Uber over taxis simply because I can get the exact same service from a taxi

That's just not true.

Just off the top of my head:

* 3-4 clicks and I have an Uber on its way vs. Having to talk to a dispatcher. Time saved.

* I know ahead of time how much the fair will be vs. at the end of the ride.

* I simply get out of the car once I reach my destination. I don't have to deal with paying, calculating tip, etc...

* Uber cars tend to be newer and in much better condition.

Now, I am not advocating for Uber, but lets not kid ourselves that the two experiences are even comparable from the customer's point of view.
I'm paying cents or even fractions of cents for every transaction. I think confirmations are overated anyway, since you could check e.g. on blockchain.info if double spending happend.
Lots of new computers are sold with 32-bit Windows on them. I think this is primarily devices with lower memory, because 32-bit Windows uses less RAM and less disk space. I own a Windows 10 tablet with 1GiB RAM, for example.
Detection of App Collusion Potential Using Logic Programming
This is a great write up. Blog posts like this, open and honest help a lot for starting entrepreneurs. I recommend it to everyone who is here just for comments.
What planned obsolescence? The iPhone 4s received 5 years of software updates, ending years after sales ended for that model. Same with the iPhone 5. The 5s is 5 years and going strong. I don't know of any android device which receives nearly that level of support.
> Because some users still have 32-bit computers. How is this not obvious?

It is completely not obvious that there are Windows 10 users with 32-bit computers.

Here's an analysis from Debian trying to figure out whether to default to the 64-bit image: https://lists.debian.org/debian-devel/2017/06/msg00059.html

No one installs i386 new -- machines that are non-amd64-capable are:
* mainstream machines from 2004 and earlier
* a brief wave of mobile devices, now thankfully gone
* deeply embedded, usually incapable of running [the standard Debian installer]

From the followup comments, there were apparently a few netbooks using the mobile chipsets as late as 2012, but I doubt a netbook from 2012 using a mobile chipset is going to be well-supported by Windows 10, regardless of CPU architecture.
Please let's not have generic science vs. religion threads (a.k.a. flamewars, because that's what they turn into). This comment wasn't so bad, but it predictably led to much worse because it's impossible to say new or substantive things about anything so generic.

We detached this subthread from https://news.ycombinator.com/item?id=14508125 and marked it off-topic.
They have much higher legislative hurdles to overcome?
Amazon's success is remarkable, and yes it is adding jobs at a high rate, both internally and via contractors, third-party sellers, etc.

But the bigger question is whether the Amazon job increases offset the jobs that are lost elsewhere, as retail outlets close, Amazon's direct competitors fail, etc. Amazon and its satellites are growing, but is the job market as a whole?

I don't know the answer, and it might be hard to estimate. But the optimism of the article requires a leap of faith without that information.
Taxi medallions were being sold for $300k three years ago. Taxis likely didn't buy with cash, but rather financed them, leading to significantly higher operational expenses.
Have you found a good writeup on using Python like that? I was talking to someone the other day about this, and how it's not that idiomatic or seen as a big deal in Python especially because you can easily swap out globals from the calling / test site by e.g. setting module.Dep = MyDep so that when module's Foo class has a method bar that constructs a new Dep, it gets your MyDep instead.
Ah, yes. Good point!
I'm really impressed with the base64 example here. It's able to descend down through quite a bit of logic to work out what inputs would produce the specified base64 string.
Aha, thanks for calling me out. I was indeed thinking of ASCII.