Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mabster
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
mabster
1mo ago
I'm out of the industry now, but I kept doing this for a while. I would want to "scratch an itch" and build a game out of hours. After a few attempts I realised I don't actually want to build a game, I want to build an e
2.
▲
by
mabster
2mo ago
Ive got a tendency to modify many things as I go and break them into commits later. Generally I do git add -p until things are too interwoven. In that case, I've ended up with the following strategy: git commit -m "WIP" &
3.
▲
by
mabster
2mo ago
Engineering is very reliant on mathematics and as real world as it gets.
4.
▲
by
mabster
3mo ago
Ok fair enough. I don't write performance stuff in Java so I haven't even needed to look at this stuff to be honest. Most of the intrinsics I would want are there, except for any memory related stuff. I'm still not sure how s
5.
▲
by
mabster
3mo ago
I'm a Java developer now, amongst other languages. The advantage of Java is that it takes A LOT less time to develop something, so there is the whole bang for buck for sure. I have had a few problems where I would love shared direct me
6.
▲
by
mabster
3mo ago
Low level CPU-related optimisation is absolutely still a thing. The GPU is always filled to the brim trying to get as much quality out of a graphics frame so a lot gets offloaded to the CPU. When I was doing this I was doing a lot of low-le
7.
▲
by
mabster
4mo ago
I did notice that difference too. But previous "credit card size" projects have all been several mm (as in couldn't fit a wallet designed for credit cards). So 1 mm is... pretty sweet!
8.
▲
by
mabster
4mo ago
I went to the page expecting to rant about how it's not actually credit card size because of the thickness and was for once pleasantly surprised! Kudos to the author! It looks great!
9.
▲
by
mabster
5mo ago
That's pretty close to "be like Keanu Reeves"!
10.
▲
by
mabster
5mo ago
It's always the kitchen for me across food places (in Australia). Ending up with pickles when I removed them. Ending up with coke zero instead of coke. But the worst is ending up with anything mock meat!
11.
▲
by
mabster
6mo ago
It's been mixed moving to normal code: I haven't had to low-level optimise for ages now (man I miss that). But performance in the O() sense has been the same. Game engine development is very much about processing of data. The pipe
12.
▲
by
mabster
6mo ago
I haven't watched his videos on his language for ages, but this was a big thing he wanted in his language: being able to swap between array-of-structs and struct-of-array quickly and easily.
13.
▲
by
mabster
8mo ago
Unless LA stood for Latin America haha.
14.
▲
by
mabster
8mo ago
I guessed American when it was compared to Hockey, Baseball and Basketball. In Melbourne, Australia, Football is again another sport (but it not being called Footy gives it a way).
15.
▲
by
mabster
8mo ago
I flew Scoot airlines recently and my 13” MacBook Air was too big to have on my lap even though the seat in front was not reclined. There's also something about those seats where you get back pain when you try to sleep with your own se
16.
▲
by
mabster
9mo ago
Memories shattered. Yeah, you're right and I would have watched interlaced broadcast content. I saw interlaced NTSC video in the digital days where the combing was much more obvious and always assumed it was only an NTSC thing!
17.
▲
by
mabster
9mo ago
I'm guessing you're talking about interlacing? I've never really experienced it because I've always watched PAL which doesn't have that. But I would have thought it would be perceived as flashing at 60 Hz with a dar
18.
▲
by
mabster
10mo ago
You nailed it - that's my criticism :) I've worked with a lot of code like this (particularly C libraries and litanies of return codes), and it's fine... But I prefer something like Java-style exceptions. And with Java lambda
19.
▲
by
mabster
10mo ago
I'm the opposite - I really like checked exceptions in Java because it's very easy to see how developers are handling errors and they also form part of the function signature. Most functions will just pass on exceptions verbatim s
20.
▲
by
mabster
10mo ago
I just pictured someone getting a message to check which model was right from an ancestor 20 giga generations ago!
21.
▲
by
mabster
11mo ago
Or the timeline just doesn't have capacity for experimentation so the expectations are clear right from the start!
22.
▲
by
mabster
11mo ago
In context most of the major optimisation work was on the engine. The game code can be and usually is slow but we do try to tame things in an O() sense. I worked licensed titles for a while and that area the quality of a title and whether i
23.
▲
by
mabster
11mo ago
I've written this kind of function so many times it's not funny. I usually want something that is fed from an iterator, removes duplicates, and yields values as soon as possible.
24.
▲
by
mabster
11mo ago
We had similar thoughts about "premature optimisation" in the games industry. That is it's better to have prematurely optimised things than finding "everything is slow". But I guess in that context there are many ma
25.
▲
by
mabster
11mo ago
I can't remember the details because we coded the SPU in C, but the PS3 SPUs had odd and even cycles with different access properties too.
26.
▲
by
mabster
11mo ago
I worked with a developer that copied and pasted A LOT and would keep his fingers on the old copy and paste buttons (Ctrl-Ins, etc.). I've even seen him copy and paste single letters. He's one of the most productive developers I&
27.
▲
by
mabster
11mo ago
In my setup I use Colemak DH mod which loses the Vim arrows but I added a modifier where the 'a' key (left pinky on home row) when held down switches the right home row to arrow keys. Hasn't been an issue.
28.
▲
by
mabster
1y ago
We purposefully didn't use shared_ptr and hence weak_ptr. With these, it is all too easy to construct the "bad" version which has the stub reference count and pointer stored far away in memory from the object itself requiring
29.
▲
by
mabster
1y ago
Was also gonna jump in with the old way of doing circle boundaries, which can be done all integer: https://en.m.wikipedia.org/wiki/Midpoint_circle_algorithm
30.
▲
by
mabster
1y ago
For my day job I'm either "Getting things done" or Zettelkasten anyway because it's more about retrieval than memory. But for languages, SRS is great. And I'm also glad I memorised a whole bunch of math formulas way
More ›