This week's book giveaways are in the Jython/Python and Object-Oriented programming forums.
We're giving away four copies each of Machine Learning for Business: Using Amazon SageMaker and Jupyter and Object Design Style Guide and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning for Business: Using Amazon SageMaker and JupyterE this week in the Jython/Python forum
or Object Design Style Guide in the Object-Oriented programming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

How to Keep Ant away from my desk

 
Ranch Hand
Posts: 2107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to keep ant (that one that bites, not the neat tool for building java), away from my desk, because the desk houses my server pc.

My pc is at home so, by some reason, there is always ants around the house, and is not in my control (It is not that much; it is not like the house is infested; it is not much, but it also doesnt take much to damage the desktop's inside).

I keep spraying insecticide in the near surroundings, being careful not to damage what I am intending to protect.
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dig a hole around the server, line it with plastic or seal it in some other way and fill it with water. You will also need to dip the cords under this moat the prevent the ants using them as a bridge.
Works for dog food.
 
Ranch Hand
Posts: 541
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jesus Angeles wrote:... but it also doesnt take much to damage the desktop's inside).



Don't worry about your computer ,they do not damage something for nothing. I am wondering do you have food on or around your desk. Take sometime to see WHY do they come to your desk? That way you may be able to resolve your problem. Please do not kill them.

 
Jesus Angeles
Ranch Hand
Posts: 2107
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ill try some repellant tomorrow, and wipe it around the desk, and the cords.

Pillai, dont worry. I will even build a small pool, so they can visit and cool down, when its hot.
 
author and iconoclast
Posts: 24203
43
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try reasoning with them. Explain how the machine in the next cubicle has tastier insulation, plus your co-workers have better snacks than you. Ants respond very well to logic.
 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe they want to be friends?
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to get to eye level and while retaining eye contact, firmly say "No".
If they continue, squirt them with a water bottle or a tap on the nose with a rolled up news paper.
 
Rancher
Posts: 436
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

John Todd wrote:Maybe they want to be friends?



Like in the song by "The Doors"? ("This is the ant, beautiful friend, This is the ant, my only friend, the ant")
 
Jesus Angeles
Ranch Hand
Posts: 2107
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ernest Friedman-Hill
Try reasoning with them. Explain how the machine in the next cubicle has tastier insulation, plus your co-workers have better snacks than you. Ants respond very well to logic.



Thanks for the warning Ernest (just in case you become my cubicle neighbor).

John Todd
Maybe they want to be friends?



No facebook account, no friends!

David O'Meara
If they continue, squirt them with a water bottle or a tap on the nose with a rolled up news paper.



I attempted that, but he grabbed the newspaper with one hand (or was it a foot), and threw the newspaper out of the house, with me holding on at the other end of the newspaper.
 
Marshal
Posts: 67343
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

He's just trying to Facebook his friends. All 1,257,809 of them.
 
Saurabh Pillai
Ranch Hand
Posts: 541
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jesus Angeles wrote:Ill try some repellant tomorrow, and wipe it around the desk, and the cords.

Pillai, dont worry. I will even build a small pool, so they can visit and cool down, when its hot.



That is funny. but I was serious on my post. You can check WHY actually they visit your desk?
 
Rancher
Posts: 4686
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Saurabh Pillai wrote: You can check WHY actually they visit your desk?


There is nothing to you can do prevent a few random ants from visiting your computer as they forage for food.

If there is a constant line of ants going to your computer, clean it out, remove the "ant food".

And quit eating at your desk. It attracts varmints, and is bad for your mental health. Get up, walk somewhere else, eat and look out a window.
 
Jesus Angeles
Ranch Hand
Posts: 2107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Bear Bibeault wrote:
He's just trying to Facebook his friends. All 1,257,809 of them.



No, the one harassing me is a loner, and he carries an 10-year old Nokia.
 
Marshal
Posts: 67515
257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

David O'Meara wrote: . . . dip the cords under this moat . . .

Some people have already seen this link.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:Some people have already seen this link.


I hadn't seen that. It's most excellent. Water inside the cable!

back to the initial problem: have you tried offering them their own server?
I wondering if having their own hardware and workspace will keep them from encroaching yours.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
 
author
Posts: 8998
19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
give them (the ants), a list of chores to do?
 
Jesus Angeles
Ranch Hand
Posts: 2107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Pat Farrell wrote:

Saurabh Pillai wrote: You can check WHY actually they visit your desk?


There is nothing to you can do prevent a few random ants from visiting your computer as they forage for food.

If there is a constant line of ants going to your computer, clean it out, remove the "ant food".

And quit eating at your desk. It attracts varmints, and is bad for your mental health. Get up, walk somewhere else, eat and look out a window.




Hi Pat,

Why is it bad to eat at desk, for mental health? Please answer quickly, while there's still something left on my brain. But seriously, why did you say so? Any research on it?
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jesus Angeles wrote:
Hi Pat,

Why is it bad to eat at desk, for mental health? Please answer quickly, while there's still something left on my brain. But seriously, why did you say so? Any research on it?



I'm not Pat (obviously!) but I guess it's because eating diverts blood from the brain to the digestive system.
http://healthmad.com/home-health/avoid-sleepiness-during-the-day-by-eating-less/

What works for fruit flies should work for ants. Feed them a heavy, carbohydrate-rich lunch and they should take a nap, leaving you free to get on with your programming.
 
Bear Bibeault
Marshal
Posts: 67343
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it's this ant, just let him have the computer.


 
Jesus Angeles
Ranch Hand
Posts: 2107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Bear Bibeault wrote:If it's this ant, just let him have the computer.




This needs bigger weapons - 1000 packs of mentos, and 1000 liters of coke.

If that doesnt fix him, you have to teach us, Bear, on how to blow up tanks.
 
Darryl Burke
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bears and ants are sworn enemies, both love the same honey.

Actually, she's crazy about The Moose, but they don't know that!
 
Ernest Friedman-Hill
author and iconoclast
Posts: 24203
43
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jesus Angeles wrote:

Why is it bad to eat at desk, for mental health?



I'm not Pat either (nobody is) but I suspect he meant that taking lunch at your desk -- sitting at your desk all day without a break -- is bad for your mental health.
 
Pat Farrell
Rancher
Posts: 4686
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jesus Angeles wrote:Why is it bad to eat at desk, for mental health? Please answer quickly, while there's still something left of my brain.


Serious programming is mentally taxing. It is bad for your mental health to do it for 8, 10, 12 hours straight, day in and day out.

When I am debugging some hairy mess, sometimes it takes me a couple of hours to get my brain in the space of the problem. So working 4 hours or so at a time is most productive for me. But you need breaks.

Get away from your desk. Go eat outside, play some Foosball or frisbee. Have a beer, have sex, anything, get away from the computer.
 
Hauke Ingmar Schmidt
Rancher
Posts: 436
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nah, I hate 3D stuff. It gives me a headache.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and the book is usually better anyway.
 
Jesus Angeles
Ranch Hand
Posts: 2107
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Pat Farrell wrote:

Jesus Angeles wrote:Why is it bad to eat at desk, for mental health? Please answer quickly, while there's still something left of my brain.


Serious programming is mentally taxing. It is bad for your mental health to do it for 8, 10, 12 hours straight, day in and day out.

When I am debugging some hairy mess, sometimes it takes me a couple of hours to get my brain in the space of the problem. So working 4 hours or so at a time is most productive for me. But you need breaks.

Get away from your desk. Go eat outside, play some Foosball or frisbee. Have a beer, have sex, anything, get away from the computer.



I totally agree. Our mental health is our fundamental asset in this industry. I would say the same guidelines to my son, with a small addition - 'and son, do as I tell you, not as I do'.
 
Rancher
Posts: 3419
34
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm, a plague of ants just got me a first date with an attractive neighbor, because I got to come over and heroically rescue her by killing a bunch of ants on the ceiling. (She was too short to reach them.) So right now, I think ants are great. The world needs more ants. Bring 'em on.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Be careful that you don't hand feed them or they become domesticated and are unable to fend for themselves in the wild.
(this refers to both ants and first dates)
 
Mike Simmons
Rancher
Posts: 3419
34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first date seems able to fend for herself. It may require more than one feeding to domesticate her. I'll work on it though.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe it's just ants then.
 
Get me the mayor's office! I need to tell him about this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!