- Strength to Increase Rep
- +10
- Strength to Decrease Rep
- -2
- Upvotes Received
- 339
- Posts with Upvotes
- 224
- Upvoting Members
- 68
- Downvotes Received
- 15
- Posts with Downvotes
- 15
- Downvoting Members
- 12
Developer
- PC Specs
- Q6600, 2GB Corsair XMS2 RAM, 500GB Samsung HDD, nVidia 8800 GT. Running Debian Lenny
677 Posted Topics
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 … | |
Re: 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. | |
Re: This is exactly the sort of post that shouldn't exist. It's just shit in every way. | |
| |
Re: 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+. | |
Re: 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. | |
Re: 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 … | |
Re: 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. | |
Re: 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). | |
Re: 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 ├── … | |
![]() | Re: I use `fd` for this kind of thing. https://github.com/sharkdp/fd |
Re: 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:  Awesome, there was a post 4 hours ago! **Clicks link**  3 days, 5 days, 9 … | |
Re: 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. | |
Re: Grade F: rahul_63 | |
Re: 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. | |
Re: 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. | |
Re: 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). | |
Re: 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). | |
Re: 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. | |
Re: 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 … | |
Re: I use [`diff`](https://en.m.wikipedia.org/wiki/Diff_utility) for this kind of thing. | |
Re: 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. | |
Re: 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. | |
Re: The fact this post hasn't just been deleted is a bad sign. Burn it with fire. | |
Re: 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 … | |
Re: Excluding your aggregate columns you need to `group by` all you `select` by. That's just the way it works. | |
Re: 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`. | |
Re: 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 … | |
Re: 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, … | |
Re: 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. | |
Re: 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. | |
Re: 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. | |
Re: 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. | |
Re: 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, … | |
Re: 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 … | |
Re: 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. … | |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: I have *optimised* this even more so you don't need to worry about those pesky patterns and stuff. Just use `(.*)`. | |
Re: 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] … | |
Re: 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 … | |
Re: 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` | |
Re: 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 … | |
Re: 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. | |
Re: 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. | |
Re: `choco install python` (See other thread) | |
Re: Did you remove the tape/film from the new colour cartridge before you inserted it? | |
Re: 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. |
The End.