« first day (1740 days earlier)      last day (3207 days later) » 

1:05 PM
You should add a SSCCE next time. It was quite hard to get what you meant there — sehe 7 secs ago
@Aston 7th day problems
 
@sehe I'm not sure what you mean?
 
42nd world problems
 
-4
Q: Can someone please explain to me the reason and the logic behind this output of given C code?

Monti ChandraCan someone please explain to me the reason of Segmentation fault (core dumped) by executing the below code-- #include <stdlib.h> #include<stdio.h> #include<string.h> char *Replace(char *st, char *orig, char *repl) { static char buffer[1024*512]; char *ch; if (!(ch == strstr(st, ori...

 
Ohhh. Well, I'm from Australia. So over here, I should only be having first or second world problems. Lol. But, it's just as shit as the shittiest places on earth.
 
1:08 PM
@Aston You clearly have never been to those places.
 
@R.MartinhoFernandes I thought it was clear that I was exaggerating.
 
@Aston But you got mutant spiders and shit!
@Jefffrey Alongside its elder brother
 
But, it is pretty shit here. Honestly. We might not be starving as much as third-world countries, or have as much violence, etc... But it's plenty shit in plenty of other ways. All companies lie. All employees in this country care about one thing - their pride. And it's not how it used to be when I was growing up. When I was growing up, I could rely on people to do their jobs; now, all i get is bad attitudes, old, stale foods, incompetence and lies and promises followed by more lies.
 
So you discovered people are not trustworthy? That's not new
 
And it's not like I ask for much. I sign up for a service, and I expect to receive that service as advertised (I understand that shit happens - but when it does, I expect shit to be fixed, or a reasonable effort made to fix it - WITHOUT lies in the process) but instead I get lies from the very beginning, and in the end the company blames the customer.
 
1:13 PM
Australia is good because koalas live there.
 
@Aston what country? Aren't there alternative providers that do... provide?
We have lots of providers on the big provider's network with very different terms.
 
5 hours is not "no interest". It just means people with the expertise/interest have other things to do. Even I sleep 4 hours a day. It makes sense when you think of it. — sehe just now
 
@Aston I am not sure what do you mean, but the tradies I hired care about money more than their pride
 
@Aston Overcooking eggs is a singularity, when it comes to nth-world classifications
@Aston Not to mention, the perils of egg-cooking
 
@rubenvb there are alternatives. But, it's not as easy as it sounds in theory. See, Australia is known for its shit internet speeds and its shit internet instability. For example, Optus; their call centre workers are (mostly) incompetent, and their service (in my area) is shit for two reasons 1: They are always "doing upgrade on the towers in my area" and 2: Optus is shit (I have lived in several locations and been with them and it's always the same - frequent disconnections and dialup speeds
..on a so-called ADSL 2+ connection.
 
1:16 PM
@sehe Poor pan design?
 
... Telstra is a rip off. Too expensive. Their coverage and reliability used to be good, but since signing up with them, the speeds have been incredibly slow.
 
@Aston towers? Don't you have cable or optics?
 
Vodafone WAY too expensive.
 
@rubenvb I think he means mobile
 
@Rerito Peter pan design
 
1:17 PM
Because I am using cable, it's reasonable unless it's too hot or too wet
 
That reminds me. @Mr.kbok have you received a charming EDF note recently?
 
Why are you complaining about mobile internet stability?
 
@rubenvb way too expensive for that and no, we can't get cable internet in my area because when they built the estate they fucked up the underground cabling system and we are not able to even get foxtel here or cable internet.
 
So... get them to unfuck-up it?
 
@sehe Except here, he fries children instead of flying them
 
1:18 PM
(I know I'm being naive, but seriously...)
 
@chmod711telkitty like registrarz!
@Rerito inb4 "Fry Willy"!
 
user1804599
When you do this, always consider data structures that the happen to contain NaN or other values that don't compare equal to themselves. Your optimization may be a breaking one. — rightfold 4 mins ago
 
user1804599
 
erm... <eyes-glaze/> — sehe 8 secs ago
> that the happen
nudge
 
@sehe He deserved it, after all he's a killing whale
 
user1804599
1:20 PM
@sehe lemme fix it
 
Seriously it's so much better to buy a house than to purchase an apartment in Australia - it's only 20-30 percent more expensive but you get some awesome 200 sqm - 1000 sqm piece of land, you can keep pets and you can get cable installed or adsl at least, usually.
 
@rightfold You deloitered it?
@rightfold Ah. Took a while :)
 
user1804599
I was too late to edit, so I deleted it and created a new one.
 
@EtiennedeMartel lol
 
1:23 PM
Mmm. So bad, it could actually be true
 
@EtiennedeMartel Awesome
 
The engine used for F3 and FNV is notorious for being shit, so I'm not surprised if they used hacks and workarounds like that.
 
Ell
Man I thought I'd found a local Italian deli
It has closed down
 
user1804599
which issue shall I resolve first? github.com/rightfold/funamic/issues
 
Just remove the repo as always, that'll take them all out
 
1:30 PM
@rightfold refactoring->codegen/optimizer->enchancement
 
@CatPlusPlus harsh
 
Fuck this week
And month
 
user1804599
@nabijaczleweli I'll do #1 first.
 
user1804599
It simplifies a lot WRT codegen–runtime support library interop.
 
@CatPlusPlus I'll take this task then
@rightfold Was that a markdown fuck up?
 
user1804599
1:33 PM
No.
 
It simplifies a lot WRT codegen–runtime support library interop.
 
user1804599
Thanks!
 
In vim, ]xx (XML unescape) :)
 
user1804599
looks like an annoyed devil
 
user1804599
or a weird corset
 
1:34 PM
On a dead Juliette
 
Kamoulox?
 
I have dashes in my layout
 
user1804599
@sehe I want to write a program which allows me to do hit a keystroke to put the selected text in a popup and allows me to invoke a sed (i.e. Perl) command on it and then pastes the result back.
 
user1804599
But I have no idea how I can do that if I want it to work with any program.
 
user1804599
I suppose it could work through the clipboard somehow.
 
user1804599
1:39 PM
If the daemon first sends control+C to the active program.
 
user1804599
Then puts the old clipboard contents back and opens the popup.
 
I dont know how you expect us to help you when we don't have your code. You might want to try divination.stackexchange.com. — Borgleader 8 secs ago
also ugh, turbo-c++
 
@Rerito Kakamou.
 
Well you comprehensively beat me down there. I'm not even going to ask for arguments anymore. I don't know how I can try to help further. Good luck — sehe 50 secs ago
Sough
Sigh*
 
In case you don't know it :)
 
I know what Kamoulox is.
 
People spend so much more time defending or repeating assumptions than thinking along/sharing info
 
Couldn't know if it crossed the ocean
 
1:48 PM
It didn't for me
 
@Rerito It didn't. I just have a lot of French colleagues.
 
@EtiennedeMartel That must be hell (whistles)
 
Columbo. There's a u in the middle. — Columbo 3 mins ago
People make this mistake too often. It's a conspiracy.
 
Ell
Cumbo
 
Cucumbo
 
1:57 PM
lel reddit
a guy argues that exceptions should not be used for flow control
because they are under-engineered
 
@Columbo combo
better?
 
Ell
I don't think they should be used for control flow really
I can't think of when another control flow thing wouldn't be better
 
Yes. Yet he argues they should, and for that reason we need to endorse throwing destructors.
 
user1804599
Or even better: I make the program open Vim to edit the text.
 
Ell
My internet is broken
What did I do now? :(
 
user1804599
2:03 PM
The opposite of installing Gentoo, i.e. not installing Gentoo.
 
Ell
Its p much gentoo
 
Every time they send a spaceship to explore the solar system, they ask the question 'are we alone?' ... I mean with 7 billion people here on earth, you are asking whether you are alone??
 
Ell
Its the closest thing to gentoo without being gentoo
 
user1804599
Then it's not Gentoo.
 
Ell
It being gentoo wouldn't fix the issue :P
 
user1804599
2:09 PM
Install Gentoo anyway.
 
> It's not too late! noexcept is not yet in use everywhere. And arguably, it will never be too late. It may be too late to save our pride, but if C++ is still around, our children may recognize noexcept was a mistake, and standardize multi-exceptions in 2040.
The same guy, this time on std-proposals.
Asylum worthy?
 
Ell
@rightfold no point
 
user1804599
I'll perhaps do it on OS X first since that's easier because of Apple Events.
 
Ell
@Griwes why is he anti noexcept?
 
@Griwes I forgot the password :/
And the email address.
 
2:12 PM
...
 
It was a disposable mailinator email.
 
@Ell He wants throwing destructors, because he can't figure out how to do RAII without it!
...because an error code returned when trying to close a socket warrants a throwing destructor.
 
> We have sent a one-click login link to m8*********@m*********.***.
Twitter doesn't want to tell me.
 
also hahahhah
that guy thinks that waiting for memory to become available is a correct solution for a problem raised by people on std-proposals
 
I have an idea: I'll write a markdown to html converter with the Spirit X3 stuff.
let's see how long I can stay interested in that :p
 
waiting for memory in his native exception handling code
 
> Someone you follow is chaturbating
wtf
 
lol
 
@R.MartinhoFernandes chaturbating=keyboard+masturbating. Let your imagination go free.
 
Ell
If he wants to throw in his dtor why doesn't he just do noexcept(false)?
 
2:17 PM
 
Mailinator sucks now, anyway.
It used to have POP access.
 
I'd say the entirety is Asylum-worthy.
 
Now they removed that and added their own API.
Just like wtf
POP was perfect.
 
> I propose that the limiting view of destructors is not inherently obvious, but is an accidental ideology. It arises not because we freely choose it, but because of a flaw that has plagued C++ since the introduction of exceptions. This flaw is the single-exception policy. This has prevented answers to questions such as:
 
Now I cannot read mailinator spam from my email client anymore :(
 
2:18 PM
> What to do when a destructor throws, and an exception is already in flight?
What to do if we're destroying (part of) a container, and destructors throw for 2 or more of the contained objects?
> I propose that we should not have to cope with not having answers for these questions in this day and age; and that support for unlimited aggregated exceptions answers them straightforwardly.
 
That already exists.
 
Yes. terminate and exception guarantees.
He doesn't agree with terminate ("but it's just a 3rd party API/service that fucked up, not me!"), and he doesn't seem to know about exception safety guarantees.
 
@Ell An exception that escapes while an exception is already active makes the program go boom.
 
> Emancipates destructors as a way to schedule code for execution. This is to say any code; even code that may throw. This is a frequent usage pattern e.g. in database libraries, whose destructors must rollback; and rollback may involve exceptions.
 
Ell
@LucDanton right, but one can use throwing destructors carefully
 
2:21 PM
IMHO even letting dtors be noexcept(false) is a mistake.
 
Xeo
@Ell Just don't.
 
Ell
169.254.221.254
 
@Ell 'You can throw as long as you don’t let it escape' is not that much better over 'you can’t throw'.
 
Ell
What kinda LAN IP is that :o
 
Autoconfig.
It basically means "you fucked up".
 
user1804599
2:22 PM
@R.MartinhoFernandes are you on Chaturbate :O link
 
Ell
@R.MartinhoFernandes aww balls :(
 
> With this support, a container can now handle any number of destructor exceptions gracefully. If a container is destroying 1000 objects, and 10 of them throw, the container can aggregate those exceptions using catch (...) and std::exception_ptr, and rethrow all of them when its current task has completed.
 
@rightfold No. But someone is using robot@mailinator.com for it.
 
hahhah
 
Ell
I don't remember changing anything
 
2:23 PM
I didn't even know chaturbate was a thing.
@Ell Run dhcpcd or dhclient?
 
user1804599
@R.MartinhoFernandes :'(
 
Autoconfig IP basically means you don't have static IP set and DHCP failed.
 
user1804599
@R.MartinhoFernandes liar.
 
@rightfold What is it?
 
2:24 PM
@R.MartinhoFernandes It’s like what @sehe is doing every evening, you tip tokens and ask requests etc.
 
user1804599
It's a website where you can fap (m/f) on cam and have people pay for requests.
 
lol
> aneurysm:

Someone you follow, bella_4u, just went live and invited you to come watch them chaturbate!

http://chaturbate.com/bella_4u/

Thanks,
Chaturbate Staff

To stop following bella_4u, click here
To stop receiving emails when anybody you follow comes online, click here.
lol, username aneurysm.
 
> Any algorithm, any object, any service, will first be implemented as normal code that can throw. Then, at one point, you will realize you need it in a destructor. Then you have to implement it again.
terrible programmers are terrible
 
Ell
@R.MartinhoFernandes I tried dhcpcd but it doesn't seem to do anything, I'll reboot and try again
 
2:28 PM
Look at my amazing game.
Photo-realistic graphics and whatnot.
 
Neat!
Did you use curses, or...?
 
@nabijaczleweli No :(
I was just playing around.
And committed various C++ sins.
But hey, gravity works.
 
@Nooble What did you use, though?
std::cout?
 
Yep.
 
dies inside
 
2:33 PM
7 mins ago, by R. Martinho Fernandes
lol, username aneurysm.
 
@R.MartinhoFernandes Wow, your pheromones even work over the Internet?
 
@EtiennedeMartel It's not my account, ffs.
I was trying to find out which mailinator account I used to create @stdasylum, and stumbled upon that.
 
@EtiennedeMartel lol
 
user1804599
how does Mailinator make money?
 
user1804599
oh API and private mailboxes
 
user1804599
2:40 PM
> So Mailinator solves the Spam problem?

Heck no. If it solved the spam problem it would probably be called IBMinator or MICROSOFTinator or something even catchier cuz we would have sold it and we'd be zillionaires off pursuing our real dream of helping nice people like Dr. Bahutu of Nigeria who keeps emailing us asking for our help transferring some funds.
 
user1804599
LOL
 
@rightfold API?
 
user1804599
Application Programming Interface.
 
I still don't understand what's wrong with <iostream>.
 
It's old.
 
2:44 PM
Have any ye worked with a git repo that you cloned with --depth <N> or --single-branch? ~Apparently~ there are no limitations (other than maybe a bit of extra work if you need more history), but in practice, any idea how much of a PITA it is?
 
user1804599
@Jefffrey It tries to do everything including but not limited to I/O, buffering, bytes, text and locales, and has a hideous API full of badly named cruft.
 
You can't have IO without buffers, text and bytes.
 
@thecoshman recent git versions added a feature to deepen the clone IIRC, so the pain is really not much...
 
user1804599
Bullshit.
 
user1804599
"I/O stream" should be a concept.
 
Ell
2:46 PM
@thecoshman I always use --depth 1 if I just need to use the software
 
user1804599
Buffering can be provided as a wrapper around non-buffering implementations of that concept, and can implement that concept itself as well.
 
Yes, an I/O stream is an object that transfers bytes/text
 
user1804599
Encoding and decoding are completely orthogonal to I/O and must be handled by a separate library.
 
user1804599
I/O streams should only transfer bytes.
 
Who said anything about encoding and decoding.
 
user1804599
2:46 PM
Anything else results in unneeded complexity.
 
@rubenvb so I read... is that workable though?
 
user1804599
@Jefffrey converting between text and bytes is encoding and decoding.
 
good evening ladies
 
@Ell sure, but what about using it? what you later want to look further back in the history?
 
@rightfold And where does that happen in C++'s <iostream>? As opposed to simply transfering bytes?
 
2:48 PM
@rightfold this
 
user1804599
fstream has text mode and stuff like that
 
user1804599
newline translation
 
user1804599
etc
 
@rightfold Yes, because the OS supports that? You can deactivate it
 
user1804599
C++ confuses text and bytes in general.
 
user1804599
2:48 PM
No, it doesn't.
 
@thecoshman define workable? There's bound to be limits (like when your local history is too shallow to allow a push). What's the bother with a full clone?
 
user1804599
It's purely a library thing.
 
@rightfold that's inherited from C, and should really stay.
 
user1804599
@Deduplicator Definitely not.
 
@Deduplicator You are arguing with a purist.
 
Ell
2:49 PM
IMHO there should be a byte type which all you can do is copy & convert to integers etc.
I haven't thought it all through before yoy ask :P
 
@Jefffrey Er. lol no.
The OS doesn't anything.
 
user1804599
POSIX' read and write syscalls only deal with bytes.
 
user1804599
Don't know about Windows.
 
@Jefffrey thanks for the warning. Would be nice if newline was always a single linefeed, nobody had ever invented the UTF-8 BOM and all text was always UTF-8...
 
@Ell How about std::int8_t?
 
2:50 PM
@Nooble Also, source or it didn't happen :P
 
Ell
Iostream has streambufs
@Jefffrey you can add, subtract etc. those
 
Yes
 
@Jefffrey That's not required distinct from char, sadly.
 
Well you can add and substract byte in every language I'm aware of
 
@rubenvb big repo. Would be a PITA to have to clone it all, but if --depth 1000 say would be enough for most people to start working away, and they could ~simply~ pull down more info later if they need it, it makes sense.
 
2:51 PM
@R.MartinhoFernandes Ouch
 
user1804599
Even with the design I prescribed, if you really want to have automatic translation of newlines, you can implement that as a wrapper around another writer.
 
Which makes stuff like f(char); f(int8_t);, well, yeah.
 
Ell
I just think byte should signify "undecoded data"
 
user1804599
It shouldn't be an inherent thing. Doing that would result in overly complex APIs (i.e. bug-prone) and duplicate code (i.e. bug-prone).
 
Ell
And char doesn't do that. Well. It does with context. But I'd rather it was enforced by the type system
 
2:53 PM
@Deduplicator All text UTF-8 is just impossible, by the mere existence of UTF-8.
At some point, you will have non-UTF-8 text streams, because UTF-8 decoding is not the identity operation.
 
Maybe you could have class byte { char inside; ... }; ostream& operator<<(ostream&, byte const&) { /* print number, or hex value */ }.
 
@rightfold I think it's copied from the design of C WRT the different fopen() flags
 
@Jefffrey That's the sort of thing I did in ogonek to get decent output from test failures.
 
@R.MartinhoFernandes If all text is UTF-8, how would there be other text?
 
@nabijaczleweli I just left home ;_;
I'll give it to you when I get back.
 
2:54 PM
@Deduplicator All you have to do is decode it. There, a non-UTF-8 text stream.
 
But holy crap that source is just bad.
It's just a bit over 200 lines of crappy code.
 
It's not utf8 decode(utf8);
 
@R.MartinhoFernandes decode it to what? And if you want to deal in whole codepoints or graphemes internally at some point, that's still no big deal.
 
@Nooble Don't be scared, they will fix variadics Meh, not as bad as my sejk "gaem"
 
user1804599
2:56 PM
It's a little buggy and doesn't handle EOF well but it's about the idea.
 
user1804599
It's also incomplete.
 
@Deduplicator Decode it to something amenable to whatever you want to do with the text.
 
user1804599
You can easily implement buffering on top of that and it would immediately work for all streams.
 
@R.MartinhoFernandes That's, for nearly everything, an identity transform. Graphemes are messy though, when you need them.
 
user1804599
Or ROT-13. Or newline translation. Or whatever other map/filter you like.
 
2:58 PM
@nabijaczleweli I used system(). You can't get any worse than spawning a shell just to clear console.
 
@Deduplicator Er, no, it is not. Have fun checking if something is a letter.
 
@Nooble system(("echo" + to_print).c_str());
 
user1804599
With C++' I/O streams this is harder because you have to worry about a lot of crap you wouldn't have to worry about if the API were actually simple.
 

« first day (1740 days earlier)      last day (3207 days later) »