« first day (1752 days earlier)      last day (3188 days later) » 

7:00 PM
A cyclic redundancy check (CRC) is an error-detecting code commonly used in digital networks and storage devices to detect accidental changes to raw data. Blocks of data entering these systems get a short check value attached, based on the remainder of a polynomial division of their contents. On retrieval the calculation is repeated, and corrective action can be taken against presumed data corruption if the check values do not match. CRCs are so called because the check (data verification) value is a redundancy (it expands the message without adding information) and the algorithm is based on cyclic...
 
We have no clue we are just looking at math
 
@DonLarynx rotfl
 
user1804599
Use a CRC library.
 
user1804599
Never implement CRC yourself.
 
@DonLarynx that's what he's asking
 
7:00 PM
@KalaJ jesus christ
 
Okay there is a comment
in the code that says
 
embedded programmers are the worst
sorry
 
This function updates the crc value with the current input
and u8 data is a byte to be added to the crc parameter
that's all it tells me
 
The value is a CRC checksum
You really don't need to know anything else about it
 
yes I figured as well
I know what a checksum is
 
7:01 PM
Great, problem solved
 
but I need to know what is the expected value
 
> For some reason lately I've been drowning in emails from embedded system wannabees. "Dear Jack: I lately learned Visual C++ and now want to start a career in firmware. But no one wants to hire me as I have no experience. What do I do? How to I learn about firmware?"
 
so I can run an assert
 
And you test CRC code by running a CRC over sample data
with an existing CRC library
 
user1804599
Use QuickCheck with a CRC library that's known to be correct.
 
7:02 PM
well I just want to test it
 
Boring
 
@DonLarynx eh
 
It's the part " I lately learned Visual C++" that gets me
 
You take a CRC program, run over sample data, get your results, and then you get your outputs
 
in this case, I don't think I have sample data
I have to generate my own data
 
7:04 PM
Invent one
I can provide you some
lol
 
QuickCheck is for Haskell?
 
0, 1, 2, 3, 4
 
asiofhadsiop
 
ok thanks lol
 
user1804599
There are C++ clones of it.
 
user1804599
7:05 PM
But as with all C++ libraries they're likely awful.
 
I need a C CRC tester
 
You don't
 
ok
 
user1804599
Write a file with lines CRC checksums and data.
 
user1804599
Make your unit test read that file and verify the CRC for every one of them.
 
user1804599
7:09 PM
That's how you write tests.
 
I'm finally home.
@unordered_meow Personally I've started to get used to the small form factor.
 
@Kala Do you know what CRC testing is?
 
Oh god YouTube changed their look again.
 
@Nooble Just made it all material-design conforming
That move was a long time coming. Looks nice, imo.
 
@Jeremy Yep.
 
7:18 PM
It's not that different IMO
 
Man. Wish I was ambidextrous.
2
 
but would you give your left hand for that skill?
 
My girlfriend's ambidextrous
 
I need to find a way to do this algorithm with the right hand.
 
7:19 PM
yes I know what CRC is
 
My left is just too slow and imprecise.
 
but I'm using a test suite to write the unit tests
It's a bit different
 
@KalaJ PSA
 
Xeo
@R.MartinhoFernandes rotate? :P
@Nooble No need to hide that, it's a Lounge-approved gif, along with Sparklestroup.
 
no
no it is fucking not
 
Xeo
7:22 PM
Sure is, Mr. Not-Member-of-the-High-Council
:P
 
that abomination will be a Lounge-approved gif over my dead body
 
@KalaJ Post a screenshot of your test suite in this room chat.stackoverflow.com/rooms/85020/dons-room
 
Praise
 
@Xeo I mean in a way that is fast.
 
Xeo
@Puppy well rip puppy then, I guess
 
7:23 PM
Can't just rotate the cube. That loses all the finger trick potential.
 
@Xeo Too late to edit :(
 
Xeo
Or try LSD. The cube will solve itself in no time.
 
@Puppy You're not alone in that decision
 
This algo has a right and left variant. They're symmetric but I can do the right version freaking fast because it's all sexy moves.
Can't do sexy moves with the left hand.
3
 
Xeo
@R.MartinhoFernandes well better work on that sexy left
 
7:25 PM
"sexy move" is a technical term, btw. Perfect for starbait.
 
Xeo
I know
gah, hungry
 
Maybe I can replace Us with Ds.
Ring finger does fast Ds.
 
Xeo
Tryhard.
 
@Xeo Sparkly Bjarne is pretty glorious.
 
7:43 PM
 
Ahh yes, sparkly robot.
 
Xeo
and now a sparkly cat plx
we need it. for justice.
 
@R.MartinhoFernandes i would pay so much for a voice interface for coding, so so so much more efficient <3
 
siri for coding
 
7:53 PM
Voice is probably least efficient way to get shit out of your brain
 
@EiyrioüvonKauyf I'd argue that that wouldn't be efficient at all.
 
Not efficient for handling syntax, whitespace, etc.
 
i argue if it worked it would be more efficient than typing, syntax sugar is easier to abstract away > look at jade templating
 
Maybe more efficient for writing a paper or something.
 
7:54 PM
I'm more efficient at typing regardless of whether it's talking to people or programming
 
"I N T space M A I N parentheses close parentheses bracket enter close brackets."
 
Xeo
@Jeremy wrong cat
I meant the grumpier cat
 
@Jeremy What are you using to make these?
 
user1804599
sparkly puppy
 
@Nooble that's not how this works, you dont say every line, please read any spoken interface paper from the last 10 years
 
user1804599
7:56 PM
@Nooble Photoshop.
 
Voice is garbage
 
@CatPlusPlus i disagree, voice used under shitty conditions is garage
 
Xeo
hahaaha
he looks like he's taken a facefull of not-so-legal white powder
 
7:58 PM
@CatPlusPlus Voice is meant to express feelings, typing is meant to express logic.
> Fred Brooks in The Mythical Man-Month quotes: "Never go to sea with two chronometers; take one or three." Meaning, if two chronometers contradict, how do you know which one is correct?
 
@EiyrioüvonKauyf That's exactly how it would work.
The only way it would be accurate.
 
@Jeremy How do you make these?
@Xeo Is there legal white powder?
 
It's called 'flour'
 
Xeo
^
 
Or 'sugar'
 
8:01 PM
That ain't no powder
 
Powdered sugar is a thing
 
I like those theeth, cat
 
@ʎǝɹɟɟɟǝſ @Nooble glitterboo.com
 
@ʎǝɹɟɟɟǝſ powdered sugar. I believe baking soda and baking powder are both still legal as well.
 
i just googled something stupid and obvious
 
8:02 PM
I want to touch them
 
Xeo
@JerryCoffin As opposed to bathing salts - sound similar, very different!
 
lol
 
puppy's eyes glimmer so much
looks like he's crying
 
@Jeremy lol
Most beautiful of all
 
8:07 PM
@ʎǝɹɟɟɟǝſ I think there's at least one more i have to do
 
Those eyes are seriously hypnotic
 
user1804599
@TonyTheLion Install Gentoo.
 
@rightfold You know I did that in a VM
but I don't have any GUI whatsoever
 
Gentoo is for pseudo-intellectual fapping
 
8:10 PM
Need to recompile the kernel to install UI
 
user1804599
omg awesome
 
~~~~oh, it's so clean~~~~
 
user1804599
my compiler emits type annotations and Flow checks them!
 
user1804599
lol why
 
8:10 PM
@TonyTheLion lol wasting space on porn
 
user1804599
I was 16 in that picture.
 
@CatPlusPlus apparently some still do it
 
Sparkly Radek
 
user1804599
It's like four years old.
 
user1804599
I was a boy back then.
 
8:11 PM
@Jeremy ahahahaha
 
make a shiny lambda
 
Gentoo is definitely not for the faint of heart
 
bah
Windows 10 is a bit shit really
 
How am I not surprised?
 
user1804599
 
user1804599
8:12 PM
top kek
 
I'm glad I haven't installed it yet
 
@rightfold did you fall into a nuclear reactor when you were 16?
 
It's p much the same as 8.1
 
@TonyTheLion It's better than 8 but still not as good as 7.
 
I still run Win 7
 
8:13 PM
Except you don't need to install Classic Shell as the first thing after installing Windows 10
 
user1804599
@StackedCrooked no
 
there's still a bunch of random crap from mobiles and tablets that they didn't pull out of the desktop
 
Yeah, it's bad
 
@rightfold Couldn't find any others in which you weren't wearing the horsey mask
 
@unordered_meow I'm not sure I like the look (from pics I've seen) of Win 10
 
8:13 PM
like this fucking sign on screen and slide-up-to-log-in shit
 
looks like an OS designed for toddlers
 
just go to my fucking desktop, I don't want to see anything else.
 
user1804599
@Jeremy horse mask ftw
 
Oh no I have to press one more key before I login
 
@TonyTheLion The overall design feels nice, but there's quite a few points that are not solid.
 
8:14 PM
@Puppy Also MS spies on you just about everything
 
@CatPlusPlus I don't want to log in at all.
@TonyTheLion You can turn that off easily.
 
user1804599
 
Yes yes turn off UAC too
 
user1804599
WHAT THE FUCK YOUTUBE Y U CHANGE UI
 
@CatPlusPlus I hate UAC
 
8:15 PM
as far as I'm concerned, if the OS is ever showing anything except my desktop or my applications, it's wrong.
 
Its useful for noobs but not for me
 
It's useful for everyone
 
@TonyTheLion I always turn it off first thing.
 
It's fundamental to the security model
 
8:15 PM
UAC is essentially windows sudo
 
@CatPlusPlus yea not when it pops up a window everytime you want do something other than write text in notepad
 
a thing that annoying is a fundamental part of me turning it off.
 
Yeah it doesn't
You don't need to elevate nearly anything
And things that do want to be elevated better have a good reason to
 
Maybe in Win10 it doesn't
but I've used Win8 machines where it does
 
The only good UAC setting is 'notify always'
 
8:16 PM
In Win7 it doesn't
 
@TonyTheLion It nagged me a couple times since I installed Win10 and then I remembered to turn it off.
 
Xeo
UAC only really notifies me for installers
and some setting stuff
 
it took longer than win7 but still only a few minutes.
 
@CatPlusPlus I can see where you're coming from, but that doesn't make it any less annoying
 
Security and convenience are incompatible
 
8:17 PM
This is true
 
You wouldn't run on root on Linux
 
And of the two convenience is the worthless one
 
might be worthless but its convenient :P
 
@unordered_meow Well, actually, I probably would.
 
@rightfold It's not that big of a change...
 
8:18 PM
Linux's sudo model is still pretty annoying bitching at you for a password incessantly
 
All this "blah blah it doesn't affect me" bullshit is extremely dumb, because it's a layer of protection against things you can't do much about
 
Well, ok then. Case closed. I have nothing to say anymore.
 
If I could be bothered to get comfortable enough on Linux, I may abandon Windows alltogether
 
but it's not as bad as Windows
 
Like damage control when your browser gets exploited
 
8:18 PM
I already have that
it's called a Windows ISO
 
lol
It's amazing how wrong you can be
The OS itself is worthless
 
very wrong
 
@CatPlusPlus People don't care enough to do what doesn't affect them, but that says something about them as well.
 
hmm
I guess that I never realized that I feel completely differently to how I think I feel
 
Damaging OS is like an hour of your life
 
8:19 PM
thank you for educating me, cat
 
@CatPlusPlus lol
 
I've wasted many hours of my life on things even less important than the OS of my PC
 
Stealing or damaging your data is potentially a-fucking-lot
 
Win10 looks nice enough for me.
And it's better than 8.1 so v0v
 
8:20 PM
@CatPlusPlus What data?
 
Cat, Puppy and Lion arguing. Is this an animal farm or what?
 
the only data I have that's worth stealing is my online banking details... which I guess would be pretty damaging.
 
@wilx shush :)
 
Your chat SO account
 
otherwise there's nothing on my machine of any value.
 
8:21 PM
Banking is bad but even leaking credentials to common accounts can be damaging
Security is not optional
 
see, that's where we disagree.
 
And really if UAC prompts you so much then what the fuck are you doing
 
whatever the fuck I want to
 
Are you reconfiguring the OS every 10 minutes
 
if I choose to then yes
 
8:23 PM
@rightfold because material design
 
I see maybe one UAC prompt per week, and I never set it lower than 'notify always'
 
Actually, at work UAC prompts me a lot, because I have to write to dirs where UAC promps are default
 
looks like music.google.com now.
or the project fi page
 
and it is really annoying when you have a million things to do and UAC isn't one
 
@TonyTheLion Not UAC's fault that you've got broken ACLs
 
8:23 PM
@CatPlusPlus Thats true
 
If you need write access then idk maybe get write access instead of elevating to get around it
You really should think twice about what's happening before pressing 'yes' on UAC prompt
 
yeah
the second thought is "Why the fuck didn't I disable this annoying shit yet?"
 
christ
 
lol puppy
 
the first thought is "Yes"
I wrote those out of order but, y'know
 
8:26 PM
I learned something from Cat, thanks
 
I'll blame the OS for trying to stop me from doing potentially stupid things then blame the OS again when shit gets out of control
That's so much better way of using computers
 
I don't blame the OS when shit gets out of control
 
user1804599
 
besides, it's not me that UAC is supposed to protect against, it's malicious programs
 
And how the fuck is it supposed to tell the difference if both look like dummies
Awareness is essential to security
 
8:29 PM
yeah, changing the colour on the Start bar is such a dumb thing to do
 
user1804599
> Ability to operate efficiently in a high pressure environment
 
user1804599
why would anybody apply for such an awful job
 
some people like high pressure environment
lol
 
g a r b a g e
 
user1804599
8:35 PM
I don't disable UAC. I use Gentoo.
 
user1804599
:'(
 
@rightfold Insanely high pay? I considered it years ago for a job that probably would let me retire by now (actually, probably would have retired 10 years ago or so). Decided 15 years of hell to retire early wasn't worth it though.
 
@ScottW Cute nose.
 
user1804599
> see ya later combinator
 
Ops is terrible job
 
8:40 PM
I worked in a "high pressure environment" for a while. Not for me.
 
@ScottW Yeah I did see it
haha
 
@JerryCoffin How bad was it?
 
Sounds like programming
I've seen it
mmkay
 
@ScottW Office Space?
I've found @ScottW.
 
what, the dude taking the photo on the lfet?
 
8:53 PM
@Puppy Notice the name.
 
@Nooble Well, for starters it was in Houston, Texas.
 
@Nooble I did.
 
@Puppy Well, yeah, that dude.
@JerryCoffin Ain't that the dealbreaker.
 

« first day (1752 days earlier)      last day (3188 days later) »