skysight-inc/HackerNews huggingface dataset:
I pretty much caught on when I heard that I should "enjoy being poor" if I didn't want the easy money of crypto. But then again, I started hearing about cryptocurrencies in my late 30s, so this cat has caught some battle scars even before that.

Those of is who have been around knew this was a scam from the early days, but the particular arrogance of the crypto bros really gave the game away.
Also, while they didn’t engage in the US/USSR mass nuke building competition, they have enough to at least ruin our weekend.
DR 109 allows that a program may be strictly conforming even if some possible executions of the program invoke UB:

> A conforming implementation must not fail to translate a strictly conforming program simply because some possible execution of that program would result in undefined behavior.

This text specifically allows for the case that a program is strictly conforming even if there is a possible execution that invokes UB. If a program is strictly conforming, it must produce the correct behavior.

I would challenge you to show an example where GCC or Clang will break the correctness of a program on account of UB that is not reached during program execution.

Here is an example where GCC and Clang specifically respects the correctness of a program as long as it does not reach the UB: https://godbolt.org/z/befWah77W
The trillion dollar answer is Personalized Advertising: your images trained on DreamBooth or similar and used to generate advertising of you and your associates (friends and family) using various products in a happy manner, or even using competitor products in an unhappy manner. Celebrities beside you stating how wise you are using said product, beer commercials with the latest sports heroes sharing drinks with you, and major release feature films with you appearing as an extra for at little as $1 more.

Yes, it is going to happen quickly. As long as the immature pornographers can be kept at bay. There is far more revenue in advertising than jerking off, porno morons.

FYI: I created a feature film quality actor replacement system aimed at Personalized Advertising over a decade ago with an earlier version of this generative AI technology. But investors (both VC and angels) could only see porn as a viable application, while I offered presentation after presentation of how Personalized Advertising is a holy grail of advertising revenues. Perhaps it will happen this time. Immaturity can only last so long, right? Maybe?
Agree. Not only C, but almost any other language
There are probably just more users of SwiftUI here than Flutter or Jetpack Compose (I think Apple in general is a bit over-represented on HN).
Code that represents UB doesn't have to be executed for the compiler to react to it.
Yeah though to be realistic if you're advanced enough to colonize over interstellar distances you probably don't even need a planet.
Redshift Turns 10: The Evolution of Amazon’s Cloud Data Warehouse
>"It has been shown that

super-resolution and demosaicing are two faces of the same problem

and it is reasonable to address them in a unified context.[10] Note that both these problems face the aliasing issue. Therefore, especially in the case of video (multi-frame) reconstruction, a joint super-resolution and demosaicing approach provides the optimal solution."
Over the weekend, I converted an app from JS + Create React App to Typescript + Parcel v2.

The typescript tooling was extremely simple to setup with only a few added packages... until I had to setup eslint. That's when I had to install a half dozen plugins, adapters, parsers, etc like you said.

Granted, the linked eslint rewrite seems to have plans to make the typescript linting tooling simpler. However, I might end up switching to Rome in the meantime just for simpler dependency management.
They’re all about improving dev experience, and after all, there’s a large dev audience here wanting to write less and produce more.
Yeah, I'd say that the network stack on Windows is not an example of a non-Unix design. And there are other bits and pieces here and there that show some Unix influence (like the hierarchical filesystem). But on the whole, one can clearly see that Windows comes from a different heritage.
Would that also be the case if it was on private land? If my hypothetical private island had a few acres added to it from an eruption (can you even buy an active volcano?) , would it still be owned by the state?
Despite the appearance (the printf says i=62183), the compiler is not removing the check i < 512. That's clear from the decompiled code.

What actually happens is that 50000000*511 is 0x5F2E60F80, which is -219803776 when truncated to 32-bits and treated as signed. At the C abstract machine level this was UB, but at assembly level this is the value that is stored in the register and used for subsequent computations.

The compiler then says "this must be positive because I had already checked 50000000 and it was". So it only performs a signed check -219803776 < 512*511, which passes.

It's only inside the "if" that the code divides -219803776 by 65535. One could plausibly expect the result to be -3353, but the compiler decides to use an unsigned divide (again, it can do so because the input "must" be less than 2^31) and therefore it returns 61283.

But the test that's being removed is i>=0, not i<512.
I do enjoy that there's a big overlap between people who complain that all the dynamic range has gone out of music (the "loudness wars") and people who complain that there's too much dynamic range in TV and movie audio :)

No dig at you, I'm exactly the same. It makes some sense - outside of a conductor introducing the 1812 overture I can't think of a musical scenario that needs to cover everything from a whisper to an actual explosion - but it's still amusing.
Why would anyone *prefer* reading on Twitter? Of all the crazy ideas I’ve seen on the internet, this may be the craziest of them all: that someone enjoys Twitter’s UI for long-form content.
unfortunately for you, gcc and clang disagree with you.
If both statements are true then that mean that women are choosing to not go into sales jobs despite being offered higher wages than men.

This should lead us to ask the two following questions. A) Why are men choosing to go into sales if they are offered less than women for the same work? B) Are there other intrinsic values that sale jobs include or is not included that influence the job decision?
If you're acknowledging a newspaper as a potential source of truth, you're no longer acknowledging the government as the sole source.
‘ You can’t extend structs or do anything really OO-like, but it’s a useful pattern to think with’

That’s not quite true. If you define 2 structs so that they start the same (eg: both with “int x; int y” in your example), pointers can be passed to functions with either struct type. You can use this to add fields (eg: int z) to structures, and extend a 2d vector into a 3d one…

With a bit of creative thought, and constructive use of pointer-to-functions, you can do quite a bit of OOP stuff in C.
It seems 2020-2022 was boom for tech industry. Now the rate is going backing to pre-2020 which shows it was already in decline! That is quite surprising.
> how hard could it be?

The programmer's Credo:

We do this, not because it is easy, but because we thought it would be easy.

> These damn animations man.. they're so fluid and springy and easy to use in SwiftUI, that it lures you into adding them everywhere.

That's the case with many UI frameworks. Built-in animations are a big draw. For myself, I eschew frameworks, so I have to write the animations by hand. It's a fair bit of work, but they are all supported in UIKit/WatchKit/AppKit.

Looks like the performance bottlenecks are from deep recursion. That's probably something that might be code-around-able. UIKit doesn't have as deep a recursion, but it has many other default behaviors that can result in slow performance, and a lot of my "tuning" is about finding these, and determining more optimal code solutions (like redrawing, as opposed to triggering new layouts, etc.; which isn't as easy as you might think. Sometimes, setting a variable in an instance can trigger a new layout).

I think that the idea of "code once, deploy everywhere," which SwiftUI promises, is pretty much a smoke seller's[0] dream. It's a classic. C was supposed to do that. Java was supposed to do that, etc.

I have found that I really need to write native for each platform, because the user experience is so different, that it's actually impossible to really cater to it, without delivering some lowest-common-denominator-something-just-doesn't-feel-right solution.

So, even if I was using SwiftUI, I'd still release an iOS version, a Watch version, a Mac version, etc., with specializations for each.

The thing that I like about the idea of SwiftUI (I haven't used it to create a shipping product, yet, so I don't have much more authority to declaim, than as an interested bystander), is that it allows great flexibility in the software development methodology.

If I write AppKit/UIKit/WatchKit, it really should be MVC, and not just MVC, but NSObject-based MVC. I know, I know, "But what about MVVM?". I feel that MVVM is an excellent model, but that it is not how these frameworks were designed, so they need to be sort of "kludged" to support it. I work in MVC, because they are totally meant for that model.

I'm looking forward to seeing how SwiftUI evolves, but I have yet to be convinced that it is a viable model for me to write shipping software.

It's really no hurry. Lots of major shops still write a lot of their stuff in ObjC/UIKt/AppKit/WatchKit (including Apple). It will be a number of years before we're required to use SwiftUI.

[0] https://www.tell-a-tale.com/nasreddin-hodja-story-smoke-sell...
I would separate your post into two things: One is the idea that declarative interfaces can be faster, and the other is that Apple is dedicated to fast interfaces.

The former, as you are seeing from several other posters, is not a new thing, and is in my opinion a history of continual and significant failure. It is so consistent that I now have an almost visceral revulsion to people singing me the song about how wonderful "declarative" can be, which is sort of ironic because they intend the opposite. Calling something "declarative" is one of the strongest signals that a technology is going to be a pain in the ass to use. (In fact I'm sitting here racking my brains for a stronger one and I'm not sure I can come up with one. "Enterprise-ready" perhaps? Maybe "Hosted by the Apache project", which often indicates a quality project but one that is definitely going to be a real pain.)

The real reason this will go fast is that Apple is prioritizing speed.

I also was concerned about your comment above "developers mostly express the "how" – put this control at these coordinates etc." So far as I know, that is a strawman; no modern UI toolkit works that way. The web has had a major influence on them and every major toolkit has a more web-like layout available (and I am collapsing history here for simplicity, I am aware that relative layouts were available before the web, but the web definitely made them all step it up another notch, further consolidated by interface diversity between touch & mouse & screen sizes). If anyone using a major modern toolkit is dropping text at a particular coordinate, that's on them using the toolkit incorrectly, the toolkit has long since stopped forcing that.

What the toolkit needs in order to do what you're talking about is basically the DOM for the thing it is displaying right now (for whatever the toolkit calls that concept). It is not particularly a problem for the toolkit if that DOM is built by imperative code or by some 'declaration'. It probably will end up supporting both anyhow, because how the DOM tree gets built isn't the important part. Basically identically to how a browser functions, it doesn't matter to the browser (as a UI renderer) whether the DOM it is working with was built "imperatively" or "declaratively" or "reactively" or "purely functionally" or anything else; the DOM has what the browser UI needs to render quickly, and to the extent it has troubles rendering quickly, the solution is more information in the DOM for the browser to chew on and use in its decisions, not a rewrite in how the DOM is generated. Declarativeness is entirely irrelevant here, in some sense because regardless of how you get there, the DOM-equivalent is already by its nature guaranteed to be "declarative".
For some definition of bloated, maybe. Our codebase at work has I think 15-20 crates in our workspace, powering two independent applications and three dev-tooling-related binaries. All of this provides the main functionality for our business.

We have fewer than 500 Rust dependencies in our Cargo lockfile, including dev dependencies.

Meanwhile, our relatively simple react frontend and graphql server written in TS have over 20k dependencies. It’s truly a different order of magnitude.
I know a few mainframe folks. I don't think there's a single answer, but there are definitely a few inhibiting factors.

* The documentation for mainframe stuff is incredibly comprehensive compared to what most people are used to, so there's less need for something like Sewer Overflow.

* The code people are working on is likely to be proprietary, so no GitHub.

* Mainframes are often used in security-conscious environments where "openness" is not a core value and might even be considered negative.

* People working in that area might like being part of a relatively closed community (lower supply = better pay) so they don't advertise.

And then there's just critical mass. Since there aren't already a lot of mainframe programmers Out There, and mainframe programmers' work has few technical "touch points" with the rest of the world (e.g. different languages, libraries), it almost makes more sense to flip the question around.

Why would there be more info on the web about IBM mainframe programming?
Ketamine is one of the most widely used emergency anesthetic for humans and has been approved for that use for decades. Ketamine use as an anti-depressant has been approved by the FDA for 3 years now. It is also part of the WHO list of essential medicines.
Plausible deniability. People will use any excuse to free themselves from accountability.

Privacy, adverts, morality, monopoly and all the hand waving is just for show. They are valid concerns but you'll hear a lot of it as a veil for "me want free stuff".
It's been remarkable how people have gone from "the press were far too credulous towards US government statements" to "I will get my news from Russia Today (or any number of even less credible places)".

But yes, there was heavy pressure to conform to a narrative. People were sacked or threatened in the name of "balance" against the "too liberal" anti-war argument. https://en.m.wikipedia.org/wiki/Phil_Donahue#MSNBC_program

I don't really know what the solution is. There are plenty of sources, media and individuals, who can be quickly written off as propaganda, nonsense, or chronic liars. But that can leave you with the more respectable media simply omitting stuff they don't like; they never have to lie about anything, just not mention it.
I don't understand human-query-engine. The link to it in the <https://github.com/samsquire/wants> README is also broken.
1. It was the stuff for export (I'm not based in the Netherlands)

2. My anecdotal evidence is restricted only to the farms I visited which in my opinion tend to represent the typical/average medium to large scale farms catering to the usual meat suppliers you'll find in local supermarket or big butcher/meat chains regardless of country.
I thought this was going to be an actually useful post about the details of UB, when it happens, and what it generally looks like, but instead it's just more of the same often repeated "if you write a program with UB your compiler will literally summon dragons and wipe your hard drive and kill you in your sleep."

The truth is that practice diverges from theory, and, in practice, it is actually useful to talk about UB as a thing that happens and not as some mystical aura the compiler can sense or not. Leading to, in practice, almost all of these points being, if not flat-out wrong, at least unhelpful or misleading to the average programmer. For example:

> 14. Okay, but if the line with UB is unreachable (dead) code, then it's as if the UB wasn't there.[1]

The linked post ([1]) doesn't even showcase this phenomenon, it shows something completely different, where ignoring a 3 transmuted into a bool causes more UB. The problem was that you already had UB to begin with when transmuting a 3 into a bool. I want to see a godbolt output where the claimed:

if (false) {
run_ub();
}

actually causes problems.

> 28. At least it won't completely wipe the drive.[2]

This is just unhelpful for anyone trying to learn more about UB. UB can call parts of your code that would otherwise be dead, which is a useful piece of information to know. And if you literally write "rm -rf /" in these dead sections, then yeah, I guess UB is technically wiping your drive, but stating it like that just gets in the way of anyone trying to learn more about UB and just perpetrates this unhelpful theory that UB can literally do anything it wants, such as...

> 30. At least it won't start playing Doom if the program didn't already have the Doom source code in it.

Really?

> 31-32. If a UB-containing program "worked fine" previously, recompiling the program without any code changes will still produce a binary that "works fine." Recompiling without code changes and with the same compiler and flags will produce a binary that still "works fine." Recompiling as above + on the same machine will produce a binary that still "works fine."

In practice, compilers are generally deterministic. I see no reason this should be the case. Don't link me a sadistic compiler that randomizes code output.

Finally,

> The moment your program contains UB, all bets are off.

is blatantly untrue. All guarantees are off, but I can bet what most programs with UB do, and it is still useful to be able to reason about what programs with UB do. For example, I can tell you what:

int main(int argc, char \*argv) {
int *p = NULL;
*p = 4;
}

does on O0 on my machine, and most linux machines, despite the fact that it is untrue for "Any kind of reasonable or unreasonable behavior happening with any consistency or any guarantee of any sort."

You guys are engineers right? Software engineers? Why don't you do what all engineers are supposed to do and that is use experience and intuition to know when theory applies in practice, and when it doesn't?

[1]: https://www.ralfj.de/blog/2020/07/15/unused-data.html

[2]: https://kristerw.blogspot.com/2017/09/why-undefined-behavior...
What I find hard to believe here is that the Chinese government seems very capable of locking down people (i.e. more or less forcing them to stay inside, with patrols and mandatory tests etc.) but somehow they are unable to force those same people to get vaccinated?
1. Google doesn't want you to program for mainframes. Google wants you to program for the cloud.

2. developerworks site on IBM had some info on mainframes and mainframe programming.

3. It is not "cool".
Can you game core allocation on Apple Silicon?
> Perhaps they know the risks of COVID and correctly weighed them to the risk of the shot

Are you implying you think the known risks today of taking the Pfizer vaccine are equal or higher than that of catching COVID?
Interesting. You mean you use double-entry bookkeeping instead of a database? or mixed with it?
Flowlife Massage Pillow
Ketamine is on the World Health Organization's list of essential medicines and is a primary anesthetic for infants, geriatric patients, and large areas of the developing world where access to general anesthetics is limited. It's also the field anesthetic of choice for situations where a patient has unknown allergens or is uncommunicative -- in the United States it's a standard issue medication for ambulances.

But, please continue with your misinformed and unfunny meme...
Flooded with lava? The flow is that fast? Wow
A Peek Inside the FBI’s Unprecedented January 6 Geofence Dragnet
Have you seen: https://www.ibm.com/docs/en/zos-basic-skills

I've no knowledge of IBM mainframes - but I assume they're sold as part of a large consultancy/training package.
I guess my month-long moratorium on bothering to contribute to any Fediverse-related conversation on HN needs to be maintained for a bit longer. Change is painful for many, particularly when they didn't think of it, or can't profit from it.
Looks like he owns 98% of it, with the remaining 2% owned by the state, or by the few thousand inhabitants of the island. The 98% was already privately owned (pineapple plantation), he just bought that.
Speak to any common ideologue, be it religious, political, or some flavor oriented upon the latest health hullabaloo. Their arguments are invariably authoritarian.

Empiricism, science... they aren't really a tool in your average person's epistemological toolbox. The 99% is as boneheadedly authoritarian today as it was 1000 years ago
Related very cool project: https://www.evilmadscientist.com/2022/open-circuits-out/
We have the top agri/bio university in the world here too which I assume is a massive plus and an area which is basically Silicon Valley for agri/bio tech (where I live).
Trying to save face. The number 1 priority of the CCP is staying in power and they can't afford to lose even a tiny bit of face by admitting that their chosen Covid strategy is a failure. So they truck on to the bitter end.
Actually, Rust-based implementations are mentioned under Goals, item 6.

It looks like ESLint wants to compete with all Rome can do.
>basically the vaccines only present one antigen whereas in natural infection there are multiple antigens. Once the immune system learns one it generally doesn’t learn more on the next exposure (actual infection)

Surprising, it looks like this isn't really a problem. The immune system manages to adapt to handle a greater variety of strains, if you give it long time between boosters/exposures, so memory B cells can mature.

https://www.nature.com/articles/d41586-022-03119-3
Surely for a manager in tech, it wouldn't be too difficult to use "3eff1a" where they used "#2345".

> How do we link to these issues

The same way we link to commits today? As in, we don't - not in the tool itself. The critical part is that such managers will want a nice web interface, not a command line tool. That's the porcelain I mentioned.
Is there a similar article but to Rust?
Employer Pre- Hire Communities
Tesla readies revamped Model 3 with project 'Highland'
>Github isn't really the issue here

>requests are redirected to the discussion forums first

The fact you're having to hack the forum into a feature request tracker seems like an issue with github?
Seems about as dumb as the propaganda we buy, if it were put through a Google Translate.
This is all fine and dandy, but UBSan and ASan are memory hogs that just won't fit in my single digit MB microcontroller.

So the only way to run them is too use an emulator, and that means I cannot sanitize drivers.
It is not a semantic problem. "Issue" was an very broad term far before it was used in software development / project management. It's meaning easily encompasses far more than just bug reports. This is why we have labels to break issues down into other categories. Some issues are purely discussion topics, some are change requests, some are bug reports. You seem to be trying to restrict the meaning of 'issue' in a way that matches neither current usage, nor historical usage.
Irish regulator fines Facebook 265M euros over privacy breach