[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: 325
Thread images: 26

File: 1466182524466.png (868KB, 822x552px) Image search: [Google]
1466182524466.png
868KB, 822x552px
'Get the fuck in here' edition

Last thread
>>55679147

> 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/
https://www.youtube.com/watch?v=JxAXlJEmNMg&feature=youtu.be&list=PL7664379246A246CB lecture series.

>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
https://www.youtube.com/watch?v=pB0WvcxTbCA - "WATCH THIS IF YOU WANT TO BECOME A WEB DEVELOPER! - Web Development Career advice"
https://www.youtube.com/watch?v=zf_cb_Nw5zY - "JavaScript is Easy" - If you can't into programming, you probably won't find a simpler introduction to JavaScript than this.


>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/
https://scaleway.com/
>>
First for shilling Go.
>>
>>55685196
Totally. I was just reading this
>http://jordanorelli.com/post/32665860244/how-to-use-interfaces-in-go
>>
3nd for the undying greatness of PHP.
>>
Is the development speed in Go as good for building REST APIs as in e.g. Django Rest Framework (DRF)?

DRF seems so comnfy because you just write your models / serializers etc. and the database gets migrated automatically.

The examples of building a REST API with go mostly used plain SQL and when people ask for ORMs for Go the replies often state that they're not as good as in Python etc.
>>
>>55685730
ORMs are shit, learn SQL faggot
>>
>>55685730
yeah i find the lack of a somewhat-good ORM in Go a bit daunting, actually.
today i found this, but haven't tested it:
>https://github.com/jinzhu/gorm
>>
File: Screenshot_2016-07-21_15-08-18.png (71KB, 611x475px) Image search: [Google]
Screenshot_2016-07-21_15-08-18.png
71KB, 611x475px
h-here I go guys
>>
>>55686849
>hace 30+ dias
la wea fome ql, anon. don't expect any responses.
>>
>>55686849
>php
lol
>>
>>55686849
>Chile
>>
>>55686849
>Chile
uhhh...........
>>
How hard is it to learn how to code in Spanish?
>>
hero banners/images are the most cancerous trend
way more so than parallax shits 2bh
>>
>>55686849
>PHP
>Vague JS requirement
>MySQL
>A PHP framework - and an old piece of shit at that
>HTML5&CSS3? Like what, The semantic tags? And in the end, they're just going to get pissed if you it you actually use CSS3. MUH IE CUSTOMER!
>jQuery - Oh god, they think it's still 2009. This proves that you won't actually need HTML5 or CSS3 at all.
>Bootstrap - Oh wow. I have no words. This proves that you don't need to know anything whatsoever.
>>
>>55686849
>>55686849
Cuanto gana un webdeveloper junior en chile?
En dollares
>>
>>55687109
Chi
>>
>>55687077
Is either this or McDonalds., I'm still in college.

>>55687109
Probably around $1k/m
>>
>>55687186
That's awful. Do you have to go to college just to get shit jobs like that in Chile?
I'm so sorry, dude.
>>
>>55687186
1 dollar kilometer?
>>
>>55687029
This. All that wasted space. Fucking frontend hipster faggots.
>>
>>55687199
>shit jobs
You aren't taking into account global economy - it must be cheaper to live in Chile than most cities in USA. Salaries and stuff are based on how on your job and how much is the "living cost" or whatever. I'd give more details if I knew them
>>
>>55687186
Cool thanks
There are not jobs in Chile right now or you dont want to work in other stuff?
>>
>>55687205
k/m is the opposite of km, dingus
>>
>>55687303

I bet you're always the life of the party.
>>
>>55687205
Imagine a line, 1 km long, all made with 1 dollar bills. That's about 6406 bill. So now, you can say "Yeah I earn about 1 km-dollar per month"
>>
>>55687029
Are those those parts at the top of the page that are always 100vh high?
>>
What's a better registrar?

Namecheap, Uniregistry or Dynadot?
>>
>>55687927
I haven't heard anything bad about any of them.

Just don't use 123reg
>>
I am making a Firefox extension. The JS is editing a webpage, but I have no idea how to select this crazy div:

#page.watch .content-alignment


This does not work:

document.getElementById("page.watch .content-alignment").className = .style.maxWidth = "0px";


Any ideas?
>>
>>55688179
getElementById gets elements by Id... not by class. Hence the name.
>>
>>55688179
Use querySeletor, not getElementById.
>>
>>55688145
Well, I don't really like how Dynadot has limited fields where you can enter dns records.

But I never needed more fields than they offer.
>>
>>55688209
>>55688233
Thanks, it works. Not sure how the
.className =
got in there.

document.querySelector("#page.watch .content-alignment").style.maxWidth = "0px";
>>
What is a good free text editor.
>>
>>55688415
Visual Studio Code.
>>
>>55688415
Atom, Emacs, Vim, VS Code.
>>
I just started using brackets. God it runs like shit on PC. I'm going back to sublime I think. I just don't know what plugins are worth getting.

What are some good plugins to get on Sublime /wdg/?
>>
>>55688473
>>55688479
So VS Code isn't a meme. I'll look.
>>
>>55685119
Question for any web designers, do you or did you use tools to make a wireframe/mockup of your sites? If so, would you recommend using them or do you think it is a crutch?
>>
>>55687927
Of those, I've only used/heard of namecheap, but I haven't had any problems with them.
>>
>>55690684
>>55687927

Namecheap is good and their prices are low (at least for hosting I know its low). They have good customer support too.
>>
>>55688479
>>55688473
>Using any MS product after it was proven that they were adding """""""""""telemetry""""""""""" to code at compile-time without the dev's knowledge or consent.
>>
File: LabelAlignment.png (79KB, 1208x652px) Image search: [Google]
LabelAlignment.png
79KB, 1208x652px
>>55689424
I use Pencil (http://pencil.evolus.vn/) to make wireframes, to get client approval. There are better tools, but Pencil is free and works fine.

Prefer showing wireframes to clients so they get an idea of the overall concept, as otherwise people just obsess with colours and fine detail immediately.
>>
>>55688625
package control, of course, and editorconfig, sublimelinter, gitgutter, whatever theme(s) you want, linter packages for whatever languages you use (babel, etc), snippets plugins for whatever languages you use (if you like snippets, not my thing, personally.)
>>
>>55688625
>>55691076
Why do people take a text editor and try to turn it into a poor IDE? Just use an IDE and have everything work seamlessly.

JetBrains products (for paid), or Netbeans/Eclipse are far superior to your text editors.
>>
>>55689424
I'm not a designer, but wireframe.cc is worth checking out. I've used it before for some flowchart stuff.
>>
>>55690937
>overreacting to debugging functionality
>>
Webpack or Rollup?
>>
>>55691105
Sublime loads almost instantly and doesn't hog system resources.
>>
>>55691178
>underreacting to software molestation
>>
>>55685444
Every day amirigh http://php.net/sunglasses
>>
>>55691105
An IDE is just a build daemon + text editor.
>>
>>55690937
Only in VC++. Who the fuck uses VC++?
>>
>>55691076
Thank you anon

>>55691105
Never really looked into them desu.
>>
>>55691406
VC++ is the only one they've been caught adding it to. Between that and all the windows 10 shenanigans, I don't understand why anyone would trust them at this point.
>>
>>55691564
Trust them to do what? You're not being very specific.

The code added to VC++ binaries isn't some obfuscated ransomware, it's telemetry for their new compiler. The only thing wrong with what they did was having it enabled by default, and not explaining what it was until people noticed it on their own.
>>
>>55691597
That's pretty fucking bad.
>>
>>55691597
MSIDF shill detected.

>Trust them to do what? You're not being very specific.

How about trust them not to add spyware to my code, you dumb cunt. How about trust the compiler to compile the source code I give it and not add extra shit without telling me? It could introduce unknown bugs, not to mention open up potential avenues for backdoors and exploits (which I suspect was the real point of introducing it in the first place).

>The only thing wrong with what they did was having it enabled by default, and not explaining what it was until people noticed it on their own.

In other words, the only thing they did wrong was get caught.
>>
>>55691914
Tinfoil keyboard warrior detected. If you're predisposed to believe everything Microsoft does is for the worst possible purpose, obviously we can't have a discussion about it.

>In other words, the only thing they did wrong was get caught.
That's not what I said in the slightest, which is weird since you quoted what I actually did say directly above that strawman. They definitely did something wrong and it was a blunder on all levels, hurting their image not just among nutjobs like yourself, but by anyone who doesn't want extra crap added to their programs by default.

Anyway, enjoy raging against the machine.
>>
How am I supposed to come up with ideas for websites?
>>
>>55692087
Just think of something that nobody has ever done before, easy
>>
>>55692087

For learning? Pick something that involves as many skills as possible.

Try to include API calls, database operations, redis with scheduled tasks or something similar, accounts, admin and users, control panel for both users and admin

I did all these when I created a dota match history website similar to dotabuff.com. API calls to grab shit from valve, database to store and display matches, redis to schedule all the api calls, cron jobs to grab match history in time intervalls, integrated steam login, had an admin control panel to remove or manually lookup matches.

This was my first EVER project and I learned a lot since it uses so many different skills it's a really good portfolio project.
>>
Man these threads are dead now.

Bump.
>>
>>55692179
So basically find complicated websites and clone them, got it.
>>
>>55692179
Did you get a job after doing that?
>>
Hey /wdg/

I was recently asked to estimate the time for a project and was looking for feedback about my estimate.

The project is a simple ticket system with a small twist: tickets are created automatically based on emails. For example, I send an email to [email protected], and the ticket system will create the ticket and assign the ticket to me. Usually work comes in via email, and there is a lot of interaction with clients. I would also like it to be able to keep track of the conversation and optionally be able to respond within the ticket system. To clarify, it would be accessible within a browser and have some kind of user authentication.

I estimated that this project would probably take about 80 hours. I'm not very familiar with PHP, nor much other backend work, but I think I would be able to tackle it since I have a decent amount of programming expericence. It's an internal tool, so aestics wouldn't be as important so long as it is functional and works correctly.

Is this a bad estimate? Coild someone provide a better estimate? I'd be flying solo for the most part, along with Google and maybe a friend for advice. I'm not committed, but did I fuck up? How bad?
>>
Gonna be making a web app for tracking high/avg/low prices of items on a site I frequent. There's no way to browse through sold items other than directly navigating to them with the item ID. Item IDs are just sequential, so it's not an issue getting to the things - but there's been around 1m listings so far and I've been able to find items with IDs <100,000 that are still actively listed for sale.

What would be the best way to go about doing this? I'm thinking of just scraping the entire site's HTML, extracting relevant info into a database and cron tasking different categories to update every day. Thoughts? Also, what languages should I use? I only know PHP/jQuery/js and I'd like to learn something new like node.js, RoR, Django, etc.
>>
why didn't any of you fucking retards tell me how amazing pycharm was for web development? I was always scared of it thinking that it was for dedicated 'real' programming but it's fucking awesome, dedicated git commit and push integrated into the gui, console, syntax for frontend html and css is there and it even has autocomplete for css which only like brackets had of the other ide's that i've used

it's fucking awesome i might even shill for it and buy a licence if i ever get hired in backend development
>>
>>55687522

Yes, though generally full width, not necessarily completely full height.
>>
>>55694270

dont waste your time with django for that, use flask

the majority of your backend is going to be using python libraries anyway like pandas and beautifulsoup and python is the best for web scraping and data analysis

no idea about how you would design it though, there has to be a better way than requesting every single page and parsing it for the specific class / id tag and storing the value in a database, it just seems inefficient
>>
>>55691358
>not knowing what debugging is
>>
>>55689424
Balsamiq is pretty cool.
>>
Learning some basic front end shit lately. I don't know how you fuckers can do it.

I think I'm just gonna stick with my C programming for now.
>>
    (function($){
$("body").on("submit", ".my-form", function(e){



This is horrible. Have none of the last few years of JS overhauls presented an alternative that doesn't look like total bullshit?
>>
>>55695737
Maybe you aren't learning things in order. I mean you should start with basic html. If you learn to sort shit with tables, then stepping up to css and divs will be easy. It's the same principle.

And once you know css you'll only need Javascript for the little things you want to add. So you'll pick up Javascript like that.
And then adding and removing stuff from a database with php for example will only take a slight additional step.
>>
>>55696262
Yes. The non-jQuery solution
>>
>>55695737
Some people just have different interests, and when you aren't really interested in something, it makes learning that aspect much harder.
>>
>>55695737
>C
What an odd way to spell Go
>>
>>55691277
>Sublime loads almost instantly

Early 2015 Retina MacBook here, it loads instantly for me
>>
>>55696262

the fuck

$(".my-form").on('submit', function(event){
>>
>>55700297
doesn't do the same.
the first monitors body for submit events and then checks if the form has the class my-form.

this is done when elements are created dynamically when you can't bind events before the element exists.
>>
>>55700329
Is that even efficient? My code monitors only the form with the class .my-form for a submit event. Why monitor the entire body when you can focus on that specific form?
>>
>>55700379
in some cases.
imagine having a dynamic table with 100 records.
each record has a button.
now instead of adding 100 events you have one on the table and check if the button you want bubbled up the event.
>>
>>55700420

I thought we were talking about forms here?

Anyway, I'm no JS expert but I feel like there's a better way to do what you're saying.

If you're outputting data from a database into the table, for example, you could easily add the element ID to the button or the parent element then dynamically get that ID within the javascript without having to write separate events for all 100. And you can do it without monitoring the entire body of the page.
>>
>>55700549
you can add events to any element, OPs example was just my-form.

looping through 100 elements and adding an event costs more performance than having 1 event on the parent.
then you also want to clean up when you load different data and redraw the elements, so you unbind them first by looping through all again, redrawing the elements and then looping through them again to add the event again.
>>
>>55693794
If you plan on parsing non-standardized, hand-written emails from clients directly into tickets, you're going to have a hell of a time. It would probably be better to make a simple form-based webapp they could use which automatically sends you an email and/or dumps it into a database for further processing.

Other than that, I'd say 80 hours is probably a good estimate. Even if you're new to PHP, that should be plenty of time to at least get a solid MVP.

>>55694747
Pretty much every decent IDE and text editor can do any of that stuff.
>>
EntityFramework Core Tooling new version fucking when?
>>
Is it possible to connect to a certificate based authentication tls site via an HTTPS proxy? Will it still expose the origination IP address?
>>
>>55700917
Proxy? probably not. Proxies are trash anyway, get a vps.
>>
Can someone point me to some good resources for getting a job? I'm undeniably entry level but I have yet to see a single job posting for entry level.
I applied to some 2 year experience things and maybe they'll let me slip through but I kinda doubt it.
>>
>>55701033
read the OP
>>
>>55701041
I'm not a NEET, I have a full time job
>>
>>55701033

Stackoverflow Jobs
Monster
Indeed

Tons of Jr web dev positions there.
>>
>>55700995
This is for web bots. A semi dedicated proxy list is 100 for $75. To get 100 vps with unique IPs would cost a lot, no? Need to do ~20 concurrent bots.
>>
>>55700917
>connect to a certificate based authentication tls site via an HTTPS proxy?
Chrome: It supports it, but it must be configured through a proxy auto-configuration script because there is no GUI support. This also means not using the "system-wide proxy configuration".
Firefox: Supported in FF 33+

the real answer to your question is why are you doing that and why dont you do something smarter? probably you need vpn.
>>
File: fgh.png (32KB, 1360x349px) Image search: [Google]
fgh.png
32KB, 1360x349px
anyone know how to fix this asp.net error?
>>
>>55702227
reference the componentart library
>>
File: sadf.png (15KB, 473x259px) Image search: [Google]
sadf.png
15KB, 473x259px
>>55702244

tried that but got this error now. Wtf


googling didnt really help
>>
>>55702423
well, what does activitylog.xml say?
>>
>>55702991

this is the last log

  </entry>
<entry>
<record>992</record>
<time>2016/07/22 17:30:37.373</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [ReferenceManagerPackage]</description>
<guid>{48D4A2C1-02AD-4F18-9153-620511BACB7B}</guid>
<hr>80004005 - E_FAIL</hr>
<errorinfo>Could not load type 'Microsoft.VisualStudio.Shell.Interop.IVsReferenceManager2' from assembly 'Microsoft.VisualStudio.Shell.Interop.11.0, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.</errorinfo>
</entry>
</activity>
>>
I have Python code on a server.

I want to send it values with Javascript and receive json.

Possible?
>>
>>55701190
Run your bots through Holla unblocker.
>>
>>55703429
yes
>>
>>55703456
Is that the best you can do?
>>
>>55703470
did you want to know more?
>>
>>55701033
You can try placement programs like LaunchCode.

Beware though, I've been waiting for my interview since March because I'm not located in their area of focus.
>>
>>55703494
Yes. A link to a tutorial or at least a relevant function I could Google.
>>
>>55703538
there are several webframeworks already that you could use without having to implemenent the basics yourself.
https://wiki.python.org/moin/WebFrameworks

either run it through their own server or if you already have one make it run python scripts as cgi.

flask seems pretty minimal, it has a json serializer too.
http://flask.pocoo.org/
http://flask.pocoo.org/docs/0.11/api/#module-flask.json
>>
File: larry david interrogation.jpg (36KB, 500x373px) Image search: [Google]
larry david interrogation.jpg
36KB, 500x373px
You use a static typechecker, right, Right?
>>
>>55703618
Flask it is.

Thank you.
>>
>>55703643
When I'm using typescript, yeah.
>>
I've been designing the website for my band for the past 4 months or so. I've been using wordpress but I built my own custom theme from the ground up so It's basically my own website.

I've gotten to the point where I think it's ready to upload. I've been developing it on a local server. Thing is I don't know the first thing about hosting or FTP.

What host should i use?
>>
>>55705929
SFTP
>>
how do I into webdev in Go? any specific libraries or just the built in stuff?
>>
>>55705929
Read the OP

>>55706329
https://github.com/avelino/awesome-go
this has just about everything you could possibly need for anything related to go. There's a section for web frameworks, but you can do everything just fine just using the standard lib.
>>
>>55687077
This is pretty much the non-startup standard for every jr web dev job.
>>
>>55706329
Is Go the new meme language that will be forgotten in 2 years?
>>
>>55707313
I don't know, I think there are still benefits to using Go. I think in a few years time it wi'll still be somewhat relevant but nowhere near the mainstream.
Probably still below the likes of Python/Ruby in terms of overall use.
>>
I come from the future, I hope you like dart.
>>
>>55708696
>Dart
More like from the past
>>
I come from the future. I hope you like Web Assembly.
>>
>>55708800
When will it be ready? This is important.
>>
>>55707313
Kinda.

Go used to be praised for its CSP. But everyone is porting it to other languages.

https://github.com/dvlsg/async-csp
>>
>>55708812
2 years. There won't be major adoption until binary distribution and multithreading are implemented.
>>
What weapon should I use in the FDL huge hardpoing?
>>
>>55708834
What is the point of CSP with only one thread?
>>
>>55708952
Concurrency =/= Parallelism
>>
>>55709130
Yes, and JS is neither concurrent nor parallel, because there is only one thread.
>>
>>55709176
You don't need multiple threads for concurrency, anon.
>>
>>55709209
Okay, I stand corrected. You can have concurrency with only one thread. It's simply completely pointless.
>>
>>55709243
Parallelism is implemented with single-threaded concurrency, you know.
>>
>mfw I don' understand any of the recent posts above
>>
>>55709301
And? That does not change the fact that concurrency on a single thread offers no benefits at all.
>>
File: asasffafafafsa1.png (2MB, 1920x994px)
asasffafafafsa1.png
2MB, 1920x994px
redid the front and backend for my cancersharing site. what about it looks the shittiest?

new: https://pls.press
old: https://old.pls.press
>>
>>55707313
Since Google is behind it people will use it.

I hate it though. May as well use Java.
>>
should I still bother to learn the javascript DOM if I use jquery?
>>
>>55711300
yes Pajeet
>>
I thought the __proto__ object was native to JS
>>
>>55711300
Yes. Don't start with jQuery. Learn how to use the DOM then use a lightweight convenience wrapper like http://umbrellajs.com/ unless you absolutely need jQuery.
>>
>>55709878
It does though.

Do you even know what an event loop is?

Your single thread is used to actually compute things that need computing, it isn't halted sitting around waiting for IO like disk reads and network requests. Since Javascript is mostly used for the web, network latency is going to account for a ton of IO. If you have to do a network request, you make the request and then throw that on the event loop and do something else while waiting for the network request to resolve. When it does resolve (or times out) it comes back to the stack for processing

You can happily run a webserver serving multiple users on one thread. Which is what Node.js does.

Practically you're going to want more than one thread because your server has more than one CPU... so you just run multiple instances of your single-threaded Node applications, and then throw an NGINX load balancer in front of it. And if you run out of CPUs on that server, you spin up another one and put more instances of your node application on that box and point your load balancer at those as well. It makes scaling pretty fucking ez.
>>
Has anyone found a useful Pokemon Go API? I want to make something as long as the hype is still going.
>>
>>55715267
someone made a map that shows all current spawnpoints
https://pokevision.com/
>>
>>55715288
I saw that but I can't figure out how they did it. There's also an API online that queries pokevision.com but that will obviously be useless if the site gets taken down.
>>
I need to make a small news section for my website, I think the best way is just having it being a twitter/facebook feed, is there an easy way of implementing this. Its a bootstrap site if that makes a difference.
>>
>>55715410
Yuck
>>
>>55715445

Well what is a good idea to do a small news section in my website, any links to sites with good ones are welcomed.
>>
>>55715475
Having a third-party news section is just terrible overall in my opinion.

Just fetch them from the database.
>>
so i have a <video> tag that is the background of a big upper banner portion of my site.
and its either using a webm or mp4 as fall back if webm isnt supported.
however on mobile i want it to just be a background picture rather than the video not due to filesize but to ensure smoothness of operation.
how would i go about detecting if its a mobile device rather than a desktop?
media queries?
some javascript?
are there html tags i can use or some css property?
>>
>>55716501
media queries
>>
>>55716501
Media query would be the easiest way to do it, but video banners are a meme, don't use them.
>>
>>55716611
memes dont matter in a professional environment friend
you do what bossman tells you to do
>>
>>55716501
>not due to filesize
Filesize should be a consideration.

Also just detect screen size via a media query.

Or don't use a stupid video banner at all.
>>
So what's a good & simple CMS to use for a small business site where the owner needs to put some news now and then? Wordpress would be a bit too much for this, I'd rather not bother with it.
>>
>>55716856
Wordpress.
>>
>>55716856
If you want a vast array of plugins and themes that are easy to install and provide a ton of functionality that then completely compromise your server's security as soon as something goes out of date, use Wordpress.

If you just want a CMS then who cares? Pick one.
>>
>>55685119
In ruby, is it possible to make a file_field that immediately activates "submit" as soon as a file is selected to be uploaded? An example of this would be to click the file upload button, select a picture you want to upload, and the moment you've made your selection it's uploaded without having to click any additional buttons. One mainstream website that has this feature is imgur.
>>
>>55717716
document.querySelector("form input[type=\"file\"]")
.addEventListener("change", function (event) {
event.target.form.submit();
});
>>
Is a cs minor and personal projects enough to get a job in this industry?
>>
I need a text carousel. Something like an image carousel made in javascript, except for text. Can anyone point me towards some resources? My googling has just left me more confused
>>
File: image.png (10KB, 371x145px) Image search: [Google]
image.png
10KB, 371x145px
>>55717785
Thank you so much! With several tweaks, I've almost got it working. Unfortunately, I don't really know what I'm doing, even after googling that. The end result is the same as what I've started with. Click the file upload button, click a second time to select a picture, and click a third button to save the changes, now in the form of the "Save changes" button included in this screenshot. Do you know of a way for the new picture to be submitted as soon as it's selected, without having to click something a third time?
>>
>>55718079
what the fuck, I'm out, I can't handle this stupid.
>>
>>55718108
Thanks anyway.

Does anyone else know how to tweak that anon's script to get it to work? The way it was originally posted, it did nothing.
>>
>>55718129
You're retarded aren't you
>>
>>55718151
Calm down. Stupidity is not the same as ignorance. For example, just because you can't speak Greek or any other arbitrary language doesn't mean you're an idiot.

There, I kindly taught you something. Now, would you like to make an on-topic post and teach me anything in return?
>>
>>55718187
You should hire an Indian and have it done for $20
After all you're retarded
>>
>>55718220
Calm down. With that level of off-topic posting and other rule violations, you're only going to get yourself banned.
>>
>>55718079
>>55718129
I don't like spoonfeeding but I'll do it just this once.
The code I posted adds an event listener to the input, so when you select a file it automatically submits.
You're putting the code in an onclick function so the listener only gets attached when the button is pressed.
You need to put the code I posted where it will run right away, either without anything around it after the input, or in a jquery ready callback.

Please try to learn the basics of javascript before asking stupid questions.
>>
>>55718291
It's been over four years since I've programmed anything in javascript or jquery. The last thing I remember making for fun was a randomized bingo board for people to use in a stream. But thanks for the tip, I'll go review the basics of a couple of languages I thought I'd left behind me.
>>
>>55718291
You are one pretentious diecked senpai. You could have helped him without being a cunt. But then again this is 4chan
>>
I've got LAMP setup and I've registered a domain name. How to make domain point to my server?
>>
File: image.png (11KB, 360x129px) Image search: [Google]
image.png
11KB, 360x129px
>>55718108
>>55718151
>>55718220
>>55718291
After studying this for a short while, I discovered that the proposed solution was inherently flawed. I asked for a hammer to fix a problem, someone handed me a screwdriver, and they got offended when I was unable to use their screwdriver as a hammer. Here's the working solution. And by the way, the button was only a temporary test to see if the function would even work at all if it was forced to activate in an extremely straightforward manner, not unlike adding puts statements to methods for the sake of debugging. I probably should have clarified that even further than I already did in the first place, but I often forget that when it comes to dealing with minors and idiots, you usually need to explain the same concept to them twice.

In addition: being unable to think of any insults other than "retard," "retard," and "retard" strongly suggests that you're underage, as any adult will tell you. On the unlikely chance that you're not quite a child anymore: mentally, you've still got quite a bit of growing up to do.

Unlike you, when I say I'm out, I mean it.
I'm out, and I can't wait for summer to be over. Have fun bitching at people on 4chan over your own mistakes. As you already spelled out for everyone here, you really were the fool all along. Next time, consider testing your incorrect answers before assuming you're incapable of making mistakes, blaming others for your mistakes, and shitting up a perfectly good thread.

Possible repost due to ongoing connection issues all day.
>>
>>55718036
Spans with text and CSS3 animations.
>>55719275
A records.
>>
>>55719487
>this entire post
jesus christ how can one person be so mad?
you're a fucking idiot, learn to live with it
>>
File: Appchan.png (3MB, 2425x2238px) Image search: [Google]
Appchan.png
3MB, 2425x2238px
Hey guys, is Appchan X dead or something?
Hasn't seen an update in months.
Is Zixaphir still alive or will someone have to take it over and fork?
>>
Hi, I know it´s selfish and lazy, but I have entered here basically because I want to learn about everything, it´s not a bluff. I am also a newbie in 4chan, I entered here because of a friend of mine so i don´t really know how to move on the site web. In summary I just want to know how things works not only in 4chan but also about learning about computers, technology etc.
thanks in advance
>>
>>55720924
>last commit 5 months ago
yeah I'm pretty sure it's dead
there's no reason to use anything other than ccd0's 4chan X fork nowadays, if you want mascots just add them yourself with custom styles
>>
>>55721118
Fuck off, this isn't a blog
>>
What registrar should i be using?
>>
>>55721118
>thanks in advance
For what? You didn't even ask anything.
>>
>>55717841
Sorry anon, you'll never make it if you don't have at least a master's in CS, master's in CE and 3 articles published in well-known scientific journals. Maybe waiting tables would be more your style?
>>
>>55721516
namecheap
google domains
>>
>>55685730

Is DRF the best (time, easiness) to create APIs? I have used node (hapi.js) for quite some time but django seems like the comfiest options to develop APIs
>>
Need a way to test how my site will look on screens with different resolutions.
>>
>>55723742
There are loads of tools to do that, just google it.
>>
>>55721599
You forgot a UX/UI or HCI masters degree.
>>
How should I send a password through POST?

Does it matter if it goes through SSL?
>>
>>55724348
Yes, POSTing it is fine, just don't store it in plaintext anywhere.
>>
>>55716611
Video banners are impressive to retarded HR. Great for personal sites. >>55716611
>>
>>55724348
SSL is a must or else anyone sniffing the packets crossing the network can easily see it.
>>
any IDE that auto compiles SASS once I hit "save"? I hate clicking refresh on koala every time I changed something.
>>
>>55724412
POSTing it is only "fine" if you don't worry about packet sniffing.
>>
>>55724685
And encryption solves that.
>>
>>55724622
There's a package for Sublime that compiles SASS. You can even set your own keybind to save and compile at the same time.
>>
>>55724622
Most build tools (grunt, gulp, webpack, etc) have plugins that can do that.
>>
>>55724622
Atom.
>>
when a company says 2 years experience does that mean entry level? Because that is what I would take it as but I don't know whether or not to apply for this job.
>>
>>55725124
apply anyways
>>
>>55725135
Yeah I should've know that I'm just unsure of my abilities is all.
>>
File: Capture.png (21KB, 531x243px) Image search: [Google]
Capture.png
21KB, 531x243px
So Object.create is pretty much the same thing as a constructor except with the onject create method you don't get the constructor method?
>>
>>55725194
What they say is mostly a best-case scenario, as long as you're not 100% retarded you should apply anyway and you'll stand a much better chance than the cucks who take is literally.
>>
File: Capture.png (47KB, 1038x403px) Image search: [Google]
Capture.png
47KB, 1038x403px
Well, I have to hand it to them. Of all the rejection emails I've gotten so far this one is probably the most 'unique'.
>>
>>55725921
Let me guess, a startup?
>>
>>55725946
Seems like it, they're a really small team apparently.

I spent over an hour filling out their fuckery application that consisted of questions like "If you were to return to earth after death, what animal do you think you would return as?". Or my personal favorite, "Tell us something embarrassing about you that you wouldn't want anyone to know". Feels more like a hippie cult than an actual business.
>>
>>55725921
Fucking hell, be glad you didn't end up with those autists.
>>
>>55726052
All you had to do was put that you were a php daimyo and you would've had the job.
>>
Hey /wdg/

What are 3-5 good, short and long term goals for a front developer in current market situation?
>>
>>55717841
sure. I went to art school and am self taught in cs. just make sure you read a lot of books and keep working hard and upskilling. been doing it for 8 years and now am on 150k, leading a team
>>
>>55718129
stop trying to "tweak a script to make it work" and try to understand the fundamentals. you'll have a much better time
>>
>>55725921
holy shit is this real? i guarantee you they couldn't pay you anyway, and are probably under some kind of special care
>>
>>55727072
learn javascript properly
learn react
learn elm
write a demo game with canvas and webaudio apis
write a simple chat app with a nodejs backend and websockets
>>
Fucking MVC pattern is so confusing.
>>
>>55729014
design patterns are memes
>>
>>55729014
what's confusing you?

t. mvc enthusiast
>>
>>55729014
It's not confusing at all

M. Models of your shit. Say classes
V: Views our your shit, the ones that get user input
C: Controllers of your shit, the ones that push stuff into the DB
>>
>>55729068
Gotta say, Django is so far the best web framework
>>
>>55729099
You mean Express.
>>
>>55729099
My favourite is flask.
>>
>>55729099
weird way to spelll laravel but ok
>>
File: 1398310291466.jpg (41KB, 500x402px)
1398310291466.jpg
41KB, 500x402px
Could someone tell me what's wrong with this code? It's flask and try to make it display and error message if the password don't match
#!/usr/bin/env python
from flask import Flask, render_template, url_for, request, redirect, session, abort
import sqlite3
import os
import hashlib
import urllib2
from flask_wtf import Form
from wtforms import TextField, PasswordField
from wtforms.validators import DataRequired, EqualTo
from flask_sqlalchemy import SQLAlchemy
app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////nn.db'
db = SQLAlchemy(app)
app.secret_key = 'dhdfdjfd'
class User(db.Model):
id = db.Column(db.Integer,primary_key=True)
username = db.Column(db.String(80), unique=True)
email = db.Column(db.String(120), unique=True)
def __init__(self,username, email):
self.username = username
self.email = email
def __repr__(self):
return '<User %r>' %self.username
class Createacct(Form):
user = TextField('Username', validators=[DataRequired()])
passd = PasswordField('pass', validators=[DataRequired(), EqualTo('r_passd', message='Passwords do not match')])
r_passd = PasswordField('Repeat Password', validators=[DataRequired()])
@app.route('/register', methods=['POST', 'GET'])
def login():
form = Createacct(request.form)
error='Password don\'t match'
if request.method == 'POST' and form.validate():
username = form.user.data
passwd = form.passd.data
return render_template('login.html',form=form, error = error)
return render_template('login.html',form =form)



template
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<form method='POST' action='/register'>
<b> Create account</b>
<dt> Username</dt>
{{form.user}}<small>{{error}}</small><br>
<dt> Password<dt>
{{form.passd}}<br>
<dt> Repeat password</dt>
{{form.r_passd}}<br>
<input type='submit' value='login'>
</form>
</body>
</html>


>>
>>55729829
> could someone tell me what's wrong with this code
m8... you're using Python
>>
>>55725921
good lord

in what universe is this remotely close to professional?

> work in the bay, at startups, never seen this shit
>>
>>55729829
Use pep8 m8
>>
React or Memengular?
>>
>>55729979
React
>>
>>55729970
>>55729848
So you don't know?
>>
>>55729014
MVC is simple, you are probably overthinking.

>>55729050
Let me guess, you are code artisan who writes Angular apps on your Mac.

>>55729068
False.
M aka Models: data management and processing, usually something for getting data in and out of database.
V aka view: to actually give some output for users, usually some sort of templates like HTML templates.
C aka controller: handles user input and decides what to do with it like show correct view or gather data and and give it to models for further processing.
>>
>>55729979
Both are shit, but React at least performs substantially better.
>>
How can i make plain js not re render the entire dom when it gets updated like in react?
>>
>>55731609
<script src="https://fb.me/react-15.2.1.js"></script>
<script src="https://fb.me/react-dom-15.2.1.js"></script>
>>
I dont understand this DOM rendering thing and how awesome React os for just patching parts of it instead or redrawing the entire thing. Is it really that intensive? And does the DOM always re-renders after every little change? Even when using ajax?
>>
>>55731650
Different anon here, is it good practice to link like this? Or to download it and link to that file? Pros and cons of both?
>>
>>55731801
>I dont understand this DOM rendering thing

"Rendering the DOM" refers to when the browser takes the html code for a web page, converts it into an object tree (hence the Document Object Model), and draws it inside the browser window. The drawing part is somewhat slow, and running Javascript code is fast (relatively speaking, fuck off /dpt/ nerds), which means you generally want to avoid re-rendering the DOM unless you have to.

>how awesome React os for just patching parts of it instead or redrawing the entire thing.

We're talking about facebook's React web framework. React OS is an unrelated attempt to make a FOSS windows clone or something.

>And does the DOM always re-renders after every little change? Even when using ajax?

It will re-render after any operation that changes something in the DOM. AJAX operations would not make it re-render if you're just loading something into memory. If you take the thing you just AJAXed in and insert it into the DOM somewhere, that would make it re-render.

>>55731832
Depends on who you ask. You can do either, just be consistent with it. It doesn't make a massive difference either way most of the time to be honest.

Pros
- Saves you bandwidth by passing the buck to the CDN provider.
- with http/2 it should download it concurrently with all other files so bottlenecking is minimized.
- If the user has already visited another site using the same thing from the same CDN, they already have it cached in their browser, no need to download.

Cons
- If the user is located farther away from the CDN server than from your server it could be a bottleneck. If all the dependencies for your site are on your server, they'll all take the same amount of time to get to the user.
- Theoretically if the CDN was compromised, someone could use it as a possible attack vector.
>>
>>55731801
You pass in state as "props" in your React components, and only if this state is changed, the component gets re rendered.
So if stuff happens which doesn't change the state affecting components, nothing gets rerendered.
If you pass a boolean flag like "isFetching" to your component which gets changed before and after your AJAX request, then the component gets rerendered by AJAX.

Virtual Dom is "awesome" because you just pass in the state into your components and the state gets rendered by your components, you don't manually have to update DOM components at all, just change the underluying state and the UI gets updated by React.
>>
Unironically going through the Angular2 tutorial. Wish me luck
>>
>>55732495
i think >react os for patching
was just a typo of 'react is for patching'
>>
>>55732548
Reading comprehension is for squares.
>>
>>55693794
Multiply your estimate by 2 or 2.5.
>>
File: 1464783841467.png (584KB, 836x678px) Image search: [Google]
1464783841467.png
584KB, 836x678px
>>55725921
Dodged a bullet there.
>>
What's the best way to get MySQL 5.7 on Debian 8? Dotdeb doesn't seem to have it in their repos and with all the trouble I've had with apt based distros in the past I thought I'd ask before fucking up all of my packages

Before you ask I need it for JSON as a native datatype. Could cut out a shit ton of overhead
>>
>>55733525
docker
>>
File: eAMI84p.gif (459KB, 200x158px)
eAMI84p.gif
459KB, 200x158px
>>55725921
https://www.themiddlefingerproject.org/

What the fuck even is this?
>>
>>55733525
>Before you ask I need it for JSON as a native datatype.
Why not use Postgres?
>>
Finished my first project and I'm getting the hang of everything, with one exception.

I can't fucking wrap my head around actually deploying the thing on a server. I have a domain name and a vps, and I want to get my node app running and accessible via the domain. Are there any foolproof tutorials for this?

The domain registrar lets me set nameservers and DNS records. The vps host lets me set a hostname. What magic combination of all this and serverside software do I need to use?
>>
>>55734105
site gave me a headache
awful use of fonts and "colors"
>>
Hosting question: I have several small portfolio-tier web apps that I'd like to show off. The traffic on them would be effectively nil most of the time, except the occasional recruiter and such. Most likely, they'll never even see two concurrent users. Performance is basically not a concern, just uptime.

What is the best way to go about hosting them? I know heroku / redhat / etc. offer a free tier, but that's usually for one app-instance. Should I just mash all of them together into one mega-app and use that? Or is there some other service tailored to hosting multiple very low traffic apps that would be better? Self-host on a Pi at home, maybe?
>>
>>55734284
>add DNS record pointing to the IP of your vps
>start app on port 80 of vps

I know it's pretty complicated but don't give up, you'll get it eventually
>>
>>55734385
ERR_CONNECTION_REFUSED
>>
>>55734472
you probably have something blocking port 80, check your firewalls
>>
Is it worth paying the 70€ for Sublime or should I just use a crack
>>
>>55734818
You don't need a crack, just google "sublime text 3 keys" and try them till you find one that works. You should support the devs if you can though.
>>
>>55734886
shouldn't you block a port or something, like when you crack adobe?
>>
>>55734914
Keys are per user, not per machine, so they don't check. Feel free to block whatever ports you want though if it makes you happy.
>>
>>55734348
$15/year VPS, heroku, etc.

Anything that isn't shared hosting
>>
>>55734479
Turns out it was a problem with pm2, which I resolved.
>>
Is it worth learning three.js? Seems pretty cool, but older browsers don't run WebGL so good
>>
>>55735177
fuck 'em

If they're still using IE8 they're either too stupid to upgrade and thus too stupid to understand your fancy 3d shit or they're trying to view your site on a walmart POS or something in which case they should instead use that time to make a resume and get hired somewhere that doesn't use shitty browsers.
>>
File: 1306192907700.gif (349KB, 135x101px)
1306192907700.gif
349KB, 135x101px
>>55725921
>>55734105
>"middlefingerproject"
>poser name evoking rebellious lack of hormonal stability
>that e-mail
>that stupid site layout

If this isn't one of those "feminist coding startups", i don't know what is.
I could tolerate the e-mail knowing it was written by a female,
but if it was a male then it was the biggest hipster faggot in history and you are better off getting rejected either way. You have been sparred your sanity.
>>
I have to do a small project - a ""webapp"", it should read from a DB with people, list them. They have name + a number. The number+.jpg should be used to locate and show the picture in a pop-up. Additionally I'd need to add/remove/edit records, and to implement a counter for every picture that has been visualized.

How would you do this ? I was thinking in just an /images folder with all the pictures. Or to extend the table/add a new one with FKs + image ?

I can use whatever I like.
>>
>>55735787
>I was thinking in just an /images folder with all the pictures

Store the links to the pictures for each user in the database along with their information. You don't need another table for that.
>>
Hey, I'm just wondering... I've been trying to put together a fucking site that also supports non-JS users, and it's becoming increasingly annoying.

Exactly how important is it to support non-JavaScript users?
>>
File: fair enough.jpg (82KB, 720x960px) Image search: [Google]
fair enough.jpg
82KB, 720x960px
>>55736042
yeah, that might be easier.
or just "/images/"+$number+".jpg"
>>
>>55736270

Yeah. Shouldn't take you more than a few hours to do this.
>>
>>55735787
Sounds simple enough.

>I was thinking in just an /images folder with all the pictures.

That's generally the best way to do if you have access to the file system. Depending on what db you use, you can also store images as blobs but it's not very efficient.

Some advice if this is your first time making a CRUD app: start with the backend and start small. Make sure your app is up and running and returns a small confirmation message for each API endpoint before even thinking about the DB.
>>
>>55736270
>that image

but y
>>
>>55735787
>it should read from a DB with people, list them. They have name + a number
small php script that reads from a MySQL database would work well.
>The number+.jpg should be used to locate and show the picture in a pop-up
jQ to change the display mode to fixed, and have a background behind it. keep the image originally in a container div, so when it's NOT zoomed, it is still 100%, 100%.
>Additionally I'd need to add/remove/edit records
jquery/JS+AJAX to load a submission page of PHP in a background div that doesn't show. Have it create a div (non-displayed) with any errors, and jQ it to display any relevant error in one of the displayed divs.
Otherwise, the error should say something like "Success"

>and to implement a counter for every picture that has been visualized.
what do you mean? Like count ever picture that's been clicked? keep a running tab of all clicks by every user for every picture?
could make a table that foreign keys to the image, and add a new record every time it's clicked.
then run a count(*) where the imageID=whatever
alternatively, you can lock rows and update them. 1 for each picture.
>>
What can I do with $150 of azure credits every month? I got an MSDN subscription that doesn't seem to expire and comes with a monthly allowance of azure credits.
>>
>>55736315
thanks for the support, pham

i am going slowly while doing a web-dev bootcamp, which was linked here before.

>>55736353
thank you too

>>55736365
'cause the Y's hinge broke and it was bugging me.

>>55736379
Thanks you too, I will save follow your pointer when I get to these points. The php+html part is ready, did some styling + bootstrap.
>>
File: wot.jpg (164KB, 490x368px) Image search: [Google]
wot.jpg
164KB, 490x368px
>>55736353
>if you have access to the file system. Depending on what db you use
yeah, i'm hosting it with xampp for now. and I think storing the images in the DB would be just too complicated for a shit project like this.

>>55736379
>what do you mean? Like count ever picture that's been clicked?

To add in the definition data base an additional field for each name, which should count how many times this name has been clicked (and the corresponding image displayed).

would mean
a query getting executed with each pop-up with image, which does count++
>>
>>55736401
mine buttcoins
scrape animus and porn
https://github.com/alexjc/neural-doodle
>>
>>55736379
>add a new record every time it's clicked.
>then run a count(*) where the imageID=whatever

Might be a bit more efficient to update the counter for that image instead of adding a new record every time then counting. But this is a small webapp so I guess performance won't be the highest priority right now.
>>
>>55734886
What does the full version even do other then stops annoying you with the full version pop up?
>>
>>55736499
That's all it does. That and remove the {UNREGISTERED VERSION} or whatever it says from the menu bar so all those sexy nerd chickas and your next hackathon don't find out you're a cheapskate jew.
>>
File: image_2.jpg (45KB, 453x650px)
image_2.jpg
45KB, 453x650px
>>55736532
They would never even consider thinking I'm a jew when I show in this bad boy to my hackathon. Their pants would slide off due to the wetness it causes and then I'd be porking their holes.


Thanks tho
>>
File: IMG20160709_221748_1573146163.jpg (89KB, 600x547px) Image search: [Google]
IMG20160709_221748_1573146163.jpg
89KB, 600x547px
>>55734105
This has to be fake right? Wtf am I even looking at? This is an elaborate ruse by /g/ right???
>>
it's really fucking spooky at how many websites went through the whole "make everything look like a real notepad" aesthetic
>>
>>55736797
what do you mean?
what is said aesthetic?
example?
>>
>>55736811
http://www.judihadley.com/
http://www.kevinwelch.com/
>>
>>55735177
three.js is worth it, ditching the older browsers, I'm using it too, wouldn't go back for certain stuff
>>
>>55736838
heh.
I've seen some stuff like that before, now you mention it.

But, why's it spooky?
>>
>>55737029
Creepy due to how widespread the design actually was. Like everyone at one point was blind and thought "yeah this is a great idea". But also imitating real objects as the basis of websites freaks me out but that's more of a personal thing.
>>
File: Screenshot2010-06-12at94132PM.png (268KB, 480x365px) Image search: [Google]
Screenshot2010-06-12at94132PM.png
268KB, 480x365px
>>55737029
Because those two people died in the 1934.

Dun dun dunnnn
>>
>>55737074
>But also imitating real objects as the basis of websites freaks me out but that's more of a personal thing.

That's weird because websites not imitating real objects freaks me out

Fite me irl
>>
>>55737132
oki
>>
>>55737132
Are you 80?
>>
>>55737074
Not really it's just an obvious medium for a Jr. High tier project. Blogs and some websites are just someone's notepad. Shit ass notepad apps made to look like a notepad are the norm. It's just a natural uninteresting progression for the medium to feign personalization.
>>
Anybody working on some cool projects?
>>
ok, what the fuck?

I'm using links to post using AJAX to open modules on my site.
For instance, a profile page has the href of "?mod=usr&usr=[user's id]"
AJAX posts this if clicked, but for some reason the index is "?mod", so in other words "$_POST['?mod']"
When stored, this becomes "%3Fmod", which is useless to my site and redirects to the index.

I can just remove this, but why the hell is it doing that?
I'd rather not use extra functions to remove extraneous input if possible. I'd rather just figure out why it posts with the extra question mark, and go around it.
>>
>>55737436
Still slowly advancing on realtime imageboard in Go and TypeScript. Working on thread creation frontend.
>>
>>55737436
I'm working on an rpg random character generator
>>
>>55737585
Post your code maybe?
Do you expect us to guess what your code is and why it isn't working?
>>
>>55737074
In 10 years people will be saying the same thing about our parallax scrolling and hero welcome sections.
>>
>>55737585
>href of "?mod=usr&usr=[user's id]"

That's it? That is what the entire href looks like or is there an actual URL before it?
>>
>>55738147
/wdg/ must be from the future then.
>>
>>55738113
>>55738181
Nvm, I did something else and got it to work.

and yes, that was the whole link.
It's supposed to work as a single-page application.
Every single module on the site is a child of index.php, and the index grabs modules using either GETs or POSTs
>>
>>55686974
Coding is still the same languages, C will look the same from an American programmer as a Japanese except for maybe some variable names
>>
Hosting question: I have several small portfolio-tier web apps that I'd like to show off. The traffic on them would be effectively nil most of the time, except the occasional recruiter and such. Most likely, they'll never even see two concurrent users. Performance is basically not a concern, just uptime.

What is the best way to go about hosting them? I know heroku / redhat / etc. offer a free tier, but that's usually for one app-instance. Should I just mash all of them together into one mega-app and use that? Or is there some other service tailored to hosting multiple very low traffic apps that would be better? Self-host on a Pi at home, maybe?

selfish bump good question though, it demands an answer
>>
File: Untitled.png (52KB, 1071x537px) Image search: [Google]
Untitled.png
52KB, 1071x537px
I'm making a soundboard of my friend rageing at cod, I want it online so my other friends can fuck with it. How can I make a button press play a .wav file? or any other sort of audio file?
pic related, its the C# version I made
>>
>>55738491
Cheapest DO/Scaleway VPS.
>>
>>55738529
html5 tag audio should work just fine
>>
>>55738529
Make them all clickable buttons, and hide the actual player?

Probably JS can activate the player. Just make sure you have IDs for everything.

http://www.w3schools.com/tags/tag_audio.asp

Never tried this before. Lemme know if you get it to work
>>
>Open laptop to start working on my personal project 6 months past deadline.
>realize 7 hours has passed and I'm still just shitposting.
>>
>>55738758
Same here but it's been seven years now.
>>
>>55738331
Dude, use url rewriting
>>
>>55738758
The feeling is even worse when you're getting for a project but you waste time shitposting.
>>
>>55738147
>In 10 years
but we're already hating on it
in 10 years it'll probably be all this lazily implemented material shit on the web
>>
>>55738758
same here but 4 months
>>
>>55738758
>>55739024
>>55739157
>>55739554

All you undisciplined faggots get off 4chan right now and get to work. You should be ashamed of yourselves. You're lucky enough to be part of an industry tons of people dream about.
You could be roofing or cleaning up old people for a living, but you have opportunity at your fingertips. All you need to do is reach out and take it. Go make some cool shit, anons, I believe in you.

But do come back every few hours and keep the thread bumped.
>>
>>55739642

Even if I get off 4chan I'd just end up shitposting somewhere else.

I feel as if there's no work ~ reward dynamic here. If I were being paid good money for this I could easily sit here and code for hours on end. Gonna go work on a project now though, but I won't be totally happy doing it.
>>
We have a team of 3 devs and one other guy, I don't know what the fuck he does really. He's basically the marketing/project manager type but we haven't really defined all the roles.

Anyway, we're blank senpai. Between us three we know at least 6 languages with each of us mastering at least 1. Coding might seem like the hardest part of any endeavour but for us it seems like finding something that is not necessarily unique but interesting to build is the hardest part.
>>
>>55740111
Then build something your team can drastically improve on that already exists.

And then grow from there.
>>
>>55739642
I know this was supposed to be motivational, but really it just makes me want to shitpost more
>>
>>55685949
Literally learn SQL you moron.
>>
>>55740293
>Literally

As opposed to what, figuratively learning it?
>>
>>55740327
metaphorically learn SQL you moran
>>
>>55739024
I meant to reply to you 2 hours ago.

I'm at work so I was having a nap.

I just realized the shift was over 10 minutes ago.
>>
>>55740197
That's actually a good idea. I'll suggest it, thanks.
>>
>>55740232
This.


You know we're all lazy because new threads never get made in time.

Staring at the computer makes me tired these days. Wish it didnt.
>>
>>55740405
>I'm at work so I was having a nap

Are you the manager or some shit?
>>
>>55740408
Trust me, there's a LOT that can be improved that just isn't for whatever reason. Even if it doesn't have massive impacts, it's still a project that you and your team have worked on where you can look back on and realize "look we accomplished this, we can do XYZ".

It's easier to innovate than to try and come up with that brilliant and unique home run.

>>55740444
Yeah. Not so much the tired thing, I've been into yoga a lot lately, but studying does wear me thin, and studying is at least a good 30% of the work.
>>
>>55740459
No but he's is away for the week. I have my own office and no one to watch me.
>>
>>55737870
http://www.theatlantic.com/technology/archive/2016/07/the-six-main-arcs-in-storytelling-identified-by-a-computer/490733/

What about a random RPG generator? Constructs entire stories for RPGs randomly, with enough structure for it to be coherent.
>>
New Bread

>>55740568
>>55740568
>>55740568
>>
>>55740531
Not him but this sounds fun.

Im pretty sure there is a game idea generator out there.
>>
>>55740531
oh forgot, make it seed based. That way if you happen to play a REALLY good randomly generated story it won't disappear into oblivion. You can save the seed and share it too.

I really wish I knew how to program better or I'd do this myself. Too many ideas and not enough knowledge.
Thread posts: 325
Thread images: 26


[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.