Tobias🐾🚲
Its still shit in the end. :P
Tobias🐾🚲
Less bad, but not a pearl either way.
Ludovic 'Archivist'
Just the general assessment why a 55mb ~100 plugins wp page is overkill for "use static site generators for this".
You cannot make a non techie use a static website generator, hence the average wp user should not be expected to
Tobias🐾🚲
Which is what will happen in the cases coming under my review either way.
Ludovic 'Archivist'
Thats why you can quite directly pay someone for it.
Between 7€ a month and, for an active blog, 20€ a day, a non techie non professional user (aka a wp user) has a choice well made for them
Tobias🐾🚲
Setting up a little editor gui that kicks off a hugo rebuild on complete and loads the resulting images/sites to a cdn is in the end far cheaper, atleast on the scale and customer setting i am on about. The average wp user setting it up on their woedos machine and port forwarding is just fine being botnet food.
Pasha
To become an hmi developer wat basic is required
klimi
They are
klimi
But you didnt explain why you ask
klimi
So it doesn't have any relation with c++
Anonymous
Hi
klimi
Hi
Hey
klimi
You were
klimi
And you still can't explain
klimi
@bancz6 do you care to explain?
Anonymous
Nope
klimi
Nope
So what's the point
klimi
Just make admins mad?
klimi
Bravo you did it
MilkBeforeCereal
*pats*
NXiss7
80% of the internet-facing servers run it, most users' first contact with the web will be "wordpress" or similar and even facebook continues on it. With v8's release, the first one with a JIT, coming soon you can bet it'll keep on going.
Being widespread doesn't mean it's good. It'll die, but not today. There are better alternatives to it and new generation often chooses those. And you can't precisely say %80 servers run it, it's did you count every single one of them?
NXiss7
Yes, among professionals. Doesnt offset the millions of wordpress sweatshops.
Yeah, hell I hate that.... "Shit count of websites use PHP, so it's best YAY! ' My ass, they just use Wordpress and PHP count goes up! Those people doesn't even know whadda hell the programming is!
Dima
I agree
Dima
same with python and js
NXiss7
Nope, Python's here... I think it'll last long...
Dima
I mean too many devs don’t have a clue what types they are even using
NXiss7
Unfortunately.... I hate that...
Tobias🐾🚲
NXiss7
I said that its not good a TON of times. I am just saying its not going away. Source for almost 80%: https://w3techs.com/technologies/overview/programming_language
Yeah, I read afterwards, we're both saying the same thing bro. But reading messages is FIFO. 😅😄😄😄
Tobias🐾🚲
Yeah, I read afterwards, we're both saying the same thing bro. But reading messages is FIFO. 😅😄😄😄
Dont worry, i get that, and why the first reaction is to type out and spam links why php isnt good instead of "fuck, sad state but it'll slowly improve (not going away fast however)"
Ludovic 'Archivist'
Where did you pull those numbers from?
7€/m is a monthly subscription to ghost on the devs website, 20€ is the time of a cheap community manager on fiver than accept Hugo updates
-_-
🤔
-_-
/notes
-_-
get india
-_-
#india
Asdew
I need to see this.
Asdew
#stop-teaching-c
Asdew
I read the description, I did not watch the video, but based on what I read, that name is misleading. What Kate Gregory is actually talking about is how the teaching of C++ should not start with "introduction to C" material, since this, in her opinion, leads to bad C++ code (not C).
klimi
/saved
klimi
@dunklecat want me to remove it
klimi
Okay
stop-teaching-c this one?
Mat
Thank you
klimi
/clear stop-teaching-c
klimi
c:
Anonymous
What😂
Dima
What😂
its like the current group but for indians
Anonymous
its like the current group but for indians
Why a group dedicated to Indians?
Anonymous
Sorry just curious
klimi
Why a group dedicated to Indians?
because.... we are not racist c:
klimi
(because indian people can better understand themselves, and we who are not from indian have REALLY hard time understanding them)
Asdew
The group doesn't seem active, though. Last real message was sent on December 31st.
klimi
no offense
Asdew
Yes, the Indian group.
MilkBeforeCereal
MilkBeforeCereal
Hm hm
I do not disagree tho
Arka
Hello
Immanouel
Plz someone can help to understand why it give this output ??? 🙏🏿
klimi
cuz you told the computer to do that
Artöm
Plz someone can help to understand why it give this output ??? 🙏🏿
1. initialize number 2. you scan for newline half of times. Use scanf(" %c", &number);
Immanouel
Iym got it?
Yes thanks It was scanf(“ %c”, &number);
Ludovic 'Archivist'
I read the description, I did not watch the video, but based on what I read, that name is misleading. What Kate Gregory is actually talking about is how the teaching of C++ should not start with "introduction to C" material, since this, in her opinion, leads to bad C++ code (not C).
It is a commonly shared idea among people that teach C++ in companies. If you teach C first they start doing all of the tricks in the C book to replace the simplest C++ template they could have used
Anonymous
#include<stdio.h> #include<string.h> void printlcs( int i, int j, char x[100], char direction[100][100]) { if(i==0 || j==0) return; else if(direction[i][j]=='d') { printlcs(i-1,j-1,x,direction); printf("%c",x[i-1]); } else if (direction[i][j]=='u') printlcs(i-1,j,x,direction); else printlcs(i,j-1,x,direction); } void lcs(char x[100], char y[100]) { int i,j,xlength,ylength; xlength=strlen(x); ylength=strlen(y); int val[xlength+1][ylength+1]; char direction[xlength+1][ylength+1]; for(i=0;i<xlength+1;i++) val[i][0]=0; for(j=0;j<ylength+1;j++) val[0][j]=0; for(i=1;i<xlength+1;i++){ for(j=1;j<ylength+1;j++) { if(x[i-1]==y[j-1]){ val[i][j]=val[i-1][j-1]+1; direction[i][j]='d';//d for diagonal element + 1 } else if(val[i][j-1]>=val[i-1][j]){ val[i][j]=val[i][j-1]; direction[i][j]='l';//l for from left element } else { val[i][j]=val[i-1][j]; direction[i][j]='u';//u for from upper element } } } // for(i=0;i<xlength+1;i++){ // for(j=0;j<ylength+1;j++) // printf("%d ",val[i][j]); // printf("\n"); // } // for(i=1;i<xlength+1;i++){ // printf(" "); // for(j=1;j<ylength+1;j++) // printf("%c ",direction[i][j]); // printf("\n"); // } printlcs(xlength+1,ylength+1,x,direction); } void main() { char x[100],y[100]; printf("enter string x : "); gets(x); printf("enter string y : "); gets(y); lcs(x,y); }
I usually use pointers, because in C, every array will convert to pointers, just before bypassing to a function. When you are passing a 2D array, you must be sure that the sizes are matched. so you should do something like this (however you should consider dynamic allocation like calloc): #include<stdio.h> #include<string.h> void printlcs( int i, int j, char *x, const int size, char (*direction)[size]) { if(i==0 || j==0) return; else if(direction[i][j]=='d') { printlcs(i-1,j-1,x,size,direction); printf("%c",x[i-1]); } else if (direction[i][j]=='u') printlcs(i-1,j,x,size,direction); else printlcs(i,j-1,x,size,direction); } void lcs(char *x, char *y) { int i,j,xlength,ylength; xlength=strlen(x); ylength=strlen(y); int val[xlength+1][ylength+1]; char direction[xlength+1][ylength+1]; ... printlcs(xlength+1,ylength+1,x,ylength+1,direction); } void main() { char x[100],y[100]; printf("enter string x : "); gets(x); printf("enter string y : "); gets(y); lcs(x,y); }
Anonymous
#include<stdio.h> #include<string.h> void printlcs( int i, int j, char x[100], char direction[100][100]) { if(i==0 || j==0) return; else if(direction[i][j]=='d') { printlcs(i-1,j-1,x,direction); printf("%c",x[i-1]); } else if (direction[i][j]=='u') printlcs(i-1,j,x,direction); else printlcs(i,j-1,x,direction); } void lcs(char x[100], char y[100]) { int i,j,xlength,ylength; xlength=strlen(x); ylength=strlen(y); int val[xlength+1][ylength+1]; char direction[xlength+1][ylength+1]; for(i=0;i<xlength+1;i++) val[i][0]=0; for(j=0;j<ylength+1;j++) val[0][j]=0; for(i=1;i<xlength+1;i++){ for(j=1;j<ylength+1;j++) { if(x[i-1]==y[j-1]){ val[i][j]=val[i-1][j-1]+1; direction[i][j]='d';//d for diagonal element + 1 } else if(val[i][j-1]>=val[i-1][j]){ val[i][j]=val[i][j-1]; direction[i][j]='l';//l for from left element } else { val[i][j]=val[i-1][j]; direction[i][j]='u';//u for from upper element } } } // for(i=0;i<xlength+1;i++){ // for(j=0;j<ylength+1;j++) // printf("%d ",val[i][j]); // printf("\n"); // } // for(i=1;i<xlength+1;i++){ // printf(" "); // for(j=1;j<ylength+1;j++) // printf("%c ",direction[i][j]); // printf("\n"); // } printlcs(xlength+1,ylength+1,x,direction); } void main() { char x[100],y[100]; printf("enter string x : "); gets(x); printf("enter string y : "); gets(y); lcs(x,y); }
also you should consider NEVER using gets