[QUOTE=mastersrp;45035815]A too-small server that'll be the host of a few thousand users community. I mean I don't really know, Java COULD perform well enough in that situation, but I have my doubts. On another note, I have actually thought about Go as a language for this. I tried Node.JS, but if I'm gonna go with that I'll have to do some further research. Yes, I also realize that it's quite possible for the hardware to bottleneck it all up, but that's out of my hands unfortunately. I must admit writing it in C actually WAS one of my ideas. However troublesome it could be, it does have some amazing speeds. However, if others were to join the development, C would probably not be preferable. Thanks for your answers![/QUOTE]
I'm not one to cry "Premature optimization!", but scalability is more of a server/infrastructure thing than a language thing. You shouldn't worry too much about the proper language for a scalable site since it will probably be able to run on a laptop even at several thousand users.
[QUOTE=mastersrp;45035815]A too-small server that'll be the host of a few thousand users community. I mean I don't really know, Java COULD perform well enough in that situation, but I have my doubts. On another note, I have actually thought about Go as a language for this. I tried Node.JS, but if I'm gonna go with that I'll have to do some further research. Yes, I also realize that it's quite possible for the hardware to bottleneck it all up, but that's out of my hands unfortunately. I must admit writing it in C actually WAS one of my ideas. However troublesome it could be, it does have some amazing speeds. However, if others were to join the development, C would probably not be preferable. Thanks for your answers![/QUOTE]
Facepunch has run on PHP and MySQL for the past 9 years. Don't sacrifice ease of development for speed.
Thanks for the answers. I'll keep in mind that the language won't be an issue then. I did some tests using shell scripting, but that didn't work too well when more than 100 connections were made at the same time.
However, I could be doing things wrong. But I'll resort to a real server-side language, and not worry too much about it then.
I'm not exactly a professional. My knowledge on this subject is very limited, as I haven't really had any real experience wih it.
Again, thanks for the answers!
I've learnt a couple of things while at my new job.
1. CodeIgniter is annoying and yet it's really useful
2. I know nothing
3. I've been doing everything wrong
[QUOTE=josm;45046851]I've learnt a couple of things while at my new job.
1. CodeIgniter is annoying and yet it's really useful
2. I know nothing
3. I've been doing everything wrong[/QUOTE]
Isn't CodeIgniter dead by this point?
[QUOTE=supersnail11;45048012]Isn't CodeIgniter dead by this point?[/QUOTE]
That doesn't mean you can magically switch legacy apps to a new framework :P
CodeIgniter had its run but is complete shit at this point.
If your app uses proper abstractions it shouldn't be much of a headache to switch frameworks.
[QUOTE=supersnail11;45048012]Isn't CodeIgniter dead by this point?[/QUOTE]
Yes, pretty much. I've told my boss about it and he said he's open to using frameworks, which is nice. Just not yet.
[QUOTE=KmartSqrl;45048087]That doesn't mean you can magically switch legacy apps to a new framework :P[/QUOTE]
I don't think getting familiarized with another framework just to port existing projects/apps is a good idea. Shouldn't you just wait for new projects to start a new with?
[QUOTE=jetboy;45048726]CodeIgniter had its run but is complete shit at this point.
If your app uses proper abstractions it shouldn't be much of a headache to switch frameworks.[/QUOTE]
Framework choice is always going to have an impact on your application architecture if you're using it properly though, because most frameworks have some conventions that you should follow to really get the full benefits of using a framework. Swapping out the entire backbone of a web app is not going to be a small undertaking for even moderately sized applications.
[QUOTE=TrinityX;44882047]As in loading/saving files to git repositories? That's going to take quite a while, so i'll have to postpone that a bit.
[url]https://github.com/TrinityX/web-sublime[/url]
Woo, first GitHub repository! :dance:
I really need help on this, so please do contribute![/QUOTE]
I've been looking for something to start contributing too for some time now and this seems perfect.
[url]http://codepen.io/XL5/details/rBejd/[/url]
[QUOTE=XL5;45061085][url]http://codepen.io/XL5/details/rBejd/[/url][/QUOTE]
Jesus christ
[IMG]http://i.imgur.com/OzZZjVC.png[/IMG]
[editline]10th June 2014[/editline]
Followed by the way
Working on a mobile matrix tool:
[img]http://i.imgur.com/rtXqFyM.png[/img]
[QUOTE=Moofy;45061170]Jesus christ
[IMG_THUMB]http://i.imgur.com/OzZZjVC.png[/IMG_THUMB]
[editline]10th June 2014[/editline]
Followed by the way[/QUOTE]
Yeah, for some ass-backward reason Codepen wraps lines, so data-urls pretty much always look like shit.
Just something gimmicky, but I wrote something this morning in JavaScript that encodes text into a line parsed RGB image.
It increases the size of the text by 300-400%, but it's pretty neat. 50 paragraphs of Lorem Ipsum encodes into this:
[img]http://up.nlan.org/bveTv.png[/img]
Each pixel is a random RGB allocation of the total sum of the character code, so it only supports ASCII. There's support for line headers for various information, but I don't know what to do with it. The Garry's Mod sent_ball.lua looks like this:
[img]http://nlan.org/grimage/grimage_test.png[/img]
The code isn't refined and it can end up locking up browsers if too much data is ran through, but here's a demo for anyone interested: [url]http://nlan.org/grimage/[/url]
[url]http://steampaper.cloudapp.net/[/url]
I made a thing that generates a wallpaper based on your most played steam games. Hosted on a tiny azure VM until I get my new(ish) home server :v
Example:
[img_thumb]http://i.imgur.com/oN6iosX.jpg?1[/img_thumb]
Fixed up [URL="http://facepunch.co/"]http://facepunch.co/[/URL], you can now leave your name.
(don't tell Moofy)
[QUOTE=Coffeee;45081570]Fixed up [URL="http://facepunch.co/"]http://facepunch.co/[/URL], you can now leave your name.
(don't tell Moofy)[/QUOTE]
Damn I wanted to enter that arabic text which crashes old iPhones but it's too long
[QUOTE=Coffeee;45081570]Fixed up [URL="http://facepunch.co/"]http://facepunch.co/[/URL], you can now leave your name.
(don't tell Moofy)[/QUOTE]
Only 17 minutes and somebody has already posted some weird unicode that reverses characters. Precious.
[QUOTE=Coment;45083319]Only 17 minutes and somebody has already posted some weird unicode that reverses characters. Precious.[/QUOTE]
And someone has put it back to normal again with another character :L
So after a few weeks of pretty much no coding mood, I finally got the userscript for my facepunch link shortener done.
Here's the link [url]http://shortn.fcpn.ch/usrscrpt/fcpnch.user.js[/url]
I needed excuse to learn nodejs and use my dusting raspberry pi.
So I'm trying to make a torrent client and so far I figured out how to use the library :v:
[img]http://i.imgur.com/ioE7jrd.png[/img]
and the design WIP
[t]http://i.imgur.com/zbUyprx.png[/t]
Layout looks cool and I love the idea of having a web interface for a torrent client.
[QUOTE=LennyPenny;45084344]Layout looks cool and I love the idea of having a web interface for a torrent client.[/QUOTE]
here's a web bittorrent client
[url]https://www.transmissionbt.com/[/url]
[QUOTE=djjkxbox360;45083241]Damn I wanted to enter that arabic text which crashes old iPhones but it's too long[/QUOTE]
The question is: Why would you even sign it? :c
[QUOTE=Moofy;45084954]The question is: Why would you even sign it? :c[/QUOTE]
Why wouldn't he? :v:
[QUOTE=djjkxbox360;45010414]I think the post ratings speak for themselves. Hard to fault. Banner text seems to react weirdly if you constantly keep resizing the page, but that's not really a problem since no ones going to do that, and it fixes when you let go of resizing.
If you shrink the webpage a bit:
image
Would be great if "world." could be moved to be on the same line as the others so the "learn more" is on the same line too instead of being pushed down.
Also do people still need a button at the bottom of the webpage that takes it back to the top? On computers and Android phones scrolling to the top is done in seconds, and on the iPhone where the scrolling "sticks", you have the "tap at the top of the screen" to get to the top easily.[/QUOTE]
I think the banner text is related to a jquery plugin that was used for it. I might have a look at adjusting it to simply snap and pause when resizing.
All good points, I would agree with the 'back to the top' button, the team discussed whether or not to remove it today, so we'll see what happens.
The team member that led the design of our site is actually leaving now to go to university, so we've got a spot opening up if anyone's interested. [url]http://www.tjcuk.co.uk/jobs[/url]
[img]http://i.imgur.com/RzpdHCG.gif[/img]
I'm using a single http request for sending the file/params and getting the progress/status messages. I'm pretty proud of the fact that I got it working.
[QUOTE=Mega1mpact;45091873][img]http://i.imgur.com/RzpdHCG.gif[/img]
I'm using a single http request for sending the file/params and getting the progress/status messages. I'm pretty proud of the fact that I got it working.[/QUOTE]
Share your secrets! Are you calling some JS functions from the parent window? Is iframe blackmagic involved?
[QUOTE=Khub;45092035]Share your secrets! Are you calling some JS functions from the parent window? Is iframe blackmagic involved?[/QUOTE]
I'm not using any iframes.
I'll share some of the code+a small demo site when I get home from work
Sorry, you need to Log In to post a reply to this thread.