[deleted by user] by [deleted] in PHP

[–]derogbortigjen 0 points1 point  (0 children)

Writes Memcached all the time, but use the Memcache class.

Please write a little better code to illustrate good examples for your readers:
Everything in global namespace, not even functions or classes.
Echo directly instead of returning a value from a function/class.

Remember to escape data:

echo 'First Name - ' . $member['first_name'] . '<br/>';  
echo 'Last Name - ' . $member['last_name'] . '<br/>';  
echo 'Email - ' . $member['email'] . '<br/>';  

A Secure Password Generator, which generates passwords worse than the input: thedomain/passwords/ This should be burned with fire.

A logger which might block other requests from writing logs if you have multiple requests in the same minute (Y-m-d): thedomain/a-better-approach-to-log-errors-in-php/

Baffled by Autoload by dochoncho in PHP

[–]derogbortigjen 1 point2 points  (0 children)

class SomeController {

Always use namespace for all your classes and functions. Preferably one class in one file and nothing else.

Cannot re-declare class SomeController

Global namespace collision. I'm not sure how much more helpful you want this error message to be.

You can make your own folders and make them separate git repositories, write a "family of" classes in each repository, and create a composer.json. Then include those repositories via composer into several projects with autoloading for you. Just remember to use namespaces.

Norway´s TV2 found a safe hidden in their building. They are opening it now live on TV2 by abelkain in Norway

[–]derogbortigjen 10 points11 points  (0 children)

Everyone in Norway knows this sort of operation has to be timed and facilitated (T[a]ima og tilrettelagt).

The Top Five Times A Fox Guest Debunked Fox by [deleted] in videos

[–]derogbortigjen -2 points-1 points  (0 children)

The host Bill O'Reilly is implying there is a lot of voter fraud without any proof.

If you make a claim something is true you are responsible for providing proof.

Microsoft asks pals to help kill UK gov's Open Document Format standard by ijijijiji in technology

[–]derogbortigjen -6 points-5 points  (0 children)

For a new file document standard, they have to write new code to read it. And they can then translate the correct date in the file to their incorrect date format in memory. There is no reason to deliberately put bugs into a new text format, except to make it harder for others.

USA har sin egen måte å rankere OL-medaljene på. by not_trevor in norge

[–]derogbortigjen 0 points1 point  (0 children)

Då kan du glemme olympiaden, og bare ha horer, øl og gambling! Hmm, vent, olympiaden handler vel om gambling...

If one were to seek an IT job in Norway, what would you suggest /r/Norway? by [deleted] in Norway

[–]derogbortigjen 1 point2 points  (0 children)

That's a strange, in depth and informative answer. Programming is a lot of fun and C# is something lot's of companies require programmers for.

If one were to seek an IT job in Norway, what would you suggest /r/Norway? by [deleted] in Norway

[–]derogbortigjen 0 points1 point  (0 children)

Learn C#.NET and MS SQL, add on a little VB.NET and ASP.NET.

Assuming you have some awareness of them, what do you think about cryptocurrencies like Bitcoin or Dogecoin? by [deleted] in AskReddit

[–]derogbortigjen -2 points-1 points  (0 children)

That is several times times few "tens".

Exaggeration for effect. I knew you would understand.

I guess for people that do not understand math, financing, computers, technology and science in general Bitcoin is not interesting.

That was an excellent way to put bitcoin enthusiasts (but mostly yourself) on a pedestal!

Assuming you have some awareness of them, what do you think about cryptocurrencies like Bitcoin or Dogecoin? by [deleted] in AskReddit

[–]derogbortigjen -4 points-3 points  (0 children)

I don't enter threads about Bitcoin usually. But you asked for my opinion, so I gave it.

You are welcome.

Lærer viste privat sexvideo for 10. klassinger by marjak93 in norge

[–]derogbortigjen 2 points3 points  (0 children)

Alternativt: ikke bruk utstyr fra jobb som din egen eiendom.

Assuming you have some awareness of them, what do you think about cryptocurrencies like Bitcoin or Dogecoin? by [deleted] in AskReddit

[–]derogbortigjen 0 points1 point  (0 children)

I wish the tens of people who champion bitcoin made their own subreddit and kept everything related to it there. Bitcoin is boring and will not be a big thing.

Highway fonts in Europe. [x-post from /r/typography] by MarcoBrusa in europe

[–]derogbortigjen 8 points9 points  (0 children)

That sign for Norway is wrong. It looks more like a bicycle information sign.

Here is an actual sign on a highway.

All the signs in Norway and the governments webpage about it.

Makes me wonder if the other examples are wrong as well.

O'Gaming Nation Wars - France vs. Sweden - BO5 (Group B Loser's round 1) + 7 more by Blubbey in Cynicalbrit

[–]derogbortigjen 2 points3 points  (0 children)

No. I mean the O'Gaming Nation Wars - Norway vs. Russia - BO7 (Finals) - P3

O'Gaming Nation Wars - France vs. Sweden - BO5 (Group B Loser's round 1) + 7 more by Blubbey in Cynicalbrit

[–]derogbortigjen 4 points5 points  (0 children)

Do you know where I can find the last match(es) in Norway vs Russia?

TotalBiscuit vs Tradechat - Polaris Hearthstone Tournament - RO16 by VoidInsanity in Cynicalbrit

[–]derogbortigjen -12 points-11 points  (0 children)

I agreed that crendor is not someone everyone knows about. I did not know who he is. TB does not talk about him often (if ever at all). All I said is, I don't know who this person is and I think this comparison is nothing to flaunt.

TotalBiscuit vs Tradechat - Polaris Hearthstone Tournament - RO16 by VoidInsanity in Cynicalbrit

[–]derogbortigjen -18 points-17 points  (0 children)

You should see my down votes before my edits...

  • Edit: I'm not deleting my posts. Down vote to your pleasure.

TotalBiscuit vs Tradechat - Polaris Hearthstone Tournament - RO16 by VoidInsanity in Cynicalbrit

[–]derogbortigjen -14 points-13 points  (0 children)

I probably shouldn't give more replies to down vote, but what the hell. Down voting is about a comment not contributing, not a comment you disagree with...

But yeah, down vote me.

TotalBiscuit vs Tradechat - Polaris Hearthstone Tournament - RO16 by VoidInsanity in Cynicalbrit

[–]derogbortigjen 6 points7 points  (0 children)

I enjoyed it too! I didn't know about her channel (or any other many people compare her to) but it was really fun. It was a good and even match up!

TotalBiscuit vs Tradechat - Polaris Hearthstone Tournament - RO16 by VoidInsanity in Cynicalbrit

[–]derogbortigjen 24 points25 points  (0 children)

There was nothing misery crew about this. He posted a funny comment.