Craigston's Posts
Nairaland Forum › Craigston's Profile › Craigston's Posts
1 2 3 4 5 6 7 8 9 10 (of 27 pages)
paranorman: Kodejuice:Someday these guys are gonna hatch monsters... |
stynhaq:I might try that someday, maybe after I upgrade my hardware. |
DanielTheGeek:Same moniker if you need to check. |
dhtml18:Don't mind them. Coding like bots. Oya choose your favorite: turkey, beef, venison, snake, crocodile, antelope, grass cutter, pork, or rat. You have at most two choices ![]() |
How precise do you want the results to be? Do you want to carry out an exhaustive search of all such possible rows, and thus obtain every possible answer? This seems like a combinatorial problem, and if you want an exhaustive enumeration of the problem, the cost of computing increases fast as the number of rows increases. Also, are negative integers allowed in the rows? Are the numbers restricted to any set of numbers (integers, natural numbers, complex numbers, real numbers...). I don't know how to implement this in a database, but you can do it in a program using a 1 x n matrix that maps to your table. See these SO links, [1] and [2], for similar problems. This problem is not one at which SQL can shine. It requires much use of repetition and the running time grows exponentially. In fact, I wouldn't attempt it for N results where N > 3, N being the number of rows whose sum matches the expected result. However you do it, I wish you good luck. I don't know what I'm saying, so do not assume it to be credible advice. I just came to say hello. DanielTheGeek, dhtml18, Jregz, seunthomas, FincoApps, cbrass, FrankLampard, godofbrowser, thewebcraft, Javanian, booyakasha, larisoft, stack1, yawatide, tr3y, Knownpal, rayval, blueyedgeek, jidez007, KvnqPrezo, Jenifa123, VenantCode, directonpc, DavidTheGeek, crotonite, Blenyo11, CodeNister, CodeHouse, logicalhumour, Asalimpo, lekropasky... Someone needs help. Disclaimer: the mentioned monikers were semi-automatically generated. Merry Christmas and a Happy New Year to all devs and techies. [1] http://stackoverflow.com/questions/21020619/sql-server-select-rows-whos-sum-matches-a-value [2] http://stackoverflow.com/questions/6289314/how-to-get-rows-having-sum-equal-to-given-value |
Let me watch the big techies solve this. |
DanielTheGeek:Registration successful. What's up with the confirmation email? I didn't receive it. |
DanielTheGeek:I got this error on attempting a new registration. It's the same thing with login. That "Please click again to confirm" just doesn't go away.
|
DanielTheGeek:Holla Dan, what's up with friendosphere? I've been unable to login there: the pahe keeps asking me to retry. Is it a temporary problem you are aware of? Congrats on the new design. |
Explorers:While we try to be politically correct and not offend anyone on religious lines, it's clear that the problem is largely islamist fundamentalism. It'll only get worse as we continuously try to tame beasts with soft words. You don't sing to a dragon; you don't stroke a bear to calm down. Tommy Robinson's "Enemy of the State" is a nice account of everyday life amidst islamist terrorism. |
FincoApps:I get your point, and I think it makes sense for everyday experiences. Of course not everyone needs it, but I just do it. I find it advantageous in some situations. |
FincoApps:It depends on who steals it. If it's someone with malicious intentions, encrypting it makes sense. You also don't want photos of friends and family in the hands of unknown persons. And if your browsers automatically store your passwords, it could be a nasty experience in the hands of a thief. Cloud backup services are expensive wrt data bundles. I backup only important documents to cloud services. Some on Dropbox, some with my email providers, some on Google drive and others. |
It's my laptop first. I really hope nothing happens to it. I felt really bad when my 500GB hard drive crashed. I backup redundantly whenever I can. I got 4GB DVD discs (I'll still get more) and I backup materials that will be relevant for a long time to them. My flash drive has a backup of all my documents. My phone and my SD card have some. My hard disk has another set too. I'm thinking of encrypting every drive I can so its content remain useless to whoever steals it. And I'm about redoing the backup process on every drive I carry about by first encrypting the compressed image of the files before putting them on encrypted drives. |
I've become a little skeptical about comments from this papa troll (name.match("/^dhtml.*/i")). I hope Jenifa123 is not his new interface. |
+1 like for identifying the trend as a problem. But those apps are not the cause; they only give vent to expressions of low self-esteem. If there's anything to thank them for, it is that they've helped us identify the problem. RoyalBlak007:This comment has a sexist tone. You may want to reword it to make the right point. |
Jregz:Oh, that...is no problem. *pours ice-cold water into his ears and over his head* |
Jregz:Huh? Baba Jregz don dey deny the title? We know them sha, but you sef dey. One day, we'll become true bosses. |
Ubuntu 16.04 (Xenial Xerus). I recently moved over from Debian 8 (Jessie). But power management just got worse. My battery now discharges faster than before and "powertop --auto-tune" does not work. I find it annoying that the default screen brightness is too high and I have to force it further down every time. Going to Windows 10 could solve the power and driver issues but it'll bring me into more trouble with development (I find it easier to work on Linux). |
dreezybines:I understand you too. I'm emphasizing the functional importance, not dominion. Of course we are needed to play the role of the caretaker, but they do the things we cannot do at such little cost. I once heard a quote that I vaguely remember as follows: If all insects disappeared from the Earth, within 50 years all life would end; if all men disappeared from the Earth, within 50 years all life would flourish. |
dreezybines:Equally important in the sense that we depend on them, either directly or indirectly, for our survival. And what's the Earth if no creature other than man exists? |
I love cats and I understand how horrible those crude beliefs are. My cats, three kittens, were much persecuted by neighbors and only one grew into a cat. They finally killed it too. I was disheartened when I saw a whole street excite themselves with killing a helpless kitten that was only taking shelter from the rain, after its previous habitat had been destroyed for construction of a building. I find these creatures more amiable than some humans. Until we learn that these creatures are equally important as humans, we cannot respect nature, let alone the God we blindly profess knowing. |
This may be the end of the greatest democracy of our time, as we know it; and Trump may be our greatest mistake of the century, and we'll bear it. The weakest link of democracy has been exploited, and the outcome may be more than regretted. We saw ourselves and others, and we let our complaints reduce to shudders. Welcome, democracy 2016. It's the year human foolishness once again distilled. I would wail for them, and for us, and for the world. But they will see me as lame, yet another one gone nuts, and names will I be called. So let us watch history, not from the books, but from our own lives, get replayed. And whether the warnings of the minority thinkers were prophetic, or just prescient, we'll come to know only after it's all over. Good luck to Trump, to the USA, and to the world. Right now, American exceptionalism just got ridiculed. Is this still the land of the free? |
Badyear:Sorry, I misunderstood you as much as you did me. And we both know tech does not flourish here as it does there. I really wasn't attacking you. And a feedback could be valuable too. Just get my view as I now get yours. |
Badyear:You're not the first to complain of the situation here and you'll definitely not be the last. But instead of counting the things we don't have, we can work with the little we have and hope it gets better. |
I'm still a lover of natural, brilliant designs that blend well with the environment without depending on technology that might just disappear someday. It scares me to think what will happen if all these smart devices were hit by an EMP. Suddenly our houses become too useless and we suffer massive withdrawal due to our dependence on technology. We are not getting very productive with our current applications of technology. We need to make these technologies more human. Suddenly your house cannot maximize natural light, air, space, and stops being environmentally friendly because these smart systems got dysfunctional? Scary. |
Averted:What's wrong with learning JavaScript? I'd say remove PHP for now and use a language that has an elaborate type system. If you really want PHP, learn the newer versions of the language (PHP >= 5.6). Forget Angular; go straight to Angular 2 but be sure to know your JS well (especially ES 2016). Also try to reward those authors by paying for their work and respecting copyright. Most free soft copies are pirated works. This link points to a good collection of freely available programming books: https://github.com/vhf/free-programming-books |
AwesomeRomeo:Go to the download page (www.kali.org/downloads). But why Kali? Kali is specifically designed for penetration testing so it's not recommended for regular use. Do you intend to use it as a regular distro? Here's a link to the 64-bit full ISO image: [url]cdimage.kali.org/kali-2016.2/kali-linux-2016.2-amd64.iso[/url] |
AwesomeRomeo:Uh, have you downloaded the Kali Linux ISO file? Download it to a folder and also install virtualbox. Start Virtualbox and add a new Virtual machine of type Linux and choose the Debian/GNU Linux distribution. Select 64-bit if your ISO file is a 64-bit ISO. Customize the properties of the Virtual machine (memory, CPU, etc) and setup other options as you need. Then start the virtual machine and point it to the downloaded ISO file. The entire process is easy with the guided mode. Just follow the steps in virtualbox and accept default options where you are not sure. Youtube may be of help if you need some guidance. |
AwesomeRomeo:You can do it just as you install any other Linux distro in VirtualBox. My version of Virtualbox doesn't have Kali Linux as an option so I choose Debian Linux as the distro option. It works. |
jboy01:Angular != Angular 2. They're different, so I heard. Maybe someone will find this survey report helpful: [url]stateofjs.com/[/url] |
Just know that whatever you are using now may be outdated in a few months, not because it's too deficient but, you know, it's another year and whatever you are using now will be "...so 2016, so 20??...".
|
DanielTheGeek:Yea. C++ this semester so I've got some titles (one hard copy, the rest as soft copies) to learn with. My ebook library has gotten huge from the initial hunt for good resources. After organising them into groups, it's time to learn. |


and Learn Ruby and Rails ... download "Ruby in practice".pdf