skysight-inc/HackerNews huggingface dataset:
For me the way I use is as follows:

Capital names for GUI things, lowercase names for CLI things. I'd prefer ~/documents, etc, but GUI people insist on capitalizing, so whatever. Very rarely I have to mix those, so it's not a big problem.

~/dotfiles is my dotfiles directory with git. I create ~/.zshrc -> dotfiles/zshrc, etc. I don't use any software to manage that, I just create symlinks. In the past I've used ~/.dotfiles but I think that making it visible makes more sense.

~/projects is my projects directory. ~/projects/test is throwaway test projects to check things out, etc. ~/projects/my is my personal projects. ~/projects/company is projects for company I'm working for. I'm kind of freelancer and sometimes work for different companies, so separation is necessary.

~/tmp is my throwaway directory for everything. I have shell function mkcdtmp which creates ~/tmp/240419 (current date) and cds into it. It's a wonderful way. I rarely clean it, because I prefer to buy big discs and keep trash around, somewhat organized. If I need something from yesterday or past month, I know where to find it. That's the most important thing I did for organizing my temp work which is plenty. Of course I can create ~/tmp/whatever if needed, it's all trash stuff.

Well, that's all, I guess. I don't use ~/Desktop. I rarely use ~/Documents, still need to find a way to organize it. Also I dump my short notes and stuff to my github repo which builds a personal website. I tried various notes software but ordinary website with markdown turned out the best way for me.

I never was able to organize my work in a very structured way, it's always piles of trash moving around which eventually turn into something usable, so instead of fighting myself I decided to make that trash organized.

Essentially my computer is disposable. Everything in ~/projects is in git. Everything in ~/tmp is not very important and more like a cache or discarded work. I'm trying to organize things in a way so restoring it from the clean state wouldn't take much time. I often reinstall OS from the scratch and I often switch between operating systems and laptops, that suits me best.
I hope folks are not trying to build a "very rational and factual bot" model based on youtube transcriptions.

Indeed it could be useful for "my bot runs its own clickbait channel" type of thing.
This is super cool! Huge upgrade to my product screenshots. Wondering if you're offering this as a react component - something I can embbed with a lead magnet or on a site.
See https://en.wikipedia.org/wiki/Zilog_eZ80 for what be my absolute favorite sequel processor which is available in many SBC such as https://www.tindie.com/products/lutherjohnson/makerlisp-ez80...
If I may clarify: Unapproved here would typically mean engineering hasn't signed off. It does not mean engineering was asked and said "Hell no".
Apple: Privacy is a human right

lol
Some companies will literally sell products for less than the cost of the components that go into them.

Sometimes that's a supermarket selling 'loss leaders' to get people into the store where they'll hopefully buy other things - or a games console manufacturer planning to make up the loss because they get paid for every game sold.

Other times a manufacturer wants to hit a promised launch date, and hopes to get manufacturing costs down later. Maybe they haven't had time to set up certain cost-saving automation, or a planned lower-cost component wasn't ready in time for launch. Maybe their widget supplier has promised a lower cost when they're ordering 10,000 a month but right now they're only ordering 500 a month.

Of course, without access to insider information we can only guess if this is really occurring...
Yeah except it has a 0-60mph time of 2.6 seconds. You're probably already travelling at at least 20 so you have 1-2 seconds to figure out what's going on before you crash. Good luck.
Maybe I don't follow the consequence of your statement, but isn't the photon quite different from an electron? It has no mass & has no anti particle that we can identify. It's also an elementary particle that doesn't get combined like quarks to make the proton
The best power plugs in the world, sir.
One of the big wins we get from AWS is that you can do things like load structured data files (csv, parquet) from S3 directly in Redshift using SQL queries.

https://docs.aws.amazon.com/redshift/latest/dg/t_loading-tab...
Literally anything can happen. I never liked the idea of buying a Tesla, but let's be fair.
Also on LineageOS, and probably any close-to-AOSP Android. You have to enable "extended power menu" or something like that, though, and I don't remember the setting being super obvious.
Looks like Screenstab [0] which was a previous Show HN [1].

[0] https://www.screenstab.com/editor/
[1] https://news.ycombinator.com/item?id=34729849
WTF is a "suggested serving amount" for a basic food? These aren't mixed nuts to snack on with your beer.

For formula-fed infants the suggested serving amount is "exactly as much they want".
America's news deserts are growing
Unfortunately for a generation raised on social media, the idea that a workplace isn't just another "platform" for self-aggrandizing behavior seems entirely alien. Likewise, the idea that debate can occur between people who vehemently disagree, without the ultimate goal of silencing the opposing party seems outside of the imagination of some.
This is good advice. I learned Python long before ruff came on the scene, but I did the same with Pylint. I don't adhere rigidly to its recommendations any more, but I learned a lot about the language from trying. I fact, I think some of its recommendations are downright wrong, and what I learned was that I made my code harder to maintain by following them.
We Know Where Neuralink's Brain Implant Trial Is Happening
>new food bogeyman

Nothing new, but Citric Acid consumption is skyrocketing in parallel to other more well-recognized commodities involved in the food processing industry:

https://www.imarcgroup.com/global-citric-acid-market

I don't know if flying under the radar makes it more or less of a boogeyman but I'm not a very happy camper with having added citric acid in every meal and snack.

Chemically being "tribasic", citric can absorb up to 3 times the alkalinity per molecule compared to the acetic acid (vinegar) it is often used as a substitute for. That doesn't mean 3x is always the ultimate ratio if all the acidity were to be neutralized either in vitro or in vivo. Even if the same number or molecules were substituted. Remember pH IS NOT acidity. They are just closely related. An excess of citric can be added without lowering the pH as uncomfortably as an excess of acetic, so you would never know without careful multi-endpoint titration vs pH measurement response.

Now there may be some basis in fact underlying a few ultimately bogus phobias, but you should probably be careful what you consume whether as a food, drink, or a more potent concentrated ingredient like purified liquids or even crystallized solids. Everything which can have toxic effects does have a different toxicity profile.

Not surprisingly, there's a song about the boogie man relative to what toxins you consume:

"I was lying in bed late one night

Had my eyes almost closed I was feeling alright

Looked to the East, looked to the West

Yonder come the Boogie Man doin his best"

https://www.youtube.com/watch?v=Bj_lZ4hkJd8
Well, maybe the US cultural status of caring about computer security in business is so decrepit that only a really major high profile incident will shift priorities. Maybe the most effective route from today's situation to a a world in which US industry takes computer security seriously involves a temporary detour through a serious major disastrous hack. Maybe it's inevitable.

It's certainly consistent with how things have gone so far. Computer security is terrible today, but it was even worse a decade ago, and it's the low hum of constant cyberattacks and ransomware that probably have helped push that.
No, WhatsApp was founded in 2009.

WhatsApp did not partner with Open Whisper Systems until 2014. And the partnership was solely for the Signal Protocol. The rest of the entire app has nothing to do with Moxie at all.
Enhanced right to ask for flexible working comes into force
I already have multimodal on my RB Meta Smart glasses as part of the early access. It's Hit or Miss - sometimes it works really really well,sometimes it doesn't.
XDG isn't enforced, it's voluntary. So there will always be lots of applications not following it.
It's not actually clear that this has anything to do with the car wash. The car apparently stopped working sometime later, and that is the guy's best guess.

Still, the owner being unable to reboot the car? The reset taking 5 hours? Those are both unacceptable.
ARC and shared_ptr are net more expensive than GC, in throughput scenarios you will see that C++ often offers no meaningful performance advantage. Also Swift is significantly slower due to upfront ARC cost and defaulting to virtual dispatch in many places, more so than .NET with interface spam (Dynamic PGO takes care of it anyway).

Nulls have stopped being an issue in practical terms since you specify nullability explicitly e.g. string?/string.

C# does not need runtime installed on the host. You can produce JIT or AOT executables which include one. It also needs runtime on Windows just as much (if you don’t include it or host doesn’t have it installed). Only .NET Framework was preinstalled but no one (sane that is) chooses this legacy target for new code.
I was expecting this pedantic comment... If refcounting makes a language "managed", then C++ with shared_ptr is also "managed".

_______

The charitable interpretation is that OP was likely referring to the issues when calling into a language with a relocating GC (because you need to tell the GC not to move objects while you're working with them), which Swift is not.
Is this just a few doctors experimenting and manufacturing this stuff on their own? Is there a pharmaceutical company behind this? The article doesn’t mention anything other than “Factor VIII”.
Why would this be an upgrade to your product screenshots? As a buyer, seeing this would annoy the shit out of me...
I think the problem is that if everyone uses it, you can’t avoid it.
Depends -- do you need to get paid? No shortage of work to be done for non-profits, small orgs, local governments, etc.

Can always be a carpenter.
Please don't use this. It might look nice, but as a user and potential client or customer, this is reducing the utility of your screenshots.

_You_ know what your screens look like, so you might enjoy seeing them blurred and tilted. But _I_ don't know, that's the information that I would be trying to get.
Desktop business apps maybe looked better - at least those few that were not designed by the same engineers writing the code - but they all were a lot harder to deploy and maintain. You'd be happy that someone finally bought your app, only to discover that each department in the company has a different version of OS/hardware, with different network & security rules, and people installing all kinds of private stuff on their machines and messing w/ settings. A nightmare. It would take days for us to deploy new version, only to find out that half of the printers stopped printing for some unknown reason. Great, let's waste another week debugging that, while clients are screaming at us for not being able to do their work.

When I fully switched into the web dev world around Y2K, it felt so liberating. Never regretted it for the second...
Rust Tokio task cancellation patterns
When the training data is the entire internet, I suspect it can still perform well enough in economically profitable situations to be worth having.
Because those who didn't get it... don't talk about it. Also, as of the latest policy manual at https://www.uscis.gov/policy-manual/volume-2-part-m-chapter-... you can basically paper-mill your authorship into fulfilling a criteria, but that would just indicate that regs, when promulgated according to procedure, takes time. It doesn't insulate you from future adverse effects like removal or theoretically indefinite detention or criminal charges.
Fine, but this is a full chat interface rather than AI search results.
What's the business model on this? GPT3.5 and Claude 1.2 aren't as expensive as other models, but they're not cheap. Is this going to get pulled later, monetised, etc?

It's concerning in general to see so many companies throwing so much money at this without business models. The big names mostly have either premium tiers or paid API usage, that's fine, but DDG/Brave/BingChat/Arc/etc are all just giving away money, and when the music stops it's possible consumers will be left high and dry.
You should know that "ricing" is a term that's based in the racist term "rice burner" which is used as a slur for Japanese cars imported into the US.
Do you support S3 event notifications?
These are sold to much younger children. The article says these are intended for children as young as six months old. They are advertised as being healthy.

So yes, a lot worse. They would not be allowed to do this in a country with better regulation.
> in the building on a particular day

This is a general limitation of DNA collection/analysis I would think? If you find someone's DNA somewhere, it's evidence that they were maybe there at some point in the past, but not at a specific time.
I think the issue was that the headlines omitted the fact that it was a software update changing the size of some icons in the car's UI. And instead just stated that millions of Tesla cars were recalled, the default assumption being they were recalled to a service dealership instead of an OTA update at home.

The oil lobbyists and Tesla haters absolutely don't want the phrase 'software' in any of the media headlines or HN titles relating to Tesla software recalls and vehemently argued against it. The media grants their wishes.

It's hardly surprising that Tesla fans are not demanding that the word recall not be used for this car hardware issue, even they're more rational and less delusional about car recall phrasing than Tesla haters who seem to be agenda driven to create negative perception about Tesla, and the media happily accommodates them all the time.
What is the motivation behind pouring tons of sugar into almost every food? Is it to change people’s tastes and make them addicted so they eat even more sugary? I am always shocked how much added sugar is put into foods where you wouldn’t expect sugar.
I spoke with a Google worker fired for protesting $1.2B Israel contract
Htmx Is So Cool I Rolled My Own
F40 Change: Privacy-Preserving Telemetry for Fedora Workstation (System-Wide)
This link is about a Chinese company that isn't Nestlé and only affected Nestlé products in trace amounts.
I've seen rumours here and there (albeit nothing particularly reliable) that the Cybertruck might be a platform used to learn about this design/manufacturing approach. It's hard because it's hard, but the Cybertruck is how they learn how to make it easier.

The thinking being, of course, that if/when they get it nailed, they've potentially got an advantage to leverage over other manufacturers for future cars such as the Model 2.

Only time will tell whether this is the case, and whether it worked.
Tesla Recalls All Cybertrucks over Accelerator Pedal Defect
So, even if that's true, he was jailed for posting dozens of "comments and inappropriate images insulting to the leader of this country". Not for posting pictures of winnie the pooh.
I would be interested to know what effect talking has on the amounts of trace dna left in air.
You can save some time and complexity and just run a single container and first, once, set up your template database `my_template`, then create your testing databases using `CREATE DATABASE foo TEMPLATE my_template`. Basically TFA.

This will be much faster than restarting postgres a bunch of times, since this will just `cp` the database files on disk from the template to the new database.

The only "problem" is your application will need to switch to the new database name. You can also just put pgbouncer in front and let it solve that, if you want.
There's an image of the reply in that imgur gallery you linked. The image says 539.
It's not slimy, it's called normal compromise, and it's been a basic building block of politics for thousands of years, but is often seen as slimy by people who are naive about it.

If you and I are arguing and I want X and you want Y, and can only afford one, a logical compromise is to have half of X and half of Y. That's what combined bills basically do -- package together unrelated things, which seperately, would have to be voted down, because the reds would vote down X by a slight margin, the blues would vote down Y by a slight margin, and nothing would ever really get done if you kept issues unbundled -- but by bundling you are able to achieve GETTING THINGS DONE THROUGH COMPROMISE

For more information, take a basic high school course on government and politics, or read some history eg https://www.amazon.com/U-S-Government-Politics-Prep-Plus/dp/...
Everything @simonw has worked on, honestly: https://github.com/simonw
You know i took the train to Boston to PDX, it was really relaxing. Not quite walking but definitely a lot different then a plane...
I love to keep them busy with ChatGpt. It's not much, but it's honest lurk.

Also low trust societies. You do not want to have that anywhere.
Don't worry, Tesla's next car will be a lot safer:

https://www.imcdb.org/i733450.jpg
Simon Willison's github would be a great place to get started imo -

https://github.com/simonw/datasette
https://github.com/simonw/sqlite-utils

So, his code might not be a good place to find best patterns (for ex, I don't think they are fully typed), but his repos are very pragmatic, and his development process is super insightful (well documented PRs for personal repos!). Best part, he blogs about every non-trivial update, so you get all the context!
I worked the kitchen at McDonald's for about six months once, and I think a better application of AI in this case would be to keep track of the number of customers queued up versus the amount and kinds of food already staged, then tell people what to cook and when. Simple automation like a light above the deep fryer that means "drop a batch of nuggets now" would be a game changer.

Another way to say that is as a young man I had loads of manual dexterity but zero experience running an assembly line with multiple products and unpredictable surges in demand. Use the AI to patch what's actually lacking.
I am using TestContainers, what basically is able to run a Docker image of PostgreSQL, abstracting a lot of details. You can find a working example of this setup for integration tests using Go, testify and PosgreSQL here: https://github.com/dherik/ddd-golang-project

For Java services using MySQL, I was able to use just the H2 database (in-memory) many times. Does a decent job and it's very compatible with MySQL. If you try to avoid specific features from the databases, this in-memory database can do a decent (and fast) job running integration tests.
Some people don't have a moral compass. "Oh, look! Interesting opportunity to entertain myself in the name of furthering medicine while power tripping because I have so much more schooling than my idiot patients!"
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5099084/
^ Not the final edit but has more text.
I think the point being raised by OP is that "hard to censor" doesn't matter when elmu willingly censors people whenever it makes him more money.
High speed emergency landing of a TUI Boeing 787 at Manchester Airport
> smoke/fumes were reported in the cockpit by the pilots

https://aviationsourcenews.com/emergency/tui-uk-787-manchest...
I'm sorry that you think owning a car and eating industrially-produced foods is a mark of a "good" standard of living. Both these are unfortunate byproducts of a runaway economic model that tied profits to consumption, while destroying the very prerequisites of its existence.

We more than definitely have enough resources to satisfy everyone's basic needs. The basic needs would be: clean air to breathe, clean water to drink, simple healthy food, a safe home and community, quality education and healthcare, and the freedom to do whatever it is you want to do as long as it doesn't impinge on these basic needs of anyone else.
It’s probably table stakes for a search engine at this point. For me though, they all came too late, and I am mostly rewired to go to chatgpt first.

(Yes, chatgpt can be wrong, but for things like recipes, song lyrics, etc it’s never wrong enough to matter)
The Optimal Workspace
Dev/Prod Parity with HTTPS on Localhost
Yes. To stimulate demand for other Nestle products as they grow up.
Click on part of the image to focus it.
Weird-ass title. OpenAI is sunsetting DALL-E 2 in favor of DALL-E 3.
Just commenting to say I really appreciate your business model. Whereas most businesses actively seek to build moats to maintain competitive advantage and locking people in, actions like this paint a different picture of Supabase. I'll be swapping out the API my app uses for Supabase storage to switch it to an S3 API this weekend in case I ever need to switch it.

My only real qualm at this point is mapping JS entities using the JS DB API makes it hard to use camelcase field names due to PG reasons I can't recall. I'm not sure what a fix for that would look like.

Keep up the good work.
I Spy, with my Little Pi [video]
There are 8 billion people on earth. And Texas is 172 million acres. I don't think the math works out.
I can't think of any (small) libraries I could recommend to learn best practices, but what does come to mind is click [0], the CLI library for Python. Their documentation is pretty great, there are tons of short example scripts to be found online, and in my experience making little apps with click can be a nice way to learn different python features like args/kwargs, decorators, string manipulation, etc.

I agree with others that code formatters like black or ruff might be helpful to you. The literature surrounding them, such as PEPs concerning code formatting, often include examples you may find useful.

[0] https://click.palletsprojects.com/en/8.1.x/
Reusing and blackboxes do appear a lot in higher level mathematics. Indeed, the idea behind abstract algebra is to hide 'implementation' details. The concept of abstract data type in programming is similar to structures studied in algebra.

It is common for mathematicians to rely on theorems as black boxes(ex: classification of surfaces) even without knowing the proof. Secondly, people can even write research papers without knowing how to work with some object covered in the paper, by working with collaborators who are experts on a different topic.

It would be helpful to isolate the essence of calculus itself from the symbolic techniques, for ex to actually calculate integrals(especially magical seeming substitutions and nontrivial factorizations) as many of these symbolic techniques will appear in different topics even outside calclus.

Here's a criterion for testing this core understanding calculus - Can somebody given a problem (say optimization, or finding volumes) convert it into a standard type of differentiation or integral, then use symbolic software like Mathematica to do the computation and then get the right answer. Often, calculus students memorize standard recipes for problems and get confused by a problem which is not hard symbolically, but requires some thought to set up correctly.
I'm sorry but I find this answer completely ridiculous. People do stuff for reasons, selfish reasons, but "hehe I'm evil just because" is absurd.
I just use Spotlight search now, i can't remember the last time I really put any thought towards directory structure or anything like that (besides maybe my one "code" directory)