skysight-inc/HackerNews huggingface dataset:
I’m not sure I agree. If signed overflow is UB, loops like this can be optimized the hell out of. The most obvious way would be to unroll it and eliminate the loop (and loop variable) entirely, but you can also do things like vectorize it, maybe turn it in to just a small number of SIMD instructions. The performance gains are potentially enormous if this is in a hot loop.

With your magic int that traps on overflow, you couldn’t do that if the compiler was forced to rely on that behaviour. This is exactly why signed overflow is UB in C, and I don’t think that’s an unreasonable case for a language like C.

To be clear, my point is that this program is incorrect if overflow happens regardless of whether overflow is UB or not. So you might as well make it UB and optimize the hell out of it.
> - Bluetooth issues

Aren't they rewriting this thing in Rust?

> - Camera is hit and miss, even after the renewed API

Give it time. CameraX is already vastly better than what we had before.

> - Apps randomly killed on the background

Up to OEMs.

> - Intents that don't launch as expected

?

> - NDK debugging that cannot attach to the server running on the device

Welp.

> - Keyboard handling

Fixed.

> - Perfectly working code that needs to be rewritten just because

?
> With relatively few exceptions, if your program hits undefined behavior, then your program was already doing something pretty wrong to begin with.

The author claims:
“We have the absurd situation that C, specifically constructed to write the UNIX kernel, cannot be used to write operating systems. In fact, Linux and other operating systems are written in an unstable dialect of C that is produced by using a number of special flags that turn off compiler transformations based on undefined behavior (with no guarantees about future “optimizations”). The Postgres database also needs some of these flags as does the libsodium encryption library and even the machine learning tensor-flow package.”

So basically the programers of the most used C programs consider the C standard so broken that they force the compiler to deviate from it. (Or they are not able to do things right?)
What’s the likeliness of this happening? The greateridaho.org website says this has happened before, but at a smaller degree. Is this legal, or just symbolic?
That’s actually pretty simple if you can live with centralization ... just certify CO2 offsets for example for each coin purchased. Then again ... what’s the point of putting that on a blockchain?
Try kinto:

https://github.com/rbreaves/kinto
MTV Europe used non-native speakers in the 90ies, they would be understood across Europe. Native speakers pronounced 'better' but less pronounced.
I use crypto to do international transfers to Argentina. It's cheaper. I also get a way better rate that way. I try to do it as fast as possible due to the quickly changing rate you mentioned.
I initially thought it was some agricultural issue similar to palm oil farming but for chia seeds.
You don't have to upload the plot after you have a verified proof. You do have to pay to store it, though, and that can be pretty expensive on AWS. If you just plot on AWS and store the plots elsewhere to save storage costs, you have to pay outbound charges on the plot files.
Chia isn't worth farming anymore.

I have a pile of old spare 512GB SSDs and it looks like I would able to make something like $2/day. Not even enough for a coffee.

Same with Ethereum. Tried to mine with my Titan V. 31 MH/s. Also not even enough for a coffee.

This is meaningless, and cryptocurrencies are effectively centralized around mining farms with ASICs.
Most people on AAA studios certainly know Jonathan, if nothing else for his contributions at GDC.
Why comment with an incorrect statement on something you don’t seem to know much about? Most proof of stake algorithms allow people to delegate coins to validators who run actual nodes. The coins are still in control of the user, but they will lose some if the validator they have delegated to misbehaves.
Why RISC-V doesn't yet support KVM
Eating weed is IMO a completely different experience than smoking it due to a different onset experience. But fair enough, it might not be as damaging. It could be though, when one eats weed it's almost never a light dose. When one smokes a joint you can do a very small puff. Since the onset with space cake is like an hour to 90 min. you can't really do light dosing.

The first time I took space cake I almost got kicked out of a nightclub because I couldn't handle it (in Amsterdam). Space cake is always such a hell of an impact. Taking one puff isn't.

But I guess one could research all of this and find a way to make it so that you can dose quite well and not take the lung damage. In that case, it would seem fine to me.
Arithmetic on pointers in turn is only defined if the pointers point within the same object (or right past the end of that object).

One example of using intptr_t would be going from a pointer passed to free() to a metadata block for the memory that must be freed.
What does "work" mean?

Compliance?

Net happiness of the people?

Other?
I use Lithium in Android. Has this feature.
Transactions under $10k that are performed in such a way to move more than $10k but keep from the reporting requirements for bigger transactions are structuring, not just any transaction under $10k is considered “structuring”.
its "gamer" like "video game player". not an acronym.
Sounds like a pretty authentic engineering experience then.
I think "support from society" along the lines of the examples you have given is part of the problem. People need something meaningful to do. I'm not trying to put forward a position of governments role in healthcare and housing, just saying they wont make the problem go away.

There is a lot in the article I dont agree with, but the point that we need an outlet for human nature, basically to be part of something, I think is solid, and I don't think its solved with handouts.
I don't know if you've lived in a lot of these places, but most of them are utterly dependent on those population centers to meet their basic medical, financial, and infrastructure needs. The cores in turn need resources from the peripheries to sustain themselves. There's no reason any of this has to be oppositional, except that the rural counties are pissed off about elections and lockdowns right now.
WSJ have a site for this at https://aiportrait.wsj.com/.
Which Thinkpad? I want to find a use for my old Thinkpad T42p, however its disk does not work or it's the IDE controller or the plug. I still wonder what to do with it.
They'll be surprised first by the fact that they can't actually do this on their own—AIUI, it would require Congressional intervention to reassign land from one state to another.
You just take the current fair market value of the assets in question. You realize the gains on the asset you are selling, and you start your cost basis on the asset you are buying. Now thats easy for liquid crypto markets, its harder for when you are trading a paperclip into a house. At the end of the day, you self declare and you do your best to justify yourself. If the irs has a problem, they will let you know.
Tactile controls and an empty double-din slot to allow me to fit in whatever third party media player I choose. I don’t want <car manufacturers> bug ridden “radio” thank you very much.
This is a very closed minded view. Just because you and most people in the USA don't see a use outside of speculation, there are many suffering countries that find great use in Bitcoin as an escape from their crumbling currencies. Check your privilege.
if you're not using it,... want to sell it cheap? ;-)
Mechanical multiplication is easy: https://en.wikipedia.org/wiki/Sliderule

See more generally: https://en.wikipedia.org/wiki/Nomogram
“Wall of Shame” culture in my team
Metrics and life – What have we done?
I would love to see the data, but from the data I have seen, the data conflict with the popular (populist) narrative. A lot of people in America seem to believe that the hardworking "real Americans" in the middle of the country are subsidizing the poorly-run coastal liberal enclaves. In reality, the money almost always flows in the other direction; taxpayers in cities are subsidizing the rural-dwellers. This has nothing to do with work ethic, it's just a hard fact that a lot of costs scale with square miles instead of with people (roads, emergency services), and that lower cost of living in the country leads to lower incomes which lead to lower tax revenue.
They are not completely wrong. Crowdfunding a product is not the same as purchasing that product because often people only decide to donate because the resulting product is free. (For example, I give $5 a month to Lichess, but I am unwilling to pay for a Chess.com subscription.)
To a mathematician, wrapping 2^n+1 back to 0 is a lot more intuitive than wrapping 2^n to -2^n.
Mathematically the two systems are largely equivalent.
They are equivalent when considering addition and multiplication. Both implement arithmetic modulo 2^n+1.

However, the canonical representation of this system runs from 0 to 2^n+1. Hence, if you were going to make one kind of integer overflow, and not the other, C made the correct choice.

That leaves out the question of whether the difference between the two cases is significant enough to have a difference in how overflow works.
We're living in a post scarcity world? Really? So if all the people who worked to get food on your plate just stopped it would all be fine? Thats just one example and the list of exchanges required so food just appears in the super market is too long for me to even begin. Take any other product you use and it will be the same. No idea how this is post scarcity, all of this thing called the modern world takes work, it's not magic.
That's a great idea! We could maybe set up an optional deposit in the app to be used if someone forgets to pay their share. To deal with this in the app at the moment, we have a tonne of useful notifications reminding everyone to pay their share and an autopay option. But I definitely think your suggestion will come in handy as we scale.
I was looking at that but saw so many reviews stating that the rear speaker connections didn't work well and got scared off. I got a sonos arc and speaker set instead.

My setup runs to a projector with no eARC support. I found this thing which splits a signal directly from source into two paths with eARC support. Haven't tried it yet, but optimistic that it'll work.

https://www.amazon.com/HDFury-HDF0160-Arcana/dp/B08DF7GRCB?r...
>One of the things I periodically mentally noodle with is, what would the world look like if it was a lot easier for units to choose what larger units they would aggregate into?

This sounds like the idea of voluntary association, one of the cornerstones of anarchist philosophy. I don't have much more to add, but many other people have spent a lot of time "noodling" the idea and you may find it interesting.
I can firmly say this does not match the United States at all.

Occasionally you have a need for an iOS dev, but outside of that Mac's are not used professionally.
We use Front – team situation handling a lot of email, well worth it. No doubt a lot of providers have exactly the same features, but unless we'd gain something drastically better from switching it's not worth the hassle.

One under-appreciated feature: commenting on emails is incredibly powerful.

Now when I use Gmail, I find myself wanting to comment "paid" on bills, or "waiting for Dianne to call back before I book the event".

It's one of those simple things that make your life so much easier: when your inbox acts as a de-facto to-do list, having the status and next steps clearly visible makes everything stress free.
> Does anyone else get just a little bit sad that we will not be around to see actual practical advances made with wormholes?

Thing is, I felt sad when I heard about IP the first time, and some people said we were gonna have a huge network everyone can talk with each other, across borders. Because I thought we'd never achieve that in my lifetime.

But here we are, things move a lot faster (sometimes) than what you think. Maybe because of the inviting incentive of basically teleportation, research on wormholes will be faster.
If we'll figure this out, we'll (very) probably also have figured how out to calculate the effects of communicating with the past.

So, no. This doesn't tell us anything about the possibility, it merily tells us, even if it _was_ possible, we're collectively to stupid yet to deal with it without destroying our future which would've led to inventing such a device.
Did you ever use Glass? The display was really too small to get work done; I would describe it as identical in functionality to a smartwatch, just on your face instead of wrist.
>I'm not sure what you're referring to.

In the sense that any modern trend (let's say 1920-2020) isn't old enough to really compare to something that's truly long term. It's to early to say. That, and we all have to deal with Historian's Fallacy.

I also have to say that I think that most of the Earth's land surface has more value as real estate (above and below ground) than it has as some sort of tech/people stack.

I freely admit that German is less likely to invade France (or France to invade Germany or Russia or Russia or Italy for that matter) in the modern era...assuming that wars are fought for purely profit-seeking motives.
Refcounting has glitches as well.
Taking of advantage of yield farms where 5-20% APY is the norm and a relatively safe place to hold stablecoins.

DeFi space is growing fast and has real-world applications. Compound, Curve, Synthetix, Maker, and Internet Computer are a few of the DeFi promising protocols.

Holding Bitcoin is not necessarily a bad store of value. https://casebitcoin.com/
What you need is a "seller". You seem to be a "builder" type. Most successful businesses have a "seller" and "builder". Find someone with very strong marketing skills and tell him you build.
Bonus is that you can do this with a table - with body under the table.
This defeats the purpose of disincentivizing adversaries who want to steal coins from other participants. The stake/spacetime/electricity isn't wasted; it is used to establish global consensus. You can't redirect those resources into "doing some real good in the world" the best you can do is to allocate resources directly to your good cause rather than trying to magically get the good done for free.
Why? You can mine cryptocurrency using solar energy.
Or once the new feature is paid for... then release it.
Someone has paid for your time (to develop the feature).
They get their feature, (which they need enough to part with money), the community gets it too (whether they need it or not)

It doesnt benefit from the massive scale revenue, but if it's paid for your time...
Here is the website for one of the groups pushing for this: https://www.greateridaho.org/

Taxes are just one part of this. They list these other issues of concern:

> 1. American Values: Oregon will continue to violate more and more American values and American freedoms because normal rural Americans are outnumbered in Oregon. Not in Idaho. Addicts will be attracted to Oregon from all over the world by the 2020 drug decriminalization law.

> 2. Law and Order: Oregon refuses to protect citizens from criminals, rioters, wildfire arsonists, illegals, and the homeless, but then infringes your right to defend your family with firearms. Idaho enforces the law.

> 3. Low Tax: Idaho is the state with the 8th smallest tax burden, and Oregon ranks 33rd, according to https://taxfoundation.org/tax-freedom-day-2019 . Combining all taxes together, including sales tax, the average Idahoan pays $1722 less in taxes per year than the average Oregonian. That’s averaging together every adult or child, employed, retired or unemployed. And cost of living is 39% higher in Oregon than in Idaho. Oregon tax rates will continue to go up due to a lack of willingness to control spending.

> 4. Safety: Idaho allows forests to be managed to prevent destruction of housing from huge wildfires.

> 5. Thriving Economy: Idaho has less regulation than any other state, low unemployment, and would allow our rural industries to revive and employ us again.

> 6. Representation: The ruling party in the Oregon Legislature doesn’t have a single representative from a rural district or from eastern or southern Oregon, except one Ashland representative. But our reps would be in the ruling party in Idaho, where our concerns and needs would be heard.
Making Maps Out of Emojis
> you get a public pension that you and your employer have paid into the system (of course, it pays the current pensioners)

In the US we call that Social Security.
https://www.robertreeveslaw.com/blog/children-support-parent...

The interesting part is how they're not applied. There are federal statutes that are more specific - and only two states have used these laws within the last 20 years.

There are only extreme corner cases where you need to worry about this.
> "Is this open source? Today no, but the API will be open source to developers at GA."

If they make it Open Source, Microsoft will add it to VScode and eat their lunch.

If they don't, developers might be afraid of lock in.

Best exit for them is to just grow users and not make a decision either way until they get acquired by Github (aka Microsoft) and folded into VScode.
>"The tapeworm-laden ants didn’t just outlive their siblings, the team found. They were coddled while they did it. They spent their days lounging in their nest, performing none of the tasks expected of workers. They were groomed, fed, and carried by their siblings, often receiving more attention than even the queen—unheard of in a typical ant society—and gave absolutely nothing in return."

I wonder if there is a human equivalent tapeworm that the Kardashians have ingested?
He hasn't really done much—or completed anything—since selling Minecraft. At one point, yes, I'd agree, but I don't think that is the case anymore.
I couldn't have said it better myself. Completely agree that a lot of these people doing these heinous acts are mental but the media is pushing another narrative, pretty silly and nefarious. I'm as angered as anyone from the Asian community when I see a cowardly attack on the elderly, but the media is making it seem like it's all pre-medidated racism. But take a walk in Harlem or the Bronx and nobody attacking Asians, yet it's a pandemic.
Meeting in person and regularly is extremely underrated.

This can happen also within a single culture. When two companies do some business together but instead of meeting often and talking directly (or zoom), spend weeks to carefully craft emails and never talk face to face.
Farming: you hold massive (101GB) bingo cards of mathematical proofs on your hard drive. When you receive a challenge, you first do a pre-filter on your bingo cards to see which of them could contain a proof. Within that filtered list, you find the closest proofs. The peer with the closest proof available wins the challenge and [currently] gets 2XCH.

Plotting: you fill your free space with bingo cards. You need 300-400GB of free temporary space and TBs of writes in that space. This uses a lot of compute and eats SSDs for breakfast.

Once you have filled your space (assuming you don't go out and buy more disks), you can stop plotting. This is where the claimed "greenness" of Chia comes into play: you eventually stop using compute resources. Of course, there are whales who are adding drives to their servers daily.
Totally! I am familiar. Have friends and family in the region.

I come to visit them as the tree hugging, bleeding heart, gun toting lefty from lefty central.

Always good laughs. Fortunately we have a good culture on politics. No worries. Not everyone does, and I wish it were more true. Can get along just about anywhere really.

Wonder if the Ford electric F150 will see rapid adoption in that region?

Ford got almost all of it's priorities right. The big screen is a mistake, like delicate work truck type, but maybe the great package overall is not impacted.

I will be curious to see that play out.
Five Productivity Trends to Watch
I'm keenly aware that I know next to nothing about biology, but I was wondering about something:

If I understand this article correctly, the cicadas that were infected during the last cycle can't impregnate or get impregnated (because, as the article puts it, their butts fall off). However, they can and do infect other cicadas. Shouldn't this this result in every cicada that can get infected getting infected eventually, at which point the population dies off after the next cycle produces no baby cicadas?

If so, is the ideas that this is a new fungus, or new behavior, not something that's been around and been at some kind of equilibrium for 1000 years or something?
> Proprietary Clients: You cannot use your own email client to access Hey. The stated justification for this is just lazy imo. Even Gmail which launched with a then unique labels and smart organization still allows IMAP support. The Screener could very well have been a mapped IMAP folder, and you could just move to Inbox to accept new emails in. When you build on top of an open protocol and then refuse interoperability, it reeks of an old Microsoft playbook.

I’d actually flip this around—I don’t see any reason Hey couldn't and shouldn't just be an email client, which could work with any existing service.

Unless it's a strategy to lock in users. No deal for me, thanks.
Depends on what you are buying - relative prices of various goods change over time; many are critical of things like CPI as being a stand in for inflation for exactly this reason

Example:

1970 corvette: $5,192.00 (Coupe), $4,849.00 (Convertible)
2021 corvette: $59,900

>>> int(10000 \* (59900 / 5192))
115369

so, using 'a corvette' as the 'basket of goods' has a ~65% higher inflation rate than the inflation calculator, vs for the big mac:

>>> int(10000 \* (5.66 / .65))
87076

which is ~24% higher than the 70k you mention.
They are multiplying the size of a wine glass by the ABV of red wine, the size of a shot glass by the ABV of vodka, the size of a pint glass by the ABV of beer... it's all estimation, but it's what they've got.
Coming from rather bulky DSLRs (e.g. Canon 7D), the Ricoh GR III was a game changer for me.
The camera has a superb image quality while easily fitting in the front pocket of my pants, which allows me to carry it each and every day.
That availability allowed me to take many shots I would have missed with my bulkier cameras as I would have left them at home.
The development presets it brought luckily meet my taste, which allows me to skip development on my computer most of the time (I still shoot RAW and jpeg combined for the other times).
The designers have put much effort in enabling one-handed handling of the camera even in manual mode.

Many current generation smartphones come with capable cameras, though, and I expect many not to see the benefit in this camera for their needs.
We will have a WASM build, yes. Mainly for running in the browser or on platforms we don't build for. In our tests so far, it is significantly slower though (e.g. ~30%) so it's a tradeoff.
I also hold USDC earning interest, but I also am very aware there are risks. However, risk should be obvious since I am earning 8.6% APY.
Show HN: My interview with freeCodeCamp on the basics of machine learning