fredbrooker, Czech
@fredbrooker@witter.cz avatar

if you want to learn PHP, the best way to do is 1) install phpstan and phpcs 2) analyze your code and bump the level up to 9

@phpstan @PHPCSFixer

janantos,
@janantos@mstdn.social avatar

@fredbrooker @phpstan @PHPCSFixer or just go with some another language ;-)

fredbrooker,
@fredbrooker@witter.cz avatar

@janantos

which one?

ASP.NET 😂
Ruby 😳
Python 😵
C++ 😶
Nodejs 😂😂😂
Rust 😎🥃
Golang 😎🍸
Java 🐢

Raccoon,
@Raccoon@techhub.social avatar

@fredbrooker @janantos
Nah brah, he gonna use Perl to push ActiveX plugins.

fredbrooker,
@fredbrooker@witter.cz avatar

@Raccoon @janantos

let's make Flash Remake using Web Assembly and some fancy CSS 3 ❤️🍸

Raccoon,
@Raccoon@techhub.social avatar

@fredbrooker @janantos
Why bother with CSS, when Active X can automatically add inline styling to your HTML?

Better yet, why bother with HTML, when you could just publish your web page in Visual Basic?

fredbrooker,
@fredbrooker@witter.cz avatar

@Raccoon @janantos

let's make a web in Unreal Engine 5 😂

Raccoon,
@Raccoon@techhub.social avatar

@fredbrooker @janantos
Nah Unity, that'll still be relevant in a few years.

Raccoon,
@Raccoon@techhub.social avatar

@fredbrooker @janantos
In all seriousness, suddenly wondering if anyone has made a web browser in Doom, and thinking about how the ability to navigate an HTML interface might actually make for some really cool moments in a GZDoom game. Like, I'd like to play some sort of cyberpunk game where you sit down and have to use websites for something...

fredbrooker,
@fredbrooker@witter.cz avatar

@Raccoon @janantos

you can play Doom on your washing machine, I used to play Doom on an SGI INDY worth 1 million CZK in 1995

freemo,
@freemo@qoto.org avatar

@fredbrooker

Of the ones you listed the only acceptabke ones are:

Ruby
Python
C++
NodeJs
Rusr
Golang
Java

@janantos

fredbrooker,
@fredbrooker@witter.cz avatar

@freemo @janantos

for Web Servers? shit no 😂

freemo,
@freemo@qoto.org avatar

@fredbrooker

Depends what your writing it for... ill be honest while im happy to run a php app despite the fact that i know how to code in php id never personally code up an app in php, thats just my preference

@janantos

fredbrooker,
@fredbrooker@witter.cz avatar

@freemo @janantos

I write mediocre apps since 1998
David Grudl is our PHP God (Nette framework, Tracy, NEON)

fredbrooker,
@fredbrooker@witter.cz avatar

@freemo @janantos

BTW our famous Czech @ondrej maintains PHP PPA for Debian and Ubuntu

fredbrooker,
@fredbrooker@witter.cz avatar

@freemo @janantos @ondrej

also KNOT DNS created by Czech NIC is used by Cloudflare

Czechs everywhere 😜😎

freemo,
@freemo@qoto.org avatar

@fredbrooker @janantos @ondrej

No shortage of thrm in this business for sure.

fredbrooker,
@fredbrooker@witter.cz avatar

@freemo @janantos @ondrej

I think that Czechs are only well known for beer and contact lenses 😂

most people don't know about KNOT DNS server or polarographic analysis...

fredbrooker,
@fredbrooker@witter.cz avatar

@freemo @janantos

anybody who tried nodejs knows it's a hell

Rust and Golang for Web? sure, your productivity will drop to 5 %

freemo,
@freemo@qoto.org avatar

@fredbrooker

No i agree most of those languages arent the best for web apps.

Nodejs works, i dont like it as a web app server side language but it works (id take it over pho)... rust and go lang suck, php is better those are your only other choices...

Ill take ruby, java, or python over ruby for a webapp in a beartbeat though

@janantos

fredbrooker,
@fredbrooker@witter.cz avatar

@freemo @janantos

I know about Ruby companies in Czechia - all available rubyists work there, like 30 😂

freemo,
@freemo@qoto.org avatar

@fredbrooker @janantos

Never claimed ruby was a great choice for work. Just that id use it over php if i were picking a modern web project if those were my choices.

Personally i wouldnt use ruby for webapps, though i love it for scripts and personal projects.

fredbrooker,
@fredbrooker@witter.cz avatar

@freemo @janantos

the only fine thing about Python is their beer session Pyvo

janantos,
@janantos@mstdn.social avatar

@freemo @fredbrooker if you say Java, we should also say Kotlin. However if I would be tasked with 5+ nines SLA than I would take into consideration Erlang/Elixir perhaps Scala with their Actors models.

freemo,
@freemo@qoto.org avatar

@janantos @fredbrooker

I was sticking to the list fred used

fredbrooker,
@fredbrooker@witter.cz avatar

@janantos @freemo

what's 5+ nines? 🤔

freemo,
@freemo@qoto.org avatar

@fredbrooker @janantos

5+ nines sla refer to very high availibility servers.

fredbrooker,
@fredbrooker@witter.cz avatar

@freemo @janantos

I'd still go for PHP 8.2 😂

freemo,
@freemo@qoto.org avatar

@fredbrooker

To each their own, you write in whatever you enjoy...

All I know is I dont mind running a php web app, they are easy enough to use for a system admin for a service...

But I will never ever start a project in php and would avoid programming the language if I ever could despite understanding the language.

@janantos

fredbrooker,
@fredbrooker@witter.cz avatar

@freemo @janantos

and that's correct way to do it ❤️

I plan to rewrite my CMS to Golang one day, but for prototyping it's not well suited

fredbrooker,
@fredbrooker@witter.cz avatar

@freemo @janantos

my Hetzner server has 246 days uptime

we had over 300 days as a common uptime on OpenBSD in the 90s

fredbrooker,
@fredbrooker@witter.cz avatar

@janantos @freemo

Kotlin is good! I wrote my first K app for Android some 5 years ago even without any K knowledge, that's awesome 😂 but who likes compilation and fucking with Play Store when there's PWA

janantos,
@janantos@mstdn.social avatar

@fredbrooker @freemo I was referring to using Kotlin in Backend side

freemo,
@freemo@qoto.org avatar

@janantos

Most php programmers in my experience dont have a clear separation of front and back that talk via a rest layer like we tend to do with modern web apps.

@fredbrooker

janantos,
@janantos@mstdn.social avatar

@freemo @fredbrooker and if they do, they than do not separate data model and this will kill them during horizontal scaling because they are not stateless :-) you have idea how many state full micro services I have seen in my live in terms of for example login sessions. Technically impossible to horizontally scale.

fredbrooker,
@fredbrooker@witter.cz avatar

@janantos @freemo

well, Redis sessions will do

when Redis crashes, the whole system crashes

🤔😳

freemo,
@freemo@qoto.org avatar

@fredbrooker

thats why you run redis in a high availibility cluster itself... To create high availibility servers all your services need to be capable and running in high availiblity mode as well (usually means multiple servers all staying in sync somehow)

@janantos

janantos,
@janantos@mstdn.social avatar

@freemo @fredbrooker and we are back to Erlang/OTP and distributed Mnesia, never understood how someone can name data storage system like this :-)

fredbrooker,
@fredbrooker@witter.cz avatar

@freemo @janantos

high availability hell 😂

then you migrate everything to Cloudflare and pay $200 a month from Bali

fredbrooker,
@fredbrooker@witter.cz avatar

@freemo @janantos

There are only 3 important hard problems to solve in IT.

  1. Correct addition and subtraction of 1.
  2. Cache management.
freemo,
@freemo@qoto.org avatar

@janantos

Preaching to the choire

@fredbrooker

  • All
  • Subscribed
  • Moderated
  • Favorites
  • php
  • thenastyranch
  • DreamBathrooms
  • osvaldo12
  • magazineikmin
  • everett
  • khanakhh
  • Youngstown
  • ngwrru68w68
  • slotface
  • rosin
  • InstantRegret
  • kavyap
  • mdbf
  • cisconetworking
  • provamag3
  • modclub
  • normalnudes
  • ethstaker
  • Durango
  • GTA5RPClips
  • tacticalgear
  • tester
  • megavids
  • anitta
  • cubers
  • Leos
  • JUstTest
  • lostlight
  • All magazines