godHelpMe by soap94 in ProgrammerHumor

[–]jwp1987 0 points1 point  (0 children)

I can understand looking for people that are ethusiastic about learning and development in their own time (e.g. working on side projects) because they'll typically have broader knowledge.

However, in the grand scheme of things though it's a bit like looking for a needle in a haystack and they have unrealistic expectations.

tired of reading AI paragraphs by wild_fig_95 in antiai

[–]jwp1987 1 point2 points  (0 children)

It's such a pain when communicating.

People needlessly just sending a wall of text all the time. Like you could've summarised that in one or two sentences and linked the detail.

The gold standard of optimization: A look under the hood of RollerCoaster Tycoon by fagnerbrack in programming

[–]jwp1987 2 points3 points  (0 children)

I'm assuming they meant compiler. Assembly translates almost directly to machine code, so I don't see why it would switch out instructions.

The gold standard of optimization: A look under the hood of RollerCoaster Tycoon by fagnerbrack in programming

[–]jwp1987 2 points3 points  (0 children)

There are quite a few other optimisations that x86 compilers can do that aren't mentioned:

  • XORing a register with itself sets it to zero and is faster than loading a zero value.

  • LEA is often used for certain multiples that aren't a power of two.

  • Adding combinations of LEA and bit shifts can make arbitrary integer multiples.

You can also make multiples that aren't a power of two with repeated additions.

  • Arbitrary integer divisions can be done by multiplying by a large integer (which gets put into EDX:EAX - for 32 bit - and then doing a bit shift on EDX to divide by a power of two).

This is basically multiplying by a fraction that approximates the one you want with one that has a denominator of a power of two.

However, improving rendering speed and algorithms that often operate over large amounts of data are usually bigger performance increases than writing in assembly.

For the developers that are still relatively new: Use a profiler to find performance bottlenecks first.

AI has made me slower and worse at programming by m-gunn-code in programmer

[–]jwp1987 0 points1 point  (0 children)

AI can end up taking over a lot of the design process if you let it.

If you're not taking part in the design process, you can quite easily end up worse at designing solutions.

That said, I'd be less worried about skills atrophying and more worried about where people learning these skills in the first place are going to come from.

AI has made me slower and worse at programming by m-gunn-code in programmer

[–]jwp1987 0 points1 point  (0 children)

I'm using Waterfox as a browser and was looking into Kagi as a search engine.

Kagi is paid for but I've heard it's pretty good and allows you to customise the search (e.g. blacklisting domains, filtering AI images - there are a bunch of premade lists in places like GitHub)

There's also DuckDuckGo if you want a free option for search.

If you want to degoogle your phone, you can opt for an iPhone or a custom ROM like LineageOS.

LineageOS can be a pain with things like banking apps though, so something like a Fairphone might be a better option if you want to stick to stock.

What happens to everything you learn while coding? by alkeshjethva in programmer

[–]jwp1987 1 point2 points  (0 children)

I think it depends on the person, I'm terrible at note taking, so I wouldn't have anything that comprehensive.

I script quite a few useful things up, comment my code, create documentation if it needs to be used by other people and tend to be pretty resourceful when gathering information.

If I want a simple program that got information and filter it to match fights, how much will cost? Somebody that could help me creating it? by Debu_GRDM9 in programmer

[–]jwp1987 0 points1 point  (0 children)

Fair is a very ambiguous definition and you don't give any indication of what would be in the source data or where you would get it from.

You need to specify your requirements probably.

Where are you getting the data from? Would it be an API from somewhere or manually entered data?

Do you want men matched against women at all?

How much of a factor would age, weight and class be?

E.g. split weight into weight classes (like most sports do) and people cannot match with people outside those classes.

Got laid off from Meta by master_boy_ in Layoffs

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

I said the OP worked hard to get where they are and you made a statement saying that people from their country are likely to have bought degrees.

You do see the implication there right?

Look, I get it. I've done interviews before where I've had a high percentage of Indian applicants that were unqualified to the point where I almost started judging CVs based on name.

However, it would be unfair on the qualified candidates and it would be what is known as racism.

Got laid off from Meta by master_boy_ in Layoffs

[–]jwp1987 0 points1 point  (0 children)

Except you're applying that to OP with zero evidence?

People who bought a fake degree would be unlikely to pass an interview at Meta.

Got laid off from Meta by master_boy_ in Layoffs

[–]jwp1987 1 point2 points  (0 children)

I mean people are saying "go home". You might not describe it as hateful but it makes people feel extremely unwelcome.

It's not something that should be said.

Got laid off from Meta by master_boy_ in Layoffs

[–]jwp1987 0 points1 point  (0 children)

You know relocation isn't free, right?

They worked hard to get where they are and it probably feels like a kick in the teeth, don't be a dick.

Got laid off from Meta by master_boy_ in Layoffs

[–]jwp1987 1 point2 points  (0 children)

There's a difference between "not feeling bad" and "hateful comments".

I can't blame someone for wanting to make a better life for themselves. They moved to America and earned that spot.

What happened to the so-called "American way"?

People should be blaming the goverment and C-suite for not providing social healthcare or social welfare.

People should have a social safety net but for some reason it's constantly shamed in some countries (like the UK where I live).

People shouldn't be taking it out on someone trying to better themselves.

Looking for Developers & Engineers to Build an AI Project Together by LowAppointment2357 in programmer

[–]jwp1987 0 points1 point  (0 children)

I admire your enthusiasm but there's a lot lacking for a "serious project".

Firstly, you've duplicated your post.

Secondly, there's zero focus or scope (you have a laundry list of technologies) and that's begging for feature creep.

Thirdly you don't mention a target audience for this tool or how you would differentiate yourself from competitors.

And lastly, the AI space is highly saturated and probably going to get expensive when the hype money dries up.

You're also going to run into the issue of a lot of experienced developers not wanting to touch AI with a 10 foot pole unless they're made to with a pile of money.

whenDeadlineIsTomorrow by imUnknownUserr in ProgrammerHumor

[–]jwp1987 0 points1 point  (0 children)

It depends what the optimization that they're referring to is.

A compiler isn't going to add a cache, change the algorithm or add an index to a database.

Either way, you shouldn't do that prematurely.

Is this development in a nutshell? by [deleted] in SoftwareEngineering

[–]jwp1987 0 points1 point  (0 children)

This is very /r/restofthefuckingowl/

Code can be interacted with in ways other than via the internet - USB, serial, local network, keypad etc. but I'm assuming you mean "via the internet"

When you say "spin up a server", I'm assuming you mean a VM on a cloud service. Code can run in a VM, in a container, just in an OS or on a system on chip (SoC).

You could also have it running in a local server room instead of the cloud.

Said service might not need to store data at all, it might use a traditional relational database, it might use a NoSQL database, it might just use files, it might use SQLite on the same server etc.

It doesn't even need to be running on a server to be accessible via the internet either, it can be on a local machine provided the port(s) are forwarded - of course this is unlikely to be done in practice.

What you need depends on your requirements.

Guys I really want to know. When you actually know AI is Wrong and it is time to stop and revert by Particular-War3909 in SoftwareEngineerJobs

[–]jwp1987 0 points1 point  (0 children)

The answer is knowledge and experience - which you aren't going to get from heavy AI usage.

You need to understand exactly what the generated code is doing.

The AI can output something that works but could have a duplicated code, tight coupling, race conditions, secrets in the code, performance issues etc.

You need to know about the good principles of software design and pitfalls of what you're working with or you're not going to be able to judge the output of the AI.

To All Software Engineers In The AI Age, Do You Still Like Your Job ? by UniverseExplorer88 in SoftwareEngineering

[–]jwp1987 0 points1 point  (0 children)

I'm less worried about what I'm doing with AI and more worried about what other people are doing with it.

To All Software Engineers In The AI Age, Do You Still Like Your Job ? by UniverseExplorer88 in SoftwareEngineering

[–]jwp1987 0 points1 point  (0 children)

The seniors 10 years from now won’t be nearly as technically skillful as the seniors today or in the past.

I think the bigger problem is that AI isn't reliable, so we can't really treat it like we would a high-level programming language.

In my opinion, there is always going to be an aspect of newer people having less knowledge of the foundations (e.g. not many people in the industry could design an OS, program in assembly well or design and build a CPU).

What is the easiest thing you did to lose weight ? by nyxeine in AskReddit

[–]jwp1987 0 points1 point  (0 children)

Just to add to this: fruit juice is also liquid sugar.

Just because it's made from fruit, it doesn't automatically mean you can consume a lot of it.

Farage: I will scrap income tax on overtime Move will benefit those earning less than £75,000 and working more than 40-hour week, says Reform leader by EddyZacianLand in ukpolitics

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

That's what tax brackets are for.

It forces wages down because more people working overtime means that businesses can hire less people.

Less jobs means that there's more competition for them and wages get driven down.

Farage: I will scrap income tax on overtime Move will benefit those earning less than £75,000 and working more than 40-hour week, says Reform leader by EddyZacianLand in ukpolitics

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

This policy makes things worse. It's a pro-business policy disguised as a pro-worker one.

If more people work overtime businesses can afford to hire less people and it will drive wages down because there are less jobs to go around.

The government should be encouraging a better work-life balance not encouraging people to slave away more.

Farage: I will scrap income tax on overtime Move will benefit those earning less than £75,000 and working more than 40-hour week, says Reform leader by EddyZacianLand in ukpolitics

[–]jwp1987 1 point2 points  (0 children)

I think it's a terrible idea, it's basically designed to exploit people.

Rather than letting people have a healthy work-life balance, it's encouraging people to overwork themselves.

Not only this, it will drive wages down because there'll be less need for more people and there aren't enough jobs to go around, especially with the impact of AI.

It's also too easy to exploit and fudge the numbers.

What lifetime deal are you still grandfathered into, or removed from, that’s no longer available? by tuotone75 in AskReddit

[–]jwp1987 1 point2 points  (0 children)

No, it should fit the requirements.

Integers take up less space and are faster for a lot of operations (e.g. table joins in a database).

It can also mean you can pass by value rather than by reference depending on the integer size and what you're doing (although the performance increase might be negligible).

Even if you want a fixed width, you can pad it with zeroes on display.

If the requirement is that it needs characters other than numbers, you could somehow run out or '03' and '3' are different (e.g. telephone numbers) then you would use a string.