- 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
That's just mean spirited, couldn't you just sentence him to death?
Admin
I dub you sir abarker the irony-challenged.
Admin
No.
Admin
Too late:
Admin
There's a great clip from Phineas and Ferb of Doofenshmirtz stopping Perry and going "Whoa, whoa, whoa, whoa, WHOA!". It's another one I haven't been able to find on YT, but if I could, it would fit either after your or abarker's post.
Actually DF's not even all that bad. I even bought the obvious ripoff on Steam when it was Early Access or otherwise on sale, although it was so unfinished the time you couldn't really do much. In one game, one fo the first things one of my gnomes made was a legendary chair. I might have a screenshot at home.
Admin
Titles are generally "multiples allowed".
Admin
Tell that to Discourse.
Admin
Admin
By "generally" I was acknowledging Discourse lack of this feature.
Hey, @codinghorror, we should be able to select multiple titles, and then a dropdown would appear in posts where the titles go so people can peruse at their leisure.
Admin
What? There's some pretty deep Transport Tycoon-type play there, for example. And really, who doesn't want to simulate moving all those rocks and stuff into stockpiles?
Admin
:wave:
Admin
Fortunately for you, it's optional. You can let your dwarves stumble over the rubble filling the fortress, you heartless etc.
Admin
How about this:
:wave:
Admin
In Lubar Milwaukee, Fortress dwarfs you.
Admin
If I had time for games any more, it's something I would definitely check out.
Admin
oh, it's early.
/me heads for the bomb shelter and locks the door so no one else can get in.
:smiling_imp:
Admin
http://steamcommunity.com/broadcast/watch/76561198013565588
Admin
I'm not signing in to watch a video, but why the hell was the page in (I assume) Portuguese?
Admin
You have to sign in to watch those? It was just me playing Dwarf Fortress with no audio.
Admin
Here, have an @ben_lubar-sized screenshot:
[image]That's what I get when I click your link.
Also, I see someone fixed Discurse so it shrinks you-sized images.
Admin
Steam's site is somehow foul at Geolocation. Whenever I go to the site it's in Polish.
Admin
You have to sign in for everything at steamcommunity.com, IIRC. It's just steampowered.com that's open to all.
Admin
It seems to just be the broadcasting stuff that requires logging in. The screenshots don't: http://steamcommunity.com/id/nightgunner5/screenshots/?appid=72850
Any link on this page does: http://steamcommunity.com/?subsection=broadcasts
Admin
Admin
They could also add
sleep(1e20);
to their page and take down everyone else's websites.Admin
or producing and consuming a JSON string out of a single query?
It is just somewhat possible that the entire page is either cached (so no database call needed) or plain old static HTML (not very likely for a design company, these guys like to build CMSs into their CMSs), but even then you could also just cache / plain-text a string response. Adding all that markup and especially parsing all that markup is a bugger of an overhead, worse even than using XML. And they do it on each and every page-view.
Worse, there is apparently no clean way to handle failure; what if the company's website is offline? All their client sites will display errors, or at the very best fail to display the designer's credits.
I agree that having a controllable list of which clients can refer back to you is a sensible idea, albeit a somewhat paranoid one. But there are proper ways of inserting rarely-changing external data into your site, and scraping a whole website on every page-view is not one of them.
Admin
:imp: :bulb: :arrow_upper_right: :repeat_one: :up: :arrow_heading_down:
Admin
It doesn't have to be that complicated. I'm envisioning something as simple as a set of <div>s with a company name in each. if your company is there, spit out this string. If it's not, don't.
It's a little more reliable to parse very basic HTML than plain text would be because you can use many tools that understand HTML to manipulate and validate it and you don't have as much worry about delimiters getting confused (unless a company's name has <div> or </div> in it...) And they don't care about parsing overhead because that's their client's site's server's problem. Making it the client's problem saves the designer maintaining a database and/or exposing an existing one to more query traffic. If there's a low-cost cache between them and the client, they don't even have to care much about their own server bandwidth.
Most likely the latter, and arguably that's a feature: if you're a web designer and your site is offline, you certainly don't want to call attention to it.
It's a little unusual, but it's not so wacky that I automatically go "there's no way in which that is a right or acceptable solution" (however, I suspect I would find the code archaeology of how it came to be, fascinating). And it's probably not that much data to scrape and not that complex to parse. You can fit a lot of company names into a 1500-byte packet's payload.
The real issue here is they are using untrustworthy client-side validation -- but since anybody with the technical skills to make changes presumably wants credit for them, that's probably more of a theoretical problem than otherwise. I have a hard time imagining a former client, even an ill-treated one, deliberately botching up their website and placing a static credit to a design firm they're no longer on good terms with on it, just for spite.
Admin
You mean catching the ones that are not merely garden-variety hanging offenses, such as anyone might commit on an off day, but full-fledged hanged-by-the-neck-until-dead offenses?
Admin
Are you suggesting that some hanging offenses, you cut the person down while they're still alive?
Admin
well, how else would Moist von Lipwig have gotten his job?
Admin
Admin
I did spot, after I took the screenshot, a "change language" dropdown at the top of the page.
Admin
There's probably 2 or 3 ways of doing that without resorting to a page scraping script. If you don't want database lookups or scripts, then create a bunch of static HTML/text files with the client's customer ID as the name and embed those.
Admin
Sure, historically there is a reason for the "until dead" line. It only takes one broken rope and one clever lawyer. But that was, ahem, not exactly my point.
Admin
Promises, promises.... Also, I'm going to say "I was just taking the joke and making my own."
Were you suggesting there's no such thing as "above-and-beyond" pendantry? I just re-read what you wrote and I can't think of any other explanation.
Admin
Yes, so then they get to enjoy the things you do to them afterwards, like dragging their entrails out with a hook, cutting pieces like hands off them, or burning them a little. Do you have no imagination?
Admin
In Soviet Society, Computer Reads YOU!
Admin
That's a big assumption.
Admin
Admin
https://www.youtube.com/watch?gl=BE&v=2ImZTwYwCug
Admin
TDWTFTFY
Edit: HTML better n00b
Admin
me?
sorry, i was abusing discourses habit of auto closing open tags at the end of a post.
Admin
No, me. My edit was to improve my HTML after I looked at the source for your post. :)
Admin
http://en.wikipedia.org/wiki/Hanged,_drawn_and_quartered
Admin
To hang someone without killing them, AIUI, takes a bit of effort, because you have to place the knot right so that it doesn't break the neck.
Admin
You have it backwards. You need to drop someone far enough to break their neck if you want to kill them quickly. That's the purpose of the modern gallows.
If you want it to take a while, don't drop them at all, just hoist them by the neck.
Admin
AIUI, not really — a sufficiently short drop will not break the neck, pretty much regardless of knot placement. Rather, it will leave the person dangling while the rope obstructs their ability to breathe. Breaking the neck with a short drop does require careful knot placement — in a place never, ever seen in any movie hanging, directly in front of the face, snapping the head backward.
As @another_sam posted more quickly than I did, a long drop will break the neck with much less careful knot placement, but a drop sufficient to assure breaking the neck without worrying about knot placement runs the risk of ripping the neck in two — effective, but messy.
Admin
Admin
You must be new here.