« first day (1441 days earlier)      last day (2418 days later) » 

00:00
RELOAD!
[FreezePhoenix/Angels-And-Demons] 1 commit. 6 additions. 3 deletions.
[rubberduck-vba/Rubberduck] 4 commits. 1 opened issue. 38 issue comments. 472 additions. 34 deletions.
 
2 hours later…
02:20
@Phrancis damn. Is that likely to raise flags?
02:37
@bruglesco Yes, they will pull the call and listen to it, to get evidence
02:48
She had the audacity to tell the customer that she felt attacked after telling them that we couldn't help with her Google Calendar issue when the customer kept trying to get her to understand the issue was with Outlook Calendar
Man does she drink before she comes in?
I'm starting to wonder
@Phrancis and yes I meant fast ;]
Another colleague got a complaint call that he sebt to our boss to listen to the call
seems like the volume of complaints are escalating
(That tends to happen) The old give them the rope to hang themselves . . .
On a lighter note: Today I lost my job. . .
So more time to code!
03:09
Oh. Sorry to hear about that :(
Sorry if I sucked the life out of the room
No you're fine
What are your plans on the short term?
unemployment
I should be able to find work easy but making anything near what I was at will be hard
Are you going to get back into a kitchen, or focus on tech?
That's a hard question
Im not getting any nibbles in tech though so probably stay in the kitchen
03:19
You might consider help desk and IT support, good way to get your foot in the door and there are plenty of them
that is a good idea
I'll see if I can get any nibbles there too
I would way rather pursue tech then kitchen
You can probably get 15-20/hour at most entry level IT jobs
@Phrancis really?
Im down
Yeah
I wonder if I can fix my bug from last night or if my head will be off
sweet thanks
The one at Elsevier has 40-45k salary, that's really good for help desk
Also, don't let the Bachelors degree or whatever discourage you, I don't have a degree and have worked multiple jobs where they were looking for that in the posting
Willingness to learn/adapt and to genuinely want to help customers are worth way more than strictly technical knowledge
Well customer service and an accommodating nature are one strength Ive learned in the restaurant industry
I'd recommend making an account on ziprecruiter.com they are really great at getting recruiters to look at relevant applicants
And if you want a 2nd opinion on resume by all means let me know
03:41
Thanks I appreciate it. Im gonna spend tomorrow trying to polish up the old resume. I'll write a few versions tailored for different potential positions.
1 Tech
2 IT
3 Kitchen
Good thinking
I have a linkedIn Indeed and zip account
Ill just go from there I guess
On the IT one I would make sure to emphasize what I already mentioned, and also emphasize knowledge of Microsoft Office products, to the extent you know more than the average computer users, because a lot of jobs use Outlook and Excel quite heavily, and users call/email about Office things a lot
My Office knowledge is limited
Ah, OK. Well, good thing is that with a little Google-Fu almost every Office issue can be resolved, customers just don't often think about it because they're not used to troubleshooting tech issues :)
(and Google-Fu Master definitely belongs on an IT resume ;)
03:47
I am definitely a Google-fu master
It isn't just that people don't think to google it they also often don't know how to word it
Right, that's the key
and also don't have the patience to use 4+ wordings and compare the results
Or the knowledge of which results/sources are most likely to have the information they need
Most people click the top result on the first search and hope that solves it
that too
I actually find myself quite often finding solutions to an issue on SuperUser.SE at my work, that site is underrated
04:02
Aren't they notoriously unfriendly?
04:12
this bug is still frustrating the crap out of me
04:23
@bruglesco Not sure, only asked there once and had a neutral experience
@bruglesco Nothing on SO?
Not that kind of bug
well maybe
Hm. What is it about again?
Im writing a review of a poorly written circular linked list and trying to reimplement it.
Its the Josephus problem
Sounds relatively straightforward...
and no matter what inputs I give I get the output 1
which makes me think I am doing something stupid somewhere
04:28
Sounds plausible
Issues like these I tend to add a bunch of console output between instructions to follow what happens
yeah good idea
Helps with quick sanity checks
that was not what I expected
It changed output but didn't output any of the messages I added
Sounds like an incorrect conditional?
gotta be
Man my head isn't in it
Now I got a read access violation.
04:44
What is that?
Trying to access a private member from outside, possibly?
trying to access memory that you shouldn't
c++ memory management stuff
(obligatory point on manual memory management)
but I delete the node then seem to access it later
(obligatory grunt at manual memory management)
@bruglesco Wouldn't the compiler strongly object to that?
And if so, I would posit the deleting is not working
@Phrancis It happens at runtime and the debugger throws an exception and stops the program at the breakpoint
the deletion is working the logic surrounding moving the pointers away from referring to the deleted memory aren't working
Ugh pointers 😣
if (start_node->next == start_node)
04:56
Wouldn't it just be a matter of getting the next (or previous) element before deleting and reassigning the pointers?
That line is not working the way I intend
@Phrancis I thought I did
That only seems like it would work with a list of 1 element
that's the idea. That is returning no matter how many elements
omg I know what I did
Actually, what if you had 2 elements which were identical next to each other?
no pointers are reference to memory locations
cant have to items in the same location
05:00
So == is comparing by reference, rather than by value?
I think all of my list creation is done via copy
okay it works
That also means OP's code was probably broken
The copy's not equal to the original because different memory location?
So I probably shouldn't finish this review I just spent 3 nights on
@Phrancis right. When passing variable you can pass by value or by reference.
Go ahead and post it, the requirement is that the code works correctly to the OP's knowledge, plenty of answers out there pointing out weird bugs and edge cases
Well it TLE'd but SPOJ probably gives TLE before wrong answer
05:06
Yeah sites tend to do that
I've come to prefer sites that give you the challenge and ask for the answer, so you can use your own tools/IDE/whatever
Yours also getting TLE?
no Im getting wrong answer
Well, at least it's faster to get at the wrong answer ;P
Sounds like a tricky challenge, if you need to implement a circular linked list just to solve it
(doesn't C++ already have one of those?)
@Phrancis It wasn't the best solution (will address that in answer too)
@Phrancis nope
but they have a linked list that can return its size and a modulus operator
Can you do my_list[-1] to get the last element in C++?
(or whatever the syntax is -- heathen here who is used to more modern languages)
that's the right syntax
and no
Im pretty sure that's a segmentation fault you just did
05:19
So you'd have to do something like my_list[my_list.length -1] ?
index = index % list.size();
ohh yes
but the mod would give you wraparound
So long as there's a workaround I guess, as clunky as it is
Just got to reset the index any time you add or remove something
well for Josephus that's the point
In computer science and mathematics, the Josephus problem (or Josephus permutation) is a theoretical problem related to a certain counting-out game. People are standing in a circle waiting to be executed. Counting begins at a specified point in the circle and proceeds around the circle in a specified direction. After a specified number of people are skipped, the next person is executed. The procedure is repeated with the remaining people, starting with the next person, going in the same direction and skipping the same number of people, until only one person remains, and is freed. The problem —...
05:27
This would be a breeze to do with Python's deque
But if you have to roll your own, yeah, PITA I guess
Now the online compiler is giving me an error that my own is not
C++ has a deque
Why don't you just use that then?
but it does have deletions by index
the list has the fastest deletion by index
* once you get it to work
Ah so you have to solve it to find how to not get executed, more challenging
Brute force becomes a problem with a larger input
@Phrancis gah I didn't even think of that
this answer is going to take me a week at this point
05:35
Well, just save it in notepad and go do something more relaxing for a while
The algorithm itself is fairly simple, but running it in reverse appears challenging
Hm actually, it's not about running it in reverse, whatever the result is of running it in the right order should be the answer
Yeah I need sleep. GN
 
7 hours later…
13:14
Hey
 
2 hours later…
15:19
Friday Facts #251 - A Fistful of Frames https://www.factorio.com/blog/post/fff-251 #factorio #gamedev @ntkcz
 
1 hour later…
16:30
hey
17:06
Monking!
@Phrancis Hey!
17:18
How's it going?
Not bad
I should probably be working on my resume but I am working on that bug instead
How bout you?
Just started work, still kinda sleepy
This is fun though
It turns out neural networks are bad at naming burlesque shows. http://aiweirdness.com/post/175848043097/ai-does-not-understand-sexy
17:40
hah that's fun
18:06
26
Q: How to avoid logical mistakes in code, when TDD didn't help?

Arseni MourzenkoI was recently writing a small piece of code which would indicate in a human-friendly way how old an event is. For instance, it could indicate that the event happened “Three weeks ago” or “A month ago” or “Yesterday.” The requirements were relatively clear and this was a perfect case for test dr...

huh ^
13
A: How to avoid logical mistakes in code, when TDD didn't help?

Karl BielefeldtThese are the kinds of errors you typically find in the refactor step of red/green/refactor. Don't forget that step! Consider a refactor like the following (untested): def pluralize(num, unit): if num == 1: return unit else: return unit + "s" def convert_to_unit(delt...

This is actually a pretty good implementation ^^
18:29
@bruglesco Odd -- That lady coworker came in, saw her for a few minutes, and then she's been gone since -- her stuff is still at her desk though, so she must have went or been sent home I guess
@Phrancis Is that a normal occurrence?
@skiwi No
On the bright side, my manager just told me that I got a kudos from the client (the hospital) and that he wish I had gotten the call first rather than she did
Ah, that's cool
18:56
@Phrancis That could mean a lot of things. Suspension. Not caring about personal possessions in the wake of a termination
Or something else entirely non-disciplinary
Perhaps she has been seriously ill and it has been effecting her performance and attendance.
Finally fixed my bug
Fixing bugs is always fun!
Well, I mean the part of having fixed the bug :P
yes the afterwards
This week I've been working on a websocket implementation at work again and there were all sorts of cases of weird behaviour with messages suddenly being stopped receiving
After a bit of debugging it finally hit me that if the queue on the server was empty, then the process would stop (actually the messages would get queued forever and there's not a single way to release them), and I found a mutex/locking oversight
I take it you got it straightened out?
Talked with a coworker and together we could explain all different weird issues going on, and I tested again and it was fixed :)
19:02
Nice
I'm only really learning a bit of multi-threading now at my job, university didn't teach me too much of it
Another thing is accounting for all possible error situations and making sure the logic is correct in those cases
And as a colleague says: It's all about having different layers and about sending data between those layers with possibly transformations in between
 
2 hours later…
20:48
In other news, my manager forwarded my a compliment from the VP of Information Services at the hospital about how I handled the issue last night :)
Sounds awesome
21:01
Nice!
21:22
bubble.is looks quite interesting!
Though in my opinion it already offers me more freedom at the start than I'm wanting to have, I want to make my data definitions and then be able to generate the UI for it and only tweak where needed
At a brief glance I'm skeptical how useful it will be
I haven't read the documentation yet, just playing around, but data constraints already seem to be missing
It does feel pretty fluent to be honest
21:38
@skiwi Whats dat
Oh now I see
Wait you paid for that just to play with it?
@skiwi It seems to be intended for non-coders, who may not even know there is such a thing as data constraints
@FreezePhoenix No, building apps is free, would need to check out if I can actually use it too
@skiwi technically if it is allowing you to use an editor, then...
@Phrancis It's a bit more dumb than I hoped but maybe it'll do for my trading cards database
I think I'll pass the link to my job too as we may get interesting ideas from it
I see no bubble.js file... they're smart.
 
1 hour later…
23:04
@bruglesco you were correct... biggest bullet doesn't always win... but it stays in the winning place for longest :P
23:45
200_success vs. rolfl: 31517 diff. Year: +3959. Quarter: +191. Month: +191. Week: +222. Day: -15.
200_success vs. janos: 27682 diff. Year: +2145. Quarter: -185. Month: -185. Week: -48. Day: +20.

« first day (1441 days earlier)      last day (2418 days later) »