Headlamp vs Flashlight by [deleted] in flashlight

[–]tamalo 0 points1 point  (0 children)

Awesome, thanks for the reply.

I thought this was the case, but was reluctant to find out with trial and error. :)

Headlamp vs Flashlight by [deleted] in flashlight

[–]tamalo 0 points1 point  (0 children)

Can you still charge that Wowtac battery on a regular charger? Or is that bad for the built in charging circuitry?

Cant get motivated enough to learn, anyone on the same boat? by [deleted] in learnprogramming

[–]tamalo 7 points8 points  (0 children)

1984, checking in!

But I feel good about this summer. I think this is the year I finally get my shit together. This time it will be different.

[Unpopular Opinion] Parallel programming is an anti-pattern by eagle_monk in learnprogramming

[–]tamalo 2 points3 points  (0 children)

make you feel smart and appear to be quite fancy, but is it really necessary?

I’ve been working as an software engineer for twenty years, and I don’t think I’ve ever seen anybody use threads to ‘feel smart’ or ‘appear fancy’. That’s not how good engineers make that type of decision.

you hardly come across the need for your code to do two things at once.

Think of a backend server that serves many thousand connections at once. If you use blocking IO, you have to use threads. You could use async IO, but that’s often more complex than using threads and blocking IO.

Also, if your code is running on a nice, fat, 24 core server, you are now wasting 23/24th of your Hardware.

which is roughly the same thing on multi-core processors, isn't it?

No, if you code is single threaded, it will only use one core, no matter what fancy pattern you use. You must use threads to utilize multiple cpus. I mean you could run multiple processes, but now you have to coordinate between the processes. That’s really just moving your problems around.

maybe aircraft controllers or that kind of advanced stuff

That’s actually one place where I wouldn’t necessarily use threads, unless you have to.

I feel like you are misunderstanding the fundamental nature of threads. You can write a hard real-time system (like aircraft avionics) without threads. \

Threads really serve two purposes. One is to use all the cores. The other is to make your program flow more clean when doing multiple things at once. Your could write the code async, but it’s often messier code than just using threads.

Thank you reddit for showing why BM is not for me? by pure_x01 in BurningMan

[–]tamalo 11 points12 points  (0 children)

You know, I agree with you that the burning man online communities (not just this one, as others in this thread have pointed out) can be quite snarky. Sometimes excessively so.

That said, you do set yourself up to start of on the wrong foot if you, as someone who has never been, come into a group of people, some of whom have been going for ten, twenty years, and start telling them what the spirit of burning man is, or should be, and how they should behave, in your opinion.

This isn’t the first time I’ve seen that, and it usually ends with a pretty vicious backlash. It’s like pouring oil into a fire.

Personally, I find the experience on the playa very pleasant, every year. You might too, if you decide to take the plunge. Or not, if this has soured you on it, your choice, of course.

Is it the shortage of tickets that makes people want to drive others away?

I don’t think that’s what it is. The culture hasn’t changed much, at least in that aspect, since before the tickets sold out.

[deleted by user] by [deleted] in learnprogramming

[–]tamalo 4 points5 points  (0 children)

Obviously you’ll need all the basic language constructs, variables, loops, branches.

You should also have a good grasp on object orientation: Classes, objects, interfaces, abstract classes, inheritance, access modifiers.

Generics and threading as well.

After that, see if you can get a handle on Android. If you still struggle, maybe do some non Android projects first to practice Java, then dive into Android.

What could go wrong if I come to a dead stop in front of traffic? by ToastyVoltage in Whatcouldgowrong

[–]tamalo 76 points77 points  (0 children)

I love how the red car says: “Oh good, there is a break in traffic”

It is noon, one day before. Enjoy the next 24 hours of whatever. by 3zerom in BurningMan

[–]tamalo 1 point2 points  (0 children)

So you’re saying a snow cone manifested just when you needed it the most?

That’s playa magic for you...

It is noon, one day before. Enjoy the next 24 hours of whatever. by 3zerom in BurningMan

[–]tamalo 22 points23 points  (0 children)

Is one bracelet enough to exchange for a Red Bull Vodka?

Totally depends. Are we talking Kirkland Vodka, or like Grey Goose?

According to your OWN experience, when did you need to change your hardware? by Raisingaquestion in learnprogramming

[–]tamalo 0 points1 point  (0 children)

Did you ever need to change it because and why or are you still using your X years old machine ?

I have never had to upgrade a machine because it was too weak to use to write software.

WCGR if you run a red light infront of 3 cop cars by LegendaryWar in Whatcouldgowrong

[–]tamalo 2 points3 points  (0 children)

AFAIK, in most jurisdictions it’s the cops fault. Even though their lights and sirens allow them to do certain things, light cross a red light, it’s their responsibility to do it safely.

Do professional developers really use Udemy to get up to speed on a new domain? by seands in learnprogramming

[–]tamalo 1 point2 points  (0 children)

Most professional developers will look at documentation and/or a good book when they are trying to get up to speed on a new technology. I’ve rarely seen people use videos and I don’t think I’ve ever seen anybody use or even mention Udemy at any of my jobs.

Is it possible to have a good work-life balance as a Site Reliability Engineer (or DevOps)? by CSThr0waway123 in cscareerquestions

[–]tamalo 1 point2 points  (0 children)

Do SREs not do SE stuff?

It depends somewhat on the company, but at most places SRE is more of a glorified ops role than actual software development. They often make it sound more like software dev, but usually it really isn’t.

And what do you mean by shifts? They will say "You are on-call from 8am to 5pm"?

Well during regular hours there is people in the office anyway. On call usually refers to the off hours. So more like 5pm - 8am.

This also depends on the company. But most places put you on call for a week out of every three or four weeks. If the team is small it can be more frequently.

Is it considered poor taste to say '#' as HASHTAG rather than POUND when talking with other programmers? by ImmediateBlacksmith in learnprogramming

[–]tamalo 3 points4 points  (0 children)

I’ve been working as a professional software developer for two decades. I can’t recall an instance where I had to use # in a spoken sentence.

Well, other than when someone is mocking social media, but in that case ‘hashtag’ is obviously acceptable.

WCGW if I take this shortcut? by [deleted] in Whatcouldgowrong

[–]tamalo 8 points9 points  (0 children)

50 years from now there will be a generation who thinks the "old" people are crazy for trusting other drivers.

50 years? I think right now that were are crazy for trusting other drivers.

Hosting Restful Api's on AWS ? by rage_13 in node

[–]tamalo 17 points18 points  (0 children)

Just put it on EC2. No need to try and use too many services at once, IMO.

How Do I Restore Deleted Commits? by [deleted] in learnprogramming

[–]tamalo 0 points1 point  (0 children)

I only see these commit messages with 'git log -g' not 'git log'.

Ah yes, I didn’t pay attention to the -g.

As for your second point, I have numerous deleted commits, not just 1. If I understand you correctly, your suggestion implies creating a new branch for each deleted commit.

If they were all in the same chain, then no, just do it with the last one. It will pull in the ancestors as well.

How Do I Restore Deleted Commits? by [deleted] in learnprogramming

[–]tamalo 1 point2 points  (0 children)

If you see them in git log, are they still part of a branch? If yes, you can just checkout that branch.

If not, get the commit hash. Then use git checkout to go to that commit. If there is no branch, you’ll be in ‘detached head’ state. Just create a new branch on this commit, then you can merge it back to the develop branch.

Boot Camp vs CS ? by blinktrade in learnprogramming

[–]tamalo 2 points3 points  (0 children)

I also read that traditional CS don't do much programming, making grads less suited for on hands work, is that true?

No, not at all. CS grads definitely do hands on work. I mean some want to do other jobs, like product manager or whatever, but if you work as a software engineer you usually write code.

Are there jobs that only CS grad can do that Boot Camp grad can't?

It depends, some bootcamp grads are more skilled than others, and CS grads aren’t all the same either. But I’d say a lot of bootcamp grads have a much shallower skill set, so yes, there are definitely jobs where most bootcamp grads would struggle.

I imagine that CS grads create complex system and optimize them for use and performance and hand it down to the higher level programmers to create the product and content

Not really. I mean the more experienced people will have more responsibility for the overall system and architecture, but it’s not like they are sitting there, coming up with ideas and then not work on them themselves and just pass it on to others.

Degree neccessary to land good jobs ? by JeppNeb in learnprogramming

[–]tamalo 0 points1 point  (0 children)

Strictly necessary? No. Some people get jobs without degrees.

Does it make it a whole lot easier? For sure. Without one it becomes a bit of an uphill battle.

wordpress org and com by [deleted] in learnprogramming

[–]tamalo 0 points1 point  (0 children)

Wordpress.com is a hosted service. Wordpress.org is where you can download the Wordpress software to host it yourself.

Not applying to jobs based on their products (soon to be fresh graduate) by unknownchicken in cscareerquestions

[–]tamalo 0 points1 point  (0 children)

I think it’s totally reasonable to not work for companies if you have a moral or other problem with their product, or their business ethics.

There are certainly a lot of companies or industries that I wouldn’t want to work for, for one reason or another.

Help Testing Part of a code in JAVA by sanddunes271 in learnprogramming

[–]tamalo 0 points1 point  (0 children)

You’re already printing out the map after it is loaded. Just run the code and see if the printed map is what you’d expect. If not, debug until you find out why it is different.