skysight-inc/HackerNews huggingface dataset:
Great explanation.

I still see them somewhat the same, but can see that perhaps a collapse is an event before/during an ego death. Somewhat similar to narcissistic mortification where a great revelation can have a complete change of heart. While it's practical in storytelling (Christmas Carol, The Grinch, etc), you are right. It's very rare in reality for one to address the causes. Instead they may stay stuck in their ways or double down until their ultimate demise (Moby Dick, Great Gatsby, etc)
I get the concept, but can you possibly elaborate on the why? Is this to save time watching movies?
I've seen hints in literature written in the 19th century that some people ate red pepper to get high.

To enjoy Capsaicin as a stimulant mix copious amounts of the powdered red pepper with honey. Taking it for a few days screws up my stomach though.
In particular, a major news organisation saying "person X said Y" nearly always will be entirely accurate that person X did indeed say Y. That doesn't in and of itself convey anything about whether Y is true. And you should be quite wary of "unnamed sources".

(exception: https://en.wikipedia.org/wiki/Johann_Hari managed to get sacked for entirely fabricating quotes)
What about the C programs? I guess the program

void main(){};

is allowed to row hammer your RAM and inspect and modify the states of other programs, but is it allowed e.g. to delete your file system through a system call?
It's all about the baseline. Baseline declarative has "good enough" performance while the same money/time investment into imperative UI will get you worse performance. It's only when you've poured in a lot more resources into the imperative version that you start to see it overtake the declarative version.

This problem is illustrated well by InfernoJS. When the JS framework benchmark was first released, the vanilla (imperative) version blew away all the frameworks on the list.
InfernoJS came along and beat the vanilla performance, so they updated the vanillaJS version. They went back and forth a few times with InfernoJS constantly upping the game and them looking at what Inferno was doing to get ideas into improving their performance further.

Today, the vanilla version is faster, but only by a little and only after a bunch of rewrites. Meanwhile, the InfernoJS declarative code didn't change a huge amount. The underlying framework did most of the updating. This means that Inferno would be fast on a second project while vanilla would once again start off slow and have to find ways to optimize their specific app all over again.

Only the most demanding companies and legacy apps will continue with anything other than SwiftUI once it has improved a bit. Saving all those dev man-years while giving up just a little bit just isn't a tradeoff that most companies (even big ones) are willing to make.
I stand corrected but just to add something useful, among my test phones are two made in 2020 or later and neither can see any Galileo sats in GPStest despite android being fully up to date.

So the late to registration/regulation has seriously delayed support, not just legacy support which may never happen.

But I'm far more interested in altitude/MSL accuracy than lat/lon precision. Unfortunately no cheap phone seems to do that yet, none of mine do. Might have to wait for another generation of GPS chips.

Garmin used to support WAAS in their lower end watches but then removed support, that would have been nice to have for very accurate altitude.
I don't think that this is feasible, but shellfish molt quite frequently. They generally consume the molted shell, though.
The inequality argument would seem to apply only to for loops with constant iteration counts, yeah? The compiler can't know that "i < n; i++" won't overflow if "i" could start out higher than "n". (wrong)

I am not an expert on compiler optimization, but having reasoned through a few cases where a compiler is _unable_ to correctly make an obvious-seeming optimization, I tend to think that compiler writers have good reasons for the things they want to be able to assume.
I remember using the fishing controller to swing my sword in Soul Calibur.
I have written in C/C++ and gotten my fair share of null pointers or broken things but all related to logic or my own programming errors. But to me those are just that logic errors or my own crappy code errors.

Back when I worked on VAX/Alpha (I am old) I absolutely had to get down and read assembly/binary to figure out the compiler was doing what I thought. And in some cases had to work around compiler bugs.

But for most of the more recent things I have written I just have not run into these types of errors. I am really boring or I write code that is boring ha.

It is fascinating that people study this stuff and interesting to read about, I just do not run into it.
Yes. It is clearly defined in Hawaii state law.
Chinese vaccines are not that effective and China refuses to use other countries' vaccines.
What a cool and fun project! It might be cool to integrate spotify preferences--like use clustering to identify what the user likes or dislikes. This would be similar to the "Spotify Daily Drive".

Though I enjoy listening to the radio stations from the Grand Theft Auto series while working and cleaning. I probably wouldn't use Phoenix10.1, because I don't like generated voices. Still the project is a really cool use of generative tools. Thank you for sharing!
Sad to see this downvoted here.

To hammer it in, the consider the following:

if(p) *p = 0;

*p is undefined if p is NULL. But as long as that statement is never reached when p is NULL that is not a problem. That is trivially true in this case, but the same applies even for more complex relations between the conditional and the undefinedness of the statement.

Or put another way, in

int * p = 0;
if(fermats_last_theorem_is_wrong()) {
p = malloc(sizeof(int));
*p = 0;
}
if(p) {
puts("fermats last theorem is wrong\n");
}
if(fermats_last_theorem_is_wrong()) {
*p == 1;
}
if(p) {
puts("fermats last theorem is wrong\n");
}

the compiler is not allowed to remove the if(p) checks and unconditionally print that fermats last theorem is wrong unless it can prove that fermats_last_theorem_is_wrong() is true.

In fact, something having undefined behavior and the compiler being allowed to assume that it is unreachable are effectively the same thing. Which is why the spec for std::unreachable() and the compiler-specific intrinsics that preceded it is that it invokes undefined behavior and not more complex wording.
U.S. weighs sending 100-mile strike weapon to Ukraine
The section on memory management describes a lot of work the runtime has to do to track ownership and copy memory around. Would shared virtual memory greatly simplify this?
https://weibo.com/6320391439

reuploaded a random example clip: https://files.catbox.moe/vx9q03.mp4

There's like a thousand cameras in the stadium, and I have no idea if they show things like replays of individual fans cinematic reactions for dramatic purposes (they do that in my country), but that might be a cultural difference more than anything else.

Definitely doesn't look like they're avoiding crowds per se, or blurring.
Unless that damage that is accumulating doesn't lead to immediate visible effect but delayed worse outcomes, eg. early death via heart failure or stroke, long-term slightly reduced IQ, mildly worse blood circulation leading to subtle sexual dysfunction etc.
It might just be good practice for them, as they expect something much worse than covid will eventually get out of the lab somewhere (not just China) or a virus in nature will mutate naturally into something worse than covid.
Reading summaries in the results of a very quick web search. I stand corrected.

My main point, however is that the NHTSA report found poorly maintained vehicles are a factor in fairly few crashes. The vast majority of the crash vehicles that did have a maintenance issue had a tire/wheel problem.

Making a guess based on my experience with cars, the problem is probably almost always worn or underinflated tires. That's something a person with 5 minutes of training can check in 5 minutes with tools that cost $10. Perhaps there's better data available, but the report I linked seems to suggest comprehensive vehicle inspections wouldn't have much more impact on crashes than quick tire checks.
Japan appoints 'minister of loneliness' to help people home alone
If the US is ruled by a government that will start a war with a nuclear power for any reason other than an attack against it, we need to do everything possible to replace that government. Because doing that is insane, and we cannot let madmen in charge of a nuclear football.

Taiwan isn't worth ending the world over.
The US does have domestic electronics manufacturing. There are many fabs in the US actually. Mostly Intel and GloFo. The semiconductor market is a complicated one and not easily explained in an internet comment.

But suffice it to say, things are far more complicated than that.

And the real reason the US wants to avoid war with China, and vice versa. Is because we are talking about two nuclear states with competent second strike capability. This is the same reason why the cold war never went hot. Nobody wants to see the outcome. Millions dead, civilization set back a century or so etc.
Given the initial customer of the GPS system, I would have thought full coverage of the USSR would have been a top priority.
> The sizes of arrays are not known in any useful way to C. When I declare a variable of type int[5] in a function, I don’t get a value of type int[5]; I get an int* value which has 5 ints allocated at it. Since this is just a pointer, the programmer, not the language, has to manage copying the data behind it and keeping it valid.

This is not quite correct. Assuming arrays == pointers is usually true enough, but it isn't actually true. This[1] SO thread has some useful information in it, but the TLDR is that actual arrays are treated differently than pointers. You do get an object of type "int array" rather than "int pointer" when you do int[5].

The compiler does know the size of an array allocated like T a[n]. It does not, however, do any bounds checking for you.

[1] https://stackoverflow.com/questions/4607128/in-c-are-arrays-...
You are indeed correct. I would add that there are some instances of UB that actually UB at translation time: for example ODR violations and some preprocessor dark corners. At least the latter is getting stamped out.
Have you seen https://www.ibmmainframer.com/?

I would also dig through Project Guttenburg https://www.gutenberg.org/ for IBM Mainframe Programming books if you're interested in the history.
Now might be the time though since the major strains of covid seem much milder than the original one.
Obviously there isn't "no COVID". Nobody is suggesting that. If there was "no COVID" they wouldn't need the lockdowns. They're trying to minimize covid by being extremely reactive to it because they don't have effective vaccines yet. The situation still makes OP's comment correct. If they stop being highly reactive and open up before they have better vaccines then the results will be extremely bad.
Did you link to the wiki because some people may not read the article and understand what kayfabe is, or was there a specific section you intended to reference?
Rolls-Royce successfully tests hydrogen-powered jet engine
I believe reddit was rewritten in Python (formerly Lisp?)
Chinese social media is heavily censored, but by necessity the censorship is reactive and information leaks out before it gets nuked, as we're seeing right now with the protests. If there was another city in China that had experienced a Wuhan-level outbreak, much less a nationwide wave, we'd know about it.
>or did Apple finally kill off all initiators for macOS

I would assume that'd work fine, because I run my main workstations and a server full time with my home folder and various data living off APFS or HFS formatted iSCSI targets served over 10 gigabit from a TrueNAS system. I haven't upgraded to macOS 13 yet since I tend to be a lot more conservative these days about Mac upgrades than I used to, but Xtend SAN at least still works beautifully under macOS 12. I really, REALLY hope Apple doesn't remove that capability without a native alternative (or at least officially sanctioned way to do the same thing). Of course in that specific scenario Time Machine is of limited value (and I don't use it) since why bother when you can just use ZFS snapshots on the NAS side instead. TM has always been too flaky for me to feel comfortable with anyway.

Still, could be powerful in some instances, particularly when combined with a hardware gadget setup. Which leads to a response to sibling thread:

>Asmod4n 3 hours ago: Can’t do full system restores from iSCSI

Linux has kernel support for USB gadgets that can emulate mass storage devices, and that means you can actually rig up a little cheap embedded board to translate iSCSI into something that will look to anything else like a standard external USB hard drive. See for example [0]. Like the author there I use it to work around issues with appliances like consoles or the like that don't know how to natively deal with a lot of network stuff, but it's a pretty powerful tool if you've got a good NAS and LAN setup regardless. Get your full network storage flexibility, snapshots, data integrity and so on that pretty much anything ever with a USB port can utilize natively.

----

0: https://matt.olan.me/making-a-piscsi-usb-drive-part-1/
MGS on Bleemcast blew my mind
How do you define vulgar?
Are there any high quality local-first IoT brands out there at all? I would be interested in a home assistant with some basic offline-only (or limited online) skills. For example, set a timer by voice, check the weather by voice, add something to a locally-synced calendar.
UB can easily wipe "the drive" on my microcontroller by sending a wrong SPI command to the flash chip, or by messing with write unprotected memory mapped built in flash.

Welcome to kernel code. I believe one could make it play DOOM by clever malice in this case.
Wrong. Whether it's pea or soy, it's a distinction without a difference. They're substitutes that really offer no real quantifiable or societal health benefit that make people feel better about their consumption.
> (...) letting Covid run free is a objectively a bad idea (...) there are increasing problems with being an outlier (...) they were not wrong to do covid zero - we all should've done this, together

I do not understand this argument. It seems to me like you're saying that zero-COVID is better in the long term, but now worse for China in the short term as they are the only ones clinging on to it.

If we all had done zero-COVID together, then now the entire world would still be in some form of lockdown - can you explain how that would be better than the situation we are in now?

Example: in The Netherlands, the last Omikron wave basically was a small bump with very little hospitalizations...how would a zero-COVID lockdown like China has now have been better?
1. I guess we're overproducing the bland stuff then.

2. Fair enough. My own anecdotal evidence hasn't been that bad. But then again, I haven't seen an industrialized pigpen yet.
Not to mention decades of previously cheap natural gas...

Aren't they shutting down greenhouses now due to exploding energy costs?
Uber Reduces Logging Costs by 169x Using Compressed Log Processor (CLP)
I'd recommend also reading Rob Pike's Notes on Programming in C, http://doc.cat-v.org/bell_labs/pikestyle
It’s not about sources. Yes that is important but having our anger pointed in a different direction every day/week seems extremely problematic. It’s about learning to ignore those sensation stories that are going to disappear in a week or two and focusing on what YOU care about.

It’s made worse by outspoken online groups liking to claim moral superiority by caring about “everything” and then forcing it other with things like “anti-racism”. It’s no longer enough to be concise of your bias and work on that… no you now need to actively be doing anti-racist things which is entirely dependent on some tiny group of people.

The goalposts just keep moving and you just need to ignore this toxic online discourse. At the end of the day it really is just to made to divide.
A lot of it is probably quartz in dirt.
The Uber-Ization of US Trucking Is Only Speeding Up
The main feature then is that these products make you feel better about your consumption.
The forum was built to be a feature request tracker. It's used extensively for that purpose at Github (see e.g. https://github.com/orgs/community/discussions/categories/cod...). It's the main usecase for the forum (with a secondary use-case being stack-overflow-like q&a). I don't think anybody is hacking anything
Maybe a sponsored mea culpa for the protests? https://finance.yahoo.com/news/netherlands-buy-farmers-amid-...
Why curation and decentralization is better than millions of apps
I like it, but the array details are a little bit off. An actual array does have a known size, that's why when given a real array `sizeof` can give the size of the array itself rather than the size of a pointer. There's no particular reason why C doesn't allow you to assign one array to another of the same length, it's largely just an arbitrary restriction. As you noted, it already has to be able to do this when assigning `struct`s.

Additionally a declared array such as `int arr[5]` does actually have the type `int [5]`, that is the array type. In most situations that decays to a pointer to the first element, but not always, such as with `sizeof`. This becomes a bit more relevant if you take the address of an array as you get a pointer to an array, Ex. `int (*ptr)[5] = &arr;`. As you can see the size is still there in the type, and if you do `sizeof *ptr` you'll get the size of the array.
See the map; the red area is the one with fast flows:

https://specials-images.forbesimg.com/imageserve/604bccae8e1...
Sequoia should stop writing blogpost for a while.
Yea, 2018-2020 sees a downward trend in hiring, while the S&P500 was still growing steadily.

Thing is though, HN Hiring posts seem very FAANG and (even more) startup-biased? The S&P500 is more than that.
If you're willing I'd love to know what you use / would use for something like this.

I've had some very similar ideas and stalled out at the hardware stage, but admittedly haven't tried in a while.
Realistically, that simply doesn't apply to TS, because the conversion to JS literally just removes types.
I loved my Dreamcast but the Saturn was Sega's pinnacle console. So many of the games were blindingly original.

- Radiant Silvergun the best scrolling shootem up at least I ever played (far superior to its sequel Ikaruga)

- Guardian Heroes a scrolling beatemup with dozens (houndreds?) of glorious characters to choose from.

- Nights into Dreams. You fly like a rocket, you dance, you liberate weird little tamagochi which you take on your VMU. By Sonic Team.

- Panzer Dragoon Saga. RPG on a dragon. Beautiful.

- Grandia. Ok this I never played as it wasn't translated, but its reputation preceeds it.

- Fighters Megamix. Graphics werent great but it brought together all of Sega's signature characters (including Sonic) into a Virtua Fighter ring. Madness.

- Burning Rangers. Meca Firefighting, by Sonic Team.

After the Saturn, the Dreamcast was a disappointment, even though it was great. And after the Dreamcast, I stopped playing games. Nothing like those old days.
What's the name of this university?
Each settings panel is run in a separate xpc process, that is launched on demand. So the UI is rendered out of process too.
Open Activity Monitor and see how many processes are run when navigating around in System Settings.
Geekier with math: https://www.nayuki.io/page/the-photographic-exposure-equatio...
TeXmacs user interface and structured text editing
Just do a search at Amazon Books for:
IBM Mainframe or z/OS or etc.
> US would not go to war and attack china over Taiwan

Attack the Chinese mainland, perhaps not, at least not without plausible deniability. Sink Chinese ships in waters the international community considers international or Taiwanese and Beijing Chinese, absolutely.

Were China to retaliate by hitting an American ship, then yes, we would likely go to limited war against its port and missile facilities.
> Perhaps they know the risks of COVID and correctly weighed them to the risk of the shot

How could you possibly consider this as a possibility? We have enough data to see clearly, with no reasonable debate, that this is complete nonsense.
Dreamcast was doing great in the US. Unfortunately, it was tanking in Japan, and Sega made the decision to pull the plug based on that.
I have https://blebox.eu/product/airsensor/?lang=en and https://aranet.com/products/aranet4/

Unfortunately don't have the skills to measure the accuracy and precision but both are well reviewed in the Internets.
Hiring has slowed to a crawl, and the hardest hit appear to be junior/low level devs not going into the startup space.

I'm seeing a lot of hiring for senior positions. I'm getting more, not fewer emails for interviews as a CTO. Meanwhile, it seems like unless a new grad is headed to a FAANG they are not finding jobs the way they were a year ago.

This is how things started in 2007, anecdotally. The ladder got pulled up earlier in the year, and then right around the holiday season everything fell apart. It took a good 2-3 years for everything to recover, but in that time salaries were down roughly 20-30%.
Designed their model to resemble retail distributorships and then shocked pickachu when they realize software doesn't need the same logistics.
These declarative frameworks always work well for demo stuff, then fall flat for actual complex software.

I’m talking not just about declarative UIs, but also declarative business logic tools (Windows Workflow Foundation anyone?) too.

They always end up slow, incomplete, and in the end require a bunch of bolted-on imperative hacks to get an acceptable outcome. This is the case with React, this was the case with XAML, and this is the case with SwiftUI.

Yes, I know, in theory they could be so performant, just like garbage collectors and JITted interpreters. In practice they never are.

Hopefully the failing of Moore’s law will eventually put an end to all this inefficient declarative nonsense.
You need to actually invoke at compile time your constexpr function with the specific arguments that would cause UB to actually get an error.

It is not significantly better than running your test cases with with UBsan but it is a nice feature.
I wish rome lint was a drop-in replacement for ESLint.
Imagining CSS for URLs and HTTP Headers
You may disagree that it's a problem, but what I'm referring to has nothing to do with marketing and everything to do with the semantic meaning of the word.
https://canair.io/index.html
I think the mistake here is that google is making recommendations for the users. Google is making recommendations for google, to drive the users' attention to what benefits it most.
I don't see how moving the categorization of "feature request" vs "bug" outside of labels helps anything. That must makes it harder to do the inevitable re-categorization that will always be required since the line between "feature request" and "bug" can get subjective and fuzzy depending on how one views the purpose / spec / scope of a project.

If all you are saying is that it is a UI issue to mix those two categories when you open the issues page for the first time, it is pretty easy to bookmark or link to a list of issues filtered by label.
You're pushing a fake, invented history. Electric cars existed in the 1830's - about 200 years ago and 52 prior to gasoline powered cars. Electric cars were supplanted by gasoline powered cars. It's NOT that they just haven't caught on, yet.