skysight-inc/HackerNews huggingface dataset:
Apple Health tracks the data. It just doesn't provide graphs except for the most common variables. I'm not really sure why no one makes a graphing app that works off HealthKit data
This is on .net core 7.0.5, Debian 11, Server GC (which is expected by Hopac). I removed all GC code and ran it as an executable using @compumike's `ps ax -o pid,rss,args' command. I think the only one that triggered a GC was the execution with 10M concurrent jobs.

N Real(s) User(s) RSS(kiB) RSS(MiB)
==================================================
1 10.08 00.04 42660 41
1000 10.07 00.06 40736 39
10000 10.09 00.20 44176 43
100000 10.15 01.85 58532 57
1000000 10.88 18.18 182024 177
10000000 22.28 4m04.84 1452224 1418
Congratulations, you're in the 5%, along with us :)
The author doesn't have the understanding to have even gotten close to the capability for nuance you're asking for. They just copied code from ChatGPT and ran it and timed it and made graphs and it somehow got on HN.
That's not a typical use case during development though. People need fast feedback loops: they'd rather rent multiple GPUs and have the result the next morning, than waiting for days with no guarantee of success.

So unless you have stable tasks that need to run continuously, or have enough users to keeps your GPU clusters busy, your GPUs usage would be quite bursty: some period of high activity then a lot of time idling.
The joke is that crypto makes it unusually easy to have your money stolen away, only to be met with the "code is law, not your keys not your coins" adage from crypto maximalists.
Given that nearly all that volume is made up of artificial wash trading to manipulate the price, I'm not buying it. If crypto had any real world use I would see it when I stepped outside into the world, and I don't.
…so if someone recorded the buffalo massacre as a bystander then it’s evidence and ok?

Slippery slope
>> "I don’t think telling people they don’t know enough about the human experience"

I'm going to stop you right there. I didn't say that. Let's back up to the post you replied to.

>> "Everyone is non-binary. The culture-bound stereotypes that are attached to and imposed upon female and male aren't enacted fully by anyone. One does not need an additional identity outside of woman or man to do this."

This isn't about "the human experience." This is about a specific human experience that you may have, but clearly need to process a bit more before you go around trying to dismiss--or participate in the dismissal--of others' experiences.

You do not know what you don't know and you reveal that in conflating gender and sexuality.

edit: I already responded to their post, so I won't be discussing this further. I've said all there is to say.

https://news.ycombinator.com/item?id=36026470
> getting everybody in a room together is the best way to collaborate

Is there any hard evidence for this? I've worked with people all over the world regularly and never had a problem collaborating. Or are we talking non tech people? Communicating tech remotely I find preferable to in meetings, it gives you time to think and analyse.
gab mate
That's a moo point anyway as Apple had put a ban on engineers using ChatGPT.
To give a practical perspective:

Automated tests aren't all that useful to make sure that the code you just wrote does the right thing. People can and do use informal manual testing for that, plus careful crafting and review of the code.

Where automated tests really shine is in preventing your shiny new PR from accidentally messing up the feature you implemented a month ago.

Yes, tests can be wrong. They are still useful for the above, though.
Sounds a lot like former activity such as “Meta evicts fan page creators”. General lack of respect for creators. We have seen this with instant articles, video monetization, and entire political parties.
I mean there is the incentive to avoid extinction by random asteroid-scale disaster. I'm not saying it's an amazingly good incentive, and maybe it would be hard for a colony to become independent of support from earth, but for some people it is an incentive. Also I'm not a Musk fan and I'm not necessarily supporting spending money to go to Mars right now so that's not why I'm saying it.
How GPTCache works with llama index
Someone recently asked me about how GPTCache works with llama index. We've added a new example to our latest documentation, which demonstrates webpage QA. We welcome your feedback if you encounter any issues using GPTCache.
We already have tests for impairment, could it be that marijuana does not impair drivers as much as alcohol?
The problem with this metric is that several of those accounts are defunct or no longer even in existence. It's much easier to add to my keypass than to delete from it
Honestly, it's made me question my hardline 60fps stance.
Big AoE fan here. The idea is brilliant and I love the execution.

I wish the author did not put every screenshot in a gif, I'd have preferred to be able to look at the results in a less stressful way. 2 seconds to switch to another screenshot, that's way too fast!

On a side note, it would be interesting to try to apply the same technique to units and effects (explosions, fire, etc). I didn't see a mention of it by the author so I wonder if there's a technical limitation here that wasn't mentioned.
Came here to say this
I love this service.
today i learned grandmacore
But there's a difference between saying "you know what's true about every fatal car accident where everyone was wearing a seatbelt? Everyone was wearing a seatbelt!" I could then continue, "this means that seatbelts aren't 100% safety devices. Yes, they save lives, but it's still important to drive safely _and_ we're still on the lookout for better safety devices."

However, Rich Hickey's talk was the equivalent of "you know what's true about every fatal car accident where everyone was wearing a seatbelt? Everyone was wearing a seatbelt! [Laughs] Thus seatbelts suck."
And of course the real question about legislating morality is, whose morality are we talking about?
I think everyone has hoarding behavior wired into their psyche. Some people have it trained out of their behavior, but many have had it trained in.

Lots of retail and software companies train you to make money. Free to play gaming companies monetize by creating collections of things, and making you jump through hoops to complete them.

Retail does it. Clothing companies make clothes that work as a set. Power tool companies make batteries that only work with their collection of tools, and keep adding tools. Apple ecosystem.

maintaining is another subject. Is that organizing?

I've listened to a few audiobooks on organizing. Two that stood out were the Tidying book by Marie Kondo's, and also Decluttering at the Speed of Life by Dana White.

At first, the clear winner was Marie Kondo. It made so much sense, philosophically. You just adopt this mindset, everyone in japan does it, and boom. However, it was really hard to implement ("do it all at once") and never got going.

The Decluttering audiobook was actually annoying at first, too many examples that I didn't connect with. Philosophically it seemed wrong too ("just get rid of stuff until the stuff you have fits"). However, in the end I think it has practical advice... and then goes on to some real wisdom.

(maybe implement decluttering then read kondo afterwards)
On the one hand, if water is so cheap, why do you need to punish people for using a bit more of it, then?

On the other hand, if water is so scarce that you need to discourage people from using a bit extra, why do you price it so cheap in the first place?
This isn't my area of expertise so I can't get too deep but this is an extremely well organized and straightforward resource.
I’m not seeing the joke. It reads more like snark.
Haskell imo is the most glaring omission. Famous for its green threads long before Go was around.
I'm curious what benefits you would gain in the testify API by adding generics?
The ACM Queue article didn't clearly explain what they meant by productivity or how they evaluated it.

[1] appears to do better by classifying self-reported outcomes into positive and negative categories. Classifying comments into the high or low productivity category seems challenging, but at least they provided a few examples. More importantly they identified a range of other positive and negative outcome categories.
I wonder if another factor to this is the lack of published/available "negative" data (eg. reacting A + B _does not_ make AB even though the very similar A + [C-F] reactions do successfully create A[C-F]).

A lot of chemical reactions are already susceptible to small changes in reaction profile and while there _are_ human heuristics for dealing with these I'm not sure that just learning from successful reactions would allow you to derive these.

TFA does mention this but it's already a problem that humans face with duplicated effort of repeating reactions that are known to fail by someone else. _No one_ is publishing this stuff and starting now probably won't fill the data void.
I'd prefer this approach, rather than hastily rewriting a stable codebase in the coolest trendy language.

9 years is not that long for a programming language. PG's (in)famous eassy on Python Paradox [1] was written in 2004. By the time Python was 13 years old and it was still a "cool kid's language".

[1]: http://www.paulgraham.com/pypar.html
Yep looks like it - wasn't expecting browsers to have it baked in. I'm not all that familiar with what is available in the world of audio.

I've done some rudimentary signal analysis on other types of sensors - accelerometer (for detecting vibrations of specific frequency) and millivolt probes on a hardware instrument - I've used stuff like Matlab or Python to do the signal analysis.
every boom does?
> Are generations really demographic pulses as you describe?

Here[1] is the US population pyramid. You can clearly see the small increases and decreases at various ages - a demographic pulse, as you said. There is a significant decline in the echo currently at ~14 in that image. I would note that early adulthood tends to bring in more immigration (people moving for university and staying), so I wouldn't read too much into it at this point.

[1] https://en.wikipedia.org/wiki/File:USA_Population_Pyramid.sv...
You're going to be relieved when you find out Swift has been using LLVM this entire time.
The Amazon vans where I am all are white noise rather than beeping. It's still not great but it's better than the beep.
Because it's not the market rate for water, it's the cumulative market rate for the goods and services purchased by the company needed to get that water to you.

Is the same "market rate" restaurants charge for fish sometime. Inside their restaurant they are the monopoly provider of fish to you and hence there's no market -- they're not competing with other restaurants in this moment. They are directly passing on cost of fish to you.
I imagine a similar approach could be taken re: genomics / proteomics. Thousands of tiny bioreactors with slightly different genetics, temperature, nutrients, etc, all piped to chromatography equipment and optimizing for the metabolic pathway of some desirable. Maybe blast 'em with gamma and try to catch a lucky mutation, etc.

Edit: I'm not the only one imagining such a thing: https://www.sciencedirect.com/science/article/pii/S095816692...
Your argument could just as well be used as one against local water monopolies.

See how eg the electric grid manages to have multiple suppliers for end users in many places around the world, despite there being only a single grid.

And, even with a single supplier only, you can still set market clearing rates. Those are not necessarily marginal rates.

(If you are worried about poor people: give them money.)

> The average person gets a low rate for what they need to consumer and the huge mansion pays a huge rate and appropriately so.

That's only 'appropriate' by fiat.
The Key Apple Executives Behind the Mixed-Reality Headset Coming at WWDC
You've got me intrigued. Care to list a few of your favourite "heavy, chewy, thought-provoking sci-fi books"?
RWNJ's of course. Nobody else cares enough to be an ass about it.
When the implementation detail involves whether or not the function will perform I/O, it is better to let that leak.

Excessive hiding of implementation detail is what leads to things like fetching a collection of user IDs from a database and then fetching each user from an ID separately (the 1+N problem). Excessive hiding of implementation detail is what leads to accidental O(N^2) algorithms. Excessive hiding of implementation detail is what leads to most performance problems.
(Mac OS 8/9 was never fully PowerPC native.)
Sounds like you just need different prices in different times of the year?

Just like electricity often has different prices during different parts of the day?
The current surge of WFH is a pretty new phenomenon. Might need some extra time before any concrete data is coming out. Theoretically, there is no reason for a worker to be less productive at home than in the office. But that is assuming the worker is fully devoted to work and not have other higher priorities, such as housework, friends, etc. Also, the fact that there is a subreddit for people teaching each other how to coast and artificially inflate their "productivity"
just so they can hold multiple jobs (read 3 or more) at the same time means there are real problems with letting people do whatever they want at home.
For a second I thought this was referring to foundationdb. Was baffled
I love this thread, everyone is sharing their expert opinion on something that is right down the corner.
It would be a great exercise to review this thread 6 months after the headset is on the market, and see the true quality of hn on forecasting.
Right. Or the incredibly dumb and loud backfire packages they put on their exhaust. So many cars have them now around me. Thanks California. There should be regulation outlawing them. It sounds like gun fire all day.
The unexpected force that may make us get less sleep
Ah, so Deno KV is using an open source database? I didn't realize that.
What a dumpster fire Swift turned out to be. My first experience with it saw compile times go up more than 10x from the previous objc code base. Everytime more and more of apple's libraries were replaced because all the objc stuff was considered obsolete the compile times got worst and worst.

Its not like I dislike the language either but I think compile times matter so languages should not pretend like that doesn't exist. I can forgive Rust its giving you more than just type checking but Swift does not offer the same things yet it takes just as long or longer to compile.
This will not directly affect AVFoundation, or any other framework which is not Foundation itself.
The original LLMs?
"Easier" is in the eye of the beholder. To anyone trained entirely in imperative languages, recursion will always seem foreign and thus harder. But to someone familiar with functional programming, recursion is often easier to understand.

The canonical recursive example is factorial, but a better example for "easier" is quicksort. Quicksort is inherently recursive and it cannot be expressed without a stack, while factorial is not inherently recursive and is easy to express as a loop.

That's not to say you can only write Quicksort in a recursive language; I've seen Quicksort implemented in old versions of Fortran for example that had no notion of recursion. But since the algorithm is inherently recursive, if you write it in a non-recursive language you have to manually build a stack to keep track of your progress. This makes Quicksort in a non-recursive language require many more lines of code and be much harder to understand.

Having said all that, I'm not going to type a full implementation of Quicksort into an HN comment. Instead, here's factorial three ways in Common Lisp. I think rfact and trfact are clearer than lfact. You might disagree.

(defun lfact (n)
"Uses looping to compute n! No stack required."
(let ((result 1))
(loop for i from 2 to n
do (setf result (* result i)))
result))

(defun rfact (n)
"Uses ordinary recursion to compute n! Requires n stack frames,
which is bad unless you know n will always be small."
(declare (optimize (debug 3))) ;; tell the compiler not to optimize away the name, in case you want to trace rfact
(if (< n 2)
1
(* n (rfact (- n 1)))))

(defun trfact (n &optional (accum 1))
"Uses tail recursion to compute n! No stack required."
(declare (optimize (debug 1))) ; ensure tail call elimination
(if (< n 2)
accum
(trfact (- n 1) (* accum n))))
This has already been done for years... Unironically a lot of it has also been using ML for decades. I know people in boring industries like dairy, or paint who have 30 yrs old ml models that work excellently that they maintain.

The difference is, their ML is often operating in regulated environments. Because unlike advertising people can die from mistakes. Also the data isn't cheap, can't go on Google and just download a terabyte of it. Not because scientists are sneaky. But because some experiments require five million in equipment and months to aquire. Then, the findings there don't often map to almost anything else in any way shape or form.

Statistical models in some fields have to be approved by a government agency or follow standard practices. This can take years and cost a lot of money.
Bad take.

Swift heavily relies on LLVM. As long as you have LLVM IR, your support isn’t going anywhere. Not to mention Apple continues to be an outsized contributor to LLVM and clang (largely because they started and open sourced the projects)
Many have already pointed that there have been studies to measure the accuracy of sleep analysis by wearables. They aren't that great. If you have a concern, you should definitely seek out a polysomnograph, and wearables should not be a replacement for that. However, you can't get a polysomnograph every night, and wearables are probably the best option for regular analysis. Just because they're not that great doesn't mean they're useless, and doesn't mean they won't improve.
They both compile slowly because they have similarly complicated type systems. What do you use in Rust that Swift doesn’t yet provide?
This looks fantastic. Thanks for sharing! Great demo here: https://demo.picnichealth.com/records
My wife lost her life’s email despite knowing the password. Google didn’t recognize the device, asked to verify using a phone she doesn’t have access to anymore. Despite knowing her login and controlling the recovery email, she couldn’t login. Everything was tied to her email. She lost access to many other accounts connected to the gmail as a well. Lost contacts, lost YouTube account, and on and on. It was honestly traumatic for her, and maddening because she has the password.

Do not use Google for email. Just pay $5/mo for an email service that won’t ruin your life for no good reason.
The user has to sincerely want to figure their shit out.
Is there something I can just keep next to my pillow? Or something like that?

I don't like wearing (and don't wear) watches or any kind of bands/rings/etc at all - they feel like a constant weight and then there's sweat, and pressure, and all that.
Uh, looks like 1200. A few duplicates from LastPass or the LastPass -> 1Password migration many years ago, I forget.
Not really snarky when it's true. The site "Web 3 is going great" has a number of these types of events occurring.

https://web3isgoinggreat.com
Absolutely disagree. I don't think anyone, except someone with access to the source code, knows exactly what temperature 0.7 means.

Knuth is a world expert in randomized algorithms. Do you think he doesn't have a good intuition for what could be happening? But he's a stickler for detail, and temperature is an obfuscation.
We’ll see.

I have a bad feeling about this.
Yeah I also don't sleep well. I wonder if lack of deep sleep has a causal relationship to Alzheimer's or if it's just an association?
> and used

Surely using it is a repetition of it, essentially?

I always figured spaced repetition was a tool or help with knowledge you didn't have opportunity to apply otherwise
My son just had one, and they said they found nothing. But looking around, apparently most sleep studies in USA just look for sleep apnea. By default they don't actually look for anything else.
What are some good ways to increase the deep sleep? What has worked for you?

I have used wearables to measure, it’s always less than an hour for me
The Garmin one is discontinued.

Also, is there a more "layman readable" version of this paper/report?
Catch data races at compile time?
Galactic North - Alastair Reynolds

House of Suns - Alastair Reynolds

Lilith’s Brood - Octavia Butler

The Expanse
Anything and everything is permissible in the name of safety.
Clarus?
See how eg the electric grid manages to have multiple suppliers for end users in many places around the world, despite there being only a single grid.

See how this system manages to be a fiction to support higher rates.
Cinematic Mindscapes: High-Quality Video Reconstruction from Brain Activity
Assuming you want information on the other part as well, Korea's working age population is peaking right now, and about to decline steeply[1].

1. https://population.un.org/wpp/Graphs/Probabilistic/POP/20-69...
The Eight mattress will measure sleep stages without you having to wear anything.
Yep. The country seems nice and quiet until your neighbor decides to have a drunken ATV party with music. (This is, unfortunately, not a theoretical occurrence for me).
Any HN users out there with experience with Firefly III (https://github.com/firefly-iii/firefly-iii)? Sounds interesting.
It's up to your reader to allow them.
Erlang / Elixir processes use about 0.5kb per process, a preemptive scheduler on the BEAM to make sure work is consistent and isolated heap space for each one to avoid stop the world garbage collection.

It’s as good as it gets for this type of thing as it was designed for it from the ground up.
May 2 of this year, they posted a notification that the virtual keyboard would be removed the week of May 7 "to improve the customer experience."
Yeah I had a level 17 inner city apartment and I’d hear literally nothing from my bedroom. It was often too quiet
This is exactly my current experiment on a personal project I'm working on, though I'm trying to create a Textual UI on a dynamic Python argparse CLI. Creating a Textual UI is non-trivial.

My tool uPlaybook[0] is kind of a CookieCutter [1] / Ansible [2] mashup, and the playbooks typically would have a number of "slots" you can configure to control the templating, like project name, license, if you want to "git init", that sort of thing.

It currently auto-generates a argparse interface, or it can interactively ask you those questions. But I've been working on a Textual UI as well. I chose argparse over Click largely because I want to work with minimal dependencies, and the Textual UI would be an optional dependency.

Going to have to check this guy out.

[0] https://github.com/linsomniac/uplaybook
[1] https://cookiecutter.readthedocs.io/en/stable/
[2] https://www.ansible.com/
Could be wrong, but isn't this the same Guide?
Former Spenmo (YC S20) CPO denies firm's embezzlement rumors
Even if I determine my sleep quality…then what? If it’s bad, and I am eating healthy, workout and don’t have apnea what am I supposed to do with this information?
Deep sleep is perhaps a luxury for a modern family man. Work, kids, everything is going against good quality sleep.
I think you're right, but maybe times that those mantras change.
>You should check Sri Lanka's, Zambia's and Pakistan's foreign debts. You will be absolutely surprised majority of those debts are from American private institutions.

Do you have any data to back your assertion? The quick search I did on Sri Lankan debt suggests something different.

https://www.erd.gov.lk/index.php?option=com_content&view=art...

https://www.treasury.gov.lk/api/file/a969a81b-13d9-4337-a5b7...
Does this work if you are sleeping in bed with a partner?