[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

/wdg/ - Web Development General

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 289
Thread images: 39

File: 1449507899971.png (747KB, 824x553px) Image search: [Google]
1449507899971.png
747KB, 824x553px
> Discord
https://discord.gg/wdg
OR
https://discord.gg/0qLTzz5potDFXfdT
(they're the same)

>IRC Channel
#/g/wdg @ irc.rizon.net
Web client: https://www.rizon.net/chat

>Learning material
https://www.codecademy.com/
https://www.bento.io/
https://programming-motherfucker.com/
https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md
https://www.theodinproject.com/
https://www.freecodecamp.com/
http://www.w3schools.com/
https://developer.mozilla.org/
http://www.codewars.com/
>Crockford on Javascript
https://www.youtube.com/playlist?list=PL7664379246A246CB

>Frontend development
https://github.com/dypsilon/frontend-dev-bookmarks

>Backend development
https://en.m.wikipedia.org/wiki/Comparison_of_web_application_frameworks
backendDevelopmentBookmarks.md

>Useful tools
https://pastebin.com/q5nB1Npt/
https://libraries.io/ - Discover new open source libraries, modules and frameworks and keep track of ones you depend upon.
https://developer.mozilla.org/en-US/docs/Web - Guides for HTML, CSS, JS, Web APIs & more.
http://www.programmableweb.com/ - List of public APIs

>NEET guide to web dev employment
https://pastebin.com/4YeJAUbT/
>How to get started
> [YouTube] 2016/2017 MUST-KNOW WEB DEVELOPMENT TECH - Watch this if you want to be a web developer
https://www.youtube.com/watch?v=sBzRwzY7G-k [Embed] [Embed]
> [YouTube] Javascript is Easy - "JavaScript is Easy" - If you can't into programming, you probably won't find a simpler introduction to JavaScript than this.
https://www.youtube.com/watch?v=zf_cb_Nw5zY [Embed] [Embed]

>cheap vps hosting in most western locations
https://lowendbox.com
https://www.digitalocean.com/
https://www.linode.com/
https://www.heroku.com/
https://www.leaseweb.com
https://www.openshift.com
>>
First for FAP
https://www.nuget.org/packages/FAP.React/

Again, it's been a while.

static WebClient client;
static void Main(string[] args)
{
client = new WebClient();
var server = new Server(null, "127.0.0.1", 3637);
var reactivePage = new ReactivePage("frontpage", "FrontPage", JsonConvert.DeserializeObject<object>(client.DownloadString("http://mywebsite.com/api/frontpage")));
reactivePage.get = (a, b) => client.DownloadString("http://mywebsite.com/api/frontpage");
reactivePage.IsSPA = false;
reactivePage.IncludeScript("main.jsx");
server.AddPage(reactivePage);
Thread.Sleep(-1);
}


Currently using it to parse this gem of JSX:
var FrontPage = React.createClass({
render() {
return (
<div>{this.props[0].Posts[Object.keys(this.props[0].Posts)[0]].Contents}
</div>
);
}
});

Which gets me the unparsed first post of my front page when I go to 127.0.0.1:3637/frontpage

Why? Because SEO.
>>
What's a good analogy for a custom website vs Wix to pitch to a client?
>>
>>56252085
scalability
>>
>>56252102
How about an analogy, like a frozen microwave dinner vs a gourmet steak
>>
>>56252115
No because if the client just wants a basic website there's no real edge on doing it from scratch over something like wix. So the frozen meal is still cheaper and serves its purpose.
>>
>>56252085
Don't bother.

Just remind them that if they need absolutely anything to do with a backend, that includes sales/ecommerce/databasing/SEO/whatever, they're going to need you and specifically you. These are things that actually make money for real businesses which no amount of pretty from your client's teenage daughter could compensate for.

A 12 year old could press save to HTML from a word document, I doubt that same 12 year old could build a backend that responds in under 20ms.

>>56252129
Honestly, then it's not in your client's best interest to hire a web developer. Here's an analogy, a real estate agent is trying to sell land that's been overcome by rising sea levels, better remember to include a boat in the deal or you're technically giving them nothing at all.
>>
Best non relational database?
>>
Started making daily commits to Git on the off chance that I run into an employer that puts much emphasis on that shit. At least when they look at my account they'll see a wall of green lel

~im so desperate pls kill me now
>>
>>56252650
pay $7 a month
make private repo
commit all you want
tfw its all green
>>
Are MVC and OOB mutually exclusive?
>>
>>56252806
>pay $7 a month

Are you havin' a swizzle m8?
>>
What's a good way to learn actual webdev?

I'm pretty familiar with HTML, CSS, JS, PHP. I'm writing a copter clone using canvas - what's a good beginner project after that? Should I learn SQL and make a forum?
>>
>>56251978
Hey so when you're freelancing, what do you do with the database when you're done? Do I have to do anything special now that I've set up this MySql database and everything works, or can I just safely send it all over to the guy?
>>
What's the difference between normal firefox and the (web) developer edition? from what I've read all the tools they offered are available in the normal edition.
>>
>>56253420
I just dump the whole thing plus the project codes into two cheap 16-32 GB usb drive, then let the client decide if I can keep it or not.

If the client doesn't let me keep the code I just hand over one of the drive and use the remaining one for reference in the future.
>>
>>56253717
I hate to say it, but Chrome is far better for testing, debugging and profiling.
>>
>>56253797
I use chromium, but I was just wondering if there was some feature that I'm not aware of in the dev edition of firefox.
>>
>>56252012
This guy here again.

var FrontPage = React.createClass({
render() {
stringtext = "however you want to build your site";
return (
<div>
<div dangerouslySetInnerHTML={{__html: stringtext}}>
</div>
</div>
);
}
});


This seems like the best way to go from Ajax append statements to a ReactJS server side rendering JSX file. At this point, it's literally just copying and pasting from my old main.js file to the main.jsx file.

It's nice when things eventually work
>>
>>56253326
If you already know how to program, start with researching things (rest, HTML/CSS view based stuff, backends) and then implement a simple CRUD with whatever language you feel like. From there you can learn whatever meme framework you feel like.

You can use SQL for this or any other databasing or just serialise or whatever.

If you don't know how to program, back out and ask /dpt/ for a beginner project for C.

>>56253420
You should ask for root access dude.
>>
>>56252012
Interesting side note, if I comment out this line:
reactivePage.get = (a, b) => client.DownloadString("http://mywebsite.com/api/frontpage");


The response time is 1 or 2ms instead of 150ms. Basically because it's relying on only the JSON sourced at start up rather than checking each time, hopefully when it's deployed it'll only be fetching across the loopback address so it'll be quick.
>>
>>56251978
I'm slowly getting into Django as a low priority project. I got the whole urls, views, templates stuff, I don't quite have an intuition for models except that they do the magical things.

Advice or abuse welcome.
>>
what's a good and stable imageboard script I can use?
>>
>>56256172
Tinyboard
>>
>>56256190
thanks
>>
>>56256172
make your own
tinyboard sucks ass
>>
What do you guys think of XML? I'm selftaught and kinda missed getting in contact with it. Tried to get into it a while back, but it seemed to be an archaic solution to let non programmers supply content to static webpages. Is there any reason to use it in private projects? I can just use sql or txt files to change and store content. Seems far simpler, but maybe I'm missing something...
>>
>>56256492
amateur here,

but it seems to me using sql would require more work and txt would require reading making a unique reader and solving all associated problems, so xml probably has a niche for simple data reading in a standardised way.
>>
File: Untitled.png (13KB, 444x205px) Image search: [Google]
Untitled.png
13KB, 444x205px
Do I have to use the this keyword to access object variables in javascript methods?
>>
>>56253848
firefox should not be used for anything

just let it die
>>
>>56256831
why?
>>
>>56256843
SJWs have been on a steady course of ruining the browser by adding useless shit and removing actually useful features. Incidentally, they are also making it more and more like Chrome, so might as well just use Chrome anyway.
>>
>>56256492
XML is old data format that may still have use in some situations but is mostly superseded by JSON. I don't understand why you would need anything besides pages itself to store data for static websites.
>>
>>56256172
Shilling my own: https://github.com/bakape/meguca/tree/stable
>>
>>56256864
And yet Chrome still can't replace Firefox with its customisability and extensions.
>>
>>56256831
>>56256864
Botnet-fag pls go
>>
>>56256882
Arguably, but they keep removing customisability every other release.
>>56256789
Yes, but you should be using the class keyword here.
class Rect {
constructor(x, y, width, height) {
this.x = x
this.y = y
this.width = width
this.height = height
}

fill(colour) {
// ...
}
}
>>
>>56256864
use chrome and not firefox because firefox is becoming chrome.

so if youre alive and becoming dead, maybe you should just kill yourself.
>>
>>56256944
If you're barely alive with stage 4 cancer, yes. You might live for a few more years with suffering and regular chemotherapy, but best just off yourself.
>>
>>56256978
What an incredibly morbid view of life.
>>
What's the best OS for a prestashop / wordpress server?

I want to use Ubuntu but I fear breaking shit when upgrading versions. So I assume Debian stable is the logical choice.
>>
>>56257197
Use Ubuntu LTS.
>>
>>56257236
>Ubuntu LTS
Oh, I see it's five years support these days. That looks good.
>>
>>56257197
Ubuntu upgrades usually don't break anything, worst thing I've experienced was when it removed PHP5 and didn't even install 7 when I upgraded to xenial.

If you don't want to take any risks just use LTS like >>56257236 said.
>>
>>56256937
Thanks anon. Any reason to use the class keyword besides good practice?
>>
>>56257526
Not really. class is mostly just syntactic sugar, aside from the super keyword. You could write the same as:
function Rect(x, y, width, height) {
this.x = x
this.y = y
this.width = width
this.height = height
}

Rect.prototype.fill = function (colour) {
// ...
}


>>56257500
Only if you stick really close to the default package set. 3/4 of upgrades have broken shit for me. It is best to wait 1 month after an upgrade is out for bugs to get fixed.
>>
/g/xperts, what browsers are you supporting on your websites?

Ideally:
>How far back are going
>How often do you drop support for older browsers
>How much effort do you put into compatibility? Would you rewrite a feature from scratch for IE8 (for example)?
>>
>>56257609
For a commercial projects - as far back as IE11. For hobby projects - latest Chrome, FF, Edge, Safari and FF ESR.
>>
>>56257691
ie11 is the number one enterprise browser at the moment. Do you literally not care about compat?
>>
hey g, what's the best web templating engine for python.

99.1488% of code I write is in python and I'm looking to move to web stuff now.

Plan of attack:
Python backend
jquery for dynamic shit

Thoughts?
>>
>>56257749
It's a personal project. If I can do something nice with a new technology, fuck IE11.
>>
>>56257843

Django come with its own templating engine?

I once used jade for a flask project, I thought it was pretty decent.
>>
>>56257609
I don't support any IE version older than 11. There are so many javascript features missing from versions older than that, I don't think it's worth it.
>>
>>56257843
jinja2 (included with flask)
>>
What ad networks aren't scams and have no minimal payout limit?
I tried googling but all I get is referal links to scammy networks with low reputation.
>>
Running a nodejs server, need to use the spread operator (...) to pass values in an array as arguments to a function.

The amazon server it's running on apparently has an older version of node and doesn't support the spread operator.

Anyone know of an ES5 compatible way to do this?
>>
>>56258404
Why don't you use babel to generate valid ES5?
>>
>>56258404
Maybe this?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply

function myFunction(x, y, z) { }
var args = [0, 1, 2];
myFunction.apply(null, args);
>>
>>56258454
I had tried this before but it didn't work because I was passing the arguments to a constructor.

I managed to fix it, though. Just don't use the "new" keyword.
>>
>>56258404
Install a newer node version locally. You can use nvm, if you can't yourself.
>>
Hey /wdg/.
I carelessly bought a few very shitty domain names that represent no value at all.
It's been a few months since I bought them, so I can't refund.
How do I minimize my losses now? I doubt anyone would want to buy them at all.
Or do you think if I dropped the price to something like $3, they would sell?

Please help.
>>
>>56258515
It works fine on my local, just not the amazon server. I'd rather not have to go in and update node every time a new instance is created.
>>
>>56258541
How shitty the names are?
And how much did you pay, I'm curious.
>>
>>56258627
They weren't registered, so I paid about $20 for two. The names are very shitty - no one would want them.
>>
>>56258727
Are you going to tell us the domain names or should we use our imagination?
>>
>>56258747
I guess you should use your imagination. I've given enough description - they're very shitty. Do you understand, or are you dense?
>>
>>56258791
No need to get defensive. Just trying to get an idea of what exactly the domain is. Your definition of shitty might be not be the same as ours.

Besides, if anyone here is dense, its you. You dropped money on two 'shitty' domains, now you're on 4chan asking if you can sell them for $3. Fuck off.
>>
>>56256492
Go JSON, much-much more simpler than xml.
>>
Is checkmydubs.com still available?
>>
>>56259149
nah
>>
How do I set SQL to automatically create a record in a table?
I have a table (users) that stores the user's information. But I want to automatically insert a row into another table (settings) while will have default setting values once the user completes registration. Linking the tables with foreign keys doesn't automatically generate the record in the second. I could manually insert the record after the user signs up but that's extra lines of code and it might not be the best way to do it.
>>
>>56260023
look up triggers.
or use a stored procedure to create your user where you insert into both tables.
>>
File: bot.jpg (24KB, 512x512px) Image search: [Google]
bot.jpg
24KB, 512x512px
I'm trying to create a bot which could on this website
http://www.supremenewyork.com/shop/all
>select a picture (Click)
>select a size (ComboBox)
>add to cart (Click)
>checkout (Click)
>fill out the payment informations (Textbox + ComboBox + CheckBox)
>validate order (Click)

I have few knowledges in VB, but is that possible with this language ?
>>
>>56260081
it's possible but not optimal.
if you only have a bit of experience with VB forget it and pay someone to do it.
>>
>>56260081
Just wondering, what is the point of your bot?
>>
>>56260121
Alright thanks, bots for this website are really expensive tho

>>56260138
Order clothes which sell out quickly, maybe reselling some to make money
>>
>>56260081
>>56260196
you could try phantomjs, should be pretty easy with that.
>>
>code freeze today
>notice yesterday there's bunch of small changes that aren't in the scope
>some of them partially untested
>panic.html
>revert one of the partly untested changes
>can you finish this by tomorrow anon
>yes
>OK we'll roll with this, get it done
>whyDidIAgreeToThis.java
>revert the previous revert
>fix the problems in it
>deploy to various environments and test it
>it fucking works
With minutes to spare to the deadline.
>>
>>56260196
Okay.
But instead of doing all those steps (click, combobox, etc), can't you just directly make the calls?

For example:
>POST http://www.supremenewyork.com/shop/301874/add
>authenticity_token=--&size=29000&commit=add
>etc

Sounds easier to me, but maybe it's not, I don't really know what the order requires.
>>
>>56260339
When I say "click, combobox" it's to indicate the things I got to do if I want to order "manually", the order requires.

I will try your example tho thanks

>>56260286
I'll try too, thanks you
>>
>>56260372
Okay, I thought it was something like iMacros
>https://addons.mozilla.org/en-US/firefox/addon/imacros-for-firefox/
>>
>>56260055
Oh cool, thanks.
>>
File: luxwip4.png (253KB, 1920x1080px) Image search: [Google]
luxwip4.png
253KB, 1920x1080px
How long would it take me to learn how to make something of this scope on a WordPress or SquareSpace site (HTML and CSS I assume)?

I made the layout concept but now the guy wants me to implement it, and if it's doable from scratch in two months, I could use the money. I'm supposed to make a template which he'll use to make profiles for other athletes, and the home page needs to have blog-like news with each article having its separate link, the rest I feel I'll be able to do with the same knowledge.
>>
>>56258331
Google Adwords or whatever.
>>
Man, I'm a frontend intern and everything I have to do is so easy. I practically only have to implement premade CSS framework code snippets, do some design and sprinkle some simple Angular that talks to the server on top of it. I do everything in an hour tops and then I do nothing for the rest of the day.

I could be proud that I'm good at this but I know this shit is probably just piss easy.

Don't know if I want this kind of job. On the other hand, I have some backend knowledge with PHP and Node, but far from enough, although that shit is also boring, just more stressful.

The only thing I learned here is that frontend is the most unimportant, easiest thing to do. I feel like a monkey.
>>
>>56260081
Use selenium.
>>
Why aren't you using horizon, /wdg/?
>http://horizon.io/blog/horizon-2/
>>
Fucking Windows 10 anniversary update fucked my vagrant up fucking shit.
>>
>>56261702
You now have bash on Ubuntu on Windows, tho.
>>
Hey guys after this semester I will have enough credits and the right courses completed to get my associates at my local cc. I was thinking about getting that and then pursuing web dev on my own without a bachelors. I'm 25 and still living with my parents so I'm sick of that and want to get out in the workforce asap. What do you guys think about this?
>>
>>56261253
You're an intern. You are given easy stuff to do at first. Once you prove to them that you know your shit and can handle your way around you'll get progressively harder tasks. Once you get something done don't shitpost in /g/ for the rest of the day but go tell someone you're finished and need more stuff to do. That way they'll know you're finishing your shit in no time and will hopefully give you some more demanding tasks.

If you claim front-end is easy you haven't had to deal with browser support and especially the quirks in mobile browsers and touch screens. Front and back-ends have different challenges but both of them provide enough challenge.

I started with piss easy tasks as an intern. Now I've been here for 2 years and the front-end stuff I do now would've made me doubt my ability to do this job back when I started.
>>
>>56261702
>he fell for the windows 10 meme
you deserve everything bad that happens to you
>>
>>56260684
I was bored.
I decided to get you started.
https://www.lita.engineering/experiments/lux/
>>
>>56261777
Yeah, no browser support stuff or any optimization here. I'm practically the only one doing frontend, though, and they don't seem to have much experience in that field, even on HTML + CSS level. The boss leaves the place early and others have no idea what I should do, while the boss doesn't want to give me more tasks until I finish the first one, so basically I don't have much options.

On the other hand, the projects are for pretty important clients, but the apps itself are pretty generic and nothing special.

Unironically, after about 2 months, the hardest thing for me to do was coding CSS and making all hacked bootstrap code responsive, while on the JS side, it was probably making simple promises.

The thing is that I feel there is not much to do in my position and it seems they were doing just fine before I got here, simply copy pasting generic bootstrap templates over and over again.

I don't think this internship taught me anything.
>>
>>56262215
>>56260684
My little example is very much incomplete, and does not conform to your designs. But again, it should at least get you started.

Note that 'main.pdata' in the main controller should not be set staticly, the way I have in the example.

In production, you'd launch an ajax request to the backend, for a specific player, and you'd just load the response data.
>>
>>56262215
>>56262255
Thanks a ton m8, dissecting it will give me an enormous headstart, especially when it comes to aligning, I was looking into how to do it last night and getting everything where it needs to be, and realigning it for mobile devices, seemed like hell. Thanks again, I really appreciate it.
>>
>>56262231
Then I suggest you find something new after your internship is over. Sites that rely on user interaction will make front and back end work much more interesting.

And front end isn't for everyone. Just like back end isn't for everyone. Find shit that you like to do. I'm lucky because I like doing front end stuff and I'm good enough in it that I get a lot of influence over the shit I do. I don't mind doing the odd Java task here or there but it's not really my favourite thing to do. That has tons to do with enterprise Java though and not doing back end itself.
>>
>>56262572
The only thing that I even remotely like doing in web is design and frontend (haven't tried backend though, but I need something to be creative with). Yeah, I don't know if I'll stay here.

Can you give some examples what tasks you had to do at the beginning and what are you doing now? I actually can't really imagine what could have been so complicated that made you ask yourself if you'd be able to do it.
>>
>js strings are immutable
why is this allowed? why are you allowed to change numeric values but not strings?
>>
>>56262495
The big things to study (if you're not already familiar with them) are:

- Bootstrap
- This shit will save you a LOAD of time/code in the long run
http://getbootstrap.com/components/
http://getbootstrap.com/css/
http://getbootstrap.com/javascript/

- LESS

Allows you to do things like nesting css, and using "&:" to refer to the current selector
(saves a load of redundant typing)
.main {
color: purple;
.sub1 {
color: blue;
.sub2 {
&:hover { color: gold; }
color: white;
}
}
}

instead of:
.main { color: purple; }
.main .sub1 { color: blue; }
.main .sub1 .sub2 { color: white; }
.main .sub1 .sub2:hover { color: gold; }



- Angular

Allows you to construct templates with data-binds. So that when you make a change to the value of a variable within the controller, it will automatically propagate into the DOM. Meaning you could click a player's button, and have it automatically ajax the player's data, and set it to main.pdata, and the DOM will update automatically.

And stuff like that.

If you want to turn this into a wordpress template, you need to... actually, I don't really remember how to do wordpress stuff. You'll have to figure it out on your own: https://codex.wordpress.org/Template_Tags

I know you need to do something to make wordpress aware of the template, but I can't recall an exact code snippet. I've only done it once.
>>
I can't understand CSS frameworks. They have so much bloat that I always spend more time overwriting everything than I would by just doing it from scratch.

They are good for prototyping, but damn am I pissed when I have to make actual design with them. Last time I wrote 1000+ lines of code overwriting shit. The company hacked together different bootstrap libraries for angular etc. and they all clashed and weren't even responsive.

Pain in the ass.
>>
>>56262698
The first thing I did after opening the source was look up Bootstrap because it's referenced at the top and I've heard it mentioned as what you described, I'll look into everything. Thanks for taking out the time, you're really doing me a big favor.
>>
How do I get users on my site?
>>
Does anyone have the picture of the job listing buzzwords companies put and their translation?
I keep seeing the word agile thrown around, I'm assuming that means it's a company that doesn't know what the fuck it's doing and everything is chaos there.

Of course I know that the image I'm talking about isn't 100% real but I thought it was a neat image and I wanted to save it.

What the fuck does agile mean?
>>
>>56263454
This one?
>>
>>56262791
use skeleton
>>
>>56262791
they aren't supposed to be a framework to make your own design, they replace it so you've got a reasonable looking site without writing anything.
>>
>>56262666
Name a good language with mutable strings.
>>
What is the difference between object and component in namespaced CSS?
>>
>>56251978
Is using Jquery/Javascript a must?

I've so far made an entire Flask application using bootstrap, python, and css, and it works perfectly fine.

I decided "Hey, instead of refreshing the page to show that invalid login attempt I could try that AJAX shit everyone is always jerking off about."

I then found really quickly how fucking awful working with Javascript and Jquery is. The fucking syntax really pisses me off and it's tedious trying to get shit to work.
>>
>>56263496
>>56263496
I don't think so, it wasn't that jokey iirc. Shit maybe it was. Thanks anon.
>>
>>56264063
I'll never understand what is bad with JS syntax. Started with C++, but never had any problems learning JS.
>>
>>56264063
>Jquery
no
>Javascript
yes for modern sites
>>
>>56264141
I just don't like it at all. I can't explain it. It feels like a punch in the face going from the simplicity of Python and HTML and CSS to fucking Javascript.

>>56264150
>Modern Sites
I still just don't see any reason to use it. My site is working fine without it. Would it really make that big of a difference?
>>
>>56264301
>I still just don't see any reason to use it. My site is working fine without it. Would it really make that big of a difference?
Never use something you don't need. It just adds unecessary complexity. Use things that are necessary or make your life easier.
>>
>>56264301
It does for user experience. But otherwise, eh, I guess you're fine without it then. Also, you can't compare HTML and CSS to JS, and Python has a very simple syntax compared to usual languages. I wonder what would you say to Java or C/C++, lel.
>>
>>56264301
python holds your hand. If you feel such revulsion just from going to a C-style syntax then maybe you aren't ready for it.

When you are ready to put on your big-boy pants you will see that javascript is not as bad as everyone memes it to be, you just have to unlearn some python-isms in your case.

I started with java and I had to unlearn shitty pajeet tier java-isms to work at best efficiency,
>>
>>56264417
I've programmed in Java or C/C++ before. I'm fluent in C++ actually. Also have done a fair share of reversing with Ida as well. I just prefer to use Python over everything else for simple shit like this, but after working with Python in a project for so long switching between two languages like Python and Javascript kinda gets tedious, especially since I haven't used Javascript ever.
>>
>>56264459
What are typical pajeet java-isms?
>>
>>56264063
Jquery comes with bootstrap.
>>
File: IMG_3764.jpg (17KB, 300x400px) Image search: [Google]
IMG_3764.jpg
17KB, 300x400px
>>56264459
>revulsion
>big boy pants
>memes it to be
>python-isms
>pajeet
You sound like a massive faggot.
>>
>>56264499
sounds like I struck a nerve.
>>
File: smuganime675.jpg (7KB, 214x189px) Image search: [Google]
smuganime675.jpg
7KB, 214x189px
>>56264558
Sounds like you're a faggot.
>>
>>56264666
>faggot
>anime
>>
File: FU.jpg (57KB, 640x430px) Image search: [Google]
FU.jpg
57KB, 640x430px
>>56264666
Fine I'm a faggot, but you're a faggot too for getting so upset.
>>
>>56264706
Nevermind, I solved it.
>>
>>56264706
Because randomGridPopulator() implicitly returns undefined.
>>
>>56264761
Yeah, dunno how I missed that.

WEW LAD
PROGRAMMING IS A ROLLERCOASTER OF ELEMENTARY MISTAKES
>>
>>56263496
>Boss declares we need more servers to improve performance
>"Sure, it'll be $xyz "
>You must have done something wrong. Our environment is agile, which means it doesn't cost anything to upgrade servers
>>
I just set up my bands wordpress site. I made my own theme using HTML CSS and a bit of PHP

However when it came to actually getting it working with the new databse I was unable to get it to work. After contacting the customer service at namecheap they basically did everything for me, which is nice but now I don't know how to do any of that stuff. Where should I start learning the basics of getting sites with databases up and running with hosting services? Should I start with learning SQL? or is there an easier way. It looked like all they did was change a few parameters in some database files to get it to run
>>
File: 1460482083264.gif (1MB, 268x304px) Image search: [Google]
1460482083264.gif
1MB, 268x304px
>web dev
Hahahah get a real job nerds
>>
>>56264840
Maybe you were running your db on a local config and they just changed the config for your host.

You can learn SQL, yes.
>>
>>56264875
Yes that's exactly what happened. I had it configured to a local host server (which is what I built it on) and the tutorial I was using to change the config to the host was not working for me.

How would i learn how to do that?
>>
>>56264904
Experience, I'd say.
Too bad they did it all for you, you should have search for the error online and find a way to solve it.

It's really the only way I see. You should learn how to analyze a problem and search for a solution. It's something you learn through practice, I guess.
>>
>>56264904

I wouldn't really describe this as "learning SQL". You're really learning "how to setup MySQL" and then "how to configure Wordpress".
>>
Are C#, .NET and SQL all that different from JavaScript, Node/Express and MongoDB?
>>
>>56265593
They all set out to solve the same problem in different ways.
>>
>>56265624
I know but I mean would they be a pain to learn or do they do things similarly? There's a few job postings in my area that pay very well, maybe I can bullshit in my resume and spend about a week learning them.
>>
>>56265672
Yeah, you can learn these pretty quickly if you have a background, but I'm not sure you'll be able to bullshit your employers in one week (except SQL), they have their own subtilities, especially if it's for maintaining their current project.

Give yourself a couple month of intense work instead. It's useless to be hired and then be lost in the job.
>>
>>56265672
C# is an object oriented language so if you don't know anything about object oriented anything you are going to have some trouble moving to it from javascript.
.NET is a framework for C#, just like Node/Express so if you know the fundamentals of using frameworks you can translate your skills fine.
SQL vs NoSQL is just flamewars over which way is better to store your data. If you learn SQL then you know how to use any SQL database.
>>
>>56264857
I want to hire you, I need a fizzbuzz in C.
>>
File: 1462054719159.gif (2MB, 500x333px) Image search: [Google]
1462054719159.gif
2MB, 500x333px
>>56265909
>using deprecated languages
And I thought /wdg/ was really progressive
>>
File: lmfaopham.jpg (19KB, 235x193px) Image search: [Google]
lmfaopham.jpg
19KB, 235x193px
>>56265990
I need a fizzbuzz in lisp
>>
File: yad3AB0.png (4KB, 619x66px) Image search: [Google]
yad3AB0.png
4KB, 619x66px
>>56266081
fuck
>>
>>56255204
Models are Database abstractions. Use them.
>>
I have a PHP script that updates the database but for some fucked up reason it keeps prompting the site to load the logout.php script and I have no fucking idea how this is even possible

Fuck my life I've never been this confused by a piece of code
>>
>>56266545
Search for "logout" in the source code of the application.
I hope the guilty script is not encrypted, or stored in a database.
>>
>>56266573
Thanks but I figured out my error. I forgot about the JS file that was redirecting it. I need to go to bed I've been at this for too long
>>
How the hell does REST work with single page apps or dynamic forms that don't need refreshing?
>>
>>56266820
Ajax?
>>
File: 1412888955944.jpg (46KB, 579x819px) Image search: [Google]
1412888955944.jpg
46KB, 579x819px
What the fuck is Joomla? I'm doing a bit of freelance work and told the guy "I prefer PHP and MySQL" and he said that his site was using Joomla, so that it's fine. Not familiar with a lot of frameworks (doing a lot of vanilla stuff), and this is my first ever freelance project (first ever programming I'm getting paid for actually).

From what I read it sounds like one of those drag and drop kind of things for people who don't know programming.

I'm not very experienced, but the thing he hired me for happens to be something I've been doing a lot of for fun recently so I told him that what he wants is actually right up my alley.

Also, how much do you charge people? He said to come up with how many hours I've worked on it and bill him like that. I'm not sure how much to charge hourly as a new developer though
>>
I've decided to make a Quizzlet style website using a LAMP stack. Anyone want to join me? I'll pay for the domain and hosting.
>>
>>56264459
>When you are ready to put on your big-boy pants

I write Erlang, C, and sometimes, embedded ASM. I've got my big boy pants on.

JavaScript makes no fucking sense. It's literally the most unintuitive of all the above.
>>
>>56266820
short answer javascript.

long answer is i prefer to use jquery and then i write an api in node also mongodb and the api uses mongoose and express

dont listen to the dumb fucks form india who will spout off about php python
>>
>>56266853
>What the fuck is Joomla?
It's like Wordpress but not as good. Fuck them both, but it's like a Baldwin but it's not Alec.
>>
>>56266917
So if this guy is doing his project in Joomla can I assume he's not a CS major? Or perhaps that the client simply requested joomla?
>>
>>56266853
Do not become a "Joomla developer". Take the job, and learn other stuff in your free time.
>>
>>56266853
>one of those drag and drop kind of things for

Not really. It's a CMS, like Wordpress. You still build your site/theme in PHP with the usual HTML/CSS/JS etc, except quite often, you can pick a pre-made theme that's similar to your end goal and skip some work.

It's not really a framework. It's more like a complete application, written in well and truly obsolete PHP, on which every man and his dog releases their own plugins.

It's actually pretty good for a specific goal - when your budget on a site is one hour, and you want to just choose a theme and tell them to put their own content in.

For anything remotely custom, it's a horrible pain in the ass. Nearly every single version update is a security update, and they've been through several rounds of not-backwards-compatible updates, meaning you either update the site, or wait for it to get defaced with a goatse image.
>>
>>56266938
>Joomla can I assume he's not a CS major?

Eh, you can major in CS and be busy learning C, LISP and Haskell without really knowing how to build a website.
>>
>>56266853
>how much should I charge
I'm assuming that you are in the US.
how much would you like to get paid at a full time job? (ex: 70K yearly)
now add 20K to that number because you have to pay for your own insurance and taxes shit. (now I have 90K yearly)
now divide that number by 2080 (the amount of hours the average full-time salaried employee works in a year)
in my example you should be charging almos 45/hour. (90000/2080).

some freelance developers charge 100/hour so it depends on how much money you can command, and how deep your client's pockets are.
>>
File: 1412888654345.jpg (731KB, 1600x1200px) Image search: [Google]
1412888654345.jpg
731KB, 1600x1200px
>>56266959
I'm not actually doing any joomla. He wanted help developing an image manipulation app in HTML5 Canvas/Javascript, and I had worked on very similar projects recently, so I offered help and he instead offered me a job. I may have to do a small amount of Joomla, but really I just need to write some PHP scripts which post some data to MySQL and that's the extent of the backend, unless he wants a bit further help getting the webapp to connect seamlessly with his current site
>>
>>56267025
So if I say $40/hr, is that typically reasonable for a web dev job? I'm just afraid of him saying "fuck off" and then losing the job
>>
>>56267073
i read somewhere that you should ask for $75 just so they will take you more seriously.

i've always just bartered with clients so i dont make much (free rent, free drugs etc) but my plan is to charge a shitload and then ill just pretend like i finished their job in 2 hours not 12 (im still learning)
>>
>>56267073
When in doubt...
https://www.quora.com/What-is-the-hourly-rate-for-entry-level-developer-or-programmer-in-US
https://www.quora.com/What-is-the-going-hourly-rate-for-a-somewhat-junior-PHP-contract-developer
>>
File: dorothy.png (150KB, 512x512px) Image search: [Google]
dorothy.png
150KB, 512x512px
>>56267025
another thing that you should consider is that since you don't have full-time hours, but are doing full time work, you can adjust your hourly rate to compensate.

say you only expect 1000 hours worth of work but you still want to get paid 90K yearly to pay your bills, you should be asking for 90/hour.

>>56267073
it depends on your experience and the deepness of your client's pockets. If you have the experience (by experience I mean that you can point people to other shit that you've done and gotten paid for) and the expertise you can charge more. You said this is your first project, so you should charge less to give the client confidence to take a risk with you. That being said, don't be afraid to charge money, you have to get paid so you can eat.
>>
>>56267130
You might price yourself the fuck out of it. They might find an Indian willing to do the same thing for $20/hr who isn't 'still learning'.
>>
>>56267130
Yeah I'm a student so even a $200 project (already spent 5 hours on this thing) would go a long way at school this year. If I can get a couple of these per month or so I can maybe even cover my own rent, or shop for food more extravagantly. Problem is all the freelance websites are filled with pajeets who will take a job for $5/hr + unlimited curry. I found this job by chance. Maybe he'll throw me some work in the future too
>>
File: dorothy intensifies.gif (506KB, 273x335px) Image search: [Google]
dorothy intensifies.gif
506KB, 273x335px
>>56267178
freelance websites are shit, you are lucky that you found that opportunity.

I'm jealous.
>>
File: 1412888831420.jpg (233KB, 1105x777px) Image search: [Google]
1412888831420.jpg
233KB, 1105x777px
>>56267177
The other thing is that this is webapp work in an area that I have specific experience with. In fact, /wdg/ just spent the last few days defacing my website using it with no bug reports on the webapp itself (though I'll admit I did very poor checking for XSS and did nothing to prevent someone from POSTing 1000 times per second, but that was laziness and not lack of knowledge).

It would be hard to find a pajeet to replace me in this specific area.
>>
Literally nothing wrong with using some Wordpress or Joomla for projects that need the functionalities they offer, even if you can build a custom website. Stop memeing, guys.
>>
>>56267234
I've worked with wordpress myself before just because, when facing the client, it's much easier to give them that if they want to run some sort of blog than to write your own login system, blog posting system, tag/keyword system, WYSIWYG editor for the blog posts, etc. and have them all be intuitive to the client and the user of the website. However, I think reliance on these tools may indicate some level of experience with actual, hands on programming. I'm glad that the work is in an area of web development which crosses over with traditional app programming and not just frontend stuff and database retrieval. There's math, etc. involved in this thing, and ultimately that's what I'm into
>>
File: 1412888553192.jpg (1MB, 1241x884px) Image search: [Google]
1412888553192.jpg
1MB, 1241x884px
>>56267290
forgot my girl cartoon picture
<---
>>
>>56267290
I just dont see the point no customer i ever worked with even remembers the password to their wordpress let alone uploads content.
>>
>>56267341
It can also accelerate development time so you can get out of that project and move onto something else. I know that you're paid hourly, but a customer may be less willing to pay for you the build something from the ground up, take several weeks, and charge a shitload of money than they are to have you set up a wordpress over a week and then email you about putting rounded corners, comic sans, and lens flair everywhere over a few more days
>>
>>56267387
i know youre right. also templating engines and shit would speed me up but between js frameworks and basic templates ive made i feel like i shit out responsive web shit rather efficiently. maybe because i learned this stuff when i was a kid in the 90s.
>>
I have node hosting a website, my contractor wants to be able to have a straight up "contact us" form.

The previous guy built a framework for it with angular and php, I want to avoid using php because DROP TABLES. What's the best place to get started with this kind of thing?
>>
>>56267535
formspree
>>
File: 1412888800960.png (381KB, 500x598px) Image search: [Google]
1412888800960.png
381KB, 500x598px
>>56267512
Honestly, the only argument for WP for me is to prevent XSS and SQL injections without having to comb your code with a magnifying lens to make sure you didn't forget to escape some input. Everything else can be handled however you want it on the output end. I prefer to do my own frontend development over relying on too many frameworks, but it seems like everyone wants bootstrap nowadays. Everything is just:

|--------------|
|[ FixedHeader ]|
|[ BigImage ]|
|[ BigImage ]|
| [s] [s] [s] |
|[ Footer ]|
>>
>>56267234
I'm building large scale e-commerce solutions built on WordPress and WooCommerce in my day job. The market is growing and clients want maintainable platforms that can persist even after the current dev agency has been replaced with another one.

E-Commerce is huge. And WordPress is massively gaining traction.

>>56267290
Sounds like a cool job
>>
>>56266894
>mongodb
>>
>>56267833
Nothing wrong with Mongo.
>>
>>56267864
https://engineering.meteor.com/mongodb-queries-dont-always-return-all-matching-documents-654b6594a827#.653jp3l5f
But at least they fixed some of the other inconsistency bugs after several years.
>>
File: php.jpg (14KB, 236x346px) Image search: [Google]
php.jpg
14KB, 236x346px
best girl
>>
>>56267909
She's also retarded.
>>
Without using a CMS like Joomla or Wordpress, how can I make it so that the person managing the site can add new stuff to the database without him needing to get into the code? Do I just create some kind of hidden route and user and make a mini-management system?
>>
This is what I'm getting paid to do rn
>>
File: gem.png (235KB, 1366x683px) Image search: [Google]
gem.png
235KB, 1366x683px
>>56268040
forgot pic
>>
>>56267897
>> if a document is updated while the query is running, MongoDB may not return it from the query

I can see how that would be a non starter for a lot of CS majors.
>>
Might be a stupid question but I just want to make sure. Once the client gets a list of things from the database, if you want to have various options to order them, the logic for that goes in the front end, right?
>>
I'm a grad student, and I've been put in charge of maintaining our group's website. The original author's code looks like garbage, and the website feels a bit dated, so I want to update it.

Is there any particular front-end framework (like Bootstrap) that you guys recommend, or should I just go from scratch?
>>
>>56268184
Materialize. Dont use drop down menus.
>>
>>56268145
Yes.
>>
>>56268031
Depends on the expertise and availability of the client
>>
>>56268184
check out Foundation
>>
>>56268249
It's a very basic website, everything is pretty much static with the exception of new products and services they provide, no users or shopping cart or anything. I was thinking of making a very basic CMS like system where he could login with its administrator account and upload new products and services, with images, descriptions and all that, without them needing to manually upload them to the database, but I'm not sure if that's how things like these are done.
>>
larvel vs node which is better to learn
>>
>>56268366
Both, but Node first since it's easier if you already know JS and also because PHP is ugly as shit.
>>
>>56268342
I suggest you don't reinvent the wheel. Wordpress has unsurpassed publishing tools for basic websites.
If you really really like performance, you can install something like WP Super Cache, however, any caching system is only recommended if you have read the docs carefully.
>>
>>56268494
The CMS part of the site is so minimal I don't think it warrants a full fletched system like wordpress. I was just wondering if that's how it's done, giving access to certain hidden routes to the administrator that can manipulate parts of the site, or is it more complex than that. I'm also not doing it in PHP anyway.
>>
>>56251978
Are there any vps hosts like digital ocean that let you run servers for just an hour at a time and not have to pay for a whole month?
>>
>>56268611
Maybe a static website publisher (available in several languages) is what you are looking for.
>>
>>56268624
heroku?
>>
>>56268191
>>56268259
Thanks, both look pretty good. I'll explore further
>>
>>56268641
That could work but I don't want him to see the code, I want to lay out a basic interface where he can do CRUD operations on his products and services.
>>
>>56268684
What about non-PHP blog platforms?
https://gohugo.io/
https://ghost.org/
I bet there are simpler versions of these available on github.
>>
>>56268788
Whoops, Ghost is not free. Nevermind.
>>
>>56268788
And Hugo is a static site generator. I should repair my glasses.
>>
>>56262661
I didn't have much experience with front end when I started. But at first it was trivial CSS changes and useless banners. Then some easy prototyping. Then to more advanced prototyping. After a while I got some easy tasks that were to production code. That's over a year ago already.

Now instead of getting the easiest front end tasks I get the ones that have the most work and hardest to do. I do the occasional easy back end task, but as there are people that are better than me in Java in my team I don't have to do them that much.

The first time I had to go about doing animations on a canvas was pretty challenging. Both with all the math that was involved and the animation itself. No way I could've done that when I started. At the same time it was really interesting and fun. Also every time there's a bug that has anything to do with a windows phone I fall into despair. It's nothing that made me question my ability when I was doing it but if I were given it to do it straight when I started there there's no way I could've gotten it done in any reasonable timeframe.
>>
>>56266866

Nobody wants to jump on this train right here? I've already got the very basic structure up (Login, Registration, User Settings).
>>
>>56269842
Me again. If anyone is interested just leave a reply and I will respond early tomorrow. I'm going to bed.
>>
File: 16HjZcU.jpg (141KB, 640x833px) Image search: [Google]
16HjZcU.jpg
141KB, 640x833px
I'm a decent Android developer but I'd like to learn some Java-based webdev. Any suggestions of frameworks or tutorials?
>>
How shitty and outdated are cronjobs?

I have a simple reddit bot running and I wanted to deploy it on heroku and have it run every hour but it was too big of a pain in the ass to deploy with heroku for the first time so I just set up a cron job.

Is that looked down upon or should I figure out how to deploy it on heroku?
>>
>>56255204

>https://en.wikipedia.org/wiki/Object-relational_mapping
>>
>>56269899

I'd suggest you go pack to /pol/.
>>
>>56265593
Quite different and superior. You can't hack something together so easily.
>>
>>56265593

>Are C#, .NET and SQL all that different from JavaScript, Node/Express and MongoDB?

Yes and no.

Mongo vs. SQL is using an object-relationnal mapping and is using JSON format. See here:
>>56271299

SQL is a simple language for querying a database and has to obey some rules, i.e. you aim for referential integrity and normalisation. In SQL you can (and sometimes have to) break these rules, if you want to, but then you need to know why and the risks.

>https://en.wikipedia.org/wiki/Referential_integrity
>https://en.wikipedia.org/wiki/Database_normalization

Personally I think SQL is eaven easier, once you got the little bit theory down.

Mongo:
db.users.find( { status: "A" } )

SQL:
SELECT * FROM users WHERE Status = "A"


For C# and JS see:
https://www.youtube.com/watch?time_continue=17&v=GPpw_ZE1LVc
>>
File: 3090210439.png (6KB, 128x128px) Image search: [Google]
3090210439.png
6KB, 128x128px
Working in this web app. Client not responding. Afraid I've been rused for some reason
>>
I want to make a game that basically lists random math problems, then requires an answer from the user. It's poker related, and intended to be used as a tool to increase your ability to identify pot odds. I basically want to ask "Q: The pot is 40 dollars, and your opponent bets an additional 20. What immediate odds are you receiving to call? A: 3:1", though I'd like to represent the problems graphically, and not solely through text.

Can I accomplish this with HTML, CSS and JavaScript, or would I be better served learning something else?
>>
File: karoofrost1.jpg (125KB, 1032x581px) Image search: [Google]
karoofrost1.jpg
125KB, 1032x581px
How hard is it to get approved by verified sites like Toptal and Codeable?
>>
>>56268381
Beautiful PHP7 OOP vs node callback hell.
>>
>>56273076
Yes, those are fine. You don't even need any backend for these kinds of games.
>>56273107
>not using both functional and OOP in JS
>not using async functions
>>
I'm using facebook login api with my website. How do I associate data I'm storing with a user's facebook profile after they log in?
>>
>>56273107
Functional PHP ftw.
>>
lawl jquery looks like javascript only there is an extra braket, parenthesis, and object parameter
in everything you do making it easier and faster.
>>
>>56273616
$("#identifier")
vs.
document.getElementById("identifier")
or
document.querySelector("#identifier")


Which is smaller
>>
>>56273436
If you don't allow users to sign up without facebook you start by killing yourself.
>>
>>56273436
In passport, I just use the accessToken facebook gives me and link it against my own database.
>>
>>56273745
Of course I'm going to let them use email but this site is geared towards college students and I think people are less likely to sign up for a website if they have to go through a registration process.
>>
>>56273777
So how does that work, like:

1. User signs in
2. Facebook sends accessToken via FB api
3. You take that token and do... what in the database? Do you encrypt that token at registration, then use password_verify() on that token every time you log in? Is that secure?
>>
>>56273697
The latter is several thousand times faster and does not create needless garbage for the GC.
>>
File: 1412888770885.jpg (514KB, 1006x852px) Image search: [Google]
1412888770885.jpg
514KB, 1006x852px
>>56273980
>worrying about performance
>in web dev

It's the 21st century.
>>
>>56274037
If I have to instantiate a view-model pair potentially several thousand times on a page, performance matters, Pajeet. And since when to mobile phones have infinite RAM?
>>
File: 1462978259200.png (55KB, 1124x685px) Image search: [Google]
1462978259200.png
55KB, 1124x685px
>>56251978
Are there any good Javascript game tutorials? I dont want to use any libraries before i get a solid grasp of JS
>>
>>56268817
I haven't tried it personally, but ghost uses the wordpress business model. The software is FOSS and you can self-host, or you can pay them for hosting and support and shit.
>>
>>56274230
http://www.w3schools.com/games/
>>
>>56274230
Google "vanilla javascript games" of "pure javascript games".
>>
I'm almost done the codeacademy course on JS, but I've heard that it's not very good... is JavascriptIsSexy a good way to learn JS?
>>
>>56274812
I haven't looked at codecademy in a while, but afaik it isn't considered to be bad in any way, just pretty basic really. It's pretty decent as a first introduction to the language if you like the interactive thing.

If by JavascriptIsSexy you mean http://javascriptissexy.com/ , It looks like it's just somebody's blog? The latest post is from 2 years ago. So no, I wouldn't recommend that.
>>
I finished Michael Hartl rails book and decided to start learning angular 2.

The number of Rails jobs where I live seems almost non existent.

good move?

I like the one page website of angular and I think it is the future. thoughts?
>>
>>56274812
A good way to learn JS is to practice it.

I mean, codeacademy, freecodecamp are fine, it will explain you basic concepts, but you'll learn way more by doing personal projects.

Do online tutorial, read http://eloquentjavascript.net/ if you want, but by the end of the day, you need to build something to really learn.

>>56275401
I don't think it's necessarily the future, but it's a popular trend, so potentially more jobs.
But learning something new will always be a good move, diversify your knowledge.

Go for it, bud, probably more jobs opportunity for you, more experience, new language (if you don't know JS).

Angular 1 and 2 are very different though. So, if you are specifically learning to get a job, check what version the job opportunities are for.
>>
>>56274905
/r/javascript recommended jsissexy so I was doubtful, thanks.
>>
>>56275401
You should probably find out what kinds of things are popular where you live and learn those, or move somewhere else where the things you like are popular. Rails is still pretty popular overall, and good to know for your own projects anyway. You can very quickly get an MVP out the door with it. IMO the biggest downside is that you have to use ruby.

And last I heard (Pretty sure it was on here so YMMV) angular 2 was a clusterfuck. React is the current hot shit. Who knows what it will be next week though.

>>56275600
Codecademy is good.
FreeCodeCamp is good.
The Odin Project is good.
All of this stuff: https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md#javascript is good.
An old reddit sticky pointing to some guy's even older blog post? Nah.
>>
File: 2dd.jpg (37KB, 600x600px) Image search: [Google]
2dd.jpg
37KB, 600x600px
21, Junior in CS at non-target university. Never gotten paid more than $12/hr. Just got hired freelance for $40/hr and have already worked 5 hours on the project and expect maybe 15 more hours (or more if he wants additional functionality).

>mfw
>>
>>56276196
That's nice, anon. Don't forget to do some exercise from time to time. I mean it.
>>
>>56258825
#rekt
>>
File: he wants to fuck.jpg (13KB, 441x408px) Image search: [Google]
he wants to fuck.jpg
13KB, 441x408px
>>56260300
>>it fucking works

I love this feeling. Once I had to finish something by a certain deadline but I was having trouble with a really annoying bug. I took a break and thought of a solution in the meantime.

>mfw it worked without any modification
>>
Why do business codemonkeys always insist on that multilayered arhitecture even when your application is three REST services?
>>
>>56276606
Because using big, technical-sounding terms like 'multilayered architecture' makes them feel smart.
>>
anyone been banned for multiple upwork accounts or know how their system checks
>>
>>56277245
pajeet what did you do?
>>
File: 1459028789677.jpg (2MB, 1240x1748px) Image search: [Google]
1459028789677.jpg
2MB, 1240x1748px
>tfw only two more hours at dead end job until I can go home and work on my web app
>>
File: 1439175174925.jpg (39KB, 362x400px) Image search: [Google]
1439175174925.jpg
39KB, 362x400px
>>56277358
I dropped off the face of the Earth with 2 active projects so my completion rate is like 60%. Looks terrible.

Think I'm going to make a new account and complete a project with a dummy account for a decent review.
>>
>>56251978
Good SEO resources to get started?
>>
I'm so fucking stupid.

I can't even get wordpress to install correctly on ubuntu with or without ssl.

It's just broken and a blank page.
>>
a family member who runs a manufacturing business offered me some money to build him a new website to replace his old one. I've never done web design for a client before but I produced some pretty good websites in university. I think all he wants is a simple, professional-looking static website with information about his business. Should I do it?
>>
Is sails.js the best "opinionated" backend framework for Node? Express is nice and all, but building everything manually from scratch gets old pretty quick.
>>
>>56277707
Look at Apaches' logs.
>>
>>56277762
I like sails, it's basically a rails clone
>>
>>56277753
Somebody is offering to pay you money to do a thing you know how to do. Why wouldn't you?
>>
File: 1412888111658.jpg (597KB, 700x990px) Image search: [Google]
1412888111658.jpg
597KB, 700x990px
>>56277753
Definitely dude. I just got contracted for a nearly $1000 project and it's my first time freelancing as well
>>
>>56278156
I know how to deliver what he wants, I just feel like I might fuck up on requirements gathering and end up giving him something he doesn't want.
>>
>get back into hobby web development after several years
>look up styling practices on W3C

OH MY GOD EVERYTHING I USED TO KNOW IS DEPRECATED
>>
>>56277753
DO IT dip shit unless you don't need the money which I'm sure you do to pay off your "University" debt
>>
File: ss+(2015-06-10+at+02.40.22).png (23KB, 703x488px) Image search: [Google]
ss+(2015-06-10+at+02.40.22).png
23KB, 703x488px
>>56278472
>mfw everything that conflicted with css has been deprecated with html5
>>
File: Screenshot_23.png (485KB, 1574x897px) Image search: [Google]
Screenshot_23.png
485KB, 1574x897px
While we wait for the backend developers to finish the site, I decided to make a few changes to the result-page search box to sort of give you guys a feel of what it might look like when its done. Making some real progress! Still very much WIP.
>>
File: Screenshot_24.png (594KB, 1920x1080px) Image search: [Google]
Screenshot_24.png
594KB, 1920x1080px
>>56279125
You'll soon be able to make changes yourself, but until then if there's anything you'd like to have changed please reply with some feedback.
>>
>>56277707
Blank page usually means PHP error but you cannot see it because showing errors is disabled. Enable showing errors (probably bad idea in live but you should do it in dev) or check error log (default should be /var/log/apache/error.log) like that other anon suggested.
>>
>>56279201
Aren't you afraid when you see all the meta-search engines going down?

Just found out about your project. Looks interesting. Do you have any private trackers in your thousand hosts?
>>
File: 8881237712377.png (116KB, 297x273px) Image search: [Google]
8881237712377.png
116KB, 297x273px
>>56251978
I have a bunch of event listeners that are specific to one page and DOM elements. Do I still run the function globally or do I make sure it is run in that page?
>>
>>56279247
Personally I don't think it will be a problem. We're being careful keeping identifiable information private. (even to anhiro). We're also setting the site up in a way that it will be very hard for the police/fbi to take it down, and only using server providers located in "less developed" / "pirate friendly" countries paid for with "untraceable" btc. A more likely scenario is they somehow manage to take down our frontend / db server and we go down for a few minutes.
>>
>>56279354
OK, what technologies/language are you using, I'm curious?
>>
>>56279354
Link to site please.
Is it just a Torrentz replacement or something different?
>>
File: shitdesign.jpg (49KB, 1920x1080px) Image search: [Google]
shitdesign.jpg
49KB, 1920x1080px
>>56279201
That looks so badly generic though, anon. Strip that shit of unnecessary reddit-level design.
>>
>>56279354
Do you have a plan if you get too much visitors and need more servers? Do you have the budget for it? Because if you need ads, that's usually an identity problem.
>>
>>56278392
Make sure everything he wants is very explicit, and if he fucks it up then you can point to an email chain saying "you said you wanted this, I gave you this. If you wanted something else, you should have told me"

Of course, this is in a perfect world where everyone is rational
>>
>>56279402
For the site itself we're using PHP. Its a little eeh, but it works. If it turns out to scale badly, we'll switch a few things up, but at the moment its doing what its supposed to. Still undecided on the crawler.

>>56279404
New KAT. All the socialshit, and sorting features KAT had, but with a much better search function.

>>56279411
Design is still subject to changes, but one of the reason we even started this project is that no torrent sites look good. I am seriously looking into letting users create and submit their own themes to the site though and at that point you can do what you want with it.

>>56279455
If the site fails to gain traction (unlikely due to the user-friendlyness and general appeal after KAT/torrentz died) we will just downscale the entire backend server setup. in this scenario it will be extremely vunerable to takedowns, but it will work. If it goes down at this point we would have to order another server and put it on there and repeat. Advertisement money will be sent to us through BTC, and I'm debating on using middle men who will handle credit card payments etc, etc. We're not falling into the same trap KAT did.
>>
>>56279455
Also we do have a few investors lined up.
>>
File: whyisthissohard.jpg (40KB, 1920x1080px) Image search: [Google]
whyisthissohard.jpg
40KB, 1920x1080px
>>56279411
>themes
>>
>>56279558
How do you manage your BTCs, through mixing?
>>
>>56279538
>>56279571
>>
>>56279581
Something like that
>>56279571
>user customization
>>
File: users.png (508KB, 1897x1049px) Image search: [Google]
users.png
508KB, 1897x1049px
>>56279607
>the reason we even started this project is that no torrent sites look good
>so we'll let each user customise their boilerplate bootstrap meme
stick to programming
>>
>>56279659
>bootstrap
Stylesheet on our end is all written from scratch. If users want to ruin the site for theirselves, thats up to them.
>>
>>56279411
>>56279571
Confirming this is the best design for a website that I've ever seen. Not even meming.
>>
>>56279688
it's already ruined anon
>>
>>56279757
kys
>>
>>56279782
http://motherfuckingwebsite.com/
>>
>>56279809
funny thing is the gtorrent project only forces users to download 30 more KB than the site you just linked, and thats with completely unoptimized images and unminimized stylesheet. It's also JS-optional. Sleep tight babe, I'm out for tonight.
>>
>>56279929
>still this butthurt over his shit design
Thread posts: 289
Thread images: 39


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.