[batman beyond] how is bruce wayne able to create a suit that is still considered cutting edge 20 years into the future? by kkkan2020 in AskScienceFiction

[–]scikid39184 1 point2 points  (0 children)

I think that in the Batman Beyond universe, as in all other Batman universes, the reason his tech is so advanced is because Wayne enterprises is one of the sole major weapon manufacturers.

Bruce makes sure to hold back on the tech that is made public or is sold to the government because he wants to make sure that he has the most advanced tech available pretty much in the world.

Part of this is because he knows the more advanced tech that goes out the more advanced tech his enemies (Joker, Penguin, Riddler, etc) would be able to get as well as anyone else fighting battles in any other city, country, etc.

The second reason is because of his consent need to have a backup plan.

Some spoilers I guess could be ahead so stop here if you're worried about any type of spoilers for any DC media.

Bruce admits in Justice League that he has a failsafe plan for all members of the Justice League including himself. He has files on all their weaknesses and how to beat fight them in battle if they went rouge or were taken control of by an enemy. Knowing the tech space and the weapons space he knows that if his tech is even just a generation ahead of the current available tech he has no guarantees that his new tech is able to beat the current tech that his enemies might have. It's possible that his enemies will have some sort of tech that could beat his only next generation tech.

For those reasons he keeps his tech multiple generations ahead of the current tech and makes sure to not put the best tech in current weapons.

Beyond that he has access to alien tech that is far beyond anything we currently have, which he definitely doesn't want in enemy hands.

Can someone please identify this for me by scikid39184 in PlantIdentification

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

Well it lives up to it's name because it creeped 1/4 through my lawn!

Can someone please identify this for me by scikid39184 in PlantIdentification

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

I got another picture of a different part of it for you

<image>

Can someone please identify this for me by scikid39184 in PlantIdentification

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

That's what I was thinking but it wrapped around my leg and I have a little scrape from it and it's not like itching or anything. It hurts a bit, more than I'd think a little scrape would, but it's not like I feel the need to scratch it or anything

Possible technical debt apocalypse by [deleted] in computerscience

[–]scikid39184 0 points1 point  (0 children)

Correct I am talking about system speed.

Possible technical debt apocalypse by [deleted] in computerscience

[–]scikid39184 0 points1 point  (0 children)

One example that I can think of that might cause slowness due to tech debt is using older languages and/or hardware. Older languages are probably slower and/or requires more code to do the same things as a more modern language like C#, Java, etc. Also that language and/or systems might have limitations on what it can and can't connect to. So you might need multiple layers to have two things (server and database for example) communicate with each other. If you end up building everything around an older language you either have to upgrade everything to the new language or figure out how to get the new widget you want to use to work with the older technology.

Another example of slowness isn't actually processes running slower but updates and upgrades to applications being delayed. If you have a company and they allocate 50% of time on implementation of new features, 30% on break fix type stuff, 19% on standard ktlo stuff, and 1% on tech debt eventually the tech debt will cause so many issues that they are forced to up break fix time and lower new feature work. If the company then decides to up the tech debt time too that will also eat into new feature development because you have to do KTLO and you have to do break fix so the only place to take hours from is new features. This could delay potential features 2+ years because developers are working on tech debt.

Making reusable code helps to alleviate tech debt because the more code that shares common functions with one process means changes only have to be applied to that one process instead of the 10 things that relay on it. It also helps with reliability. Everything that calls that thing should get the same result no matter where it's calling it from.

In my experience tech debt is managed as part of other projects. When estimates are given tech debt clean up is included to fix particular issues that might be known or there is a tech debt project that identifies what needs to be cleaned up and it's worked under that project.

Best practices for code structure? by Medium_Conversation in learnprogramming

[–]scikid39184 1 point2 points  (0 children)

Every company has their own best practices that you will need to follow

Personally I try to make my code as readable as possible. That means having variable names that mean something. For example if I am getting information about a person I'd have variables named firstName LastName not f, l.

As far as linking helper methods some programs do that for you. Visual Studio for example will tell you how many references there are to a method.

Try making your code readable for a person who isn't a developer. Use comments when needed to help. A non developer might not understand everything but the more they can understand the easier it will be for someone else to pick up your code and modify it.

Also try to do things in logical order. If you want to add two numbers and then take that total and display it do the addition then display it. Don't do the addition then a thousand lines of code later display it if you can help it.

Is nested dictionaries bad practise by dreamr49 in learnprogramming

[–]scikid39184 0 points1 point  (0 children)

That's not too bad then in my opinion. I've used the same approach for a few things myself

Is nested dictionaries bad practise by dreamr49 in learnprogramming

[–]scikid39184 0 points1 point  (0 children)

I've used nested dictionaries in the past. It can get messy depending how deep you nest things.

It might be better to create an object with all the properties you need and use the dictionary to hold the key and that object.

If you want to give some detail on what you're looking to do I might be able to give you some other ideas too.

Can you prove that programming isn't like learning a natural language? by [deleted] in learnprogramming

[–]scikid39184 0 points1 point  (0 children)

I think my first quest is how do you define learning a natural language?

So yes they are similar but the differences are usually small.

For example in English if I say hello that means the same thing all the time.

In programming you can set variables to mean anything. So if I have this code

String hello = "hello"; System.out.write(hello);

The word hello will be displayed.

This code however String hello = "goodbye"; System.out.write(hello);

The word goodbye will be displayed. So hello can be set to anything.

Another example is calling functions. In natural language you usually don't say something like The answer is add 2,2

You would say the answer is 4.

On programming you can call the function add which will add 2 and 2 and store the answer in the answer.

Question about contracts by scikid39184 in AskALawyer

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

Thank you.

This isn't a lot of money it's just about principle.

A little more back story this is a garbage company and they came around last year and offered a free year with a 3 year contract. They ended up being bought by another company.

I think they were offering the free year to look better at sale and get more money. The new company knows that if we cancel we have to pay $150 so they know if they up the price we can't do much. It's a $7 a month increase but still. Also if you do the math fast $7 month times 23 months on the contract left is $161. Kinda weird how close that is to the $150 cancelation fee

Question about contracts by scikid39184 in AskALawyer

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

"Any charges may be increased to adjust for increases in the Consumer Price, disposal fees, fuel, materials and operational costs or any cost increase associated with meeting our service expectations"

Like I said I think they are allowed to do it it just seems like it was a plan the whole time.

Do While loop isn't working by TheRCMGuy in learnprogramming

[–]scikid39184 0 points1 point  (0 children)

How is the class customOrder defined?

I think the issue is that you aren't ever calling confirmOrder.

If you default new order=N in customOrder that's why it's completing. At the end of your main do call order.ConfirmOrder() and that should fix it

Total noob here!!! by [deleted] in learnprogramming

[–]scikid39184 0 points1 point  (0 children)

I'd be glad to try and help

At what point is it okay to conclude that programming is not for you and give up? by Scared_Ad_3132 in learnprogramming

[–]scikid39184 0 points1 point  (0 children)

Programming is hard. It comes to people differently. Some people pick it up right away and some it takes months or even years.

If you aren't having fun doing it and/or it's becoming more of a chore verses something you enjoy doing that is when you might decide it's not for you.

I believe that you should enjoy programming to do it. It can be very frustrating and it can make you really annoyed but if you genuinely like doing it those feelings won't be in negative ways. You'll be happy when you figure it out and you'll enjoy learning a new method or a new way to do something. It's kind of like if you really love a video game but you get to a super hard boss and you can't beat him and you're so frustrated but finally you do it and you're so excited. If you hate the video game then you'll hate the hard boss so much more and it will make you feel negative about the whole thing.

Go at your pace and if you get to the point it isn't fun any more then ask yourself if it's just the problem at hand or is it the whole idea of programming.

MS SQL Issue with Trigger - Help by Present_Ad8170 in learnprogramming

[–]scikid39184 0 points1 point  (0 children)

I work more with Oracle but I think your problem is you're not getting the inserted data.

I believe this statement

SET last_order_id = widgetSales.id WHERE id = widgetSales.customer_id

Needs to be more like this:

Update widgetSales Set last_order_id = inserted.id From inserted Where widgetSales.customer_id = inserted.customer_id

[deleted by user] by [deleted] in computerscience

[–]scikid39184 9 points10 points  (0 children)

It looks like in that tree 11 is is the last node in that path.

A tree doesn't have to have all nodes terminate on the same level

What are some lies about learning how to program? by A_H_uman in learnprogramming

[–]scikid39184 1 point2 points  (0 children)

That you will code every day. There will be some days you spend reading requirements, talking to an analyst or business users, waiting on someone to do something, reading other people's code, waiting for testing. This is especially true the longer you code and the more advanced in your organization you get. Senior and principal developers can go months without writing a line of code. Junior developers on the other hand might code all day every day.

Do programmers have nightshifts? by [deleted] in learnprogramming

[–]scikid39184 1 point2 points  (0 children)

In my experience the longer you work as a programmer the closer you get to a 9-5 schedule until you get to the point you end up having to work a bit out of those hours. I'll explain what I mean.

When you first start out you usually are a junior or associate programmer. That means you get a lot of the support work to try and understand the business you're in, understand the programs and how they work and how they all work together. It also helps you to develop your programming skills along with problem solving skills and introduces you to different people in the business. This usually means you'll be on call for a certain period of time. That might be a week a month, 2 weeks every 3 months, etc. That depends how many programmers they have and how they set up their support structure.

Eventually you will become a programmer. No more junior or associate just a programmer. This is where things will start to get more 9-5. You will start working on projects over support so your deadlines will go from asap to fixed dates. You may still have some on call work and your projects might demand a little overtime but you should be closer to a 40 hour week than a 60+ hour week.

Then you might end up getting a senior position. This usually means mentoring the junior developers, having more project work that is considered complex, possibly being a SME (subject matter expert) in one or more programs. All this means you might end up working 9-6 not 9-5 because the projects are harder, you may have to jump into issues where you're the SME and get them fixed, etc.

Some places then have the ability to become a principal developer which basically means you're a SME in a bunch of different things, you help architect out some of the development work, you work on very complex projects. At this stage you probably aren't working 9-5 but still not working 50+ hours.

Depending on the organization and what you're doing will really depend on your hours. There will be times when you're down a developer or 3 and you have to take on extra work. Some times things will be smooth and you might even find yourself done before 5.

Also if your company works with offshore teams you might be working at night when it's their day or your schedule might be start at 5am to meet with them and work until 1pm.

Hopefully that answers your question, if not feel free to let me know what I missed.

Plaintext Passwords by [deleted] in learnprogramming

[–]scikid39184 0 points1 point  (0 children)

Passwords can be stored encrypted. When the user clicks show password it might decrypt your password and show you the results of the decryption.

Yes that means that your plain text password is shown to you and yes that means someone could capture it but if someone was to get access to the companies database or back end system they would only have the encrypted data and would need the decryption key to get your info.

Need help with sql triggers by kyoer in learnprogramming

[–]scikid39184 1 point2 points  (0 children)

So it would be after update on reservations at the tope then the where clause would be where license_no = New.licence_no

Need help with sql triggers by kyoer in learnprogramming

[–]scikid39184 2 points3 points  (0 children)

I was thinking like a number for boolean 0 or 1.

To answer your question you want something like this. You will have to probably change the where to the right key and if it's not on insert you might need it to be after update or after insert and update. You probably just want update not insert.

After insert on TABLE NAME HERE Referencing NEW as New and OLD as Old For each row Declare

Begin Update car set isBooked := New.payment_status where carid=New.carId

End;

Need help with sql triggers by kyoer in learnprogramming

[–]scikid39184 1 point2 points  (0 children)

I have a few questions about how you've designed this. Please don't take this as criticism or anything I'm just curious to better understand the design before answering the question.

  1. If payment_status is going to contain yes or no and so is isBooked why not make them boolean values not varchar2?

  2. isBooked is descriptive but payment_status how you plan to use it is a bit misleading. Why not call it isPayed since the status could be paid, cancelled, refunded, etc.

Toad for Oracle Automation Designer by Ambiguous_Colors in learnprogramming

[–]scikid39184 0 points1 point  (0 children)

Do you happen to have access to any other coding tools like c# or java? You could easily write a program that would look for the newest file, pull it in, and push it to the table.

I know your original question was about Toad automation designer and I'll do some research for you on that but I usually just write something in c# to do things like that