« first day (3345 days earlier)      last day (676 days later) » 

12:03 AM
REFRESH! There are 8116 unanswered questions (89.3001 answered)
 
12:16 AM
I’m voting to close this question because Code ReviewEJoshuaS - Stand with Ukraine 18 secs ago
 
 
1 hour later…
1:31 AM
Unfortunately this is off-topic here. Perhaps post to codereview.stackexchange.com. Just be sure to be succinct - probably not needed to post 100% of your code. Also, be sure to ask specific questions, not just "here is my code, what can be better?" — David Makogon 24 secs ago
 
2:22 AM
0
Q: Is the given code optimized ? Can it be optimized?

2gether we canSometimes i wonder if i have written a lot of LOC to change my logic in to the programming. If my code is not that much optimized. To share those i have two pictures where i have to pass some context data in to Django Templates and I have had passed a lot of context data. And another picture cont...

 
2:48 AM
0
Q: A C++ Job Manager Class (Rev 1)

big54macThis is a revised version of the JobManager class originally posted here. The revisions made were centered around: Encapsulating the Job class within the JobManager class. Removing the use of std::shared_ptr(s) from the Job class. Moving most of the Job member method logic into the JobManager cl...

 
 
2 hours later…
4:26 AM
Monking
 
 
3 hours later…
8:26 AM
possible answer invalidation by tryingitout on question by tryingitout: codereview.stackexchange.com/posts/277750/revisions
possible answer invalidation by tryingitout on question by tryingitout: codereview.stackexchange.com/posts/277750/revisions
 
 
2 hours later…
10:07 AM
0
Q: How to implement a daily streak counter in JavaScript?

LanceI want to implement this in a SQL database schema, but am doing it in JavaScript first to make sure I have the logic right. Basically, I would like to track "actions" a user performs. If they perform a certain amount of actions within a period (a day for now), then they hit the goal for that day....

 
10:33 AM
0
Q: Evaluating math terms as nested lambdas instead of expression tree

infinitezeroI need to store some math terms. Originally I would use a tree to do it, especially if parsing strings was involved. However, since the expressions are built within the code and need not be parsed, I thought of doing it with nested lambdas and overloaded operators instead. Since these expressions...

 
 
2 hours later…
12:09 PM
@pacmaninbw So it turns out I can't join the Navy
They require 20/20 vision, or vision that is correctable to 20/20 in each eye. I have 20/15 in one eye and 20/200 uncorrectable in the other
 
You are also a little bit older than the normal recruits.
I know you haven't hit 30 yet, but are you getting close?
 
I'll be 28 next month
I can get an age waiver up to <31 for what I wanted to do, it would be tight but I could have made that part work
 
The eyesight thing sucks, but oh well. Do you have a heart condition of some kind?
 
Yeah but that's not a blocker for an Officer position
The eyesight is apparently a block (which is ridiculous because I wanted to go into being an NPTU instructor).
 
If you want to teach, get your BSCS, a MSCS and become a part time instructor at a university.
 
12:16 PM
I probably don't need an MS with all the experience I have
 
There is all kinds of politics in education, so try it part time first.
You will also have to write a book or paper to become a full professor.
 
Hard pass
 
@DerKommissar What are your final goals with the BSCS?
 
Makes it easier for me to apply on jobs
The only factor that limits my career potential right now is the fact that I don't have a BS (in anything), so every time I apply for work I have to answer "no" to that question and it is a huge limiter.
 
But you got an offer from one company and you got a promotion at your current job.
 
12:22 PM
Yep, and I've made career progress without one, but I always end up having to jump through a ton of hoops to do so
A lot of the places I want to apply have a BSCS as a hard requirement.
 
Start boning up on the math now! You will have to get through calculus and differential equations in most CS programs.
It's different than most of the computer math you need now.
 
I did calc 1 and 2 in college before, for this one I have Discrete math and Linear Algebra yet
 
The Discrete math is a good idea, Linear Algebra is is matrix arithmetic, no brainer for computers
There might be a class called Combinatorial Algorithms as well, which include the shortest path problems.
I brought a super computer to it's knees for that class with the N Queens in N squares problem using recursion.
:)
CDC Cyber 170.750
Precursor to the Cray computers.
Taught me why recursion may not be the best way to solve problems.
 
12:40 PM
I had to take statistics as well. HTML wasn't really a thing when I was a student, the internet was still DARPANET.
The Computer Languages class is going to include theory as well as 3 to 6 programming languages.
 
I already have my stats credit too
 
Cool
 
I have all the CS courses left
The Discrete Math course
 
It will be interesting to see what you learn in the Software Development Lifecycle class.
You didn't take Linear Algebra before?
 
All my major electives, a "culmination / integration" course, and a few other courses
No, I didn't get that far into the math at my uni
I did Calc I, II, III was next, then Diff Eq, then Linear Algebra
 
12:45 PM
In my uni I had to take Linear Algebra before Differential Equations.
 
That might have been the order, I only went for 3 semesters so I didn't get that far
 
I completed my BSCS when I was 29. I went back to school when I was 25.
 
They're not processing registration until next week and classes start Aug 29
I have about 3-years worth of classes to knock out, gonna try to do it in 2 years and 1 semester
 
Is the program accredited?
 
Yeah
It's a regular regionally accredited uni
They don't have a specific CS accreditation, but that doesn't matter for what I want
It doesn't have to be an "impressive" degree, I just need a degree.
 
12:49 PM
Getting through all the classes and working full time is going to be tough in 2 years and 1 semester.
 
I think I can do it, I could damn-near teach most of these courses
They're 8-week courses, so you only do 2 at a time
 
True
 
A semester is two 8-week terms of 1 or 2 courses a term
 
You will also find out what you don't know.
 
Yeah, I'm only annoyed I have to do Discrete Math and Perspectives in History at the same time, then my Scripting and Database intro courses
I wish I could do Either Scripting or Databases and one of the gen-eds at the same time because I'll actually have to work for Discrete Math and History, but not for the other two
So I'll have two "difficult" classes followed by two trivial classes
 
12:51 PM
Yeah
They are helping you decide whether you want to complete the program or not.
History was easy for me, I was into history back then.
 
I transferred 72 credits in, but only 42 applied to my program
 
Perspectives means they are going to try to look at more than one side, sounds like a bunch of essay work.
You got most of your General Education out of the way as well as the math?
 
Yeah, pretty much
 
What was your major the first time?
 
Well half my credits came from dual-enrollment in high school
The other half I was a Computer Engineering major
 
12:55 PM
How did you do on the EE side of the CE major?
 
Fine
It was pretty easy, I went in knowing a lot back then too
I hated full-time exclusive school though
 
My second time through I worked for the uni for 2 years as a computer assistant and then interned at the company I worked at for 15 years.
It got hard to find a place to do my computer homework because students and faculty need help with computers while I was doing my programming projects.
 
This is 100% online and I work from home so it should be relatively easy
 
Yeah
Didn't think you were moving to New Hampshire.
 
I'm probably moving to DC soon
 
1:02 PM
Did you sell the house yet?
 
I think we're gonna keep it and rent it out
Market is about to do a flip and we don't have enough equity in this house to justify selling it
 
Land Owner, good move.
 
But on the bright side if things in DC don't work out and we end up back here then we own the place still
 
Who are you going to have to fix things when the renters call with an emergency?
 
We're gonna hire a property management person or company
 
1:06 PM
Good
 
I’m voting to close this question because I think it belongs on codereview.stackexchange.comPalle Due 25 secs ago
 
1:34 PM
0
Q: first React project - Lights Out game

David TarvinI am working my way through a React tutorial on Scrimba (I am not finished yet). I got to a certain part that inspired me to try a project on my own. I made a game of Lights Out. If you've never heard of it, it was a handheld electronic game where you have certain buttons lit up at the start and ...

0
Q: JS function to check if a date is in the correct format

JakubI wrote the following JS function to check if a date comes in the right format and can be used further down in the application const getInvalidDay = day => { const date = new Date(day); const dateToMoments = [date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds(), date.getUTCMilliseco...

 
Thanks for the tips @Jonathan Leffler; I will definitely leverage Code Review next times, I was not aware about that community at all. I'll change the tag as suggested and deal with couts, even if I must admit that that was already part of my plans :) — Jetboy 25 secs ago
 
2:40 PM
@PalleDue not as it is tough; the post would need to have the actual working code embedded in order to fly on Code Review. Perhaps Software Engineering? — Mathieu Guindon 29 secs ago
 
 
1 hour later…
3:51 PM
@DerKommissar 100% online also helps with some of the subjects as you can have lots and lots of cheat sheets available.
I'm not bad at math, but I'm awful at remembering which formula to apply in which situation when I have to remember 30 of them.
Best of luck.
 
I’m voting to close this question because it's for codereview.stackexchange.com273K 37 secs ago
 
@Mast That's what my struggle typically was too
 
4:30 PM
MOnking
 
4:42 PM
Ben Popper on July 01, 2022
Listen up, you can see us now. The Stack Overflow podcast is coming to video.
 
4:55 PM
@WillNess In the link at the end you find the C++ version which is much faster. In fact I have noticed that the size of the segments with this version does not vary much in speed. The sieve uses a version with two vectors considering only the numbers +-1 mod 6 for this the comparison is made with sqrt (n) / 6. codereview.stackexchange.com/questions/69791/…user140242 26 secs ago
 
 
1 hour later…
6:17 PM
0
Q: Google App Script Automation for User Onboarding

RankinJBackground I am a relatively new developer(> 2 years coding) working as an intern for a smaller company, as part of a now 4 person team. We had two other team members, one our system admin and the other our IT manager, fired less than a month after I was hired on. I was hoping to use our IT manag...

 
 
3 hours later…
9:26 PM
This seems like a question for the Code Review sister site, but read their tour page first — Samathingamajig 39 secs ago
 
 
2 hours later…
11:54 PM
@pacmaninbw By the way the Udemy OS Course I'm taking is finally explaining how we're going to use the pieces we made before
 

« first day (3345 days earlier)      last day (676 days later) »