skysight-inc/HackerNews huggingface dataset:
I didn't really understand the Java comparison. As far as I understand, the Rust `Iter` trait is essentially a generic interface with one type parameter, the type implementing the interface. If that understanding is correct, than this is essentially identical to Java's Iterator<T> interface, except that Java interfaces are not implicitly generic on the type that implements them. But in both cases, the Iterator has one and only one generic type parameter.

In Java, if Iterator had been a non-generic interface, then Vector<A>.Iterator.Next() would have had to return an Object instead of an A, as would all other implementations of Iterator for any collection type. Even if you defined a member type, Iterator.Result, it would still be the exact same type for all Iterator implementations.

The whole thing about dynamic vs static dispatch seems to be a bit of an unnecessary detour. I'm not even 100% sure that in practice Java would rely on dynamic dispatch to find the right method there, it may well be that it can be optimized to do static dispatch (the bigger help there is that all Java objects have the same size on the stack, sizeof(pointer), so a single method can always handle any object, whereas in Rust you need different methods for different objects regardless of logic).
"create solar panels is still nowhere near that of traditional energy facilities, and it is quite small when compared to oil drilling, fracking or coal mining"

Did you post it to indicate that solar is bad or that it is also not 100% perfect?
Fix the fcc.
Jq is far more useful/capable than JMESPath.
At that point you may as well implicate Apple, along with the rest of FAANG for being members of PRISM. According to their transparency reports, both Apple and Meta have an ~90% turnover rate for account details to US authorities. If you think it's "spyware" to comply with a legally valid subpeona then you're really not going to like your options.

https://transparency.meta.com/reports/government-data-reques...

https://www.apple.com/legal/transparency/us.html

Ironically, Google actually comes out on top in this respect for continuing to maintain an Open Source OS you can actually use. Neither Meta nor Apple provide ways for a user to avoid their first-party user profiling to the same extent.
That means they have to be able to hold onto the property for 300 years and be able to verifiably return it to the estate beneficiaries. That costs a lot of money, better to just hold onto things for a short period of time while they are relevant and not steal them or throw them away.
My only comment is: "be prepared for a cease and desist from the lawyer's for the real WD-40 company" over the name choice.

The fact that they make spray lubricants and you have a website re-loader will likely not make any difference to them.
just wait until they realize they can perforate down the middle and double the sheet count!
Because they repeatedly demonstrated a very poor grip on reality: they seemed to think that inventing a bland two-word phrase (a) gave them all rights to all interpretations of that phrase and (b) made my part as prospective tech/CTO easy to conjure that up as spec and reality.

Me still bitter and twisted? Never!
Lucky that your parent's shop got acquired. It was amazing to see - Blockbuster shops popping up here and there, all the while it seemed that virtually everyone could see the tsunami coming (except Blockbuster).
Would you be able to store a few kg (after decades) somewhere in your flat/house?

I would say yes easily.

"Hey we're is your nuclear waste?" "It's under my bed"
Is it, though? Even a poor country like Brazil can afford to give out insulin for free
> lighter attacks (scratches, jumping, sniffing, licking...)

Sniffing and licking are not “attacks”. If they are, a car honking or braking suddenly is a crash.

> If students have no cameras, many more teachers would bring their "pets" into school

How many teachers brought pets to school before the 2000s? How many people brought pets to the office? (If anything, there are more pets at the workplace now than ever before.)

The taking of a cell phone seems to have emotionally provoked you. Reflecting on why you’re responding to a phone like a crack pipe might be a better use of your time than pretending to have a phobia of dog licks.
I use it to stream games from a PC to an XBOX ONE and also to a NVIDIA shield for a lean-back experience. With Steam Big Picture mode it is a great console experience though I did have trouble with latency for HiFi Rush over the wireless link to my fortress of solitude in the other house.
I'm not doubting the employment issues in China, but the examples cited in the article seem like pretty weak evidence.

More like two individuals who were victims of fraud/exploitation.

I have to doubt this would have ever been pubished at all, except for the male breast augmentation angle of the story.
It is not several times a juicy down payment if you live where near any big campus. And a lifetime salary above 200k in tech is not a thing. Tech is riskier the older you get unfortunately.
I used yq last week to scan through all the Java projects (i.e. Maven pom.xml-files) within our org to check which ones inherit from the corporate pom.

yq eval --input-format xml --output-format csv '[file_index, file_name, .project.parent.groupId, .project.parent.artifactId, .project.parent.version]' **/pom.xml
No I am suggesting that some websites will lean this way the more the good will is abused and people are displaced. Why would I continue to blog for pennies if everyone is just going to ask a Chat bot?

I am merely trying to illustrate how close that possibility is. The same way that you’re behind captcha wall for many sites. Imagine how that rots.
Show HN: KianKit. SvelteKit and Supabase starter kit
Yeah, exactly.

The real problem I see is that nobody other than the 1 dev was involved in writing an entire feature until the code was done
Glad to see the proton mail endorsement! Reinforces my decision haha. I use their mail, cloud storage, and VPN. Been happy for 2 years now.
I'm not saying it's just your fault, but that's not professional and will hurt the quality of your team. It's more fun for all to have less stress in your team. If you are the one responsible for having to say 'no' to things, than you should say no. A 'no' in work context, is nothing personal, it should not be regarded as such.

If that doesn't suit your character, as it can be, than you can discuss with your team how to come up with a better process. Perhaps someone else has no problem with that, or you rotate the responsibility, etc.
Honestly, I should add the point that client-side A/B testing is the devil and should be avoided in the first place.
Taking 7 months to figure out the build problem in Python when we only had 6 months.
I don't think it's fair to dismiss something as "convenience". Convenience is very important in development, convenience is the reason we use CSS to begin with.

The idea of centering an element within another is extremely basic. Something someone might want to do literally within the first 30 minutes of touching CSS for the first time and historically that person, who probably expected some evident answer instead found a 5000 vote post in stackoverflow with information on flexbox, margin auto, text align and half a dozen hacks for different situations.

Like I can do a js implementation of array.has() in a couple of minutes. I would still be shocked if it was never implemented by default and it got implemented now.
> laws should have two parts, an "intent" part and an "implementation"

That's a common opinion between lawyers, the opposite opinion is that since the law was created by a large group of people, it can never have a clear intent. There are judges that assign to both of those.

Anyway, IMO there's fundamentally inhumane and evil consequence to the idea that laws don't have intent. Even if it's objectively true. The entire dichotomy is broken.
>aversive taste that you do not like is probably not that of glycine

No, the aversive taste is exactly the aversive taste of glycine in free form. Glycine seems to trigger the mast cells, and my mast cells are chronically hypersensitive, which is why I preface my initial comment with, "I'm probably unusually sensitive".

(I prefer powders to pills, especially for something I take as much of as I take magnesium.)

>A normal daily intake of proteins is likely to contain at least 2 to 3 grams of glycine

There can be big differences in effect between eating a lot of protein and taking a single AA -- especially on an empty stomach.
> It would be very difficult to engineer this to not jam cell phones just beyond school property

Most schools are set back a fair ways from the street, with lawns and playgrounds. I doubt it would be that difficult. Or one could use jammers with an effective range of 30 or 40 feet and have several of them to flesh out the coverage.

> You’d also need federal approval

Yup.
What I don't understand is France: they have a controlled energy price but their nuclear provider has a lot of debt.

And they need to start rebuilding new.ones.

So was it smart in France? Besides the obvious advantage regarding CO2
I’d rather not have nuclear waste under my bed.

Do you mind keeping my share as well?
Are you familiar with V2X? The concept is actually specifically to help pedestrians and bicyclists. It's essentially just a LTE or WLAN link (which most modern cars already have and that costs less than 100usd) that would allow intersection cameras, etc to report useful information back to vehicles.

i.e. the city can have infrastructure watch for pedestrians on crossings (or even just know the crossings are active or the light is red) and report it to vehicles approaching. This makes assisted driving tech safer for everyone involved.

It also generally just adds a lot of opportunities for QOL improvements. An example is parking. The city infra can tell the vehicle (or your phone) where the closest open parking space is relative to your destination and handle scheduling spaces so that you get the space the first time around.

And importantly the cities that have been pioneering this tech have been pushing it while also pushing separated bike lanes, improved transit, more distinct street vs road distinctions, etc.

This tech is something that has been in development since the 90s and it's now reaching maturity to the point where modern cars could adopt it today, older semi-modern cars could be trivially upgraded, and it can see widespread use in 10-20 years.

Also it's not the first line of defense for pedestrians but rather one of many that can be rolled out now while also pushing other material benefits.
Resource hungry website.
$/pound would be a more sensible metric to price compare. Still gameable, but less so than rolls/sheets/double/mega/ply/etc.
> Parse, Don't Validate is very much a pattern in which it's crucial to avoid mistakes where maybe you don't have a reference and you need to care about that.

Wait, what?

Parse, Don't Validate is a way to make sure that invalid representations of data don't make its way into your system. Null is just one of many invalid data. Parse, Don't Validate does MORE than just prevent nulls, while the approach you are repeating only protects against nulls.

> In languages where the type system won't help catch that mistake it is likely to leak into production.

You are correct here: Languages with no enforced compilation step (Python, PHP, Ruby, Javascript) can't help even if you do do Parse, Don't Validate.

Languages with a compilation step and mandatory types (C, Go, Java, C++, etc) get the benefit of doing Parse, Don't Validate. While the benefit includes protecting against null dereferencing, it also includes protecting against other incorrect representations of the data.

In other words, if you're doing Parse, Don't Validate in Go, or C, or Java, etc, there's not much benefit, if any, to be gained from an option type. Once that $THING enters your system, it's already been transformed into the correct datatype and the compiler will ensure correctness, as far as type mismatches against null go.
- https://bolgerconsulting.com/
Shitlib, lol. Welp, enjoy the road to inceldom I guess as with that comment that is exactly where you are going if you’re not there already. I wish you the best!
Forming a partnership with a salesman who couldn't sell and who worse kept me from selling work I could have sold myself. Boy did we get a lot of calls and we learned a lot about the industry we selling into, competitors, etc.
> far too many people put way too much weight on "talent" and often tell themselves that they can't do something

I consider myself a “maker” and a serial hobbyist. I see this in others who seem to be afraid to make things for fear of failing. I love to document and share my own process and that sometimes feels like showing off. Maybe I should share more about my failures. I’ve recently come to the realization that what I really want is to inspire others to explore their creativity, learn new skills, and gain the confidence to make their own projects.

A genius, I am not, and I’m talented in only a few narrow areas, but I love to explore many.
From the Sea: Comparison of WWII Amphibious Ops in Pacific and European Theatres
Energy economics and rocket science with Casey Handmer
Looks like a roll of cash register receipt paper these days.
There's nothing "right wing" about coal and gas power generation.
Careful what you wish for. The reason many jurisdictions have laws stating that public establishments have to treat all customers equally is that in the days before cars and large stores, shopkeepers tended to know all their customers, and if one was in the wrong kind of neighbourhood, that meant that weekly shopping turned into the sort of exercise in cliques and popularity that would make a high-drama high school proud.
Step 1: seize property

Step 2: hold onto it for an indefinite period of time

Step 3: steal the property

Step 4: when the owner comes for their stuff, claim the property went missing

Step 5: wait for a lawsuit that usually doesn't come because the property isn't worth enough and nobody wants to get in a suit with cops for what's usually small claims

None of this is going to change unless you prevent cops from handling seized property.
The future needs to first invent cheaper, more available, and more efficient energy storage before we can replace the old power plants.

That fusion is the technology of the future does not mean we should dismantle what functions today.
The site really has two completely separate halves: 1) ~a dozen scripts around Proxmox VE and 2) ~200 scripts around defining the internal state of guest VMs/containers.

The way I've approached 2) is utilizing the many thousands of existing VM/container build definitions and having just a single proxmox specific script handle the deployment of the base VM/container using the built in template system. Here the scripts seem to take the same base approach but rather than reusing or adapting existing VM/container build definitions they manually reimplement the steps in a slightly different syntax. Unless it becomes wildly popular to do this specifically on Proxmox for many years that means the selection will be small and constantly going out of date.

I've found 1) invaluable though. It was hard to see where to get up to date scripts for certain post install tasks (nag buster, non-enterprise repo) especially as things were slightly different on PBE vs PVE and it wasn't always immediately clear if a script supported both or where to get a script for the other if not.
They could be tweaking the stuff for the women?
I didn't realize how aggressive GBM could be until watching this video: https://www.youtube.com/watch?v=VSLPq010Q-o

That much growth in 4 months is eye watering.

> The better we get at treating these tumors and extending patients' lives, the more important it will be to avoid radiation as long as possible to ensure that extra quantity of life also has quality.

This is a good point.
Even a lot of Dutch people don't know this but for decades the Netherlands was selling huge quantities of natural gas for bargain prices to anyone willing to pay.

Why? Because some very smart Dutch experts calculated that Europe would switch to nuclear so there was a limited window of opportunity to sell this soon to be useless commodity.
And to add insult to injury just as the Ukraine crisis started all the gas fields were starting to run dry.
Timeboxing is a pretty bad idea for the simple reason that it doesn't define the way to handle tasks that exceed the timebox. It simply assumes that tasks will take no longer than the timebox. Real life tasks don't work this way. In doing so, timeboxing closes the door to experiments, to discovery, and innovation.
That's one possible outcome. Another is that you resolve with your teacher early in the year the role of experimental results.
Approach gave you landing clearance?
I love moonlight, I use an ipad with a gamesir controller for streaming from my ... perfect for passing the time while trying to get my 6 month old to sleep in his ergobaby.
Show HN: Terminal-Based Flashcards in Bash
Mostly a proof of concept based on fla.sh[1].

Proposed changes are :

## minimalist interface
I wanted the quiz to show up in the middle of an otherwise empty screen, kind of like with what is done in the so called "distraction free" editors.

## only two results per quiz
For various reasons I don't like the typical 5 possible notations (hard, difficult, normal, mild and easy or something like that). So only two possibilities : either you know the answer, or you didn't. So only two keys to press : enter or space.

## A different spaced-repetition algorithm.
The most ambitious parts. I want to experiment using softmax and a somewhat complicated (but easily customizable) scoring system that would be entirely based on the activity log. Very much a work in progress, so far.

1. https://github.com/tallguyjenks/fla.sh
Yet again showing that the only way to get support from big tech is make it to the Hacker News frontpage.
How much does technology assist today's air traffic controller? I'm wondering how close we are to having the ATC function completely automated?
34 grams per person times 3.4e8 people is a bit over 1e10 grams, or ten thousand tons a year? That’s back to sounding like a lot.

World gold production is three thousand tons a year, for one comparison.
It does seem like renewables are taking over. But I do wish nuclear had had more fuel cycle ambitions.

America's Integral Fast Reactor (IFR) used on-site pyro processing, and was able to process & burn a colossal amount of the waste (where-as breeders typically pull out & refine only plutonium, also a proliferation risk).
https://en.wikipedia.org/wiki/Integral_fast_reactor#Onsite_r...
https://en.wikipedia.org/wiki/Nuclear_reprocessing#Pyroproce...

We had so many interesting options for how to do nuclear in a responsible long term way. But so much of the world has seemingly been uninterested in funding the r&d.
I found the you model being exceptionally bad at this. Where can I see how many I got right?
What about thickness?

There's no a way a roll of toilet paper that's 3x as long would fit in a standard holder.
Yes, breeder reactors can feed on waste: https://en.wikipedia.org/wiki/Breeder_reactor

China has the plan to achieve closed nuclear fuel cycle, and there are new breeder reactors being put online to move the country closer to that goal: https://en.wikipedia.org/wiki/CFR-600
I switched to bidet at home anyways. Keep a pack of baby wipes in my bag for when I unfortunately need to use public (or private) restrooms stocked with the inferior toilet paper (all TP is useless in comparison to bidet or wet wipes).

Single ply, double ply. No difference to me. I still feel dirty/unclean after wiping my ass with dry af TP that has a strong tendency to tear
Our middle school has banned phones during school hours, and it's been great. Even though most kids own phones and have them in their backpacks, they aren't seen. There are less problems during classes and kids have to talk to each other during lunch instead of going head down in their phones. Parental pushback has been really minimal - most parents love it, and it's good for the kids.

Making no phones a blanket policy in all schools should be an absolute no-brainer.
How so? As far as I can see, wind and solar are both inefficient, requiring fossil fuels to set up, and particularly with solar panels have long term environmental impacts that we have yet to solve. The panels are difficult to recycle and are not being recycled, and the method to create them leaves incredibly toxic compounds that are difficult to dispose of. While nuclear is incredibly energy dense, far safer than the many coal plant we need to supplement poor “green” energy production, and is comparatively easy to deal with the waste of.
The reason is simple, Western classical music was extremely, extremely (and it's impossible to stress this enough: extremely) conservative in late 20th century. Anything that's not part of the canon Schoenbergian atonalism, or Mahlerian Romanticism was considered "wrong", "illogical" etc. Believe it or not WCM had a just as rich of a history and stream of movements as any other tradition of art, but by mid-to-late 20th century academia -- one by one -- killed every single vehicle of creativity for simply being "incorrect". Here is a theory from 1880s and 1920s from a German musicologist that "proves" mathematically that this music is incorrect and should be rewritten.

No artist can make rent money in that atmosphere.

Artists like Steve Reich and Philip Glass were gigantic innovators, they were iconoclasts, they wanted WCM to go way beyond what it was stuck at in 1970s. Of course they spent decades being considered a charlatan by their colleagues. Philip Glass in an interview explains how, when he founded the Philip Glass Ensemble and started producing his early (brutally minimalist) music people tried "helping" him by teaching basic musical composition, and told him that he needs to learn basics first before writing music like that. It's a farce really, from 2020s having listened to 21st century post-minimalism, if you go back and listen to early minimalism in 1970s and 1980s (think, Music for 18 musicians, Music in 12 parts, Einstein on the beach, in C, Glass Violin Concerto, De Stijl etc) it's just haunting how creative their music is. They had to invent everything from scratch! You have to go all the way back to 1640s Froberger to find anything that remotely sounds idiomatic within the tradition, while aggressively responding to their contemporaries like the extreme-complexity of Boulez etc. It's really unfortunate, my sense is, modern music education creates very conservative, robotic craftsmen who play technically perfectly but are unable to see innovation and artistic response.

I would like to say 21st century WCM is in a much better situation and there is more creativity, but I would say it's likely a marginal improvement over late 20th century, rather than a significant transformation.
Chatbots in science: What can ChatGPT do for you?
In reality those caches are going to be relatively meaningless except for short bursts of speed, because the 100,000 API calls and user/kernel switches, that windows does because of absurd abstractions, that happen in the time slice your program isn't running will destroy any cache coloring you attempt to code for.
I agree that the article is thoughtful.
The axioms you state must be backed empirically by observing things that happen in the real world. The article explains the real world activities that back those axioms.
woah thats sad
I use this to stream my ROG Ally to my Vision Pro on long plane rides. The latency is crazy low.