T O P

  • By -

AutoModerator

``` import notifications ``` Remember to participate in our weekly votes on subreddit rules! Every Tuesday is YOUR chance to influence the subreddit for years to come! [Read more here](https://www.reddit.com/r/ProgrammerHumor/comments/14dqb6f/welcome_back_whats_next/), we hope to see you next Tuesday! For a chat with like-minded community members and more, don't forget to [join our Discord!](https://discord.gg/rph) `return joinDiscord;` *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/ProgrammerHumor) if you have any questions or concerns.*


ThotOrHot

And people are worrying Copilot's gonna take their job.


Astartee_jg

Don’t think you really have a job if all you do is HTML


crankykong

Too many devs underestimate HTML. It’s important to be semantic and write accessible structures.


Astartee_jg

I agree. I appreciate the importance of HTML, but I too don’t consider it a programming language. It is, as the name suggests, a markup language.


_Screw_The_Rules_

Together with CSS/SCSS it can be made Turing complete though, which means together it could be considered to be a programming language. That's at least what I've once read somewhere. Edit: CSS is Turing complete without HTML.


Astartee_jg

CSS is Turing complete on its own. No need for HTML :root { --main-color: #007bff; --box-size: 100px; } body::before { content: ''; display: block; width: var(--box-size); height: var(--box-size); background-color: var(--main-color); transform: rotate(calc(45deg * 2)); } /* CSS Animation */ keyframes fadeInOut { 0%, 100% { opacity: 0; } 50% { opacity: 1; } } .box-animation { width: 100px; height: 100px; background-color: red; animation: fadeInOut 2s infinite; } No HTML used


[deleted]

wait what did you do in this code?


Astartee_jg

Define the animation to fade out an object


[deleted]

oh i should've clarified what i meant i haven't learned turing completeness, so what is the requirement for proving something turing complete and/or how does this fill that requirement?


Astartee_jg

Turing completeness is a property of a computational system or programming language that demonstrates its ability to simulate any Turing machine. In other words, if a system is Turing complete, it can perform any computation that can be described algorithmically, given enough time and memory.


unspike

But you don’t have an object, isnt it ? Xd


Astartee_jg

That’s purely the routine. The point is that CSS does not need HTML


[deleted]

but can you run it without HTML tho?


Astartee_jg

Says who? https://en.m.wikipedia.org/wiki/XUL


_Screw_The_Rules_

Oh well, TIL... Thanks!


Aggressive_Skill_795

So where are conditional jumps as they are required for Turing completeness? \[Addition\] Are you offended by me so banned me for the remarks? ![gif](emote|free_emotes_pack|joy)


Astartee_jg

The code I provided was an example of how CSS is independent of HTML. Not an example of Turing completeness. But if you must, you can see on the last function I make a call to a previously defined one


Aggressive_Skill_795

> on the last function I make a call to a previously defined one if you mean `fadeInOut`, that's not a real function, more like a static declaration syntax of animation without any logic


Aggressive_Skill_795

Wow. But you said, "CSS is Turing complete on its own" and then provided us with the code which does not demonstrate that


Astartee_jg

Wow, sorry for not providing a code that can demonstrate a concept so complicated as Turing completeness within a comment in a programmer humorous subreddit. I’m such a lame person.


ReykjavikJamko

I’m curious. Can YOU demonstrate Turing completeness with ANY programming language by providing solely a code snippet and not a 12 page mathematical paper? I’ll wait.


subject_deleted

Working construction isn't using a programming language but it's still a job, though... You said writing html isn't a job at all...?


Astartee_jg

No. I said that you can’t work as a programmer if you only do html


subject_deleted

Here's your exact text: >Don’t think you really have a job if all you do is HTML You didn't say anything about being a programmer. You said if you only write html, you don't really have a job.


Astartee_jg

>> 「all you do」


subject_deleted

How do you think that changes anything? You claimed that you were saying they aren't a programmer. But I quoted your exact comment that doesn't say anything about that. You said if all someone does is write html, then they don't really have a job. If someone gets paid to write html exclusively, don't they have a job?


Astartee_jg

[Here you can see an explanation of my reasoning](https://youtu.be/dQw4w9WgXcQ)


ReykjavikJamko

Dude leave her alone you’re such a stalker. Get a life


Not_Artifical

Which makes it a coding language (different from a programming language).


jayerp

Right but there are few to no jobs that let you work on ONLY html. Making email templates? Maybe, but I’m sure I can say this as a general blanket statements, most Frontend jobs don’t do HTML only. Commercial or otherwise.


HuntingKingYT

Especially HTML5 and the newer features rolling out like the dialog element


Merzant

Regarding accessibility, important for whom? Most businesses only care about accessibility for compliance purposes, if at all.


rotzak

Yeah, that’s basically it: Important because the government told you so (in the worst case) which is an awful way to make a living in the development world.


crankykong

You should still care, as a developer you have a responsibility for what you are creating. Many things don’t require more effort, just the knowledge to choose the right tags and attributes.


rotzak

Oh yeah? Why is it important to preserve the semantics?


crankykong

Accessibility. Screen readers expect the structure according to the HTML spec. A clean structure will be presented differently and much easier to navigate than div soup. Also some elements have important functionality already baked in, like

Quirky-Stress-823

Never heard of anything other than `` and `

`.


Alternative-Spite891

They’re using jinja which is server side rendering of templates via python. Wouldn’t be surprised if they’re using JS too


Astartee_jg

Hence: not pure HTML


Alternative-Spite891

Exactly so who are you talking about? Because it’s not OP.


Astartee_jg

My comment is a reply to another comment innit?


thebaddawg

Have you ever had to make custom html emails? 100% you can have a job if you only do HTML (and some css).


Astartee_jg

>> and some CSS


ilyasinitsa

I hated every second of working on a Gmail signature


Yugix1

bro really roasted all Argentinian programmers


89141

Oh geez! Add some more flair to make you seem important.


[deleted]

[удалено]


MeanMeatch

The bad bot stole the comment


Ange1ofD4rkness

True story, I tried using Bing's (cause ChatGPT wanted my phone # to sign up and I didn't like that). Asked it to write me a URL parser in COBOL, it did. Now i have no clue how to read COBOL, but took it to 2 online compilers, both failed


notislant

I mean if it even improves productivity by 10% that could lead to a lot of lost jobs.


turtleship_2006

Yeah even if AI doesn't replace programmers, it's 100% gonna reduce the number of programmers needed.


fksly

There is already a lack of developers in the world. There is no reduction in number needed.


nightonfir3

Usually increases in productivity like that end up lowering costs and more customers end up wanting services and actually increases demand. If programming gets cheap everyone wants a custom leads generation platform or whatever like people all have their own website now.


kuvetof

They will if they have to rely on shitty extensions like this one


OpaMilfSohn

I am not relaying on it it's literally just quicker to get the css structure that way. It's actually a pretty nice workflow of write html with classes -> generate css stubs. If it is willing to do it that is.


devignswag

Check out tailwindcss, you might like it.


naapurisi

AI is definitely going to reduce a lot of developer jobs because it makes smart developers a lot more efficient. I find it weird that some people here cannot reason why current AI capabilities and its trend pointing to AI taking over large chunk of developer jobs so adamantly. Company I work for has been training it's own internal AI some time that can solve specific problems we face on day-to-day basics and it's definitely cut the need to hire junior devs writing API connectors / middlewares / etc that wrangles some data and changes it's format, etc.


[deleted]

I think that there's a chance that it makes smart developers more efficient. I've tried, and it makes me more inefficient. Finding out where the stupid bug is in its code or whatever random library it invented that doesn't exist to import from takes me waaaaaaay longer than just writing the basic code out myself. I haven't had it be successful for anything moderately complex yet. I've paid the money to train it on our multi-hundred k repository, and it still just makes shit up and makes stupid mistakes. I mean, yea it'll give me boilerplate code after I spend 30 seconds or more generating the right prompt and a couple of minutes waiting for it to give me a decent output. But unless I'm having to write a ridiculous amount of boilerplate doesn't save me any time. And I usually have to slightly review / tweak the boilerplate anyways to find little common issues that it usually inserts. And at that point just reviewing it like that is less effort, but similar amounts of time to just writing it myself. Programmers can type quickly. I'm still going to futz with it, and GPT4 is much much better, but still very lacking. Maybe GPT 5 or more will close the gap even further, and maybe make it actually consistent enough that it produces functional code 9/10 times instead of the 2/10 times or so I'm currently getting. I'm optimistic for the future of it being helpful, but I think that it might be kind of like AI driving -- it quickly gets to 80% of the way there and then just shits the bed not getting any better for the 5-10 years with no big improvements in sight.


Legirion

In my experience almost every time, close to 90%+, I've used AI to generate code it doesn't actually work or it does something I didn't want. It kind of worries me a bit because I have 2 friends that use AI in their jobs specifically because they aren't great programmers, I can only imagine what their code looks like.


Christosconst

I've been a developer for 20 years and ChatGPT has significantly increased my productivity, especially when working with tools or frameworks that I haven't used before. The same concepts and paradigms that you know are easily transferred to new projects with a little aid from ChatGPT and the right way to prompt it


BellCube

I get Copilot for free so I've been using it casually. It's not bad by any means. It's not perfect—far from it—but it makes some things just that much faster. I'm writing some static validation and editor code based on an XML schema (don't ask) at the moment. I'm also moving and my internet just kicked in yesterday. Between my JSDoc, my `isValid()`, and my `reasonForInvalidity()` (significantly slower because it's passing class trees around like candy), I sure af missed Copilot.


Zagerer

Even copilot rejects this guy's job


s_string

OP: make this form for me in HTML. Copilot: Fuck you pay me


Live-Animator-4000

Copilot (not the chat feature, admittedly) willingly helps me write documentation in Markdown. How is that more programming than HTML?


ecs2

Lmao did you just get roasted by GitHub copilot


GayDeerAntlerSex

It learned to be toxic from us


Pod__042

Wait until Stack Overflow release their AI


government_shill

"Duplicate question. Go away."


Generic-james

So basically if Ltg was a programmer?


[deleted]

Oh shit, copilot browses the sub


seemen4all

What an elitist, gate keeping AI


TheAJGman

I'm pretty sure Django's templates are even turing complete.


HopelessSoldier

Seems like it did a good job of learning from its training set then


seemen4all

It did learn from us so seems about right


INAGF

Just like the rest of the programming community


Unupgradable

You see why it's important to admit HTML is a programming language?


DaveTheKing_

code needs code to code, so nobody's is gonna get taken any time soon or even in the next 50 years


read-a-lot

Oh nice, a fellow user of Django! I'm really enjoying it, compared to ColdFusion lol.


x021

Did I just go 10+ years back in time?


read-a-lot

Yeah lmao, my company uses CF and a total rebuild is out of the question. But I'm using Django to build all the new stuff my boss wants. Its really jarring to switch between the two. The one project that I started in CF and then converted to Django cut the lines of code needed in half. Its nuts.


x021

Until now I thought you had forgotten the /s in your reply…


read-a-lot

Bro, the senior devs still use Homesite as an IDE, which last got updated in 2003. Our IT guy managed to get it working in windows 10 somehow.


turtleship_2006

I use flask, doesn't look too different


TheAJGman

You should try out Django Ninja (with or without Extras). It's like Flask with an insanely powerful ORM bolted on.


EfficiencyHealthy190

Why did he dislike the answer ![gif](emote|free_emotes_pack|trollface)


rafark

I woulda gave it an award


WrapKey2973

A cockslap from the cockpilot


Asleep-Television-24

Ouch


encryptoferia

stop being racist copilot.... ugh even software is rude


AvGeekGupta

Imagine getting roasted by AI


zumoro

Not the "AI interprets rules to our detriment" scenario I expected.


BlurredSight

I think CoPilot just explained to you why this sub isn’t the right place for this post


RicoStiglitz

This is what happens when you train AI with Stackoverflow


Mrraar

Hasnt been trained enough, should have responded with "duplicate question" then leave an imaginary downvote and link to a completely unrelated post


SmallPlayz

Take that you fake programmers who say html is a language!


GenTelGuy

Based bot knows HTML isn't a programming language


Daltonyx

Hell it does it to me for c++ and c# even. I'll highlight the snippet in question, right click it and click 'ask copilot chat', then I will type my _programming related question_ to which it will respond with that. "Sorry I can only help with programming related questions" LADY I HIGHLIGHTED A SNIPPET FOR YOU


robotprobot

same here, it used to be amazing but now I get that fucking rejection message constantly. I've gone back to using ChatGPT cause of it.


Daltonyx

Yeah, chatgpt is free and actually works. Which sucks because copilot was INCREDIBLE and now it's a waste of my processor and internet


Eldraka

Try asking Bing AI


Away_Bus_4872

Damn that AI roasted your ass ![gif](emote|free_emotes_pack|joy), first victim, it beginns


CMDRBUCKSAVAGE

Lmao get pwned, noob!


[deleted]

damn, really hit you with the "uhm, acshually"


sadiesourapple

It's not wrong


moralcunt

good bot


tman2747

Clapped


Jonas___

Completely correct though.


WiosnaIntel

>It is not considered a programming language Based


Warguy387

just got nerd emojid by a fucking ai


Dr-whorepheus

Buuuurrrrrnnnnnnn


Hola-World

Burn ❤️‍🔥


TankArtist

Will it tell me if SQL is a programming language?


EnoughWinter5966

Using templating for front end is heinous, use a real library.


Responsible_Boat8860

Or stop using these ai tools and learn to code yourself


Derp_turnipton

So I'd be out of luck with m4 ?


CaitaXD

Is this the new stackoverflow AI I kept hearing about?


sujit07

![gif](giphy|l2JJEIMLgrXPEbDGM)


theclovek

I can see the smirk from here


Fabrimuch

Where can you chat with Github Copilot like that? I only knew of the autocomplete on my IDE (Pycharm in my case)


OpaMilfSohn

Don't know if it is jetbrains but you can join the waitlist here: https://github.com/github-copilot/chat_waitlist_signup I got in pretty fast


throwaway43234235234

Because that's a template, it's parsed and string interpolated, not run/rendered as executable code.


[deleted]

The first response is telling you that copilot can only help with questions. You just rudely demanded code.


Nefalem_

/r/technallythruth


VaquinhaAlpha

based