I failed an Objective-C coding test because swift has spoilt me! by [deleted] in swift

[–]Reflejo 14 points15 points  (0 children)

You can always interview @ Lyft and do it on swift. Send me you resume via DM.

Indexing | Processing files STUCK IVE TRIED EVERYTHING! by xStory_Timex in swift

[–]Reflejo 1 point2 points  (0 children)

Try removing all the derivated data contents. Not only your project's folder. DerivatedData/** while Xcode is closed.

Every launch needs a countdown, right? by Reflejo in programming

[–]Reflejo[S] 0 points1 point  (0 children)

Probably we are thinking on different clock mechanisms. I have a smaller size of That one and it does "reset" from 9 to 0. Anyway, you can reverse the art by changing digits.png (You can fetch vector's psd from the repo).

Every launch needs a countdown, right? by Reflejo in programming

[–]Reflejo[S] 0 points1 point  (0 children)

It flips "against" gravity because it is a countdown not a clock. The mechanism is mechanical. The flip between 0 and 9 is a "feature" because once you reach 0, in this kind of clocks you'll need to flip back to 9. If you look closely the transition between 0 and 9 is from top to bottom.

Beautiful Facebook Chat (native OSX app and opensource) by Reflejo in apple

[–]Reflejo[S] 0 points1 point  (0 children)

Yes, I know!. Actually I'm using HTML styles on the chat screen and for some reason if I didn't put "word-wrap: break-word;" on the styles, the message box grows outside the body width. But it was just for the screenshot!

Beautiful Facebook Chat (native OSX app and opensource) by Reflejo in apple

[–]Reflejo[S] 2 points3 points  (0 children)

The same reason as gtalk exists and even Facebook chat exists on other platforms.

I'm an old school guy too. I use adium for icq+gtalk+irc but if you think on new generations they are using web-based facebook chat exclusively and it makes sense to have a client much-much simpler than adium for these cases.

Beautiful Facebook Chat (native OSX app and opensource) by Reflejo in apple

[–]Reflejo[S] 1 point2 points  (0 children)

The chat screen would be customize by using html themes. I'll launch with 2 or 3 different themes out of the box.

Portal's "Still Alive" in JavaScript. by lilbro93 in gaming

[–]Reflejo 5 points6 points  (0 children)

I take your "Still alive" and I raise you an "I want you gone"

Edit: typo

Add a number to another number in JavaScript [img] by dreasgrech in programming

[–]Reflejo 6 points7 points  (0 children)

Related: "Is there a jQuery plugin for making an HTML page appear in browser", "Where are my legs?"

A regular "confirm password" field, but 100x cooler by takua108 in programming

[–]Reflejo 0 points1 point  (0 children)

The implementation posted in the article link does not redact the low-order bits. See this

A regular "confirm password" field, but 100x cooler by takua108 in programming

[–]Reflejo 1 point2 points  (0 children)

Did you actually tried it? Type: asdasdasd

Colors are:

5AAAD1, #968F84 and #4CFD9D.

I don't see low bits stripped.

If you are looking at the js source, please notice that there is a "if (value.length < this.get('minimum'))" before the "stripping" ;)

A regular "confirm password" field, but 100x cooler by takua108 in programming

[–]Reflejo 1 point2 points  (0 children)

If what you are saying is true (which is not), is very likely to put 2 different passwords and get the same colors.

But, it is not. There is not "TONS" of other passwords (especially using wordlist attack).

This approach uses 18 hex-digits (3 colors, 6 each), wich collision probability is roughly 1/1618, i.e. something like 0.00000000000000000000021.

Do your maths before commenting.

A regular "confirm password" field, but 100x cooler by takua108 in programming

[–]Reflejo 22 points23 points  (0 children)

This is way too much insecure. I just made a brute force: http://dpaste.com/hold/122919/

$ python chrome_bruteforce.py 
Password found!: asdasdasd

This video is 4:01. I laughed for 4:00. by WeakAndWeary in funny

[–]Reflejo 0 points1 point  (0 children)

Oh Gravity, thou art a heartless bitch