skysight-inc/HackerNews huggingface dataset:
New language launches today that’s custom-made for DeFi – Scrypto
A new smart contract programming language is launching today that imho is going to disrupt decentralized finance, DeFi.

Ethereum’s Solidity (and most of the programming languages used for smart contracts today) are general purpose languages - you can build anything with them. But because they’re so generalized, they don’t do a very good job at the one thing that you need most for DeFi and crypto - managing tokens.

In Solidity, tokens are created as a list of account balances (uint256’s) inside an ERC20 smart contract e.g. account 0x...123 has 50 tokens, 0x...456 has 100 tokens, etc. To execute a token transfer, a message is sent to the contract with instructions to update a particular account’s balance. But because Solidity has no native concept of an asset, the Ethereum Virtual Machine (EVM) doesn’t know the difference between a uint256 that represents a token, and a uint256 that represents any other variable. Logic around asset behavior, such as the fact that a token shouldn’t be in two places at once, doesn’t exist - the developer has to implement this kind of logic from scratch, for every single contract. It’s like using a swiss army knife to make sushi - sure it can just about do the job, but the sushi gets hacked to pieces. No wonder we see hacks pretty much every week with Solidity smart contracts.

In Scrypto, assets are a native feature of the language. To create a token in Scrypto, you just call a native function directly within the language. For example “.new_token_fixed(1000)” creates a token with a fixed supply of 1000. To transfer the token, you can call on native functions such as “.take(1)”, which takes a single token, or “.send(1)” which sends a single token somewhere. These tokens are guaranteed to behave like physical assets (like a physical coin), as they always have to live in only one place, which makes it way more secure and intuitive.

This is one of those times where once I “got it”, it became obvious that this is how DeFi development should have been right from the start. Thought I’d share. What do you all think?
QE is an asset swap between the Fed and a bank. The Fed gets a treasury and the bank gets a reserve asset. The reserve asset can't leave the banking system. It can't be used to buy stocks. It can't fund pensions. It can't buy yachts or mansions. It doesn't pay salaries.

Almost every source focusses on the purchase of the treasury from the bank while completely ignoring the other side of the ledger.

No money creation occurs in QE. It simply converts a treasury held by a bank into a reserve asset held at the Fed.

It's easy to confirm that QE has little to no effect on treasury yields. Just look at the long term trend in the 30-year. If anything there is a negative correlation between Fed bond buying and long-term bond prices. That's the opposite of what should happen if the Fed were moving the market.

More than that, the long-term channel since the 1980s in yields hasn't budged, despite multiple rounds of QE. That's not control over the market.
Actually, iirc there are studies showing people are more likely to be obese if the people around them are obese. So obesity seems to be communicable in some sense.

As for driving you are of course wrong, other bad drivers can affect your health.
Trump tried to overturn the election result for _months_. It wasn't just one day and it certainly wasn't just "voters."

Even the people in the GOP who refused to back his coup attempt did not sever ties with Trump.
What was the logic behind that? So he couldn’t be traced back to his house?
Yes. That seemed pretty objective to me, not a political decision.

"The reality is that the WHO failed to adequately obtain and share information in a timely and transparent fashion."..."The WHO failed to investigate credible reports from sources in Wuhan that conflicted directly with the Chinese government’s official accounts,"

https://news.yahoo.com/trump-eyes-withholding-us-funding-for...
Anyone needing a Yubikey would be very lucky to see them just hanging out of a computer, would just a bonus for the evil actor to also ruin your day and pull it out.
So? The fact that someone needs this functionality doesn't mean everyone needs it. What you are describing is literally just software bloat, and is the root of the problem with log4j - and many, perhaps most, other vulnerabilities.

And yes, slf4j would be a proper solution, if it were the default.
I'm not sure where you're getting your information about what and how the UK is dealing with the pandemic, but I suggest you change your sources. Especially as the UK has fewer deaths per 1000 than Italy, while having greater population density and being an international travel hub.

> For instance now they want a new lockdown

Do they? There's plenty of outside advisors suggesting a lockdown would bring down cases, it's the government themselves who are resisting this.

> including the first idea of going for herd immunity

Source? Stop reading nonsense. We had multiple lockdowns, and then we had extremely rapid vaccine rollout. None of that points to aiming for herd immunity through infections.

> That the final stage of waiting slows down you 23% is very unlikely under a bit less rigid parameters.

You should tell them this, I'm sure the NHS and UKHSA would love to see what data you have that they don't.
I assume he means the right to not have a substance injected into your body if you don't want it.
What do you sacrifice if you get e.g. an Asus ROG Strix G15 ? It is benchmarking pretty close to the M1 Pro, and you can get it for around $1800.
I am not going to state here whether I think it would or would not be racist.

I am saying though, that if you unilaterally denied COVID care to non-vaccinated patients, that would be the equivalent of denying service to ~70% of "young black people," which would be easy bait for people calling that racist. Which is why the health system probably won't do it.
By that logic insurers could deny claims related to obesity, or risky sexual behavior. Would you approve of that?
If you want a picture of the future, imagine a man trying to press "Cancel Immunity+ subscription" button — forever.
Gradual typing seems like the worst of all worlds. You spend time adding typing but can't depend on it consistently. I was surprised using Dart that it would throw runtime type exceptions even though it looked like the code had explicit types.
I live on the planet Eastern Europe and we had all the KN95 masks we needed from sometime around May 2020. In June people were vacationing in Greece. Don't know about UK, but in US I know ppl were complaining about not even finding surgical masks (which don't even compare).

> Did regulation...

Well I am no expert in those specific cases and I agree that there may be other forces at work as well, but I am betting there are tons of regulations about opening and operating ports unloading ships and tons of politics like unions and local administration to appease. So I do not know if regulation did it, but it sure isn't free market's fault.
In the US* Canadian checking in :/
The reason why drunk driving is so dangerous is because of the choices of past governments to make implicit subsidies for cars and urban planners making car dependent suburbia.

Our choices are already constrained before we even realize it and yet people chose to die on the vaccination hill.
Pretty sure they have shops there, as well. However, the people stocking the shops probably put on some clothes when they need to venture outside to get supplies.
Isn't this the same argument as "The government is not allowed to censor free speech – but nothing stops it from colluding with / coercing private companies to do its dirty job"?

It is puzzling that such "bypass of privacy / speech rights" was ferociously resisted by the some of same people who now applaud the "bypass of medical / physical integrity rights". Hey look, it's not us doing the violence and suspending basic human rights – it's the private companies!

I guess people need to see how this ugly pattern plays out in full, again. I anticipate a lot of future "How could they let this happen?" and "Nobody could have foreseen this!" as well as the sad classic, "Is there no one left to stand up for me?".
If it is already implemented how would we even know.

I believe that since iOS is doing ML scanning locally anyway, it is doing hash checks too.
I mean you are right, but that texture is doing a lot of work, since the Mona Lisa is about $850 million, and my solution is $0.0001 million, and indistinguishable at 15 meters.

But either way, this doesn't distract from the main thrust of my point. Art is expensive for Money reasons, not art reasons.

https://www.youtube.com/watch?v=ZZ3F3zWiEmc
https://www.youtube.com/watch?v=V5sOuET8UWA
I think it's just that hundreds of TCP connections per user can really bog down the servers. Individual TCP connections are much more expensive than QUIC streams.

QUIC also handles things like transparent IP-address switching (on either side of the connection).
The $7T Increase in New RFR Positions
The US is not responsible for China’s rise
Plus, older systems may have multiple applications deployed to the same Servlet container (e.g., Tomcat server), even if only one app uses log4j, upgrading it may require updates to transitive shared dependencies that can break "non-affected" apps. Given the prevalence of such Java apps, fixing this is likely to take a long time. Mitigating with firewall rules is a good first step for now.
To me, this reads like smugness and egotism. The author clearly passes off his personal opinions as detached explanations and "neutral" contextualizations, while writing in a way that places him above the rest of the human population, as if he were looking through a lens over the anthill.

Sometimes I like to collect some of my online comments into documents so I have a reference the next time I need to repeat myself. This article reads the same way. The difference is that I wouldn't publish them in an article, because online comments rarely do an issue justice.

My first thought was that these were the personal thoughts of a stranger whose values I do not share and who does not do a good job of sharing or explaining those values.

I don't know who the author is, I tried to find out but I couldn't find anything interesting. On the other hand, I did find the Reddit and Twitter links in the header of the site.

It turns out that indeed, most of his tweets are of identical quality. In fact, each of the points in this article was posted as a thread on Twitter.

Looking closer at their Twitter, it seems that the author of this article just read Derek Parfit's Reasons and Persons and decided to write his own version, using the same format. However, his version lacks depth and is too transparent about his own beliefs and not exploratory enough. I believe that this format should be used to challenge the writer and thus the reader. It should not be about finding stories to explain your deeply held moral principles.

I honestly wonder why this content has received so much attention on HN. Linking to the Derek Parfit's Reasons and Persons on says, archive.org, would have generated a much better conversation.
Yes, some sauna's need you to wear the key of your dressing locker on an arm bracelet. While relaxing nicely in the heat you can instantly burn yourself severely the moment the iron part of the key presses into your skin. (Talking from experience here)
Samsara IPOs at $11.5B valuation
future reference: next time just firewall the network and see what blows up rofl.
Well Craig Federighi seems to be happy with it. Their software engineers leads of the features seems to be happy with it. i.e I dont believe there were significant objection to the feature within Apple. At least not those in power. And that is why they went with it. The objection obviously came later after it was reviewed to the public.
You are assuming the signal is strong enough to be read at a distance. I just used the RSSI, and going away a few meters was enough. Moreover, since that was just a nicety in case I forgot to lock my computer during a corridor conversation, I could get away with a longer timeout.

A more sophisticated implementation could be done if you can write software on the device. A PineTime would be perfect for this.

I am not sure why mention iOS specifically, a phone is easily forgettable. Moreover, you don't really need to rely on any location API provided by the system, even if UWB or Bluetooth Location Services would do wonders for this, a simple RTT latency measurement or RSSI value should be enough.
adventofcode.com did something like this last year (or two years ago?)
You can start your own company and fire people for whatever (legal) metric you want.

It's hilarious watching the "muh personal freedoms" people complain about private entities exercising their personal freedoms because it has bad overlap with their own. Either swallow the hard pills that come with "personal freedoms" or shut up about it.
Okay, technically cool, but is it legal? Seems like something the FCC (or local equivalent) would have an opinion about
> any decent book written by an actual scientist will serve you much better.

Also worth learning English for
And that's great. High wages means the market signals a shortage of workforce. That more people of lower productivity fill the gap means the market works in a healthy manner.
It'll be VM, use Parallels as it has better Windows 11 ARM64 support. You do not want to use Windows 10, it doesn't have x86-64 app compatibility like Windows 11. GPU acceleration is decent but no DX12 support yet.

I've been using Windows ARM on M1 as my primary work PC device since ~January when I got a 13" M1 MacBook Pro. I now have a 16" MacBook Pro M1 Max. Can share particulars of my Parallels config or answer any questions.
https://archive.md/9fOzk
I understand what you're saying actually. I mean, if that hinders the enforcement of vaccination to exist in society, then I'm on board I guess. Even if I would prefer if people got vaccinated.
Tried to find "Shit" key on my keyboard as it would save me a lot of time. No luck.
Thank you for this tool. Super useful for testing e2e.
You can tell the ones that are calculated because they have a "Feedback" link and no source link.
Ok that is funny in many ways.
https://www.loopinsight.com/2021/12/15/amazon-to-shutter-ale...
Can anyone explain this?
Exactly. You need something not for when your laptop is removed from you, but when you are removed from your laptop.

Also, if you are being targeted this hard you need to have something for when you are left in front of your laptop and a gun is put to your head. Or the attackers threaten the welfare of your family.
Does anyone know of any companies using literate programming? It always seemed like a really appealing idea to me, but I've never encountered it in the wild.
Obesity isn’t transmissible, so far as anyone knows. (With the possible exception of fecal transplants, but those are deliberate so any comparison of that to Covid would be BS).

And obesity doesn’t spike up at random intervals with enough extra hospitalisation to impede the healthcare system as a whole.

And obesity can’t be mostly prevented by getting a tiny low-risk jab in the arm every so often.

And they’re working on self driving cars precisely because it’s such a big cause of death, but those things are currently about as ready as a cure for aging. (As in: yes, but with huge caveats that make it a no in practice).
Fantastic spirit, however it's unclear how donations will unify App stores and operating systems. The vast combinations of choices leads to system fragmentation and balkanization, which typically ends in abandonment.
Why Compiler Function Inlining Matters
> they'll say that women are fundamentally less capable of leading religious groups and that God made this rule for a reason

Thats kinda of rather easily pointed out as misogyny tho. What makes them less capable?
Should companies also require their employees not be overweight because they are less likely to miss work due to illness?
You're forgetting that a majority of the companies implementing these policies are doing so at the behest of the federal government. You think Google doesn't do business with the US government, who does business with drug manufacturers? Private company? on PAPER, sure...

Government mandating private business to inject their workers every 6 months to save face (and $$$) for the "vaccine" manufacturers is fascist and anti-human. Thankfully the over-arching Biden mandate probably won't go anywhere, but large companies such as Google are doing this as a political and financial move. NOT FOR HEALTH

When politics and money make it necessary for companies to coerce people into injections every 6 months, a constantly shifting definition of "vaccinated", then things should be re-evaluated. And if you believe in this garbage you should honestly re-evaluate your concept of liberty.
Zed: lightning-fast, collaborative code editor written in Rust (Atom team)
I love awk. I've been using it for over 25 years.

But awk is usually not a good choice for processing CSV files.

Your program will fail if any of the fields include embedded commas (which is often the case).
extirpate jndi.

personally, I'd extirpate Java too. but I'm curious: does anyone need and use jndi?
Some interesting experiments in this department: https://www.youtube.com/watch?v=-bpX8YvNg6Y
I'd say filter out anyone who's disrespectful and distrustful.

You'll never do good work for a disrespectful employer, no matter how much they pay, and trying to do so will lead to burnout. This also includes self-respect, for certain roles bad for society.

Distrust is more controversial. The downside is it's wasteful and you get micromanaged. The upside is that once you get past enough red tape, everyone trusts each other because there's nothing to distrust.

It's subjective, but if you feel that way, you probably are. e.g. interviewers turning off the camera on om or asking for your pregnancy status.

The objective indicator is Glassdoor. I personally reject interviews for anything below a 3.5 star. They can be wrong like everything else, but the correlation has been strong.
Are you above 35?
How ironic. It’s actually entirely legal and not uncommon to see entirely naked people in SF.
Google aren't forcing you to get an injection. They just won't employ you if you don't. That's not a violation of any rights.

Google also won't employ you if you turn up to your interview with very bad breath. That's not a violation of a right to not clean your teeth.

You're seriously confused about what a 'right' is.
I realize that this will get some reflexive upvotes from the meme crowd. But neither of those statements are remotely true.
Twitter Shadowban: How to Check If It’s Happened to You
I haven't reverse engineered iOS itself because I've never had any reasons to, but I have reverse engineered third-party iOS apps (dumped from a jailbroken device) and some parts of macOS.
I think he meant creating new DSLs for program code, not so much as a way to make libraries and frameworks more accessible. From my experience with Ruby, I really love well designed DSLs (like good APIs in general), but when people start to create their own mini-languages in existing codebases, you really have to call them back, because the quality of that code will be much harder to control (mostly because of the implementation via metaprogramming magic).
My Dad has a big divot out of his arm from the vaccine gun when he joined the army. Everyone got a vaccine and that is how it was because the decision was science-based and not up for discussion. Same for when I went to school. Kid not vaccinated? You aren’t going to school. Somehow that got eroded by madness.
Never downvote. If a comment was just racial slurs or something, others will downvote. Otherwise, never downvote an idea regardless of 'provocativeness' or otherwise. In fact the provocative approach can often be what breaks cognitive dissonance. hunter s thompson or matt taibbi for example do this well. Gonzo journalism is easier to consume than yellow journalism coming from mass media.

>For example, I'll sometimes see a massively downvoted comment that's constructive and beautifully written, but it carries an opinion that is not currently popular for whatever reason.

Agreed. This is toxic to community and shuts down discussion. In fact I might even suggest that this happening essentially breaks the community. Not sure what to call it, but its not a community anymore.

>I believe that downvoting someone just because you disagree with them is terrible for a discussion network like HN. Moreover, I would say that I learned the most from the comments that I disagreed with - on all levels, politically, technologically, personally.

This is really bad on HN. Not as bad as Reddit obviously. This has been more recently bad because we are a society inflection point. Reddit/HN are just the battlegrounds. Hell even the universities are battegrounds. Back in the day the universities were all about free speech and having diverse discussions about everything. Today? That sure isnt happening anymore.

The exercise here isn't about how to get better discussions. It's about identifying the discussions you're not allowed to have. Climate change for example is completely off limits. Why is it off limits? There's a significant number of people who believe we are on the verge of human extinction. To argue against climate change in any degree is tantamount to encouraging or contributing to our extinction. That's literally terms of war.

It's interesting to try to find all the issues you aren't allowed to discuss on HN. You can then also see who is doing it and why. The curious thing is why they are so secretive.

When you understand, how does it work out? What's going to be the event that fixes this? It's going to take a major event. World war against china? A greater depression? They are right and we will be extinct in about 10 years? It's unclear what it will be, but there's something bad coming.
I wasn't a Trump supporter, and cheered when Biden won presidency.

Fast forward now, not so much anymore. Now I want Trump to be back in the office.
Are you sure you are not mixing up runtime impact with compiler speed? In Java generics are still part of the type system and are type checked which is a non trivial part of the compile time increase in generics typically.
For me, it's psilocybin that saved my life. And now I am on Mirtazapine.
Which one of those vaccines requires 3 shots every year, and wait, you can still get it?
Why would you need checksums? There is already checksumming and error correction going on in the lower layers (TCP, Ethernet, ...).
I can't speak to the person you're asking, but I very much have eliminated Apple products from my daily use as a result of CSAM - though it was on top of a range of other things (mostly China related) that told me I can no longer really trust Apple.

I've scrapped out a perfectly good (and exceedingly nice to use) M1 Mini, I no longer use a 2015 MBP, I've shut down my iPhone (not quite for good, I still have to figure out how to move my Signal root of identity off it), and I no longer use an iPad for work reference PDFs.

I've replaced these with far less functional "But I'm making them work" sort of devices. An AT&T Flip IV for phone stuff (KaiOS, handles basic calls and texts, and not much else, though it does have GPS and maps, and can do email if you let it), a Kobo Elipsa + KOReader for PDF support, and I've spent a good bit of time tweaking a PineBook Pro into my daily driver laptop.

The general view I have of Apple at this point is, "Oh, we know what kind of company you are, now we're just haggling over details."[0]

To whine about Apple doing stuff and continue to use them says, "Yes, it's important enough to complain about online, but not important enough to alter how I use their products - therefore, not really important at all."

[0]: https://quoteinvestigator.com/2012/03/07/haggling/