« first day (2025 days earlier)      last day (2921 days later) » 

12:02 AM
@LucDanton kom jerry
j'aime le nom des sociétés
 
jvais ptet me faire des pâtes d’ailleurs
 
Ell
@LucDanton lol I only just got that
 
12:26 AM
that project seems very impressive
headed by a guy from my hometown too
 
12:43 AM
> native DOM interaction is insanely fast
can you stop using the word "insanely" when talking about perf thanks
 
why, are they sane?
 
> In part the problem was the CATIA version 5 was not a simple evolution from version 4, it was a complete rewrite.
TIL Dassault also makes shitty software
 
as long as it can be flashed via USB, all is good
 
Screams of horror as you sit in an A380 during take off and on your screen pops up: "A new Java Update is available"
In related news it seems I can't even write a if in bash properly
 
fi donc, mécréant
 
user406009
12:55 AM
Fuck Bash
 
Still waiting for the birth of smart planes - making hijacking so much easier, swing a plane you way at the tip a hackers finger tips
 
bash syntax is the worst
 
bash scripting is lovely as long as it's you who have to do it
 
Ell
@Lalaland why?
oh yeah
yeah bash syntax is bad
that's why I use fish
 
user406009
Because it's confusing and unidiomatic as fuck.
 
user406009
1:08 AM
I don't think you could create a worse programming language even if you tried.
 
Ell
you definitely could
 
One of the few cases where Luc can't land a fierce "oh no, syntax!"
Also what protocols are used for identity proof? DH?
 
@DmitriBudnikov why not? syntax is syntax
 
bait.jpg
 
user406009
@DmitriBudnikov Nah, still bait isn't as effective effective. You really need to invest in bait.gif.
 
1:10 AM
@DmitriBudnikov DH requires auth to prevent mitm, or so I recall
 
> call/cc is the ability to save the current state of a running thread, then revert to that state at a later point in time. In other words, at any point in your program, you can say "Save the current stack." It's saved as a function. Later, whenever you call that function, the current stack is thrown out, and replaced with the saved stack.
How is that different from coroutines
 
user406009
@DmitriBudnikov Usually public key cryptography is a good bet.
 
user406009
DH is all about creating a shared key to avoid mitm, nothing about identity verification.
 
I don't know about all these things
DH is essentially on the same level as RSA, functionality-wise?
 
@DmitriBudnikov coroutines are more principled. of course that’s the literature, in practice… it depends what exactly is provided
 
user406009
1:13 AM
@DmitriBudnikov Uh. No. I think you are trolling now.
 
"Principled"?
@Lalaland lol ok fine I'll ask someone more competent
 
@DmitriBudnikov go-to statement vs iteration statements
 
> Diffie-Hellman in 2 lines of perl
t... to click or not to click
@Lalaland BTW all resources on the internet seem to agree with me
 
user406009
@DmitriBudnikov That's because all the people on the internet are idiots.
 
In a way it's pretty funny because everytime I try to derail stuff you take it seriously and for once that I am being serious you think it's a derail attempt
 
user406009
1:20 AM
Including myself.
 
I guess your troll detector is 100% accurate, if negated.
 
user406009
@DmitriBudnikov I don't think you can even use DH for identity proof.
 
user406009
I could be wrong though.
 
Ell
@DmitriBudnikov it is more generalised
I think
implement goto with a coroutine pls
man
luc always beats me in every respect of anything :V
 
Anything can be implemented with goto :w
 
Ell
1:25 AM
I'm asking you to implement goto, not to implement something with a goto :3
 
You don't give me orders!
 
@DmitriBudnikov are you looking for zero-knowledge proofs? I don’t really know about that, but I do know that when it comes to authentication it’s more or less an open problem
 
No I mean what are popular identity verification algos
 
user406009
@DmitriBudnikov RSA
 
define 'identity verification'
 
1:26 AM
IOW I want to connect to a server and ensure its identity
 
@DmitriBudnikov right, there is no known solution to that
 
Ell
@Lalaland elliptic curve or bust
 
we use CAs and that’s it
 
@LucDanton o.o even with prior knowledge?
 
@DmitriBudnikov no, that’s fine
@DmitriBudnikov password authenticated key exchange is a larger class of things that deal with that situation
The Secure Remote Password protocol (SRP) is an augmented password-authenticated key agreement (PAKE) protocol, specifically designed to work around existing patents. Like all PAKE protocols, an eavesdropper or man in the middle cannot obtain enough information to be able to brute force guess a password without further interactions with the parties for each guess. This means that strong security can be obtained using weak passwords. Furthermore, being an augmented PAKE protocol, the server does not store password-equivalent data. This means that an attacker who steals the server data cannot...
I used that thing once (only reason why I mention it, it’s not a recommendation or anything)
 
1:29 AM
> specifically designed to work around existing patents
kind of sad
never heard of it before btw
 
I think it was relatively new at the time (meaning: more people wanted the standard implementation to be reviewed by more eyes)
 
Ell
fuck
what do
 
the K&R C of the implementation was not new
 
Ell
pull all nighter or have power nap or what? :V
 
user406009
@DmitriBudnikov Anyways, you can use DH with RSA. You use RSA to verify that your other party is who you think they are while using DH to create a secure channel.
 
1:31 AM
@Ell naps are nice, but you’re the one that should know
@DmitriBudnikov btw I expect payment at the usual place once you receive my bill
> Augmented PAKE is a variation applicable to client/server scenarios, in which the server does not store password-equivalent data.
oh right, that was probably a big factor in why SRP was picked in the first place
 
Yeah that's pretty cool
 
user406009
1:46 AM
@DmitriBudnikov Oh, if you want to be fancy, there are new elliptic curve authentication algorithms as well like [ECDSA] (en.wikipedia.org/wiki/…)
 
1:58 AM
Seems cool too
 
$ echo --help
--help
thanks
 
yeah, let's waste time and money on killing innocent creatures for ones ideology
raging dumbasses
'Oh yeah, and it's because we want to keep things like it was before' ... yeah right, then get out of this piece of land you stupid potato head
 
Ell
well would you look at this phuctor.nosuchlabs.com/phuctored <-- broken PGP keys
wait
it's reddit
you already saw it
 
yo
@Ven such adorable kitties! :D
 
3:20 AM
Just got handed this in the street. Sorry scientists - microscopes appear to be part of some sort of conspiracy?!? https://t.co/eFoIdYCgcc
6
 
:D
amaze
 
hey uh
 
@LucDanton lol
Stop the diagnosis of retards
 
4:14 AM
@LucDanton Geebus. How are those people not in mental asylums is beyond me.
 
4:46 AM
Is anyone shocked by auto& robert = *new (robert_buffer) robert {};
 
5:01 AM
0
A: Why is this first readers-writers solution implementation in C using mutex is wrong?

wilxYour code is a mess. There are several things that are wrong with it and each one of them breaks the RW locking mechanism that you are trying to implement. Both your reader threads and writer threads need to deal with reader exclusion and writer exclusion. Your current code completely ignores t...

 
5:15 AM
Hey um
How might you pass around a function to be called foreach style with a context in C?
e.g. I want to call a function f for every element of some container or data structure but with a possible reference to external data
 
user784668
@VermillionAzure Take a void* from the user and pass it to the callback.
 
@Fanael That's the way I did it, but I'm wondering if that's wrong somehow...
I feel like it's wrong but I can't think of another way
 
user784668
@VermillionAzure It's the most common way of doing it.
 
user784668
It's fucking C, you can't get type safety anyway, so don't even worry about it.
 
@Fanael sighhhhhhhhhh
when will they C the light
and when they do
they'll also segfault it
suddenly the universe will have no light because C cannot see types you c
 
user784668
5:30 AM
Or, you know, don't write in C?
 
user784668
Even when you absolutely need to be at low level, use something much, much saner, like the bastard child of C and Simula, or the bastard child of C and ML.
 
@Fanael I'm already sort of forced to
My professor is teaching the class in C
I have to write a Huffman Tree encoder and decoder in C.
So I basically did C++ in C without C++
 
user784668
@VermillionAzure Oh, my sincerest condolences then.
 
is glorious HuffmanTreeNode_traverse_clr_immediate(struct HuffmanTreeNode*, void (*) (struct HuffmanTreeNode*, void*), void*)
 
user784668
@VermillionAzure Holy crap that's fucking awful.
 
user784668
5:38 AM
Thanks for reminding me how horrible C is.
 
@Fanael If it was C++ I'd be something like, tree.traverse(printCode);
 
user784668
@VermillionAzure Or even tree.traverse([&](auto& node){do shit with node})
 
@Fanael exactly.
I was going to use a lambda for the printCode anyways.
Sooooo much easier
And then I can actually use vectors
instead of having to malloc...
I don't even care about the memory management because this is a school assignment.
 
user784668
I remember the last time I had to write something in C.
 
user784668
I ended up implementing a GC because manually managing everything is such a chore.
 
5:41 AM
@Fanael wow
You know there was supposedly a C++ to C compiler at some point
And how do you implement a GC again?
 
user784668
@VermillionAzure Like, Cfront, the original C++ compiler?
 
Is it some sort of node system where you keep track of references?
@Fanael yuppers
I wonder if it's still going
 
user784668
Or like Clang before they removed the C backend from LLVM.
 
@Fanael ahhh there was a C backend interesting..
 
user784668
@VermillionAzure You know mark and sweep?
 
5:46 AM
@Fanael nope
I haven't gone through any classes like that
I'm too busy trying to write a Huffman Tree in C and a network simulator with pipes and sockets in C.
 
user784668
@VermillionAzure Basically, walk over all the objects pointed by the GC roots and mark them as reachable, e.g. by setting a bit in the object header. If these objects contain pointers to other objects, walk over those, recursively.
 
user784668
When you're done, delete all the objects not marked.
 
user784668
There, done.
 
user784668
You can implement that in what, 20 lines of C?
 
@Fanael uhhhh root?
how can there be a root?...
confuzzled
 
user784668
5:55 AM
@VermillionAzure Things you know for certain you can access, like global variables, shit on the call stack, things like that.
 
user784668
Note the plural roots.
 
I guess you'd induct all the objects into a global set...
Why did you star that
 
user784668
I didn't.
 
Isn't that the gist of it? Get everything, see if anything's marked as cut off, then cut it off if it's not connected, right?
 
user784668
Exactly.
 
5:57 AM
That sounds quite cumbersome
Like, when do you mark something as "not connected?
how do you even tell that?
does every object now need to have a count?
 
user784668
@VermillionAzure You don't, you only mark as connected.
 
@Fanael doesn't matter it's a yes/no boolean right?
 
user784668
@VermillionAzure Yeah.
 
So how do you decide when something is not connected?
suppose we have two objects A and B such that A -> B (a references b)
if A releases B, how does B know it's no longer connected?
 
user784668
@VermillionAzure Everything is unless there's evidence to the contrary.
 
6:00 AM
@Fanael yeah I'm asking how you decide that
What's a common way to do that. Ref counting?
 
user784668
@VermillionAzure It doesn't.
 
So how does the GC know it can release B?
It needs to know somehow
 
It's not marked as referenced on the next sweep v0v
 
It's either the GC or the object keeps track of its references. Which is it?
I guess it's the GC from the looks of JVM's page.
 
user784668
 
6:05 AM
ew
Also, why can't you perform the sweep on the latter side of the traversal; it should be possible
 
Ven
Hi lounge
 
and that's not really C anymore, it's more like you already built another type system on top of C
 
user784668
@VermillionAzure I linked it because I thought it may help you understand, not because I wrote it the exact same way.
 
@Fanael It's pretty interesting though
but it does seem quite heavy
 
user784668
@VermillionAzure Well, it's the most naïve approach to garbage collection.
 
@R.MartinhoFernandes Broken RSA? Weak "prime" numbers or what?
 
See the theory tab
 
@R.MartinhoFernandes neat
 
> You may wish to revisit your key's page later, as more keys with potential common factors accumulate in the system.
also > Ok, for now!
 
7:25 AM
@R.MartinhoFernandes not really, no. I mean, you could still ask
 
morning
 
<bitchchecker> shut up i hack you
LMAO
for some reason original IRC logs have this certain flair that you can only get there
well okay the guy on SO threatening to inform Stallman how SE violates GNU was also nice
> <bitchchecker> because your gay fire wall directed my turn off signal back to me
<bitchchecker> be a man turn that shit off
 
> <bitchchecker> i have a program where I enter your ip and you're dead
 
Ven
I guess it's called... RIP.
 
> <bitchchecker> your d: is gone
 
sbi
7:38 AM
@R.MartinhoFernandes Oh, look who's here. What do you think, would this be a nice week to start to go back to work? :)
@Mysticial I cannot look at this and not notice that you have 2877 notifications. What kind of programmer are you that you keep notifications dangling?
@Zoidberg What? I might be old, but that doesn't necessarily make me tolerant. Or tolerable, FTM.
 
@sbi one day that variable will overflow .. somewhere
 
sbi
@Khaled.K Well, it's easy to prevent the notification count from overflowing. There aren't that many notifications, after all. The rep count might be easier to break, but I guess Skeet keeps the SO team on their toes regarding this.
 
user1804599
Hello!
 
Ven
hi
 
ey
 
user1804599
You can select your reading level.
 
sbi
@Ven Hey, that is Alisdair Meredith (the std committee chair) passing in front of the screen. What event is this? What is it about the video that made you post a link?
Oh, boostcon.
 
@Zoidberg the Interactive dataflow is cool
 
@Zoidberg Tomas is pretty active here
Don't remember where to get the invite, ping if you want one.
 
user1804599
@JohanLarsson I am not invited.
 
user1804599
8:00 AM
@JohanLarsson gimme
 
user1804599
rightfold@gmail.com
 
you can delete, I have it
@Zoidberg try here
 
user1804599
> ALRIGHT! WE WILL INVITE YOU SOON.
 
@Zoidberg cool
 
Ven
yo dmitri
 
8:11 AM
@JohanLarsson You wanted a chat platform, right?
Here's one for yeh
 
user1804599
.PHONY: fh
fh:
	if [ ! -e src/vendor/fh ]; then
		(cd src/vendor && git clone github.com/rightfold/fh.git fh)
	fi
	(cd src/vendor/fh && git pull --ff-only --rebase)
 
user1804599
eeeehh @sehe halp
 
user1804599
I get syntax error :(
 
user1804599
Oh, I need backslashes.
 
user1804599
Also I don't want the git pull, really.
 
user1804599
8:14 AM
It should just require a clean build.
 
@Ven yo vène
 
@набиячлэвэлиь thanks
 
8:30 AM
@Zoidberg line continuations
 
user1804599
Yeah I'm not doing PHONY anymore.
 
user1804599
FH=src/vendor/fh

${FH}:
	(cd src/vendor && git clone github.com/rightfold/fh.git fh)
	rm -rf ${FH}/.git
	rm -f  ${FH}/src/test/hack/PHPUnit_Framework_TestCase.hhi
 
user1804599
Otherwise it would run the command for every source file.
 
Relax DFudes
https://www.facebook.com/funfuntw/videos/vb.1065702000113407/1341836269166644/?type=2&theater
 
Ven
lolwat?
@Zoidberg hah, we have the same amount of answers
 
user1804599
8:36 AM
What is an allowance charge?
 
user1804599
@Ven nice
 
8:52 AM
@Zoidberg still nothing?
 
user1804599
indeed
 
what does it mean in context
 
@Zoidberg cool
 
user1804599
 
Ven
dt
<dt> shrine.
 
user1804599
9:04 AM
<dl>, <dt> and <dd>.
 
user1804599
Definition List, Definition Term, Definition Definition.
 
Wow this is some class A bullshit there - linked to starred tweet from Luc
 
I like how the "person" is brown. Coincidence????
lol rightfold
> you do not need gravity to explain why things fall to earth
so what is it then
 
user1804599
Earth falls to things.
 
literally true
 
user1804599
9:14 AM
@DmitriBudnikov Allahu akbar
 
9:37 AM
@DmitriBudnikov Indeed, I doubt gravity will explain you this, even if you ask it nicely.
 
Dec 9 '15 at 5:04, by chmod 666 telkitty
Bitcoin founder arrested in Sydney - for evading tax (Newspaper speculation)
stop broadcasting old news
He lived in a suburb that I drive pass by almost everyday :p
 
10:05 AM
<bitchchecker> my grandma surfs with fire wall
<bitchchecker> and you suckers think you're cool and don't dare going into the internet without a fire wall
I'm reading this thread like I would eat a box of fine chocolates
a couple at a time
tasting each and every one
hmm I think I should really read more about comonads
 
@BartekBanachewicz haha, I saw that yesterday.
was he actually in his 20's?
 
> * Make use of C++11 features:
- Use new language features 'auto', 'nullptr', 'constexpr',
new language features
 
@edition 26 i believe
@DmitriBudnikov now, 5 years after the release of C++11, I can see how insignificant those changes really were
people went crazy over it. We went crazy over it.
 
why do I have this sudden crave for chocolates ...
 
and yet we're looking at C++17 now and there's just a huge dissapointment everywhere
 
10:15 AM
@Telkitty a whole bar?
 
@Telkitty oh how decadent
 
hey there folks!
 
@Zoidberg that's really old
 
After looking at the Roslyn project, I wish there was a non-.NET C# compiler written in C++.
 
10:24 AM
@edition what for
we're experiencing cinchdition here
 
@BartekBanachewicz its a sparse description, I know.
 
it's not "sparse"
without context it's absolutely meaningless
 
@BartekBanachewicz replace the .Net void with, something like Qt.
 
2 mins ago, by Bartek Banachewicz
@edition what for
see you have to realize that your assumptions might only be known to you and you alone
you probably have some idea that's behind that but I can't tell you why it's wrong before I know what it is
 
yeah, I realise that. :/
I'm thinking of something akin to LLVM.
 
10:28 AM
2 mins ago, by Bartek Banachewicz
2 mins ago, by Bartek Banachewicz
@edition what for
We already have LLVM.
You keep saying random words.
I can do that as well, look: C++ Qt LLVM no NET compiler Roslyn.
 
lol
arguing with edition always goes well
 
do you make any sense out of that? Because that's literally everything you've said so far.
 
ok, maybe something that compiles from C# -> C++ -> LLVM -> Binaries instead.
lol, I can't concentrate properly for some reason.
 
2 mins ago, by Bartek Banachewicz
2 mins ago, by Bartek Banachewicz
2 mins ago, by Bartek Banachewicz
@edition what for
I'm seeing a pattern here
 
@BartekBanachewicz for allowing C# code to be compiled to native binaries for UNIX OS'es.
 
10:32 AM
@edition that's too early, if I post "what for" to that it's not gonna be 2 minutes
So just assume I posted it
 
@BartekBanachewicz what do I need to elaborate on?
 
is there any web site where we can practice threads?
 
@RichardGeorge coliru.
 
@edition why is compiling C# code into native binaries for UNIX OSs useful
 
10:36 AM
@BartekBanachewicz Simply because I like the syntax.
 
@edition, not that online compiler, I need thread problems to practice
 
what the fuck is a thread problem
threads are a problem on their own
 
@Bartek I promise, I'm not usually this vague.
 
@edition the syntax of what
@edition I find this extremely hard to believe
 
@BartekBanachewicz of C#.
 
10:42 AM
@edition BUT WHY THE FUCK DO YOU WANT TO COMPILE IT TO A NATIVE BINARY GOD EVERYONE HAS THEIR LIMITS FOR FUCKS SAKE DUDE CANT YOU JUST SAY WHATEVER THE FUCK IS CROSSING YOUR SICK MIND
exhales
inhales
okay. That felt good.
 
woah
I want to compile it to a native executable, since It won't be running in a VM so to speak.
 
what for
@edition why can't you just run the fucking thing
 
@Dimitri,will you please stop being a dumb ass, i am looking for problems/quiz regarding threads.
4
 
like a sane human being
@Dmitri you're such a dumb ass <3
 
10:44 AM
@BartekBanachewicz lol
@RichardGeorge Sorry Richard George I will be more nicer in the future
 
@BartekBanachewicz I can.
 
@dimitry,I don't think you can.
 
Richard George you are breaking my heart
All this goodwill reduced to ashes
 
@edition wee what the "what for" was then
 
@Griwes,was the link you mentioned gone dead, it wasn't responding
 
10:47 AM
@RichardGeorge wat
 
it didn't responde, Griwes,
 
~~ieigiiieieia~~
 
@RichardGeorge You are spewing random words; you might want to be more communicative than that.
 
10:49 AM
yes
 
holy crap Bartek.
 
it dide responde fore me
@edition it was meant to be "see what the what for was then"
lol the inability to express your needs must be like #1 sin of programmers
5
 
Sorry,i dropped my mobile on the keyboard.
 
i acidentaly
 
@BartekBanachewicz nothing personal, right? :/
 
10:51 AM
the entire keboarde
 
@edition on the contrary, it's entirely personal because you're failing to communicate
 
@Griwes, now the site has been responding, thanks i will look into it.
 
@edition see if I asked my grandma "hey gran why do you want to compile C# to a native binary" she'd say "fuck if I know", but you can't answer this seemingly simple question
 
Ven
@BartekBanachewicz so in 5 years, we'll be uber-disappointed?
 
@BartekBanachewicz I did suggest a potential toolchain.
But that didn't adequately answer your question.
 

« first day (2025 days earlier)      last day (2921 days later) »