skysight-inc/HackerNews huggingface dataset:
I don't fully understand the need or benefit of having free_sized() available tbh.

Spec says it's functionally equivalent to free(ptr) or undefined:

If ptr is a null pointer or the result obtained from a call to malloc, realloc, or calloc, where size size is equal to the requested allocation size, this function is equivalent to free(ptr). Otherwise, the behavior is undefined

Even the recommended practice does not really clarify things:

Implementations may provide extensions to query the usable size of an allocation, or to determine
the usable size of the allocation that would result if a request for some other size were to succeed.
Such implementations should allow passing the resulting usable size as the size parameter, and
provide functionality equivalent to free in such cases

When would someone use this instead of simply free(ptr) ?
> Who exactly are these new C-standards for?

For me and for many colleagues in my lab? C is quite big in scientific computing and signal processing. Fortran would be slightly better, and it is widely used, but not directly around me. The C99 standard, which added complex numbers and variable length arrays, was truly a godsend in the field. I cannot imagine working without it.

If you write a numerical algorithm that needs to be run 15 years from now, then C and Fortran are possibly the sanest choices. If you do something in other, fancier, languages, you can be sure that your code will stop working in a few years.

The new C standards are really minor changes to the language, and they happen in the span of a decade. It is quite easy to be up to date. And in the rare case that your old code stops compiling, the previous (less than a handful) versions of the language are all readily available as compiler options in all compilers. You can be reasonably sure that a C program written today will still compile and run in 20 years. You can be 100% sure that a python+numpy program won't. If you care about this (for example, if you are writing a new linear algebra algorithm to factor matrices), then choosing C is a rational, natural choice.
Maybe, but 2 and 3 are not not in the style of Automattic, WordPress is still open source, and still supports RSS. They are fairly committed to the concept of an extendable and interoperable platform.
These are all syntax though (except perhaps Lua’s coroutines—I don’t know enough to say about those). It’s not the syntax that’s the wonderful part about pipes, it’s the parallelism. See my other post with some Java code in this thread.
Do you mean with a BT keyboard attached to the tablet? One approach is to use keymapper:

market: https://play.google.com/store/apps/details?id=io.github.sds1...

github: https://github.com/keymapperorg/KeyMapper

fdroid: https://f-droid.org/packages/io.github.sds100.keymapper/

It's a very versatile tool, can be handy even if you don't have a keyboard.
It is also possible to use custom keyboard layouts but I don't have a link handy for that.
I recommend this even though it's now 20+ years old, it's accessible enough that you can get a foothold.

Alternatively, get the Black Books for Wolfenstein and Doom, and read them first.
This is interesting. Essentially a reference piece of software where anyone on the network can run the exact same bits (assuming they have compatible hardware). But also the ability to extend or compose where the new system will also have a reference identity.

This may have use in defining standards. You could have a standards authority without any actual standards body. Free but standard.
I think you've exposed the dis-analogy by making this argument.

A magnet is the cause/source/reason for/generator of/<insert verb> of a magnetic field. If you put a test charge in a field you can detect a magnet.

So you argue, no simulation of a magnet produces a magnetic field. I assume you mean that you can produce data which would characterize a field were the real world in the state that you simulated.

Then you say a simulated mind doesn't produce consciousness because consciousness is internal not external. Simulating a mind and interacting with it is just behavior checks.

This doesn't make sense then. With magnets you say, "there needs to be a physical field present." But with minds you say, "there needs to be undetectable internal experiences, just reporting and observing behavior isn't consciousness"

This is a dis-analogy.
> The EVM specifically gives you a Turing complete financial system and, hence, probably a complete expression of operations on financial structures.

Which is nice, but doesn't solve any problems that actually exist. That is the running theme with all of these crypto/blockchain/"defi" projects, because they are created by tech people who don't understand the domain. They just start building all of these things that seem useful to tech people, but completely miss what is actually important.
This applies to editorial statements (opinions, interpretations); but if you're just quoting blunt facts, a primary source is preferable, no? E.g. if you're citing a statistic, it's better to cite the study that supplied the statistic, than to cite a science-journalistic review of said study. You can then cite some statement the review made to put the statistic in context; but that should be a separate, second citation, so that the statistic itself can be grounded in a primary source — especially since science-journalism does not often cite the primary sources itself, making it hard to chase the citation for the statistic otherwise.

Or, maybe to couch this in language more friendly to how a Wikipedia editor might think of the process: if you are already providing an attributed quote of a secondary source; and in the secondary source, a fact is quoted from some primary source without a true citation being provided (only a weak, implicit-in-context mention of the source); is it not better to do the "original research" of figuring out what primary source the secondary source got the data for the claim from, and then putting in a citation for the fact inside the quote, yourself, in exactly the way the secondary source's author likely would have if the format they were publishing in allowed true citation? "Repairing" the citation graph, so to speak, where the secondary source has left a gap in it.

(And this is important to the topic at hand: citing only secondary sources for "blunt facts", where those secondary sources are not themselves expected/required to provide citations to primary sources, is exactly how hoax citation graphs arise.)
> Crypto is very special in this sense.

I noticed crypto's quality of being special is in reverse proportion to the Fed's interest rates. Just an observation.

In all seriousness, the are two real drivers here: 1) speculation 2) money laundering and avoiding regulation in general. These are the things that keep crypto afloat and cryptomaniacs repeating promises of the next big thing that's gonna change everything tomorrow.
The real question is what's gonna happen sooner, Tesla's fool self-driving to Mars or blockchains taking over the world.
The projects of even a normal dev make me feel 1/10x sometimes. Was told I might need ADHD meds to be productive. I haven't gotten to try any yet.
https://news.ycombinator.com/item?id=33694202
Cool way to learn some of these. Does anyone know why "Peru" is #CD853F, a brown?
It has nothing to do with the flag (which is red and white).

(Aside: the word "peru" in Portuguese means turkey, like the bird. I somehow doubt this is related.)
It works well with other Microsoft products that I use.
Yeah, I don't think we read the same article. This isn't a Carmack worship article.
New Interoperable Europe Act to deliver more efficient public services
Honestly whatever it takes to save face I expect.

That said, "well break the rules and just pay the fine" attitudes make my blood boil. And I support ramping up the punishment for premeditated rule breaking.

That's separate from the fact that this rule is cynical and clearly to appease Qatari sensibilities
Langserver.org – Language Server Protocol Implementations
Interesting, how would you define your demographic? I hated the show, my teens hated the show, but we couldn’t help finishing it.
This is a doctrine that's famously ignored by most practicing Catholics. I could write paragraphs of criticism of the Catholic Church, but it's not really any more cult-like than lots of other organizations that people belong to (the most obvious example being the organizations that they work for).
Signal works on desktop nicely, but you still need the mobile app on a smart phone in order for it to work.
If you ever end up doing this project, I find that sometimes it's hard to quantify if something is better when going in the normal-to-better direction, but it's always much easier to tell when something is worse when going in the normal-to-worse direction. So spend a few days or weeks getting totally acclimated to fast response times and then test if you can notice the difference with slow response times.
I literally read this chapter in The Go Programming Language last night after posting this and thought to myself, well, shit, there it is.
Though the factor-checking like verification won't work for “this number is prime” the same as it will for “this number is not prime”. A test that results in saying a number is prime doesn't output any factors to test because if such existed the number would not be prime.

I'll have to read up on the certification/verification process to comment any further though.
I think ticket master attempted to do something similar to what you were saying as mentioned in this freakonimics podcast -

https://freakonomics.com/podcast/why-is-the-live-event-ticke...

I believe the problem they cited with this approach is it provides a poor UX where someone would have to keep checking the site to see if the ticket price has hit their desired target.

It would also still leave room for bots front running although still a better solution since the effects are dampened. Still, it's a lot easier for a bot to watch for a 'good price' to come up than a 'true fan'.

Perhaps to get around that there could also be an ability to make automatic purchases for a user once the ticket price reaches desired target? Something like a batch auction that randomizes winners in a cohort might work.

There are also people working in this area that would like to simply prevent resales. The problem there is it also might discourage purchases since people might be more reluctant to make such a big purchase if there is no way to recoup their money in case something happens that prevents them from going.

Perhaps another alternative to discourage scalping is if there was an identity system that requires each ticket holder to prove their identity. That, however, would also decrease the UX dramatically and would be a tough sell. But maybe the time is right to make such a hard sell?
>"Why LSP?
LSP creates the opportunity to reduce the m-times-n complexity problem of providing a high level of support for any programming language in any editor, IDE, or client endpoint to a simpler m-plus-n problem.

For example, instead of the traditional practice of building a Python plugin for VSCode, a Python plugin for Sublime Text, a Python plugin for Vim, a Python plugin for Sourcegraph, and so on, for every language, LSP allows language communities to concentrate their efforts on a single, high performing language server that can provide code completion, hover tooltips, jump-to-definition, find-references, and more, while editor and client communities can concentrate on building a single, high performing, intuitive and idiomatic extension that can communicate with any language server to instantly provide deep language support."

Related: https://docs.codelite.org/plugins/lsp/
add to that - its not "sleeping" .. it is sex.. sometimes very energetic sex. Sex activity is deeply tied to social constructs, and at the same time powerful forces of the mind and body in a very personal way .. sex activity in a group like that has been the raison d'etre of many orthodox religious orders.. anti- that is, to ban and demolish that, basically.. because it does work.
Oh, boy, Yancy. You reek, ah!
In a website context I think you're wrong, using a scale instead of a crop would result in every image on your page having a different aspect ratio, since the uploaded images probably don't have size constraints.

That would look absolutely whacky. Especially in responsive design, where the aspect ratio of the parent container changes with screen width.

The difference is that thumbnail images aren't TV shows, it doesn't really matter if the image is cut off. Its not supposed to have literal information, its just a contextual hint of what that element is doing / is related to.
Right, so the main road will have a Starbucks off it
Ya for sure. The jsdos guy actually has such a site at https://dos.zone/
It's complicated, so yes because the reasons you state but in a world where significantly fewer people commute it becomes less of an issue and so it's a matter of changing the things we can change.

So yes, wouldn't it be great people lived in denser environments? Oh yeah, but that's not the choice we're making today. The choice we're making is given that lots of people live a 20-60 minute drive from their jobs would we rather they commute into work or work remotely?
> we have enough shows pandering to our male egos that having one fun show focused on a woman isn’t going to upset my balance

That's disingenuous. I reject this show for the same reason women reject a show that fails the Bechdel test. It's full of caricatures of men that exist only to confirm the protagonist's (i.e. head writer's) view that men are either toxic leering creeps, oblivious privileged mansplainers or idiotic adult children.
Programming Is a Pop Culture
It would be impossible for any entity to fraudulently post proof of on-chain reserves today.

Sure, the fraud might fool some subset of extremely uninformed people initially, but someone is bound to find the fraud when they check the chain with one of the hundreds of different open source clients that exist today. Immediately, they would post this astonishing finding on Twitter. Immediately, Twitter would blow up and out them as frauds. Immediately, all of the people who were initially fooled would know that this company is a fraud.
They can be exactly as in the business of governing while paying one set of programmers as while paying another.

Try again.

bonus try agains:

And they have an obligation not to waste taxes on rent.

And they have an obligation to transparency even if currently all fail to meet.
Top Russian official warns of possible nuclear accident at Zaporizhzhia
whoops, thanks

can't delete it now :(
IMO, one of the biggest benefits of "modern" systems languages like Rust, D, Zig is how much easier they make writing and running tests compared to C and C++. Yes, you can write tests for those languages, but it's nowhere near as trivial. And that makes a difference.
Haha thanks! I'm very proud to hear people wasting time on my site. It's a great way to waste time.
Repo Men (2010) paints a pretty good picture of what this will look like taken to it's end.
You wear your watch on your right hand?

Are you left handed? I guess that might be significant for RSI type injuries
will this..... make tumblr the biggest fediverse "instance" like immediately?
Yeah, something like that must have happened.

I was not questioning the legitimacy of the toaster itself. Just thought it would be ironic if they think this is an "original" picture of the earliest toaster because it's grainy and black and white, but didn't realize this particular photo could not have been taken earlier than in the late fifties due to the tie wrap.
> They make $115k a month of employees buying coffee ... parking we have to pay for, or lunch, or snacks

Lol what? Why are they making you pay for these things?
Why is this distinction important to you exactly?

By the criteria you seem to be using, I’m not sure it’s possible for anyone to ever make an informed consent about 99% of anything, since practically speaking there are near infinite possible options available for almost every action, almost all of them impractical or pointless to even discuss, and most of them more damaging than they are worth to even bring up.

For example, it doesn’t seem like a reasonable requirement that someone spends a bunch of time doing cocaine so they understand it, in order to not want to do cocaine.

If the tribe wanted to know more about the big scary machines, they are free to try to contact the folks and learn more.

If they want to stay away from the giant shitshow that is modern society, that’s fine too. I can’t necessarily blame them either!

They don’t need to spend a lifetime learning all the myriad reasons why just to not be exposed to all the myriad reasons why.
The article didn't answer the one question I had. Which is more indicative of a healthier gut biome - a floater or a sinker?
>a lot of data governance was completely compromised and gutted over the pandemic

Can you provide more information for those of us who are interested in the intersection of health and data privacy but don't work in the space?
I'm not sure what the intent is, and what other people do with it, but I thoroughly _love_ having these named colours for when I'm hacking and prototyping. I can just start typing out a colour and autocomplete will show me a list. But I don't find myself ever using them in production.

Also: Finally, a tool to help me decide between greenyellow and yellowgreen.
I like it because it is fast and there is a nice ssh extension. I test code over ssh on one cloud server and then push to another.
I'm in the WG14, and I, like you, only use c89. So why does c23 matter? Well in terms of features it matters very little but a big part of wg14s work is clarifying omissions from previous standards. So when c23 specifies something that has been unclear for 30+ years, compiler developers back port it in to older versions of C where it was simply unclear. It matters a lot for things like the memory model and things like that.
I just launched a charging app. I has a lot of new features I thought were missing in the marketplace. It is on the app stores now! Would love any feedback so I can continue to refine it.
Dudirekta – A Bi-Directional, Transport-Agnostic RPC Framework for Go
Hey HN! I just released dudirekta, an easy-to-use RPC framework that allows exposing functions on both the client and server. This allows the server to call functions on the client instead of just the other way around, which makes it a good fit for implementing bi-directional streams, P2P systems or replacing message-based protocols with something more robust. Its also completely transport independent, you can use TCP, WebSockets or even WebRTC to connect peers (see the examples).

I'd love to get your feedback :)
I like to think about it this way.

The “what” is often timeless and stays the same.

The “how” the what is achieved changes.

I need to get from point a to point b (the what)

V1: walk/run/horse

V2: carriage

V3: train

V4: cars

Etc etc

There is another dimension to this as well.

Sometimes the what has to completely be re-architected since society has fundamentally changed.

As an example:

Consider education (what) this will always be required in society.

A naive version of innovation in this space would be to keep things the same and just change the delivery mechanism (online)

A better innovation would be to re-imagine what it means to be educated/schooled.

The best place to start is identifying the assumptions inherent in the current system.
, and asking are they still relevant?
They are not "singled out" it's just article about new misfeature added?
When I was bored in school I ran down the original source for the claim on the Honey Badger wikipedia page that they can take several bullets and keep coming.

It turns out that the source was a book, which was citing a news story, which was about a letter a farmer had written in. I recall tagging this in the backed with 'weak source' (or something).

Checking back now, the claim has been changed to: "The only sure way of killing them quickly is through a blow to the skull with a club or a shot to the head with a gun, as their skin is almost impervious to arrows and spears."

Which is more plausible a claim than the original, and I'm absolutely prepared to believe killing a Honey Badger with arrows is hard, but the source still isn't actually proving that.

Anyway it was a useful lesson for younger me about Wikipedia.
Just Say No to Unreasonable On-Call
This concept is very interesting. Is there an existing framework that implements this? It would seem there would need to be some baseline tools for development on such a system.

I feel like the tools available for this purpose would need to be more powerful than existing IDE systems in order for it to be adopted on a wide scale.

Is it possible to design such a system without a blockchain?
My understanding is that macOS/iOS HIG specified at some point that search fields should have rounded corners, but other text fields should have squared-off ones.

Yes, the whole thing is super Apple-specific and doesn't make any sense outside of that context.
I enjoyed reading "Holy Madness: Spirituality, Crazy-Wise Teachers, and Enlightenment" by G. Feuerstein. great re-visit of the sometimes ridiculous counter-culture of the 1960s and 1970s West.
Critical in which way in your opinion?
People here are always wondering if I'm still alive. They care so much; it's like my second family!
There's also

It Is Difficult to Get a Man to Understand Something When His Salary Depends Upon His Not Understanding It.

(Upton Sinclair)

Simplified:

Reason serves desire
Actually since Dec. 1 2020. That's when the production beacon chain went live with real ETH, even though the proof-of-work chain was still running in parallel. Coinbase and Kraken started offering it sometime in early 2021.
When I was a volunteer sysadmin, I sometimes used Termux to ssh into the servers I managed. More than once I triaged an incident from the same phone that paged me about it, while I was on a bus or train commuting to my day job.

mosh[1] was especially useful for this over mobile data.

[1]: https://mosh.org/
Windows customers may switch to a third-party Start Menu instead.

The $4.99 applications Start11 and StartAllBack restore classic versions of the Start Menu on Windows 11.
It would seem pretty pointless to try to nail the resistor to within 0% tolerance when the solder bridges, wire that connects them to the circuit will have resistance.
Based on other replies in the thread, it seems clear that some folks do indeed believe that.
This would have been tremendously useful in a project I worked at a few years ago.

It's really a difficult task to parse text at large scale with accurate geographical tagging.
The Generalized Anti-Zombie Principle
>absent a religious motivation (where "religious" itself is a similarly nebulous concept) it's not a cult.

NXIVM was absolutely a cult, despite a focus on self-improvement/ philosophy rather than religion. They had a supreme leader, they cut off the members from the outside, there was a clean ingroup/outgroup and they freaking branded their members. Sure, in most ways it was "just" an MLM but it was also absolutely a cult and it absolutely ruined people's lives in an identical way.

Scientology was a cult even before the point it took on the trappings of religion for tax purposes. It was originally NOT a religion - it was just more pseudo-scientific MLM nonsense. It was still a cult.

Sex cults are also definitely cults, even though the focus is on sex and the leader in general rather than religion.
Interested to hear any answer, my opinion is nothing has. However I think this is a struggle of the domain UML solves, as I am not too sure UML ever established itself as a goto diagram/modelling language?