• What are you working on? v7
    7,420 replies, posted
[QUOTE=Jelly;37803247]I dislike Ruby and prefer Javascript/Coffeescript. Later on we plan to have a lot of real time web sockets stuff going on so it was the sane choice.[/QUOTE] I prefer ruby over javascript/coffeescript, javascript just seems so unorganized and coffeescript is too much. Also, I'd be extremely surprised if you couldn't find a socket.io implementation in ruby.
[QUOTE=Ac!dL3ak;37803441]I prefer ruby over javascript/coffeescript, javascript just seems so unorganized and coffeescript is too much. Also, I'd be extremely surprised if you couldn't find a socket.io implementation in ruby.[/QUOTE] All the implementations I've seen are foul and inconsistent. When you start trying to do asynchronous events on a synchronous language it turns into a clusterfuck. Look at [URL="https://github.com/igrigorik/em-websocket"]em-websocket[/URL] for example: [code] EventMachine.run { EventMachine::WebSocket.start(:host => "0.0.0.0", :port => 8080) do |ws| ws.onopen { puts "WebSocket connection open" # publish message to the client ws.send "Hello Client" } ws.onclose { puts "Connection closed" } ws.onmessage { |msg| puts "Recieved message: #{msg}" ws.send "Pong: #{msg}" } end } [/code]
[QUOTE=Jelly;37803470]All the implementations I've seen are foul and inconsistent. When you start trying to do asynchronous events on a synchronous language it turns into a clusterfuck. Look at [URL="https://github.com/igrigorik/em-websocket"]em-websocket[/URL] for example: [code] EventMachine.run { EventMachine::WebSocket.start(:host => "0.0.0.0", :port => 8080) do |ws| ws.onopen { puts "WebSocket connection open" # publish message to the client ws.send "Hello Client" } ws.onclose { puts "Connection closed" } ws.onmessage { |msg| puts "Recieved message: #{msg}" ws.send "Pong: #{msg}" } end } [/code][/QUOTE] whats wrong with that code?
[QUOTE=Ac!dL3ak;37803623]whats wrong with that code?[/QUOTE] It's trying to do asynchronous events on a language that wasn't designed for it.
[QUOTE=Jelly;37803657]It's trying to do asynchronous events on a language that wasn't designed for it.[/QUOTE] [citations needed]
[QUOTE=Ac!dL3ak;37803888][citations needed][/QUOTE] Is it that disputable that Ruby was designed to be synchronous?
(document).ready is dead use waitUntilExists. [url=http://javascriptisawesome.blogspot.nl/2011/07/faster-than-jquerydocumentready-wait.html]its much faster[/url] also I can't believe I never saw the usefulness of this [editline]26th September 2012[/editline] also flexboxes are awesome
Just finished converting my database class to use PDO instead of MySQLi. I don't understand why the old mysql_* functions even exist any more.
[QUOTE=Jelly;37803930]Is it that disputable that Ruby was designed to be synchronous?[/QUOTE] what the fuck are blocks for? they function very similar to anonymous functions, and i'll be damned if you can't do Thread.new do end.
[QUOTE=Ac!dL3ak;37805660]what the fuck are blocks for? they function very similar to anonymous functions, and i'll be damned if you can't do Thread.new do end.[/QUOTE] What do blocks or anonymous functions have to do with anything? Basically all scripting languages have them, asynchronous or not. Ruby threads are barely asynchronous, not to mention they're prone to locking and also suffer from thread starvation.
[QUOTE=Jelly;37802819]Node/Coffeescript.[/QUOTE] I'd like to start using Node but I've read people saying it's genius and people saying it's not usable. What can I believe now, honestly ?
[QUOTE=saming;37806145]I'd like to start using Node but I've read people saying it's genius and people saying it's not usable. What can I believe now, honestly ?[/QUOTE] Try to dabble in it a bit to see if you like it, [URL="http://expressjs.com/"]Express[/URL] has the lowest learning curve.
Just finished a simple HTML/CSS/PHP page that works with the SMF forums for a small community. (I don't like how it really looks but its what he wanted me to make and you know the customers always right.) [IMG]http://gyazo.com/5fa476e6666201ab7150d0905b8e74a6.png[/IMG] But my main project right now is working on SpikeWess.com [IMG]http://gyazo.com/8332490cdb520de0b3f8fdb03245039b.png[/IMG] I got all the major functions working, just need to style it all. Right now we can't seem to figure out a design that best suits the content. (Reason why there are colored boxes are so we can see the layout) But we are messing with a few things left a right so hopefully it will look nice. What do you guys think? NOTE: The only thing done with the spikewess.com is the layout no styling has been made yet.
So, I'm working on re-working my website. I'm going from this:[url]http://nehkz.me[/url] to [url]http://nehkz.me/img/i/f5183727f5891292207ea548f1e0f488.png[/url] (Obviously just a photoshop mockup for now) What do you think?
[QUOTE=nehkz;37809102]So, I'm working on re-working my website. I'm going from this:[url]http://nehkz.me[/url] to [url]http://nehkz.me/img/i/f5183727f5891292207ea548f1e0f488.png[/url] (Obviously just a photoshop mockup for now) What do you think?[/QUOTE] I love the layout design but i think the colors for the nav bar and background has to be darker. Just my think of it. But other than that its an improvement :D I like it!
[QUOTE=Creepy;37809143]I love the layout design but i think the colors for the nav bar and background has to be darker. Just my think of it. But other than that its an improvement :D I like it![/QUOTE] Thanks very much. I probably would make it darker but as you can see my site is already a bit dark. I want to get out of that, it's kind of a habit of mine.
[QUOTE=Creepy;37808878]I don't like how it really looks but its what he wanted me to make and you know the customers always right.[/QUOTE]This is not really a great excuse not to make something look decent. Especially because you're working for a client you should put effort into what you're doing.
Lots of random radial gradients and strange color choices. The colors actually look like they was taken from a polaroid picture.
[QUOTE=TerabyteS_;37809259]This is not really a great excuse not to make something look decent. Especially because you're working for a client you should put effort into what you're doing.[/QUOTE] I completely agree, i actually made my own designs as well and showed him but he didnt like them. He wanted something super simple and actually made a photoshop design of what he wanted. So i copied it exact.
Here we go: [img]http://www.gabrielecirulli.com/p/Todos-20120926-230310.png[/img]
Are you working on something a bit like trello?
[QUOTE=Hentie;37811445]Are you working on something a bit like trello?[/QUOTE] No, it's just our in-house todo manager because basecamp kicked us out.
[QUOTE=TerabyteS_;37811403]Here we go: [img]http://www.gabrielecirulli.com/p/Todos-20120926-230310.png[/img][/QUOTE] I realehhhhhhhh like your design man! Its so simple but sleak
[img]http://www.gabrielecirulli.com/p/Amuzor-20120926-193412.png[/img]
[thumb]http://puu.sh/18VRn[/thumb] agree for this^ [thumb]http://puu.sh/18VRF[/thumb] disagree for this^
all of your designs are really dark and i hate it also why is TODOS capital
go away ifaux [editline]26th September 2012[/editline] his designs are great
ok but everyone cares about my opinion and i believe it would look better with some white
Facepunch likes dark themes.
what is that font..?
Sorry, you need to Log In to post a reply to this thread.