skysight-inc/HackerNews huggingface dataset:
> docker isn’t the problem here

I mean... if they weren't using docker it would have been fine, but because they used docker it wasn't fine. That reads like docker is the problem. That further layers could have mitigated it doesn't make docker not the problem.
i respect your opinion, but for example you can do some very common tasks using std::string that will be really difficult in c. and much of programming is dealing with strings.

speaking as a c and c++ trainer here.
The flip side of it is exploitative large commercial almost-monopolies which do their best to make you spend money you shouldn't on things you don't need. Markets full of almost exactly the same deal dressed up so many different ways that you don't realise you're going to be stiffed any way you go. Cheap initial prices hide very expensive prices later on etc etc.

The amount of effort to evaluate everything and work out where the "catch" is ..... it's just understandable that we might look for our governments to shoulder a bit of that burden in the critical areas. At least our healthcare systems usually help us that way.
> Add a string type and eradicate the zero terminated strings.

I tried that several times in my C code. I always wound up reverting to 0 terminated strings, for the simple reason that everything else in the C ecosystem is 0 terminated strings. For example, printf.
You used the perfect existing word for crunchiness. Crunchiness.

But this is my personal hill and I’ve already built the mausoleum!
> [W]e assume that the

> term ‘aspect’ denotes an instantiated phenomenal property or quale. The set of aspects A(e),

> then, comprises the phenomenal properties or qualia which are instantiated in the experience e,

> also called the phenomenal states of the experience e. Our question, then, is what it means

> that “any set of phenomenal states of a subject at a time is phenomenally unified”

> [...]

> A promising answer is the

> so-called subsumptive unity thesis, developed in [5]:

> “For any set of phenomenal states of a subject at a time, the subject has a

> phenomenal state that subsumes each of the states in that set.” [5, p. 20]

> According to this thesis, what underlies the experience of the unity of a conscious experience

> is that for any set X of phenomenal states in the conscious experience, there is a further

> phenomenal state that subsumes each of the states in X. This phenomenal state characterizes

> what it is like to be in all of the states of X at once [5, p. 20].

> [...]

> Phenomenal unity gives rise to a mathematical structure of conscious experience.

When I try to state this in natural language I come to something like "Conscious states consist of qualities, or contain qualia. And they are unified _in_ consciousness, meaning that our experience is whole. The mathematical structure is this: For any set of experiencing qualities there is a(n additional) state integrating them all into one state."

When I studied philosophy in the 2000s we discussed such kinds of solutions already in a seminar and found them lacking on two grounds.

First: there is no clear notion of non-conscious qualia, and Ockham help us here to keep it so. But if this is true, each of the integrated states already presupposes the whole (because it is already conscious, consciousness is more the medium of qualia), which then cannot come after them to unify them. Unless one wants to assume that a lot of conscious splintered experiences are integrated into a whole later. That would be even more questionable, because who experiences them?

Second: The integrating state needs another integrating state to integrate it into the whole of conscious experience etc. ad inf. Unless it is a state that integrates itself into the whole as well, which would just be a sleigh of hand - because exactly that is the riddle that a mathematical structure must overcome to be about consciousness. The self-reference, the self-presentation of consciousness. Apologies for lacking the proper terminology here.

edit: formatting
Library of Congress Digitization Strategy: 2023-2027
clickable:

"Welcome back to C++ - Modern C++" https://learn.microsoft.com/en-us/cpp/cpp/welcome-back-to-cp...

"21 New Features of Modern C++ to Use in Your Project" http://www.vishalchovatiya.com/21-new-features-of-modern-cpp...

"What is modern C++"? https://www.reddit.com/r/cpp_questions/comments/tgs6ir/what_...

"C++ is the next C++" https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p26...

"modern c++ features" https://github.com/AnthonyCalandra/modern-cpp-features

C++ 23 to introduce module support "https://www.infoworld.com/article/3662808/c-plus-plus-23-to-..."

"C++ 2023" https://en.wikipedia.org/wiki/C%2B%2B23
Portswigger's top web hacking techniques of 2022
>> If the seller is a private investor

This case is not of interest

>> If the seller is the US Treasury

This case IS of interest

>> Recall that, unlike the Fed, the Treasury cannot issue newly created money

This is where it begins to unravel and fall apart. What you say is true in theory only, it’s not true in practice:

The fed finances the primary dealer banks that participate in treasuries auctions - it accepts treasuries as collateral for repos.

The primary dealer banks are obligated to stand ready to purchase treasuries and the Federal Reserve ensures there are sufficient reserves to do so by supplying them through temporary repos (a matched purchase of Treasury debt with a requirement that the seller must repurchase later). While the Federal Reserve is not in that case directly buying the new issue directly from the Treasury, it uses the open market purchase to buy an existing bond in order to provide reserves needed for a private bank to buy the new security. The end result is exactly the same as if the central bank had bought directly from the Treasury.

The fed does also buy treasuries (the fed holds around 10% of treasuries issued - https://fred.stlouisfed.org/series/TREAST).

EDIT: moved paragraph for clarity
That's why it's so convincing!
Skype, Spotify. But both grew with SV venture. EU venture is not as good for early companies because they are much more conservative.
thats a really weird take. the whole point of developing and using infrastructure projects like docker is to package up best practices and let other people leverage them without becoming experts themselves.

maybe its fair to say that we shouldn't attempt to find an individual to blame. but that doesn't mean docker as an organization didnt screw up here
Here in the U.K. scooters are only legal in specific trial areas and when hired from a company (normally one per city), which vets that the hirer has a driving license, and this ensures the person is riding them with insurance. But there are lots of people using privately owned e-scooters illegally - I live not far outside a trial area and regularly see people on them. This is despite a risk of large fines or even losing your driving license (most people need 12 penalty points to be banned from driving and being caught on one of these is 6 points).

I would be interested to see how profitable these startups are in the face of competition in this direction, because it looks like here there’ll be a liberalisation of the rules at some point. For e.g. I know a couple of people who commute on them, but it would seem to me to make sense for them to just buy one and charge it at home/work if it was legal.
The Iowa Type Theory Commute Podcast: Verified Memory Management
Reminds me of the browser plug-in that automatically downvotes HN comments that begin or end with "LOL."

The same plug-in that auto-downvotes comments that start with "So..." or "I mean."
I have three bikes with electronic shifting in my basement. None are “ultra high end road bikes”.

Shimano also brought electronic to their 105 line and SRAM has it on Rival. Neither is high end, never mind ultra high end. I’m not a MTBer so I’m not aware of how that market is, but electronic shifting is definitely prevalent in road, gravel and cross.
There’s plenty in California, just not a reasonable commute to the Bay Area if you need a good job.
If MS BING AI is acting like that because it's based on GPT4, I'll stick with GPT3 (or perhaps GPT3.5) for now.
Might be able to use xargs
"When I containerized MongoDB, Docker helpfully inserted an allow rule into iptables, opening up MongoDB to the world."

Yet another reminder that the most important ability in systems engineering is good judgement.
Thanks! I had a working version a few years ago, but started a complete rewrite 6-ish months ago, mostly working on weekends.

> Was it more something you built for yourself, or did you have some feeling there would be an audience for this on HN (or elsewhere)?

It was 100% for ourselves at the start, but figured others would love it too, so second time I built it to scale. HN is not especially our target audience, but wanted to show it off, stress-test and get at least some outside feedback. :)
Maria Renard’s Revenge
One single change could have made the DMCA better: Only allow copy "rights" to be assigned to real persons, and grant the original artist a permanent ownership (if I take a photograph I can sell or give you a license to use it, but not in a way that prevents me from continuing to use it). This prevents wealthy classes from financially bulling regular artists out of their own works.

For a large production like a film, that may mean splitting the rights up fractionally to thousands of different people. This would prevent the kind of unilateral rent seeking that squashes artistic creativity - getting a thousand regular actual artists and normal people to agree to sue a harmless fan project is much less likely than an executive suite.
The context here is external queues like kafka. If you're writing stuff to a queue in your web app then it must be a relatively small load. This is different.

For analytics databases the batch ingestion requirement are usually so big that you have to save it to the file system hence the need for an external queue.

Heap allocated queues are different, at that stage I would say that it's in "processing" already and popped out of the external queue.
Wow, I'm a huge fan of taking these types of photo but never knew what they called until now. Here's one I have mounted under 1 inch acrylic and hanging on my wall: Night Time On The Estuary https://i.imgur.com/MLtm7dO.jpg

Crossing The Bridge: https://i.imgur.com/403oHiv.jpg

London Tour: https://i.imgur.com/2uwmseH.jpg

https://i.imgur.com/x4C0GSE.jpg

https://i.imgur.com/BmPd4bE.jpg
I don’t know if every VC had an unicorn at least once in their portfolio, but for early stage investments to be a good idea they just need to beat consistently any other investment opportunities.
It used to be their motto. It's now a footnote in their code of conduct.

Don't Be Evil was relegated to a weird basement desk and had its stapler taken off it back in 2018.
They'll just run the money through one of those mixing services and you'll never know where the money went.
"Drugs shortages, crazy inflation"

Sounds precisely like Czechia right now.
Please don't take HN threads into hellish flamewars like this. It's not what this site is for, it destroys what it is for, and we ban such accounts.

https://news.ycombinator.com/newsguidelines.html
I read that batteries can last for dozens of miles.
That doesn’t really make sense. I think the linked argument is persuasive but it has little bearing on the situation at hand. (By the same token you could argue making that argument at all – thus providing this approach as a solution to problems to the long term memory of large language models – means you have least. This is getting into Roko’s Basilisk territory.)

What you arguments amounts to is making it impossible to write critically about LLMs. Because writing “yeah, Bing did some weird shit but no, I can’t show you the transcript” just doesn’t fly in the real world. That won’t reach those who ultimately actually have power over it (companies and society at large).
If you’re talking DuraAce/Red then yes. Otherwise it does not truly qualify as “very very high end” or even “high end“ for Rival/105.
It's gonna be destroyed once statues are found inside
or in c++, simply call getline? i haven't traced thru your code, but i would not be surprised if there were errors in it, having written similar stuff myself.

compare with using std::string and std::getline - easy to use and battle-hardened.
Most children dont think orthogonally.

"Fat" is an insult. It isnt hard to understand. Is it factually true that an obese person is 'fat', sure. It is still generally regarded as an insult.

Most of these replies are coming from idiots. This is both factual and an insult.

I havent made any remarks defending obesity or suggesting we need to curtail efforts of obese people to control their weight

Calling a character in a kids book "fat" doesnt help kids stay healthy and fit. Insulting and shaming kids doesnt help them stay healthy and fit. Their parents probably feed them garbage and have made poor lifestyle decisions.

It is really simple.
You misunderstand the security implications, so making categorical statements like that isn't useful. While random running processes may be on a developer's machine, that's not at issue here.
We typically calculate payback period using all go to market costs (sales + marketing + CS), but not product development or any COGS (which includes things like AWS costs).

Again, it's not a management report. You should use it for prioritisation. For example, all our go-to-market is very country-specific. So we can look at the payback period for different countries and compare how well they are performing, and that tell us which ones we should invest more into.

Every business should do it differently, based on which expenses are fixed or variable for them.
Fail2ban is a good mitigation strategy, blocking the IP address after N failed attempts (obviously, it does not protect completely from a determined attacker controlling a network of bots but it raises the bar significantly)
I'm out of the loop on that one, what are you referring to?
Can someone tell me what the hell they use ChatGPT for? I tried it a few times and it always confidently gave me wrong results to basic things. What is this thing supposedly “disrupting”? Is it really just marketing cranking out metric tons of spam blogs?
IDK about the UK, but in Czechia, we had a shortage of, among others, antibiotics, only very recently alleviated.

At the worst times, you could phone to thirty pharmacies with a relatively standard recipe (Augmentin etc.) and be turned away everywhere.

Been there, done that.
> C’s portability is a joke between #ifdefs and #endif.

Ironically, I just spent a couple days trying to get the C11 Standard .h files on various platforms to compile with ImportC (D's C11 C code importer). Every single platform D supports fails to have a way to compile their .h files using a Standard C11 compiler, each in its own unique, peculiar ways. They all rely on their own C compiler extensions.

Some make an attempt with #ifdef/#ifndef to be portable, but they all fail.
OR you can work out your architecture well so that you don't have to worry about other use-cases :)
> They do not; there are studies which Chomsky cites involving trying to learning "impossible" non-structural languages that give strong evidence that this is not the case.

I was looking for these studies. I found some similar stuff by Jennifer Culbertson, along these lines https://www.annualreviews.org/doi/pdf/10.1146/annurev-lingui..., but didn't quite know what to Google. Can you point me to something?
That's unfortunate. But saying that mobile lacks ad blockers is a bit disingenuous given that the largest mobile platform has a very good ad blocker.

In a similar vein, the world does not lack ICE cars because a minority of them are electric.
Lastresort(1) – Base 256 codec with easily typed words, version 0.4.0 released
is it your daily driver
Sure, I guess by average I just meant shorthand for some sort of measurement for making decisions about resources allocated to your queues. Median, mean, P99, whatever is useful.
It's also important to note that underground aquifers that are drained compact/settle, and when they do so, that aquifer will never regain that capacity.

The huge draw-downs caused by industry and especially agriculture trying to grow things in areas that don't have nearly the water to support such crops, is doing irreparable harm to the planet. Shrinking aquifers dramatically reduces that area's resiliency to drought.
Really great feedback, I hope it makes it to the module author.
My favourite 3 lines of CSS
Do they demonstrate creativity, or is that just us romanticizing it? Maybe these games really are just reducible to numbers at the end of the day.
None. Ethical choice. Stock market is little more than gambling these days. Does very little to accurately represent companies, is mostly just a bunch of entities bigger than me manipulating it to bleed money out of retail like myself.

Pretty much is just a vessel for folks to try grow wealth, which is a race to the bottom (growth for growths sake). Basically does little more than promote the divide between rich and poor for society these days. Not something I need to participate in.
You still haven't defined what "heading in the direction of empty" means. Like I said, your queue can't be decreasing in size over its history, and it cannot be decreasing in size most of the time either, if it started empty.
Not really. It's dubious at best for applets; I haven't used it, but I don't know of any mechanism in the applet environment that prevents libraries from accessing the same APIs as main(), and executing the same side effects. Outside that context, I know there's no such mechanism. Libraries can open whatever files and sockets they feel like, no capability-based permissions required.
Thank you for putting some perspective on construction and VC. I’ll check out your recommendations since I am eager to learn more.
Just because something’s a mess doesn’t mean you can’t make it worse.
ChatGPT's Top Swear Words
What do LLMs produce that counts as non-language?
Because GPS has never been shut down, to my knowledge.
Definitely. I'm just so used to the git pipeline flow that it would break my usual flow a bit too much :). That's why those new tools just make it so amazing! Especially combined with better and better ISP
Software following the path of least surprise is a good rule of thumb.
It helps because the cost of impersonating wont make sense for a lot of people
In that context, I can recommend reading 'Technology Strategy Patterns: Architecture as Strategy'
Tektronix Products in Movies and Shows
Am I missing something? The article wrote:

> When I containerized MongoDB, Docker helpfully inserted an allow rule into iptables, opening up MongoDB to the world

But the blog post doesn't mention how Docker "helpfully inserted an allow rule". Is this because NewsBlur ran the container using the -p 27017:27017 flag without reading the docs around what publishing a port does?

You don't need to publish a port for (2) containers to talk to each other, they can do that over a private Docker network that both containers belong to (something Docker Compose does for you by default). You can also choose to -p 127.0.0.1:27017:27017 which will only publish the port so that only localhost can access it, something like this is handy if you publish a web port to localhost so nginx not running in Docker can connect to it.
I mean sure, but that seems like a minor thing compared to the codebase passing around void*'s left and right. OP could have tackled that first while sticking with C.

I've had a brief look over the goaccess source code. It's 37kloc of pretty average looking C. If you think that's even close to the most complicated software projects written in C then I don't know what to tell you.
Fairly common, also.

Consider panning, in sports photography, where you track a player in a field while the background blurs from side to side. Also in motor sports, some nature photography, or any time a photographer wants a motion effect, perhaps in street photography, or even snapshots at family events.

Edit: similar effect in travel photos, where someone shoots from a moving vehicle - far background might look fairly stable, near background (cyclists & vehicles) blur, people in your vehicle might be stable, depending on shutter speed and how much bouncing on the road.
What does average mean there? Increasing and decreasing are punctual events. If you mean the 1-minute average can be negative most of the time, that is true, but it would not work for other time horizons, whether larger or shorter.
> But what chatGPT is, is not clear.

I would posit that it is clear. It's simply a whole bunch of toasters put together (that is, a long list of if-then statements). If you're trying to argue that consciousness is merely a bunch of if-then statements, then yes, ChatGPT might be conscious. But then it's going to be much harder to argue that a toaster isn't conscious, which I thought we both agreed with.

> Likely you believe in a soul or something if you don't agree with the logic.

This seems a bit dismissive, and although I myself am a substance dualist (which is generally seen as a metaphysical position), most materialists aren't mechanistic in their interpretation of consciousness.
And I have to say that this "physical" server running and seeing it just makes the experience of web developing much more "real". At least for me :)
If it's really 80M, DS1104Z is still not fast enough. Maybe something with like 350M BW is required.

Also note that many modern scopes have software bandwidth limitation, and many of them are hackable. Rigol and Siglent are famous for making their scopes trivially hackable, that's a marketing point, but some Tek and Keysight's also.
How does locking a account after failed attempts to access it make sense? By failing to access the account I have proved nothing besides that I know a username (which is usually not secret).
That's still a market economy rather than a command economy.

If you want, I can point at gazillions of other industries where markets have led to obviously suboptimal outcomes. Command economies have major problems and may be worse in almost all circumstances but "markets make everything good" is just observably false.
Somewhat. But even if you (perhaps rightfully) roll your eyes at startup growth at all costs approaches, the thinking around cash flow at a VC-backed startup should often be different than that of a florist funded by savings, a bank load, or friends and family.
Yeah, I thought you couldn't cite any data for your claims. Nice work adding in some whataboutism to distract, though.
Toyota Research Institute SVP on the difficulty of building a perfect home robot
Do you grok </FoO ThE bAr/>?
How does getline handle the out-of-memory condition? How do I avoid leaking memory – is that handled by std::string's RAII destructor? To detect the end-of-file condition, there's something about a failbit, but I'm only four pages of documentation in, so I don't know what that is yet.

What would the equivalent code look like in C++, handling EOF and OOM conditions appropriately?
There aren't really any rural areas in Europe, by American standards.
He was also a major figure in the development of Usenet, for those who are old enough to remember when that was a Big Deal.
This is how that document used to begin:

> Preface

“Don’t be evil.” Googlers generally apply those words to how we serve our users. But “Don’t be evil” is much more than that. Yes, it’s about providing our users unbiased access to information, focusing on their needs and giving them the best products and services that we can. But it’s also about doing the right thing more generally – following the law, acting honorably, and treating co-workers with courtesy and respect.

The Google Code of Conduct is one of the ways we put “Don’t be evil” into practice. ...