- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
And college students on break who worked only from May to September? They wouldn't be in last year's backup or this year's current.
Admin
Take the backup in July, then you're bound to get all of the seasonal workers.
What is your business, by the way? I can offer more personalised advice if I know stuff like the number of employee hours worked per 21 days
Admin
So, the "solution" is to compare backups taken all year long to find all the employees that have ever worked at the company but are not currentyly active? Hmmmm...... I see where TRWTF is here.....
Admin
Actually, that's not my preferred option. I would have a delete trigger on the HR table to insert a record into a new deleted users table, probably in a separate database to prevent bloating the main data store. A delete from this table would only need to happen if the employee is discovered to have been an undercover policeman or other undesirable
Admin
In which case you would you use a different type of trigger
Admin
:rimshot:
Admin
*chortles* You know, some of us work for companies who have their own private, fully-sworn police forces...
Admin
A real company, or Amtrak?
Admin
The US Class I freight railroads maintain their own sworn police forces...
Admin
So, a real company.
Admin
But is Class I the lowest, shittiest class? Or the best class!?
EDIT: also the dinky local transit system here has its own police force, as did the small university I attended. Not very impressive, frankly.
Admin
Class I are the biggest, in terms of revenue: http://en.wikipedia.org/wiki/Railroad_classes#Classes
The primary purpose, AFAIK, of railroad cops is to chase away trespassers, or arrest them if necessary. I'm not sure what, if any, other purpose they have. However, they have been known to overstep their bounds an harass people observing train operations from public property, especially train buffs taking pictures. People like that raving lunatic in the video that was posted here (Bad Ideas topic?) a while back.
Admin
I suppose this thread was on track to get derailed.
Admin
I presume they began as ways to keep the unions from messing with the mail.
Admin
I was a freight it might
Admin
:rimshot:
Admin
Or to prevent train robberies.
http://img2.wikia.nocookie.net/_cb20120813055006/breakingbad/images/4/42/5x5_Dead_Freight(02).jpg
Admin
But robbing / impeding the mail is why the Feds would care enough to give them actual police power.
Admin
Good point, but that depends on whether they are empowered by the Feds or by the individual states. I don't know that.
Admin
http://en.wikipedia.org/wiki/Railroad_police#United_States
Admin
They do deal with trespassers quite a bit, yes -- hobos are a far uglier bunch than the books of yore lead you to believe. They also interface with other law enforcement agencies (state, local, tribal) regarding a variety of issues, from trespassers to parade floats and oversized loads.
Just stay clear of the RR ROW, and all's fine in my book -- main problem is that the ROW isn't all that clearly delineated in most parts of the US, unlike the UK which fenced all their railroads in.Admin
The UK's really fond of fences, so our railroads are too…
Admin
Apparently they're not. At least one drunk managed to find one that wasn't and so his family are demanding that all the ones that aren't fenced in, be so. Because.
Commentary:
http://thylacosmilus.blogspot.co.uk/2015/03/well-i-bloody-wouldnt.html
Original "all must suffer and pay because of one idiot" article:
http://www.dailyecho.co.uk/news/11823004.Devastated_family_of_tragic_train_death_footballer_launch_rail_safety_petition/
Said the deseased's sister:
I'm betting it wouldn't have.
This post wouldn't have been better off in the Bad Ideas Thread.
Admin
Admin
Unfortunately, not all the cops in the field share your viewpoint. I've read of people standing on public sidewalks being harassed and told it was illegal to take pictures of trains because **scary terrorists**.
Admin
I once used a database that had a built-in string-valued pseudocolumn called
ROWID
which performed three functions:A typical
DELETE
statement therefore looked likeAdmin
String valued? WAT?
Admin
Oracle ROWIDs are stringy in nature, but are their own type...perhaps these pseduo-ROWIDs are base64ed somethings? (Which is what Oracle's ROWIDs look like, too)
Admin
Yeah, ROWID sounds like oracle