Derp! Nevermind then...
Posts made by PSWorx
-
RE: Not So Friendly Greeting on Wikipedia
I'm not an expert of Wikipedia, but is it normal for trolls to have a whole category dedicated to their sockpuppets?
-
RE: Quite a stack
Don't miss our newest addition: Wild, untamed, uncontrolled recursion... Watch big ... messy ... functions that just don't know when to stop ...
See how they go deeper ... deeper ... deeper than you'd ever imagined...
Limited offer, this week only. You know you want it. -
RE: What's the easiest way to create a formatted report
Depends about your definition of "nice-looking". If you don't need fancy graphics, how about LaTeX for layout and tables and gnuplot for plots?
Btw, which programs did the guy who put together the report manually use? -
Windows 8, Backups and Samba
I've recently installed the Windows 8 Release Preview and am currently trying to wrap my head around a problem with the integrated backup feature - despite intense googling, I'm stuck, so I'm hope you could maybe help me.
Windows 7 provides an option to automatically copy a backup of the system and your personal files to an external hard drive or a network share (in fact, it'll regularly give you reminders to set this up if you didn't do it yet) - This has apparently been kept in windows 8 without many changes.
I'm using an ubuntu linux server with samba as a personal network share and tried to use it as a backup target. However, when I tried to actually do the backup, it failed some minutes in with the error "The version does not support this version of the file format".
Some quick googling turned up that this seems to be a pretty common error with an easy fix: So I followed the instructions here and added the appropiate line to the smb.conf on the linux box.
However, instead of solving the problem, I now get a different error message: "The validation information class requested was invalid" (code 0x80070544)
Before the change, I could at least select my samba box as a backup target and start the backup. Now, I cannot even select the box anymore - it will tell me the network location is invalid with above code in the details view.
Weirdly, I can connect to the share just fine - view/copy files, map network drives, etc - the only thing that does not work is doing backups.
Interestingly, the new error message stays even after I've removed the new entry from the smb.conf file again. It looks as if there is some kind of caching going on.
So, my questions would be:
- Does anyone of you have any experience with windows backup and Samba? Has any of you seen this particular error message before?
- Do you know how I could clear information about previously opened Netbios shares? (I've already tried "net use /delete", but it tolds me there weren't any shares to delete)
- Lastly, is there a way I can clear that annoying action center message about setting up a backup? If this won't work it would at least be nice to not always get annoying reminders.
Thanks for your help! -
RE: Google Translate is scaring me
German translation: "Fischers Fritz fischt frische Fische" (a common tongue twister)...
-
RE: Game Launchers, amirite?
@nexekho said:
@blakeyrat said:
Monitor frequencies? Seriously?
Yes, seriously. My left monitor only does its native resolution at 59Hz. Not 60. Not 50. Not 75. 59. Many programs ignore this and default to 60 without asking which causes the monitor to blank, making it impossible to change back without a Bethesda style launcher or poking around in config files. Bought less than two years ago.You should sell those things to corporations and advertise them as purposefully incompatible with 80% of all games. Imagine the productivity gain!
-
RE: ... In practice, though...
@superjer said:
I find it interesting that we ARE sure enough it won't be reached to go ahead and skip handling or logging the error, but NOT sure enough to just leave out the try-catch altogether.
I feel like that's some negative middle ground.
Like, I can't decide whether to turn left or right at the end of the street, so I'll just drive into the ocean.
There are some valid use-cases for this pattern, at least in java.
Specifically, when checked exceptions meet the Decorator pattern, pointless things like this are often the result.
Suppose you have an interface Foo with a method that can throw the checked exception Bar. Your actual implementing class FooImpl, however, never throws Bar - in fact, it even has it removed from the throws clause, which is legal in java.
Sadly, though, you're not directly working with FooImpl, but with FooDecorator, a decorator that can wrap arbitrary instances of Foo and itself implements Foo, too. That decorator has no idea if its inner Foo instance throws Bar or not, so it has to declare Bar in its throws clause - and you somehow have to catch it, even though FooImpl couldn't even throw it if it wanted to.
If you prefer practice instead of theory (u c my great pun?), replace Foo with InputStream, FooImpl with ByteArrayInputStream and Bar with IOException. -
RE: Singleton Shopping Cart
@Jaime said:
A developer parted ways with my company last week. His explanation for the separation was "You obviously need someone with Architecture experience, I'm only a senior developer".
To his credit, he quitted himself before you needed to fire them. -
RE: News Flash: Firefox still stupid; Firefox support people also stupid
@blakeyrat said:
BTW I actually looked it up, and the two incompatible add-ons are: FiddlerHook 2.3.4.4 and Java Console 6.0.26. So Firefox didn't break Firebug by updating, it "only" broke Java and Fiddler. Brilliant. But hey, there's a Justin Bieber theme!
I think the FF guys are using some messed up version of the 80/20 rule as development baseline. "If the stuff 80% of people use, works 20% of the time, we're good to go".Firebug was indeed compatible, so I guess the Real WTF was me in this case.
-
RE: News Flash: Firefox still stupid; Firefox support people also stupid
@nexekho said:
Yes, but only in ~140 byte chunks.
So it's actually more of a blakeymutter and not a full-fledged blakeyrant. -
RE: Wait for the contractor...
@Weng said:
What we did notice is that all network access except the time-wasting Internet kind has become dog-assed slow.
And that's a problem how? -
RE: Why do we need logins?
Why are you creating two different versions of the software? You should just add an URL switch that enables the admin functions. Like... oh, I dunno... &admin=true.
-
RE: Autodesk Softimage Mod Tool brings the rageface
@blakeyrat said:
Ever notice it's always 1000 years? Never, say, 814 years? Or 1423 years? One of the few cliches Friendship Is Magic didn't lampshade.
I guess even omnipotent god-queens prefer numbers that are easily to be remembered and sound reasonably dramatic. Though if they adapt the show to the new target demographic, the next banishment will probably last for 1024 years. -
RE: Autodesk Softimage Mod Tool brings the rageface
@blakeyrat said:
Did you know JDownloader was Java before linking me to it? Because I'm pretty sure adding Java to my system will increase the WTF, not reduce it. (I only have it installed at work because we need it for some intranet tools.)
The "J" in "JDownloader" could have given you a hint. ;)
Yes, it uses a proprietary UI framework which throws all conventions of the host UI out of the window and, yes, it sometimes has the trademark slow, bloated "Java" feeling to it.
HOWEVER, I like it because some if it's non-standard UI descisions are actually pretty well-thought-out and handy - like the "URL grabber" for adding a large number of download links at once. It also supports an absurd number of once-click-hosting sites, in case you ever need to download, uh, technical documentation from them. And it usually does something reasonable even when faced with absurd server responses - even if it's just "wait 30 sec, then reconnect and pick up where you left off using HTTP partial content".
@mahlerrd said:At least the first time through - five year olds have a fantastically higher threshold for watching the same show over and over again. And over again.
That could be applied to the average brony as well - if I remember correctly, some guy added up all the viewing statistics on youtube and found that the overall time spent watching the MLP:FIM episodes (by all viewers together), was something around 1000 years*. Not bad for a show that's only out for the better part of a year.
(*Which, incidentally, is also the exact amount of time princess Luna had to spend in banishment on the moon.) -
RE: Autodesk Softimage Mod Tool brings the rageface
@Cad Delworth said:
That 'My Little Pony' window worries me, though: I never realised until now that Blakey is actually a 9 year old girl with a potty mouth. Either that, or he's VERY gay.
We had about 4 or 5 MLP derails during the last weeks and at least two threads dedicated solely to them and you're noticing that NOW? -
RE: Autodesk Softimage Mod Tool brings the rageface
At this point I honestly thought I must be going crazy. How could anybody get HTTP wrong? I mean, how is that even possible? Every time you click download, the website gives you a randomly-sized (never the full 445 MB) file then tells the browser the download's finished. You can't tell the browser to resume the download because, hey, AFAIK the file's fucking done! Crazy.
Sounds to me like their HTTP server/load balancer/whatever is broken and randomly closes the connection somewhere in the stream. Due to HTTP-inherent WTFs, this will cause IE, Firefox and, I think, Chrome, too, to believe the file was completed.
Did you try some other download manager of your choice before retreating to akamai's broken one? (shameless plug: JDownloader) -
RE: Oxll
@pjt33 said:
@msntfs said:
Where does the rule about only the JVM throwing RuntimeExceptions come from? IllegalArgumentException is a RuntimeException, for example and you certainly are supposed to throw it.
The intended point, which I agree could have been expressed more clearly, appears to have been that application code should throw subclasses of RuntimeException rather thannew RuntimeException()
.
That doesn't change the fact that catch (Exception e) {} will catch raw RuntimeExceptions, too.
Now if your guys really start to subclass Throwable on the other hand... -
RE: NOT NULL
@Mole said:
We have a sql table with various columns NOT NULL, to ensure they contain at least something.
And now they contain something. Where is your problem? -
RE: HtmlBehind
@dhromed said:
Of course, the whole separation of presenation/business/data is an ideal that can be approached but never fully reached because the world is imperfect etc, but seriously, HtmlWriterElementOutputterTag() and the specific html-tag classes like Table and its subsidiaries really need to die in a bright fire with the intensity of a hot proton soup the weight of a million compacted suns.
Well, there are a few use-cases that you can't really cover with templates/widgets. In particular, suppose you want to write a forum, where people can submit HTML-formatted posts. You'd have to build some pretty complex logic to assemble all the formatting out of widgets - or you can just clean(!) the user's HTML and output it straight away. -
RE: Rightmove email address confirmation
It's a result of the annual come-together of the "It worked for passwords and emails are just as important as passwords, so it must work for emails, too" school of logical thinking with the "If the user doesn't do what you want, you didn't apply enough force" school of UI design.
Next step will be a box where you have to draw your email adress. Twice. -
RE: English length units
So a mile is exactly 91238400 twips! Thanks, I always wondered about that!
-
RE: Profile editing
[quote user="Renan "C#" Sousa"]
Is there anyway to change your nickname in Community Server? I've been looking into the profile editing page here and it seems I can't change mine into something shorter.
[/quote]Renan "C" Sousa?
-
Looking for a good CMS
Hey everyone,
soo, I know I should know better but I let myself get dragged into doing web administration for some relatives again. (Yes, I'm the "guy who knows about computers".)I've made it clear to them though that I'll only set up the site for them and that I don't plan this to become a neverending story. The basic idea is that I'll install a content management system for them and they will then manage the site on their own using the fancy CMS UI.
It's been a while since I've done active web development though. (=not just playing around with HTML5) and I haven't really kept track of which products all the cool kids are using these days. (except jQuery of course)
So, I wanted to ask you guys if you could recommend me a good CMS to use. Requirements are as follows:- A blog
- A gallery section
- A guestbook (optional)
- One of them is a graphical designer who has done web design before using WYSIWYG editors. They'll want to change the look-and-feel of the site. (This will be their job, not mine). So a skin/template system would be good, some UI controls even better.
- (As a matter of personal dignity): Generated HTML should be at least Web 1.9 compliant.
- Platform will likely be PHP+(My)SQL though this could be changed.
- The software should be free.
So far I've thought about using Joomla or Typo3 though I've not really worked much with them yet. Does anyone of you have any experience with them or can tell me praise or horror stories about them? Or do you know something better? I'd be grateful for help in any case.
(Only condition: I'll NOT use anything that has "Nuke" in it's name. I've used phpNuke once and the experience was traumatic enough this one time.)
-
RE: I am TRWTF
So... are those varargs or does ElementParser's constructor really take 72 arguments?
-
RE: MAC Clone is Not My Friend
@thistooshallpass said:
Well at the time I asked the same question on usenet, and was told that it does not matter to have the same MAC on the NICs since "usually" then end up on different networks...
I've long since had the opinion that "usually" is one of the most dangerous words that can come out of the mouth of a software designer or spec author. -
RE: MAC Clone is Not My Friend
@dtech said:
@PSWorx said:
@mikedjames said:
... but every time I plugged in the cable the wireless slowed down to a total crawl despite good connection speeds.
Why did it slow down to a crawl? Shouldn't it have stopped working at all if your switch sent all return packets to the laptop? Or was its default behavior when seeing the same MAC on two different ports "just choose a random port for each packet"?
I think two possibilities:
- Switch somehow changed to broadcast mode for that mac (e.g. because it detected duplicate mac adresses)
- Box bounced packets back to switch who then figures that a packet shouldn't be sent back to the receiving port but instead should be broadcasted/sent to the right port
Altough both seem unlikely...
Third possibillity (which I just realized) :
The switch was configured to overwrite its MAC -> Port mapping each time it saw an incoming packet with that MAC. So with both the router and the laptop sending packets to the switch, which ever device had sent the last packet got all the replies (until the other device sent the next packet).
Does that make any sense or is it utterly stupid? -
RE: MAC Clone is Not My Friend
@mikedjames said:
... but every time I plugged in the cable the wireless slowed down to a total crawl despite good connection speeds.
Why did it slow down to a crawl? Shouldn't it have stopped working at all if your switch sent all return packets to the laptop? Or was its default behavior when seeing the same MAC on two different ports "just choose a random port for each packet"?
-
RE: T-SQL storing URLs
@locallunatic said:
@blakeyrat said:
@boomzilla said:
FTFYselect 'AWESOME! HOW MANY WILL THIS POST GET RID OF? BECAUSE CATS ARE TRWTF.'
Guess which part is NOT in all-caps?
-
RE: The $9,500 DVD
@KrakenLover said:
So that physical DVD would effectively cost customers $9,500 (plus shipping) on top of the $500 for the software itself.
@KrakenLover said:
TRWTF, however, is that all of our customers so far have only purchased the DVD version.
So, that's how the corporate world works?
Please excuse me a moment while I make gazillions of money.
-
RE: Abyss Web Server?
The server is OK for what I know. Though I mostly know it as a small and easily to configure web server you can install on your PC if you e.g. want to play around with DynDNS in your free time. I haven't heard of it actually being used in corporate settings.
Sounds exactly like the kind of thing the nephew-who-knows-about-computers would install.
-
RE: Comments found on the internet
@some nutter said:
Blogs were not the violent trigger for Bleivik; it has been confirmed Bleivik trained on ultra violent games like "World of Warcraft".
I heard he also consumed high doses of dihydrogen monoxide on a daily basis. So do trainees for the US special forces, btw. It all adds up, I'm telling you, it all adds up!This is the same kill game the US military uses to dehumanize US soldiers before sending them into combat.
Injecting steroids + World of Warcraft is the same combination used by the US military; this is how they prepare in their FOB´s before hitting the pavements of Iraq and Afghanistan.
-
RE: Grabbing a window title bar
@blakeyrat said:
@PSWorx said:
Pardon, what OS are we talking about?
Glad you asked, I'm confused too. There is about 1 pixel of title bar in Windows you can use to resize a window, but... it's really hard to believe you could grab it by accident when trying to grab the title bar.
My bet goes to QWOP OS.
-
History of user agent strings
I know it's from 2008, but it's still funny. (And, sadly, still accurate)
-
RE: Because I'm a web developer
Google does it too, so this obviously can't be an antipattern but must be a new technique so ingenious our tiny little minds cannot grasp it yet.
Couldn't you actually use that to your advantage though? How about, instead of digging through the code, separate the two components into an actual client/server application, then sniff the communication that goes on between them. With some luck (ok, I'm probably being naive here), you could reuse the "server" and just throw away the "client".
-
HTML5 showing surprising honesty
How often do you read this in a specification?
-
RE: High Five
If you swallow your dignity and actually click on one of the "order" buttons, the list of available messages does explain more things than it was supposed to.
I particularly like :
"I Miss You Very Much"
"Celebrity Encourages You To Study"
"Thanks For Being A Great Boss"
"Thanks for Allowing Me To Be Your Sales Representative".
-
RE: Http_printf( pHttpHandle, "<span><script type='text/javascript' language='javascript'>document.write(ReplaceUnderscores('%s'));</script></span>", visit->name );
@blakeyrat said:
document.write() is still a bad idea, regardless of what version of HTML you're using.
I know you shouldn't use it after the page has finished loading, unless you like ending up in the twilight zone of browser incompatibillities. And you can catch an XSS vulnerabillity if you behave exceptionally stupid (you can do that with innerHTML too, though). But both problems can be easily avoided. Why else should you not use it?
(Disclaimer: Of course when ever you CAN use standard DOM methods, you should prefer them. But as you said, there are a number of things that either can't be done via DOM or would be very inefficient. So for those situations, I'd see it as a valid tool.)
-
RE: Http_printf( pHttpHandle, "<span><script type='text/javascript' language='javascript'>document.write(ReplaceUnderscores('%s'));</script></span>", visit->name );
@Daid said:
Using document.write javascript...
Actually, I think this has been officially un-deprecated with the advent of HTML5.
From what I know, it was discouraged when we all were supposed to switch to XHTML, because it obviously doesn't work with any sane method of XML parsing.
HTML5 didn't bother with restricting itself to sane parsing methods and directly integrated it into the parsing process. This has the fun side effect that you can write HTML5 documents which are theoretically un-validateable due to the halting problem. But for all practical purposes, it means that it's a perfectly valid - and specced - way to generate HTML.
-
RE: Reversing a several stage string transformation
Well, how essential is the information lost? Could you still reverse the cipher if you just assumed some reasoneable defaults for the irreversible parts? e.g. assume that the original text didn't contain any silent "h" and stuff like that.
Alternatively, do you have any other information about the original text? E.g. if you know the language and vocabulry, you might try to use a dictionary.
If you can't constrain the problem any further, then so far you sound as if your bosses tasked you with developing a perfect speech recognition engine.
-
RE: Pernambuco
So, I take it another requirement was that all the password rules apply for all employees except that PHB?
Another thing:[quote user="Renan "C#" Sousa"]"I have already talked to a security specialist about this, and he says it's much, much safer this way". I love it when they trust random people they've probably met in a bar more than they trust their own devs.[/quote][quote user="Renan "C#" Sousa"]We [...] were still learning most of what we know today. We had just learned about salting hashes...[/quote]I agree that the PHB was an idiot. But I can kind of understand him here..
-
RE: Gimp 2.7.2 Splash Screen
I think mine was "random furry stuff to upset blakey", but I got bored in the process.
Also ponies.
-
RE: Pre-WTF: Help (dear god, help!)
@blakeyrat said:
That's less than a single employee's benefits for a month. (Or if not, damned close.) Your company would have to have pretty fucked-up priorities to consider $500/month for backups some kind of crazy-high expense. For any company big enough to have enough employees to "divvy up" backups on their workstations, it's completely trivial.
Obviously it's peanuts for company budget. But it's probably a bit expensive for employees to pay on their own if they want to put it on the server behind the boss' back. :)