ProgrammerHumor

okSureLemmeTry

okSureLemmeTry
https://i.redd.it/prckkdr9fecf1.jpeg
Reddit

Discussion

Jonnypista
  • CTRL+F"

Type"Error"

No results found

Send a message back "Looks good to me

It isn't that complicated

4 hours ago
Tyler_Durdnn

I couldn't find the Ctrl key

4 hours ago
425_Too_Early

Presses C + T + R + L instead

"Why doesn't this work?"

3 hours ago
Jonnypista

I did that in high school (to be fair it was my 7th class for the day and I was on auto pilot) I had to press Ctrl+F5, but I pressed Ctrl+F+5, the teacher even said people like me usually fail the class. I got an A and work in programming just to show her.

2 hours ago
QuardanterGaming
:j:

Lol

2 hours ago
Devatator_
:cs:

That's an actually good app idea, if a bit demented

2 hours ago
Pickle_dev

🤣🤣 +1 plus if the log are bad, dev are bad

4 hours ago
Oleg152

You caould search for a "Warning" too if you feeling spicy.

2 hours ago
Jonnypista

Nah, it is the reason why there are 10000 lines in the first place.

2 hours ago
siddharth7284

1000 lines of logs, rookie number. I was once given 400000 lines of customer data told to find a pattern of discrepancy based on logs. Both files were 400000 lines. Python cannot be in my company due to security reasons as they were financial data, I used java for regex.

4 hours ago
Personal_Depth9491

Wait Ive never heard about python not being used due to security concerns, could you expand?

3 hours ago
siddharth7284

They had restrictions, plus i only had like 4 months of experience in Java , I was a fresher and I was crying 🥲.

3 hours ago
Objective_Dog_4637
:j:

Bravo, you pulled it off beautifully.

2 hours ago
fireintie

I suppose it could be dependency injection and the greater potential for breaking out of restricted environments.

Also, it's an interpreted language which is a bit less safe than a straight compile.

Also also, python is what they use for the most common hacking tools. Has good potential for privilege escalation.

3 hours ago
Reashu

Probably more "hasn't been approved" than "has been banned".

2 hours ago
RichCorinthian

Sounds like it might be a fintech company, in which case, do not expect there to be a logical, modern, coherent reason.

I consulted for 14 years and will never do fintech again unless it’s a scrappy consumer-focused org with a low headcount. One company, to work on their iOS code, I had to remote from a perfectly good Mac to a windows machine in the cloud to another Mac. In New Zealand.

30 minutes ago
Arneb1729

Guess no Python interpreter made it into the corporate whitelist?

It's a lot of work to make Python function in a whitelist security policy environment. Approving PyCharm is one thing, but you'd have to maintain an internal PyPI mirror with individually approved packages, and that's where an understaffed corporate infosec department would likely nope out.

Wonder if PyPI-whitelisting-as-a-service could be a viable business model.

7 minutes ago
SheOrMale

How does python impose a security risk?

3 hours ago
JestemStefan

Don't try to reason with corporate

3 hours ago
mario73760002

Every python function call you make is sent to a private server where Roko’s Basilisk reads and learns. Why did you think the language is called Python?

2 hours ago
No_Responsibility384

Maybe it was not validated in that environment and thus they could not know if it imposed a security risk or not?

3 hours ago
SheOrMale

But the mere presence of a programming language be deemed as a security risk is what’s interesting to me. If Python is said to be a risk then why not Java?

2 hours ago
DigitalJedi850
:cs:

They’re aaaall a security risk, honestly. Nothing unique about python. Unless maybe the fact that anti-virus programs can’t really analyze code as well as they can a compiled executable.

20 minutes ago
siddharth7284

That's what I was told, I was not allowed to use python.

3 hours ago
ghost103429
:rust:

Supply chain attacks can and do happen regularly against python's pypi which is why management would restrict the use of it.

2 hours ago
The100thIdiot

Well if you have an idea of what you are looking for or at least when you are looking for, no problemo.

Otherwise, just take the day off and tell them you found nothing.

4 hours ago
Afsheen_dev

EOD stands for ‘End of Dignity’ when dealing with 10000 lines of code

4 hours ago
Used-Wasabi-3843

SRE here. My applications log in PROD millions lines per hour and we keep them for 6 weeks. Not that hard to analyse if you use the right tools. IMHO this is a skill issue.

3 hours ago
Reashu

10 M well structured lines can be easier than 10 k ad hoc lines.

2 hours ago
axyz77

So this happened to me. And while my manager was showing logs to me and my junior asked us to analyse the logs and find the problem by EOD.

I was losing my shit like how can you expect us to find it in less than 5 hours. And he was saying bs like you can do it. You got to believe in yourself.

I saw the issue, i found the bug. And I asked him to stop.

And he with pride said this is why I come to you.

I knew I had done myself dirty.

4 hours ago
feraudet

ChatGPT or other IA

4 hours ago
ashkanahmadi

Exactly. It has saved me so much time

1 hour ago
Efficient_Reading360

Better hope there’s nothing confidential in those logs huh

1 hour ago
Gorianfleyer

A friend developed a "language" for highlighting in Notepad++, so he could collapse the stacks in the logs. After that, he scrolled through the logs via the preview and looked, if he could see any usual pattern, like longer lines or shorter ones.

4 hours ago
AndyTheSane

10000 lines of log files is easy mode. They probably have a reasonable text encoding, line breaks and everything..

2 hours ago
karanbhatt100

Humans are……

4 hours ago
MinosAristos
:py: :ts: :cs:

Stick them into log insights in cloud watch -> find patterns -> check weird patterns

3 hours ago
jecls

Make your machine analyze it for you dummy. If you don’t spend 4 hours automating a 10 minute task, can you even call yourself a software engineer?

3 hours ago
freaxje
:cp::cs::c:

Or are we dancers?

3 hours ago
cuddlegoop

Depends what you mean by analysis. Really, whatever you're doing it shouldn't matter if it's 10k lines or 10 million lines, you just filter out the noise and either find the exact logs you're looking for, or write a script to extract the data your boss wants.

3 hours ago
DamUEmageht

I don’t have imposter syndrome. These posts are made by imposters.

Damn the low quality effort is getting worse

1 hour ago
large_crimson_canine

grep | awk

And do some magic

1 hour ago
LittleMlem

I lost a position that was legit 80% reading through logs and trying to figure out what went wrong. It was awful

3 hours ago
LordofNarwhals
:cp::lua:

Small log files (<100,000 lines) I just search through in VS Code, but for any large ones I strongly recommend https://github.com/variar/klogg That will open a multi-gigabyte text file with no problem.

3 hours ago
wkwkwkwkwkwkwk__
:py:, :r:, :js:, :msl:, :m:

I'll just feed it to LLM hahahaha

3 hours ago
The-Chartreuse-Moose
:powershell::bash::cs::j::py::terraform:

Trace32.exe -> look for red -> LGTM

2 hours ago
ohdogwhatdone

Depends on the logs. I was at the customer's site and hat to analyze 600k wireshark packets. Reproduced and found the error in a few minutes. Filtering is the key.

2 hours ago
eddiekoski

Ctrl c Ctrl t c h a t g p t . c o m enter Ctrl v enter

1 hour ago
Efficient_Reading360

Microsoft logparser if you want a quick way to use SQL queries against CSV, XML files

1 hour ago
scumdog

Laughs maniacally in regex

33 minutes ago
Nan0u
:js::c::bash::cp:

your grep game is weak

24 minutes ago
Marksm2n

One of the perfect use cases for AI but this sub will just call me a vibe coder

3 hours ago
TopBlopper21

Grep

3 hours ago