skysight-inc/HackerNews huggingface dataset:
React Native + Next.js refers to using the same code in both a native app and website (built with Next.js).

The hardest part of sharing code between apps and websites, however, is the navigation code. Websites have flat navigation. You have one page mounted at a time. When you navigate to another page, the original one unmounts and a new one renders.

Native navigation has a different paradigm altogether. Rather than use simple URLs to account for most of the navigation state, native apps have complex tabs, stacks, and more. When you change tabs on Spotify, you expect the previous tab to maintain its state, scroll position, nested screen, etc.

Given all of these considerations, it's previously considered impossible to use the same code for apps and websites, even if they're all written with React.

Solito solves the navigation problem by offering a unified API across Web and Native. This lets you write your code one time with React Native, and use it on both iOS, Android and Web.

From the docs:

> Solito treats URLs as your source of truth. Your Next.js app and React Native app don't communicate at all. They live in total isolation. Solito works by doing this: give me a URL, I'll detect what platform you're using, and then I'll figure out how to navigate to the screen for that URL.
Ladle: A drop-in alternative to Storybook, instant start, 4x faster, 20x smaller
America has some great hockey but as a popular sport it's much more dominant in Canada.
Flexport CEO Ryan Petersen on Scaling a Startup from Zero to $8B
>It's definitely a millennial gaming system.

In fact I can't think of another product that's more quintessentially millennial than the Wii.
Central Park and Golden Gate Park are open to the public every day and don't require you to pay to get in. If I could walk in to a taxpayer funded stadium to play a game with some friends for free or nearly free (as I can with small neighborhood sports fields) then maybe I'd have a slightly different opinion of them.
"The space rock, named 2022 EB5, is believed to have mostly burnt up in our planet's atmosphere, but even if it had impacted the surface it would have done little to no damage because it was just 10ft (3 metres) wide, about half the size of a giraffe."

a giraffe? really? sigh.
Intel to Build $19B Chip Plants in Germany
> I blame Ritalin for this type of video, either someone took too much or needs to up their dosage.

Maybe I’m overly sensitive, but I’m really tired of ADHD ableist jokes like this one. With the controversy and struggles of medication for ADHD, implying that the only functional ADHD brain is a medicated one just frankly sucks.
The Kennedy Center is legally required to sustain itself through private funding and ticket sales. It also offers plenty of free performances.
Now imagine living in Bangladesh, where the average yearly wage is around 1000 USD.

Is the opinion of some tech bro in the Bay Area making six figures really worth a hundred times as much? Do they have a hundred times as much to say or are they a hundred times as insightful?

Or maybe, just maybe, tying all participation to a monetary transaction is an incredibly classist thing to do that will shut out vast portions of the world so the rich and privileged can feel "free".
I've never seen a take on this that seemed plausible and logical. I thought I was going to be pleasantly surprised by this one as it got very technical at the start but it kind of went weird at the end.

So, for oil they think the sanctions will remain and Asia can only take so much and will do so at a discount. At some point Russia will run out of storage and have to stop producing.

This feels like bad news for Russia. Though later on they claim Russia can cut off gas because it's only 6%, but we just covered how 30% of their revenue is about to hit a wall. Can they survive another 6% cut on top of that? Plus increased retaliatory sanctions? While continuing an expensive, unpopular and unsuccessful war?

For gas, they specifically say that there's not enough gas to fill current demand AND fill the storage tanks to a EU mandated 90%.

Let's assume that's true. Does EU need the storage tanks to be 90% full or is that a nice to have? If other countries are making a concerted effort to lower their storage to ease price spikes, then it seems likely the EU could too.

So, how much damage can Russia actually do by cutting off gas, how much does that damage Russia and what's the chance of that happening? Why does this article not even try to ask or answer that question?

Is there anything that can't be solved by printing money and/or windfall taxing it back from people who profit from this situation and using it to electrify? If not why not? If so, then why aren't we doing that?

And why is this generally seen as so impossible it's not worth considering? The whole world has a 25 year plan to phase this stuff out so it seems a bit odd that cutting down a bit at short notice is seen as such a complete non-starter. "Heat pumps for peace" seems like a very logical plan for American manufacturing, so why is it not being put into practice?

Maybe it's the control that our own fossil oligarchs have on our politics which is the big weakness here, if we're not even able to talk about solutions which might inconvenience them, but save us money but we are keen to scaremonger their profits.
Without their tutorials, I would never have tried to do any of the things I'm doing for myself. Been a customer for many years after learning about it on HN. My employer has been a customer for almost as long since I use it to run a server for my teaching (thereby eliminating the need for me to do tech support for my students, which I hate). Their tutorials have brought in quite a few thousands in revenue just from me.
Well considering the Biden administration, like the Trump administration before it, said the information should not be disclosed because it would do significant harm to national security. The mention of national security makes me think the issue here is multi faceted.
it's a sarcastic representation of delusional individuals who absolutely do exist
Skype Insider Release Notes for Skype 8.82.76.403

What’s new?

Ukraine centric efforts:

Make free phone calls to Ukraine: on all platforms.

Stay connected by calling from/to Ukraine for free. To help further, we support Ukraine through the non-profit organizations listed on the Skype Home Page, and you can as well.

Support for more languages in Translated Conversations: on all platforms. Translate your Skype and phone calls from/to the Ukrainian language.

"Support Ukraine" emoticons: on all platforms. (ukraineheart) (ukrainehandshake) (ukrainepray)

Google Play In-App Billing System: on Android. To purchase Credit, Subscriptions and Skype Numbers.

Bug fixes and stability improvements

https://answers.microsoft.com/en-us/skype/forum/all/skype-in...
This doesn't directly answer your question, but there's a nice SMS interface framework available for Django called RapidSMS[0]. It's been a few years since I've played with it, and never got around to testing "in the wild" / with a real phone, but, it makes the Request/Response <-> SMS gateway mapping pretty easy to navigate

[0] https://github.com/rapidsms/rapidsms
Huh, I stopped trying to understand at that sentence. Maybe Wikipedia could start linking to "simple" articles for these topics? Or at least include some more links to more basic concepts. That sentence is a fortress even for a curious person.
That's what I mean by losing their innocence. This war (probably not unlike any other war) is desensitizing a ton of people to violence. The ramifications of this will be felt for generations.

But this sort of harm needs to be considered in the context of all the other harm being done by the war. Reddit teenagers laughing at the charred corpses of conscripts their own age is saddening, but the people who are actually doing the dying are losing much more than just their innocence and dignity. The real losers are those that are dead, maimed, had their country invaded, etc.
Did this comment just remind you to update the readme? All 7 years old, and then 35 minutes ago, I love it lol. Very cool though
Absolutely. The arbitrariness doesn't only apply to performance, either. Fancy people like old stuff. Jackson Pollock. Dubliners.
I think the more correct statement is that products are as good as profitably possible and no better. If the margins on a better product aren't large enough to justify spinning up a new business just to sell it, the existing product will remain as it is indefinitely. To top it all off, consumer expectations can be surprisingly low. It's often the case that no one even wants or knows to want a better product, let alone being willing to pay for one.
Texting Google in the early 2000’s was so cool. Felt like magic at the time.
I'm a believer that the largest part of what led Yeltsin to fundamentally change what it was, and thus cause the dissolution of the USSR, was his impromptu grocery store visit in the US.
Of course there is a long term perspective of the battle. However, the short term battle also matters. The authoritarian CCP government has being winning the short term battle and this helps them becoming a new superpower, and this is defining the history of the next couple decades.
It's funny how close this argument mirrors a certain episode of Yes, Minister (https://youtube.com/watch?v=Zl0aEz34A4o)
Arbitrary code execution fell under an "educational" exemption, I think. Also, the app store review process is highly variable based on the reviewer.

I'm not an iOS developer but I bet your paths into the JS engine API depends a lot on the web engine you're using. I know the in-app browser had two flavors of UI component with drastically different capabilities.
The entire space is a scam? Luke makes some good points and some not so good points about the challenges with the technology.

He acknowledges that every single digital transaction you make can be seen by banks, for example, and yet does not propose an alternative solution. Credit card data is among the most valuable, and sold many times over to advertisers.

Do you personally think that that is a problem worth figuring out how to solve? If you don’t, it’s going to be hard to see the point. Similar to how we don’t need encryption because we have nothing to hide.
> In the broad societal sense I’m talking about, people with imposter syndrome do not believe they’re the bottom of the barrel, maybe they believe they’re at the bottom of a given organization or trade but being at the bottom of such things is not that bad in the grand scheme of things.

I know people with imposter syndrome. They do believe they're the worst, that they are just fooling everyone and that someone is going to find out. That they're not valid at all for whatever it is they're doing, no matter what that is. It's not just about low self-esteem, and it isn't extremely rare to see it similar signs outside of a work context (relationships, study, hobbies).

> My lack of belief in imposter syndrome is only strengthened by people advocating they believe in it out of concern for negative outcomes if we did not deny it as that creates an obvious bias. Depressed people also have more objective views of their own performance than non-depressed people (they are irrational in some ways, but not THIS way).

"Believing in it out of concern"? Honestly, you have absolutely no idea about this issue. I've seen the real consequences of this. It's not just about believing they're out of place, but the behavioral changes those irrational thoughts bring. From the mild ones such as slowing down their careers because they don't think they're worthy to take on new opportunities, or reduced work performance, to serious ones like complete decision paralysis or extreme overpreparation to the point of neglecting other aspects of their life, and it can evolve to serious anxiety and depression disorders with all the consequences those have.

> Depressed people also have more objective views of their own performance than non-depressed people (they are irrational in some ways, but not THIS way).

Imposter syndrome and depression are different things. Clearly you don't know what the disorder is and yet you feel you're perfectly qualified to dismiss it as a non-existing thing.

You can think you're bad at your job and that doesn't necessarily mean it's imposter syndrome. You might even think you're actually an imposter and that those around you think better of you than you actually are and it still doesn't mean it's imposter syndrome 100%. If the assessment is more or less accurate and specially if you can deal with that in a healthy way, it's not imposter syndrome. That's the issue, that's why it's a disorder. It's not about "the thought" but about the thought being irrational and immovable by evidence, and about the actual effects and disruptions those thoughts have on the daily life of the person.
Serious question: do you think people should be forced to subsidize tennis courts for recreation? What about affordable lessons?

I am not a tennis enthusiast (actually, I hate tennis), yet I would suggest that there are good reasons to provide such funding. Encouraging participation in sport is a good thing. You don't have to agree with the particulars in order to agree with something in principle.

That said, I will agree that professional tennis (or opera, or football) should not be funded. For starters, it benefits a select few rather than society as a whole. Yes, that select few includes outside businesses who may see increased revenues or the people who may find jobs near the minimum wage and seasonal end of the spectrum. Granted, I have always been more favourable to the hope provided by social welfare (even when it doesn't work) than the cynicism of corporate subsidies (even when it does work), so don't treat my opinion as unbiased.
The supply chain situation was global and for Americans it largely amounted to an inconvenience. People weren’t freezing for lack of energy to heat their homes. America should do more to decouple itself from China, but it isn’t the same as Europe’s dependence on Russia.
This isn't true? I discovered Vanced a few weeks ago, and YouTube links are opening just fine after disabling the links on the official app and enabling them in the Vanced.
This is the actual article from an Indian newspaper with photos.

https://www.ptcnews.tv/mp-student-uses-surgically-fitted-blu...

These exams are quite difficult to clear because of the sheer number of people who are applying for the small number of seats. And yes, there are actual "flying squads" of people who go to the examination centres to check for all sorts of innovative ways of cheating
The fact they insist on living in the other hemisphere kinda stops them from applying for the 6 Nations though ;)
It certainly helped when they bought half of HTC's engineers in 2017.
National security is not a get-out-of-democracy-free card. There has to be some way for public opinions about the CIA to loop back around to the congresspeople on the security council, otherwise the system won't work.
Hey,

Looks an interesting product, is there a free trial available? Also, do we get to see the live sessions?
Visualizing Black Holes with General Relativistic Ray Tracing
> Amazon eventually solved this problem by having their own delivery people (and Apple has done this as well for same-day delivery). At scale, there's no commercial service you can pay for that will reliably attempt to deliver packages.

It's funny, I have actually observed the phenomenon he described in the same company. Safeway in San Francisco either uses their own delivery drivers, or they subcontract to DoorDash depending on the time of day of delivery. If I order with Safeway delivery drivers, they will happily deliver all the way to my apartment door inside the building. If I get a DoorDash driver, the intercom will magically be broken 100% of the time. It's a perfect comparison.
There’s an excellent YouTube video that I can’t find because it keeps thinking I want tank top t-shirts.

Anyway anti-tank rounds have two levels to them the first is a charge that explodes to weaken the armor and the second one goes through that to penetrate.

If the first part explodes prematurely in theory it will have a lot less penetrating force.
I think he knew that, but used Khodorkovsky as his example of "stole too much" because he just stole so much.
Or, maybe you don’t spend a lot of time hanging around marshalling yards. You won’t see this go by very often while you wait at a crossing.
> Those forests are extremely important because they’re not only the most effective carbon capture method on the planet—the old-growth forest captures carbon at this incredible rate that’s not seen in logged and replanted forest

I'm wondering where they are getting this from. Most sources I can find say the exact opposite.
How does this "protest" affect the Russians?

How would deliberately annoying your entire user base by creating spam files on their desktop and synced folders without permission possibly help anything?

All it will do is cause chaos as people suspect that their dev and CI machines have been infected with a virus, costing time and money to track down what happened. Then they'll be angry at YOU, not the Russians.
Any you would like to share?
I can't remember the name of it, but there was a service where you would text a question akin to a Google search and a real human would respond with the answer. If you signed up to be one of the responders (and proved your ability to find and return an accurate result quickly), they paid you like $0.01 per answer.

I thought it was a neat idea back when everyone was still using dumb phones.
Cr8escape: Zero-day in CRI-O Container Engine (CVE-2022-0811)
The prime example of this is Snapchat. I don't know why it has so many buttons and why there are so many secret menus (behind the swipe left and right) or why the buttons are placed there.

Compared that to Instagram where the buttons are obvious.
> 99% of projects

I don't know where you got this figure from, but I highly doubt 1% of Rust projects use a different build/package system. More like 0.001% (this number is scientifically extracted from thin air).
I don't think of Nix as a package manager; I think of it like Make.

The problem with Make (other than the awful syntax!) is that it's not composable. For example, GCC has a Makefile, with an "install" rule; yet my C project's Makefile can't use that as a dependency; e.g.

hello: hello.o installGCC
gcc -o hello hello.o

hello.o: hello.c installGCC
gcc -c hello.c

# Pseudocode to import the 'install' rule (renaming as installGCC), from the
# Makefile in GCC's source (depends on gccSource to fetch it)
@import: gccSource
import(gcc-10.1.0/Makefile, install -> installGCC)

gccSource:
wget 'http://mirror.0xem.ma/gnu/gcc/gcc-10.1.0/gcc-10.1.0.tar.gz'
tar xzf gcc-10.1.0.tar.gz

Nix solves that problem: we can write a rule (Nix calls them "derivations") which run wget/curl/git/whatever, and we can import files from the result.

Nixpkgs (a big collection of definitions for Nix) takes this to its logical conclusion: C programs not only depend on their source, but also on the compiler, the shell used to run the commands, etc. In turn, the compiler depends on its source, and a shell, and a compiler (if it's bootstrapped). The shell depends on its source, and a compiler, and a shell to run the commands, etc. The downloader (usually curl) depends on its source, and a compiler, and a shell, etc.

The recursion is cut-off by some "bootstrap binaries" (which the bootstrappable-builds project is trying to shrink even further http://bootstrappable.org )

With this "composability" problem solved, it turns out there's actually no need for "package managers" at all; or indeed for "installing" anything: each derivation just says what other derivations it depends on. Nix can act like a package manager if you want it to; e.g. its 'nix-env' command manages a "user profile" (a symlink at ~/.nix-profile, which point to the output of a derivation, which itself symlinks to the output of whatever derivations we want "installed"). NixOS works in a similar way, but with a system-wide /run/current-system symlink (plus a massive pile of options to configure things more easily).

Hence the slight complexity of Nix (in fact, most of the complexity is in the libraries, like Nixpkgs) lets us do away with build tools (Make, Ninja, Ant, etc.), language package managers (maven, pip, cargo, npm, cabal, etc.), OS package managers (apt, yum, etc.), configuration managers (chef, ansible, puppet, etc.). Nix's "binary cache" mechanism also lets us do away with binary formats like rpm, dpkg, wheel, jar, etc. in a transparent manner (e.g. we can still patch sources, override compiler flags, etc.; we just get a cache-miss)

Of course, that's the ideal. There's so much code written with Makefiles, pom.xml files, setup.py files, cargo.toml files, etc. that most Nix definitions just add those tools as dependencies, and let them do the building!
Soviet Russians perpetrated genocide in Ukraine in living memory. Ukrainians are not fighting for their politicians, they're fighting for themselves. They're fighting for their families and communities.
Curing America’s Energy Woes?
Practicing gratitude is probably the single easiest way to increase one's happiness, and yet it's so easy to forget to do it even if you know that. At least for me.

One thing we can do is keep a gratitude journal where we write down things we're grateful for. Can literally be grateful for the sun shining, or not experiencing an earthquake, for having the ability to write in a journal in the first place, etc.

It's so, so powerful.
This reminds of Google's SMS-based search that was shut down a few years ago

- https://slate.com/technology/2013/05/google-sms-search-shutd...

It was extremely handy in the pre- smart-phone days.
Think.

It’s not blocked for the authorities who are monitoring twitter.
While this is certainly terrible, it's extremely rare when compared with ordinary foreclosures by private lenders. Mortgage holders don't return the homeowner the difference if the property is later sold for more than the balance of the debt, either.
What a bizarre statement. We know that supply and demand drive modern economies. It's taught everywhere in schools. It's what we rely on along with key economic metrics to have an idea where things are headed. It's an odd flex to just throw all of that out as some voodoo magic.
How do you own your content if you can't even delete or edit it? At best the content gets "signed" by your account, but what's really the point of that?

Also this was not about monetization, it's just about the costs of simply using the blockchain.
> for any private entity to have enough skin in the game to fund it.

This is exactly what capital markets are for and some capable and incentivized entrepreneur would acquire/develop such a venue and charge rental rates as applicable.
Node.js security: Parse Server remote code execution vulnerability resolved
The point is that the AV does not do much here. The security model should be proper sandboxing within the browser, along with block lists that get used by ublock origin if you wish. A third party program running alongside your browser, inspecting the URLs you visit (possibly then via TLS certificate MITM?), is just a weird way to think about security in my opinion. Not even talking about the potential new attack surface that may be introduced in some way.
There is a shell wrapper `tsocks` that does all that - all you need is to configure the SOCKS server/port in /etc/tsocks.conf and run `tsocks $COMMAND`, and all the TCP connections of `$COMMAND` will be tunneled through the SOCKS proxy.

Combined with ssh's `-D` option, it becomes a powerful ad-hoc VPN tool.
List of Discontinued Google Products: Google Plus, Glass, Play Music