« first day (2978 days earlier)      last day (1962 days later) » 

3:25 AM
Maybe facebook and instagram can be used to identify alcoholics.
 
 
2 hours later…
5:12 AM
What if your app randomly crashes and you can not reproduce the crash because it's random?
 
6:10 AM
Find the difference, before:
After:
 
- $15k to your father's bank account?
8-)
 
My dad is not paying for neighbour's new mega mansion.
 
Can you actually know that?
 
I can't, just like I can not be sure you are not a mouse on the internet, the kind that online kitty is looking for.
So in a years time, where I live will stand out - as the shabbiest place on the whole street.
 
6:26 AM
Fence needs some love, but the plants look good.
 
Not exactly where I live, because it's fairly new, but the building in the front which is also part of this block.
@ABuckau Fence will probably be replaced once the neighbour is done with their house.
But then again, who replaces fence every 10 years??
 
 
1 hour later…
7:57 AM
@TelKitty the person who doesn't maintain it properly?
Just kidding - I'm sure the Sun causes havoc. I wouldn't know :'(
Water sprinkler system??
I don't see the marijuana plants: are they in another spot, perhaps the one that receives the best light? :p
 
8:54 AM
@ABuckau Why would there be marijuana plants? Also no fixed sprinkler system, only hose and a removable one.
You know what this lawn is missing? Chickens, pet chickens!!
But I am not getting chooks any time soon.
 
 
8 hours later…
5:07 PM
Hey guys, I've got a question. Do you know if, on Windows, there's a way to prevent a directory from being deleted while a process is running?
Basically I'm trying to "lock" the directory.
 
@EtiennedeMartel Create a file in it and leave it open?
I think just holding a search handle to the directory will do it.
 
Oh, I want to also prevent deletion of the directory's contents.
 
oh
Mark every single file in there as read-only?
 
Hm
That could work, especially since most of them are write once.
(I'm storing configuration stuff in a directory)
 
Write once? Burn it to a CD and laugh at the program trying to delete it? :D
Or it might just eject it.
Mount it on a read-only network share.
 
5:59 PM
@EtiennedeMartel Can you do it with some wacky permissions? Sometimes people make a separate user.
@EtiennedeMartel Another strategy is to create a temporary directory that Windows automatically manages with RAII permissions. I believe there is an option restrict permissions to the parent process.
Have you ever wondered if Boost would build substantially quicker if you suppressed console output?
 
6:16 PM
I just want the directory to be undeletable while the process is running.
But I've realized that I don't need to lock the entire directory, just three files in it.
 
6:44 PM
@EtiennedeMartel put it in the appdata known folder?
Why are you so concerned with someone deleting it?
 
7:01 PM
Maybe its not a file but one of those crack pipes used for IPC?
 
@Mikhail eh better ways to do that
just used a named pipe
 
/s/named pipe/some library that got it rightâ„¢
 
Hey guys, quick question. What is the easiest way in C++ to for-loop over some constants or existing variables? In Python you would do: for e in [5,9,12]: ... I already tried creating an array (?) on the fly via the curly brackets but just got syntax errors
I mean of course you could create an array in the line before, but is there a shorter way?
 
for (auto item : {A,B,C,D})
 
@Mikhail awesome thanks!
 
 
2 hours later…
9:25 PM
fuck
Sketch uses 3154 bytes (154%) of program storage space. Maximum is 2048 bytes.
Global variables use 199 bytes (155%) of dynamic memory, leaving -71 bytes for local variables. Maximum is 128 bytes.
that's... uh
well
 

« first day (2978 days earlier)      last day (1962 days later) »