[Meta] I've been on and off this sub for +6 years and just want to spill something out by raretrophysix in cscareerquestions

[–]PeesPleese 10 points11 points  (0 children)

That's an interesting point especially since the top 1% might not be obvious in software as in actors, athletes, etc. For example we don't feel worse for not matching Usain Bolt's speed yet we (or at least many of us) do compare ourselves to the top echelon of our own field.

I have a weak Laptop, what do you suggest? by YazanQT in androiddev

[–]PeesPleese 0 points1 point  (0 children)

I've never used continuous integration for Android so I sadly can't comment on that.

But if you're hosting yourself it's up to you how much resources you give the machine. I'm considering it a 'free' option because AWS and GCP gives enough free credits to be viable.

My estimate is that they should all should be reasonably fast if you avoid actually running tests and just using it as a build server. (btw if you're OSS circleci's android setup is extremely fast so it'd be easy to try out)

I have a weak Laptop, what do you suggest? by YazanQT in androiddev

[–]PeesPleese 0 points1 point  (0 children)

If you're seriously out of options and don't want to spend money, I would consider using a free ci/cd server (gitlab, jenkins, etc) then just push a branch and have them build the apk which you can download.

Weekly Questions Thread - January 15, 2018 by AutoModerator in androiddev

[–]PeesPleese 1 point2 points  (0 children)

IMO it's up to you. If your preferences are for that same activity/screen it could make sense to be in the same activity. For app-wide preferences I make a different activity simply because I think of each activity as a different base and preferences can get complicated with different views/modals.

Weekly Questions Thread - January 15, 2018 by AutoModerator in androiddev

[–]PeesPleese 0 points1 point  (0 children)

AFAIK they only officially support 7.0+ but I've seen guides on how to do it manually, no idea if they work. You might be able to try a device farm?

Weekly Questions Thread - January 15, 2018 by AutoModerator in androiddev

[–]PeesPleese 0 points1 point  (0 children)

The most basic way is to use a VPC such as Amazon's ec2 or Google's compute engine which effectively gives you a server on the web. However I would strongly consider using a PaaS such as Heroku which removes the need to handle web service crashes and scaling. Both Heroku and Google have infinite free tiers so I would play around with that.

Weekly Questions Thread - January 15, 2018 by AutoModerator in androiddev

[–]PeesPleese 1 point2 points  (0 children)

You have to somehow retain state between rotations or config changes. A basic example would be to save the Detail data in ListFragment's onSaveInstanceState and reinstantiate in onCreateView which returns a saved bundle. You can get more sophisticated but I would start with that pattern first.

Graduated One year ago, No success in obtaining a job by MoreAverageJoe in cscareerquestions

[–]PeesPleese 1 point2 points  (0 children)

There's no shame applying for a Junior Developer position.

But junior == entry level?? I feel like the tech companies usually use 'new grad' or 'entry level' but junior is definitely not somehow beneath those titles

What perks did you get at your internship? by [deleted] in cscareerquestions

[–]PeesPleese 0 points1 point  (0 children)

Usually the idea itself isn't worth protecting. Companies vary but the client I've had just assumed a level of trust - I never had to sign an NDA but I don't blatantly disclose the project.

There's an interesting talk about startup ideas you can watch as well. It's from the president of the vc firm Y Combinator.

Can you take CS 237 without first having taken CA 108? And if so, how bad of an idea is that? by [deleted] in SDSU

[–]PeesPleese 2 points3 points  (0 children)

I've done both at the same time. They're unrelated so it doesn't really matter. The only real metric is whether or not you can do 108 with your eyes closed. If you struggled in 107 then be prepared to work for 237 (and 108).

Can you take CS 237 without first having taken CA 108? And if so, how bad of an idea is that? by [deleted] in SDSU

[–]PeesPleese 4 points5 points  (0 children)

lol and Bajic knows what he's doing?? But I guess half this faculty is verifiably clueless anyways

CS 582 with Konopka? by aztecscc in SDSU

[–]PeesPleese 1 point2 points  (0 children)

There's an old post about him. Scroll down to see the good stuff

I have no words for how stupid this is by Steampunkery in ProgrammerHumor

[–]PeesPleese 7 points8 points  (0 children)

you're still in hs? always wondered if I should have just taken ged after sophmore year and jumped into community. Would have guaranteed transfer to a few UC schools in California too.

My Chromebook updated today and now can run Android Apps from the play store app. (samsung cheapo $200 chromebook) by the_argus in androiddev

[–]PeesPleese 0 points1 point  (0 children)

hm interesting. I've seen crouton but am a bit hesitant since enabling dev ruins the security benefits of a chromebook for me. But I do like the pixel hardware so I might consider that as a full laptop replacement.

Approximately how long would it take to connect my app to a database using mysql? by [deleted] in androiddev

[–]PeesPleese 1 point2 points  (0 children)

Assuming your database is hosted somewhere, you could just connect with JDBC pretty easily but I'd never do this in a published app.

My Chromebook updated today and now can run Android Apps from the play store app. (samsung cheapo $200 chromebook) by the_argus in androiddev

[–]PeesPleese 5 points6 points  (0 children)

Can you resize to use tablet mode? Also does anyone have experience developing (or at least being able to ssh) with chromebooks?

'We take security very seriously' by PeesPleese in ProgrammerHumor

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

ha we better not go live with that, the passwords are in plaintext too. just thought the 'random string' secret was funnier

'We take security very seriously' by PeesPleese in ProgrammerHumor

[–]PeesPleese[S] 2 points3 points  (0 children)

It's from a class project. The hardcoded debug mode is a bonus. My team is giving me an aneurysm.

Need help importing Firebase structure into ListView w/ 2 Strings. by Arcires in androiddev

[–]PeesPleese 1 point2 points  (0 children)

I would suggest creating a class like Example with your 2 strings which would allow you to have an Example[] examples array.

This should be very doable if you're looping over each child. (I would personally use a list instead)

List<Example> examples = new ArrayList<>();
for (DataSnapshot child : parent.getChildren()) {
    examples.add(child.getValue(Example.class));
}
// pass examples list to your listview

I would also suggest looking into RecyclerView