[-] FizzyOrange@programming.dev 13 points 2 weeks ago

Rust doesn't have inheritance like in traditional OOP languages because it doesn't have virtual methods. You have to manually implement methods to delegate to base classes.

Also what is this trash meme?

[-] FizzyOrange@programming.dev 13 points 3 months ago

IMO automated changelogs like these are not especially useful. Better than no changelog I guess, but nowhere near as good as a proper changelog. But proper changelogs take actual effort.

[-] FizzyOrange@programming.dev 14 points 1 year ago

it is wise to stick with old and tested.

You mean old and known to cause endless security vulnerabilities.

[-] FizzyOrange@programming.dev 13 points 1 year ago

This totally might be true, but the fact that he got as far as measuring the same latency on X and Wayland... and then just gave up and is like "well never mind what the measurements say, it's definitely Wayland"... Hmm.

You gotta do the measurements. It's probably not even that hard, all you need is a USB mouse emulator (any microcontroller with USB peripheral support can do this and there are tons of examples) and a photodiode.

You don't even need to worry about display latency if you are just comparing X with Wayland.

[-] FizzyOrange@programming.dev 14 points 1 year ago* (last edited 1 year ago)

Pretty disappointing that some people think this is acceptable behaviour.

At least it's still very obviously "AI slop" as they put it. If ChatGPT ever stops its distinctive patronising waffle it's going to be much more annoying to filter out.

[-] FizzyOrange@programming.dev 13 points 1 year ago

Have a go on your free time and see if you like it. There is an absolute ton of free learning material online. You don't need to pay anyone.

Most programming jobs (e.g. making web sites) are easy enough for the average person to do, but I think most people would find programming far too tedious and boring to learn.

It's like law - there's nothing particularly difficult about it but most people find it incredibly mind numbing to read legal documents.

So I would have a go in your free time first to make sure it is something you could do.

[-] FizzyOrange@programming.dev 13 points 1 year ago

Ok first impressions:

  1. Rotate is Shift-Right-Click?? Very weird default choice. Most programs use middle-click.
  2. I created a simple sketch with a couple of slots. Surprisingly smooth! Vastly improved from when I last tried it. Still not quite as good as SolveSpace for sketch creation, but to be fair SolveSpace was originally created to demo of a state of the art sketch solver... I couldn't find the Dimension tool, but guessed the shortcut was D, which was correct.
  3. Extrude is misnamed as "Pad". Why?
  4. Clone icon is a sheep :-D - actually the icons are all pretty great.
  5. Cut is called "Pocket"?? Actually the icon for this is not great. Minor issue though.

I only made a very simple part, but I am impressed. This is significantly better than when I last tried it, when it basically didn't work at all. I haven't tried assemblies or anything complex (e.g. extruding up to a non-flat surface, degenerate geometry etc.), but definitely for simple tasks you could use it.

[-] FizzyOrange@programming.dev 13 points 1 year ago

Eh, it practice it works extremely well. I can't remember a single instance where a PDF document rendered incorrectly.

The format is very old so it's not surprising it has picked up a few WTFs. I'm happy to keep those hidden below the abstraction.

[-] FizzyOrange@programming.dev 13 points 1 year ago

... in one benchmark.

[-] FizzyOrange@programming.dev 13 points 2 years ago

Maybe not dumb but I've definitely been forced to at least partly learn a few terrible languages so I could use some system:

  • PHP so I could write custom linters for Phabricator. Pretty successful. PHP is a bad language but it's fairly easy to read and write.
  • Ruby so I could understand what the hell Gitlab is doing. Total failure here, Ruby is completely incomprehensible especially in a large codebase.
  • OCaml so I can work on a super niche compiler written in OCaml. It's a decent language except the syntax is pretty terrible, OPAM is super buggy, and I dunno if it's this codebase or just OCaml people in general but there are approximately zero comments and identifiers are like ityp, nsec, ef_bin... The sort of names where you already need to know what they are.
[-] FizzyOrange@programming.dev 13 points 2 years ago

That brings more problems. Despite the scaling challenges monorepos are clearly the way to go for company code in most cases.

Unfortunately my company heavily uses submodules and it is a complete mess. People duplicating work all over the place, updates in submodules breaking their super-modules because testing becomes intractable. Tons of duplicate submodules because of transitive dependencies. Making cross-repo changes becomes extremely difficult.

[-] FizzyOrange@programming.dev 13 points 2 years ago

A recent notable example is xz, but there’s also event-stream npm package a few years ago that got infected with Bitcoin stealing code.

They're asking if the entire project is somehow fake, not if it's a real project that got backdoored. That's obviously impossible to tell just based on stars, language quality, and similar heuristic signals.

view more: ‹ prev next ›

FizzyOrange

joined 2 years ago