topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday November 20, 2025, 9:44 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 ... 34 35 36 37 38 [39] 40 41 42 43 44 ... 438next
951
Is there a zombie movie where the outbreak is caused by a computer virus?

No, but there is Apple. Does that count? :P ;D
952
Living Room / Re: Code Combat!
« Last post by Renegade on December 06, 2014, 07:21 AM »
Here's an SS of my character a few problems ago.

Screenshot - 2014_12_06 , 11_30_50 PM.png

Here's the first solution:

Code: Javascript [Select]
  1. // Move to the gem.
  2. // Don't touch the walls!
  3. // Type your code below.
  4.  
  5. this.moveRight();
  6. this.moveDown();
  7. this.moveRight();

So, very simple to get you used to the game. It adds methods/functions (I hate how JS uses "function" for everything when they would be better off distinguishing.)

this.moveXY(x, y); comes a bit later.

Here's an example of a problem solution:

Code: Javascript [Select]
  1. var enemy = this.findNearestEnemy();
  2. var count = 1;
  3. loop {
  4.         enemy = this.findNearestEnemy();
  5.         if (enemy)
  6.         {
  7.                 if (this.isReady("cleave"))
  8.                 {
  9.                         this.cleave(enemy);
  10.                 } else {
  11.                         this.shield();
  12.                 }
  13.         }
  14. }


Here's a problem:

Code: Javascript [Select]
  1. // Collect all the coins in each meadow.
  2. // Use flags to move between meadows.
  3. // Press Submit when you are ready to place flags.
  4.  
  5. loop {
  6.     var flag = this.findFlag();
  7.     if (flag) {
  8.         // Pick up the flag.
  9.  
  10.     } else {
  11.         // Automatically move to the nearest item you see.
  12.         var item = this.findNearestItem();
  13.         if (item) {
  14.             var position = item.pos;
  15.             var x = position.x;
  16.             var y = position.y;
  17.             this.moveXY(x, y);
  18.         }
  19.     }
  20. }

And the solution:

Code: Javascript [Select]
  1. // Collect all the coins in each meadow.
  2. // Use flags to move between meadows.
  3. // Press Submit when you are ready to place flags.
  4.  
  5. loop {
  6.     var flag = this.findFlag();
  7.     if (flag) {
  8.         // Pick up the flag.
  9.         this.pickUpFlag(flag);
  10.     } else {
  11.         // Automatically move to the nearest item you see.
  12.         var item = this.findNearestItem();
  13.         if (item) {
  14.             var position = item.pos;
  15.             var x = position.x;
  16.             var y = position.y;
  17.             this.moveXY(x, y);
  18.         }
  19.     }
  20. }

Which shows how they gently ease you into new methods/functions.

They have a business model as well.

Screenshot - 2014_12_07 , 12_03_45 AM.png

It's also open source.

Like... dammit... this is a friggin' cool game. This is the kind of game parents should PAY their kids to play! It's. That. Damn. Good.

Cudos to the developers. They've created a truly useful, brilliant game.

953
Living Room / Re: Code Combat!
« Last post by Renegade on December 06, 2014, 12:03 AM »
That's a really damn cool game!!!  :Thmbsup: :Thmbsup: :Thmbsup: :Thmbsup: :Thmbsup:
954
And 500+ people who care enough to stop the evil rampages of Super Mario Bros as they destroy wildlife, promote illicit drug use among children, encourage animal torture in young kids, and never pay a single coin in taxes!

https://www.change.o...-from-sale/u/8945006

6 Dec 2014 — Another milestone, please continue to share this petition to everyone you know! We're still only a small percentage of the way to gaining the kind of traction that helped remove other obscene video games from department store shelves.

Remember, there is such thing as too much freedom of artistic expression and video games are at the vile, self-indulgent precipice of it all.

C'mon people! Show you care! Think of the children!

955
Living Room / Re: Interesting "stuff"
« Last post by Renegade on December 04, 2014, 06:40 AM »
Sometimes solar power sucks:

956
Living Room / Re: Does anyone here use Bitcoins?
« Last post by Renegade on December 04, 2014, 06:28 AM »
I don't know what to think...  :huh:



Maybe it should be in the gamer forum...  :huh:
957
Living Room / Re: Programming/Coder humor
« Last post by Renegade on December 04, 2014, 01:29 AM »
From a thread on Reddit:

Screenshot - 2014_12_04 , 5_51_21 PM.png
958


959
This is just hilarious. Target and K-mart removed GTA V from the shelves in Australia after caving in to a petition about the game.

Now, there's a petition to remove Super Mario Bros.

https://www.change.o...are?just_signed=true


Target Australia Must Remove All Super Mario Bros Games From Sale


Target Australia have shown that they, and their consumers, have the power to remove products from sale, especially video games, that are potentially harmful to people such as improperly-parented children and those with predisposed and medically diagnosable pathological disorders.

For years, Nintendo's Super Mario Bros series of computer games have used a colourful and friendly design and simplistic, repetitive structure to deliver a strong message of willful murder of wildlife, consumption of hallucenogenic flora and collection of income without declaration of tax.

As was the case with other drug-and-murder-simulators, like Grand Theft Auto 5, Target continues to sell these products in order to turn a profit without any thought as to the long-term effects to their consumers.

Just as with GTA5, we, the consumer, have the power to send a message to the big corporations to say that we're fed up with having to monitor what out children do, or deal with extreme cases of psychological break in adults who continue to use video games as a scapegoat.

So sign this petition, and make a difference.

Here's an article about GTA V being pulled:

http://www.theguardi...ame-sale?CMP=soc_567

960
Don't read the next phrase.

You are a rebel. I like you.


Hehehe! That reminds me:



961
Living Room / Re: Recommend some music videos to me!
« Last post by Renegade on December 03, 2014, 07:35 AM »
Craig's List got hacked and people were redirected to a music video.

http://gizmodo.com/t...raigslist-1662742826

If you tried to visit Craigslist late Sunday night, you probably had a very weird experience. Instead of arriving at that sultry sea of classifieds, you were probably sent to DigitalGangster.com. Then, you were likely redirected to YouTube, where a very strange animated rap video filled your ears with lyrics about freedom, privacy, and net neutrality.

Here's the video:



Seems like quite a few people didn't mind the diversion at all. Check the comments.
962
General Software Discussion / Re: Tips for dial-up Internet Speeds?
« Last post by Renegade on December 02, 2014, 08:19 PM »
If you block ads, you'll gain a bit more speed for the main content.
963
Living Room / Re: Peer Review and the Scientific Process
« Last post by Renegade on December 02, 2014, 08:00 PM »
But in order to be a far-right extremist, you only have to say something like "saving money is good" or "being in debt is bad."

Not true. But you have your agenda I suppose. :P

Try discussing monetary policy, currency, etc. You'll very quickly find that only "far-right extremists" advocate things like that.

Here's a quick example from a professor of economics at Oxford:

http://mainlymacro.b...esian-economics.html

So my argument is that Keynesian theory is not left wing...

Etc. etc.

Keynesian economics is framed as centrist. He puts fiscal conservatism on the far right. And he's far from alone.

Now, keep in mind chapter 2 of "The Communist Manifesto" and this:

https://www.marxists...t-manifesto/ch02.htm

Nevertheless, in most advanced countries, the following will be pretty generally applicable.
...
2. A heavy progressive or graduated income tax.
...
5. Centralisation of credit in the hands of the state, by means of a national bank with State capital and an exclusive monopoly.

Which are also central tenants of Keynesian economics. i.e. Progressive taxation and central banks.

I could blather on about this for quite some time, but I think I've sufficiently made my point: All you need to do to be a right-wing extremist is to advocate fiscal responsibility outside of a Keynesian/communist model.

NOTE: I've picked economics for the example deliberately as there is a stronger argument to be made that economics is a science compared to some other areas where someone might also be called "right-wing", though with much greater justification.

For a quick diversion there:

http://www.theguardi...ience-robert-shiller

The advance of behavioural economics is not fundamentally in conflict with mathematical economics, as some seem to think, though it may well be in conflict with some currently fashionable mathematical economic models. And, while economics presents its own methodological problems, the basic challenges facing researchers are not fundamentally different from those faced by researchers in other fields. As economics develops, it will broaden its repertory of methods and sources of evidence, the science will become stronger, and the charlatans will be exposed.

• Robert J. Shiller, a 2013 Nobel laureate in economics, is Professor of Economics at Yale University.

And just some random, dissenting opinion... And one more from The Harvard Crimson...

Also, since the article itself is about "traditional hard science", it makes little sense to frame the example in the same terms. As to whether economics is a science, that all depends on who you listen to. The mainstream or establishment view is that it is a science. This is debatable. Karl Popper's "The Poverty of Historicism" (1936~1957 [a bit complicated - it was first a reading, then a full book but lacked publication for a number of years]) helps to clarify how the point can be contested. Part of the inspiration for the book was Popper wanting to illustrate how both communism and fascism drew inspiration from historicism. Expanding on the quote above:

Nevertheless, in most advanced countries, the following will be pretty generally applicable.

1. Abolition of property in land and application of all rents of land to public purposes.
2. A heavy progressive or graduated income tax.
3. Abolition of all rights of inheritance.
4. Confiscation of the property of all emigrants and rebels.
5. Centralisation of credit in the hands of the state, by means of a national bank with State capital and an exclusive monopoly.
6. Centralisation of the means of communication and transport in the hands of the State.
7. Extension of factories and instruments of production owned by the State; the bringing into cultivation of waste-lands, and the improvement of the soil generally in accordance with a common plan.
8. Equal liability of all to work. Establishment of industrial armies, especially for agriculture.
9. Combination of agriculture with manufacturing industries; gradual abolition of all the distinction between town and country by a more equable distribution of the populace over the country.
10. Free education for all children in public schools. Abolition of children’s factory labour in its present form. Combination of education with industrial production, &c, &c.

Each point made is clearly within the domain of economics, with only point #10 being remotely contestable.

So at a minimum we can see how Marxism (and thus Marxist economics) falls into that category of historicism that Popper wishes to attack. The same holds for fascism.

It might be useful to note that the first reading of the paper "The Poverty of Historicism" was at the invite of Friedrich von Hayek, a classical liberal economist, who at the time would have been considered more "centrist" than today. Here's a fun tidbit to help make that point:

http://en.wikipedia....wiki/Friedrich_Hayek

In 1984, he was appointed a member of the Order of the Companions of Honour by Queen Elizabeth II on the advice of Prime Minister Margaret Thatcher for his "services to the study of economics".

I think we know where most people put Thatcher. :)

But, why would I spend so long blather on about Karl Popper?

http://plato.stanfor....edu/entries/popper/

Additionally, Peter Medawar, John Eccles and Hermann Bondi are amongst the distinguished scientists who have acknowledged their intellectual indebtedness to his work, the latter declaring that 'There is no more to science than its method, and there is no more to its method than Popper has said.'

Because in a thread about science it's useful to understand the man (and his writings) who basically defined science.

But back to the example being one of economics...

If we are to take science as neutral, but economics as political, can we take economics as science? That seems like a hard pill to swallow. Or do we take economics as potentially science, and potentially political, with some criteria by which we can separate the two? I would say that it lies entirely in the answer to whether or not its statements can be falsified.

If I can briefly rephrase my original 2 statements:

Original:
saving money is good

Rephrased:
It is advantageous to have resources to freely draw upon at will

Original:
being in debt is bad

Rephrased:
It is disadvantageous to have future labour allocated to uses that have no personal benefit (this could be better phrased, but close enough)

Whether or not those statements are falsifiable may be open to debate, but that saying them will end up with you being called "right-wing" isn't really up for debate because it happens. Regularly. The SPLC and Mark Potok are great examples there. :)

964
Living Room / Re: Peer Review and the Scientific Process
« Last post by Renegade on December 02, 2014, 12:48 PM »
Maybe it's me. but do I detect a certain middle-American and strongly 'conservative' (dare I say closet far right?) agenda at work in American Thinker?  ;)

Probably. But in order to be a far-right extremist, you only have to say something like "saving money is good" or "being in debt is bad." 

But the article that IainB posted is completely relevant to the thread.

It shouldn't be any kind of surprise that "science" is regularly tarnished with incompetence and fraud. While incompetence is one thing, fraud isn't so easily forgiveable.

Given the current climate, I would go so far as to say that any research that isn't completely and 100% open should be rejected out of hand and completely ignored.

If you don't have the information necessary to replicate it, then it's not worth anything. Transparency is everything.

That includes raw data.

A CDC whistleblower recently came out and exposed deliberate fraud in previous studies. They had excluded data to make a product "safe" when they knew it wasn't. Raw data matters. Transparency is everything.

There is a crisis in peer review, and the crisis isn't a "science" issue, it's a "human" issue, and largely of greed. That's neither right-wing nor left-wing.
965
I once saw a tiny bit of it up Dandenong mountain in the dead of winter! Honest! I have pics around somewhere... (I was pretty amazed.)

From Toorak?  I'm amazed you could see Mt Dandenong through the trees and buildings  :P

Yeah, see... we have this thing called the "internal combustion engine" and when combined with the right equipment and 4 wheels, well, it's just awesome! ;D

But, I checked (and it took me bloody hours to do it!) and no... I have no proof of snow in Dandenong... But dammit... I remember it! It WAS there! There must have been like 50 L of snow or more!

FWIW - If it were up to me, I sure as hell wouldn't pick Toorak to live in...
966
Living Room / Re: Rogers ISP in Canada launches MITM attacks on customers
« Last post by Renegade on December 01, 2014, 06:53 AM »
I don't get it. My ISP will sometimes make little notices appear in order to warn me of upcoming outages due to maintenance, etc. Is that illegal, too? I don't see the problem here.

And there's no date that I can see in the image. How do we know it's not 7 years old?

I know this is completely idiotic (really, it drives me nuts), but whether or not something is "wrong" depends on where you live. Hop over an invisible line, and POOF! Things become legal/illegal / right/wrong.

That's just the Canadian Telecommunications Act. Morality and the laws of the universe may differ elsewhere, apparently.  :-\

Aside from any legality there... if your communications are being subjected to injection, can you trust them? The **ONLY** answer is **NO**, unless you're insanely gullible. Compromised is compromised. This is a security issue, and not really very open to any kind of "interpretation". Either an attack vector is open or it isn't. That attack vector is either being exploited, or it isn't. There's no "gray" area here. It's all black and white. 1s and 0s. True and false.

The ISP here is exploiting an attack vector. Period.

(Keep in mind that there are no "MITM agreement" conditions set in contracts. e.g. "I agree to let my ISP exploit MITM attacks against me whenever they think it's good for me.")

But, aside from my pissy attitude towards all that, about the 7-year thing, check the video. It's a recent one from a security source with the same kind of MITM attack. He walks through it all and explains a truckload.

The video is rather long though. It's meant for computer geeks and not the general public, so it gets into SYN/ACK and all kinds of messy goodness.

967
Living Room / My 1-year Facebook Death-a-versary!!!
« Last post by Renegade on December 01, 2014, 06:37 AM »
1 year ago today I killed myself off on Facebook and stopped posting entirely. No posts. No likes. No nothing. (I have been tempted, but have successfully resisted.)

Screenshot - 2014_12_01 , 11_21_43 PM.png

I'm wondering if I should do a zombie post...

Arrr... BRAINS!

Meh... maybe not.

I decided that I'm sick of the massive privacy intrusion and that I wouldn't cooperate any longer with it.

I'm not a product, and won't be sold as one.

I don't need "free" services or products. I'd rather just pay for them upfront.

I don't hate Facebook, but I just won't play that game.

Thank you for listening/reading. 8)

Feel free to join me & the virtual undead by posting your own FB obituary. ;)

968
Yukon Cornelius, 'Rudolph the Red-Nosed Reindeer'

For you, the holiday season is all about getting outside and being active. Sitting by the fire is nice and all, but wouldn't you rather spend the day in the mountains? The snow comes only once a year — better make the best of it!

What snow?

I once saw a tiny bit of it up Dandenong mountain in the dead of winter! Honest! I have pics around somewhere... (I was pretty amazed.)
969
Living Room / Re: Rogers ISP in Canada launches MITM attacks on customers
« Last post by Renegade on November 30, 2014, 07:57 PM »
Apparently, this is also illegal (in vid at 14:00):

http://laws-lois.jus....4/page-12.html#h-19

Content of Messages

Marginal note:Content of messages

36. Except where the Commission approves otherwise, a Canadian carrier shall not control the content or influence the meaning or purpose of telecommunications carried by it for the public.

970
You guys got me curious, so I took the test.

LINUS VAN PELT, 'A CHARLIE BROWN CHRISTMAS'

You know what the holidays are really about. Rather than get wrapped up in the presents and decorations, you like to keep things simple and focus on the true meaning of the season.

971
Living Room / Rogers ISP in Canada launches MITM attacks on customers
« Last post by Renegade on November 30, 2014, 07:34 PM »
This is rather interesting - an ISP attacking its customers:

http://www.reddit.co...t_injection_after_7/

rogers mitm.png

A security video on the topic:

http://2014.video.se...r.ca/video/110367213

See 3:31 in the video for another Rogers MITM attack.

The video goes into some good depth on how the ISP is attacking customers.

Here's one good post from the Reddit thread:


This is borderline criminal. They are modifying the content of a webpage that you are accessing. They are actively injecting their code in a page that you have requesting...

It's beyond a simple gaffe... If they wanted to, they could use this to change what's written in a article from the Globe & Mail or from the CBC...

When they start doing this, there is usually no end...

Now imagine if they decided to change any comment that they find damageable to their brand on twitter or facebook or reddit...

Now imagine they changed the prices on their competitor's website (Bell, Telus) to make them look more expensive than their own...

That's why everyone should always browse the net at the least in HTTPS... Wikipedia article on HTTPS

What you need to know is that HTTPS, when activated, creates an encrypted conduit between you and the webpage you are accessing. It also minimize the amount of information your ISP can intercept when you are browsing the net.

Whenever you do your banking or buying from a reputable site, HTTPS is enabled by default. You can also browse Reddit in HTTPS mode.

Everyone here should be using HTTPS Everywhere from the good people at the Electronic Frontier Foundation. INSTALL IT !

972
Ok, so everyone is like all "LOL". Yeah? You think that's all funny & stuff, eh? Well...

Spoiler


:P
973
Living Room / Re: Does anyone here use Bitcoins?
« Last post by Renegade on November 30, 2014, 03:36 AM »
Here's the presentation from last Monday:



974
Living Room / Kim Dotcom is broke - US trying to revoke bail
« Last post by Renegade on November 30, 2014, 03:24 AM »
The infinitely deep pockets of money printers has managed to drive Kim Dotcom broke:

https://twitter.com/...s/537358269283434496

Video: It's official. I'm broke. Here's a Q&A I did yesterday.



http://yro.slashdot....t-has-left-him-broke

Kim Dotcom, the founder of the seized file-sharing site Megaupload, has declared himself "broke". The entrepreneur said he had spent $10m (£6.4m) on legal costs since being arrested in New Zealand in 2012 and accused of internet piracy. Mr Dotcom had employed a local law firm to fight the US's attempt to extradite him, but his defence team stepped down a fortnight ago without explaining why. Mr Dotcom said he would now represent himself at a bail hearing on Thursday. He denies charges of racketeering, conspiring to commit copyright infringement and money laundering. He told a conference in London, via a video link, that his lawyers had resigned because he had run out of money. "The [US authorities] have certainly managed to drain my resources and dehydrate me, and without lawyers I am defenceless," he said. "They used that opportunity to try and get my bail revoked and that's what I'm facing."

http://www.bbc.com/n.../technology-30209067

The entrepreneur said he had spent $10m (£6.4m) on legal costs since being arrested in New Zealand in 2012 and accused of internet piracy.

Mr Dotcom had employed a local law firm to fight the US's attempt to extradite him, but his defence team stepped down a fortnight ago without explaining why.

Mr Dotcom said he would now represent himself at a bail hearing on Thursday.

He denies charges of racketeering, conspiring to commit copyright infringement and money laundering.

He told a conference in London, via a video link, that his lawyers had resigned because he had run out of money.

"The [US authorities] have certainly managed to drain my resources and dehydrate me, and without lawyers I am defenceless," he told the audience at the Unbound Digital event.

"They used that opportunity to try and get my bail revoked and that's what I'm facing."

The law firm Simpson Grierson, which had represented Mr Dotcom, could not be reached for comment.

Political backlash

Mr Dotcom's declaration comes seven months after he won back access to about $750,000 worth of property - including several of his cars - that had been taken at the time of his arrest. However, other assets, including dozens of bank accounts, remained frozen.

975
Developer's Corner / Re: Visualization of Algorithms
« Last post by Renegade on November 29, 2014, 05:53 PM »
But I suck at graphics programming. :(

Welcome to the club. :(

I also suck at lambda expressions. I'd hate to try to visualise lambda functions. It'd put me on the lamb. :P
Pages: prev1 ... 34 35 36 37 38 [39] 40 41 42 43 44 ... 438next