« first day (464 days earlier)      last day (4501 days later) » 

12:00 AM
I'm not branching 10 times
That's just silly
 
user142019
<option <?php if (…) { echo "selected=selected"; } ?>> like this?
 
Ahh
Yeah - I was thinking something like that
but it's midnight here so I'm slow
 
user142019
Today was boring.
 
user142019
I've been browsing /b/ all day and there was nothing interesting.
 
:O!
I didn't want to post the whole thing here because it's PHP
The rest follows the same pattern
<option <?PHP if($other) { echo "selected=\"selected\""; } ?>>--Please select--</option>
<option <?PHP if($problem=="slow") { echo "selected=\"selected\""; } ?> value="slow" checked="checked" />My computer is too slow.</option>
 
user142019
12:06 AM
I write web apps in Ruby. I've done PHP before but I don't like the inconsistent naming of functions and ordering of arguments together with all the crappy code available on the Internet.
 
user142019
…and php.ini.
 
@WTP PHP is a bunch of patches thrown together.
And since it's so easy to use, anybody can make messy clusterfucks with it.
 
user142019
Ruby is more easy to use. I don't get people…
 
user142019
At school we have to make a simple app for IT.
 
user142019
We could choose one of three languages: PHP, Visual Basic or Java.
 
12:10 AM
I'm sorry you were put through that
I'd probably use VB
 
user142019
I chose Haskell.
 
I would have used C#.
 
user142019
I only have one problem :p
 
THOSE WEREN'T ON THE LIST. #invalidoperationexception
 
user142019
I need to compile for windows but I have no access to the command line at school.
 
12:11 AM
That's what I thought at my school!
Create a shortcut to command.com
It's impossible to disable because it's baked into the OS
 
user142019
cool I'll remember that
 
This is the end result: win-fix.co.uk/appointments.php
You have to click through that and pick a problem then it gets copied to the booking page
Now that's done. I'm sleeping
See you guys tomorrow/later
 
Hm, you got a XHTML 1.0 doctype, but the code is not XHTML compliant.
 
user142019
DOCTYPE DECORATION!!
 
user142019
Is there a way to print the entire transcript of this chat?
 
12:19 AM
I don't know.
 
user142019
Me neither.
 
user142019
I'm writing a reddit client.
 
user142019
It sucks. It think I'll start over, for the third time.
 
12:54 AM
when do u guys think will be the next SO election?
july?
 
1:06 AM
@WTP third time's the charm - that's usually when the design gets really clean...
 
hello
do I need to include something to run this : std::vector<std::vector<int> > my_arr ???
 
Xeo
@Mysticial: Seems I have a chance for the Populist badge again. :)
 
@georgemano <vector>?
 
1:24 AM
@Pubby ok , I got it . What does this line mean ? I am not familiar with templates . Isn't it a template ?
 
@georgemano The std::vector line?
 
@Pubby yes
 
Xeo
@georgemano It means you should #include <vector>
 
@Xeo yes , but what does it represent
 
It is like #include "foo" except < > have it search elsewhere
 
Xeo
1:26 AM
An include directive...? It allows you to use what's inside the <vector> header, aka std::vector
@Pubby Oh. Yeah, the question can be seen that way too.
 
@Pubby I know what #include something means
 
Xeo
@georgemano Then what's your question?
 
@Xeo Oh yeah, new accept + 4. If you do pull off populist, that'll be a first Reversal + Populist I've seen. :)
 
std::vector<std::vector<int> > is like a 2d array
 
@Pubby why is it writen this way ? can you tell me or link me some details?
 
1:29 AM
What do you mean? It is a vector of vectors
 
@Pubby If I say declare this : std::vector<std::vector<int> > my_arr , can I say after this : my_arr[3][2]=34; ?
 
Yes
my_arr[3] returns a reference to one of the inner vectors
then the second [2] accesses its ints
 
@Pubby Thank you very much for sharing your knowledge
 
Xeo
@Mysticial Hrhr, +6 left
 
That was me who gave it one a min. ago. :)
 
Xeo
1:35 AM
I have a feeling I'll need to get a bunch of people upvote it, sort of like a community effort...
Since that question won't get that much attention anymore I think
 
I also gave you one right after the repcap reset.
 
Xeo
Oh, thanks :>
 
yeah... sometimes the timing of these "jackpots" can be very frustrating... especially if you get them early in the day...
 
Xeo
Oh, I'd rather get them early than late
Because when you get them late, you're already near cap
Hm, now I'm upvoting comments in that thread to push OP's comments outside of the 5-comment boundary.
 
because of where I live, I rarely repcap until the end of the day. So I prefer the jackpots late so they carry over.
 
Xeo
1:40 AM
Just because they are so stupid.
 
I hit a 50+ 4 days ago very early in the day... 50 upvotes in one day, only 4 on the next day...
 
Xeo
heh
But boy, -23
Y'know, I really think that reversal is actually a luck badge
1. You need a bad question
2. You need a good answer
3. You have to hurry with that answer before the question gets closed (bad questions are usually closed quite fast...)
4. You have to hope the OP doesn't suddenly delete the question
 
@Xeo Yeah, that's why it's hard to get...
Populist is surprisingly easy...
 
Xeo
1000 unique IPs, no day limit anymore, right?
 
yeah... it's a lot easier now
 
Xeo
1:43 AM
Absolutely
Well, it's still hard the first time around, because... it's staged. :| You first get bronze -> silver -> gold. You need 3 links for this
 
Great Answer is also somewhat luck based if the question/answer isn't particularly interesting.
 
Xeo
I got the 25 bronze one from a link on GotW #103
 
It's actually fairly easy to get them on reddit...
given the amount of people there...
 
Xeo
Well, if you're on reddit, that is. :P
 
which I'm not... lol
 
Xeo
1:47 AM
Wow, I love going through the hot questions.
There's always interesting stuff on RPG, SuperUser, English and other sites..
 
And that's the key to getting a 100+
you pretty much NEED to get the question to the top of that list...
and even then, it's still hit and miss...
 
Xeo
Aye, +100 is really hard on questions
 
yeah...
 
Xeo
On answers, not so much, but on questions? People seem to hate upvoting questions...
Guess why there's the Electorate badge. :>
Oh, the Stupid Question Of The Day™ is about to get closed.. 4 votes
 
stellar question badge is also ridiculously hard - provided you don't go the "fun" route
 
Xeo
1:53 AM
Aye. The FAQ route sometimes achieves it, but it's still hard.
 
Other than that... you have to go the WTF route... the two recent ones being the Waldo question and the Loop question...
*both of which took a front-page reddit entry to get there...
 
Xeo
Which Waldo question?
 
It happened on the same day as the Loop question... coincidentally
gimme a sec to find it
501
Q: How do I find Waldo with Mathematica?

Arnoud BuzingThis was bugging me over the weekend: What is a good way to solve those Where's Waldo? ['Wally' outside of North America] puzzles, using Mathematica (image-processing and other functionality)? Here is what I have so far, a function which reduces the visual complexity a little bit by dimming som...

It's a few days older than the loop question, but it hit reddit on the same day as the loop question.
It hung around ~30 until reddit. Reddit put it up to 400/550.
The loop question capped out at around 60/40 until it hit reddit...
And now it's even 400/400 - which is rare, usually the answer gets more votes than the question.
 
lol
 
2:05 AM
jh
hello
 
The Waldo question was #2 on the Month hotlist... So apparently you never looked at that. :)
 
Xeo
Yeah, I only look at the dropdown hot list
 
Your 1-1000 question is pretty high on the this month's hot list... you still getting a lot of random votes on it?
 
Xeo
Mm, not a lot, but maybe 1-2 in a day
Still, C# is the real deal when you want votes.. seriously
 
@Xeo No kidding...
 
Xeo
2:09 AM
268
Q: Is there a reason for C#'s reuse of the variable in a foreach?

StriplingWarriorWhen using lambda expressions or anonymous methods in C#, we have to be wary of the access to modified closure pitfall. For example: foreach (var s in strings) { query = query.Where(i => i.Prop == s); // access to modified closure Due to the modified closure, the above code ...

Though it's relatively warranted here
 
That one got linked from somewhere...
You don't pick up 23k views from just SO.
 
Xeo
Yeah
But y'know, I somehow like this question
It was a really awesome feeling to dig through the defect reports and think "Hmm, I saw that thing pop up earlier today on SO...." and go ahead and answer it..
 
@Xeo Nice GOTW
 
Xeo
Anyways, it's 3am, I think I'll go to sleep. G'night
 
Oohh... interesting question. upboated both, lol
lol, night
 
Xeo
2:16 AM
@KerrekSB I do wonder if Herb also learns something from those GotWs and incorporates that in his solutions. :)
 
GOTW?
 
Xeo
guru of the week
Hi @Alf
 
ah
 
hiu
^ my comment on that GOTW :)
i think, herb was recycling old stuff where he thought he knew "the answer"
but his gotw's are really helpful in general
 
Xeo
Especially for newer coders
 
2:20 AM
@Xeo Who knows -- the black art of being a genius is to never appear lost for answers, eh
GotW#102 is cool, too. I never realized the exception problem with multiple unsequenced new expressions in the function call context.
 
Xeo
Anyways, really off now. Really™.
 
@Xeo sure...
 
Now make_unique really seems to be useful after all
And the saying "never use new" is actually true, on the nose
So actually we should be telling everyone, "Don't use new, ever, because it's not exception-safe."
 
@AlfPSteinbach I see a double post.
 
no way to delete garbled original :(
 
2:30 AM
@Mysticial I recall seeing a link to that question on Hacker News.
 
2:56 AM
@KerrekSB I've only seen "And the saying... on the nose"
what should be used now instead?
Oh, make_unique, sorry, bad reading
 
@SethCarnegie Well, any sort of wrapper function. Just to sequence the allocation and construction properly
 
Sequence allocation and construction properly? I don't know what that means, sorry, is there a way I can read about it without you having to waste your time to explain it to me (perhaps is "sequence allocation construction" google-able?)
 
@SethCarnegie It was the subject of the GotW#102. If you write f(std::unique_ptr<T>(new T), std::unique_ptr<T>(new T));, then that's actually not exception-safe.
But by wrapping everything in a function call, i.e. f(make_unique<T>(), make_unique<T>()), it does become exception-safe.
 
@KerrekSB where can you read those? I only know of gotw.ca/gotw which only has up to 88
Ah I see, that's cool
 
3:12 AM
@SethCarnegie Try Google :-)
 
Ok, thanks
I have been slow to convert to smart pointers but I'm getting there
I learned C++ basically without using any of the standard library so
But I'm not one of the "pointers are eeveel" crowd
 
3:28 AM
@SethCarnegie Unfortunately, pointers are evil even in the total absence of any crowds.
 
4:23 AM
What's this thing with pointers being evil now? Why are they "evil"?
 
@IDWMaster Manual dynamic allocation is not exception safe.
You have complexity explosion and non-locality if you want to write exception-safe code manually.
 
And you have to always check for null pointers and stuff.....
 
You have to understand that the power of C++ comes from its magical ability to handle multiple exits, and you have to leverage that to achieve code locality.
@IDWMaster Well, that not so much, because your allocator would typically exit through an exception.
 
Such as a segfault
 
@IDWMaster It's really only the obscure construct of ::new (nothrow) T; that is a bit weird.
 
4:27 AM
@IDWMaster null pointers aren't the issue. If you have null pointers in the first place, then presumably changing to a non-pointer solution would just convert them to something equivalent, such as a null smart pointer or one-past-end iterator.
 
@IDWMaster That has nothing to do with it, though
 
So you're suggesting to always use smart pointers?
 
@IDWMaster Yes
 
@IDWMaster Use the right tool for the job. The guy who said they were "eeveel" was an asker, not an answerer.
 
I mean, don't use pointers at all unless you have a compelling reason
If you do need a pointer, try a unique_ptr<T>, which should be your first port of call
 
4:30 AM
Pointers are often fine when you're iterating through an array, or have a similar task that doesn't involve ownership.
 
@Potatoswatter Few of my tasks involve "ownership" of a value
 
@IDWMaster Are you sure about that?
 
So, in my case, I usually use pointers directly, or use a reference counted smart pointer
 
Pointers that own the referenced resource are usually a recipe for disaster.
@IDWMaster The latter case is ownership.
 
@Potatoswatter Really? V8 works that way.
 
4:33 AM
@IDWMaster What is V8?
 
A JavaScript engine that I've been using in some of my applications lately.
It uses a reference counting scheme.
It's made by Google
 
@IDWMaster It uses manual reference counting where you keep raw pointers and call retain and release on them? That is a recipe for disaster.
Essentially that's using C++ as C with classes, which is Bad.
Also, a good (fast) JavaScript engine should use JIT and garbage collection.
 
Sample v8 code (Deserialization):
Handle<Value> DeserializeObject(char* input, int64_t* offsetptr) {
		char objID = input[*offsetptr];
		*offsetptr +=1;
.....
Which returns a Handle to a Value, which is ref counted
Array deserialization:
if(objID == 1) {
			uint32_t arraylen;
			memcpy(&arraylen,input+(*offsetptr),sizeof(uint32_t));
			Local<Array> mray = Array::New(arraylen);
			(*offsetptr)+=sizeof(uint32_t);
			for(int i = 0;i<arraylen;i++) {
				mray->Set(i,DeserializeObject(input,offsetptr));
			}
			return mray;
		}
 
You should probably move that to paste site
 
Please stop that. I'm not going to read so much text.
Anyway all I'm interested in seeing is how you retain and release the Handle object.
If the target is freed when the last Handle is destroyed, then it would be a proper smart pointer, and not "evil."
 
4:41 AM
When it goes out of scope on everything that is using it, it is automatically freed.
void functhree(Handle<Value> yval) {
//Do something here
}
void functwo(Handle<Value> tval) {
functhree(tval);
//Do something here
}
void funcone() {
Handle<Value> mval;
functwo(mval);
}
@Potatoswatter Yeah. That's how it works, so I guess it's not "evil" under that criteria.
 
Fire zee missailes!
 
Have any of you heard of Wind River?
 
@IDWMaster Yes. I've even been there! Beautiful canyon.
Also they have an ages-old compiler and embedded development packages.
 
@Potatoswatter So not a good choice for embedded development?
 
4:55 AM
@IDWMaster Who said that?
 
@Potatoswatter "they have an ages-old compiler"
 
Embedded is a huge and diverse world. You need to evaluate alternatives for your particular platform.
One vendor might be spectacular on one platform and terrible on another.
@IDWMaster That is a good thing. Most popular compilers are quite old.
 
I'm coding for a PowerPC 603 device to be specific
 
@IDWMaster And you don't like the free Freescale tools?
Get a demo of CodeWarrior 10, it's Eclipse-based.
 
@Potatoswatter For me, Wind River is free (as in cost), it's provided by the company, and it's their "preferred tool" for that architecture.
 
5:10 AM
@IDWMaster Provided by the company you work for? Then using other software sounds like very bad career move.
Or if provided by the board vendor, changing platforms would likewise make them angry. So, unless there's a problem, stick with it. It's extra-important to write standard-compliant code, though. Doesn't hurt to try running through other compilers periodically, either.
 
@Potatoswatter Well, mainly I was wondering why they would prefer that IDE for that particular architecture.
 
@IDWMaster An IDE isn't closely tied to a particular architecture. A compiler is. Wind River and Freescale both have competent compilers. An IDE is tied to a class of applications, and Wind River has more tools for reliability and controls, as I understand (I've never used it).
CodeWarrior was fairly quirky. I used the old, pre-10 version last year, and it had few updates or new features since the (superb) late 90's product that powered Mac OS platform development.
On the other hand, IDEs in general have not made much progress since their advent, so whatever. The experience was alright.
@IDWMaster An IDE isn't closely tied to a particular architecture. A compiler is. Wind River and Freescale both have competent compilers. An IDE is tied to a class of applications, and Wind River has more tools for reliability and controls, as I understand (I've never used it).
 
user406009
6:07 AM
I need to do some fancy integration. Any suggestions for libraries?
 
@EthanSteinberg Numerical or symbolic?
 
user406009
Numerical
 
(I don't have an answer in either case, but it's an important distinction.)
 
user406009
Time to go back to IRC.
 
6:28 AM
I'm trying Visual Studio 2010 C++ for the first time. When I compile a trivial program, I get an error message:
'#include <iostream>': skipped when looking for precompiled header use
1> Add directive to 'StdAfx.h' or rebuild precompiled header
Then I'm told that cout (and std:cout) are undefined. (I also have using namespace std;)
What's going on?
 
it's like, the defaults are bad just in order to trap you in Microsoft world
you just need to turn off precompiled headers for your project
^ good discussion with screenshots
^ also, just sending some traffic to my own blog :-)
 
7:16 AM
@KerrekSB "Europe is in Asia" Lol
Is it possible for the compiler to optimize away the refcount increment and decrements of shared_ptr. Or is this impossible due thread safety requirements?
 
@StackedCrooked It's possible, the requirements of shared_ptr are similar to those of types like int.
I don't know right away if that's a thing implementations actually do though.
 
Interesting.
 
The problem in this case is not so much the increment/decrement, but the indirection to the shared count.
I imagine the sharing will prevent a lot of optimizations.
 
7:32 AM
we nead a wai to mark objekts as sïngle-threadded
or best have that as default and mark as multi-threaded
 
@AlfPSteinbach Do we? Switching to a smart pointer with no sharing in this case 'solves' the problem.
 
like?
the only problem is when formal-minded people are let at it
they come up with something over-engineered complex like microsoft's "apartments"
 
@AlfPSteinbach Only on-hand solution I can think of is boost::intrusive_ptr. Not overly familiar with it though, and is invasive.
 
intrusive_pointer is also sharing of the counter, it's just that the counter is then located in the object itself
 
I meant sharing in a multi-threaded sense, while still keeping the ref-counting aspect of std::shared_ptr.
There's std::unique_ptr<T, std::function<void(T*)>> to keep the type-erasure aspect of std::shared_ptr while pretty much losing every other one.
 
7:37 AM
where do you get this case about sharing access to a functor?
 
Sorry? What functor shared amongst what?
 
std::function is a functor
 
Yes.
 
std::unique_ptr is not a sharing pointer but you offered it as a solution to sharing
that's why i ask: it seems totally unrelated
 
No, I suggested intrusive_ptr.
intrusive_ptr for single-threaded ref-counting, unique_ptr for unique-owner + type-erasure of the deleter.
 
7:40 AM
intrusive_ptr does not help wrt. threading. it only helps you avoid an allocation.
 
I don't get it. Are we not looking for an alternative to std::shared_ptr that does not incur the cost of thread safety?
10 mins ago, by Alf P. Steinbach
we nead a wai to mark objekts as sïngle-threadded
 
i think that was the question yes, but intrusive_ptr is unrelated to threading
 
I thought you were referring to the smart pointer object here, not the pointee.
 
also, the unique_ptr<T, function<void(T*)>> is pretty risky
;-)
 
As in, 'mark my smart pointer as not shared amongst other threads'.
 
7:43 AM
no, as in let the compiler optimize the refcounting in spite of threading issues
it can do that most easily when it knows the object access is single-threaded
 
If you then want to mark the object as shared once you 'publish' it, then I guess my solution doesn't work for that :)
@AlfPSteinbach I don't think so.
 
@LucDanton you're wrong
5
A: Well, how does the custom deleter of std::unique_ptr work?

Howard HinnantNote: the original answer is below the divider line. With permission from Howard I (Alf) am amending this answer showing why the presented code has Undefined Behavior, and giving a concrete crash example. Since this invalidates most of the original answer I am placing this text in front, to avo...

^ The relevant part is my prequel to Howard Hinnant's answer.
 
Although with my intrusive_ptr solution, you could transfer ownership to a std::shared_ptr. A solution at the type level definitively isn't the same as one at the object level though.
 
^ I think this is the question I got most downvotes for. Fucking imbeciles, I say.
 
@AlfPSteinbach Is a prequel to an answer a question?
 
7:51 AM
Sorry about the language, but really. A simple, straightforward question, already answered. And then they start downvoting and saying, in spite of reality, that it's impossible to answer. Fucking morons.
@LucDanton It just explains why Howard's answer was wrong. With a concrete crash example.
Huh, where is puppy? I need to go somewhere. He can continue swearing for me. :-)
 
I'm (was?) confused by your use of 'prequel'. Do you mean HH's answer, but the part you wrote? Is it a preface?
 
Alright I'm reading that.
@AlfPSteinbach An interesting question with an interesting answer. I still am cautious around std::unique_ptr creation unless using a factory helper function (which I will design to be safe). Perhaps I should have said: "I am just afraid of std::unique_ptr<T, std::function<void(T*)>> as I am of std::unique_ptr<T, Del>".
It also dawns on me I don't use polymorphic types with dynamic allocation that much.
For instance that tricky conversion std::unique_ptr<Derived, Del> -> std::unique_ptr<Base, Del> can fail with pretty much every deleter that is not overloaded on the two types (or does deletion through the base type by default + virtual destructor) :/ And even if it were overloaded, that's tightly-coupled.
 
8:18 AM
mawning
I wondered, could you simulate Haskell's list comprehension's with something like expression templates?
 
Do you have an idea what that would look like?
 
well, in Haskell a list comprehension looks as follows
 
2 * x | range ->* x? where x is a placeholder name, and range is a range.
 
[x*2 | x <- [0..10]]
where x is the variable, and in this case our range is [0..10]
but range could be anything really
 
That could work. The lhs can work just like a lazy EDSL.
 
8:21 AM
EDSL?
 
Embedded DSL, where DSL is domain specific language.
 
For instance those LINQ-thingies in C# is an example of a DSL embedded into C#. I think.
 
right
I guess that expression templates would define some type of DSL
 
What is going to be hard with such an attempt, is to distinguish the lhs from the rhs.
What if I want to do a list comprehension with the | operator for instance?
 
8:23 AM
hmmm, right
you'd almost have to have some grammar for it
 
(x | y) | range1 ->* x, range2 ->* y is ambiguous.
 
yes
it would be an interesting exercise, I guess
 
I agree! :)
 
do you remember what the " ' " means in a variable name in Haskell?
like let length' = blah
 
It's a convention, it doesn't do anything special at the language level. It's a valid character for names.
 
8:26 AM
ah right
 
Usually the meaning of the convention is "this name is related to the one without the prime, but has more machinery/ugly details that don't need to be exposed".
Any idea on how to solve the major sticking point of separating LHS from RHS in that EDSL?
 
@thecoshman 4522, not a bad bit of work over the weekend guys
 
well, the brackets in the first sub expression could be used to denote it's a different operator
 
Using a very low precedence binary operator as a delimiter while using a very high precedence 'extracting' operator (to bind placeholders to ranges) can go a long way.
@TonyTheLion That can be achieved with precedences. Remember, the syntax we're using is fixed by C++.
Unless you want to produce an external tool to generate C++/code on the fly :)
 
8:29 AM
yes true
@LucDanton no
 
and how are we all this fine morning?
 
I was merely curious
I'm not really familiar enough with the details of expression templates to even do this
@thecoshman not bad
 
btw one of my examples is wrong, it should be (x | y) | (range1 ->* x, range2 ->* y) due to the low precedence of the comma operator. It isn't ambiguous then.
 
oh cool
 
Yeah, but it requires brackets on the RHS everytime there's more than one range to extract from.
Operator comma has the lowest precedence, perhaps another delimiter should be used.
(x | y) | range1 ->* x and range2 ->* y, with some (tongue-in-cheek) abuse of alternative tokens.
 
8:33 AM
haha
 
@TonyTheLion good stuff
 
Right now, we want to find 'convenient' values for SEP and DELIM in lambda SEP range_extraction DELIM range_extraction to match the mathematical notation f(x, y, z) | x <- a, y <- b, z <- c, don't we?
Where lambda is a lazy expression template mirroring the mathetimal f(x, y, z)
We need to have the precedence of SEP lower than the precedence of DELIM to avoid the use of brackets.
That one is actually tough :/
If range_extraction is either of the form placeholder OP range or range OP placeholder, then OP has to have a higher precedence than DELIM
 
(╯°□°)╯︵ ┻━┻
When you ask people to read an email you forwarded them, is it too much to expect them to actually read the email!
 
@TonyTheLion So here are the constraints: prec(OP) > prec(DELIM) > prec(SEP). Find a table of the precedence of C++ overloadable operators, and pick your poison :)
@TonyTheLion Would you mind me sharing the idea to Martinho when he comes? I like it a lot :)
 
8:49 AM
@LucDanton sure, go ahead. :) It was merely a curiosity point for me. While I'm learning Haskell
 
@LucDanton: What is the DSL for? Is this general list comprehension?
 
@thecoshman no. Why else would they even have email?
 
@thecoshman If you only asked within the email, then yes.
 
It really pisses me off when you send a person an email and they don't read it. Except in the case where you forwarded one of those annoying chain emails
@Potatoswatter yea, that was my idea
 
@Potatoswatter It may be hard to support general list comprehension, but some cases can be done I think.
 
8:53 AM
@Potatoswatter as you can see, I'm not smart enough yet to even comprehend how difficult this might be... :P
 
I just got back a rather random reply and a copy of another email, which was equal confusing
 
 
then again, I am trying to pass a problem over to there department. Problem is, there code is getting funky values to pass to my code, so my code throws an error. They need to fix there code to get the right values, but as it is my code that is throwing the error, I have to work dam hard to get the right person to fix it ¬_¬
 
@LucDanton Cool, well if the development is getting cohesive, keep me in touch!
@jalf That's the best in a while! Disagree that the average sentence is 100 words long, though. Nor will it be in 2061. (Increasing popularity of rambling, punctuation-free screeds notwithstanding.)
 
Well, I have a lazy-eval EDSL I can recycle for that, but it's a mess that only works on whatever latest GCC snapshot I installed. So buyer beware :)
 
8:57 AM
@LucDanton if you ever get something that even vaguely does something, I'd love to see some source code. I might learn something. :P
 
@TonyTheLion Related to list comprehension?
 
I've never done anything with expression templates, which this would appear to require in spades. Lazy eval would seem to mainly use bind a lot.
 
I didn't mean you have to do this, but if you ever did, then I'd be curious
 

« first day (464 days earlier)      last day (4501 days later) »