|
Lumpy posted:I like to imagine that little mouse running around on a keyboard and these posts are the result. Tei is easily my favorite SA poster these days, absolutely always a joy to read their posts. Also, OT as hell but you can break up lines all you want in Python.
|
# ? Feb 14, 2018 19:30 |
|
|
# ? May 10, 2024 03:01 |
Nolgthorn posted:PHP/Perl CGI all these things are still very popular although not for any actual programming. Define "actual programming". PHP is still widely used, Perl isn't.
|
|
# ? Feb 14, 2018 19:33 |
|
What I meant is those tools are used commonly as a delivery layer, for an application. Such as a single page application to the client, or as a proxy to an application located more deep inside the network as suggested earlier. I'm pretty sure something like that is how my host is able to offer TLS without much effort for me.
|
# ? Feb 14, 2018 20:04 |
PHP is used for big web apps too, e.g. Laravel is popular nowadays.
Shy fucked around with this message at 20:20 on Feb 14, 2018 |
|
# ? Feb 14, 2018 20:17 |
|
Nolgthorn posted:PHP/Perl CGI all these things are still very popular although not for any actual programming.
|
# ? Feb 14, 2018 22:08 |
|
I think probably the concept someone is trying to get at when they say "PHP is not very popular" is more like "PHP is not very popular as a choice when you don't have external factors constraining your choices like having to work with WordPress or the limitations of some cheap and crappy host".
|
# ? Feb 14, 2018 22:23 |
|
Thermopyle posted:I think probably the concept someone is trying to get at when they say "PHP is not very popular" is more like "PHP is not very popular as a choice when you don't have external factors constraining your choices like having to work with WordPress or the limitations of some cheap and crappy host".
|
# ? Feb 14, 2018 22:31 |
|
We use Drupal where I work at. While I'm just a designer, I did take a bootcamp for web apps on ruby/rubyonrails, and at least much of what I saw for the rendering end was similar. What's so terrible about PHP? I'm not really very familiar with full programming though, just scripting languages that are a bit more front-end focused.
|
# ? Feb 14, 2018 22:48 |
|
Maleh-Vor posted:We use Drupal where I work at. While I'm just a designer, I did take a bootcamp for web apps on ruby/rubyonrails, and at least much of what I saw for the rendering end was similar. What's so terrible about PHP? I'm not really very familiar with full programming though, just scripting languages that are a bit more front-end focused. https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
|
# ? Feb 14, 2018 22:52 |
|
Maleh-Vor posted:We use Drupal where I work at. While I'm just a designer, I did take a bootcamp for web apps on ruby/rubyonrails, and at least much of what I saw for the rendering end was similar. What's so terrible about PHP? I'm not really very familiar with full programming though, just scripting languages that are a bit more front-end focused. Having never worked with it, apparently a fairly common error is in yiddish
|
# ? Feb 14, 2018 22:53 |
|
Maleh-Vor posted:We use Drupal where I work at. While I'm just a designer, I did take a bootcamp for web apps on ruby/rubyonrails, and at least much of what I saw for the rendering end was similar. What's so terrible about PHP? I'm not really very familiar with full programming though, just scripting languages that are a bit more front-end focused. It was really bad for a long time, nowadays its apparently kinda OK-ish, there's just nothing really compelling about it. Like, if you wanted to learn a backend language to start a software career, I suppose PHP would be OK since there's a bajillion sites out there built on it. You're not likely to find an exciting job doing exciting new things with it. You're more likely to find stodgy jobs maintaining stodgy stuff in stodgy old code bases. Thermopyle fucked around with this message at 22:56 on Feb 14, 2018 |
# ? Feb 14, 2018 22:53 |
|
TheCog posted:Having never worked with it, apparently a fairly common error is in yiddish Hebrew, actually, because that feature was developed by Israeli devs.
|
# ? Feb 14, 2018 23:02 |
|
The March Hare posted:Tei is easily my favorite SA poster these days, absolutely always a joy to read their posts. Tei is a flippin’ treasure
|
# ? Feb 14, 2018 23:16 |
|
Can someone who knows a lot about PHP explain this to me and why/if it's true: quote:Unlike (literally!) every other language with a similar operator, ?: is left associative. So this: Because what?!? I don't even understand how that makes any sense at all.... please explain...
|
# ? Feb 15, 2018 00:31 |
|
ModeSix posted:Can someone who knows a lot about PHP explain this to me and why/if it's true: From Wikipedia, everything before the last "?" gets collapsed into one giant condition, and since code:
This is an acknowledged error that they have no plans to fix.
|
# ? Feb 15, 2018 01:06 |
|
Php has a its roots in being terrible about security and default settings. Combine with its ease of use and you ended up with lots of sites getting easily owned. Register_globals defaulted on for years. Meaning if a bad programmer had something like If (username=="admin" and logged_in==true) admin_access=true; If (admin_access==true) provide admin abilities All an attacker would have to do is guess /?admin_access=true and they'd get admin access. I know this code might seem so bad no one would use something like that but it was extremely common because how easy php is to write. Then get into people not escaping their MySQL queries and basically openly exposing their database to any attacker.. It was hacking paradise back then. I don't have anything against PHP plus Laravel, I've heard a lot of good things about that.
|
# ? Feb 15, 2018 01:34 |
|
Yeah, basically for a long time, it was really easy to write terrible code. Sometimes without realizing it since PHP has some issues. There's a reason any serious PHP development uses some sort of framework to enforce things. With how much legacy code written for PHP3/4 out there, I'm not sure how they can fix some of the issues without making breaking changes. Assuming they wanted to.
|
# ? Feb 15, 2018 01:46 |
|
Alpha Mayo posted:PHP brought us facebook And for that alone PHP should be exiled. Facebook stuck with PHP because some psycho wrote a PHP -> C++ transpiler that majorly increased the performance.
|
# ? Feb 15, 2018 04:18 |
|
geeves posted:Facebook stuck with PHP because some psycho wrote a PHP -> C++ transpiler that majorly increased the performance. I hope they are rich now and living on an island because they destroyed humanity
|
# ? Feb 15, 2018 06:22 |
|
Facebook also gave us React though
|
# ? Feb 15, 2018 15:52 |
|
Capri Sun Tzu posted:Facebook also gave us React though We can destroy Facebook and write a React clone! Win-win!!
|
# ? Feb 15, 2018 16:42 |
|
Lumpy posted:We can destroy Facebook and write a React clone! Win-win!!
|
# ? Feb 15, 2018 16:47 |
|
Capri Sun Tzu posted:I'm about to blow your mind: facebook is good Counterpoint: it’s utter garbage that is destroying our society.
|
# ? Feb 15, 2018 17:28 |
|
Lumpy posted:Counterpoint: it’s utter garbage that is destroying our society.
|
# ? Feb 15, 2018 17:38 |
|
I mean, if you're using Facebook aren't you the old person?
|
# ? Feb 15, 2018 17:52 |
|
Kind of off-topic, but Facebook was good until they started filtering the wall, to weight post based on *their* criteria. At that point it become a platform to shape people opinions. Then the craze of webgames messages was a bit too much, but the things done to rebalance that made the system even more obscure and more deep into whatever obscure algorithm apply the bias. Other than that Facebook has made a few cool technologies.
|
# ? Feb 15, 2018 18:01 |
|
Capri Sun Tzu posted:Whatever GRANDPA! AND STAY OFF MY LAWN!
|
# ? Feb 15, 2018 18:08 |
|
Facebook is trash. Everyone under 30 posts their memes on Twitter dot com nowadays
|
# ? Feb 15, 2018 18:20 |
|
Grump posted:Facebook is trash. Everyone under 30 posts their memes on Twitter dot com nowadays Pretty sure Twitter is for old people as well. All kids do now is snapchatting nudes to each other.
|
# ? Feb 15, 2018 18:55 |
|
I sometimes enjoy the idea that all these things existed in unix. Unix even had a wall command to write in other people TTYs, the .plan file that was more or less your profile. Commands like finger and who. To poke people. Facebook what they did was take all these ideas and repackage them in a nice container for dumb people. And thats awesome, theres merit in that. Like how Whatsup is a IRC Client, not better or worse than Mirc, Pirch or others. But they have the merit to repackage things better. Thats something us technical people need to learn to do better, to produce better packaging. The person with the better packaging normally wins.
|
# ? Feb 15, 2018 18:59 |
|
Tei posted:I sometimes enjoy the idea that all these things existed in unix. Zuck at least was apparently a Linux-on-the-desktop guy, so you might be onto something there.
|
# ? Feb 15, 2018 19:13 |
|
Munkeymon posted:Zuck at least was apparently a Linux-on-the-desktop guy, so you might be onto something there. Pretty sure Facebook was all just a big scam to look at girls pictures.
|
# ? Feb 15, 2018 19:16 |
|
Facebook was such a crazy Wild Wild West in the early days. I remember being in college and everyone had their dorm building and room number on FB and if you were having a party you could just blast the whole building.
|
# ? Feb 15, 2018 19:57 |
|
Tei posted:Thats something us technical people need to learn to do better, to produce better packaging. The person with the better packaging normally wins.
|
# ? Feb 15, 2018 20:16 |
|
The UI/UX is your product (much to the chagrin of many backend devs).
|
# ? Feb 15, 2018 21:14 |
|
Skandranon posted:Pretty sure Facebook was all just a big scam to look at girls pictures. Its origin story is pretty much college sleaze ‘rating’ women.
|
# ? Feb 15, 2018 21:29 |
|
I'm looking to make the background of a landing page more interesting. Currently its just a flat tone of grey/blue but I want something more visually dynamic. I know this is a weird example, but see the background behind the heroes on the dota 2 pick screen: https://www.youtube.com/watch?v=U5hgxPfecv4&t=99s? I kind of want something like that, a suble but pleasing color that has some smooth and interesting motion. Obviously I know nothing of how to achieve this. Is there CSS fuckery I can utilize to do such things? I may be asking something completely idiotic too, I realize.
|
# ? Feb 15, 2018 23:22 |
|
Knifegrab posted:I'm looking to make the background of a landing page more interesting. Currently its just a flat tone of grey/blue but I want something more visually dynamic. Seems like that'd just be a video. Maybe you could have a background image and slowly animate its background-size and/or background-position?
|
# ? Feb 15, 2018 23:27 |
|
I played around with BigVideo.js ages ago, but it seems like it was abandoned in 2015. There is also a pure css/html5 approach, but mobile and older browsers will likely have issues. If you are going to go this route make sure the video size is small so it does not kill someones lovely mobile data cap.
|
# ? Feb 15, 2018 23:38 |
|
|
# ? May 10, 2024 03:01 |
|
Capri Sun Tzu posted:Facebook also gave us React though What’s funny is that react was sitting on the shelf at FB (along with a handful of other web ideas ) and when they acquired Instagram one of the IG guys said that it looked cool and used it for IGs first web page
|
# ? Feb 16, 2018 00:23 |