[-] FizzyOrange@programming.dev 5 points 8 months ago

It's because as soon as one country forces it on their citizens the others can say "it can't be that crazy - Australia and the UK have already done it!"

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

No, generally people are annoyed that you're spending time paying off tech debt instead of piling on more.

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

I mean, it would be great if this succeeded... ffmpeg is nice and all but its interface is clearly terrible and there's absolutely no way it is remotely secure. Anyone that uses it on a server basically has to run it in its own VM, or a severely locked down sandbox.

But good luck supporting all the codecs people expect. I'm not even talking the obscure ones ffmpeg supports; just the ones "normal" people use will be a life's work.

Also you have to change the name!

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

Interesting idea, but your trick is never really going to help (you can store up to 255 bytes instead of 254). Also always using 256 bytes for every string seems wasteful.

I think LLVM's small string optimisation is always going to be a better option: https://joellaity.com/2020/01/31/string.html

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

Ah makes sense, thanks.

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

Honestly I think the complaints about the job market are overblown. If you are good then there will always be a job for you somewhere.

If you've already tried programming and you enjoy it then it is a really great career. Crazy money (especially in the US) for low effort and low responsibility.

Just be aware that CS is usually a lot more theoretical than most programming. You'll be learning about things like Hoare logic and category theory. Tons of stuff you only really need in the real world if you're doing formal verification or compiler design.

Still, I kind of wish I did have that theoretical background now I am doing formal verification and compiler design! (I did a mechanical engineering degree.)

Also you don't need a CS degree to get a programming job. I did a survey of colleagues once to see what degree they had and while CS was the most common, fewer than half had one. Most had some kind of technical degree (maths, physics, etc.), but some had done humanities and one guy (who was very good!) didn't have a degree at all.

I wouldn't worry about the market. Maybe take a look at the syllabus for places you might apply to, e.g. here's the one for Cambridge. Also I guess an important question is what's the alternative? What would you do otherwise?

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

No, they're inherently optional in Git. There's no way to "check in" a git hook. You have to put in your README

Clone the repo and then please run pre-commit install! Oh and whatever you do don't git commit --no-verify!

You definitely need to actually check the lints in CI. It's very easy though, just add pre-commit run -a to your CI script.

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

I'm not sure I agree. I think most people can understand recipes or instruction lists and totally could program, if they wanted to and had to. They just don't want to and usually don't have to. They find it boring, tedious and it's also increasingly inaccessible (e.g. JavaScript tooling is the classic example).

But I think mainly people just don't find it interesting. To understand this, think about law. You absolutely have the intellect to be a lawyer (you clever clog), so why aren't you? For me, it's mind-numbingly boring. If I was really into law and enjoyed decoding their unnecessarily obtuse language then I totally would be a lawyer. But I don't.

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

Yeah Verilog. That's literally the language people use to design chips and FPGA bitstreams.

Someone has already done it: https://github.com/Redcrafter/verilog2factorio

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

Fresh is the best way to make websites, and Deno is the best way to write infrastructure scripts IMO. I really hope they don't run out of money.

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

If you use VSCode, open both files and then ctrl-shift-P "Compare active file with ..."

You're welcome.

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

Those days never existed. Even the first iPhones were like $500 and that was over a decade ago.

These prices are very high but phones last a lot longer than they used to and are improving a lot slower. I just bought a Pixel 8 for £400 which (accounting for inflation) is about the same price as we used to pay for three old Pixels and even Nexuses.

E.g. the Nexus 4 which was considered "mega cheap" was £279 for the 16GB model, which is £390 in today's money.

They're clearly going for price differentiation based on the model year, but you really don't need the latest model to have an amazing phone any more.

view more: ‹ prev next ›

FizzyOrange

0 post score
0 comment score
joined 3 years ago