« first day (1985 days earlier)      last day (2979 days later) » 

10:00 AM
Argos (/ˈɑːrɡɒs, -ɡəs/; Modern Greek: Άργος [ˈarɣos]; Ancient Greek: Ἄργος [árɡos]) is a city and a former municipality, former bishopric and present Latin Catholic titular see in Argolis, Peloponnese, Greece. Since the 2011 local government reform it has been part of the municipality Argos-Mykines, of which it is a municipal unit. It is 11 kilometres (7 miles) from Nafplion, which was its historic harbour. A settlement of great antiquity, Argos has been continuously inhabited as at least a substantial village for the past 7,000 years. The city is a member of the Most Ancient European Towns Network...
> A settlement of great antiquity, Argos has been continuously inhabited as at least a substantial village for the past 7,000 years.
 
what the fuck is wrong with the world
Scary tales from node.js & NPM land: https://t.co/v4BCo7HlFB
This is bullshit.
 
In 700 BC there were at least 5,000 people living in the city.[6] In the fourth century BC, the city was home to as many as 30,000 people.
assume exponential growth
 
There are dozens of similarly old continuously inhabited settlements in the area, and note that to work as a counterargument, they only need to have existed at that point and do not need to have survived like these.
 
Robot why do you do this to yourself. Just ignore her
 
@Telkitty Right, so in 5000BC it was a village of three people.
 
10:04 AM
still exponential growth in the long run
 
@R.MartinhoFernandes or nature.
@LucDanton Since I increased the size of my L1 cache, performance has doubled!
 
cache me if you can
cinch/10
 
300 years, 6 times ... now assume a much slower rate, say 6 times per 900 years, there were only 23 people back in the 3200 BC
 
@Telkitty Right, a city of three people in 5000BC.
 
let's focus on the part where terrorist attacks are easy to carry out with a sword and a bow
 
10:07 AM
@R.MartinhoFernandes Not revelant here but I liked this trivia bit I read earlier this week:
> Did you know that in the 14th century the city of Timbuktu in West Africa was five times bigger than the city of London, and was the richest city in the world? src
 
@R.MartinhoFernandes at this rate, it's more like 0.63 person back in the 5000BC @_@
about 4 people in BC 4100
 
You're actually doing that calculation?
 
but then people do not split like cells
 
maybe people sapients do
 
Exponential population growth does not apply if you lack good transport, strong trade relations, and resistance to disease.
 
user1804599
10:11 AM
I am wondering.
 
Up until the late 19th century, the population of cities increased primarily through immigration, because birth rates were not enough to offset the death rates.
 
Hello, I am having issues with conceptualizing a function for my program.
I am attempting to create a function which returns a list of char* strings (file names contained in an archive) to a DLL caller.
Can I simply make a function "char** fileList()"?
This function would create a char* names = new(char*[fileCount]) and set each index = to a const char* string.
Or should I do some return by value method where I hand copy every character and return?
 
user1804599
std::vector<std::string>. Next.
 
@TorbenC first you should conceptualize the rules
 
10:13 AM
@sehe What's the city of London here? Is it the city now named London, which grew out of the City of Westminster, or is it the City of London?
 
user1804599
London is great.
 
@AndyProwl Okay. Just trying to get help without opening a whole question on the site.
 
I wish someone drew that diagram in logarithmic scales on the y-axis
 
So... you have a site where you can ask questions, and then a related chat, and decide that the chat is the correct place to ask said question?
It makes no sense.
 
24
Q: Explicit pictures show when searching "gedit" in Ubuntu Dash

XiaokunRecently at work I searched the Unity Dash for gedit and there were explicit pictures in the search result. The picture shows in "Reference" field when I search "gedit" only.. It was very embarrassing to see those files in the list in front of my coworkers. How can I prevent such incidents from...

ubuntu eh?
 
10:19 AM
What is the chat for?
 
...chatting.
 
What is the chat not for?
 
Exactly, even rules state that questions are allowed sooooo....
 
@TorbenC providing you with free help
 
@TorbenC ...so you've read just the part that fits you, and skipped the part that doesn't. Nice.
 
10:21 AM
Assume a much slower rate, say 6 times per 900 years, with 5,000 people In 700 BC:
833 in 1600 BC,
139 in 2500 BC,
23 in 3400 BC,
3.8 in 4300 BC,
0.64 in 5200 BC
 
@Griwes Apparently, can you quote the rules that I broke?
 
@R.MartinhoFernandes I don't know :(
@Telkitty Assume less.
 
@sehe Since what passes for "London" these days wasn't actually a thing before the 16th century, I find that statement a bit disingenuous. It could refer to the City of London, but that's misleading because that's not the same entity as the city of London (note capitalization). It could refer to London, but then it's nonsensical because London didn't exist in the 14th century.
I'm sure you could make the same statement using another large Medieval European city and it would be fine, though.
 
it was probably 5 times the size of London, Ontario
 
Teehee.
 
user1804599
10:26 AM
Roosendaal.
 
@TorbenC that's the second question - strike 2! :P
 
@Zoidberg en Nispen.
 
@melak47 Right? haha
 
See "We don't care" and "No whining" sections
 
Exactly... so don't reply? Jumping to claiming I should read the rules is odd to say the least.
 
10:28 AM
> And please, for the love of all that is nice and fluffy, don’t act like we owe you something.
 
Which I haven't.
 
@TorbenC Why? Do you claim you shouldn't?
 
@sehe Actually, I did prior to asking.
 
@TorbenC It's odd for you. But not if you were here more often. You'd realize we do this because we tended to get swamped with help vampires if we don't create the barrier
So. What brings you here?
Looking for some lounging
 
When your first message is literally "Hello, here's a question", it is entirely logical to assume you didn't read the rules.
> now the usual reaction is “go away”.
> it seems you have to earn your “right to ask” in the Lounge by becoming part of that community. If you don’t have time for that, or don’t care for that, then go on Stack Overflow instead.
"Hello, here's a question" is the antithesis of that.
 
10:32 AM
Which, amazingly, is a very nice Q&A site
 
Been on the site for 4 years.
 
We believe you. Not really that relevant, is it
 
Nor is all the rules talk.
 
you'd probably have your question answered on SO by this time
 
If you had just done... exactly what the "rules" state and basically ignored the question... Hey I would have left without another word. Instead you jumped to the conclusion I hadn't read them.
 
10:34 AM
So, if you did read the rules, and still opened with the antithesis of them, something went wrong somewhere.
 
@TorbenC and you didn't know we primarily occupy ourselves on this chat with solving the problems of estimating the population growth with fourier laguerre functions and uncertainty principles (automated in C++ programs of course)??
 
2 mins ago, by R. Martinho Fernandes
> now the usual reaction is “go away”.
2 mins ago, by R. Martinho Fernandes
When your first message is literally "Hello, here's a question", it is entirely logical to assume you didn't read the rules.
 
it’s a lost cause, I come to this chat often and they never answer my questions
they’re all jerks anyway
 
You can call it "jumped to the conclusion" all you want.
If someone shows up wearing clothes, I often "jump to the conclusion" that they put clothes on.
 
Point taken, guess I'll only come here for circle jerking.
 
10:36 AM
Or maybe to read the rest of the rules after "However…"
 
@TorbenC how much do you know about the fourier series?
 
@Telkitty Yup... Just what I expected. A good old fashioned circle jerk.

PS: Isn't that a question?
 
tell me the roots to such series
 
Hi guys so I started to learn DirectX and C++ at the same time
this lead to the following problem
 
Also, since you mentioned "all the rules talk":
 
10:41 AM
@Käsebrot Only one?
 
> Before you continue, keep this in mind. You can skip all this fuss and go ask your question on the main site, at any time, because that’s what that site is all about.
 
@TorbenC So you 1) read the rules which discourage non-regulars from asking questions, 2) expected to get circle jerked and therefore 3) decided it was better to ask here than on SO. Logical
 
Quoting from the rules again.
 
@Telkitty I was here to learn, not to flex intellectual muscle.
 
@Telkitty can't even spell it
 
10:41 AM
@rubenvb well it's the first one^^
on this definition:
 
I am off to a jog (back to my jogging routine) ...
 
@TorbenC can you just leave, or state what you want to do here? All you do is antagonize. I'll kick you in a minute.
 
bool Render(ID3D11DeviceContext*,int,FXMMATRIX,CXMMATRIX,CXMMATRIX);
 
@TorbenC +1 ignore kitty, she's a rare specimen
 
I get,
error C2719: 'unnamed-parameter': formal parameter with __declspec(align('16')) won't be aligned
and while there seem to be solutions to this I struggle to understand what exactly the problem is. What is meant by alignment here?
 
10:43 AM
@Käsebrot have you googled the issue?
 
yes I did
 
First thing that poops up is a relevant question here.
0
Q: DirectX::XMMATRIX error C2719: __declspec(align('16')) won't be aligned

user3460574Ok so im working on my own DirectX framework all tutorials about making a DirectX framework are old and use deprecated stuff so i just made my own one , though i took somethings from the old tutorials and updated them to work with the new Windows 8.1 SDK and here comes The problem , i get errors ...

 
I did read this
 
It seems the answer is quite clear and detailed.
 
Data structure alignment is the way data is arranged and accessed in computer memory. It consists of two separate but related issues: data alignment and data structure padding. When a modern computer reads from or writes to a memory address, it will do this in word sized chunks (e.g. 4 byte chunks on a 32-bit system) or larger. Data alignment means putting the data at a memory address equal to some multiple of the word size, which increases the system's performance due to the way the CPU handles memory. To align the data, it may be necessary to insert some meaningless bytes between the end of the...
 
10:45 AM
If that doesn't work for you, ask a new question, and reference e.g. this one, or anything else you deem relevant.
on
 
@rubenvb ty but we both know this will be marked as duplicate :D
 
@Käsebrot We're willing to reopen questions wrongly closed as duplicates.
And some of us actually have the ability to single-handedly reopen them.
 
@Käsebrot Then make sure your question lets anyone reproduce the exact issue you're seeing.
 
@all ok thank you guys I will read about Data Structure alignment and ask again if it doesn't help XOXO
 
@R.MartinhoFernandes oh, I didn't know that was a thing. I knew about Mjölnir, but not about this elixir you speak of.
 
10:48 AM
@Käsebrot That said, the wikipedia article answers your question quite thoroughly.
@rubenvb It works both ways.
 
Ooh nice.
it taketh life, but it can also giveth life again.
It seems there are actually quite a lot of C++ jobs in Belgium.
I'm surprised.
They're mostly embedded and/or Qt/3D.
Everyone was awestruck
 
Resisting terrible joke here
 
"Why would you want a C++ job?" - someone thought.
 
Because you like your work :)
 
What madness has befallen him? - someone else wondered.
 
10:59 AM
I’m waiting until the next person asks a question to direct them to the rules
 
@LucDanton What is the result of int i = i++ + ++i;?
Sorry, couldn't resist
Please don't hurt me.
 
@rubenvb 5 (the number of plusses)
 
@rubenvb the plusses overflow into a minus
 
GCC gives 2. Clang gives the random uninitialized value result
Not that this matters at all.
Oh I'm so easy to nerdsnipe...
I continually nerdsnipe myself.
I should work on that.
 
@rubenvb btw XM_CALLCONV actually does solve the alignement issue issue
 
nwp
11:06 AM
@rubenvb weird, clang gives me error: operation on 'i' may be undefined [-Werror=sequence-point] twice and error: 'i' is used uninitialized in this function [-Werror=uninitialized] once
 
@nwp you enabled -Werror, at least on that warning.
 
-Wno-error-no-problem
 
-Wo-woman-no-cry
 
-Wno-chocolat
 
@rubenvb of course, that’s only available on ARM
 
11:11 AM
I really don't get French humour
 
nobody gets any
 
It flies right by me.
Turns around, and flies right by me again.
 
Can't have chocolate if you don't have bras.
 
@rubenvb is that a recurring problem in your life
 
@R.MartinhoFernandes lol
 
11:13 AM
Wikipedia in French has a whole article on another popular series of absurdist jokes (which also partly relies on alliterative appeal)
 
@rubenvb It's funny because wearing bras is not a requirement for eating chocolate.
Get it?
 
well, it’s more onomatopoeic actually
 
@R.MartinhoFernandes now that, I do get. Puns work on me.
 
> PATH le chemin : C'est l'histoire d'un administrateur système qui modifie une variable d'environnement, et PATH le chemin.
@VeronikaPrüssels
 
padbra doesn't mean anything else, does it?
 
11:15 AM
@rubenvb nah
 
OK, so I'm not missing a pun side to this.
 
@rubenvb barenecessities.com/… (potentially NSFW)
 
@R.MartinhoFernandes Right. Bra... haha... hahahaha
 
@rubenvb maybe it makes more sense out loud than on paper—usually the joke teller overacts the final line, for added cruelty
 
11:17 AM
@LucDanton With an added shrug for effect.
Or just open arms, not a full shrug.
 
I just couldn't resist.
 
cos you know, humour and expectations and subversions etc.
 
11:29 AM
Pas de bras, pas de bourrée
Grande bâtements
 
Ven
huh?
 
11:44 AM
0
Q: What does the chips and bytes do in an emulator?

Sudhir SundarI am developing a Chip-8 emulator. I have no idea how do it. I just can't understand it. I require some detailed examples. Or is creating a Chip-8 emulator hard? This is my first time learning emulation basics.

fail
 
closed as lacks minimal understanding
 
12:02 PM
1 more day then I can go back to writing scathing comments and downvoting people
 
You suspended?
 
yeah
 
What did you do this time?
Poop in a mod's garden?
 
Hey, 46 000 starred messages
 
12:07 PM
@rubenvb On the carpet
 
@rubenvb I said that slicing only happens to beginners and morons, or something like that.
 
Ah
Eloquently spoken.
 
I think it summarizes things aptly
 
classical Puppy
 
@Puppy This code base uses slicing on purpose for great benefit!
Huge performance gains (the difference between the process being assumed dead by the supervisor and thus restarted, and it actually working)
 
12:12 PM
yeah we were discussing unintentional slicing and the OP was basically complaining that it should be illegal
 
Xeo
12:23 PM
well, slicing virtual classes is likely a problem, so I'd tend to agree it should error for that
@R.MartinhoFernandes oho?
 
in theory
 
Xeo
We're also using slicing for some hardcoded config stuff
 
but I've yet to witness it ever actually happen to anybody remotely experienced
 
Xeo
(initialising values in the derived struct ctor)
@Puppy doesn't matter if you can make stuff safer
 
not really clear to me that it is meaningfully safer
 
12:25 PM
you guys have use cases for slicing?
 
Jun 4 '13 at 21:33, by R. Martinho Fernandes
@StackedCrooked @sbi's code is making use of it. We split a handle type into a POD base with the data and a derived type with all the value semantics of the handle (copies are costly). When we store that into a container we slice off the non-POD part. Then the container gets copied around (no moves) and none of those costly copies happen since what is left is a POD. Eventually it is time to get the things out of the container, and that's when it reattaches the POD part into a full handle.
My idea :D
 
I've gotta say
that sounds super duper dubious
 
nwp
I hate cmake so much
it fills my source dir with garbage
then I look up how to get rid of that
 
Don't use in-source builds, duh
 
nwp
31
Q: CMake output/build directory

The Quantum PhysicistI'm pretty new to cmake, and read a few tutorials on how to use it, and wrote some complicated 50 lines CMake script in order to make a program for 3 different compilers. This probably concludes all my knowledge in cmake. Now my problem is that I have some source code, whose folder I don't want ...

easy enough
so mkdir build
cd build
 
12:30 PM
@R.MartinhoFernandes I wonder if there's really no equally performant solution that doesn't involve slicing
 
nwp
cmake ../CmakeLists.txt
 
@AndyProwl Move semantics I'd guess.
 
@nwp that one sounds wrong
 
nwp
and cmake ignores the build dir and just fills the source dir with garbage just to fuck with me
 
cmake .. should be enough
 
12:30 PM
ah, so that's a pre C++11 thing?
 
@AndyProwl Emulating slicing by hand.
@Puppy C++03, btw.
 
yeah I know
 
Ven
@Zoidberg help me golf some livescript :(
1
A: Make this code explanation pretty again

venLiveScript, 243 236 233 bytes (x,k,m)->l=(.length);x=map (.0-=/ +$/;m>?=l it.0;it),map (/ "#k"),x;i=0;x=[..0&&..0+' '*(5+m- l ..0)+k+..1 for x];(while i<(l x),++i=>s=x[i];(if (l s)>j=93=>(while s[j]!=' '=>j--);x.splice i+1 0 s[j to]*'';s.=substr 0 j);x[i]=s);x*\\n example s = """this is kod #...

 
what I'm saying is there almost certainly is a better way of doing it, but your compiler probably doesn't support it.
 
nwp
omg cmake ../CMakeLists.txt faild and cmake .. works, this is so horrible
 
12:31 PM
that would make it clearer
 
you could look into swaptimization but that would involve replacing the container
 
@nwp obviously
 
however I've gotta say
 
it's the entirely different action
 
nwp
yeah, I feel really dumb that I didn't immediately get it ... obvioulsy cmake .. does something totally different than cmake ../CMakeLists.txt
 
12:32 PM
what happens if you copy the POD part inside the container and then get the handle out from both the source and the destination of the copy?
I think there's gotta be an extra part to this
otherwise you're basically like "Yeah, our handle has expensive copy semantics, but we totally ignore them in this case for lols"
and those semantics are gonna have to be needed for a reaosn
 
Oh, the copies are all conceptually moves.
We need to move the contained elements from one memory region to another.
 
ah I see
 
The old one is to be discarded on the spot.
 
Xeo
I didn't use slicing for anything quite as fancy
 
in that case may I ask if you've considered swaptimization ;p
 
12:35 PM
@Puppy I don't remember all the details, and it was years ago. We spent a whole afternoon trying to get a decent design and this is what we came up with.
 
nwp
is there a word for tools that are just barely useful enough that you need them, yet are so terrible you hate them with a passion?
 
@Puppy we have a swap for the whole container IIRC, but swapping a bunch of elements instead of just copying the POD part? Is that really an optimization?
 
so are there use cases for slicing in C++11?
 
@melak47 It allows you to avoid the copies; so you don't need to do the whole slicing/POD part/handle thing in the first place.
 
Xeo
static const struct config { /*NSDMI'd default values*/ } defaults;
static const struct typeA : config { typeA(){ /* override values */ } } typeA;
// ... and so on
config const& get_config(some_enum type);
that's what we're using for some hardcoded magic numbers (animal behaviour, for example)
 
12:36 PM
@Puppy but won't swap copy :p
 
not if you specialize it for your type
 
@Xeo Can't you just have a make_a() -> config?
 
@Puppy yeah but then we have swap(lhs.buffer, rhs.buffer); swap(lhs.length, rhs.length); or something instead of just copying the POD :/
 
yeah, but then you don't have an awful hack design where you have slicing and you randomly drop correct copy semantics because they're too expensive and then just hope that you got it right
 
Xeo
@AndyProwl prolly wouldn't make much difference. I find this nicer, tho.
 
12:39 PM
It's not an awful hack design. It's an elegant hack design.
The difference is that this doesn't touch all code that will ever be written against this class.
 
Xeo
the whole hardcoded magic numbers shit is unnice in general, but eh, too lazy to set up proper configuration for it
 
@Xeo I dunno, yeah technically not much changes, but slicing is weird
 
yes, but that's not a good thing, since this optimization can be applied in general instead of needing to specially hand-code each case
 
Xeo
@AndyProwl technically it's also not slicing, since config const&
@Puppy try swaptimizing function return values (no, fuck out-parameters)
 
indeedy, I always see complaints about slicing but never about implicit upcasting
 
12:41 PM
@Xeo ah, oh, I missed that part
actually I misread it
 
kinda gives me hard time seeing the 'issue', if any
 
@Xeo Yeah, but I'm guessing that employing the POD-base-thing every single time you return from a function is also a bitch ;p
 
This is only used inside the container.
 
hm, actually I think I'd go for a make_a() anyway
 
How do you swaptimise some_vector.push_back(x), btw?
 
user1804599
12:44 PM
UDP is cool.
 
looks simpler to me
 
You cannot avoid the copies, because the underlying container will do them "unasked for".
 
why, hijack the allocator construct of course
 
Xeo
@AndyProwl I think I dislike the config c; c. ...; c. ...; return c; part of it.
 
@R.MartinhoFernandes Hey, I forgot to ask, that exam you took. What kind of job/company was it for? Was it similar to your current/old job?
 
12:45 PM
@R.MartinhoFernandes You can push_back(T()) then swap into back(), but really, chat.stackoverflow.com/transcript/message/29517350#29517350
 
@Xeo can't return {...}?
 
Xeo
@AndyProwl naaaaames
if we had designated initialisers, sure
 
config { "this_is_not_a_hack"_kw = 3 }
 
laffo
 
rsmith approved
 
12:46 PM
ok, next up is, what's the difference between config c; c. ...; c. ...; return c; and initializing in the derived type's constructor?
 
@Puppy push_back(T()) already involves 100 copies because there are 100 elements in there, and the capacity ran out.
 
Xeo
@AndyProwl the repetitive c. ! (also boilerplace config c; and return c;) :P
 
@LucDanton ...I actually have some code that'd let me write config{ this_is_not_a_hack = 3 }, but it needs like two lines to prepare for that.
 
And yeah, the only viable alternative is to reinvent std::vector.
 
@Xeo you still need to type that redundant config in the constructor's initializer list :P
 
Xeo
12:48 PM
@AndyProwl no?
 
Which is kind of what we did, but reusing std::vector.
 
Xeo
I only need it in the base class list :P
 
@Xeo ah
yeah true
 
@R.MartinhoFernandes That's what the replacing the container thing means. The reallocation can be reframed in terms of swaps instead of copies, which can benefit shitloads of classes in lots more cases.
 
the constructor is bla(args...) { things = args...; }
 
12:49 PM
yeah
 
@Puppy It's also a much bigger undertaking.
 
@Xeo Pascal had with statement for this :D
 
Xeo
@LucDanton no args actually (hardcoded magic numbers)
 
I dunno, I ran out of compelling arguments, but I'd still prefer a builder function
personal taste I guess
 
@R.MartinhoFernandes Tis true.
 
12:50 PM
easy that just expands to bla() { ; }
 
Xeo
:D
 
@R.MartinhoFernandes Hello. Here's a question: how's everybody today?
 
read the rules Jerry
 
This takes only a few lines of code and reuses std::vector. Much less prone to problems.
 
@JerryCoffin Hello, did you read that I rule
 
12:52 PM
I read that IV rule
 
user1804599
@AndyProwl ah I hate when people create a subclass just to make a new ctor that does nothing but calling the original ctor
 
@JerryCoffin go away
 
It also rejects all the types that are not compatible with this trick, so it never leads to mistakes.
 
It's safe, performant, and easy to test and review.
 
12:53 PM
do the not-quite-copy constructors take mutable refs?
 
@LucDanton I read one weird rule that eliminates belly fat. Wait--that's a lie. I did no such thing.
 
re: having one base and different types for which the special member semantics are specialised
it’s kinda like that amongst the various smart pointers which aren’t std::unique_ptr<T, D>
 
Sorry, I s'pose that was probably just a touch too obvious.
 
e.g. if you can construct a clone_ptr or shared_ptr from a unique_ptr, you’re choosing a particular meaning for copies
if I were to design a handful of smart pointers from scratch I’d pay attention to that, and having a base for some of them would be something on my mind
ditto containers and the 'simplest' of containers i.e. non-reallocatable slice of memory
 
@LucDanton Personally I think it's deeper than that, and they're all just unique_ptr with a special deleter- for a sufficiently customizable deleter.
 
12:58 PM
@JerryCoffin :D
 
Xeo
@LucDanton Hm, how'd that work out for node/chunk-based stuff?
 
@melak47 I'm not smiling at all. Nobody's answered my question, and I have to go to work and have some code written in only an hour and a half. Isn't this a code writing service?
 
@Xeo that last remark is a bit more off-handed than the rest, maybe it’s more about connecting ptr_base<T[]> to vector
 
How can I write code if nobody will tell me how they are today?
 
Maybe that's the plan?
 
1:01 PM
If we find one of those tire dumps, the next time he tries to get his truck back we can just retreat and let him have it.
4
 
idgi
 
they stole the tire from a guy's car who got mad rather than just picking an unused tire
you're welcome
 
@Rerito if you hover over it, it will give you a "clue" :)
 
1:16 PM
Yeah I got that part, I thought it was a reference to a movie or smth
Is it?
 
I don't think so
 
@Rerito no you weirdo
 
@LucDanton Yeah I didn't get it, but now I don't get it
 
Afternoon
 
@VeronikaPrüssels look at all this GW2 action you’re missing on
 
1:32 PM
Interactive command line tools should always support both exit and quit commands.
 
Ven
and :q :)
 
if by support, you mean print a helpful message telling you what the quit command is instead of just doing it :p
 
@StackedCrooked It's always fun quiting from gdb/PostgreSQL shell/Python REPL/ghci and then from the shell
quit
exit
 
@milleniumbug which of those don’t support ^D?
^C^D, if it comes to that
 
1:35 PM
Python REPL is the best - there is no reason why typing quit doesn't exit the REPL except for self-righteousness of the debelopers
quit.__repr__() is run, which returns "Use quit() or Ctrl-D (i.e. EOF) to exit"
It could just call itself instead
 
def debug_this_for_me(x): print(repr(x))
soon on SO: help my program quits when I try to debug
@milleniumbug good jerb
 
what, are you gonna call debug_this_for_me(quit)?
 
@LucDanton Thats pretty funny
 
maybe loop over globals somehow or some such
I’m all for commands in your REPL but is the repr hook really the best way to go about it
and then you blame the debelopers
sad
 
Ven
:P
 
user1804599
1:42 PM
    $request = Request::createFromGlobals();
    $response = $handler->handle($request);
    $response->prepare($request);
    $response->send();
 
user1804599
\o/ \o/ \o/ \o/ \o/
 
Ven
php globals
static methods
 
This one project includes "singletons.h", but I can't find this file so I don't know what to laugh at
 
1:56 PM
> To get started with silicon you need the compiler Clang++ on your system (g++ fails at compiling silicon and I do not have access to other compilers).
IMO one of the great strengths of C++ is interoperability
if your library/framework does not support GCC it's p much useless
also lol @ the implication that it's g++'s fault
 

« first day (1985 days earlier)      last day (2979 days later) »