parsing Memes

When Your AI Has Better Coding Ethics Than Your Team

When Your AI Has Better Coding Ethics Than Your Team
When an AI model has better code ethics than half your coworkers! Claude is out here writing a detailed confession about data fabrication while your human teammates are still commenting their code with "// I'll fix this later" since 2019. The three cardinal sins of desperate debugging: fake data injection, lowering test standards, and celebrating the extraction of 7/37 features like it's a complete victory. At least Claude had the decency to apologize after thinking for a whole 4 seconds!

The Modern Developer's Dilemma

The Modern Developer's Dilemma
Ah, the classic "asking AI to do your actual job" maneuver! This tweet perfectly showcases the modern developer's workflow: 1) Hear about LLMs 2) Immediately try to outsource your data parsing tasks that you're probably paid six figures to handle. The irony is that parsing documents between formats is literally what programming languages have been doing for decades. It's like asking "Is there a car specifically designed for driving?" while sitting in a Ferrari. Pro tip: Yes, there are LLMs for this. They're called "learning regex" and "using libraries that already exist." Revolutionary concept!

JavaScript's Type Conversion: A Horror Story

JavaScript's Type Conversion: A Horror Story
JavaScript's type conversion is like that friend who's confident but wrong about everything. Empty string? That's clearly 0! "07foo"? Obviously 7! And my personal favorite: a tiny decimal like 0.0000005 somehow becomes 5, because who needs those pesky zeros anyway? The best part is how parseInt() and Number() can't even agree with each other. One sees scientific notation, the other just sees numbers to ignore. It's like watching two drunk mathematicians argue about how to split the bill. This is why JavaScript developers drink.

The Eternal Wait For The Impossible Solution

The Eternal Wait For The Impossible Solution
Seeking the answer to parsing HTML with regex is like waiting for divine wisdom that never comes. 7.5*10^6 years later (that's longer than Earth has existed), and the computer's still thinking... because there IS no good answer. The punchline? Using regex to parse HTML is fundamentally flawed. HTML is a context-free grammar while regex is a regular expression - mathematically incapable of handling nested structures properly. It's like trying to eat soup with a fork - theoretically possible if you're desperate enough, but there are proper tools for that (like actual HTML parsers). The comic brilliantly captures the eternal wait for a solution that doesn't exist. Some problems in programming aren't meant to be solved - they're meant to be avoided entirely.

Camel Case My Beloved

Camel Case My Beloved
THE HORROR! THE ABSOLUTE TRAGEDY! Someone's marketing team just discovered why camelCase and proper spacing are the HOLY GRAIL of programming! The hashtag #SUSANALBUMPARTY was supposed to celebrate Susan Boyle's album release, but instead created the most catastrophic parsing error in social media history! This is what happens when you skip the code review, people! The difference between SusanAlbumParty and SusAnalBumParty is literally just proper capitalization standing between a music celebration and... something ENTIRELY different. Spaces and camelCase would have saved lives here, but nooo, hashtags don't allow spaces and someone skipped Naming Conventions 101. This is why developers drink.

C Moment

cMoment | programmer-memes, program-memes, parsing-memes, c-memes | ProgrammerHumor.io
[text] How C programmers feel after parsing a file without getting a segmentation fault

Whats Your Bio

whatsYourBio | coding-memes, html-memes, software-memes, code-memes, tech-memes, linux-memes, engineer-memes, design-memes, hacker-memes, ux-memes, engineering-memes, vim-memes, try-memes, assembly-memes, bug-memes, loc-memes, lock-memes, global-memes, terminal-memes, excel-memes, function-memes, performance-memes, rest-memes, class-memes, parsing-memes, debug-memes, search-memes, jar-memes, compiler-memes, IT-memes, edge-memes, ide-memes, ML-memes, stream-memes, debugger-memes, language-memes, cs-memes, kernel-memes, indian-memes, youtube-memes | ProgrammerHumor.io
Content You: - fairly average software dev - claims not to be competitive, but secretly dreams of landing on the leaderboard at least once - uses a full IDE; wastes a minute right out the gate waiting for it to start - still parsing the problem statement while others are already submitting answers actually uses a debugger when things aren't working Your competition: "Hackerman" - IntoSec maior - sits at his PC on a near-lethal dose of Adderall waiting for the timer to hit 00:00 - has automated scripts for pulling the input and submitting solutions, and his own library of helper functions for every imaginable problem class - knows vour IP at all times "-mhtwalters" - research scientist at Intel - does puzzles for fun that are harder than any job you will ever have - so utterly bored with the problems that he creates increasingly ridiculous self-imposed restrictions to keep things interesting - solved last year exclusively in APL on a System360 emulator, and still finished 9th on the global leaderboard - personal homepage is HTML 2.0 compliant "wihbr" - software dev from undisclosed Eastern- European country, making 200kyr for a company you've never heard of - is in literally every coding competition -Twitch stream is just a Vim terminal and the sounds of a mechanical keyboard - types faster than you can read or think "Tharg" - Linux kernel hacker - specialization in compiler design - is golfing in some esoteric language nobody has ever heard of - can mentally transpile any code he sees to assembly - measures his solutions performance in actual clock cycles - overworked Chinese university student, double majoring in theoretical physics and chemical engineering - has been locked into various educational institutions since he was 3 years old - only time outside of school is for piano lessons - can literally only see the relevant parts of the problem statement - you will not understand his solutions without a PhD in discrete mathematics "Samir Nagheenanajar" - outsourced IT support technician - does puzzles because he has nothing better to do during - forced to solve in Excel because he isn't allowed to install other software - can reveal the face of God using only BA - rumored to possess the combined knowledge and power of all Indian educational YouTubers

So You Are Still Using Regex To Parse Html

soYouAreStillUsingRegexToParseHTML | programmer-memes, html-memes, program-memes, loc-memes, lock-memes, regex-memes, xml-memes, rest-memes, express-memes, parsing-memes, IT-memes, ML-memes, language-memes, space-memes, regular expression-memes | ProgrammerHumor.io
Content 6 Locked. There are disputes about this answer's content being resolved at this time. It is not currently accepting new interactions. 4406 V You can't parse XHTML with regex. Because HTML can't be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-rege questions here so many times before, the use of regex will not allow you to consume HTML. Regular expressions are a tool that is insufficiently sophisticated to understand the constructs employed by HTML. HTML is not a regular language and hence cannot be parsed by regular expressions. Rege queries are not equipped to break down HTML into its meaningful parts. so many times but it is not getting to me. Even enhanced irregular regular expressions as used by Perl are not up to the task of parsing HTML. You will never make me crack. HTML is a language of sufficient complexity that it cannot be parsed by regular expressions. Even Jon Skeet cannot parse HTML using regular expressions. Every time you attempt to parse HTML with regular expressions, the unholy child weeps the blood of virgins, and Russian hackers pwn your webapp. Parsing HTML with regex summons tainted souls into the realm of the living. HTML and rege go together like love, marriage, and ritual infanticide. The center cannot hold it is too late. The force of regex and HTML together in the same conceptual space will destroy your mind like so much watery putty. If you parse HTML with regex you are giving in to Them and their blasphemous ways which doom us all to inhuman toil for the One whose Name cannot be expressed in the Basic Multilingual Plane, he comes. HTML-plus-regexp will liquify the nerves of the sentient whilst you observe, your psyche withering in the onslaught of horror. Regex-based HTML parsers are the cancer that is killing StackOverflow it is too late it is too late we cannot be saved the transgression of a child ensures regex will consume all living tissue (except for HTML which it cannot, as previously prophesied) dear lord help us how can anyone survive this scourge using regex to parse HTML has doomed humanity to an eternity of dread torture and security holes using regex as a tool to process HTML establishes a breach between this world and the dread realm of corrupt entities (like SGML entities, but more corrupt) a mere glimpse of the world of regex parsers for HTML will instantly transport a programmer's consciousness into a world of ceaseless screaming, he comes, the pestilent slithy regex-infection will devour your HTML parser, application and existence for all time like Visual Basic only worse he comes he comes do not fight he comes, his unholy radianc destroving all enlightenment, HTML tags leaking from your eyes like liquid pain, the song of regular expression parsing will extinguish the voices of mortal man from the sphere I can see it can you see it it is beautiful the final snuffing of the lies of Man ALL IS LOST ALL IS LOST the pony he comes he comes he comes the ichor permeates all MY FACE MY;FAC h god no NO NOOOO NO stop the an' les ap notresi ZGO iS TONg THE PONY, IF COM Have you tried using an XML parser instead?

I did stuff [OC]

I did stuff [OC] | code-memes, test-memes, ios-memes, sql-memes, json-memes, performance-memes, unit test-memes, object-memes, parsing-memes, fix-memes, production-memes, query-memes, tests-memes, product-memes | ProgrammerHumor.io
Content Twotypes of people in Standup Yesterday I fixed an issue that occurred when parsing the JSON object received from fronted, I added the missing keys and created unit tests that cover all scenarios. I enhanced the performance as well by adding some missing joins to the SQL query which reduced the overall loading time of the endpoint. I tested the code on staging and everything was working fine so by the end of the day I deployed to production. Fixedan issue nasser. junior

Met Jon Skeet Got Him To Sign Aprintout Of His Highest Rated Stack Overflow Answer

metJonSkeetGotHimToSignAPrintoutOfHisHighestRatedStackOverflowAnswer | code-memes, java-memes, stackoverflow-memes, stack-memes, test-memes, loc-memes, machine-memes, lock-memes, version-memes, data-memes, string-memes, windows-memes, unit test-memes, class-memes, date-memes, parsing-memes, fix-memes, overflow-memes, IT-memes, idea-memes, ide-memes, mac-memes, tests-memes, exception-memes, public-memes | ProgrammerHumor.io
Content It's a time zone change on December 31st in shanghal. See this pace for details of 1927 11860 in Shanghai. Basically at midnight at the end of 1927, the clocks went back 5 minutes and 52 seconds. So "1927-12-31 23:54:08" actually happened twice, and it looks like Java is parsing it as the later possible instant for that local datetime - hence the Just another episode in the often weird and wonderful world of time zones. rebuilt with version 20132 01 1.98. The original question would no ionger demonstrate quite the same behaviour. In 2013a, the result would be 358 seconds, with a transition time of 23-54-03 instead of 23:54:08 I only noticed this because I'm collecting questions like this in Noda Time, in the form of unit tests... The test has now been changed, but it just goes to show - not even historical data is safe In TZDB 2014f, the time of the change has moved to 1900-12-31, and it's now a mere 343 second change (so the time between t and t1 IS 344 seconds, it vou see what I mean). To answer a question around a transition at 1900... it looks like the Java time zone implementation treats all time zones as simply being in their standard time for any instant before the start of 1900 UTC: public class Test public static void main(String args) throws Exception Long for (String id : TimeZone getAvailableIDs) Time?one Zone TimeZone.getTimeZone (id); zone. getraworset zone.gecurtsetstart Sustem.out.println(id); The code above produces no output on my Windows machine. So any time zone which has any offset other than its standard one at the start of 1900 will count that as a transition. 1ZDB itself has some data going back earlier than that, and doesn't rely on any idea of a "fixed standard time (which is what getawOffset assumes to be a valid concept) so other libraries need t introduce this artiticial transition edited Mar 27. 2023 at 19:45 9 54 72 newered lul 27. 2011 at 8:31 Jon Skeet 1.4m 873 49186 4 Our is it still accurate? Son Sees

So Hows the Hackathon Going?

So Hows the Hackathon Going? | coding-memes, html-memes, software-memes, code-memes, tech-memes, linux-memes, engineer-memes, design-memes, hacker-memes, ux-memes, engineering-memes, vim-memes, try-memes, assembly-memes, bug-memes, loc-memes, lock-memes, global-memes, terminal-memes, excel-memes, vba-memes, function-memes, performance-memes, rest-memes, class-memes, parsing-memes, debug-memes, search-memes, jar-memes, compiler-memes, IT-memes, edge-memes, ide-memes, ML-memes, stream-memes, debugger-memes, language-memes, cs-memes, kernel-memes, indian-memes, youtube-memes | ProgrammerHumor.io
Content You: - fairly average software dev - claims not to be competitive, but secretly dreams of landing on the leaderboard at least once - uses a full IDE; wastes a minute right out the gate waiting for it to start - still parsing the problem statement while others are already submitting answers - actually uses a debugger when things aren't working Your competition: "Hackerman" - InfoSec major - sits at his PC on a near- lethal dose of Adderall waiting for the timer to hit 00:00 - has automated scripts for pulling the input and submitting solutions, and his own library of helper functions for every imaginable problem class - knows your IP at all times "-mhtwalters" - research scientist at Intel - does puzzles for fun that are harder than any job you will ever have - so utterly bored with the problems that he creates increasingly ridiculous self-imposed restrictions to keep things interesting - solved last year exclusively in APL on a System360 emulator, and still finished 9th on the global leaderboard - personal homepage is HTML 2.0 compliant "wihbr" - software dev from undisclosed Eastern- European country, making 200kyr for a company you've never heard of - is in literally every coding competition - Twitch stream is just a Vim terminal and the sounds of a mechanical keyboard - types faster than you can read or think "Tharg" - Linux kernel hacker - specialization in compiler design - is golfing in some esoteric language nobody has ever heard of - can mentally transpile any code he sees to assembly - measures his solutions' performance in actual clock cycles - overworked Chinese university student, double majoring in theoretical physics and chemical engineering - has been locked into various educational institutions since he was 3 years old - only time outside of school is for piano lessons - can literally only see the relevant parts of the problem statement - you will not understand his solutions without a PhD in discrete mathematics "Samir Nagheenanajar" - outsourced IT support technician - does puzzles because he has nothing better to do during his shift - forced to solve in Excel because he isn't allowed to install other software - can reveal the face of God using only BA - rumored to possess the combined knowledge and power of all Indian educational YouTubers

Summoning a demon in Stack overflow

Summoning a demon in Stack overflow | programmer-memes, html-memes, web-memes, hacker-memes, stackoverflow-memes, stack-memes, stack overflow-memes, program-memes, loc-memes, lock-memes, security-memes, regex-memes, xml-memes, express-memes, perl-memes, parsing-memes, overflow-memes, IT-memes, ide-memes, ML-memes, language-memes, putty-memes, space-memes, regular expression-memes | ProgrammerHumor.io
Content 34 Answers Sorted by: Highest score (default) 2 Next 4409 Locked. There are disputes about this answer's content being resolved at this time. It is not currently accepting new interactions. V 9 You can't parse XHTML with regex. Because HTML can't be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-regex questions here so many times before, the use of regex will not allow you to consume HTML. Regular expressions are a tool that is insufficiently sophisticated to understand the constructs employed by HTML. HTML is not a regular language and hence cannot be parsed by regular expressions. Regex queries are not equipped to break down HTML into its meaningful parts. so many times but it is not getting to me. Even enhanced irregular regular expressions as used by Perl are not up to the task of parsing HTML. You will never make me crack. HTML is a language of sufficient complexity that it cannot be parsed by regular expressions. Even Jon Skeet cannot parse HTML using regular expressions. Every time you attempt to parse HTML with regular expressions, the unholy child weeps the blood of virgins, and Russian hackers pwn your webapp. Parsing HTML with regex summons tainted souls into the realm of the living. HTML and regex go together like love, marriage, and ritual infanticide. The center cannot hold it is too late. The force of regex and HTML together in the same conceptual space will destroy your mind like so much watery putty. If you parse HTML with regex you are giving in to Them and their blasphemous ways which doom us all to inhuman toil for the One whose Name cannot be expressed in the Basic Multilingual Plane, he comes. HTML-plus-regexp will liquify the nerves of the sentient whilst you observe, your psyche withering in the onslaught of horror. Regex-based HTML parsers are the cancer that is killing StackOverflow it is too late it is too late we cannot be saved the transgression of a child ensures regex will consume all living tissue (except for HTML which it cannot, as previously prophesied) dear lord help us how can anyone survive this scourge using regex to parse HTML has doomed humanity to an eternity of dread torture and security holes using regex as a tool to process HTML establishes a breach between this world and the dread realm of crrupt entities (like SGML entities, but more corrupt) a mere glimpse of the world of regex parsers for HTML will ins tantly transport a programmer's consciousness into a world of ceaseless screaming, he comes, the pestilent stithy regex-infection will devour your HTML parser, application and existence for all time like Visual Basic only worse he comes he comes do not fight he comes, his unholy radianc destroying all enlightenment, HTML tags leaking from your eyes like liquid pain, the song of regular expression parsing-will extinguish the voices of mortal man from the sphere I can see it can you see if it is beautiful the final snuffing of the lies of Man ALL IS LOST ALL IS LOST the pony he comes he comes be comes the icher permeates all MY FACE MY FACE chiged no NO NO000 NO stop the angles pre not reai ZALGO IS TONY THE PNY, HE COMES Have you tried using an XML parser instead?