skysight-inc/HackerNews huggingface dataset:
For Z80 emulation the most efficient method I found was indeed a big nested switch-case statement. Compilers turn this into a jump table (or several if there are gaps), but don't need the function entry/exit boilerplate if each instruction code block would be its own C function referenced through a function-pointer-table. The switch-case code is generated with a python script which uses the 'algorithmic decoding approach' described here: http://z80.info/decoding.htm

Here's what such a code-generated instruction decoder looks like: https://github.com/floooh/chips/blob/master/chips/_z80_decod... (this is for a "real" Z80 with all undocumented opcodes, so it has a lot more cases to handle than the simple Gameboy Z80 variant).
More Reductio ad singulum than Reductio ad absurdum :)
Facebook is a private company and it has the right to regulate speech in its digital properties (at least it seems the case in the US). You also are not bound to it, theoretically, so you can go elsewhere and say what you wanna say. I write theoretically because Facebook is so pervasive where I live that we cannot simply ignore it.
Also why would you use internet banking for your primary bank account its just increasing your attack surface.

I only have internet banking enabled for my secondary account (which has 2fa) which never has more than £100 in it and I only did that so I could xfer money to my p2p account.
What you describe is opportunism. Watch star trek for a positive take on our future.

If you watched the Q&A at the end you will know that this is just Stross' way to tell stories and he is interested in a better future. But it is on humans interested in morals rather than cash flow.
Most of these types of psychological effects are disconnected from logical reasoning and work even if you are aware of them and try to account for them. For example, pricing something at $9.99 instead of $10.00. Studies have shown that when people are perfectly aware of why this is done, it still has the desired effect.
I think it's fair to call all attempts so far "not reall communism". But you don't have to conclude "real communism would work". You can also conclude "real communism seems unimplementable". It is, after all, a social order that was created purely on paper and from theoretical arguments, which is ridiculous. That activity gives you something to try, but certainly not a fixed solution that you just need to implement as prescribed.
Oops, brain didn't make the connection there :)
Within a year? Seriously?
Now this is a startup that I would totally be evangelist for.
I predicted a future with flying cars and its not happening.

Was i wrong? no, its the future that is wrong! (sarcasm).
24h set the tone for torture acceptance according to http://www.e-ir.info/2014/01/06/torture-and-the-impact-of-24...
There is no such thing as an international wiretransfer. Instead what you have is a set of agreements between gateway banks in each country allowing for the money to be made available from one country to another.

Other than that it's mainly consumer protection and the EU attempts to standarize everyhting vs. US less restrictive and more, leave it to the market to establish standards.

For historical context the Europe had a head start when it came to mobile with their implementation of the GSM standard where as the US was mostly left to find a winner between competing standards.

The EU have not specific advantage to the US today on the contrary one might say.

So basically what you have is a EU who are forcing standards down on countries vs. a US which let the markets mostly figure things out by themselves.
Emergency App Helps Locate People Even in Areas Without Cell Signal
Social media platforms are owned by privately held companies. Their moderation is up to their discretion. Sure there's a larger conversation about their ubiquity and how social media posts relate to free speech, but as things work now in the US, Facebook isn't breaking any rules by censoring anything for the most part.

If you want to collect pictures of horrible crap and start a website, as long as it's not illegal you can host it on your own.
Did you mean PLC as in Power Line Communication?
When you stumble across such a fascinating question nobody seems to be thinking about...

...it's often a sign you've missed some basic facts and need to rethink your priors. And so it is here.
> 3. modern clinical psychiatry is an evidenced-based, research-driven field which treats and forms diagnoses on the basis of decades of research into any particular condition. It isnt the 1950s.

But isn't modern clinical psychiatry marred by the same problems social or economic sciences are? Ultimately you are studying/interpreting human behaviour, which doesn't lend itself well to quantisation or categorising.
They want to measure the benefits of medication.
(My comment will get buried because I'm flagged but whatever)

I had drinks with a bunch of Hugo award winners and candidates a couple of years back (2015?) and we started talking about near-future stuff. Mainly that I was looking for more of it. (Diamond Age fans out there?)

A funny thing came up: It's getting harder and harder to predict near-future stuff for some authors. I don't understand why. Is it that technology is becoming more and more obscured from the requirements of interacting with it?

Once upon a time, a person had to divine the landscape of network protocols and unix command line to understand the mystery of the internet. Nowadays that tech is just one click or swipe away -- perhaps there is less imagination required to figure out what's happening behind the scene, or perhaps no imagination is required anymore -- things just are.

Maybe we're just inundated with the next big trivial far future click-bait article that the future seems... well always right around the corner and less futur-y(?).

Or perhaps we're at the precipice of something entirely new and incomprehensible. I run a decentralized AI startup and we have an exercise where we try to imagine a world with particular capabilities but it (for a large part of my peers) seems out of reach -- as if it exists beyond a great divide.

It makes me think that whatever is next is either really beyond the scope of understanding, or just non-existent. It's fun (and exciting) to try and think about regardless.
And to the quality of their meatballs.
I was born Hungarian but now I am Canadian (hurray!) and this difference in banking totally baffles and irritates me to no end.

Rietumu in Latvia ten plus years ago already was using not just those hopping code authentication devices but also client side SSL certificates (at least for small business accounts, I never had a personal with them). Extremely secure but I wonder how well the generic public would deal with that.
What is to be had by calling this a 'cognitive bias'? That is to assume a prior and universal value-set. In matter of fact, it is perfectly natural for people to value their own creative activity. That is central to what it is to be a human.
As I understand it ADHA is one of those spectrum conditions like Dyslexia so a single diagnostic test may not be enough.

For example I have a stellar reading ability but my written work and spelling is awful.
Paper cheques are still super common in at least France and Germany.
His discussion of corporations being actual, literal AIs in the mould of the Chinese Room [0] I found fascinating.

He jokes in the Q&A that he wants an app that finds the 3% of the sociopaths out there. I like the connection to the Book / film The Corporation [1], that labels all corporations as psychopaths. So you don't need an app to find them.

[0]: https://en.wikipedia.org/wiki/Chinese_room

[1]: http://thecorporation.com/
How to add Live chat for blogger – Output Desk
I was on ADD meds (including ritalin for a few years) and I agree with everything you said. My behavioral therapist who put me on the ADD meds did mention all of those 5 factors but I wish better action plans were put in place rather than just saying "these could help".
NIH is mentioned in the article.
They also benefit from a healthy trade surplus thanks to Globalization boosting their manufacturing and labor exports while getting away with being highly protectionist when it comes to domestic production.

Their authoritarian government is nimble and decisive when it comes to implementing policy and they have no loyalty to any one economic or political philosophy. The Chinese are just really good at playing the game, the rest of the world is years behind.
I periodically use Calibre to deDRM my bought books to keep a backup. Although Amazon has really started to fight against this with stronger lockdowns.
I don't think the screen is the issue - even on iPad or Android tablets the images are grainy, lowres and can't be zoomed or panned. The quality of the source is horrible.
I have read the claim that you will find more sociopaths in executive chairs than you will find in jails.

Also all this talk about corporations as paperclip AIs gets me thinking about one of the sub-plots of Accelerando. Meaning that it is likely not a new idea for Stross.
Tutorial: Build .NET Core Apps for Raspberry Pi with Docker
Create a 2-node Kubernetes cluster in 10 minutes
Amazon doesn't choose, the publisher does. I've bought plenty of books from Amazon without any DRM.
Thanks for making me joyful about climate change induced collapse.
The aim is not to get rid of paper but to use the best tool for the job. So paper still is the best tool but for less and less jobs. We won’t ever need to get rid of paper though.
If there ever was a ISIS recruiting pool, this is it.
Yes/no. Yes, because it's (slightly) harder to see what's executed. No, because AVs will soon get a rule like: basic block full of MOVs - flag it immediately. Some AVs even flag UPX packed executables by default, so it wouldn't be unexpected.
good summary. Only bit missing would be the recently / soon to be phased out $2 non-bank ATM price gouge
Nepal bans solo climbers from Mount Everest
Its a typical low blow, akin to throwing all right-wing under the guise of Franco, the Weimar republic, or some other right-wing system. Communism has been implemented on small scale. One notable example in Spain [1], problem is that any large political system eventually turns out to be either authoritarian or ineffective or sabotaged (I leave the guess by whom as an exercise to the reader). Its also been applied in part in West-Europe as well as USA, just not in full.

Capitalism is a race to the bottom where the poor countries in the world are being put under the thumb. You don't have to look very far. Just look at all the CIA ops the USA has conducted in the 20th century, e.g. Allende.

[1] https://en.wikipedia.org/wiki/Anarchism_in_Spain#1936_Revolu...
I would argue the difference between strains is even bigger than the difference between various types of beer.

As stated in some comments, a cannabis user expects a certain effect and some strains can lead to exactly the opposite effect as the desired one.
> In turn what the author is saying is precisely what he says, no more, no less - explicit code is code whose behavior you can understand just by reading it, with no external context, like how the runtime currently works on a particular hardware.

I'm not sure where this definition is coming from. Let's look at this code:

vec.len()

I understand this behaviour very clearly. This will invoke the method given the following rules:

- Look for `len` on the type of `vec`

- If `vec` implements Deref it will look for `len` there

- Look for `len` on traits that the type of `vec` implements

- And so on…

Yes, the behaviour is conditional, but it's still well-defined and easy to understand, although complex.

"Implicit" is usually used when you want to describe situations where there are multiple interpretations, and one is chosen due to context. In Ruby:

first_name + " " + last_name

In this example `first_name` can either be a local variable or a method call (which can either be in the same class, an included module, or a method_missing). Here it turns out it was a method call, and we therefore call this an "implicit method call". I can rewrite:

self.first_name + " " + self.last_name

In this case there is a single interpretation: It can only be a method call.

However, while this code is explicit on whether or not it's a method call, it's not explicit about which method is being invoked. Usually this implicitness is considered a good feature since it allows abstraction, polymorphism and so on.
Courant Porteur en Ligne == Power Line Carrier
kWh isn’t a good metric of computational output though. You want to encourage people to do more useful work for you; if that means they should tune their code for a fancy GPU, then kWh probably won’t correlate (a single package server CPU is about 145W, a server class GPU about 300W, but the GPU usually performs way more compute).
Example:

https://wiki.archlinux.org/index.php/HiDPI

Ubuntu/Linux is catching up with Wayland to the macOS compositor from years ago.

> Possibly it comes back to your description of "food you don't like"

I like that macOS deals nicely with hiDPI ('Retina') screens.

> Firefox, Emacs, SLIME, CCL, Roswell, Ruby, Node, RubyMine, and SyncThing run pretty much identically on all OSs I've tried.

Personally I prefer to use the LispWorks IDE (which has a nice port to macOS) and the Clozure CL IDE over GNU Emacs/Slime. GNU Emacs/Slime are not bad, but UI-wise it's a nightmare.

> and also to avoid using the mouse

I use trackpads since a few years.
On a slightly related note: here’s a paper on the math behind the FDIV bug: https://pdfs.semanticscholar.org/dd0f/ea9121741873fa46eed581...
Is it really required to actually read currents to achieve the power measurement? do meters in individual buildings not have interval-flashing LED's for power consumption in the US (I'm assuming the target market is the US)?

A flashing LED is neat because you can then use a very simple-to-install adhesive photodiode to count the flashes and radio the results back to some reader (e.g. 1000 impulses per kWh). Doesn't require an electrician because you never actually tamper with the meter, unless you want to leech a tiny bit of power to your transmitter.

The normal connection here is a big outdoor box for the incoming line, with 3 main fuses, one for each phase. Typically 3x25A @ 230V for a detached home (Max ~17kW). This is where you want to read the power consumption. Inside the house there is a box with 3 DIN rails (1 per phase) with switch type fuses. With 3 phases it's a lot harder to read the power consumption there than it is at the outside main fuse box (which is unfortunate, because it's a lot more convenient to mount a meter indoors and near a wall socket, than outside inside a thick steel box without easily accessible power for your power meter+radio).
Stylometric Analysis: Satoshi Nakamoto
This _renaissance_ is at least as old as the Bolsheviks, though. You could even go all the way back to Eduard Bernstein.
Then you have to verify, and as he says, you end up duplicating the work.
In the UK we have smart meters now[1]. They tell me how much I'm using at any time for free. Why not just use one of them? Or are they not in your area yet.

To be honest, having had one, anything that makes water hot is expensive, everything else is cheap. Before winter hit I was using a 1/5th the electricity I am now (useless storage heaters). TVs, computers, etc. are not worth really worrying about.

Although, even then, boiling a kettle for a cuppa is like 1 pence, but my hot water costs like 40p per day and my heating like £4.

[1] https://www.gov.uk/guidance/smart-meters-how-they-work
Show HN: Rawdns – `A` records resolver from scratch using Go
Cigeratte compannies employ private investigators to drive up prosecutions.

Here's an article about the subject (german): http://www.spiegel.de/panorama/justiz/zigarettenschmuggel-er...
This is a cool post; I learned a lot about Rust and a little about DNS. I was surprised however to find that the author did not actually check the BIND9 implementation to look for any algorithmic improvements that they could port to their own code.
I'm looking at getting an E46 330Ci and converting it to a track car. I found a fantastic example for £2,250.
RF triangulation at the meter box.
> judges and juries are perfectly happy to side with police

It is actually the entire society that is happy to side with police.

http://news.gallup.com/poll/196610/americans-respect-police-...
A 28-year-old #Kansas man was shot and killed by #police in a #swatting attack
Oren Eini – Extreme Performance Architecture
Actually I won't be surprised about classes, given that railway trains had up to 5 different classes of carriages.
> Why not just use one of them?

Because you don't want your electricity meter to have the ability to be remotely-instructed to disconnect your electricity supply, and you don't want your electricity meter to have the ability to record fine-grained data about your electricity usage patterns, which it is required to store for 13 months, and which you can't actually know for sure isn't sent off remotely even if you opt out of that.

I am interested in having a device in my home telling me how much electricity I'm using in real-time, but not if it comes bundled with a load of surveillance and the ability to remotely disconnect my supply.
How India Makes Roads from Garbage
It is extremely strange they don't use even primitive encryption. I work for Russian company "Strizh Telematics", we are making smart resource meters. We take security very seriously here: all transmits are encrypted with 64 bit keys and data protocols are specifically protected from statistical and repeat-packet attacks.
From a cursory scan of the comments, it looks like people are frustrated about not having control over their devices. Right now, iOS and Android control the user, restricting freedom and choices. For example iOS won't let me record my screen while the Netflix application is running. Clearly this is to protect DRM interests, but the principle is that Apple has ultimate control over how my iPhone behaves. I cannot provide a false GPS location to apps. I can't lie about battery level. I can't lie about notification permissions or fool applications. We need to be able to lie to our devices to have freedom and control them.

So back to how this relates to an Android being tied to Google Play: you as the user don't have ultimate control over your device. And that means you don't fully own your device.

That's my perception of the main issues with control from Apple and Google. Lots of great software and hardware being produced, but we need to have more power over the operation of our gadgets.
I am on mobile so I can't check, but what does the network graph in your browser say?

(Pretty cool that every major browser implementation, including IE, has a full dev tools suite that includes a network requests graph.)
It's a good space for regulation. The treatment these workers are subjected to is ignominious.
The implication in your answer is that we should be doing everything we can to stop climate change. And if I asked you whether we should be doing everything we can, you would probably say that yes, we should. But really truly everything? Have you quit using any form of transportation that relies on fossil fuels? Have you completely ceased to throw away anything non-recyclable? Have you reduced your carbon footprint to 0? For most people, the answer is no. What they say is that we should be moving in that direction. And that I agree with. The question about how fast and the method in which we do it leaves a lot of room for discussion without shaming people who decide the cost-to-benefit ratio may show it is not worth taking every single car off the road tomorrow morning.
Do you realize that an ELK stack has an enormous overhead comparing to a bare php script? Your idea may be good for a large-scale monitoring deployment, but it's totally overengineered for a simple, in-house monitoring system.
Hackernews again at it with the hottest takes. How many millions more have to die in the name of capitalism?
He mentions that it should be able to run on a Raspberry Pi. The choice seems pretty reasonable to me (or maybe I am missing the irony in your comment?)
There are transformer isolated energy monitors like MAX78615. Much safer to work with.
I am talking about the rate of supply increase. A constant, predictable increase in supply over time would hopefully lead to constant, preditctable inflation.

DOGE is my favorite crypto for exactly this reason.
Video games are obviously addictive. The way you make money off of games is to make them addictive. There is a direct feedback loop between more addictive games and more profits and so the addictiveness of games can be research, refined, and optimized over time.

The WHO is way behind the curve here.

If society treated video games the same as alcohol and drugs they would already be banned for minors. Eventually they probably will be.
What if terrorists use this idea and start making hundreds of fake calls everyday?
Advances in Pre-Training Distributed Word Representations
The new Leaf isn't ugly at all, it looks quite good. Decent performance too.
PyCon India 2018 Announced (Bangalore,22-26 Aug)
Would nobody bat an eye if you had an electronic device attached to the meter? (especially the guy that comes and does the meter reading)
Can't help but being reminded of this Silicon Valley episode: https://youtu.be/dvn-hpZdElo
This is thoroughly unempathetic. Video game addiction is absolutely real, and the WHO is well behind the curve on this, as other posters have already pointed out.
Interestingly, in the UK utilities are using GSM SIM cards in Smart Meters, and a mixture of SMS and data to monitor/send electricity usage.
> I thought Jacob was a friend and engaged in consensual sexual relations with him during those three days.

Anything else to the story?
وظائف جريدة دليل الاتحاد الاماراتية 30/12/2017
From a brief reading (apologies if I missed something):

Author cherry picks one of the few elements where the "semantic" issue actually results in different browser behaviour.

They then go on to extrapolate this to a broader point that isn't sustainable based on that example. For instance - div vs section has no effect on functionality to the best of my knowledge.

I suspect there are more examples of cases where semantic HTML is pointless cargo-culting than there are of when it makes a real difference to any existant user agent.
It is a secret if you answer the question incorrectly and only you know what the real-fake answer is!
Using TLS is very cheap, even at the scale of Cloudflare. Modern crypto is very fast, with AES-GCM and P256 being great examples. RSA, once a staple of cryptography, that truly made SSL accessible to everyone, is now a dying dinosaur, replaced be faster and safer algorithms, still consumes a disproportionate amount of resources, but even that is easily manageable.

The future however is less clear. As we approach the era of Quantum computers it is clear that TLS must adapt sooner rather than later.
I advise installing Calibre and Apprentice Alf's DRM Removal plugin for it. Systematically preserve all your books by stripping the DRM and sleep more easily.
> Labor Freedom" is perhaps the most galling

"Labor freedom" is the freedom to contractually define what the employee does in exchange for money from the employer.

If you have laws that define "8 hours max" (or "10$ per hour" minimum), then poor (or uneducated people, respectively) might struggle to make ends meet (or find a job, respectively).

Another example is "6 months minimum contract" which results in "never employ people if you just have work for 3 months" to employers.

Do you see the common pattern?

Freedom in general is defined (at least at this site) as contractual freedom, i.e., the absence of state-defined contract clauses set via law. Your definition of freedom is "employee rights" (which can be considered a kind of freedom, but to the detriment of employer freedom).

If you maximize employee freedom, you automatically minimize employer freedom and that will take a heavy toll on employment in general.