skysight-inc/HackerNews huggingface dataset:
This (and the older blog-post about backing stores[0]) are incredibly relevant to my LZ-string optimisations[1]. LZ-string takes an input string, builds a dictionary of substrings as it scans over the input, and outputs substring-tokens to a bit-stream, then converts that bit-stream into a new string.

How that dictionary is built is what is most relevant here: it is the greatest bottleneck in determining the speed of the algorithm. I have tried many variants. The ones that seem to work best match what is described here:

- instead of naively using sub-strings and dictionary lookup, build a trie[2] (putting all sub-strings in an object used as a flat dictionary quickly overflows the 1022-elements limit)

- instead of character strings, use charCodeAt[0] to use integer keys in the look-up of the trie (index with elements rather than hashcodes, and because JS strings are UTF16, the keys are SMI. It also removes string creation overhead).

- for a long time, I used one object for each node, with 0 as the key to look up its value, and charCode+1 to look up next nodes. In recent benchmarks it turned out that { v: val, d: {} } is faster[4][5][6]. This makes sense because: "we don't store information about present indexed properties on the HiddenClass" [0]. In other words: the new options creates a distinct hidden class compared to a plain object, which might be optimised. At the same time adding integer keys to a separate d object will not mess with this hidden class, preventing de-opts.

- for really fast performance except in a few degenerate cases, instead of key look-up, use an array with linear search (yes, really! Turns out compact arrays without holes are faster to the point where even linear search makes it worth it - up to a certain length).

So this explains a lot of why certain approaches work better than others. Some of the explanations here might let me optimise it even further, but at this point it would become hyper-optimized for V8. Are there some take-aways that I can generalise? And is there a similar blog for the other big javascript engines?

I expect that "type stability" - that is, maintaining identical hidden classes - is fairly universal for example.

[0] https://v8project.blogspot.se/2017/08/fast-properties.html

[1] https://github.com/pieroxy/lz-string/pull/98

[2] https://en.wikipedia.org/wiki/Trie

[3] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

[4] https://run.perf.zone/view/LZ-String-2018-01-18-v2-151619850...

[5] https://run.perf.zone/view/LZ-String-2018-01-18-v1-151619752...

[6] https://github.com/pieroxy/lz-string/pull/98/commits/1894f7c...
> The details are a bit sketchy. Ask "how many thousands," and you're told, ¯_(ツ)_/¯.

Off-topic: I was surprised to see that journalists are doing Unicode art in articles now, and I don’t think that’s wise. Wouldn’t this confuse a blind reader who is listening to a transcribed version?
The Failure of Traditional Education in Coding Education
One word answer for the rising cost of healthcare in the US: administrators. [1]

[1] https://fee.org/articles/the-chart-that-could-undo-the-us-he...
I'd be cool with it.

The main reason I was convinced to get a Mac was the move to Intel CPUs. I figured if there was a problem, I'd just install Windows, and I even bought a license for Parallels.

Since then I've occasionally spun up some Linux VMs in VirtualBox, I even installed Windows using Boot Camp on my first Mac for a while before deleting it to get the space back, but I've never made serious use of Intel compatibility. It's just never really been necessary, just occasionally useful but not enough to mean losing the option would be in any way a deal breaker.
I jumped through the academic hoops, PhD postdoc but, as you point out, it wasn’t until after that I found it finally wasn’t satisfying.
For what it's worth, the state government of Bavaria was recently fined 4.000 Euro by a Bavarian court for failing to take action on air quality: [DE] https://www.br.de/nachrichten/oberbayern/inhalt/deutsche-umw... . Apparently, if they don't pay, the minister for the environment may be arrested...
Show HN: MapsOfMind – A free versatile and feature filled web-based mind mapper
Copy Table in Excel and Paste as a Markdown Table
That's not the impression I got from the article, which cites performance, API architecture and integration with existing codebases.

Is the "dr" in "tl;dr" literal?
At minimum, it should be the architects of these programs in the intelligence community. I'm not sure of the UK case, but in the US and many other countries the intelligence agencies just kind of took it upon themselves to do these things "for national security" whether it was lawful or not. Sometimes they retroactively had laws passed to attempt to make it legal. The situation is probably the same in the UK. Now we know for sure that it was not legal in the UK to do this. So those that designed these programs should be held to account. That means the top brass at these agencies. They have a ton of resources that they could have used to know this was probably illegal or at least might have been deemed illegal. They chose to either ignore those warnings or never sought out council in the first place because they never thought 1) they would be caught doing what they are doing or 2) that even if they were caught it wouldn't be found illegal and if it was nothing would ever happen to them because they would be protected.

There are arguments to be made in their defense, sure. Most likely regarding intent and what a reasonable person could/should have known. And that's what a court is for. But they should absolutely at least be charged so a case can be made. If the people of the UK accept that they were acting in good faith, then fine. But to me, all of this stuff looks like an intentional screw job that they tried to make legal after the fact, which has now failed. And the fact remains that we know for sure now that they have been violating the law. If we know this with certainty, cases should be brought.
I was able to achieve optimal control and no overshoot with my espresso machine by using Model Predictive Control (https://en.wikipedia.org/wiki/Model_predictive_control) aided by Moving Horizon Estimation (https://en.wikipedia.org/wiki/Moving_horizon_estimation) to continually update model parameters.

Additionally, the set value for the boiler temperature is calculated using separate model that takes the group head temperature into the account.

The end result is that the controller is able to stabilize immediately, with maximum power of the heater and with no overshoots or undershoots to a temperature that takes into the account the state of group head to provide the ideal water when brewing.

While PID is able to control the temperature very accurately I found even in best case it took additional 50% of the time to stabilize and also it was difficult to optimally use 100% power of the heater until last possible moment.

Being able to achieve stability almost immediately means I can keep lower water temperature in the boiler and bring it to temperature at the last possible moment. End result being that it is now much faster to get it ready.
My understanding was that they were going to have full support for Python 3 in the 3.0 release. Not sure if that survived the last 6 months.

https://godotengine.org/article/beta-release-python-support
Looks like they are aiming at Instagram? Well. Good luck.
So, is this a Google version of Nextdoor? Or a mashup of Twitter and Nextdoor?
The efficacy of drugs, specifically Lexapro, on my anxiety cannot be understated. I had attempted lots of different "mindfulness" techniques and other types of talk therapy. They seemed like they worked, sorta, at the time. But being on Lexapro is so night and day different that it makes all those other attempts clearly an exercise in futility.

Like with everything, if you can't tell it's working, it's not working.

Stop guessing. Go talk to your doctor.
Your comment and the parent aren't mutually exclusive. It's fairly easy for coders to provide vast amounts of technical justification for resume driven development.
Sadly, Pilecki was killed by the fellow Poles, not by Soviet Russians. The article you quoted makes goes even as far as to distort the reality:

> His Soviet prosecutor, Czesław Łapiński, died on the way to the hospital, before his trial for judicial murder.

This person wasn't Soviet - he was a Pole, born in Silesia, a Polish soldier fighting the Nazi. I know it's more convenient to portray it as "the Russians were guilty of all wrong", but the reality is that during the Stalinist rule many atrocities were committed by Poles on Poles.

This point o view is actually present in the official version of the history as taught in many countries, with a notable exception of Germany: one's own country is always portrayed at its best, and its citizens as good fellows. The idea that one's ancestors might commit many atrocious crimes is terrifying. Yet, it is often the case. In this particular situation, some people were motivated by greed, some by their survival instinct, but some were just firm believers in Communism and were convinced they do the right thing. To them, Pilecki was just a bandit and a traitor. It's important to be aware of that, because this lesson from the past has bearing on present and future, for whoever is able to reason and draw conclusions.
What use is intent if you know every single intimate detail of a person's private life.
Keeping things simple, if the input data SNR is, say, 16 bits, and the PID coefficients are 16 bits, then there is 32 bits of significand at the output of the control gain multipliers. For single precision float, this is truncated to 23 bits. So, the system may settle when the transducer input is near zero (and the exponent can scale down to maintain sufficient precision), but then fail to settle well at the ends of the transducer range (where the transducer input is near +/-2^15 and the exponent in the single needs to stay high to avoid saturation). Also, consider the numerical integrator is running an infinite series of adds, so therein lies a trap for error growth, as well.

I have made this mistake before, and the sometimes strange control behavior can be frustrating. Considering the small performance penalty for using doubles on modern hardware, it is excellent advice.
I think you have more faith in doctors than me. The way the California Medical Association (and the AMA) resist expanding the role of nurses really damaged their reputation for me.

Rising medical costs and increased consumption of medical services is good for physicians.

Freakonomics did a pretty good podcast[1] on the subject.

[1]: http://freakonomics.com/podcast/nurses-to-the-rescue/
Here's some background from a TG insider:

"I seem to recall Walter Day had sold the rights to TG a couple years back. I used to work for TG some years ago, but hated it. My brother I and were constantly having to fight with what I call "the old guard" comprised of record holders from the early 80's. First, they resisted every one of our innovative new ideas like speed-gaming records for consoles, and then later we discovered a lot of the records from the '80s were bogus because video proof was not required back then. The worst was "Mr. Activision" (aka Todd Rogers), where I and several others were able to prepare a case and conclusively prove Todd had been completely fabricating world records for various Atari games. To name a few:

Barnstorming (2600): Todd's record, which stood for many years, was proven to be impossible once we broke down the game code and stripped the stage of any obstacles. With the stage completely blank, flying a straight line to the finish was slower than Todd's record. When we presented this evidence, we were attacked by fans and supporters of Todd, and eventually an excuse was cooked up that I lovingly refer to as "the coffee stain excuse". Yes, after being attacked and told we were clueless about how good Todd was, one of the referees covered for him and claimed the 'document' detailing his record had a coffee stain on the part where the record time was listed. Instead of throwing the record out and forcing Todd to do a legit one on video tape, they just simply adjusted the record to be MAYBE possible by adding a half-second to the time."

Source: http://nintendoage.com/forum/messageview.cfm?catid=31&thread...
Are you sure you need marketing and not sales help?
I always think that it's only a matter of time before some company with vast capital (looking at you Apple) finds their own way to set up a city/country with their own ecosystem (healthcare, transport etc.), with less bureaucracy and more efficiently.
I find that if you right-click on the link, then open it in a private tab or incognito. It will allow you you to read the article.
Stop creating a false equivalency.

China blocks access to anything on the internet that disagrees with their ruling party. They block any VPN or SSH. Like, not just for avoiding filters, just at all. They degrade any encrypted traffic by just doing compression analysis and dropping packets if your traffic looks encrypted.

This is not the same thing as the NSA’s dragnet surveillance or anything the UK is doing. China is already at the endgame you are hypothesizing, and you’re creating a false equivalency through a slippery slope. A slope where the bottom is where China is today.
Jason Bateman and Rachel McAdams Featured on New Game Night Poster
Yes the Netherlands. There was some grumbling about "romance" but most marriages end in tears and legal trouble anyway. And women are supposed to have their own income in modern society.
Click-bait, precisely to illustrate a point. The real story comes after. Did you actually read it? It has nothing to do with which DE Ubuntu chooses to favour ATM.
> Bulletin makes it effortless to put a spotlight on inspiring stories that aren’t being told...Effortless: No setup is required to create a story - all you need is a smartphone

Speaking as a former newspaper journalist, not much about local journalism is effortless. Even writing a glowing positive obit is a lot of stress -- make a mistake and you'd hear about it from the dead person's loved ones for awhile. A smartphone definitely helps with the mechanics of publication and dissemination but I don't think that's generally the bottleneck from the content-generator side. I'm interested in what mechanisms will be in place to filter -- i.e. a "PageRank" for contributors. But given how difficult a problem it has been to do this for YouTube, which is actually a cash cow for Google, how many engineering resources will be devoted to a news app?
Jailhouse Guest Support to Be Included with Linux 4.16
It might be a bit early to accuse Walaroo of wasting money into "fun for coders" and ignoring the market's actual needs.

When I read their blog, I get the feeling that they are thinking things through. They seem to target a specific market and focus on what can make their product desirable. And yes, they are definitely experimenting on a few things but they are well aware of the trade off: it appears to be a calculated risks, and might very well pay off in the near future.

[EDIT]: typo
The alliance with Stalin was always one of convenience, not of shared values. The Soviet Union was at war with Germany, so on that basis Churchill and Roosevelt were happy to have their help. They were never really on the same side otherwise.
Yep, that is why I love reading any kind of document that has managed to survive to our days.
Then you're still only at 50%...
I also like that culture, and hate political spam on HN, but I found this article relevant due to its relation to Google. In general, politics that intersect with tech tend to generate fairly extensive and generally mature HN discussions. See James Damore, Susan Fowler, etc. for examples.
I wish you were able to get the opportunity to die from undertreated diabetes complications (probably attributable to lack of health insurance coverage) in your 40s instead of my buddy. I mean, I'd rather you both have had coverage and lived long healthy lives, but if one had to go I wish it was the one that supported the cause.
How about this: we treat people as individuals regardless of what the scientific facts turn out to be.
Yes it would (if not correctly marked up), but caring about that isn't exactly widespread in the web world in general.
So arrests but no trials? Or are the trials secret too?
Cash for Adeliade people on Google maps – http://link.intertops.eu/c/383173
http://pila.fr/wordpress/?p=361
Sure, I used this guide.

http://millevaches.hydraule.org/info/minitel/specs/
Here is some information on the character codes too.
You mean just like your bank, your retail store, your ISP, your news outlet, your car dealership, your ...

Google is no different and isn't doing anything new that hasn't been done for decades; even hundreds of years.
I'm ready for the turn your blood cells into tide pods app to release!
The election result was likely considerably more influenced by the government unwisely deciding to base their entire election campaign around empty slogans about a Brexit nearly half the population had voted against including most of the typical swing voters, allowing Corbyn to position himself more as the reasonable candidate whose manifesto actually offered tangible promises. The populist rhetoric came before the manifesto, and - along with widespread opposition to it from within his own party - appeared to have the opposite net effect on voters. Besides which, gaining some seats and weakening the government was far better than expected, but not an especially wonderful achievement for a party that had been in power for more of the previous couple of decades than it had been out of it.

Corbyn has an adoring fanbase and a massively increased party membership but he also still often finishes behind or level with a PM virtually nobody has a good word to say about in "who would make the best Prime Minister" polls.
> Corbyn is unfortunately unassailable at the moment

But... Why? I don't have a horse in this race at all, but Corbyn just doesn't seem to be able to win. He seems so uncharismatic. The last election wasn't so much him gaining seats as it was May losing them.

With a minority government, May's days are numbered. It feels to me like the time to replace Corbyn is now, before the next election.
I made a comment below asking if this was basically supposed to be like Nextdoor. I do get the sense that this is the market they're going for.
Thanks, it's in the pipeline now!
Since this a free market heath care, clearly it should have full bipartisan support in Washington.
Instinctive drift – why interviews feel awkward
Kaiser is an integrated / commercial HMO too, which means they generally offer higher quality of care.

See more on payer breakdowns vs quality at http://costatlas.iha.org

A full rewrite of this app with more data and better mobile design launches in February.
Xiaomi Mi A1 Kernel Sources Released
How to transform your personal inbox into a steady source of qualified leads
On the contrary, plenty of people talked about the sort of thing that Snowden revealed, but were dismissed as tin foil hat wearers.
What was the reason for not contributing a "reactive" API to the existing C client?

Especially because now you have a maintenance burden on your own client which, ironically, performs quite a lot slower than the C client although that was the major concern for not using it in the first place!
A lot of people say apple is the wrong target, but their app ecosystem and device use model rewards these sorts of behaviors and discourages community maintained software (which I would argue is often more likely to serve the needs of the user rather than just the authors.)
> how can anyone argue that the market is efficient when it is possible for companies that "is free from profit-making incentives" to exist?

"Commoditise your complements" is an old and true business mantra. It's the reason it's good business for Google to promote an open web or investment banks to promote mutually-owned, virtually profitless settlement & clearing organizations like the DTCC and SWIFT. Much of the robber baron era's drama centred around steel trying to commoditise railroads, railroads steel, and oil the whole lot.
I was completely puzzled by this headline for a few seconds. I wondered why CNN would run a technical article about open libraries for GC. And what the heck do "abandoned books" have to do with anything. Context is everything.
Mobile Ad Designed To Make it Look Like You Have a Speck of Dirt On Your Phone
The surveillance engine in the five eyes primarily, was always really intended primarily as a tool for control, rather than security (see: Bill Binney's testimony). Don't forget the major data storage facilities that were created, they also want to be able to "walk the cat back" so once a dissident rears their head they can retroactively get dirt on them.

Secondarily, it's about major contract kickbacks for the good ol boys.

The most shameful part of it all is how the majority of the populace just subserviently and silently acquiesced, except to criticize those of us trying to warn everyone. (via the classic bullshit arguments we had to put up with, such as if you have nothing to hide, etc).

If it weren't for Snowden people would still be calling many of us "conspiracy theorists".

They would still if we vocalized the other things...
> It empowers the career experts to say to the political appointees and elected officials: "no, I'm not going to jail over this."

Surely the point is that You could go to jail for this.
I think when you include the context of the article around that sentence, the meaning should be clear.
> I think it works on Mac OS too

Indeed, same on Apple's "French" keyboard layout, unless you select the "French (numeric)" one, in which case caps lock produces numbers. Also, ` is a dead key, as is ^ and ¨, which works with caps too, but there's no dead key for acute accent (é).

Other bits of trivia:

On macOS, the numeric keypad (if any) is always num-lock'd.

The Apple "French" layouts are vastly different from the PC ones (also available as "French - PC"), relying on visual symbolism for extra glyphs which makes them (sort of) easier to remember:

option-n is ~ (which turns out to be a dead key)
option-l is ¬, option-t is †
option-shift-l is |
option-( is { and option-shift-( is [
“smart” ‘quotes’ are on " and ' with option and option-shift
there are ligatures too: shiftable æ œ ﬁ on option-a o and g
question and exclamation marks are reversed with option too: ! -> ¡ and ? -> ¿
option-d is ∂ PARTIAL DIFFERENTIAL, option-shift-s is ∑, option-m is µ, option-f is ƒ
now guess how you do: © ™ ®
£ gives # when option'd (even though there's a dedicated @+# key)
shift-- is underscore, option-- is en-dash, option-shift-- is em-dash
similarly, there's also (grouped per physical key: no mod, shift, option, shift+option):
< > ≤ ≥
= + ≠ ±
: / ÷ \
I think, Apple should have a roadmap where all of their Mac will be SSD by default. The current iMac and Mac mini, is still on super slow HDD.

But those NAND prices per GB aren't coming down. I think might be one of the most important reason why Apple hasn't has new Mac mini.

This is especially true when Apple said APFS is specially designed for NAND, and not HDD.
I have a sensor for water flow (bought replacement part from Saeco machine) and also sensor that measures the tank water temperature. The sensor is on a spring touching the bottom of the tank so that nothing has to be disconnected:)

I also have a water level sensor which is a small plastic pipe mounted to the side of the tank. Inside it there is a floating magnet. On outside of the tank, there is a flat spring which pushes two reed switches to touch the side of the tank where the pipe is. This allows me to detect when water falls below acceptable level.
Why Jessica Leigh Jones Is Building Sony’s Factory of the Future
Ineresting I never new that BT's other online service Telecom Gold also used Pr1me's I think we where the largest non black user in the UK - I used to have root on all of them and super root on the billing systems.