skysight-inc/HackerNews huggingface dataset:
> Do you want to have signed integer overflow not be undefined behavior? Sorry, you can't do that in C.

If you write a compiler that targets C, you can have that. ‘Just’ generate code that avoids it. If you want it to wrap around, for example, generate something like this (I’m not 100% sure it’s right)):

int sum = (int)((unsigned int) a + (unsigned int) b);

instead of

int sum = à + b;

If you want that to trap on overflow, the code gets more convoluted (see e.g. https://codereview.stackexchange.com/a/37178 for what’s needed to detect overflow)

Packed structures and unaligned data similarly can be supported by generating C code that manipulates char arrays instead of C structs.

I wouldn’t count on having any C compiler generate efficient code for it, though.

That applies to most of the other features, too. You can have garbage collection, exception handling and coroutines, for example, but if you generate C code implementing it, chances are zero that the C compiler turns that into efficient code.
This is just part of Bin Laden's files, seized during the Abbottabad raid.

https://www.cia.gov/library/abbottabad-compound/index.html
Most of the news, images, and video originates from Telegram. Even if you don't want an account you can view channels without logging in... For example: https://t.me/s/pilotblog, but there are usually t.me watermarks on videos so you can find plenty of others.
Adding on to what other user said, Readwise has GPT summary option for every article, inbuilt natural language narrator, support for epub files, and lot more. You can also save individual highlights and notes with each save. They also have very responsive developers and a very handy newsletter they send to users to keep them apprised of what is happening behind the scenes. Not to mention a brilliant iOS app.
We agree that Lula is awful.

In regard to the guy who preceded him, and his comparative awfulness - perhaps not so much.

Either way - yours is an amazing and beautiful country.

I really hope things work out there somehow, moving forward.
It's just a method definition using a globally defined symbol instead of your own method name which may clash with existing "dispose" implementations.

Agreed it's a little weird if you haven't been using variables as method names before though.
A net boon says nothing about who are the winners and losers.

If I steal 100K from you and turn it into 110K for me, that is a net gain. However, you might not find it very favorable.
Well I guess we’ll work out two things very quickly:

1. Is it worthwhile giving free labour to these services by generating their content,

and,

2. Do we want to login and/or pay to check user generated content?

Personally, I think the answer will be no. If these services generated their own content, which we actually value, then it would be a different matter. But they don’t, so if they put up road blocks I suspect they will get a bit of a shock to learn they aren’t actually as vital to society as they thought they were.
> If the police didn't rush over in full SWAT gear, ready to save the lives of children, they'd be the ones liable for not taking a clear imminent threat to life seriously.

Q: Are the police required to protect you as a specific individual in the United States?

A: No, the police are not required to protect you as an individual in the United States.

https://en.m.wikipedia.org/wiki/Warren_v._District_of_Columb...

https://en.m.wikipedia.org/wiki/Town_of_Castle_Rock_v._Gonza...

https://en.m.wikipedia.org/wiki/DeShaney_v._Winnebago_County

https://en.m.wikipedia.org/wiki/Maksim_Gelman_stabbing_spree...

And just yesterday the coward that hid outside Parkland High while a mass murder occurred was acquitted: https://www.aljazeera.com/amp/news/2023/6/29/us-officer-foun...

re: Your edit changing ‘liability’ to ‘being berated in the media’

George Floyd was murdered by cops in my city 3 years ago and the entire world heard his name.
But is that because of the excellent WLB and pay or because of the social impact?
Uggh. I only use twitter to follow critical (life-and-death) emergency broadcasts from our local fire department.

Is there a viable alternative for them to use now that twitter is going to block most of our county’s residents?
Never experienced this on modern Xbox controllers, but I did get it significantly on N64. Seems like it should be fixed if they use hall sensors or encoders but I haven’t actually looked inside one.
This will lead to the post-ad captcha. "To continue watching the video, select which product was being advertised"
I tried it but I just can't get into the flow of things, it doesn't feel like a lot happens during the day, but maybe i'm on the wrong server? I just want to expel my bowels and doom scroll bad funny memes
hah I didn't realize that! Though I can see why that makes sense. I edited the above to strikeout liable and changed it to "berated in the media"
(Reporting back) PayPal has now fixed this issue.
So just to be clear this is a Magic the Gathering and LOTR marketing campaign we are talking about here?
I think the issue isn't necessarily the existence of SWAT, but the over use of SWAT. SWAT makes sense if its LAPD going in to do a raid on a big cartel event. In a real scenario when you are also going to be confronting a large group armed to the teeth. Outside of that, eh, why is SWAT being used so much for things that really just need 1 or 2 officers with stock equipment?
> All the electronics of the Liberty Phone are made in our USA facility, and the entire phone is assembled at that same facility, [...] By doing all electronics fabrication, assembly, and fulfillment within the same facility Purism can oversee each stage of the production.

Reading this I just imagine a ASML machine, fabricating the wavers for their SoC, next to a photochemical vacuum bonding machine making the OLED screens. Absurd nonsense, I would be very surprised if they even have pick and place machines in their US factory, some hot glue guns at best.
> Why the hell are government agencies using Twitter/Facebook for official communication in the first place?

It's the responsibility of the government to make information available where the citizens are. As the citizens moved from radio and TV to social media, the government followed.
The only one lacking reading comprehension here are you, if you want to go down the path of personal insults.

"Verbal statements" and "in the general direction" is an unconvincing attempt to turn history on its head.

Many things were said as the USSR was falling apart, but no-one from the Soviet side has ever elevated them to the level of an agreement that countries should abide by. Hence why Russia didn't protest when former Warsaw Pact countries joined NATO.

The narrative appeared 17 years later when Putin started looking for ways to isolate Georgia prior to invasion.
Be worried about what’s going on at Turner Classic Movies
I'm glad to see them get more powerful but I think MMO on a handheld is probably the last thing these are targeting. Being a portable device with somewhat limited input and screen space compared to a normal computer offline single player games are a good fit but online games with tons of inputs and things on screen seem a bad match even in ideal concept.
> This version of the Internet is starting to suck. :(

The internet is fine. The highly centralized businesses that built themselves on the technology are meeting their inevitable end.
So this seems like it's exactly the same as the Librem 5 but renamed, a different eMMC chip and a different RAM chip?
I agree that "tiers vs. continuum" has no bearing on the question of whether or not Magic: The Gathering is pay-to-win. I was merely pointing out that what tedunangst was describing was a continuum, not tiers.

Obviously, I'm not articulating my perspective very persuasively. Here's some additional flavor that might help (probably won't:)

1. In Magic: The Gathering, the most expensive deck is not always (or even ever, really) the best.

2. Is Golf pay-to-win? I can spend more on a set of clubs that have bigger sweet spots & will give me more distance with the same swing than my opponent's set.

3. The term "pay-to-win" comes from free-to-play MMOs.

I think most people that claim MTG is pay-to-win are just frustrated by how expensive it is. I agree. Don't play it!
What this needs is some way to randomly select tokens from a (self-hosted) token dispenser. The dispenser can be fed fresh tokens through token donation from all those who claimed to have left and/or are planning to leave Twitter, that should provide enough tokens for the forthcoming decade.
https://github.com/Rezmason/matrix/

Then you'll love this project. The Holographic demo supports the Looking Glass display and I'm pretty sure natively supports the Kinect Azure but also works with a webcam.
Not sure where you get your info, but github definitely isn't blocked. And there is a amazon.cn, just no one uses that crap.
Yep, you can with GOGC=off but then I would have to learn about how to generate less garbage in Go for long running processes. Which is good knowledge even for non-trading applications. I just didn't have the energy and time to try it.
Agreed, but this is in large part a function of how things are enforced. The lack of real accountability (especially at the executive level) related to the spirit of the law/regulations is how these things just turn into box ticking exercises.
Chrome runs on Mac and supports installable PWAs into /Applications/, doesn't it? No Electron involved.
Same, but I've had this issue on desktop (Chromium and Firefox) for weeks now. I think it's some misapplied filtering rule or something, since before this recent account change I could still see Twitter on my mobile browser, without redirects.
While I mostly agree with you , doesn’t AlphaGo does have problems with complexity which is how it was beaten quite easily in recent times ?
I wonder if he considers Nitter "data pillaging"
Reminder that the SoC in this is 2,368 days old: https://en.wikipedia.org/wiki/I.MX#i.MX_8M
The main downside of targeting C instead of llvm is that C is slower to parse and validate than llvm IR.

Another downside of C is that to use C as a backend well, you’ll have to rely on nonstandard compiler flags like -fwrapv and -fno-strict-aliasing (among others). I don’t think this is actually a downside of C, since support for those flags (or their equivalents) is widespread.

Another downside of C is that there will be a few intrinsics or other weird features you won’t get. But it’s not clear to me that those make enough of a difference to matter.

You could argue that a downside of C is that you won’t be able to easily add debugging support that way. But llvm’s support for debug info is so bad (it’s hella inaccurate) that I’m not sure this is a real downside of C.

A major upside of C is that there are more diverse backends for C than for llvm IR.

Another major advantage of C is that with a modicum of care you can make your backend produce readable and hackable C code. This speeds up the debugging process greatly. (And by debugging I mean debugging your language implementation, not users of your implementation debugging their programs.)

So, if I was implementing an AOT language today, my first cut would be a C backend and my second cut would be a custom backend. So, I would do what Zig is doing.
Quarteryly capital driven treadmill of hoseshit web and mobile apps promoted with keynotes describing them like they are the polio vaccine.
Are you familiar with [Symbol.iterator]()? It's doing the same thing.

{[someValue]: ...} is a pattern used when initializing computed keys on objects [1]. Some people might not encounter it often, though.

Symbol.* is sometimes used to implement language-level methods, like Symbol.dispose here or Symbol.iterator in my example below [2]. JS knows what those are for, and has well-defined and documented ways of using them.

I think — and I'm willing to be wrong — it's a pretty useful convention once it clicks, and while it might be confusing at first, I've come to like it. In the iterator example, you can see how you can create a dynamic data structure from a POJO (generating 52 cards from only the suits and ranks of a deck, and being able to treat it like an array). It's a useful way to encapsulate data and logic about a collection of data. When combined with generators, this pattern is extremely powerful. But again, this is why some people might not encounter it often.

1. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

2. https://codesandbox.io/s/keen-swartz-7yrls3?file=/src/index....
You can make GC languages work for HFT if you do zero allocation code.

There are places that use Java and just preallocate all the memory they need at startup. Jane Street famously uses OCAML
the loaded words "freeloader" and to a lesser extent "copycats" .. misses an important aspect of the real lifecycle of GNU/Linux software.. maybe you have heard of a book about tech markets called "crossing the chasm".. one part of that book says that there are easily four layers to participation and customers with tech in some markets.. you can imagine those four yourself because there is more than one valid diagram, but basically developers and their employment or income is innermost, their immediate dependancies for inputs, and their most rabid consumers are second, most customers and business relations of varying flavors third, and then "the Chasm" .. a catchy term to say that getting to those outside the regular channels, is very challenging.

So in the RedHat so-called "copycat" case, the immediate downstream fill an important role in getting to the fourth+ layer.. there are more informal, unexpected, temporary or otherwise oddball cases than anyone can imagine. So in a growing and evolving network, the full, paid product from the original brand name source is aided and abetted by these immediate downstream distros. Thats not the same as simply counterfeit on black markets. Neither is it low effort, since these two distros Alma and Rocky, show long-term commitment and good skill levels. Those are valuable growth themselves.

What this squeezeplay on the copycats does is remove growth at the edges for lots of people, and consolidate revenue in the center, at RedHat. This is common knowledge among MBAs, and they do it all the time.
No no, you don't understand, the war was started by Poland! They attacked Germany in the Gleiwitz incident, you have to get unbiased news from both sides to properly assess the situation and stay truly neutral and enlightened.
Yeah, I laughed when I read that.

If antidepressants are known for anything, it’s the side effects. It seems people must still go through these before psychedelics, what a shame. Hopefully this will change over time. We need more data, but I have a feeling there will be fewer side effects compared to current treatments.
Well IIRC it’s a 6 week release cycle and has been consistent with that for a while.
Meanwhile Microsoft refuses to implement TLS 1.3 in their CDNs so that HTTPS-VPNs can’t be blended in with other Microsoft traffic.

“You should…” from any large corporation translates in my mind to “…because we certainly won’t.”
Is it a shortage of housing, or a shortage of housing clustered around the handful of cities an unsustainable number of people flock to?
As someone who’s been consuming a lot on Twitter and Reddit, can you recommend a decent set of telegram channels that I could follow to stay up to date?
I pretty much only like Reddit for niche communities and fighting shit google results.

The latter is a necessity but for the former there’s other communities to satiate my needs. It’s just that it’s a bit of a fragmented way of diving into my interests.

Is there such a thing as a forum aggregator?
Haven’t we been predicting twitter’s degradation for some time? When Musk removed half of his employees many of us realised systems would remain running for some time, but at a certain point they would start degrading without intervention.

The more Musk makes changes, the faster it degrades.
The author or other doomers always assume AI will become conscious, we know zero about the mechanics of consciousness, we think we know, but if you cannot recreate it, you don’t know it.

The authors or doomers thinking is classic human selfish behaviour. It needs to preserve itself, they get scared like kids scared of “monsters” and avoid them as instinct. If we are to progress faster we need to move past these lines of thinking
That is why some democracies force broadcasters to allow all political candidates in an election to get their message through.

So the minimum would be to not permit YouTube deleting election propaganda.
Couldn't agree more. I regularly cease business with sites that require a captcha and I usually try and email them to tell them why. I have only ever had lame excuses for why they have to. The absolute worst is when it's immediately before asking you to put your credit card info in. Even the worst designer must realize how bad an idea it is to add offensive friction at this point - although I'd expect that most people are such sheep they don't even question it.
It's nice to hear, in principle.

Also expensive.

The requirement that, for the entire (up to 8-10 hour) duration of the trip, a suitably qualified therapist be on hand, must dictate that each non-trivial dosage under this regime will have a ticket price of several thousand dollars per-time.

It's one of the catch-22s in medicine. That a poor person on the street can have the same experience for $50 as a rich person has for $5000, with the difference in cost being the literal $4950 more of specialists and testers and monitors and side experts that the rich person is paying for. For reasons, yes, but that doesn't change the numbers, the fact that for every one of the latter there are 10 of the former.
one's first experience of raclette will have one double checking one's own armpits
>if HN was to go down, only logged-in Twitter users would be able to see why

That's probably close to 99% of HN users
Async is badly needed in systems programming, more so than at the application level: handling events in embedded/low level components is incredibly tedious without it.
I personally think this would be a hard reality for people to accept.
There are dozens of us! I'd be open to a chat channel or something.
Both C and llvm have been used as backends for other language implementations so it makes sense to compare them for that use case.
So? Neither am I.
PWAs will suck less on macOS Sonoma and iOS 17 [1].

[1]: “What’s new in web apps”— https://developer.apple.com/wwdc23/10120
I wonder if we'll just start seeing people sharing accounts, and growing the (currently mostly underground) ecosystem around that.

There will probably also be tons more abandoned accounts halfway through the registration process, as the last time I remember trying to register one, I was asked to provide a phone number and noped out immediately.
Then you'd protect youtube by pitting creators vs viewers and giving creators incentive to decrease youtube's income.. the total effect of this might not be so great.
> They have to treat every situation as violent. On average, every American owns a gun. There is no encounter with the police that doesn't run a genuine risk of becoming deadly in seconds.

No they don’t, the vast majority (99%?) of police interactions with the public are non-violent. I spoke with a cop in my city who told me that was at a new officer training where 13 out of 15 training scenarios were ‘violent encounters’. The man was a career officer with 25+ years and he said almost every interaction he has with the public is non-violent, and that training cops to expect every encounter to go sideways is creating expectations that don’t match reality. Violent encounters happen, but cops are trained like every interaction is going to turn violent.

Re: on average every American owns a gun

Something like 50% of the guns are owned by 3% of Americans or some ridiculous number. Roughly 1 in 3 adult Americans own guns.

Personally I agree with you that we would be better off without having more guns than people in this country, but reality is reality.
I remember them being both around the same time. Was looking like we were on the verge of some absurd tech dystopia. Which was partially true, but it wasn't as weird as always on kinect and the mcdonalds patent.
You could legislate that if you wanted to.
If groups have responsibility as you say, then Blacks as a group would have tremendous culpability for excess ratio of interracial murder committed by that group.

That of course, is a racist idea, because it assigns group responsibility to the murders committed by individuals.
As a contributor to that project: with great difficulty. There are so many unfixed bugs and horrible workarounds and it will never generate good or even standards-compliant code. C and LLVM IR are both monsters with hundreds of subtle traps for the unwary, but at least C to LLVM IR is a well-trodden path with a friendly gradient. The reverse is an uphill struggle against entropy.
That’s not his “stance” on vaccines. That may have been an off-hand comment he made somewhere, but his stance which he reiterates over and over is that vaccines should be safety tested. Totally sensible policy that seems like it should be already in place.

Your comment proves my point, though. He can clarify until he’s blue in the face, and people will ignore that and remember the zany things that have been attributed to him, even if he never said them.
Exactly... the initial foothold was a joke. And the bottom line is that important management folks were warned about serious issues many times.
Eh people do pay pretty close to $2k US for those phones with the stupid super fragile and gimmicky folding screens.

No idea why.
Currently the only email with human support is: press@twitter.com
A terrible justification indeed. It moved the bar of responsibility to the impacts of your actions, to the impacts of your inaction.
Google Reader didn't die, it was murdered, ruthlessly, in its prime.

I still miss it.
Most English-language content about the Ukranian war is slanted in favor of Ukraine. This is partially because of the relevant military alliances (Europe and the USA support Ukraine) but much more because Russians are the aggressor here. War isn't clean or simple, but there are clearly good and bad guys in this one. The Russian justifications for the war are 100% pretextual and invalid, just like they were in 2014.

I'm not sure why anyone wants "neutrality" to mean 50/50 airtime, instead of attempting to present the best available picture of the world, even if it's not favorable to one side.
> Good products hardly ever take out on their own

The direct reason for this is the existence of advertisement. In a ideal (also pretty much only theoretical) world where there are no ads, only honest reviewers and comparison sites, bad products would fall pretty quickly, planned obsolesce would be suicide etc etc.
Yes, I was going back to Twitter for some days to follow updates on the Prigozhin road trip last week. But the quality of the news had noticeably deteriorated compared to the past, as Twitter's algorithm now promotes blue checks above everything else, so you now get updates from such notable experts on the Ukraine (as well as, I bet, many other topics) as David Sacks, Mario Nawfal, and Kim Dotcom.
Does it work synchronously or asynchronously? For example, if you integrate WebSockets then you could act as soon as you get new data. If it works synchronously then you regularly request data (say, every second) and then act.

If you process many positions and then choose top 5 candidates then do you choose one of them for buying or you can allocate resources between them (depending on some score)?
So much for those here & elsewhere who believed Musk’s lies about “radical free speech”.

The last few months showed he’ll silence people whenever he wants (his right— it’s his platform— but clearly he lied)

And now you can’t even consume that limited speech on Twitter without letting Twitter track every single thing you read and link you click on.