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
jony neuemonic
Nov 13, 2009

tef posted:

yes this is really javascript

:suspense:

Adbot
ADBOT LOVES YOU

jony neuemonic
Nov 13, 2009

Luigi Thirty posted:

webos is clearly the framework of the future

ui in html5 + css + "enyo framework" (see also: jquery), logic in javascript

as the runaway success of webos has shown us,

jony neuemonic
Nov 13, 2009

Luigi Thirty posted:

well it's really easy to program for and adapt internet garbage for so maybe if more than one device used it

to this day I don't understand how webos got through two companies without landing on one decent piece of hardware

please don't cry rotor

jony neuemonic
Nov 13, 2009

Inverse Icarus posted:

my wife's company uses gmail for all their work mail (and for their clients too i guess) and she is really, really pissed off about the gmail change that they "just recently" forced everyone into

every few hours she just screams something like "WHY DO I HAVE TO HOVER TO GET TO MY LABELS?!!!?!?!" really loudly and scares the dogs

gmail is a fine service with a hideous ui

mail.app or postbox and never deal with it again

jony neuemonic
Nov 13, 2009

Janin posted:

this is what happens when you take UI design away from engineers and give it to a bunch of hipster art student "designers"

bronze this post

jony neuemonic
Nov 13, 2009

but how will i experience the wonder of the web2.0 without my javascript

jony neuemonic
Nov 13, 2009

Janin posted:

haskell owns owns owns

the only two languages that need to exist are haskell and c

haskell more like hasmell

jony neuemonic
Nov 13, 2009

Alligator posted:

seems like you just wanna get a job rather than learn things

i have the opposite problem

i keep trying to learn everything when i need to settle down and learn one thing really well

jony neuemonic
Nov 13, 2009

Jonny 290 posted:

JACK OF ALL TRADES MASTER OF NONE

this is me

beginner level knowledge of everything, not really good at any of it

jony neuemonic
Nov 13, 2009

trex eaterofcadrs posted:

pick a couple things, kick the poo poo out of them, move on.

yep, just need to figure out which things those are going to be

probably wind up hacking some stuff up in perl or ruby, i like those the most out of what i've tried

jony neuemonic
Nov 13, 2009

tbf i did say make some things, not sit down and read the camel book cover to cover

jony neuemonic
Nov 13, 2009

trex eaterofcadrs posted:

your comment emphasized language over problem. use whatever language you like man (woman?) just solve the problem well.

that's fair

but at the end of the day it'll likely wind up being one of those two because i like them best, not because of any hang-up on language

jony neuemonic
Nov 13, 2009

i love you, programming thread

jony neuemonic
Nov 13, 2009

ahhh spiders posted:

most of the complaints people seem to have about various languages are because they do things differently than other languages they've used

jony neuemonic
Nov 13, 2009

JawnV6 posted:

I am sorry that, instead of educating you, the leaders in this language community have given you lies and fear. That was shameful. I recommend learning how statements in JS are actually terminated (and in which cases they are not terminated), so that you can write code that you find beautiful.

i like javascript as much as the next guy but the people who write it are terrible

jony neuemonic
Nov 13, 2009

Janin posted:

this is why I cannot take ruby seriously

oh boy, an anime-themed language with libraries by people who think wearing sunglasses makes them a frat boy. sign me up!!

not gonna defend those weirdos because holy poo poo

but it has no bearing on the quality of the language and ignoring ruby because of them is pretty dumb

jony neuemonic
Nov 13, 2009

Internaut! posted:

what's bad about coffeescript anyway

I don't web dev but I regularly hear about the landmines you need to dodge in JS, if I'm reading it right coffeescript gets rid of those and generates JS as its output

seems like a good idea but as usual I'm probably underestimating the deep theoretical underpinnings required to pop up a dialog box in a browser

it gets paraded around like the second coming and annoys everyone but as far as i can tell it's just java script: the good parts made into a language

e. i mean it's good, to be clear

jony neuemonic
Nov 13, 2009

Internaut! posted:

looks like the ror architecture has changed totally since the last time I looked at it when you had to have packs of mongrels doing whatever the gently caress to make it work

i'm pretty sure it still needs programmers

jony neuemonic
Nov 13, 2009

:downsrim:

jony neuemonic
Nov 13, 2009

quadpus posted:

oh look you can finally do web programming with a real language

code:
<!DOCTYPE html>
<html>
  <head>
    <style>
      body,span{
        padding: 10px
      }
      input {
        margin: 10px
        }
      ol {
        border: solid 1px gray;
        min-height:100px;
        margin: 10px;
      }
    </style>
  </head>
  <body>
    <div id="container"></div>
    <!-- Generate main view -->
    <script type="text/domql">
      INSERT INTO (SELECT DIV FROM BODY WHERE ID='container') VALUES (
        CREATE ELEMENT h2 (
         innerText 'TODOS:'
        ),
        CREATE ELEMENT SPAN (
          innerText 'Count: 0',
          id 'count'
        ),
        CREATE ELEMENT OL (
         class 'list' 
        )
      );
      INSERT INTO (SELECT DIV FROM BODY WHERE ID='container') VALUES (
        CREATE ELEMENT LABEL (
          innerHTML 'Controls:'
        ),
        INSERT INTO (CREATE ELEMENT DIV(class 'controls')) VALUES (
            CREATE ELEMENT LABEL (
              innerHTML 'TODO:'
            ),
            CREATE ELEMENT INPUT (
              id 'input-name',
              type 'text'
            ),
            CREATE ELEMENT LABEL (
              innerHTML 'Time:'
            ),
            CREATE ELEMENT INPUT (
              id 'input-time',
              type 'text'
            ),
            CREATE ELEMENT INPUT (
              type 'submit',
              value 'add',
              onclick 'DOMQL.tmpl("add-list-item",
                                   DOMQL.tmpl("get-input", "input-name"),
                                   DOMQL.tmpl("get-input", "input-time")
                                  )
                       DOMQL.tmpl("update-count", DOMQL.tmpl("get-count"))'
            ),
            CREATE ELEMENT BR(),
            CREATE ELEMENT INPUT (
              type 'submit',
              value 'delete all',
              onclick 'DOMQL.tmpl("delete-all")
                       DOMQL.tmpl("update-count", DOMQL.tmpl("get-count"))'
            ),
            CREATE ELEMENT BR(),
            CREATE ELEMENT INPUT (
              type 'submit',
              value 'gently caress TODOS. I go through life like a boss!',
              onclick 'DOMQL.tmpl("like-a-boss")'
            )
        )
      )
    </script>
    
    <!-- PROCEDURES -->
      
    <!-- Adds a todo item to the list -->
    <script id="add-list-item" type="text/domql-tmpl">
      INSERT INTO (SELECT OL FROM DIV WHERE CLASS = 'list') VALUES (
        INSERT INTO (CREATE ELEMENT LI (
          class 'item'
        )) VALUES (
          CREATE ELEMENT SPAN (
            class 'name',
            innerHTML '%s'
          ),
          CREATE ELEMENT SPAN (
            class 'time',
            innerHTML '%s'
          ),
          CREATE ELEMENT BUTTON (
            innerHTML 'Delete',
            onclick 'DOMQL.DELETE(this.parentNode)
                     DOMQL.tmpl("update-count", DOMQL.tmpl("get-count"))'
          )
        )
      )
    </script>
     
    <!-- Gets a value of an input element by id -->
    <script id="get-input" type="text/domql-tmpl">
      SELECT VAL(INPUT) FROM BODY.ALL WHERE ID = '%s'
    </script>
      
    <!-- Gets the todo items count -->
    <script id="get-count" type="text/domql-tmpl">
      SELECT COUNT(LI) FROM OL
    </script>
    
    <!-- Updates the todo count with an integer -->
    <script id="update-count" type="text/domql-tmpl">
      UPDATE (SELECT SPAN FROM BODY.ALL WHERE ID='count')
        SET innerText = 'Count: %d'
    </script>
    
    <!-- Delete all todos -->
    <script id="delete-all" type="text/domql-tmpl">
      DELETE LI FROM OL WHERE CLASS = 'item'
    </script>
      
    <!-- Like a boss! -->
    <script id="like-a-boss" type="text/domql-tmpl">
      DROP ELEMENT DIV;
      INSERT INTO BODY VALUES (
        CREATE ELEMENT IMG (
          src 'http://27.media.tumblr.com/tumblr_lrcme60gbz1qzzzy9o1_500.jpg'
        )
      )  
    </script>
   <!-- END PROCEDURES -->
      
   <!-- When the app is ready add a predefined item. -->
    <script>
    DOMQL.ready(function () {
        DOMQL.tmpl("add-list-item",'Learn DOMQL', (new Date).toTimeString())
        DOMQL.tmpl("update-count", DOMQL.tmpl("get-count"))
    })    
    </script>
  </body>
</html>

same

jony neuemonic
Nov 13, 2009

Rufo posted:

*invents perl* my work here is done

the lord's work, really

jony neuemonic
Nov 13, 2009

camel book is legitimately funny and i'm still not sure how they pulled that off

there's supposed to be an update to Intermediate Perl soon, that should be decent

jony neuemonic
Nov 13, 2009


one single page

that just says

"all of them"

jony neuemonic
Nov 13, 2009

rotor posted:

i think python is legitimately better than perl in about every respect but it's not like perl is bad

i'm a huge rookie but i prefer perl's syntax to python

that doesn't necessarily make it a better language, i just like writing it more

jony neuemonic
Nov 13, 2009

i know just enough about php to realize i don't want to know any more

jony neuemonic
Nov 13, 2009

MSPain posted:

dude literally had a neck beard.

your loss. that's where programmers get their strength

jony neuemonic
Nov 13, 2009

Rufo posted:

sounds good so far. whats the catch w/ ruby

the ruby community

jony neuemonic
Nov 13, 2009

Resplendent Spiral posted:

its the tech support survival defense
"maybe if im a big enough rear end in a top hat people will just google it instead of calling me"

please tell me this works

jony neuemonic
Nov 13, 2009

jony neuemonic
Nov 13, 2009

Sulk posted:

ruby is a somewhat strange language. i don't know what to think of rails

what do you find strange about it

jony neuemonic
Nov 13, 2009

jony neuemonic
Nov 13, 2009

Sweeper posted:

css is the worst

jony neuemonic
Nov 13, 2009

trex eaterofcadrs posted:

css is fine too, again keyboard cowboys ruin everything

it works fine and it's the best tool for what it does

but it's still a pain in the dick to use for anything complicated and requires a ton of duplicated typing

less/sass help but it still kind of sucks

jony neuemonic
Nov 13, 2009

Gazpacho posted:

lol at anyone still making apps in c++

jony neuemonic
Nov 13, 2009

Internaut! posted:

idgi

do people seriously think there's an alternative to c/c++ for high performance desktop apps, games, servers etc

i'm completely talking out my rear end tbh

jony neuemonic
Nov 13, 2009

yaoi prophet posted:

^^^ gpl lets you sell it, you just have to provide the source. NC means you can't even sell it

thought gpl3 changed that?

not that it matters just use MIT licence for everything

jony neuemonic
Nov 13, 2009

rotor posted:

eclipse is poo poo made by the unholy combination of academics, open sores shitheads and IBM

please stop tiny bu-- shagga-- rotor?!

jony neuemonic
Nov 13, 2009

Anal Tributary posted:

oh boy oh boy let's talk about text editors!!!

vim or st2 in vintage mode

anyone have a printable cheat sheet for vim that doesn't look like this: http://tnerual.eriogerg.free.fr/vimqrc.pdf

jony neuemonic
Nov 13, 2009


Ronald Raiden posted:




and yea ST2 in vintage mode is what I usually use.

can always count on your yosbros

Adbot
ADBOT LOVES YOU

jony neuemonic
Nov 13, 2009

Internaut! posted:

yosbros who love vi, explain your vi love

it's quick to get around in, mostly

still getting comfortable with it (and i use st2 in vintage mode, not real vim) but navigation speed alone makes it worth using

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