« first day (2147 days earlier)      last day (2842 days later) » 

12:03 AM
They guys next door donate ~£50 of beer to the hackspace (yay). I drop a couple of bottles, make a mess, try to hoover it up, and damage a £50 hoover (boo). Proof life is a 0 sum game?
@KitZ.Fox ghosts, probably.
 
 
4 hours later…
 
3 hours later…
7:05 AM
please don't cross-post: stackoverflow.com/questions/38471945/… / datascience.stackexchange.com/questions/12870/… / webapps.stackexchange.com/questions/95770/… "Cross-posting is frowned upon as it leads to fragmented answers splattered all over the network..." — gnat 59 secs ago
^^^ four (maybe 5) sites, wow. Just... wow
 
 
1 hour later…
8:07 AM
Your question makes sense and it's a completely valid request for some help, but it seems to be more about design and not so much about coding. It may be a better fit on: Programmers. — Sean Mickey 18 secs ago
 
 
2 hours later…
9:44 AM
Would this post fit better on StackExchange's Programmers ? — Ephi 53 secs ago
 
 
4 hours later…
1:38 PM
@MetaFight I've never seen anyone try to vacuum pieces of broken glass (except very tiny shards or perhaps with a shop vac that can vacuum liquid). Sorry, but since you've told on yourself, I must know, how did you get the idea to do that?
@enderland I presumed as much. But I think there are better ways to have singletons.
Is the class itself intended to be a singleton? No other classes with the metatype? If so, the __instances name kinda misinforms...
 
2:02 PM
This might be more on topic on programmers.stackexchange.comMatt Wilko 17 secs ago
 
@AaronHall I'm pretty sure yes
 
@AaronHall I picked up all the large bits. I was trying to vacuum up the small hard to see bits that might catch people by surprise.
 
2:17 PM
Sounds reasonable.
 
2:29 PM
I need a name for a boolean method on an object that tells me if we should do something with the object.
The verb that we will do is wrong.
Too confusing.
"ready"?
 
What is the verb that you will do?
 
"publish"
 
isReadyToPublish?
Most boolean methods that I've seen are prefixed with is or can.
 
...
 
So "canPublish" or "isReadyToPublish" works.
 
2:31 PM
can_publish (since it's Python. :D )
thanks!!!
 
Yeah. Although can_publish may also be confusing.
 
We've used that before...
 
Is the object doing publishing?
 
canSomeverb
 
can_be_published may also work.
 
2:32 PM
@ThomasOwens Nope
Another object will publish.
 
Yeah, then maybe can_be_published if the object is the thing that is published. You get the idea - prefix with is or can and it becomes easier.
 
2:43 PM
I'm getting more and more objects... :P
 
OO hell here you come
 
moo.IsPublishable()?
 
3:35 PM
@enderland I think you need to decompose hell.
If you don't, you'll just end up with a Satan Object. No one likes those.
 
3:58 PM
I've got to come up with a good two-step algorithm to replace bad code with less bad code...
 
 
1 hour later…
5:17 PM
People need to stop giving talks with "wat" in the title.
These seem to only reveal a complete lack of sophistication in the speaker.
 
and, as we all know, sophistication is paramount.
farts
 
Sophistication is in the details, flatulence notwithstanding.
In the context of makefiles, is it better to alias cc to gcc, or to set CC = gcc?
Environment variables versus aliasing versus makefiles
It's like, we should be able to have a .makerc or something like that.
 
I believe you set your environment variable to your compiler.
 
Hey, does anyone know if there is a name for the pattern where you GOTO some piece of code to process, just to immediately "return" to the line after your goto (with another goto)? As in, it's completely equivalent to inlining the processing code and not using any gotos at all, but you're just cleaning stuff up visually.
 
5:32 PM
Wait, is .makerc a thing?
 
I don't know about makerc. I've used CMake.
It generates makefiles for projects.
The convention there is to set the CC environment variable appropriately. I think it's like that if you're handwriting makefiles, too
 
@NReilingh sounds ugly to me
 
@AaronHall Oh, it definitely is
 
@NReilingh Why not just call methods at that point? I don't understand.
It also seems ugly.
 
I'm starting to understand why we have the configure script, but that thing is fairly incomprehensible.
 
5:38 PM
@ThomasOwens Probably because T-SQL doesn't have methods
Anyway, the question's not "What kind of control flow should I use", it's "does this thing have a name"
 
@NReilingh I'm going to call it "Bad Idea 47421337"
3
 
I guess it's like a fake function call before structured programming existed
 
5:54 PM
CPython has goto's in the C. They're used to go-to e.g. the end of a function to bypass unnecessary control flow.
 
6:50 PM
Something tells this would be more appropriate on Programmers. It's more a theory question than a specific problem. — Carcigenicate 11 secs ago
 

« first day (2147 days earlier)      last day (2842 days later) »