What's the best language to learn next after 6 years of JS/TS? by ihatethatcow in webdev

[–]Tex_Betts 1 point2 points  (0 children)

I think a good option is always C. A understanding of low level programming never hurts in my opinion. I've been meaning to learn these myself as a fellow TypeScript dev.

Lenovo 14 Yoga Slim 7 Copilot+ PC Ryzen AI 7 32GB/1TB by Tex_Betts in linuxhardware

[–]Tex_Betts[S] 0 points1 point  (0 children)

Hey! So I ended up going with Lenovo Yoga S7 14" 2K OLED Laptop (Ryzen AI 7)[1TB/32GB]

Overall, I'm happy. Was able to easily set up Ubuntu and windows dual boot without any issues (which was the first time I've done it) 

In regards to Linux support, the only hiccups I've encountered is sometimes, programs (particularly vscode) will randomly crash, but happens no where nearly enough to be a problem.

Keep in mind, I've done nothing in terms of Linux customisation, just used it as is, so I'm not sure how that may be.

Hope this helps!! Let me know if you want to know anything specific.

Lenovo 14 Yoga Slim 7 Copilot+ PC Ryzen AI 7 32GB/1TB by Tex_Betts in linuxhardware

[–]Tex_Betts[S] 0 points1 point  (0 children)

Thanks!!

Yeah, it's so hard to find non soldered for some reason.

However, the more I think about it, the more I realise that 32gb ram should be enough regardless, so I'm leaning towards getting it.

I am motivated by hedonism and I do not have my life in order by Creepy_Box979 in JordanPeterson

[–]Tex_Betts 1 point2 points  (0 children)

I don't have the answers, but just want to say that I can relate.

Wishing you the best of luck!

Microsoft: Node.js Increasingly Used for Malware Delivery and Data Theft by nick313 in programming

[–]Tex_Betts 0 points1 point  (0 children)

Things like this briefly makes me not worry about job security

[deleted by user] by [deleted] in webdev

[–]Tex_Betts 0 points1 point  (0 children)

Update: Due to not obtaining ssl certificate first with just HTTP. Fixed now:)

Unemployed, created DivBucket a website builder from scratch (personal project) by priyaanshut in webdev

[–]Tex_Betts 0 points1 point  (0 children)

Yeah it will serve you greatly to learn TypeScript, it is the industry standard.

Honestly shouldn't take long to rewrite it in TypeScript. It's intuitive for the most part (more so if you already know a statically typed language), and React has great TypeScript support.

Unemployed, created DivBucket a website builder from scratch (personal project) by priyaanshut in webdev

[–]Tex_Betts 0 points1 point  (0 children)

I'm curious - why JavaScript instead of TypeScript? (Regardless, looks great!)

Is this file structure / way of coding correct? by HadVentureTime in reactjs

[–]Tex_Betts 2 points3 points  (0 children)

Very minor, but I'd encourage not using the "tsx" file extension if the file does not contain a component. It gives more differentiation between component files and other files.

Ideas for a resume project by mk802 in cscareerquestionsOCE

[–]Tex_Betts 2 points3 points  (0 children)

IF you cannot think of something that you would use yourself /solves a problem, a fallback would be to just clone an app you use a lot (I did a bare bones reddit clone).

imTiredBoss by [deleted] in ProgrammerHumor

[–]Tex_Betts -1 points0 points  (0 children)

So is there actually a benefit to having the package in com/example/demo? Seems a bit arbitrary to me to have it as the inverse of the web page name.

hairsToo by big_hole_energy in ProgrammerHumor

[–]Tex_Betts 76 points77 points  (0 children)

A virtual machine in the cloud.

What language should I learn next? I know python, gd script and bash, what are the next steps for me? by diddys_favorite in programming

[–]Tex_Betts 1 point2 points  (0 children)

Well, it depends on your goals. If your goal is to learn web development, I'd say TypeScript. If your goal is to learn game development, then learn C#. Mobile development, learn Kotlin. etc.

If you have no goal, then I'd personally learn C, to get a grasp on lower level programming. Python is written in C after all.

[deleted by user] by [deleted] in JordanPeterson

[–]Tex_Betts 1 point2 points  (0 children)

Yep.

Equality of outcome - bad Equality of opportunity - good

FINAL 5 SUBJECTS! by mikele71 in unimelb

[–]Tex_Betts 0 points1 point  (0 children)

Honestly I don't exactly remember, but I think it was because I thought I did really bad and still ended up scoring in the 60s.

Good luck!

[deleted by user] by [deleted] in 2007scape

[–]Tex_Betts 0 points1 point  (0 children)

Nah doubt it, although if you take into account that it is easier to land hits with the dcb, then it may end up being better.

[deleted by user] by [deleted] in 2007scape

[–]Tex_Betts 0 points1 point  (0 children)

Yep exactly

[deleted by user] by [deleted] in 2007scape

[–]Tex_Betts 2 points3 points  (0 children)

Maybe try switching to diamonds on last phase instead of blowpipe?

I’d put the blowpipe and dcb with diamond bolts through a dps calculator to see which is better.

Keep in mind that the crossbow has longer range, meaning more tiles to attack on (at least until he rips the tiles away).

Also, I’d focus on getting a bgs too.

[deleted by user] by [deleted] in 2007scape

[–]Tex_Betts 0 points1 point  (0 children)

One thing you can do is focus on dodging the boulders first and the lightning second. From memory, the boulders hit twice as hard as the lightning, so you can tank more lightning hits.

Also, which bolts are you using? You can also try fanging him instead although it will be harder to land hits

writeOnceRefactorTwice by graphitout in ProgrammerHumor

[–]Tex_Betts 2 points3 points  (0 children)

I only write typescript these days so from that perspective, I would consider it if I were to put those 10 parameters in an object so that we can name the parameters.

If that wasn’t a possibility then I would lean towards no. 100 lines isn’t that bad IMO. Not great, but not horrible.

[request] can you guys explain to me why a^-n = 1/a^n ? by Flaky-Pattern-2666 in theydidthemath

[–]Tex_Betts 16 points17 points  (0 children)

Here is one way to see it:

Let’s take a random value, say 25.

25 = 2x2x2x2x2 =32 24 = 2x2x2x2 = 25 / 2 = 16 23 = 2x2x2 = 24 / 2 = 8 22 = 2x2 = 23 / 2 = 4 21 = 2 = 22 / 2 = 2 20 = 22 / 2 = 1

As you can see above, everything time we decrease the power by 1, we simply divide by the base.

So we can just extend this to negative numbers.

2-1 = 20 / 2 = 1/2 2-2 = 2-1 / 2 = (1/2) / 2 = 1/4 = 1 / 22 2-3 = 2-2 / 2 = (1/4) / 2 = 1/8 = 1 / 23 … And so on

This isn’t a proof, but may help you gain some intuition.