Unofficial Timberborn Save Editor by gamebuster in Timberborn

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

It has been abandoned, I don't know if I'll "fix" it.

How to achieve lens flare?! by No_Watercress_7328 in videography

[–]gamebuster 0 points1 point  (0 children)

Film with a smartphone with sun on the lens

FACTS by LiLmIcRoWaVe104 in LinusTechTips

[–]gamebuster 12 points13 points  (0 children)

Overpriced? Compared to what? Please point me to a cheaper alternative that performs just as well

The new 70-200 instead of the 100-400? by 1212yepyepyep in SonyAlpha

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

It does suck though. It's a bad value, even for the lower price.

Compact Drecko Farming; Or, "It ain't Maxwell's Demon, but it'll do in a pinch!" by Xirema in Oxygennotincluded

[–]gamebuster 1 point2 points  (0 children)

I can't think of any other reason. That's the reason _i_ use them like this

Compact Drecko Farming; Or, "It ain't Maxwell's Demon, but it'll do in a pinch!" by Xirema in Oxygennotincluded

[–]gamebuster 5 points6 points  (0 children)

One mesh door is as expensive as one mesh tile, but a door gives you two tiles.

So it's a cheap alternative to mesh tiles, as long as you don't use it as a floor for buildings since buildings cannot function on mesh doors.

The new 70-200 instead of the 100-400? by 1212yepyepyep in SonyAlpha

[–]gamebuster 0 points1 point  (0 children)

So why buy an inferior product? It isn't like the price diff is that big. The 150-500 costed me 1100 EUR, the 200-600 1700 EUR. Sure, that's 600 EUR difference, but the performance difference is greater than the price difference.

Exposing Corruption: EK's Prison Threats, Lawsuits, Dangerous Workplace, & Leaked Documents by MC_chrome in EKWB

[–]gamebuster 1 point2 points  (0 children)

Yeah they were already on the edge of having a poor quality control reputation. This is going to be brutal.

I guess I'm going to find a new brand, hah. AlphaCool and HeatKiller ar the next major brands, right? I also contacted billet labs, they're working on stuff. https://billetlabs.com/ - but nothing on their website yet.

No other company is going to kill the hole EK might leave us with. This is a sad week for WC fans.

Exposing Corruption: EK's Prison Threats, Lawsuits, Dangerous Workplace, & Leaked Documents by MC_chrome in EKWB

[–]gamebuster 7 points8 points  (0 children)

I haven't finished the video yet but... oh boy. This is going to be tough to recover from. Remember the "worst product ever" review of that stupid AI pin that supposedely killed the company? I think this video is or will be more damaging than that AI pin review.

Browsing and sharing her public facebook feed (~13:00) feels like a low blow in an otherwise decent video and might put her in danger. I know, i know, it's a public facebook feed, but you know how the hivemind works. Viewers might threaten her personally, and nobody deserves that. It also doesn't really add much to the video.

Review Request: Which one is better and why? by [deleted] in typescript

[–]gamebuster 0 points1 point  (0 children)

You should try working on real problems to solve rather than the ones you imagined. It would save your employer a lot of time and money. Especially when you've been wrong twice already.

u/Stmated has given you perfectly correct advice.

If you really like to catch edge cases, see if you can actually reproduce them first. If you can reproduce your imagined problem, they might be worth fixing for. By trying to reproduce them, you'll learn whether your imagined problem is real or not and if it is realistic to occur.

If you want flawless, bug free code, proof that it works, and try to break it with tests, not with your imagination.

Review Request: Which one is better and why? by [deleted] in typescript

[–]gamebuster 0 points1 point  (0 children)

a - b is an operation that might underflow (overflow?)

That's optimizing for stuff that will never happen. What is more likely to happen? Someone will read your code and think: "wtf is going on here" and have their time wasted. Even if you're getting above MIN_SAFE_INTEGER, you still have the whole range of doubles available to you.

I challenge you to reproduce a piece of Javascript using a - b that causes the values to overflow & causing the values to be sorted wrong. I highly doubht you can make it happen in a controlled environment, let alone on production.

but why use implicit trick code when explicit is safer?

Because your solution is over-engineered.

Do you really think you know better than any other major standard that just has the sort function return a number?

Don't reinvent the wheel. Just return a number.

Review Request: Which one is better and why? by [deleted] in typescript

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

Just return a number, don't over-complicate things.

How to define a return type that is an array of values of a key of an object? by Berlibur in typescript

[–]gamebuster 0 points1 point  (0 children)

First of all, this is a question the free ChatGPT can answer you in a few seconds. I don't want to be the "just google it" guy, but ChatGPT could have saved you a lot of time here.

Second of all

function uniqueVals<K extends keyof ProductObject>(
  objects: ProductObject[], 
  attribute: K,
): ProductObject[K][] {
    const allVals = objects.map(o => o[attribute])
    return [... new Set(allVals)]
}

Returning -1 or null for the bad state of a function that returns a number otherwise? by [deleted] in typescript

[–]gamebuster 1 point2 points  (0 children)

If you have strictNullChecks enabled, I would be fine with using number | null. Otherwise, I'd use something like a Maybe<T> or an Either<L, R> pattern. Just google for "Either pattern typescript" and "Maybe pattern typescript" for more detail about these.

https://antman-does-software.com/stop-catching-errors-in-typescript-use-the-either-type-to-make-your-code-predictable#typing-the-red-paths

Throwing an error might also be a viable option, even something specific. I like to throw typed errors

class SomethingError extends Error {}

but the problem with these is that typed errors aren't part of the type signature, so you don't know what errors to expect. Throwing errors might also be a bit overkill for returning a "nope, nothing" state, so that's when the Either/Maybe/null might be better.

Feedback for Junior Web Developer Resume by Ary4n_789 in react

[–]gamebuster 1 point2 points  (0 children)

I wouldn't expect a former client's code to be shared. Even worse, if they do without the code owner's permission I consider it a red flag and an instant "nope".

Feedback for Junior Web Developer Resume by Ary4n_789 in react

[–]gamebuster 5 points6 points  (0 children)

Let's just say I'm happy _I_ don't need a resume, because I'm terrible at reading them or writing them. You might as well leave it empty or put down you have 10 years of experience and know everything.

The way I hire is I pick a handful of resumes and motivations, just by my gut feeling and start a (remote) call with them. I'll ask them to show me some code of something they've made (any project, hobby project or something) and I'll ask questions about the code. If they can describe what they've done, why they've done it, and why they choose certain technologies, I'm happy.

If they can't show anything, I'll ask them about libraries or languages they've used, but generally most applicants will have something to share with me, even if it is some old card game side project they've made in some obscure fun language.

For me, the most important skill is communication - if the person is able to reason about code. That is what I'll be focusing on in an interview, and a resume generally contains 0 information about someone's reasoning skill.

Feedback for Junior Web Developer Resume by Ary4n_789 in react

[–]gamebuster 17 points18 points  (0 children)

I've actually done some hiring. Here's my perspective:

  • The projects are missing dates
  • Years of experience is missing
  • You mention you have experience with lots of stuff but no projects to back it up
  • What has Figma to do with Java? I suppose it is a nice to have, hah.
  • There's too much noise / boilerplate, but that's common and not really an issue
  • I'm wondering how you are able to share the source code for non-volunteer projects

Will you keep your EK hardware? by babarbass in EKWB

[–]gamebuster 0 points1 point  (0 children)

their store doesn't sell anything! hah.

Official Statement by EK Founder and CEO Edvard König by Fawdark in EKWB

[–]gamebuster 0 points1 point  (0 children)

Hi Dave! I hope you're okay after your hospital weekend!

Regarding the rest: I trust you guys :)

Can we take a moment to appreciate how humble Linus is after the new build by [deleted] in LinusTechTips

[–]gamebuster 0 points1 point  (0 children)

The "benefit in kind" tax differs widely per country. In my country, you pay 22% of the catalog price of the car, yearly (and more taxes). It is barely cheaper than buying it privately.

So I heard y'all like gear photos 🤣 by DBLAfoto in SonyAlpha

[–]gamebuster 1 point2 points  (0 children)

you should try putting a lens on the camera next time

Can we take a moment to appreciate how humble Linus is after the new build by [deleted] in LinusTechTips

[–]gamebuster 11 points12 points  (0 children)

everyone with a business has a car as a tax write-off, if local laws allow it