|
Maluco Marinero posted:I have to agree that was an odd choice, but I don't begrudge it as the core of its was written before it was cool to be immutable in JavaScript (thank god that happened). I don't think you could make an immutable object in 8, which they apparently still support.
|
# ? Sep 22, 2016 15:40 |
|
|
# ? Jun 6, 2024 05:47 |
|
What platform would you recommend I develop this website on. Needs to have: - blog / posts compoent - calendar of events, where an external user can make a reservation (renting a meeting hall room for 2 hours) and prepay a deposit - form for tracking in-bound leads - Ability for someone to take over, with limited knowledge in the future (no coding, most likely) after I'm long dead Is it wordpress with a bunch of plugins?
|
# ? Sep 22, 2016 15:53 |
|
dexter6 posted:What platform would you recommend I develop this website on. Sadly, yes.
|
# ? Sep 22, 2016 17:04 |
|
If you end up using wordpress then https://www.birchpress.com/ is a pretty good bookings / calendar / payment plugin.
|
# ? Sep 22, 2016 18:04 |
|
UI/UX Goons What are your thoughts on this situation regarding a price filter that has a separate minimum value input, maxim value input and an apply button? Current Behavior Each field only accepts the characters 0123456789, reverting to old value if invalid (on blur) it also appends "$" to the field. Though if you were to type in the "$" you'd trigger the aforementioned invalid logic. Proposed Behavior Only accept values of 0-9999 (or empty). Nothing else, not even "," or ".", also don't appear the "$". I figure, great, I'll make it input type="number" pattern="[0-9]" to be more semantic and get the nice number-only keypad on mobile. Bug reported on proposed behavior Chrome on Windows/macOS/Linux with type="number" doesn't allow anyone to put in non 0-9 characters, in that, they don't appear in the field. So I should let them be able to type in a non digit character even though the front end validation will show an error when they do it anyway?? They do at least say they're willing to go with some sort of "note" underneath, but I wonder if even that is unnecessary.
|
# ? Sep 26, 2016 00:18 |
|
Maybe use the number field, make the dollar sign part of an input group, so [$][seperator][input] - that way it makes it clear the input is only interested in numbers.
|
# ? Sep 26, 2016 09:39 |
|
Or was the bug reported by a user, assuming that they should be able to enter text?... Maybe you could allay that assumption with placeholder text?
|
# ? Sep 26, 2016 09:40 |
|
What kind of ranges are we talking about? Is it for a typical e-commerce site? Would some predefined ranges help cut down usage of the custom range? I think prepending the input with a dollar sign would dramatically cut down on people inputting it into the field. In general though I just hate when I throw an error for stuff like that, or a comma, when the system could easily strip them out and ignore them. The decimal could be a different issue if the system only accepts whole numbers, but obviously supporting as many different combinations of inputs is always going to be better than trying to bend the user into your usage.
|
# ? Sep 26, 2016 11:43 |
|
The bug was reported by the UI/UX designer that wanted the change in the first place. I forgot about how "$" is no longer present and how I thought it should be outside the inputs. Though I never brought that up to them. The values would be anything from 0 to 9999, empty is fine too (maybe 9999+ works, but we don't have anything that expensive). whole numbers only.
|
# ? Sep 26, 2016 12:16 |
|
I just inherited a Magento site and man I forgot how nuts it is. Look at this poo poo: code:
I think it's a combination of bad previous developers and too many plugins / extensions? Mostly posting just to show how crazy it is but any tips on how to start optimising this also welcome.
|
# ? Sep 26, 2016 13:16 |
|
Yeeep that's Magento. Still better than Net Suite. I can't remember who said it, but years back we were talking about the Firefox 3D Dom inspector (which doesn't exist anymore) in the Code that makes you Cry thread and someone put it "Look at a Net Suite site in that 3D inspector in Firefox. So many superfluous embedded tables, rising like goddamn mountains of failure as high as the sky".
|
# ? Sep 26, 2016 17:44 |
fuf posted:
That list includes prototype, scriptaculous and a two-year old jquery version (PROTOTYPE AND SCRIPTACULOUS! IN THE YEAR OF OUR LORD 2016!). Everything is very old so refactoring means remaking from zero all the widgets that use those dependencies (or replacing them with modern versions that only use jquery or something similar). It's going to be tedious as hell in any case.
|
|
# ? Sep 26, 2016 17:53 |
|
Scaramouche posted:Firefox 3D Dom inspector (which doesn't exist anymore) I thought it was still in there as of, uh, last year, maybe? I'd check now but the AV on this thing kills FF on sight for some reason.
|
# ? Sep 26, 2016 18:24 |
|
Munkeymon posted:I thought it was still in there as of, uh, last year, maybe? I'd check now but the AV on this thing kills FF on sight for some reason. https://developer.mozilla.org/en/docs/Tools/3D_View quote:From Firefox 47 onwards, 3D view is no longer available.
|
# ? Sep 26, 2016 18:30 |
|
I really hate Drupal and never want to work with it ever again. I have no idea if I'm using a lovely distribution (Lightning) or my host(s) suck or if Drupal is just a huge pile of poo poo but I am incredibly tired of everything exploding and dying because I did something as innocuous as putting the site in maintenance mode, or trying to publish a piece of translated content using the core multilingual module. I have spent more time configuring and fixing stupid errors than I have actually developing a site. Who wants to code this site for me? I am only 25% joking and I am not joking at all if someone reading this is a solid freelance Drupal dev and wants some work.
|
# ? Sep 26, 2016 18:35 |
|
I'm doing a personal project using Web API 2 and Angular2, both frameworks which I have no professional experience with. Right now I have two separate repositories, one for the Web API backend, and one for the Angular2 client. But I'm thinking of moving all the client source into my Web API solution. Does anyone have advice on using these 2 frameworks together? My ideal setup would be something like (ranked in order of importance):
|
# ? Sep 26, 2016 22:33 |
|
Just as an initial question - why are you thinking of combining them? I've always personally kept distinct client and sever repos for projects of any significance.
|
# ? Sep 26, 2016 22:45 |
|
I'm not certain whether it's a good idea since it introduces coupling, but a couple of things I think it would simplify:
|
# ? Sep 26, 2016 23:02 |
|
dividertabs posted:I'm not certain whether it's a good idea since it introduces coupling, but a couple of things I think it would simplify: If it's just a few people, or one contributing, it may be worth it for the increase of productivity. If you keep it organized well, it shouldn't be too terribly hard to split into two repos later if need be.
|
# ? Sep 27, 2016 04:05 |
|
Could anyone hazard a guess at how annotations on genius.com work? As in, how you would implement it on a technical level?
|
# ? Sep 27, 2016 05:05 |
|
Trying to add an annotation and inspecting the POST request seems to give some hints:JavaScript code:
|
# ? Sep 27, 2016 05:35 |
|
I'm working on a .NET application that needs to have background scheduled tasks run periodically. I added Quartz and put the initiailization logic in the Application_Start. However, Application_Start only runs on the first request when the application pool goes up. I'd like it to run immediately when the application pool starts or is recycled. I've set up IIS8's preload features as described in http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-application-initialization and it works great, except for one thing. When I update a DLL or the web.config, the pool recycles, but the preload does not occur; the initialization logic runs after the first request. This is a minor issue (I hope in the rare case that someone updates the application or the config directly that they'll try running it afterwards), but does anyone know why the preload wouldn't be running in that case, and/or what I can do to resolve it?
|
# ? Sep 28, 2016 14:58 |
|
Any of you guys use multi-SSL on an IP using SNI? I looked into it a couple years ago but it seemed like browser adoption rates argued against doing it.
|
# ? Sep 28, 2016 18:17 |
|
Windows XP was the blocker, no problem now though.
|
# ? Sep 28, 2016 18:34 |
|
MisterZimbu posted:I'm working on a .NET application that needs to have background scheduled tasks run periodically. I added Quartz and put the initiailization logic in the Application_Start. However, Application_Start only runs on the first request when the application pool goes up. I'd like it to run immediately when the application pool starts or is recycled. Are you using Windows authentication in IIS? I had this problem, and a variation on this solution solved it
|
# ? Sep 28, 2016 22:02 |
|
MrMoo posted:Windows XP was the blocker, no problem now though. Well HostGator (ssshh not my decision) says they can set it up so fingers crossed.
|
# ? Sep 29, 2016 19:10 |
|
Does anyone here happen to use both PyCharm and WebStorm? I think PyCharm is a strict superset of WebStorm, but I'm not sure about that and just looking for any insight into whether it's worth getting a WebStorm license.
|
# ? Sep 29, 2016 21:52 |
Thermopyle posted:Does anyone here happen to use both PyCharm and WebStorm? I think PyCharm is a strict superset of WebStorm, but I'm not sure about that and just looking for any insight into whether it's worth getting a WebStorm license. I'm still wondering the same thing but with IntelliJ Ultimate & PyCharm
|
|
# ? Sep 30, 2016 01:14 |
|
fletcher posted:I'm still wondering the same thing but with IntelliJ Ultimate & PyCharm Oh, I can kind of answer this, but keep in mind that the last time I looked into this was a couple years ago...InteliJ python plugin is not updated as often as PyCharm is. In fact, it can be significantly behind PyCharm. IIRC, the plugin feature set is merged with PyCharm at major PyCharm releases. In addition, IntelliJ misses some of the python and django specific things that PyCharm has like the project creation wizard-y thing (which is pretty nice actually). Also, it lacks the Open Directory functionality that PyCharm has.
|
# ? Sep 30, 2016 15:43 |
|
Potassium Problems posted:Are you using Windows authentication in IIS? I had this problem, and a variation on this solution solved it Was forms auth. I ended up abandoning that approach (just too many complications involved, regarding app pool shutdowns, etc.) and went back to the Windows Service (but moved the logic to an application so all the service does is periodically ping a webapi endpoint).
|
# ? Sep 30, 2016 16:26 |
|
Do we have a drupal thread? I can't find it if we do. Can I ask about it here, anyone mind?
|
# ? Sep 30, 2016 21:45 |
|
pipebomb posted:Do we have a drupal thread? I can't find it if we do. Can I ask about it here, anyone mind? I don't believe there is. You can try, but I haven't had great luck lately with Drupal questions and have resorted to just complaining about it. e: I should say that my last several problems boiled down to a host sucking and Drupal 8 modules sucking. I've wrapped my brain around how Drupal works a lot more over the past week and now I think my single biggest complaint is that everything is really terribly organized. Enabling a module on a certain content type requires editing settings and permissions in a half dozen locations, all of them nested three to five clicks deep in a menu with a completely impenetrable name. I can see why some people like it, but jesus it's a pain in the rear end to navigate when you're starting out. I feel like I'm doing less development than I do on a WordPress site, which is weird. kedo fucked around with this message at 22:00 on Sep 30, 2016 |
# ? Sep 30, 2016 21:54 |
|
Really not a fan of Drupal, to the point where I turn down work on it (more for Kedo right?). I haven't got too deep into it, mostly just glorified brochure-ware stuff for some local non-profits. I used to work with a guy and he's got a 20 person company now just doing Drupal projects, mostly for institutional sized non-profits (think like Sun Run, Bill+Melinda gates Foundation, etc.). It's big with companies with a lot of money and little profit motive
|
# ? Sep 30, 2016 22:27 |
|
Scaramouche posted:Really not a fan of Drupal, to the point where I turn down work on it (more for Kedo right?). Noooo drat you!
|
# ? Sep 30, 2016 22:29 |
|
I'm modifying content on a Drupal site and goddamn. It might be the engineering behind the site which is a steaming pile of spaghetti, but Jesus, changing the displayed link text on one nav item with a dropdown is a logistical nightmare involving at least 4 dependencies I need to re-activate and replace.
|
# ? Sep 30, 2016 23:45 |
Thermopyle posted:Oh, I can kind of answer this, but keep in mind that the last time I looked into this was a couple years ago...InteliJ python plugin is not updated as often as PyCharm is. In fact, it can be significantly behind PyCharm. IIRC, the plugin feature set is merged with PyCharm at major PyCharm releases. Super helpful. Thank you!
|
|
# ? Oct 1, 2016 00:00 |
|
Maleh-Vor posted:I'm modifying content on a Drupal site and goddamn. It might be the engineering behind the site which is a steaming pile of spaghetti, but Jesus, changing the displayed link text on one nav item with a dropdown is a logistical nightmare involving at least 4 dependencies I need to re-activate and replace. This also sounds a lot like Joomla.
|
# ? Oct 1, 2016 22:43 |
|
I'm running a WordPress.com blog and am looking to search for themes/designs where the background image stays fixed in place while the content area (e.g. for blog posts) is scrollable. What are the right words to describe such designs?
|
# ? Oct 2, 2016 05:13 |
|
Maybe "fixed background"? Regardless it's literally one line of CSS to switch how the background image is oriented so you can just do it yourself.
|
# ? Oct 2, 2016 05:25 |
|
|
# ? Jun 6, 2024 05:47 |
|
Maleh-Vor posted:I'm modifying content on a Drupal site and goddamn. It might be the engineering behind the site which is a steaming pile of spaghetti, but Jesus, changing the displayed link text on one nav item with a dropdown is a logistical nightmare involving at least 4 dependencies I need to re-activate and replace. Then again I came across a Wordpress site that used pages and posts the wrong way so maybe the guy who developed it had flippers for hands...
|
# ? Oct 2, 2016 16:35 |