MurphyA/hacker-news huggingface dataset:
by jillesvangurp | 2025-04-02 20:34:55+00:00
OSS is a side hustle for most people that work it. It might turn into a full time paid gig for some but that's usually based on merit or just being in the right place at the right time. Which of course is nice but not something you can plan on having. Additionally a lot of OSS software is created by people that are doing this as part of their job at some company that happens to have some interest in a project or creates new projects.

Either work for one of those. Or just contribute without any expectations about money. That's not for everyone but it kind of is how a lot of OSS gets created. And mostly hiring for such projects is done on merit based on being an active contributor. If you have a community of contributors, that's a great pool to hire from. You already know the people and their capabilities.

I have a few OSS projects on Github. Most of those are just things I'm interested in doing anyway. I don't mind giving that away. I use a lot of OSS as well in my non OSS development so I see this as just contributing back and being a good OSS citizen. My own little way of providing back.

And it's a useful way to make new freelance projects or jobs a bit less Ground Hog day. If you keep on writing the same code over and over again; just put it out there with some OSS license and next time reuse what you've already written. I've done that between a few startups now (where I was CTO so I could just do that at my discretion). Nice to not have to start from zero.

And there are secondary effects if you are active as a consultant or freelancer in the sense that having some projects that people actually use gives you a bit more credibility as a developer, as an expert, as somebody that knows what they are talking about. Minimum it's just a nice portfolio of stuff you can do. Maximum it actually helps generate a bit of business and inbound for your services. People don't pay for OSS software. But they do pay for support, consulting, etc. And you are the world's leading expert on your OSS software.

I dabble on the side (next to my main job as a CTO) doing occasional consulting on Elasticsearch and related technologies. I maintain a Kotlin client for Elasticsearch/Opensearch which is getting some usage and contributions. Mostly that's just something I use myself; so I don't mind spending some time on it.

Most of my customers are not necessarily into Kotlin; so they wouldn't be using my software necessarily. But it helps them understand that I know what I'm doing and talking about. And it gets me a bit of exposure. OSS is not a bad sales tactic to just put yourself out there.
by ww520 | 2025-04-02 20:34:57+00:00
It's a variant to the Kahn's algorithm. Here's the description in the comment on the function.

// This is a variant to the Kahn's algorithm, with additions on // finding dependence-free subsets and finding the cyclic nodes. // // This algorithm iteratively finds out the root sets of the graph. // 1. Find the first root set of the graph. // 2. Remove the nodes of the root set from the graph. // 3. Find the next root set. Go to 2 until the graph is empty. // A root set consists of nodes depending on no other nodes, i.e. // nodes whose incoming link count is 0.

The successive root sets form a topological order.

The in-degree of a node is the count of the incoming links of the leading nodes that the node is depending on. The in-degree can change as other nodes are removed from the graph.

Kahn's algorithm uses a queue to hold the pending nodes and works on one node at a time. My insight is that it's simpler to treat the root nodes as sets, and to partition the root nodes into the current root set and the next root set, which work nicely with the double-buffer mechanism. As a benefit, the nodes in a root set are dependence-free with regard to the current round and can be used for parallel processing.
by nicbou | 2025-04-02 20:35:07+00:00
If you didn't do any of this, you would be just fine, happy even.

This is entertainment. You can enjoy a random movie without watching the IMDB top 100 first. You can live without a deep understanding of the Afghan wars. You don't need to have an opinion on the latest AI trend.

My reading list is a wishlist. When I have time, I pick something interesting from it. I don't feel any obligation to finish it, or even to keep it from growing. It's an act of curation, not aggregation.
by al_borland | 2025-04-02 20:35:38+00:00
I have both. I remember having to get the passport, and remember each renewal (getting pictures, collecting the documents, finding the forms, sending them in, waiting to get them back). I have Real ID as well and have no memory of actually getting it, which makes me think it wasn't very hard.

Having to carry a passport card within the US sounds harder than just carrying my license. Especially when the passport card has all sorts of warnings about keeping it in the paper sleeve it comes with. It acts like it needs to be treated with kid gloves, and not just thrown in a wallet, like a license.
by freedomben | 2025-04-02 20:35:46+00:00
I'm a vet who has been coding now for almost 20 years, and I'd be willing to be a mentor but unfortunately the website doesn't quite answer my questions. Specifically:

1. What are the duties/responsiblities of a mentor?

2. I see that the mentor will need to do 1:1s, but no indication of time/frequency. How often are these and how much time is expected of them?
by WillPostForFood | 2025-04-02 20:36:17+00:00
It is all hyperbolic BS. I have a Real ID and don't even recall the process being different. Show a birth certificate and get an ID. Not a big deal.

-Real ID will make it easier for hackers and terrorists to steal our identities, and for governments and corporations to discriminate against us.

-the American government is effectively creating an “internal passport” of the sort that oppressive regimes (including North Korea) use to limit their people’s freedom of movement

-Real ID will abet the federal government’s already out-of-control discrimination against immigrants and their families.

-Real IDs have been called “hacker bait,” since they would give criminals and others another supposedly trusted identification to penetrate. *your neighbor who can’t find her certified birth certificate can’t fly Southwest to Phoenix to watch spring training baseball.
by preinheimer | 2025-04-02 20:36:21+00:00
If you scrap a laptop you get a nice, auditable, chain of custody from the end user to the company that will certify it's been destroyed. If you sell someone their old laptop you need to ensure that it's actually been wiped, not just "I copied my files over and started using the new one". I've seen a few IT departments be not great at "Sam got their new laptop two weeks ago, someone should follow up now to see if the wipe on the old one happened".

One choice won't get you fired, the other might save you a bit of cash.
by arcticbull | 2025-04-02 20:37:22+00:00
Also, it's not required. You can get through a TSA checkpoint without ID, it might just take a bit longer. They'll take you aside and validate your identity. [1]

[edit] > In the event you arrive at the airport without acceptable identification (whether lost, stolen, or otherwise), you may still be allowed to fly. The TSA officer may ask you to complete an identity verification process which includes collecting information such as your name and current address to confirm your identity.

[1] https://www.tsa.gov/travel/security-screening/identification
by konstantina_ps | 2025-04-02 20:37:29+00:00
Kaedim | Software Engineer, Machine Learning Engineer, Customer Support Engineer, Product Manager | Onsite | Full-time | San Francisco, Singapore, London | US & UK Sponsorship Available

Kaedim is an AI startup building ML algorithms that turn images into digital 3d models. We are a group of ~10 looking to grow the team to help streamline 3d content creation for 3d artists and are already working with 1 of the top 10 games of all time! Using our AI and in-house art team, we have the most accurate, game-ready 2d → 3d asset generation pipeline. Currently, we are offering a 10x speed up to 3D asset creation pipelines of 200+ game developers and we are working with partners like Voodoo, Upland, Azra Games.

Check out our demo here: https://www.youtube.com/watch?v=tlQWFG1DLb0

Job descriptions and application link: https://join-kaedim.notion.site/

Tech Stack:

Product (web app, API): React, MySQL, NodeJS, Python, AWS

Machine Learning: Python, PyTorch, AWS
by johnmaguire | 2025-04-02 20:37:42+00:00
With OIDC, both occur: the client is redirected to the authentication server where they directly authenticate, then carries a token cross-domain back to the service. Finally, the service validates the token against the auth server.

The alternative would be something where I enter my Google username/password on random websites, and trust that they will forward it to Google and not do anything nefarious. This is less secure and less private.
by roland35 | 2025-04-02 20:38:28+00:00
I understand leetcode is a grind. I was unemployed so I had time to do it, but if you're looking to interview while working full time it certainly is overwhelming!

I haven't learned too much from my studying, but as a non-cs background engineer it did help in a few ways, plus I think the structured practice of problem solving is helpful for any coding interview, whether practical or algorithm based.
by alozie2k | 2025-04-02 20:38:50+00:00
Hey everyone—I'm experimenting with creating posts about my daily activities and projects, whether they're side projects or client-related. I just want to try sharing more about what I'm working on, the problems I'm encountering, and the things I'm learning along the way.

I see this as a diary or personal log of my developer journey—something I can always look back at in the future.

So, here's my first entry, sharing a bit about what I worked on today, which was mostly client-focused:

Today, I spent most of my time working on a pretty unique AI voice project for a client. It's a different setup compared to typical AI voice systems that either usually connect to a virtual phone number provided by a telephony provider or is directly integrated into your website and usually works with a push to talk button setup.

In this project, the AI actually logs into browser-based dialer software and makes calls (imagine something like Google Voice, where you make phone calls and talk to people that are on the phone directly from your browser) & interacts with the software exactly like a human user. And the AI isnt simply handling phone conversations through the browser, but it is also interacting with the software itself— like clicking buttons, taking notes, basically performing all the tasks you'd normally do manually.

Now building this out seemed more straightforward at first, especially for a relatively young developer like myself, but I quickly ran into some interesting challenges. One particular challenge is what I've been trying to solve today:

To give a bit more context, I'm using OpenAI’s Realtime API, which handles audio streaming via WebRTC. The issue I'm facing is that all of this audio processing currently happens in my Node.js backend environment.

This creates a challenge because, for the caller on the phone to actually hear the AI’s responses, I need to play the audio inside the browser context/environment.

Essentially, I'm have to directly stream the audio from my Node.js server environment to the browser environment for that to happen and as it turns out, streaming real-time audio between these two separate environments isn't as straightforward as it initially seemed.

Right now, my temporary solution (just to have something demoable) is to take the AI’s transcribed text responses and feed them through a text-to-speech system running directly in the browser environment. While it works fine for demonstrations, it's definitely not ideal for production. It introduces noticeable latency and doesn't seem to fully leverage the full capabilities of WebRTC.

Here is a video breakdown that more visually showcases what I'm building and includes a demo - https://youtu.be/_5YJM_s5k4w?si=olyCOCmOe8fn763B
by 1shooner | 2025-04-02 20:38:57+00:00
I don't see any issue presented here that is exclusive to Real ID. The arguments presented here seem to logically argue against any government identification. Real ID isn't required for domestic travel, it's required for federally-regulated air travel. According to DHS, it doesn't create new databases, it's a credentialing standard.

I'm not familiar with Real ID, but this article doesn't present substantive arguments against it. It comes off a bit histrionic:

> And if you lose a Real ID—or it malfunctions—get ready for bureaucratic nightmares that would make Kafka blush. Newspapers will carry stories about people with Real ID problems who can’t access government offices to resolve them, because they don’t have Real ID.
by lyu07282 | 2025-04-02 20:38:57+00:00
I think its a side-effect of depoliticization by neoliberal reform from the 80s onward in the western liberal democracies. Everything has already been privatized and financialized, technocratic decision making has taken over. People are increasingly hurt by this system, but there is no political conceptualization of where that hurt is coming from. So people are galvanized into impotent political camps where they can hysterically scream about gay people, abortion, immigrants, guns or whatever.

I would be very curious to know what people here even consider "rational debate", probably a bunch of centrist takes on gay people, abortion, immigrants, guns or whatever would be my guess.
by rkhassen9 | 2025-04-02 20:39:45+00:00
"Generally I relied on canned goods to supply the bulk of my meals. Each can was protected in double Ziplock bags to prevent rusting. Pinhole leaks in cans caused by rust and corrosion can be lethal to the unsuspecting mariner."

Is a pinhole leak on a can really that dangerous on a 24 day trip. I get ocean air...but wow. That is something I would have underestimated for sure.

wondering if someone in the know can weigh in? is this over cautious or like yeah, good idea?
by Draiken | 2025-04-02 20:40:13+00:00
> Power and money aren't the same thing.

Kind of are in a capitalist society. Sure you need extra steps but it's still power. No need to go far... Elon is living proof of that. Other billionaires do the same but they don't need all the attention.

You're arguing you don't necessarily need money to have power but if you have money you absolutely do have power, which is my point.

> This would be considered one of those attacks you just mentioned.

I know... I couldn't help myself to hit back at a useless comment.
by voxl | 2025-04-02 20:40:21+00:00
I said it was an evil action, I didn't call them evil. This is the standard essentialism fallacy of morality. Doing an evil thing does not make your inherently evil. Holding slaves in 1800s is evil, but I don't think the people are inherently evil.

I have a pretty good understanding of why people didn't vote, the block I care about a lot more. The people that did vote for Trump specifically either are ride or die conservative, fell victim to misinformation, or are otherwise uneducated.

Trying to say that Biden and the DNC is "too blame" for someone picking a president that is happy sending citizens to an El Salvador prison is something. I expect a bit more from the electorate myself, and think they should take some accountability for their own mistakes.
by asoneth | 2025-04-02 20:40:55+00:00
My understanding is that this sort of rear-end crash generally tapers off as a sufficient number of local drivers become accustomed to driving safely instead of racing to make it through a yellow light.

But even if it doesn't, it might still be a reasonable tradeoff. A higher number of minor rear-end crashes (typically between unsafe drivers) might be acceptable if it helps to reduce more t-bone crashes that are more likely to be fatal.
by freedomben | 2025-04-02 20:40:58+00:00
> There's not much more justification for people in uniform building software tools than there is having them design and build artillery guns or transport jets.

Yes exactly. I don't have much to add but that was such a great point I wanted to emphasize it.

Also important to consider that as wasteful and expensive as it is to have contractors build stuff, there's at least important market functions in there doing some things and the contractor can be held accountable.
by jrm4 | 2025-04-02 20:41:00+00:00
As a Black person, I don't much see a large difference between the two things you mentioned?

Which is to say, it's certainly convenient to think that racism works like "there are racist cops on one hand and innocent well-meaning cops on the other," but that strikes me as an unhelpful oversimplification.

More specifically, I generally believe that most negative effects of racism come from folks who don't much realize how racist they are.
by mxuribe | 2025-04-02 20:42:49+00:00
I have a feeling that ever since late January 2025 in the U.S., oversight and regulatory overview might be more lax than in the past, and there will less of those "pesky" fines and criminal investigations...which begs the question: will 2025 be the year of increased negligent and/or nefarious behavior - both from corporate entities as well as hackers?

...I gotta go take a walk near some nature and flowers, because i just depressed myself with my comment. :-(
by int_19h | 2025-04-02 20:42:51+00:00
Having consumer allocate the memory where possible has other benefits in that the consumer can use more efficient allocation techniques (stack, arenas etc), and given that Win32 API design goes all the way back to the earliest version of Windows running on very resource-limited PCs, that would be the main reason why.

However, in cases where this wasn't consistently feasible - e.g. COM - Windows instead mandates the use of a common API to manage memory: CoGetMalloc etc.
by moritzwarhier | 2025-04-02 20:42:54+00:00
I tend to agree, but have softened on this, not only but also because of the handy devtools feature to expand them.

I do use them for margin, padding, inset.

Others I dislike a bit, for example I hate the one for background whenever things get complex. Others I don't like, but have become used to, for example the "flex" shorthand. I prefer separate flex-grow, flex-shrink and flex-basis properties.

Downside (and sometimes, intended upside!) to all of them is how they interact with inheritance and the cascade, i.e. accidentally overriding properties. OTOH it can prevent you from forgetting to override inherited properties.

Since the properties for which a shorthand exists often are closely related, this can be an upside.

The one in the article I still have to digest.
by alephnerd | 2025-04-02 20:43:09+00:00
Matches the expectation analysts have had from December 2024 [0]

"In the baseline scenario, we assume that the US will raise its effective WATR against Chinese goods by a total of 20 percentage points over 2025-27. We expect the effective tariff rate on China to rise by 5-10 percentage points in 2025, owing to the imposition of tariffs related to fentanyl smuggling disputes. Mr Trump will further phase in tariffs from late 2025 with a wider range of excuses and policy tools, eventually bringing the effective WATR facing Chinese exports to about 30% by 2027."

[0] - https://www.eiu.com/n/the-impact-of-us-tariffs-on-china-thre...
by nisa | 2025-04-02 20:43:34+00:00
It's wonderful that it seems work well for you but my experience in bridging group chats with XMPP or IRC was terrible. Lost messages, bridge crashes, puppet accounts getting randomly broken/duplicated with discarded messages.

From the bridges I've run, only the Telegram bridge is somewhat stable for me but it also has it's warts.

Might be different if you run a strictly personal server for 1:1 conversations but I'd say from an ux perspective the bridges idea largely failed IMHO.

I don't think it's the fault of element/matrix it's a difficult problem and I guess with limited resources they made a lot of progress and made things possible that weren't before but it's not plug and play, at least it wasn't for me.

In general I've found it's also difficult to communicate in group chats if there are two worlds with a slightly different view (missing reactions, some elements of the messenger are not supported like captions, polls and so on...)
by MPSFounder | 2025-04-02 20:43:39+00:00
A school being tough to get into due to an abundance of population (too many applicants) means little. There has been not one significant person coming out of those institutions (compared to the many figures coming out of the US, despite a population 5x smaller). I would not hire Sundar as a junior engineer in my team. Of course, you might see something in Google's current leadership which I do not see. Time will tell how performant the company will be long term. Again, I believe skills that make one successful in consulting rarely translate to success in the engineering field.
by kemayo | 2025-04-02 20:43:43+00:00
Plus, most of what Real ID does is increase the documents that you need to show to get your ID. The state generally isn't then putting all those documents online somewhere -- it's just requiring that you show them to an employee at the time of application. So in terms of what's stealable by hackers, nothing has changed.

Edit: I’m wrong, the state is required to keep copies. It’s not required to keep digital copies, but that’s probably simplest and so…