[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
\/wdg\/
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 119
Thread images: 11
File: wdg_eow.jpg (154 KB, 1200x630) Image search: [Google]
wdg_eow.jpg
154 KB, 1200x630
"Where were you when WW3 started" edition?

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

> Tutorials & Resources
https://www.codecademy.com/ — Learn to code.
https://www.bento.io/tracks — Start here if you’re new.
http://www.theodinproject.com/ — Alternative to above, focused on Ruby on Rails back-end.
https://developer.mozilla.org/en-US/Learn/Choose,_Install_and_set_up_a_text_editor — Choosing a text editor.
https://libraries.io/ — Discover new open source libraries, modules and frameworks.
https://www.coursera.org/browse/computer-science — CompSci courses.

> Getting Hired
https://pastebin.com/4YeJAUbT/ — NEET Guide to Web Development
http://elliotec.com/how-i-got-a-job-in-web-development/

Previous thread >>51514875
>>
File: 1443912031405.jpg (954 KB, 1800x1195) Image search: [Google]
1443912031405.jpg
954 KB, 1800x1195
I need some help with the phrases to use for sorting.

what can be used for the opposite of: Recently Added and Ending Soonest?

the sort options are shown in a dropdown
>>
>>51545941
I'm just going to go with "Ending Soonest" and "Newly Listed" I think, nvm
>>
>>51546053
Recently added -> Newset
Ending Soonest -> Ending soon (Closing soon)
>>
What are some beginner java script things I could do to get the hang of scripting for my sites? All I can really think of atm are responsive nav bars or related things
>>
>>51545941
Oldest
&
Last Chance
>>
>>51546385
image slider
>>
I'm learning the MEAN stack
Why does everybody encourage making a fancy directory structure? Is it fine to use a single .js file for small sites?
>>
>>51547938
>mongoDB
>>
>>51547938
You can choose which files should be combined into a single one with browserify.
>>
>>51547981
I mean for server-side code
>>
>>51547938
>Why does everybody encourage making a fancy directory structure
for organisational purposes, you'll get lost in a 300+ lines of code file.
>>
>>51545779
This is a lot better than having the face of Eliot. Putin it in the puss!
>>
>>51547938

For general purposes methods shouldn't be more than 5 lines of code and files shouldn't be more than 100 lines. Learn to separate stuff so that it works independently and can be reused anywhere rather than coupled to one specific class or function or whatever.
>>
>>51549265
>methods shouldn't be more than 5 lines
That is overkill on brevity. It is fine if a method is 30-40 lines long. There are many cases where method parts are not reusable and splitting them would only complicate things, by having to pass many variables to each split method.
>>
for those of you with with a job in the field, how harsh is your noncompete? I just got a job and mine is a year-long, 10 mile radius. Didn't sign yet.
>>
>>51550159
Not i the field but how comprehensive is your job title and role and what does the non compete specify as prohibited jobs? Anything in web design or just the specific job your are applying for?
>>
>>51550267
Haven't started yet or read the agreement, just know that I got the job, but during interviews this noncompete was stressed a couple of times and seemed to apply to what I would be doing there: front-end development with some backend (php).
>>
>>51550392
Read it thoroughly, check if it specifies skills and roles or just titles and such, because if you can negotiate a new job in the future and you can just have them make a bullshit job title to get around it then do it. If you have a lawyer you should get them to read it over and lay pout exactly the do's and don'ts of the noncompete. Maybe you have a free community law center near you?
>>
>>51550460
Thanks, good idea. Has this worked for you or happened to you? And I guess if my future employer really wants me, they would be willing to work around the noncompete with me? I would hope anyway.
>>
File: pic_angular.jpg (7 KB, 225x225) Image search: [Google]
pic_angular.jpg
7 KB, 225x225
now that angular is kill, what else should we use?

react??
>>
Fucking mod rewrite

Can any kind anon tell me what I put in htaccess to turn:

example.com/products/product.php?id=1

Into:

Example.com/product/productname

Product name comes from the database and is at the top of each page based on the I'd

Sorry if I am missing something obvious
>>
>>51552152
Backbone without jQuery.
>>
I need to make a site authentication so you can't use a page on a site without being logged in. What is the best way to do this? I'm currently trying to make a token, but it doesn't seem to be that easy.
>>
>>51552152
I'm learning react atm

just picked up a freelance job that I'm going to be using it on despite only just learning it

wish me luck :^)
>>
File: lumen.png (17 KB, 800x300) Image search: [Google]
lumen.png
17 KB, 800x300
What do you guys think of micro-frameworks?
>>
>>51553506
I would need one. Is it hard to convert laravel 5 app to lumen?
>>
Is Laravel worth of learning? I mean "learning" because it probably follows same logic as any MVC based framework but still , does it have future?
>>
>>51553768
its probably the most popular php framework..
>>
>>51552152
how come angular is kill? When did this happen?
>>
>>51553768
It's PHP, so no. Not unless you're for some reason forced to maintain some legacy app that uses it.
>>
>>51553977
what should he learn instead?? inb4 javascript
>>
>>51554063
C#, Go or Node.
>>
>>51552176
Brehs
>>
>>51554133
node is not a language you fucker!!
>>
>>51553977
What is it with you people and php? Why are you so against it , why you act like you know shit? PHP is most widely used and it's frameworks are superb for their job.
>>
>>51554226
I never implied it was, faggot.
>>
>>51550611
In other industries, not web design. Good luck bro.
>>
>>51553506
I prefer Slim. If your project will become a bit more complex in the future, just use Laravel... or Phalcon.
>>
>>51554232
they probably don't know shit about php desu famiglia
>>
>>51554133
This.
>>
>>51554232
No matter how superb a framework using PHP is, you'll still be forced to code in ugly weakly typed PHP. There is no reason to use PHP other than maintaining or extending existing legacy apps that can't be rewritten easily.
>>
>>51552152
Aurelia.
>>
if($('#panel1a').hasClass('active')) {
$('.ion-chevron-right').toggleClass('ion-chevron-down');
console.log('this works');
}


why doesn't the above code work
>>
>>51554940
There is no reason to use "no reason" all the time man.
>>
>>51555196

Syntax looks OK - does console.log get triggered?
>>
>>51553506

I love using Fat-Free Framework
>>
>>51555269
no, it says it's undefined. Is it something in codekit that fucking it up?
>>
>>51555374
Are you getting any other error messages in the console?
>>
>>51555480
nothng in the console. That message appears in codekit. Am i using that if statement in the right way?
>>
>>51555254
there is no reason to tell the "no reason" guy that there is no reason to use "no reason" all the time for no reason
>>
>>51555501
It seems like you are using it correctly. Try double checking to make sure the class names and the div names are correct.
You could put the code on jsfiddle as well so we could debug it further.
>>
>>51553506
bossman is making us use slim

seems alright
>>
>>51555196
>>51555269
>>51555501
>>51555656
Why are you faggots using console.log and not breakpoints? If you really have to, put a debugger statement above it.
>>
>>51555740
Explain anon. I'm new to this shit
>>
>>51555967
Linking Chrome, because they have the objectively most functional developer tools.
https://developer.chrome.com/devtools/docs/javascript-debugging
>>
do you guys know tricks like document.designMode="on" ?
>>
File: WebComponentsPolymer.png (52 KB, 640x400) Image search: [Google]
WebComponentsPolymer.png
52 KB, 640x400
is this the future
>>
>>51557019
If it ever becomes native. Same for Wasm. However, ES6/7 is the future.
>>
What would you do, if you could execute any JS live on an imageboard through websockets?
>>
Am i the only faggot who uses phalcon? Should i use something else? Works great for what ive done so far.
>>
>>51557019
At the risk of sounding like a retard... what even is Polymer?
>>
>>51557234
>php
yes you should use something else
>>
>>51545779

Does he watch Russia getting nuked?
>>
File: 12111213213.png (1 MB, 786x689) Image search: [Google]
12111213213.png
1 MB, 786x689
>>51553506
>PHP
>>
File: 1448312157793.gif (60 KB, 320x320) Image search: [Google]
1448312157793.gif
60 KB, 320x320
Wasn't sure if stupidquestionthread or this one was the one but it's probably more relevant here. A few years ago I did an internship for a couple of years learning/doing webdev and I mostly used js/php frameworks from what I remember. I want to get back into it and just remember the headaches of it. I was looking at meteor and I've been relearning everything.

Is it a waste of time? Are there better alternatives if I wanted to get back into webdev?
>>
>>51558069
>meteor

I'm confused. Are you trying to learn a PHP framework or something else?
>>
>>51558069
There are many alternatives, meteor is not one of them. Any experienced backend dev will likely fire you for insisting mongodb, which meteor is locked into. Try node.js, Go and C#. If you are fine maintaining someone's broken shit for money, touch up on PHP/Laravel.
>>
>>51558313
Just wanting to avoid php alltogether and wanted to do both backend/frontend.
>>51558378
Thanks. Don't know anything about Go but I guess I'll backtrack to node.js.
>>
What music playlist do you guys listen to when studying? Right now I just tune into "Classical Studying" on Pandora but that makes me feel like a lame-o.
>>
How do explain your job to tech illiterate relatives
>>
>>51558638
https://r-a-d.io/ or some 2hu I have on hand.
>>51558949
I make websites.
>>
>>51558445

I agree with >>51558378 about node.js. Laravel has a steep learning curve (oddly enough, the newest version came out months ago but there are no good video tutorials on YT - and its a bit different from the last), but once you get going you're golden.
>>
>>51559007
There's also Laracasts
>>
File: Screenshot - 271115 - 22:45:18.png (171 KB, 1366x768) Image search: [Google]
Screenshot - 271115 - 22:45:18.png
171 KB, 1366x768
bump
>>
>>51559104

Yeah that's true, just found this. I assumed they were a paid service so I never really looked into it.
>>
>>51560683
Looks good, but I believe the HTML should be in a separate file.
>>
>>51562491
It's just one message I send through websockets.
>>
>>51557986
>Does he watch Turkey getting nuked?
FTFY
>>
>>51552152
React will probably be big. Everyone and their mother is using it for mobile apps now.
>>
>>51558949
I don't work for free
>>
>>51558949
"You know the guy that made facebook? Imagine a far poorer version of him."
>>
>>51566802
"Why are you so poor, Anon?"
>>
>>51567532
The facebook guy stole all my ideas.
>>
I can do basic Javascript use JQuery UI animations. Can I bullshit my way through an easy freelance project yet for experience?

lol
>>
CAN SOMEONE TELL ME THE FUCK why only Adobe DreamWeaver has predictive text technology?

you know, when i type this;

<img src (and it brings up all available text commands to auto complete the insert image function)

I tried NotePad++ and Sublime Text but they didn't have any auto-complete

Good DAy
>>
>>51545779
world war /g/ee
>>
Sorry, maybe i should have posted my thread/question here:

>>51569705
>>
>>51569508
Brackets has it.
>>
>>51569508
you could have installed some plugins which add autocomplete you idiot.. but never mind, just use whatever you like.
>>
>>51569508
Atom also has autocomplete.
>>
Not sure if right thread but anyway,
Say i have two services running, one being apache and the other being a file host daemon written in C, both use HTTP.
Is it possible that i can configure apache so that when accessing a certain directory, it redirects the request to another service or address. Something like this:
if (dir == "/foo") redirect_to("https://localhost:4433");
>>
>>51571283
http://www.apachetutor.org/admin/reverseproxies
>>
>>51571287
Thanks, this is perfect.
>>
this is probably the most basic question possible but i dont really know how to phrase it to get a good google search

how exactly do i transition from my little python flask server hosted locally to having it hosted on some sort of address online? i'll appreciate all "go read a book faggot" replies if you say what book covers this topic
>>
>>51571651
https://www.reddit.com/r/flask/comments/2321oc/easiest_and_fastest_way_to_host_flask_python/
>>
>>51571684
>>>/lebbit/
>>
>>51571697
you might want to read it anyway. it has a list of easy to set up hosts.
>>
>>51571684
yeah, i guess i kind of dont want to be specific in my knowledge with only using one framework for only one language but i'll read into these just so i can set it up

what im really asking about is: i have an old debian linux server set up with some configuration of nginx that is set up in some way to field python's standard "WSGI" requests using gunicorn(?), so i can access the server at it's local address on the network and if i forward port 80 on the router, i can access the server through it's public address, so at this point instead of accessing my server online at http://160.3.xxx.xxx or whatever which changes because my IP isn't static, how do I turn that name into an address?

it seems like every step of the way i've just been fumbling to learn how to do something so a sick ass book on web server / web hosting / basic site operations is something i'm looking for instead of eduardo887's step by step blog post with missing links
>>
>>51571737
buy a domain name, point it to your IP.

that's it.
>>
>>51571749
i mean, you realize what you said has no meaning to me right

i deleted the other shitty grammar post
>>
>>51571771
Then I don't seem to understand your question, what do you want to do?
>>
>>51571759
nigger here's what you do. You don't host anything that have meaningful traffic on dynamic IP. But if you insist (at risk of periodic downtime, daily for some ISP), you get a subdomain to point at your addr. Checkout freedns(.)afraid(.)org/. Check you wan Ip at ipecho(.)net/plain. Write a script or install pkg of your choice. Just buy a static IP and quit being a cheapskate
>>
>>51571749
shit, follow this v
>>51571804
>>
File: I don't want the world to end.png (411 KB, 440x600) Image search: [Google]
I don't want the world to end.png
411 KB, 440x600
prove your worth by naming the top front-end JS frameworks in 2016:
>>
>>51571923
angular
react
emberjs
>>
>>51571923
jquery
react
>>
Do any of you take anything to stay focused?

I'm wondering if noopept will help. Maybe adrafinil.
>>
>>51571923
Shitty_meme.js, shitty_meme.js and shitty_meme.js.
>>
What's your opinion on development with clojurescript and om next. On paper om next looks like the best thing ever
https://github.com/omcljs/om/wiki/Quick-Start-(om.next)
>>
http://reaktor.com/blog/aircraft-customer-experience-on-a-new-level/
>Persistence with this agenda, continuous and lengthy discussions, technical meetings and negotiations eventually led us to the point where we were allowed to run our own node.js-server on the inflight servers of the aircraft.
>>
>>51569508
Geany has auto complete
>>
>>51574223
Soon they'll want the flight controllers to be written in node as well.
>>
does anyone need help
I am bored
>>
>>51574526
me too.

let's fuck.
>>
>>51574556
where are you at the present time
>>
What do you propose to use as a map in website? Google maps?
>>
>>51574872
openlayers.

then use any service that fits your needs best for images.
>>
>>51574872
if you want a plain map to overlay a single pin with a place, then google maps.
anything else like >>51574899 will require 10x more effort and deliver an experience that people won't be accustomed to.
Thread replies: 119
Thread images: 11

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

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.