skysight-inc/HackerNews huggingface dataset:
Ask HN: Can you recommend between Flutter, Next.js and React Native?
Hi guys I am trying to decide which framework to use with AWS Amplify. Can you share your experiences? I am leaning towards Flutter because it uses a single code base to push across mobile & desktop but I wonder how true this really is.

I haven't used AWS Amplify before but should it speed up the development of backend? Does it provide CRUD essentially?

I am trying to wrap my head around all of this because it's been a while since I've done mobile app development, as in 2012.
Dissecting modern (3G/4G) cellular modems (2016)
cool idea! How do you make money though? putting ads or getting a % of each transact?
Google fights "discussion of sensitive events". Why is this a problem?
Ask HN: How do I safely store a BIP39 mnemonic sentence (recovery seed)?
I have a Trezor device and I've decided to store my 24-word recovery seed in an obfuscated manner; I've replaced 6 words in the recovery seed with 6 random words from the BIP39 dictionary, and I'm storing a hint to which exact words were replaced, as an AES-256 password encrypted text string (base64), inside my 1Password account.

The idea is that if my recovery seed is stolen they'd enter the seed and get an error and not know how to proceed from there.

I wonder if this is a good way to do it though, and if anyone has a better idea?

Note that I'm also using a passphrase [1] which leads to a set of decoy accounts which contain only a small portion of total crypto holdings.

[1] https://wiki.trezor.io/Passphrase
Yeah, that's more or less what I got out of it, so it's effectively source-available but not really open source software per se?
It was also ported to WASM, for anyone interested:

https://wasm.continuation-labs.com/d3demo/
I'm so glad that id Tech 4 made it out before Carmack left. I'd love to see it become a base least-common-denominator for real-time 3D.
Programmer Expectations vs. Reality
Maybe the rest of Ruby is more "beautiful" and "simple", but those adjectives don't apply to the inconsistency caused by optional code punctuation. I think Ruby users even realized this, and have since imposed strict requirements on their projects that only one style be followed.

Groovy is all the more guilty for carrying the bad tradition forward. It's akin to somebody looking at the success of C and deciding that its macro system must be perfectly preserved going forward.
I liked it, but perhaps giving an example each of the different complexities that it talks about with the suitable use case would have been great. On that note, I'll take up the task of doing that in the near future.
> Against tourists or folks with work visas? Since when?

That was not the filter in the original comment, so why restrict to these? If there are serious human rights issues to their own citizens, it is bad enough.
Chemical reactions (such as forming it into a pigment) greatly change the biological effects substances have.

For example, you probably shouldn't drink OH- or H2O2, even though it is made of the same atoms as water.

Just because the pure elemental form is toxic doesn't make compounds with it toxic as well.
It's a truism not because people are never malicious, but because we tend to see agency where there is none. Accidents are seen as intentional. This tendency leads to conspiracy theories, superstitions, magical thinking, etc. We're strongly biased towards interpreting hurtful actions as malice.
Between the distance and the lower gravity, sounds like it would be fun to mountain bike down, well, until reaching the 8km drop.
> Against tourists or folks with work visas? Since when?

Against foreigners (or those mistaken for them), and people who don't meet the current, evolving, understanding of White race/ethnicity, and especially people in the overlap of those two groups, forever, though the degree, and which specific subgroups have it the worst at the moment, varies over time.
You have a good point... I always tended to write my stuff down chronologically, with the reveal at the end, but I'm not sure if in the age of 10-minute Youtube videos that still works well. I'll see if I can at least link the last page, so people without patience can go there directly.
> Basically if you put $1000 of capital into the pot for making flash loans, then you are foregoing the X% / year that you could earn on interest, i.e. you are losing money.

The funds aren't foregoing interest in all cases though. Ex: uniswap, curve, etc all require assets to be deposited, and pay depositors trading fees. These protocols could generate additional income by providing assets for flash loans without affecting the income received for acting as an amm.
Parlor / Gab / Minds "created their own Facebook" competitor. That couldn't be tolerated by those who must censor and control the passes: Facebook, Twitter, Amazon, Apple and Google.

Facebook and Twitter are having all competitors blocked, so everyone is trapped on their MSNBC-skewed Facebook / Twitter.
Totally agree, for me online education is a bummer because it has so much potential but most of the offerings instead of being great inherited the WORST of both worlds, old-brick-and-mortar education and web technologies. So to take a course I have to first sign-up for the platform, then sign-up for the specific course, then the material is arbitrarily split in micro-segments where you have to watch the professor droning on like in person education, then you have to answer some inane quizzes. The firs section is the SAME for all the courses, introduce yourself and blah blah. At the end you realize that the actual content was like 50% of a traditional college course. Do you want some credit? You have two options, you may pay 50-100 bucks for a useless certificate or the second option and the most insulting one, you take the course from a BIG NAME UNIVERSITY and you are requested to pay a high fee but the credit given is from a third-rate-municipal college for their "general requirements" course.

In the case of OCW you are presented with THE SAME EXACT course the kids at MIT are taking and many many courses have full lecture notes, quizzes, and so on. You could argue that the experience is not the same but at least the content is, you don't have to sign up for anything, the institution is actually world-class and the cost is 0.
Yea, I've been robbed semi-violently and quite violently. I stand by my statement. You're not getting hurt if you manage the situation properly. And the benefits for me are huge. So happy I left a safe life and have a more fun existence now, despite the risks.
> because nobody on earth cares what color their workstation/datacenter graphics card is

I think some HPC applications do actually have some aesthetics because the bean counters want to be able to look at their billion dollar datacenter and say "My datacenter is bigger/prettier than yours" rather than just having a black front panel.
> It looks like neither attacker was able to cash out,

What makes you say that?

If they wanted to, they could simply send the funds back to Tornado Cash, which is basically Zcash-running-on-Ethereum-EVM. The seed funds to run the attack came out of Tornado Cash. It's liquid enough to handle a deposit this size, although it probably wasn't liquid enough back in May.
Phrenemies is super fun to play with coworkers
Absolutely. That ARM has been gnawing on the dominance of the x86 architecture (and by proxy Intel) first became obvious to me when Intel tried desperately to make an x86 chip that was competitive in the Android ODM space. I still have a Lenovo Android tablet with an Intel processor in it[1]. Intel's business model of being 30% of the BOM cost for the base board just doesn't fly in the phone/tablet world. If I were still at NetApp I would be all over a filer design based on 64 bit multi-core ARM architecture with a bespoke I/O architecture to support 1000+ drives per filer.

The arrival of Intel (and AMD with the Opteron) on the TOP-500 supercomputer list demonstrated the importance of channel bandwidth (memory and I/O).

[1] It sucks BTW, Android gave up trying to fix all of the byte ordering problems and so many of the apps fail to execute correctly.
Prosecution of government employees and officeholders. You don't gain trust without a reason to trust you. There is no magic reset button. After COINTELPRO and Iran/Contra and Snowden, the USA Intel establishment has a solid record of attacking their own citizens and behaving as though laws don't apply to them and there is no oversight. Valerie Plame?

And then there's the last five years, starting with the Clinton email server. The Intel community can't prevent that, and then the FBI goes political at the end of election season?

There is no trust of intelligence agencies because they have proven they deserve none.
With Microsoft being the open source friendly company they are now, they should really start pushing the browser edition that runs on WebAssembly.

This port is one of the coolest showcases of WebGL/WASM I've seen in years, and I'm convinced we're going to see more games ported in this way.

Link to play: https://wasm.continuation-labs.com/d3demo/
This is a zero entropy comment.

I could make an equivalently meaningless comment:

If you're working remotely and living in a rural area, you're doing remote work wrong.
That would justify requiring semicolons/parentheses. It doesn't justify making them optional. The real explanation is that they were mimicking another language, Ruby, that had made that mistake.
A killer phish will get you sooner than later :-)
Latest USA Cancer Death Statistics
Be broad with top level contacts. If you are able setup a sync to a cloud backup.

Use the same structure across all devices. Dont be afraid to archive whole directories when projects are done.
The strike (was part of a trend that) stopped it getting any worse. The Dutch Ministry of Transport admitted in 1983 that:

> Until the early 1970s, attention to bicycle traffic was minimal. The prosperity expectations were such that within the foreseeable future bicycle traffic would decrease, certainly for commuting, to a negligible share compared to car traffic. [0]

[0] The Dutch Bicycle Master Plan: Description and evaluation in an historical context, 1999, p31, which incidentally also features the graph on the next page.
My use case is visualizing pivot graphs in custom command & control frameworks, something like this https://www.cobaltstrike.com/images/40pivotgraph.png
> Thank you for elaborating! I remember I was really curious when they introduced them, since there had been a lot of focus in the community on stateless functional components before, and the benefits of their purity. Now suddenly they were renamed to function components instead, and as you say, are no longer guaranteed to simply be a function of their props.

Thank you for engaging thoughtfully and with some curiosity! I'm sorry it took me a while to come back to this, but I do want to answer because it's worth exploring.

> What problems do you feel the current hooks API is causing, that could be solved with a different API?

Frankly, once you introduce hooks, you can no longer trust that a function is a function. You can't call it without knowing whether it'll cause side effects. You have to know the hooks internals to know what those side effects actually do, and you have to know the internals of every component before you consider calling a component. It's a breaking change of huge consequence, with no type-level (whether you're using TypeScript or JSDoc or just web docs) indication of what a thing is. So now, allllll functions are not functions.

A way a different API could solve this would be to make the construction and render explicitly separate (just like all of the pre-hooks state APIs for react). Modifying the example from the hooks intro:

import React, { useState } from 'react';

function Example() {
const [count, setCount] = useState(0);

--- return (
+++ return () => (
<div>
<p>You clicked {count} times</p>
<button onClick={() => setCount(count + 1)}>
Click me
</button>
</div>
);
}

This isn't where I'd dust off my hands and call it a day. A more ideal hooks API, with chaining and composition in mind, would not just produce free-floating values and state update functions. You could instead wrap props and essentially have a component-local API for a props/state combination where the component still is just a function of props:

import React, { useState } from 'react';

function Example(props) ({
const setCount = useState(props, (props, state) => {
...props,
count: state,
}));

return (props) => (
<div>
<p>You clicked {props.count} times</p>
<button onClick={() => setCount(props.count + 1)}>
Click me
</button>
</div>
);
}

A comment adjacent to yours (which I don't have time or patience to respond to right now) asked how another API would deal with hooks which are instantiated per-render (which... I guess exists but it's mind-boggling because it's not how hooks are explained to the public), take either of these examples and nest them for each state/props case you'd encounter. This is the Python principle of explicit is better than implicit (which means, yeah, writing a bit more code might be a pain in the butt but you'll understand what's happening), and in FP is referred to as referential transparency ("If I call f(x) -> y, y will always be the same for the same x").
I've bought several hundred tubes of paint in last 20 years. I've seen artists gravitating towards more expensive paints as a sign of better pigmentation which is completely misplaced. Pricing of pigments is largely a complex equation including marketing by paint manufacturers to pose Cadmiums and Chromiums as "premium" quality paints. The truth couldn't be farther from that. Modern synthetic pigments are superior, safer and have far better lightfastness than the Cadmiums and Chromiums. Perylene red is amazing. Mix it with a dash of Titanium white and you can get very close to the opacity of Cadmiums. Mix it with Zinc white and you've got a far more brilliant red than anything else. But, Artists' I've worked with tend to gullibly gravitating towards the more expensive == better philosophy. I found this hilarious when buying paint during my early days in art world.

The quality of paint is measured by several characteristics such as pigment load, lightfastness, opacity/transparency, tinting strength, etc. Not its scarcity in nature.
Who knew that Apple would decide to use its DRM? /s

> Apple moving to block the unauthorized app installs isn’t necessarily surprising

> Apple has given [iOS] developers power to block their apps from running on the Mac — a power that is undermined by sideloading

Presumably it's a response to a) piracy/unlicensed use of iOS apps, b) developers who don't want to support macOS, and c) developers who want to charge higher prices to macOS users.
What's notable about the culture?
I've lived in the same small town as Mr. Robinson for over a decade, despite that he's a bit of a local celebrity, I've never ever run into him. I was sure I'd see him at the Delta of Venus cafe....it seemed so reminiscent of some of the communities in the series, I was sure that there was some inspiration coming from some of the local Davis oddities.
Yup. $12 for 4 days, driving 8 to 14 hours per day. I had to cover his food and lodging, but we just shared a hotel room I was gonna rent anyway and food was cheap.

For comparison , I talk to a Kareem driver who nets $10 per day after expenses, and he drives 13 hours a day, seven days per week to support a family of 4. And my friend hired a part time for maybe 60 hours per month and she asked for $40/month.
I have a top level notes file in the x.y directories thst I often use to track the status of each project state.
> I kind of thought you were kidding, because nobody on earth cares what color their workstation/datacenter graphics card is...

I’m not sure if you’re joking here or something, but as it turns out, many people buy video cards to play video games, and many of them care about how their gaming device looks like. They install LEDs and stuff. It’s pretty cool.
Out of curiosity, how do you plan on monetizing the site (if that's one of your goals)? Like the idea
I don’t understand this trend of thinking that the US is “unstable” because of a few recent issues. As a non-American, the US seems to me an order of magnitude more stable to live in than most of the world.
Devil's advocate: she claims she turned it over to the police.
> At a high level, React Server Components are Components that can be rendered on the server and on the client.

This is blatantly wrong. The RFC (and Dan Abramov’s video) make it clear that server components can only be run on the server: https://github.com/josephsavona/rfcs/blob/server-components/...
One more thing for art forgers to worry about.
My circle almost went to Telegram over this but I was able to avoid it
Meta: I’ve vouched for this comment. You have been shadowbanned.
What is reputable? So many once reputable extensions get sold to malware makers for huge sums of money so you not only have to find someone who will not add malware, but someone who will reject $1M purely on ethics.
It really wasn't possible to tell if you read the article or not from what you wrote, the author didn't seem make the point that you reacted to. Also, your post seemed to ignore the great pains Beethoven went through to "hear" through vibration after he lost his hearing. He clearly desired to hear and presumably it added value to whatever mental model of the piece he created. Nobody disagrees he did some of the most staggering compositions in history after he lost his hearing, so clearly you are correct about him composing music in his head. I don't have the knowledge to know if it was something in his deafness, the emotional trauma of losing his hearing, or something else entirely that's responsible. I agree artists of all media (written, visual, musical) seem to become more abstract as they age, and probably that boredom plays some part in it.
Did it scale more than Pokemon Go? https://arstechnica.com/information-technology/2017/01/what-...
As someone that just bought a house in a rural area in order to escape city "life" and save money during covid lockdowns with no end in site...I don't think your comment is meaningless, simply incorrect :)
Stupid thing I know but I liked the per chat configurable backgrounds in WhatsApp.
I would love to see this color in person. I had not realized it was such an excellent IR reflector either, from an industrial perspective that should be a boon for IR lamp heating systems in terms of efficiency.
Since the xda-developers.com story is just a brief synopsis of the original 9to5mac.com article, should probably link to that instead: https://9to5mac.com/2021/01/15/apple-blocks-m1-mac-iphone-ap...
A Visual History of Interpretation for Image Recognition
The Signal protocol can deal with offline messaging, but it requires a server to do it. That is because of how the forward secrecy works. Presumably the amount of traffic would be fairly negligible for what would just be keying information.
Good caveat; beginners should not bother about any of this stuff. Focus on good modularity, clear code structure and language idioms and in general for readability.
I've sort of come around in my career to aggressively simplifying the stack where possible... it's handy to be able to script stuff but I don't actually enjoy running a polyglot team. We get a lot more done with one language, one build tool, etc. I tend to save other languages for niche applications (e.g. Lua for nginx scripting).
I don't think that is a very good example. A better example would be is there a safe compound with lead or arsenic or mercury (known toxic elements) you would want to take into your body?
How long you think remote work will be the norm?
This was the old Microsoft support model: opening a case cost $99(IIRC), but if the case was actually a MS bug/issue they’d waive the fee.
Dogs can supposedly tell when humans are sick because of this, even before they know themselves.
Mozart is most famous for the ability you describe.

I am not soooo sure about Beethoven, esp. since there are stories of him using a sort of bone-contact thing while playing piano.
> I migrated to Aegis, that could nicely import AndOTP tokens.

Thanks. I use andOTP too and was hoping this point was answered somewhere here :-).
Well I would think it depends on who is considered "the party." For example, if any Republican in the USA grows a nut and exhibits integrity, Trumpanzees immediately turn on him or her.

So how many "Republicans" in such a situation would have to change their stand to achieve a similar result to what's reported here?
The list of mods is impressive.

I wonder if one needs the doom 3 data pack (owning the game) in order to play the mods that are new games.
"From Egyptian wall paintings to the Venetian Renaissance, impressionism to digital images, Philip Ball tells the fascinating story of how art, chemistry, and technology have interacted throughout the ages to render the gorgeous hues we admire on our walls and in our museums."

Bright Earth: Art and the Invention of Color Paperback – Illustrated, April 15, 2003
https://www.amazon.com/Bright-Earth-Art-Invention-Color/dp/0...

https://www.philipball.co.uk/
> I remember the local train system here, BART, was offering a software engineering job for something very close to about $100,000 a year. That’s not a lot in the Bay Area.

I assume wherever you live, nonprofit jobs won't pay well, but it's particularly bad in the Bay Area due to the cost of living and housing.
Pure FUD.
There used to be PC-BSD and DesktopBSD that were out-of-the-box desktop distributions of FreeBSD. I used them on my laptop through college and loved them - I feel like the end of those projects has left a bit of a hole in the community.
The Problem with Gradle: Really?
This reminds me of ugliest.app - there was a hn post on it a while ago. And then suprise, suprise, someone made a "paypal" login page which was hosted on the main domain. It was put on the blacklist, not sure if it still is.
This is because the party will ostracize you if you don't conform. You can't survive in a liberal environment if you don't support abortion and you can't survive in a conservative environment if you support gun control.

Your friends will argue with you, you'll be surrounded by memes making fun of people who believe what you do. There's incredible social forces to conform to the exact set of beliefs espoused by political parties, which are mostly set by corporate interests.

It's a huge part of what the Republican party has struggled with: There's both the clear vision of conservative values and ideals... and Donald Trump. You can practically see on people's faces trying to reconcile their beliefs with party platform. And there's a massive amount of pressure to stay in line with everyone else.
I guess maybe this would be useful for a language like C or old-school C++ where you had to imperatively build your maps and lists and allocate memory and explicitly type your variables and so on, but Go memory allocation and typing are implicit and maps and lists have a nice literal syntax so I don't see any value in a DSL.

As for testing, you can already swap out real objects for test objects--that's a property that interfaces provide; I don't see how a DI framework (e.g, the DSL) helps you here.

I will say that when I've had to operate a Java application, trying to do even the smallest bit of debugging had me digging through all sorts of layers of XML nonsense (Spring, various Spring plugins, and who knows what else) to figure out where the logs were being written. Note that my objection isn't "XML" (versus some other format/DSL), but rather the pointless indirection. I'm sure someone proficient in Java would have no problem, but now your sysadmins need to be Java developers in addition to system administrators (maybe not such a big deal if your shop is already a Java shop and you have people you can ask, but for people operating third party software this is a real pain point). And again, all of that tedium for no apparent value.