• Member Avatar for pty
    pty

    Replied To a Post in calculate the grades for a student using if..else statements.

    On another note, this is where the StackOverflow 'style' of questions and answers, with plenty of non-nonsense moderators, works well. Homework questions like this are good for nothing. If the …
  • Member Avatar for pty
    pty

    Replied To a Post in calculate the grades for a student using if..else statements.

    Grade F: rahul_63
  • Member Avatar for pty
    pty

    Replied To a Post in Watermark

    For every image you want to store a separate watermarked version of that image. So, you need a 'task' that runs per upload. For your already-uploaded images you need to …
  • Member Avatar for pty
    pty

    Replied To a Post in Watermark

    Quite an easy process. Just create a semitransparent watermark, find an image, add the watermark to your image and voila, you're done!
  • Member Avatar for pty
    pty

    Replied To a Post in What To Download Today From Youtube ?

    > Back in 2012, I once built a .exe bot that finds you WP blogs that still have their commenting section open and then posts your comment. Well done, your …
  • Member Avatar for pty
    pty

    Gave Reputation to tarun_6 in How to store multiple check boxes in html

    How to write the code to save the check box
  • Member Avatar for pty
    pty

    Replied To a Post in How to store multiple check boxes in html

    I'd start by learning Java. Then SQL. When you've learned Java and SQL, then learn HTML. Now you've mastered those relatively simple subjects, just learn all of the glue that …
  • Member Avatar for pty
    pty

    Replied To a Post in SQL-there is already an object named xxx in the database?

    You can't create a table if a something with the same name already exists. If you have created it in error and it doesn't contain any important data, drop it. …
  • Member Avatar for pty
    pty

    Replied To a Post in FINDSTR returns whole line data

    Nope, `FINDSTR` only returns whole matching lines. You're best creating something in Powershell to return only what you want.
  • Member Avatar for pty
    pty

    Replied To a Post in Computer Language

    [Meet Alice](http://www.atarimagazines.com/v6n2/Alice.html).
  • Member Avatar for pty
    pty

    Replied To a Post in Computer Language

    If you're teaching someone C# as their first language, Visual Studio makes sense - it's an excellent environment all round and providing everyone's using Windows it makes sense to use …
  • Member Avatar for pty
    pty

    Replied To a Post in SQL Query to group and rank

    Unfortunately, MySQL doesn't support [Window Functions](https://www.postgresql.org/docs/9.6/static/tutorial-window.html), which make this type of query much simpler: select rank(), pos, performance, wind, athlete over ( partition by athlete, wind order by pos, performance …
  • Member Avatar for pty
    pty

    Replied To a Post in Computer Language

    Another advantage of Python (and other interpreted languages) is that you can learn the syntax much more quickly and easily while using a [REPL](https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop). For those who don't know, you …
  • Member Avatar for pty
    pty

    Replied To a Post in Computer Language

    Python is a solid first choice, it's really easy to get up and running, it's very sensibly designed and has plenty of libraries to choose from when you start doing …
  • Member Avatar for pty
    pty

    Replied To a Post in Connecting a mobile app to a MySQL database

    To cut a long story short, you don't want to connect to the database directly, you want to build an API that sits in-between. Let the API service talk to …
  • Member Avatar for pty
    pty

    Replied To a Post in Ruby/Watir - <Main> undefined local variable or method

    The problem looks like it's the quote symbol on your require line, `require ‘watir’`. In Ruby, this *needs* to be either a standard `'` or `"` pairing. If you really …
  • Member Avatar for pty
    pty

    Gave Reputation to microsoft_1 in How to gain visitors for Tech support website?

    Hello- How to gain visitors for Tech support website? Please suggest some authentic method to gain huge traffic.
  • Member Avatar for pty
    pty

    Replied To a Post in How to gain visitors for Tech support website?

    I'd start by getting someone who speaks native English to proof-read your text. I'd also drop the name Microsoft from your company name, it's likely to make potential customers think …
  • Member Avatar for pty
    pty

    Replied To a Post in HTML5 and using tables as borders

    Using tables for borders like that is no longer required, it's very brittle (as you've found out) and unnecessarily fiddly. Drop shadows can be implemented with a single line of …
  • Member Avatar for pty
    pty

    Replied To a Post in Private message notifications handled by Dazah

    I don't envy the task ahead of you Dani. There just isn't the enthusiasm there once was. Tech support has largely been supplanted by stackoverflow, the social/discussion aspect by Reddit, …
  • Member Avatar for pty
    pty

    Replied To a Post in why can't we change the default starting index of an array to 1 ?

    You could always switch to a language where indexing starts at `1`. FORTRAN, Lua, Pascal and Smalltalk to name a few.
  • Member Avatar for pty
    pty

    Replied To a Post in Lost my post because I had to register for Dahzz or some crap

    There are browser addons that [do this automatically](https://chrome.google.com/webstore/detail/lazarus-form-recovery/loljledaigphbcpfhfmgopdkppkifgno). Not the perfect answer, I know, but might come in handy.
  • Member Avatar for pty
    pty

    Replied To a Post in impossible to start apache2 on ubuntu LAMp

    What's `APACHE_RUN_DIR` set to? It will be defined elsewhere in your config
  • Member Avatar for pty
    pty

    Replied To a Post in A software like Visual Basic/Studio that supports programming languages

    So you're building an OS *and* an IDE but the contents of a project file are confusing? Just do yourself a favour and use something built by experts until you …
  • Member Avatar for pty
    pty

    Replied To a Post in Php - Mysql Search multiple values in the same field

    Or, add a [`fulltext`](https://dev.mysql.com/doc/refman/5.7/en/fulltext-natural-language.html) index to your table (across all the columns you care about) and use `match (cols...) against` syntax.
  • Member Avatar for pty
    pty

    Replied To a Post in Bootstrap date of birth field wont go side by side, help

    You can use three columns, just simplify your HTML a bit. See [this](http://jsfiddle.net/DTcHh/)
  • Member Avatar for pty
    pty

    Replied To a Post in Regex To Extract 2nd Level Domains From All TLDs ?

    Just find the ban hammer.
  • Member Avatar for pty
    pty

    Replied To a Post in SQL query joining 6 tables in asp.net

    Prefixing tables with `tbl` is pointless and makes reading the SQL much more difficult. Line 2 looks wrong, you can't comma separate `join` criteria, you should use `and` instead (and …
  • Member Avatar for pty
    pty

    Replied To a Post in A playground for php

    I'm a bit late but rather than VMs I'd recommend Docker with [Kitematic](https://kitematic.com). From the UI you can search for images and in a couple of clicks have the latest …
  • Member Avatar for pty
    pty

    Replied To a Post in Social Bookmarking Sites Are Back Stabbing You!

    I think Social Bookmarking services are a niche trend at best. They were very popular in the early-mid 2000's but the need for them was erroded from multiple angles. Chrome …
  • Member Avatar for pty
    pty

    Replied To a Post in string

    Don't worry, my program does this. Thank you for your concern.
  • Member Avatar for pty
    pty

    Replied To a Post in Invite Facebook Friends to visit your Website.

    [You need to select the correct app category](http://stackoverflow.com/a/29397507/7649503).
  • Member Avatar for pty
    pty

    Replied To a Post in Shortcuts to SSH

    Here's how I'd do it (and have done it for years). It's the canonical, accepted answer for Linux too. The SSH program has support for 'shortcuts' built in, you simply …
  • Member Avatar for pty
    pty

    Replied To a Post in Brainf**k

    There are plenty of [esoteric programming languages](https://en.m.wikipedia.org/wiki/Esoteric_programming_language), some of which have been around for a [long time](https://en.m.wikipedia.org/wiki/INTERCAL#Syntax). I'm not sure actually teaching students syntax is too important, but demonstrating that …
  • Member Avatar for pty
    pty

    Replied To a Post in how i can do it

    You can't have it because immediately after assigning it you're overwriting the value. I believe you can fix it by turning your computer upside down so the first line runs …
  • Member Avatar for pty
    pty

    Replied To a Post in I am having a hard time getting traffic to my website from Social Media

    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 …
  • Member Avatar for pty
    pty

    Created Mastodon

    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 …
  • Member Avatar for pty
    pty

    Replied To a Post in Trying to find a bug in my JS game.

    Perhaps try a slightly different workflow. If your code is transpiled you'll see these errors in the console straight away. Look at [Typescript](https://www.typescriptlang.org), a typed superset of JavaScript, or [Babel](https://babeljs.io), …
  • Member Avatar for pty
    pty

    Replied To a Post in Perl Regular Expression help

    Your regexp should probably be `[\*]?[ABMQRWY][A-z0-9]{4}235`, see [this](http://rubular.com/r/wGDVXXZIVu) example.
  • Member Avatar for pty
    pty

    Replied To a Post in Create circle with css

    You can do it using `border-radius` ([here's an example](http://jsfiddle.net/NXZnq/)) but it's not guaranteed to always be circular. If you change the `1` to `100,000` you'll see what I mean.
  • Member Avatar for pty
    pty

    Replied To a Post in Trying to find a bug in my JS game.

    You're calling `worldmapA()` but your function is called `worldMapA()`. Chrome dev tools will help you in situations like this. ![Screenshot_from_2017-04-14_13-18-12.png](/attachments/large/0/25cfa35fa5b536f7ed612d572ba02c2b.png "align-center")
  • Member Avatar for pty
    pty

    Replied To a Post in How to Choose License Type?

    Wikipedia support [Latex](https://en.wikipedia.org/wiki/Help:Displaying_a_formula#LaTeX_commands) notation which shouldn't require any uploading on your behalf.
  • Member Avatar for pty
    pty

    Gave Reputation to DavidB in How to Choose License Type?

    I have translated many numerical math programs from FORTRAN into C++ and JavaScript. The original FORTRAN source code listings are posted on the NETLIB site and have been in the …
  • Member Avatar for pty
    pty

    Replied To a Post in How to Choose License Type?

    I am not a lawyer, but I believe that if you 'port' software from one language to another, you're creating a derivative work and the original licence applies. However (from …
  • Member Avatar for pty
    pty

    Replied To a Post in How to replace font awesome icon with an image

    Plus, the CSS is totally different between the first and second fiddles. Posting examples with minimised code is a bad idea, it's clearly broken because while it looks like Bootstrap …
  • Member Avatar for pty
    pty

    Replied To a Post in How to replace font awesome icon with an image

    It's unresolved because you're a chump. I'm not here to do your work, resize your images or craft your stylesheets. You asked a question, I answered it; I subsequently ignored …
  • Member Avatar for pty
    pty

    Replied To a Post in How to replace font awesome icon with an image

    Did you actually read the source? Assuming you want to replace the `icon-cog`: <div class="icon-cog box-icon"></div> Replace the contents of the div with an `img` tag: <div class="box-icon"> <img width="60" …
  • Member Avatar for pty
    pty

    Replied To a Post in Change Markdown Syntax Page

    I'm currently writing a Markdown powered CMS, which adheres to [Commonmark](http://commonmark.org). Their [help page](http://commonmark.org/help/) is quick, easy and to-the-point.
  • Member Avatar for pty
    pty

    Replied To a Post in Is this right way to write Business plan writing ?

    If you plan on writing in English, I'd master it first. Yes, I know you're actually linking to that site for SEO purposes. Kind of lame at the best of …
  • Member Avatar for pty
    pty

    Replied To a Post in Twitter Bootstrap based on device width

    If you did that it would no longer be responsive! (actually, the only way it would 'respond' would be if you're using a tablet/phone and rotated it)

The End.