Hacker Newsnew | past | comments | ask | show | jobs | submit | smt88's commentslogin

Assuming this is a sincere question from someone who doesn’t know US history:

States in the US were modeled after sovereign nations, perhaps even more loosely connected than the EU is today. They didn’t even share a currency.

Eventually the federal government became more important and powerful, and there are many federal laws now, but states are fundamentally still their own thing with the rights to do certain things that are more like a sovereign nation than a province.


For a long time, you couldn’t buy “strike anywhere” matches because they could be used in producing meth.

It's the striker strip that can be used in producing meth. The strip contains red phosphorus. Strike anywhere matches are the only kind that don't need a special strip. The strike anywhere kind were probably restricted due to their sensitivity to shock and friction which makes them more useful and more dangerous than safety matches.

Loading a tennis ball full of the heads of strike anywhere matches is a core childhood memory.

I am not aware of this being a regulatory matter in any state, California included. Retailers choose not to carry them because they are expensive to ship due to their hazardous materials classification and an attractive theft / crime target due to their (inaccurate) drug association, but it hasn’t led to any blanket regulation at any state level that I know of. I do think they’re banned from workplaces in California though, but that’s because they’re dangerous, not because of meth.

Maybe this is true if you’re only considering white people. Brown people can spend a lot of time outdoors and still be deficient, especially if their ancestry is from much a much sunnier region or lifestyle than the one they’re currently living in.

Indeed: “Vitamin D deficiency in western dwelling South Asian populations: an unrecognised epidemic” … “27–60% of individuals, depending on season”

https://pmc.ncbi.nlm.nih.gov/articles/PMC7663314/?utm_source...


It has never been established that darker people require the same amount of D as lighter. The supplement industry plays on these fearmongering to boost sales.

The primary value of IDEs in the agentic era are: debugging, code review (with good diffing), and management of the agent’s context. I also use mine for browsing databases, but not everyone does that.

You seem to have one of those three. I’m not sure what your coding background is, but debuggers/profilers are incredibly useful and important, and it’s essentially malpractice for a developer never to use them.


Such a cringy and unpleasant statement... OP is smart to adjust to change. I have hand-written software for the past 30 years, and the moment I stop using my IDE, you’d tell me don’t know what I am doing?? Dude, I probably was writing assembly code by hand when there were no IDEs and you were still trying to figure out the taste of Play-Doh. Some people really need to put their head in the right place.

This response is so strange and unrelated to what I wrote, it feels like you're not even responding to me in the first place.

> OP is smart to adjust to change

When did I tell OP not to change? My comment was about how my own workflow has changed radically in the last couple of years.

> the moment I stop using my IDE, you’d tell me don’t know what I am doing??

What? I didn't do anything of the sort.

> Dude, I probably was writing assembly code by hand when there were no IDEs and you were still trying to figure out the taste of Play-Doh

This is incredibly childish. If you really are as old as you imply, the cringe is all you, friend.


>but debuggers/profilers are incredibly useful and important, and it’s essentially malpractice for a developer never to use them.

Just wait for the moment you need to write code for an embedded platform that doesn't have a debugging mechanism.

I've been programming for more than 30 years. Funnily, I used to use debuggers A LOT (in Borland Turbo C++ DOS "IDE" times, Visual Basic, Eclipse, Netbeans, Adobe Flash Builder, etc). But nowadays I seldomly use the debugger, if at all.


> Just wait for the moment you need to write code for an embedded platform that doesn't have a debugging mechanism.

Very close to 0% of programmers on this site are doing this. The vast majority are writing JavaScript/TypeScript, Python, or some other high-level language and targeting web platforms.

> But nowadays I seldomly use the debugger, if at all.

That might be fine for you and your use cases, but it's not fine for CRUD app developers who are essentially passing and mutating data around databases and state machines.


>That might be fine for you and your use cases, but it's not fine for CRUD app developers who are essentially passing and mutating data around databases and state machines.

I've done a mixed bag of these, but yep ultimately mainly just CRUD now days and yep that's all we're doing. It's what a lot of us are doing!


Haha I loved Netbeans, and in college(UK not US) got to the point when I taught actionscript instead of the teacher.

It is a little crazy to accuse people not using the dev tools you like of malpractice.

"Debugger" is not just a "dev tool I like." It's the only way to see what a program is doing while it's doing it, unless you're just writing to your console and hoping you captured enough state with your write statements.

I understand there are people who haven't used debuggers before and don't know what they're missing out on, but there's no excuse for that anymore because it's become much easier to set them up and use them.


Your response doesn't do a lot to convince me that "debugger" is anything more than a dev tool you like. It is not the only way to see what a program is doing while it's doing it -- there are plenty of other effective ways. I have encountered many bugs where a debugger wouldn't have been a help at all.

To be totally honest, having such an absolutist view makes you look inexperienced -- and accusing people who disagree of "malpractice" is absurd.


Hey! I'm a web and mobile developer for past 12 years and have wrote quite a lot of code over the years (github for receipts). I actually even written a mobile application profiler, it's on GitHub.

Debugging and profiling has always been outside of the IDE for me, except when I started out as a Java Developer.


My point was not at all to accuse you of using the wrong tools, but rather to point out that your rebuilt IDE is missing something very valuable (combining the debugging and editing experience).

I don't and have never understood why someone spins up a full-weight IDE and then not used that same GUI to manage their debugger, since you get a lot of added benefits from that (being able to copy/paste from the editor to code evaluation/REPL for example).

I wasn't trying to criticize this early work at all. It looks like a fun and promising project!


Hey, no worries, I don't think you were criticising! I guess this IDE was prominently started for me, and I wouldn't use an internal debugger vs debugging in Chrome for example. I think if I added one, the debugger would be opt-in/installable rather than always bundled.

Woah woah, temper down the assertion my friend!

Profiling is a tool meant for processes that relate to performance, or hot spots. Debuggers when integrated well[1], are great tools but compete with print based debugging which is a much more general skill one uses and needs to learn.

Let's reserve malpraxis considerations for writing code without any true thought given for security, privacy, accessibility and human rights affected.

[1] and I don't like the interface of any of the debuggers I used. Except maybe in ghci, if I had the patience to script a Tcl/Tk frontend one day.


Print-based debugging is worse in every way and also the wrong tool for the job.

You should absolutely be adding logging, including optional verbose logs, to code. It’s a form of self-documentation and a major convenience during maintenance.

But it doesn’t compete with or replace using a real debugger, which allows you to step through your stack at any point and see potentially many megabytes of state that you literally can’t consume from a text console.


I got out of the habit of leaning on debuggers with first making sure I'm not lacking in logging. I can't remember the last time I actually needed to set a break point.

what kind of noob uses debugger from within their IDE?

How else do you use it? Unless you’re talking about a browser debugger, which is the same UX that I’m talking about.

I’m referring to server-side work when I say to use a debugger in the IDE, not something targeting the browser.


via terminal

Claude seems to read when it needs to when I ask it to do something. Did you have a different experience?

It seems like you’re just trying to say he was a bad guy and you’re glad he’s dead, which is a valid way to feel, but doesn’t seem like the right type of comment for HN.

Maybe framing it as, “For those who don’t know this name, here’s why I do:” would be more interesting and helpful.


No, I’m not glad he is dead.

No one seems to know this better than Musk. All the money of a million lifetimes, and he can’t stop getting upset when someone tweets something negative about him.

The SpaceX scrap and redesign to the SLC6 launch complex needs to happen to 60 year old USAF airframe designs. Scrap. Redesign. Retire the risk. It isn't the money amounts. It is the effects on gaming the reality under the Starlink and not the Starline business model.

Windows is 10% of Microsoft’s revenue, so this is a result of them doing what you suggested and focusing on their core business (cloud services and Office).

Remember that even they switch to Mac or Linux, many workers will still be forced to use Office, Exchange, and/or Azure.


It's funny... Microsoft classifies things as core or not based on revenue. That's a very bean-counter thing to do.

Also, most companies wouldn't completely abandon something that makes for 10% of their revenue. Even if every other product they have didn't completely depend on it.


They could (and might as well) give Windows away for free. It's not an operating system for them, it's a sales funnel.

But that sales funnel needs to not exceed a certain maximum level of annoyance to the people traveling down it, or they'll look askance at other options.

I mean, not even all the Copilot silliness has been able to lead to The Year of the Linux Desktop, but Windows 11 as a whole I suspect has been good for Mac and iPad sales. And those are people that now aren't getting nagged by their operating systems to use OneNote, OneDrive, Word, Copilot etc at every turn.


Trump hasn’t (so far) demonstrated the ability to stop Israel from bombing and invading Lebanon, so I’m not sure what we can hope will change before Netanyahu leaves office.

There's a theory that BB is the bad cop, USA the good cop. USA lets BB do the dirty work and gets the blame. Every time there's a pending "deal" with Iran, BB skuttles it by attacking Lebanon or Gaza etc. What BB does is with USA's blessing. USA doesn't want a deal with Iran. USA wants control of the oil and Iran regime toppled.

It's ultimately about controlling the world's oil supplies to put the squeeze on China.


That doesn’t hold water to me because Trump looks foolish whenever Israel violates the ceasefire, and Trump isn’t strategic or forward-thinking enough to let himself look weak for an ulterior motive. He’s never done it before.

We also have very credible leakers from within the Situation Room now, so we’ll find out a lot more soon.


You have a point, but remember tRump gets to pass himself off as the "good" guy. Also, there is absolutely no way that Israel gets to act autonomously. They are a vassal state beholden to the USA. The USA calls the shots when it comes to Israel. The same with Ukraine. Ukraine does not attack deep inside Russia without the blessing of the USA. Israel and Ukraine are US proxies doing the dirty work for the USA.

Presumably there's the tacit acceptance that Iran would use that as an excuse to continue funding proxies and launching occasional missile attacks. A return to the status quo ante.

Iran seems to believe that their negotiating position will get better and better as time goes on. I'm not sure if they're right, but the terms they got Trump to agree to certainly indicate that they are. From that perspective, their current position regarding Lebanon makes sense. The more Israel attacks Lebanon, the more concessions Iran is able to extract from the US in their negotiations in exchange for not resuming the war. It's clear at this point that the only realistic outcome of the war is a negotiated settlement with Iran, so all resuming the fighting would do is kick the can down the road to a point where Iran's position is even better and the US's position is even worse.

Iran didn’t insist on enrichment for weapons. They had verifiably stopped and then Trump threw away the deal where they agreed to stop. This is 100% Trump’s fault, from start to finish.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: