Better HN
topnewbestaskshowjobs
Log inSign up

reader_mode

2,387 karma · joined Sep 6, 2020 (6y ago) · 638 submissions

Submissions

comment 5y ago · link · parent

>I've worked about half of my career in the game industry. I've practiced TDD and written automated tests (and frameworks) for desktop, web and mobile apps. Some of those have been in the medical industry where the testing is crucial. I say this to make it clear that I'm familiar with solid software engineering practices.

Did you work in the game industry before the other stuff or after ? Because I went that way game dev -> application development - and frankly a lot of the SW engineering practices from game dev were terrible in the transition - not because I couldn't apply them in game dev - but because I didn't know about them - and nobody around me told me - and I haven't seen it in code from others.

>With that in mind, games are the hardest software I've encountered for writing automated tests. It's just notoriously difficult to do in an effective manner. It's not impossible, but it's incredibly difficult.

There's a ton of low hanging fruit - running recorded controllers, partial scenario tests, gold copy rendering tests, smoke tests, regression testing - frankly it's not that hard to raise the bar from 0. I'm not up to date in the industry so maybe they aren't at 0 anymore but from occasionally keeping tabs and playing games occasionally I would say it hasn't moved far.

Just the number of regressions in MMOs for example where you could easily code tests for the stuff that was fixed is an obvious example that nobody was doing regression testing or adding tests after fixes. And this is for MMOs that have an incentive to keep a healthy codebase (not just ship and forget)

comment 5y ago · link · parent

I mean he's basically saying what I am - they are the exception, very few teams are doing it, no public information on how to do it or best practices, everyone reinvents everything on their own from scratch.

I'd wager the popular engines are well tested because of the number of titles shipped on them not because they have good testing automation - but TBH I haven't worked in this industry for almost 10 years so maybe things changed.

comment 5y ago · link · parent

My impression is that asset creation is more scalable (even if labor intensive) and they figured out a way to manage it - I haven't seen a AAA title with asset issues, and from what I understand hiring a bunch of asset creators is cheaper than hiring developers to automate their work.

comment 5y ago · link · parent

> There's a really important point to grok: AAA titles are more about asset management and art than they are about coding

If that was true there wouldn't be so much logic and code bugs in AAA titles.

From what I've seen game industry has terrible software engineering practices - why have automated testing when your model is crunch to release and then leave a skeleton crew fixing the bugs after you shipped.

Also being stuck in C++ doesn't help either, an ecosystem with bizarrely the most complicated frameworks I've ever seen (eg. boost) and yet the worst tooling out of anything I've used (with comparable adoption rate).

comment 5y ago · link · parent

This made me think back to HDD days. As much as they sucked I kind of miss the HDD grunt - I could hear when stuff was using my disk, it was kind of reassuring that the PC was working. Sort of like that floppy drive boot check sound. That HDD seek rumble and CD spin when you were installing games. Objectively these things are a negative but I kind of miss it. This also made me realize where car fans complaining about the electric car feel are coming from :)

comment 5y ago · link · parent

Also one of the amazing aspects of JS ecosystem is TypeScript - structural type system on top of an open object system is such a flexible and pragmatic tool it's amazing.

Last time I used Clojure (probably 5 years ago to be honest) the lack of static typing combined with the functional nature made complex imperative code (which you're sometime forced to write, and there are examples of such code in standard library) almost impenetrable.

comment 5y ago · link · parent

Thing is M1 air is cheap for the quality/performance so you could probably get both.

comment 5y ago · link · parent

> In the real world, there aren't many people making purchasing decision between an M1 Apple laptop or Mac Mini and an AMD 5800X desktop machine anyway

I have a 15 inch 2018 i9 MBP that's objectively a terrible device (throttling/keyboard).

With corona and WFH I'm weighing my options - right now everything is out of stock but early next year I'd be interested in building a desktop. My problem is the M1 is so good that if they do a 8 performance cores version for 16 inch MBP in spring there would literally be no point in having a desktop - I could have a single device that outperforms the desktop machine. Frankly I don't see why they couldn't offer a 13 inch varian with more cores - thermals are not a constraint.

comment 5y ago · link · parent

This is like developer saying "it works on my PC" ... except if you're shipping a half finished game to millions of preorder customers you can see how this could lead to situation that it's now. I'm still interested in this game but I'll probably wait for it to go on sale and for them to iron out the bugs.

comment 5y ago · link · parent

> You set up some algorithm that relies on the bias to make predictions or classifications. Now you can say it's not you that's biased, it's just the algorithm.

It's not that you set up the algorithm to rely on the bias - ML trains on data produced by a biased system and ends up building a model containing the same biases - you don't need to "set-up" anything - if you're fine with the existing biases you can "launder" them through ML.

comment 5y ago · link · parent

DRY is a good principle to default on, juniors need to learn to pick this up - I constantly need to fix this kind of thing in reviews, they haven't learned to recognise when stuff should be factored out and they also write buggy code so it's easy to show them that writing the code once, isolating dependencies and testing it is a better approach than coming up with the similar code over and over in ad-hoc fashion.

Once you start getting it you tend to go too far (everything is a nail when all you have is a hammer) and experience helps you learn to judge when to use it - but it's an invaluable tool and you need to use to get the experience - so I would suggest extract shared code by default - inline when it gets too complicated.

comment 5y ago · link · parent

AFAIK there's a licensing tier for RHEL that gets you that - don't know how it compares to Ubuntu.

comment 5y ago · link · parent

Paid CentOS support is called RHEL - the whole point of CentOS is repackage GPL RHEL stuff without the licensing fee. The only way I see this being viable is them getting bankrolled by a huge cloud provider - but cloud providers already decided that having their own distros was a better option.

comment 5y ago · link · parent

Supports web standards ? Extensions ? Developer tools ?

I'm using Safari as my primary browser because Chrome is a resource hog and this i9 MBP sounds like a 747 taking off when it starts using CPU but Chrome is a better browser feature wise - I plan on switching back to desktop (since this WFH shift it's just better) and I will 100% use Chrome even if Safari was an option (fan noise/CPU power/power consumption aren't a concern).

comment 5y ago · link · parent

In that case everyone would keep using Apple to pay if it actually provided convince/value.

comment 5y ago · link · parent

The argument is nonsense because Apple decisions are not driven by security but are there to ensure they get a cut of every revenue stream on their platform. If this was just about security there would be a way to verify secure 3rd party payment processing methods - I trust Stripe as much as I trust Apple for example. And you wouldn't be forced to offer the same price on other platforms either.

I don't mind personally I see the value they offer - they make products that are better overall for a large majority of consumers and their ecosystem just works for many use cases - it doesn't fit me particularly well but I see the value proposition.

Pretending that these store policies are driven by security is nonsense, those kinds of arguments tick me off.

comment 5y ago · link · parent

>Windows/IE literally wasted hundreds of millions of person hours by being leaky, insecure, virus-prone crap. You could - if you chose to - make quite a nice income out of sending out phishing emails on our open email system. Likewise for randomsware, only more so. And so on.

And so your argument is that Microsoft should have forbidden anyone from using a different browser engine (like Apple does) to make things safer ? What if someone installed Chrome or Firefox - that could have leaks and then you would think less of the platform - right ?

comment 5y ago · link · parent

>I see no evidence that this harms consumers at all. Quite the opposite.

Your entire argument is refuted if Apple isn't allowed to abuse it's market position and you're allowed to have "Apple Pay +30% price" "Stripe Payment" "Payment X" - you would quickly see the real value of App Store and Apple Payment processing convenience - that 30% would probably come down to 10% where it provides the convenience value.

If consumers weren't harmed consumer choice would have no effect.

This "users are idiots and they need Apple to tell them what's best for them" is like Stockholm syndrome with Apple fans, it's especially entertaining to hear it so often on a "hacker" newsgroup. Good thing papa Apple decided you can't have that dangerous Fortnite scam tricking you in to using a different payment system, you're better off not wasting time on games anyway - really if you look at it that way they are saving you from bad choices two times - win/win for Apple users I'd say.

comment 5y ago · link · parent

Viagra/Cialis don't work ?

comment 5y ago · link · parent

It's funny, sometimes better reproduction quality ruins the experience - for example I rewatched some sci-fi movies on my 4K TV in full resolution and the extra detail just brings attention to flaws in effects, it shifts the experience from people in a magical place to actors in front of a green screen.

But everything is objectively better and the experience is better in 95% of the cases.

Likewise for music. When I listen to some music on my studio headphones I get precise sound and more detail, but in the end some music sounds worse than on cheap but loud bass heavy headphones.

comment 5y ago · link · parent

I have a similar problem - I use studio headphones at home mostly but popular music actually sounds worse without EQ. Listening to podcasts however is almost like being in the studio.

comment 5y ago · link · parent

I doubt it - there is plenty of competition in that market. I bought some "no-name" chinese open ears for 50$ with supposedly good drivers - had decent reviews saying they sound above their price - you just needed to replace the horrible ear pads they were decent. But for example my 200$ DT990 are obviously a class above.

comment 5y ago · link · parent

Umm that's just straight out wrong.

If you're not hearing the difference between 200$ headphones and 50$ ones or even 500$ vs 200$ and think it's foam then there's something wrong with your hearing. Like the parent said the differences get more subtle as you go up the range and at some point it becomes bullshit (gold HDMI cable stuff)

comment 5y ago · link · parent

Eventually sure - but in the start one road block I see is not just total numbers of accidents but also the way it fails. Human failure modes are relatively well known and we build our infrastructure around them - AI not so much.

comment 5y ago · link · parent

Microsoft OSS stuff is generally good, VSCode, .NET Core and that ecosystem. The enterprise stuff (SFB, Sharepoint, AD, etc.) is a pile of garbage I wouldn't touch unless my life depended on it.

comment 5y ago · link · parent

Having used Bosch software I sincerely doubt that organisation has the capability to innovate in anything software related.

comment 5y ago · link · parent

Surface Laptop and T14 are not premium ultraportables, Surface Pro and X1 are - and unfortunately those don't even have AMD CPUs in the upcoming leaks (I would buy one instantly if it came with 5xxx series AMD).

comment 5y ago · link · parent

If this was just a new CPU option with a performance boost over Intel (and significantly better thermals) but a compatibility mess - I would agree.

But MBP is 500$ price drop from the Intel variant. At these price points these laptops are a far better value proposition than the competition - Intel thermal performance and power consumption is just terrible, AMD is better but not present in anything premium - in terms of value for money - anyone looking at a premium 13 inch new laptop right now should IMO get one of these devices unless they have a really good reason not to (and admittedly there are plenty of those).

I really hate this situation because Apple is not the company I want to buy hardware from - they really suck on giving options, it's all "Apple know what's best for you" from them and their cult (for example I want a laptop with a touch screen, and ideally a 360 hinge, but there is no touch on MacOS because Apple). I would pay double for X1 Yoga with M1 class CPU. But right now Intel has dragged down the x86 laptop market down for soo long, and is still the only game in town for competition, it's just sad. AMD has good chips but no good devices. Modern ultra portable laptops are throttling, overheating and die instantly or have no work performance - it's just terrible tradeoffs for professionals.

comment 5y ago · link · parent

It's also outright false - AMD licensed GPU tech to Samsung for the next generation Exynos, built custom SoC for clients in console.

I don't know if AMD could license x86 cores since I don't know what their deal is on x86 IP with Intel.

comment 5y ago · link · parent

GitLab is just the first example that came to mind when thinking of a company that's loud about it's "remote first" approach.

There's nothing revolutionary done at GitLab that could leak to competitors, maybe you could compromise their infrastructure to cause damage, but at the end of the day it's yet another app doing a thing that's already been done with the tech everyone already has using methods everyone understands.

Compare that to self driving, robotics, biotech, weapons, etc. - governments and large corporations are hiring spies to steal this stuff - I doubt you get to work on cutting edge R&D related stuff as a remote worker from a different country.

1
151617
22