Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Shaggar posted:

p languages are bad

Adbot
ADBOT LOVES YOU

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
except, of course, for the exception that proves the rule

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
god forbid we have an actual programming thread, let's open up 3 more phone threads and one for hockey

I am in posted:

is the future semantic web going to let me open my phone and see both facebook AND twitter in the same list?

you won't even need to because after the Semantic Web gets here you'll just be living in the Cloud at all times as pure consciousness

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
yeah but java and ruby and python all suck for that because you have to screw around with dependency management in the first place. in php all you have to do is include what you need

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Ronald Raiden posted:

u can also call them associative arrays if you want. BUt no languages do that.

the best one does

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Nomnom Cookie posted:

preserve insertion order

lol you seriously think this is a bad thing

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
php arrays are pretty much god's own data structure. i have yet to encounter a problem i couldn't solve with them

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

CaptainMeatpants posted:

tahts good cause it's not like there are any other data structures in php

yeah cause you don't need them. php arrays are literally all the good data structures rolled into one

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Janin posted:

there is no such thing as an "associative array".

there is in php.

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
php:
<?
foreach (str_split($thestring) as $letter) $pieces[$letter]++;
var_dump($pieces);?>

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Dr. Honked posted:

html is the best programming language. whenever i get a resume with "Programming languages known: HTML" written on it i just get my cock out then and there and jizz all over the place and hire the person

html is a programming language

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

trex eaterofcadrs posted:

holy poo poo

it is a language that lets you tell a computer how to do things

it is a programming language

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

CaptainMeatpants posted:

i didnt actually think all yall would try to solve that thing over and over

"fizzbuzz is the programmer's stairway to heaven" - Jeffreys Atwood

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

rotor posted:

its sort of the equivalent of riding lawnmowers slowly over a decade becoming the standard mode of transportation with all this carlike poo poo crudely welded onto the sides and now your actual car can't drive on the tiny little roads and every time someone raves about some great feature of their new mower like "hey did you hear? the new model John Deeres have these lamps that let you safely drive in the dark so you don't have to carry a flashlight with you! they're called 'headlights!!!" you look back on your audi or lexus or whatever and die a little inside

lol you sad old man. its more like how when cars were first invented farmers wanted to make people hide their cars in bushes whenever horses were going by. (you're the farmers)

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

rotor posted:

these were all solved problems and your ignorance of history is sadly predictable.

they were "solved" with lovely halfassed solutions. "gosh just <do arcane user-hostile procedure X>" is not really a solution when you can have the same thing by opening yr browser and going to a page

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Shaggar posted:

theres no reason that the language features from desktop apps cant be used in web apps. ex: replace javascript with byecode, replace html/css with xaml. you write whatever you want and it gets compiled to bytecode that gets sent to the client rather than the client downloading the source and compiling it in realtime which limits your language availability. then replace html + css w/ something like xaml and u've got dynamic UIs that are fed to the user over http. all the benefits of desktop apps, none of the shittyness of js/html/css.

this is the grossest post. ugh.

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Sweevo posted:

browsers as a platform are the reason you need a quad core with 4gb ram to run something that ran fine on a commodore 64

:qq:

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
why can't i use modern technology on my lovely old hardware. why.

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

rotor posted:

because your modern technology is literally several orders of magnitude less efficient

sure. that's the cost of hyper-general-purpose computing. you could always use one of those efficient commodore 64s

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

rotor posted:

2 months ago I saw a web page with an implementation of asteroids in a browser that got like 5fps

10 years ago I saw a web page with an implementation of asteroids in svg that got like 5 fps

15 years ago I saw an implementation of asteroids in java that got like 5 fps

20 years ago I saw an implementation of asteroids written in pascal that got like 5fps

~*~progress~*~

2 months ago i used a really bad desktop application

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
generics are a crummy solution to the problem they solve. better solution: no types anywhere

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Shaggar posted:

yeah lets not compare the only languages used in real computing. that would be dumb.

those languages are only used for making desktop "applications" and sometimes being shoehorned into the web in places php should be used

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
ahh spiders: get out

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
and you're a terrible loving poster

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
why look, another three-post combo of shrill, histrionic bullshit tangentially related to the post it was replying to. that's our ah spiders

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
the only reason anyone pays attention to you is because once you decide to poo poo up a thread you start making half of the posts in it

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

JawnV6 posted:

"hm, im off track and might not have a goddamn clue what context im in, BETTER CHAREG AHEAD"

unironically this

the old-school beardo attitude of crash-and-burning whenever there is the tiniest recoverable error is so stupid

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Sniep posted:

just use php its easy

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

passionate dongs posted:

javascript is great and im glad the future is written in it

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Werthog posted:

since the php thread got closed somebody who isn't dumb explain this to me http://ompldr.org/vZGxxaQ
apparently it's a mirror because the original got marked private

this only happens if your server is set up in a weird stupid way using an old module nobody uses anymore. i saw a link earlier this morning explaining it but now i can't find it

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

tef posted:

Rasmus :allears:



:swoon:

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

ahhh spiders posted:

false and nil are false, everything else is true

lol you're serious. holy poo poo what a dumb language

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

ahhh spiders posted:

because they have completely different applications. also, you haven't really explained what's terrible

0 considered true sounds p terrible

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
nope you can think about it all you want and it'll still be really stupid

0 == false == the number of good posts you have ever made

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

ahhh spiders posted:

stfu tiny bug child. grown-ups are trying to talk

ahhh spiders posted:

i had over 40,000 posts in YCS on this account and never got forums cancer

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

ahhh spiders posted:

i mean the only reason i can see someone wanting 0 to be false is some weird attachment to C techniques where you don't have a proper boolean type

testing a field from a sql table that uses a tinyint to represent a boolean flag.

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

ahhh spiders posted:

nice, sounds like more bad database design from our resident php guru

quick q: how do you think you are supposed to store a boolean flag in a sql table

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

ahhh spiders posted:

why would i give a gently caress about that if i was using lua

actually yeah you're right i forgot lua is a dumb little toy language that isn't used for useful things

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Police Academy III posted:

because the list doesn't have 7 elements, the language never tells you if you're using an index that's out of range. it just magically does something which is, again, pretty php

in this sentence, "php" means "correct"

Adbot
ADBOT LOVES YOU

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
there are 256 characters. many are used for drawing boxes with single/double borders. all the other characters are fake ones made up by some guys in sweden. i'm not saying you can't use the fake characters, just understand that they're technically 2 or more real characters and the computer is pretending they're something else

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply