topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday June 5, 2025, 7:42 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 151 152 153 154 155 [156] 157 158 159 160 161 ... 438next
3876
Developer's Corner / Cross-Platform Mobile Development - MonoCross
« Last post by Renegade on January 03, 2013, 02:09 AM »
This looks pretty cool:

http://www.monocross.net/overview

It's another Mono fork (so, C#), but setup to do cross-platform through MVC and access to native APIs. So, it's a different approach from some others, but sounds very cool.

I just finished the basics for an Android app written in C# with Mono for Android (MonoDroid) - from Miguel De Icaza's Xamarian. I think I might just give this MonoCross a spin! It's free too! :)

3877
This boils down to there being APIs that are very sensitive and open to abuse, and that they are completely open on the desktop. Mobile platforms force you to declare the APIs that you use, and this offers a degree of protection.

I could easily write a quick piece of software to steal passwords and send them to me that you could run, and the only thing that would set off your AV software is that it wasn't a common piece of software that it already knew about, so it could alert you. Avast does this.

However, look at all the NANY entries. You may very well get some warnings from some of them.

That doesn't mean that they are infected, nor that they are safe. Basically, you need to trust in the author. (I can assure you that I do not write malware, though I have had very thick envelopes passed across the table to me just to consider it [not even for writing it] -- I pushed the envelope back.)

New threats will always emerge. A good tactic is to "wait and see".
3878
Funny you should mention debugging, but that's exactly why I recommended Aptana.

Yeah, I know you did, and I recognize the functionality.  But Aptana is a coder's IDE, not a beginner's.

True enough. One of the things that I think is FANTASTIC about IDE's like Aptana is code completion (Intellisense in Visual Studio).

Maybe an older version of Visual Studio might be good? Before 2010 VS had dynamic help, which would display help for you as you type. It was a SPECTACULAR feature, and probably one of the easiest ways to learn. Not sure how it did for HTML/JS though as I've always used other editors for that.

I don't know any beginner level editors that have code completion. :( (I won't use an IDE without it - I'd rather just get doing stuff that worry about whether the exact method name is "setMouseHoverListener" or "SetMouseHoverListener" or "OnSetMouseHover" or whatever.)

If you can get her onto something with code completion, she'll improve by leaps and bounds on her own.


<aside>
How are the wounds doing, Renegade?  Much better, I hope.
</aside>

Thanks for asking. It's doing a lot better now. It's about over that "itchy" stage. The one knuckle is at about 80%. It's a bit weird as it's still numb and tight, but pretty much all my strength is back (lacking some flexibility). Skin's starting to peel away as well - the dead stuff on top - like a really bad sunburn - leaving the nice shiny new stuff! But near 100% now! :D You've been through it, so I'm sure you know how it is.
3879
Living Room / Samsung Attacks Apple & Google
« Last post by Renegade on January 02, 2013, 07:59 AM »
This really should be in the Developer's Corner, but it's still of broad interest.

http://www.yeecco.com/ecosys/samsung

Samsung: best Android devices, fast growing ecosystem
quickly commercialise your iOS apps on Android

Samsung is shipping over 50.2 million smartphones worldwide each quarter, and all these phones come with their preinstalled app store - Samsung Apps. Using Stella SDK to target this app store is free. Why miss the chance to get featured in this fast growing app store? As the world’s largest phone maker, Samsung’s Android devices represent the most advanced technology in the industry and they are very popular around phone users globally. The Yeecco for Samsung Programme is a collaboration between Yeecco and Samsung Electronics, through this programme and Stella SDK, Yeecco brings advanced mobile development technology and great technical support to those active developers worldwide.

Samsung is subsidizing this company to provide iOS developers a free way to port their apps to Android and get it in the Samsung Apps store.

i.e.
Steal developers - attack Apple
Get apps in Samsung Apps instead of Google Play - attack Google

Looks like a brilliant little strategy there. From some that I've read from developers, the Stella SDK is really fast to port with.

Keep your eyes peeled - the mobile war is just beginning! (ROAR! EAT THEIR FLESH! ...AND SILICON!!!) :P
3880
General Software Discussion / Re: WYSIWYG html/xml creator
« Last post by Renegade on January 02, 2013, 03:58 AM »
Yes - a standard link to the file. e.g.

Code: HTML [Select]
  1. <script language="JavaScript" type="text/javascript" src="/path/to/script.js"></script>

3881
Funny you should mention debugging, but that's exactly why I recommended Aptana.

For BBCode, try EditPlus or Notepad++. You'll need to modify/create some highlighting syntax files or snippit files for BBcode or download them - I've done it before, but really don't make use of it all that much and end up just typing tags instead. Both are excellent editors and quite simply to use.

For EditPlus, you might want to skip the ZenCoding stuff and not install that. Just a preference thing.
3882
General Software Discussion / Re: WYSIWYG html/xml creator
« Last post by Renegade on January 01, 2013, 06:46 PM »
Just add the plugin to your HTML file, and make sure to add it to the project as well.

Have you used project files before? They're basically a collection of all the files needed for a project to work. In this case, the HTML, CSS, and JS files. Well, and images and all that stuff too.
3883
Living Room / Re: Chinese Laborer pleads for help in Halloween Decorations
« Last post by Renegade on January 01, 2013, 09:56 AM »
I've love to comment, but that would be better saved for the Basement.
3884
This is kind of one of the reasons that I tend to just "Submit" an application rather than try to promise one... I'm always scared that something will suck up my time and stop me from releasing, and I'll end up with vapourware, and very embarassed.

If I were to come up with a moniker for my releases this year, I'd say "1 brain cell required - not 2"! ;D
3885
General Software Discussion / Re: Good coding conventions - Discussion
« Last post by Renegade on January 01, 2013, 07:44 AM »
What language are you using? Dashes aren't legal in a lot of languages (I can't think of one where they are legal)
The (good?) old language Cobolw has them. The dialect I've been using (MF) doesn't even accept underscores as a valid character in variable-names, AFAIK :o

Ah! We have one! Didn't know that.


Another option for things like file names is the period. e.g.

this.is.a.file.with.periods.txt

Of course, you can't use them in a lot of programming languages as they already have a meaning, e.g. Perl, PHP, C#, Java, etc.

I sometimes use periods in file names. All depends on where the file will be used.
3886
Living Room / Re: Desktop html5 apps. Are there any? Is this a sucessful model?
« Last post by Renegade on January 01, 2013, 07:37 AM »
There's Pokkie by Sweetlabs...

I'm not all that keen on HTML5. I hate JavaScript as it is, and just find the whole thing a bit, icky. Why not just do a normal application? If you need a browser, stick one in it. With the HTML5 model, you sacrifice a huge amount of power right off the bat. Seems a bit silly to me, and very backwards.
3887
Living Room / Re: Staple of people from State and Europe !
« Last post by Renegade on January 01, 2013, 05:41 AM »
Any chance you could leave some of our kangaroos alive now so that we poor people of Oz can shoot and eat them later?

NO! Mine all mine~! :P ;D NOM NOM NOM NOM NOM~!

I must confess, I have been turned onto kangaroo over beef!  :up:

Kangaroo steak, cooked rare smothered with peppercorn sauce and juniper berries.......drats, I'm drooling......

BTW, emu sausages - much better than beef ;)

Well, I must confess, I've not had emu sausages... YET! ;D I'll have to look for them.

(Hannam supermarket was about the ONLY place I could buy ANY kind of deli meat for well over a decade, but it was incredibly inconvenient to get to and prices were very easily at least 10x what they are here, so I've thoroughly enjoyed the wonderful delis here! But I've not seen emu sausages before...)
3888
Living Room / Re: Staple of people from State and Europe !
« Last post by Renegade on January 01, 2013, 12:35 AM »
Kangaroo burgers for New Year's Eve dinner, and Aussie organic beef sausages for New Year's Day lunch/dinner. :P Nom nom nom nom~! :P Aussie beef and kangaroo ROCK~! :D (Hotdogs here are kind of sucky, but hotdogs are garbage food to begin with, and the sausages are a lot better anyways.)
3889
Living Room / Obfuscating Email Addresses
« Last post by Renegade on December 31, 2012, 11:12 PM »
I came across an excellent post on obfuscating email addresses:

http://superuser.com...y-work/235965#235965

CSS Codedirection 0 MB
<span style="unicode-bidi:bidi-override; direction: rtl;">
moc.elpmaxe@zyx
</span>

CSS display:none 0 MB
xyz<span style="display:none">foo</span>@example.com

ROT13 Encryption 0 MB
[email protected]

It's kind of not really good for "General Software", but I didn't want to squirrel it away in the Developers Forum where fewer people would see it. It's all pretty simple stuff, and I think most people could use it.

I wrote a utility to do that kind of thing a long time ago:

http://renegademinds...abid/68/Default.aspx

The methods there aren't all in the article, so I don't know how effective it still is, but my gut tells me that some of them are still very strong. (Due to the massive CPU requirements for some of them.)

Anyways, there's more there at the link above.
3890
General Software Discussion / Re: WYSIWYG html/xml creator
« Last post by Renegade on December 31, 2012, 10:04 PM »
do you know how to load jquery plugins?
is this a simple procedure or it needs customization etc?

It would depend on the specific plugin, but the general method would simply be to add the plugin to your HTML page as normal then add it to the project file as well. You can then set breakpoints and the like.
3891
Living Room / Re: Don't You Want to be "Safe"?
« Last post by Renegade on December 31, 2012, 09:25 PM »
For an unclassified (REDACTED), it's (REDACTED) that it is incredibly heavily (REDACTED). Many (REDACTED) that are (REDACTED) are (REDACTED). You can (REDACTED) followed by (REDACTED) white (REDACTED)e and then immediately followed by (REDACTED).

Hahahaha~! YES! It's exactly like that! :D  :Thmbsup:
3892
Living Room / Re: Don't You Want to be "Safe"?
« Last post by Renegade on December 31, 2012, 09:16 PM »
More Dystopian Novel junk:

http://www.guardian....ted-crackdown-occupy

Revealed: how the FBI coordinated the crackdown on Occupy

New documents prove what was once dismissed as paranoid fantasy: totally integrated corporate-state repression of dissent

"...The Partnership for Civil Justice Fund, in a groundbreaking scoop that should once more shame major US media outlets (why are nonprofits now some of the only entities in America left breaking major civil liberties news?), filed this request. The document – reproduced here in an easily searchable format – shows a terrifying network of coordinated DHS, FBI, police, regional fusion center, and private-sector activity so completely merged into one another that the monstrous whole is, in fact, one entity: in some cases, bearing a single name, the Domestic Security Alliance Council. And it reveals this merged entity to have one centrally planned, locally executed mission. The documents, in short, show the cops and DHS working for and with banks to target, arrest, and politically disable peaceful American citizens...."

http://www.justiceon...y/fbi-files-ows.html



For an unclassified document, it's rather odd that it is incredibly heavily redacted. Many areas that are clearly marked "unclassified" are redacted. You can see "unclassified" followed by redacted white space and then immediately followed by "unclassified".
3893
Developer's Corner / Re: A very simple help window
« Last post by Renegade on December 31, 2012, 10:35 AM »
Ah, I should also post an example usage:

Code: C# [Select]
  1. Help.HelpWindow h = new Help.HelpWindow("The buttons below are dynamic, and you can have as many as you like. <br /><br />Clicking one of the buttons returns the value clicked.", new string[] { "farty party~!", "new year", "bye!" });
  2.             h.ShowDialog();
  3.             Console.WriteLine("You clicked: <br/ >\"<b>" + h.Value + "</b>\"");
  4.             h.Dispose();
3894
Developer's Corner / A very simple help window
« Last post by Renegade on December 31, 2012, 09:19 AM »
I put together the basics for a very simple help/dialog window, and thought that it might be useful for some others.

It's NOT complete/production, but is a good basic help for someone to get started on a better dialog. i.e. You can use it as a launch pad to create something much better than the typical lame YES/NO dialog.

The basics are that it opens a dialog and displays buttons for people to click. The number of buttons can be arbitrary, e.g. 1 or 100. Buttons all display semi-nicely in rows.

Likely it's not all that useful except as a launch pad for ideas.

* Help.zip (11.01 kB - downloaded 282 times.)

Here's the basic code:

Code: C# [Select]
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9.  
  10. namespace Help
  11. {
  12.     public partial class HelpWindow : Form
  13.     {
  14.         public string Html = string.Empty;
  15.         public string[] ButtonTexts;
  16.         public string Value = string.Empty;
  17.  
  18.         // Don't use the default contructor. Use the override.
  19.         //public HelpWindow()
  20.         //{
  21.         //    InitializeComponent();
  22.         //}
  23.  
  24.         /// <summary>
  25.         /// A simple override to let you set the HTML of the browser and create an arbitrary number of buttons.
  26.         /// </summary>
  27.         /// <param name="html">The HTML for the browser.</param>
  28.         /// <param name="buttonTexts">The text for each button. The form returns the text value for the clicked button when it closes.</param>
  29.         public HelpWindow(string html, string[] buttonTexts)
  30.         {
  31.             InitializeComponent();
  32.             Html = html;
  33.             ButtonTexts = buttonTexts;
  34.  
  35.             int lastLeft = 24;
  36.             List<Size> sizes = new List<Size>();
  37.             int newTop = 16;
  38.             for (int i = 0; i < ButtonTexts.Length; i++)
  39.             {
  40.                 // Create a new button - this could be beefed up with a new custom type or something.
  41.                 Button b = new Button();
  42.                 b.Text = ButtonTexts[i];
  43.                 Size s = TextRenderer.MeasureText(b.Text, b.Font);
  44.                 sizes.Add(s);
  45.                 b.Width = s.Width + 10;
  46.                 b.Height = s.Height + 8;
  47.  
  48.                 // check the width and see if the next button will fit.
  49.                 int totalWidth = 24;
  50.                 foreach (Size sz in sizes)
  51.                 {
  52.                     // Add up the widths and some padding.
  53.                     totalWidth += sz.Width + 10; //   the width of all previous, and the current one
  54.                     // check if that is too wide for the current form width
  55.                     if (totalWidth >= scPanel.Panel2.Width - 44) // we want a bit extra width on the right side so it's not jam packed.
  56.                     {
  57.                         // adjust the top down 24 with 10 padding - like a line feed LF
  58.                         newTop += s.Height + 8;
  59.                         // clear the sizes as we're starting over now
  60.                         sizes = new List<Size>();
  61.                         // add the current button again as we'll need it again in the next loop iteration
  62.                         sizes.Add(s);
  63.                         // Adjust the left back - like a carriage return CR
  64.                         lastLeft = 24;
  65.                         // Put the splitter up a bit to automatically show the lower buttons.
  66.                         scPanel.SplitterDistance -= 34;
  67.                         break;
  68.                     }
  69.                 }
  70.  
  71.                 b.Top = newTop;
  72.                 b.Left = lastLeft;
  73.                 b.Click += new EventHandler(b_Click);
  74.                 scPanel.Panel2.Controls.Add(b);
  75.                 lastLeft = b.Left + b.Width + 16;
  76.             }
  77.         }
  78.  
  79.         void b_Click(object sender, EventArgs e)
  80.         {
  81.             // Set the value and close the form.
  82.             this.Value = ((Button)sender).Text;
  83.             this.Close();
  84.         }
  85.  
  86.         private void HelpWindow_Load(object sender, EventArgs e)
  87.         {
  88.             // This is where you should load the HTML into a browser control or something like that. It should be in Panel1.
  89.         }
  90.  
  91.         private void HelpWindow_FormClosing(object sender, FormClosingEventArgs e)
  92.         {
  93.             // Not really needed here. Do any last minute processing if you like here.
  94.         }
  95.     }
  96. }
3895
General Software Discussion / Re: Synergy Virtual KVM
« Last post by Renegade on December 31, 2012, 08:55 AM »
So far, I'm quite happy with Synergy.

Already considered to donate for their work?

Yep. Just donated today.

Mind you, it wasn't a lot, but they'll be in my list of software to donate for again. In the past I've bought software multiple times for a single license and donated multiple times for software, but things are a bit thinner these days, so I need to watch things a bit better. Before, I was single without a family, and really blew a lot of money that I didn't need to. Still, I think it's important to express financial support for software that I enjoy. Been doing that for years, and will continue to do so.

Any word on that $10 special that you'd mentioned before? Curious.
3896
N.A.N.Y. 2013 / Re: N.A.N.Y. 2013 Submission - RAT (Renegade Audio Transcoder)
« Last post by Renegade on December 31, 2012, 08:15 AM »
Awesome utility, Ren!

Thank you!

I don't think most people know how much it means to us programmers/authors when someone says that! Greatly appreciated! :D

3897
Living Room / Happy New Year~!
« Last post by Renegade on December 31, 2012, 07:00 AM »
Happy New Year everyone~! ;D

3898
General Software Discussion / Re: Good coding conventions - Discussion
« Last post by Renegade on December 30, 2012, 11:43 PM »
I've had people define scope as "good". I mean that quite literally. Huh? Yep. Not a joke.
3899
General Software Discussion / Re: Good coding conventions - Discussion
« Last post by Renegade on December 30, 2012, 10:05 PM »
(Ghetto) None, becuz I' no programmer bro. I just be a dumb humanities birdie. (/Ghetto)

So my only use case is naming files when I don't feel like seeing a lot of %20's in my file names on remote sites. I use spaces the rest of the time in Windows. So I never ever had a use case for Under_Scores, and now that I'm cranky and senile at an early age they annoy me. : )

Ah. Got it. I was thinking way back to when spacing was significant and a single space could break things. Under those conditions, it would be possible to have dashes in variable names with the further condition that operators like minus were padded on the left & right with a space. Couldn't think of a language that did it, but I could imagine it being possible.
3900
General Software Discussion / Re: Good coding conventions - Discussion
« Last post by Renegade on December 30, 2012, 09:59 PM »
In Visual Studio with C# you can add comment documentation above a method very easily by using 3 slashes:

///

That depends on which version of VS you're using. For some reason three slashes will break your code in VS2005 (yes I still use it frequently). But I (am nutz and still) primarily work in pure Win32 API C++

I haven't used 2005 in a long time. I'm using 2010 now, with no plans to migrate to 2012 at the moment.

But I didn't know that it broke in 2005. Might have been a reason that I didn't use them way back then.
Pages: prev1 ... 151 152 153 154 155 [156] 157 158 159 160 161 ... 438next