skysight-inc/HackerNews huggingface dataset:
Yeah, just having the standard library container types (or similar generic third party libraries if you don’t like std ones, eg I tend to use phmap maps and sets instead of std::unordered_map/set). Templated containers just make using them so much easier than generic containers in C. Ergonomics matter when you just want to get things done. Plus the C++ containers make it easier to manage memory IMHO.

The main reason I still sometimes use C is compiler support for microcontrollers where everything tends to have a C compiler but not everything has a C++ one (or if it does, not necessarily an up to date one).

I don’t use either in my day to day really but I do have sone personal projects. Ultimately I foresee doing these in Rust where I can, but for stuff like hobbyist game development, I’m currently too bought into some of the C++ libraries, primarily EnTT, but even there I think I’ll eventually just end up using Rust with Bevy. For now though, I actually quite enjoy using C++17 (and maybe 20 soon if I find the free time).
>It isn’t. People saying modeling is indistinguishable from analog gear are just incorrect.

I hear this a lot, but I've never actually seen any proper testing done on this.

Personally, I think the early stuff (Digitech 2120, etc) wasn't good enough. I did use it (and loved it when gigging for exactly the reasons you outline) and it was great, but there were some elements of it that weren't as good as the 'real' thing. Ironically the Wah was the weakest part of that particular rack unit, and it was the only analogue thing in there!

However, now I don't think there's any reason why you'd take the stomp boxes over a Helix. I've done some back-to-back testing with some of the pieces of gear, and I can't tell the difference.

I agree about editing - it's certainly not the same experience as a bunch of pedals, but in every other area, it's a no-brainer for me, including in the studio.
I could have sworn /Wall is a fairly recent addition to MSVC, but according to godbolt it seems to be supported since at least VS2015.
What I wonder is: any car company has a CEO that still does their own driving?

I guess the answer is "no".
Chirality is an interesting topic, and controlled chiral synthesis is pretty cutting-edge chemistry. The real masters of this art are biological enzymes, i.e. the proteins that catalyze all chemical reactions. A lot of the modern catalysts used in chiral synthesis are themselves chiral, which is essentially mimicing the biochemical approach.

For this to work, however, the starting molecule needs to be what called pro-chiral. For illustration, imagine a flat triangular sheet of paper with three different elements at the points. How could you only label one side of that sheet? Well, if you take a copy of that triangle and glue one side to a table, then there's only one orientation in which all three points of the other triangle will make a one-to-one correspondence. This corresponds to the enzyme (glued to the table) specifically binding the pro-chiral molecule (i.e. a carbon atom with three different substituents) and then the free surface of the triangle is where the reaction takes place.

I suppose someone could develop such a system for amphetamine synthesis and it would qualify as 'green chemistry' (which really just means producing the desired product without generating a waste stream via a closed-loop process), and this might even be how it's done in the legal pharmaceutical world today (methamphetamine is sold as Desoxyn for ADHD treatment). There are better things for chemists to put their time and energy towards, in my opinion.

As far as the legality and safety of drugs, it seems pretty clear that criminalization just fills prisons while generating large profits for organized crime cartels, with many associated problems (i.e. violent crime), while not reducing the population of drug addicts. A public health approach based on educating people about the very negative health and social effects of drug and alcohol addiction seems like the more reasonable approach. Bans on advertising and promotion of drugs might be wise as well, as has happened with tobacco and alcohol to some extent.
Ahh funny my country is very hot, in summer I'd shower 3 times (I wish for 4 sometimes). It's too hot to come up with any idea. It's only thankful to have water run through.
Does anyone know a good resource for someone who was very familiar with older Python (early 2.x) and would like to get up to speed on the latest Python along with current/best practices?
If you already use emacs I'd recommend checking out org roam. I've used it a bit prior to switching* to obsidian, it worked well.

https://www.orgroam.com/

---

* I didn't switch due to any issue in org roam itself. I was curious about obsidian since I kept hearing about it and also I occasionally use windows and am not a fan of the emacs experience on windows (slow, configuration sharing issues).
I can’t see any obvious cynical conflicts of interest here in the funding sources, but I don’t know the Bertebos Foundation.

While I’m aware of some meat industry campaigns to dissuade people from eating vegetarian alternatives, this study seems plausibly good-faith.

The object level claim is “some of these products contain phytates” (aka anti-nutrients). Not my field but the first few search results suggest this is not considered to be a big issue? Eg https://www.hsph.harvard.edu/nutritionsource/anti-nutrients/

Anyway, if there are steps these products can take to improve their nutritional profile, I’m sure they will work towards them. My model here is that it’s a recent capability gain to make meat-like products that are pretty close to the real thing in taste and texture, and further improvements to nutrition will follow inevitably.
Hi Gayle. I've emailed the HN moderator, referencing this comment and your tweet. Hopefully the impersonated site can at least be banned on HN.

This is already the third submission from it here: https://news.ycombinator.com/from?site=gaylelaakmann.substac...
98.6% (~50 attempts, using my mouse)
Can't wait to see what the future holds for unix epoch time. Will we see a new, more advanced system take its place?
Anyone who says C is not important hasn't worked on embedded systems or operating systems.

I work on embedded systems. There are roughly 3 choices for languages[1]. C, Ada, and C++. Except the version of C++ is sometimes often vendor specific and may lack features that are "standard C++", and never have a "full" STL. In addition, if you're not super careful with C++, what you thought was a copy or declaration can execute additional constructor or assignment logic. It might just interfere with your estimate of how long something can take (which is super important in interrupt handlers), or worst case, smash your stack (which can be as small as 1-2k). With C, you pretty much know what's going to happen and what's getting called. The fact that C doesn't require a runtime (nor does Ada), means you can use it to write kernels. You can't do the same with a 'full' version of C++, so you're back to a cut down C++.

I also spend time debugging compiled, optimized code by tracing instructions. This is hard enough in C, where I don't magically jump to a constructor function or an assignment function. I can visualize in my head how the C code could look like, given the instructions the optimizer produced. So it may not look like my code, but it is a version of the code that I can at least logically infer.

Ada is nice, but outside of some super-safety critical realms, it hasn't had the uptake. Private industry prefers not having to make the investment and the government let everyone waive out of it.

1. I know people are going to to say 'what about Rust, Go, or embedded something or other?' They are not as mature in their development lifecycle. So there's no validated RTOS for Rust (there are some experimental ones). Go is even further behind. Basically, you need a vendor supported RTOS that's validated for the safety and operational requirements of your use case, before you can be a serious choice for a lot of embedded work.
For starters there's less [performance] anxiety while taking a shower of doing mundane tasks.

In a way it's the "monday night quarterback" meets the "you missed a spot over there" syndrome; the farther away we are from the point where the rubber meets the road, the more we can observe objectively and have higher level of thinking.

The problem at hand is how to juncture the thinking/intention with proper action.
I love these kind of bug-hunting stories. The Apple engineer that fixed the bug (and remains nameless), provided an explanation, which happily surprised me. I usually read wry remarks on Twitter about the black hole that's called Radar.
That's a direct translation of struct_tm from time.h.

External declarations, as well as the tm structure definition, are
contained in the <time.h> include file. The tm structure includes at
least the following fields:

int tm_sec; /∗ seconds (0 - 60) ∗/
int tm_min; /∗ minutes (0 - 59) ∗/
int tm_hour; /∗ hours (0 - 23) ∗/
int tm_mday; /∗ day of month (1 - 31) ∗/
int tm_mon; /∗ month of year (0 - 11) ∗/
int tm_year; /∗ year - 1900 ∗/
int tm_wday; /∗ day of week (Sunday = 0) ∗/
int tm_yday; /∗ day of year (0 - 365) ∗/
int tm_isdst; /∗ is summer time in effect? ∗/
char ∗tm_zone; /∗ abbreviation of timezone name ∗/
long tm_gmtoff; /∗ offset from UTC in seconds ∗/

You'll note that tm_year is years since 1900.

While working support at SGI in the late 90s, got a number of support tickets (there was a woman who worked for a government department (NASA?) who was very good at finding them in doing their y2k checks) about dates showing up as `20100`.
Thanks great link. tldr:

> vim encryption uses old,
obsolete algorithms that are poorly implemented.
Since insecure cryptography is worse than no
cryptgraphy, the community voted in favor of
removing all crypto.
Skyrocketing energy prices projected to cause unprecedented drop in already dangerously low rate of European innovation!
One ingredient is neither healthy or unhealthy. It's only diet/lifestyle that is healthy. A healthy diet can include a variety of ingredients.

Associating a particular food with health or illness is an incorrect thing to do, at least I think so.
At the time I wrote this comment, there are literally two occurrences of the term “anti-vax” in this thread and they belong to you and the grandparent.
That’s not true because giving it away would mean you wouldn’t be able to produce the product.
Within the US, I believe enforcement of non-solicitation agreements is going to be dependent on the state.

A non-solicitation agreement is not strictly the same as collusion between companies to agree to not hire away each other’s employees.

If I sign a non-solicitation agreement, I as an employee cannot move anywhere else and try to hire former coworkers for some period of time.

The scandal that happened among multiple tech firms (not just the ones you mention) was that several companies agreed at the top level not to recruit and/or hire one another’s employees.
> it's meant to be a label applied to you to cause others to attack you without thinking

I would like to think the average attitude here is closer to one of intellectual curiosity than blind labeling.

The trouble is that "anti-vax" sentiment is impossible to distinguish from "vaccine hesitancy" when the only reasons put forward seem to be vague mistrust in the tech / government.

Rarely do these conversations lead to real discussions about actual quantified risks, which makes it easy to dismiss hesitancy as garden variety anti-vax sentiment - the kind that is based on verifiable lies and has been around for decades.

I'd argue that instead of predicting inevitable binary thinking and dismissals, it'd be more useful to focus on the actual substantial claims to back up the position. Anything less moves the conversation nowhere.
And because it's JS. Not every language defines signed integer overflow as wrapping.
Hedy looks really good, thanks for the tip!

Yes, Future Coder is clearly aimed at adults or older teenagers, and looks really good for them. That was mostly the point of my question about user created tutorials. Using the current tutorial as a basis, but simplifying the language and some of the conceptual stuff would make something that could work for younger kids.
I think the parent's point is that you can't quite do "whatever you want" with it anywhere in the world, at least until Alex dies, because in some countries authors have inalienable moral rights that cannot be waived by any agreement or license. For instance, if you go to France and distort or mutilate Alex's work in a way that harms his reputation or honour, he will be able to sue you for it, and no possible license will waive his right to do so; there is nothing whatsoever other than commit suicide that he can do to grant you the freedom to mutilate his work in a way that harms his honour while in France.
It’s very confusing, some of the times they were saying they rented out the backyard and provided the house (plus a lien) and other times were talking about people taking out a second mortgage to pay for the little houses.
It is definitely worse, but there are also dedicated buttons for next/prev, max defrost and max rear defrost as well as the driving mode, parking guidance.
You might not approve, but the reality is that most C code is built like that.
The funny thing is that people are easily offended these days simply by including trigger words they don't like to see in a negative context. I'd invite you and other downvoters to re-read my prose again. The focus was not on someone's personal choices but how those catchphrases are (ab)used in a context to promote something "healthy", yet the next month that company will be ready to lay off 70% of their workforce without a problem due to their bad business model.

I was fortunate to be in touch with renewable energy companies (professionally and indirectly), and you'd be surprised how unhealthy those things are for the environment on a grand scale. But, YMMV...
"It's quite easy to close the things that you need to close"

Very true. It is easy. Not difficult. That doesn't seem to stop enormous amounts of C++ code being created in which this is simply got wrong. Just because it's easy doesn't mean that huge numbers of programmers won't still get it wrong. They do. Regularly. If they adopt RAII conventions, they screw it up far less frequently. Those are the facts.
Agreex, if the burger patty is just prime ground beef or black beans and quinoa or something it's probably ok. But people like to eat food that is nice sometimes and so it's everything else, the mayo, the ketchup, the toppings, the bun, the fries, that are part of the mise en place of the burger experience and the same goes for other vegetarian meat substitutes, e.g. sausages or bacon.
This is a good point. Do you think it is because of how much Egyptian agriculture relied on regular flooding of the Nile to replenish the soil?
No, I'm not a marketer, I'm a tech student. I just want to know your perspective on this. That is why I'm asking.
I have heard from first-hand sources that the Ukrainian military wipes DJI drone firmware to remove the integrated location pings.

Have you heard this doesn't work sometimes, or are there other commercial drones that report?
> they're literally the only thing available at a lot of places.

I'm surprised to see this sentiment. It certainly rang true a decade+ ago, but back then craft breweries were more novel, and there was more [over]reaction to bland, mass-produced lagers, etc.

Sours were really trendy rather than IPAs just pre-pandemic, and these days in my experience most places have a pretty varied selection of types available.
Sure, but the brain is also very good at visual understanding and can pick out relationships that would be comparatively much more work to explain with text.
If $350/month seems like too much money, the product isn't for you.

If it seems like a bargain, it is.

To be a business, you have to stay in business. 100 customers at $350/month probably allows that. 7000 at $5/month probably doesn't because it requires 70x conversions, 70x retentions, and 70x the customer service (at least) -- and of course $5/month is trying to compete with free.
Are backup cameras required now?
It does exist. See SDR/XDRs:

https://en.wikipedia.org/wiki/Special_drawing_rights
You can read about the development of this new route and its advantages here [0]. Ctrl+F for ibuprofen or go to p.54.

https://sci-hub.se/10.1016/B978-0-12-804190-1.00004-5
It doesn't help that most people don't know that the common cold and the flu are two entirely separate illnesses. Even if they know they're separate, they usually think they're roughly equivalent, which they're certainly not.
ATMs do not communicate with each other. They communicate with a central server cluster. Transactions are atomic and consistent.

CAP theorem gives the database of money transfers the ability to be consistent, partition tolerant, or available. Pick 2. All banks choose consistency, they have to. And partition tolerant is the obvious second choice so you don't magically lose all you money during a server crash.

If you're thinking someone can withdraw money in one country and do the same in another country would it figure out the correct balance or could you trick it? The answer is you cannot trick the ATM.
They probably shouldn't over promise by calling it "universal". Inevitably there will be a new variant it cannot handle.
> Also, this is where it might have been helpful to go into different conventions about allocations, whether the caller or callee should allocate, etc.

There's another blog post about memory management which might have aged a bit better (at least it's less controversial heh):

https://floooh.github.io/2018/06/17/handles-vs-pointers.html
Installing random free VSTs is a great deal of half the fun. Here's nine - https://www.youtube.com/watch?v=OCzf38fCqB4

If I'm not mistaken, one he does miss out on is Synth1, but then that would be 10 free VST's, and also gives www.kvraudio.com a reason to exist.

*The real problem is, people writing crappy VSTs and installing bits of crud all over my PC (and that inclludes DAW software writers), but hey,that's why backups and rollbacks exist, I guess.

To specifically answer your question "Does anyone know a working software solution that just mimics a basic pedal?" - which particular pedal? The software you may be hesitant to install may have the answer you require: I've found software that sounds better than the pedals they emulate, but aren't as easy to control (with a mouse), and are equally at the mercy of a DAW crash (looking at you Steinberg :-).
A friend's sense of taste has been permanently changed/damaged after he was hit with the full force of covid and he's young. It's not worth it.
Designing furniture using the CSS grid (2023)
At one point during the construction of my house, we needed designs for the kitchen and bathroom cabinets and a bedroom wardrobe.

I wanted full control of the design process. Doing it in vector illustration software was too painful and it was taking too long. But I didn't have the time to learn any complex CAD tool either.

So I developed a small HTML/JS/CSS tool for designing MDF furniture by writing my own little language that transpiles into a CSS grid layout.

Take a look at the blog post for details:
https://alnvdl.github.io/2023/01/07/designing-furniture-usin...

Or go directly to the tool (works best on desktop or tablet): https://alnvdl.github.io/squareplanner/
North Carolina by chance?
Been there. It was very awkward.
Is there a dashboard from some neutral third-party validating that everybody's current warrant canary is in fact valid? Who would spot it if it either a) stopped being updated b) had an invalid signature, or c) the headlines were not current?
Ok, but don't you agree that touchscreen controls look very cheap compared to real knobs? Shouldn't that be a factor too, especially in higher end cars?
"When it comes down to it am I more concerned about the disease or the vaccine?"

The disease. You should really be concerned about the disease, not the mild immune system trainers.
I believe that should be possible, yes.

Here is an interesting paper about Computrace: https://www.coresecurity.com/sites/default/files/private-fil...
Japanese people are very creative in my perception. I'm in Thailand where if you aren't taking shower 2 times a day, you are considerably "bad hygiene". In winter, at least 1 time in the morning. You will feel "I'm dirty" outside if you don't.
What sites trigger this? Have been using Safari for years and haven’t encountered such a bug.
Why did they decide to use a signed int and not an unsigned one
Which brand of car did you end up buying? I've heard Mazda and Toyota were pretty good at keeping essential command controls as physical buttons.
It doesn't matter whether it's political or not. All that matters is the science, and the real risk and benefits shown by science. The danger is that too many so-called "skeptics" are not actually looking at the science, and are instead sitting in fear and ignorance and calling that skepticism, when really it's the same thinking that they would claim to reject in others.

If you're concerned about the disease, get the vaccine. Vaccines work, and you literally cannot predict with certainty how a disease will affect you. If you're concerned about the vaccine, look at the scientific evidence after large-scale trials. At the end of the day, you aren't personally doing the trials and developing the vaccine, so you will have to have some level of faith in the work of others. Same as you need to have faith that your vegetables aren't covered in e.coli, or that your shower isn't harboring brain-eating viruses, etc. We all take measured risks in life.
This is an accurate assessment IMHO. And the problem goes beyond contrast and shadow adjustments. On a few occasions, I've had recent iPhones blend the bodies of two people in a group photo into single, weirdly fused 'body blob'. Which is a shame, because iPhones have such amazingly good hardware. Apple, please fix this!
Easy way to create ML dashboards/apps
Hey Guys,

I have been working on a project to build dashboards right out of my Jupyter notebooks. I used it to create a WSB stock tracker. Would love to get your feedback. You can check out the demo --

https://www.youtube.com/watch?v=dAl1wgc2pbk

If you want to try us out you can signup at -- https://www.airtorch.io/

If you have any recommendations or suggestions for this tool or for another tool, please let me know because I love working on the site.
Which is great when it works but possibly the most irritating thing in the world when it doesn't.
Excess management is costing the U.S. $3T per year (2016)
>And for good reason, they make reversing your vehicle significantly safer.

They're significantly safer than the 2005 suburban that had a massive blind spot if your worried about backing over their kid (which wasn't really that common to begin with and was mostly a moral panic).

For your average crossover, sedan or other "typical car" they are no better than the car designs we had 20yr ago that you could actually get decent rear visibility out of. Many would argue that they are worse because they have enabled bad design trends (touchscreens and lack of any useful amount of rear visibility). Backup cameras make full sending it into cross traffic or swinging the front of your car into something way more likely which is why most of the OEMs have systems to detect that and prevent it now.

Basically we've regulated a local minimum because some people couldn't handle not backing over their kids and that failure mode hit real close to home for the "I know exactly what everyone else needs" crowd who then expended political capital getting it legislated.

> The fact this stuff made it out of prototyping is baffling.

Reality never got in the way of a good old fashioned industry circle jerk.
Christian deity worship
Ugh, me too. This is always my cue to close that tab.