skysight-inc/HackerNews huggingface dataset:
> The women reported signs of mistreatment, such as being verbally abused, having their requests for help go unanswered, having their physical privacy infringed upon and receiving threats to withhold treatment.

I hope it goes without saying that I don't want anybody to be mistreated or even to feel like they're not getting proper and supportive care, but I really wonder about some of these self-reported incidents.

Some really dumb people might describe a doctor saying something like "I told you this before. You say you want a healthy baby, but you need to quit the recreational drug use and drinking while you're pregnant" as verbal abuse.

You can come up with a million scenarios like this during the course of a pregnancy where an idiot might interpret a doctor's genuinely compassionate efforts to help them as "abuse".
It may be <100ms, but that completely misses my point. My point is that it could be <1ms, and no reload, if the Reply box was added in JavaScript to the previous page.
Doesn't work unless the air is dry and your clothes are not cotton.
So you don't like a config language like XML because _____ and you don't like a DSL like Groovy because _____.

What is acceptable?

P.S. For easier publishing, use a different repo e.g. Artifactory instead of Maven Central.
I disagree.

The problem with believing that "good code" is good enough to deliver business value is short-sighted.

Good code is highly maintainable so that you can continue to meet business objectives in a timely manner without regressions. Often this means (ironically) taking a little bit of extra time early on to think about how to make your code readable and "simple enough" for someone else to be able to jump in and maintain it.
Sincere apologies for forgetting the NSFW tag :/
Make sense. I guess it could also be a flag for the audit module where you can toggle if SELECT permission for auditing includes the SELECT clauses that need RowShareLock as well or not.
Where business value has a time dimension.
> Hilarious

Mind your own business, fanboy.
In general agree with the sentiment not to obsess over perfection, but not sure it’s great advice for someone looking for code to read and understand.
I would say a take on this is good code is code that is worse than the next code you write. Don't pursue perfection, pursue improvement over time. Make things work but learn new stuff that makes your old stuff look foolish. Improvement is more important than perfection.
> Having a good word processor and a good spreadsheet on any software/hardware platform was absolutely vital in 1980s.

To this day, I cannot believe Apple shipped the Macintosh without a means of running VisiCalc.
Amid enormous fuss and bother and political crap...

Seems like it would have been far more sensible to have pumped the water into a retired supertanker, hauled it off to some distant and relatively lifeless location, and piped it down into the abyss. Maybe mixed with cold brine, so its higher-than-seawater density would keep it down there for a long time.
> I don't know why this oversimplified rethoric is so popular.

Because outrage is easier than understanding.
> Perhaps faster and on a larger scale than how humans learn from one another, but principally it’s the same.

I like how you just tucked this at the end there without any introspection on what kind of a paradigm shift that is. If you wanted a "Van Gogh style painting," you'd contract with a painter who specialized in it, and no, his descendants don't get royalties from that (which is an interesting discussion to have, I'm not sure they should, but I haven't thought about it but anyway) but you are paying a human creative to exercise a vision you have, or, from another perspective, perhaps a person goes into creating these style of paintings to sell as a business. Again the idea of royalties isn't unreasonable here but I digress.

Now, with these generative art algorithms, you don't need a person to spend time turning your/their idea into art: you say "I want a picture of a cat in Van Gogh's style" and the machine will make you dozens, HUNDREDS if you want, basically as many as you can stomach before you tell it to stop, and it will do it (mostly) perfectly, at least close enough you can probably find what you're looking for pretty quickly.

Like, if you can't tell why that's a PROBLEM for working artists, I'm sorry but that's clearly motivated reasoning on your part.
This can make Ansible much more usable when going through (ProxyJump) bastion host.
Note it isn’t the demand for AI driven software and tools that has to be sustained or increased, it’s the demand for massive GPUs that are used to train AI tools.

To make a flawed analogy, but if people want oil (AI), NVDA sells drills (means of AI production). Demand for each is obviously correlated, but the profile of demand for the two products is really different.
> I'm always confused about whether I should have ghcup or stack manage my Haskell versions (and what the benefits and drawbacks are)

There was a long and drawn-out transition, but these days it’s quite simple: use GHCup to manage your tooling, and Cabal to manage your packages. At one point Stack was the best option, but no longer: it’s not as well maintained, and is missing a lot of features (see e.g. https://discourse.haskell.org/t/6849/23).
A strange take. If you’re going to be pedantic you might as well be correct - server less would mean literally that, no server required, e.g. Apple Notes or Microsoft Word 2010 and more similar to the end of your comment (a solid pod isn't serverless either btw) and CRDT is totally irrelevant here - you could use CRDTs and still not have an offline application.

A GitHub page is in no way serverless. It’s totally inaccessible without internet and requires literally a remote server to function. Ironically GitHub page is more similar to the marketing definition of serverless.
Norvig has always been a huge inspiration for me. I read his sudoku solving blog (https://norvig.com/sudoku.html) when I was first teaching myself to code and it really helped me nurture a love for solving fun problems.
I personally use Vim, but Emacs alone is IMO the strongest counterexample to your claim about Lisp interpreters (followed by all the programs scriptable with Guile).
I've heard they're about $3,500USD and aren't covered by insurance. For something that I'm unsure would solve the problem, it seems a bit much. If it were 1/10th the price, I would just try it.

Seems like the 3d scanning my kids had for their braces, plus 3D printing could make it less expensive, at least for a prototype device to just try.

I should try that "tape over the mouth" thing to see if it helps, particularly as I'm super mild apnea, but I'm expecting it won't really work with my beard.
You misunderstand; nothing about what I suggest says you shouldn’t write, “perfect extensible modular code with dull documentation and tests.”

If that’s what you need to do to solve the problem, do that. The point is to stop focusing on the code as the work product, and instead focus on the solution as the work product, of which code is one part.
Of course. I don't care about your opinion. Only those who are actually interested in looking into this.
My source is the state department: https://m.youtube.com/watch?v=ydSf57SRtcQ
Good code is working code, code that pays the bills. Focus instead on writing code you can throw away easily, code that you are wholly unattached to and is isolated enough that rewriting it won’t cost absurd hours.
> TV ads haven't been unskippable since Tivo came out in 1999

My cable company says hello. Their set top box now has unskippable ads thanks to software updated and MPEG TS signalling.
I too hope Open AI will always have a version with frozen data up to Sept 2021. At the very least for historical purposes. I know the data will start to go stale and not have the newest most relevant information. But data after that date will start mixing with content created with the original data, making it more unreliable over time.
I’m not on IRC, but the subreddit, the Discourse forum and the Discord server are all pretty good for this kind of thing too.
> DROPPING barrels in an abandoned mine for final storage, just to find out it does not only totally leak, but advisors precisely warned about it beeing not a suitable location

And this is a massive political issue with which the Green parties collect millions of votes. Meanwhile "of 265 US power plants that monitor groundwater, 242 report unsafe levels of at least one pollutant derived from coal ash" - so instead of the small potential of ground water contamination from a small number of nuclear plant waste barrels, people passively chose the almost certainty of ground water contamination by leachate containing arsenic, barium, beryllium, boron, cadmium, nickel, lead, mercury, molybdenum, selenium and thallium - a chunk of it radioactive.

But it got votes.
Alike in method is not like in output, and it's output that matters.

A human takes ~4-20 years to become a good artist. They can then produce works at a single human rate.

A model takes ~30 days to become a good artist. It can then produce works at an effectively infinite rate, only bounded by how many GPUs and much electricity can be acquired.

These are very different economic constraints and therefore require different solutions.
USDS Marks Nine Years of Transforming Government Services
3 minutes to the centre of the Earth [video]
Blame the Romans for that. July and August were added into the middle. Specifically Julius and Augustus.
If everyone is making the same amount, then there is no band. Band = Range with midpoint. For example, Sr. Software engineer's pay band could be $120,000 - $180,000 with $150,000 roughly being the midpoint, with most people making around the midpoint mark. Now I'm curious what company it is :-)
This is more "job cannon" stuff.

This works well if you don't urgently need income and have significant additional job prospects. The power imbalance between employers and employees means that "just avoid the businesses that exploit you" is not an option for a large number of workers.

The only way to actually defeat exploding offers is collective action.
I have hard time to understand why would anyone spend money on Oracle Cloud. If you are not going with AWS, Azure or GCP then why would you select Oracle and not some other (minor) service?
Wow. Love this game.
I don't think you can go all the way to suffocating from it. Even people with severe sleep apnea in very deep sleep will still be roused awake by their brains when their oxygen levels get very low.
I asked Kagi's Universal Summarizer, and it said this:

The video provides an explanation for why India's Chandrayaan 2 lunar landing mission failed in 2019. The landing craft Vikram experienced issues during the camera coasting phase where instruments were being calibrated. Specifically, the engine thrust was higher than expected and thrust control couldn't be adjusted to correct the trajectory. As a result, errors accumulated and Vikram's trajectory deviated significantly from the planned path. For Chandrayaan 3, ISRO has implemented changes like adding instantaneous thrust control, increasing the allowed attitude change rate, and enlarging the landing zone to make the mission more robust to errors. The video offers an insightful technical look into what went wrong and how ISRO is addressing it for the next lunar mission.
Modern implies progress. Serverless isn't progress. It's not the rising tide that lifts all boats.
Usenet never went anywhere. There's very little spam, no banner advertising, and a plethora of greybeards. You should try it :))
I wrote a book in it[1] - I like that PreText takes care of every format at once, transpiling to whatever my desired output.

The interactives that are available in my html book without additional work are great (sage math, revealing solutions, embedding video solutions).

It’s a cumbersome language, sure, but it accomplishes some powerful things if you’re patient.

[1] https://Wichita.edu/discretebook
Was about to comment the same thing. Highly recommend.
Good code "is isolated enough that rewriting it won’t cost absurd hours." This is the hard part.
> If room temperature and pressure superconducting or nuclear fusion became viable, your kids might also be unlikely to play around with them on their own.

I disagree. Kids will turn anything not too abstract into toys. An improvised radioactive sample (actually some neon indicator bulbs in a box) + Geiger counter brought by my parents = a version of a hide-and-seek game from my own past.

Also, a model maglev train is something so obvious that I am sure such toys will appear immediately once the technology becomes viable.
Which of these options does medical insurance cover?
On my iPhone 13 Pro very confusing in portrait mode in Firefox -- just shows the image, no code. Have to rotate to landscape mode and code appears to the side. (In safari doesn't even show with landscape mode.)
Julius Caesar moved to a solar calendar with 12 months to better track the seasons compared to the 10 month Lunar calendar. Naturally he got a month (July) named after himself. August would come later (named after Augustus Caesar, his adopted son). The months that were added however were actually January and February (the calendar year used to end in December and start with March. July was Quntilis (5th month) and August Sextilis (6th).
I mean I'm aware of emacs but I am also a vim user so I proudly stand by my claim.
> Focus instead on writing code you can throw away easily, code that you are wholly unattached to and is isolated enough that rewriting it won’t cost absurd hours.

> Good code is highly maintainable so that you can continue to meet business objectives in a timely manner without regressions.

I think you essentially agree on what people should do, regardless of whether you call this 'good code' or just maintainable code.

Write tests. Give things good names. Use comments to explain why you're doing something, not how to program. Don't copy and paste the same implementation x times because that way there's only one place to fix it.
This video would deserve its own submission!
> How would they do that if they don't have your address?

If you need to deal with taxes, you submit your address to the tax agency.

If you need to deal with license stuff, you deal with the equivalent of the DMV.

And so on.

There's no need to just file your address with the government 'in general'.

> a decent amount of elderly don't use the internet, how would they be contacted?

Internet is kind of irrelevant. Most government agencies don't use the internet to contact people unless they specifically opt in and the agency offers that.

They would use your last known address, or wait for you to contact them.
I wonder if it uses Go routines as the virtual threads implementation.
Does anyone have suggestions as to how to learn about electronics in general - resistors, transistors, all those things that make up even just basic circuit boards which are all magic to me?
"write code that is easy to throw away" is generally a good piece of advice
Databases like Oracle Parallel Server were doing disaggregated storage more than a decade before that.
Interesting read. I read a companion book (or is it wholly unrelated?) called Clean Code for Python and I learned a whole lot! That book improved my Python more than anything else, honestly. That being said, I agree with the critique that obsessively committing to DRY is throwing the baby out with the bathwater.
Vital Videos: a dataset for measuring vital signs from a video of the face
I have created a large dataset for the purpose of measuring vital signs* from a video of the face.
*heart rate, heart rate variability, respiration rate, SpO2 and blood pressure

When this technology matures, it will transform smartphone cameras into health monitoring devices.

The dataset is for academic research (free) and companies to create models on top of it.
If enthusiastic non-academics would like to use the dataset then this is certainly a possibility. Just explain your intent and promise not to share the dataset itself. You are very much encouraged to publish the results of your work (code, models, ...) publicly.

You can request access through the email in my profile. I am not allowed to publish (part of) the dataset publicly without monitoring access to it because it contains identifiable individuals. If you'd like to download one sample: https://www.dropbox.com/sh/pchhxratjij4td8/AACeHfN2qwZn4cSrD...

Key dataset facts:
880 unique participants with ample demographic variety and a wide range of blood pressures
Synchronised PPG waveforms
Blood pressure measurement during the video
Raw video (1080p, 30fps)

I started this project on my own a year ago when I got very interested in the area and my next projects are collecting a very large dataset in Sub Saharan Africa and also a dataset consisting of low SpO2 values.

If you also have an interest in the area, introduce yourself to me through hi@vitalvideos.org!
I make around 600k. My employer has enough cash in the bank to give every single full time employee a bonus of more than half a million dollars. Net income per quarter is something like 100k per full time employee.

Yes, I am incredibly fortunate. Yes, I make a very very large amount of money compared to a typical american worker. Still, I capture only a fraction of the value I generate for my employer.
Gentrace co-founder here.

That's an interesting use. We don't have that currently, since we haven't had anyone request workflows only using our evaluators as a service.

That said, we would like every part of our application to be controllable through API requests eventually, which would naturally support your use case.

Would you be open to diving deeper into your requirements? The best way to reach us is at support@gentrace.ai
If you ask for my personal experience:

- The community leans a lot on configuration over code, and that's annoying. Sometimes, a hardcoded string in your conf could have been a hardcoded string directly in the code.

- Sometimes, dependency injection systems are so abstract that knowing which class is depended on in a specific runtime instance becomes a pain in the ass.

- Your idea just won't load class x, the obvious "clean cache" doesn't work as advertised, and you're back to stack overflow to know which couple of file you need to get rid of. That stuff happens just often enough for you to have a lingering feeling of annoyance, but not often enough for you to remember the exact files.

- Sure, idea is great. But in <other language> I was fine with just vim. The LSP was a great help, not a lifesaver.

- Unit testing is great. Annotations are great. Don't you enjoy that unit test class with a dozen annotations spanning 20 lines just above?

- Hibernate. Spring too, while we're at it. Not sure whether you consider this one squarely fits the tooling box.
The problem with this “maintainability” argument is the presumption a) that it will be maintained (note I recommended rewriting frequently) or that b) it’s in conflict with meeting business objectives.
Why are we discussing 20k a year. It won’t stop Twitter’s bankruptcy.
That workaround is obviously not ideal & still requires an account (& possibly a phone number too). And your private message will still be logged. And using the service also still causes a big issue for search as you can’t find solutions using an engine like you could with a forum.

If there are the resources a community would self-host a decentralized, federated server where users are in control of their account/data along with the community in control of moderation, bans, CoC, ToS… & then bridge to other services from that base if they are seen as useful. If a community has less resources certain servers use less resources—especially if the server isn’t supposed to hold the entire history (which these chat rooms shouldn’t be seen as a place for permanent decision making anyhow).
> Screen apnea is a manifestation of our body’s stress response, said Stephen Porges, a professor of psychiatry at the University of North Carolina at Chapel Hill who specializes in the autonomic nervous system.

Is it really though? I have noticed that I do this a lot -- all the time when I am in a relaxed state. For example, I've observed this when I'm driving, reading, watching a movie, thinking, etc. Wouldn't my body signal if I wasn't getting enough oxygen?
Encoding Software in Barcodes, the Eight-Bit Magazine Way
Not exactly an emphasis on coding style itself, but I would recommend checking out the "The Architecture of Open Source Applications" to see examples of how some large and popular open source projects are structured.

https://aosabook.org/en/
Why don't you just drink bleach instead of wiping down your countertop with it?

Seriously, I have a hard time assuming good will from your post if you do not try to differentiate the amount of dilution happening in a 100km2 50m deep lake vs a 100,000,000km2-sized 5,000m deep ocean.
DOOM

https://github.com/id-Software/DOOM/tree/master/linuxdoom-1....
This mentality is how you end up inheriting terrible codebases.
Yes! I don't think that should be a default because I think it's "safer" and more correct to consider locks writes, but having it available for pragmatic use-cases like this would be nice.
Code Llama, a state-of-the-art large language model for coding
From my understanding “Show HN” is meant for projects you’ve put time and effort into and want feedback or to share it with the community.

I don’t mean to be negative, but as far as I can tell, this is a Dockerfile that installs and runs playwright, while mounting the source directory. This is a relatively simple use-case for Docker and doesn’t feel quite appropriate for Show HN.
I think this is what's called a constructive proof of existence.
Is there any particular language you're looking for? I've found some languages hideous until I understood them and could appreciate their respective graces. Off the top of my head the I can think of a couple of projects you and others may be interested in.

The first is Jones Forth (https://github.com/nornagon/jonesforth), start with jonesforth.S and move into jonesforth.f. I really enjoyed following along with it and trying my hand at making my own stack based language.

The other is Xv6, a teaching operating system from MIT (https://pdos.csail.mit.edu/6.828/2021/xv6.html), not all the code or implementations are top notch but it shows you non-optimized versions (just because they're simple and more readable) of different concepts used in OS design.

If you're interested in the embedded world, there is a really neat project I've been following that feels a more structured and safe (as in fault-tolerant) while still staying pretty simple (both conceptually and in the code itself): Hubris and Humility (https://hubris.oxide.computer/).
We call those scams
Is there a way to write this comment without an internet connection?
I assume a lot of food is produced like toothpaste. I used to know a guy whose dad had a factory that produced toothpaste and shampoo for almost all big brands. They did R&D for them and just put slightly different recipes into the branded boxes. That means that a lot of shampoos and toothpaste (and probably) are basically only slight variations of the same thing.
This is an interesting article on the subject of reading code by the coder and writer Peter Seibel (he also wrote a nice book called Coders at Work with interviews with some programmers who have worked on interesting and widely used software): https://gigamonkeys.com/code-reading/

I’m sure I’ve seen some HN posts about this article, but I can’t remember the content of such.