skysight-inc/HackerNews huggingface dataset:
The idea behind 'smart' contracts is to have immutable and decentralized pieces of code on the blockchain to execute transactions, eg. to swap ETH for NFTs or ETH to WETH like in the OP. They have addresses because they can keep a balance, but because they are supposed to be dencentralized no one can move that balance. If it did have a transfer or withdraw function people would have to trust the creator not to suddenly scam everyone.

But yeah the ability to send the directly to the address is stupid. There are no real world and crypto world use cases do it. I think the most glaring thing is that person has 500k in ETH but no idea how smart contract work or how to use the functions...
The Pretenders couldn’t even make Limbaugh stop using their song as his theme song.
There's a lot of good work put into this.

If it is intended as a tool to help port C++ code out of C++ into Go, it looks very useful.

If it is intended as a tool to help Go programmers, it has made a common, but regrettably very serious mistake, that programmers make when porting code: It has precisely copied the original API, despite the fact the original API is quite unidiomatic in the new language.

I don't want a package of all this stuff with the original API of C++; I want the same capabilities, but for them to be idiomatic in the new language. It is quite common that the resulting port will both be missing some things no longer necessary in the new language, but may also require things that weren't necessary in the host language.

As a nice little bite-sized example, consider some of the vector methods. PushBack takes a single element. It really ought to take a slice, probably via the "..." notation to make it a variable-argument function. That's idiomatic in Go. It is also idiomatic to offer that functionality and not worry too much about the fact it will be ever so slightly slower than not taking a slice. Go is generally fast, but if you care that much about speed to the n'th degree, you picked the wrong language. "Reserve" is in the original C++ API because C++ is not a garbage collected language. Go has the ability to specify sizes up front with slices, and that's generally enough. ShrinkToFit is generally again for a non-GC'd language... it's not useless in Go but again, if you're really paranoid about that being available you probably picked the wrong language.

Examples of this sort are pervasively shot throughout this API, from what a scan of it shows me.

A non-trivial amount of the complexity of the STL interface is related to manual memory management. In Go it results in APIs where even if you can't quite point at what the problem is, they're just generally overcomplicated in a GC language.

I expect something much simpler to implement, much simpler to use, and probably also faster to execute could be written if one wrote a list of the desirable capabilities down, and then ignored the C++ API and implemented the capabilities directly in idiomatic Go. Probably after crossing off a couple of things in the capabilities related to C++ being manually-memory-managed, and perhaps after adding some capabilities related to cheap threads being available, e.g., a parallel map operation that works across these data structures or something. Idiomatic, not just blindly copied.

(I comment on this because I do see this a lot. Since these sorts of libraries rarely take off it can be a fatal mistake made on a lot of effort.)
Not directly, unfortunately. Sometimes you can hook it into the tooling, like the Makefile or the test runner.

Other than that, enforce it in CI: patches that don’t match the code style can’t be merged
If the recipient of the windfall is not honest, they can just move the money to another country.

You can go to court and get a judgement against someone with no assets to collect. In the end you’ll just have lost even more money.
The Logitech MX Keys has a bit more travel and a better angle without being a mechanical keyboard. I have the latest Magic Keyboard for the Touch ID, but I really hated giving up the MX Keys. When switching, I can say it's definitely less comfortable to type on.
Satoshi is a pure ancap, the lack of regulations is a feature for them. Being able to be a grifter and scam people is a feature, not a bug to most of the cryptocurrency community.
Part of the article (and the whole article it references) are about how algorithm A that is guaranteed to perform fewer swaps than B is nevertheless slower in practice on modern machines because of other issues (predictability, data flow).

> Most contemporary implementations of quicksort use Hoare partition, for obvious reasons: it does as many comparisons as the Lomuto partition and fewer swaps.

> Given that Hoare partition clearly does less work than Lomuto partition, the question would be why ever teach or use the latter at all. […] implemented in a branch-free manner, Lomuto partition is a lot faster than Hoare partition on random data.
I built a similar app using a Kaldi's nnet3 model running embedded; the thing was so responsive that our demo to an SVP went sideways: when he gave a query, the app responded nearly immediately after the sentence ended. The SVP did not realize it already responded, as the expectation for voice interaction systems was that it takes like 2-5 seconds to get an answer, which made the impression that the system did not work properly.

So, moral of the story, if you do a too good job of making a fast speech engine, especially for multi-turn dialogues, add some delays so it resembles human dialogue more.
If you can't sell them to existing publications go direct to the consumer with a blog, substack, etc. If you demonstrate you have an audience the publications will be an easier sell and might even come to you.
> Please provide a link to the RCT measuring efficacy against Omikron.

Even if that's the hill you've chosen to die on, Delta is still out there and at a high prevalence especially in North America and you've admitted that the vaccine is effective but wanes, so a booster makes sense in that cost benefit regardless.
I used to like SO jobs for the same reasons. Otta https://otta.com/ seems good to me, no recruiter spam, more salary ranges than other sites.
So we have an app in Europe that is operating in countries I frequent and live/lived.

I don't have pizza place that would recognize me by voice because I might order from any place like 1x a year or 2x a year.

I love that I can go to most of medium cities and I don't have to drive around searching for food places because I can find them via app, whether I stay with friends or in a hotel and just order food for evening.

Then calling on the phone in English is not really a good option, calling using broken local language might be even worse than trying English :)

Then payment before order with my app account and card is also super easy and convenient.

That said, I think it is not super common use case but that delivery app makes my life a lot easier.
Chipotle’s app always says your food will be ready in < 10 minutes. Last week they had a 55 minute backlog due to sports and Covid-closures of neighboring stores. The poor workers.

Their server needs a feedback channel from the stores. Or it should count the number of incoming items ordered per minute, and auto-adjust the "ready" time. Don't always show 5 minutes.
I highly recommend healthcare in Asia. In most asian countries, healthcare is pure market driven. Aka, most people are uninsured so there is no insurance bureaucracy. No contracts, no lawsuits. The reputation of service and doctors matters. Appointments for this afternoon? No problem, you got it.

American healthcare is what I would wish on my enemies.
Please delete this and submit it as an ordinary link that we can click on. (e.g. no text)
For reference, in NL I believe I have about €250 out of pocket maximum. Could be €500 now, not sure.
This is the second revolutionary ICE I have seen recently.

There was another that was also sort of like a Wankel. In it the triangular Wankel rotor is static, and the combustion chambers rotate around it. They have a working model with transparent parts so you can watch how it works.

Nothing in the Omega 1 presentation seemed to offer any clue how it works or why it is better.

These engines both seem like viable general-avition engines to replace Lycomings and Continentals, because electric is not really up to the job. FAA should take initiative to get these approved and deployed, because nobody can afford to do it privately.
The other poster nailed it. Sports of any kind is huge time and money commitment. A lot of the fake and real STEM labeled stuff as well.
Honestly though everyone is trying to create a self made man/woman nerarative for their kid because that’s what sells. It’s very American to pretend you made it on your own when you grew up in the top 1-5%
Just host the font yourself. What is the problem?
Because they want to maximize performance rather than a security patch that they believe, rightly or not, is a mitigation against something that think is a small risk for their use case.
Neil had already sold the rights to his music to a label. They sold rights to Spotify.

Imagine building a house then selling it, then when neighbors you personally find undesirable move into the neighborhood demanding the home owners association load one of the houses, of which you own neither, and truck it out.

Edit:

He may own half, and the label Warner was the one that made the deal with Spotify.
Welcome to 'being your own bank'.
Must be a US political thing (I'm assuming you're from the US).

I don't think I've ever heard of anyone advocating degrowth or depopulation in the UK. We're more into increasing renewable energy.

Some of the hard core environmentalists don't like nuclear energy, and they do tend to be more on the left side of politics.
If I understood correctly, the link between ULA-based address and host name is done through a DUID. This is assuming that DUID values do not change over time and can easily be harvested from everything you want to connect to the local network. What guarantees that DUIDs are fixed and easily collectable? What are the solutions if they aren't?
"EGS are engineered reservoirs, created beneath the surface, where there is hot rock but limited pathways through which fluid can flow. During EGS development, the injection of fluid into the hot rock enhances the size and connectivity of fluid pathways by re-opening fractures. Once completed, EGS function just as natural geothermal systems do: fluids circulating through the hot rock carry energy to the surface through wells, driving turbines and generating electricity. EGS could provide up to 100+ GWe of economically viable capacity in the United States. This potential could supply green electricity to over 100,000,000 American homes, and represents a domestic energy source that is clean, reliable, flexible and renewable."
Excessively large buffers confuses TCP windowing. On network devices like switches and routers buffers are only actually needed for two things: internal switching/routing latency (which is usually constant and very small) and serialization onto output interfaces (which varies by input/output port speed mismatch and/or number of inputs multiplexed to one output). Handling network "burstiness" should be left up to the endpoint TCP stack or applications in the case of UDP. Ethernet flow control should be disabled unless you find it actually helps (unlikely).

On servers buffers have more work to do since the CPU may be busy with many other tasks. It is rare that I have had to adjust the default buffer sizes but keep in mind server buffers too large can increase jitter as well as confuse TCP windowing (depending on when ACK's are sent). Some applications may prefer that packets be dropped instead of queued for excessively long times.

The most important thing is to ensure that selective ACK's and window scaling TCP options are enabled. They are enabled by default in modern operating systems but you might be surprised how often they are disabled by clueless sysadmins. A common cause of this is/was buggy TCP offloading drivers where the apparent "solution" was to disable ALL tcp options instead of just TCP offload. Window scaling in particular is essential with modern port speeds.
Someone (I) should fork this and upgrade it to use generics.
security is often the opposite of functionality/useability.

"the most secure computer has neither power nor connectivity"

android has a lot more functionality than ios, hence it is less secure.
I don't think the mental step between C and assembler is that big. You got almost no constructs in C that does not map directly to assembler, like function overloading or classes.

The confusion starts when the optimzer throws around your code and makes it unreadable.
Putting things in relative like that (e.g. 30% more likely to be murdered) always feels like much - in reality, one doesn't know the variance. This is just putting the averages of two datasets in relation. If both have a very wide confidence interval, 30% suddenly loses meaning to me..
A lot of system scripts are written in python.
All of our good hires were through this and I'm not sure if there's another way to find good people so easily
The original Pencil can still charge no matter what case you use; this isn't true of the Pencil 2. I do prefer the grip and ergonomics of the Pencil 2 however.
Midnight Commander Tips and Tricks
There's a huge swing against literally anything crypto-related at the moment. I feel a big part of it is that big gaming companies pricked their ears up on the idea of NFTs and being able to own a marketplace sipping the cream from billions of microtransactions in realtime. Serious gamers really, really don't like that idea, having already been screwed down by DLC's, Pre-ordering, buggy and unfinished games, "seasons", "surprise mechanics" (literally gambling for virtual items).

The general consensus has spun around to being that anything crypto is a scam, elaborate ponzi/pyramid scheme, etc, etc. Bored Apes is a bit silly, NFTs could technically be used for so much more but that would require the right platform, and legislative support (ie the backing of society) to have meaning.

I think the cat is out of the bag tech-wise. I think you're right that improvements will be made - blockchain / distributed ledger / whatever you want simply exists now, and I doubt it will ever stop existing. Ignoring the tidal wave of criticism it faces now, some valid, some not, it has inherent technological advantages in cases where trustless, distributed, peer to peer transactional events need to be rigidly catalogued and visible to all participants.

I also think most of these positive advancements that will change the fabric of society yada yada, will require the profit motive to be eliminated completely, where maintaining a blockchain becomes something done for ethical or moral reasons like folding@home rather than hoping to ride the next whale's massive pump. It's kinda sad how desparate we all are for riches, billions of us but the financial incentive is the best motivator we could come up with.

But I digress. Prepare to be shouted down over the next few months / years for saying anything positive about any blockchainish-tech, it's all pretty well tarred with the same brush as NFTs and dodgey doge market manipulation at this point. It'll calm down eventually. It is what it is. Probably a well deserved critique of a concept that is still at a point equivalent to computers in the 80s vs smartphones today.

Give it time. People will find a proper use for it.
I went through diagnosis and was definitely "not autistic" and "not ADHD".

Personally I think I bounce between "intensely focused on one thing" and "consciousness widely dispersed, taking in everything" and that most people are somewhere in between.
It is a spectrum of course, but a 500 Euro out of pocket maximum is probably better described as taxpayer funded healthcare.

The US is pay $400 to $1,200 per person per month from age 0 to 64, and then pay up to $8,700 individual / $17,400 family per calendar year.

At age 65, the government starts paying for your hospital care assuming you or your spouse paid Medicare taxes for at least 10 years, and you then have to buy a nebulous blend of subsidized care / insurance for other things like medication, doctor visits, etc.
Maybe if you read UK leftwing media…

https://www.theguardian.com/environment/2017/jul/12/want-to-...
those entrepreneurs unable to host their fonts.
Some games simply used extra ram to hold the contents of, say, disk 2.
Reducing disk loading (and swapping!) was a big deal.
What is the reason for the rule objects have to be always in a good state even inside unsafe?
The Magic Mouse is the only mouse I've found that I can use for extended periods...

So this might be less a problem of general ergonomics and more than no design is going to work everyone.
> Windows is not vetting all apps

Actually, I'm pretty sure there has been some stuff that Microsoft signed, for which MS is paid (not 30% sure), that were malwares. But I'm too lazy to find it
Much prefer to open the app I use for all food orders and click 2 buttons to have it delivered. Using phone is a chore for many reasons:
- Could be engaged and I have no idea when to try again
- Having to explain anything over the phone sucks and prone for error
- It's inefficient to hire a guy to answer phones all night
I'll argue that things like this have nothing to do w/ the merits of refactoring in general and are usually due to poor project management.

A small team orchestrating a large scale refactor in isolation for over a year seems appealing to project managers because it allows that team to focus without interrupting the pace of feature development, but it makes it exceedingly likely that the output of that effort will fail for these reasons:

1. Evolving requirements. A refactor is a design that is focused on solving challenges _at that time_. Things happen over a year. A product grows, its supported feature set requires rethinking the nature of the domain, the pressures of scale force new considerations, teams get more rigorous about the kind of automated testing they practice, etc. A team that doesn't have a feedback loop into is likely to build something that may have worked for the system of a year and half ago, but no longer makes sense.

2. Lack of buy-in and knowledge sharing. In isolation, most software engineers tend to solve their own problems. Senior engineers often make assumptions about the knowledge of the rest of the team and about the coherency of their abstractions when they don't have to teach it to anyone or battle test it in any meaningful way. This is why collaborative processes like code review and pairing are often a huge win, but sharing these efforts needs to go farther and a team should be pushed to try incremental adoption and feedback until there's more confidence about a refactor. Large scale refactors should be chunked and interspersed w/ a workload that attempts to validate the success of the design (i.e. working alongside teams doing feature development to make use of the refactored design). And perhaps most importantly: the team working on this needs to have clarity on what it means to be successful. How do they know that their proposed design is meeting the needs of the team at large? Infrastructure, dev ex, or any team that is orchestrating something like this needs to think about their task like a product team, and "what does success look like" needs to be a question from the onset.
I am a firm believer in this and just using built in fonts in general. Users really don't care about fonts, they really don't. And if you really need a specific font for say a logo, use an SVG with the text converted to paths. But of course only do that in image type situations and provide alt text.
Just off the top of my head, OS updates are mandatory if you do any mobile banking.

Banking apps have mechanisms to check if there's an update available and not give access unless you install it. You then can't install the app update unless the OS is sufficiently new.
> If you have cancer though than basicall the market cannot find a price, and it would tend towards to: 'give me all you have'.

Yes it can... there is more than one oncologist in the world. Competition exists.

As for if youre talking about the chemo drugs, you don't have to use the latest-and-greatest on-patent treatment. There are now decades of drugs that are off patent. They may not be as good, but then again, it is your life so many choose to pay for the new better ones. If it was illegal to pay more for better drugs than they would never exist (and don't talk to me about government funding; not a single socialized medicine country has innovated any drug of value in the past 50 years, and yes, they do steal from us in the USA by taking our IP and not paying for it).
A better term would be dumb contracts.
Neil Young has certainly exercised his free speech privilege before:

https://www.theguardian.com/music/2003/sep/17/popandrock.nei...

Politically-speaking, its hard to exorcise the ghost of his 1980s pronouncements, when he swung hard-right behind the Reagan presidency and lashed out at gays ("you go to the supermarket and you see a [censored] behind the fucking cash register, you don't want him to handle your potatoes") and welfare spongers. "Stop being supported by the government and get out and work," Neil advised. "You have to make the weak stand up on one leg, or half a leg, whatever they've got."
Linux daily updates takes about 15 seconds (if you are on Arch) and can be done whenever you want.

Maybe that should be called a feature now in 2022, when comparing to Windows getting worse and worse.
Ouch hard lesson to learn. I burned some ETH earlier this year trying to buy SHIB for shits and giggles.

This is a problem that needs to be figured out before crypto can go mainstream.
> you are protected from expenses above $17.4k per calendar year per family.

Given that this applies to in-network costs only, as you noted above, it seems very inaccurate to describe it as genuine protection. Any random provider in your current care situation can be out of network, it is very hard to know or have any control over especially in a crisis situation, and it is these providers that usually end up billing you through the nose.

It would be irresponsibly misleading to call your life insurance "protection" if the insurer just rolls a dice or consults the day of the month to determine if they'll pay your claim.
From what I can tell, the underlying issue is that everything is spaghetti code written in a dynamically typed language.

Ignoring that, it's nuts that the best practice is "send a little money, and see if it works". Apparently they don't even have a working transaction simulator that just runs the relevant logic on your laptop so you can see what it will do.
Having `import "github.com/liyue201/gostl/ds/array"` in codebase looks weird and unsafe. Like, who's liyue201 and what exactly I'm importing?

Vendoring helps a bit, but it's still ugly.

Same problems exist in other languages, although "import numpy as np" doesn't explicitly say that you're importing a random head from someone's master.