« first day (3636 days earlier)      last day (1295 days later) » 

4:03 AM
So, for one of these interviews was asked to show a code example that demonstrates good design. Was initially hoping to present CGAL but then failed to understand its internals.
I can't really think of an well designed C++ libraries :-(
 
 
1 hour later…
5:35 AM
how to start embedded programming in c++, what kit to buy ?
 
@ShoyebSheikh Almost every chip has some kind of C++ support, including arduinos
 
@Mikhail I thought arduino was only for Java, I will read more about arduinos now lol
 
 
2 hours later…
7:15 AM
@Mikhail poor pigeons :(
@Mikhail Indeed, CGAL provides an impressive power, but as a result is an ocean of templates and good luck finding the information you need in the reference
 
 
2 hours later…
9:34 AM
I don't know what to do, pigeons come to the backyard every day to steal the chicken feed. They are not afraid of the chickens or me. I don't mind pigeons eating a bit food, but since I live close to a hospital, I am scared that the pigeons might get avian flu and give to the chickens. Then chickens pass it to me and I will be died.
 
nwp
You'll have a hospital with experience nearby.
 
9:48 AM
Experience of having other died patients will solve nothing in this situation.
 
cover the coop with chicken wire over the top
 
Free roaming chickens.
 
get some cats and train them in the fine art of pigeon murder
 
Have never been caged, will be unhappy if they are.
 
just build an IoT gatling gun turret that shoots all the pidgeons
might hit some stray helicopters or crop-dusters, but accidents happen
 
nwp
9:59 AM
As long as it doesn't hit the chickens it's fine.
> Unless cleared, the RESETREAS register will be cumulative. A field is cleared by writing '1' to it.
Intuitive as ever.
 
 
2 hours later…
user7659542
11:54 AM
"The only way to fully know what you think is to write it down."
 
user7659542
I m wondering why this is true
 
12:06 PM
because your mind has a lot of lazy evaluation features
 
 
4 hours later…
4:08 PM
Hi folks, is it always true that the address of the first data member of an object is the same as the address of the object itself?
Please kindly ping me if you respond my question above. Thank you!
 
 
2 hours later…
6:05 PM
@NotAZoomedImage No, I don't think so. If the object has a vtable then the pointer to the vtable may be the object's first hidden member.
 
6:29 PM
@StackedCrooked: OK. Thank you!
 
 
2 hours later…
8:43 PM
@Mikhail As far as I know arduino doesn't support C++ it's a fake C++ language on top of C
But AVR has a c++ compiler so it's quite possible that now it use actual C++
 
 
2 hours later…
10:23 PM
@TelKitty you could use an automatic feeder that opens based on the weight of a chicken
a pidgeon will be lighter than a chicken as far as I know and the thing shouldn't open on their weight
If you wanted to go further you could attach a camera and have some kind of chicken face recognition program running
 
Chicken head recognition you mean :p
I thought about that, but both methods take time to implement.
 
doesn't look so bad for the price
it's cheap sheet metal but I guess you can replicate that easily if you can do it cheaper with better materials
if you can catch a pidgeon, set the required weight as something above as a pidgeon
then the lever and weight to set on the lid should be easy to calculate
 
 
1 hour later…
11:45 PM
@LoïcFaure-Lacroix But how well does that work in practice? I have 3 chickens, they are of different breeds, so their weights are quite different. Chickens tend to move around when they eat, will the lid close suddenly when they move?
 

« first day (3636 days earlier)      last day (1295 days later) »