Posts
 
Reputation
Joined
Last Seen
Ranked #368
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
86% Quality Score
Upvotes Received
56
Posts with Upvotes
45
Upvoting Members
26
Downvotes Received
8
Posts with Downvotes
7
Downvoting Members
6
12 Commented Posts
~129.01K People Reached
Favorite Tags
Member Avatar for AmerJamil

Nice necropost there Mrigank. But if it's already up to see the sun. We use use `int` before `main() {}` because program that malfunctions returns error code other than 0. A program that is successful (a.k.a. ended it's job), `return 0;`, rather than returning string that is overly compilcated, or …

Member Avatar for EricStens
0
2K
Member Avatar for Aeonix

$stmt = $dbconn->prepare("SELECT * FROM `members` WHERE username=? AND password=?"); $stmt->bind_param("ss", $username, $password); Is what I have. Database is connected etc. How can I set variable called `$dbresult` with array of SQL result? I don't want to set individual variables. I really need an entire array as answer. There's couple …

Member Avatar for jkon
0
3K
Member Avatar for Aeonix

`<hat type="tin-foil" mode="on">` What does Google have from serving us with Google Fonts? Typical Google could start sending up custom JavaScript from JavaScript repository. But what about fonts? What does Google get from it? You can't tell me they just have well-doing spree and are sharing to help. Corporations are …

Member Avatar for cereal
0
469
Member Avatar for Lukas_2

I would stream characters one by one into an array, and if letter appears, add 1 next to it, so that array ends up (for `potato`): "p" => 1, "o" => 2, "t" => 1, "a" => 1, "t" => 1 Then look up if there are any values `> …

Member Avatar for tinstaafl
0
470
Member Avatar for Dani

To start things off, it was implemented without my knowing, not that you need to report me to it, it's your site, not mine, but it would be nice if you gave some beforehand warning. And if you did, I didn't notice, so it's my fault then, but then again, …

Member Avatar for Dani
0
913
Member Avatar for Aeonix

Time for a real challenge. https://jsfiddle.net/u6n3dq9m/4/ Is what I've got. I'd like the red portition to spread over the div, and fill entire height, while You can't/Tried but failed: - Use `overflow: hidden`, because it doesn't work (I thought it will render some overflow and stuff, I don't know). - …

Member Avatar for Aeonix
1
432
Member Avatar for Aeonix

So I and rproffitt both [downvoted a bot](https://www.daniweb.com/programming/web-development/threads/506750/content-of-child-escapes-parent-even-in-overflow-none#post2212494). I went over to [it's profile](https://www.daniweb.com/members/1128626/lam-bang), we have apparently total power of 7 in reputation decrease. I expected `-7` in reputation, instead it has `7` reputation. That minus is pretty important. It also says `Lam Bang (7)` instead of `Lam Bang (-7)`. …

Member Avatar for Dani
1
464
Member Avatar for Ramaah

Did he really just link to the assignment and be like "Do this", **seriously**?! Not happening dude, you have to cry nicely. Take a look at my questions for example: - List your attempts - Format your post well - Show them code in readible form - Tell 'em what …

Member Avatar for Aeonix
-5
628
Member Avatar for Aeonix

I deleted my recently made post in: https://www.daniweb.com/hardware-and-software/information-security/threads/506745/why-does-google-offer-free-fonts-to-use-online Now when I'm in "Articles I'm Watching", it says about it: "0 votes; 0 replies; 25 views", despite thread having 7 replies. Edit 1: Also title got encoded and not decoded: `After deleting of a recent post, &quot;Articles I'm Watching&quot; shows 0 …

Member Avatar for Dani
0
355
Member Avatar for Aeonix

https://jsfiddle.net/n0260s1L/3/ Is what I have. Text of `div.summary` goes outside of it's planned content. Even when told not to. The only solution to this is `overflow: none;` in "super-parent" `div.mail`. But it ignores: `text-overflow: ellipsis;`. How can I limit content of this div (`div.summary`) **and** have `text-overflow: ellipsis` working at …

Member Avatar for Aeonix
0
645
Member Avatar for Aeonix

I've been Googling this one, and I've come across solutions, but they don't seem to work for me. The code is as follows: <?php $name1 = "Jack Random"; // true $name2 = "JackRandom"; // true $name3 = "Jack;Random"; // false $name4 = "JackRand;om"; // false // Accept only A-Z, a-z, …

Member Avatar for pritaeas
0
370
Member Avatar for jewelraz

Call me an antagonist. But it's rather suspicious that 6 absolutely new accounts respond to this thread after one another. As these new users have between 1 to 5 posts and aren't really popular.

Member Avatar for Aeonix
0
317
Member Avatar for Aeonix

Each years our computers are getting faster, games more demanding, which fuels better computers. We develop more memory in lesser spaces. We develop processors that calculate more than super-computers 20 years back. We had 56k modems, 1M, 2M, 5M networking, just recently there is possibility to get 1.5G at your …

Member Avatar for rubberman
0
341
Member Avatar for Aeonix

https://jsfiddle.net/rw2894fe/2/ I don't need to explain the issue, it's visible the second you look at it. Red anchors seem to have "unexplained" padding on bottom and right side. Removing it with "padding: 0; margin: 0;" doesn't affect it. Could someone tell me how to remove that unwanted padding and make …

Member Avatar for Aeonix
0
282
Member Avatar for Aeonix

Let's assume couple things. I created a nice website based on compiled program language (Node.js, ASP, Java, C#, whatever). It works nicely. But I'd like to get an estimate on how much hardware I'd need. So I could run 1 hosting, and it would result in "this" amount of impact …

Member Avatar for AssertNull
0
413
Member Avatar for Aeonix

I have two items that look like this span.left { float: left; display: inline-block; /* Take space neccessary */ } span.middle { /* Take free space only, do not push unless allowed */ /* Contains couple lines of text */ text-overflow: ellipsis; overflow-x: hidden; white-space: nowrap; } span.right { /* …

Member Avatar for rproffitt
0
341
Member Avatar for Aeonix

https://jsfiddle.net/c9jmjcy0/3/ The reason that it doesn't work is because for some reason `<a>` denies wrapping `<div>`. Probably specification. The only solution is to wrap it around other item. Do we have any other item that would say "it's a link/dropdown". There's also `<button>`. But it doesn't wrap it either, it …

Member Avatar for Aeonix
0
300
Member Avatar for Aeonix

I already tried couple solution from Google, but some of them didn't work (at all), others resulted in weird bug, where HTML page was loaded, but assets (CSS and images) didn't. Other times there were too many redirects and page freaked out. I have account on Cloud Flare, but both …

Member Avatar for Dani
0
494
Member Avatar for diafol
Member Avatar for Dani
0
262
Member Avatar for Aeonix

Imagine a mailbox. You're about to write to a friend. From staff perspective, someone wants to email Dani, her mail is dani@daniweb.com, but has her in contacts list. You type in "Da", and little tool-tip informs you that it knows this mail, tooltip shows her full name "Dani" and her …

Member Avatar for Dani
0
325
Member Avatar for Aeonix

<?php if (!defined("include")) { header ($_SERVER["SERVER_PROTOCOL"]." 404 Not Found", true, 404); die; } I want to include this file, as if it's not included, it should send browser `404 Not Found` and end executing script (without true and 404 doesn't work either). While Opera fools itself, Firefox doesn't. It shows …

Member Avatar for Aeonix
0
342
Member Avatar for Reverend Jim

<rant> Knowing Google, their spying and fact that they want to put spybox in your network. I'm pretty happy that you can't see the "Pre-Order" button. </rant> As when it comes to the topic, designers are paid to make website beautiful not visible for everybody. When I'm looking at faraway …

Member Avatar for AssertNull
0
400
Member Avatar for Aeonix

At the end of the day, I end up in: `menu div#memberArea div#dropdown-trigger div#dropdown-content div#form div#authSubmitButtons input#authRegisterButton`. And now many people recommend shortening it down, sure! But as soon as I drop out elements I don't feel like the code explains itself as good. This very long nasty string, as …

Member Avatar for diafol
0
305
Member Avatar for Aeonix

https://jsfiddle.net/mvuy7q60/ Using JavaScript (and jQuery). How can I assure that there's only one line shown (instead of entire content of item), and if it's longer than one line, end first line on "..."? Something like this: https://jsfiddle.net/tt9psxz3/

Member Avatar for Dani
0
289
Member Avatar for Aeonix

No jQuery! This is script that I got from [Chris Buttery](http://www.chrisbuttery.com/articles/fade-in-fade-out-with-javascript/) website. Or at least part of it: function fadeOut(el){ el.style.opacity = 1; (function fade() { if ((el.style.opacity -= .05) < 0) { el.style.display = "none"; } else { requestAnimationFrame(fade); } })(); } The problem is that when I run …

Member Avatar for ryantroop
0
489
Member Avatar for Aeonix

Mike's been a power-force and recent no-show. But I just looked up his profile, he hasn't posted since June 2015... did something happen? Or do people disappear on DaniWeb everyday? https://www.daniweb.com/members/787121/mike-2000-17 I know we're not his parents, he's strong independant viking but do you just forget people like that?

Member Avatar for Reverend Jim
0
525
Member Avatar for Aeonix

I hate sharing my code, but I don't have any other option. I tried everything to prevent it, but I need to find out what's wrong about it. http://pastebin.com/zMjne7P0 User focusses out input field (line 83)(I tried inputting ";" for tests, which should return error, as it's invalid name). And …

Member Avatar for diafol
0
593
Member Avatar for Aeonix

$(document).ready(function () { var a, b, c d = new RegExp("/^[a-z0-9]*$/"), e = true, f = [ "g": false, "h": false, "i": false, "j": false, "k": false ], I changed names of variables for reasons. *Uncaught SyntaxError: Unexpected token :* Line 7. Which is `"g": false,`. Am I missing something?

Member Avatar for diafol
0
1K
Member Avatar for Aeonix

`exampleArray.push("this is an item");` I a thing. But there are also 10 other items within. So I never truly know where that item is (which enumeration). Is there a way of saying `exampleArray.delete("this is an item");` where it will remove item with "that" content? (JavaScript question)

Member Avatar for diafol
0
226
Member Avatar for Aeonix

I don't know if I'm even posting in the right section. When I open a new tab (after closing all other tabs) and I input address of project site. Elements pops out of parent element (it's 50% of bottom is visible, while rest is through the top of the window). …

Member Avatar for diafol
0
259