skysight-inc/HackerNews huggingface dataset:
Wait a minute.

"A surrogate pair can represent 20 bits, or 2^20 values. A single UTF-16 byte is of course 16 bits, or 2^16 values. 2^20 + 2^16 == 0x110000, which is precisely as many unicode code points as there are (0–0x10FFFF)."

This explanation can't be quite right, because the possible surrogate code unit values are carved out of the set of 2^16 code units. So you are double counting those surrogate code units.

From Wikipedia:
"Since the ranges for the high surrogates (0xD800–0xDBFF), low surrogates (0xDC00–0xDFFF), and valid BMP characters (0x0000–0xD7FF, 0xE000–0xFFFF) are disjoint, it is not possible for a surrogate to match a BMP character, or for two adjacent code units to look like a legal surrogate pair."
Exactly. AR and VR are different sides of the same coin and will converge. I am certain that Facebook is investing so much into VR because of the ultimate promise of AR as a platform, not because of a belief in VR "over" AR.
Not true - people have made browsers in Electron. The permission-denial above would have to be respected by the browser itself; it'd be easy to tell the server your iframe doesn't exist in a page from a different domain. The reason it exists at all, I'd assume, is for the security of the person using the browser. A malicious site could embed a legitimate site within itself, for purposes of misleading the user or scraping information. So if your app is using a highly-controlled iframe within itself, and it has the authority to overrule these blockers (which presumably Electron gives it), then you can do whatever you want.

Also FWIW, iframes can still be useful on the regular web for third-party widgets, as well as same-domain pages.
The pull-quotes do a good job of highlighting the key points of the article.
> Such a practice seems especially outrageous to modern viewers, considering our appreciation of Egyptian artifacts as masterful works of fine art, but Bleiberg is quick to point out that “ancient Egyptians didn’t have a word for ‘art.’ They would have referred to these objects as ‘equipment.’” When we talk about these artifacts as works of art, he said, we de-contextualize them.

this is very interesting and I have never thought about it in this way. One could really think of it as equipment, serving a real purpose (or having served and now makes a nice peace of a wall somewhere else).

I wonder what the acient egyptions would think of our appreciation of their statues?
What more could you want?
There are alternatives, like Zulip

https://zulipchat.com/
Bus-size robot set to vacuum up valuable metals from the deep sea
I don't think Airbus has an inferior philosophy compared to Boeing, but I'm sure Airbus has a different philosophy from Boeing, and each philosophy comes with its own set of tradeoffs. And neither is a panacea. For me, that's the lesson of AF447.

Adding Airbus envelope protection to the 737 Max 8 would not have prevented the Lion Air crash because the root problem was bad sensor data. Sending bad sensor data into a flight computer will give you bad output, even in a FBW system.

Conversely, if the AOA sensors had been operating correctly, or triply redundant to mitigate failure, then MCAS would have worked correctly and safely, even without Airbus-style "normal law" FBW.

How to safely integrate imperfect automation with human control is a major developing issue, and not just in aviation. The same concerns are coming to light in cars and trucks with features like smart cruise control, lane-keeping assist, highway "autopilot," etc.

On the surface it seems like greater and better automation will make everything safer, and maybe it does in the aggregate, by covering a lot of low hanging fruit. Antilock braking and traction control certainly fit into this category in cars.

But as automation gets smarter, it means that the situations where humans are required to take over from the automation will become less frequent and more unusual. So systems need to be designed to not only protect humans with automation, but also to alert and orient humans as quickly and accurately as possible when they need to step in and take over. This is why I happen to think that physically synchronizing stick/yoke movement is a good idea; it's one less thing to have to talk about in an emergency.

I don't blame Airbus FBW for the AF447 crash, but I don't blame the pilots either. I thing it was the complex interaction of the two that caused the crash. That's a very complex problem to solve, and it's one that we will have to keep addressing until automation is so good that it never hands off to a human for any reason.
Leetcode simulates how several first-round tech screens go.
I suspect that I still don't understand what you're really asking. Do you imagine those "multiple, separate images" would run in the same OS process?

Otherwise — [pdf] "Distributed Smalltalk"

http://www.cincomsmalltalk.com/main/documentation/VisualWork...

Otherwise (for source code control) — "Mastering ENVY/Developer"

https://books.google.com/books?id=ld6E19QIMo4C
In what part of the world do you live?
this is just reddit, but worse
These conversations always get scattered because people don't post the experience they have that forms their view.

Me: I've only worked on HUGE systems (government stuff and per-second, multi-currency, multi-region telephone billing) and on systems for employees with less than 100 people.

My take: Monolith or two systems if at all possible.

This is good: A Rails app that burps out HTML and some light JS.

This is also good: A Rails app that burps out JSON and an Ember app to sop it up and convert it to something useable. Maybe Ember Fastboot, if performance warrants the additional complexity.

This is hellish: Fifteen different services half of which talk to the same set of databases. Most of which are logging inconsistently, and none of which have baked in UUIDs into headers or anything else that could help trace problems through the app.

This is also hellish: A giant fucking mono-repo[0] with so many lines of code nobody can even build the thing locally anymore. You need to write your own version control software just to wrestle with the beast. You spend literally days to remove one inadvertently placed comma.

Sometimes you have to go to hell though. Which way depends on the problem and the team.

[0] Kinda sorta, maybe the iOS app is in something else. Oh and there's also the "open source" work, like protobuffs that "works" but has unreleased patches that actually fix the problems at scale, but are "too complicated" to work into the open source project.
Rant on the gloominess of a disposable society.
hacker news sucks
git-massage-head - massage some non-cleaned remote heads next to various imported remotes
Ah, thanks. So the answer is that it's not sustainable. Got it.
Rebase is context-dependent.

In a gerrit flow, you have to use it quite often, but only on the detached micro-branches that gerrit forces you to use. And the UI provides a nice convenient rebase button.

In a more traditional "trunk" flow, where you're pretending it's svn, you probably want "pull.rebase=true", otherwise you generate a lot of entirely spurious merge commits. This really confused me the first time I used git, long ago.

The "dangerous" case is, as you say, using it to rewrite history that has already been pushed (heresy!). Generally the system will warn you that this requires "--force", at which point you need to stop and think about what you've done.

(It took me a long time to overcome my feeling that history rewrites were inherently wrong - defeating the point of a VCS in some way. I've adapted to it somewhat with the "neatening things up before submitting" view, which took a while to learn. In a traditional VCS there's only one view of the code and everyone shares it.)
Typical day, at the end of the day (machine has been up for 8+ hours) I'll have 20-30 tabs (or more) open across 5+ Firefox windows.

Some of those tabs will be lightweight, like GitLab issues, forums or webpages I'm building, whereas others will be more complex sites and web apps... Office 365 apps, YouTube, social networks, Figma instances etc.

Firefox will consume sometimes 4GB or more by the end of the day.

I run an i7-7700K and 32GB of RAM though, so it's never going to get near a low-memory situation. I'll end the day with about 50% total system memory consumption... no app is individually too demanding, just I run a ton of things simultaneously and because there's so much RAM available, Windows never has to take action to kill anything or reclaim memory back again.

This is particularly evident in UWP apps (although I hardly ever use them)... if I open one at 9am and close it, I can then reopen at 9pm and it will be there instantaneously despite effectively being cold start from user perspective, because it's been suspended in RAM all day!

Right now I'm sitting at 50.2% RAM consumption, of which Firefox is using 2.1 GB over 7 processes.

Next biggest are Figma (400 MB on a big document), Microsoft Teams, Spotify... oh yeah, Electron RAM usage is still abominable. But I don't need to worry about it ;)
The somewhat cynical answer is that it will be around just fine as long as FSB pays for it.

Durov has been singing praises of Putin and Mother Russia right up to the moment he suddenly up and left to supposedly do a "banned in Russia" communication system. It's possible, of course, that he had a change of heart. It's just as possible that these are just theatrics.
please upvote this :))))))
I don't think that was a failure. You were able to work for yourself for 7 years. That in and of itself is an accomplishment.
When you are still figuring out the problem space and message formats are being created removed extended and reverted several times a sprint, and you have already gone live with third parties depending on stable interfaces so that you cannot make the changes you need in a timely fashion, the warm arms of a purpose built monolith look particularly attractive.
Perhaps it's boring and depressing to most, I've always really liked the feeling of being in a desolate place, it's a kind if quiet you can't get anywhere else (that being said requirement 1 for me going anywhere is a good internet connection). And there is an unarguable novelty to being on another planet, in addition to the security idea, it's sort of a fail safe if we end up nuking each other into oblivion
How we improved Tenserflow Serving performance by over 70%
Because Walter Bright is/was not working at Google, Oracle or Microsoft? :)
I wonder what those 32-bit devices would be good for.

> We're also moving the ecosystem toward readiness for 64-bit devices. Later this year, Google Play will require 64-bit support in all apps

-- https://android-developers.googleblog.com//2019/03/introduci...
Exactly. If I could be sure that the VPS couldn't read or mess with my files without me knowing, I'd definitely add a SyncThing node on my VPS and have increased availability along with security without any hassle.
> That is not the case with netflix

It is. They do a lot of product placement (https://www.whats-on-netflix.com/news/is-product-placement-g...).

They also don't have to pay others for views, though I expect that to be less of a motivation.
كلمات اغنية فضيلي نفسك سمر
I recently read Atomic Habits and there was a great chapter in there about people with a strong ability to self discipline. It raised the question: are people who have a strong sense of self discipline, better about architecting their environment for success? The would lead to less distractions and more work towards their intended goal.

It's a great book, highly recommend.

https://www.amazon.com/Atomic-Habits-Proven-Build-Break/dp/0...

James Clear's (the author) blog with a ton of great content: https://jamesclear.com/articles
How to find memory leaks in an iOS app
Very cool. For those that want to de-Google-ify their website analytics in a more practical sense, consider using a self-hosted Matomo (formerly Piwik) instance: https://matomo.org/

I find it has 80% of the features GA has, it's GPL v3+ and only takes a few minutes to setup.
SweRV – An Annotated Deep Dive of the SweRV RISC-V Core
It's not as if this information wasnt already known.

https://tools.wmflabs.org/geohack/geohack.php?pagename=Hiber...
Yeah if you're going to break a thing, internationally or not... the parts that stick out just seem easier.
“Keeping Up with Java” with Sander Mak (46min Talk from Goto Berlin 2018)
Composite key HashMaps performance analysis
Nice resource! One thing worth keeping in mind: the Steam survey only sees a VR headset if the VR software stack is running while the survey is taken, and that requires the headset to be plugged in and powered up. So those figures likely underestimate the number of VR-equipped systems by some significant factor. I wouldn't be surprised to learn that it's 2 or 3.
The neoliberal media is already trying to paint him as the white nationalist darling candidate[0]

It is getting ridiculous.

[0]https://www.vox.com/2019/3/11/18256198/andrew-yang-gang-pres...
Similar piece from The Economist a few years back, but looking at the opposite side of the coin, wildly successful cities with ridiculous housing costs due to poor land use, but still prescribing LVT as part of the solution:

https://www.economist.com/leaders/2015/04/04/space-and-the-c...

Related article on LVT:

https://www.economist.com/free-exchange/2015/04/01/why-henry...

"But if LVTs are so great, why are they so rare?"

LVTs would impose concentrated costs on today’s landowners, who face a new tax bill and a reduced sale price. The benefit, by contrast, is spread equally over today’s population and future generations. This problem is unlikely to be overcome. Economists will continue to advocate LVTs, and politicians will continue to ignore them.

https://www.economist.com/the-economist-explains/2014/11/10/...
Yeah....chickens are assholes. They'll come at you. They'll tear each other up pretty good too. I've seen them go after dogs before. They really are like watching little dinosaurs.
Telegram Gained 3M New Users During WhatsApp, Facebook Outage
So what’s the downside of using this DB which does it all vs using a specialized DB? Scaling, performance, etc?
Never heard of this before too and it looks like a very good fit for our ML production data. Currently we use cassandra and I would have to see how easy it is to upgrade our tech and if it's worth it.
As illustrated by the Specsavers ad: https://www.youtube.com/watch?v=pqOwg0dqApY
I worked at a place that had many customers who used a major free email provider that also ran an ad network (but was not Google or Microsoft) that kept deciding that most mail we sent to our customers was spam: receipts, installation instructions, responses from support, and notices that subscriptions were going to re-bill were all blocked.

We'd contact them, they would fix things, and it would work for a while...but invariably it would go back to classifying it all as spam, and we'd get customers calling to complain about not getting instructions or support responses.

Finally, our guy who managed our ad spending called up our rep in ad sales at the email company, and asked in rather forceful terms just why we should continue spending $large_number/month on ads there to acquire new customers, when we were then going to be blocked from emailing those customers?

The ad rep conference called in their head of IT, who conference called in their engineer in charge of spam filtering, and had him right there add us to a whitelist that would prevent anything from us being classified as spam no matter what the rest of their spam system decided. As far as I know we never had another email go into the spam filter.

If we hadn't been spending a large amount on ads with them, I doubt the problem would ever have been resolved.

If you sell a software product to end users, and have non-marketing messages that you need users to see such as responses to support requests or reminders that subscriptions are going to automatically re-bill, I'd recommend including some kind of messaging system specifically for this in the product itself. Still send them as email, but also send them via this in-product channel, or at least send notices that there is a message with links to a way to view it on the web. Email only is simply not reliable enough.
It's unidiomatic?

> scope where both this->foo and foo are valid and it's unclear which is which

Ideally you'd turn on the compiler option to warn about scope hiding.
Single best tool out there and am a big fan and user in our products.
I may be mistaken; I had thought I had read that Airbus had acted, but on checking up, I think not in ways which would make my brief implication useful.
I'd heard you weren't supposed to let the fox into the henhouse, but I had envisioned a different outcome.
There is no way to mute "Role Pings" on Discord currently. You can mute @here/@everyone/@your name, but if you are assigned a role and that is pinged, it goes through.

That is one of my main gripes with Discord, in addition to:

1. Uploading photos/videos through the mobile app stops if you lock your phone or background the app. No other modern app exhibits this behavior.

2. Blocking users shows a large "BLOCKED" message, with no option to truly block them.
With GEGL at last being implemented into GIMP proper, I would hope we're at least a good step closer on that front! :)
> special syntax for threading

You mean the word go?
I mean... 90% of the UI is just text. The only icons are for the server images and some minor ones like emojis in the text input. Have a specific example?
Sounds like a lot of guessing. Apparently nothing is written in stone as to why they did this. The explanation reminds me of english teachers trying to interpret poems.

It's also odd they mention removing the left arm has significance, but show pictures of statues with the right arms removed...

My guess is it is related to some common speech, like a saying, or a gesture of some sort. Like flicking of the nose is a 'fuck you', and so people chop off the noses of things to insult or show objection to the subject. But, like the article, just a guess.
There's a lot of misunderstanding of ancient Egyptian culture due to the biases of early Egyptologists. I wouldn't call Egypt a matriarchy by any stretch, but women were in no way seen as property. They could own property in their own right, institute litigation, bear witness in court and travel freely unescorted. We have plenty of court proceedings and legal documents on all of this.

Furthermore there was no legal or formal concept of marriage in an official sense. Two people were married when they moved in and lived together and declared it, and divorced when one of them left and they divided their property. As a result, women could unilaterally divorce their husband. The state had no role in it.

Like other ancient Greeks, Herodotus was scandalised: "They Egyptians, in their manners and customs, seem to have reversed the ordinary practices of mankind. For instance, women attend market and are employed in trade, while men stay at home and do the weaving."

On the other hand, the grave robbers in later eras may not have belonged to that culture, but might still have been superstitious about ancient Egyptian curses. I don't believe the theory, but it's difficult to disprove.

Undowned for the edit, very gracious of you.
The same could be said even moreso about (wearable) AR - that the technology isn't there yet, especially at a price needed for mass adoption. I see VR and AR as different sides of the same coin, and I believe that Facebook does as well from various comments they have made. Many of the technological problems are similar (with VR being "easier" to solve). It seems pretty clear to me that Facebook is investing heavily in VR because they see AR as being a big future platform. (And FB is still putting a lot of resources into VR, with the imminent release of Oculus Quest and continued heavy R&D.)
Because muslims.
Best Investments to Make for 2019
Is this not a concern for those trying to sell mass adoption to people currently on other platforms that make enough money to fund maintenance and enhancements forever?
Chromium: Secretly stores referer and url for downloaded files (2017)
Ah, good tip, thanks!
Damn it is sad to see old statues alterated for such a stupid reason.

On a tangent topic, if you have ever wondered why greek statues have so small penises : https://www.youtube.com/watch?v=f8h8vvF7SDk
> some of the best things I've done (professionally) were when I was in a "being completely absorbed in a project"-mindsets.

I've been surprised at how many employers and engineers scoff at the idea of being "in the zone". Apparently you aren't a "rockstar developer" if the needless distractions in a corporate atmosphere bother you.
Big Data Is a Junkyard
Tesla Autopilot Wants to Drive Through Trucks (Again)
I've only heard that 2nd hand, so forgive me for spreading bullshit. The current situation is that we have Bluetooth Classic, high speed (used for AirDrop?) and BLE, right? I guess the confusion was caused by the "BT classic" terminology, which if I understand you correctly means is here to stay?
This particular article was about rust belt cities, but most Strong Towns stuff focuses on the suburbs, specifically inner-ring suburbs which are now facing rust-belt like problems all over the country, even in fast-growing metros.

And you’re right, in those places the infrastructure cost per-capita is much worse and the problems are more acute.
Ask HN: How do you check your business partners?
What information do you preferably check about your partners/customers to make sure about their credibility? What is critical to you in this regards? Thanks
Yes.

https://www.urbandictionary.com/define.php?term=getting%20ri...
found this really interesting, I wonder if it could be used to create ~realistic conversations on a new discussion platform so it appears like people are there? :)
Whistleblowers Say NSA Still Spies on American Phones in Hidden Program
FlatBuffers can be used with gRPC, so they shouldn't need a separate RPC ecosystem like Cap'n Proto: https://grpc.io/blog/flatbuffers
Because religion is the drug of the unwashed masses, and there is a lot of those around everywhere.
Please add your email to your HN profile. Would love to reach out.
Hobart as in Tazmania, more than 2,000 miles away from Darwin? I'm willing to bet I can pick a 2k-mile straight line through the continental US that has more variation, but we would need a way to quantify it.
The idea that we should parade the heads of the people responsible for this around on a pike is a very emotional reaction. Of course, these will be the people who will be less likely to make any mistakes with this sort of system again, since hundreds of millions have been burned and lives lost. They will be the ones who are skeptical of datasheets, who will request more thorough testing, will spend extra time making sure they don't make the same mistake again.

Of course, we could just ground every plane when another plane of that type crashes, and be "100% certain" of no repeats.
A Comprehensive Guide to Text Analysis
> Google's "game streaming service"

A number of companies, both startups and established game companies, have tried this. It's not taken off because you can't beat latency.
Moving the goalpost? Gorsuch was listed by the person I replied to.

And it's the same when we're considering nominations in general. What happened to Kavanaugh could happen to any nominee, no matter the branch.
Add your email to your profile - would love to reach out and chat.
You see this in India at every temple that was raided by Muslims. The logic being that breaking the nose would make the "idol" unfit for worship.

I find that interesting because when I was in Turkey it was common to see the ancient depictions of Jesus Christ on church walls with the eyes scratched off. The explanation given by the locals was the same as what you state for the statues in India.