Better HN
topnewbestaskshowjobs
Log inSign up

dajtxx

144 karma · joined Aug 29, 2013 (13y ago) · 79 submissions

Submissions

comment 4mo ago · link · parent

The 5 cm example had a line break between the 5 and the cm when I read the page in my phone. A joke?

comment 4mo ago · link · parent

Sorry for all the nasty replies here. You do you! I’m a car & bike guy so I’m glad you got a cool car and modded it as you like. I’m hoping for an old 900ss or monster for my delayed mid life crisis purchase but money isn’t there.

comment 10mo ago · link · parent

I agree but I think the problem will be if the consequences are that dire then entire classes of business will cease to exist OR the cost of doing things properly will be passed on to the consumer.

I struggle to see how data brokers, social media, etc are a net benefit to society so would be happy to see those sorts of businesses cease to exist, but I suspect I'm in the minority.

comment 1y ago · link · parent

It's a nice thought but think of the cost!

You do have to wonder what the hell the people in charge of the Windows UI are thinking. They seem to have got it so badly wrong. But so has Apple in macos.

comment 1y ago · link · parent

Don't kwow why you're getting downvoted, seems like a reasonable comment to me.

I agree, JavaScript and all it has enabled is a curse.

If one wanted the good bits of JavaScript I'm sure there are languages they were copied from that could be used instead.

comment 1y ago · link · parent

Still not feeling any sympathy. These people are actively working to make society worse.

comment 1y ago · link · parent

I had a job in the early 90s where another team were using Wang 2200s which I'm sure were coded with line-numbered BASIC.

Could be one of those with the everlasting ERP type software running on an emulator.

comment 1y ago · link · parent

I think Fusion360 is one of the worst things I've seen. It presents as local but it feels like every mouse click causes a web request to happen.

Something that should be local and snappy is just an awful experience.

comment 1y ago · link · parent

Such a weird and absurd conversation to be having from the PoV of someone who started using computers a long time ago.

Offline first apps 'sound like the future'? I agree they're far better than the trash we have now, but it's not like we can't build them now.

We should be building them now. The web was never meant to be an app delivery platform :(

comment 1y ago · link · parent

6502 zero page instruction vibes.

comment 1y ago · link · parent

I saw this yesterday. I was asking it to update an SQL query and it was saying, 'I did this' and then that wasn't in the query. I even saw it put something in the query and then remove it, and then say 'here it is'.

Maybe it's because I use the free tier web interface, but I can't get any AI to do much for me. Beyond a handful of lines (and less yesterday) it just doesn't seem that great. Or it gives me pages of javascript to show a date picker before I RTFM and found it's a single input tag to do that, because it's training data was lots of old and/or bad code and didn't do it that way.

comment 1y ago · link · parent

I used stty to make interrupt ktrl-k, then configured the terminal app to make copy/paste ctrl-c/ctrl-v.

I use copy/paste more than I use interrupt.

I hated MacOS keyboard shortcuts at first, but cmd-c/cmd-v do work around this problem.

comment 1y ago · link · parent

Agree to both points. The UI part of macOS is trash, and there are a few times I'd like to have kept a window on top but couldn't despite the random updaters and reminders doing it without asking.

comment 1y ago · link · parent

I get various app update dialogs opening up and stealing focus. Fusion360 is pretty bad when you open it - it takes forever too.

Focus stealing happens quite a lot on macOS.

comment 1y ago · link · parent

The problem (as far as I can tell) is that for Windows and MacOS you can't install the docker daemon etc without installing Desktop.

I have a Mac for work and containers are a pain. I've tried Podman, UTM, colima, Docker Desktop etc and it all boils down to the same thing - run a linux VM and have the command line utils cooperate with the VM to run the containers.

It comes down to which solution has the least friction and irritations and Docker might still win there.

My current setup is UTM running a debian VM which I share my source directory with and ssh into to run docker. This is simpler for my brain to understand because the linux VM isn't a hidden component I forget to manage.

But it's not obvious how to mount the shared directory and I'm constantly running into networking problems - currently I cannot connect as myself and must sudo ssh for it to work. A reboot (of the Mac) used to fix it, but no longer does. I've given up trying to fix it and just sudo.

comment 1y ago · link · parent

It can still be a bug if you use something after you would have freed it because your code isn't meant to be using that object any more. It points to errors in the logic.

comment 1y ago · link · parent

Shorter, Milchick!

comment 1y ago · link · parent

I am working on a system at present where the data scientist has done the calculations in an R script. We agreed upon an input data.frame and an output csv as our 'interface'.

I added the SQL query to the top of the R script to generate the input data.frame and my Python code reads the output CSV to do subsequent processing and storage into Django models.

I use a subprocess running Rscript to run the script.

It's not elegant but it is simple. This part of the system only has to run daily so efficiency isn't a big deal.

comment 1y ago · link · parent

I think one difference in these big pieces of software and the older systems is that the old systems ran on bespoke hardware and only one platform where as UNIX & Windows must support a lot of different hardware.

That's not to say they do seem far too large for what they do, but it is a factor. How much code in ROM vs loaded at runtime?

It also depends on what you include in those LoC. Solitaire, paint, etc? I18N files?

comment 1y ago · link · parent

I started with Java 1.0 and thought it was great. I still do, although I haven't used it since 2020.

The only thing I don't like is how there is no built-in JSON package which seems like a necessity these days.

Removing the public static void main(String[] args) business seems like pandering to a non-existent audience, or at least a miniscule and insignificant one. Anyone who is going to use Java for a real project is not going to be worried about that, and anyone who thinks that's too difficult to deal with is never going to be a good programmer anyway.

comment 1y ago · link · parent

Python seems to have started with 'why do those other languages have all this trash' and then spent the time since then learning why and coming up with worse versions.

I use python a lot these days, and like it, but it's pretty funny seeing stuff like the above and type hints.

I hate not knowing what types a function takes and returns.

comment 2y ago · link · parent

I can imagine the effort of open source Windows would be prohibitive.

Having to go through every source file to ensure there is nothing to cause offense in there; there may be licensed things they'd have to remove; optionally make it buildable outside of their own environment...

Or there may be just plain embarrassing code in there they don't feel the need to let outsiders see, and they don't want to spend the time to check. But you can be sure a very small group of nerds will be waiting to go through it and shout about some crappy thing they found.

comment 2y ago · link · parent

I agree, other than the part where he worked at a steel mill. But that was only 5 months.

Glass clearly had a can-do attitude that not many of us possess.

And yes, supporting a family on a single income these days is difficult (I do it), and you wouldn't be doing random plumbing jobs any more!

comment 2y ago · link · parent

I mentioned this to my wife a few weeks ago. I rarely look at myself for long in the mirror but spending an hour at a time in a video call where you see your own face can get to you (me).

I don't know why there isn't an option to hide yourself from your own screen, or is there?

I was on a long call yesterday and switched on 'focus on content' to get rid of the faces, but then new people turned up in the call and I didn't realise they were on. It didn't matter in that case but it would have been good to know.

comment 2y ago · link · parent

I go to the library and browse the shelves.

comment 2y ago · link · parent

Not weird at all, I feel the same and I think a lot of people who 'just get it' do too.

comment 2y ago · link · parent

Bogan CORBA.

comment 2y ago · link · parent

The scoping in Python... my goodness.

comment 2y ago · link · parent

I agree entirely with the above, not kidding.

comment 2y ago · link · parent

Very impressive!
123