« first day (1833 days earlier)      last day (3133 days later) » 

11:00 PM
so, until getting stuck-ish. kind of almost stuck. ish.
but, when do you consciously say to yourself, "i'm stuck"? after how long?
 
@villageidiot depends on the task
 
user1804599
I don't because when I realise I am going to get stuck I already stop doing what I'm doing.
 
for example. yesterday i was working on something. maybe i can get to what later. but, 3 hours later, i consciously said to myself, "i'm stuck". then i looked at the time, to see it's been 3 hours. and then i wondered.
and here i am to ask.
 
@villageidiot 3 hrs? what do you do if you cant find your way in a city? or cant find an item in a store?
 
i mean, up until then, it was "i'm working". it was, "let's try this". then, "mm, doesn't work. let's try that". rinse and repeat for 3 hours.
 
11:03 PM
@TemplateRex :/
 
@TemplateRex a store is usually much much smaller than a programming problem, so i can actually try the entire universe of solutions in little time, to know for sure i'm at a loss.
 
I'm okay!!! @GregorMcGregor
 
@villageidiot well divide-and-conquer my friend, for every hard problem, there is another, slightly easier problem that you can try, until you find one that you can solve
 
user1804599
 
@TemplateRex but, this is a way to tackle a problem you know is hard or big. this is what you do when you know you're stuck, and it's time for a bigger gun.
what i wonder is, how to shorten the time to get to that point.
 
11:06 PM
Btw best algorithm for dot product over 4+ dimensional vectors over the product of magnitudes?
 
i wish i'd knew i'm stuck after half an hour, not 3 hours.
 
@Elyse what's the point
 
@villageidiot if you have a measurable objective, like getting a program to actually do something, then you know pretty soon if you are stuck if you decompose the primary objective into smaller subgoals
 
stuck as in, "time for slowing down", not "i don't know".
 
user1804599
@sehe pick one.
 
user1804599
11:07 PM
I like 9.
 
@VermillionAzure transactional analysis detected
 
@sehe what?
 
I'm OK, You're OK by Thomas Anthony Harris is one of the best selling self-help books ever published. It is a practical guide to Transactional Analysis as a method for solving problems in life. From its first publication during 1969, the popularity of I'm OK, You're OK gradually increased until, during 1972, it made the New York Times Best Seller list and remained there for almost two years. It is estimated by the publisher to have sold over 15 million copies to date and to have been translated into over a dozen languages. == Content == In the preface, Harris praises the then-new procedur...
 
rekt
 
☑ rekt ☐ not rekt
 
11:09 PM
anyway. i want to be faster. so i'm looking for tricks. when i'm in a flow all is good. it's when i lost the flow and don't realize it that's the problem. when i don't advance. so, to realize it faster, and to shorten the time to get to the realization.
the problem i was working on, was incorporating a menu to a game.
 
best to invest in reincarnation early
 
Anyhow, Good evening, fellow Loungables.
 
:D
 
so i had a menu with two buttons: play, and quit. and i had a silly little minimal game. the play button did nothing. the quit would quit. the game, when run, would start right away. i wanted to get the menu to show when starting the app, and the play button to start the game.
that was the task
 
No but I was scared for my life
 
11:11 PM
@jaggedSpire Do you mean to lounge us? Kinky
I keep saying Kinky... @ThePhD what have you done to me
 
@Borgleader you'd know.
 
@sehe You clearly need a GuessingGame base class (probably a template), with GuessTheNumber derived from it and instantiating it over int. This lets you consolidate the "stuff" for guessing games in general into the base class, so the derived class only needs to provide the specifics of guessing a number. You should also use the strategy pattern to encapsulate the details of interacting with the user.
 
@Borgleader For all the puns you've made me endure.
 
@ThePhD you wondrous fucker <3
 
@JerryCoffin Huh. When was generalizing the goal
 
11:12 PM
@Borgleader ... Kinky.~
 
@Borgleader well, now I know what ThePHD has done to you.
 
@JerryCoffin Do you honestly figure that was overengineered?
In my view I extracted only the minimum amount of functions (too few, actually, since I duplicated the input error recovery code) and encapsulated the minimum amount of state. (Including magic numbers, ok)
 
i thought i'd set up a state machine. either be in a menu state, or a game state. to do that, use a boost::optional<game> and a boost::optional<menu>. the issue i had was getting it to work with boost::signals. because deactivating the menu or game would not stop signals from hitting dangling memory, which i think caused UB. it took me long to figure that out, almost all of the 3 hours, because nothing crashed. i just had sometimes corrupt data, so, for example, the buttons didn't do anything.
when i tried to use a scoped_connection, the optional didn't work anymore, because it requires copyable types.
anyway
:)
 
So, you're saying that trying to learn new things on the fly is a risk and kills "productivity".

Good lesson. Remember it
This is exactly why I use SO to learn the pitfalls/sharp edges ahead of time (hopefully)
Either redefine productivity to include self-improvement, or refrain from these activities.
 
Is it good to use Boost? I feel that a it can all be so "heavy" and unpackage-like
 
11:17 PM
> unpackage-like
 
says the gradient to the polar bear
6
 
We hate when stuff is like unpackage
 
WE polar bear
 
@jaggedSpire this is probably funny, but im not smart enough to get it
 
Is simple
I gradient he polar bear
 
11:19 PM
@VermillionAzure Fixed
 
@VermillionAzure apt-get install libboost-all-dev or dnf install boost-devel and there you go
 
Windose QQ
Meanwhile...
 
@Borgleader I don't know what's so funny either. I have a variety of ideas, but nothing concrete...
help what is humor
 
Maybe you should've been a civil engineer in order to cement your ideas @jaggedSpire
 
11:21 PM
Concrete is a composite material composed of aggregate bonded together with a fluid cement which hardens over time. Most use of the term "concrete" refers to Portland cement concrete or to concretes made with other hydraulic cements, such as ciment fondu. However, road surfaces are also a type of concrete, "asphaltic concrete", where the cement material is bitumen. In Portland cement concrete (and other hydraulic cement concretes), when the aggregate is mixed together with the dry cement and water, they form a fluid mass that is easily molded into shape. The cement reacts chemically with the water...
 
@jaggedSpire i dont know either, i just make puns
 
headdesk
 
@Borgleader we are all very pun
 
you guys are the best
 
@jaggedSpire I personally liked how "the gradient" aptly captured the vagueness of the claimant
 
11:21 PM
@jaggedSpire might be you should spend time cementing these ideas :)
 
@sehe I honestly wasn't being sarcastic (at least not entirely so). I started a GuessingGame base class to get at least some idea that it was semi-practical (and I think it mostly is, though I haven't finished it to be entirely certain).
 
@sehe Ah.
@Borgleader until I have a rock-solid foundation to build on?
 
@JerryCoffin I did ponder the idea of abstracting the UI. But then again, that was not what I deemed a good goal for a beginners c++ class. I think it's enough value to get them to wield iostreams
 
I was given a necklace today :D
 
@jaggedSpire something like that :P
@Morwenn congratz :)
 
11:24 PM
@Morwenn nice!
 
At the same time, I think it is a little overboard to even try to apply full-blown engineering to a program that I seem to remember writing in about 20 lines of BASIC back in the earl '80s (or so).
 
Ok, it was a shit necklace they randomly give to people who say it's their birthday in Asian restaurants, but still :D
 
@JerryCoffin Yeah. Well. The goal was learning
You can teach different aspects of programming based on a simple sample...
 
@sehe True. That's teaching done right :p
 
@sehe True--and it's certainly (at least usually) easier to learn to apply them in simple cases, then build up to more challenging material.
 
11:26 PM
Can we stop agreeing :) Where is Puppy
 
@sehe No, we cannot!
 
Watch me!
 
@sehe Is this like "Where is Charlie/Carmen San Diego"?
 
I have no clue. Is Waldo in San Diego?
 
Oh right, its Waldo in english -.-; woops
 
11:30 PM
> There is a lot of talk on how object oriented components that incapsulate algorithms can optemize performance of operations such as Viktor Korsun “Enhancing STL containers" and "Data-Oriented Design
This gun be gud
 
@sehe Is this from CppCon? I finished watching the Battle.net talk today. I found it interesting.
 
@Borgleader No. "Where's Waldo?" and "Where in the world is Carmen San Diego?" are both well known in English. They're separate and unrelated to each other.
 
Yes. Boost, TBB, Poco. Anyone indeed. Libcds, google hash map, just f***ing google it, really. — sehe 14 secs ago
@JerryCoffin never heard of Carmen
 
@JerryCoffin You misunderstand, Where's Waldo is "Ou est Charlie" in french
 
Ici!
 
11:34 PM
@sehe But has Carmen heard of you?
 
Seriously, they should have done at least one drawing with no Waldo at all. It would have been fun.
 
@Borgleader I thought my misunderstanding was implicit by now. Isn't it?
 
@JerryCoffin I've played her like a whore
 
IEEEXtreme is coming
 
Wait. That doesn't work. Well
Carmen Suite is a one-act ballet created in 1967 by Cuban choreographer Alberto Alonso to music by Russian composer Rodion Shchedrin. The premiere took place on 20 April 1967 at the Bolshoi Theatre, Moscow. The music, taken from the opera Carmen by Georges Bizet and arranged for strings and percussion, is not a 19th-century pastiche but rather "a creative meeting of the minds," as Shchedrin put it, with Bizet's melodies reclothed in a variety of fresh instrumental colors (including the frequent use of percussion), set to new rhythms and often phrased with a great deal of sly wit. Initially banned...
 
11:37 PM
Yeah Carmen is the gypsy play
 
user1804599
fapfapfap
 
Seriously, it would be great if people would publish the merge networks for collections with sizes that are not a power of 2.
 
Evening
 
@TonyTheLion Hey :)
 
11:42 PM
Sup?
 
@Borgleader Is there an audio version? :D
Found it.
 
its even better with sound :D
 
Any good PostScript viewer?
 
@ElimGarak I was going to say something about its being abuse of a perfectly good tripod, but then I looked more carefully at the tripod, and realized that "perfectly good" is almost certainly wrong.
@Morwenn Presumably you're already aware of ghostscript, and don't classify it as "good"?
 
Hi @ScottW!!! <3
 
11:46 PM
@JerryCoffin Not really. I never had to read PS files and I have no name at all in mind.
 
@ScottW how are you?
 
Ell
Orite Mateys
 
What's up
 
@Ell Hi
 
Ell
I need a bit of the old ultra violent
 
11:48 PM
 
@Morwenn Well, there is ghostscript (and for actual viewing GSView). Not gonna claim it's good, but you might find it sufficient anyway. ghostscript.com
 
@Ell ultra violent what?
 
@Borgleader that cat loves his leg. What is it even doing?
 
@JerryCoffin GhostScript it will be then. Thanks :)
 
@jaggedSpire Maybe he put catnip in his shoes?
 
11:50 PM
@ScottW not bad. bit tired
 
Ell
> A term used in the Anthony Burgess novel A Clockwork Orange and the Stanley Kubrick film of the same name
 
@Borgleader that seems like a reasonable explanation for the panther that is rolling over his leg
 
@Borgleader You want a boner while playing with kitties? :D
 
@ElimGarak I'd assume that's a cup
granted I have no goddamn clue what those look like in tight pants
and I'm not about to google it
 
What has this world come to when a man can't play with cats without fear of getting his balls eaten?
 
11:57 PM
People who went unprotected couldn't reproduce anymore. Natural selection.
 
@ScottW give me 5 mins
 
@ScottW muuuuuuuumble?
 
So punny :p
 

« first day (1833 days earlier)      last day (3133 days later) »