• Web Development - WAYWO - #9
    4,377 replies, posted
Congratulations! [QUOTE=jung3o;48205306]I thought he was working at cloudflare. wonder what changed his mind[/QUOTE] You're probably thinking of [url=http://facepunch.com/member.php?u=197527]benjojo[/url]. [editline]14th July 2015[/editline] [QUOTE=proboardslol;48156617]Also thanks for that! I added it in so it's now like: [code]mysqli_real_escape_string($postdb, $_POST['author'[) ... //etc[/code] Is this sufficient? Also, I assume this is to prevent SQL injections? And I guess addslashes isn't enough since one could presumably add something like \' to cancel out the first escape sequence? [editline]9th July 2015[/editline] Wow that's extremely helpful! thanks![/QUOTE] Though you're already using prepared statements I guess, I think I should still answer that: mysql(i)_real_escape_string() isn't sufficient either, there's a few edge cases in which it won't protect you. Notably charset issues, and things like this: [code] $_REQUEST['id'] = "1 or sleep(1000)"; $query = "SELECT * from posts where id = " . mysql_real_escape_string($_REQUEST['id']); [/code] No special characters to escape in there.
Finally managed to get a Telegram bot going. Took a while since it is php based and had SSL problems. PHP only because I do not own a root server and could not use nodeJS or anything else. So far features are getting images with tags from imgur, be it gif or jpg based, and a whitelist, since I had around 20 different people per day writing to the bot, guess "Buttsbot" wasn't the best name to choose. Probably adding more later, but for no I have no ideas what to add or not. [IMG]http://img.diwako.net/snaps/2015-07-14_23-30-59.jpg[/IMG] [IMG]http://img.diwako.net/snaps/2015-07-14_23-29-06.jpg[/IMG] [IMG]http://img.diwako.net/snaps/2015-07-14_23-34-11.jpg[/IMG]
[QUOTE=diwako;48206508]Finally managed to get a Telegram bot going. Took a while since it is php based and had SSL problems. PHP only because I do not own a root server and could not use nodeJS or anything else. So far features are getting images with tags from imgur, be it gif or jpg based, and a whitelist, since I had around 20 different people per day writing to the bot, guess "Buttsbot" wasn't the best name to choose. Probably adding more later, but for no I have no ideas what to add or not. [IMG]http://img.diwako.net/snaps/2015-07-14_23-30-59.jpg[/IMG] [IMG]http://img.diwako.net/snaps/2015-07-14_23-29-06.jpg[/IMG] [IMG]http://img.diwako.net/snaps/2015-07-14_23-34-11.jpg[/IMG][/QUOTE] but I'm not a chat
Oh woops. Luckily easy to fix.
took this [url]http://i.imgur.com/uQegfMY.jpg[/url] made this [url]http://proboardslol.neocities.org/zelda/timeline.html[/url] [editline]14th July 2015[/editline] pls dont press ctrl+u
[QUOTE=DrTaxi;48205735]Congratulations! You're probably thinking of [url=http://facepunch.com/member.php?u=197527]benjojo[/url]. [/QUOTE] No, he's right, he was working at cloudflare
[QUOTE=Ac!dL3ak;48209416]No, he's right, he was working at cloudflare[/QUOTE] Facepunchers seem to always get neat jobs for some reason. Congrats! Any clue what you'll be working on? Still waiting to get a job offer with relocation paid for to SF or LA. Maybe some day. Hopefully... A man can dream....
SF is wayyy fucking overrated after rent your 6 figure pay feels less than the national median
visual bubblesort with js. I have it update the map every 10 iterations to avoid lag it MIGHT (just might) eat up all your memory and crash your browser. Just saying. It uses your window width/height to determine the size of the array to sort.
[QUOTE=Rocket;48205232]Looks like our very own Jelly [URL="https://twitter.com/sebmck/status/620736636830285824"]got a job at Facebook[/URL]![/QUOTE] [QUOTE=benbb;48205545]Congrats if you're reading Jelly ;)[/QUOTE] [QUOTE=DrTaxi;48205735]Congratulations![/QUOTE] Thank you everyone! [QUOTE=Mega1mpact;48210679]Facepunchers seem to always get neat jobs for some reason. Congrats! Any clue what you'll be working on?[/QUOTE] Thanks! Not sure if the what you'll be working on was directed at me or AcidLeak but I'll be working on Product Infrastructure, mainly on my project [URL="http://babeljs.io/"]Babel[/URL]. I'll be based in London but [I]might[/I] be going to the US, depends on immigration and if I want it. [QUOTE=jung3o;48205306]I thought he was working at cloudflare[/QUOTE] [QUOTE=benbb;48205545]He seemed to be enjoying it too.[/QUOTE] [QUOTE=Ac!dL3ak;48209416]No, he's right, he was working at cloudflare[/QUOTE] Yeah I was working at CloudFlare.
[QUOTE=DrTaxi;48205735] You're probably thinking of [url=http://facepunch.com/member.php?u=197527]benjojo[/url]. [/QUOTE] Nope :) I still work at CloudFlare (Currently working on the HTTP DDoS and other internal security projects, kinda out of realm of WAYWO able unfortunately), It was super strange having a FPer in the office.
Yeah oops, sorry about that.
[QUOTE=benjojo;48222879]It was super strange having a FPer in the office.[/QUOTE] Especially when HipChat auto embeds images when I send you URLs. :q:
forgot to post the bubblesort page: [url]http://proboardslol.neocities.org/bubble.html[/url]
It looks like you're going for a kind of modern minimalistic look but several aspects of it mess up the user experience. Not sure how WIP it is and this is all just my opinion, but I would change the colour scheme of the text against the background colour as it currently clashes in an image where distinction between those coloured elements is important & doesn't have enough contrast to comfortably read, and I would constrain the width of #header (which is strangely named unless you plan to have content below this) because at 1080p you've got tiny things sat on either side of the screen and it just feels disconnected.
[QUOTE=ruarai;48236387]Been working on a personal site to collect some work. [t]http://i.imgur.com/ocZ9SQ6.jpg[/t] (The background image was created through one of my projects, so it's almost relevant.) [URL]http://www.ruarai.me/[/URL] also typos.[/QUOTE] I feel like [URL="http://i.imgur.com/4j62MS7.jpg"]a picture of what it looks like on my monitor[/URL] shows the issue with the text being unreadable here.
[QUOTE=ruarai;48236805]Yeah, that looks pretty bad. I've given a try with the blue text instead, as well as moving stuff towards the center of the screen. [IMG]http://i.imgur.com/pqdyEUQ.jpg[/IMG][/QUOTE] The right-aligned text looks bad. And there needs to be more space in between each project.
Honestly don't like the project box at all, it looks very out of place.
i think it would look great if you had just the foreground wave shown, and put the text in dark blue in the space created around the wave!
[QUOTE=jung3o;46870405]Been playing on something called DevWar (played 3 times now) and it has been really fun. You have 2 teams and 3 players per team and you have an objective that you have to complete in 60minutes. In each team, you have 1 person doing 1 language (HTML, CSS, and Js). [url]http://www.reddit.com/r/DevWars/[/url] If you have sometime, you should try it out. There are always people failing to show up. So far it seems to be 2 times a week Tuesday & Saturdays. 11AM ~ 3PM MST I've won once out of 3. Just played 1 today, but js guy on my team left and the html guy had no idea how to do html. ended up losing :v:[/QUOTE] Referencing one of the first posts in this thread, but I just discovered DevWars and it's a lot of fun to watch. Actually, there's a game about to start right now. [url]http://www.twitch.tv/devwars[/url]
[QUOTE=ruarai;48236805]Yeah, that looks pretty bad. I've given a try with the blue text instead, as well as moving stuff towards the center of the screen. [IMG]http://i.imgur.com/pqdyEUQ.jpg[/IMG][/QUOTE] You need to simplify your design. But if you really want to use a background image read this: [url]https://medium.com/@erikdkennedy/7-rules-for-creating-gorgeous-ui-part-2-430de537ba96[/url]
Hey guys, I've never posted here as most of the development I do is enterprise software. I've done very little web-development, [url=https://www.c4c.io]this[/url] is my first attempt at a development blog which I hope to turn into a portfolio at some point. Utilizing ASP.NET + Bootstrap + SASS for CSS, all of which is running on a potato of a server. Currently just working on the stylizing and CSS, then I'll work on blog post functionality. Thinking about using disqus for comments. I'm a fan of "flatty" designs so I was trying to aim for that.
Right, so I've finally started using laravel/lumen. Why didn't I do this a year ago :v: [editline]18th July 2015[/editline] [QUOTE=Rocket;48205232]Looks like our very own Jelly [url=https://twitter.com/sebmck/status/620736636830285824]got a job at Facebook[/url]![/QUOTE] I mean, babel is going insane right now. It was only a matter of time. Seriously though, he's kind of an inspiration. o7.
Someone who may or may not have previously worked at SourceForge wrote [url=https://www.reddit.com/r/sysadmin/comments/3do9k0/sourceforge_is_down_due_to_storage_problems_no_eta/ct77o49]a pretty sweet Reddit comment[/url] on why SourceForge and Slashdot (same company) were down. It's not what I'm working on but it's pretty damn interesting.
[QUOTE=Rocket;48241697]Someone who may or may not have previously worked at SourceForge wrote [url=https://www.reddit.com/r/sysadmin/comments/3do9k0/sourceforge_is_down_due_to_storage_problems_no_eta/ct77o49]a pretty sweet Reddit comment[/url] on why SourceForge and Slashdot (same company) were down. It's not what I'm working on but it's pretty damn interesting.[/QUOTE] [quote]But then your entire team gets forced out of their job and all the knowledge about how to handle this moody piece of hardware is lost, like tears in the rain.[/quote] Wonderful read.
Made my first blog-post on my new site. I wrote the post using [url=http://pad.haroopress.com/#]Haroopad[/url] in markdown which is rendered with [url=https://github.com/chjj/marked]marked[/url]. I have a service oriented architecture already setup from a previous project but I still need to re-purpose it to back the site. Because of this, the post is being stored [url=https://c4c.io/Content/Posts/1.txt]here[/url] for now and loaded via jQuery. I'm surprised how smooth things have gone so-far. [img]http://i.imgur.com/seQp7w6.png[/img]
I'm starting to need to build more 'app' oriented websites, and I was wondering if anyone had any good tools / reading material to help me understand the methodology etc. I have written a serverside in PHP that queries a specified number of servers (you can specify multiple servers in the GET request) and it returns collection templates in JSON per server. I have done it pretty sloppy, and I'd like to: Limit requests per server per second ( think gametracker.com ) Reuse template from a recent request (if someone else requests the same data a few seconds prior, use that instead of querying the server again) Combine multiple servers per request Obviously, rebuild the server templates using a client sided framework I'm using backbone.js to drive the client side rendering and wait for request updates. This seemed like the tool that did the job I wanted to solve. I have previously done this stuff with pure Jquery ajax which was very unstructured and clumsy. I have looked at mithril.js which is leaner, but holy crap the syntax makes me cry! Any thoughts, recommendations etc?
I've had some exposure to angular, backbone and knockout. My personal preference is definitely knockout because it's extremely easy to use for data binding without having it force you down a particular way of implementation. The learning curve and structure imposed by angular and backbone was frustrating for me. I'd rather have knockout handle my data binding and let me do whatever the hell I want with regards to how I implement the functionality which affects the model and the structure within which that it's implemented.
[QUOTE=Jallen;48244975]I've had some exposure to angular, backbone and knockout. My personal preference is definitely knockout because it's extremely easy to use for data binding without having it force you down a particular way of implementation. The learning curve and structure imposed by angular and backbone was frustrating for me. I'd rather have knockout handle my data binding and let me do whatever the hell I want with regards to how I implement the functionality which affects the model and the structure within which that it's implemented.[/QUOTE] I really like [URL="http://vuejs.org/"]Vue[/URL]
Hey Svenskunganka, [url=http://cryto.net/~joepie91/blog/2015/07/19/why-you-should-never-ever-ever-use-mongodb]guess what's at the top of /r/programming today[/url]? take that you mongo loving piece of shit :vs:
Sorry, you need to Log In to post a reply to this thread.