skysight-inc/HackerNews huggingface dataset:
C++ with well-optimized libraries should always outperform Python with well-optimized libraries, right? They should be ~identical in the highly optimized inner loops, but Python has more overhead. But naive hand-written C++ could easily perform worse than something like Numpy.

(I've only tested this once, and my naive hand-written C++ was still twice as fast as Numpy, but that was only on one specific task.)
You can't just lay a cable across a public street

Also, if it was roughly 10 years ago then upgrading to N wireless was a good solution anyway. Not only did it solve the problem but it would've given then quicker speeds.
I too am intensely distrustful of anyone expressing an opinion in more than a few paragraphs
Location: Royal Oak, Mi

Remote: Yes, preferably

Willing to relocate: For the right location/offer

Technologies: Python (Django, Numpy, Pandas), C++, JavaScript, React, React Native, PostgreSQL, MongoDB

Résumé/CV: https://www.linkedin.com/in/nasir-sharaf/

Email: nsrsharaf7 [at] gmail.com

Currently a software developer engineer working for a big 3 automotive company in R&D and for the previous two years in the embedded systems group. Prior to that I was at a machine learning startup for a brief stint.

Looking to learn more in the fields of data engineering, cybersecurity or machine learning. I would be more open to a medium/mid-sized company than a big corporation, I believe there is more opportunity to grow and to learn in that type of position.
If you want to create any real-time graphics application (video games, game engines, CAD software, visualization, etc.), or do any sort of scientific computing / HPC. The graphics ecosystem in Rust is still too undeveloped to see adoption (for the graphics API people are converging towards WebGPU, but it's still no match to Vulkan / DX12 / Metal), same goes for any GPGPU computing. Rust is also currently lacking in desktop GUI development (though nowadays Slint is trying to catch up with Qt!)

And in the case of apps where objects can have very dynamic lifetimes (like game engines or CAD), the borrow checker wouldn't really help with you that much since you would have to manage these with reference counting or some other way anyway (ex. arena allocation + generational indices).

What Rust excels over C++ at this point is just sane defaults / less footguns (no uninitialized memory, bounds checking even in release mode) as well as some language niceties, but Rust has its own issues for pragmatic usage (slow compilation, lackluster libraries, cumbersome to interface with C APIs, ...)
> the first version of GCC supporting the x86 CPU

I have to say, that gives me a funny sort of feeling. The linked 0.9 tarball appears to support the Motorola 68000 and Vax, and https://gcc.gnu.org/backends.html seems to indicate that both are still supported, which is kind of beautiful (though there's a note on vax that "A hardware implementation is not currently being manufactured":P). Just... disconcerting to imagine a world before gcc supported x86.
Makes me wonder, what happened to Unikernels? Are people still working on them?

Between containers and serverless functions as a service moving to the cloud, it seems they ran out of what little momentum they had.

http://unikernel.org/
Location: Sydney, Australia

Remote: OK, or hybrid

Willing to relocate: No

Technologies: Python (ML, Django/DRF), JS (NodeJS, ReactNative, Typescript), Java, AWS, GCP

Résumé/CV: https://docs.google.com/document/d/1wvl-n9WKaMhP_GuMzzgy38Uh...

Email: {firstname}{lastname}@gmail.com with no symbols

I'm a full-stack engineer (preferably backend) with some experience in ML. I started with 7+ yrs as SWE at Google as a full stack engineer and then took a bit of lengthy career break and got into ML. In recent years I've been more comfortable working at startups but I'm open to anything in between. I'm not yet "established" in the Australian job market so I'm looking to spend a few solid years with an Aussie company where I can have impact. I'm most comfortable as an individual contributor but also willing to step up if/when needed.
Games would probably be the biggest, most common scenario where C++ isn't going anywhere any time soon.

More generally, if you need to use existing C++ or even C libraries, Rust is at best an awkward fit unless someone else has already built and is actively maintaining the necessary bindings.
I thought this was a good review:

https://arstechnica.com/information-technology/2024/03/playb...
From the end of the article: "If you agree, please send your comments to the DoC by March 27th, 2024."

Is there a reason why this executive order / RFC received no coverage on HN (or anywhere else I'm aware of) until after the deadline had passed?
Companies will provide you just as strong customer service if they believe you owe them money. It's the flip side that is the gauge
Paper trails bad
You have it backwards. The non profit is part of the financial engineering, not the other way around.
The initial discoverer has briefly mentioned this (and any error here will be mine), but ifunc resolver here has been used to execute some code much earlier than everything else, because the resolver has to be called before the symbol gets resolved. So the resolver itself doesn't have to be put to the replaced function; the actual hooking instead happened in crc32_resolve etc. in the liblzma itself, which is justifiable by its own because ifunc is often used for performance-sensitive code.

The resolver isn't always guaranteed to be called if the symbol itself doesn't get used, but sshd had a particular linker option that resolves all symbols during the dynamic linkage phase, so that resolver happened to be always called, and importantly, before `RSS_public_decrypt` could been resolved. So the resolver could tamper the subsequent dynamic loading process to replace that symbol.
This isn't about parsing so much as letting the users do "dangerous" math operations. The obvious one is diving by zero, but when the library offers arbitrary precision, addition becomes dangerous with regard to allocating all the digits between a small and large value

1e10 + 1e-10 = 10000000000.0000000001
1e10000000000000000000 + 1e-10000000000000000000 = ...

It's tough to know where to draw the lines between "safety", "speed", and "functionality" for the user.

[EDIT]: Oh I see, fix the parser to disallow such large numbers from entering the system in the first place, then you don't have to worry about adding them together. Yeah that could be a good first step towards safety. Though, I don't know how to parametrize the serde call.
Lots of interesting ideas but I’d like to know how much faster/less RAM would a purpose built Linux-for-VM would be in practice. I’m guessing not as much as one would think, initially.
Podcast version here:
https://open.spotify.com/episode/71CRr8vnJ9YJrdnrZEWOZV?si=D...
I'm a little confused why everybody seems to want to mandate open weights. Maybe a system similar to copyright, but by mandating open weights on a system they developed, it somewhat stifles creativity.
YTMND, instant upvote
The IRS recently got an infusion of $80B to hire 70k agents. Hope they are as productive
The git timestamps in the git commits probably were faked, but they implicate China. There were a handful of apparent slippups though, and if we take those timestamps to be correct then it looks like they were in eastern Europe (or possibly Finland, the Baltics, or the Mediterranean coast all the way down to Egypt). And if we instead assume that these timestamps are a second–level misdirection then there is a huge complexity penalty; my money is on the simpler answer (but not all my money; it’s not a sure bet).
https://theocean.ytmnd.com/
Nitpick: calling this an "x86" compiler is a modernism. There were, indeed, multiple successor chips to the 8086 in the market. But gcc supported only one of them. This is a 386 compiler, not an x86 compiler.
Interestingly, The Amsterdam Compiler Kit is now open source.

https://tack.sourceforge.net/
When the implied value of dismounted people is high enough, better design will happen.

Car drivers are forced to drive 20 MPH near schools during school opening and closing times. In tourist districts pedestrian safety and accessibility is favored over being able to drive an SUV 40 MPH down a street. In neighborhoods filled with relatively politically empowered people, roads are never straight to discourage speed, speed bumps are added, stop signs are added, and there can even be focused police traffic enforcement.

If an area has an 8 lane wide stroad with a 45 MPH speed limit then it's implied that the lives of drivers speeding through are valued over those who live in the neighborhood.
That's fair. I think I could support wanting stable/persistent identities, but not tying them to real-life identities. Though it's worth pointing out that neither would have helped with the xz incident AIUI.
And yours is 13 years old? So? Is there a discussion here relevant to aviation somewhere?
I’m not sure why you’re making that point; the exploit we are talking about _is_ an RCE.
Maybe you should reconsider your "blind belief mud slinging" eh?

Be better.
that's good. because I've definitely eaten my fair share with my friends when we were kids. we used to have those cool ones that you click on the end and a sharp thin cylinder of 'lead' comes out. they were crunchy and entertaining at least
Yeah, is it really news beyond “maintainers of somewhat famous highway didn’t do very good erosion control over the years and are now suffering the consequences of that”?
HN discussion was @ https://news.ycombinator.com/item?id=38067314
Technically yes, maybe Edgar could do all of that - but how would it be expected as a part of a technical project? That's like saying to the inventor of a car that his project should include instituting word peace and finding the meaning of life. I mean, cool if they do it, but it's not usually what you require from a car designer.
AI's taking over coding? Here's how it's shaping up.
I used to think so too, but that was because I had never really used Python. I still think Ruby is a mess, but it's so amazing how easy it is to manipulate data in Python, and so much faster.

I recently wrote a Node/Bun/Deno app that parses a 5k line text file into JSON.

The JavaScript on any runtime takes 30-45 seconds.

The Python implementation is sub 1 second.

I would not have been able to finish the tool so quickly if I were stuck relying on JS.

I still love Typescript but I'm not as blind about it now.
I would not recommend calling the IRS based on phone numbers you see on GitHub, though they may be correct sometimes.
For this reason, maintaining GCC 4.7 is one of long-term high-impact projects of Bootstrappable Builds project.

https://bootstrappable.org/projects.html
That's assuming that you can fit everything within the needs of the browser sandbox. But server-side JS needs are broader than that.
Does chrome do that for incognito mode windows?
The concept of spaces is so crucial to any activity for that fact. Pandemic pushed me to understand the need for separate designated spaces.
Is it possible to embed relative paths (i.e. starting with ./), and instruct your debugger where the source root is?
Some more discussion: https://news.ycombinator.com/item?id=39898619
> when we bring in more government then it's less free market.

Let's go to the extreme with your logic. If you completely remove the government you end up with the mafia textbook. The easier way to win at the game is taking out the competition with lethal force. Once that's done there's no one to compete with you, no "free market", congratulations you won.

Why compete in bringing value when you can just use your money to takeout the competition.
why is it so outlandish that it could be the latter?
>they left cause SF was going too right wing for them.

No one has ever said this. No normal rational adult could possibly think SF was right wing.... this is some Overton window type of bias or something. I can't even think of anywhere the country more left wing than SF. NYC is certainly not more left wing than SF... People would be crying and protesting putting the National Guard in BART. NYC welcomed it.

>The people I know didn't leave because of some kind of "failed state" vibe though

Everyone I know moved out because SF got shitty. More crime, more open drug use like this https://www.tiktok.com/t/ZTLka6qqp/ and less cops, less personal safety, less riders on BART so you don't even feel safety amongst the crowd. I tried moving to Burlingame for a year, but that was boring and outrageously expensive so I just moved out of the Bay Area altogether.
Python is among the most popular languages and it doesn't require a compile step.

TypeScript is entirely metadata, so it just doesn't make sense to need to compile it.
What does the code do? 30-45 seconds to parse a 5k line text file into JSON sounds like something is going very wrong
tidying first sounds like a good way to go down a rabbit hole before you even start.
[dupe]

Discussion: https://news.ycombinator.com/item?id=39862404
Bun test is so enjoyably faster than Jest.

I have a file of thousands of string manipulation tests that Jest just crashes on after 3 minutes while Bun runs in in milliseconds.
> when any meaningful implementation is locked away behind services and is closed source.

As someone seeking a purely open source forms solution, what do you mean by this?
If they create this moat it will be huge for the stock. I do hope politicians do keep those biased incentives in mind.
Wow, I was building a Thor 3D printed arm, and this project looks way better! I think I'm going to Pivot.

Side bar: these servos are a game changer.
Ask HN: What's the ideal way of showing code in a technical book?
Hello HN,

I'm currently working on a technical book focused on graphics programming. One challenge I'm encountering is that the graphics programming APIs tend to be very verbose, resulting in sample code that is quite lengthy. If I include the full source code for each example, a significant portion of the book will be occupied by code, which may not be the most useful approach. Instead, I want to prioritize providing detailed explanations.

However, if I only include a few lines of code relevant to each explanation, I'm concerned that readers may struggle to see the big picture and connect the dots between different concepts.

Have you come across any books that handle this balance effectively? I'm eager to learn from their approach. Additionally, any other suggestions regarding the format of a traditional technical book are welcome.

Thank you.
The checks are to make sure you're using an actual browser and not some sort of automated program like curl to make 100k requests.
It's not just stripping types: enums have a runtime representation that needs to be generated.
The "Inflation Reduction Act" actually subsidizes bigger cars more than smaller cars. We're digging ourselves into a deeper hole.
https://en.wikipedia.org/wiki/Whataboutism

You're just deflecting. SF is a shithole now: https://www.tiktok.com/t/ZTLka6qqp/
This is 10-20x bigger of a drug scene than 5 years ago. SFPD doesn't even bother doing anything now. It looks like something out or Robocop. The problem is LA is like that now, Oakland is worse, East bay cities are bad too. Central Valley has homeless all over too. The only cities that seem to be free of it are Palo Alto, Saratoga, Marin, Montecito, Palos Verdes, etc.--essentially the super rich enclaves that can afford to pay the homeless to go somewhere else or have the police harass them into moving somewhere less amenable.
If you didn't want people to think it's a joke, why have you posted it less than two months _before_ April first?
Also, do you have RSS on the blog? I've missed it on February, sorry
So everything really depends on the locality and the local politics. So a few unusual places get designed for better safety, and the vast majority get the opposite. Most efforts at slowing motor vehicles down, or making them more inconvenient, are met with angry voters.
Banned? Is that why you had to post this on a green text account? Because that sounds immature. If you really have so many repos it sounds annoying that there isn't room for team level experimentation.
Bicameral was used by Jaynes in the sense of distinct seperate chambers of the mind, rather than political chambers; I can't say I agreed with his thesis but I always enjoyed his argument and the apropriation of the word.

> i usually don't respond to distracting personal questions

These were specific questions to tease out why you're presenting free market OR planned economies as the only choices- it smacked of certain type of central north american libertarianism that uses Heinlein's early teen reader simplifications.

OpenAi being described as a small player is laughable, small players don't appear with one billion US pledged in backing and sheperded by core established technocrats.

BTW, the question was: "Is the US as it operates today a free market?"

Do you have a clear answer there?
Incognito mode isn't incognito, autopilot doesn't automatically pilot, unlimited internet isn't unlimited, "buy" a movie and you don't own it.

But you're the idiot if you expected words to have meaning.
Then if you don’t want your content to be there…delete it instead of making a worse experience for everyone else.

If you don’t like a restaurant, don’t go. Don’t go there and shit on the tables.

A restaurant was also “meant” for you to go in. But not make the experience worse for everyone else because you don’t like it anymore
Does it support building an EXE with all source-code removed?
What about debuginfod instead? Look up your source and even your debug symbols by your build identifier.
Chameleon | Frontend Engineer (React) + Fullstack Engineer (Ruby) | Remote before it was cool | $120k - $180k | Full-time | https://chameleon.io

Remember those modals, tooltips and checklists you have built but never really wanted to?! with Chameleon, the Product team can WYSIWYG those into your application with just a few clicks.

We're a great, growing team looking to hire a Frontend and Fullstack Engineer to complement our existing expertise. If you're in the Americas, take a look at the role description and see if you'd be a good fit

Fullstack: https://trychameleon.notion.site/Fullstack-Engineer-be6a2017...
Frontend: https://trychameleon.notion.site/Frontend-Engineer-2665cd449...
Wasn’t the hashing mechanism that Apple was proposing using capable of dealing with some attempts to obfuscate the CSAM image with edits?
If this is for landing pages and marketing sites going to shill my own product Versoly.com

- Leverages web dev best practices (Tailwind, mobile first, tiny open source packages for extra features)

- Bootstrapped and profitable (I won't randomly increase prices, if anything with more customers would like to lower or add more features)

- Features built for freelancers/agencies such as saving
components that can be reused across client projects

- Flexible CMS based on Vue syntax (one of the easiest ways to extend HTML)
i saw some repos on github that provide the "end result" in a repo. Can't rembember which one.
I had a similar experience about shipping pallet being fully loaded fixing server connectivity issues almost two decades ago: https://chir.ag/tech/?49
https://drecosby.ytmnd.com/
Sorry, who's the "everybody" who wants to mandate open weights? The only discussion I'm familiar with is that some people and governments want to ban open weights. Where are you seeing people argue for mandating them?
https://archive.ph/LHUYe
The advancements in technology are amazing, especially in the field of artificial intelligence, where new revolutions are happening every day. Let's take a look at how to use the latest language model called GPT-4 for free.
If a language or browser implementation can't reclaim this unused memory thus creating a memory leak, that arguably is a flaw. It's literally a DoS attack vector that can be exploited by the untrusted scripts that run in the browser sandbox.
You won't find a technical co-founder
I absolutely love the abrasive tone and if I had need for an image host, I'd be on that sweet-sweet cheapass tier in no time flat.

I like knowing this is just a person, and I would be willing to pay for that. I get the sense this person is too annoyed to double monetize me secretly (only half jokingly: you wont get that kinda confidence just anywhere). And they don't attempt to put-on-airs wrt the competence required to work a small-to-mid scale image hosting platform. Yet it still feels competent enough that I'm not worried about uptime. Plus they have cli tools to boot.

However, as others have said, I just don't know when I would use this.

To be frank, I don't even fully understand how igmur makes money with most people using some form of adblock (there was an article on here claiming 50% of Americas now do so). Plus I imagine if you are looking for some type of hosting that skews even further. I hadn't even realize igmur pivoted into a four-video-ads-per-image social media platform because of said adblock.

I guess this is why we can't have nice things.
If the “74” in my name didn’t give you a hint. I’m not exactly young.

Did you also go back to the old Usenet groups that you use to post in and pollute the few rensining good ones with useless garbage?

If you are that old, you should know better
This is indeed a good writeup. Just one small quip:

> We’ll need to clarify copyright law when it comes to disseminating derivative AI-generated works.

Generated content can be either derivative or transformative, and this distinction is important. It's not automatically derivative because

- a model can receive new knowledge and skill demonstrations from the user at test time, that effectively take it out of its initial training distribution (contextual learning)

- the model can draw from multiple sources performing cross-input analysis, such as finding inconsistencies or ranking quality (comparison and cross referencing)

- a model can learn from experimental feedback, such as running code or a complex simulation to see the outcomes, and iterating over the search space. For example AlphaTensor discovered an improved matmul algo (models can discover new knowledge from the environment, they are not restricted to learning from human text)

So models can get new information from users, textual analysis or from experiment based learning. In all these cases it does more than derivative work.
Keep your job,do this on the side
That's partisan disinformation. It was debunked repeatedly, but by then the lie was halfway around the world, as it were: https://www.nytimes.com/2022/11/06/us/politics/irs-agents-fa...
The IRS changes the call route also. Whoever you used last year usually has a service number to call or faq to get the latest instructions.
Thanks for sharing, filed - now part of the elusive club.

Note: they ask where you live. I get the feeling this is more of a request than a choice

Agree with the peer, this is absurd. Legitimately worse than only having the original dark pattern.
Tracy Kidder
Lasse Collin deserve more. Dude thanklessly maintained a the project that supported half of the world. Had serious mental health issues tht malicious actors exploited and now he is embroiled in the most insane OSS scandal ever. As part of the community we must help the man out to chill and relax a bit. He doesn’t deverse his community.
SF is the 2nd densest place in the US, and is several times denser than Tokyo and London. The population is small but the land is even smaller. If you want to go anywhere in your car you might spend 10-15 minutes parking. The classic SF look is one of homes glued side by side with no room for trees. If SF wants to expand then they are due for a massive infrastructure overhaul.

Meanwhile, what is wrong with building in San Jose?