skysight-inc/HackerNews huggingface dataset:
Show HN: I made an app to help insomniacs learn how to sleep again
Hi HN! I suffered from chronic insomnia for over a year and tried everything from cutting coffee, blocking blue light, to taking melatonin and antihistamine, but couldn’t find anything that worked. I even bought a $500 research-grade EEG device to track my sleep, which was honestly kind of depressing because it showed that I was sleeping less than 4 hours per night for weeks straight.

In the day, it took an immense amount of energy for me to perform even the most mundane of tasks, such as doing my laundry or ordering groceries. At night, I felt an overwhelming sense of loneliness and resentment as I lay in bed wide-awake, reading and re-reading Sleep by Murakami or mindlessly scrolling through reddit/ HN. My performance at work suffered, my personal relationships suffered, and my happiness suffered.

When I finally decided to see a sleep specialist, I was put on a 3-month long waiting list. Eventually, I was able to get my insomnia treated, but I realized that there is no reason why anyone should wait 3 months to get treatment when the same therapy that I received can be delivered online. My co-founder and I both have experience in digital health, so we decided to partner with sleep experts to create a mobile app to help people with insomnia get better sleep using psychology.

We launched in February this year, and have already helped over 500 patients improve their sleep permanently. Our data shows that our program is just as effective as group, in-person sleep therapy, and we’re doing a clinical study with Brigham and Women’s hospital and Harvard Medical School to prove the efficacy of our product. On average, our users sleep 74 minutes longer than before and spend 52% less time awake in the middle of the night.

If you have trouble with sleep, try our app and let us know what you think!
Because pharmaceutical research is hitting a wall in many areas, and companies are “catching and killing” generic manufacturers specifically to extract more revenue from long invented products.

Government should absolutely play in this space. Hell, one of the primary anti-fungal creams (NYStatin) was developed by a female researcher and state employee in the 1960s.
> Even as an adult how many of us get scammed. Even cops do!

We need antivirus software and firewalls for our brains. It’s coming.
Regulation that was lobbied into reality by… who?
This was a really fun project!
Clojure is a dialect of Lisp according to its website.
I personally found its disturbing when music is on.
There's a reason we have the phrase "crossing the Rubicon". You can sneer and say that crossing a river doesn't have anything to do with the fall of the Roman Republic all you like.
Yeah, I guess if cost is an important factor, trains are not available, and the airports are both sides are on the distant/large/inefficient side, then the bus could marginally make sense. That's not a combination of factors I've encountered in recent memory though (but I don't go to North America much), and it's so marginal that I think every time I'd go for the increased comfort of not being on a bus (no matter how "luxurious") for 12+ hours.
HP Reverb G2. Also happens to be the highest resolution headset I think
> If you are off-grid and adapt everything to using solar and battery then you can get "free operating cost" with enormous costs and loss of reliability.

Well, it turns out that the costs are not at all enormous, and I don't understand why you think the reliability will be less. I've already had one major and several minor unplanned grid power outages since I moved here 6 months ago.

Are in-home batteries less reliable than the grid? I haven't heard that, and I don't know why they would be.

I think the payback time for the system I'm looking at (panels + batteries) will be ten years, but I'd much prefer to reduce my emissions than to save money through buying dirty (black coal) power from the grid. Of course there is the embodied energy and CO2 of the system and I haven't looked at that (yet). I'm still starting out.

That said, power prices are rising dramatically in Australia, and battery prices have been falling for years, so in 6-12 months time when I actually purchase the system, I think it's likely that the payback time will be significantly lower.

The point being that, at some point, the price will come down to the point where people will take out loans to buy these systems, because the loan repayments will be lower than the cost of buying power off the grid.

That's the opex/capex equation kicking in, of course, which I didn't think was trying to be fancy at all.
Another option is for the business to host the (open source) chatbox themselves, but the messages are stores and routed through a 3rd party. The chatbox is probably just a plug and play component that can be embedded in any page, and hosted statically by the business. Much easier than self hosting the entire messaging infrastructure.

This is one of the major benefits of having an open protocol like Matrix. The clients are separate from the servers. People with more resources and more expertise can host the servers, while regular users just need to download an open source client, and they can rest assured that the messages are secure.
interesting contrast vs the us congress, which is trying a price cap

as with every build-vs-buy problem, you don't know if you'll actually be able to do it until you do it. I'm wondering what a state government has ever done that is as complex as manufacturing a medicine -- maybe road building / big water projects?

if they succeed it would be a new chapter in state capacity + really exciting, especially if they are transparent about accounting and show that they're not warping the market

I think biohacker group open insulin https://openinsulin.org/ was founded in oakland -- they're working on lispro, the fast-acting kind in humalog

the humalog plant in puerto rico cost 200-500 million dollars in the early 2000s [1]. there are 3+ million californians w/ diabetes (per diabetes.org), and it costs north of $5k per year per person, so that's like 15 billion. you don't have to dent that # much to get ROI on this.

1. https://www.pharmaceutical-technology.com/projects/eli_lilly...
How hard would it be to found an insulin startup? This seems like the kind of problem designed to be intractable, the "busy work" of bureaucratic private health care systems.
The Stock Markets and Crypto
I don't expect spic&span. The alternative is my kid can never find anything, because everything is in a pile on the floor. That's how you get ants (or worse).
My personal hunch is that the only gap is a developer training gap. Since ~2014 there were a bunch of copy-pasted bootcamps selling "MEAN stack" or "JAM stack" or whatever, but all of them centered around JavaScript. It seems like the assumption is that everyone does web, so we have to shoe-horn JS into making native apps with tech like Electron, React Native, etc. But, the JavaScript ecosystem is actually very complicated. I'd say it's just as complicated as Qt or GTK, but maybe they lack the kiddie pool introduction that making small JS programs for the browser offers.

If JavaScript isn't your comfort zone or you don't come from frontend web development, Qt in particular is awesome. It comes with a ton of primitives that you don't have to reinvent from scratch. It has UI controls that do the complex stuff you want without having to pile a bunch of event binding code on it. You don't even have to write C++.

It bothers me every time I read about Electron's redeeming quality being that it allows web developers to build native apps. Python is a "web" language, and you don't need to write anything but Python to make a great Qt app. A famous Electron app like Slack could have very well been written by web developers using Python, and I bet it would feel snappier than today's Slack.

Good luck with your GUI system, btw. I'd love to see what you make.
Does rendering this type of stuff drain the battery on mobile devices as the processor attempts to render all this?
No one needs a hummer.
caveat emptor.
> What happened to correct that culture?

You probably already know the answer to this and are asking it to spur discussion, but of course the answer is: absolutely nothing.
Slightly controversial, but I think most companies could cut the fat from their talent team by 30% and their hiring pipeline would not change. I’ve seen firsthand how a lot of recruiters operate and it’s remarkable how inefficient they can be.
I'll confess to being unfamiliar with the specifics of the technology. I'm also generally favourably inclined toward Homer-Dixon's work.

That said, the technical challenges, and costs, of drilling through many kilometers of rock are considerable. As are those of operating geothermal generation sites based on such bores.

The far less challenging Habenro project in Australia is a case study of early estimates being proving exceedingly optimistic:

I'd become aware of that specific project about a decade ago through ... a highly-positive puff-piece published in an overly-friendly Australian energy publication. The tone and fast-and-loose benefits descriptions set off a few alarms. The project ended up as a failure, the company running it pivoted out of geothermal energy.

https://old.reddit.com/r/dredmorbius/comments/1wpa90/how_not...

http://www.theregister.co.uk/2013/05/02/geodynamics_habanero...

I suspect most of the other links in my Reddit piece are dead, though archive copies may exist.

Energy Watch article archive: https://web.archive.org/web/20130805195650/http://www.energy...

ASX link seems dead.

Advertiser on SA Geothermal: https://web.archive.org/web/20130420153842/http://www.adelai...

AGEA: https://web.archive.org/web/20140126042126/http://www.agea.o...

All of that said:

- Geothermal does have long-established, well-proven, economical capability.

- I'm convinced humanity's energy future will largely be renewables.

- The ultra-deep plasma-torch borhole stuff might work. It's something of a longshot though. That said, I'd like to see related technology (e.g., the boring bits) and trial projects attempted.

Even the Habenero project wasn't an utter waste --- it was an experiment, just one that didn't pan out. It would have been far more worthwhile for it to have received coverage which portrayed it accurately, however.
Children now engage in play and social dynamics online. If your child's peer group engages in online interactions with each other and your child does not, your child will risk the struggles of bullying and isolation. Children are forced to be with their peer group for most of their waking hours and practice social rituals like hierarchy establishment, identity formation, boundaries, in-group/out-group dynamics, etc. with each other.
Yeah if California gets it shit together and de facto secedes, that would be really good.

And I say that as someone who left California for the northeast.
> Python 2 is unsupported by the Python Foundation since 2020-01-01 and is being removed as of Debian 11 (Bullseye)

https://wiki.debian.org/Python
I visited Rome, Florence and Venice in January.

I can't recommend the season enough, it felt as if I had some aspects all to myself.

In the summer, I understand the crowds are insane. The only drawback is moderate rain.

My favorite was the old city of Ostia.
That is cute. Like a story I heard about a kid that thought WTF stood for "Wow, that's funny".
> 7.7 billion people—roughly 99%

I hadn't realized we were closed to 8B than 7B now.
The CIA is trying to hire young, college-educated people. They tend to skew fairly permissive on social issues.

Just to give you an idea of where the culture is: There's a defense industry "shitposting" subreddit that is full of younger, pro-America, pro defense industry types and its members would likely fit your definition of "woke". There's a whole group of them on twitter too tied in with the osint community.
I'm told Marc Cuban is failing right now, but I don't think that dude ever did anything difficult.
And are they only hiring exclusively people whose resume show a stint at a FAANG company or a CS degree at a top-10 school?
I can’t relate at all to that sentiment. California has got to be one of the most bloated and wasteful state governments in the entire US. High taxes and nothing to show for it. The entrenched far left seems bent on destroying the middle class, driving out business, regulating everything to death and displacing merit as a selection factor.

Whatever glory Cali has— tech, entertainment, farming, weather, natural beauty— is in spite of govt rather than because of it.
Yeah that's pretty solid!
> I am very much an Adam Smith invisible hand adherent

The ICE ecosystem already benefits from large involvement of the government in securing fuel supplies. The EV ecosystem also benefits from large involvement of the government in electricity production and distribution. Both sectors benefit hugely from government involvement in road building and maintenance.

The whole transportation industry, and infrastructure in general, is very much not an "invisible hand" sector... More like layer upon layer of government involvement. I think you'd probably disagree with a lot of people who've voted in some form for these things.
> They have some immense challenges in DHS

Racist abuse of migrant kids and breaking the bones of unarmed protesters really eats at the soul over time, I'd imagine. Those poor DHS agents - won't someone think of their stress levels?

https://theintercept.com/2020/10/06/homeland-security-dhs-mi...
Your eight year old has never been online? Not even on your phone or at a friend’s house or at school?
> By default, China considers all ethnic Chinese to be Chinese nationals.

That is not true at all since:

> If you have ever held or could have held Chinese citizenship, you are a Chinese national unless Beijing decides you are not.

So a an ethnic Han or Kejia who was born and grew up in Malaysia is ethnically considered Chinese, but the PRC has no claim that they might be a Chinese citizen.

> And even if you were born abroad but you're of Chinese descent, Beijing still feels as if it owns you.

The only case where that can happen is if one of your parents has Chinese citizenship when you are born abroad, and even then it supposedly doesn't count if they have permanent residency in another country (e.g. my kid is supposedly not a PRC citizen because I'm American and mom has a US greencard). But this isn't clear and all you can do is try to get a Chinese visa; if decided to be a citizen of China and another country, kids have to renounce one or the other when they are 18 (but they can't do that before, there make easy exceptions for people like Eileen Gu for dual citizenship because China doesn't really have rule of law, so they can make it up as they go along).
I know some commercial fishermen in California and noticed they like to post on social media while at sea. I asked and it turns out they for the most part can get LTE coverage a good distance offshore, to the point that while dragging nets in water 10,000 ft deep they still can use their phone. The cell signals travel much further over water compared to over land.

I will ask one of them for an idea of how far they get when they lose coverage and edit when I hear back. He is on the boat now.
Isn‘t part of what allows much hire bandwidths for Starlink due to spatial frequency reuse, which requires mandatory beamforming on both sides of the connection?

There are many satellites overhead at any given time (the current LEOs and MEOs usually have just one), so terminals need to be able to limit their gain to a small angle not only for gain reasons. Steering in handheld applications seems very difficult.

Of course, they could dedicate parts of their spectrum to "one sided beamforming" and compete with Iridium that way (no idea if the L-band has any other advantages over Ka when used like that).
That’s insane.
Talk is cheap. Let's see how the costs compare.
Is there a reason why they require me to sign in?
I actually found an out of the way synagogue specifically for a gift for a friend, and otherwise did make a point to find a few places where I saw no obvious tourists.
High taxes on newcomers. Nearly nonexistent taxes on dynastic families.
Be wary of the Gods on Hackernews
https://news.ycombinator.com/item?id=25047838
Absolutely wonderful write up. And filed away for when I need to point my cofounders to something on why we should put it off as long as possible.

It's crazy how different the approach to SOC2 here is, having someone in the company running it vs having a "security/compliance" consultant taking point. We wound up with basically everything in "What We Didn’t Let SOC2 Make Us Do", despite protests by most of the engineering team and lots of documentation. It was very much a case of badly aligned incentives. "Person who sells services suggests buying more services from him".

One of the very annoying additional requirements was all the additional process around Jira (which is already annoying enough to use). Such as "Engineering cannot make this kind of card, it must be made by a product manager" and "Engineering cannot move the card into the final state, that must also be a product manager". Which might be fine for a larger company, but we had one PM and 3.5 devs.
A neutral Ukraine would have not, but NATO bases in Ukraine would pose an extraordinary threat to Russia

Russia has several thousand thermonuclear weapons, a couple dozen of which might actually work. Consequently, the only conceivable threat to Russia is the man currently occupying the Kremlin. No one else can lay a finger on Russia.
Starlink on your yacht, so hot
Simple pixel shaders are pretty much the same thing. PS 1.0 hardware was the same hardware as register combiners, the compiled shader program was simply what got blitted over the register combiner config registers. You could absolutely write a simplified shader ASM that would compile to these css statements.
> Reducing the exposure to the wolves

...which is "keeping the wolves at bay".
Throttle is drive by wire, brakes are hydraulic (as is the clutch), and steering is hydraulic.

That said, I'm not railing against computers in the car, I'm mostly saying I like manually shifting my gears.
It's better to use mi/kWh. Hummers get 1.3. Small EVs are well above 4.

Edit: fixed units
In a "Seller's Market" such as the Oil Market is, the idea of a price cap is ridiculous, anyway. The only way to reduce the oil price is to kill off the world's demand for oil.

Why is the West so intent on shooting itself in both feet?
You can make your own refractory snow…just fire the inside to 800F for a second. This melts the snow on the inside which freezes instantly forming an extremely rigid layer.

Personally I would not trust a snow oven to make a regular pizza…though it could be handy to make frozen pizzas in.
I lived and worked full time on a boat for many years. The answer to your question is in three parts:

1 - normal cell hand held phone use, you can often get (patchy) reception up to 15 (more sometimes) nautical miles off shore if lucky.

2 - setup a wifi hotspot on your phone and pull it up the mast. Range increases, i'm not sure how much to, but at 15nm the reception is good. Can work out further too, i've been on the far side of the channel islands in CA and had (poor) reception

3 - device with directional antenna up the mast - I always intended to do this but never did. I expect probably can get genuinely good coverage at 20nm out, maybe a bit more
Wouldn't alienate me. I have religious friends who call my atheism a "fail". Doesn't both me one bit. Being confident in your believes gives you the ability to weather criticism. Likewise I routinely an upfront with religious friends that I think they believe in made up things, and are wasting their time. It's just a fact that I think that, and it's honest. Again, shouldn't bother well-adjusted religious people. They kinda know that 100% of the earth's population doesn't believe the same things as they do. You kinda get that going in to it.

People should be more open to welcoming differing opinions. No one should have to self-censor their own opinions.
A bit related, few weeks into invasion a propagandist on Russian state TV was lamenting about Ukrainians being supposedly much more "nazistically" brainwashed than Russia expected them to, and as an example he told "I have a friend in Harkiv, he had been pretty pro-Russian, he sat just 6 days in the basement hiding from the bombings, and after that he completely turned around, voluntarily joined Ukrainian territorial defense force and is now running around with machine gun against us".
I can't claim you are wrong. But I do question when the evidence is so murky. A lot of what folks think they want in efficient systems are systems that would fail because of how efficient they were run.

That is, what evidence do you have that the success is in spite of government? Is there a comparable government or system that is doing better? Why? Or why not?
It depends on what you define by lightest, are you looking for smaller binaries, smaller memory footprint, smaller CPU usage. It also depends on the system you are shipping to and how. For instance a Qt application on Linux is going to be just a few kbs since you can just use the system libraries, but you will probably want to ship the lib with your application on Windows which means around 40MB or more. In this case if you are developing for Linux then Qt is lighter, but if you are developing for Windows the you should use Tauri (which will have a binary of around 2MB, but much more memory usage due to the webview).
Shoot, if that's true I'd rather just rent a truck twice a year and own a vehicle that suits my needs better for the other 363 days of the year.
But it’s not a new insulin, it’s just some manufacturer. Plenty of generic insulin’s exist already. Why build a new plant just to make something that’s already sold?
> Who are they employing?

Thankfully, nobody who consumes a certain illegal plant-bases drug, and are fine with working for someone who counts that as a criteria.

..this probably self-selects assholes much more efficiently than you would think.
Correct PR link: https://github.com/gpujs/gpu.js/pull/768
No they aren’t. They’re making a generic of an existing insulin. The same stuff other companies make.
That was my first thought as well similar thing. They are right that it isn't being detected but malware detection for Linux has always been lagging.
I meant in general. Innovation happens everywhere really. But in this case I would say innovation in communication.
This is a pretty interesting public-private partnership proposal that Newsom seems to have been working on for a while.

Budget Request Summary

HCAI requests one-time $100 million General Fund, available until 2025-26, for the CalRx Biosimilar Insulin initiative. Through a contract partnership, the State would invest $50 million towards the development of low-cost biosimilar insulin products, an additional $50 million towards a California-based insulin manufacturing facility. HCAI also requests $2.8 million General Fund, over four years, for state operations to fulfill requirements of the partnership, including monitoring, oversight, and legal compliance. The insulin products are expected to be widely available to Californians, through a variety of outlets.

https://esd.dof.ca.gov/Documents/bcp/2223/FY2223_ORG4140_BCP...