skysight-inc/HackerNews huggingface dataset:
CPUs can and do have UB in the instruction specifications. x86 definitely does.
0 is a digit.

Apparently I have stumbled over an idiom of the prime-enthusiast community.
Well this sucks.. It really is the best place I've come across. Good filtering options, a lot less noise for people searching (no unsolicitated) which can be good or bad, but good in my case.

And the notifications that you could define were nice, also attaching to your already established profiles is decent too.

Shame to lose it, just wonder was the maintenance costing more than the income from it. But that would seem strange!
Presenter at the last in-person MS Ignite (so, 2019?). He mentioned to the audience they rewrote Notepad.exe and showed the memory usage of NP++ and Notepad.exe while opening a 10GB CSV.

But if you're saying it's not included in Windows 10 it might be a sysinternals branch.
No one can, but isn't that the case for all software?

At least it is Free Software with reproducible builds, so you can audit the shit out of it.
I agree and in that regard I've always found EU countries much more humane, in the sense they don't have to take shit from a bad customer and smile because of the weight of the tip in their salary.
The reference is to natural freshwater, especially if it is stagnant. Most travel clinics will give advice against swimming in ponds, etc.
No Vulkan for you on Playstation, XBox.
ISO C is mostly concerned about making sure that stuff is portable; operating systems on the other hand are intrinsically platform-specific to a degree. So it is not really surprising that pure ISO C is not enough for OS development
Would customers be willing to pay marginally higher menu prices if tips were explicitly not allowed? I assume there must be research on this.
Jump to the actual thing 0:45 at https://youtu.be/sGeL--7hCsA?t=45
"we don't think job boards are the future" is a ridiculous statement given the online hiring space has had intense growth since COVID.

Whatever the reason they shut it down, that's not it
Eh... No.
No, that's the difference between unspecified and implementation defined behavior.
Those are also over the top, but comparing text editing to violent sexual domination is well past the American taste for absurd overstatement, and just comes across like a silly, blinkered person overly absorbed in their little drama.

It works against the author's apparent interest. They throw the dials to 11 as a bit of norm-setting editorializing about supposed severity of the unjust edits, but it just ends up being more bullshit clickbait, blending in to the background of every! other! desperate! headline!
> because it’s such a run-away-screaming scary idea for security

I think that's the root of our disagreement. Few years ago I've been of the same mind about giving the web new powerful features, but after watching the space and seeing the existing alternatives I've come to change my mind.

As mentioned in another thread below (https://news.ycombinator.com/item?id=30013287), vendors who need this sort of functionality, already find ways to implement it via other proprietary methods like local executables that, unlike implementations of Web APIs, are not reviewed by other teams and usually expose all sorts of critical stuff over local HTTP servers or in another insecure fashion.

In the end, it's not a question of "if" we want to expose those features to the web apps, it's "how" we can do so with minimal risks to the users, and that's where web APIs with thought-out permission models, explicit requests and history of cross-origin checks can help.

Of course, you can also say that vendors can continue to implement those things insecurely anyway even when new APIs exist, but 1) in practice when they're given a simpler way to do the same thing, they tend to go for that more often instead of inventing custom hacks and 2) that's where advocacy of the new APIs comes in, and what I'm trying to do by showing what the web can be if we let it.

As for your other arguments about potential for breaking changes if/when those APIs get adopted by other browsers, I agree I might be overoptimistic and your prediction might very well turn out to be true. Those APIs map to basic USB concepts quite closely, so I can't imagine what changes would be necessary, but, of course, I don't have enough experience with WebUSB outside this project to say that it's 100% impossible :)

In the end, it's a bit of a chicken-and-egg problem - in order for browsers to see the interest or get feedback, there have to be apps trying to build something with those APIs and reporting bugs / feature requests, and for those apps to use those APIs, there has to be at least one implementation first. This problem can be chewed from either end, and I'm trying to do my part by showing developers how those APIs can be used for porting interesting apps and libraries.
This seems a bit tone deaf from SO. maybe it's not a moneymaker for them but it's hands down the best job site for techies. Hope to never open linked in ever.
Its weird who is "supposed" to get tips, too. Someone who brings you a plate is supposed to get 15% of the bill for doing their job; but an auto parts store clerk who chases down something weird for you over 2hrs of searching may well be forbidden to accept any gratuity, and possibly even disciplined for spending too much time on a small sale.
The person you're responding to never said it was without risk, just that vaping isn't the same as smoking- and the scientific literature backs this statement up.

https://pubmed.ncbi.nlm.nih.gov/30049223/

> Conclusions: Single-dose inhalation of vaporized cannabis had no clinically meaningful positive or negative effect on airway function, exertional breathlessness, and exercise endurance in adults with advanced COPD. Clinical trial registered with www.clinicaltrials.gov (NCT03060993).

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4456813/

> The majority of studies suggest that vapourizers adequately reduce risk of pulmonary symptoms (5,14–16), although complete safety may require a regulated source of plant material, rather than ‘street’ samples, which produce ammonia (17).

> The findings suggest that vapourization reduces the delivery of toxic byproducts associated with the use of smoked cannabis. A subsequent experiment addressed exhaled carbon monoxide (CO) (14). The researchers found a statistically significant difference between the increase in CO exhaled following smoking cannabis versus vapourization. The amount of exhaled CO showed little to no increase following vapourization compared with large increases following smoking, which would be expected for inhalation of a combustion product. These findings give further evidence that vapourization reduces exposure to gaseous combustion toxins.

This isn't to say there is no risk, but if someone is going to consume cannabis it is amazingly clear that vaporizing it is safer than smoking it.
I would argue the M1 Pro/Max are targeted at much higher end workloads than an i3. Light workloads (web browsing, launching apps), don’t need many high performance cores, since they’re mostly single-threaded.

What is interesting is how intel has 4-8 e cores even on the high end.
Not a fan of meta studies like this... do a focused study for absolute clarity.
It dismays me how many wealthy people I know that flat our refuse to tip. I end such friendships, as those people are monsters, waiting for an excuse to toss others away.
I knew multiple classmates who were working substantial hours because their families needed the extra income, and that was when wages were better than they are now. Anything close to real work should pay real wages because otherwise you’re screwing the most desperate at the expense of the more affluent kids who can afford to walk away.
> Welcome to the terrible world of tipping.

While I agree, I remember bartenders making $10/hr + tips when I worked in a restaurant... in 1998. I could make $10/hr washing dishes (always the most hard-to-staff position) but wouldn't do so until after the restaurant died down because I made more busing tables with tips.

Let's just call this type of employment what it is: wage slavery. People are used to there being a class of people willing to take these jobs.
I don't think there's any logical conflict. They stated that they thought the type of prion they were handling couldn't infect humans. They see now they were likely wrong.
The concept of the progress bar is solely owned by google.

Edit: Sorry, the patent has not been granted and the application was withdrawn in Jan 2020.
> I have a dumb question. Why can “we” write pretty good apps in languages other than C, but can’t write operating systems? Is talking to hardware so much different than talking to APIs?

To some small extent, yes. But I don't think that is the main issue here.

The real issue is that the stakes are much, much higher when implementing an operating system than when writing, say, an image editor. You can live with an occasional crash in a userland app. But the same crash in an operating system may open the door to taking over the entire computer, possibly even remotely.
Have you tried unchecking "Menu > Options > [x] Save file time"? Is seems it actually means Keep file time.
Basically mostly 3D renderings for online shops, while most indie devs rather focused on mordern hardware on mobile platforms.

Ah, and Google Maps.
97501 and 24683 will get you all of the numbers (and maybe some position matches), from there it becomes much easier.
Aw, sad. I found my current job (in which I couldn't be happier) on SO, and have also posted listings on SO for another employer before that. I haven't used it to search for jobs in a while, but I recall it being a super simple, no-nonsense experience that was generally higher signal-to-noise than most other jobs sites. I wonder what site today matches the simplicity and quality of SO Jobs?
Do yourself a favor and try dividing by zero!
Your bank statement is not private, your bank has it. You can pay with cash, but the other customers can see you right there paying, so that's not private either. I understand the need for private communications, but private transactions don't seem to make a lot of sense.
I don't think that was the expectation, not sure where you read that into it. The two examples he gave were for the bar in the lobby and a total bill that would be mainly food. This is presumably a Drafthouse or one of the similar places that have full waiter service at your seat.
> Bonus points if you avoid swimming in random bodies of water to not get contaminated water with brain-eating amoeba traveling up your nose.

Also, be very careful with the water that you use in a neti pot.
Swedish price hike is due to the German screw up.

Even after closing some reactors (plus one more currently down due to some accident) Sweden is still producing 15% more than it needs. The price increase is due to increased international prices thanks to Germany, and Russia.
Cashiers - yes at a coffee shop. The local brewery uses the same Square / Clover POS system for cans to go and sometimes I'll tip a few bucks (though I'm unsure here). Cleaners - if you mean a house cleaner, if booked through an app, then I think there's normally a tip option. There's tons of people who you're supposed to tip at Christmas in the city - building staff, daycare workers, cleaners, your mailman, etc etc.

Restaurants that have tried to go tip free, even the highest end ones, like Eleven Madison Park and Danny Meyer's Union Square Cafe, have rolled it back as customers see the prices as being "too high." Tipping is basically an optical illusion. If you don't tip, you are ruining it for everybody else.
Instantiatable flexible array implementation with familiar methods for Lua
Facebook and Instagram are easy to diagnose: people post only their wins and their anger, so you end up feeling miserable and/or angry. It's like going to a party where everyone is richer and more beautiful than you, and they are all talking about politics. Same for twitter.

Reddit is more about simple time-wasting and dopamine hits.
what's the history of having undefined behavior? why would a language designer not specify?
Well, the point is that these jobs don't create that much value. They're only worth so much, and the only skill required to do them is to put up with the misery. If you argue that all jobs must pay a "living wage", then jobs like this will just cease to exist and high-school kids won't be employable.
You can even do this with pure HTML, no CSS or JavaScript! Server-side processing sometimes seems underutilized and forgotten.
I have experimented with IPv6 only, but a lot of stuff still doesn't support it. For example Github and Discord webhooks fail to send.
I wish you luck
Can you still compile gcc code with -O0 (gcc option to turn optimization off) to get completely defined behavior? When doing so does it actually still turn off all optimizations? Also does -Os (optimization for size) still produce defined behavior?
The first step is to have those laws. The article is about Texas, a government that takes pride in not having laws that provide a minimum quality of life at work.
Genuinely curious: what if your local restaurants raise prices too?
Imagine you and the compiler are parties to a contract. Your obligation is to not let UB happen. The compiler's obligation is to not change the meaning of your code. Insisting that the compiler should uphold its end of the deal when you don't uphold yours is like saying if you sign a contract to buy widgets, you should have to pay even if the vendor fails to deliver them.
If the region can't afford a restaurant without having external taxpayers subsidize the restaurant (e.g. via social safety net transfer payments), perhaps it shouldn't have one. Every business doesn't need to scale down or up to fill every niche.
The more sensible solution is in ground based towers. The US rural areas suffering from lack of coverage is due to monopolistic/cartel attitudes of US ISP and carriers. Other countries don't have this problem and true fee competition made even rural areas have good wired and wireless internet. This is a lack of political will problem (to enforce cartel laws), not a technical one.
Will Steering Wheels Ever Disappear?
Compilers will routinely warn if they can detect UB at compile time.

The problem is that except in a few trivial cases it is impossible to detect UB at compile time. Even whole program static analysis can only catch a small subset.
In a numerical coincidence, some see evidence for string theory
Note that many states in the U.S. are actively reverting this solution, legalizing and supporting "I better kill him before he kills me" through stand-your-ground laws.
Timeline of the Worst Computer Viruses in History
federal law says nothing about breaks except that if they're 30m or longer you don't get paid

many states go no further, including Texas, which explicitly does not require break time
What if you tied it to a desktop carbon capture device (understood that these don't really exist currently)? Doesn't even have to be particularly efficient, nor tied to carbon credits.
The United States of America federal government requires a wage of at least $2.13 per hour be paid to employees who receive at least $30 per month in tips.
I have no idea where you are coming from unfortunately.

Generally speaking, a Javascript user has access to the same type script language features (including hints, auto-completion,...) as a typescript user.

Even the most primitive text editor supports language server protocol nowadays.

The library your interoperating with does not even have to be written in typescript if the author provided @typedef JSDocs.

const enums break this because no value of this type exists
I can code high, but I can't bug-fix or plan for shit.

Brains are weird.
Sounds like OP doesn't understand the business-and-personal value of a subscription

Let's take a "traditional" sales model: you spend T amount of time (and money) to get a customer. They pay you M money. Once. You want to sell them something else? Gotta go through the whole song-and-dance circus all over again.

Now look at a subscription: you spend T amount of time (and money) to get a customer. They pay you S subscription fee (way lower than the M in the previous example (per unit time)), but includes the fact that they're already paying a [small] amount to have your thing. To keep* them, all you have to do is NOT SCREW UP. And if they do want to cancel, you can offer them a time-sensitive/-dependent/-limited "discount"; if they stay, you - basically - didn't lose anything (except a couple bucks for a few months); if they leave, then they're gone, and get no more updates, support, etc for whatever they were paying for.

It's why magazines have a newsstand price of, say, $7.99 an issue, but you can subscribe for a 12-issue yearly subscription for $12. The major cost of acquiring a customer is up-front. Once you have them, it's "cheap" to keep them.
But then you need an active server.
Same in a small German regional hosting provider where I have a server: price costs raised so much that they have stopped taking in new customers for now, and will have to increase the prices for 2023 for “15 to 40 Euro net per month, depending on server contract”.
I don’t think it’s that ridiculous.

99% of people use LinkenIn and job postings shared there from company job sites. Recruiters I know want fewer things to interact with and search. And I’ve seen great talent from good sourcers just using LinkedIn to find people…
sadly, it has rounding errors if you multiply by 0.xxx
Whenever anyone does that they might as well simply state "I wrote this entire article and then realized I was wrong". Writing is a thinking exercise.
Happy to see it converted from the old flash applet.
Were they not making money on this? I figured a large part of their revenue came from job listings.
That's the thing. When C is portable assembler, you expect signed integer overflow to be the same as in assembler. On x86 you don't expect a trap.

There are quite a few idioms where overflow is used intentionally. There is no reason to turn that into undefined behavior if it works fine on the underlying platform.
Maybe in your corner of Europe. Must be a different one than mine.
War Is a Racket. (1935)
Undefined behavior entails "there are no restrictions on the behavior of the program", meaning anything can happen, including executing the opposite of the program text. Implementation defined behavior is saner in the sense that program behavior is still defined. Examples of the latter are the exact type of std::size_t or the number of bits in a byte: https://en.cppreference.com/w/cpp/language/ub
It stands for "Undefined Behaviour"

It's commonly used in C/C++ communities (elsewhere too, but not as often).
Undefined behavior: https://en.m.wikipedia.org/wiki/Undefined_behavior
Undefined behaviour -- https://en.wikipedia.org/wiki/Undefined_behavior
I think its the fact that a story about a 14 year old using drugs is not an example of what 99.9% of the "nerds who think weed is excellent" have in mind when they talk about using cannabis
It would be rather hard to sell one time software today and then sell an update once a year. Why? Because most software is in the cloud or has a great dependence on at least a backend in the cloud. I think it is more difficult (and dumb, from a security/quality perspective) to have multiple versions of the backend, with different patches and features applied depending on version bought.
I assume GP was thinking of Nvidia having started to work on the GBM API, available starting with nvidia 495.44: https://www.nvidia.com/Download/driverResults.aspx/181274/en...
Super interesting. Does anyone here have an idea if the described setup also works in Europe ? And some pointers towards European alternatives if not ? There are some 4g wifi modems on the market where i live in belgium, but they are just home rooters (on 220V), not this integrated stuff in the post.
Company Needs a Digital Nomad Policy
Maybe it's because I am British but hot water bottles have been something I've owned and used forever. They just exist as a thing you use. To warm the bed, or your feet, or your back. Given that the British also have electric kettles for warming water they are simple to use.

I did try to buy one here in Portugal and I was sent to the pharmacy where they had a tiny little one that you might use for pain relief.
Not all games need "to take advantage of 2022 hardware in 2022, with 2022 3D API". A good plenty would look fine with a middling level of graphical fidelity or "latestness" of employed GPU features. Using the web platform you also free yourself of gatekeeping, cut taking middlemen. So there is a niche for both WASM and WebGPU.
Venturi introduces electric airplane concept (44 passengers/550km range)
Do any of these "decentralized" and "end to end" encryption communication systems actually solve the fundamental problem which is that you have to trust the person you're communicating with to not give up the content of the messages they've sent and received. People's telegram and signal comms are always showing up in subpoenas because someone unlocks their phone for the feds. I guess what I'm thinking here is that there's nothing about this that is any better than pgp emails, and i'm not sure i understand why these forms of communication are flourishing when they seem to offer little real protection against a motivated state adversary who doesn't need to attack the system if they can just ask someone for the keys
I also went really hard this last year and am currently pulling back on my usage. I don't regret it. Now I know what all the danger signs are and I can recognize them in the future.
It appears the race was on for commenters to jump in and define undefined behavior. Your comment is similar to my own.

I feel like this sort of thing can be utilized as some sort of dev honeypot.
My personal opinion: it's not crazy to tip much more generously during COVID. This is not a normal time for businesses or employees. (NB I am not a tipped worker. I am a grumpy old engineer.)
> On Christmas Day a family bought over $100 worth of tickets and food two days after Christmas.

> The tip? $2.00.

How else would I read that? If it was $85 in tickets, $10 in served items, and $5 in tax, that’s a 20% tip in my book, but the author (a career politician) would like you to read it as a 2% tip.
https://torguard.net/

^ VPN Payable in Bitcoin
No babies are prescribed amphetamines.
I would guess that the big difference between an app and an OS is that the OS needs to do more complicated things with memory addresses.

An app that runs has its own nicely mapped address space. And it interfaces with devices through system calls. An operating system has to keep the actual addresses of everything in mind, and it usually has to talk to devices through virtual addresses.

As an example of what I think might be the problem. If the OS wants to read data from a device, it might allocate a buffer, wait for the device to write into that buffer, and then later read it. For the compiler, that is essentially "reading uninitialized memory" and thus undefined behavior.
>Tuscan and High German became the standard with the Renaissance and the printing press, centuries before nationalism.

It depends on what you mean by "standard". Tuscan was certainly the literary dialect, but most areas of modern Italy did not speak standardised Italian from the Renaissance period onward, except at the level of government.
Babies are not given adderal.
> When you're at Roblox's scale

Yet a regional Consul deployment is the single point of failure. I apologize if that sounds sarcastic. There’re obviously a lot of lessons to be learned and blames have no places in this type of situations - excuses as well.
https://archive.is/Cm81W
Sanitizers attempt to do define the behaviour of undefined constructs, but expect an integer multiple slowdown compared even with unoptimized builds.

It is very hard to specify the behaviour of, for example, use-after-free, or accessing an automatic variable after it goes out of scope, or data races, in a C-like language without significant runtime cost.