Discuss URL Blocker in the Dev Shed Lounge forum on Dev Shed. URL Blocker Dev Shed Lounge forum discussing anything that doesn't fit into the other forums. This is a place to relax, talk, and even have some friendly debate. Walk softly and carry a big wiffle bat.
Posts: 4,378
Time spent in forums: 1 Month 2 Weeks 2 Days 11 h 5 m 4 sec
Reputation Power: 1509
URL Blocker
Okay, so I've been naughty lately; I've spent too much time perusing the likes of devshed and my rss feeds. I'm looking for some software that will let me specify some url roots and then block them on a schedule so I can mark off certain times as 'work only', keep myself honest, and get back into some better work habits.
It doesn't have to be bulletproof, as I'll be my on own administrator. I trust myself enough not to kill the process , but it should be more difficult to disable than just right clicking on a system tray icon and selecting the correct menu choice, so the work required to get bypass the block is greater than the work required to, well... work.
__________________
Primary Forum: .Net Development
Holy cow, I'm now an ASP.Net MVP!
Posts: 4,378
Time spent in forums: 1 Month 2 Weeks 2 Days 11 h 5 m 4 sec
Reputation Power: 1509
Maybe I'll write my own. My expertise runs to .Net, which isn't so great for the low level stuff like firewalls, but it would be simple enough to write a program that alters the hosts file now and then.
I'm not in trouble... yet. But I am in a situation where I was given a largish 12 week project. A certain amount of time is expected to be lost at the beginning for design work, so it hasn't been a big deal. But I've been lazy, and now find myself 8 weeks in with only 2 weeks worth of work done. Time to take some steps and make sure I can focus or I will be in trouble.
Last edited by f'lar : November 26th, 2007 at 03:53 PM.
Posts: 1,199
Time spent in forums: 1 Month 3 Weeks 10 h 32 m 10 sec
Reputation Power: 177
This ain't sexy, but take it home with you?! [Just until you get caught up again].
Nab the source and a mockup of the DB and get cracking.
I don't know about you but TV generally bores the sh17 out of me.
Posts: 4,378
Time spent in forums: 1 Month 2 Weeks 2 Days 11 h 5 m 4 sec
Reputation Power: 1509
Not an option: it's a medical billing company and taking it home would involve brining patient data home, a major no-no here. I can and will be staying late some, but I can only do so much of that.
Posts: 1,199
Time spent in forums: 1 Month 3 Weeks 10 h 32 m 10 sec
Reputation Power: 177
You can't be using all of the tables all of the time, can you?
Just a mockup of the DB, not the whole thing - and certainly not the contents of it, just the structure.
Posts: 7,652
Time spent in forums: 3 Months 6 Days 1 h 35 m 4 sec
Reputation Power: 6083
Can't you find yourself an open source rss feeder and modify it slightly? I'm sure it wouldn't require much; a list of roots you want to block and something that compares a news feed it's about to show with the roots to see if it should show it or not.
__________________ Chat Server Project & Tutorial | WiFi-remote-control sailboat (building) | Joke Thread
“Rational thinkers deplore the excesses of democracy; it abuses the individual and elevates the mob. The death of Socrates was its finest fruit.”
Use XXX in a comment to flag something that is bogus but works. Use FIXME to flag something that is bogus and broken. Use TODO to leave yourself reminders. Calling a program finished before all these points are checked off is lazy.
-Partial Credit: Sun
If I ask you to redescribe your problem, it's because when you describe issues in detail, you often get a *click* and you suddenly know the solutions.
Ches Koblents
Posts: 6,704
Time spent in forums: 1 Month 6 Days 6 h 45 m 21 sec
Reputation Power: 1235
You could edit your HOSTS file and block certain domains, since you probably don't need to block just specific URLs but entire websites.
Just write a program that can populate your HOST file with entries for what you want to block and cleanse it back to normal when you want.
__________________
- "Cryptographically secure linear feedback shift register based stream ciphers" -- a phrase that'll get any party started.
- Why know the ordinary when you can understand the extraordinary?
- Sponsor my caffeine addiction! (36.70 USD received so far -- Latest donor: Mark Foxvog.)
Posts: 1,303
Time spent in forums: 1 Month 1 Week 1 Day 7 h 48 m 58 sec
Reputation Power: 783
Quote:
Originally Posted by sizablegrin
Sure, Matt, it's tough. That's what separates the performers from the pussies. Don't whine, jump off the fence on one side or the other.
It really depends on the day. I would like to go around holding everyone accountable, but there is that nagging realization that some things are harder for some than for others and that .. relativism does in fact have points to be made.
but yes, today is a 'get your **** together day'. ;0)
Besides, if the OP had really spent the time to 'know thyself' (which perhaps he has) then he could have saved himself the trouble and used his own ingenuity to craft/find his own solution. Like the post about 'Inefficient Efficiency' its sometimes False Laziness and True Laziness that defines who we are.
__________________ Bugs that go away by themselves come back by themselves
Beware - your loyalty will not be rewarded
Last edited by Matt1776 : November 26th, 2007 at 07:31 PM.