Looks like that number is in base-36 instead of base-10 (decimal). Using http://www.unitconversion.org/numbers/base-10-to-base-36-con... yields number 80113871 as the last 8 digits of the phone number.
You can also type the following in your JS console :) parseInt('1bp49b', 36) "The only problem is it's so tough, no one has managed to crack it yet." is very silly
Are you smart enough to work at a start-up?
11–20 of 24 posts
Re: Are you smart enough to work at a start-up?
#12Do it by hand and I'm impressed :)
1*36^5 + b*36^4 + p*36^3 + 4*36^2 + 9*36^1 + b*36^0
= 36^5 + 11*36^4 + 25*36^3 + 4*36^2 + 9*36 + 11
= 80113871
I'll start on Monday.Re: Are you smart enough to work at a start-up?
#13Re: Are you smart enough to work at a start-up?
#14Kinda silly given they tell you the base...it'd be cooler if they didn't give you the base and you had to play with it until you had something that fit the phone numbers in the area that the company is in Also, where's the startups in Brisbane anyway :-/
Re: Are you smart enough to work at a start-up?
#15Looks like that number is in base-36 instead of base-10 (decimal). Using http://www.unitconversion.org/numbers/base-10-to-base-36-con... yields number 80113871 as the last 8 digits of the phone number.
Re: Are you smart enough to work at a start-up?
#16Earlier quoted context omitted.
You can also type the following in your JS console :) parseInt('1bp49b', 36) "The only problem is it's so tough, no one has managed to crack it yet." is very silly
in ruby '1bp49b'.to_i(36)
Re: Are you smart enough to work at a start-up?
#17Re: Are you smart enough to work at a start-up?
#18 require 'sinatra'
require 'twilio-ruby'
ACCOUNT_SID = "Your SID"
AUTH_TOKEN = "Your Token"
BIG_COMMERCE_NUMBER = "+612#{1bp49b".to_i(36)}"
APP_URL = "http://path.to.this.app.com"
YOUR_NUMBER = "+61211111111"
get '/' do
twilio = Twilio::REST::Client.new(ACCOUNT_SID, AUTH_TOKEN)
twilio.account.calls.create(
from: YOUR_NUMBER,
to: BIG_COMMERCE_NUMBER
url: APP_URL + "/give-me-a-job"
)
end
get '/give-me-a-job" do
r.Dial callerId: YOUR_NUMBER do |d|
d.Number(CGI.escape(YOUR_NUMBER))
end
endRe: Are you smart enough to work at a start-up?
#19Re: Are you smart enough to work at a start-up?
#20Not really a complex puzzle by any means...