skysight-inc/HackerNews huggingface dataset:
> But what if you're not using C99 or newer?

If you're using C90, but under an implementation that supports C99, that implementation should obey all the new rules in all areas where there is no conflict between C90 and C99.

The ISO C90 standard is obsolescent, so the fact that dropping off the end of main with no return value is an unspecified termination status is an obsolescent requirement (or non-requirement).

It is possible for a conforming C90 implementation to return 0 in that case. A conforming C99 implementation must do that as a conformance requirement. There is no good reason for a C99 implementation behaving in a C90 compatibility mode to simply drop non-conflicting C99 requirements and revert a behavior such as this.

This should be a don't care issue, unless you're targeting a bona fide nothing-but-C90 implementation.

However, if you are telling your implementation to be C90, what reason are you doing that for? If it's not just some nerd gesture to show your contempt for C99, and you really care about portability to C90 implementations, then you probably want to be returning an explicit 0 from your main. Or even just to show contempt for C99, really, you should be returning that 0.
That doesn't make any sense. It's not a philosophical view, it's an event in history and a matter of fact.

Cities defunded police departments, crime went up, some of those same cities then later re-funded those departments, and even increased budgets.

The crime statistics and city council laws passed support these claims, I have not found any claims disputing these facts.

Even the left most leaning sources agree with these claims.
Kodi/XBMC? Plex?

Unfortunately that's only for local media. Obviously all the commercial streaming services have DRM that make them incompatible with open-source.
When you view something as extremely morally important, you're willing to cross a lot of moral boundaries and make a lot of rationalizations.

Full moral consistency is almost impossible: you're always balancing self-interests with other higher ideals, etc., and there's always some dissonance. This is just a more problematic example of people striking that kind of moral balance.
That's the point, that's why I don't go around commenting "he used soap too!", but somehow "But they offer value!" is a valid contribution to debate? Not just valid, but prevalent throughout HN?
Selling Hours
The question about pricing is pretty legit given a free Wix or similar would probably be a better experience than jumping across Notion and Potion.

It's not "hackers are going to hack it for free", it's more "your grandma is making a website on Wix for free" and, it won't make you feel like a tech wiz or a startup cool kid, but it works.

That's also why I think Potion (and other startups targeting Notion and the incoming Notion marketplce) is pure business genius.
I'm sure the target market will appreciate Potion. I had to try Notion for work and it's definitely not for me (slow and clunky) - but somehow they have a lot of evangelist in SF startups and I'm sure they won't care about paying 1 pumpkin spice latte per month just to say they made a website with Notion.
Just like E2E encryption, you can rely on trust, but it would be really awesome if you _didn't_ have to trust, in this case AWS or your cloud provider of choice.
I enjoyed the 4-player flash version of Hex Empire that used a hex grid. User played one team and AI played the other three at various difficulty levels from naive to cutthroat. Was my favorite online game until the recent demise of flash. I would flip through various starting map layouts until I found one I thought one of the three players that didn't go first could win. The first player had a big advantage mostly.
Strategy was always to wipe out the opponent on the near shortest side and then take on the two that started at the opposite longest end of the board. The best games were those that were finely balanced and resulted in a long war of attrition with the outcome influenced a lot by choosing the best micro-level tactics.

https://jayisgames.com/review/hex-empire.php#walkthrough
I’ve seen that video before but thank you for reproducing Bernstein’s words here. They bring great joy even in print.
The source of confusion is my generic naming. Name it “files_loop: for …” and “break/continue files_loop” will be obvious to a reader. Also do not forget that a label is not a distinct point in C, it is a part of a “labelled statement” [1], so you do not break to it, you break/continue/goto it.

I think it's one of the few perfectly valid uses goto.

I fully agree, but for 99% of our religious peers it is an NSFW taboo.

[1] https://www.lysator.liu.se/c/ANSI-C-grammar-y.html#labeled-s...
Yes but typically with some sort of batching proxy in front of it

e.g. https://clickhouse.com/docs/en/interfaces/third-party/proxy/
This is exactly right except the one modification I would make is that your seatbelts and airbags have a 50% chance of not working during a crash if it happens after 2 miles of driving with an unknown decreasing chance of working for every mile thereafter. Also, there’s no way to know if they will deploy or not until after you’ve crashed. If our goal is preventing auto deaths in there scenario then yes we should stop people from driving until we get something that works consistently and reliably.

The approach we’ve chosen is, of course, more like when my rock warded off tigers for the first 2 months but there was a tiger last week and tigers are bad so I’ve got to get more rocks.
If the cars caught fire and burned when the batteries were made in the USA...
The FSF has a somewhat relevant answer about this: https://www.gnu.org/licenses/gpl-faq.en.html#StolenCopy

It depends on if the accidentally public instance could be considered a trade secret.
Netflix employees attacks a man for having a 'WE LIKE DAVE' sign
Ya exactly! Compatibility with QEMU commands right inside the yaml was a great addition by my co-author. I wrote an earlier version that lacked that functionality and I have to say the new version with that feature has proven really handy.
Krauss was in fact working for OAN and Sputnik at the same time and Sputnik is funded by the Russian government. Maddow even won attorney fees in that case. Rouz is a propagandist; quotes in the decision amply demonstrate that.

Quoting the appeals decision, The challenged statement was an obvious exaggeration, cushioned within an undisputed news story.

Equating Maddow’s exaggeration with Jones and Carlson is just rank bothsiderism.
> PAKE doesn't share the password with thr server.

The server has a password derivative stored. An SRP verifier for instance is computed from the password hash, so if the server is compromised the hacker can immediate impersonate the server or the password can be brute-forced offline.

I believe OPAQUE is the same, just with stronger (slower) password hash functions in the mix.
I am a very minor investor. They quite recently pioneered some very slick flat batteries. The volume/joule is better (not sure about joule/kg), and the batteries could become structural. I find them speculatively interesting.
Plain old Indeed job postings and looking at their resumes, speaking to them and seeing what motivates them. It was pretty easy to hire in Chicago due to plenty of candidates for the copywriting roles. We got lucky in finding a few people who didn't fit the traditional molds but were eager to learn.

We also kept an SEO analyst type role posted for over a year (salary was posted at 65-75k in far suburb, 2015 vintage, so fairly competitive at that time) to see who would apply, and out of 100+ applications we only hired one person (the company I was at would hire qualified people to grow headcount-- I'm ignoring that dysfunction here). Most of the applicants with claims of "5+ years experience" couldn't describe concepts like nofollow, anchor text importance or the difference between robots.txt and meta tags. I've also hired in 2mm population midwestern metros and it gets a lot harder. In less populated areas, remote will probably help quite a bit.
If there weren't any issues, why did you have three of them?
dang, title should probably be changed :o
I think they really set the wrong expectation early on. I think the amount of advertising per hour is still barely 1/4 of what you'd get on commercial broadcast TV. They have to pay their creators and product teams to keep it running and it ain't free.
This is perfect policy, the Fed affects macros not individual stocks so it sounds like the government is doing something when it’s ensuring that Fed officials are only investing in indexes / macros which is where Fed policies are likely to affect markets the greatest.

In startup parlance the fed is the rising tide.
How do they make hydrogen clean? 95% of hydrogen comes from burning fossil fuels. I doubt they're going through electrolysis to make the hydrogen or sourcing it from a supplier that does.
Exactly. And of course this might mean nothing - there are billions of video cameras on phones with limited stabilisation used for birthday parties. This thing sits in the currently tiny market of people who want to make a scripted film with linear editing, but don't want to spend the time and money of the current crew heavy hollywood model. That's a really tiny market right now - exemplified by Corrodor few trying to make a 4 minute movie every week.

But

I will place a bet that my kids will be digital creators, and will create and express themselves with something like an edited film. TikTok in twenty years might be 8 scenes filmed in quick succession at break time, a dinosaur background using the Unity 3d world engine and it will be 15 minutes from idea to watchable
quality.

At that point this cameras descendants have a real market
I think the conclusion I draw from this is that, on the margin, there should be more times when people think I am stupid. I can’t think of a good example off the top of my head of this happening.

I think the car insurance example is perhaps an example of the three-part explanation talked about in the article because sometimes comprehensive cover is cheaper than third party cover (the argument goes 1. Comprehensive is better because it covers everything, 2. Third party is cheaper because it covers less, 3. Actually comprehensive is sometimes cheaper for weird reasons like riskier drivers self-selecting for third party cover) but I could also be wrong here. An obvious way would be that the author’s case is not one where comprehensive cover is cheaper and a less obvious way would be if comprehensive cover is deceptively cheap (eg maybe if you get into an accident where the insurer covers first-party damage because you have a comprehensive policy, your future premiums under any policy are higher than if your insurer had only paid for third party damage.)
The whole early warning system was not down, Long range radars are independent, not connected to the internet, and in the worst case they could use a phone and smoke signals. There was no credible nuclear threat.

Given that you can't refer anyone to anything written, this whole story defies logic and smells of a dead possum.
Given that SGX is an Intel-only technology (it isn't even supported on AMD's x86 CPUs, let alone on ARM), and given that SGX has been repeatedly broken by speculative-execution vulnerabilities, this feels like a total non-starter.
I found that interesting too. I liked her disclaimer at the lead-in: "The investigation stops when the client no longer wants to pay for more, not when I’ve achieved a particular level of certainty I’m satisfied with. Etc. In this particular case they were satisfied with the answer after only a few hours, and I did not pursue beyond that"

Reminds me of the "synthesists" from the sci-fi classic 'Stand on Zanzibar'.
Not having to pay dealers $5000/unit for “advertising” also helps Tesla’s bottom line.
42 is pretty bad and I'm getting a 33 on potion.so, 60-70 on the demos (it could be that the server load from HN is contributing to it).

I just spent some significant effort fighting against Next.js and its bundles just to go from a 68 -> 90 for my own project

The difference was day and night on a real phone on 3g
I ended up paying for it. It’s too expensive. I’m not happy. But at the end of the day I spend too much time on youtube to waste it on ads.
Given that radar is functionally blind[1] to static objects when travelling at high speeds, I'd argue it's not just a good thing, it's a necessary thing. Tesla have demonstrated the superiority of their vision approach and validated it with 1,000 years of real-world driving, running it in shadow mode on customer vehicles.[2]

[1] Technically radar isn't blind to static objects, but since it cannot disambiguate them from tunnel entrances and highway overpasses, the data is useless. Therefore it's functionally blind.

[2] https://youtu.be/g6bOwQdCJrc?t=1647
I teach high school CS and have eventually come to the same insight, and found that novice programmers do indeed understand primitive BASIC much more easily than Python. Python seems simple to us, but there is so much abstraction even in its base-level syntax. I am gradually redeveloping my course materials to use BASIC (via replit.com) in the early stages.
> I see it's available on Amazon but... well, I don't want Kindle format...

It's trivial to de-drm and convert a lot of ebooks.

You need Calibre (free/open source, gui [1]), its DeDrm plugin (free/open source, gui [2]), and its KindleUnpack plugin (free/open source, gui [3]). There's a guide [4], but the toolchain is all point/click, not a hassle at all to use.

> The DeDRM plugin handles books that use Amazon DRM, Adobe Digital Editions DRM (version 1), Barnes & Noble DRM, and some historical formats. The Obok plugin handles Kobo DRM.

For kindle books, it'll be less hassle over time if you install the Kindle app on your not-phone, not-tablet and just never update it. It'll just be a matter of import click + browse to the Kindle app's data folder and pick the most recent item after you buy one to instantly de-drm it and convert it to Epub. Amazon doesn't force upgrades of the app presently, and newer DRM schemes won't be pushed to you if your version doesn't support them.

1. https://calibre-ebook.com

2. https://github.com/apprenticeharper/DeDRM_tools/releases

3. https://github.com/dougmassay/kindleunpack-calibre-plugin/re...

4. https://www.epubor.com/free-kindle-drm-removal-calibre-plugi...

All of this is very well maintained and very well presented by the calibre community. Converting an Amazon format to Epub loses nothing in terms of functionality or aesthetics, the resulting Epubs in iBooks look identical to the drm versions on Kindle, and iBooks syncs notes/highlights across devices in non-drm Epubs just like Kindle does with its book formats (sans the public sharing of notes/highlights of course). The ability to embed your own metadata once the drm is gone is a nice plus as well.
So does this suggest that not only was the virus created in a Wuhan Lab, it was also signed off by Fauci?
More income means more leverage.
Ask HN: What are a compilers limits on hardware
I’ve noticed in embedded systems, C compilers are primarily used. People often claim this is because a C++ compiler would be too big, the language has more features.

Does this mean that C++ is inherently limited with underpowered hardware. Or even that concepts like OOP make use of virtual tables and other memory overheads. Or is it simply because a C++ compiler is more difficult to implement for a specific architecture, so why bother when C is enough for system programming, etc.
It’s a really terrible index if you’ve ever dig into the criticisms. It’s doesn’t do a very good job of measuring the things it claims to measure.

So you’ve basically argued against a quantifiable measure that is a major determinant of quality of life and replaced it with something worse?
I don’t know whether to laugh or feel sorry for Intel. They are completely detached from the realities regarding the insecurity of both their product and the web.
The Shield is probably the most valuable bit of electronics in my home. It's the right level of complexity for family/guests to consume media. Gamestream, the Plex Server, and the ability to serve as a NAS are big wins as well.
There is no printf because there is no defined behavior.

To call a variadic function, you must have a prototype declaration in scope. (A correct prototype, needless to say.)

A non-prototype (i.e. old-style) declaration cannot declare a variadic function such as printf, so no such declaration can be correct.

If the function is not declared, then a declaration will effectively be assumed for the call, deduced from the types of the actual arguments, and a return value of int. In this case, the function will be "implicitly declared" to look something like

int printf(char *);

but that is not the correct declaration for printf. Therefore, the call has undefined behavior.

The optimizer is allowed to rewrite this to:

puts("daemons are running in your nose");

Likewise, it is allowed to rewrite it to:

puts("Hello World!");
You misuderstood. When the turbo button is pressed, computer runs on nominal speed. When turbo button is un-pressed, computer would run on half of nominal speed.

So, unpressed button makes computer slower, not pressed one.

Source: actually used the button on my 386 SX 20/40 MHz
It's a double whammy on "smart" people, actually. They are usually conditioned by their "academic success" that they are only allowed to have "smart" ideas. So "smart" people tend to play it real, real safe - they don't want to destroy the illusion they are "smart" either in themselves or (worst of all) their peers. A necessary prerequisite to wander off the beaten path is to have lots of "dumb" ideas as well, some of which will turn out not so dumb after all.

Personally I was quickly disabused of the notion that I'm "smart" after I spent 3 years working in a research lab alongside some _real_ genius quality folks. I was also able to discern their weakness that I allude to above. People who are genuinely smart yet not afraid to try dumb things are unstoppable, and I'd say that the latter is more important than the former, as long as you're willing to put in the extra work and are learning something from your mistakes. Yet it's also not "socially acceptable", so we get what we get - best minds of our generation playing it safe instead of going where no one has gone before, and worse - shitting on the people who do from the height of their ivory tower.
It’s GDP not income so not sure what the median would do since that would ignore any distribution through taxes.
Ugh. I own two remarkable tablets (version 1 and 2), and I use them a lot and really like them but I just don’t want another subscription.

Is there a good open source alternative?
I don't think you've been to many bars
Eh, not really. It's complicated. For example, one of the major IP holders for LiFePO4 batteries is Hydro-Québec, which actually had it's own EV program in the 90s, but for political reasons mostly it was dropped (can't have a public company compete against the private sector without businesses getting unhappy). So there was actually interest to mass manufacture these batteries, and just like China it was by state companies, it's just that we shied away from that economic model.

Meanwhile private companies had a choice, either they would go with Li-ion which was also patent encumbered but was very mature, or LiFePO4 which was patent encumbered and very immature, so private industry largely went with Li-ion, with the exception of A123, but even without paying any royalties (they sold them without paying royalties for a fair while) they are 10x more expensive than the Chinese ones.
The most terrifying thing (2021)
> As for things like plywood that use glue for the laminations...glue is the most expensive and important part of the product

I've been using a lot of MDF lately, and it's interesting to think that it's just sawdust and glue. It makes me wonder: are there other fibers which could be used in a similar process which would yield better materials than MDF?
This is a much better idea than the one I had.
It may be common but it's not technically allowed. Apple forbids apps that are mere duplicates of a website. As with most things App Store, the rules are enforced inconsistently.
https://news.ycombinator.com/item?id=28847094
The times I found I used the goto statements are retrials.

For example, if a file is locked for writing, I want to wait for 5, then 10, then 15 seconds, retrying each time, before giving up.

In such case I do not want the retrials loop to be my main control structure.

Instead, I jump from inside the IO exception catch block to the ReTry label, restarting the whole operation.

This makes the flow fairly clean.
Because you are not forced to sell exclusively at walmart. You can sell your product at any store and people can get to it. Because of the walled-garden nature of the iPhone and iPad, the only way for people to get apps and make purchases for those apps is via the App Store. So, in your comparison, you would only be able to sell at walmart.
When I realised that everything following a couple of simple laws was a monad, I started to notice them alot and was also able to implement them.
The tutorials with pictures or analogies like containers only made me confused.
Every one of the three points I mentioned is a thing that has not, in fact, already happened. The vehicles are still more expensive than otherwise similar electric vehicles, and hydrogen is still more expensive than equivalent quantities of electricity; from a given amount of sunlight or natural gas or whatever we can still produce more car-movement via electricity than via hydrogen; fuel-cell vehicles are still more complex and difficult to make than battery-electric vehicles.

You have still not made any actual attempt to address any of these points, preferring to bluster about how people who disagree with you are stupid, ignorant, or insincere.

I am curious. Do you have any financial interest in the success of hydrogen fuel-cell vehicles, and/or in the failure of battery electric vehicles?
It's crazy to think of the economic damage that patents cause
Now, if only the same rules could be applied to Congress.

Congress critters giving themselves immunity from insider trading laws was a real sleeve move. I have friends who still believe that we have a fair and democratic government, but I just keep my mouth shut. Let them have their ignorance is bliss.
If Truth Social is running Mastodon-based code on a server, even if it is a private beta, the source code needs to be made available under AGPLv3 to anyone who can access the service.

> d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.

https://www.gnu.org/licenses/agpl-3.0.html
> … a tricky term to use here

Strange to me that no one has mentioned fluency (as programming languages are languages).
Similarly a square-grid works fine with a 3/2 cost for diagonals as long as typical movement is much greater than 1 square per turn (3 squares of movement per turn is the minimum to not significantly privilege lateral vs diagonal), but that also greatly reduces what can be displayed on the screen at a time.