Posts
 
Reputation
Joined
Last Seen
Ranked #58
Strength to Increase Rep
+10
Strength to Decrease Rep
-2
91% Quality Score
Upvotes Received
339
Posts with Upvotes
224
Upvoting Members
68
Downvotes Received
15
Posts with Downvotes
15
Downvoting Members
12
100 Commented Posts
7 Endorsements
Ranked #260
Ranked #261
~566.27K People Reached
About Me

Developer

PC Specs
Q6600, 2GB Corsair XMS2 RAM, 500GB Samsung HDD, nVidia 8800 GT. Running Debian Lenny
Favorite Tags

677 Posted Topics

Member Avatar for pty

Has anyone tried [Mastodon](https://en.wikipedia.org/wiki/Mastodon_(software)) yet? For those who don't know it's a federated, distributed and (currently) technology-orientated social network (well, rather a group of interoperable social networks) that's fully open source and ad-free. I've been impressed so far but as with every new network, whether it flies or not will …

Member Avatar for Dani
3
296
Member Avatar for rubyjean

I think the next big thing is to sign up for forums with a female name and fake avatar and make nothing posts with links to shit websites that like they were created with badly farmed content.

Member Avatar for bessieexum
5
3K
Member Avatar for SN Technologies

This is exactly the sort of post that shouldn't exist. It's just shit in every way.

Member Avatar for bessieexum
0
656
Member Avatar for worldbus
Member Avatar for stratozyck

It's not difficult to get something with Facebook-like functionality up and going on a small scale. I could build a working prototype in a couple of days. The difficult bit is attracting users. Google couldn't do it with their resources for Google+.

Member Avatar for pty
1
116
Member Avatar for fashionandyou

Now you can run SQL Server and .NET on Linux, the remaining differences are user familiarity and price. Linux is free but if you already use and know Windows, Linux might seem complicated. Also, Windows isn't as easy to administrate remotely and trickier to secure.

Member Avatar for AccuWeb Hosting
0
572
Member Avatar for happygeek

The short answer is that it depends who I'm talking to. With other people who are interested in technology I use hacker in the traditional sense (white hat). With muggles (many of my clients), it's easier to use the word to describe the black hat variety. It just means I …

Member Avatar for Naheedmir
1
4K
Member Avatar for kiruthi_1

Another thread full of useless information. How long would this have lasted on Stack Overflow? Not long. And **that** is why people go there. This is why forums fell behind. This right here.

Member Avatar for katebonner
1
8K
Member Avatar for stefh

You might want to consider moving `/home` to its own partition. Then you can replace the OS at will without needing to go through the copying everything to an external hard drive and back routine (although still backup regularly, it's a good habit).

Member Avatar for taceg30003
1
941
Member Avatar for Dani

If you're using the latest version of macOS where the default shell changed to zsh you can glob it /tmp ❯ mkdir -p omg/wtf/bbq /tmp ❯ touch omg/wtf/bbq/{1,2,3,4,5,6,7,8,9,10}.css /tmp ❯ tree omg omg └── wtf └── bbq ├── 10.css ├── 1.css ├── 2.css ├── 3.css ├── 4.css ├── 5.css ├── …

Member Avatar for Sohaib_7
3
932
Member Avatar for SpiffyCS
Member Avatar for pritaeas

This is difficult because even though the experience has been improved (thanks) it's not massively intuitive. For example, if I'm browsing around looking for an interesting thread to read/contribute to, I see this: ![Screenshot_from_2020-07-10_12-48-32.png](https://static.daniweb.com/attachments/0/01f05622cc77feb01a952d9141e2b059.png) Awesome, there was a post 4 hours ago! **Clicks link** ![Screenshot_from_2020-07-10_12-48-44.png](https://static.daniweb.com/attachments/0/9ed368f7b0d6a1340d32ab7a873042de.png) 3 days, 5 days, 9 …

Member Avatar for Dani
0
622
Member Avatar for davy_yg

https://www.ampproject.org/ Based on your prior record Davy, I think it will take you 98 forum questions and 14 pastings of random code you find on the internet to solve it.

Member Avatar for Dani
1
905
Member Avatar for shantuli
Member Avatar for Fusioneventz

You can also use filters to *filter out* data from your own networks. This will prevent internal use of your site/app by employees/testers from influencing statistics.

Member Avatar for nikitacod
-1
337
Member Avatar for Adhri

I still find it funny that *the* place to go for online tech discussion ([Hacker News](https://news.ycombinator.com/news)) still uses nested tables for all layout. I know it's wrong but it works pretty well. These days [CSS Grid](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout) does everything tables does better *and* in a responsive manner.

Member Avatar for nanakumi75
0
709
Member Avatar for Dani

Looks like this has been a problem in PHP for a [long time](https://github.com/phpredis/phpredis/issues/37). On a brighter note, it looks like [a fix is on the way](https://github.com/phpredis/phpredis/issues/1267).

Member Avatar for Dani
0
4K
Member Avatar for davy_yg

You want your table and every cell within it to be `5px` wide and have `5px` padding? I think you should start by learning [how CSS selectors work](https://developer.mozilla.org/en-US/docs/Learn/CSS/Introduction_to_CSS/Selectors).

Member Avatar for Purvi_1
0
771
Member Avatar for FarrisFahad

Without original content you'll struggle. And high quality original content, believe it or not, takes time and effort (or time and money!). Also, blocking your site up with a non closeable image on mobile is not a good sign.

Member Avatar for 3lephant
0
2K
Member Avatar for rproffitt

While you're at it Dani, I think there should be a preference somewhere to hide (or group, maybe) the "began watching a topic" and "viewed a topic" cards. Am more interested in posts and replies. The data can still be presented I think, just maybe a little less promenant. Maybe …

Member Avatar for rproffitt
0
3K
Member Avatar for Terry_8
Member Avatar for Nani_2
0
32K
Member Avatar for Dani

They did a whole visual refresh as part of their tenth birthday celebration. Hard to imagine that eleven years ago Firefox was fast catching up to IE and it looked like it was going to be a two horse race for the foreseeable future.

Member Avatar for rproffitt
0
4K
Member Avatar for Dani

Posts like [this](https://www.daniweb.com/programming/web-development/threads/516332/javascript). They should be deleted instantly. To be honest, for new members, the post shouldn't even become visible until an admin has verified it. It's **pollution** and it damages the site.

Member Avatar for happygeek
2
6K
Member Avatar for k_7
Member Avatar for Sherin Mathew
0
546
Member Avatar for Dani

It would appear that the leak is available; the reason I logged in after quite a break was that I received an email from [haveibeenpwned.com](https://haveibeenpwned.com/) telling me that: > **You've been pwned!** > You signed up for notifications when your account was pwned in a data breach and unfortunately, it's …

Member Avatar for Alexander_17
3
4K
Member Avatar for PM312

Excluding your aggregate columns you need to `group by` all you `select` by. That's just the way it works.

Member Avatar for SeanDevoy
0
3K
Member Avatar for Dani

They are synonymous, if you check the official docs it says as much. The reason they're both there is for familiarity, SQL Server and DB2 use `lcase`, Oracle and PostgreSQL use `lower`.

Member Avatar for pty
0
4K
Member Avatar for Dani

All RDBMs have more-or-less the same [Transaction Isolation Levels](https://en.wikipedia.org/wiki/Isolation_(database_systems)) but sometimes they go by slightly different names and MySQL has a few extra oddities. Before going further understanding what a dirty read is and how to avoid it is important. `READ WRITE` and `READ ONLY` set the level of access …

Member Avatar for Dani
1
2K
Member Avatar for davy_yg

I'd just use [toLocaleTimeString](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleTimeString). let options = {weekday: 'long', year: 'numeric', month: 'long', day: 'numeric'}; let now = new Date(); console.debug(now.toLocaleTimeString("en-GB", options)); If you need more formatting control then you could use a library like [Fecha](https://github.com/taylorhakes/fecha) or [moment.js](https://momentjs.com/) where you can do stuff like this: // in fecha fecha.format(new Date(2015, …

Member Avatar for pty
0
303
Member Avatar for Dani

MySQL binds `current_timestamp()`/`now()` at the beginning of the statement so I believe all of your records would have the same `created_at` value. If you wanted them to differ I think you'd need to use a cursor and separate insert statements.

Member Avatar for pty
0
3K
Member Avatar for Reverend Jim

I use Skype daily and prefer `web.skype.com`. It runs perfectly in the browser and means I don't have to install anything or touch the client which, to be honest, could suck golf balls through a hosepipe.

Member Avatar for Reverend Jim
0
749
Member Avatar for FarrisFahad

These days, just build responsive. jQuery Mobile has always been a kludge, I wish it didn't have the jQuery name because that made people think it was actually good. It's not, avoid it.

Member Avatar for FarrisFahad
0
1K
Member Avatar for Mo_3

I agree with Jim. Hands-on learning is the best way by far. If you're just getting started I'd recommend [CodeAcademy](https://www.codecademy.com). Finally, in the UK is [national coding week](https://codingweek.org) this week, there are free courses up and down the country. I'm mentoring at Full Stack Of Pancakes in Manchester.

Member Avatar for deutnukem
2
747
Member Avatar for JModak

This is a really weird use-case, I wouldn't recommend it. A better approach is to use a single database and make your dynamic objects (views, functions, procedures etc) aware of the financial year. Then you'd reap multiple benefits. Firstly, one version of everything, you know which is *the truth*. Secondly, …

Member Avatar for pty
0
504
Member Avatar for happygeek

Yep looks really good! In making this reply I encountered a slight bug. I typed some words into the box, hit "post reply" and it took me to the login page. On mobile, the actual form was way off the bottom of the page, but when I found it, I …

Member Avatar for John_165
0
680
Member Avatar for HOT3

So you have a target database (the one you'll be left with at the end) and a source database, the one you'll copy *from*. Take a backup of both of your databases before you start. If you have any unique fields you need to remove them from the source database. …

Member Avatar for happygeek
0
631
Member Avatar for Raju_3

No, that's not how the web works. If I want to browse 2gud.com (I don't, but bare with me) I can just override my user agent at the click of two buttons. Why go to a load of effort when there's no payback and it might just piss off your …

Member Avatar for dannette
0
455
Member Avatar for rproffitt

Violence at football matches isn't really a thing now. Yes, it happens but incidents are isolated and infrequent. I'd say the most violent times are Friday and Saturday nights in certain town centres where people drink far too much on a very regular basis. Often the fights don't happen until …

Member Avatar for happygeek
0
708
Member Avatar for happygeek

And these clowns want companies to add backdoors and to circumvent encryption. I hope the GPDR gives them a nice kick up the arse while we embarrass ourselves on the world stage by leaving the EU.

Member Avatar for pty
0
1K
Member Avatar for tony75

I have *optimised* this even more so you don't need to worry about those pesky patterns and stuff. Just use `(.*)`.

Member Avatar for Reverend Jim
0
446
Member Avatar for Mirty

You have made a decent start. In addition to looping you need to think about how you might store the user-entered results. In order to loop you're probably best using the `#times` method of an integer, this means you'll have to convert your `gemstoneNumber` to an integer before looping. [1] …

Member Avatar for pty
0
287
Member Avatar for Jessica_16

You need to buy a domain name if you don't have one already. Once you have one, you need to modify the DNS settings so that it points at your web server. Whoever you buy the domain from will have instructions on how to do this. If you don't want …

Member Avatar for Jessica_16
0
564
Member Avatar for newbie_1

Also you should be supplying a relative path and not exposing your file structure. If the root of your server is `img_mysql` your path should start with `images`

Member Avatar for Tpojka
0
815
Member Avatar for Mohrorless

Before you start doing any work, if at all possible, create a commit for the last developer with all her changes explaining what happened, then you're starting your own work with a clean slate. On the plus side, at least there *was* source control. I've taken on several contracts where …

Member Avatar for pty
0
530
Member Avatar for Eric_28

So what's missing? [Your app needs to call your API with a couple of parameters](http://loopj.com/android-async-http/), your API should respond with success or failure.

Member Avatar for pty
-2
1K
Member Avatar for happygeek

DuckDuckGo was launched in 2008 and is totally unaffiliated with Google. It's a shame Google is so entrenched but DDG is the best option around from a privacy point of view, results are of a decent quality and the UI is sensible and familiar.

Member Avatar for Dani
10
3K
Member Avatar for davy_yg
Member Avatar for Sen_4

Did you remove the tape/film from the new colour cartridge before you inserted it?

Member Avatar for aiguy
0
5K
Member Avatar for SimonIoa
Member Avatar for shashank111

Isn't it funny how all the replies have little to no valuable content plus links to shitty SEO and marketing companies in their signatures? Oh, no it isn't.

Member Avatar for pty
0
869

The End.