|
Clearly the other party to the conversation is prefers boobs.
|
# ? Mar 20, 2022 13:51 |
|
|
# ? May 14, 2024 09:07 |
|
Xarn posted:oh nevermind, you were just shitposting about markdown. and I will continue to do so forever!!!
|
# ? Mar 20, 2022 15:02 |
|
Phobeste posted:After precisely one instance of trying to tell someone "no it's fat_butt.smell_gross_farts not _own_butt.fart_doesnt_smell" and having it turn into "no it's `fatbutt.smellgross_farts not ownbutt.fartdoesntsmell`" i'm ready to throw my computer out a window i don't get why this is tough to understand or would warrant a meeting 100% this. gently caress. Teams.
|
# ? Mar 20, 2022 19:04 |
|
Phobeste posted:After precisely one instance of trying to tell someone "no it's fat_butt.smell_gross_farts not _own_butt.fart_doesnt_smell" and having it turn into "no it's `fatbutt.smellgross_farts not ownbutt.fartdoesntsmell`" i'm ready to throw my computer out a window i don't get why this is tough to understand or would warrant a meeting The entire point of an instant messaging system is to avoid having meetings as much as possible. As much as I despise these chat systems, they beat meetings. But if the explanation seems that it would be longer or that a longer discussion is warranted, then by all means, jump in a meeting, share your desktop/ide/whatever and go at it.
|
# ? Mar 20, 2022 19:46 |
|
Woodsy Owl posted:100% this. gently caress. Teams. I haven't been bit by that specific problem but I'm just popping in to echo this specific sentiment. Startup culture is horrible, I think I have like 5 different communication apps. Slack and Teams among them. Slack is the least worst at least.
|
# ? Mar 20, 2022 20:06 |
|
Ola posted:Well, the chat app wants you to write rich text quickly with wysiwyg Markdown so that's why they did it. All I'm saying is that the reasons for wanting them to remove that functionality (however much you dislike it, I know I wouldn't miss it) are bad, dumb and super easy to work around anyway. No one is asking for the functionality to be removed they just want the ability to turn that functionality off to work more consistently.
|
# ? Mar 20, 2022 21:19 |
|
We use Teams but really only for meetings. Some people in our company don't seem to use Teams for messaging so I think everyone defaults to email. Not sure which option is better.
|
# ? Mar 20, 2022 21:53 |
|
I have yet to use Teams, but I would be surprised if it is worse than Symphony. gently caress that poo poo.
|
# ? Mar 20, 2022 22:04 |
|
Teams isn’t really built for communication. It’s built for organization. I’ve been in two jobs that moved from Slack to Teams and in each time communication went down.
|
# ? Mar 20, 2022 22:42 |
|
We use email and in-person meetings. No Zoomer poo poo here
|
# ? Mar 21, 2022 15:17 |
|
D34THROW posted:We use email and in-person meetings. i bet you also make phone calls too
|
# ? Mar 21, 2022 21:43 |
|
I write memos that are distributed in an envelope with a bunch of lines to write a recipients name then cross them out once they have received it.
|
# ? Mar 21, 2022 23:49 |
|
I used to do that with the office birthday cards, except just immediately cross off my name and hand it to the next person. It was the worst when I couldn't find a name I recognized.
|
# ? Mar 22, 2022 00:10 |
|
stack overflow strikes again: Can SQL Server's crash resilience be improved?quote:Background: The "PC" is a Windows tablet mounted on a forklift. When the user turns off the forklift, the tablet loses power. We have tried to teach the users to properly shut down Windows before turning off the forklift, but failed (probably because just turning it off "works" most of the time). We are also currently investigating other options, such as adding a UPS which signals the tablet to shut down on power loss.
|
# ? Mar 22, 2022 02:59 |
|
I had to check if that was someone that I know since I’ve personally written several programs that were mostly SQL running locally in a tablet mounted to a working vehicle of some kind. Not forklifts though.
|
# ? Mar 22, 2022 10:23 |
|
call flush every few sec0nds?
|
# ? Mar 22, 2022 10:58 |
|
Coding horrors meet OSHA thread
|
# ? Mar 22, 2022 12:13 |
[virtual] load-bearing forklift
|
|
# ? Mar 22, 2022 15:01 |
|
Can't the tablet live on battery for long enough to detect that the forklift is powered off and shut down cleanly? Presumably it has sensor input already.
|
# ? Mar 22, 2022 19:35 |
|
rjmccall posted:Can't the tablet live on battery for long enough to detect that the forklift is powered off and shut down cleanly? Presumably it has sensor input already. That was my thought too, is there some requirement that it not have a battery? I guess not, since a UPS is being considered. You can tell Windows to shut down after 5 minutes on battery power or whatever, did anyone tell the OP this
|
# ? Mar 22, 2022 20:44 |
|
Polio Vax Scene posted:[virtual] load-bearing forklift gotta make it abstract or someone will neglect to implement it and the whole code architecture will come down
|
# ? Mar 23, 2022 22:27 |
|
More self horror! I just did this until I get multiple dispatch working. Creating a list with list comprehension and unpacking it to pass to an *args method (which packs the arguments into a list that is then unpacked in the method). Python code:
|
# ? Mar 28, 2022 15:49 |
|
D34THROW posted:Creating a list with list comprehension and unpacking it to pass to an *args method D34THROW posted:(which packs the arguments into a list that is then unpacked in the method).
|
# ? Mar 28, 2022 21:08 |
|
Think I might need to dial down our 'retry transient / ephemeral errors' handling code just a bit:quote:"Exception: Retry failed (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (25P02: current transaction is aborted, commands ignored until end of transaction block)) (One or more errors occurred. (25P02: current transaction is aborted, commands ignored until end of transaction block)) (One or more errors occurred. (25P02: current transaction is aborted, commands ignored until end of transaction block)))) (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (25P02: current transaction is aborted, commands ignored until end of transaction block)) (One or more errors occurred. (25P02: current transaction is aborted, commands ignored until end of transaction block)) (One or more errors occurred. (25P02: current transaction is aborted, commands ignored until end of transaction block)))) (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (25P02: current transaction is aborted, commands ignored until end of transaction block)) (One or more errors occurred. (25P02: current transaction is aborted, commands ignored until end of transaction block)) (One or more errors occurred. (25P02: current transaction is aborted, commands ignored until end of transaction block)))) (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (25P02: current transaction is aborted, commands ignored until end of transaction block)) (One or more errors occurred. (25P02: current transaction is aborted, commands ignored until end of transaction block)) (One or more errors occurred. (25P02: current transaction is aborted, commands ignored until end of transaction block)))) (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (25P02: current transaction is aborted, commands ignored until end of transaction block)) (One or more errors occurred. (25P02: current transaction is aborted, commands ignored until end of transaction block)) (One or more errors occurred. (25P02: current transaction is aborted, commands ignored until end of transaction block)))) (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (Exception while reading from stream)) (One or more errors occurred. (25P02: current transaction is aborted, commands ignored until end of transaction block)) (One or more errors occurred. (25P02: current transaction is aborted, commands ignored until end of transaction block))))" Or at least figure out a way to have the logs record the original exception's stack trace instead of just its message.
|
# ? Apr 5, 2022 10:38 |
|
NihilCredo posted:Think I might need to dial down our 'retry transient / ephemeral errors' handling code just a bit:
|
# ? Apr 5, 2022 13:26 |
|
Just had the new guy at work decided to rewrite a NodeJS UDP server in loving PHP, because "NodeJS cant scale". I argued with him a bit before the boss said "Dude, let the new guy own his project". His theory is that NodeJS can't spread across multiple cores. Like, sure, but these things are deployed in containers in a kubernetes cluster, its never going to get to that stage. The initial protype uses forks for multitasking, and periodically shits itself because he doesn't understand memory management, and he now doesnt know how to get the incoming AMQP (This thing bridges from IoT devices to our AMQP network) into those forks. Like dude, these where all solved problems..... Its not my project, but I cant help thinking its gonna end up mine in the aftermath.
|
# ? Apr 12, 2022 04:07 |
when it's yours, simply revert it to the nodejs server and don't tell anyone that that's what you did
|
|
# ? Apr 12, 2022 04:11 |
|
duck monster posted:Just had the new guy at work decided to rewrite a NodeJS UDP server in loving PHP, because "NodeJS cant scale". I argued with him a bit before the boss said "Dude, let the new guy own his project". His theory is that NodeJS can't spread across multiple cores. Like, sure, but these things are deployed in containers in a kubernetes cluster, its never going to get to that stage. Both of those options are bad.
|
# ? Apr 12, 2022 04:44 |
|
Found this gem in the API for a commercial device we recently purchased:Python code:
|
# ? Apr 12, 2022 05:05 |
|
raise sitting there wondering what it's done wrong
|
# ? Apr 12, 2022 05:10 |
|
Protocol7 posted:raise sitting there wondering what it's done wrong It knows, but keeps trying to make illegal arguments.
|
# ? Apr 12, 2022 05:29 |
|
It's someone writing another language in Python syntax but I'm not sure which. C?
|
# ? Apr 12, 2022 06:05 |
|
Yes, except it isn't guaranteed to work in C
|
# ? Apr 12, 2022 12:10 |
|
duck monster posted:Just had the new guy at work decided to rewrite a NodeJS UDP server in loving PHP, because "NodeJS cant scale". I argued with him a bit before the boss said "Dude, let the new guy own his project". His theory is that NodeJS can't spread across multiple cores. Like, sure, but these things are deployed in containers in a kubernetes cluster, its never going to get to that stage. When it comes back your way, rewrite it in Go
|
# ? Apr 12, 2022 13:05 |
|
Xarn posted:Yes, except it isn't guaranteed to work in C What do you mean it isn't guaranteed to work in C? Oh, undefined behavior? Well, it looks to be well defined on Bob's computer and that's what we'll ship with the application anyway.
|
# ? Apr 12, 2022 14:32 |
|
King Cocoa Butter posted:Found this gem in the API for a commercial device we recently purchased: I recently wrote some C++ code doing zero division as an error case, and I'm not ashamed. Poor man's static_assert in C++03. code:
|
# ? Apr 12, 2022 14:52 |
|
pokeyman posted:It's someone writing another language in Python syntax but I'm not sure which. C? Could be any number of languages. Only thing I'm sure of is its an old crusty electrical engineer who's never heard of 'throw'
|
# ? Apr 12, 2022 15:26 |
|
champagne posting posted:Could be any number of languages. Only thing I'm sure of is its an old crusty electrical engineer who's never heard of 'throw' What's "throw"? I usually just return -1 after setting errno.
|
# ? Apr 12, 2022 15:40 |
|
leper khan posted:What's "throw"? I usually just return -1 after setting errno. Like to write a python program that writes to a file and handles all errors involves a spelunking expedition into the CPython implementation because the documentation isn't going to tell you what those calls can throw
|
# ? Apr 12, 2022 20:43 |
|
|
# ? May 14, 2024 09:07 |
|
pokeyman posted:It's someone writing another language in Python syntax but I'm not sure which. C? C has both abort(3) and assert(3), and if you really want to die by SIGFPE rather than SIGABRT it also has raise(3). All of these are in C89.
|
# ? Apr 12, 2022 21:01 |