677 Posted Topics
Re: Use [the standard method](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email). It's much cleaner, nicer, simpler and more robust. <input type="email" ... /> | |
Re: The irony is palpable. | |
Inbetween contracts over the last year or so I have been beavering away building a CMS with a difference. https://www.graphia.co.uk/ It's aimed at companies that have huge libraries of documents that every employee needs (operating procedures, handbooks, guides, etc) locked away in inflexible propriatory formats (aka Sharepoint/Confluence). * documents are … | |
Re: It is none of those things. Amazon have lots of servers, in some cases it's easier/cheaper/more-reliable to use theirs than have your own. If you don't know the difference between Hadoop and Apache HTTPD, you don't need Hadoop. | |
Re: So you want a number in the web page to increment when a backend operation takes place? To do this 'on the fly' would require you to implement [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events) or write something custom with [websockets](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API), which might be a little advanced for you at the moment. I'd suggest creating … | |
| |
Re: As John suggests, array intersection will work. If you don't need to know what clashes, this *might* be faster due to `any?` stopping as soon as it's fulfilled. colours = %w{red green blue orange} targets = %w{yellow black pink red blue} colours.any? {|colour| targets.include? colour} | |
Re: I'm not quite sure what the problem you're having is. [I have put your code in a codepen](https://codepen.io/anon/pen/oqzbOG) and it *looks ok* (selecting a region updates the postcode prefix dropdown). What isn't happening that should be? | |
Re: Perhaps I didn't fully understand what you're after, but I'd steer clear of using plugins when you can use standard inputs. Here's [a five minute stab](https://codepen.io/anon/pen/MQMNrN) at what I *think* you're asking for. If it's not it should be easy to customise. Where I've defined `let data = {...}` you … | |
Re: How are your networks connected together? Are you using a site-to-site VPN? | |
Re: No, the foreign key is *working *. Have you read the documentation? If you do and still don't understand I'll tell you how to fix it, but you clearly haven't put in any effort. | |
Re: I'd pay more attention to the [slow query log](https://dev.mysql.com/doc/refman/5.7/en/slow-query-log.html) and simple page stats from your logs than hunting down `select *` queries. The slow query log will highlight all queries that take more than `x` time (configurable by you). Your logging system or analytics should tell you which pages take … | |
Re: Yes. Run the website on your local machine and then take a screenshot, and upload *that* to your host. Then, people can see your *AMAZING CONTENT* but won't be able to get at your precious, hand-crafted, artisanal, rolled-on-a-virgin's thigh HTML. An alternative would be to write your website using Adobe … | |
Re: Writing code like this is nuts. Why is everything (logic, presentation) jumbled up in one file? Why is your `//insert the user into the database.` comment immediately followed by an `update` statement? I'm not going to solve your problem (or maybe homework question) for you. But the actual *actions* should … | |
Re: `Correlation != Causation` Why is the parsing failing? Clue, it's almost certainly not your connection speed. | |
Re: Have you changed the character set and collations (from `utf8` to `utf8mb4`) of the database and tables you're dealing with? As far as I remember in MySQL you need to do them individually, the changes don't cascade. | |
Re: +1 for Flexbox, it makes dolving these problems *much simpler* Another useful link https://philipwalton.github.io/solved-by-flexbox/ Soon with CSS grid landing too, the whole process will be fun again. | |
Re: Your procedure is returning `VAR_PRICE OUT AUTOMOBILES.A_PRICE%TYPE`. You should be returning a `table`. | |
Re: Nice try @dida_1 but this thread nine years old. Maybe you should just do your own homework? | |
Re: What's missing? The 'read more...' links on your blog index don't go anywhere, the pagination list contains no links, the portfolio is just images. I think that the generated sitemap looks ok. I think you might have accidentally [uploaded some stuff that shouldn't be there](http://advance-web-studio.com/public/images/ShoppingOnline.jpg) to your portfolio. | |
Re: Funny how this question has been posted to about five forums over the last day. Delete, block and ban? Hilariously, someone seems to have posted this exact question as a Freelancer project and [the guy who took on the project reported him to his supervisors](https://github.com/Faizan386). > this was done for … | |
Re: I didn't realise that GWT was still being actively developed. It was good back in the day and I'm sure plenty of companies have apps written with it chugging away on their intranets. It seems that frameworks like Angular, React and Vue have moved in on GWT's patch from one … | |
Re: Also, using regular expressions to parse HTML on a large scale [is a bad idea](https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454). | |
Re: Is there any particular reason you want to use Gambas for this task? It is of course possible with [`gb.net.curl`](http://gambaswiki.org/wiki/comp/gb.net.curl) but compared to other languages it's a *lot* of work. In Ruby it's like 3 lines (and two of them are `require nokogiri` and `require open-uri`!). | |
Re: Which filesystem are you using? | |
Re: HTML, as stated in the standard, is case-insensitive. XHTML, like all XML, is case sensitive. | |
Re: Maybe, if all developers are struggling to write for your platform, they are not the issue? As a contractor I've seen companies at all levels of NIH syndrome fail to keep their in-house frameworks (and associated projects like documentation, examples, plugins) on par with the tools that the rest of … | |
Re: You probably want to be using a `for...of` loop here instead of a `for...in`, which means you don't need to set the variable using the index every time. const drivers = [ { dateTime: "2018-12-04T10:30:45:222z", comments: "", drivers: [ { fname: "John", lname: "Doe", driverCode: "DOEJ" }, { fname: "Mary", … | |
Re: Use [`comm`](https://linux.die.net/man/1/comm) or [`diff`](https://linux.die.net/man/1/diff). | |
Re: You need to convert the dates users enter to Unix timestamps. You can do that either in PHP or [MySQL](https://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html) (see `UNIX_TIMESTAMP()`). | |
Re: I'd create a profile on a low-traffic niche tech forum, add a few links in my signature and then start asking stupid questions. This method is used by all the biggest, most successful marketing companies and soon you will have to upgrade your web hosting because of the influx of … | |
Re: Just ban the fucker. Or preferably, shadow ban him. | |
Re: Do you want to *actually learn* how to use NodeJS or are you looking for code you can copy and paste from the internet then ask on here why it's not working? If it's the former, you can make a good start by checking out the free content on [Code … | |
Re: The clue is `Access denied for user 'homestead'@'localhost'` Do you have a user called `homestead`? Have you attempted to grant them access to the database? If you're unsure of the answers to either of those questions, I think you should re-read the documentation. | |
Re: Your `for` loop will be executed once per iteration of your `$.each` loop. If that's what you *intend* to do, then it's not dangerous. Perhaps posting an example of your code (use [jsfiddle](https://jsfiddle.net/) or similar) would help you explain exacctly what your concerns are. Additionally, the two types of loop … | |
Re: So you're trying to use [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries) in HTML? Perhaps you should try to read the documentation and gain [a basic understanding of things](https://www.youtube.com/watch?v=XWZ-iA3HMOU) before wasting time by asking inane questions. | |
Re: > This is an integration with payment gateway so this data should be passed to them via this way so that why I don't post or get this to another php file. Really? Which gateway requires this kind of ridiculous gymnastics? I think that your problem is self-inflicted. In one … | |
Re: If I can find it with one search you're not trying very hard. Clue, add CSV to your query. | |
Re: Check line 34! Seriously, how do you expect anyone to point you in the right direction without having a ####ing clue about what you're doing? Post the problematic piece of code. | |
Re: That kind of ban is called a shadowban. Regular Reddit moderators cannot perform site-wide shadowbans, only administrators can. Usually it happens to spammers. | |
Re: Just an idea. Rather than trying to do two things at once, first make one work then (when you're sure the first bit is correct) concentrate on the second. If you can't answer the question of "which part is broken?" you're going to struggle. Install [httpie](https://httpie.org/) and then you can … | |
Re: It will be much easier for people to test and contribute if you create a JS fiddle demonstrating exactly what the problem is. | |
Re: So what's the question? Have you ever thought about learning web development rather than just copy/pasting random stuff you find on the internet until it looks like it's working? | |
Re: `href="#"` makes an anchor tag appear like a link without actually redirecting you. It's *intended* to take you to anchors on the same page (`<a href="#section-1">Section One</a>`) but with no following text does nothing. The intention is that a JavaScript handler takes over the `click` event. | |
Re: Not that it matters, but here it is in Ruby. Simple, elegant and concise. Dare I say, beautiful? lower, upper = 20, 400 lower.upto(upper) .select{|i| i.modulo(3).zero? && i.modulo(4).zero?} .each_slice(5){|m| puts m.join(" ")} [`.upto`](https://ruby-doc.org/core-2.2.0/Integer.html#method-i-upto) loops from the called number to the arg. Normally I'd have written this `(lower..upper).select…` but this makes … | |
Re: [Beets](https://github.com/beetbox/beets) is exactly this. Don't try to rip it off OP, it'll be painfully obvious. | |
![]() | Re: More likely you didn't follow their instructions. It looks quite straightforward to me. |
Re: Without knowing what you've done it's difficult to diagnose anything. Did you install [this](https://code.visualstudio.com/docs/languages/python)? | |
Re: Is there anything in the database that can't be migrated to a newer version? Using a database that's been unsupported for nearly fourteen years is a bad idea. |
The End.