skysight-inc/HackerNews huggingface dataset:
> Aren't people wary about using their very expensive car batteries for the grid?

As an EV owner, no.

We need to own a car due to having kids, we happen to have gotten one with a pretty large battery so we can easily use it for road trips too. Also because there was only one choice for battery size with the model that suited us (Ioniq 5)

But I live close to work. I fully cycle the battery maybe 2-4 times a month. I could easly double that and still not wear out the battery in the lifetime of the car. If not more.

This is in Norway, so I get that others wouldn't buy an EV with a large battery in that situation. But as EVs/batteries become cheaper in general, this will be the norm elsewhere.

And then you can flip the question on its head: if you expect to only use half of the life cycles of the battery within the lifetime of the car itself, isn't it incredibly stupid and waste of valuable batteries to NOT use it for V2G?

I suspect the cost equation will be benifical for car rental companies too, since they can get economies of scale when replacing the batteries.

> so if its lifetime will be shortened from I don't know, say 10 years, to 3 years

Uh, 3 years? Even my previous EV, a 2015 Kia Soul EV, with a pretty bad battery chemistry, only air cooling, and high cycling rate since the battery was small, is still in very good condition after 7 years. Even Leaf batteries without cooling have lasted 10 years.

First gen Nissan Leafs and Kia Souls are borderline unusable once their battery degrades to 75%, but new EVs with large batteries should still have useful range with 75% degradation, so using up the rated battery cycles (generally specified at the point where degradation reaches 80%) doesn't mean the car is dead.
James Webb Space Telescope experiences 2nd instrument glitch
There was some commercial air travel prior to the ... 1980s ... but it was niche. Prior to 1960 was effectively nil.

Really, widespread air travel is that recent:

<https://transportgeography.org/contents/chapter5/air-transpo...>

1980: ~1,000 billion passenger/km.

2019: ~8,500 billion passenger/km.

Global population's increased, but by less than 2x.

If you go back to 1960, the chart is stuck to the floor.

I've had a call out for further stats with no responses yet:

<https://news.ycombinator.com/item?id=34499787>
> If you want to be my hero, find a way to fix this problem: https://maxdemarzi.com/2023/01/09/death-star-queries-in-grap...

Let me (try to) be your hero, Marzi. (Insert favorite reference to famous cheezy pop music song, if you like.)

Couldn't you use GraphBLAS algorithms, like they do in RedisGraph (which supports Cypher, btw) to fix that problem with "death star" queries?

Those algorithms are based on linear algebra and matrix operations on sparse matrices (which are like compressed bitmaps on speed, re: https://github.com/RoaringBitmap/RoaringBitmap ). The insight is that the adjacency list of a property-graph is actually a matrix, and then you can use linear algebra on it. But it may require the DB is built bottom up with matrices in mind from the start (instead of linked lists like Neo4j does). Maybe your double array approach in RageDB could be made to fit..

I think you'll find this presentation on GraphBLAS positively mind-blowing, especially from this moment: https://youtu.be/xnez6tloNSQ?t=1531

Such math-based algorithms seem perfect to optimally answer unbounded (death) star queries like “How are you connected to your neighbors and what are they?”

That way, for such queries one doesn't have to traverse the graph database as a discovery process through what each node "knows about", but could view and operate on the database from a God-like perspective, similar to table operations in relational databases.

Further reading: https://graphblas.org/
Disclosure: I work at Microsoft / Azure.

I am a dev container addict. I work on tons of different projects across languages, and it's so nice for the dev environment to just work (mostly- if it doesn't, it's because of M1 issues). I also love Github Codespaces (that uses dev containers), I've been using it for all my workshops lately and attendees tend to prefer Codespaces instead of local dev.

If you're looking for example dev containers, I've got a bunch of repos linked from my read me that have support:
https://github.com/pamelafox

The trickiest ones have involved databases, but I was happy to be able to get PostgreSQL running inside the container, along with an admin for it!
We did a Youtube stream showing that here:
https://t.co/0Kl57Ew46C

Yesterday I got docker-in-docker working as I'm running a Docker workshop today and want Codespaces to be an option. So cool. That's at
https://github.com/pamelafox/flask-surveys-container-app/tre...
Remember there's a fair bit of speculation here, I just thoughtlessly blasted my question here without researching (not sure where to start, tbh) and UncleEntity didn't seem too sure about the duplicated/redundant requests. It's entirely possible that Mastodon doesn't have this problem
The more I make the more I have to think about is it worth my time to do stuff myself vs spending the money to save the time.

I'm not gonna say it's ruined my hobbies and forms of recreation as my career progresses but having that range of decisions to make instead of just being able to default to low cost doesn't make them more enjoyable.
I hope Microsoft can succeed at converging its Web frameworks into a single stack. It's terrible that it can't manage its stable of desktop frameworks. WinForms, WPF, UWP (WinUI 2), WinUI 3, MAUI...
Thanks for the kind words! That's some helpful feedback, I'll look into adding a warning there.
You must not work with any kind of real world data if you think Excel is a horrible tool.

Pulling in 1000000000 rows of data you know absolutely nothing about to throw into your ML model and have it spit out some questionable result doesn't mean you actually work with real world data.

>a few hundred rows data science.

People that work with a few hundred rows are called "almost every office employee ever" and not data scientists. And you are naïve as hell if don't realize how powerful excel is for every random ass thing that happens in the real world.
I'm a current ORM user, specifically Prisma. And it's nice that it gives me type checking but the CRUD actions and the programmatic interface are not the real reason I use it. I use it as a tool for declarative schema management, handling schema version control and migrations. If someone has a better solution to this that does not involve xml, I'm all ears. I'd personally much rather use https://pgtyped.vercel.app/ than prisma.

edit: Ok, I actually read the article... He briefly mentions the migration tool. Author: please go into more detail about how you do schema migrations.
So much of workaday SQL stuff is handled nicely by ORMs it's hard to pass on the convenience.

I've found that using the ORM in conjunction with stored procedures works well. For the basic stuff, the ORM handles it well enough. As soon as the ORM request starts to look like spaghetti, it's time to think about making a stored procedure and using it.

Years ago I also went down the road of "use stored procedures for everything," which also works, but you have to get deep into the gnarly SQL weeds. And, if DB portability is one of your goals, you more or less have to give up on your dreams. It makes a lot of sense if your project has many fingers in the pie and you have access to a talented-if-grumpy DBA (beard optional). I liked it for the small project I did, but I will admit that it was more work than was optimal.
"On the other hand, some portion of inflation is caused by increased labour cost. So by the time the strike demand is fulfilled, the next strike is in theory in the brewing."

It depends on both "technology" (the inputs required to produce each output in the consumption bundle for workers) and purely distributive variables (how revenues are split between labor and capital). Generally speaking, widespread strike activity will tend to shift revenue from capital to labor.

Countries where labor is organized and thus has a credible strike threat generally have a much more equal distribution of income, and most workers work fewer hours per year.
>consider, for a moment, there is something to this.

I have been playing / "teaching" technical people far-more-cabable (but less-human) than I... to play with ChatGPT-like interfaces.

It is so hard to get ONLY_BRAINS to stop asking technical questions [database] and start MAKING CONNECTIONS between their individual areas-of-expertise. To guess a human connection, and then let GPT brute-force a probabilistic response. To get an autistic 160IQ+ person to ask questions better than "why iz sky blu?" and instead be looking more at questions along "why do people care that the sky is blue?"

Because that is a better question, and provides better answers.
It is long past time for people to consider that working for public companies might not be in their long-term personal best interest.
That's one thing I like about Rail's ActiveRecord: it covers the most common queries with its own DSL, but also makes it easy to insert snippets of plain SQL while still returning ActiveRecord models.
Despite any mild clunkiness in the actual game (which has been thoroughly covered in other comments, so I won't repeat it), I just wanted to say this is a really nice looking project.

I have a complex about my inability to do nice design, I really need to just start doing it on the side I think, as I'm sure I'd get better with practice. But I'm always impressed when stuff looks good as a result of my own inability. So nice work! Keep learning!
> Maybe if more people thought this, a lot less posts would be made

This is why we can't have nice things: https://en.wikipedia.org/wiki/Laurence_Canter_and_Martha_Sie...
what do you mean by problematic data points and how do you identify them?
The mapping part is definitely the part of an ORM I like the most. I like both (although unrelated from my understanding) sqlx for Go and sqlx for Rust, which both handle the mapping problem given raw SQL.
Live to be a 100 but don't actually live a single day
You see though, if workers received the full value of their labor as wages instead of having it taken as profit, we would eat our cake and have it too.
>Automating creativity is so gross. Never mind the fact that these models are trained on stolen artwork and texts.

King of bad takes. Painters literally said the same thing about Photography.

>these models are trained on stolen artwork and texts.

And the neural networks in human artists' brains is exempt from this logic why? Because it's biological and not silicon?
One thing to note about steppers, If you take them apart they will loose half their torque.

In the factory they magnetize them after assembly. If you take them apart the lower permeability of air causes the rotor to somehow lose much of it's magnetic field. Physicists please chime in, IDK why this happens.

We discovered this after machining some stepper backshells to accept optical encoders.
There is a lot to this subject, it might be easier if you took a look at https://martinapugliese.github.io/data/heaps-law-languages/.

Note that when plotting corpus size vs unique words, the log plot is expected to be linear.
One thing I've wondered about if someone were to actually succeed at making themselves look and feel 18 is how our legal system would react.

Imagine trying to buy a house when your face says 18 and your ID says 78.

Getting a drink at a bar? Showing ID to vote? Withdraw money from that 78 year old's account? Collect social security?

You're going to get denied at best, and likely accused of identity theft/fraud.
Correct! CICO is often oversimplified by ignoring that our digestion is far from 100% efficient and our base metabolic rate can change.
Mastering the Art of Japanese Home Cooking, Masaharu Morimoto

Homemade dashi, ftw.

https://www.goodreads.com/book/show/31823606-mastering-the-a...
I saw arguments against ORMs a lot of times, but what about the opposite - you might not need raw SQL and ORM might work just fine?
Thank you for bringing gender and race into the conversation. That's exactly what was missing here.
There are various niches in grid storage.

Li-ion are good for frequency stabilisation: initial response times of the order of ten milliseconds, run times up to several tens of minutes maybe.

For longer durations, flow batteries and other chemistries are probably better. They win because of very good cycle life and calendar life (20_000 cycles, 50 years) but tend to take longer to start up.

Flow batteries include vanadium redox, zinc-bromine, iron-saltwater (being piloted). Other chemistries: sodium-sulfur (NaS, developed by NGK and sold by BASF in Europe/NA), carbon polymer based (PolyJoule), and a great number of experimental types.

There are also thermal batteries and compressed air energy storage, and pumped hydro.

Pumped hydro is by far the biggest form of grid storage today and is not as limited by geography or cost as one might think. It can be used in the "hours to months" range of energy delivery durations.
Yeah, I just checked and it fails on some gifs for me as well (but works on others for some reason). I'll leave it as is for now, best not fiddle with it while this post is trending.
not yet, but in the plans!
I’m curious - how do you use “relational models” as a programming model? I get it for data storage and retrieval, but you eventually also need functions/methods to operate on that data. So, how would you organize that code… relationally?
What exactly are we going after?

Money. And lemme tell you, have lots of it is totally awesome.
In California, recently approved NEM3 makes people involved in the energt market - paying or earning rounded rate for that specific hour.
Few hours during summer months can earn you $1-2 per kW, so single discharge of EV at that time would earn you $100-200, easily outweighing the cost of degradation.

New rule has been strongly criticized about being more costly and disentivizing solar, but the one thing it does right, is insentivizing end users to do a propertine shifting of their usage.
> E.g. The impact of striking, short term and long term, and its competitiveness relative to region without striking.

That one is simple. The US for example has at-will employment, no mandatory paid time off, not even a right for mothers for paid time off post-birth [1]. In contrast, the entire EU has minimum four weeks paid time off, mandatory minimum time advance before a firing (exceptions apply for cases of gross misconduct), and plans to have a mandatory minimum of six weeks PTO post-birth and 20 weeks in total for the parents.

Additionally, even in Europe one can clearly see the difference between riot-happy nations such as France, which has a pension age of 62, and Germany which has 65-67 (depending on how old you are). France's Macron is trying to reform this and raise the limit, he has already tried once and got burned by a massive strike and riot wave and right now is on his second attempt, and again massive strikes.

> On the other hand, some portion of inflation is caused by increased labour cost.

Only minimally. The worst contributor to inflation is simply corporate and CEO greed - wages in Europe have stagnated over the last decades [2].

[1] https://en.wikipedia.org/wiki/Parental_leave_in_the_United_S...

[2] https://www.boeckler.de/de/boeckler-impuls-die-wirtschaft-wa...
Yeah, now imagine a system at the scale of Gitlab, it's essentially unmanageable without an ORM, which helps a big time figuring out issues, types, migrating schemas, rewriting and so on. Messing with SQL is suitable for manual query optimization or the simplest databases.
Honestly I don't get the point of edge. Do people really care whether their website loads in 50ms vs 300ms?
> There's no point to life; if I was hit by a bus or jumped in front of a car while on break today at my miserable, entry-level job, it'd be okay for the world

the world would be OK, regardless of anyone going missing. Don't think anyone has such importance that they would cause the world to not be OK by dying.
‘Everything should be on the table’: activists close in on Salesforce
What prompts did you use for the children's book?
"The wealthy are ... the only people who have a reason to".

IME what matters more than wealth is having health and energy. Exploring ways to reduce your exhaustion might be the best use of your time. You can increase your energy by getting a "win" in some way. That can be as simple as successfully introducing one new good habit in your life.
As far as I'm aware, the only thing you can do on the front is add a USB-C port (and only on the T1 v2)
Android bolted views and updates directly to the SQLite database classes. It was an elegant design for an OS meant to run (at first) on 200Mhz small memory configurations. It didn't need an ORM and it enabled apps to persist data asap.
> It was making a very clear statement that in the RIck and Morty universe, normal dramatic tropes don't apply.

How does it not apply when Morty is traumatised by the experience? The show doesn't hide the fact that Rick is traumatised (by all of the experiences they had been to) either, he's just better at hiding it.
to live longer dont work that’s the hard truth
Do the newer batteries even degrade past 50%? The first 10% happens pretty fast, but then the curve seriously flattens. I am not sure I could get to 75% degradation before the battery just gives up and dies of old age.
Larger font + sleep + sauna

All of them make a huge difference for me. Sauna is not something that prevents it, but cures it. I can go to sauna after a tiring day and return ready to get going again (regarding eyes).
it's not an easy read for non sociologists, but I would start here: https://journals.sagepub.com/doi/abs/10.1177/003232920203000...

Korpi (https://en.wikipedia.org/wiki/Walter_Korpi) is one of the big figures of Scandinavian social democracy, and a researcher that studied for years the connections between social class, welfare, strikes, etc.

But again, I just pick one text, among a tsunami of them.

Check also those journals: https://journals.sagepub.com/home/EJD and https://onlinelibrary.wiley.com/journal/1468232x and basically all the journals in this list: https://www.scimagojr.com/journalrank.php?category=1410
> "Perhaps we will let you live."

That's why we need a finely balanced solution. Humanity tried giving workers total control (USSR) and it was a disaster. We also tried giving workers somewhat less control but still more leverage (socialist policies in India until 90's) and that wasn't much success either. For now, various social contracts within a narrow range of what US does and say, what Sweden does, seem to be working well.
What is the standard rate of prion disease?
What kind of statistical tools do you support for measuring data drift?
> ...without watching the video.

No, it's a mistake to rely on a headline like that. A headline isn't a precis.
You mention the issue being with OOP, but wouldn't you run into the same issue with any nested structure? I think the "impedance mismatch" as it's called is that in programming languages parent elements point to their children, but in relational models, it's the children that point back to their parent (foreign keys).
I'll do you one better: all of the subjects were untrained. Any kind of training will improve fitness in virtually every single marker that can be measured. Your aerobic fitness will improve from lifting heavy weights. You'll get stronger from running. These studies are totally useless.
Other people:

> I don’t like this guy’s job.

You:

> But it’s his job.

Right, they already said that part. They still don’t like his job.
Would love to hear this too. I’ve yet to have a problem with EF Core.
Ask HN: Best way to share your experiences as a founder/business owner?
I usually don't like to do the whole "influencer" thing (cringe) but I do appreciate seeing people who share their wisdom and experiences online.

I have been a founder/business owner for 8 years and learned so many valuable lessons and would love to share with others. I know I could do it through a blog, tweet, youtube etc. But I have a big mental block on how to do this without much thinking.

I am not diagnosed medically but I seriously think I have ADHD and my mind just wanders around a lot when it comes to doing things that I technically don't have to.

Is "Just start" the answer or are there any specific things that I could try to hopefully give back more to the community ?
> Curved monitors (reduces constant eye re-focusing on large monitors).

Isn't this a bad thing? I've been lead to believe one of the most useful techniques to alleviate eye-strain is frequent re-focusing at a variety of distances.
> Routine automatic satellite communications were made approximately every hour, except for the initial period of the flight between 01:21 and 02:25, when some kind of power interruption to the airplane’s satellite data unit had prevented the satellite from making contact. After that, every hour or so a ground station in Perth sent a query (or “handshake”) to the plane via a geostationary satellite located over the Indian Ocean.

I didn't see any comments referring to this +1hr blackout of the sat unit. This happened right after the 1.19 ATC handoff.

Does anyone know if this signal could have been faked (e.g. by someone sitting in a boat in the ocean)? I assume the tx and rcv end points have some sort of private identifier.
Development of Novel Construction Material from Food Waste (2021)
You do realize that people have been making predictions just like yours for decades?

"Real" AI is perpetually just around the corner.
Calories on nutrition labels should account for potential metabolic energy, not total energy, so the example of gasoline isn't by any means a disproof of the model at all since gasoline is obviously not a food source you safely metabolize.

If we looked at total energy of your gasoline we'd need to consider mass to energy conversion as well... but your body can't do that either. Energy your body can metabolize is clearly a subset of total energy available. It's certainly an estimate and it's not perfect but it's useful.
Hello,

Enlightened ascendant being here, I have some perspective for you …

In the beginning, there is the discovery of meanings, then the self while at the same time the self relationships with everyone and everything else …

And then, for those aspiring or just damn lucky, a glimmering ray of light penetrates the monotonous gloom.

A meaning beyond self worthy of devotion.

This may rise or fall, be ever lasting or a series of elevated epiphanies, However without question the ultimate fulfillment of existential being is …

TO GO BEYOND SELF

TO BE MORE THAN THE SELF

To make consequences of your life out to be more than the sum of consumptive waste keeping you alive.

This is the ultimate human endeavor.

Btw, your self excellence comes by decades of determination, not a few years here and there.
Sure, blame those nasty communists any time things appear in HN left of what is best for Fortune and the WSJ.
He doesn't look 18 in the photo. Also there's nothing remarkable in the article, just the usual cosmetic procedures and diet/exercise crap. It's funny, these people must think they're the first person to do whatever their preferred diet/exercise combo is, since they never seem to stop to think, if this actually worked, and someone else tried it, why didn't they live to 120 (or longer)?
Everyone takes the weekend for granted because they were not the ones fighting for it to be available to them. They don't know how it was when you were forced to work every day of the week (maybe you got lucky and got Sundays off, maybe also Monday if you were very lucky but uncommon), without the weekend, so then you're bound to repeat history.

Thank god for the modern invention of the weekend thanks to unions, labor movements and all the campaigns, I'm sure most people cannot imagine life without it. But it is a relatively recent invention.