« first day (1453 days earlier)      last day (3725 days later) » 

05:22
Ok, does MD5 naturally break down with single-character strings or am I doing something wrong? Trying to golf a PowerShell script to brute-force MD5 hashes, but the bit I'm using to generate hashes doesn't seem to work properly with single-character strings. (Of course, trying to test with single-character strings first so the test will run quickly.) Most characters will make a 31-digit (hex) hash while some (so far, only '0') will put out the expected 32.
Ok. Tested 94 different single-character strings, and only 34 came up with 32-digit hashes.
In related news, counting in (roughly) base 94 seems to take quite awhile starting with just 3-digit numbers.
05:48
@Iszi wtf?
MD5 works on any string length.
...so presumably you're doing it wrong. Or Microsoft is.
Could be that an initial zero is getting trimmed off. Test against a different hash implmeentation
 A 7fc56270e7a70fa81a5935b72eacbe29
 B 9d5ed678fe57bcca610140957afab571
 C 0d61f8370cad1d412f80b84d143e1257
 D f623e75af30e62bbd73d6df5b50bb7b5
 E 3a3ea00cfc35332cedf6e5e9a32e94da
 F 800618943025315f869e4e1f09471012
also try md5sum.org
 
1 hour later…
07:13
@tylerl Yeah, looks like you might be right about the leading zeroes.
F 80618943025315f869e4e1f9471012
Third character in F is a leading zero, as is another one later on, and those are the only zeroes missing in my output.
So I just need to reconfigure the formatting of the hex output.
Added in enforced double-digits and that's fixed it. Thanks.
08:02
'G morning people
@tylerl @Iszi actually MD5 does not work on ANY strings. It works on bytes.
@Iszi did you base64 it first, or at least .toByteArray() it?
@AviD [System.Text.Encoding]::UTF8.GetBytes('string')
@Iszi ah nevermind me then.
@AviD Thank you my pedantic imaginary friend
4
@Iszi yeah that
08:06
"any string of bytes"
better?
I knew I had it close, since I had a sample input/hash pair to compare against that was working right.
@tylerl you are welcome, pigment of my imagination.
Just got stuck for a minute on why some of the outputs were screwy.
@Iszi thats a strange bug to encounter though.
@AviD Apparently the operations I'm doing to actually make the hash result in an array of hex codes, instead of one string.
Actually, not even. IIRC, they're just stored as numbers. By default, it would be decimal-formatted.
08:08
@Iszi "array of hex codes" you mean a byte array, right? ;-)
ahhh
To fix it up, I've gotta do this...
so those numbers are actually the individual bytes, printed out - by default as decimal to string?
@AviD Yeah. Default display format for numbers is decimal.
08:11
hmm
The fixup forces the format to double-digit hex, and concatenates.
@Iszi jesus that looks painful. Why, god why, are you using powershell?
I think you should be able to do a UTF8.GetString(..) on the original statement
@tylerl powershell is awesome!
@tylerl Because I can.
@Iszi [tylerl@home]$ echo -n "string" | md5sum
aaaand DONE.
08:14
Yeah, Windows isn't cool like that yet.
Right now, the only built-in hashing is for files.
@Iszi but so much more awesome!
@AviD Yeah, GetString didn't quite work...
@AviD one of my favorite things about Google: nobody uses Windows.
@tylerl thanks for the tip, took another clueless hipster religious place off my shortlist!
wait, why UTF8?
08:16
hehe
UTF 8 is the spawn of the devil
@AviD What do you mean why UTF8?
@tylerl: Its mostly linux with some mac systems isn't it?
@JourneymanGeek most people have both a Linux desktop and a Macbook. But it's whatever you want. Theoretically you can choose windows (if you have appropriate justification). But you'll look like a tool.
Makes sense
08:18
@Iszi well, you could also try .ToString()
Yeah, I read about it when a recruiter for SRE contacted me :(
but I dont think tha twould work...
@AviD srsly?
unless you use the ByteConverter
What do you prefer over UTF8?
08:18
@tylerl have you seen the spec?
@tylerl uhh because all you hipster macbois don't look like tools? ;-)
@AviD Nope. Output was:

System.Byte[]
YUP. It's a brilliant way of packing a crazy huge codespace into a reasonably efficient serialization scheme.
@tylerl anything really, even utf8 is fine, as long as I dont have to muck around in the byte structure.
@tylerl "brilliant" "efficient"
actually no, yeah I'll give you that
but once you spend some time with overlong UTF8 representations - you'll understand what I'm talking about
Ken Thompson is a pretty smart fellow.
@tylerl no dispute there.
08:22
Killer thing about this script is the goal is to brute-force an MD5 hash of a 9-character input. To generate the inputs for hashing, I've effectively taught the script how to count in base-94. It goes okay up until it hits around 3 digits. Then it just seems to take forever. Don't want to imagine how long it will take to get to 9.
Sure, the upper ranges of the code space are stored much less efficiently, but in exchange for that you get basically 1-byte-1-char for 98% of your network traffic.
@Iszi why dont you just count each character / byte separately?
also, why not just use hashcat?
@AviD Perhaps because I'm inexperienced in these things? Do elaborate, but also consider I'm playing code-golf here.
ahh code golf then... nevermind I guess
also ignore my very practical tool suggestion
One of the submissions for this actually put something together that would run any real system out of memory before it got anywhere near the answer.
But it would work otherwise, in theory.
08:26
you could do a 9-deep nested loop...
@Iszi brute force, code golf, Powershell. They go together like peanut butter and vinegar.
@AviD Not sure that'd be more efficient in terms of character count. I've only got about a half-dozen if statements involved in my counter. And some of that can probably be optimized.
Haven't actually golfed the base-94 counting part yet.
Gotta get it mashed together and playing nice with the hashing part first.
not sure how you mean base-94 counting, but you could have a byte array, sequentially increasing each byte through allowed values.
@AviD I have it create a reverse-indexed array of characters (last element of the array is the first "digit" of the "number") starting with code 33 (!) and running up to code 126 (~). Each time an element in the array hits 126, the next element is incremented (or created as 33 if non-existing) and the capped one is reset to 33.
(Not sure if that made any sense.)
ah that could work
why does it slow down then a 3 digits? It should scale linearly.
08:35
@AviD Oh, it's still trucking along at the same speed. But it's the difference between counting to about 9,000 and counting to around 821,000.
ah.
That fourth digit's gonna take awhile to show up.
okay, calculate this quickly: at 94 values per char, how many overall possiblities would you need to test?
Google says 5.729948e+17
calce.exe says 572,994,802,228,616,704
so same, but calc seems more useful, somehow.
now, what is your rate of calculations per second?
08:37
Haven't really bothered to benchmark.
thumb to the wind.
I would guess 70 M at most, probably substantially less.
Actually, I could tell you in a sec.
but even at that speed - how long would it take....? ;-)
Took about 2 seconds to hit 3 digits.
hint: it is well over 200 years.
@Iszi ooo thats order of magnitude slower.
I propose you set up a foundation in your will, so that your great-great-great-great-great-grandchildren can see the results.
2
08:40
Yeah, I'm not planning on actually proving that this thing can do the 9-character bit starting from zero.
@Iszi btw, on average it is only half that ;-)
oclHashcat would kick that script's butte
@AviD Maybe if you're checking randomly. If you're starting with a single digit and counting up, it's going to be way more than half.
@Iszi assuming the password is random, then no - statistically you would need to test half.
Password is known to be 9 characters, but our code has to start from 1.
ah.
wait, what why?
08:42
Objective isn't to be fast anyway. It's to be small.
also does \0x0 count as a char?
Printable characters.
@Iszi @Simon wins on both counts! woot!
4
@AviD cheecky
I wonder how golfable F# is
08:46
I wonder how golfable yo momma is
@AviD I would say its possible, but not without making a huge mess.
0
Q: What are the purposes of device ownership?

dannycraneThere are two scenarios that I have saw device ownership. In TPM, there is an ownership establishment procedure. When we purchase a new cell phone, the SIM card activation also has some ownership establishment procedure. What are the main purposes of these device ownership establishment?

am I missing something, or are these special terms in some niche sub-field that I am not familiar with?
or is the key to the question in the tags, and this is a TPM concept?
@AviD it is a TPM concept
@Gilles damn them all
why cant he put that in the frikkin question??
> In TPM, there is an ownership establishment procedure.
08:51
but I am not familiar enough with those terms to be able to make a sensible edit out of it.
@Gilles errr
umm
it seems like he is saying there that its only one of his scenarios
I've noticed you people are really nasty to @Simon. Any time I say something mean about him (and lets be honest, thats pretty often), it always gets lots of stars.
I mean, I'm just joking with him, yknow like sibling rivalry, but you guys are just nasty.
@AviD so the person who says the nasty things is nicer than those who find them amusing ?
:op
heh, I expected that one to be starred up the wazoo
@RоryMcCune of course! you guys are cyberbullies!
#SimonGate
09:23
@AviD I don't think anyone around here wants anything to do with a Tigger's wazoo.
09:38
@Iszi thats not what your mom said.
why is the world outside my duvet so cold
@kalina must be lex luthor.
@kalina ...because you are inside your duvet </cringemode>
:-)
I know - I just couldn't resist
did you just call me hot
aren't you like 60
It was minus 3 today - lovely ice everywhere
pffffft
yeah
at least 600
09:49
that's slightly creepy
I know, right
still not on par with if Simon had said it
hahahahahaha - phew
but still slightly creepy
you could try one of the following: central heating; gloves; jumping about; etc
09:51
central heating is on but still warming up, gloves are a little extreme and only warm a small part of my body, enthusiastic jumping about results in unexpected boob pains
@RoryAlsop of course the best way to get warm, as all adults know is... build an ice fort!
@Tinned_Tuna perfect answer - and much less 'creepy' than any answer I could have possibly given to @kalina
although @kalina - I didn't mean just gloves. I meant in addition to other garments!!
but surely ice forts have a rather cold building process
@kalina simple then - set your central heating to come on earlier
@RoryAlsop no no, that is the BEST way to build your ice fort!
09:53
I think I'm just going to hibernate for the winter
aaaaand creepy again ;-)
@AviD well done!
Keeping up the side for us old folks :-)
@RoryAlsop #SimonGate
@kalina no, it warms you up moving all the blocks about. Nothing like picking things up and putting them down again!
@Tinned_Tuna that sounds like a lot of physical exertion. If I were going to exert myself to that extent, surely just having sex would be the quickest and easiest way to generate heat?
09:56
@kalina well, obviously - but imagine how creepy @AviD would sound suggesting that
:-)
@kalina actually, making these comments, in this room, is the quickest and easiest way to generate heat.
@kalina ew, no. Firstly, that's going to be all sticky. Secondly, you have to take clothes off to do that. At least traditionally. How cold do you think that's going to make you?
Especially if @Simon or @Adnan were around.
@AviD I thought @kalina has the power of fire! That's pretty hot.
@RoryAlsop what do you think "fire" is referring to?
09:57
@RoryAlsop ah yes, the power of fire. Huddling round a bin of burning @Simon s
when @kalina causes @Simon to spontaneously combust, the flames start from his pants.
@AviD Erm... I plead Arthur Brown!
(trousers).
@RoryAlsop uhhh.... the linebacker or the singer?
The one who has the crazy world :-)
nevermind, its clear you meant this one
Arthur Stanley Brown (20 May 1912 – 6 July 2002) was charged in 1998 for the 26 August 1970 rape and murder of Judith and Susan Mackay in Townsville, Queensland. The jury failed to reach a verdict and a new trial was blocked on the grounds that Brown was too senile to be tried again. Brown's arrest attracted wide publicity leading to a witness to the abduction of two children from Adelaide oval in 1973 identifying Brown as the man she had seen. Brown is considered a suspect for the Beaumont children disappearance based on the connections that have been made between him and the Adelaide oval abduction...
09:59
How very randomly Wikipedia
did... did I just make a rape joke that was not too off?
I don't think so
so I made a murder joke then.
I think you just linked to a wikipedia page :-)
well, yeah, but it was funny in context
anyway, moving on then....
I just ruled out the option of building a RDP virtual channel to override faulty mouse behavior in RemoteFX.
after ruling out building a custom mouse driver to override faulty mouse behavior in RemoteFX.
so I'm stuck back at faulty mouse behavior in RemoteFX. :-(
10:03
I see the common thread there - do you need RemoteFX?
@RoryAlsop touché
@AviD :$
@RoryAlsop yeah
@Tinned_Tuna you don't have to take your clothes off
RDPing into a VM works brilliant for gaming. RemoteFX / vGPU is the key to that.
@kalina Oh no. To have a good time.
10:04
@AviD ...
@kalina We could dance at parties. All night.
problem is the mouse driver for RDP relays relative location instead of movement.
Just drinking cherry wine
@RoryAlsop it's still possible to have a good time with your clothes on
this screws up 3D-heavy apps, like first-person shooters.
10:05
@kalina oh thank god, I'm in the office right now! I don't think my co-workers would appreciate it if I suddenly stripped!
provided those clothes include a skirt or dress of some kind
@RoryAlsop yup. creepy again. #SimonGate.
@RoryAlsop I doubt your heart could keep up
@RoryAlsop I found a lot of people complaining about it online, but not found any solution for it yet :-(
@kalina not gonna respond... :-) other than to say - I guess you didn't get the music reference then :-(
10:07
so I thought maybe build one - but that is crazy complicated, and I am NOT in the mood to start building kernel drivers, or digging in the virtual channels again.
@RoryAlsop no it's far too early for intelligent, meaningful conversation from my end
@AviD you'll have any neckbeard privileges rescinded soon!
@kalina further, while a skirt or a dress would probably be quite fun to wear (although, not entirely my style, to be fair), I think that in this weather, it would be a poor decision.
@kalina is that an Ace Ventura reference?
@AviD no
well it could be, but not intentionally
@AviD hahahahaha
@RoryAlsop http is missing
I think @Arperum should be kicked for suggesting http over https
10:09
its frikkin youtube
@AviD that sounds more fun than normal youtube
hehe
you know when you get bed in and bed just swallows you up and you're all comfy and surrounded by duvet?
@kalina ... okaaaay
that's me
I am all comfy and surrounded by duvet
10:10
@kalina you're @RoryAlsop's bed?
@kalina The thing is that http oneboxes, https doesn't afaik.
@AviD creeeeeepy
:-)
@RoryAlsop shame on you
10:11
what is it with the overwhelming creepy going on in here this morning
it's like Simon has infected you all with his aids
#SimonGate
When my alarm goes off at ungodly o'clock, I just like getting out of bed. Admittedly the hot shower before going to work is good, but I see no benefit in staying in bed when there's things I could do out of it
I'm not like that at all
I am very much a morning and night person, though. Mid afternoons suck a little in my world, but aside from that it's all good
Does anyone know if there is a simple way of getting some information about the system ram from a debian terminal?
10:13
hmmm, after testing: https youtube does onebox. Good to know.
@RoryAlsop I'm glad I saw that before going and looking out that song..
@DavidFreitag could you not just free
@DavidFreitag less /proc/meminfo
specifically the clock speed of the ram
10:14
@RoryAlsop mornings are the worst. I like to sleep through them.
@DavidFreitag I'd wager there's something in /proc that'll satisfy you. meminfo is just about sizes though
amazing
anybody would have thought you had googled it before asking us
those people would have been wrong
10:17
I was in the process of googling
yeah, of course you were
just like I'm in the process of getting out of bed
@RоryMcCune just in general....?
NOT
I visited the first link
@AviD yeah
10:18
Then wondered if anyone knew it offhand
tq
I think everything typed into chat should return the first 5 google results before letting you submit your message
it would dramatically reduce the contents of chat
it would also stop silly questions and prevent me from typing "bored"
best idea ever
@Arperum mornings are the best. Mostly because most people see them as worst, so I immediately am at an advantage
@kalina what are the top 5 returns if you type 'bored' into google?
@RoryAlsop I have no idea, I've never done it
@RoryAlsop probably @kalina, complaining here in the DMZ.
2
10:23
@AviD lol
boredbutton.com
bored.com
i-am-bored.com
urban75.org/useless/bored.html
boredpanda.com
and I thought moving here would get me away from the cold
it's even worse because it's cold and the sun is out
@kalina well ya know Iowa can be really cold..
the weather was lovely when I was last in Australia
they were calling it a heatwave but it felt nice to me
fucking Iowa
asif I'd willingly live in the USA
except California
@kalina San Fran is lovely
it's the only city I have enjoyed visiting in the US
exactly, plus their liberal narcotics laws
10:28
@RoryAlsop I was going to say it can be a bit chilly, but then I remembered that's a huge plus for you :)
@RоryMcCune ;-P
I'm about to say "8 degrees is not warm" and then discovered the irony of me complaining about the temperature while half the channel is in Scotland, most likely under several feet of snow...
@kalina the snow on the hills does seem to be gradually making its way lower....
@kalina nah -the snow isn't lying in the central belt. How's it up your way Rory?
It's already back up at zero C now
@RoryAlsop snowy on the rest, not lying here yet
10:30
"back up to zero C"
hides under duvet
@kalina yeah - annoying. Everything is melting. The ice is now slushy. Meh
NP, I'll just continue complaining it's not 30 C
right - time to go for a drive before the slidy is gone for the day. Quick spin to t'other office. Back in a bit.
Enjoy duvet-time
@kalina It's -15° here right now.
@DavidFreitag that's not even a real temperature
10:35
@kalina it is here
@kalina That's not even with wind chill
well actually its only about 25 today.
@AviD 25 is pretty much the lower limit of what I find acceptable
well, 20 at a push
wandering around outside in this weather is guaranteed to make me miserable
@kalina don't you have like... a job? or something?
I do
I have an or something
I appreciate my or something, but it's a lot of work in bursts so I've found that over time my sleeping pattern has gone to shit
10:41
Sweet. NAS build is on its way.
the walk from bed to kettle and back again with coffee has reminded me that today I'm just going to spend the entire day in bed
I need some new toys to play with during down time
it's probably time I got a new phone
I had a oneplus one invite a few days ago
isn't that the super cheap hipster phone?>
Does @AviD have one?
@kalina not so cheap
@DavidFreitag ha! noooo.... I like good phones
10:48
@AviD $350 is pretty cheap
@AviD I think our definitions of cheap don't completely match up
@DavidFreitag thats midrange
@DavidFreitag The implication being @AviD is a cheap hipster?
@TerryChia bastard. Cheap bastard is the term you're looking for.
basically
10:49
@AviD I should rephrase, it's cheap for what it is
guys, I have a problem
I currently own a HTC One M7
which in my mind is a "large" phone
M7? I thought you had an M8
@DavidFreitag its a cheap piece of crap with a knockoff OS. How is that cheap?
oh oh, I forgot to mock android's security model.
@AviD What do you prefer iOS?
@DavidFreitag I had an M8, I dropped it and went back to my M7
10:50
@DavidFreitag oh please, dont get me started on that toy.
the screen wasn't happy about the fall
WP8 on Lumia
;-)
I'm not too fussed, since it fell squarely into the "too large to be comfortably usable" category
@AviD Also, FTR it's taking quite a lot of self control not to argue with you right now.
@DavidFreitag hahaha, Troll Badge Achieved!
10:51
Ideally, I'd like something the size of the M7 but current, but everything released this year is larger
@AviD WP's security model being there are no apps for that platform? ;)
heh, yes I read Taylor too ;-)
I have looked at Windows phones, I like the UI
@kalina If the M7 is comparable in size to the M8, then the oneplus one is exactly the same size (give or take a few millimeters) and thinner. About half as thick.
I don't really want to buy back into the Apple ecosystem
@DavidFreitag the M7 it notably smaller than the M8
10:53
@kalina I went from a Nexus 5 to the onplus one. It's quite large in comparison.
@DavidFreitag Nexus 5 is the right sort of size for me
but it's not a current generation "flagship" model
@kalina I would recommend against the Nexus 5. While it is a really nice phone it suffers from the same problem all of the Nexus devices have. It's battery is much too small.
@kalina Technically it's still Google's current flagship.
I wouldn't buy a last generation... anything, given the option
@DavidFreitag nexus 6 is out
nexus 6 is too large
@DavidFreitag and what does that tell you about Google?
@kalina That ain't no phone it's a phablet
10:55
you call it phablet, I call it big phone
the size introduces usability issues
@AviD Listen you stuffed imaginary psychologist...
2
@kalina Yeah the oneplus one is barely usable with one hand
haha, first imaginary pedant, now imaginary psychologist.....
@DavidFreitag so is.... #SimonGate
@AviD is just imaginary, nobody can see or hear him
@AviD Sorry, pedantic imaginary psychologist.
so basically you're saying that my only real option is whatever cutdown samsung galaxy mini or htc mini gets released next year?
sad panda :(
10:58
@kalina Unfortunately manufacturers have gone the "Bigger is better" route.
There is always the new Moto X
bigger IS better
BIGGEST ROCK BEST ROCK
My friend just got one. It's quite nice.

« first day (1453 days earlier)      last day (3725 days later) »