skysight-inc/HackerNews huggingface dataset:
C C++ Toolkit
https://marketplace.visualstudio.com/items?itemName=UsmanMeh...

What can you do with it?

- Create new C and C++ projects.
- Use dedicated buttons to compile, run, and debug the projects.
- Create structured library files with boilerplate code.
- Automatically install any missing build tools.

How is it better than similar extensions?

- Support for multiple files: Most other extensions only support compilations for single files, or they have exceedingly complicated ways of compiling multi-file projects. My extension is built to support multi-file projects.

- Automatic installation of tools: Other extensions require complicated setups and configurations for tools like compilers, debuggers etc. My extension detects these tools automatically and if they are not found, it offers to correctly install them for you. It doesn't punish you for not knowing what 'PATH' is.

- Configuration of VSCode: Other extensions rely on .vscode configuration files to work correctly. My extension configures those files to make VSCode work correctly.

- Structured projects: My extension uses CMake for its builds and with it, users can create any kind of project structure. Add as much complexity as you want, or keep it dead simple. And for beginners who don't know how to use CMake, the extension automatically creates and updates CMake files for simple tasks like adding a new library.

I've recently hit 300 downloads but very little feedback from any users. I'd love to receive feedback from people here, especially ones that regularly code in C.

https://imgur.com/a/MpP3GLf
The cynic in me thinks this won't accomplish much. They can/do just buy data from other companies that scrape or some subsidiary.

This isn't a technical problem, it's a legal/social problem.
True, but it's kind of a shame we're dependent on those emails being leaked. If they hadn't been then it'd be Dennis' claim that someone in the government pressured his employer to get him sacked. Which doesn't hold a great deal of weight and could easily be dismissed by a government keen to cover its ass.
We could call it <frame>, or maybe <iframe> since all the cool kids use isomethings these days.
not perticularly, probably depends on what you're looking for.
I've found that blocking china is also a pretty good improvement on abusive traffic relative to disruption.
Please don't post links that download things automatically.
Great article but I find the increasing instances of identifying someone as an 'Engineer' stereotype bizarre and alienating.

What is that? a degree? job? title? is there only 1 type of person who becomes an engineer? and if it can't be a degree because there are 5 million different types of 'engineers' and it is definitely not a homogeneous group.
kagi, & even more kagi small web
That's the trade off isn't it. ' is unnecessarily short and doesn't convey any information at all, or worse, the wrong information. There are other comments that point out that ' is valid in identifier, or used to indicate that something is derived from something else.

Some will prefer the short nature of just typing ', where people like me would prefer that you just add a few more characters so it reads more easily.
"Death Knell" for GPRS and GSM encryption, which was already considered widely broken in many different ways in practice, this just adds one to the pile.
I was specifically talking about enterprise/core routers where the packet processing can be non-trivial and small frames hurt performance.
He is a Savant.
tmux and zellij don't completely overlap on features, though. So I'm pretty sure some people are using both.
The internet is not like twitter - a block is practically bidirectional.
I think you are getting confused between SDL_Render and SDL_GPU. SDL_Render is the old accelerated API that was only suitable for 2D games (or very primitive looking 3D ones). SDL_GPU is a fully-featured wrapper around modern 3D APIs (well, the rasteriser and compute parts anyway, no raytracing or mesh shaders there yet).
I have a ASUS PN40 and I got it to idle at 1.8W just by installing a Linux distro with almost no tuning whatsoever. (Just installing tlp which was at the time part of the suse laptop metapackage).
There are better versions out there, for example:

https://aphyr.com/posts/353-rewriting-the-technical-intervie...
I mean, you complain about "communists" and "socialists" (as if Lula's government was anything like that. I mean, his vice president is Geraldo Alckmin. Not really an example of socialist).

But that is all beyond the point. You don't mind the coup attempt in January 8th because you are sympathetic to the idea of a military dictatorship in Brazil.

The only possible reading is that you are an authoritarian, as long as the ones you are aligned with politically are in power. You don't value democracy. This conversation is moot.

The funny thing is that you think that a military dictatorship would not be so bad and thst Brazil might prosper, ignoring how hilariously incompetent the military in Brazil is.
> The biggest challenge for implementing this will probably be figuring out how to block inbound connections but keep outbound connections working.

nah, there's connection tracking for that.

ctstate new srcip <amazon-set> drop
Ah yes nostalgic bullshit. It was always about the money.
ok my bad! I misunderstood from the pricing page
I would like the opposite article. I'm an engineer type selling to average consumers.

For example, I learned that literally telling people what to buy is sometimes better than a neutral comparison of all options. They don't want the absolute best product. They just want to feel like they made a good purchase.

I also found that engineer types can become really good marketing people if they treat sales as understanding requirements, and highlighting how the product fulfills them. I didn't get better at manipulation; I got better at understanding what people want.
> On Firefox, which blocks third party cookies, I have to log in to each of those domains separately. I can't log in to stackoverflow.com, then go to superuser.com and already be logged in. That is a problem that First party sets would solve.

The cure is worse than the disease.
kaf_layer = jax.vmap(KAF(n, key))

is wrong, collab has something else

kaf_layer = KAF(n, key=key)
You still have to announce your used ranges, so unless you announce /64's it's pretty much the same thing.
Well yeah, I personally don't pen-test random websites without a clear terms or bug bounty program.
Out of curiosity, did you pursue a rev share model with Elastic (Co) for your Elastic managed service? I guess that's not something thay can be discussed openly but recognizing you probably had 10x their revenue in the managed service and another 10x their revenue in compute behind the OSS, I wonder if there could have been a proactive happy middle ground found years ago.

I suppose that they might not have accepted something that was too small percent wise and hence might have preferred to go head to head no matter where that might have gone.

My real sense for why they've struggled to out maneuver is their lack of execution on their managed service (9 years in market, still minority of their revenue); while you had a head start and I'm sure that's what they point to as preventing execution, if they had really focused there they might be more like Confluent in terms of being considered the well regarded SaaS leader in their segment.

But I do think it'd be a good look for AWS to proactively help these companies. I didn't think the approach taken with Grafana Labs was right... that looked more like a Faustian bargain to an outside observer (e.g. we'll cut you down at your knees and directly compete but offer you their more expensive version on our paper. It looked incredibly humiliating).
Did I miss something? How is musk using spaceX to evade justice?
Qt RHI too. Shaders are normal vulkan-compatible GLSL and then you get D3D11, 12, GL and Metal
The reason WebGPU took so long was that they decided to write their own shading language instead of using SPIR-V. SDL didn't make that mistake, you bring your own shader compilers and translation tools.

There is a sister project for a cross-platform shading language [1] and another for translating existing ones between each other [2] , but they get done when they get done, and the rest of the API doesn't have to wait for them.

WebGPU was made by a committee of vendors and language-lawyers (standards-lawyers?) with politics and bureaucracy, and it shows. SDL_GPU is made by game developers who value pragmatism above all (and often are looked down upon from the ivory tower because of that).

[1]: https://github.com/libsdl-org/SDL_shader_tools
[2]: https://github.com/flibitijibibo/SDL_gpu_shadercross
I'm currently working on Merlinn, an open-source AI agent that helps on-call developers troubleshoot production incidents.
https://github.com/merlinn-co/merlinn
As mentioned, something like it already exists inside Linux. Maybe it could be pulled out and turned into an app library, if it's so much better than a heap queue. Info: https://duckduckgo.com/?q=timer+wheel+linux

I remember writing a heap queue in C++ myself because std::priority_queue had some kind of shortcoming whose specifics I don't remember. Maybe I can find that program and check what it wanted. It wasn't a performance issue, but rather, something I needed was missing from the stdlib API and I remember thinking that it was silly that they omitted it.
Two head Arowana Fish [video]
It feels like this page probably needs more information about specifically what the issue is here, and why this is seen as "unjust".
Yeah, the side of programming I love is when I write code for free, or contribute to open source projects.

> The secret is that I no longer work for people that destroy my work, treat me badly, or force me to do it in a way that destroys creativity, Quality, and velocity.

You are right.
If it is for engineers they probably mean a nixie tube which is a (old) cold cathode display device: https://en.m.wikipedia.org/wiki/Nixie_tube
https://josephg.com/blog/3-tribes/
I must be squarely in this guy’s target audience because I read this and think, “well yeah, anyone who is fooled by regular ad copy is just gullible”. If I’m buying a product I want the best product. If you have the best product, you won’t need to hide it behind layers of content-free art, copy and “call for details” links.
So SMTP is a series of Nixie tubes. Neat.
I tried Claude to remove "bad words" from a 10k "most popular English words" and it refused because some BS cultural excuse. Then I clarified that I wanted it to remove slurs and other words that might cause discomfort to some people and it still refused.
A Text-to-Game Engine for UGC-Based Role-Playing Games
I don't have the advanced assistant. Is it only on ultimate?
I think there was something like this that allowed you to bypass the password on Win95 - you click help, then something, then it opens the file explorer
The Internet Under Attack
You'll enjoy https://en.m.wikipedia.org/wiki/Three-letter_acronym
To me it appears your issue is with interviewing and not software engineering as a career.

I have had several jobs with a probation period. It is just another point to negotiate. So if you believe that you can demonstrate your value to a job over a period of a month or two, then why not make the offer. Isn't it just like a post-internship?
I think this would resonate with a lot of people, do you have a write up on what works and what doesn’t?
Someone needs to tell them about async Rust. Big yikes.
This is a great read
https://www.researchgate.net/publication/331622659_Getting_h...

> This article collects evidence from psychopharmacology, scripture, and archeology to explore several preparations for consumption described in the Old Testament: Manna, Showbread, the Holy Ointment, and the Tabernacle Incense. The Ointment and the Incense are herbal preparations used by the priestly caste to facilitate a direct experience of the Israelite God. A wide variety of psychoactive components are found in these preparations, including GABA-receptor agonists and modulators, opioid receptor agonists, and other agents. They are normally broken down by the body’s enzymes, and therefore orally inactive, but the Holy Ointment also contains inhibitors specific to the enzymes in question. The preparations indicate that the ancient Israelites had a profound understanding of synergism, and the way they are consumed and the taboos around them are highly suggestive of their use as psychoactive agents.
The Rise of Daydreaming
So you just end up with python at the end?
Reminds me Reddit Place
Also: packet parser vulnerabilities.
Is the end of EK in sight? Top employees leave the water cooling company as financial woes continue.
ASI is the endgame where it is profitable to be in the OpenAI position, or even in the next first 20 market players capable of getting there a bit later.

But if ASI isn't achievable finally, the intelectual properties obtained in the way to it will probably be valuable, because the SOTA still works and can be re-reployed anytime in the future when the new hardware becames available and cheaper (think Cerebras stuff level). We would be in a new kind of AI winter, just waiting a couple of years till spring breaks up (cheaper, faster hardware).

Even in that winter, bigger players would still be available, think Gemini or Copilot products, getting bigger, better year after year during the winter, just as fast as the new hardware begins to be buyed/deployed. And minute by minute the market share for those bigger players will playing along with bigger reveneaus every quarter, preparing the way to full profitability in a couple of years.

Think automobile industry or oil extraction industry, going from manual work to fully machine assisted tasks, as the technology became available, from the 1900s to the 1970s. Quite a lot of years, but in the AI winter probably coming, you get even the chance to double check the countdown every now and then, just looking at what is cooking/assembling Nvidia/TSMC, Cerebras, etc.
Much better answer than mine. Also worth mentioning they don't even own the rolling stock - that's the ROSCOs and tbh that's probably where the profit is to be made.
DHS officially uses bugcrowd for their VDP, for what it's worth.

https://bugcrowd.com/engagements/dhs-vdp
What if Rust was an OCaml-ish.
One thing I know for sure about marketing to engineers: they are only human and vulnerable to the same tricks. They have particularities of course, but every consumer group has them.

For example I've seen this play out multiple times during my career: old tech has some problems. New tech products come in to solve those problems. They buy awareness at conferences, they invite influencers (yes, those exist for engineers) to use their product, they give incentives to the first wave of customers, they undercut the existing competition by initially taking a loss, they offer excellent support in the beginning (and only then), all the classical schemes from any market targeted at any buyer group.

By the time the new product establishes itself the fact the it isn't actually better - it just makes other compromises and thus introduces new problems - starts to become apparent. But guess what. The new shiny turd is already in production, may even be the new industry standard. And even if you are a marketing immune stellar engineer who saw through all the smoke and mirrors you have no choice but to use it. So the marketing worked.

And all of the above might be pointless theorizing because let's face it, engineers rarely hold the decision of what to buy.
I worked as an event security guard at the Moscone Center in SF ~10 years ago. If you’re not familiar with the location, it was (at the time, may still be) the main convention center in San Francisco, a few blocks from Market Street downtown. It’s not a particularly rough area, but it’s close to some hot spots like the Tenderloin and Fulsom Street. The center is actually a complex of three buildings, the larger of the two connected via an underground pedestrian walkway, with adjoining staff-only underground tunnels and loading docks. The third building stands alone and isn’t connected to the others, but is on the same intersection across the street from one building and kitty-corner from the other one. Wondercon was held there, and Apple used to hold WWDC at the standalone building (though they brought their own event security, opting not to use the company I worked with).

The job was mostly consistent with this article, which was well-written and humanizing for the workers, if not necessarily endearing them to us.

I’m glad I had the experience. I got to see a lot of niche trade shows and conventions from setup to tear down which I never would have thought to attend otherwise, as well as see how lading workers made it all happen behind the scenes.

One time I arrived at what I thought was to be a normal shift at a women’s leadership conference to be pulled aside by my boss, who told me in unambiguous terms that the First Lady would be dropping by for a speech, and I would be working a door opposite an eminently large and in charge Secret Service agent, who I’ll charitably say didn’t need me but as I was one of a only a few of my company’s event security for that particular event, we essentially acted as liaisons between the event/house security and the public. Beyond that point was authorized access only, which did not include our staff, as we were not necessary.

Another notable incident involved a conference for the American Psychiatric Association, protesters from the Church of Scientology, and actual, literal, capital-A Anonymous counter-protesters in Guy Fawkes masks.

It was just the CoS at first, and then someone must have said something on Twitter or something, because suddenly there was a flash mob of CoS outnumbered by Anons roughly 2:1, with around 50-75 participants if I had to guess. All while we have a strait-laced normie psych con going on.

We had to lockdown the center, locking all exterior public entry doors, move badge checks outside temporarily, and threw up some barricades at the sidewalk to provide a buffer zone between the sidewalk and the center entrance. The whole thing probably lasted a couple hours or less, but it was probably the most San Francisco thing I experienced at that particular job.

I even asked Aubrey Cottle about it when he did a Reddit AMA, and he seemed to be a least familiar with the occurrence:

https://old.reddit.com/r/anonymous/comments/iclxtc/comment/g...

Stay safe, HN.
It's more like if a ; was allowed somewhere else and had a different meaning there.

enum foo; blah ...;
Musk owns 42% of SpaceX, Starlink is a subsidiary.

I can't speak to SpaceX shareholders because they are private, but of the public Tesla that's also associated with Musk, there are shareholders who want him out because his public behaviour is interfering with the business interests, and that argument will gain weight as a result of stuff like this.

Is that "deserved" depends a great deal about how you model the entire world, but activists investors are a thing and they do fight company management.
Very ChatGPT-y :)
Yeah, no. I am not about to resize my browser window every single time when I switch tabs.

Line width is not something a designer came up with and just decided to force on to people. It is well-supported by research and actually proven to make text more pleasant to read.

Also, don't you think it is a bit silly that you are effectively just arguing that we all should go back to plain text with no formatting?
Here’s a 30min audio version of TFA:

https://www.audiowaveai.com/p/2626-dawn-of-a-new-era-in-sear...
LLMs struggle to explain themselves
I often find myself knowing how to write a query in SQL but spending sometimes hours figuring out how to write it in a specific ORM, even worse is I'm probably not going to know what the ORM code does in 6 months time.

SQL seems far more portable.
Remake of Awesome Windows List
Hey, I started a remake of the Awesome Windows list because the original has not been updated for 3 years and the owner is not showing any interest in maintaining it. I appreciate every star.
Hi HN! I'm about to go to bed, but I promise to go through comments when I wake up later today. Happy Friday!

The source code for the demo is on GitHub: https://github.com/jyc/stackbee
I don't agree. If the prosecutor isn't going after this, there must be a lack of conclusive evidence.

As I remarked elsewhere, if the pill bottle was in fact KCl, there is no certain evidence pinning the vitamin D on the wife. It's obvious that it's her, but it's not proven.

Consequently a private prosecution would be useless. Also, private prosecutions for these kinds of things are unheard of, just as they are in the US.

If things are as I believe, it is not going to be possible to secure a conviction. There's reason for the very strongest suspicions, but still a step away from what's required for a conviction.
Common marketing wisdom is that you need to focus on "solutions" -- what problems does your product solve?

As an engineer, though, this isn't what I want to know. I want to know what your product does, and then I will decide how to use that to solve my problems, which may or may not be the ones you anticipated.

Moreover, if you only tell me what problems you solve, I can't tell how well you solve them. I need to see what the product does to evaluate that.
> something with the task

I suffer greatly doing something which I have little interest in. This is a flaw of mine I would say; probably years of distraction have ruined my baseline attentiveness.

> at least a minuscule part of the task that looks remotely interesting and that hopefully snowballs

Well said, I noted this down! Need to implement it now

Thanks a lot for your inputs btw :)
DHS officially uses bugcrowd, for what it's worth.

https://bugcrowd.com/engagements/dhs-vdp

They've had that relationship for a few years now, so I'm guessing they're somewhat versed. TSA specifically might be less so, but I can't imagine the DHS referring anything to the DOJ for prosecution given that they both have a VDP for the entire department and advise other departments on how to run VDPs (via CISA).

But I might just be overly optimistic.
Simple != idiomatic. It's perfectly idiomatic to `Arc<Mutex<Box>>` in Rust, and it is more complex because it deals with more concerns than a simple reference, namely being thread-safe. Sometimes you need that, sometimes not, but you have to be explicit about it.
I agree with the idea that many projects are just fun and stand on that basis, but the analogy doesn't work IMHO.

When you bake a pie, it gets eaten, so who cares if it's just like another pie, in fact it's probably great if it is. And the more people baking peach pies, the better!

The analogy should be with pie recipes. In that case, your pie recipe really should bring something different to existing ones. It doesn't need to be 'better' necessarily, but if it's essentially identical, there's no real point to the recipe, except for you to practice writing out recipes.
Are there overlay networks that are not software only?
would be interesting to have a local only instance, for use only inside an organization. Will explore if it is possibile.
Musk ceased Xitter operations in Brazil to evade justice.
true indeed, i should probably work in myself than anything else now
I wouldn't get myself into this honestly. Wrong turn and you're a terrorist. Especially with how crooked and backward the people responsible for it seem.
Lunduke is a known right wing propagandist. Engaging with any of his content is a waste of time.
People that complain about Rust's syntax never have never seen C++ at its worst
> work on that

I agree, I will start small from today onwards
Prisma team member here... We just released "TypedSQL" which gives users the ability to write fully typesafe raw SQL. Sharing this here as the info seems pertinent for those who love SQL.
Link: https://prisma.io/typedsql