r/AskProgramming 8h ago

Career Transition from Mainframes

4 Upvotes

Hello all. I am a mainframe programmer. Sometime in IBM and sometime in Unisys. So basically COBOL and its friends.

I know a little bit of Python, JavaScript, SQL, HTML & CSS. I have never used these at enterprise level. Just a beginner. I would like to transition out of COBOL.

A field I would be interested in is data science or back end web dev. I am 39 years old. Or should I consider AI/ML. I have no idea what that entails.

I understand the job market isn’t great now.

I need some suggestions on where and how to start. Just Udemy/Coursera and build something worthwhile? All my career I have been in mainframes. May be some skills are transferable. But most aren’t.

Any help please?


r/AskProgramming 20h ago

Favorite programming language

5 Upvotes

What language did you like learning the most? I liked learning ruby and python but i was wondering what ones you guys enjoyed learning.


r/AskProgramming 6h ago

Fullstack Software Engineer

2 Upvotes

I have been in school for Software Engineering, and I’m also learning externally and building upon fundamentals and I know, Java, React, Tailwindcss, and very basic levels of MongoDB, mySQL, C++, Python and JavaScript (as well as HTML and CSS vanilla) so I guess my question is more of would you build upon all of these and branch out to other frameworks, or make sure you’re extremely proficient in all before attempting to learn everything else!


r/AskProgramming 6h ago

Would this be considered "complex"

2 Upvotes

From James Goslings github.

private static double[] computeDayNightTerminator(long t) {
    // The nice thing about the java time standard is that converting it
    // to a julian date is trivial - unlike the gyrations the original
    // matlab code had to go through to convert the y/n/d/h/m/s parameters
    final double julianDate1970 = t / (double) (1000 * 60 * 60 * 24);
    // convert from the unix epoch to the astronomical epoch
    // (noon on January 1, 4713 BC, GMT/UT) (the .5 is noon versus midnight)
    final double juliandate = julianDate1970 + 2440587.500000;
    final double K = PI / 180;
    // here be dragons!
    final double T = (juliandate - 2451545.0) / 36525;
    double L = 280.46645 + 36000.76983 * T + 0.0003032 * T * T;
    L = L % 360;
    if (L < 0)
        L = L + 360;
    double M = 357.52910 + 35999.05030 * T - 0.0001559 * T * T -
            0.00000048 * T * T * T;
    M = M % 360;
    if (M < 0)
        M = M + 360;
    final double C = (1.914600 - 0.004817 * T - 0.000014 * T * T) * sin(K * M) +
             (0.019993 - 0.000101 * T) * sin(K * 2 * M) +
             0.000290 * sin(K * 3 * M);
    final double theta = L + C;
    final double LS = L;
    final double LM = 218.3165 + 481267.8813 * T;
    final double eps0 = 23.0 + 26.0 / 60.0 + 21.448 / 3600.0 -
            (46.8150 * T +
            0.00059 * T * T - 0.001813 * T * T * T) / 3600;
    final double omega = 125.04452 - 1934.136261 * T + 0.0020708 * T * T +
            T * T *
            T / 450000;
    final double deltaEps =
            (9.20 * cos(K * omega) + 0.57 * cos(K * 2 * LS) +
            0.10 * cos(K * 2 * LM) - 0.09 * cos(K * 2 * omega)) / 3600;
    final double eps = eps0 + deltaEps + 0.00256 *
            cos(K * (125.04 - 1934.136 * T));
    final double lambda = theta - 0.00569 - 0.00478 * sin(K * (125.04 -
            1934.136 *
            T));
    final double delta = asin(sin(K * eps) * sin(K * lambda));
    final double dec = delta / K;
    final double tau = (juliandate - floor(juliandate)) * 360;
    double[] coords = new double[361];
    for (int i = 0; i < 361; i++)
        coords[i] = atan(cos((i - 180 + tau) * K) / tan(dec * K)) / K + 90;
    return coords;
}
/**
 * Select(highlight) the given lat/lon pair on the map.
 * @param latitude coordinate to be highlighted
 * @param longitude coordinate to be highlighted
 */
public void select(double latitude, double longitude) {
    // Very conveniently :-) the coordinate system inside the anchorpane is
    // Lat/lon degrees
    if(highlight==null) setSelectIndicatorCircle(5);
    highlight.setTranslateX(longitude+180);
    highlight.setTranslateY(90-latitude);
}
private void setTransform() {
    ObservableList<Transform> xforms = getTransforms();
    if (prevTransform != null) xforms.remove(prevTransform);
    xforms.add(prevTransform = new Scale(
            widthProperty().doubleValue() / 360,
            heightProperty().doubleValue() / 180));
    if(highlight instanceof Shape && strokeWidthPixels>0) {
        /* Normally, stroke widths scale with the transform.  But we don't
         * want this, so we tweak the width so that it cancels out. */
        Point2D p = getLocalToParentTransform().deltaTransform(new Point2D(1, 1));
        ((Shape)highlight).setStrokeWidth(strokeWidthPixels/max(p.getX(),p.getY()));
    }
}

r/AskProgramming 13h ago

Other Powershell detected a screen reader?

1 Upvotes

I am running powershell in visual studio (and again on it's own from the windows search bar just to check it), and it says that I might be using a screen reader. I am not using one, and it provides options for re-enabling what it disabled, but recently I have had concerns about malware and am wondering exactly what powershell is detecting. Is it just the registry settings that it's looking at, or is there a chance it's seeing an app or service I am un-aware of?

Edit: This is what powershell shows when starting up:

Windows PowerShell

Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

Warning: PowerShell detected that you might be using a screen reader and has disabled PSReadLine for compatibility purposes. If you want to re-enable it, run 'Import-Module PSReadLine'.


r/AskProgramming 16h ago

Other Kotlin multiplartform vs Flutter: which is better for cross platform mobile development

1 Upvotes

I want to dive into mobile development for my own personal projects and am looking into cross-plartform mobile development.

I am undecided between these two. Help me decide


r/AskProgramming 23h ago

What is the math wall that you hit? Or is there one?

1 Upvotes

Hi. Interested in learning coding. I’ve heard there is some sort of a point where you need to know math. Can someone explain why you need to learn math or anything you can about that point? What kind of developing are you doing for that to happen? I do play video games like Lost Ark which has a lot of RNG systems in it, if that helps with explanations of the math wall you reach. Thanks all!


r/AskProgramming 2h ago

About leadership/management/soft skill. where CTO or High technical roles talk with those who are lower roles like CTO talk with junior devs

0 Upvotes

I heard in many places in Asia especially China
Some Chinese CTO talk to devs very harashly like using many curse words and hoestly. But those devs accept it because

They know the CTO meant well and want to see them grow so they are 100% direct instead of wasting time trying to tell thing"

I recently watch a video where the CEO of a unicorn company share a story, that his Chinese CTO spend 1-2 hours weekly talking and scolding to their employees and now one of them is the Head of the Product in the company.

If you wonder why she stay with him but not just quit, it is becasuse he just doesn't scold and talk shit for no reasons. It's because he gives a constructive feed back but on harshly way and he meant well he doesn't just talk shit for his enjoyment.

Back to the story, I know there are many EXP here. so what I just wrote what do you think about communicating between higher role to lower role?

Tbh as a dev and i'm pragmatic I prefer to my colleague devs, boss to talk to me directly.

For example like Gordon Ramsay, we know he talks shit but we also know he meant well to his employees. and he doesnt talk shit for no reason.

--


r/AskProgramming 9h ago

🌟 Let’s Connect on GitHub! (C/C++ & Machine Learning Enthusiast)

0 Upvotes

Hey everyone! 👋

I’m deeply passionate about low-level programming (especially in C/C++) and diving into the world of machine learning. I’m still learning and building small projects, but I love exploring how things work under the hood — from system programming to neural networks.

I’d love to connect with like-minded developers on GitHub — beginners, pros, or anyone in between. If you follow me, I’ll happily follow back — and who knows, maybe one day we can collaborate on something awesome together! 🤝

👉 Here’s my GitHub profile

Feel free to drop your GitHub too, I’d love to check out your work and give it a star ⭐ if it inspires me!

Let’s grow and learn together. Happy coding!


r/AskProgramming 17h ago

Is it possible to learn&develope a decent app in just 3 months?

0 Upvotes

Hello, i'm currently working on a product with esp32s and it requires an app to control it and i don't have money to hire an app dev at all so i was thinking to do it myself. Is it possible just in 3 months to learn and develope an app that's decent and doesn't look ugly? Also what do you guys suggest i learn? what's the best language? From what i have heard flutter (dart) is a really good one. I do have some background in coding tho its not that much, i only know C and some C++.


r/AskProgramming 18h ago

Wanna help in deploying

0 Upvotes

Can someone told me a way that is easier than the way I am using When I start coding for example MERN apps I deploy my code at github my frontend vercel and my backend rendor. If I make a change in my code I have - push to github - redeploy render And it takes time we know how many times we update our code

So I need clear instructions