skysight-inc/HackerNews huggingface dataset:
> I don’t think “everyone should be allowed to use the road safely” is a statement anyone disagrees with, but the laws of physics make this very difficult to implement in any practical way. Pretty sure that even in Europe, cycling and motorcycling are far more dangerous than driving.

Oh, of course we can practically implement road safety for everyone:

- limit inner-city speeds outside of major influx roads to 30 km/h

- build dedicated bicycle and bus lanes in cities

- build dedicated pedestrian lanes (not an issue in urban Europe, a bit of an issue in rural areas though)

- enforce speeding and distance-keeping regulations

- make sure the quality of the roads and pedestrian ways is acceptable (i.e. no potholes, even surface) to minimize accident risk

- keep heavy haul traffic on highways wherever possible, prevent toll evasion

- build out public transport to reduce the amount of individual traffic

- provide elderly citizens with taxi vouchers or other forms that ensure their mobility without having them drive themselves

- get old vehicles outside of historical preservation interests off the road to increase the amount of cars with up-to-date safety features

- enforce regular technical check-ups (Germany, for example, requires one every two years) so that vehicles in dangerous condition get taken off the road and owners of vehicles in barely-roadworthy condition also get the hint

Countries that prioritise safe infrastructure for bicyclists like the Netherlands fare significantly better in road accident statistics [1] over countries that just say "fuck it, cars first" like the US.

[1] https://en.wikipedia.org/wiki/List_of_countries_by_traffic-r...
There’s a lot to unpack in your claim, and this really hinges on your definition of “effective”.

What do you consider to be effective, and how would you differentiate it from theater?

Right up front, it seems necessary to account for the relative safety of flying if that safety has nothing to do with FAA policies.

It also seems that any safety policy that is effective enough will eventually appear indistinguishable from theater as people become more and more disconnected from the possibility of disaster.

Ozone mitigations come immediately to mind.
I lived in such a house once and it was permanently cold, even with heating left on all day. In this instance the problem wasn't just the draughts but also the fact that it was connected to the old standard sized radiators that never got hot, they were always just above tepid, at best.

The landlord will happily bore you senseless about how much money he's saved though.
It's meaningless because every individual follows his or her own life. For example, getting a new house might increase your rent while the "average" rent drops.

What I'm trying to say is, unless for investment or research, these data doesn't have much to do with we as individuals. You can see people arguing that "You all feel X goes up but I don't feel that", and I'm just saying the same thing but from a different perspective.
SQL but in the web browser. Mobile apps have long been using sqlite for their needs. Now web apps can too.
I mean you could say that about investments in general
For me, it's been great for mapping the Domain objects to API Response objects. I wouldn't recommend using it to map your Dto objects to your Domain objects. At the end of the day it helps to solve the problem of multiple API responses sourced from the same Domain object. For example, the "Product" object in a list of "Products" may not have the same fields as the "Product" object in the "Product Details".

I'm curious, what do you use for this use-case, if you have it, in your company?

(of course, everything is dependent on the particular project's needs)
"If you were that smart you wouldn't be working here with me"

A line I used a few dozen times in my career
I tend to agree.

And in the housing market as well. All sorts of silly things have happened with home prices due to all the cheap money.
How to Use OSS: Why You Should Throw Away Airflow and Start Using Dagster
Dev tools? No.

Marketing tools? Hell yes.

I'm primarily on TikTok for meta-reasons when I'm there: I like to watch TikToks about TikTok and see how non-techy humans view the algorithms and platforms. Never got on IG: Static images didn't interest me as a medium for social media and I prefer to go directly to the source platform for something rather than use its competitor's bland copies. I don't like to incentivize lazy 'innovation'.
This has always been a pain. One recent improvement has made it better though. The new VS IntelliSense that generates code for you creates mapping MUCH easier as it fills in the rest of the shallow copy for you.

But, now that I use rider instead of VS. That is the main feature I miss.

I will be trying this out. Thanks OP.
Does anyone have hands-on experience with how well different browsers support this? This blog post and caniuse both say Chrome support is currently somewhat limited (though being improved); caniuse also mentions that Safari (both desktop and iOS) only support the Origin Private File System part of the File System API, and that Firefox doesn't support it all. I'm curious how all that actually shakes out in practice.
Now they just need to have competitive comp with the other big players and they'll be the best place to work. Amazon's PTO policy is honestly pathetic, and Google's isn't much better. Google and Amazon still pay a lot better than MS though.
News at 11. People who work hard and get educations tend to succeed.
Eggs are way up. Fortunately, the government takes a blend of different products and presents the overall price change. If we made policy off the whims of onion prices, for example, we'd be in for a wild ride.

Every month for the last six months has produced the same comment. Overall inflation is low so somebody picks out a specific thing that went up a lot and implies that the government numbers are either misleading or lies. Interestingly, it is a different chosen product each month.

Egg prices are also being driven largely by disease and culling and don't really represent something that should be attacked with monetary policy.
Your comment gives the impression that Amtrak has no business operating on the tracks they do.

The reason the freight companies own those rails is primarily from the land grants made my the federal government which came with obligations, such as providing passenger service. Amtrak has trackage rights because the freight companies wanted to divest their passenger rail operations. Maybe an unwelcome guest, but essentially a former part of their own operations.

Anyhow, buses are an insufficient substitute for passenger trains and already available from other operators. If they were sufficient people wouldn't be on the trains.
That’s correct, albeit pedantic.

The human is the handler, and the pigeon is still the actual smuggler.

So in a (very) liberal interpretation, someone found a way of transforming a pigeon into a mule.
Not where I live, in rural Nova Scotia almost everyone has one if not for primary heat, than for when the power inevitably goes out.

People here are not well off and wood is hands down the cheapest heating option. In other places? Maybe it’s a fad/trend.
Ask HN: What's your choice for the classic web app stack?
If you need to start developing a new web application tomorrow, what would be your choice for a db/backend/frontend web stack?

I've also created a Form to record answers at: https://forms.gle/27nxzrLMCe83uNzr7
Eggs are one of the cheapest and cleanest proteins; They're also used extensively in baking from breads, brownies, cakes, and pastas.

I eat 3 eggs a day for breakfast, 4+ days a week for the last 25 years.
“Bitcoin fans” != “crypto fans”. Much higher % of Bitcoin fans were skeptical of yield products from the beginning, prefer to hold their own coins, and are generally distrustful of the crypto market in general. It’s far from a monolithic group of people.

But yes that last part is right, people are always saying stuff like that and it’s a terrible argument if you can even call it that.
I agree with this. Otherwise you end up in a dead company.
Why does it have to be about making money? Bitcoin is a currency, not an investment. That's where a lot people get confused.
That's further cherry-picking (and I've never been unable to purchase either; we eat brocolli 3-4x a week).

The comment you replied to has the non-cherry-picked number for this month's report: "Food at home +0.2%"

Some things went up more than others, some recovered faster, and without deflation the prices will remain overall higher than they were a year ago.
Funny! As a Canadian, I am riveted by CNN/MSNBC/PBS/ for news on American political developments.
Maintaining systems is a balancing act. Your take seems kind of at the conservative end of the spectrum. Whether a certain degree of complexity is 'unnecessary' is so subjective and based on values and experience. You might be able to learn a bit by being more flexible. It's easy to get into a habit of avoiding changing a system because of it's complexity because there are definitely benefits to doing that, but at some point the business starts to see that system as a problem if they can't make improvements and add features at the rate they'd like.

To me the whitespace/code style issue is separate. Personally I think there are more benefits to letting people make these choices according to their own preferences rather than trying to come up with some consensus and then enforce it.
My smart light app that lets me pick any color. Being able to match the outside color temp or turn the lights red at night is awesome and it's kinda crazy to me that we can just do it so easily now
I have the same setup as GP and setting a higher temp doesn't help at all. My thermopump is in the main hallway on the second floor and blows towards the master and second bedroom, above the stairs. In summer it's great because it sends cold air everywhere and lets it sink to first floor. In winter, it just creates an insufferable hot bubble on the second floor. I already prefer to sleep in the cold and just use baseboard heaters on the main floor and bathroom. I don't even heat my bedroom.
https://nolanlawson.com/2021/08/22/speeding-up-indexeddb-rea...

IndexedDB seems like a whole bag of gotchas. SQLite + simpler browser provided file backing seems interesting to me.
The convention used by SI to give the name "kelvin" to the unit of temperature and to set its value by giving a certain value to the Boltzmann constant is completely artificial and its only justification is to ensure continuity with a certain historical tradition.

A completely equivalent convention would be to give the name "volt" to the unit of temperature and to set its value by giving another value to the Boltzmann constant, numerically equal to what is currently named as the ratio between the Boltzmann constant and the elementary charge.

The fact that "volt" is also the name of the unit of electrical voltage does not matter. The name of an unit does not identify the physical quantity measured with it. For each SI unit, there may be many distinct physical quantities that may be measured with it. (This is a very desirable feature of the system, which avoids the proliferation of many arbitrary universal constants in the formulas.)

This is actually a fallacy not infrequent at computer programmers, to believe that storing the measurement unit together with a number is enough to unambiguously determine its meaning. In reality, also the measured physical quantity must be known. In many cases the intended physical quantities can be deduced from the context, but there are cases when you have old tables or graphs whose meaning is hard to guess, even when having the measurement units.

The unit eV (electron-volt, used for energy) does not belong to the SI, even if its use along SI units is officially tolerated.

The same is with the volt as a temperature unit. Like the Fahrenheit degree, it is not an SI unit, but it is possible to use a system of units that differs from SI only by measuring the temperatures in volt.

Such an SI alternative has two advantages over SI. One is that in many frequently used formulas a multiplication with an universal constant can be omitted. The second is that it is much easier to have an intuitive understanding of the effects of various temperatures when comparing their magnitudes in volts with the values of some voltages or of some energies expressed in eV.

Moreover, the use of the kelvin is not well justified by backward compatibility, because few people are accustomed to think about temperatures expressed in kelvin.

Replacing the Fahrenheit degree with the kelvin brings a computational simplification, but if that is the target, going directly to the volt achieves more.
Tim Cook shares ‘Shot on iPhone’ short film to celebrate Chinese New Year
> The first one is easy to read and quick to understand

No it's not. Let's look at it again:

val x: Pair<String, Pair<String, String>>

What does x represent? You don't know. Actually, there's no way for you to know what the person writing this code meant when they defined this variable. Sure, you know its structure, but how is it meant to be used in the context of the application?

This is one difference between junior and more experienced engineers. Junior engineers know what they meant when they wrote the code, but often forget to consider their teammates or future selves.
I'd try a google lens, or google image search, as a first try. Reddit and history stackexchange could prove useful too.
Sinatra is my go to for barebones pages-style server side rendering.
There are larger open-pit iron ore mines in Australia. This mine produces around 1% of global output.
To me, the yaml document from hell is a series of yaml documents I helped create that replaced a bunch of database config and hard-coded constants. It helped 'unlock' the business to create newer forms of products much more quickly and correctly, but it never got moved to an actual database. So at this point, they have some yaml documents that, if expanded to include all references, end up becoming this massive fucking tangled mess.

IIRC we never moved it to a database partly because we did not have time to solve for how we actually wanted references to work.

The yaml document and code that reads it still work as a way of speeding up the business compared to how things used to be. But that code takes a long time to parse, has probably caused a decent level of confusion for developers who have to mess with it who aren't on that team, and has absolutely taken a lot of clock time being parsed for validation checks in unit tests.

Still not sure I would have solved that problem differently, aside from perhaps moving the thing to a database immediately after the first phase of working on it.
At some point it becomes a game of randomness haha. But I've capped it so it never makes the square less than 5 pixels. Well done you hold the record as far as I know!
maybe they should try offering competitive wages to those skilled workers. surprisingly it tends to attract motivated folks.
I am ok with no CSS/JS/WASM, but no graphics? This is wrong on metaphysics level. Like Socrates believed, writing was not an effective means of communicating knowledge
There is a second tab for other answers, where you do find both (though few) "Vanilla JavaScript" and "JavaScript" answres.

I think they should have had it in the main selection as - at least to me - sounds improbable that really so few use vanilla JS these days.
A lot of people use Sinatra for this type of thing.
What do you mean by "heavyweight"? Also why is it a problem that something is "heavyweight"?

What problem are you trying to solve by asking these questions? What context is this question for? Are you curious how many people use a non-rails solutions for enterprise apps? Cloud apps? Personal projects? Apps you want users to pay for? A blog?

I'd suggest stating what problem you'd like to solve by asking this question so you can receive more detailed feedback. For example, if your company is spinning up a new app and you're evaluating choices, someone may respond that they used sinatra but found themselves reinventing rails so they wish they would have used rails. I'd say this is more insightful than "yea, we use sinatra". Alternatively, maybe someone used sinatra for a personal project and found the experience of reinventing rails rewarding and educational on their own time. Let us help you!
> but my recollection is that it is basically SQLite.

SQLite, which has a SQL database engine, is, by definition, a relational database. IndexedDB is a non-relational, or noSQL, database. One can't be basically the same as the other :-)
I'm sorry about that, I thought everyone would know him.
Holtec claims SMR-160 can repurpose any coal-fired plant
As long as the first weight category went from 0 to 5 tons, this would be reasonable.
The author does sell it as a poster here: https://www.redbubble.com/people/windytan/works/31262230-the...

I'm actually surprised the link, company, and poster are all still valid/working 10 years later.
What would be good is “strict yaml”, that is, yaml with all those weird cases strictly disallowed?

Which would make it backwards compatible, as the cases would just make it invalid “strict yaml”?

And I’m thinking it might already exist? I’m surely not the first one to think of that
Cash is trash. It’s headed toward zero in the long run.

They’ve barely unwound any of the Feds balance sheet. I think it’s ridiculous for the markets to assume the fight is over and position for a pivot.

Imagine what would happen if the fed started selling $100B+ in treasuries per month. EVENTUALLY we’re gonna have to address that plus our enormous congressional deficit.
I donated stem cells to a stranger with a blood cancer in 2016 and reading this article reminded me of how thankful I am to have been able to do that.

It's funny how similar the author's initial situation was to mine - I was caught up in life, just accepted a new job, was getting married in a few months, and I get this call from an organization letting me know I was a bone marrow match for a patient. I totally forgot I registered years earlier after a blood drive in college and thought it was a scam, but eventually remembered signing up.

I'm irrationally afraid of anesthesia so when I found out that stem cell donation for adult patients is done through apheresis I was ecstatic and ready to go. There is a lot of process to go through before being confirmed as a match, a lot of doctor visits and blood work. When it was determined I was a good match for the patient, they scheduled the filgrastim injections and the donation day.

Filgrastim messed me up a bit. I had a lot of bone pain and headaches for a few days and the blood work before and after injections showed an ~8x increase in my white blood cell count (which is the goal - the stuff definitely works). My donation experience was much easier than the author's, I was on the apheresis machine for about 3.5 hours and was finished in one session.

The following year I hosted a donor registration drive at my place of work and helped 100 or so people sign up. I don't know if any of them ever matched with anybody - the chances of matching are really slim. It's super critical to register a large number of people to try to improve matching donors with patients.

Donating is probably the most significant thing I've done for another person, yet one of the simplest things for me. The doctors and organization are apologetic for all the inconvenience to me, but they're helping me save somebody's life and I get a full physical workup out of it. The pre-donation blood work and doctor visits were like the most comprehensive health check up I've ever had and it was all free.

I got a letter from my patient a few months after the donation. I cherish that experience and would do it again in a heartbeat. I never got to meet my patient, as some donors do. I hope they're still doing well.
Monthly inflation in December was -0.1%.
Plenty of money market funds run with 0.1% fees. SGOV for one. These things aren't expensive to manage, it's pretty much on autopilot.

Ideally a stablecoin would be non-profit and run strictly for quality purposes with audits etc. Why would you ever need more than one? The desire to skim some off the top is far too pervasive in crypto
Amazon will push this all the way to the Supreme Court if they have to. I suspect they will deny the union for some made up reason.
I'm in my thirties. Got ghosted, interview-cancelled and offer-cancelled the last 3 months. But I also got 2 offers for software engineer positions in early December 2022, both B2B and regular employments, and just started working fulltime on one of those.

I'd say keep looking and keep increasing your interview skills.
IndexDb is not a relational data store. It's much closer to Mongo than it it to Sqlite.

If you want relational tables, joins, aggregations etc, you want something like this (or the original Web SQL that was deprecated).

There is definitely a use case for it.
This is basically the Big Oil propaganda line, and it's been pretty thoroughly debunked. EVs are way more environmentally friendly than ICE vehicles over their lifespan.
But who doesn't love the OracleDB tri-state boolean?

/s
I grew up in Gainesville. Pump jacks were everywhere. Or more accurately, companies that built pump jacks were everywhere. Also drillers, mudders, cementers, etc.

Gainesville was quite prosperous in those days. But it was a dry town [then], so you couldn't have had a beer party without attracting some attention. That's probably why you went 30 miles away to Sherman :-)

I did a stint at a well logging company in college. The big French one that starts with 'S.' Or rather two such companies if you count TI. They're a semiconductor powerhouse now but they started out in the seismic business.
I worked with a very strong manager who would just fire this type of person after six months. He would give them a good chance to fit in, but if they insisted on arguing, they were gone. It was really good for the rest of the team. We produced simple, reliable, high quality code. It was an enjoyable, low stress environment.
This whole comment seems like a charming case of advanced Dunning-Kruger. You sound very confident in your assessment, but then it seems you are honestly suggesting that NYC TRACON controllers are being inefficient on purpose… for what? Fun times? You said it yourself— it is a busier airspace. The approach and departure spacing of EWR, JFK, LGA and TEB— not to mention the changeable airspace restrictions over parts of NYC itself and managing GA traffic into and out of the Hudson River Corridor— makes a simple single hundred mile long elephant walk to your preferred runway at JFK logistically untenable. Not to mention potential conflicting traffic from smaller airports in Connecticut and Long Island… And just a gentle reminder that as pilot in that airspace you have precisely one small piece of the big picture when it comes to being aware of exactly how complicated that can be for the ATC personal.
Those things improve safety, and we should certainly do them, but that’s likely not enough to bring all modes of transit into parity with regard to safety.
> There's already plenty of spare capacity in winter time that is necessary to support peak demand in summer time

That's not the case at all in very cold climates. Here in Alberta we get grid alerts when it gets extremely cold and that's with the vast majority of houses being heated by forced-air natural gas.

https://globalnews.ca/news/9364926/cold-weather-grid-alert-a...
Good call! I put this in place on my mail server and set it on my ansible base layer. Nice username too :-)