« first day (4210 days earlier)      last day (26 days later) » 

00:20
REFRESH! There are 5409 unanswered questions (93.0214 answered)
01:13
 
7 hours later…
08:15
0
Q: Get histogram of bytes in any set of files in C++14 - take II

coderoddeIntro (This post is the continuation of Get histogram of bytes in any set of files in C++14.) This time I have added some ASCII art for visualizing the histogram. Also, if the program is invoked without command line arguments, it will expect the data from std::cin. Code #include <algorithm> #incl...

 
3 hours later…
11:12
@RMunroe It depends on whether you consider a circle to have 0 angles or a near-infinite amount of angles. I think the latter is the more popular approach lately, in which case they're doing it completely wrong indeed. Most likely on purpose.
 
2 hours later…
14:11
0
Q: possible improvements OR better ways to implement my own logger

CabbasI have implemented my own logger based pimpl idiom. As a third party lib, I used spd log. My focus is to provide an interface to the end user who wants to print multiple parameters at once. I also used fold expression and ostringstream to streamline any primitive type of parameter. I would be gra...

@Mast How is The Netherlands these days?
14:58
@DerKommissar Going downhill, but not as bad as the US yet.
@Mast that tracks, my wife wants to move somewhere out of country, I got to thinking of The Netherlands as an option.
@DerKommissar The pay is going to be less than you're used to, the tax higher than you're used to and the living conditions smaller than you're used to. But there are definitely options.
I took a substantial pay cut to switch fields this year, about 70%, so it would be hard for it to get lower
(Company was adamant that “we’re financially secure”, so I bailed in April, they just did a mass layoff last week that included my old position.)
If you got experience programming PLCs I can get you an interview.
But there's a lot more involved with switching countries than that :-)
I only program PLC’s now lol
Yaskawa, AB, Siemens, Wieland, Wago…
Schneider too, I do CNC & PLC, along with electrical print work here.
15:12
AB and Siemens will guarantee you that interview.
I have much more experience with AB / Rockwell than Siemens, haven’t done much with PanelView though
Any experience with it gets you the interview, the rest is only relevant for the level you come in with. We really need extra developers any way we can get them.
Anyway, if there are specific questions you have about the country: ask.
Will do, I’ll keep you posted. She’s still deciding what she wants to do long-term, and I’m not totally against the idea of moving elsewhere. I just built an industrial vision project here that we’re using to feed data & calculations for robot work, so I’m trying to see if I can get that to take off and open some flexibility.
We do some advanced vision stuff too :-)
IIRC y’all have better childcare than us too, and that’s something we both are considering as well
@Mast interesting, because that’s what the company I own has been putting a bigger focus on lately
I engineered the entire product from the ground up, we use Modbus (or Ethernet/IP) to talk to PLC’s with the data
15:24
Our childcare is good as long as you stay out of the big cities. The ones there are overworked.
16:21
@Mast Unrelated, have you looked at that featured question with the opamp circuit?
6
Q: How is this op amp in negative feedback?

alxzhuI'm trying to solve this question for homework but they mentioned the first op amp is in negative feedback. How though? Is it because of the output of the second op amp (OA2) is also in negative feedback and the output's signal is the opposite of the other input signal (Vi) in the first op amp?

That one?
Yea.
Not that one, but I need to look at it too. I was looking at the +/-10V AC Drive one
Have now.
I have a suspicion that graph is assuming a perfect op-amp
I haven't touched LTspice in years, but I'd definitely try to simulate it myself before accepting the results. Considering this is a motor circuit humans will be fairly close though, I'd do it differently.
The original output has -10 to 0 and 0 to 10V range.
16:35
I’m curious what the answer intended with the last op-amp before the speed output, I suspect it’s an isolator.
Why not only put it in forwards mode and have a dedicated Reverse button straight to the VFD when necessary?
Oh, that last one is a unity amplifier.
It decouples the load, basically.
Reduces your power consumption by a lot and now you're at 4.
Yeah, that’s what I was just thinking. Separating impedance
Opamps tend to be packed per 2 or 4 anyway, so...
It reduces your current consumption by a lot.
So, yes, it's an isolator of sorts.
Yeah, makes sense.
16:52
possible answer invalidation by Toby Speight on question by Cabbas: codereview.stackexchange.com/posts/294378/revisions
possible answer invalidation by Toby Speight on question by Cabbas: codereview.stackexchange.com/posts/294378/revisions
@Duga old to new style code formatting
possible answer invalidation by Toby Speight on question by Cabbas: codereview.stackexchange.com/posts/294378/revisions
@Duga I thought I'd done this before posting my answer! I undid over-indenting and split the code into separate blocks per file.
@TobySpeight The problem is Duga's time is 20 mins out of sync
Arch sets up NTP for you... and Simon was using IIRC chronny which isn't what Arch uses by default
17:34
Monking
 
2 hours later…
19:11
Monking
19:23
If the code is working, this question should be asked on Code Review Stack Exchange. That said, any time you include the archaic DOS header conio.h, things are suspect. Then, you only ever need ONE std::cout for any single block of output no matter how many lines. That's what '\n' is for (or std::endl of you need it). cls doesn't. All it does is output a terminal full of newlines so it appears like the terminal was cleared, better to omit - your user knows what they just typed. More on Code Review. — David C. Rankin 28 secs ago
 
4 hours later…
23:19
"my teachers told me to use turbo c++" -- get new teachers, learning to code on out of date tools does more harm than good. — David C. Rankin 4 hours ago
heh... in some cases, one does not simply get new teachers

« first day (4210 days earlier)      last day (26 days later) »