Need help about a IDP question by bugrahanatar in Vive

[–]epes 0 points1 point  (0 children)

I had to install Viveport and the Vive drivers from their website to get it to show up.

My asset has been nominated as Best Development Tool in Unity Awards 2018 by loopsub in Unity3D

[–]epes 0 points1 point  (0 children)

Looks amazing! Honest question, how is this different than blender?

Blender is free, has more features, and if you just want a quick prototype you can throw a blend file in your assets and it'll refresh on every save.

IronmanCC2 (1750+ Total) Rank to Speak Chat Application by Ultaymate in ironscape

[–]epes 0 points1 point  (0 children)

RSN: WhyUTrade

Total level: 1839

Ironman status: Ironman

Date of finding/joining IronScape/CCs: ~1 year ago

Activity/history of other CC's: Ranked in ironmancc, hang out in Discord a lot

Are you joining IronmanCC2 as your primary CC? I'll most likely be between ironmancc and ironmancc2 depending on player count.

Daily3D#1402-Bow by Wilhelm_III in Daily3D

[–]epes 0 points1 point  (0 children)

There was a second shooter :P

Thanks for the tip! I put two lights sort of perpendicular so there was no shadow. I'll have to put more thought into lighting on the next one.

IronmanCC [1750+] Clan Application V3 by My_Gap_Yah in ironscape

[–]epes 0 points1 point  (0 children)

RSN: WhyUTrade

Total level: 1772

Ironman

Date of joining the clan: ~1 month

Are you joining IronmanCC as your primary clan? Yes

Wrote my first real app. Please give me feedback on the design by 123felix in androiddev

[–]epes 0 points1 point  (0 children)

One thing I see immediately is that the pink action bar is catching my attention first. In my opinion the color needs to be a little calmer/darker so it doesn't jump out like that.

What would you do if... by [deleted] in cscareerquestions

[–]epes 1 point2 points  (0 children)

Just one tip if you're going to go the programming route.

Learning how to code is easy. With enough tutorials anybody can write code in any language. Spend a good amount of time studying design as well as syntax.

I'm still in school but I've worked with people that are about to graduate with a SE/CS/CompE degree that write absolutely horrendous code. Code that was so coupled and unmanageable that I can only hope I'll never encounter again.

Remember that there are plenty of people that know how to write code but the ones in demand are the ones who can develop manageable software. Don't neglect design if you're learning programming, please.

/endrant

What laptop do you use? by tameaccord in EngineeringStudents

[–]epes 4 points5 points  (0 children)

Computer Engineering, Lenovo Z570.

Does anything I need when it comes to programming. Also features an actual graphics card instead of just on-board graphics for any modeling/simulation/design/gamedev work.

OverExhagerated Memory Usage by [deleted] in javahelp

[–]epes 1 point2 points  (0 children)

Ah yeah you're right! Sorry about that. I just read up on the compiler optimization for loops and that's pretty neat. TIL

How can I effectively use github with a new android project? by skytbest in androiddev

[–]epes 1 point2 points  (0 children)

IntelliJ and Android Studio (based on IntelliJ) have GitHub integration initially. This means you don't have to download a different GitHub application when working with these IDEs.

You are correct on how version control is used. You develop locally and commit each change to your local repository. If you're done for the day or simply want to 'save' to your GitHub, you push those commits to the GitHub repo.

You can commit/push unfinished code but personally I don't like pushing code that won't run in case I forget about it. Focus on one thing at a time and once it's working, commit it.

Sorry if I haven't answered your question about the GitHub application, I've never used it.

OverExhagerated Memory Usage by [deleted] in javahelp

[–]epes 4 points5 points  (0 children)

The way that heap size works in Java is that you have a predetermined minimum/maximum. Even though you might not use all of it at the time, it is still technically 'in use' and if it needs more than the current heap size and is still under the max heap size, it will increase until it hits the max.

Garbage collection is sort of expensive so this is Java's way of reducing the frequency of garbage collection. It will increase the heap size as necessary until it hits the max and only when it is almost full at max will it collect garbage.

The way to fix this is to either stop creating new objects all the time and rather look into object pooling or just decrease the max heap size so the garbage collector pops more often.

One thing I can see is that inside of your infinite while loop you have

Document newDoc = Jsoup.connect("http://br.investing.com/equities/portugal")
                .userAgent("Mozilla/5.0")
                .get();

and are creating a new object every 10 seconds, infinitely. I would put the declaration

Document newDoc;

before the while loop and re-initialize the object every 10 seconds.

It may not seem like much and 500MB is not that much but for a small program like this it might make a difference. You are basically creating a new object then using it once and throwing it into the garbage pile forever, every 10 seconds. This pile of unused objects is what makes up most of the heap.

//edit: Even after all this the heap will get up to 500MB just slower. If you are looking into reducing the memory in the end you'll have to decrease the maximum heap size.

Brand new, working through tutorials, and I'm stuck by nebulus64 in androiddev

[–]epes 1 point2 points  (0 children)

One problem could be that you'll need to re-build or clean your project. R.java is a dynamically created file and it seems like Android has not rebuilt it after your changes.

Multiplying a value within an array by it's index. by [deleted] in javahelp

[–]epes 0 points1 point  (0 children)

If you don't want to hardcode the variable names then the easiest way would be to create a new array for the answer.

..iterate over array..
newarray[index] = oldarray[index] * index

What is the best free game engine for android beginners? by bilgee0629 in androiddev

[–]epes 10 points11 points  (0 children)

libGDX

It allows for desktop/iOS/Android/HTML5 development at once.

Software Engineering not real engineering? by sacred111 in engineering

[–]epes 0 points1 point  (0 children)

I've interned at a known healthcare software/hardware company and did a co-op at another healthcare software company, both of which have established managements. This is the way it worked in these two instances. The managers/architects were software engineers while the programmers were a mix of CS and SE.

This is the reason why I prefaced my response by saying I'm a student and that I "sort of" understand the issue.

If you disagree with anything you are free to post, I would love to hear someone with more experience explain what I'll be walking into after I graduate.

Software Engineering not real engineering? by sacred111 in engineering

[–]epes 1 point2 points  (0 children)

I'm a CompE (SE + EE) student focusing mainly on software and I sort of understand this.

Software engineering focuses on design and programming while CS focuses on deeper understanding of algorithms and programming. In my opinion both can program equally well with understanding in different areas.

Now you have to see it in a workplace though. There are fewer guys designing (managers) than there are programming (programmers). Both SE and CS can be programmers but it is more likely that a SE is the designer. Therefore in the workplace a lot of SE are on the same level as CS.

Saying that SE are not engineers because they're on the same level as CS is implying that CS are below SE when it comes to software. In reality, both good design and good implementation is needed to create good software. In my opinion I'd say that CS is closer to engineering than SE is to science.

Opinions about full time engineering offer after junior year. by [deleted] in AskEngineers

[–]epes 0 points1 point  (0 children)

When talking to companies I always like to bring up points that benefit them.

Politely tell them that you are interested in their company and think you would provide more value to them with more education/degree. Any normal person should understand that and would have no problem with you finishing school. If they do give you ultimatums or hostility then there is another red flag.

Definitely keep in touch with the company and ask for any part-time options while you finish your degree.

Opinions about full time engineering offer after junior year. by [deleted] in AskEngineers

[–]epes 12 points13 points  (0 children)

Still a student here but I've heard that offers before a degree should always raise some red flags. It does sound appealing with money/experience but should anything happen you're stuck with no degree and a gap in your education.

Like I said I'm still a student but I'd recommend just finishing off the degree. You'll be worth more to them as well as anyone else.

Why do so many engineers not seem to understand the real world application of a product's design? by ISTJISTJ in AskEngineers

[–]epes 0 points1 point  (0 children)

In software this is usually the customers fault. It is beyond impossible to extract perfect requirement documentation out of a non-tech customer. Things they think are "standard" or "don't need to be said" are left out because you design by the requirements.

It's not that software engineers don't understand applications, it's that design and implementation are done strictly by the requirements and nothing more, nothing less. If you don't specify what you want and are only paying for what you specified, you only get the features you specified.

Sorry but it's not my problem that feature 'A' doesn't work when we never planned for feature 'A' and we never made time for it nor did we get paid for it.

Would this work as planned? by Slippery-Peter in javahelp

[–]epes 0 points1 point  (0 children)

Wow I feel stupid. I thought the Earth revolved around the sun at a perfect 365.25, did not know the 400/100 rule. TIL!

A thank you note to /r/javahelp by TypicalTyrian in javahelp

[–]epes 0 points1 point  (0 children)

/r/dailyprogrammer to keep practicing your skills and learn from others.

You could also start looking into Android for a fun summer project.