|
DICTATOR OF FUNK posted:EDIT: I use PHP I'd rather be dead.
|
# ? Jul 27, 2017 16:23 |
|
|
# ? Jun 3, 2024 20:19 |
|
Skandranon posted:I'd rather be dead. I almost accepted a full time WordPress developer position for a static website.
|
# ? Jul 27, 2017 17:48 |
Love Stole the Day posted:I want to hear more about this. How did you get your first job? Did you make a portfolio and apply to job advertisements online or in the phone book? Or did you know somebody who put in a good word for you and got you an interview? Personal side projects can go a long way in the interview process. I showed my employer Awful Yearbook back in the day during my interview. Still working here 10 years later.
|
|
# ? Jul 27, 2017 18:32 |
|
Love Stole the Day posted:I want to hear more about this. How did you get your first job? Did you make a portfolio and apply to job advertisements online or in the phone book? Or did you know somebody who put in a good word for you and got you an interview? My resume has only one thing of interest on it: I was hired as a student intern in my school district's technology department when I was 15. During my time there, I built them a work order and inventory system in Django that they still use to this day. I put my name in comments at the top of a template so I could prove it later. Ironically, that job is the reason I didn't graduate; they took me out of classes and put me in "TA periods" so I could work during school hours, and received no credits for it. Looking back, I was obviously being screwed, but explaining this to people has gotten me further than an actual diploma would have, at this point. So, using wifi stolen from coffee shops, I put together a (long-gone) portfolio website using Django and Angular that demonstrated my knowledge of a full stack. I applied for hundreds of jobs over months and had a willingness to work for pennies compared to others -- during my interview at the job that I landed, I was told to go home and research what I thought would be a fair initial salary and let them know. I asked for 25K... they gave me 37K. Once hired, I was immediately tasked with putting out fires for our most major clients. I threw myself at the job as hard as I could, voluntarily working 14+ hour days because I had literally nothing else to do until I could afford an apartment. Being the only developer in the shop that knew more than PHP and JS, I was tossed at high velocity in to a senior dev position. Once they discovered I was the only person besides the owner who knows AWS thoroughly, it was all downhill from there. I am now the company's lead developer. I didn't know anyone in the industry at the time and all of my friends were burn-outs. The murrican dream. EDIT: Skandranon posted:I'd rather be dead. Believe me, I'm doing the best I can to force other people to handle all the old PHP at this point while I do other projects in Python or whatever DICTATOR OF FUNK fucked around with this message at 02:52 on Jul 28, 2017 |
# ? Jul 28, 2017 02:48 |
|
DICTATOR OF FUNK posted:The murrican dream. That's really awesome. While I can't speak to a lot of that, the idea of that you would do anything that was put in front of you, is a lot of what I did and how I got my foot in the door as well.
|
# ? Jul 28, 2017 05:24 |
|
Thats rad has gently caress, dictator. Are you a human being? I cant believe a human being can produce good code (scalable, maintenable, easy to debug and easy to read) working more than 6 hours. Much less 14.
|
# ? Jul 28, 2017 07:49 |
|
drat that really is the american dream. Nice job!
|
# ? Jul 28, 2017 13:54 |
|
DICTATOR OF FUNK posted:Believe me, I'm doing the best I can to force other people to handle all the old PHP at this point while I do other projects in Python or whatever That's quite the tale, good job. . . . . I still hate PHP
|
# ? Jul 28, 2017 18:38 |
|
Thanks, friends. It was hard work but drat it was worth it.Tei posted:Thats rad has gently caress, dictator. Are you a human being? I cant believe a human being can produce good code (scalable, maintenable, easy to debug and easy to read) working more than 6 hours. Much less 14. Plus, the office had free food, so I was able to nourish myself properly for the first time in years. That supercharged the poo poo out of me for a while. I'm lazy and fat now so hopefully my complete lack of any certification or accreditation doesn't catch up with me if this job goes tits up, because I don't think I could do it again e: Skandranon posted:That's quite the tale, good job. me too DICTATOR OF FUNK fucked around with this message at 05:05 on Jul 29, 2017 |
# ? Jul 29, 2017 04:26 |
|
If I was to build a new webapp with fairly simple requirements, using entirely F/OS technologies, what stack should I use for maximum skinny jeans? Back in my day, we would've done something with Rails and Postgres, but I haven't done web dev in a few years now so I'm sure that I'm behind the times.
|
# ? Jul 29, 2017 23:47 |
|
john donne posted:If I was to build a new webapp with fairly simple requirements, using entirely F/OS technologies, what stack should I use for maximum skinny jeans? Back in my day, we would've done something with Rails and Postgres, but I haven't done web dev in a few years now so I'm sure that I'm behind the times. React-Redux and Node.js with MongoDB is the hotness of the day. Vue maybe instead of React? I'm not super hip on all the frontend stuff.
|
# ? Jul 30, 2017 00:14 |
|
TheCog posted:React-Redux and Node.js with MongoDB is the hotness of the day. Vue maybe instead of React? I'm not super hip on all the frontend stuff. Not mongo. Never mongo. If you want front end only, React /Redux with Firebase.
|
# ? Jul 30, 2017 06:02 |
|
Elixir (Phoenix framework) and a front end framework du jour (Vue, React with some state management like MobX or Redux), you'll even learn a thing or two about different programming paradigms and the skinny jeans factor is maxed out.
|
# ? Jul 30, 2017 12:10 |
|
Elixir and Phoenix is surprisingly nice to work with too, at least compared to using node for anything more than trivial.
|
# ? Jul 30, 2017 15:04 |
|
I keep meaning to try out Elixir/Phoenix on my next project (that I can select the backend on), but then the next project comes around and I just decide to stick with what I know so I can get poo poo done. Here's me pre-commiting to not falling for that trap next time.
|
# ? Jul 30, 2017 16:21 |
|
Stupid question: does implementing PWA stuff on generic websites provide meaningful value to the user? Say I have a client with a medium-sized business that sells doodads and they want a website that informs whoever's interested about who they are, what they sell, and how to contact them. Would the service worker just cache the contents of the pages the user visits locally and allow for quicker access should the user return? Is it problematic to do that on a sprawling site? If they try to access an uncached page while offline, should they just be served placeholder content informing them they're offline? I ask because most of what I see about progressive web apps focuses entirely on, well, traditional apps. Is there a good use case for the average website?
|
# ? Jul 30, 2017 18:10 |
|
john donne posted:... using entirely F/OS technologies ... Depending on your FOSS requirements, it may be worthwhile to mention that Apache Software Foundation recently banned the inclusion of any libraries with React's licensing structure - https://github.com/facebook/react/issues/10191. The short of it (as I understand it) being that using React in a project gives Facebook immunity with respect to your own patents / intellectual property in that project. Newf fucked around with this message at 19:49 on Jul 30, 2017 |
# ? Jul 30, 2017 19:47 |
|
Remember you can basically just swap out react for preact if the licensing is something you're concerned about.
|
# ? Jul 30, 2017 20:30 |
|
Cugel the Clever posted:Stupid question: does implementing PWA stuff on generic websites provide meaningful value to the user? I made https://www.arena.net a PWA before I left, mostly for the practice. It made a mostly-static site load INSANELY fast on repeat visits!
|
# ? Jul 31, 2017 04:14 |
|
Cugel the Clever posted:Stupid question: does implementing PWA stuff on generic websites provide meaningful value to the user? ServiceWorker doesn't have to only cache the contents of the pages the user visits. It intercepts every request and lets you do mostly whatever you want with that before serving a response. When they visit for the first time, you could cache the page they're on, the about/contact pages, and maybe an initial category page of doodads or fallback offline page. Then not only will those actual pages load instantly if they continue to browse, but they could come back (online or offline) and visit, say, the Contact page even if they never went there on a previous session. Don't go too nuts, of course, as there's a limit to how much space you get to soak up. And always use analytics to determine if something like this is even worth doing - if their site currently gets 90% desktop traffic then slow/offline visits is not much of a use case. But if they're majority mobile, or visits from other countries, etc. then the effort spent could mean actual dollars for them. Edit: Adding a ServiceWorker also opens up the ability for Chrome to prompt the user to "add to homescreen" - not sure what the frequency of visits or repeat purchases for the doodads are, but retention usually spikes if they add to homescreen.
|
# ? Jul 31, 2017 07:16 |
|
What's a good strategy for creating an API, served over HTTPS, that will support requests from sites served over either HTTP and HTTPS? Right now the only way I can really think of is to remove the HTTP-to-HTTPS redirect on my API server, but that doesn't seem ideal from a security standpoint. I just need requests to make it to the server, and response bodies don't necessarily have to return anything. For some context, I'm creating an analytics library that will get deployed across websites, not all of them being served over HTTPS. IAmKale fucked around with this message at 14:52 on Aug 1, 2017 |
# ? Aug 1, 2017 14:49 |
|
IAmKale posted:What's a good strategy for creating an API, served over HTTPS, that will support requests from sites served over either HTTP and HTTPS? Right now the only way I can really think of is to remove the HTTP-to-HTTPS redirect on my API server, but that doesn't seem ideal from a security standpoint. I just need requests to make it to the server, and response bodies don't necessarily have to return anything. That's not something in your control, that's something the website consuming your API has to deal with. The only thing you can do is offer an http version as well as the https version.
|
# ? Aug 1, 2017 15:24 |
|
The end site being served insecurely should have no impact on what you serve up. The HTTPS/HTTP barrier only exists for insecure objects embedded in secured content. Just always and only serve over HTTPS and you're fine for both use cases, unless I'm misunderstanding the question.
|
# ? Aug 1, 2017 17:11 |
|
McGlockenshire posted:The end site being served insecurely should have no impact on what you serve up. The HTTPS/HTTP barrier only exists for insecure objects embedded in secured content. Just always and only serve over HTTPS and you're fine for both use cases, unless I'm misunderstanding the question. As it it is, it turns the issue I'd been mistaking for "HTTP sites can't make requests to HTTPS sites" is probably just due to operator error. I went to dig up a screenshot of the error I'd been receiving , but after quickly Googling the error message it seems it might be related to how I've got Django set up. Django added in a check that requires the HTTP_REFER header to be secure if the server is secure, but if I'm reading this SO properly I can set a value for the CORS library I'm using and that should fix the issue.
|
# ? Aug 1, 2017 18:53 |
|
I was loving around making something pretty while procrastinating and ended up doing this: https://codepen.io/malehvor/pen/WOggRL I was trying to practice my javascript since I kind of started recently and haven't been putting it to use. It was a lot simpler originally, but then I decided I wanted gradients instead of just flat colors changing, and turns out background linear gradients aren't animatable, so I had to add a couple of divs with the backgrounds and phase them in and out. Ended up using a bit of jQuery for no particular reason, but I think it looks decent enough. All in all, it was pretty decent practice. I think I'll try to do more eventually.
|
# ? Aug 1, 2017 19:38 |
|
I decided to dip my toes back into web design (my previous experience is "did some html in the 90s") to try and knock together a page for sharing skill loadouts for an MMO. I'm blundering my way around VS code using Emmet and Bootstrap (which is all a huge improvement over writing everything in notepad ) but I had a couple of questions before I get too far:
|
# ? Aug 3, 2017 15:05 |
|
Pilchenstein posted:I decided to dip my toes back into web design (my previous experience is "did some html in the 90s") to try and knock together a page for sharing skill loadouts for an MMO. I'm blundering my way around VS code using Emmet and Bootstrap (which is all a huge improvement over writing everything in notepad ) but I had a couple of questions before I get too far: Phone posting so will lack a lot of details that I am sure others will post, but for what you're describing you should look at a javascript framework like react. React will do all of the dynamic things you're looking to do as well as allow you to create components for individual elements. It has a bit of a learning curve to it but in the end will allow you to do exactly what you're describing.
|
# ? Aug 3, 2017 15:25 |
|
Theres a greater division now, I believe. where programmers program and designers design. And they share a world of templates, but they specialize in their part. But I am wrong often, so maybe this time too.
|
# ? Aug 3, 2017 15:28 |
|
Pilchenstein posted:I decided to dip my toes back into web design (my previous experience is "did some html in the 90s") to try and knock together a page for sharing skill loadouts for an MMO. I'm blundering my way around VS code using Emmet and Bootstrap (which is all a huge improvement over writing everything in notepad ) but I had a couple of questions before I get too far: If you're up for learning some more tooling, then, like ModeSix mentioned, React is a great option that's honestly rather straightforward to pickup. If you don't have NPM, it shouldn't take too long to get that up and running on your system, and from there, setting up create-react-app is very painless. React has some nice libraries like react-bootstrap that make setting up bootstrap layouts incredibly efficient and simple, and will save you tons of time in prototyping layouts. If you don't use React, then I'm not sure what your other options are. I usually go to the examples/templates in the bootstrap docs and pull the code from there, then modify as needed. If you haven't checked that out, give that look. The docs are great. Regarding lots of buttons, I'm not sure. What exactly is changing about them? Inner text? Event listeners? If you're gonna be doing a lot rendering/re-rendering, then it might be more performant to hand-code the layout, but I'm not sure. Personally would need a bit more details, but maybe someone more experienced here can answer. As far as splitting up html into smaller sections, if you use React, you can do something very similar with components, which is really nice. I've personally never seen html partial loading using something like jQuery before. But, if it's just for your own purposes, I can't see any harm in doing that and then combining it all in the end, as long as you give all your classes distinct names.
|
# ? Aug 3, 2017 16:15 |
|
Thanks all of you, I'll look into React and NPM.The Dark Wind posted:Regarding lots of buttons, I'm not sure. What exactly is changing about them? Inner text? Event listeners? If you're gonna be doing a lot rendering/re-rendering, then it might be more performant to hand-code the layout, but I'm not sure. Personally would need a bit more details, but maybe someone more experienced here can answer.
|
# ? Aug 3, 2017 16:46 |
|
Pilchenstein posted:Thanks all of you, I'll look into React and NPM. Sound perfect for React. Make sure you start here: https://github.com/facebookincubator/create-react-app Gets the whole shegbang up and running with no hassle.
|
# ? Aug 3, 2017 17:12 |
|
Is there something similar to create-react-app for Vue?
|
# ? Aug 3, 2017 22:17 |
HardDiskD posted:Is there something similar to create-react-app for Vue? https://github.com/vuejs/vue-cli with the webpack template
|
|
# ? Aug 3, 2017 22:58 |
|
What's a good way to host a JavaScript library and incorporate it into multiple websites that allows for a clean filename but also picks up updated versions of the library? When I build the library I want to include a build hash in the filename for versioning, but that'd look ugly and make it impossible to easily update and deploy the code from our end without touching anyone else's <script> tags. I'm worried that if I just did something typical like "http://goons.com/getout.js" I'll run into issues with caching that lead to customers running disparate versions of the library. What should I be googling for to continue my research into this? I feel like this'll employ Nginx in some way to take the "clean" filename and map it to a built version of the library but I'm not sure what that technique might be called. IAmKale fucked around with this message at 18:27 on Aug 7, 2017 |
# ? Aug 7, 2017 18:15 |
|
If you're already thinking about doing server configuration look into https://en.wikipedia.org/wiki/HTTP_ETag though hopefully your server already does that.
|
# ? Aug 7, 2017 18:22 |
|
can you all recommend an e-commerce package to use with wordpress (or any other cPanel type addon content manager) something simple to sell/update 10-20 products a year ; nothing that, say, an enterprise would need - ideally something I can setup to interface with a bank checking account simply that doesnt charge tons of fees - square or a square alternative?
|
# ? Aug 8, 2017 00:37 |
|
Beat. posted:can you all recommend an e-commerce package to use with wordpress (or any other cPanel type addon content manager) https://stripe.com/
|
# ? Aug 8, 2017 01:26 |
|
WooCommerce is a pretty great eCommerce plugin for WP, as far as WP plugins go.
|
# ? Aug 8, 2017 01:35 |
|
Looking for a recommendation for wiki hosting. Here's some info:
awesomeolion fucked around with this message at 20:45 on Aug 8, 2017 |
# ? Aug 8, 2017 20:43 |
|
|
# ? Jun 3, 2024 20:19 |
|
IAmKale posted:What's a good way to host a JavaScript library and incorporate it into multiple websites that allows for a clean filename but also picks up updated versions of the library? When I build the library I want to include a build hash in the filename for versioning, but that'd look ugly and make it impossible to easily update and deploy the code from our end without touching anyone else's <script> tags. Why not just host multiple files? /getout-1.0.1.js /getout-1.1.3.js /getout-latest.js Let your customers decide if they want the auto-updated latest file or wish to use a specific version. If you are worried about caching, you can set your webserver to serve response headers that disable caching.
|
# ? Aug 8, 2017 21:02 |