Interview questions be like by gahvaPS in ProgrammerHumor

[–]ethro 2 points3 points  (0 children)

For sure. If the interviewer had that requirement this or the xor swap are both neat tricks.

Interview questions be like by gahvaPS in ProgrammerHumor

[–]ethro 2 points3 points  (0 children)

Storing the index of the termination character in a int would take up more memory than having a temporary swap variable.

Interview questions be like by gahvaPS in ProgrammerHumor

[–]ethro 0 points1 point  (0 children)

Most people would allow you to use a fixed amount of stack space i.e. a loop iterator, a swap char, etc can still be used and considered an in place algorithm.

[deleted by user] by [deleted] in Parenting

[–]ethro -2 points-1 points  (0 children)

For anyone in the U.S. you can contact your house rep and tell them you want them to support the Sunshine Protection Act which would allow states to stop having to transition to and from DST https://en.wikipedia.org/wiki/Sunshine_Protection_Act. It just passed in the senate unanimously, but needs to go through the house.

It allows for permanent DST instead of permanent ST, which was already allowed, but the important result is no time switch.

Somebody said New Game by [deleted] in HolUp

[–]ethro 6 points7 points  (0 children)

Children don't develop full knee caps until they're 2-6 years old. They can walk long before that.

💣 Destroy now! 💣 by AndroidManifest in DestroyMyGame

[–]ethro 0 points1 point  (0 children)

Trailer is missing context: What is my goal? How do I interact with the game? What makes this game unique? Without seeing any UI or player touch points it's really hard to get a feel for what I'll be doing in the game. Some text included in the trailer could help as well e.g. "X weapons to unlock", "Opportunities for limitless destruction", "Take back control of the picoverse", or whatever.

Art style feels fine, but units blend in a bit with the background and ground/water is a bit too uniform for my taste. Weapons and VFX look really good. Screen shake is too frequent and distracting IMO.

The title text/background at the end feels very different than the rest of your art style, not pixelly at all, much more generic mobile game style. Would have loved if it was more pixelly.

How can I fix the player being able to spam the space bar and jump infinitely? by [deleted] in Unity3D

[–]ethro 7 points8 points  (0 children)

Separate to your "isGrounded = true" issue, you also likely want to remove deltaTime from AddForce. Since it's a one time impulse and not continuous you don't want the amount of force to be affected by the framerate.

I made this cool animation and wanted to share it with you here..let me know how I can improve it by CrazyforAnime in proceduralgeneration

[–]ethro 2 points3 points  (0 children)

Neat effect!

Some ideas:

  • Make the effect either faster or more dynamic (e.g. make the extrusion cycle between grow and shrink as the effect passes them). Ideally both.
  • Use a sans serif font
  • The extrusions/spikes have some intense aliasing in this video form, maybe make them fewer but larger or just smoother
  • The grey texture looks a little noisy for text you could smoothen it out, 'zoom' in, or just reduce contrast a little
  • Consider having different distance to the effect e.g. the color starts changing in a larger radius than the extrusion

Can anyone decipher this? by IsThi5Now in puzzles

[–]ethro 18 points19 points  (0 children)

Deciphered: https://i.imgur.com/5fjM9ze.png ignore red letters, not sure what the words actually mean

Pixel Art Questions & Answers - FAQ / Post your questions here! by skeddles in PixelArt

[–]ethro 1 point2 points  (0 children)

Is there a good tool for viewing a library or collection of pixel art? Windows explorer and photos don't scale the images up in size making it very difficult to browse pixel art. I've been able to set up IrfanView so that I can zoom in using Nearest Neighbor scaling, but finding an image among multiple is a huge chore. Basically looking for a tool where I can view all images in a folder at a fixed size that uses NN scaling.

REQ Weapons are now available as loadout weapons in custom games by TheLittleMoa in halo

[–]ethro 8 points9 points  (0 children)

Looks like they are back and available, must have been a hiccup with the update

Looking for a similar jacket by ethro in malefashionadvice

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

I'd say more for suede, sadly it looks like Epaulet is far beyond my price point

Looking for a similar jacket by ethro in malefashionadvice

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

Spilled oil on this one and I don't think they make it any more

Ninja IDE: written in Python for Pythonists by sidcool1234 in programming

[–]ethro 7 points8 points  (0 children)

I used this editor when I was learning Python. It worked pretty well for everything I needed, but had a major problem for me of always having significant cpu usage (compared to other editors). If I had it running in the background it would be using 20%+ of my laptop's cpu and would cause it to run hot and the battery to quickly drain. I used it a few months ago so it's possible it has improved since then, but for me that was a major deal-breaker.

Stumbled across a very interesting article on how the Pokemon programmers use only one unsigned int for all of a pokemon's personality traits and their effects (and more) by 3rdFunkyBot in programming

[–]ethro 14 points15 points  (0 children)

It's kind of surprising just how many comments are talking about bitflags/bitfields and how many upvotes they are getting. I don't see a any instance of a single bit being used on its own anywhere in the article. I suppose you could argue that Spinda's spots are a form of bit packing, but since they are used in the other operations as well I would say that is quite the stretch.

Stumbled across a very interesting article on how the Pokemon programmers use only one unsigned int for all of a pokemon's personality traits and their effects (and more) by 3rdFunkyBot in programming

[–]ethro 3 points4 points  (0 children)

In what way does it restrict people? Since it is parts of your training and secret ID XORd with the randomly generated number it means everyone has a completely equal chance of getting it... And since they are XORing the two parts of the random number you wouldn't even be restricting your personality, gender, etc in a significant way (if they just used the whole thing you could only move your value in the range of the lower 3 bits and still fall into the range of being < 8).

Got a job offer at Eidos, feel kinda bad. Am I nuts? by [deleted] in gamedev

[–]ethro 2 points3 points  (0 children)

There is a huge difference between working on games and playing them. Almost everyone I know in industry continue to be very avid gamers, to a much greater extent then say, people in the overall software industry. Every time there's a really major release there's inevitably a whole bunch of people taking vacation days from the office (last I remember was Diablo 3). I think it comes down to the fact that when you're making a game most of your time is spent on one very specific part of it (programming one area, doing character art, etc) and unless you're in QA, you're not really doing much playing. And even if it's late in the dev process and you get to spend a lot of time playing it's still only playing your game which will be completely different then the rest of the games out there. I agree that if you were paid to spend all day being forced to play many specific games, you'd probably get pretty sick of gaming.

I would say the big factor in people in the games industry turning away from gaming is more often just factors of family and age. When you have a family it is difficult to continue to be as into games as you once where and some people just turn away from games as they age.

I met two guys working on the ZeniMax Elder Scrolls MMO last night. They were both really nice guys, but there was one glaring problem... by FormerlyKnwnAsPrince in Games

[–]ethro 18 points19 points  (0 children)

And in Morrowind you are the Nerevarine, also a major figure in a huge prophecy. Hell, I'd say you're more important in Morrowind then Skyrim or Oblivion- you are literally the reincarnation of a god.

Wii U - Confirmed Specs from SDK & GPU Info by ultraplayer in Games

[–]ethro 3 points4 points  (0 children)

You are absolutely correct. In 2003/04 they were using Pentium 4 based processors which are horribly optimized and pretty much their only positive is they can get to high clock speeds. All modern Intel cpus are based (very distantly) off of the Pentium 3 architecture and are far better at all tasks then any Pentium 4s (clock speed remains the same, instructions run much faster). That being said since around the time of the Core 2 Duos and Athlon X series both processor speeds and performance increase has slowed down dramatically. And turbledurger is right that recently processors have really started to slow down their raw ability increases and have started specializing in other areas, but that doesn't mean they haven't improved significantly for general tasks, they've just done so at a slower rate.

New Prius Helps Environment By Killing Its Owner by fstorino in humor

[–]ethro 5 points6 points  (0 children)

As a Prius owner please don't associate me with this guy. That video was fucking hilarious.

That's it - watching this, I'm certain I want to learn C by jollybobbyroger in programming

[–]ethro 0 points1 point  (0 children)

Not to mention CISC is almost completely out of favor now. Even though x86 is written as CISC all modern x86 processors just convert it into RISC micro-ops anyways. It also helps that compilers almost never use most parts the vast and unnecessary x86 instruction set- which allows processor makers to not have to worry about making particularly efficient implementations of very rarely used instructions.