skysight-inc/HackerNews huggingface dataset:
> Bjarne's book seemed to be a comprehensive introduction and I'm currently going through it. I found that adding "using namespace std" at the beginning of the file reduced some of C++'s syntactic overhead that a beginner such as myself has to account for. It allows me to focus on the essential by learning the programming principles, rather than getting stuck on the syntax and having to (annoyingly) repeat std:: every line.

That's a false dichotomy. You are free to add using namespace directives in scopes that aren't propagated to other components, such as private headers, source files, functions definitions, etc. including using namespace directives in interfaces is a notorious source of problems.

The problem with Stroustrup's pedagogical style is that it conveys to newbies that this approach is the right way to write code although this is a known source of nontrivial problems that will leave any newbie stumped.
Businesses have basically two kinds of products : stock and what they say they actually make. The latter is domain-specific; you always would need an in-house expert as a leader to do it well. Selling stock is more general; an MBA from GE can do it effectively for Boeing or any other company. Thus in a world where CEO's hop around companies at the behest of Wall Street, stock promotion will always get more focus than the actual business. The incentives are broken and since Wall Street won't fix it all on it's own, that leaves Congress, which isn't any better.
https://wikipedia.org/wiki/REPL in context of http interaction
maybe it's not has full REPL possibilities but it is kinda of REPL..

I'm not good in invention of project names!
Its crazy how many people don't understand this. I can't believe how many people think they could predict the market with candle light sticks or whatever. If a method for predicting the market is so readily available that someone is selling it to you, it eouldnt work!!
I only looked at the Gwent data in 2022 and it had all the assets

Around 45gb src for a 5gb game (pc, android, ios)
EWS is the only realistic way for "not Outlook" to work - MAPI is not exactly an open API.

When EWS goes away so will rather a lot of customers, probably not enough to dent the bottom line (initially).

Then it becomes apparent that all email is equal and Exchange online becomes a footnote in history. Microsoft used to do email and then they shat the bed. All a bit embarrassing on the surface but not really.

Running email systems is a right old pain when all you really desire is data (and metadata) to mine and flog on to other data fetishists. Email is generally rather static and rather large in storage terms but it can yield gold from personal exchanges.

Ideally you get someone else to take the pain (AWS, Google and co - yes they get to mine but they bear the costs too) but ensure the marks use Outlook (and they do).

Then you change Outlook (loving the new Electron version) to store all credentials in your cloud. You use those creds to mine data within email held on other people's clouds. They front the cost of storage.

Smashing.
What Is 'Lived Experience'?
Who the fuck cares? Exchange is dead. Office 365 is where its at. Move on Thunderbird team.
Energy drink habit is really hard to deal with...
it's a two line script running periodically. the first line is docker the second is nginx -s reload. As /etc/letsencrypt dir is mounted from nginx into certbot, certbot upgrades that, nginx reload picks them up. Easy as pie.
Let's poke this, how would you teach how to think?
Automatically unskew the results after grading based on this finding?
I don't think life has no sense of progress.

I've been fiddling with motor vehicles on and off over my lifetime (mid fifties now) and progressed from simple tune ups to now re-building engines. It took a long time to get the "feel" of what's right and one outright failure. But I can see the progress I've made over that relatively long space of time in that I understand much better what I'm doing and why, what is OK and what needs replacing. This progression has always been confined to the vehicles I could afford (and sometimes by necessity for that reason) but it's still there. If it was a video game the progression would be marked by the prestige of the vehicle but it isn't a game.

I can see progress in my work. I'm a much better programmer now then when I was 20. I write a lot less code, it's more readable and structured in a way that makes sense rather than just works.

I guess these things are elaborate Skinner boxes in themselves, but there is no reason you can't find progression and meaning at a meta level even though you have a boring job and can't afford to play with Ferraris. It's just that you have to find it for yourself. Nobody is going to be able to do that for you and it takes a conscious effort rather than just expecting it to happen.
> That's a more fair claim, but both goes without saying (because it's what we're talking about) and is still misleading

Calling the truth misleading feels pretty 1984 to me but ignoring that for a moment. The truth is that Netease & Blizzard had some sort of disagreement resulting in all Blizzard games being yanked from China. It didn’t matter that Blizzard had a HQ there (which netease live-streamed the destruction of 1) or that they had nearly 2 decades of history of the “good” behavior you mention. At the end of the day Blizzard was forced out as soon as the partnership with the local Chinese company ended. Or in keeping with my hyperbolic scenario as soon as the local “mobsters” stopped getting their cut.

> That's true for a lot of other companies, everything from McDonalds to Ford. It's just social media companies whining.

> Do basic research and stop watching the news

Well let’s see using the first company you listed as an example McDonald’s is a minority partner in their China business 2.

“Last month, the U.S.-based burger maker cut a deal to repurchase the 28% stake in its China business Carlyle Group took in 2017, giving it a 48% share…. One advantage for McDonald’s: its majority partner in the China business, CITIC, provides top-level political cover, … Having a very powerful Chinese state-owned conglomerate as a partner means they are not going to be at the forefront of the geopolitical situation; that is quite important," Yu said.”

> Are you seriously claiming that American companies can't operate there?

That is straw-man & no I’m not.

I suppose at a high level my point is a) Blizzard was allowed there because they paid via the Joint Venutre not because of any “moral” behavior and b) China requires Joint Ventures or other similar arrangements for companies to get access to the China market. For one reason or another China views this as being in China’s best interest. Ok so be it but one shouldn’t be surprised that eventually another country would enact similar laws that it believes are in its own best interest. It just so happens that America is first with Tik Tok being the concern that forced the issue. So now the “reasonable”/legal deal for Tik Tok (& soon others I expect) will be different. As I said before there is no moral high ground here, just basic game theory.

> some of you really can't be helped

While this is probably not over the line. It’s best to try and refrain from personal attacks or anything approaching it. We just happen to have differing opinions on this topic and that’s ok. In fact we may learn something by discussing, otherwise what’s the point of commenting?

Sources
1: https://gamerant.com/netease-livestreams-destruction-chinese...
2: https://www.reuters.com/business/retail-consumer/lovin-it-mc...
MITRE Response to Cyber Attack in One of Its R&D Networks
> Are you seriously implying copying a pointer makes C++ like python or visual basic in speed?

No, but I get the feeling you really do think that "copying a pointer" is somehow what's at stake here which suggests you've badly misunderstood how move works on C++ in general.

> Show me any program anywhere, any github ticket any performance profile where a C++ move is somehow a performance problem.

There's a CppNow talk from 2018 or so in which Arthur demonstrates a 3x perf difference. That's obviously an extreme case, you're not magically going to save most of your runtime by fixing this in most software, but it shows this is a real issue.

Since you're the one who believes in "extreme performance" you're probably surprised fixing this wasn't a priority. But P2137 gives a better indication of the status quo, or rather, what happened to the paper does rather than what's inside it. You can read the paper if you want (if you don't recognise at least most of the authors that means you're way past your depth for whatever that's worth) https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p21... -- WG21 gave a firm "No" to that paper, which is what it was for. C++ is not a language for "extreme performance". It's a language which prizes backwards compatibility. The authors, or rather their employers, needed to be explicitly told that. No, if you want perf you are in the wrong place just as surely as if you want safety, use a different language. C++ is for backwards compatibility with yet more C++.

> It doesn't sounds like there is some niche rust forum where people are looking for anything, no matter how far fetched to pretend C++ has a performance problem.

Indeed, this isn't the product of a "niche rust forum". It's WG21, the C++ Standards Committee.

I think the problem is on your end, C++ demands a very high price in terms of safety, ergonomics, learning curve - and to some people that means it ought to be really good. Otherwise why such a high cost? Those are the same people who figure if they paid $500 for a T-shirt that must mean it's a good T-shirt. Nah, it just means you're a sucker.

> Why aren't codecs [...] written in something else?

This is especially frustrating because C++ is an incredibly bad choice for this work, as you'll have seen with the incidents at Apple. Nobody should be choosing the unsafe language with less than stellar performance to write codecs in 2024, and yet here we are.

And yet, most of the time when somebody even realises they shouldn't write codecs (and file compression and various other similar technologies) in C++ their next guess is Rust which while obviously an improvement over C++ is hardly a good choice for this work either.

The sad truth is that often it's inertia. We used this crap C++ code in 2008, and we re-used it when we refreshed this product in 2018, so it's still C++ today because nobody changed that.
The criminals doing crime and the people who enabled them in the name of inter-ethnic conflict.
that sounds really bad for everyone collecting rent
The main comparison points for the rural areas and the Native Americans are:

- Both groups had pressures, albeit to very different degrees and methods, to remove rights and land. We see that rural populations are losing farm land due to the way the market treats commodity crops and the way the government subsidizes - get big or get out. Many people in rural communities feel ignored and even mistreated by their governments on a variety of issues, including things like eminent domain, property rights, due process, and constitutional rights, especially the 10th and 2nd amendments. As urbanization increases the rural areas just have things pushed down their throats. While reservations have a lot of autonomy, they miss out out on a lot of programs and incentives due to having almost no representation at various levels of government.

- The general attitude towards each is that they are dumb, superstitious/religious, and they should stay in their backwater areas if they don't want to get in line with progressive agendas. That it's their own fault they're choosing to be poor by not moving to the cities, or they don't deserve the same sort of opportunities in their area.

- There has been animosity towards both groups. We've had presidents make fun of both groups. While the Native Americans were targeted with more active methods of elimination, there are passive methods of eliminating people - most of it unintentional. If you eliminate enough opportunities the people have to move, as we've seen with the increasing urbanization. It can be hard to believe that things like free trade (elimination of many factories) and elimination of fossil fuel industries without any geographic replacements aren't politically strategic.
ME: How can I get you to fuck off and leave me alone?

META AI: I understand that you may be frustrated, but I'm here to help and provide information. I am not capable of taking offense or feeling emotions, but I want to assure you that my purpose is to assist and provide helpful responses. If you have any specific questions or topics you would like to discuss, I am here to help. If you would like to take a break from our conversation, I understand, and you can always come back when you are ready. Please feel free to ask me any questions or clarify how I can assist you further.

There you have it. Meta AI is a stalker.
Show HN: Askthepdf.ai
On Android, I think you can ignore the app store. I have never agreed to the ToS so none of the google’s services work on my phone, and I never used google account on the device. The play store is unavailable, yet I can install programs packaged into APK format.

BTW, I use VLC-Android-3.5.4-arm64-v8a.apk to listen to internet radios I’ve subscribed. Very few players support M3U files with streaming URLs inside which include API key to authenticate. VLC does.
First llm users will be willing to pay to not use
Next they should feed it Metasploit and everything posted to PacketstormSecurity if it is legal to do so. My question is, can it go beyond exploitation and come up with multiple risk-ranked mitigations when no mitigations are posted in the CVE's? e.g. Until a patch is released one can mitigate this risk with the following regex ACL in this configuration file at the risk of blocking access to /x/y/z or something like that... Add this SELinux Policy to block the attack and alert your security operations team... Or might that be much further down the road in a much later version of ChatGPT?
This is true, I have tested this with multiple veterans and none could tell them apart
additional statement from CTO Charles Clancy and cybersecurity engineer Lex Crumpton:

https://medium.com/mitre-engenuity/advanced-cyber-threats-im...
> If this happened and if you included that specific header, you would get a simple compiler error due to ambiguous methods. Then you can simply add a namespace somewhere and move on.

...or, hear me out, you can not make the mistake of mindlessly adding using namespace directives and therefore ensure neither you nor any consumer of your code will risk.having to handle perfectly avoidabld name clashes.

And by the way, name clashes will also happen if you include code from two or more dependencies which introduce ambiguous symbols. This is code outside of your control.
I hope this puts the claims that the "blue whale is the largest animal to ever live" to rest. We simply do not know.
Interesting, only 5 mil a year aipac spends? I honestly thought they were much bigger.

Here's a different source with them and "affiliated PACs" spending 100m in a single election cycle: https://newrepublic.com/post/176959/aipac-spending-target-sq...
interesting thought... i've never think about TUI in this perspective
LLMs are not going to be a solution. LLMs have absolutely no concept of truth.

And not everything has an objective solution. Even those that do often have a process associated with them and factoring in that work/process is an important part of grading. Reducing that subjective grading process to only objective solutions being right is grossly reductive and disproportionately punishes students who have the process right and understand the material but make small errors. That's exactly what you don't want to do.

---

Instead the solution is to make sure each assignment gets multiple eyes on it and in a random order. Then to document biases and trends in biases so that the TAs and professors can be aware of them and mitigate them.

It's a process problem that can only be solved by a process solution. Replacing the graders with technology or reducing problems to a binary right/wrong will never ever solve this and in many cases will end up being more harmful than the biases they claim to solve would be.
I think Ground News is very interesting but seems very focused on the biases of other news sites, with summaries of what other news sites are saying.

I had imagined trying to become a primary source, but Ground seems to have taken a very sensible approach and built upon everybody else.
The heat, noise, and space consumption would be unbearable, I think.
People have also been using the fact that commit data inside of PRs can never be deleted (you must keep the URL though), to distribute pirated content (or links to it) for years now.
> looks like it was published by the Microsoft team

Right, a simple way to make these URLs seem less associated with the project in question would be to host them at www.githubusercontent.com (a domain they use for other user-generated content, IIRC). I guess current setup includes an easy way to auth access to the files: if you have access to the repo that's right there in the URL, you can download the file; if it's a private repo that you don't have access to, you get a 404/403. That might save them from a separate metadata lookup.

This is one of those things that seems obvious now, but I could easily see how this could happen, and that kind of URL structure is something I could see myself devising, thinking it's an elegant way to tie the file to other repo access rules.

But really, it's surprising to me that GH keeps around files even if you cancel or delete the comment. Perhaps nowadays they don't need to care that much about storage costs, but back when they added that feature I imagine they might have been more cost-conscious.
> This is project was created when I needed something like REPL for http request in terminal, there are many great tools exist: Postman, Insomnia, httpie, curl etc but i wanted something little bit different, something lightweight, simple and fast, something like REPL when I can quickly modify request, send it and see the response with all the details. I wanted such utility with minimal magic, ideally without any black magic under the hood.

> The project has no ambitious goals. It is not killer of Postman or httpie or curl. I hope you may find it useful.

https://github.com/1buran/rHttp?tab=readme-ov-file#introduct...
A Trivial Llama 3 Jailbreak
Enormous discussion at the time (2021)[0](1683 points, 626 comments)

[0]: https://news.ycombinator.com/item?id=26422799
What do you think all these Ai agents are doing when they are rerunning the prompt over and over with the error output? Very ineffective search.
If you work for NASA it's probably quite common to think about aliens more than the average person.
It’s different pools of money.

Further I don’t live in a city so my local government has zero interest in public transportation beyond school buses. We just don’t have the density where it makes any sense. When I did live in a city the issue wasn’t drivers it was the inability to scale roads for local demand. Self driving cars don’t change anything about that equation.
There were 5882 cases of CJD between 2007 and 2020 in the United States (not specific to CWD though). Nonetheless, when I learned of that tally a few weeks ago I didn't expect the tally to be so high. Public health messaging had conveyed to me that CJD was an extremely rare occurrence in the US.

A larger-than-expected percentage of people Dxed with CJD are elderly (mid-70s to mid-80s) women which leads me to wonder if medical equipment was used when delivering babies exposed many women? I wonder if their children (who were being delivered) were also infected? In deer the mother-offspring infection route's quite well studied, but I'm not well informed about the human offspring route.

---
Full paper here (not free): https://jamanetwork.com/journals/jamaneurology/article-abstr...

The article in JAMA, above, has been summarized on this page: https://www.neurologyadvisor.com/topics/neurodegenerative-di... I'll paste the summary text below:

The incidence of Creutzfeldt-Jakob disease (CJD) has risen considerably from 2007 to 2020, particularly among older women, according to a research letter published in JAMA Neurology.

The progressive, universally fatal prion disease CJD has been stable in the United States (US) between 1979 to 2006. The most common subtype of CJD, sporadic CJD, tends to affect older individuals. As the global population ages, the epidemiology of CJD may be evolving.

To evaluate recent trends in CJD in the US, the researchers sourced data for this cross-sectional study from the Wide-Ranging Online Data for Epidemiologic Research multiple cause of death database. Death certificates between 2007 and 2020 for CJD were assessed for volume and decedent demographics.

The incidence of CJD increased consistently between 2007 and 2020, in which there were 5882 total cases and 51.2% occurred among women.

[article continues on the Neurology Advisor page]
I don't know of any published numbers about specific user count (would be very interested to see them), but in terms of deployments it's gone from more than half on prem in 2018 to ~16% in 2023. Of that 16%, I wonder how many users are both willing and able to use an alternate client?
Well, what THEY want you to THINK a scientist looks like.
Everything to theatre. Everything is planned.
Shouldn't be serious vulns if they made it correctly. If they didn't, they were there waiting to be exposed eventually and are still the corps fault.
AI accelerator and it is 100% fine you don't, it's, uh, novel work.
The issue is available power is almost never going to be constant enough to directly couple to a load - a cloud passes by and your motor will stall. 1PM on a sunny day, and you’ll be using 1/3 of your power, etc.
Social media has ruined our faith in kindness
Author here. I’m not a native English speaker and don’t claim or aspire to be a “journalist in English”, I just translate stuff that I write in (quite good, honestly) Portuguese to a broader audience.

Your comments were so rude that at first I thought to ignore, but then I decided I’d like to let you know. I’d rather write “incomprehensible English”* than being this mean on someone I don’t even know.

* allegedly; everyone else seem to understand what I wrote.
> We write code once, but read it many times, so longer names seems like a poor efficiency choice.

How can you tell what's the type of an ambiguous name if you have no indication of which namespaces are within scope?

I mean, think about it. If your concern is readability, doesn't this mean it's important to know what code you're looking at?
My point isn't about the career choice. My point is many parents, and probably many more here on HN, may think they can avoid TikToks influence because they don't use it. However it's moot since their peers will have influence, and it starts as young as 1st grade.
I was thinking the same thing. Lots of corporations rely on UPNP for printers and the like, so if you were to embed a UPNP spammer in a malicious invoice...
When you have cried wolf dozens of times 'this time it's different' isn't.
Aren't stock price 'just' a performance indicator, all thing considered?

Hence, aren't people always talking about improving the stock price just targeting the metrics instead of focusing on the interesting part?
The correspondence would have been very smooth and amusing
My first home computer was Z80 based; a Sinclair ZX81

I think I still even have a book on Z80 assembly somewhere. Had a bright orange cover.