skysight-inc/HackerNews huggingface dataset:
It's not UB. It's also not covered by standard - it's implementation-specified. What will happen is dependant on decision of compiler writers.

It is, however, not the only way to write to memmapped registers.

The original C way of doing so was to use an assembly function wrapping the actual act of reading/writing (honestly, better than doing the above, as it helps making it very explicit how the write will happen as well as abstracting any details like needing to add a barrier or whatsoever), the other way was to specify the symbol with address of the memmapped register in assembly, and link resulting object with C code.

A C implementation is, AFAIK, free to refuse the literal addresses used as pointers and pass as ISO C.
A docker image for running on a server/homelab would be super.
"Scripture" can be proverb. There's a whole bit of the Christian Bible helpfully labeled "Proverbs", is there not?

I was intrigued by the idea (elsewhere in the thread) that the root difference is translation from the vulgate vs translation from Greek, though I don't have the background to evaluate the claim. Regardless, absent really good reasoning I'll defer to the KJV, for reasons of historical importance and literary quality. So many phrases in the NIV (and other modern versions) set my teeth on edge.
They usually use something akin to Segments “group” event type, which associated a user id with (depending on the platform) one or more “group ids”. These could correlate to company/team/region/etc.

Having implemented something similar-ish recently, we went the route of requiring callers to ”do the work” of telling us which group the user belongs to. Figuring it out is unnecessarily difficult and prone to issues.
That would be novel in my experience, they seem far more interested in cramming in features (with more associated bugs).
Same and it also opens faster, which is important for me, as I use a tiling window manager and open/close terminals fairly often instead of using something like tmux.
I'm feeling my lack of academic training here, but I needed to make sure. When you say sum types, are you referring to enums, or is it a broader concept than that? The Wikipedia article was quite archaic but seemed to support my initial understanding that you're talking about enums.

Are you talking about enums?
This sounds a bit similar to how marketers have thought of the concept of brands and how they cluster in peoples minds for a long time.
Is it a company email which they control now? Maybe that's how they changed it.
Yes, the fundamentals don't change, but this blog is just affiliate link farming and the 40 (!) books it recommends includes a lot of non-fundamental rubbish.

Here's a much better list of around 7 books: https://teachyourselfcs.com/.
GPUs (namely discrete ones) often have high maximum power draw, but that's because they're generally used for tasks that require computational heavy lifting. That doesn't mean they're particularly power-hungry in terms of watts vs. amount of work done. If you offload e.g. video decoding to a GPU, that's usually more energy-efficient than decoding on the CPU.

(The heavy lifting is probably more energy-efficient on the GPU, too, but that's not directly relevant here.)
I do this. I think it's partly because of who I am as a problem solver, but also the way I decide if something is worth saying or doing based on whether I'm adding value.

I don't think there's usually much (if any) value agreeing with people or saying, "well done". If someone is doing something right or well then the result of that should be obvious to them. If I build a great app for example I don't need people to praise me for it – there's no real value in that other than to stroke my ego – and the usage of the app would be far more insightful of its true quality anyway. The only thing that would be useful to me is understanding how the app could be better and to understand that I need people to be critical to point out things I may have missed.

That said, I find I often do this in person and sometimes I have to explain to people why I'm being so critical because it's generally not that I think the person is doing a bad job, but simply that I see ways they could do a better job and want to help. I am making more effort these days to start my criticism with genuine praise because I understand there is risk of demotivation if you come across as too critical. I try to do that here too... I think as a rule balancing critical comments with praise such that the criticism is representative is probably the right way to go about it.

As a community I also think this is likely a product of who we are. Techies are problem solvers, and to be good problem solvers we need to have a good eye for problems. I can only speak for myself, but I see problems everywhere, and that's not necessarily bad thing, but again I think you have to be self-aware that you're doing this and understand where to dial it back – which wasn't something I was always great at doing.

These days when I'm trying to enjoy myself I do my best to try shut that part of my brain off. My girlfriend used to comment how we could go to the nicest restaurants or have wonderful days together and all I could do is recall the negatives and how things could have been better. I realised this attitude bled into my friendships and relationships where despite having lovely friends and an amazing partner I would obsessively focus on the things I didn't like and couldn't help but be critical of them both in my own head and in conversation with them. Being self-aware of this has been a huge breakthrough in my life – it's really important to balance your critical thoughts with an appreciation of the good.

I think perhaps some people are also critical because being critical is often a way to look smarter and above something/someone. I don't know how common this is here, but it's something I've seen in people from time to time in my own life. Generally they are insecure people, but it is worth remembering that there are people out there who seem to just get a kick out of shitting on people – you have to be a little cautious about how you weight the comments of these types of people.

Not sure I've really answered your question, but it would be interesting if others relate to what I'm saying at all as I've always suspected this explains why this community is so critical.
A FOSS screen reader: 2 friends are helping change opportunities for blind folk
We've got no idea what the future of the software industry looks like given the steamroller of generative AI that is working on the fundamentals. Someone at the stage of their career where these are new ideas should be weighing up the strategic risks of being in software at all.

Half this stuff I would just bounce off ChatGPT in the design phase for an opinion. Especially selecting the most appropriate algorithm; it has read a lot more of arxiv.org than I have.
Surely you're not claiming that a game with fewer than 1000 reviews is "languishing"? Any indie game with 1000 reviews is very successful.

Picking your first example, Deadeye Deepfake Simulacrum has about 460 reviews, roughly 20,000 copies sold, an estimated revenue of about $120,000 while it's still in early access, and apparently a developer team size of 1. I'd guess that this game will net the developer several hundred thousand dollars over the next 10 years.

(Regarding multiplayer games: yes, these are a different case because they need to reach some critical mass to have a chance.)
I'm a native english speaker and the title, using "sound" on its own as a verb, made immediate sense to me - images that [make] sound.
Maybe it is but the last several years of periodic (and quite embarrassing) CVEs suggest otherwise.
I think this relatively short blogpost does an excellent job of answering your question:

https://mikelevins.github.io/posts/2020-12-18-repl-driven/
Yes, I am talking Rust enums and OCaml's enumerated data types.
The premise of "design patterns" tend to be tightly coupled with the design of the language you are in, and most things called design patterns are specifically things that make sense in Java.
The police have guns to protect themselves, not us.
> you were happy with over 20 years of war and all your government had to do was say "they hate us cuz we're free".

I honestly cannot tell whether you're a bot, troll, or a mentally sick person.

You have no idea who I am. You have zero ideas what I was happy or not with for the last 20 years. Writing a paragraph like this makes absolutely no fucking sense. I don't even understand what 20 years of war you're referring to?

The next commenter in a similar fashion accused me of working hard to prove something about Epstein.

You cannot just imagine random things about strangers on the internet and then believe in it.
And the cool second order effect of this, is that all the energy currently invested in this zero sum competition will be redirected into a plan B for kids that don't make the cut.

Which prompts all sorts of interesting ideas like, why don't we have more prestigious universities? Did we decide that there was only so much science that needed done? Or were we trying to put a protective moat round the children of the elites so they didn't need to compete? And then put all our energies into ensuring our kid scraped into the bottom rung of that protected elite and didn't end up on the scrap heap?
THIS, sadly. Though it'd be more accurate to re-phrase: 's/just don't want to do it/have other priorities, or are stuck in organizations with other priorities/'
Neuralink's First User Is 'Constantly Multitasking' with His Brain Implant
Ruby 4 will have real packages
At least C++ provides the tools to avoid this kind of problems, if one choses to do so, instead of insisting into C idioms.
Many of the “design patterns” are antipatterns in other languages than Java.
> LineageOS has their own implementation of gapps

Really? Every installation I've seen with Lineage is to flash microG or MindTheGapps separately

I've used lineage for a few years now with only Magisk as an extra zip (no gapps) and I have not seen any google activity.
The valuable part _is_ the vector search, at least from the perspective of the OP. It sounds like what they're after is to just pass back the source texts from the vector search, rather than passing them back through an LLM to be summarised.

I generally agree with the OP: in a search context I often don't want that last LLM summarisation step. I want embeddings generated from my search query for document lookup, and I want to see the original sources. Phind did (does?) something like this with citations, which is at least an improvement.
I get that we can't always do what we want in our jobs (and in some places quite rarely even). I get it fully and I sympathize.

But that still doesn't do C/C++ any favors. None of my Rust contracting work ever resulted in a buffer overflow.
In theory, in 50 years of practice, not really.
Alternative using SponsorBlock for podcasts on YouTube/Vimeo:

https://github.com/mxpv/podsync
Have learned a bit of bash but that's what has kept me going on always. There's no point in learning million little inconsistencies all of which aren't even documented anywhere like a MDN or MSDN if you will.
Ask HN: What does Org Mode or Neorg do better than Obsidian with J.S. plugins?
I read a bunch of comments comparing Org Mode to Markdown and editors like Obsidian but there are some points I want to discuss. A big benefit Emacs Org Mode seems to be the built in functionality for things like tasks and times, but that can be done in Obsidian with plugins like Dataview, for every other functionality Org Mode has like that can be done with an Obsidian plugin. I've also read a lot of comments that you can make your own Org Mode functionality using Elisp, Obsidian OTOH uses JS for plugins and code snippets, and I've written a handful of my own snippets. the JS library ecosystem is much larger.

I get that Emacs has been around for much longer and the [Lindy Effect](https://en.wikipedia.org/wiki/Lindy_effect) where things that have lasted a long time are likely to last for much longer, however there seems to be far less support for Org outside of Emacs (besides Neorg). OTOH there are many Markdown editors and libraries, so if I decide I want to switch from Obsidian then I could and my Markdown Notes would render fine. I have many notes and don't have much proprietary Markdown in them. What if I became heavily invested in Emacs but in the future felt like using another editor? Or the slim possibility of Emacs development eventually stopping? A lot of Org Mode functionality seems to be specific to Emacs / Emacs' environment (same thing Obsidian JS really). I read one comment saying that implementations outside of Emacs are half baked, like support for Vim motions and features outside of Vim and Neovim.

I've been spending lots of time setting up Neovim, and right now I'm thinking of using that with Obsidian for Markdown editing with Vim motions. But I want to know if Org Mode / Neorg would be worthwhile.
Agreed with this analysis. From a European who lived in the us my strong believe is that the US needs an electoral system that leads to coalitions. While far from perfect this is way better than the two party system that incentivizes the division in the public.
Both the cause and consequences of this need to be addressed, but the problems are twofold; one is that - of course - it's hidden, and most cases of abuse are never made public; in my personal experience (not me but my SO) it's the victim that doesn't want anyone else to know, and I'm confident that this is the case in many cases.

And the other part - the consequences - need to be addressed too. Many people I know are in a mental health program of sorts, myself included although that was mostly last year and nothing major. But a lot of people in their 30's finally have the awareness that something is not right, the time/means to pursue it, and the access to mental health, and get a lot of epiphanies on themselves - be it trauma, neurodiversity such as ADHD/ASD, etc. At least four adults I know have started on ADHD medication and have had an emotional moment where for the first times in their life their head emptied and they could think straight or not go through a dozen mood swings a day.

But we're in a mental health crisis; a lot of people grew up with "just suck it up", "deal with it", "there's others that have it worse", or "this is normal", but thanks to awareness, the internet, and reduced stigma to talk about mental health, there's a lot of people now who realize they need help, which is overloading the mental health systems. In my country there's at least a year long wait period for some of the most vulnerable people (teenagers), which is a big problem because teenagers are also more neuroplastic still, so they would benefit the most from mental health help compared to people in their 30's.

TL;DR, while the root causes from an older generation will be difficult to solve, I have high hopes for a younger generation that has more awareness and access to mental health problems and who can hopefully resolve their own issues growing up and not pass it on to the younger generation.

However, I'm also aware that the above is a very "western" point of view; there's plenty of situations worldwide, right now, that will result in generational trauma for decades to come yet. The people currently living in warzones, poverty, etc will never be the same again. "Our" generation is the children and grandchildren of people who lived through WW2, who themselves or whose parents lived through WW1 and the Great Depression, and this generational trauma is still very much affecting "us" today to lesser or greater degrees.
Is there anything "life changing" about it, or more like "out of my way" quality?
Single source of truth of opinions can be challenged and changed if one's arguments are good enough. The benefit is that it's easier to see the advantages and disadvantages for those opinions, because they're all in the same place.

This is in contrast to C++, where one organization creates a set of guidelines, another organization creates another set of guidelines. Valid arguments of critique in one organization are not seen in the other.

Single source of truth is also beneficial to compiler authors as well, because they get more feedback how the language is used and why.
It's not a big deal by I second that. I also thought, "let's see how they are making money out of this". I clicked on the github link and found out it's GPL 3.0, all of it, no open core or similar stuff.

Maybe a tiny note about it being open source could help.
Mikroe is still in business selling Pascal and Basic compilers for all kinds of tiny CPU and MCUs since 1997, so some people do value their products.
I wonder if the constraints of text-based user interfaces (TUIs) generally allow for higher information density.
MacOS has terrible window management by default. Having one window with multiple panes helps a lot.

You could use screen or tmux of course, but they have a more steep learning curve.
You can also use https://startpage.com a proxy for google.

Kinda like the DDG -> Bing, StartPage -> google type of deal.

It is with recommended by EFF. Seems like a good way to search google without giving up privacy.
Maybe I'm spoiled, but I expected a 3-D simulation.
Hard to evaluate your comment without knowing in what field your career is.
I don't know, my anecdotes would be from a private school in Europe where a family member is a teacher. They take plagiarism seriously, but also can expel students a lot easier than public schools can.
I didn't move here for the economy and I don't stay because of it either. In my case it's mostly family circumstances.
> And I've repeatedly debunked why the law in question is being applied incorrectly.

You should take up your case for why this is wrong with the lawyers who proof read the Report of the United Nations High Commissioner for Human Rights

> In any case, repeating something does not make it correct.

Indeed. This entire thread is repleat with comments by yourself repeating the claim that you have debunked this interpretation.

> You might not have a stance, but you seem to be affected by the "it's repeated often, so it must be true" thought process - you even defend it.

Read more carefully - I have stated an official position in an official report and referenced it.

This is exactly how we reported such things in the mineral intelligence and energy intelligence companies we launched and later sold on, one to Standard and Poor (of the S&P index).

> The laws are actually quite clear.

Indeed.

You can easily see how the UN Human Rights lawyers read and applied the convention in the case where an occupying country failed to contain their citizens, and went further to support them.

That is the inaction and the action of the state at fault.
You might be onto an interesting new view of the web here, if you've ever seen https://www.builtwith.com, something similar that also processes script tags and downweights based on what the script is would also add to this effect.

At the very least I'd be interested in looking at such a site and seeing how it differs from https://www.millionshort.com =)...
> Lack of function overloading.

Isn't there at least some technical basis for this (less-than-ideal interactions with type inference IIRC)?
Probably more traumatised, but talking about it was much more socially unacceptable (and even potentially dangerous; in many countries involuntary institutionalisation on extremely flimsy basis was very much a thing until the late 20th century, especially for women).

As with many things like this, getting hard numbers would be extremely difficult because it's the sort of thing where peoples' inclination to answer surveys honestly changes with social norms.
I would say until C++98, C++ used to be more opinated, one of the reasons many of us went with C++ when given the choice, wasn't OOP features, rather the security improvements over bare bones C, with compiler provider frameworks.

Then eventually C++ got invaded by C expatriates, and writing C with C++ compiler idioms increased instead of going away.

It is like giving Typescript to groups of folks that insist on using any all over the place.
This one looks much better, and it seems to better model the stickiness of the water (though maybe the scale is different).
iTerm2 does that with big releases, and the release note said it was 2 years of work. I recall seeing the same dialog when it added the Python scripting API along with other features.
With 4k most people use pre-made startup (crinkler, win32 minimal window, glSetup, audio often 4klang) and without the audio you are at something like 300-900 bytes(was a while ago since i last fiddled), then add the music (1kb-2kb or so) and then you know what you have to work with in terms of shader code (usually a single pixel-uber-shader for 1-2kb compressed)

Making them is for most more about reaching the upper limit in size and then tweaking until you're happy (more experienced people might have an budget idea from the get-go and might overshoot slightly with their idea and then cut).

64kb can (and often did in the 90s before Jizz and Stash, fr-08 was mostly an well produced evolution) include raw images,textures and samples, and raw data can still be an viable escape hatch today. The killer for 64kb is that you can spend almost infinite time on writing generators and other tools.
Hah yeah you're spot on - it's definitely not applicable to the modern day!
They're both accurate, in that people are talking about Europe, and the EU regulatory environment. Germany is more precise geographically.
Do you know the reason behind the increasing popularity of hiring demolition companies? Structural demolition, site clearance, salvage and recycling, and hazardous material removal are some essential services that reputable demolition companies offer. Experience and expertise, licensing and insurance, safety record and compliance, equipment and technology, and project management capabilities are the key factors to consider when hiring a demolition company. Professional demolition contractors have the required experience, equipment, and expertise to demolish structures and buildings. The scope of work of demolition contractors in San Jose is vast. Professionals can handle various projects, ranging from residential to industrial and commercial demolitions.
I'm no psychologist but I share the sentiment, a feeling of "this'll all end up in tears anyway". From the point of view of attachment theory, it may be related to avoidant attachment; don't get too attached to nice moments, accomplishments, good times because something will go wrong.

I'm fairly sure I'm in the avoidant quadrant; as to what caused it, I'm not entirely sure but the things that fit are that my mother was very ill when I was 3 (thrombosis, she spent a few days in ER), and that a friend who sort of "saved" me from being all alone at school just left one day (her parents moved), which re-emphasized my already present feeling of "shouldn't get too attached". The rest was probably self-inflicted, feelings of superiority / being more mature than the other kids, fear of rejection, etc. But it adds up and resulted in growing up awkward, immature, single, boring, etc. I'm 38 now and have been through some mental health stuff, but it's expensive (since it's not clinical) and ultimately pointless unless I throw my life around, become a more social person, and get a lot more reinforcement that I'm wrong and my cynicism is not justified. But instead I get reinforcement that I'm not wrong. To a point that becomes a self-fulfilling prophecy, but at the same time society is going through a loneliness crisis and focused on individuality, so... I'm not wrong?

Anyway; avoidant attachment theory, have a look.
I've never seen an ad on Windows, and mine came with the laptop - I believe that's because I disable all personalization features when first setting up my laptop. Anyway, the old school bar has been available as a built-in "feature" for probably around a year, you can select "Combine taskbar buttons and hide labels: Never" in the taskbar settings.