Aeonix 71 Posting Whiz

Put the username at the end of the post, and I lose. Put the username at the top of the post, and I lose. Seems I can never win here!

Just leave it as it is now, it's just about getting used to it.

Aeonix 71 Posting Whiz

I've have some problems with mixing posts. My brain would combine name of contributor and content of previous post.

Even technically ignores the line between, even though it's obvious there and I am absolutely aware of it.

But I think it's just me.

Edit: This is how my brain sees posts. But it's just getting used to.

Aeonix 71 Posting Whiz

If it is your program, that you wrote, then you can fix it. If you provide the code to the community, then it is in some sense "open source".

Nevermind, you misunderstood what I asked.

True, but this is where signing the binaries is critical, otherwise you can't tell that the code has been altered!

But cracker couldn't give two nuts whether his UAC would show no binary signed certificate UAC or binary signed certificate UAC. My point wasn't that the code should be verified. My point... sigh... nevermind... it all goes loose. The answer goes in another way than the question :(

Aeonix 71 Posting Whiz

Definitely a good argument from Deceptikon. thumbs up

However:

The fix is not to implement security by obscurity and hope crackers aren't smart enough to dig into the binaries, the fix is to correct security holes. And for that goal, open source is potentially superior as there can be more eyes on the code.

Yes, but there's also many crackers who can easily access the code. They don't need to be smart enough to dig into binaries anymore, they can just look at the source-code and find something. recompile, use it and voila. There's still that "counterhold" to this.

rubberman commented: True, but this is where signing the binaries is critical, otherwise you can't tell that the code has been altered! +0
Aeonix 71 Posting Whiz

When proprietary software is hacked, you are SOL in terms of fixing it since you do not have access to the source code.

But I do...

If I, the owner of program have no access to source-code, who has?

If I notice bugs I repair them, so does community.
But it's way easier to break a code that you have access to, then wildly guessing where the vulnerability may be.

rubberman commented: If it is your program, that you wrote, then you can fix it. If you provide the code to the community, then it is in some sense "open source". -3
Aeonix 71 Posting Whiz

You better bet I will! After I'll read all the scientific magazines, I'll gain 70IQ on top of that 20IQ I got.

Aeonix 71 Posting Whiz

Have you guys ever met process so stubborn? It wouldn't close, no matter which tools/programs/commands you might use regardless elevation? Talking about Windows and Firefox. This is kind of story that made me irritate, get mad and laugh like an idiot at the end.

It goes like this: I go on in my Skype, suddenly, Skype slows down, Firefox, Chrome, Opera, VirtualBox, Skype, Windows Explorer stop responding. Within next literal 3 minutes I manage to get my hands on Task Manager seeing that Firefox ate up whole 2GB of RAM out of 3.8GB usable. First thing I do is clicking End Process 50 times like always, not a single byte freed. Then following in terminal:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>tasklist

Image Name                     PID Session Name        Session#    Mem Usage
========================= ======== ================ =========== ============
~~ SNIP ~~

C:\Windows\system32>taskkill /f /im Flash*
SUCCESS: The process "FlashPlayerPlugin_18_0_0_232.exe" with PID 3260 has been terminated.
SUCCESS: The process "FlashPlayerPlugin_18_0_0_232.exe" with PID 2056 has been terminated.

C:\Windows\system32>taskkill /f /im firefox.exe
SUCCESS: The process "firefox.exe" with PID 2032 has been terminated.

C:\Windows\system32>tasklist

Image Name                     PID Session Name        Session#    Mem Usage
========================= ======== ================ =========== ============
~~ SNIP ~~

C:\Windows\system32>tasklist | find "firefox.exe"
firefox.exe                   2032 Console                    1    102,732 K

C:\Windows\system32>taskill /pid 2032 /f
'taskill' is not recognized as an internal or external command, operable program or batch file.

C:\Windows\system32>taskkill /pid 2032 /f
SUCCESS: The process with PID 2032 has been terminated.

C:\Windows\system32>tasklist | find "firefox.exe"
firefox.exe                   2032 Console                    1    102,732 …
Aeonix 71 Posting Whiz

When someone posts a new vb.net question and does not create a vb.net tag then how am I to know about it when I have to select vb.net to look at vb.net related posts?

So far from my perspective you're forced to use at least 1 tag.

And I have asked this before, but since Search does not allow me to do a tag-based search, how doo I look at posts which contain tags that do not appear in the tag list?

Once again, works for me. Try "vb.net", I get vb.net tagged threads only.

Aeonix 71 Posting Whiz

This version of DaniWeb is surprizing. Where can I get one?

Aeonix 71 Posting Whiz

For as long as DaniWeb allows us to edit posts, can we also edit the title, move the thread and remove the post (if we magically found our answers on 69th page of Google)?

This would help stopping in forcing me to report my own topic to edit title or move the article to actual category. I think moderators would be really happy with me not spamming them anymore :D

Aeonix 71 Posting Whiz

Story happens in imaginary universe, but I'm using current time "relativation".

vmWare Player type of application (but for free). I consider adding it to Open Source because everybody is saying how great it is and how fast bugs can be fixed.

There's couple stories to be told:

Side of Manager
I like the fact that everybody can contribute to our project, in order to improve it by using suggestions and trustworthy community. Therefore I posted it on GitHub.

Side of Hobbist
Hey, we're community of 10.000 active programmers. We do our jobs really well. We love this project, so we try to look at files and improve their functionality, performance and security. We find about 5 hours a week each to improve the project.

Side of Haters/Crackers
Hey, we're little group of 100 software crackers. We do our jobs as great as hobbists supporting this project. This project totally pissed us off. So we go on GitHub, analyze the code and decide on how we can strike. We download the legitimate code and change client/server handlers (to allow Heartbleed), that "owners" and contributors don't get to patch, and we use the breach to steal wanted data. And we get past this issue with a year, continuously stealing people's data and it finally gets patched. We find about 70 hours a week each to seek vulnerabilities.

The Realism
So posting a non-profit project on GitHub or any alike site really that good move? It feels …

Aeonix 71 Posting Whiz

I won't give you exact code. But I will tell you commands that you need and how. If you click links, you will learn how to operate it yourself.

First of all you would need to connect your PHP configuration file to database, I call it mostly config.php. Then of course you would need another file which would ask database for links in your table. When you have your entire music table in your variable. You can output every single record you had in your database. When you do it in right position, you can add soundtracks to the list, and links assigned to them.

Give it a sincere try on creating it. Try your best, and I'd be more than glad to help you if you encounter errors or problems.

Aeonix 71 Posting Whiz

If you're underage (-18). Cut quarter of your social time to learning your future ambitions (if you have any):

  • Want to become programmer? Learn programming languages.
  • Want to become actor? Learn how to act really well.
  • Want to become Let's Player? Learn how to make funny jokes on the fly.

You'd be surprized, that when you choose your study route to your ambition. You are able to achieve anything, and you can help other people grow, in what you've already learned. But you're already years ahead, you can gladly tell "I have years of experience." and can truly show it.

There is no better thing than feeling you get, when you help other people, about things you've taught yourself or been taught by other people, and the people you're helping are satistified with your help. (this one is littlebit twirly, but makes sense, just read more logically)

almostbob (post about two women), power of Photoshop and face-wallpaper. I can wear hair-gel too, doesn't make look handsome ;)

Aeonix 71 Posting Whiz

I'm not a cheapskate, but if you can get 50% off comparable hosting specs, why wouldn't you? Anyhow, each to his own.

Yea well, that's the case where I would swap. I meant, I wouldn't swap, when I was on hosting, let's say 500$ a year and then other provider told "We're way better, now 495$ a year", I'll throw that 5 dollars in their pockets because I'd like to stick with known environment.

On the other hand when I'm paying 500$ a year and other company will tell "We're way better, now 300$ a year, for 3 years.", I'll swap for sure.

But general, smaller differences don't bother me. This is why I'm seeking for reliability too. Price isn't the only factor. If I pay 400$ for a good hosting with people who know what they're doing, or 300$ for "what is ext4?". I'd rather stick with one of 400$. That's what I meant with "sticking". Better deal is better deal, but reliability and "protection" is better in my opinion.

Prices mentioned are rather low for high-end quality hosting, there were just examples, please don't rant.

Aeonix 71 Posting Whiz

Can't see why you'd want to plan to stick to one host.

I'd like to stuck with one hosting. Because I get used to it. Changing hosting every 3rd month in not precisely in my favor hence. I'd like to get used that there is that same precise website, with same precise login data, with the price that I get used to. Sounds weird. I just don't like jumping from hoster to hoster like a toad.

DaniWeb is hosted with SoftLayer.

Hmmm, checked it out, seems like solid hosting. Will keep it on my list.

Aeonix 71 Posting Whiz

Well, yes you are, you mention it several times in your post, it's even in the title.

Yep, life-time hosting, if hosting is good, I will stay with it for my entire life, if it lasts too. It's extremely logical, that if hosting stops working, I can't use it anymore. Relation to "life-time hosting" means "I will use it forever, up to the moment when it's not usable to me anymore."

Sorry if I forgot pointing this out. Unfortunately I can't edit first point anymore, DaniWeb policies.

Aeonix 71 Posting Whiz

Level3 is a massive hosting company with datacenters around the world.

The website I found about Level3, provides no pricing, no sign-up link, only straight email, which I assume is for medium companies. They won't probably even respond to me nor I will be able to pay 10 000$/month for their services. Or maybe I was on a wrong website.

Perhaps I don't know what I'm talking about, but it's quite unreasonable to expect any host to be around for the rest of your life, and perhaps quite foolhardy to expect hosting to be as hosting is at all in 10 years. and unfair to ask personal recommendation from experience since no-one has had hosting for their entire lifetime.

Please, could you stop trolling? Of course nobody has lived their entire life with one hosting, the oldest hosting is with us 20 years, people live usually longer than that. I'm asking for recommendations for their trustworthy hosting, that I could stick with until it can last. I'm not asking about hosting that lived as long as them. Of course it's unreasonable, that's why I'm not doing that.

Aeonix 71 Posting Whiz

There is a foreach(). However such opeartion forces you to know the amounts of rows (3 in example) and the keys for each row ("userid", "username", "email").

foreach ($myArray as $theCurrentRow) {
    echo "<td>" . $theCurrentRow["userid"] . "</td><td>" . $theCurrentRow["username"] . "</td><td>" . $theCurrentRow["email"] . "</td>";
}

Just wrap it in <table> and <tr>'s and you have script that will automatically create a new row with, every, single, record.

Aeonix 71 Posting Whiz

Something's wrong with your code. When I copy provided HTML file you provided and display it into file, I get entirely different result than two ones you provided.

After fixing the HTML syntax, missing </textarea> and couple other glitches such as missing metrics of objects. The code I've been left with is: PasteBin link here. This code translates into PDF exactly well.

Please, for love of coding, use external CSS files instead of placing them inline of HTML. Inline CSS makes it harder to read. This is also most common and standard way to give HTML selectors proper styling.

Aeonix 71 Posting Whiz

You mean, you want to display a file-name?
Or you have a document you read from external sources and you want to enumerate it? Or you want to assign number to each PHP file and display it each time user visits your website?

Aeonix 71 Posting Whiz

So, first the bug, numbers appear in vision of code field, "I spik no inglich good", so here's the screenshot.
I'm using Linux Ubuntu 14.04 LTS LiveCD (on USB 2.0)
I'm using Google Chrome v45.0.2454.93.
Screen resolution: 1366 x 768
Pixel-ratio: 1

Maybe a feedback: When I click [Code] button, instead of letting this window be 100% of height, let it be like 5 rows and let it enlarge as user types/copies things in it. Would look better in my opinion. On top of that, can you make it mono-spaced font? I think it would help.

That being said.

I was totally surprized about how great this theme looks like. I have really nothing else to say. It looks just great. It is clean, it looks professional and knowing DaniWeb it is backward compatible, responsive and adaptive! My opinion doesn't matter a lot since I'm not that of a great designer, but the one(s) who coded and designed it (seperately or the-same-person) did one GREAT heck of a job!!

Femonal job guys!

Aeonix 71 Posting Whiz

I found it!!

Representative of:

var el = getElementById("that_one_div");
el.innerHTML = "This will be the content of that one div";
alert ("The content of that DIV is: + el.innerHTML);

For attributes is:

    $('tag[dataname=datanamecontent]').each(function(index) {
        this.innerHTML = "This is the content of '<tag dataname=datanamecontent'";
        alert("This is the content" + this.innerHTML);
    });

this became an element! If you're not seeking for certain content, and are just seeking for <tag dataname=*> use tag[dataname] instead. This function grabs every single one of them, and performs action with each.

Aeonix 71 Posting Whiz

That scares the wit out of me.

Just try this, install user-end consumer-grade Java, then when Java asks to update, deny it for a month, then go to website that requires recent Java, and you get this type of thing. Same happens on your server, except there's no more browsers or "helpers" to help you block-out potential threat. So you need keep up with Java, day for day.

Like I said, go full PHP, if you have 4.5v PHP and they will release 4.9v PHP. Your website won't explode, however, having it updated is nice too. On Java, this isn't the case since Java is heavily targetted as it connects server, user and 3rd parties. Where as PHP just connects from server to user without injectables from user side.

Aeonix 71 Posting Whiz

"to host web pages".

If they're HTML, CSS and JavaScript, you don't need any single local-server. Just merge these 3 together in one file and obfuscate it (won't give a lot, but definitely would help). And make sure your Windows App opens in by just refering to the file.

If you're having C#/.NET/PHP application that you need server for. I'd "disrecommend" it. If I were you, I'd create AJAX responses to your server (somewhere entirely else) and get answers and showing them to users by JavaScript/jQuery. It will keep source-code of your files safe, meanwhile still providing answer.

Make sure you're still protecting yourself against things like DDoS, faulty delimiters or exceptions on server.

Aeonix 71 Posting Whiz

I would go with PHP.

General reason is because it is made fast and secure and bugs with it are unlikely unless coder himself/herself codes the script wrong. It is literally made programless. Of course you need Apache, but once that's started, PHP will always work.

I wouldn't choose for Java, since even when you start instance of Java on internet, it complains about "Warning, this version of Java is insecure.", Java seems to be prone to weaknesses. And basing your website upon this would force users to install Java as well (well, that depends on how you're going to handle client-side).

Java needs constant updates and reinstallations. Since being just 2 minor patches behind is already a vulnerability found (mentioning the message earlier).
PHP needs just disabling server for 1 minute, and moving updated PHP files in there. And they're more of bug-fixes and upgrades, because there is no real PHP hacks that are so widely accessible. In order to break PHP in-face you would need other factors to fail, or you need to be genius cracker.

Like I said, I would go with PHP. There's way less to mess with that and it can provide powerful outcome, and gives more strict notifications instead of errors. Simple and direct 1-liner, instead of you scanning throughout the entire stack of try(), catch() and throw().

Aeonix 71 Posting Whiz

Doesn't exist. But I would love that it did. 2 days ago, I made search for it, I found this one pearl of a function, you just called it and it would perform just that. Today, I can't find it for heavens. I have been through about 5 fiddle's, about 10 '00-looking webpages, Mozilla homepages, some document.Prototype then alert($("div[invoker='MyInvoker']"));, empty arrays with enumeration without relation/reference, nodes list without names or objects and lots of others. I've visited first 3 pages of Google for query "getElementsByAttribute JavaScript", "getElementsByAttribute jQuery" and couple others, until results became extremely irrelevant. I know it's possible, because I had that script, but I thought I'd remove it for now, as it stands in my way and I could find it easy anyways. It had same principle like any getElementBy* family member:

var el = getElementById("that_one_div");
el.innerHTML = "This will be the content of that one div";
alert ("The content of that DIV is: + el.innerHTML);

But with attributes instead:

var el = getElementByAttribute("attribute", "value");
el.innerHTML = "This will be the content because you have been marked with this attribute.";
alert("Content of the element: " + el.innerHTML);

Has anybody found it maybe? Or may have such snippet laying under his/her hand? I use Node.js, JavaScript (of course) and latest jQuery provided by Google API.

Aeonix 71 Posting Whiz

Now I need to automatically process this html file and convert it to a pdf How do I do this?

I am using fpdf.php to create a pdf from my php code.

Just use your FPDF.php, to create .PDF from your parsed .HTML file. After creating parsed HTML file, take it's name to FPDF.php and get PDF file out of it.

Aeonix 71 Posting Whiz

I have solution on my personal problem.

var i = 0;
var _tmp;
var cpuCores;

_tmp = sys.cores().length;
cpuCores = _tmp;

alert ("Pretty sure, you have " + cpuCores + " virtual cores.");

But I can't escape forever. The request on answer on how to perform this with for() or while() still remains.

Aeonix 71 Posting Whiz

You would make PHP file parse the data and write it in the file. There's this website that can convert HTML to PDF for you.

If you're looking for automated process. I would do almost same, except write the file in external HTML file and ask FPDF.php the parsed HTML file and parse to PDF. Given you already know how to use it.

Aeonix 71 Posting Whiz

echo geoip_isp_by_name($IP);

It should return ISP. Assuming PHP manual is right.

There's an entire list of related functions. I don't know what you mean by organization, the only organization you can get out of IP publicly is the ISP. If you're willing to look-up visitors of your website compare common IPs in short-time that visit your website and look up if one of time is familiar to the ones you have at your work. The hard way is that you would ask computer through terminal for all IPs, save them in file and detect them exclusively.

Aeonix 71 Posting Whiz
var _tmp = 0;
for (var i = 0; sys.cores()[i]["sn"] != null; i++) { _tmp++; alert(_tmp); }
alert ("Pretty sure, you have " + _tmp + " virtual cores.");

This is the code that I'm working on. The loop itself is very simple. The output is: 1, 2, 3, 4. Just like expected, 4 virtual cores. But the alert() after it, is not executed. Reason behind it is that:

os.cpus()[0]["model"] // TRUE, _tmp = 1;
os.cpus()[1]["model"] // TRUE, _tmp = 2;
os.cpus()[2]["model"] // TRUE, _tmp = 3;
os.cpus()[3]["model"] // TRUE, _tmp = 4;
os.cpus()[4]["model"] // FALSE/NULL -> ERROR -> HALT!

So interpreter skips further code execution. I'd still like to know ways to solve that kind of issue.

The error:

Uncaught TypeError: Cannot read property 'model' of undefined.

Aeonix 71 Posting Whiz

And I'm talking of places like Level3 here...

Level3 Communications? "http://www.a1websolutions.com/" has as title Reliable Level3 hosting". I can't really find a hosting with Level3 in it, except the mentioned one.

Take a current Linux based web server system and run it yourself.

For 10 years I've been fed Windows (I'm relatively young). Of course I like Linux for the fact that I could do anything with CLI. But the sad fact is, I don't know anything about it. It's like starting Russian program from the end of internet. I couldn't know for a fact how anything works in Linux. I could tell you quite something about Windows security, firewall and hidden core applications making life easier. But for Linux? I just know how to start Apache core because I need to test PHP files. I don't know anything about Linux, and even if there's thousands of tutorials and reference to DaniWeb for help. There might be still many gaps and holes that I might leave, leaving my server insecure. I'd better leave it to people who have been fed Linux, as much as I've been fed Windows. I'm still trying to learn Linux, but as for now, hosting server myself is a terrible idea for survival.

Then we have Daniweb itself. I looked around and didn't see where it was hosted.

SSL certificate is provided by GoDaddy, soooooo...

May have missed the obvious but why not ask Dani?

She …

Aeonix 71 Posting Whiz

I've done some wonky research. So far I understood:
Particular questions that I'm asking are written in Italic hence Bold texts are not visible with this font.

"IPS is way better with color precision and contrast. But has problems with "ghosting", it generally looks like someone hasn't compiled video well. Also, adds some delay. Doesn't allow clear text reading. When text is moving"

"TN is way better with reaction time, and has no ghosting. But pays a little bit with color precision and contrast. Allows easy text reading."

I'm a decent gamer. People are telling that their TN's have 2ms, and IPS' 6ms of reaction time. Would that difference really matter in online games?

Human brain:
- Can actively V-Sync process 125 images per second, making it 8ms reaction time. (more without "V-Sync")
- Surely can't perform faster than 150ms, at getting input, processing output and providing output (reaction) to outside.

So is the 4ms more of reaction time on IPS that bad? I mean, this website claims that average delay between GPU and display is 30ms. Blindly believing it.

Ping + Delay + Display + Reaction Time + Keyboard Delay + Ping

(shooting random numbers here)
IPS: 25ms + 30ms + 6ms + 20ms + 230ms + 20ms + 25ms = 356ms
TN: 25ms + 30ms + 2ms + 20ms + 230ms + 20ms + 25ms = 352ms

I mean, looking at this, that way. It seems like delay is invalid argument. On the other …

Aeonix 71 Posting Whiz

There's lots of ground ("gaps") missing in-between the background. Beware.

There's that point in time where I'd like to get myself a good trusty hosting. Attempt to start any kind of project, get any community moving. Whatever. Long story short: I'm seeking for a good hosting (VPS/Dedicated, Website+SSL) for "rest of my life". One single provider that could provide trusted services for regular price.

I'm not asking about what Google says or what website promises, I can find them too: 1and1.com, hostinger.eu, m2host.com, hostgator.com, godaddy.com, westhost.com, dreamhost.com, greengeeks.com, one.com, hostgator.com, fatcow.com (what?), cyon.ch . There's LOTS of websites that say "We're the best", but I don't care about it. I care about YOUR personal opinion.

Do you know a provider which you would deem trustworthy? From YOUR OWN personal experience, no babble talk from 3rd person, no thebesthostings.com/totally-not-sponsored article, just YOU. I'm seeking for provider that would be able to provide 24/7 hosting for my theoretical website, with SSL. And also may provide VPS' or dedicated servers. With reasonable price (doesn't have to be cheapest, as long as it's worth it's price). Management either entire CLI, or nice GUI prefered.

This choice will most likely stick with me for the rest of my predicted life (as long as hosting is still available). So the honest and informational answers are quite important for me on this one.

Once again, do not refer to Google, I'm asking YOU.
If there won't be concrete choice, I'm on track to sticking with hostinger.eu, which …

Aeonix 71 Posting Whiz

To me it looks like API says Access Denied, but instead of doing this is JSON response, you receive XML response (for some reason).

Because the response you get here is similiar I get when I request data from API and something goes wrong with permissions (but like I already mentioned, I get hostId, requestId and hostId in JSON not in XML).

Pritaeas mentioned it already, would be great if you told us what you're doing.

Aeonix 71 Posting Whiz

Oh boy, I started off-topic which created chain of off-topic posts.

Can we be done yet? All of us have different experiences and different sources. And we all can agree that even if shared it all, we wouldn't change our minds because humans are damn stubborn.

The topic had two questions, which are totally unrelated to our discussion. Skip it guys, this is DaniWeb.

Aeonix 71 Posting Whiz

2) Does the upgrade overwrite everything (i.e., effectively re-format the computer)?

I'm gonna be very brutal. Get ready.

Microsoft has been ranted over about some problems with privacy before (NSA surveillance along with many others). There's also lots of articles on how Windows 10 has lots of leaks due to your privacy. And it's super-weird that Windows 7 and Windows 8.x users, are getting free copy of Windows 10. Especially when you got charged for it about 80 euro/100 dollar (pure guess). Smells lots like sponsoring.

I'm not saying it is true, but for me it sounds like Microsoft got paid to the hand to spread out software, that is there just to keep Big Brother above your head. No real improvements whatsoever. I had installed it once, it destroyed HDD physically (no data retrievable, no source of problem found), but then again I was stupid enough to install Windows 10 Developer Preview, so it's my bad. Still lots of leaks due to privacy, and as I mentioned, the scandal that happened (if it did) some time ago with Microsoft implementing spyware for NSA.

If I will have to install Windows 10 on my computer as main OS. They would need to pry Windows 7 and Linux out my dead and cold hands.

So technically it overwrites your right to privacy. Because it's not about conspiracy mess anymore, it has been proven that Windows 10 leaks your privacy. Reverend Jim, just pointed just a small fraction of them.

Aeonix 71 Posting Whiz

To achieve this on a real time link and lower the network speed the image would have to be compressed and then sent. The CPU overhead for this would show up as LAG and again put you right back to asking why.

:o David Cooperfield, is that you? Yea, I ask why, when I will use powerful PC, why can't it be compressed? I get it, but 4x Nvidia 980, and 24-cores in two server CPUs wouldn't be enough to compress it and send it to moi?

But let's say that to push a screen across is not the same as pushing Netflix streams. I can see where folk that don't know how things work could confuse these 2 systems.

I also don't get why I does loading GIF take so long xD. But then again, GZIP compression. 5 seconds x 40kB each image (or way way less) x 60 frames = 12 000 kilobytes = 12MBs, nevermind, I thought I had a point, apparently it turned out to be bull xD

Aeonix 71 Posting Whiz

How long do you have? Or how long have you been around?

Not so long.

The X system did that,

The "X System" is nowhere to be found except "X Window System, X11, X-Windows", unless the "X" is a wildcard-like feature or/and you're refering to the mentioned program.

what about 2 decades ago.

In 1995 they will able to stream audiovisual 2.5MB of data per second?

you need to consider all Gigabit LAN to hit your speed marks.

Uh, this chunk can be interpreted twice, either I need to expect that Gigabit (not related to actual Gb) LAN will hit my speed mark. Or, that in imaginative terms it is not possible to achieve it, because my network speed doesn't meet requirements.

That said, Ntrigue was snapped up by Citrix in 1998 so Citrix is next to look at.

GoToMyPC seems to be one I'm searching for.

Not that you'll get your speed on a 100 megabit LAN though.

Day 244, I still don't know why I have enough bandwidth for couple HD 60FPS videos streamed to me from YouTube, but can't get enough speed for just singular stream.

Aeonix 71 Posting Whiz

Hi.

Has anyone maybe found this miraculous software. That I could install on Windows/Linux machine (server) and client on my own computer let it be Windows/Linux.

And have really great response time and quality? The server would be at 100Mbps, my connection would be at around 50Mbps. If my machine can run 10x YouTube video of 1080p 6FPS, why couldn't I get such response from my dedicated server?

I would like to use such a server for rendering, or compiling of huge chunk of code (everybody his/her own part, 516 people). Something that I could use to send clicks to the server, give it data, make it render, and play with high quality?

Aeonix 71 Posting Whiz

In forum: "Web Development Discussion Community". I sought for unanswered topics, one of them being this one. What's weird is in the forum view, the content of post mentions Create a realtime notification in mvc aplication. It can be an alert notification., while the topic itself says How to create a realtime alert notification in mvc aplication?.

It's not an actual bug, just a thing to consider, maybe you'll think it's worth changing it, so it displays post in realtime, or maybe you'll think "meh, nobody real watches that".

Just sayin'.

Aeonix 71 Posting Whiz

I know where I went wrong, when displaying JSON response I used var_dump() which also produces meta-data, the length of each dimension and data type. I used print_r() instead to force turning object into a string, and then just single line: var data = JSON.parse(data) then sorted in the array where I can request it and use innerHTML=; to put it where I want.

Aeonix 71 Posting Whiz

JSON.stringify according to many websites, turns flat text into JSON query (what?). But I already have JSON response, I just need to find equivalent to json_decode(); in JavaScript, which apparently isn't that easy :|

Aeonix 71 Posting Whiz

It's a bit more complicated than that.

You're on index.php, there's ajax.js attached, if you press buttons, ajax.js will send request to /sys/datarequest.php. And datarequest.php is the actual file that manages the API. Now I need to send that data back to ajax.js, which works, but now it needs to be parsed and put into array, so I can then easily move these "contents" into correct places.

I have it all hidden on the back of my hand. But parsing incoming JSON from my own file.

just print out what u get with JSON.stringify to console to see output

Uhm, but I don't want it in console, I need it in variable (an array), or am I not getting something?

But sure, brb.

> JSON.stringify
< function stringify()

I did it wrong, I should paste JSON.stringify into console, right?

Aeonix 71 Posting Whiz

I made an API request using AJAX request, I received JSON, I tried my best to use JavaScript to parse it, but to no avail. Instead I used jQuery which made it as painless as 2 lines of code.

Now I have JSON array translated into array-ish object in JavaScript. But looking at this script:

obj = JSON.parse(text);
document.getElementById("demo").innerHTML =
obj.employees[1].firstName + " " + obj.employees[1].lastName;

It creates a new problem. See, my array is based on name, then on a number. Let me put it another way
$gamerData["Aeonix"][0]["kills"]. Which would be (I have a wild guess right now). obj.aeonix.0.kills (it looks kinda wrong, correct me on this if you may). But the "Aeonix" part is actually variable, it changes all the time, I can't hardcode the name into the program, it needs to take granted variable and use it within. Something like this obj. + myPlayerName + . + i + . kills would be a solution.

But it can't be right. Any idea how to retrieve $gamerData["Aeonix"][0]["kills"], where [0] and ["Aeonix"] can be changed dynamically (different name on each request (variable with name provided), different number on each for() loop).

The idealized query, something that I get as response (a part of it), is:
{"riotschmick":{"id":585897,"name":"RiotSchmick","profileIconId":903,"summonerLevel":30,"revisionDate":1438757819000}}
For example, I would need revisionDate from received JSON, but I need to go through riotschmick first. I can't hardcode it, however I have it saved in a variable.

Normally it would be as easy as echo $gamerData[$gamerName][$matchId]["kills"] in PHP, …

Aeonix 71 Posting Whiz

Yo Mama Battle (of compliments):
https://www.youtube.com/watch?v=JG1_393MvaQ
Just to pat Ancient Dragon on the back.

Aeonix 71 Posting Whiz

Yes, because everybody these days knows, that they should open, certain part of this flat text into Ifranview,

url(data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7);

Like I said, everybody knows how to right-click and download the image.
Not everybody knows that they need to copy the part after , into base64 decoder. That's still some slight layer of protection.

Are we really sitting here discussing about how badly we can't protect the image file?

Of course everybody still can access it, but I can also put heavy safe on the street with millions in it, it's way better than having all this cash lying just on the ground. Even though entire safe can be stolen, it takes effort, time and basic knowledge. Making it some kind of protection measurement. Better than having it lying on the ground, where everybody can easily take it.

almostbob commented: I hadn't considered how many DON'T know (not as crooked as me?), I spend too much time surrounded by plagiarists. Kudos simple, is good +13
Aeonix 71 Posting Whiz

Apparently it doesn't like when <div> is given height. When I scroll in or out, the height seems to be multiplying.

Aeonix 71 Posting Whiz

I needn't even explain it, look it up. You needn't to click anything, just zoom-in 10%, then zoom out as far as you can, and notice how table cell and a div, go full on agression.

View website itself under 5millionpixels-##.comlu.com, (no I'm not a bot, but files are PHP, and you won't probably enjoy watching them). The ## in the link, replace them with two letters in DaniWeb that are closest to being capitalized. Just two letters. If you're willing to help, I've also included entire folder (deleted lots of pictures, uploaded files can be 1MB maximally). The password to the .zip file is the same as the ## cryptic signs, lowercase. Please do not share those.

Can someone tell where I went wrong? If your first assumption is that I used vw instead of em. Well, I used em first, hoped that vw would fix the situation, but it didn't. You might notice lots of errors from hosting company (2 errors), but the same problem was on my own machine. There are also two files missing, ajax.js and handheld.css, they're of no use, because again, they don't affect the problem nor trigger it.

Tested on both Chrome and Opera.

Related to picture below. It should be around 350px by 500px (not sure, since I'm using responsive measurements.

billion.png

Aeonix 71 Posting Whiz

facepalm So easy, yet I haven't found it out. Someone call my brain's on holiday, I need it. I knew count(); dammit! Makes me look stupid! Never liked this function anyways.