Two Plus Two Publishing LLC
Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > >

Notices

Programming Discussions about computer programming

Reply
 
Thread Tools Display Modes
Old 02-22-2012, 10:03 AM   #2526
Chips Ahoy
help me help you
 
Chips Ahoy's Avatar
 
Join Date: Apr 2007
Location: making triangles
Posts: 28,682
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Don't run your own dns.

There are plenty of good and free dns providers with friendly web interfaces.

When you host your dns elsewhere, you have options when the server is down.
Chips Ahoy is offline   Reply With Quote
Old 02-22-2012, 10:23 AM   #2527
Gullanian
Carpal \'Tunnel
 
Gullanian's Avatar
 
Join Date: Dec 2006
Location: London
Posts: 14,008
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

What's a good free dns provider? Although I think I need a name server? (This is all black magic to me) I'm trying to pay the host to just set it up for me but they said they'd do it for free sometime today so will just wait I guess. Host says my domain registrar should give me a name server, the domain registrar says my host should give me a name server which is what's confusing me!

I've been looking at http://zoneedit.com/ which is quite good apparently, again though lol I'm not sure if this is what I need
Gullanian is offline   Reply With Quote
Old 02-22-2012, 10:34 AM   #2528
clowntable
Carpal \'Tunnel
 
clowntable's Avatar
 
Join Date: Jun 2006
Location: 39, 46, 56, 59, 191
Posts: 45,558
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

http://www.ubuntu.com/devices/android



Also re: servers/hosting...there's some pretty real concern against hosting with US hosters due to the Patriot Act and other fun things. Friend of mine told me that not hosting in Germany was a dealbreaker for a couple of pretty big clients of his company.
Obviously I'm not convinced laws here will not change to the worse but it's something to concider.
clowntable is offline   Reply With Quote
Old 02-22-2012, 10:49 AM   #2529
Chips Ahoy
help me help you
 
Chips Ahoy's Avatar
 
Join Date: Apr 2007
Location: making triangles
Posts: 28,682
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by Gullanian View Post
I've been looking at http://zoneedit.com/ which is quite good apparently, again though lol I'm not sure if this is what I need
Yes, zoneedit will do what you need for free. It is everything you need.

A conceptual workflow:
  • somebody enters "www.yourdomain.com" in their browser
  • They need to convert that to an IP address, so the browser does a dns query.
  • The root .com servers are queried to find out where "yourdomain.com" info is.
  • The root .com servers reply that ns*.zoneedit.com has that info.
  • ns*.zoneedit.com is queried for "www.yourdomain.com"
  • ns*.zoneedit.com returns the IP address of www.yourdomain.com
  • the browser connects and gets the page.
So you need to do exactly 2 things:
1. Create a zoneedit account, give it your domain name->IP mappings
2. Set zoneedit as the dns servers for your domain with your registrar

Use an online whois tool to verify your work.
Chips Ahoy is offline   Reply With Quote
Old 02-22-2012, 11:00 AM   #2530
Gullanian
Carpal \'Tunnel
 
Gullanian's Avatar
 
Join Date: Dec 2006
Location: London
Posts: 14,008
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Ah thanks! On one of my less valuable domains I got it working now with zoneedit, seems good. I have ~6 domains though so I think I got to pay but that's not a problem seems quite reasonably priced
Gullanian is offline   Reply With Quote
Old 02-22-2012, 05:36 PM   #2531
jalexand42
Hypothetical Ubermonkey
 
jalexand42's Avatar
 
Join Date: Oct 2005
Location: Open Shoving My Range
Posts: 5,139
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

G,

PM me your AIM sometime if you want, I could def help you with typical windows questions, and your project is interesting to me, so I wouldn't mind swapping info anyway.

I concur with everyone else's advice anyway. Personally, I'm using Amazon for my DNS, it's super cheap and insanely reliable.




On another note, posted a developer job on Craigslist today, with instructions to send a cover letter and resume. For your enjoyment, literally the first response (bolding added by me):

Quote:
Hi - I saw your add on Craigslist for a Developer. I am very intrested. I have some C# and web experience about 2 years and am a quick learner. This position would be perfect for me.

Can you tell me what the salary and benifits are?

I look forward to talking too you soon.

Thank you VERY much for you're consideraition, sincerely,
jalexand42 is offline   Reply With Quote
Old 02-22-2012, 07:38 PM   #2532
meekrab
veteran
 
Join Date: Mar 2010
Posts: 2,673
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by MrWooster View Post
In a lot of languages ' if(y=x+6) ' will always be true (assuming x is the correct type).
Not if x is -6 or UNSIGNED_MAX - 7.
meekrab is offline   Reply With Quote
Old 02-22-2012, 08:14 PM   #2533
Xhad
Carpal \'Tunnel
 
Xhad's Avatar
 
Join Date: Jul 2005
Location: hatredcopter
Posts: 10,962
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Code:
[1]>(if 0 "True" "False")
"True"
Xhad is offline   Reply With Quote
Old 02-22-2012, 09:13 PM   #2534
Gullanian
Carpal \'Tunnel
 
Gullanian's Avatar
 
Join Date: Dec 2006
Location: London
Posts: 14,008
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Who here is from London again? I just went to the London HN meetup was very cool, hundreds of people, free beer, some good talks and Joel Spolsky gave an interesting talk as well about how in communities it's important to naturally repel people you don't want as well as attract those you do which I thought was interesting.

If anyone is around for the next one let me know can go for a pint after!
Gullanian is offline   Reply With Quote
Old 02-22-2012, 09:45 PM   #2535
_dave_
_Pooh_Bah_
 
Join Date: Feb 2005
Location: UK (or what remains of it)
Posts: 12,639
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

lol a talk on "the benefits of the banhammer" pretty sweet! I'm up in the North West, bit of an expensive trek but a HN meetup would likely be very cool imo.
_dave_ is offline   Reply With Quote
Old 02-22-2012, 11:02 PM   #2536
Zurvan
Retired
 
Zurvan's Avatar
 
Join Date: Apr 2005
Location: On the front porch, yelling at kids
Posts: 32,281
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

So, my boss was heard to say "I'm Steve Jobs" yesterday. I'm fairly sure he wasn't entirely kidding.
Zurvan is offline   Reply With Quote
Old 02-22-2012, 11:12 PM   #2537
daveT
S.A.G.E. Master
 
daveT's Avatar
 
Join Date: Jun 2005
Location: Why didn't I use Clojure instead?
Posts: 22,577
Quote:
Originally Posted by Xhad View Post
Code:
[1]>(if 0 "True" "False")
"True"
Okay, I'm confused.
daveT is offline   Reply With Quote
Old 02-22-2012, 11:18 PM   #2538
Xhad
Carpal \'Tunnel
 
Xhad's Avatar
 
Join Date: Jul 2005
Location: hatredcopter
Posts: 10,962
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

That was my roundabout way of demonstrating MrWooster's point that "0 is False" is not universal to all programming languages (in this case, Common Lisp)
Xhad is offline   Reply With Quote
Old 02-23-2012, 12:23 AM   #2539
kerowo
lolcat
 
kerowo's Avatar
 
Join Date: Nov 2005
Posts: 34,577
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Sure wish someone had asked the question about our product that exposed a major requirement miss before we went live...
kerowo is offline   Reply With Quote
Old 02-23-2012, 12:35 AM   #2540
tyler_cracker
Carpal \'Tunnel
 
tyler_cracker's Avatar
 
Join Date: Apr 2005
Location: Shallow End OTKP
Posts: 15,824
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Code:
[tyler@toaster:~]$ cat zero-is-true.sh 
#!/bin/sh
if [ 0 ] ; then echo "true" ; else echo "false" ; fi
[tyler@toaster:~]$ ./zero-is-true.sh 
true
tyler_cracker is offline   Reply With Quote
Old 02-23-2012, 03:02 AM   #2541
daveT
S.A.G.E. Master
 
daveT's Avatar
 
Join Date: Jun 2005
Location: Why didn't I use Clojure instead?
Posts: 22,577
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by Xhad View Post
That was my roundabout way of demonstrating MrWooster's point that "0 is False" is not universal to all programming languages (in this case, Common Lisp)
Ah, I thought it was Common Lisp at first, but I was thrown by the [1]> part and wasn't quite sure, since that would be pretty non-Lisp.

Are you currently working on Common Lisp? What editor are you using that has that sort of output? Not using Emacs for Lisp programming is just... strange.
daveT is offline   Reply With Quote
Old 02-23-2012, 10:24 AM   #2542
pablito_21
veteran
 
Join Date: Jul 2008
Posts: 2,860
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I am not a programmer but I love solving the problems from things like the spotify and ACM challenges: thinking about possible solutions, creating algorithms in text or pseudo-code, finding ways to optimize a solution, ...
I can actually write the programs as well, as I have some background in java/C/C++ from college, but as I said, I am not an experienced programmer.

I know that my forte, and also my personal preference, is towards the 'problem solving' part, and the actual programming is something where I'm at a significant disadvantage compared to 'real' programmers.

Hence my question: are there actually jobs geared towards this skillset? How would I go about finding them? For example, what kind of jobs would you be able to get into if you impress the spotify people with your solutions for their problems?

Basically, what are my options if I am a worse 'programmer' than most but a better 'thinker' than most.
pablito_21 is offline   Reply With Quote
Old 02-23-2012, 11:24 AM   #2543
Xhad
Carpal \'Tunnel
 
Xhad's Avatar
 
Join Date: Jul 2005
Location: hatredcopter
Posts: 10,962
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by daveT View Post
Ah, I thought it was Common Lisp at first, but I was thrown by the [1]> part and wasn't quite sure, since that would be pretty non-Lisp.

Are you currently working on Common Lisp? What editor are you using that has that sort of output? Not using Emacs for Lisp programming is just... strange.
It was a CLISP session. I don't "really" use LISP, though I have some familiarity with it.
Xhad is offline   Reply With Quote
Old 02-23-2012, 11:30 AM   #2544
clowntable
Carpal \'Tunnel
 
clowntable's Avatar
 
Join Date: Jun 2006
Location: 39, 46, 56, 59, 191
Posts: 45,558
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by Xhad View Post
That was my roundabout way of demonstrating MrWooster's point that "0 is False" is not universal to all programming languages (in this case, Common Lisp)
Yeah only nil and false are false in Ruby. 0 is true as is [] etc.

Quote:
Basically, what are my options if I am a worse 'programmer' than most but a better 'thinker' than most.
Learn Python or Ruby and solve the stuff again using those. Really easy to pick up, tons of good online resources. I guess Python is concidered one of the easiest languages to pick up (Ruby is a bit tougher/more confusing at first due to blocks etc immo)
clowntable is offline   Reply With Quote
Old 02-23-2012, 12:04 PM   #2545
pablito_21
veteran
 
Join Date: Jul 2008
Posts: 2,860
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Thanks for the suggestion.

Why do you suggest that I learn other languages, in particular those two? I'm a mediocre programmer in the languages I already know, what's the advantages of moving on to those specific languages? Are typical applications for those languages more interesting / fun / intellectually challenging / ...?

Just to be clear, I don't even know if I want to be a programmer, I just think that solving problems / riddles / challenges like that all day would probably be close to my dream job. And now I'd just like to find such a job
pablito_21 is offline   Reply With Quote
Old 02-23-2012, 12:14 PM   #2546
Gullanian
Carpal \'Tunnel
 
Gullanian's Avatar
 
Join Date: Dec 2006
Location: London
Posts: 14,008
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

You ever thought about algorithm design as a good career? I don't know much about it as a job at all but if you're a problem solver this might be something to consider.

I imagine you would have to be quite good at some sort of language though to demonstrate them. I absolutely love alg design/optimisation it's one of my favourite areas of computing.
Gullanian is offline   Reply With Quote
Old 02-23-2012, 12:37 PM   #2547
MrWooster
veteran
 
MrWooster's Avatar
 
Join Date: Mar 2007
Location: Shoving AK
Posts: 2,984
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by Xhad View Post
That was my roundabout way of demonstrating MrWooster's point that "0 is False" is not universal to all programming languages (in this case, Common Lisp)
Nice, had no idea this was possible.
MrWooster is offline   Reply With Quote
Old 02-23-2012, 06:01 PM   #2548
clowntable
Carpal \'Tunnel
 
clowntable's Avatar
 
Join Date: Jun 2006
Location: 39, 46, 56, 59, 191
Posts: 45,558
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

pablito_21: I think a language like Python makes it fairly easy to translate your algorithm thought process into code. Java is a little clumsy in that regard imo
clowntable is offline   Reply With Quote
Old 02-23-2012, 06:27 PM   #2549
pablito_21
veteran
 
Join Date: Jul 2008
Posts: 2,860
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by Gullanian View Post
You ever thought about algorithm design as a good career? I don't know much about it as a job at all but if you're a problem solver this might be something to consider.

I imagine you would have to be quite good at some sort of language though to demonstrate them. I absolutely love alg design/optimisation it's one of my favourite areas of computing.
Yeah I guess this is the direction I should be looking at. From wiki:

Quote:
Algorithm engineering refers to the process required to transform a pencil-and-paper algorithm into a robust, efficient, well tested, and easily usable implementation. Thus it encompasses a number of topics, from modeling cache behavior to the principles of good software engineering; its main focus, however, is experimentation. (Algorithm Engineering for Parallel Computation; David A. Bader, Bernard M. E. Moret, and Peter Sanders)
In a perfect world I would just be doing the pencil-and-paper algorithm and be done with it but I'm probably just a dreamer Also, I understand it's advantageous / important to actually know the technical possibilities (and limitations) of languages / framework used for the actual implementation instead of simply trying to think about a problem really, really hard.

Quote:
Originally Posted by clowntable View Post
pablito_21: I think a language like Python makes it fairly easy to translate your algorithm thought process into code. Java is a little clumsy in that regard imo
Thanks, makes sense. I've used Python in the past to write simulations and stuff like that, I'm gonna look into it.
pablito_21 is offline   Reply With Quote
Old 02-23-2012, 06:31 PM   #2550
MrWooster
veteran
 
MrWooster's Avatar
 
Join Date: Mar 2007
Location: Shoving AK
Posts: 2,984
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I have just purchased a new domain for my personal blog and I want to forward all requests to the old domain to the new one...

So olddomain.com/blog/entry should have a permanent forward to newdomain.com/blog/entry

It needs to be a 301 redirect, and I would like to set it up in the apache configs. I am guessing I need to setup a mod_rewrite rule.

Google suggests something like this might do the trick

Code:
RewriteRule (.*) http://www.yournewdomain.com/$1 [R=301,L]:
Any ideas?

Ty


Edit: Actually seems to explain it all here: http://httpd.apache.org/docs/current...ml#rewriterule
MrWooster is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Forum Jump


All times are GMT -4. The time now is 03:42 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright ę 2008-2017, Two Plus Two Interactive
 
 
Poker Players - Streaming Live Online