MurphyA/hacker-news huggingface dataset:
by machtiani-chat | 2025-05-13 15:21:22+00:00
Say I'm chatting in a git project directory `undici`. I can show you a few ways how I work with codex.

1. Follow up with Codex.

`mct "fix bad response on h2 server" --model anthropic/claude-3.7-sonnet:thinking`

Machtiani will stream the answer, then also apply git patches suggested in the convo automatically.

Then I could follow up with codex.

`codex "See unstaged git changes. Run tests to make sure it works and fix and problems with the changes if necessary."

2. Codex and MCT together

`codex "$(mct 'fix bad response on h2 server' --model deepseek/deepseek-r1 --mode answer-only)"`

In this case codex will dutifully implement the suggested changes of codex, saving tokens and time.

The key for the second example is `--mode answer-only`. Without this flagged argument, mct will itself try and apply patches. But in this case codex will do it as mct withholds the patches with the aforementioned flagged arg.

3. Refer codex to the chat.

Say you did this

`mct "fix bad response on h2 server" --model gpt-4o-mini --mode chat`

Here, I used `--mode chat`, which tells mct to stream the answer and save the chat convo, but not to apply git changes (differrent than --mode answer-only).

You'll see mct will printout that something like

`Response saved to .machtiani/chat/fix_bad_server_resonse.md`

Now you can just tell codex.

`codex "See .machtiani/chat/fix_bad_server_resonse.md, and do this or that...."`

*Conclusion*

The example concepts should cover day-to-day use cases. There are other exciting workflows, but I should really post a video on that. You could do anything with unix philosophy!
by freehorse | 2025-05-13 15:21:39+00:00
There are many more or less obvious ways that people do p-hacking without even realising it.

A classic one is looking at eg an eeg topographic plot, notice which areas or channels within an area seem to be more promising, and running stats and follow ups on these. There are of course degrees of these: people may have preregistered which area (let's say prefrontal cortex for example) but leave open which channels (because it is a bit hard to make that exact guesses anyway). There are methods to deal with this (eg cluster permutation analysis) but often people seem to think that they have to choose between averaging between too many channels, thus risking smoothening out and decreasing an existing effect, or cherry-picking channels based on visual inspection of the data, which means artificially increasing an existing effect or even creating an artifactual one. Because people do not actually run a test to pick the channels, they just visually inspect the data, they do not actually realise this is p-hacking. The problem is that determining the researcher's degrees of freedom is not an easy task, and not one that can just be formalised in a p-adjustment technique.

There is a huge spectrum of practices around these degrees of freedom, that may happen during any stage of the data processing, that range from obviously to subtly sketchy and problematic. And believe me that often people who do that think that they actually have good practices, and others do p-hacking.

Imo the main way to actually avoid this issue is actually being transparent with all the decisions one makes, even if this can reduce the faith on one's results (which actually should be the point of it, if that's the case!). A lot of time shit happens, and often it is hard to predict everything in advance in a preregistration. If the incentive was to just play safe then not much innovation and method experimentation would occur. It is easy to talk about preregistration as panacea in fields with long ago established practices, but much harder when the state of the art wrt both methods and theory may change wildly even in 2 years that may take to run a study.

I believe we need better frameworks for rigorous exploratory research. The only paper I have seen to actually take this idea seriously is this one [0], but I believe a lot of research would more honestly fit in such a framework, and not everything should be conceptualised within a hypothesis testing framework.

Method-wise, closed testing procedures also seem very interesting for such research (and can work both actually inferentially, but also for extracting hypotheses for further testing), such as [1].

[0] https://pmc.ncbi.nlm.nih.gov/articles/PMC7098547/

[1] https://openpharma.github.io/CTP/articles/closed_testing_pro...
by searine | 2025-05-13 15:21:43+00:00
>All it will do is take government out of the equation.

The middle-class professional scientist is an invention of post-war governments to create an engine of progress.

Pre-war science was a gentleman's hobby, funded by the bored rich. Corporations largely do not perform any basic science and simply reap ideas sown by academics and bring those ideas to market. Without government funding of basic science the engine of progress stops. No new discoveries or new scientists, at least not in the US.
by quantadev | 2025-05-13 15:22:09+00:00
Oh, I get your argument. You think all functions that have finite output length for [usually] longer input length, are hashes. I totally get what you're saying, and it necessarily also means every LLM "inference" is actually a hashing algo too, as you noticed yourself, tellingly. So taking a long set of input tokens, and predicting the next token is (according to you), a "hashing" function. Got it. Thanks.
by hombre_fatal | 2025-05-13 15:22:11+00:00
I swapped Terminal for iTerm2 because I wanted specific features, not because of performance. iTerm2 is probably slower for all I care.

Another example is that I use oh-my-zsh which is adds weirdly long startup time to a shell session, but it lets me use plugins that add things like git status and kubectl context to my prompt instead of fiddling with that myself.
by bilbo0s | 2025-05-13 15:22:18+00:00
While the employer might lose a worker to an entrepreneurial venture, isn't this the sort of self-selection out that leads to a more engaged workforce overall?

Mmmm..

I don't know man?

Be careful with this line of reasoning.

Someone, say, an employer, might be forgiven for concluding from your line of reasoning, that not allowing for remote work in the first place then leads to a more engaged workforce overall. Since remote workers are more entrepreneurial, they'd self-select out by not taking the job.
by jayd16 | 2025-05-13 15:22:31+00:00
You're just replacing one favorite solution with another. Would users want simplicity at the cost of performance? Would they pay more for it? I don't think so.

You're right that the crux of it is that the only thing that matters is pure user value and that it comes in many forms. We're here because development cost and feature set provide the most obvious value.
by alias_neo | 2025-05-13 15:22:40+00:00
You plug in a USB-C cable with DP-Alt mode (or whatever phones use) and you have a (4K) display of any size, keyboard and mouse (via the USB hub in the monitor), and webcam, speakers, whatever else that's connected to your monitor/hub/docking station.

The phone just becomes the processing power; essentially an ARM laptop with all of the peripherals external.

I currently using Pixel 9 Pro XL (512GiB) and I imagine it's got more compute power than my ageing 2019 XPS 13.

Conversely, I'm not entirely sure what the use-case is. It couldn't replace my work-laptop with a 20-core CPU and 64GiB of RAM and ARC GPU, running Ubuntu/Gnome that I can also connect to a couple of monitors, keyboard, mouse, speakers, webcam, and more with a single cable via a docking station; and if I was going to carry the peripherals needed to do this with my phone, when on the go, I'd just carry a laptop, like I do now.

Curious to hear what the use-case is for people with these desktop/phone crossovers. If it's to cover the use-case where I haven't brought a laptop with me, forgotten it, didn't bring it for weight or whatever; where am I supposed to find these peripherals to use?
by eblume | 2025-05-13 15:22:44+00:00
Definitely more of a fish vs zsh situation, in my opinion.

tmux, to me, feels like "modern screen". It has some cool features, but at the end of the day, it just wants to be a terminal multiplexer. Great!

Zellij on the other hand seems to offer terminal multiplexing as an obvious first-class use case but "not the whole point". At the surface, Zellij is an opinionated terminal multiplexer that uses a nice TUI to give discoverability which you can turn off when you're ready to gain screen real estate. It's easy to make Zellij behave exactly like tmux/screen, and it's easy to configure via a single config file.

Where Zellij takes a turn in to a different direction, however, is that the workspaces you can configure with it can do all sorts of interesting things. For instance I once built[0] a python cli app which had a command that would launch a zellij workspace with various tabs plugged in to other entrypoints of that same python cli, basically allowing me to develop a multi-pane TUI as a single python Typer app. In one pane I had the main ui, and then in another stacked pane I had some diagnostic info as well as a chat session with an llm that can do tool-calling back out to the python cli again to update the session's state.

I think wrapping up a project's dev environment as a combination of mise (mise.jdx.dev) and zellij or nix+zellij to quickly onboard devs to, say, a containerized development environment, seems like a really neat idea.

0: https://github.com/eblume/mole/blob/main/src/mole/zonein.py -- but this is mostly derelict code now, I've moved on and don't use zellij much currently.
by reverendsteveii | 2025-05-13 15:22:56+00:00
Work != job

One of my greatest pleasures has been orienting my life toward projects and away from pleasures. I now find myself doing a lot of what other people consider work, but self-directed and self-paced in a way that brings me incredible, deep satisfaction. No one, including me, forces me to do these things. I do them because I like doing them. Bodybuilding, maintaining my home, lawn and garden, cooking/brewing/fermenting, building software. I'm not an extraordinarily wealthy man but if I woke up tomorrow with "comfortably live the rest of your life based on interest alone" money I don't suspect my life would change all that much.

Once you're doing that sort of work, the meaning of this rule will become clear as will its meaninglessness.
Ask HN: Would You Use an AI Chatbot to Assess Your Cybersecurity Risk?
by levidurfee | 2025-05-13 15:23:00+00:00
Hey HN, I’m Levi and I’m building a project called NerdSec. Our mission is to make cybersecurity easier and more accessible for everyone.

To help people understand their risk, we’re working on RiskBot—an AI chatbot designed to have a friendly conversation and assess your cybersecurity exposure. It explains, in simple terms, where you’re most vulnerable and offers tips, services, or products to help protect you.

Whether you're a solo dev, a small team, or just curious about your digital safety, RiskBot is here to help.

I’m hoping to learn if this is something people find valuable or interesting. Would love your thoughts, feedback, or questions.

Below is a link to a blog post explaining the concept.

https://nerdsec.io/blog/post/navigate-the-cybersecurity-labyrinth-introducing-riskbot
by sgjohnson | 2025-05-13 15:23:05+00:00
> Why doesn't the README file explain what this repository is doing?

It explains exactly what it's doing.

"Microsoft Store package for Windows LTSC."

It provides a Microsoft Store package for LTSC builds, and an install script that allows it to actually work. Windows LTSC builds don't have Microsoft Store preinstalled, and Microsoft offers no official way to re-enable it.
by gruez | 2025-05-13 15:23:06+00:00
>Back to the point: when did the democrats shift to any of these alleged positions? They didn't. It's what the opposition says they did, but they in-fact didn't.

That's a distinction without a difference. If Democratic voters and activists are pushing for a given position, it's cold comfort to the independent or Republican that it's not an official position of the Democratic party (whatever that might mean). Just look at Project 2025. It was produced by the Heritage Foundation, a right-leaning think tank that is technically independent of the GOP. Trump even distanced himself from it during the campaign. Does that mean Democrats aren't right to worry about it, because it wasn't an official position?
by jmstfv | 2025-05-13 15:23:52+00:00
2 things worked well for NotionBackups:

* SEO - I started way before I launched the product. I wrote an article on how to back up a Notion workspace using their (then newly-launched) API. It still brings in traffic to this day. Granted, there was almost no competition when I started

* r/Notion subreddit - only in relevant threads when someone is looking for a solution. After some time, some of my customers began recommending this tool to others
by PaulRobinson | 2025-05-13 15:25:03+00:00
If these are in priority order, sure. If not, it's 0.9909% of the rules of living.

That Machiavelli quote is a poor take on love as part of life, I agree.

In defense of TFA though, it is titled rules of effective living, not necessarily happy living.

The rules on avoiding cruel people and who treat others badly are kind of like an anti-rule that works here though: if you're judicious and conscientious about that, I think you just end up with loving people around you, in every type of relationship: acquaintance, familial, friendship, intimate...
by hombre_fatal | 2025-05-13 15:25:11+00:00
Podman might have some limited API compatibility, but it's a completely different tool. Just off the bat it's not compatible with Skaffold, apparently.

That an alternate tool might perform better is compatible with the claim that performance alone is never the only difference between software.

Podman might be faster than Docker, but since it's a different tool, migrating to it would involve figuring out any number of breakage in my toolchain that doesn't feel worth it to me since performance isn't the only thing that matters.
by Devasta | 2025-05-13 15:25:34+00:00
Imagine software engineering was like real engineering, where the engineers had licensing and faced fines or even prison for negligence. How much of the modern worlds software would be tolerated?

Very, very little.

If engineers handled the Citicorp center the same way software engineers did, the fix would have been to update the documentation in Confluence to not expose the building to winds and then later on shrug when it collapsed.
by bryanlarsen | 2025-05-13 15:25:43+00:00
The left "abandoning" the working class is Clinton telling coal miners "I'll spend $30B on retraining you for new jobs, and building up new industry in coal mining region" vs Trump saying "I'll save your jobs".

Was Clinton "abandoning the working class"? It doesn't feel like it, but it certainly could be construed that way.

OTOH, Trump's statement was a bold faced lie. He didn't save coal mining jobs, coal mining jobs dropped significantly during his first term.
by j45 | 2025-05-13 15:25:45+00:00
Software that is for a customer or end user is not about the builder alone, or primarily.

Software is for people (end users/customers) to use, and is made to work for people.

Learning the people side of building, and delivering, and helping people with it is key.

Of course, some people in any office environment will play work in pursuit of achieving a daycare or high school for adults.
by kstrauser | 2025-05-13 15:27:03+00:00
Not quite in this case. Tmux was started by someone who wanted to update screen with new features but wasn’t able to bend the code that far. I say this not out of spite or meanness, as I used screen for many happy years, but I’d say it’s less complete and more abandoned. It still has maintainers but it seems to me that they’re more “keep the lights on” than actively developing it.
by trealira | 2025-05-13 15:27:11+00:00
There was planning by high-level co-conspirators in the Republican party to keep Trump in power. It was the fake elector plot. The Trump administration attempted to seat fake electors in states Biden had won.

https://en.wikipedia.org/wiki/Trump_fake_electors_plot

The storming of the Capitol on January 6th was the last attempt to overturn the election by making sure Pence wouldn't certify the election with the electoral certificates he had. It might have succeeded if Pence had actually just not certified the election.

In response to January 6th, Congress passed legislation making the certification purely cetemonial, called the Electoral Count Reform and Presidential Transition Improvement Act of 2022, so it's not an avenue that future auto-coup attempts will be able to try.

https://www.pbs.org/newshour/politics/congress-approves-new-...
by bestwillcui | 2025-05-13 15:27:27+00:00
Yep, if anyone didn't want their videos to be on our site, we would take it down.

Just watched the video, I don't initially agree with his take completely but do totally respect the viewpoint and think a payment split to the creator whenever someone summarizes the video makes sense.

Yes we do offer the option to summarize content without creator buy-in, although it seems a bit different since we're also augmenting the content with questions etc. which should drive users to watch the video even more as opposed to skip it and just read the summary.

But you're right it's not perfect. If we ever have creators who don't want their stuff on our site we'd totally respect their wishes, but that hasn't been the case right now so this seems like the best thing to do.
by immibis | 2025-05-13 15:27:28+00:00
> they'll certainly abuse hate speech laws to silence dissent

and my main point is that they'll do that whether or not the laws exist. If the laws don't exist, they'll create them, then abuse them. So we should not let this argument stop us from having good laws. Right now, American citizens are getting detained for having anti-Trump social media posts on their phone. They don't need any law to do that - they can just do it. Can you explain how the lack of a hate speech law prevented this thing from happening, even though it did happen?

> it was the photos and film of police illegally using attack dogs and fire hoses on peaceful protestors exercising their constitutionally protected free speech that changed everything

No? It was them getting beaten to a pulp in the American Civil War. If their minds were changed by the police response to the protests, why did the war still happen?

> (and force Hitler to illegally shoot unarmed peaceful protestors at noon in front of the Reichstag)

Did Hitler not illegally murder unarmed peaceful protestors? I'd be surprised if that was never something he did. Were the 6 million Jews and 5 million other victims armed; were they not unpeaceful? Would they have been spared if they protested?

> I think perhaps you default to trusting your local police, courts and judges to enforce a "hate speech" law clearly and consistently far more than I do,

Not more than any other law. Right now in Berlin, it's illegal to oppose the Palestinian genocide, because the police see it as antisemitism, and antisemitism is illegal. But that's a problem with every law.

> On the other hand, what I think I trust more than you do, is my fellow citizens. I was raised in a raucous, fractious, combative, Darwinian marketplace of ideas

And we see what that leads to. We did the experiment - we got the results. Doesn't work as described. Leads to tyranny. Time to try something else. Please don't try to gaslight me how it works when we can clearly see it not working like that, plain as day.

> Finally, if certain ideas are so clearly wrong that speaking them out loud must be stopped by legal force, aren't they also clearly wrong enough for the average person to tell they are wrong?

I refer the honourable gentleman to the answer given one paragraph ago.

> All that said, you've articulated your points very well. I think I understand your point of view and....

Good concluding paragraph. Very polite. Probably not quite fitting the usual online conversation format. You're supposed to call me Hitler or something.
by buzzerbetrayed | 2025-05-13 15:27:32+00:00
Yep. I suspect GP has just gotten used to this and it is the new “snappy” to them.

I see this all the time with people who have old computers.

“My computer is really fast. I have no need to upgrade”

I press cmd+tab and watch it take 5 seconds to switch to the next window.

That’s a real life interaction I had with my parents in the past month. People just don’t know what they’re missing out on if they aren’t using it daily.
by mzaarab | 2025-05-13 15:27:42+00:00
Location: Chicago, Illinois, USA

Remote: Yes

Willing to relocate: Yes

Technologies:

• Languages: JavaScript/TypeScript, Node.js, Ruby, Python, SQL, HTML, CSS, Shell

• Libraries/Frameworks: Vue.js, VuexORM, React, Next.js, Remix, Ruby on Rails, Erb, Flask, jQuery, Tailwind CSS

• Infrastructure: AWS (CloudFront, EKS, EC2, ECS, IAM, DynamoDB, S3, SDK, CloudWatch), New Relic, Terraform, Digital Ocean

• Other Technologies: Git/GitHub Actions, Docker, HuggingFace, Transformers, Postgres, Redis, Nginx, MongoDB

Links:

• Résumé/CV: https://marwanz.io/Marwan_Zaarab_resume.pdf

• Email: marwan.zaarab[at]gmail[dot]com

• GitHub: https://github.com/marwan37

---

Hi! I'm Marwan, a software and AI engineer with 4+ years of experience building modern web apps, developer tools, and MLOps infrastructure. Most recently at ZenML, I led the development of several projects and blog content showcasing best practices for production-grade MLOps workflows. I also contributed to ZenML Studio, a VSCode extension for managing ML components. Previously at CardFree, I developed key merchant features, including promotional campaigns, loyalty program integrations, merchant configuration interfaces, and built their global search system. I am the co-creator of Pennant, an open-source collaborative computational notebook. I'm currently open to new roles where I can tackle technically ambitious problems across AI infrastructure, developer experience, or fullstack product engineering.
by cogman10 | 2025-05-13 15:27:48+00:00
I'm going to be pretty blunt. Carmack gets worshiped when he shouldn't be. He has several bad takes in terms of software. Further, he's frankly behind the times when it comes to the current state of the software ecosystem.

I get it, he's legendary for the work he did at id software. But this is the guy who only like 5 years ago was convinced that static analysis was actually a good thing for code.

He seems to have a perpetual view on the state of software. Interpreted stuff is slow, networks are slow, databases are slow. Everyone is working with Pentium 1s and 2MB of ram.

None of these are what he thinks they are. CPUs are wicked fast. Interpreted languages are now within a single digit multiple of natively compiled languages. Ram is cheap and plentiful. Databases and networks are insanely fast.

Good on him for sharing his takes, but really, he shouldn't be considered a "thought leader". I've noticed his takes have been outdated for over a decade.

I'm sure he's a nice guy, but I believe he's fallen into a trap that many older devs do. He's overestimating what the costs of things are because his mental model of computing is dated.