Get Real! wrote:Hey Pyro, I’m gonna give you an early Xmas present!![]()
With “Pyro’s Pyrotechnics” (as I’ve named it) you can extract any header from any file format in like a few minutes!
Thank you Tserio man


Reh, I am wondering have you sold >=1?
Get Real! wrote:Hey Pyro, I’m gonna give you an early Xmas present!![]()
With “Pyro’s Pyrotechnics” (as I’ve named it) you can extract any header from any file format in like a few minutes!
Pyrpolizer wrote:Get Real! wrote:Hey Pyro, I’m gonna give you an early Xmas present!![]()
With “Pyro’s Pyrotechnics” (as I’ve named it) you can extract any header from any file format in like a few minutes!
Thank you Tserio manThe only thing missing from your program is my button though.
![]()
Reh, I am wondering have you sold >=1?
Quartz's Max Nisen pulled out some figures on the most valuable programming languages based on a larger study from the Brookings Institution that was published in July.
Based on that data, here are programming languages listed next to their average annual salary from lowest to highest:
12. PERL - $82,513
11. SQL - $85,511
10. Visual Basic - $85,962
9. C# - $89,074
8. R- $90,055
7. C - 90,134
6. JavaScript - $91,461
5. C++ - $93,502
4. JAVA - $94,908
3. Python - $100,717
2. Objective C - $108,225
1. Ruby on Rails - $109,460
Read more: http://www.businessinsider.com/best-tec ... z3VtSKNCPf
Get Real! wrote:Sotos, without Node.js or similar platform (come to think of it I don’t know of any other substitute) you simply *can't* do true independent web apps because browsers won’t let you access the user’s hard disk and resources so your online pseudo-apps will be no different to limited stupid websites.
Node.js is like all the missing Javascript functions you always wanted but were forbidden to have in the name of “security”…it’s like all your Xmases come true!![]()
Get into it Sotos… you’ll love it!
Sotos wrote:I've been using node.js for years by the way![]()
Get Real! wrote:Sotos wrote:I've been using node.js for years by the way![]()
For years? Well then you must be an expert in Node.js… no excuses, so here’s a simple challenge for you Sotos that should only take 5 minutes:
Write a simple function (no error-checking needed) that loads the contents of a (ASCII, ANSI, UTF8, Unicode) text file, into a string using this skeleton:
function LoadTextFile(Name){ }
And once loaded replaces the following characters…
All single quotes ’ to be replaced by the ASCII '
All L-double quotes “ to be replaced by the ASCII "
All R-double quotes ” to be replaced by the ASCII "
...and finally display the modified string with document.write('')
Here’s your little text file (Test.txt) (should be saved as Unicode) given here as a string in blue:
You don’t need Internet access to use this facility and you don’t need to upload anything to strangers because you can always use “Get” or “Set” to fix the problem, and best of all you get to retain your © copyright!
You don’t need Internet access to use this facility and you don’t need to upload anything to strangers because you can always use “Get” or “Set” to fix the problem, and best of all you get to retain your © copyright!
Sotos wrote::roll: I am not an expert in Node but I certainly know more than youYou even talk about document.write when the "document" is part of the HTML DOM, and therefore is relevant only when javascript is running within a browser (or something that simulates a browser) and not when you are writing just for node.js! (not to mention that even in the browser "document.write" stopped being popular more than a decade ago. There are better ways to add/modify content in the DOM) Other than that you would just require the File System Module (fs), get the file from the arguments list (process.argv[2]), fs.readFile, do some basic Javascript replace on the characters that you need and then you could write the result on another file or overwrite the existing one with fs.writeFile.
You don’t need Internet access to use this facility and you don’t need to upload anything to strangers because you can always use “Get” or “Set” to fix the problem, and best of all you get to retain your © copyright!
Sotos wrote:When you upload something to a web-app then AT MOST somebody could steal what you uploaded. On the other hand when you install some program on your computer that program could potentially steal just about ANYTHING from your computer and/or do damage to your data
Pyrpolizer wrote:The way I understand this is that the browser is just an I/O for the application, and the application itself should run from a computer. It could be the user's computer running the application offline, it could be a server running the application in the background and outputting results to the user.
Is that so?
If yes could you provide an application written with Node.js so that we see if it works offline?
Users browsing this forum: No registered users and 3 guests