2,387 karma · joined Sep 6, 2020 (6y ago) · 638 submissions
comment 5y ago · link · parent
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'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
comment 5y ago · link · parent
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
comment 5y ago · link · parent
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
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
comment 5y ago · link · parent
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
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
comment 5y ago · link · parent
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
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
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
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
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
comment 5y ago · link · parent
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
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
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.