677 Posted Topics

Member Avatar for divinity02

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" ... />

Member Avatar for pty
0
287
Member Avatar for webguru_1
Member Avatar for pty

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 …

Member Avatar for pty
0
424
Member Avatar for davy_yg
Re: AWS

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.

Member Avatar for pty
0
233
Member Avatar for Dom_2

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 …

Member Avatar for Dom_2
0
484
Member Avatar for Erkin
Member Avatar for EvolutionFallen

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}

Member Avatar for EvolutionFallen
0
516
Member Avatar for janicemurby

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?

Member Avatar for AndrisP
0
364
Member Avatar for Jon_7

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 …

Member Avatar for Jon_7
0
717
Member Avatar for Naomi_2

How are your networks connected together? Are you using a site-to-site VPN?

Member Avatar for pty
0
171
Member Avatar for davy_yg

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.

Member Avatar for pty
0
396
Member Avatar for FarrisFahad

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 …

Member Avatar for FarrisFahad
0
4K
Member Avatar for QUang_3

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 …

Member Avatar for pty
0
356
Member Avatar for muhd

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 …

Member Avatar for t_thakar
0
433
Member Avatar for davy_yg

`Correlation != Causation` Why is the parsing failing? Clue, it's almost certainly not your connection speed.

Member Avatar for ryantroop
0
196
Member Avatar for Dani

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.

Member Avatar for blud
0
11K
Member Avatar for ekka

+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.

Member Avatar for ekka
0
506
Member Avatar for Prosatanos

Your procedure is returning `VAR_PRICE OUT AUTOMOBILES.A_PRICE%TYPE`. You should be returning a `table`.

Member Avatar for urtrivedi
0
395
Member Avatar for ultimate_fusion
Member Avatar for pty
0
1K
Member Avatar for davy_yg

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.

Member Avatar for pty
0
337
Member Avatar for Tejindra

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 …

Member Avatar for JamesCherrill
-4
372
Member Avatar for Dani

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 …

Member Avatar for pty
0
415
Member Avatar for Lisa_14

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).

Member Avatar for pty
0
381
Member Avatar for it@61@sec

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`!).

Member Avatar for it@61@sec
0
564
Member Avatar for Andrew_45
Member Avatar for webguru_1
Member Avatar for pty
0
146
Member Avatar for jkon

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 …

Member Avatar for jkon
0
424
Member Avatar for patk570

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", …

Member Avatar for ndeniche
0
3K
Member Avatar for Dev_9

Use [`comm`](https://linux.die.net/man/1/comm) or [`diff`](https://linux.die.net/man/1/diff).

Member Avatar for pty
0
3K
Member Avatar for James_90

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()`).

Member Avatar for Amelia_4
0
2K
Member Avatar for Auditions

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 …

Member Avatar for pty
0
167
Member Avatar for Zinavo
Member Avatar for davy_yg

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 …

Member Avatar for pty
0
171
Member Avatar for davy_yg

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.

Member Avatar for davy_yg
0
2K
Member Avatar for patk570

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 …

Member Avatar for Kannu_2
1
453
Member Avatar for davy_yg

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.

Member Avatar for pty
0
364
Member Avatar for Mr.M

> 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 …

Member Avatar for Mr.M
0
6K
Member Avatar for Sagnik_1
Member Avatar for happygeek
0
206
Member Avatar for Gokul_4

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.

Member Avatar for rproffitt
0
186
Member Avatar for vedwebservices

That kind of ban is called a shadowban. Regular Reddit moderators cannot perform site-wide shadowbans, only administrators can. Usually it happens to spammers.

Member Avatar for pty
0
363
Member Avatar for davy_yg
Member Avatar for davy_yg

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 …

Member Avatar for pty
0
267
Member Avatar for Liam_8

It will be much easier for people to test and contribute if you create a JS fiddle demonstrating exactly what the problem is.

Member Avatar for gentlemedia
0
4K
Member Avatar for davy_yg

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?

Member Avatar for pty
0
499
Member Avatar for davy_yg

`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.

Member Avatar for gentlemedia
0
355
Member Avatar for John_165

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 …

Member Avatar for JamesCherrill
0
2K
Member Avatar for ashi_1

[Beets](https://github.com/beetbox/beets) is exactly this. Don't try to rip it off OP, it'll be painfully obvious.

Member Avatar for pty
0
557
Member Avatar for _1_6
Member Avatar for pty
0
279
Member Avatar for Siberian

Without knowing what you've done it's difficult to diagnose anything. Did you install [this](https://code.visualstudio.com/docs/languages/python)?

Member Avatar for tinstaafl
0
575
Member Avatar for NuGG

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.

Member Avatar for rproffitt
0
230

The End.