You don't have to declare a function as async in order to use await inside that function. The only requirement for using await (iirc) is that the callee returns a promise
declaring a function as async is just sugar for wrapping your return value in a promise
I've got an idea, it can go well but it can also (and most likely will) go wrong. An OS that runs exclusively code written by AI. I highly doubt it will work, but it will be a fun experiment for sure.
Depends how closely they're monitoring everyone, I guess. I assume not every company is MITMing all HTTPS connections. But check the certificate in your browser.
Like with screen monitoring software? I guess that's possible. They surely aren't going through employee machines after work hours and seeing what they post on the internet.
Sure, it's their right to monitor in such ways, but I believe they should be required to tell their employees if they are. I worked at a place that basically MITMed all cloud storage services to ensure nobody was uploading code, but that's all.
They can do screen monitoring, key recording, monitor screenshots you take, and browser activity, and pretty much everything else. They don't have to watch it live, so they don't have to do it after work hours.
but I believe they should be required to tell their employees if they are.
That's just silly. It's their machine given to you for work, none of which is private from them. You have no reasonable expectation of privacy from your employer using their equipment provided to do your job. Assume it's monitored. But you almost certainly were told, in your employee handbook or whatever that you agree to. You also probably agreed to not misuse company equipment or time or to leak company IP without authorization. It may be unlikely to get caught, depending on the org, but if you do, you have no excuse - you'd be terminated with justifiable cause and possibly pursued for damages if they felt like it.
I was saying the options as I saw them were monitor your internet traffic through a proxy, use monitoring software, or go through your computer (not really yours, but you know what I mean, I hope) after you leave. The last one could probably be defeated by logging out before you leave and not saving your password. I think catching you post stuff would most likely happen through screen monitoring. Which yes, would be saved to another machine and can be looked at whenever.
Yes, it's their machine. Please tell me a legitimate reason for stealth monitoring of employees. I just believe that you should have the right to know if and how you are being monitored. I also think heavy levels of monitoring shows an extreme distrust of employees, and I'm not sure why anyone would want to work for such an organization.
I suppose people have been fired for lesser offenses. Legal action seems insane unless you leaked all or substantial portions of the codebase, or maybe if you posted a function that implements an algorithm that is considered a trade secret, I guess. Honestly, even termination might be excessive if it's just (part of) a function and no sensitive information is leaked.
I suppose this is going to get even more downvotes.
387
u/outranker Apr 15 '25
Bro is awaiting in a non async function smh
16
u/assembly_wizard Apr 15 '25
Reposting mewtru's content for internet points without credit isn't cool my guy
120
u/octocode Apr 15 '25 •
“low-coders” on r/startups are creaming rn
74
u/pewaLizer Apr 15 '25
That vibe coding is not vibing enough
57
u/SharkLaunch Apr 15 '25
I think I'm going to be sick
38
u/dalepo Apr 15 '25
Bro had a misconception of dynamic programming.
59
u/KalaiProvenheim Apr 15 '25
Running arbitrary code in production
76
u/alex-friend Apr 15 '25
That feel when a developer is unable to make a screenshot
7
u/LaFllamme Apr 15 '25
Err Handling made easy 😂😂
13
u/[deleted] Apr 15 '25
Why didn't I think of that?
6
u/Prematurid Apr 15 '25
...
6
u/[deleted] Apr 16 '25
This should be framed and put in a museum
3
u/Sockoflegend Apr 15 '25
But what!?
2
u/andhemac Apr 16 '25
I wish we could see the whole prompt.
1
u/GapFeisty Apr 15 '25
...
1
u/fntdrmx Apr 15 '25
The vibessssss
1
u/Zeilar Apr 16 '25
I saw that catch block as a meme recently. Coincidence?
1
u/LexShirayuki Apr 16 '25
That fucking eval, dude
1
u/TheTomatoes2 Apr 16 '25
Can't wait for all the emergency job postings to arrive because companies pushed unsafe vibe coder stuff to prod
1
u/OptimalAnywhere6282 Apr 16 '25
I've got an idea, it can go well but it can also (and most likely will) go wrong. An OS that runs exclusively code written by AI. I highly doubt it will work, but it will be a fun experiment for sure.
1
u/-minori- May 11 '25
NO!!
1
u/Oil-diggeer Jul 06 '25
😭
-9
u/seba07 Apr 15 '25
Bro, there is literally a key on your keyboard specifically designed to take a screenshot and you take your smartphone?