skysight-inc/HackerNews huggingface dataset:
People can and have added extra annotations to C and C++ code for such things.
Static analyzers can catch some use-after-free and iterator invalidation bugs at compile time.
Problem is:

• They're opt-in instead of opt-out (meaning none of your system libraries or 3rd party dependencies have bothered using them.)

• What's been implemented in practice frequently fails to find bugs in relatively simple toy examples (I often confuse myself wondering why I've failed to turn some new bit of static analysis on, when in fact I have, and it's simply failed to catch even my demonstration bug.)

• The effective tools, on the other hand, tend to have "false" positives as well.

The conclusion I've come to is that to fully solve these problems in C or C++, you'd effectively transform it into a new language. And at that point, you might as well stop pretending that's not exactly what you're doing, and actually create said new language.

---

That said, when stuck using C or C++, static analysis and the compiler-specific half measures that are available are worth using, IMO.

• https://awesomekling.github.io/Catching-use-after-move-bugs-...

• https://clang.llvm.org/docs/ThreadSafetyAnalysis.html

• https://clang.llvm.org/docs/AttributeReference.html#lifetime...

• https://github.com/MaulingMonkey/notes/blob/master/programmi...

• `printf` type checking annotations exist, but don't necessairly work on MSVC. Often sanest to make your legacy logging macros call `printf` in a dead branch to leverage any hardcoded type checking of `printf`

Basically everything is a warning that you might consider cranking up to an error, of course.
That sounds interesting- could you elaborate?
Not with BYOD
It's not perfect. On older versions, it'd sometimes add a black border the size of your scaling factor. It still reports your window size times your scaling factor as internal resolution with guest additions though.
> uid (unix account name)

Is this a joke or for real?
A Brief Story of hier(7)
> We should expect all our languages to be safer.

My prediction is modern C++, and even (looking at C23) modern C, will be evolved, albeit gradually, to offer enough of Rust's safety so that on a cost-benefit analysis of either updating an existing C or C++ codebase to its modern, safer dialect or rewriting it in Rust, it will be a no-brainer to stick with C or C++. Rust will ultimately become a marginal language, like (sorry) Zig:

https://www.phoronix.com/news/CPP-Linux-Kernel-2024-Discuss
> You put in your two weeks? Nah, you're out the moment you hit send on that email. Manager alerts security, who then come over to your desk. You get your jacket and whatever you walked in with and get walked out.

The only thing that that accomplishes is that people don't put any notice.
Signals are very hard to implement properly, and I imagine signal handlers don't compose well.

At some point you'd be better off using `setjmp` and `longjmp` to write your own exceptions from scratch, like Lua does.
Memory aside, the sum of the colors reflected around the room is immediately noticeable as you cross the threshold.
In Microsoft's case, it is still baby steps outside Azure.

When XBox, Office and Windows business units really do approach Rust support the same way as they embrace C++ over anything else, then Rust is really in the house.

Yes I am aware of Rust/WinRT and the GDI regions kernel module rewrite.

Rust/WinRT is done by the same guys that botched C++/WinRT, no big hopes with that one.
For one, it depends which definition of "true meditation" you're thinking of. Adyashanti has a method he calls "True Meditation", which is in the "do nothing" class of techniques but it has a not-doing kind of focus to it (or "non-interference with the present moment" as he calls it). It's not a low-importance kind of non-doing though, and though it tends to become restful as one progresses, the path to getting there is not necessarily restful. It seems to be similar for other do-nothing methods, such as the Zen practice of Shikantaza.

GP cites watching a movie while one's mind is wandering as an example of Niksen. That doesn't seem to fit any definition of meditation I'm aware of.
It is so funny to defend serverless with it's all crappy configuration, slow dev cycle and vendor lock-in.
React has lived long enough to become the villain. It definitely pushed web apps in the correct direction, but it has grown some nasty kludges to account for things that were very hard to foresee. Choosing to use it nowadays for greenfields projects comes across as cargo cutting to me.

I somewhat disagree that the approach is ill-suited to simple sites, server-side JSX is a strong step in the right direction. If you're using it on the server you may as well use it on the client, even for minor interactivity problems.
it seems like you didn't bother to read it well, let alone do the basic courtesy of telling a bit about your project.
AvaloniaUI when coupled with AOT compilation that is shipped as part of newer versions of .Net gives amazing results in terms of performance.

My experience with it has been great so far.
Maybe arXiv style rules? Low bar, but is a form of vetting. You keep it as a place for researchers and leave places like Reddit for the general masses.
You'll be asked to enable .NET and Simple TCPIP services, and a mailbox file created under C:\ will open on Notepad every logins thereafter.
Being one of few publicly known low-code or no code tools that exposes code?

Leaning into that with a new feature right now, actually.
Datenna| Principle Data Engineer| On-Site Eindhoven, Netherlands – Hybrid

At Datenna, we merge China expertise with groundbreaking technology, creating a unique software platform that empowers governments with unparalleled insights into China's techno-economic landscape.
We are looking for Principal Data Engineer who will spearhead the design and implementation of our next-generation OSINT engine and the underlying data processing and storage infrastructure.

Read more: https://jobs.datenna.com/o/lead-data-engineer

For all vacancies: https://jobs.datenna.com/vacancies
First part is a personally solvable, and as for the second part: you can still add them if you know their name.
Is it still going?

Were you ever made change it by HR?

I left 5 years ago. Loved that thing!
> Sure, not at first. But how long has it been since most people interacted with a CD player now? Most teenagers haven't, ever.

Yeah, but it's a lot harder to switch from a DRM-less digital download format to a DRMed one. Who in their right mind would choose the DRM store, then?

Oh, but this is also sort of what they did, because Spotify and Apple Music and whatnot have DRM. Not that it's unbreakable or anything. But they have it — for streaming.

> DVD quality is not really of sufficient quality for most consumers today, though. Meanwhile, CD quality continues to match or exceed modern streaming services.

Yes, but I was talking about 20 years ago. DeCSS had come out in 1999, but libdvdcss was released in 2004. It has been pretty easy to rip a DVD for someone in the know since then.

Much like CDs, Blu-rays (especially 4K Blu-rays) are of better quality than you'll find on most streaming platforms. Blu-rays are pretty much rippable, too, but far fewer people have a Blu-ray drive, and most people don't care.
They could, but for compatibility reasons it would be opt-in. The strength of Rust is that you can't opt out of the borrow-checker (even with unsafe).
Funimation was also “Netflix for anime”. Sony bought Funimation and then it bought Crunchyroll. Now they are finalizing the “unification” by migrating their remaining customers and shows to Crunchyroll and keeping it as the sole platform.

This “announcement” is describing how to move your account and answering questions current users might have.

At least that’s what I understood. Others can correct me if I’m wrong.
We need a direct way to fund firefox https://connect.mozilla.org/t5/ideas/ability-to-donate-money...
This is true, but at least for a while (I’m not sure if it’s still the case), Leela data was used (along with data generated from Stockfish self-play) to train Stockfish’s NN.
I'm a North American living part time in Seoul and I get lost using and cycling in small streets all the time, they turn and take random directions and my internal compass doesn't realize I'm now facing East when I thought I was walking North. I prefer cycling on smaller side streets but it's way harder to "guess" my way around detours unless I'm using a map app. I've seen delivery drivers do the same on their scooters, so I guess they feel the same unless they're very comfortable with a specific block. As in, they don't try to guess detours using some mental model of street layout: they check the map.

Also I've learned people don't give directions using cardinal directions: there's no such thing as "walk North on Seorae-ro" (or at least I was told). Which I guess makes sense since the streets on which this would be a useful mean of communicating directions are very few.
Tax the pollution and let The Hand sort it out
I am in the same boat and I suspect a lot of the early hour Apple users are in a similar process of thinking about it.

Some of the main draws of Apple were the freedom of the platform as a whole and the total cost of ownership that was much lower than the price tag would suggest at first.

Nowadays not only do you pay for the privilège of locked down hardware but the software is very often "meh" at best, when it's not completely trash compared to the alternatives. And their push to everything subscription with the inability to both upgrade/repair the hardware easily makes the price tag unpalatable. They aren't better built than many expensive options nowadays...
Most of the current Apple software works well only if you want to pay for content, for your own stuff the softwares are rather lacking which makes the base offering uninteresting and since 3rd party software has become extremely expensive in the ecosystem it truly is a luxury platform.

In the end, there is nothing that is better done on Apple's ecosystem nowadays, most of their historical advantage have evaporated and arguing about the battery life of Apple Silicon seems like splitting hair considering the overall cost...
Where is this? Sounds like a great place!
This is similar to how I used to do it when I was still an academic, 20 years ago. My mental process is answering questions: is this an interesting paper with something to tell? Do the authors know their field (references)? Are they able to write a coherent and well structured article? If that all checks out, you start reading the paper in more depth.

The 2024 version of this would of course be "hey chat gpt, summarize this article for me and list the key points and then criticize the work". I expect, article quality should improve a lot simply because authors are also using LLMs to help them polish their articles. There's no excuse for submitting unpolished work at this point.

A lot of what I did as an academic was reviewing papers for workshops, conferences and journals. That's a chore that is part of academic life and getting good at that is a core skill.

It's the really bad papers that are the most work. Because after you have a suspicion that something is garbage (this is the easy part) you actually have to read the damn thing in order to deconstruct it properly and provide detailed feedback to the authors that is both fair and actionable. A well written paper is much easier to review and more fun to read. Unfortunately, well written papers are quite rare. Mostly you are dealing with awkward grammar and style (inexperienced researchers, non native speakers, etc.), people who are unaware of key references they should have cited, a lot of bullshit conclusions and shoddy methodology, poorly structured arguments, etc.

You can learn a lot about writing by reading a lot of bad writing and having others criticize your work. I'm really grateful for all the people who took the time to deal with my early efforts. It wasn't great, I know that. I'm not a native speaker. I had to learn writing on the job.
No it's not. But, the previous code was already effectively doing "c * c" for the last 15 years. So for now, just keep doing that, a bit faster.

A more proper way would be to do proper color-space aware luma calculation. Which under default settings is sRGB indeed, but not necessarily so (VSE can be set to operate in some other color space). Someday!
> I used to be one and even I’ve given into the convenience of Spotify in recent years.

What convenience? Unless you're constantly going out to listen to new music, which most people aren't, Spotify is a raw deal indeed. You can easily stream the music you own through various means, and you don't have to pay a monthly sub to do it.
https://www.theregister.com/2023/04/27/microsoft_windows_rus...

https://www.theregister.com/2024/01/31/microsoft_seeks_rust_...

Reasonable people can disagree but I wouldn’t call that a baby step. Core windows libraries, the NT kernel all being rewritten in Rust. Not sure why 365 stuff is being rewritten from c# to rust but maybe there’s some kind of perf issues that Rust will help them with.

But your bar is also too high. This stuff happens slowly and then all at once. The slow bit is making the infra changes and figuring out how to start the porting process so that other people can start to contribute in a way that’s a positive addition.
OTOH, if you're from GTA come to Philadelphia. It's basically GTA but weirder and with more bicycle related chaos.
> I have a friend who never used a Mac nor an iPhone, but he owned an iPod and so installed iTunes years ago and used it to manage his entire music library, and continues to do so to this day.

Same here. I eventually replaced my iPod with an Android phone, but found a software combo that allowed you to sync your iTunes library to your phone just as easily, and also enable reverse syncing of ratings and playback counts. Sadly those apps have been sold to some company that's trying to turn them into cash grabs, but at least for now the old versions keep working for me, even on my new phone and Android 14 (albeit with some tweaking that's rather requires a rooted phone).

The advantage of iTunes is that it's perfect for also managing my collection of radio comedy, because you can easily re-classify manually imported files to be treated as podcasts, which makes for a nice UX (podcasts remember their playback position, and podcast apps track which episodes you've already listened to and which are still unlistened). Most other podcast apps don't allow manual file management, so I'd have to set up fake podcast feeds for my local files otherwise, which would definitely be a hassle.
No. It's not. I'm glad someone shared this feeling because I had it too.
Small correction. When you’re getting laid off they pay you for whatever termination time is in contract. Usually it’s something pretty long, like 3 months, with some contracts structured in such a way that this period grows with your tenure at the company. My “notice” period grew from 1 month during first half a year to 3 months afterwards.

Once a layoff is declared you get paid for the remainder time plus often a severance package (about 6-12 months of salary in total is customary). You are expected to work these 3 months, though, just like you would work for 3 months (and get paid) if you decide to charge jobs.

In practice it means working with people who will leave a company soon is pretty common, having these people as your bosses, as your subordinates, see them at company social gatherings etc etc is all part of working culture. They aren’t perceived as a threat to business or to company morale. Handover of responsibilities, knowledge transfer, hiring or training a replacement: all these processes tend to spread out gradually over months, and the resulting transition is often pretty painless.

It’s a stark contrast to US business practice and people working across the ocean or relocating from one continent to the other need time to adapt.

Europeans pointing such differences on a website does not necessarily constitute “triggering”. If you knew all of this already, great. But someone reading this thread may learn about it for the first time, and there’s no downsides to sharing the knowledge.
Apple releases "MGIE", an AI tool which edits images using Natural Language
It is internet moderator syndrome.
> if they sign this agreement then Russia will come marching in and try to "really" invade them in 5 years.

5 weeks. Typical Russian tactics is to invade, then call for peace, then reinforce area, perform ethnical cleansing, solve problem with logistic, then blame other side for something and invade again.

> Ukraine could have, instead, spent the next 5 years setting up an unprecedented series of defense in depth series of barriers around the border

We spent 5 years preparing our defenses, spending 5% of GPD on that, BUT huge border with RF (1974 km) and Belarus + shore (1500 km) are not easy or cheap to reinforce. Ukraine has the largest border in Europe between two countries.

> This was not an obligatory war for self existence, but a choice - a choice made at the urging of the West.

LOL
C++ is already a much safer C, yet plenty insist in using it like C, full of Cisms.

When copy paste compatibility to C is available, only regulated industry practices like MISRA force devs to adopt them.
For me it's the different side of a coin: for some reasons after I had a few dissociation episodes, meditating is too easy.
Clear your mind? Sure. I can stare at nothing for hours and only be vaguely aware of surroundings.
15 minutes of meditation daily? I plan ahead to have 15-20 minutes more then I need in the morning, because at some point my brain would clear itself and have no thoughts as I stare at the walls in thoughtless wonder.

The only times I do clear my mind intentionally now are the times when I am waiting. Kinda like fast-traveling to the future in video games (or, indeed, meditation mechanic in Witcher games). Makes airport experience a lot better, actually.

Meditation is a tool, and no tool is useful for everyone. And some folk don't use the tool as intended.
That prop 13 is not agreed upon by residents of California's population as a major destructive force here is precisely their point.

It has been both absolutely disastrous and incredibly popular.
Is Chrome the better product? IMHO Firefox provides much better tools for ad blocking and privacy. Those are both very important to me and areas I think Chrome is weak.
The only kernel stuff I already mentioned, there isn't anything else.

On Office side, is yet again Azure infrastructure, which I also referred.
One day they'll replace the kernel with Linux and nobody notices
The information provided in the literature on Oberon contradicts this claim. Furthermore, the moon is depicted on the covers of some books about it.
Time to go on a tangent, does anyone think useEffect was good idea? In general I've found "side-effects" libraries like rxjs & saga's being the main cause of bugs in react codebases, and useEffect a good second.
You wouldn't want pre-revolutionary France, or pre-civil-war US, either.
> regional TX restrictions lifted

Sounds like running this is illegal and github hosting it, too
React is great; many use it badly. This is a tired debate, and the author offers no solutions or practical advice. This is someone who is tired after refactoring a badly written react application.

I work on a badly written react application. I sometimes sift through our microservices written in go, ruby, and Java. They're badly written too. This is not an indictment of those languages or whatever framework or technology was used in those services. Business requirements change, engineers change, and refactoring doesn't give management anything to brag about so nobody gets time to clean up the mess.

Complaining about the "churn" is even more asinine. React continues to support more usecases. New frameworks and technologies are competing and challenging one another to improve. God forbid we might have to learn something new.
You very well know that Yanukovych ran his campaign on a pro EU platform. He promised the people a customs union through an association agreement with the EU. The day before signing said agreement, he got bought off by Putin and proclaimed that Ukraine would enter a customs union with Russia and Belarus instead.

I really can not see any way such an action of a massively corrupt leader selling out his people and acting against their stated interest would not result in massive protests. During which Yanu chose to flee his country.

Also there have been two elections since then so who cares.
Ergonomic advantages / reduced defect rates != vulnerability issues. The former aren’t a problem for languages like JS which has all sorts of weird sharp edges. But vulnerabilities are treated as a separate risk factor because the issues can spill to unexpected areas which makes risk harder to quantify and reason about. A vulnerability in some small tool that barely anyone uses can be used to exfil your entire customer database or do a ransomeare attack and cost you hundreds of millions of dollars in short term damage + investigations by regulatory bodies and law enforcement. A buggy piece of software at worst causes some bad PR or a failed product which is way way smaller and localized of an issue
Yeah, they need to compare against the latest BT2 policy head. It's probably about the same performance.
Almost Every infrastructure decision I endorse or regret after 4 years runnin
It was great, but feel like it gotten too complex. And this complexity invites for more options to do bad things.
They probably run it very hot since the computer controller can prevent scalding.

If the glycol elevates the boiling point, you could store energy above 100 C. The human-safe temperatures on a normal water heater must be closer to 50 or 60 C. Room temperature is about 20? I imagine if you more than double your temperature difference, you might more than quadruple your energy storage, that might offset the lower heat capacity of the glycol.

Sort of like high-voltage power lines being able to use thinner wires but requiring thicker insulation (meters of air) so they don't kill anyone.

User 15457345234 pointed out that you could just pressurize the water. But building a steam pressure vessel requires a weight-safety tradeoff. Maybe a mixture that boils hotter is cheaper overall than safely containing steam pressure.
it happens sooner or later to every file encumbered by digital restrictions management; it's not a question of if it goes into the memory hole to be devoured by the flames, but when
One company I worked for used to have an unofficial “ex-company” slack setup, where people would get invited to by others that have already left and were in there, it was kinda nice since you form bonds with people and suddenly they’re just gone. You might have not managed to connect with them in any other form.
But you login to “ex-company” slack workspace and here they are - everyone that went through the company. I mean lots of people would stop responding after a while, but there was enough time “buffer” to allow people to connect with other means.
Game industry is solidly C++ and that’s not changing anytime soon.

It’s not just inertia. Games have very specific latency and timing requirements that required tightly integrated language and compiler features developed for this very purpose. The financial industry too has similar needs and solutions. Rust isn’t a fit for those use cases. Not without a mountain of work that no one is doing, nor would be likely to be accepted as it conflicts with the design goals of Rust.
Marketing site: mkdocs with static hosting like github+Netlify (unless it needs eyecandy, I don't do those). Buy a theme or build one.

Interactive sites: Django with server-side template rendering, very minimal Javascript, CSS via tailwind, bulma, or bootstrap. Buy themes if needed.

Payment, billing: send users to something like typeform+stripe, avoid building custom payment processing, order management, etc.

Web applications: things that need complex interaction in the browser I'd choose react.