|
chami posted:Time to see if a vendor software update will break their forms on our site! iframes are still a thing in tyool 2015?
|
# ? Aug 4, 2015 23:57 |
|
|
# ? May 9, 2024 18:00 |
|
kloa posted:iframes are still a thing in tyool 2015? Huh, iframes are used by nearly every site that supports embedding in some form.
|
# ? Aug 5, 2015 00:53 |
|
kloa posted:iframes are still a thing in tyool 2015?
|
# ? Aug 5, 2015 03:54 |
|
kedo posted:e: I'm super familiar with WordPress, so... WooCommerce? Any opinions on it? WooCommerce could be okay depending on your requirements. I rebuilt a store recently and gave it a long glance while weighing up my options. Unfortunately for me it was a non-starter as some of the stuff I'd personally consider basic functionality, like table rate shipping, were only included as premium plugins (at $199/yr each for licenses) or from third party devs. Eventually I stuck with Prestashop (don't use Prestashop), as although there's many things I dislike about it, it had all the features I needed out of the box. I've been trying to find an ecommerce platform I like for years, and have tried many, but not found it yet.
|
# ? Aug 5, 2015 07:53 |
|
I need a website designed for a music business. It needs to be something like this. Are there any best places to look for a web designer? Is it possible to have someone build you a site like that for ~$2000?
|
# ? Aug 5, 2015 16:14 |
|
If the webshop is separate, which it looks like it is anyway, you could just buy Squarespace and pick one of their themes.
|
# ? Aug 5, 2015 17:02 |
|
So, I became a web developer within the last year or so and just noticed that this forum exists... Just wondering if anyone had any tips or good, basic knowledge that I should know for being a designer/developer. With my current job, I mostly work with .NET MVC, HTML5, JS, and C# stuff. Does anyone have any kind of knowledge that they wished they knew when they were just starting out compared to now? I'm also looking for recommendations for books and other things for learning going forward.
|
# ? Aug 5, 2015 21:42 |
|
Heskie posted:I've been trying to find an ecommerce platform I like for years, and have tried many, but not found it yet. I've discovered that Magento's pretty great if you're willing to spend like a year learning it Disclaimer: I'm primarily a Python programmer and I work for a Magento shop, and while I hated the poo poo out of it at first (NAMESPACES!!!), once I learned its nuances, like the loving XML file structure and the EAV schema, I found that it's really quite powerful and I enjoy working with it when paired with a good IDE (PhpStorm + Magicento). I hate it much less than any other PHP software platform I've worked with (although I'd definitely prefer Symfony to Zend as the base framework) and much less than some horrid poo poo like OSCommerce or Drupal (it's better than Drupal at being a CMS too ).
|
# ? Aug 5, 2015 23:54 |
|
https://jsfiddle.net/c7k1vkhw/ What is the silly, obvious thing I'm missing that is preventing the border from showing up? e: switched it to use SCSS, nested it, and the border now shows up. It appears as though none of my styles were being applies when I had separate selectors for some reason. enthe0s fucked around with this message at 01:25 on Aug 6, 2015 |
# ? Aug 6, 2015 01:19 |
|
enthe0s posted:https://jsfiddle.net/c7k1vkhw/ You're gonna kick yourself: https://jsfiddle.net/c7k1vkhw/2/ You used javascript comments in your CSS, which makes everything under it ignored
|
# ? Aug 6, 2015 01:27 |
|
Lumpy posted:You're gonna kick yourself: Gah that's so dumb. I knew it was something stupidly simple. Got a React best practices question (maybe this would be better in the modern front-end dev thread?): I have a tile component that is rendered as such: code:
Here's 1 of those tile objects as an example: code:
|
# ? Aug 6, 2015 02:32 |
|
It's just HTML mate, white space is collapsed into single spaces unless the block is styled with white-space: pre. If you want to convert the new lines to line breaks to you want a string.split("\n").join("<br/>") so you can dangerouslySetInnerHtml, or split it and then intercalate with React.DOM.br.
|
# ? Aug 6, 2015 02:45 |
|
Sonata Mused posted:Just wondering if anyone had any tips or good, basic knowledge that I should know for being a designer/developer. http://www.stilldrinking.org/programming-sucks Welcome!
|
# ? Aug 6, 2015 03:26 |
|
So I have been tasked with creating a website when I have zero knowledge of how to do so. Well after looking around I got a domain for the site, I setup Apis to host whatever monstrosity I manage to make but I have no idea what to do now. What would be some good literature to start with to learn how the hell to create a website? Are there any books recommended or guides that anyone would feel would be useful? This is something I have always had an interest in learning but never got around to it so I am actually willing to invest a bit of time for it. Also: This was hilarious.
|
# ? Aug 6, 2015 07:50 |
|
Kizurue posted:So I have been tasked with creating a website when I have zero knowledge of how to do so. Well after looking around I got a domain for the site, I setup Apis to host whatever monstrosity I manage to make but I have no idea what to do now. What would be some good literature to start with to learn how the hell to create a website? Are there any books recommended or guides that anyone would feel would be useful? This is something I have always had an interest in learning but never got around to it so I am actually willing to invest a bit of time for it. The big question: is the content static, mostly static (somebody writes or edits stuff like a blog), or is there a lot of dynamic content that needs to come out of a database? Tell us what you are building and we can help. "A website" is very vague these days.
|
# ? Aug 6, 2015 14:18 |
|
Codeacademy's guided courses are pretty darn good for someone with zero knowledge of anything. Start here: https://www.codecademy.com/en/tracks/web Work your way out from there. HTML and CSS are pretty much the two basic things you'll need to learn to make something that looks halfway decent.
|
# ? Aug 6, 2015 14:23 |
|
Lumpy posted:The big question: is the content static, mostly static (somebody writes or edits stuff like a blog), or is there a lot of dynamic content that needs to come out of a database? IronDoge posted:Codeacademy's guided courses are pretty darn good for someone with zero knowledge of anything.
|
# ? Aug 6, 2015 18:48 |
|
Kizurue posted:basic front screen When you say "someone told me to make a website" my immediate reaction is "Wordpress!", but then you mention logins, which means security and user accounts, and then you mention "current grievances" which sounds a lot like "ability to lodge a grievance". Depending on exactly what they want from each of these things (User CRUD?) your requirements, and thus your required abilities, could quickly spiral out of control. I'd say; step one is to compile a concrete spec for what they want this thing to do, tip to tail. Talk to the people who want it, and those who will use it. You can then short-hand that to us, and we can recommend you something. "Just get something working" is the first step towards "this is a massive pile of poo poo".
|
# ? Aug 7, 2015 00:29 |
|
code:
EmmyOk fucked around with this message at 02:25 on Aug 7, 2015 |
# ? Aug 7, 2015 02:05 |
|
EmmyOk posted:
Are you using the same ID with multiple HTML elements? Can't (or not supposed) to do that, use a class if you want to select multiple elements using an attribute.
|
# ? Aug 7, 2015 02:24 |
|
piratepilates posted:Are you using the same ID with multiple HTML elements? Can't (or not supposed) to do that, use a class if you want to select multiple elements using an attribute. I edited the code slightly there should only be one thing in that query selector. Yeah it's for ten survey questions with multiple choices and they want the choices to be randomised each time. Ok so what I should do is have in my CSS a class for lists with that script in it?
|
# ? Aug 7, 2015 02:27 |
|
EmmyOk posted:
This is what you're doing: For X children in my UL, find child #(RANDOM * POSITION or 0 if result < 1), and append it to the UL. Math.random() returns a float (eg. 0.27493) so your outcome from that is going to be weird as. At best that's going to duplicate your LIs, at worse it's going to do nothing, or duplicate the first few a bunch of times? I had to google this because apparently [ul].children is an HtmlCollection which isn't a real array and behaves weirdly. This is probably why you can't shuffle the children directly, because you can't mess with that object's element positions, it seems. code:
|
# ? Aug 7, 2015 03:50 |
|
v1nce posted:
This seems like a much better of the quick and dirty solution I ended up with. I'll try to add that in in the coming days if I get a chance before the deadline. code:
Also thanks to everyone in the thread for all the help recently!
|
# ? Aug 7, 2015 03:55 |
|
Why not keep the questions as text in memory, shuffle those, and then write the shuffled array of question strings to a ul? Keeping your display logic as separate as possible from your business logic makes things a lot easier.
|
# ? Aug 7, 2015 06:15 |
|
v1nce posted:This is what you're doing: For X children in my UL, find child #(RANDOM * POSITION or 0 if result < 1), and append it to the UL. Math.random() returns a float (eg. 0.27493) so your outcome from that is going to be weird as. No, that's a bitwise OR so it's (random() * position) | 0 which is exactly the same as random() * position E: oh derp it's a float so I'm wrong. Welp. Gonna leave this here in case anyone else has the same thought. Munkeymon fucked around with this message at 15:18 on Aug 7, 2015 |
# ? Aug 7, 2015 15:15 |
|
Doesn't doing the bitwise or cast the float to an integer? I figured that's what he was doing.
|
# ? Aug 7, 2015 15:45 |
|
piratepilates posted:Doesn't doing the bitwise or cast the float to an integer? I figured that's what he was doing. Spec says it converts it with ToInt32, yeah.
|
# ? Aug 7, 2015 15:56 |
|
Pollyanna posted:Why not keep the questions as text in memory, shuffle those, and then write the shuffled array of question strings to a ul? Keeping your display logic as separate as possible from your business logic makes things a lot easier. This is the Right Way™ to do it.
|
# ? Aug 7, 2015 16:06 |
|
Pollyanna posted:Why not keep the questions as text in memory, shuffle those, and then write the shuffled array of question strings to a ul? Keeping your display logic as separate as possible from your business logic makes things a lot easier. Ignorance is why. I have never done web development before a few weeks ago when I was asked to do this project. I normally program in fsharp or Java. Anything I do that isn't the correct or best practise is just because I don't know better. I found the trickiest part of the whole process is not being familiar enough with web dev to even know what things to google. Your solution makes a lot of sense and seems straightforward so I'll spend my evening doing that!
|
# ? Aug 7, 2015 17:10 |
That was easy. Let's see what else we can trick him into doing
|
|
# ? Aug 7, 2015 17:19 |
|
Is rackspace good? Any reason not to use them? I am going to start managing my own servers again haha. I can't resist... I'd like to try the WP multisite thing too so I was planning to set up 2-3 rackspace cloud servers with a multisite installation on each one.
|
# ? Aug 7, 2015 17:35 |
|
Rackspace is quite overpriced unless you are a big company with mission critical stuff going on. I like CARI.net
|
# ? Aug 7, 2015 18:50 |
|
What's the best way to POST CSV data to a server? As text? Or as a file? If I send it as a file, is this the proper way to do so?JavaScript code:
quote:CSV parse error - iterator should return strings, not bytes (did you open the file in text mode?) It appears to be a known issue with the library, but I want to rule out anything I'm doing before I go do anything crazy: https://github.com/mjumbewu/django-rest-framework-csv/issues/30
|
# ? Aug 7, 2015 18:57 |
|
fuf posted:Is rackspace good? Any reason not to use them? Rackspace (as moo said) is great, but expensive. I use Linode for anything that's not "oh god this has to stay up 99.9999999999% of the time and I need anything that goes wrong fixed in under 2 minutes" stuff.
|
# ? Aug 7, 2015 18:58 |
|
revmoo posted:Rackspace is quite overpriced unless you are a big company with mission critical stuff going on. I like CARI.net Lumpy posted:Rackspace (as moo said) is great, but expensive. I use Linode for anything that's not "oh god this has to stay up 99.9999999999% of the time and I need anything that goes wrong fixed in under 2 minutes" stuff. roger that. I knew it was expensive but yeah looking closer it's pretty crazy how much a basic stack would be. I've had a server with oneprovider for a long time (used as a seedbox) and it's always been pretty reliable, so I might give one of those a try as a web server. They have pretty good deals: http://oneprovider.com/dedicated-servers/london-united-kingdom Their Paris servers are crazy cheap: http://oneprovider.com/dedicated-servers/paris-france I also want to find someone I can pay to help me with server setup. PMs welcome I can bumble through it myself but I'm always super paranoid about stuff like mysql running out of memory and shutting itself down, and also about the server sending out spam because of hacked wordpress sites. I want some expert reassurance that things are set up properly, and also guidance on installing Varnish (worth it?) and some kind of monitoring software.
|
# ? Aug 8, 2015 10:51 |
|
fuf posted:roger that. oneprovider paris resells online.net. i pay about 30something euros for ~32/64gb ram machines at online. and more notably, $2/month for 2GB RAM full dedicated servers. they (online.net) are free.fr, one of the larger isps in france, and occasionally have some hilarious deals - i still have a "limited offer" 2x2tb hwraid dual E5 with 64 GB ram for something like $49/m Impotence fucked around with this message at 12:26 on Aug 8, 2015 |
# ? Aug 8, 2015 10:54 |
|
Biowarfare posted:oneprovider paris resells online.net. i pay about 30something euros for ~32/64gb ram machines at online. and more notably, $2/month for 2GB RAM full dedicated servers. they (online.net) are free.fr, one of the larger isps in france, and occasionally have some hilarious deals - i still have a "limited offer" 2x2tb hwraid dual E5 with 64 GB ram for something like $49/m Oh neat, that's interesting. If most of my traffic comes from the UK then I wonder if I'd be better off with a less powerful server in London or a more powerful server in Paris? My priority is really to speed up the sites I host because that's what some clients have been complaining about. Especially the initial response time or time to first byte or whatever.
|
# ? Aug 8, 2015 16:29 |
|
I am having 500 Internal Server errors on my Digital Ocean VPS and I am not sure what the cause is. I have a Laravel install and a public folder where obviously all the public facing stuff is. It's the document root for Apache. I can make any folder and add any file to the public folder and access it just fine. However, whenever I put a huge pile of files in the folder, whenever I try to access any of them it gives me the Error 500 "Internal Server Error". For instance, I added this image by itself to the test3 folder and it still works just fine: http://104.131.4.238/test3/5.jpg and then here's one of the images that was added in bulk: http://104.131.4.238/test3/image002400.jpg and it gives 500 error. Here's the stat for each and it seems identical in any way that matters: code:
|
# ? Aug 9, 2015 05:41 |
|
hayden. posted:I am having 500 Internal Server errors on my Digital Ocean VPS and I am not sure what the cause is.
|
# ? Aug 9, 2015 07:49 |
|
|
# ? May 9, 2024 18:00 |
|
check error.log, probably has nothing to do with file itself
|
# ? Aug 9, 2015 10:03 |