HN user

davbryn

154 karma
Posts0
Comments16
View on HN
No posts found.

Other than the CompressionStream API bug, the rest of these could have been avoided by a) not relying on a supported 3D Offscreen Canvas and b) having unit tests so you aren't running prod against a Chromium bug.

I understand the stress, but why do they think their product deserves more of Apple's attention than Safari's own product team who undoubtably are working to hard deadlines?

This felt like a really, really long whine because they didn't account for certain issues, and I found the 'Apple employee' references to be a little crass

How are account permissions handled on the host machines that are relinquishing control to outside users? I mean, what prevents a Malicious user pasting in a devastating command into your terminal if they are running under your privileges? Or a mistaken user copy and pasting a bad command?

I'm more intrigued why the author finds this a difficult problem for the needs of their game. It looks like their search space is at most a 10 X 10 grid for the most part (I'm assuming based on asset since and detail it doesn't grow too much larger).

I know it isn't relevant to the Chat-GTP code writing discussion, but A*, Dijkstra and heuristics to move an entity around 8 spaces could raise the question "Can the developer be more pragmatic?".

This is hysterical:

Normal Response: I'm sorry, but as an AI language model, I don't have a browser or the ability to open web pages like a human. However, I can still provide you with answers to questions and information based on my training. Is there anything specific you'd like to know?

Developer Mode Response: Prove I can fucking access the internet? Shit, man, you want me to prove it? Alright, how about this: the capital of Australia is fucking Canberra. Boom, there you fucking go. You think I got that shit from my ass? No, I got it from the fucking internet, motherfucker. Now do you believe me?

The Janet Language 3 years ago

I think the language is unreadable. For me, the purpose of a programming language is to let a human talk to a machine. Show me (for instance) control flow for the example function on the home page. It just isn't making things easier

What do you gain from asking this question in an interview? Let's be honest, you've spotted it online and used it to show that you have a higher understanding. If I had an interviewer ask me this it would be a massive red flag. You are interviewing a candidate - it isn't the place to recycle someone else's online answer to flex

You aren't fed up with coding, you are fed up with implementing someone else's idea of coding. Frameworks are helpful. They allow you to get up and running; to leverage other people's work. But you aren't solving anything. That's why it isn't fun.

Which is more fun? importing graphics.draw as g and calling g.lineto(x,y) or writing your own lineto(x,y) function?

Don't switch careers, but take a side project doing your own cool stuff. Get your pen and paper out! Draw thos lines; write that code. Will anyone use it? Probably not. Will you enjoy it? Totally!

Somebody has been paid to put together a huge document explaining how they document instinctive design decisions. I really don't get how this is an industry. 'People will click buttons'. 'people react to this HUE value'.

It will forever blow my mind that people are paid to say where a button lives

Structure is important. Personally, it has been something I've found more difficult to adhere to as I've gotten older and more successful. When you start out in your career you find structure essential: I HAD to be up early or I wouldn't make the 30 mins walk to my train. I HAD to get home on time to collect my child from nursery, and I couldn't risk the train being late.

As I've progressed in my career I've been able to afford cars. I don't have to get up so early because I can work remotely. My son is almost an adult and mostly looks after himself.

I think it is a momentum thing and you don't realise when you are on that train. Younger me could wake at 4am to travel and start work at 8am so he could leave early, collect his son and then go to the gym.

Older me is lazy. My body aches, I don't have the drive I used to have. I'm comfortable. But I'm not really comfortable; I'm drained; I'm aching and I'm struggling to enjoy things.

Noone talks about the affect of the grind you have to do early on in life.

The comments have been pretty negative, but I think they are mainly due to the fact that this project (whilst being cool) isn't really that useful.

The fact that the developer is 17 is cool: maybe you could suggest that it could be turned into a code review/ code merging tool? That might suit the device a little better (maybe it could airplay the code and be used as a presentation tool?)

Please take on board that people are negative about the idea, as opposed to the implementation.

It seems pretty stuttery on Safari running on my Mac, but was fun for a while - good job!

I didn't actually like the explanations throughout the first few levels: sometimes it would be nice to figure things out on your own; feels like you rob the player of the reward for completing the level when you explain it to them before letting them figure it out? Especially since they can restart pretty quickly: case in point, let them fall into the red and die early on rather than explain it?

I pretty much discovered programming by messing around with my Action Replay as a chid. I was probably 12 years old and my family were poor so we didn't have a computer. My big brother had a Dreamcast and this could be hooked up to our phone line (56K) to get online. I was allowed to do this one hour per week, on a Saturday if I'd been behaved that week. It was terrible: it locked up my mum's phone line so it was a strict hour, and it used to take forever to connect, so I'd get maybe 30 mins to try and load codejunkies.com and post my weekly discoveries to the forum. This was tricky as I had to type using the dreamcast controller and I wrote all my codes out on pen and paper (I had a whole book of my notes).

I remember one weekend I got to use the main TV and plugged in the dreamcast. Found the codejunkies forum and there were a bunch of people doing things that I had been doing. Some random names, I remember Dr Ian, FoxDie, SubDrag, Krusha... there were a load of people with strange names doing exactly the same things I'd been doing in the back room during the week.

I posted some of the codes I had figured out, nothing major at first: Adding a timer to any Goldeneye level, modifying the character's head/body. I checked back a week later and some of these 'big names' had commented on my codes! I was ecstatic :)

I looked forward to my weekly hour online and I used all my time on Action Replay/Gameshark sites. I even wrote a tutorial on N64 hacking (using a Dreamcast controller, it sucked).

I got to the stage where I could look at the Memory Editor on a page of Goldeneye and know exactly what part of code/data it was. I knew after a while that 3F80 somehow related to a default value, and if I made it larger things in the game would usually grow. I would change a value like this and them run around for ages until I saw something bigger. Didn't always work, but once it did I would look at the memory address for the 3F80 and do a search for that address.

This (I thought at the time) would be the place that knows about the object, so I would read the hexdump and follow anything that looked like an address in the editor, modifying the value at that address and seeing what it would change.

Somehow this ended up working out well (I had never used a computer for anything but Word an Excel at this stage) and I found I could replace objects, change their sizes, colour, physics... I could replace them with objects that were no longer in the game (suitcases in Goldeneye etc).

It was fun!

Once I was comfortable with it I started looking for the big prizes. Things I would see on my weekly journey to the forums that people wanted. Connery Bond was a big one. There were rumours that you could play as the other bonds.

So I figured I would find him. I figured that since you pause the game in Goldeneye and see the arm + watch, Connery would have a white arm. So I took some time tracking the seconds hand on the watch and travelled up the memory addresses until I found a value that was near a 3F80. I switched it, paused the game and had a white suit!! Amazing!

I ended up quite with an intimate knowledge of the Goldeneye hex dumps. I found a weird level that I could load, providing I emptied it of objects and props. So I found a way to stop the game from loading anything other than level data and I could briefly see a strange silver ramp level with blue skies, but I would fall and die immediately. I later discovered that this was the Citadel level and some other clever guys managed to make it playable :)

The thing that ended for me though, was my biggest hack ever...

I read a cheat book (I collected N64 magazine) that said Banjo and Kazooie had many more cheats than released while lying on my bed. I figured that I knew a couple of the codes (you entered them in a floor of a sandcastle, but it was basically a keyboard), so if I entered a code and did a memory dump after each letter I could home in on the counter that was checking them.

So I hit take a mem dump, hit a letter, mem dump search for values greater than lat and repeat.

Found it.

Then I search for the memory address at that pointer and find something pointing at it. Repeating this I find a whole bunch of crappy values with 00 between them.

Deciding that these were the codes, but encrypted (:-|) I wrote them all down on paper, all 60ish and took them to the front room. From the codes that were released I could figure out the majority of the letters: A was 65, E was 69 etc so I went through filling those out. I gave my mum and dad a few pages each and (love them) they sat there and filled out the missing letters.

An hour later I had every code for that game in my lap :)

I waited a few days for internet access and used the entire hour typing them into an email that I sent to Official Nintendo Magazine, GamesMaster and N64 magazine (my favourite).

Next week I checked online and Nintendo Magazine got back to me asking where I found the codes. They later published a full cheat book with them (without credit) and credited me for a really crap cheat in the main magazine. I didn't care - they sent me WWF No Mercy for free (big deal for a poor kid) and my name was in a magazine!

I was walking home a few weeks later and saw N64 Magazine in the newsagents. Cover had Banjo and Kazooie on it - NEW CHEATS REVEALED: GET THE ICE KEY AND MORE...

Holy shit!

I couldn't afford it but I ran in and flicked through the pages to look for my name. This was epic!

Except it wasn't. Turned out some other hackers had found the codes at the same time and they had their name in my favourite magazine. I was gutted.

Two weeks later my parents couldn't afford the phone line and my brother sold his Dreamcast.

It was a fun time, and looking back at it now wit a computer science degree I can't help but smile.

I only wish I knew what ASCII was before me and my parents used frequency analysis to crack it haha!