« first day (1754 days earlier)      last day (3195 days later) » 

2:00 PM
I don't understand why you obsess over something that I already made clear is not what I meant and also mentioned that I don't know the answer to.
 
@Prismatic It's non-standard.
 
Jeff, did he make it hard enough already?
 
self driving cars tears this community apart
we should ban discussion of them in the lounge
 
@ʎǝɹɟɟɟǝſ, okay so I've been automatically generating unit tests :O
and I notice the unit tests fail for the post conditions
 
2:01 PM
ban vim/emacs while you're there
 
@R.MartinhoFernandes So, are you claiming that all you said before in this discussion that contains "input" or synonims is wrong and invalid?
 
when I remove the post condition, the unit test passes
 
@Mr.kbok More like Windows/Linux
 
What language?
 
I am wondering why and how does the post condition affect the testing
C
 
2:02 PM
lol
 
You can't have testing without post conditions.
I think
So I'm not sure what you are talking about.
 
@KalaJ How do you automatically generate unit tests?
 
6 mins ago, by R. Martinho Fernandes
Whatever 'input' means is not what I meant.
 
And you never answer questions directly, FFS.
 
user1804599
@Ell I put it in ~/software. :)
 
2:03 PM
Here's a search for "arbitrary code execution" in the NVD: web.nvd.nist.gov/view/vuln/…
 
@khajvah, I use a testing framework
that autogenerates the unit tests as one of the options
 
@ʎǝɹɟɟɟǝſ Not when they're about irrelevant technicalities, no.
 
@KalaJ Why don't you write unit tests yourself?
 
TIL I can track memory access patterns with valgrind's DHAT tool. Example output. (Does not annotate the class layout though.)
But it shows hot/cold member variable accesses.
 
This might make web development more tolerable.
 
2:06 PM
@R.MartinhoFernandes Go ahead.
 
No, I already quoted myself enough times.
 
@KalaJ I gave you an example of a post condition. This should make obvious why do you test it.
 
Actually, what I wanted to quote is still on my screen.
 
@StackedCrooked Looking at the output will make you look smart from behind.
 
@StackedCrooked How are you supposed to interpret that to figure out whats frequently accessed?
 
2:08 PM
@khajvah MVC?
 
@R.MartinhoFernandes If you mean this, then this is a list of vulnerabilities not related to the kind of system we were talking about previously when talking about images taken by a self-driving car.
 
@Prismatic Match the full class layout (base to derived) to the data. In my case I also need to take into account the make_shared control block.
 
Yeah, MVC is pretty standard in Web.
 
@khajvah, I will try. I've working in a new language and it's harder to write the tests myself. Ideally I would.
 
JS MVC frameworks often suck
 
2:09 PM
@Mr.kbok It's not about MVC. I was doing MVC before. This adds functionality of dividing views
 
Is there an mvc framework for C++?
 
@ʎǝɹɟɟɟǝſ It's just an example of existing systems balking under malicious inputs. To put it simply, if you think your system will be impervious to all of these categories of attacks, and to the ones that aren't there yet, I think you're nuts.
 
@KalaJ Qt
 
@KalaJ Qt
 
@R.MartinhoFernandes If you could show me an example of a vulanerability in a system where the vulnerability is within the input image processing algorithm, that might be more relevant.
There are inputs and inputs.
 
2:10 PM
But avoid writing GUIs with C++.
It sucks.
 
Each input is different, and is less or more secure than other inputs.
 
What makes image processing algorithms safer in your opinion?
WTF.
 
Claiming that all programs with inputs are inherently unsafe due to the input, is nuts.
 
I can use Qt for web?
 
@Mr.kbok I've heard good things about Angular.
 
2:11 PM
@KalaJ No.
 
@ʎǝɹɟɟɟǝſ Are you saying no image processing algo ever had a buffer overflow?
 
Sounds like it.
 
so mvc for desktop?
 
@Prismatic Or you can add a magic volatile member which your read 99999 times. This way you get a visual boundary in the report :)
 
@KalaJ Yes.
 
2:11 PM
I feel like I'm giving it way too much credit.
 
does C++ have a web framework?
 
@KalaJ It does but it shouldn't
 
like Java Spring or C# .NET?
 
@R.MartinhoFernandes What's "it"?
 
@EtiennedeMartel Everyone's doing it.
 
2:12 PM
@khajvah, why?
 
lol, NIST site gave me an error page.
 
@KalaJ There is no C# .NET. It's just C#.
 
@Griwes Can I see one of those?
 
yeah I know
I was trying to give an example
 
@EtiennedeMartel The bad thing is, Google is developing Angular 2, which is not gonna be backward compatible.
 
2:12 PM
It's ASP.NET MVC
 
so, not a good choice.
 
@KalaJ That thing is cool.
 
@khajvah Noo wayyy
 
2:13 PM
Seriously, you're nuts if you think image processing is special somehow.
 
But it's ASP.NET, so you need a Windows server...
 
Yeah, I want to go back to development for it but now I'm stuck in embedded C :/
 
@KalaJ Embedded C>web development.
 
noo :(
It's tedious
 
2:14 PM
Try JavaScript
 
@ʎǝɹɟɟɟǝſ Your POV. You're the one making extraordinary claims ("yes, those systems fail, but image processing is different"), and I'm the one providing evidence.
 
@khajvah, are you embedded?
 
I guess I was wrong about that.
 
@KalaJ No, I am web right now. Even worse, front-end
 
oh then yeah
I like backend or full stack
for web
 
2:15 PM
I am full-stack. But that means I have to do front-end
 
@Griwes ah, that one is even arbitrary code execution for good measure.
 
@khajvah :(
 
yeah I had to deal with js as well
but I'm glad I'm not solely front end :P
I prefer C# > JS
but I will use both when needed
 
No sht!
 
> Credit to Gus Mueller of Flying Meat for reporting this issue.
Flying Meat?
 
2:17 PM
lol
 
user1804599
> Young giraffe beheaded in zoo Raqqa
 
> The name "Flying Meat" comes from a fun rock climb in Missouri (5.10 limestone / sport / vertical face, for the interested climbers). The climb is named after an unfortunate deer that jumped off the top, witnessed by the fellow who first found the climb as he was going up it. And thus it was named.
Hmm.
 
@R.MartinhoFernandes You want self-driving cars?
 
Yeah.
Argh, I need another box just to run GitLab, it seems.
Fucking piece of shit.
 
Are you setting up a local gitlab instance/?
 
2:31 PM
We've had it for years now, but I've moved it to a new server, and moved everything else too, and it leaks memory like crazy
I need to adjust the OOM killer thresholds :(
 
"we've" = at work?
 
@R.MartinhoFernandes How would you prevent a mass attack from happening due to attackers hacking into these cars and killing people?
 
@elyse lol
 
@Griwes Yes.
 
man all these opengl terms and techniques are making me hungry. Batches of geometry, baking transform data
 
user1804599
2:34 PM
I just turned 18 and my mom says I can go on 4chan now. XD Lets all have a party like Pinkie pie!
 
Poor lost child
 
18chan
 
@ʎǝɹɟɟɟǝſ Well, that is hard to answer without a specific system in mind. If you really think that's such a grave danger, you can simply make them not connected, but you lose some nice things with that. I'm not a security expert anyway. I do think these are considerations to be taken when designing a system and that tackling them is worth it.
 
user1804599
My zshrc is full of duplicate code and lack of structure.
 
user1804599
I'm gonna rewrite it.
 
Ell
2:42 PM
My fish.config is nice
 
Am I the only one noticing that there are quite a few people on SE who don't frequent chats any more?
all around the same time too
 
this text editor/ide thing looks nice howl.io
 
user1804599
-1 not Vim
 
user1804599
@Ell show it
 
@Prismatic -1 not Sublime Text :P
 
Ell
2:46 PM
alias tp=trash-put
alias tg=restore-trash
That is it IIRC
 
@elyse do all these new fangled editors confuse you? :[
 
user1804599
lol
 
@unordered_meow hipster
 
@Prismatic Nope that's Atom
 
@elyse iow my mum is a horny little bugger posting nudes to 4chan
 
2:48 PM
@unordered_meow I'm sorry, Sublime users fall squarely into the hipster camp too. You and your Atom/Brackets/whatever buddies
 
0
Q: How to convert double value to uint8_t string[] to print on terminal window in atmel studio

MRMI am trying to convert some double values to uint8_t String[] (in C) when programming in Atmel Studio 6.2 in order to use it further in function: usart_write_buffer_job. And this is the whole command I am going to use further, but instead of characters, I would like to print the given double val...

Saw that flying by.
 
Oh god
also dat tags
 
@ʎǝɹɟɟɟǝſ is it rubbing you the wrong way?
 
user1804599
> In an effort to subvert mainstream beauty standards and celebrate all bodies equally, thousands of women are promoting the hashtag ‪#‎thighreading‬ and posting pictures of their thighs to social media, many of which depict stretch marks, scars, and cellulite.
 
@elyse IRTA #highthreading
 
2:52 PM
Why the hashtag 'thighreading' though
 
@elyse Wooop woop.
 
user1804599
> The FDA has approved a pill for treating seizures that’s produced via 3D printing, which researchers say will increase the accuracy of dosages and provide more customization options for patients.
 
user1804599
absolutely amazing
 
@Prismatic to draw attention to how they don't care that they are fat ugly cows!
 
I dont get the 'reading' part though
 
2:54 PM
like reading tea leaves or palms (of hands) I presume vOv
 
@elyse wait till we can '3d print' organs
 
user1804599
So that you don't have to play music on wooden ones anymore?
 
user1804599
Wooden organs are the best.
 
organs are like the worst instrument ever
so garish
 
I wonder, in a REST context, how would you make a request to know if some particular input is valid?
Like to check if the password would be accepted by a subsequent POST for example.
 
2:57 PM
@Prismatic you take that back!
@ʎǝɹɟɟɟǝſ HEAD
 
user1804599
@ʎǝɹɟɟɟǝſ POST /foo/?dry_run=true
 
@ʎǝɹɟɟɟǝſ oh, you wouldn't
 
@ʎǝɹɟɟɟǝſ That seems like a bad idea for some reason
 
why on Earth would do do something you didn't want to do?
 
@unordered_meow It would be just to implement something like "JS inline password checker".
 
2:58 PM
also, just because this request said it was a valid username and password, has nothing to do with what happens latter when you actually try it.
@ʎǝɹɟɟɟǝſ ... do it client side?
 
@thecoshman Precisely, yes.
 
user1804599
@ʎǝɹɟɟɟǝſ GET /foo/validation-errors/
 
client side security never works
 
Like when you have a form and you digit the username you want, and they tell you if it's available before you submit it.
@unordered_meow It's not about security. It's about being smooth I guess.
 
user1804599
@unordered_meow He never said he only checked client side.
 
user1804599
2:59 PM
You check client-side first, and tell the user he's an idiot right away. Then when the user finally submits, you check server-side.
 
something like:
GET /validationstatus
~headers~

user: drank
password: piss

then a response 'valid' or 'invalid'
 
user1804599
Immediate feedback is good.
 
It's pretty common.
 

« first day (1754 days earlier)      last day (3195 days later) »