skysight-inc/HackerNews huggingface dataset:
It’s not true that memory safety bugs only matter in security-critical contexts. If a program segfaults, it’s going to make the user unhappy regardless of security implications.
It's quite ironic that on a page about safety they use an if statement without {} braces:

if(x % 2)
vec^.push_back(x);

unsafe printf("%d\n", x);

Skipping the braces for single line conditionals in C++ is a lazy practice that almost inevitably leads to bugs, like Apple's famous goto fail bug: https://www.synopsys.com/blogs/software-security/understandi... . While memory bugs are difficult to prevent, this particular class of logic bug can be eliminated entirely just by always remembering to write two {} around the statement, so a language concerned with correctness should promote such good practices.

if(x % 2){
vec^.push_back(x);
}
The more complexity you add the less likely the LLM is to give you a valid response in one shot. It’s still going to be easier to get the LLM to supply values to a fixed scheme than to get the LLM to give the answers and the scheme
> Pretty sure megacorps still have their near-infinite databases around

Not necessarily. It's quite possible that, if no one accesses them, they got moved to backups with only one copy, and the backups may not actually be restorable in the case of disaster (it happens somewhat frequently even for backups of data you might actually care about, so imagine the effects of neglect on that).
My late grandmother had some pieces of furniture that were between 300 and 400 year old. We need less stuff and particularly less new stuff. A 400 year-old wardrobe ("armoire normande") is exactly as good as any new one to store your clothes, has much more character, and may still be just as good in the centuries to come.
good observation, motorcycles are definitely the next closest thing as far as complete machine extensions of the body go vs. say, surfing or snowboarding where the body is unmediated by the engine or gyroscopic feedback in its relationship to gravity.

the difference between an animal and an instrument is in the expression of intent that is parsed by another being. the sensors interpreted by a computer are a feedback mechanism more like a thermostat or ABS, but now with AI we're starting to challenge our understanding of those differences.
You seem to think that would affect my statement. Pay attention to what I’m actually saying. I have no opinion on the supplement. It’s still invalid reasoning regardless of whether the supplement is effective.
Those smart people require direction and orders, and are paid as such.

Should they build permanent magnet motors or induction motors?

Should they use aluminum or steel? so on and so forth.

And these decision rest with the C-Suite and ultimately the CEO, and if they make the right calls, the company succeeds, sales increase and the share prices rises, making shareholders happy. If not...

And making the right call depends on the skills of the CEO, in this case both the business and engineering (yes, specifically that) skills of Elon Musk.

He used them, made some bad calls, made some good calls, but over they years made enough right calls to that he was kept on as CEO for multiple years in a row, and he made everyone rich.

Employees were paid, Board members were paid, he should be paid too.

Don't like him? Pay his dues and fire him.
Al Sweigart, Eric Matthes, Reuven Lerner (also in this comment section), and so many folks who've made blog posts, books, code, or something else that's inspired you really do love it when you tell them. I know I'm always please when someone who likes something I've done introduces themselves and says so.

We're all just people. Meeting someone in-person who enjoys something you've done is enjoyable for nearly everyone. Fawning is a bit much, but a "thank you for what you do" is really lovely.

If you're not sure how to "break in": keep the Pac-Man rule that's often embraced at PyCon in mind. If there's an open spot in a huddled group or if the group seems to notice you eyeing them and make a spot for you, join the group. Feel free to just fish bowl the conversation. Most of the time I've seen this happen, eventually someone chats with whoever just joined the conversation. Don't be afraid to either keep fish bowling or walk away if the conversation isn't what you were expecting. Either are acceptable.

You noted that you're afraid of being rude. That means you're exactly the person most folks would love to chat with since you're probably both humble and kind. :)
True. Even were it to have been making a virtue of necessity, he did note "some day these ideas, even if in an altered form, will reappear and with the passage of time will participate in a lively intellectual exchange. For truth ... remains even if the garments in which feeble men clothe it fall into dust."
That’s not true. The halting problem / Rice’s theorem only mean that the behavior can’t be statically determined by the compiler, not that it’s undefined.
You just don't understand the design of Linux and Unix. There is actually a meaningful standard about where files for the system belong, so they can easily be found and shared as needed. They are generally supposed to be untouchable by regular users for security reasons.

Generally you can install programs into arbitrary directories, but I think those directories aren't meant to be moved. That is not a build system or packager issue. To make a program or library load from an arbitrary location, it must be linked the right way, and your environment has to be right. The only semi-practical way out is to statically link everything, which wastes a ton of space and creates other issues related to updating software.
AbuseIPDB APIv2 Documentation
It isn't terribly hard to write the bridge code to lua, just monotonous to translate inputs and outputs from C++.

You throw a lua function into a table (usually tables are used as namespaces and globals are just a table) and then make that C++ translate to your normal one and handle the return value correctly.

The hard thing is building a system to pass in a C++ object in general as that required building a table for each instance that matches its class.
I took a mauser .25 pocket pistol apart.

one of these: https://sportsmansvintagepress.com/read-free/mauser-rifles-p...

Eventually got it together again, but it required assistance from my uncle who had given it to me. He laughed long and hard when i described the predicament, then said "yup, that one got me too". He also rebuilt Mercedes diesels as a hobby, so he was full of entertaining critiques of German engineering.
Many of the criticisms are of the C++ standard library design and implementation rather than C++ the language per se, particularly with respect to undefined behavior. Much of this, in turn, is because the C++ standard library is very old and anything new added to it must be compatible and interoperable with all of the older parts, whether or not it is a good idea. Borrow checking is a separate matter.

Modern C++ provides all the tools to build an alternative standard library from the ground up with most behaviors and interactions being defined and safe. This always seemed like lower-hanging fruit for a first attempt than changing the language.

C++ is commonly used in contexts where object lifetimes and ownership are inherently unknowable at compile-time, safety can only be determined at runtime. This is why memory safety annotations like 'std::launder' exist in C++. Trying force these cases into compile-time memory safety box is a source of much friction when using languages like Rust. They handle the 80% case where compile-time safety, destructive moves, etc make things easy for the developer but then significantly worsen the complexity, and therefore safety, of the other 20%. This isn't necessarily a bad thing but it intrinsically creates a market for C++ which explicitly allows you to handle these cases in a reasonable way.

Systems programming is full of edge cases that break tidy programming language models. This has to be accommodated reasonably in languages that want to wear the mantle of "systems language". Zig is an example of a new systems language that does this well in my opinion.
When have you ever known a developer to ever accurately estimate how long something will take?
My civil rights were recently violated by a Detective Sergeant Supervisor of Orlando Police Department because he did not like that fact that I was meeting with politicians and was also a medical marijuana patient. He, his son, his wife, and his son's friends began harassing me for nearly 2 years after attempted reports to Internal Affairs and the Chief of Orlando Police Department Eric Smith.

The Detective Sergeant Supervisor eventually came into my workplace and Baker Acted me, placing me into a mental institution for 5 1/2 days. The moment I got out of the mental institution I reported him and a few other deputies to the Governor of Florida, Ron DeSantis. Governor DeSantis responded immediately by firing three deputies and eventually managing the internal affairs complaint himself after continued stalking and harassment from two of the deputies, their children, children's friends, their own friends and family members.

He is now indicted and I am pushing for an indictment for his son.
nope. i started using bitwarden years ago.
the Django community is pretty vocal about htmx too (in a good way)
OCR Tools for Mac, iOS and Windows
Yeah like psychology being a different field from physics even if it is running on atoms ultimately.

Imagine if physics literature was filled with stuff about psychology and how that would drive physicists nuts. That's how I feel right now ;)
I think revenue or any other KPIs makes sense when it's easier to drive the KPI the "right" way versus the "wrong" way. As a business grows the low hanging fruit are used up and things start to shift to the "wrong" way being significantly easier. Moreover if the culture is about driving a KPI then, like any culture, it's very hard to shift it and no one wants to eat the political cost of trying to do so. I think executives often forget that people are clever and will game any metric if it's possible. I was at a company where there was a silent agreement across the EMs to over-level engineers. The pay was below competitors at the same level and set by HR but the promotion committees were not run by HR. Every new EM that joined was horrified at first at the competencies of their engineers, but then either learned to play the game or eventually got pushed out by their ever growing enemies.
as an european i can't think of any cheese that is not produced in wheels
Link to the HTML version for those who need it and to help spread the knowledge of the wonderful arxiv ar5iv tool:
https://ar5iv.labs.arxiv.org/html/2011.13127
It's allowed to reject programs that will evaluate an undefined operation on every possible execution. This is pretty much impossible, so no compiler even attempts this.
I mean in the world today. Nazi Germany no longer exists. The US wrecked 7 countries (8 if you count Palestine, where the US funded and armed a literal genocide), and killed over a million civilians in this century alone.
I think a challenge to this evolution path is the same as what motivated Sutter’s cpp2: defaults

I think the premise that a lot of experienced programmers can write good C++ is at least somewhat valid. They know to not use raw pointers, which APIs to use for bound checking, whatever. The issue is that new users don’t, and the defaults are bad.

If I have to write #feature on safety in every file, it becomes possible to forget. Opting in vs opting out
Truly, it has forever made me dislike all other keyboard :-)

The layers (especially mouse layer) is so genius I can't believe it isn't more common
I agree that that calendar doesn't seem great, and the problems do exist. However, adding tons of latency while saying you're not doing so in order to make fun of someone's work is either malicious or extreme lack of competence.

In the video he sets the chrome throttle option to slow 3G, and that adds large restrictions on bandwidth, and a ton of latency. He states that he is not doing so, and that adding latency can't be done in the browser. That is literally what the option does.

If you add seconds of latency then requests will take seconds, who would imagine...
I guess it is that HTMX just feels like one guy's side project. Granted he is great at posting. TFA feels like 37 Signals took the same idea and is trying really hard to sell it.
Also, is SMS even that secure anyway? There are security attacks surrounding SMS (hence why SMS is looked down as an OTP method from security standpoint).
My chairman in undergrad did scientific glassblowing as a hobby. He offered it my senior year as an elective. It filled within seconds.
Obviously wildly optimistic, but 20% improvement in this annual release alone is plenty to celebrate.
If anyone’s interested, I did a deep dive into the Chang’e 6 mission, including clarifying some misconceptions: https://jatan.space/moon-monday-issue-174/
Horses release methane. The scale of horses you would need would certainly be worse. It was a problem in the past at a much smaller scale. Plus with shit you have disease and rats, which means more disease.
Less marketed? I’m flooded with htmx on every social platform.
Nah he was kept on because he became larger than life and gave Tesla huge marketing reach for basically free. What other car brand didn’t need to advertise but yet grew mindshare?
Memory safety bugs are second only to segfaults in terms of importance.
The "once configured" is the problem for me. I would rather be working on the task, not the tool. And at this point in my life, my "tinkering" time is done in other areas.
wait, is that a directory of dynamically loadable web content thats interactive i can surf? please i do not know the old ways, i only know they were forgotten :(
It's not smarts:

I gave a phishing training and just an hour later I almost clicked on a phishing link.

Made me reevaluate a lot of things.
Win95 keeps the start menu entirely in memory. I dare you to prove that it can take a second on any 386+ machine.
Hard disagree. I love the freedom of going anywhere I want in the country on a whim. I love suburban and rural living that would be very hard without extensive roads. I could go on and on about the benefits of cars over public transit.
The "video" is not actually a video. It is composed by a series of images. So yes the video is fast-forwarded.

And the probe will hover above the landing area and use a laser to detect the surface to choose the landing point. It can be seen in the video.
Read the Dwell article referenced in the article to learn that the whole ecosystem of the North Carolina furniture industry is dying out rapidly due to the onslaught of cheap, light, shippable, assemble-at-destination flatpack furniture.

We have a 20-year-old quality sofa from a major NC company that we got reupholstered by them last year, just before they went out of business.
It's not.

Lifestyle business has benefits B1, B2, B3, and cons C1, C2, C3.

VC/PE talks a lot about C1, C2, C3 and promotes its business that also has benefits B1 and B2.

Amidst the deceitful noise, people forget about B3 and migrate to the VC/PE backed thing.

Lifestyle business folds.

Society/people lose B3.

This is not out competing. It's just bullshit.
> This failure to separate concerns is one of the primary disadvantages of Flatpack.

I would agree with you if there wasn't already RPM, debs, etc. But also given how flatpak is implemented on top of containers, it's basically "sandboxed by default" and any unsandboxing involves exposing/mounting things in from the host into the container. You can "unsandbox" any flatpak you want using flatseal (or if you know how, flatpak directly), so I think flatpak is actually pretty good in this regard.
This is interesting. I have been wondering if we are going to get towards a reality like that movie surrogates where we are going to "insist" people to come up with best answers (and explicitly with gpt) instead of declaring GPT out of honesty or trying to do it all themselves! At that point "declaring" is just noise no? We might as well start assuming that very little content is going to be 100% non-AI generated. I thought the OP was suggesting - banning those titles and not GPT use itself. So something like "Dammit just post something interesting, dont tell me if it is GPT or not".
Who is using Circle C++ in production?
thats some crazy engagement, My cofounders and I are launching an app right now and are learning how this all works.
Great work, I'm curious as to how autonomous the landing was (I assume fully autonomous) - but since there's awesome video sent back from the dark side of the moon there must be some relay in orbit too.

I'd give the Chinese space program more than a healthy 50/50 chance of landing humans on the moon again within the next ten years.
This comes up often, so just to reiterate. This law only ever affected American citizens. It's why products like PuTTy had warnings about not being allowed to use the product unless you were American, the developers were protecting their own asses. As a European (or Mexican, Australian, Japanese, etc) citizen you could obviously use the product without repercussions, the developer just had to make an effort to not make it accessible.

And, as mentioned by OP, these restrictions were greatly relaxed ages ago to only really affect DoD and US govt specific encryptions.
This is awesome. Does Milvus lite also support binary embeddings?
But there are safety concerns, and it's not possible to go 1000km/h on the highway. So there's not much point in having a 1000km/h car, because you will never use its full potential. Just like a 1khz display (supposedly).
To me,

A. The complaint about how every keypress goes to the server says literally nothing about HTML over the wire. It’s obviously how Hey chose to do things (or it was a bug), but Theo should be experienced enough to know that most approaches don’t need to be like this. Attributing a sloppy implementation by Hey onto a video about Rails as a whole is inflammatory.

B. And if he isn’t, and doesn’t realize that HTML over the wire doesn’t mean you can’t have any JavaScript, he should stop talking about what he does not understand.

C. This is personal taste, but a man with his hair style shows he can’t recognize good taste if it hit him in the face.
Ahh, the mention of Celeron 300A gives me a good dose of nostalgia. Sorry for the tangent. There was a local retailer and warehouse that turned out to be ran by Russian mobsters (I didn’t know, I was a naive teen), but they had everything under the sun and the prices were (probably literally) a steal, although retail packaging was curiously rare. The guy behind the counter had a box full of loose 300As and let me pick my pair, and I went back and forth between home and the warehouse a couple of times until I had a stable pair. Seeing two of those things hit 450 stable with just a flip of a BIOS setting, for only $100something a piece felt like I had pulled the wool over the world’s eyes.

That was my first SMP system, running NT4. Ended up hosting Starsiege: Tribes, Q3, and a bunch of other stuff (often simultaneously) at college. However, I dropped out after my first year and couldn’t host at home, so the machine was largely unused, and I sold it. I regret that.
Yeah I got called a fag at Dunking Donuts this morning
"Great Stink" of London
Maintainers may not perfectly vet projects, but they do vet the projects that get added at least a little. Compare that to a repository where anyone can upload and promote actual virus software.

PPAs at least require the user to explicitly trust the source of packages. If a distro releases a package, that is a tad more trustworthy than a random PPA, because at least the distro maintainers (very experienced people) thought it was good enough and not a virus. The distinction between "official" and "unofficial" is not there when it comes to all those language-specific repos. Also, typo-squatting is not a thing with official Linux repos, because maintainers know to not let it happen.
> In other words, you don't like Lua, because your favorite IDE doesn't properly support it?

That's normal. Many - perhaps most - programmers lack appropriate mental tools to compare languages meaningfully. They instead use any kind of heuristic they find useful at the time. The never-ending discussions that mistake familiarity with readability are another example of this mechanism.
The article even mentions there were naturally occurring nuclear reactors on earth a while ago.

So it's possible to for a blob of fissile material to just form naturally.
What kind of niche bugs are you speaking of?

For what it's worth, Rust (and other languages of ML heritage) are really good at getting rid of huge categories of bugs, not just memory. Not all bugs, of course.
There's some related discussion here: https://news.ycombinator.com/item?id=40406194
If it helps to hear it, there definitely are amazing figures, including ones that not only do brilliant work, but are exceptionally great as fellow humans (especially humble, thoughtful, altruistic, etc.).

I don't have a complete perspective, but have heard from people at many universities. (Including from someone who'd made their way up one university, and remarked they weren't impressed by recent faculty hires there, "but I'd take a bullet for" a particular all-around great professor there.)

I think most academics are closer to the normal distributions of just people. Better educated (at least in a niche, and possibly generally) than your average person, and maybe smarter than average in some regards, but probably not a superhuman intelligence, and AFAICT not any more likely to be saintly than any other human.

There's also a lot of hustle required of many professors, so they have less time, energy, and power, for the benevolent and wise elder citizen of the university model society role, which I once imagined professors would tend to embrace.

There are also some more unfortunate dynamics going on, some places, and with some individuals especially. And there are facets of some universities that behave like maybe the most internally toxic corporation you can imagine -- except arguably worse, because the institution or individuals tend to be held less to account.
Thanks! Macroexpanded:

Hotwire: HTML over the Wire - https://news.ycombinator.com/item?id=25507942 - Dec 2020 (545 comments)

Also related:

Why Hotwire Could be the Future of Front-end Dev - https://news.ycombinator.com/item?id=26195969 - Feb 2021 (6 comments)

Hotwire: A new old way to build web apps - https://news.ycombinator.com/item?id=25942864 - Jan 2021 (56 comments)
I wouldn't call myself a philosphy expert by any means (love me some Epicurus) but I think the previous commenter is right. As far as philosophical dilemmas go, the answering machine problem is contrived at best.

It relies on a pretty obvious mischaracterization of the situation at hand - there isn't a person saying "I am not here" at all, it's a machine playing a recording. With the necessary context, the dilemma becomes a pretty obvious non-dilemma.

If you're saying we should be willing to explore our minds through philosophical problems, I agree with you. I just think this particular philosophical problem is pretty lame.

Is the conclusion supposed to be that that formal meaning of any particular word is less important than the ability to communicate abstract ideas? That's an interesting notion though I'd argue that notion isn't helped by a half-broken analogy.
So some actually did a talk about knitting and obviously knitting has looping (repetition) and possibly conditional evaluation. They have a way to make an "open space" or use some meeting rooms for whatever you want. I made one for "advanced knitting theory" and I was having trouble understanding if you could do conditional branching that would break a loop because the stopping of knitting is used to end the knitting. More about knitting notation can be found at https://en.wikipedia.org/wiki/Knitting_abbreviations