skysight-inc/HackerNews huggingface dataset:
No, the point about unsafe is not just only those fancy few low level implementations thst Rust language has no concept for, but proper high level data structures you cannot realize safe?

But even then, what's different limiting to the safe subset of C++ (haha yeah I have to chuckle a bit) and declare the dame for the necessary unsafe parts there? I really dont get it it seems ;)
My Aha moment came when I built my first toy application using a layer approach. The data access layer, the business logic layer, and the UI. That moment came when I realized how these things come together. This is such a powerful concept; to successfully build a complex application requires the ability to integrate simpler abstractions.
We're not arguing about the US or the UK here. Mainland China is the topic.
> there can be information critical to styling a webpage that lives outside of the HTML alone

There... shouldn't be? I'm kind of missing the part that explains why you'd need this? Are there any concrete examples where "I need the headers and/or URL" lets you do something that you can't already do by making sure your document has the information it needs, in the document itself? (if you need URL-specific CSS, you just... load more CSS...? You template in the necessary <link> elements because your server knows which URL is being requested?)
> I had every rank from the first guess and then had to use two more guesses just to find the appropriate suits

Exact same.

I will be interested to see how other puzzles compare.
Are we talking about the same Land Cruiser? In my home country, Indonesia, Land Cruiser is a luxury car. It sounds like in US or other countries it's like Honda Civic level.
Sniffnet is a cross-platform application to monitor your network traffic with
Apple restricted AirDrop capabilities in China ahead of anti-government protests
Other than for meat, growing plants for burning uses up a lot of space: wood for burning, biogas, bioethanol and biomethanol. Around 13% of agricultural land is used in Germany for producing biogas for instance. Photovoltaics uses 1/30th of the land.

No new research is needed for this, one would simply need to phase out mandates and subsidies. The money is better used by putting them into the alternatives: Wind and PV for electricity production, heat pumps and electric vehicles for consumption.

Biomass only makes sense if you're using waste products or if you need the carbon like in the chemical industry.
Show HN: I made a tool to find bottleneck and missing index
Why are you comparing it to a hybrid? And not ever the right Toyotas.

4Runner - 17, tacoma - 19
No, they actually aren't. The heat flow that powers Yellowstone is roughly similar to the one that powers Mauna Loa.

The difference is that Hawaii hotspot is constantly erupting, and has produced roughly 6000km^3 of new rock in the past 650 kyears, which is how long it is from a proper Yellowstone supereruption, while the Yellowstone hot spot just builds and builds material and heat, until it finally all goes off at once. This is what's believed to be the difference between supervolcanoes and normal ones.

There has been volcanism on a much larger scale in the past (see: large igneous province), but they aren't really volcanoes in the sense we understand them, and are not related to supervolcanoes.
If UB happens¹, anything can happen. So if the check can only happen after UB, or leads to UB, it can be removed. That isn't the case in your example – testSomeState() can return false (and if it can't, it getting optimized out is unrelated do the code it guards). Points 14-16 from the article are just nonsense, UB is a runtime concept and dead code doesn't run unless you already triggered UB¹.

¹or is guaranteed to happen in the future
Being Dutch, it's most things be default show Dutch subtitles and I'm used to them. Watching Cyberpunk: Edgerunners on Netflix, however, I had to turn them off. They were too distracting, and the content of the subtitles was just too different from what I heard. I forgot if I switched to English closed captions or just turned them off entirely. I'd never before had subtitles be that distracting.

Frequently, though, subtitles reveal sounds that are impossible to hear from the sound. There might be some inaudible background muttering that I don't even know it's there, but the subtitles tell me what it is, and I'm left wondering where it comes from. Do people watching without subtitles just miss that stuff? Are we supposed to watch everything with high quality headphones to pick up these details?
I hate how accurate this comment is. Without going too far with examples, PGP exists, but using it is simply harder so most people default to an easier email sending.

Now.. the question remains as to whether it would be the same, if it tech was not made so accessible ( some people would be forced to learn since the bar was high ). I mostly think that battle is already lost.
Some of the AVX512 instructions are nice additions though, even if you only use it on YMM or XMM registers. All the masked instructions make it much simpler to vectorize loops over variable amounts of data without special treatment for the head/tail of the data.
https://archive.ph/MjWoP
I talked to an employee that left last spring. She said they had literally no idea what they were doing. The founders are just ivy educated 30 year olds. So they decided to just start hiring everyone they could from paypal, to move into "blockchain payments". They paid huge sums. The directors there had no experience ever managing huge teams of people. It was a giant mess of unqualified people funded by cheap capital.

She also said the money movements on the blockchain facilitated by BlockFi were done manually by blockfi employees. The software was a facade and wasnt trusted for large sums of money
> Worst case Musk will run Twitter to the ground and people there will find work elsewhere.

Yeah, that would appear to be what's happening.

> So why all the hate?

For all its many many flaws, I personally enjoyed Twitter, and it was useful to many people. It is irritating to see it ruined by an idiot billionaire.
> Is there any easy way to correct for HN traffic?

Hmmm I have a couple ideas, but nothing simple w/o some longer scraping or being able to find HN traffic data elsewhere.
A local fried chicken restaurant calls their spiciest chicken WNFA (we're not fucking around), and it's exactly as it says on the tin. When I have enough of it and I've gotten past the initial "why am I doing this? this is stupid, I should stop," I genuinely experience a form of euphoria. The next day is sheer hell though, so I don't do it often. And that's how boring my life is, occasionally eating fried chicken to get mildly high.
If anyone asked me this I’d be kind of confused. If they really don’t know how choosing Typescript over Javascript benefits them I don’t want to hire them.
That’s easy to say, but that’s going to make those companies uncompetitive. Look at how fast FTX overtook Coinbase, a long established player that - as far as anyone can tell - isn’t doing anything shady.
They could be fake Russian bots. It wouldn't be the first time Democrats prop up fake Russian bots that are really obviously Russian bots and are saying things in favor of the Republicans.

https://heavy.com/news/2017/10/roy-moore-alabama-twitter-rus...

https://siliconangle.com/2018/12/26/reid-hoffman-apologizes-...
> Is this a convention that compilers follow, or are intermediate object files required by the C standard? Does the standard say much at all about intermediate and final binary code?

The standard only says that the implementation must preprocess, translate, and link the several "preprocessing translation units" to create the final program. It doesn't say anything about how the translation units are stored on the system.

> This keyword is funny because in a global scope, it reduces the scope of the variable. But in a function scope, it increases the scope of the variable.

Not quite: in a global scope, it gives the variable internal linkage, so that other translation units can use the same name to refer to their own variables. In a block scope, it gives the variable static storage duration, but it doesn't give it any linkage. In particular, it doesn't let the program refer to the variable outside its block.
Real life mileage is always a lot less than advertised.
I've got my eye on Cpp2... Herb says he isn't interested in making it an official language but I suspect that once it stabilizes it will be an attractive migration.
Thank you for setting that straight. The more I read through the answer, the more ludicrous it became.
- "Some as-yet unidentified process is replenishing the star's isotopes. An idea I've seen[1] is that the radiation from its neutron star sibling, invisible to us, is powerful enough to trigger nuclear reactions in the star's ionosphere."

Seems that idea's been excluded since then (?)

- "The big problem with this is that these are sharp lines, so we can measure radial velocities to Przybylski’s Star, and it does not have a short period neutron star companion."

https://sites.psu.edu/astrowright/2017/03/16/przybylskis-sta...
> Also if you hit someone you are safer.

Also if you hit someone they are safer, more to the point.
> initialized values by default

Doesn't the Linux kernel zero out memory pages that are accessed by a process, before they've been written to?

I guess it doesn't matter, since the larger concern is that the process could accidentally read its own freed blocks....
There are some complicated UBs that arise when casting to different types that are not obviously logic errors (can't remember the specifics but remember dealing with this in the past).
I’m happy this worked for you. This in itself is an interesting anecdote about documentation quality. I knew this API existed but forgot the exact API and searches for “caching SwiftUI rasterized view” and similar queries did not return this API (which, for the record, isn’t exactly what it does…) . I eventually found it in a roundabout way but had I not been pretty sure it existed, I would probably have given up.
The US military wants to understand Linux
Show HN: Virtualform – An ultra-fast, responsive virtualization engine for React
Honestly if every single one aside maybe from the last turned out to be true I wouldn't be even slightly surprised
There is value, in that a generation of moderately wealthy idiots got convinced that monkey pictures are worth something.

Like a cult brainwashing, they have attached their identities to those worthless pictures and now are trapped in greedy stupidity.
As fertiliser for algae or in a direct chemical reaction that reacts with the CO2 in the water?
Apple restricts AirDrop file-sharing in China that protesters have used
On the other hand, you can now virtually guarantee that a GPGPU is present on Intel consumer chips. So now you can write your code 3 times; no vector acceleration (for the really old stuff), AVX-512 for the servers, and GPU for the consumer chips!
Wow nice, I didn't know about this one. I can add some more which are less known. This is my current sanitize invocation (minus the addition of "integer" which I'll be adding, unless one of these other ones covers it):

-fsanitize=address,leak,undefined,cfi,function

CFI has checks for unrelated casts and mismatched vtables which is very useful. It requires that you pass -flto or -flto=thin and -fvisibility=hidden.

You can read a comparison with -fsanitize=function here:

https://clang.llvm.org/docs/ControlFlowIntegrity.html#fsanit...

There's also TypeSanitizer, which isn't officially released, but is really interesting and should be able to be applied via a patch from the branch:

https://www.youtube.com/watch?v=vAXJeN7k32Y

https://reviews.llvm.org/D32199

$ curl -L 'https://reviews.llvm.org/D32199?download=1' | patch -p1
And doesn’t come in manual anymore :( I miss my 3rd gen
I can understand wanting a term for the specific kind of grift we see with crypto.

Making it such that "crypto scheme" or something like that is the new term for this chicanery would be nice. Clean, obvious, and appropriately stigmatory.
It is part of what they were doing, part of their investment strategy to grow the funds that were invested with them was to nfts such as "cryptodickbutt #1462". Look it up if you don't believe me.

Yes, I'm sure that Terra/Luna was a big part of it, and you're right that it's worth calling out, it may even have been the single biggest factor. But it wasn't the only way 3AC squandered invested funds.

Perhaps Terra/Luna should be called out as the first domino to fall, it was indeed spectacular. If it was a ponzi it was a complex one with extra steps, an algorithmic stablecoin that was metastable at best, and IIRC a lending protocol that charged less for loans than it paid for deposits. All sorts of crazy.

But 3AC still invested in dickbutt...
I’ve only really intentionally made a close friend one time. However, my longest closest friend was not that way. Him and I bonded pretty much immediately after getting into a fist fight on a high school wrestling mat during practice and our coach had to separate us. Now he’s been there through most of my achievements and I his. Good guy, doing a PhD in chemical engineering at Case Western now.
VC wealth redistribution
I mean have the same in memory representation in both languages such that no serialisation or deserialisation happens in either direction across the boundary. Fast but difficult to implement.
new cars are in many ways more reliable for the first say 100,000 miles or 6 years (that is why most new cars come with a 5 year / 100,000 mile warranty where they used to be much shorter)

However after that point, when they become unreliable due to age they become economically unfeasible to maintain due to their complexity. This problem is increased as car technicians become more in demand and as such increase demand higher wages (which they should get)

For example, changing the head gasket on a old chevy 350 one could do easily in a weekend with no special tools, on a more modern engine? Good luck. You probably have to take 1/2 the car apart just to start disassembly of the engine, and will cost several times more than the older engines to have done in a shop, often "totaling" the car

Long gone are the days for a car to have 4 or 5 owners over a 30 year serviceable life, Now they are going in to the junk yard to be parted out after their 2nd owner and maybe 10-15 years of serviceable life

And very rarely do we see or talk about the environmental impact of that. I shutter to think what is going to happen to all the BEV that will end up in the junk yard where ever component on the car is serviceable except the battery which costs $25000 to replace on a car worth $15,000
> BlockFi has said it had “significant exposure” to FTX and its sister company Alameda Research LLC, including taking a $400 million credit line from FTX U.S. that also gave FTX an option to buy the company.
>
> BlockFi was one of several struggling crypto firms that signed deals to be rescued by FTX in the past months. The agreement is now in jeopardy as FTX itself sorts through its financial trouble and is subject to federal and state investigations.
>
> It also holds assets at FTX.com and made loans to crypto trading firm Alameda partly secured by FTX’s FTT tokens.

https://www.wsj.com/articles/blockfi-files-for-bankruptcy-as...

So FTX lent money to BlockFi, and BlockFi lent money to Alameda, and Alameda owed money back to FTX? And BlockFi's money was stored on FTX and denominated in a "currency" that relied on FTX's performance for value?

This all lends credence to the theory that we instinctively knew was true: SBF was just doling out money to crypto firms in the spring to prop up the system a little longer, but ultimately it all relied on users injecting new money into the system.
Anything that involves a government benefit that is out of scale with what people can pay out of their own pocket will become a nexus of corruption and distort the economy. That's practically an axiom of political economics, but politicians might wake up to it in 300 years or so.
> Many office workers spent some 50-80% of their work hours on overhead (meetings, email), leaving very little time for actual focused tasks, things that actually need to get done. When you work one day less, you just optimize the overhead part whilst still outputting the same net productivity.

If it were that easy to cull out the overhead it'd be done by now in the existing 5-day week.

I can see no reason (and none is presented in any of the comments) why moving to a 4-day week will suddenly reduce pointless meetings. It's asserted as fact multiple times, but it isn't.
I'm assuming you mean fried chicken: you should only eat food chicken, not friend chicken.
Eh...I think the term "MMORPG" is incorrect. It was clearly in the vein of the original Diablo (and they're not at all shy about admitting this).[0] Even though the lobbies may have been "massive", each local game-room was still capped to 4 players.

[0] https://en.wikipedia.org/wiki/Phantasy_Star_Online#Concept
BlockFi files for Chapter 11 bankruptcy protection
They have the same “keep you alive” clout which is arguably much more important in diving.

There are also thousands of cooler things that would bring you more views than an AWU in any typical tropical dive.
Move to a state with no Inspections.... (hint they are all colored Red on the Electoral map ;) )
Eh. Words are going to word.

People conflate ponzi schemes and pyramid schemes as well.

However, I'm having trouble finding where it is not. Money paid out must come from new investors. If I buy crypto for $1, I need someone willing to buy it for $2 to make money. My returns come not from any utility, but from more people investing in it.
There is a thriving trade in older and used land cruisers which are more bare bones but known for their reliability.
But why? Why is HDR worse?

I really don't get why they make this stuff so impossible to watch. Some TVs do have different visual modes ("games", "theatre", "movies"), but nobody ever switches those modes when using the TV for something else. And I only check that mode when things are too dark, and it always turns out it's already on the brightest setting.

Can we just agree that unless the TV is set to "theatre" mode, everything needs to be visible in normal daylight?
> Separate "Issues" and "Requests", give each their own tab in the top-level UI. This creates a relatively clean separation between what requires attention because something is broken and what can be ignored until you want ideas for what features can be added or otherwise improved. Maybe GitHub doesn't need anything more generic than this.

And then we also need to separate tab for discussions and questions since those are also very common use cases for issues.

> Have a category system, where the maintainer can create their own issue categories. Put these categories, with the number of entries in each category, in the sidebar, so that that's what people see rather than the one "Issues" number.

The only part of this that doesn't exist is a tab that links directly to the labels page, which does show the number open/closed issues per label

It seems like the problem you are trying to solve is potential users quickly dismissing projects with too many open issues. I would agree that looking just at an open issue count is not the best way to assess the health of a project. I think you are better looking at open issues will un-merged pull requests and why they aren't merged. You can also look at a sample of open issues to see how organized and responsive the developers are and what types of bugs tend to be present. All of these require far more effort than just clicking over to the issues tab and then clicking into the labels page to see a breakdown of open issues by label. I would say that users that don't take the effort to do this basic research of before pulling in a dependency aren't the high value users that will help contribute to the value of the project.
Ask HN: Many SaaS tools does your website use and for what
These days, websites are using way too many SaaS tools for analytics, advertising, remarketing, etc. The reports I'm reading quote alarmingly high number so I thought why not ask amazing entrepreneurs and devs here, how many SaaS tools does your website has integrated? A rough figure would do. Also it would be good to discuss, how does the future looks like.
It doesn’t require any conspiratorial thinking. If the math says that the company will lose sales to higher-margin products by offering low-margin ones, it’s a simple calculation to make the most profitable choice.

Of course, potential consumers could switch to a cheaper product from another manufacturer — in a sufficiently free market the unfulfilled demand for the low-margin option should be enough warrant a new entrant if the market is big enough.

TLDR if enough people wanted a simple car, someone would make it even if the existing companies don’t want to.
> Regulators have been slow and ineffective when it comes to crypto, which has lent itself to the crypto v SEC narrative, but all the adults in the room known there is a need for some regulation

It's a "damned if you do, damned if you don't" situation. Mainly because of the outsized lobbying power of the wealthy folks backing VC's backing crypto.

Clamp down on crypto with regulations and many, many wealthy political contributors are going to be pissed off by stifling growth. Don't clamp down and you get the situation we're in now where everyone is losing their shirts.

What about the middle ground? I think we can only now talk about it because enough wealthy people also lost big chunks of their investment in these last few months.

BTW, despite whatever implied connections to FTX Gary Gensler has, his series of talks at MIT on blockchain[0] technologies leads me to believe that there are few people better equipped to navigate this from a political perspective.

[0] https://youtu.be/EH6vE97qIP4
Unit tests and types don't have as much overlap as anti-type people claim. You need both, and you shouldn't write tests for most of what type errors cover.

TypeScript transpilation is easy and fast. You can emit JS even when there are type errors, and use tsc as just a type-checker while using esbuild to strip types from JS. Performance is not an issue in practice and the benefits are pretty far reaching.
We already have GPUs for that
Mint Mobile 'No Ragrets' Marketing Campaign Is Hilarious
No it is not. No exchange or centralized crypto service is. Not your keys, not your coins and also not your NFTs.
a) 99.9% of all dives happening today are going to be <18m which is the maximum depth for PADI Open Water certified divers. And then Advanced certified is still <30m.

b) The point of a dive watch is not just to tell the time. You need to know the depth, time spent underwater, no decompression limits, safety stops etc.

c) Not that I was able to test since the crown is disabled but the Apple Watch crown is very easy to use water even with gloves.
Damn, I’ve been there — at least in the situation where the manager concludes that micromanaging will somehow make the managee more effective, rather than in the very best case, hamstring it by bottlenecking on them and in the average case, deeply humiliate by trying to make the managee do things exactly the way they would (but be worse at it, because the managee is not them and could have their own different, personalized, effective work style).
I have several 4Runners, 2nd and 3rd gen, they're fantastic cars from a maintenance perspective.
No, it's not really the same vehicle. The name is the same, but the 70 Series mentioned in the article is built since 1984, what you are thinking of are the 200 and 300 series, which are decidely luxury SUVs.

[1]: https://en.wikipedia.org/wiki/Toyota_Land_Cruiser
Merriam-Webster Announces “Gaslighting” as the 2022 Word of the Year