skysight-inc/HackerNews huggingface dataset:
Studies have shown that later sunsets lead to worse health and economic outcomes. People who live on the western edge of a timezone earn 3% less and have higher rates of lifestyle diseases than those on the eastern edge, because they go to bed later but wake at the same socially-prescribed time, and therefore get less sleep. [1]

So why make DST instead of eliminating it entirely? It seems earlier sunset would be much more beneficial for society.

[1] https://www.washingtonpost.com/business/2019/04/19/how-livin...
Is there an actual difference between these or is it just aesthetic? (and shorter)
Buy a wake-up light, then. We can’t force everyone to adapt to other people’s disorders.
(High speed rail…)
>Individuals obsessed with working on hard problems are very rare, so please don’t be a jerk to them.

Is this guy for real? "Obsessed with working on hard problems" describes basically every single university grad. And it's almost always a bad idea.
Well, then don't take them. I'm pretty sure you aren't responsible for other folks' medical care, though, and that's between them and their doctor. It doesn't matter how you think they should be used if you aren't a professional treating folks - especially considering that not all mental illnesses resolve within a year or at all.
I know it's a bit anecdotal but I definitely feel there's been a drop off in the number of AMP links I've seen in the last wee while. Ultimately I won't click them anyway, just like link shorteners.
IMO using Optional type means the inner value must be not null. And if it's Some(null), it should mean exactly same as None.
That would require a proposition.
That's not true, the legislature has final say over both statutory and constitutional law; it's just that the barrier to amending the constitution is higher than amending / passing statutory laws.

The Court's job is to interpret the law of its jurisdiction. If the legislature doesn't like the Court's ruling on some statutory law, it would then go through the process of amending the law. If the legislature doesn't like the Court's ruling on some constitutional matter, it would then go through the process of amending the Constitution. The latter process usually requires sufficiently more political will that sometimes a Court's ruling on a Constitutional matter is "final" from a practical standpoint.
> I am not sure I know a single person whose morning wake-up time is dictated by the rise of the sun.

I try to when I can. But you are right. Most people's lives revolve around work. For most of human existence, our lives revolved around the sun. Now it revolves around a job.
Ask HN: Is it better to start a front-end feature component first or API first?
By API, I mean whatever calls that are managing your front-end data. For example, if I had many user inputs that managed closely related data, should I start from a user perspective and build out all the components with empty calls? Or should I define and build out all the calls themselves before even thinking about the components (assuming the spec isn't super strict)? Fwiw I'm assuming a reactive, data-driven front-end. Also assuming the priority is extensibility. Does any of that makes sense lol
My grandfather broke his hip when he fell off a step-ladder while changing a wall clock. At the hospital, I learned that this sort of thing is not all too uncommon among the elderly, since "changing the time on a clock" seems like such a simple task that it slides right past the conscious awareness of one's own diminished physical abilities.
Sentry used to be easy to self host until a few years back with just redis and a database. Now you need to build an impressive stack of more than two dozen services. It's become a cloudified nightmare.
Maybe this will finally be the push that gets companies to change their start and end times in winter.
You don't need hypothetical Tucker Carlson situations in a world where Julian Assange and Ed Snowden are alive.

I live in the US now but I come from a third world country (Iran) where such atrocities are commonplace. And let me tell you. What is happening to Assange shows that when it matters, the intelligence community is above the law and not that different from those bizarre authoritarian regimes. It's just that their propaganda machine is just more successful at "spinning the stories" and making people believe Ed Snowden and Julian Assange are anything but heroes.
All of reality is an illusion, but I live in it, on Earth, and I am biologically tied to the sun and culturally indoctrinated and tied to conceiving of the day as starting in the middle of the night. Instead of trying to discard the legacy tech debt of billions of years of evolution and thousands of years (maybe more!) of culture that I need to sync with other humans, I think I'll find a solution that integrates with them.

The philosophy is interesting and valuable, truly, but it's not a solution today.
(I work at System)

First, thanks!

By internal contradictions, do you mean conflicting evidence in the relationship between topics or metrics? That will (and does) come up regularly - peer-reviewed studies investigating the same topics have differently measured (or contradictory) results. We have tools for assessing the statistical quality of submitted relationships (through things like statistical reproducibility, algorithm type, statistical controls, etc.), so unreproducible or statistically unlikely relationships will be clearly seen as such. Building tools to programmatically test reproducibility of evidence is definitely something we've thought about (if that's the "formal verification" you are talking about).

Ultimately the goal will be to (statistically) approximate the sum total of all evidence between pairs of topics, and also to provide users with the tools and sources to assess (and apply!) that evidence.
The hour of sunlight is approximately sinusoidal. Changing time is approximating the sinusoid with a square wave. It's not as smooth as it could be, but smoothing it out would cause more accounting problems than it would solve. It is also easier to manage than having schools and businesses change their hours in winter, which is the other way to approach the solution. If you want a smoother transition you are fully in control of that.
You could get up earlier??
What a liar says doesn't matter, his acts counts more. But even lying, he said that Ukraine is Russia just a few days ago.
A few weeks back I couldn't add/edit/remove domain names that start with a _ and contained an accent. That's when I found out how good their support really is, even for a bug on their side.

Probably best to use a service from a company primarily in the business of offering paid services.
In Poland, trains literally stop for an hour when switching to standard time. Since it's during the night, it's not many trains, but still, people literally have to wait an hour, making their travel an hour longer, because of the time change. It happened to me once, I was robbed of an hour of my life due to this ridiculousness.

Granted, time switching doesn't directly force trains to stop, but I imagine the risks related to the time change or just travelers' confusion is the reason why that happens.
Only a correlation, and a small one at that.
And the Kurds in the middle east
> Where I grew up there was a time when they needed to upgrade the bus fleet, so they passed a bond specifically for that purpose. If I understand the law correctly, this wouldn't be feasible in California outside of basic-aid districts

You misunderstand the law, all school districts in California can submit bonds to the voters of the district, and this is a routine method of addressing capital needs.
Wake-up light doesn't work for everyone (e.g. me).

Not having affected by the light as much doesn't give anyone powers to tell others what to do.
That is my assumption as well, but honestly, I don't know if the clock is a contributing factor or not.
There's probably a rhetorical term for it. Claiming that someone or something is good, but not demonstrating or justifying why it is good
Do you know the numbers? Is that what you meant by big sale?
I think for folks with any kind of seasonal affective disorder, having a fixed time on the clock year-round is still beneficial. Take more vacation in winter. Push for slightly more flexible work hours or at least a later first-meeting-of-the-day.
"Your engine is gonna love this stuff"

Mine won't. And other parts will degrade.

I meant oversell period, not corn. Oof!
"agression" against its own territory? Russians should stop lying to themselves and accept that Donestk and Luhansk is Ukraine, not Russia.
Thank you for this link. I guess we really are doomed to repeat history.
Semantic and Similarity Image Search Engine
Based on OpenAI's CLIP and the clip-retrieval library (https://github.com/rom1504/clip-retrieval), I've built an end-to-end demo for a semantic and similarity image search engine. It's incredibly powerful for finding similar images amongst large image datasets, or just submitting text/natural language queries and finding the most relevant images in your dataset. Really useful tool for introspection into large datasets before annotation or ML work begins. This could potentially be used to filter or downsize your datasets by several orders of magnitude and make annotation and ML work easier and less costly.

Checkout the demo here:

http://ec2-52-39-251-116.us-west-2.compute.amazonaws.com/

And you can checkout our website or email me for updates and email list, etc.:

https://machineperception.co
ameer@machineperception.co
Homelessness has definitely increased in the last 2 years, as it has throughout all of California. The high cost of housing and income inequality are absolutely massive problems that have gotten significantly worse since the onset of the pandemic. We certainly have problems, and housing costs and drug overdoses are absolutely serious issues that are trending the wrong way. But to claim that Berkeley is a ghost town with almost no retail and half of restaurants shuttered is just pure fiction. I drove through campus the other day and a group of kids was playing beer pong on their front lawn. People are everywhere. The commercial areas are back with foot traffic. It’s not anything like the original commenter described. It’s like they went out once in March 2020 and then never left the house again.
> The change would help enable children to play outdoors later...

The change would help enable the executive class to play golf after work hours...
I have made ipfetch,lookup IPs neofetch style
Here is the repo: https://github.com/trakBan/ipfetch

Here is how it looks like : https://imgur.com/98RIZps.png (Image is kinda outdated but still relevant)

This is my first project written in bash so any advice would be welcomed.
Disagree. Having the sun set so early is far more depressing than it rising a little later in the winter. I'd rather have a 7am sunrise than a 4pm sunset.
> But, as for the stories themselves, probably not that funny.

You can't mention this and not tell a story or two
Seafloor changes associated with the degradation of Arctic submarine permafrost
Great point. Although, that sounds like a typical example of "let's write it the ergonomic but less performant way first, then profile and refactor as needed". That seems very tractable for that sort of refactor, especially with type safety.

Also I would not be surprised to see JIT-like behavior from go tooling, first party or otherwise, if that sort of approach takes off.
I feel like browser translation widgets have gotten good enough that if half of HN is reading the article as a translation, they'll still be worlds ahead of the half of HN who doesn't read the article before commenting.
Open source ISA - no licensing fees.
What's do notation?

I've used optionals in many languages, and this is the first I've heard of it. What else do you really need except map and... flatMap (aka `then` aka `and_then` aka `>>=` aka `bind`).
I think the key part is less that and more the way of phrasing it. So you're encouraged to ask non-technical questions how they're supposed to be better than the competition but not allowed to say "but Google dominates that space, doesn't it?" to imply they don't necessarily need to exist. (though the author also says "I think your UI is not good" is 'constructive' feedback, so they don't think you have to be nice!)

I think there's a point to that especially if it's a business you don't know and you're not a VC or angel, but I also think there's a surprisingly large number of entrepreneurs out there who are smart enough to live off ramen and program something complex like a search engine who do have a massive blind spot about routes to market or the complexity required for the software to actually be viable rather than just minimum. Sometimes the blunt approach "doesn't the network effect of $dominantplayer create a massive lockin" is more helpful than a general "so how are you going to get customers?" which is easy to answer with a generic "sales/marketing/referrals/affiliates". The entrepreneur ought to be able to give a more interesting answer to the first question, and if they aren't able to they're going to need to figure it out...
> They like their neighbourhood exactly how it is, and if they could mandate perfect stasis they would.

Y'know, if a community wants to have _perfect_ stasis like that, it should be allowed. Which of course also means that when you sell your property, any gains in land value should also be taxed away and the property's max rent should also be locked in at purchase time. This would of course, even more preserve the character of the neighborhood. Otherwise it is too convenient for NIMBYs that their policy preference also happens to align with their economic interests.

(/s obviously, though a land value tax would be excellent)
I’ll take “Things I’ll never use for $500, Alex.”
The movie is a Coppola masterpiece. The book feels much more like a Quentin Tarantino. Definitely a fun read.
I actually find regular changes worse. When I flied across the pond, schedule was constructed around it. Switch to and from DST requires semi-permanent shift in daily routine with is much more annoying.
> The Senate approved the measure, called the Sunshine Protection Act,

Not to be confused with "sunshine laws", and using that word for an unrelated legal measure could, uh, cloud things.

https://en.wikipedia.org/wiki/Freedom_of_information_laws_by...
Again, anything that looks at this from a systems thinking standpoint? It's just focused on sleep and they don't take a n-order impacts into consideration like burden on parents, loss of job/income, etc. Not to mention some of the links are done by an industry group - the Nation Sleep Foundation (potential for bias). Some of the articles are pure anecdotes and opinions too.

It says as late as 11pm. Another one says some of the later time can be explained by other things like light exposure. This seems to indicate that a 10pm bed time could be attainabke with a wake up time of 6 or 6:30 providing adequate sleep. Some of the studies show that even on weekends without the waking constraint teens are getting 7-8 hours or less. It's also indicative of weak influence when we see the remote learning being called a disaster yet these articles are touting the benefits of the extra sleep associated with them - where is the mitigating impact then?

Also from the articles, “As I often phrase it, multilevel interventions are needed,”. Why not start with the less intrusive interventions? Not all kids require a later start time, and could even be hurt by it. A later start time would have hurt me, for example. We need to make sure we aren't hurting some people in an effort to help others.

Perhaps the strongest evidence is that adults are not affected by the hormone related shift and yet they too do not get the recommended sleep. This points to the idea that environment and habit could be factors.

So far I see no absolute evidence of societal net benefit, largely because the studies ignore n-order impacts and fail to fully explore alternative explanations and remedies.

Don't forget, a lot of this is psychology and is just towing the line. They don't even know why bi-phasic sleep disappeared. I would love to see the data for adolescent sleep times and duration for the past 150 years, but it appears the studies completely ignore this. For knowing so little, they certainly are pushing hard for a specific change (a change that some of the studies don't believe will fix the issues, such as achievement gap, hormone altering light exposures, etc).
I practice anapana and vipassana so can empathise, but it is plain ignorant to think Buddhists are necessarily peaceful. Tibet was a violent warrior kingdom and Buddhists have committed many crimes too. See the ongoing (!!) genocide in Myanmar where Buddhists slaughter Muslims. You could argue those agent real Buddhists, but thats just another Scotsman.

I don't mean to diminish the crimes the Chinese continue to commit against the Tibetans, nor the benefits of Buddhist practice, but seeing Buddhism with rose tinted glasses is just not reflecting reality.
Maybe I should try a less strong cup.
Other examples of adaptions with suffix-less Wikipedia articles:

https://en.wikipedia.org/wiki/Forrest_Gump

https://en.wikipedia.org/wiki/Fight_Club
Circadian rhythms and all that. The body reacts to sunlight. It's been shown that auto accidents are more common when people wake in darkness as the brain is still spinning up. It's why we use f.lux to help us go to sleep.
This decision boosted my confidence in the US Gov dramatically that they're actually trying to get more efficient.
RE your first question, one of their answers from product hunt may be useful:

> Q: Is this supposed to be open source version of Google's knowledge graph?

> A: At their essence, KGs are based on semantic relationships, e.g. coffee is a beverage, apple and banana are fruit, diabetes is a disease, etc. System is based on statistical relationships (collected and synthesized from data, models, and papers): A predicts B, C is caused by D, E and F are highly correlated, G and H change together, etc. [...] We hope these will be complementary ways of understanding the world -- one based on language, the other based on statistics.

I think internal contradictions are more of an issue for a Knowledge Graph, which try to infer things and have to make conclusions based on possibly contradictory evidence. System just tries to present the available connecting evidence without making object level conclusions itself.
Let's follow up offline.
> it's worth remembering that the top priority — not just for climate hawks but for humanists of all sorts — should be reducing the need for, and number of, cars.

Prescriptivism is worrisome.
I'm completely in favour of not regularly shifting the clock backwards and forwards, but making daylight savings time permanent instead of standard time is so dumb. I guarantee this is because people think they will "get more daylight" or something stupid like that. I guess this is the pragmatic solution to getting people to agree to stop the shifting but damn, we are so far from Star Trek right now.
> The lack of agreement on this point tells us something about why we change clocks and why we should continue to do so (albeit more smoothly).

Personally, I see the options from best to worst as:

1. permanent standard time

2. permanent daylight time

3. change clocks twice a year

4. change clocks more frequently but by a smaller increment.

Lack of consensus as to which of the first two should be #1 isn't an argument for #4.
KsqlDB 0.24.0
>For most of human existence, our lives revolved around the sun. Now it revolves around a job.

I blame our corporate reality as much as the next guy but tbh even without work most people's lives don't exactly revolve around the sun. Or else the clubs on the weekends would be empty
Yeah, I think that nix.dev is a much better resource for getting started with Nix quickly.

I wrote How to Learn Nix mostly out of curiosity: I was interested in Nix as a concept, and I didn't really know what it could do going into it. I picked the title long before it became clear that reading the official documentation was not a good way to actually learn how to use Nix. "The Nix Diaries" or something would be a lot more accurate.

That said I don't know what a better approach would look like. nix.dev and tutorials like that are very useful, but my (possibly outdated) understanding is that they never take a step back and explain how or why things work. So you can follow along with what they're doing, following a carefully lain road, but as soon as the road ends you find yourself in the middle of nowhere without a map of your surroundings. (This was how I initially tried to "learn Nix" in 2016, and basically gave up on it -- nix.dev didn't exist back then, but I followed various random online tutorials.)

I think it's a good idea to come at it from both sides, and How to Learn Nix is much more in the "build intuition" camp than the "get something done" camp. I'm glad you're finding it useful, though!
I understand, and I don't say Rust was first, instead, that having high-profile new langs make people interested in new langs (like nim), because it draw attention to that...
sometimes you just wanna run sqlite3 & simplehttpserver on the client ;)

I am down for WebUDP. It will happen. Though it's been 5+ years

The Need for WebUDP

https://news.ycombinator.com/item?id=14859280
I agree that makes more sense (though I'd take a 24 hour clock over that), but let me know how you are going to get everyone to go along ...
I wish I understood how people can say 'this will result in so much more weird boilerplate garbage code' as it solves a problem that has resulted in an absolutely ludicrous amount of weird boilerplate garbage code. You're not trading off generic code vs non-generic code. Problems are generic. For solving generic problems, you're trading off the generic code that best expresses them, for codegen, dynamic downcasting, or Ctrl-V. The first two are not simpler (in the Go way) than generics, and the third is an antipattern in every programming environment.
I agree! I'd do `Button.test.tsx` right inside the component directory. Managing a mirrored structure feels like a lot of wasted effort. Same for Storybook stories (`Button.story.tsx`).

That said, I'm not 100% sold on the value of testing React components, outside of some very specific cases (eg. a very complex component with lots of internal state). I prefer to write integration / e2e tests that check views/pages/flows as a whole. And so for those, since they aren't connected to specific components, I do have a separate `/tests` folder.
What does that mean in practice - easier for people to manufacture hardware for them?
Article lacks the piece of information needed to come to your own conclusion: current and future revenue projections.

Obviously some think it worth it since these sales are happening.
Wouldn't quite a few people like this sleep through the sunrise and be happy to have an extra hour of daylight at the end of the day? I don't see how its any worse for the non-morning people in that group.
That's also true. Filesystems do have an advantage of being testable by millions of people, relatively stable from one user to another over the medium term, and at least the experts share their experiences. Also, there are no gaps in the regions that benefit from good filesystems. Regional enforcement means spotty enforcement.

As for expense, the reliability of the filesystem is free up to a certain point. There are system failure modes that have to be covered by hardware and admin expenses, such as decentralized backups (just one example off the top of my head).