Meme transcription [Kid drowning in pool]
In the background a person plays with a kid in the pool. The person is labeled “Companies updating their website”. The kid is labeled “The company logo”.
In the foreground a kid seems to be drowning. It is labeled “Useful information”.
In a second panel a skeleton sits at the bottom of the pool. It is labeled “The copyright year”
Sibbo ( @Sibbo@sopuli.xyz ) 28•2 months agoAt least in Europe the year after the copyright statement has no meaning, and even the copyright statement itself is useless. Since if not stated otherwise, no rights are granted by default.
Indeed. Yet every webpage ever has an outdated copyright year.
MostlyBlindGamer ( @MostlyBlindGamer@rblind.com ) English18•2 months ago[checks personal website]
Yes, shame on them!
ClassifiedPancake ( @ClassifiedPancake@discuss.tchncs.de ) 24•2 months agoI thought everyone does ``
30p87 ( @30p87@feddit.de ) 20•2 months agoNo no, we do
time_t t = time(NULL); struct tm tm = *localtime(&t); tm.tm_year + 1900;
Everyone writes their web server in plain C, right?
MostlyBlindGamer ( @MostlyBlindGamer@rblind.com ) English4•2 months agoThe cool thing to do now is to write it in Rust, only using the standard library.
30p87 ( @30p87@feddit.de ) 3•2 months agoAnd I hate it. Nice concept, but I don’t like neither, the language nor compiler.
SatouKazuma ( @SatouKazuma@programming.dev ) 2•2 months agoIt’s okay to be wrong
30p87 ( @30p87@feddit.de ) 1•2 months ago- The C compiler, when I parse a &(float) as (long) (it’s actually an evil floating point hack to run Quake III on an X86_64 CPU emulated in Scratch running on Spotifys Car Thing) (This would never be possible in Rust)
OmnipotentEntity ( @OmnipotentEntity@beehaw.org ) 2•2 months agostd::mem::transmute
30p87 ( @30p87@feddit.de ) 1•2 months agoYes, but
- it’s unsafe, therefore not really Rust I’d argue
- it doesn’t look as good
float Q_rsqrt(float number) { long i; float x2, y; const float threehalfs = 1.5F; x2 = number * 0.5F; y = number; i = * ( long * ) &y; i = 0x5f3759df - ( i >> 1 ); y = * ( float * ) &i; y = y * ( threehalfs - ( x2 * y * y ) ); return y; }
MostlyBlindGamer ( @MostlyBlindGamer@rblind.com ) English2•2 months agoIt’s a very different vibe. I remember my first seg fault in C - kids days are missing out!
Pechente ( @Pechente@feddit.org ) English9•2 months agoWell, everyone who’s coding their websites is, yeah. Seeing how almost 10% of all websites use Elementor now and are built by people without an understanding of coding concepts, there are probably plenty of websites that don’t output their copyright year dynamically.
Something Burger 🍔 ( @SomethingBurger@jlai.lu ) 2•2 months agoElementor has this feature, though.
YourPrivatHater ( @YourPrivatHater@ani.social ) 22•2 months agoWhen they don’t update it, im legally allowed to go into the inspect elements and copy all the code.
mexicancartel ( @mexicancartel@lemmy.dbzer0.com ) English1•2 months agoview-source:https://url
for easy copying.
pooberbee (any) ( @pooberbee@lemmy.ml ) 17•2 months agoTangentially related, I remember at one of my jobs being tasked (several years in a row) with updating the copyright year in all our source files’ headers.
katy ✨ ( @cupcakezealot@lemmy.blahaj.zone ) 6•2 months agothat’s where
date('Y')
comes in cum ( @moon@lemmy.cafe ) English7•2 months agoYear of the tiddies
Kit ( @Kit@lemmy.blahaj.zone ) 6•2 months agoI read this as boobs.
mexicancartel ( @mexicancartel@lemmy.dbzer0.com ) English3•2 months agoIs that your date?