skysight-inc/HackerNews huggingface dataset:
> Is there much daylight between unsafe to drink and unsafe to shower/etc. IE, is there such a thing as nonpotable water that's still OK for domestic use?

Certainly. As a kid in 60s/70s, when in India we washed, brushed teeth etc with tap water (were careful not to swallow any!) but only drank water that had been boiled or otherwise treated (the fetish for plastic bottles of water had thankfully not developed anywhere yet). This was visiting relatives, so it's not the case that our guts had adapted to the local intestinal flora.

I think there's an economy of scale of running a single pipe of potable water to each location rather than running (and maintaining) a dual system, which would have "leakage" (both the physical kind, which is normal, but would occur 2X, and the case of people accidentally drinking from the wrong pipe).
"How did you decide for TypeScript, and how do you benefit from it" is among my first questions in interviews for TS positions. It's ironic how rarely I get a good answer, but it offers a good insight into their tech philosophy, and mostly I'd pass on the position. (working in backend)
Which is the only possible logical consequence of modifying something that others asked you not.

const_cast is there for buggy (or legacy) libraries where const was not specified explicitly, but is implicit in the behavior.
Except hemp fiber is so long to work with to do a single joint (We'll I'm a DYIer, not a pro)...

What I find very useful is from a pro plumber: https://www.henkel-adhesives.com/us/en/product/thread-sealan...

Can be used for water & gas, withstands high temperature. Easy & fast to work with. Don't have to apply any additional grease for reducing friction.
"just" is doing a lot of heavy lifting here
Most Ketamine users are unaware that even occasional usage can cause untreatable ulcerative cystitis, a.k.a. Ketamine Bladder Syndrome. Ketamine thins the urothelium while increasing the collagen to smooth muscle ratio and exacerbating interstitial fibrosis. The syndrome is untreatable and causes serious problems down the line.

One promising rat study from 2015 shows that EGCG (epigallocatechin gallate) extracted from green tea has a protective effect on the bladder, reversing ketamine-induced damage to control levels. If you are taking ketamine for major depression or recreationally, taking EGCG before may prevent long-term bladder damage.

Summary from the study:

> "Objective

To investigate the protective effect of green tea epigallocatechin gallate (EGCG) on long-term ketamine-induced ulcerative cystitis (KIC) using a ketamine addiction rat model.

Materials and methods

Thirty Sprague-Dawley rats were divided into three groups which received saline, ketamine (25 mg/kg/d), or ketamine combined with EGCG (10 μM/kg) for a period of 28 days. In each group, cystometry and a metabolic cage micturition pattern study were performed weekly. Masson's trichrome study was done to evaluate the morphologic changes. Western blot analyses were carried out to examine the expressions of inflammatory protein [transforming growth factor-β (TGF-β)] and fibrosis proteins (fibronectin and type I collagen) in bladder tissues.

Results

Chronic ketamine treatment resulted in bladder hyperactivity with a significant increase in micturition frequency and a decrease in bladder compliance. These alterations in micturition pattern were accompanied by increases in the expressions of inflammatory and fibrosis markers, TGF-β, fibronectin, and type I collagen after long-term ketamine treatment. Masson's trichrome stain showed that ketamine treatment decreased urothelium thickness while increasing the collagen to smooth muscle ratio and exacerbating interstitial fibrosis. By contrast, simultaneous EGCG and ketamine treatment reversed ketamine-induced damage to almost control levels, showing the protective effect of EGCG.

Conclusion

This protective effect of EGCG may come from its antiinflammatory and antifibrotic properties."

[^1]: https://www.sciencedirect.com/science/article/pii/S187952261...
The island is huge, 70 miles East-West and 90 miles North-South. If you've seen islands on inland lakes, on the Great Lakes, or off the Atlantic or Pacific coast, you're thinking too small. As long as you're not standing on the summit of Pike's Peak (or Mauna Loa), you're probably unable to see beyond the curvature of the earth to a horizon comparable to the distance from the caldera to where your friend lives, and the probability that a lava flow oozes all the way to the horizon is vanishingly remote.

However, the bigger factor in your friend's safety is that the vast majority of the population live near the coasts of the island, very very very few live near the peaks. Also, 5x as many people live on the 5x smaller island of Oahu in the city of Honolulu rather than on the island of Hawaii...if your friend lives "in Hawaii", statistically they probably live on an island 200 miles away, or potentially on the coast 40+ miles from the summit, it's extremely unlikely that a random Hawaiian lives on the slopes of Mauna Loa.
> There may be a water purifier somewhere running in a 1995 x86 box that still needs to be maintained.

Then they can use 1995 year compiler with unsafe arithmetic.
I climbed Mauna Loa a few times and seeing Mokuaweoweo almost full... It's a huge area, this is going to be monumental!
Everything is easier once you torture yourself with trying to learn Assembler :)
Wow, I guess in Asia I don't hear about it as much. I had no idea it was that frequent.
That would be a nice add-on, but IME, most people just click straight through it.
There is a meteorological observatory 4/5 way to the top. And there is some NASA practice area/habitat for Mars missions somewhere.
Vintage Photos of the Real Wild West, 1870s-1900s
Be warned that Denon AVRs are a buggy mess that partially break every other update.

I wish I had known that because I really hate my X2400h for it.

The Audyssey auto calibration does make my speakers sound even better but everything else about this AVR is a drag.
I got some push-back from my family on Beyond Burgers, we were grilling them somewhat regularly this summer and I was perfectly happy with them, but then towards the end of the summer my wife said, and my kids agreed: they didn't like them. I think the Impossible is the better product.

But, Beyond is listed on the stock market, so it's easier to see that they've been struggling?
I disagree. I much prefer a Beyond pattie to more traditional veggie options.

It is quite literally a matter of taste though, so you aren't wrong, but your perspective is just your own.
Lobsters were formerly just sold to prisons, but I still love eating the little dudes. This isn't a very persuasive argument.
Racketfest 2023
2023 edition of Racketfest, a get-together for fans of Racket and language-oriented programming. Saturday, March 18, 2023 in Berlin, Germany.
I really hope that Windows Clang would soon support UBSan. It already supports ASan and is really helpful, but sometimes you need to go the extra mile to catch the most hard-to-find errors.
Oddly enough going through about 6 interviews as a senior... things get more technical instead of interviews as a junior where things were more methodical. Junior interviews were more, 'How would you go about solving problem x?'. Senior interviews have been more, 'What exact function parameters of this obscure library would you use to implement x design pattern in this made-up system for this interview?' Which is absurd unless you're a very narrowly focused SME on one specific tool/language.
I hate text web sites that "autoplay" their next piece of content. So when you reach the end of an article, the URL in your address bar spontaneously changes to a different URL, and instead of having reached the end of your article and the bottom of a page, you're instead suddenly at the beginning of a second article which you never intended to read...

CNN also does this with video reports. If you want to rewind to hear the end of the video -- you can't, because you're now instead watching an entirely different video.
The article is entirely nuanced reasoning about the topic.
I thought the same. I kept wondering why they don't show me the eruption zone close by instead of across the city in the valley.
The factory that only builds white Toyota Land Cruisers
I mean every memory access can cause an exception and handling an exception is a kind of branch.
And often there is already a modular system ready, but the person requesting a feature is either too lazy or doesn't know the system enough to use it (or sometimes even know it exists).

This seems especially true for drive-by requests where someone on a dev team has a feature they are required to implement in XYZcorp's application. They don't know the platform well, they see the feature isn't provided out of the box, so instead of doing much research, they just hop in the issue queue and request it.
LF AI and Data Foundation Interactive Landscape
Ernest Hemingway’s List of 16 Books Any Writer Should Read
Hmm, so would you agree with the package vignette?

"Tests and documentation are similar, but not identical. Tests need to cover difficult corner cases. Examples need to convey the basics to the user. I like the following advice:

… write the best possible documentation, and [R] makes sure the code samples in your documentation actually compile and run [and do what they are supposed to do]

...

In particular, use doctest as an addition to manually created tests, not a substitute for them. Use doctest to make sure your examples do what they expect, and for simple tests of basic functionality."
When Snow Fell on Jerusalem in February 1921
Thanks for mentioning this. This is so easy and fast to work with and you usually end up with sealed joints (Sorry, I'm an amateurish DIYer, first tries were failing). No additional grease needed to reduce friction, withstands high temps, for water and gas. What's not to love? Price maybe.
She's probably trying to use Irish law to beat some sense into twitter and show Elon Musk he isn't all powerful.
Moral Mathematics
I like the concept of having a musl-based distro, but the utility of Alpine is frankly limited at the moment.

Sublime is just one case. We had a Python service running in an Alpine container because it was thought as "mean and lean" by someone. Sound choice, right?

Guess what: we used a handful of (popular) Python modules that are backed by native libraries and PyPi didn't have musl-linked versions for them. The "mean and lean" Alpine-based image ended up weighing more than a debian-slim-based image.
You can make them with or without protein powder.

But the main ingredients are creamy natural peanut butter, one of either local honey or local maple syrup, and "old-fashioned" rolled oats.

Stir until combined 200g PB, 135g honey/maple syrup, 5g vanilla extract, 3g sea salt.

To this mixture, add 100g rolled oats, 80g whey, ~200g nuts and seeds (can be crushed or whole, although partially-crushed is a bit easier). I use pecans, pepitas, walnuts, almonds, cashews. Whatever is in the pantry.

Transfer + compress to an appropriate-sized casserole dish (above is good for 8x8) with a large spoon, I usually line it first with paper to make later transfer easier.

Cover + chill for at least 1 hour, then slice with a sharp instrument (I use a pizza slicer, but a chef's knife is great). These proportions yield 12-ish bars. But you can compute the macronutrients for yourself to decide how big a serving should be.

In short, it's pretty similar to granola. Only without baking and without oil. I've found the flavor to vary widely depending on the honey/pb/whey used.

Sometimes, they taste like peanut butter cups. :)
> In 2022 "C" is used as a portable assembly language.

No! Only poor programmers use C while reasoning assembly, and then they complain about undefined behaviour.
TypeScript is great for inexperienced devs, so i dont see why they should use it for eslint. Is there any benefit in using a language that transpiles to a different language that then gets interpreted that you had in mind?
"Sorely missing" really depends.. for you, a particular user, maybe. But e.g. not having quote tweets in Mastodon was a very deliberate decision (I don't have the issue at hand) not to go in the direction of Twitter here. Quote tweets have their downsides too. This was about keeping project direction and doing things the Mastodon way.
> Non-meat-eaters have already weaned themselves off meat taste-wise

Not all of them!

I don't buy meat for myself any longer, and am trying to get away from dairy. However, my childhood furnished me with possibly lifelong cravings for jerky, burgers, nuggets and sausages-- all of which the meat substitutes totally satisfy now. I'm very glad for these options!

Now I just need a good cheese substitute and I can go mostly vegan (I will still likely eat meat & dairy when it comes to leftover food that would otherwise be thrown out, though; my desire to avoid waste is greater than my desire to avoid those things because my body will be garbage all too soon no matter what I do anyway... life is far too short to justify being a purist imo).
Thanks, this is the kind of information I'm after.

So, the Senate is not a trustworthy source of information? I'm not clued up on US politics so I really have no idea how the system works, upper/lower houses, senate is lower? Like the house of commons in the UK?

e.g. could an analogy be this is like a small party of Brexiteers making a document on how leaving the EU is economically a sound idea? There is no requirement for it to be evidence-based?

Finally, have you read the document and is there anything in particular that is egregiously incorrect? Just because we don't agree with someone's political stance on something doesn't mean what they're saying isn't necessarily true.
This is easily researched [1]. While NL exports inflated due to having a large port with a lot of imports, they are still a large net exporter compared to size.

[1] https://www.cbs.nl/en-gb/news/2022/03/agricultural-exports-e.... In monetary values, 28% is re-exports and 72% is exports.
these are inspiringly clever
But wouldn't one be required to include a particular header in such case (i.e. the correct header for defining a particular type)?

I mean, no typedef names are defined in the global scope without including any headers right? Like I find it really weird that a type ending in _t would be UB if there is no such typedef name declared at all.

Or is this UB stuff merely a way for the ISO C committee to enforce this without having to define <something more complicated>?
Posted in a cousin comment: https://news.ycombinator.com/item?id=33774259
Apple is trying very hard to shove it down the developers’ throats. E.g. they make certain new OS frameworks SwiftUI-only, like the new “dynamic island” APIs for iPhone 14.

(Pretty misguided in my opinion, but it’s their platform to ruin…)
> There should be some cost-benefit analysis...

Here be dragons. The instant you invoke cost-benefit you've lost the Overton Window and industry shills duped you.

The most common mechanism used is getting you to uncritically accept the timeframe the analysis takes place within, and the futility of a substantive, quantum qualitative difference. These go hand in hand.

The most common timeframe is "one generation", 30 years, usually framed as "zomg we're being SO nice to deign to accept lesser profits on such a long-ass timescale!".

If I could gift future generations an aquatic and soil ecosystem reverted to pre-anthropogenic methylmercury levels, I'd do it in a heartbeat. But that doesn't get accomplished when cost-benefit is measured in 30 years, but more like 60-90 years with Thanos snap-like policy action, closer to 3-600 years with cheaters accounted for.

Plastics disintegrating into our environment everywhere is the methylmercury story all over again. Industry externalization into our progeny's generations that will functionally last centuries into the future, for the financial well being of only a few hundreds of millions of families globally to afford contrivances with fleeting benefit even to themselves. Even in the "best" cases where instead of blowing the financial gain at the cost of externalization upon a frivolous 1000th Rolex or Nike, they sent Ruòxī and Sam to Harvard, that still doesn't help future generations contending with a deep energy problem of these diffuse materials pervading the ecosystem.

Because that's the real crux: this is an energy gradient problem within a timeline that stretches out for centuries when our civilizational economic planning horizon can't see past 30 years in the mainstream, 100 years in "outlier" use cases. Concentrating the wealth and material benefit of these materials happens within a brief time window set against that kind of timeline, using a specific amount of energy.

Once the material is dispersed into the ecosystem, it takes a lot longer and be much more energy intensive to perform harm reduction than it ever did to wield it in the first place.

We're seeing this pattern repeat increasingly more frequently because our civilization's scale is emerging more such use cases with different materials without considering cradle-to-cradle design. It seems a lot like a Tainter-style complexity collapse vector to me, but that's just my personal observations, YMMV. Actions are an entirely separate thread of discussion.
So this is why we use Stripe, right?
Programmers.
A tale on Microfront ends, Components and Monorepos
I'm on a project right now where I'm using FFMPeg.

It turns out that for the Apple stuff it loses a lot of color information. Compressor captures this color information by using ICC profiles that it generates from (the quick time headers of?) a .mov file in non obvious ways. Gamma, contrast, and chroma are lost in transit.

This is perhaps not a huge deal since we're dealing with a proprietary file format anyway, but it does mean I had to stop using FFMPeg in the project, which was a shame.
You already know this, but I would add that under strict aliasing rules, this is only valid because x and y point to the same type.

The most common example is when y is float* and someone tries to access its bitwise representation via an int*.

(Please correct me if I'm wrong)

https://gist.github.com/shafik/848ae25ee209f698763cffee272a5...
Not really, if you look at the last 2 years their revenue has been flat and their cost exploded.

This stock doesn't look discounted at all, they don't make any money and don't have any growth. I haven't checked their strategy to turn this around but just from the financials I'd say the stock is about where it should be.
Seeing Beyond the Brain: Conditional Diffusion Model with Sparse Masked Modelin
Great comment. I also don't see the advertisements to push more women to become car mechanics, lol.
I could see a valid use for generative assets in game dev. Some open world type game with different landscapes / backgrounds that are all autogenerated.
Once I start, I struggle to stop. I used an ad blocker to remove pagination, and tightly filtered the content I follow. However, I struggle to limit myself to a few minutes when I have something unpleasant to do.
Vote needed to get SpaceXpanse ROD listed at Exbitron
Calling all stations!
SpaceXpanse ROD is now closing on the competition with 1 day to go and we really have a chance to get it listed at Exbitron this round. But we need your help NOW to pour some votes there if you're still eager our project to succeed.
Exceeding Air Temperature Optima and Water Limitation Reversed Global Greening
Diana Larsen and James Shore: Learn how team advance on their journey to mastery.
You can read a declaration like `int x` as “`x` is an int”, and hence x is an int pointer.
My guess would be during the US poker boom around 2003ish. Texas Hold Em had for quite a while been the variant of poker used by the largest tournaments, and during that boom a lot more people learned about competitive poker and started playing it online.

As for why Texas Holdem is the most popular variant for betting poker, it’s a variant that is not too complex, offers a lot of opportunities to infer information about other player’s hands due to minimal private information compared to other variants, and has multiple opportunities for betting. It works well from both a competitive and watchability stand point.
That's a tautology. If you have manual testing, unit testing, and type checking then of course you are only going to see bugs that pass those.

But what bugs did you not see hit production because these eliminated it?
> Be familiar with the computer architectures you are working on.

But keep in mind that C is not a portable assembly!
I assume it is a common human failure https://en.wikipedia.org/wiki/Sunk_cost#Fallacy_effect
> Billing really is complicated, but the people who set the policies don't understand that.

The very first startup I joined in the late '90s tackled this problem. The company tackled billing and all of its complexities by building a SaaS product before SaaS was a widely used term (even the company didn't call it SaaS for a few years). The level of complexity was very high. Creating rules, calculating charges, dealing with taxes, ensuring things were auditable, and making it all performant were all huge challenges.

Basic billing of hours x rate is easy, but (as you've noted) it's a rare person that is content with that. I cringe every time someone says "We'll build it ourselves" when it comes to billing. Even for simple things like the 10% discount (new customers only, plans > $9.99/month, discount expires after 3 months) get complicated very quickly.
Focus creates so many problems. The one the always gets me is when an authentication code gets sent to my phone. I go back to the page to enter that authentication code -- carefully poking each digit on my keyboard -- only to discover that none of the digits were entered into the web page, because you need to first click on the digit-entering window, or whatever you type isn't accepted.

And there's one site where when I pull up a new web page and try to scroll down to read the first line of its article -- I can't, because focus for some reason is on their sidebar.
>One extremely frustrating aspect of plant meat is that they tried to aggressively push out traditional veggie burgers on restaurant menus.

This upsets me because as a vegetarian the last thing I want is to be reminded of what meat tastes like. Who exactly is this for? Because the last I heard it was being marketed primarily at meat eaters.
I wouldn't call a partisan congressional report a trusted source.

More importantly, I'm not sure what difference it makes. China is pursuing zero COVID because there's an extreme amount of vaccine hesitancy among their elderly population. Nearly half of elderly Chinese people haven't had any vaccine dose at all.

The truly perplexing thing is that they've chosen to be authoritarian about lockdowns and quarantine rather than just mandating the vaccine.
Presumably (and really don't take my word for this - I'm a Java bod) the p dereference needs to come before the p NULL check for the p NULL check to be ignored. (Otherwise, how can a NULL check protect a dereference.) And therefore, the NULL check would be unreachable as well, and therefore never executed and not relevant.

Please correct my misunderstanding...
Yea, it’s hard for me to not think of SBF every time I hear Sequoia’s name
Can you compare GraphQL and tRPC