skysight-inc/HackerNews huggingface dataset:
You can use pkg-config for that. E.g. if you want to compile with glib-2.0, you can run `pkg-config --cflags glib-2.0`: -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread (E.g. for compiling to object code, but not linking yet)

Add `--libs` to link against it, too: -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -lglib-2.0

With meson that is basically `dependency('glib-2.0')` that you add to your executable/library.

> you expect your users to install your app dependencies for you, and you have to figure out the path of your own dependencies.

If you use a good buildsystem, it will find those dependencies automagically or you can e.g. use wrap dependencies: https://mesonbuild.com/Wrap-dependency-system-manual.html Those do automatically download the dependencies and compile them for you
Covers or re-recordings in pop music often sound completely different from the original too, of course...
I'm not sure who you're slurring worse here but can you please make your substantive points without personal attack and generally not post in the flamewar style? We're trying to avoid that here.

We detached this subthread from https://news.ycombinator.com/item?id=34857541.
I checked about half a dozen articles about this incident and none of them say the extortionist (Christopher Brady) was any sort of 'creator' or influencer. I can't find any reference to his name anywhere that describes him as any sort of content creator. I believe that claim is mistaken.
Because the requirement defines what is supported not what subset works well enough for a particular individual to be happy enough using it today. As much as I think the minimum requirements are overbearing (particularly the CPU one, there are unsupported models with the same feature set as supported models) I have no problem with the concept of notifying me that I'm outside of the minimum requirements for support. If Microsoft wants to continue expanding the use of things like TPM for portions of the OS or doesn't want to guarantee old instruction set baselines will be used for the entire support lifecycle then I'd rather they be upfront about letting me know.
>I was curious if the compiler will optimize in the short circuit even if you extract the eagerly

It will optimize, but not necessarily what you wanted... Because null dereference is UB (with default compiler flags), it's allowed to elide null check.
Yes it's user error, but it's also a nasty trap for users who are not careful. And it hurts the most, where people are most likely to make the mistake (developers need to publish ports to access local containers on their development machines, but must take care not to do so when deploying to production).
>C++ is a much more complex language than C

While this might be true, generic containers, sane strings, RAII and the possibility of not having to deal with pointers makes C++ an easier language to work with.
You certainly need to worry about much less things long as performance is not a priority.
You are absolutely correct and my comment is exactly backward from my intended meaning.
Very relevant article for the times. I sympathize that nowadays people don't have the same expectations as the previous generations. But pretty much all of these are just learning curve issues. C is fine, it's just very different than today's languages, and I'm glad we're improving the ecosystem.
We’re not talking about the unless case though - as you say the money would still exist in that case.
"format not a string literal" is one warning I always upgrade to an error. Dear reader: you should do this, too!
Yes, and it's only that assertion that is made under penalty of perjury, not the assertion that the targeted work actually infringes on that copyright.
I've always seen AWS as a rather expensive answer to the build. Any other vps provider or even dedicated Colo is likely much cheaper and less locked-in than the amazon ecosystem.

That having been said, the "reference architecture" being offered just feels like a slow day in the AWS marketing department during a recession. Nothing really special about it unless I've completely missed something?
> No, you don't. Once a build dependency is installed, the compiler and the linker find it automatically.

Except when they don't.

And you're left to figure out the right incantation of linker flags to use. Maybe give up and start symlinking stuff around until it works.
An A.I. Code of Ethics: Lessons from Dinner with Stanford’s Top A.I. Experts
I hope the arms race makes us smarter. We're going to need AI to sift through all the BS. My hope is that once we're drowning in deepfakes daily, the average user will come to the conclusion that they can't believe stuff they see, and will realize neither what the read nor hear. The transition will be rough.
Here’s the Midwest.io talk. Shame the conference didn’t last.

https://youtu.be/E18shi1qIHU
Doesn't everyone use editors with spelling checkers built in now?
The substances may overlap in some areas, but the defining goal of two groups are often directly contradictory. The goal of a group whose primary goal is to criminalize abortion is directly contradictory to a group that wants to make or keep abortion legal. The fact that they may both support contraceptives is missing the forest for the trees, the primary goals of the two groups are indeed directly contradictory. Achieving the goal of one necessarily means the other fails in their goal. There's nothing artificial about this.
The “bad stoicism “ examples are indeed “bad”. They are in fact completely antithetical to the stoic ethos.

The “bad” in actual stoicism lies in a common misinterpretation of classical stoic works as a result of missing context.

The context is that Epictetus et al wrote those works in a time when people were normally ruled by “passions” and did not live under the same expectation of self control and rational action that is expected (rightly or not) of the average person in the modern day.

This contextual disparity leads some people to think that stoicism means to completely abandon emotion and emotional self care. This is not only untrue, it can be deeply harmful.

Classical stoic works need to be read within the passionate context within which they were written to be properly understood.
Feels like this is the wrong approach for Meta, given that they're paying creators in various ways now. Turning around and demanding them send some money back to get protection against impersonators is going to seem very unfriendly.
finding good teaching examples is hard - here's one i prepared earlier https://latedev.wordpress.com/2011/07/28/writing-a-real-c-pr... but could not complete as i was struck down with terrible depression, and then my mum & dad needed looking after, and then......

perhaps i will start it up again, now it is just me, and not exactly happy, but not depressed.
Maybe the store was recently opened? This project is from last year, I just finished the write-up now.
My plan is to leave. Pack the bike in the van and drive off.

I don't actually plan beyond that. If previous events taught us one thing, it's that people get stuck within borders with their money frozen, and stockpiling food won't fix that.
Thanks, it hangs after the page seems loaded.

I'm using a Motorola g31w with the chromium based adblock browser 3.2.4

If that helps.
It's not necessarily true that a system that requires a claimant to demonstrate ownership also requires a user to pre-emptively prove it.

You could have a law that provides a safe harbor provision but also requires claims to be honest and backed-up to "some" level of confidence.

The law as it stands does appear to have the possibility of the penalty of perjury for intentional misuse, but, apparently, a comma means that apparently this is actually only applicable to a small part of the claim[1], and as far as I know has never done so. I do not know if this is because the law doesn't make definitions clear enough to demonstrate bad-faith in court (including that comma), or the legal system in general simply doesn't care to enforce the law.

[1]: https://law.stackexchange.com/questions/51541/has-anyone-bee...
Gaming engagement metrics, probably
I think even "better best practices" should be something like this:

Even in case we accidently violate some security rules (like open ports,...) the application is still safe ?
Ask HN: Can we mount macOS clipboard as a filesystem?
In the spirit of this [0] post on HN, I'm wondering if we can mount the clipboard contents as a drive on macOS. This can be super helpful when a website/application doesn't support drag-n-drop, but you want to select a screenshot as its input. Normally, you'd have to take the screenshot, then go to the website/app. It'll then open the file selector box/dialog where you can select the screenshot file. But if the clipboard was mounted as a drive, you wouldn't need to save the screenshot anymore—just take it and have it in the clipboard, then go to the website/app and select the image in the clipboard drive.

0: https://news.ycombinator.com/item?id=34847611
An abundance of precaution seems warranted, to manage public sentiment if nothing else.
Even highly socialist countries like Cuba found that introducing regulated markets was healthy for their economies. Now if 'those who control capital' are themselves a small minority of the overall population who act in concert - well, that's a financial monopoly, and of course there are ways to break up a financial monopoly of this nature, such as re-introducing Glass-Steagall provisions that separated commercial and investment banking, eliminating offshore and similar capital tax shelters, etc.

Note that if it is a state body that controls all the capital and hence controls economic decisions like infrastructure development, this isn't so different in practice from having a small group of financiers controlling all the capital - in both cases you have a centrally-planned economy controlled by a small cabal that puts their own interests ahead of everyone else's.
Those definitely look dramatic, but huge amounts of CA water come from aquifers which aren’t being refilled, and these reservoirs are wider at the top than the bottom, so the height increase of the water may oversell how much of the reservoir volume has been filled.
This has always been a thing, far far before the “latest in IaaS architecture”. The idle polling still exists except they manage it for you. Their margin is then improved if they intelligently reduce wasted polls through a variety of techniques.

However, yes, you don’t pay for this or care about it much. It’s good.
Renaming the company is extreme, but Steve Jobs at Apple renamed projects at least twice (Mac OS 7.7, Rhapsody) to back out of commitments.
ChatGTP, someone gave me this answer. It's about you and the algorithm you run:

"AI practitioners have no evidence because they can't relate the thing they produced to how humans work. And it's false that scientists have no evidence, they don't have much but some of the little evidence they do have demonstrates that humans don't use statistical processes as the core of human language."

Do you think he's right?

> While it is true that the workings of artificial intelligence algorithms and the workings of the human brain are not identical, this does not necessarily mean that AI practitioners have no evidence to support their work. In fact, there is a large body of research that has been done on the effectiveness and limitations of different machine learning algorithms, as well as on their applications in various domains.

> Additionally, while it is true that human language processing is not solely based on statistical processes, it is also not accurate to say that humans do not use statistical processes as part of their language processing. There is evidence to suggest that humans do rely on statistical learning to some extent in order to acquire and use language.

> Overall, it is important to approach these topics with nuance and recognize that the relationship between AI and human cognition is complex and multifaceted.

This blows anything biological researchers can do to reproduce human behavior out of the water by a margin from here to Proxima Centauri and back. Therefore I'll believe the model behind this is a far closer approximation to human behavior than anything every to come out of any other field of research, not using humans themselves. Hell, I would comfortably declare this algorithm (far) more intelligent than our closest living relatives, primates.
Chrome provides basic speech to text for free via the browser's implementation of the Web Speech API. There is a different Google Cloud version, which is a commercial service that provides a better model for more accuracy and optional data logging. The page below can be used by Safari as well, which sends the data to Apple's servers for processing instead.

https://www.google.com/intl/en/chrome/demos/speech.html
An Overview of Rust’s Built-In Data Types
GPTZero cannot work because they don’t have all of the logits used to judge perplexity. They only have the top five or so. Even OpenAI which has the full set of logits is not able to correctly classify all texts. It’s a futile effort.
I would pay a token amount to only show my friends' updates, all my friends updates, in reverse chronological order.
Is it not a fair to assume that Cloudflare, as a company who have made a name for themselves selling various DDoS protection services, realize they're in an arms race with the old school way of handling these problems are are pursuing more advanced solutions before the current techniques are entirely useless?

It would be easy to point to the irony of saying "instead of supporting Cloudflare's proposals for PATs, use their CDN product for brute force protection" but on the other hand, they employ a lot of experts in this space and might see the writing on the wall in an increasingly adversarial public internet.
Still, I guess you are not that certain how many times an ad has affected your subconscious and triggered some change in your commercial decisions later on. The whole brand awareness, etc.
I read the rfcs whenever I need I need some more understanding. They are quite good and readable.
If the default most common way of complying with a law is shitty behavior, then the law itself is shitty. Good laws don't incentivize bad behavior.
If we accept that this is the default state of the Internet (insecure) then I think it is a correct assumption and forces everyone to think twice before exposing anything to the Internet by default. Here the default Docker behaviour was very much at fault but also the assumption that a Linux level firewall is good for Docker. We have docker deployments that are completely hidden behind NAT in AWS and such things are a non issue.
Tons of people use Whatsapp, Imo and other chat to keep in touch with friends and families without the nonsense of social media.
Elon has proven a point.
Related. Others?

Debunking Statistical AI – Noam Chomsky, Gary Marcus, Jeremy Kahn [video] - https://news.ycombinator.com/item?id=33857543 - Dec 2022 (19 comments)

Noam Chomsky: Where Artificial Intelligence Went Wrong (2012) - https://news.ycombinator.com/item?id=30937760 - April 2022 (2 comments)

On Chomsky and the Two Cultures of Statistical Learning (2011) - https://news.ycombinator.com/item?id=16489828 - March 2018 (12 comments)

On Chomsky and the Two Cultures of Statistical Learning (2011) - https://news.ycombinator.com/item?id=11951444 - June 2016 (102 comments)

Norvig vs. Chomsky and the Fight for the Future of AI - https://news.ycombinator.com/item?id=5318292 - March 2013 (2 comments)

Noam Chomsky on Where Artificial Intelligence Went Wrong - https://news.ycombinator.com/item?id=4729068 - Nov 2012 (177 comments)

Norvig vs. Chomsky and the Fight for the Future of AI - https://news.ycombinator.com/item?id=4290604 - July 2012 (147 comments)

Norvig vs. Chomsky and the Fight for the Future of AI - https://news.ycombinator.com/item?id=2710733 - June 2011 (4 comments)

On Chomsky and the Two Cultures of Statistical Learning - https://news.ycombinator.com/item?id=2591154 - May 2011 (107 comments)
The obvious response to this is to make calls to DV hotline services free.

The cost to carriers would be negligible.
The vast majority of uses for this would be to redirect you to the proper domain, which doesn't even need to touch any of your existing tech, since you could use a cloud service to handle the redirect portion.
First part yes, second part not quite. The US Supreme Court is the highest court for all legal matters, whereas the BVerfG only hears cases where constitutional matters are involved. In all other cases the branch courts like BGH for criminal and civil cases are the top courts.

https://de.wikipedia.org/wiki/Oberster_Gerichtshof_der_Verei...
Update: I asked this question from ChatGPT and it gave me the most convincing hallucination I've ever seen:

```
Yes, it is possible to mount the contents of macOS's clipboard as a filesystem drive using a third-party application called "ClipFS". ClipFS is a FUSE-based file system that allows you to mount the contents of your clipboard as a virtual file system in macOS.

To use ClipFS, you'll need to install it on your Mac. Here's how:

Open Terminal on your Mac.
Install Homebrew if you haven't already by running the following command: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/inst...)"
Install FUSE for macOS by running the following command: brew install --cask osxfuse
Install ClipFS by running the following command: brew install clipfs
Once you've installed ClipFS, you can mount your clipboard as a virtual file system by running the following command in Terminal:

clipfs mountpoint
Replace "mountpoint" with the path where you want to mount the clipboard. For example, if you want to mount the clipboard as a drive called "ClipDrive" in your home directory, run the following command:

clipfs ~/ClipDrive
You should now see a new drive called "ClipDrive" in Finder. Any files or text you copy to your clipboard will be available in this virtual drive.

To unmount the virtual drive, run the following command in Terminal:

clipfs -u mountpoint
Replace "mountpoint" with the path to the mount point you specified earlier. For example, if you mounted the clipboard as "ClipDrive" in your home directory, run the following command to unmount it:

clipfs -u ~/ClipDrive
Note that ClipFS is a third-party application and may not work perfectly in all situations. Use it at your own risk and be sure to backup any important data before trying it out.
```

Googling ClipFS returned nothing!
Thanks! This prompted me to look up the flag to enable this. For GCC it’s:

-Werror=format-security
Genuine question, what do you mean by “Musk’s condition”?
A... program? You know that Docker containers are self-contained operating systems?

The whole point of containers like Docker is to separate the allocation and control of resources via a middle way that is not quite virtualization. So a monolithic OS running on one computer is at one end of the spectrum, and a "separate hardware device" accessible by LAN is further along the spectrum, but it's a continuum.

So I feel like Docker's control of the host OS presents a similar surprise to us today as we felt when UPnP was in control of networked devices a few decades ago.

To a Docker or UPnP expert, it's just another fact of provisioning the application's resources. UPnP has often been deployed at the hands of inexperienced users, and so it is with Docker.
Probably, but I bet you'd end up mounting it with FUSE. If you're going to do that, I don't see why you wouldn't just write a userspace clipboard manager instead.
No, you are right as my reply was ambiguous. Inflation is high which (i believe) would usually call for a higher Fed rate as they did in the 80's. As it stands, they are keeping rates relatively low. I just looked it up and Volcker pushed rates up to 20%(!) in 1981.

It is my belief that the strategy is for inflation remain higher in order to drop federal debt.
For now I’d skip worrying about managing dependencies. Just use system libraries or put your dependencies somewhere you can easily find them. Packaging and shipping code to users is a problem for after you are familiar with the language.

Anyway, the typical C program doesn’t pull in a ton of dependencies.
Also, how many kids and the United States have eaten tied pods? Is it anywhere approaching a meaningful proportion?
Minimum requirements don't work like that. If you buy a TV that requires minimum temperature of 40°F, and you find that yours work at 25°F, that doesn't mean the manufacturer was lying.
Use `docker network` or the equivalent in the docker-compose file. Not taking time to think about how the software works is not the fault of the software.
Yea, I have been learning C recently too. I have found the experience quite a lot more enjoyable than I thought I would. I was originally motivated so that I wouldn't be "scared" to involve myself in working with C FFI calls in the various other languages I use.

I've found it just as much fun as Scheme, my favorite language to work in. If you think of Scheme as the minimum-usable implementation of lambda calculus, then C is like the minimum-usable implementation of a Turing machine. They're kind of dual to one another in a very fun way.

The one thing I'm really struggling with, like you, is understanding the C "ecosystem". Anything past Makefiles is so complex, especially for my uses. Using something header-only library like STB or a simple library like Raylib is super straightforward, but figuring out what, when, and how to use things like pkg-config, Cmake, Meson, or other tools is a real headache. Does anyone have any favorite resources?

I'd also appreciate something more detailed about modern C style, when and why I'd need a custom allocator, or anything else you wouldn't see in K&R or other introduction.

PS A lot of people say things like "libc" sucks, you shouldn't be using XYZ function from libc. What should I be using instead? I'm all for learning via implementing things myself, but surely that's not the recommended route for everything in C world.
And I don't agree with that, but we can agree to disagree on that point!

I would expect any transparency requirement to be limited to only services with a userbase over a certain size, since the concern is with very large entities that have an oversized impact on public communication.

So if you're a small community or a startup, fine, no need for disclosure. But if you're a public company or have more than X users, I truly believe these companies have far too much control over public communication for us to be comfortable with the current model of total opacity in algorithmic behaviour.
The internet was more than fast enough for copyright infringement. Copywritten books, images, and even music were commonly shared online before the DMCA was passed.
What is PPT?
Brilliant Labs Monocle AMA Discord (HUD/AR Device)
It's over, they'll do more in the future.
I don’t know what goes into the verification system but if it requires an ID that would prevent most amateur spoofs.
That's the great thing about mainline support, you ignore random trashy images and use generic distro ones.
We ban accounts that break the site guidelines like this, so can you please not?

https://news.ycombinator.com/newsguidelines.html

Edit: it looks like you don't have a habit of doing this. That's good—and I understand that everyone gets activated sometimes. But when that happens, please try to avoid posting like this, or at least make a habit of editing them after the fact until they no longer break the guidelines.
OP is saying that you don't need an explicit cast to cast from a void* (which is what malloc returns).
The broken part of the notice/takedown/counter-notice process is that a takedown requires prompt action, but a counter-notice requires a waiting period. Removing the waiting period and relying on damages to make the copyright holder whole seems like a more fair process.

I think the anticircumvention part of the DMCA is what's really shitty, but that's a tangent.