[-] FizzyOrange@programming.dev 10 points 1 week ago

Oh cool how do I run VSCode in Termux?

[-] FizzyOrange@programming.dev 10 points 3 weeks ago

Yeah, honestly you should stick to if/else until you're really sure you want to do something more complex.

[-] FizzyOrange@programming.dev 9 points 1 month ago

You seem to have the idea that there are "people who want RT" and they'll overcome any inconvenience to get it, therefore making RT more convenient to use won't increase use of it.

Clearly nonsense, and I think the GPS analogy is a good one. My mum isn't "a person who wants GPS" and she would never have bought a GPS device in the 00s, but she uses one now because it's conveniently already available in her phone.

[-] FizzyOrange@programming.dev 9 points 1 month ago

I haven't actually used this site (found it after I already learnt Git), but it gets posted a lot, and one issue I feel like it has is it shows you the Git graph using a tool that you have to immediately throw away after you've finished this tutorial.

I think it would be better if it had an actual real Git tool shown. I would say VSCode's Git Graph extension would be ideal but unfortunately it has a stupid license.

[-] FizzyOrange@programming.dev 9 points 1 month ago

He never said it was an Internet Draft. Try actually reading. It might help you in the future when you are discussing things.

[-] FizzyOrange@programming.dev 10 points 1 month ago

I've heard they also removed good reviews if you don't pay them, so... yeah I don't think you can really learn anything from TrustPilot.

[-] FizzyOrange@programming.dev 9 points 2 months ago

only access secrets from environment variables

I kind of think this is a bad idea because environment variables can be read from anywhere and aren't designed to be secret.

But I'm not sure what a better solution is tbh.

[-] FizzyOrange@programming.dev 10 points 2 months ago

I never did a CS degree but recently I've been doing some things that make me wish I had. But it isn't any of this stuff which seems mostly programming things that you can easily learn outside academia.

The stuff I would like to understand which I haven't yet been able to learn on my own is the hard computer sciency stuff: lambda calculus, type inference (how do you read that weird judgement syntax?), how SAT/SMT solvers work, dependent typing systems... Does anyone have any good resources for those sorts of things?

[-] FizzyOrange@programming.dev 10 points 2 months ago

The main downside is Git downloads all history by default, and so any large files will bloat the download for people cloning your repo forever. It isn't about binary vs text. It's just the size that matters.

[-] FizzyOrange@programming.dev 9 points 4 months ago

If everyone had a magic lamp that told them whether performance was going to be an issue when they started a project then maybe it wouldn't matter. But in my experience people start Python projects with "performance doesn't matter", write 100k lines of code and then ask "ok it's too slow now, what do we do". To which the answer is "you fucked up, you shouldn't have used Python".

[-] FizzyOrange@programming.dev 10 points 4 months ago

Real moral of the story: STATIC TYPING!

Seriously so many people think it's a waste of time, and then stuff like this happens.

[-] FizzyOrange@programming.dev 10 points 6 months ago

Well, I can't read it... But I would say it's nonsense that Git is intrinsically confusing. The core data model is extremely simple and intuitive. The problems are:

  • Terrible CLI.
  • Terrible terminology (index is probably the worse; why not draft commit?)
  • Bad tutorials. Lots of them explain things wrong or just confusingly
  • It's a fundamentally visual problem yet so many people advise against using a GUI.

It's like trying to explain CAD using OpenSCAD instead of SOLIDWORKS. Of course it's going to seem like CAD is confusing.

That's not to say Git's data model is perfect. What's there is decent but there are big gaps. Support for large files is bad (LFS is a hack). Support for very large projects is bad (monorepos tend to get slow and sparse checkouts are difficult; submodules have lots of issues). Conflict resolution tends to be very dumb, though I think there are some projects to improve that.

view more: ‹ prev next ›

FizzyOrange

joined 1 year ago