skysight-inc/HackerNews huggingface dataset:
> Because this issue involved debugging multi-threaded code running back and forth between C++ and Java it took weeks to nail down!

I don’t think the issue here is the use of c++ — it sounds to me like it’s the use of c++ on problems that would have been far simpler solve on the native code ... not all problems are that way — but even where it makes sense to solve with c++, you have to be careful about the glue.

I developed and maintained cross platform c++ for iOS/Android in a previous role and the platform to native glue is inherently complicated — among the most complicated parts of the program to reason about if you get into the details of it. I solved by making this layer dead simple — you could almost never pass objects in or out — just primitive values.

The c++ layer exposed to platform was just static methods — including a bunch of methods for retrieving state and we added more static methods when new kinds of communication were required. Every c++ method grabbed the largest lock it could prior to doing anything natively (and in debug mode related methods associated with some kind of stateful lifecycle would fatalError if they couldn’t get the needed lock — the app code shouldn’t have been calling into native code in a way that violated simple assumptions about how the state was allowed to change).

Interestingly — this forced the platform layers above to comply with the assumptions needed to keep the native code simple — and helped those working on the UI immediately find out when they were violating these assumptions — things like click handlers that weren’t debounced or weren’t switching to a disabled mode after being clicked — when those click handlers invoke native code and that native code mutates state — you have a potential nightmare scenario for robustness ...

This model actually was quite straightforward to add new functionality to over time and we frequently moved decision authority over complicated logic into the native layer so that we could make it robust and cross platform ...
He wouldn’t be the first to have gone off the rails. With genius often comes instability and mental illness.
Toyota Electric Vehicles: Where Are They? – Monday Note
> I'd further point out that the overwhelming majority of the moneyed interests still stack up on the side of permissive immigration policies. It is, after all, capital that benefits from a global free market for labor and an expanded consumer base.

For low wage jobs maybe, but doctors have fought very hard to minimize foreign trained competition being allowed to work in the US.
If you have better UX and UI and concentrate on a small number of use cases but make them very easy, yes.
A song that's a bit gentler on the ears: https://www.youtube.com/watch?v=5-OjTPj7K54
The same reason Apple Doesn't sell an iPhone Zero in the US with a single core processor and 64MB of RAM.

The US is a mature product.

High end brands don't sell sub-lowend products.
Thanks for making this public! The notes are well written and easy enough to follow. Cheers!
Satellite Internet access would also be shutdown in a scenario like this, since it would be the government permitting or denying who operates a satellite to provide such services and the associated spectrum used...unless other countries or individuals are able to put up satellites to help people in oppressive regimes (slightly similar to the concept of Tor). Is there something like this? Perhaps neighboring countries that do not agree with the regime's decisions (like Pakistan in this case) could help. India demonstrated the ability to bomb low orbit satellites a few months ago. With the current regime showing no hesitation to bring two nuclear countries close to a war, all bets are off for such efforts by Pakistan.
>>I'm always amazed at some of the things people managed to do "way back when"

Its insane. The first time I saw the mother of all demos[0] (also from around that time) I couldn't help but think "How the hell have we only come this after 50 years".

[0] https://www.youtube.com/watch?v=yJDv-zdhzMY
More can be found by searching for "passed away", such as the main thread about Steve Jobs:

https://hn.algolia.com/?query=passed%20away&sort=byPopularit...

The obituary post for Stephen Hawking was the HN story with the highest number of points ever (6015).
Would like to add that there is a "siri suggestion" in iPhone since iOS 12 that might remind you to call someone back if you missed their call.

https://www.idownloadblog.com/2018/10/16/siri-shortcuts-sugg...
If your a sadist maybe
Shocking that Israel barely gets a mention in this article (you know, the actual supplier of the surveillance tech used).

So we just ignore that Israeli companies sell spy tech to every corrupt government on the planet and instead focus on demonizing Huawei giving Africans cheap 5G?

Trade war inspired reporting, not surprising coming from the Murdoch rag WSJ.
How's was your experience in writing iOS and Android app in Cordova? I have a small community app written in Cordova+f7+vue2 which works pretty well on Android.

I want to port it to iOS now as there is some demand. I also want to add push notifications later. So far there is a inhouse API+server which serves as backend. Not dependant on Google for any services as of now; only if there is a non-firebase solution to push notifications?
In a historical sense, when a government shut off communications out of some place somewhere, has there been a time they were just doing good things? In a Bayesian sense, I feel like any time someone is saying "Nobody from inside here can tell anyone outside anything", that someone isn't really doing good things.

I wonder if it's worthwhile to install some sort of LibertyWeb that forms a meshnet+satellite internet that allows text through, just in case governments turn authoritarian.
The issue there is that it is too easy for your opponent to say that no, we should not have those master keys, because convicts are not worth saving whereas I am a regular average Joe, etc.
Let's you hide data. I'm not sure I believe it's deleted.
Sure- and if they report which employees attend meetings and who spend more time at the water cooler, their rent and valuation will go up. That is some serious stretching of possible ways to make money
Exactly. An example of this, covfefe being translated to " ̄\_(ツ)_/ ̄ in Google Translate as an Easter egg. This compromises the entire contents of the root folder named "Election Tampering"

This is silly stuff
Every party panders to their vote bank. It isn't different from anywhere. Just so you know my original point wasn't proBJP or pro INC. Secularism and diversity is hard. That doesn't mean we forget our tenets
Sadists created it
This, so much this. Chrome and Firefox both use the WebExtensions standard. There's no reason not to write one extension for both. There are a few incompatibilities here and there but I wrote a FF extension (with around 1K MAUs) that I ported and added Chrome support in less than 2 hours.
And it's only going to get worse.
It is not impossible to advertise without tracking users.
One of the pros of Flutter is that its popularity is growing strongly while Ionic's is basically flat:
https://insights.stackoverflow.com/trends?tags=flutter%2Cion...

I haven't tried Ionic myself, but I have tried both React Native and Flutter for a small project and found Flutter to be more enjoyable and productive.
My old research group was working on stuff relating to scattering network theory and application. The tl;dr is it's got nice math but isn't practically useful for much. The network construction also isn't as similar to, e.g., convnets as some of the scattering literature suggested.
You can just buy them on amazon. Not even joking. No need for 3d printing or other tomfoolery.
Okay I think I've either poorly communicated or you've misconstrued what I meant. All I was trying to imply was that threats can surface within the network. I'm not saying some magic will take advantage of the exploit with no connection to the target's network. You said

"If they're attacking you from an internal vector they likely already have code execution within that internal context, making this bug largely redundant."

I was disagreeing that this is redundant. This vulnerability is a remote code exploit that could give an attacker control over the target just by sending a specially crafted packet. It is not some Apache misconfiguration affecting a couple servers, it's baked into all versions of Windows.
I can't understand how anyone who stands for gender equality and minority rights can support Kashmir being autonomous.

This move by the Indian government is objectively good for minorities (Christians, Hindus, Jains etc) and women in the state.

https://www.dailyo.in/voices/article-35a-women-in-kashmir-fu...

Kashmir had 70 years to rectify this after Independence but to chose to double down on ethnic cleansing of minorities.

https://en.wikipedia.org/wiki/Exodus_of_Kashmiri_Hindus
Interesting, but I think this would be relegated to the same category as the "nudges" that Google gives you to follow up on an email in the new Gmail.

That's not really what I'm (and perhaps most people) looking for in a personal CRM. I think the potential value add is the ability to "follow up" with long neglected personal relationships. (Friends who you've fallen out of touch with, etc...)
You can rotate the leadership positions regularly. The chair of a university department is more of a custodian than a lord.
Unfortunately, a lot of this is spent watching corporate news-product, leading to heavily warped worldviews.
On the shoulders of giants. This single chip mouse has its origins in HP, they needed precise paper tracking for big format printers. HP spun it off to Agilent, who spun off Avago Technologies, current optical mouse sensor giant.

Interview with Optical mouse inventor: Oral History of Gary Gordon https://www.youtube.com/watch?v=TxxoWhCzIeU
The best is when the app runs faster while debugging than it does on the phone because of this exact issue. I found it nearly impossible to profile sanely
Yes. The walled garden of AAPL. Spend money in an app, Apple gets a cut. As it is, Google and Facebook get the revenue instead.
perhaps they can just use advertising that doesn't involve tracking
Trump Tower and Taj Mahal are real businesses. But most of trumps "businesses" aren't. They are just shell companies to hold assets.

The vast majority of his businesses have no customers, and no regular income. They aren't intended to make a profit--they're intended to protect an asset from the bankruptcy of his real businesses. There was never any chance that they would need to go bankrupt, so he gets no credit for them not going bankrupt.
Being an expert in economics doesn’t mean you’re an expert in everything.

And Krugman’s articles of late seem not be rooted in logical, rationale thought but rather leading with ideology and emotions.
“Nobody” is a bit extreme, don't you think? There are a lot of people building things with Lisp and you're dismissing their work out of hand.

Just one example of a powerful software product written in Lisp: http://maxima.sourceforge.net/

(my contribution to this work is a graphical frontend, also written in Lisp: https://flathub.org/apps/details/com.dhsdevelopments.Climaxi...)
There are ways to backdoor encryption without weakening encryption. In fact defcon hackers are constantly talking about how vulnerabilities in encrypting can make decrypting easier.

Allow me to openly think about this:

Take an image for example. If I hash it and encrypt it I can still recognize similar pictures. If I use a different set of analysis like color distribution I can also identify the picture with more time. If I release tiny bits of encryption key, I can weaken encryption but still cause a significant time of consumption to break down the code. Meaning it still won't be easy without effort.

I believe NSA tried to weaken encryption in a way that only they could break the code with enough time. They ran some sort of limitation on the kinds of keys that were generated.

This still brings a high cost to decrypting but streamlines it so that only certain people will have the power of doing so.
No, it does not. Steam has been using Chromium Embedded Framework since 2010, so when Chromium moved to Blink (~2013), so did Steam.
Any support for your statement? If not, can you stop commenting on this thread? IMO you have degraded this thread enough.
Using a web browser with javascript enabled for all domains is magnitudes greater danger than running a static webserver.
Blocking satellites is much harder than shutting off the internet by ordering the telcos to. Jamming is possible, but takes a large commitment. Destroying satellites from unaligned countries is an even larger commitment, and not a great plan if you want to keep them unaligned.

In practice satellite very often works when nothing else does.
That's what we used to do years ago, just render a script tag with all the data required, and then use JavaScript to link it up in the views. But I feel if that's what you're doing, you might as well use a templating engine, and put all the data where it belongs.
All these active safety systems contain a lot of self tests and sanity checks to make sure that they cannot interfere with normal driving. Such a system interfering instead of disabling itself is at most as likely as winning the lottery. You are much more likely to be saved from the consequences of a serious mistake. So while while your worry is natural because you give control to a machine that gkves you no insight into its operational state, it is also unjustified.
I’m way past the point of caring. Five years ago maybe I’d have been bothered, but targeted advertisement installs spyware on my computer, destroys its performance, and builds a profile on me that is begging to be exploited by hackers and/or the government. May it rot in pieces and to hell with the consequences, and if advertisers are unhappy that I’ve taken such an extreme position, they should examine how their behavior drove me to this point.
> Afaik, Haskell is a realization of the (typed!) lambda calculus. Lisps aren't because they don't do lazy evaluation.

Lazy evaluation is just one possible operational semantics for a lambda calculus. Eager evaluation is another. In fact, all of the versions of lambda calculi presented in Benjamin Pierce's widely-read textbook "Types and Programming Languages" feature eager evaluation rather than lazy evaluation.

So the claim that the reason that Lisps aren't based on the lambda calculus is due to lack of lazy evaluation is incorrect. There are other reasons that Lisps diverge from lambda calculi but the evaluation strategy isn't one of them.
A low-power red LED shouldn't be keeping anyone awake.
Didn't people make money off internet advertising before the modern surveillance-marketing complex? What happened to it?

I mean, maybe the answer is that those ads were only profitable because of the novelty factor and now that we have metrics we know they don't work, or at least don't work anywhere close to how much they cost. But I do miss things like the webcomics running their own ad network, Google's textual ads based solely on the search query, even the text ads on Read The Docs from a few years ago, etc.

Also I assume / hope that iOS ads aren't tracking people either; third-party cookies simply have no equivalent in the iOS app sandbox design. (And in-app ads tend to be abysmally targeted in my experience, at best "You're playing a mobile game? Try this other mobile game with even more in-app purchases!") So why wouldn't similarly untargeted web ads work too?
Can you just answer one question?

Do you honestly believe that Kashmir would in reality ever exist as an independent country when it is such a strategic piece of land between 3 nuclear powers?

If not, Pakistan's argument about "Independence" of Kashmir is rendered moot because it is a roundabout way of annexing Kashmir for itself.

If we understand the above, the status quo of Kashmir with India doesn't seem so bad for Kashmiri minorities who have been systematically driven out/converted/executed in the PoK region right from the time of Pakistani occupation.

And these here are the cold hard facts instead of waxing hypothetically.
Does majority of the state agree with the decision?
But it needs to be public. “Trust, but verify.”
I often struggle trying to explain to more junior developers that there are times when it's OK to write code more than once. There is a mindset that you should only ever write code once. It exists for (very) good reason. But if you follow it dogmatically, you may end up with an unmaintainable tangle of dependencies that can only be resolved with a rewrite.

Sometimes, it's OK to write the same thing twice if the alternative is a major refactor - such as inventing your own stack.
It doesn't address the problem of binary blobs of platform initialization, the most important part of booting anyway. UEFI is just a glue, modern 64bit DOS, so can be dropped completely. Improving coreboot would have been a saner approach.
India is preventing the fate of Yugoslavia.

It would have been occupation if Kashmiris had lesser rights but that's not the case. People don't ask what rights did people of Kashmir didn't have that people of India had since 1947.

India is a country of diverse religions, and ethnic groups.
If a minority group demands separate nation should you give autonomy to it? If London becomes Muslim majority, and demands separation, should England give in to that demand?

If India gives away Kashmir, it means you can never trust minority of your country because they can ask for separate nation and the world will support that demand.

Do we really think that helps the cause of minorities in India or any other country in the world?
I've had my front airbags go off twice and didn't notice any impact on my hearing. It was just kind of a loud bang, but not to the point of causing discomfort. Maybe it varies by car and type of accident though.
Scientists find plastic microbeads in remote Arctic ice
Only catch here is that Apple also takes a cut of such subscription revenue if it goes through an app [0].

Individually, I support Apple's decisions around enforcing privacy on the web. However, Apple's decisions when taken as a whole is making it incredibly difficult for a company to generate revenue from iOS users without sharing some of that revenue with Apple. Whether this makes Apple a monolopy I do not know, but it's certainly less clear of a good thing than their privacy efforts.

[0] https://www.theguardian.com/technology/2019/mar/13/spotify-c...
That's absolutely amazing. According to my GP, there is a LOT of it here in Melbourne, Australia. Many of the strains are becoming antibiotic-resistant, so this is quite big news!
I am not taking any sides either. I am just giving the context for current events.
Considering QT prolongation has resulted in several drugs being pulled off the market, I’m not sure I blame the Pharma company for being cautious.

They are putting the use of the drug entirely in the hands of people who might not have the resources or training needed. If the use of the drug resulted in several deaths, it could significantly delay approval or kill the program entirely.
I'm not sure why you're avoiding talking about the role of Pakistan in creating the whole conflict in Kashmir. Pakistan invented out of the whole cloth an armed struggle aspect to the Kashmir situation.

It's extremely convenient on your part to talk pointwise all the Pakistani talking points and yet avoid talking about the 90% causative factor in this entire mess.
What I don't understand is why we don't use existing biology as a tool. Why do we have to go out of the way to create an exogenous heart? That's like programming with magnetized needles. The human body is the perfect compiler for growing human hearts (and other organs), yet we want to throw away millions of years of evolution and try to roll our own.

I think you'd find much broader application if you cloned humans and neutered the genes for cephalization. It's a little macabre, but think about it: you'd have host bodies ready for organ harvesting and for medical or systems-level biology research. You can even tweak them for whatever experimental (or donor immunocompatibility) parameters you desire.

Of course you'd need to keep the headless bodies alive by hooking them up to machines (at least initially), and deliver a steady stream of nutrients and hormones for development, but this path opens up so many new and exciting experimental pathways. It's revolutionary, but at the same time it's actually kind of simple and elegant. And once you have a facility for growing and maintaining the bodies, you can also produce new ones on site.

The kinds of experiments you couldn't ethically perform before are now broadly available. You can destroy the host immune system, delete immunogenic epitopes, build MHC libraries, etc. With thousands of bodies you could do research rapidly, in situ.

This kind of setup also revolutionizes medical testing.

If I were a billionaire, I'd be investing in this instead of space rockets. Space isn't hospitable for human bodies. We evolved for Earth. I'd wager we either have robots or change our own biological makeup before we have widespread space travel, so it makes sense to invest in the technological reverse salient rather than the flashy sci fi one. Living longer, disease free, gets us there faster.
TBH a browser prevents Medium from showing a Google iframe in the top-right corner with "Hi geofft, I know your name is geofft, please click the login button geofft," that would be delightful....
Two factual errors

1. Amnesty International is not a UN organisation.

2. India didn't Annex Kashmir, it has been an Indian state since independence.

3. Kashmir special status was given and revocation according to the Indian constitution.

4. I cited the oldest communique from a reliable source.

Stop shifting goal post when you can't argue the point.
It is an antitrust issue when discoverability of non sold by Amazon products drops etc.
Don't forget that the rich VCs are often not putting up their own money but often pension funds from your local municipality
.
“Hindi, Hindu, Hindustan”, this takes Hindu as identity like American and not a religion.

“When there are other regions ...”, no, laws passed by the parliament were applicable everywhere except in Kashmir. So you had gems like child marriage not outlawed.

It’s lazy and biased journalism to just label them Hindu nationalists and portray them like some sort of evil overlords. India for centuries has been the most inclusive place in the world. Let’s not try and paint the majority as some kind of a clan of idiot oppressors.
While it's fair to assume most Electron apps are probably running old Electron (and thus Chromium), Electron itself has done a bunch of work to get caught up. Their 6.0 release was the first release to be shipped on the same day as the equivalent Chrome release https://electronjs.org/blog/electron-6-0 their plan is to stay at most one version behind https://electronjs.org/blog/12-week-cadence
After denying the people of J&K the chance to democratically elect a government, a constitutionally dubious Presidential order was used to fundamentally alter the state. As an Indian, I find it concerning that our media is not fixated on this and instead is toeing the government line.