An experimental category for Megatopics that grew from the Sidebar
8
Topics
104649
Posts
@Benjamin-Hall said in WTF Bites:
Microservices suck to work with IMX. And the more micro, the worse. I don't mind having several services for different things, but if it takes more than about 2 services to handle a request, yuck.
Microservices are a tool for decoupling things. Having one service back the UI and another for a background data pump or data transform makes sense, as does having a separate service for the admin interface, because then the normal one can have fewer permissions. But if splitting something will leave it tightly coupled, it generally shouldn't be split.
Also if something is tightly coupled, it almost certainly should be built from code in the same repository even if it produces a separate binary that runs separately. Exactly to avoid branch mismatch.
Code Snippet of the Day - self-submissions for code snippets that shouldn't really exist.
304
Topics
11697
Posts
@izzion said in Visual Studio WTfs:
I wouldn't want to be on either side of the bet that Framework 4.8 is going to be available in Windows 12.
I can fairly confidently bet that it won’t be; if it ships with the OS it’ll be 4.8.1 or later.
(It will be… interesting… if they put .NET Framework 4.x on the standalone-component train like 3.5 but not the VB6 runtime.)
Error'd - features fun error messages and other visual oddities from the world of IT.
468
Topics
11434
Posts
@BernieTheBernie said in Error'd Bites:
@boomzilla That's merely a little mix-up of Big Endian and Little Endian.
It's just the latest standard™. After slot, tri-point, Philips, Pentalobe, Allen, double-square and 12-point, behold: the InfiLobe!
[quote user="An apprentice"]What's wrong with an operator having several wildly different meanings, depending on context? Most VB-bashing people seem to have no problems with <<, *, () overloaded:
cout << *f(1)*(2 << 3);[/quote]
It's fine for the same symbol to have two meanings, one monadic and one dyadic (or unary and binary, or whatever the correct jargon is). Personally, I don't like the overloading of << to do different things, but you can see what it's going to do by looking at its arguments. That is, cout << "xx" will always do the same thing. The WTF with the VB approach is that SomeName = 5 does different things depending on factors outside the expression (i.e. whether there is another = to the left of it).
On the name of the ?: thingy: tertiary makes no sense at all. That just means 'third'. Ternary isn't great either (it just means 'taking three arguments') but at least it is correct, and (currently) sufficient to determine what you're talking about as no other operation takes three arguments.
[quote user="viraptor"][quote user="schmads"]what kind of name+ending email addresses can you use?[/quote]It's gmail-only feature, but I think they'll make some sendmail / postfix plugins soon.PS - first reply is right - "+" is standard, "." is gmail specific. [/quote]Address
extensions have been a standard postfix feature for years (and I'd
assume sendmail, though I don't know for certain), so no plugin is
required. Postfix allows one extension character (defaults to "+" but
you can change it), and the option can be disabled so not all postfix
servers will support it. You'd have to check your email provider to see.
An "internal" rule that causes the input array t be build in a special way (by "Humans") and this is the 1st time that caused the array to be build in "another" way since the order of the array elements also has a speciffic meaning... (Cant say more or my customer might find me :) ) But if you know other parts of the code, then this is only a minor WTF ;) I already have another post in this section that explains the DB performance of this application (Condensed Version: 400.000+ SQL Statements to insert 10 rows of data into a small table)
[quote user="chaosite"]Not a WTF, its perfectly sane behaviour (it would be a WTF if popping up a tooltip required traversal of all subfolders)[/quote]Would this still be the case if WinFS had been implemented?
[quote user="triso"][quote user="AliceInDilbertLand"]
<font face="Gill Sans MT" size="2">...This is an “Employee Only” event. (no spouses, significant others, pets, children, etc.)</font>
[/quote]<font size="+1">P</font>eople without children often treat their pets as children, buying them expensive gifts, giving them their own bedroom and taking excessive amounts of pictures.ps: I mean pets as dog or cat not goats or other farm animals. [/quote]Excessive amounts of pictures? Who are you to judge? I do not own any pets but I know people who fawn over their pets quite a bit; it seems a little strange to me but why judge them like that? If that's what they enjoy and that's what they want to do with their life, I say more power to them.People are so interested in making sure everyone else enjoys exactly the same things and the correct amount of enjoyment as everyone else; it's sickening.Personally, it looks like you do an excessive amount of judging of others.sincerely,Richard Nixon
very sad, but I am not surprised how many people don't realise a command-line is an interface to a program. You're not talking directly to the operating system.
All that WTF processing, and not even a check for "../". Which is usually one of the points of filtering filenames, make sure nothing evil will happen on write...
[quote user="joe.edwards@imaginuity.com"][quote user="newfweiler"] Magic GUIDs in themselves are no problem, as long as you generate a new GUID for every purpose. They are supposed to be unique, after all. You can generate one and use it as a magic CLSID, knowing that no class will ever have that GUID for a CLSID. You can use them to represent concepts or to Gödel-number everything in the universe.The hard part is convincing your manager that 9E1C85DE-AE96-4072-B1CE-F20CE5618CA1 is unique in all the world, but 00000000-0000-0000-0000-000000000000 may not be. The latter just LOOKS unique! The former doesn't look unique at all.Oh, yes, and my favorite prime number is 57. Well, it certainly LOOKS prime, doesn't it?[/quote]Maybe I'm missing the <irony /> tags, but don't you have your latters and formers reversed?[/quote]The last sentence about 57 being prime should have the irony tag. As for looking unique, 9E1C85DE-AE96-4072-B1CE-F20CE5618CA1 looks a lot like 9E1C85DE-AE96-4072-B1CF-F20CE5618CA1 and 9E1C85DE-AE96-4072-B1CE-420CE5618CA1. But 00000000-0000-0000-0000-000000000000 looks like no other GUID.People who do not know mathematics or programming use a slightly different definition for the word "unique." As with "perfect" and "equal" and "random", it has degrees. <ironyIntended>"Some animals are more equal than others."</ironyIntended> <noIronyIntended>"We the People of the United States of America, in order to form a more perfect Union...."</noIronyIntended> Each of the Bush twins is unique, but there are two of them, so neither of them is as unique as Caroline Kennedy. So the all-zero GUID is (or looks) more unique (and less random) than a GUID that looks just like all the others.
[quote user="Tann San"]Didn't/doesn't Quake4 require you to purchase the Windows edition....[/quote]Technically yes, but only to get the game data (levels, artwork, music etc.).ID software offers a native Linux version of the game engine for download, so it's not wine or something similar.UT2004 even included the Linux engine on the DVD (at least in the version I bought), thought a newer version of the Linux engine was available on the net, so it made not much of a difference.
My assumption is that a naive SQL server might go through each record in turn, applying the conditional to decide whether to return the record, without checking if the conitional even refers to a field.Or that there's just a query to return the fields in a table.I don't know SQL in great detail though.
[quote user="olsner"]Are you sure? I thought it was 1600 AD (which is possibly even more WTF - 0001 is at least a pretty even number (1 being the second integer, but indeed the first year...)). At least, the Win32 API uses that time (epoch=January 1st 1601) for files: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcekernl/html/_wcesdk_win32_filetime_str.asp[/quote] Yep. Quite sure. Unless MSDN lies. http://msdn2.microsoft.com/en-us/library/system.datetime.aspx According to the docs a DateTime can represent any date between January 1, 0001 AD and December 31, 9999 AD with a 0.1 microsecond precision, which is quite impressive really. Not that I see the usefulness of it, but its quite cool anyway!
[quote user="djork"][quote user="Volmarias"][quote user="djork"][quote user="Hitsuji"]Maybe they'll upgrade to the Express Editions ;)[/quote]Of course not. They'll simply buy one copy off of eBay and have everybody install it to be "legit." In fact, that's exactly what they're doing.[/quote] Depending on how much an a-hole you want to be, you could always call the BSA. They just LOVE to do "Audits"[/quote]
What do you [i]think[/i] I'm doing on my last day, anyway? :D[/quote]Maybe instead you should ask for some nice redundancy/severance pay, and you'll be richer faster than you can say blackmail :-)
[quote user="unklegwar"]Never understood that. Asia is a HUGE continent which includes eastern russia, india, afghanistan, etc. A huge lump of veru diverse people to label "asian", no? Next, everyone will just be "North Hemispherian" or perhaps we'll just go 60's sci-fi and call everyone "Earthling". We won't be "allowed" to use any terminology to be any more precise than that.[/quote]Well Oriental just means "Eastern", it's not a very precise term itself. Using Asian does tend to bother me as well, though.
[quote user="skippy"]Viewing source, the password <input> does have type="password" in it, but I guess the TextBox_OnKeyPress function is bypassing that logic. At first sight, it seems like it should be a bug in FF/Opera, but I haven't read the specs on how javascript should interact with input fields.[/quote]Well, the handy dandy stacktrace in the error console for Opera 9 says:JavaScript - https://repaymentoptimizer.salliemae.com/pow/login.aspx?dtd_cell=AB4PBR&hhkey=1001449531Event thread: focusError:name: TypeErrormessage: Statement on line 27: Could not convert undefined or null to objectBacktrace: Line 27 of inline#3 script in https://repaymentoptimizer.salliemae.com/pow/login.aspx?dtd_cell=AB4PBR&hhkey=1001449531 if (passwordElement.value == "") else Line 1 of script loginElementFocus("userID"); At unknown location [statement source code not available]Seriously, this is pretty weak.
I don't like frameworks because they're usually inbred. There will be lots of functionality I want combined with lots I don't want, and I have to take the entire mess to get the good bits.
[quote user="Bert"]If the bits fall off the edgeof the disk, should one put a container under the disk to catch them. If so can we call it the bit bucket? Will we have to empty said bit bucket?[/quote]No need. Just let it all pile up and you can store information on the heap. If you're really tidy, you can end up with a stack instead.
Terrific. I remember once I did something similar for DOS.Using environment variables (strings) and batch commands it is possible to manipulate (with some limitations) strings. For example string concatenation is easy, while cutting a string in pieces is much harder. Anyhow, I also implemented unary arithmetics, and I agree, it is a very crazy and empowering sensation :)I think I still have the batch scripts somewhere and I seem to recall that especially subtraction and division were tricky ;)
It's not just having the paper, what tends to be a quite big factor is where it's from. Getting a degree from a well known university will usually beat someone elses of a similar level (or sometimes higher level) from some backwater uni. You could always just make your own, I photoshoped a degree for a friend who needed a higher qualification than he had, think he had a 3rd but wanted/needed a 1st. Changed the text and just printed the wax stamp on to some uni watermarked paper. The trick was that he put all his paperwork in seperate plastic sleeves in a folder for the interview so when they waded through it all they saw the degree but didn't actuall handle it. 'course you're screwed if they happen to of attended the uni you're faking the degree for :¬)
I won't bother talking about the horrible design or horrible code. I'll just stick to the content:<font color="red">Vote Lorge: "EVERYBODY'S SENATOR ESPECIALLY YOURS !"</font>LOL. Especially mine? WTF? "Robert Gerald Lorge solves everyday problems of everyday Wisconsin Family and Hard Working people,
and has not lost touch with the everyday needs of Wisconsin People as have career
politicians and multi-millionaires who can not comprehend how the rest of US
Americans live and work and raise our families." Try saying that in one breath.
[quote user="GoatCheez"]Wow... this hit slashdot even. It's now being spread that it's a scam though, and I believe that it is. No matter how I try to play with the numbers, it's IMPOSSIBLE to achieve the storage density they are claiming. I'm finding it impossible to believe that they have even achieved 0.1% of their capacity claim. [/quote] Everyone's refering to this guy's blog post for a good debunking:http://itsoup.blogspot.com/2006/11/scam-of-indian-student-developing.html My favorite of his points: Currently, the most high density barcode stores (drumroll) under 2k!A leap from 2kB to 256 GB is really quite unbelievable, without maching leaps in printing, paper, and scanning technologies.
[quote user="m0ffx"]However, this looks suspiciously like pirate or abandonware. In which case it's not remotely surprising that the license still refers to a non-existent CD-ROM, and that having made the download is illegal.[/quote]No, the original Railroad Tycoon Deluxe has been released for free by Sid Meier as a promotion for the new Railroads game. If you want to try it:http://www.2kgames.com/railroads/railroads.htmlApparently ripped direct from cd to server, but it does come with Dosbox to play it on!
A new position has arisen to lead a team of consultants delivering Burgers and Fries for customers. Reporting directly to the Board, the Director of Burgers and Fries will be expected to provide high calibre Burgers and Fries expertise to identify and satisfy customer needs. He/she will have a broad remit to ensure business stream sustainability by developing the team, expanding its market presence and developing the capability. He/she will be required to meet business stream targets and contribute to the development of company-wide capability.The successful candidate will have excellent business acumen and business development skills with a strong appreciation of Burgers and Fries tools and techniques. He/she will hold a first degree in an appropriate technical discipline and have a minimum of five years experience of Burgers and Fries, analysis or architecture design. Study to Master’s level in an appropriate discipline would be an advantage. Excellent reasoning, problem solving and communication skills are essential, as is the ability to work closely with colleagues from other technical and management disciplines to provide innovative and efficient solutions to client problems.This is an excellent opportunity to play a key role in this expanding business, with opportunities to progress further within the [groupname] group of companies.
[quote user="stinch"]comdlg32.ocx != comdlg32.dllI believe comdlg32.ocx is just a COM wrapper around the functions in comdlg32.dll. comdlg32.dll will be there so you could use the winapi functions directly if possible instead of cloning the dialogs.[/quote]You're absolutely right here. The Comdlg32.dll functions are GetOpenFileNameA (or W) and GetSaveFileNameA (or W). Even from VB it should be pretty easy to import them.Ken
[quote user="biter"] More goodies: The setup routine has a checklist you can print out before you begin. This is nice, except that setting up a printer is one of the last steps in the checklist. Who thought that one out? [/quote]Was it the same person who used to put up the error that went something like "Keyboard error. Press F2 to continue" when you tried booting your computer (to DOS - I feel ancient!) without the keyboard attached.
[quote user="ShawnD"]Put some paper in so it can print more than the first 1.5% of the first job?[/quote]
I second that. Preferrably, use whole sheets.
[quote user="Xarium"][quote user="asuffield"]Just because two experts haven't ever said a particular thing to you, you assume it's not true? Just because they regularly talk about two things, you assume there is nothing else that matters?[/quote]Why don't you read my whole post instead of inventing what you think I'm going to say?Here, I'll save you the trouble of scrolling up...[quote user="Xarium"]So pardon me but I think I'll ignore your obtuse ways of saying the same thing...[/quote]What aspect of data security is not covered by Encryption & Authentication? I have enough trouble getting people to understand those 2; so why complicate it by using 3 abstract terms that evaluate to the same result? [/quote]Authorisation.Authentication merely identifies you. Authorisation determines what you can do.Authentication isn't much good if, once in the system, I can change a whole bunch of data I'm not supposed to.
[quote user="cheesy"]Some choice quotes from the site (which, by the way, you won't be able to find on a search engine due to the cutting edge gif-based text needed for the non-standard font choice...):[/quote] FWIW (unless they insisted on .GIF headers), one of the many, many text replacement techniques: http://www.alistapart.com/articles/dynatext
[quote user="hk0"]Removing the power from the whole computer will cause the card to turn off for real, and it will come back on in a base state. Removing the network cord is probably not necessary (try it).[/quote]It is necessary, I tried.
I've been interviewing reciently, and was asked the same question on an over the phone interview for a php development job. I honestly anwsered that I had used POST and GET before, and knew how POst worked, explained it, and told them that I really was unsure what GET is or how it's different from POST. They still hired me, even though I was unsure of the anwser. It's always a good idea to A) admit what you DON'T know and B) At least let the knowledge you do have shine though. I agree that someone who BS a technical question in an interview is likely to BS a staus report etc.
Pff, Pen Island is intentional and we all know it."Your Pen Is Our Business"I mean, cmon."So you want that customized pen look, without all the effort? Pen Island can help. Just tell us a little bit about the size, color, texture, and taste of the pen you’re looking for, and we’ll see what can do. You’ll be surprised at what’s available."
@Tann San said:I might retire my gamecube since I heard the Wii will play cube games as well as use its controllers, think I'll wait and see how the backwards compatibility goes first though after hearing how the other "next gen" consoles flopped with it...
It doesn and is perfectly compatible with every GC game. Even the FreePlayer works.
There are only two limitations: you need GC controllers (WaveBird works btw, but you NEED the receivers), and you need GC save cards (you can't map them to the console's memory or an SD card, which is slightly retarded).
If Office is going to determine the type of a document based on the filename extension, that's a mighty huge WTF in of itself. (emph. added)You mispelled Windows, and it is.Personally I'm quite fond of the *nix-world file utility, and (I'm a GNOME user) the way Nautilus handles the mime type. To go further up the thread: You'd figure, rightly or wrongly, that DOCM and DOCX would be opened by the same application on a typical office install. That's a reasonable assumption, no?I would assume that most file formats would have a header that should tell the application what it is loading. If that's what you meant, that's fine, but you need to specify that.Do not forget that thanks to extension-hiding and other stupid
WTFs that Microsoft has committed it is possible to convince someone to
open
"ILOVEYOU.TXT
.EXE"Pardon my sarcasm, but you walked right into it. :)
[quote user="SpoonMeiser"]Is that somehow less of a WTF?[/quote]Not at all! It was just a wild guess :) I've been doing new phone number generator lately and I think it would be very hard to hit race condition there... on the other hand, it's TDWTF, so... :)You don't get some random number to check... you've got a range to choose from, so it's typically "enable/disable (update) next id" thing, rather than insert/delete. In normal case, you can do it in 1, or 2 steps. On the other hand, running into end of range and assigning the same number twice (reassigning second time) seems more likely.Though - not my code - no idea what's the real problem.
[quote user="PlasmaHH"]Uhm, how do they interrupt the cpu? With special drivers? Special hardware? It cannot be just a context switch as this is doing so much on the cpu that every possible state is lost. So when you nevertheless have to inject those special tools, it will be far easier to directly get the key from the memory or hdd, since you would need special priviliges for interrupting the cpu that way.[/quote]
IIRC, they don't interrupt the CPU. The exploit only works on P4 CPUs with hyperthreading, and the exploit code just runs on a different logical processor.
[quote user="themagni"][quote user="Manni"] The REAL wtf is that we have a president whose wife was 17 in 1963. When are we gonna get some younger hotties in the White House???[/quote]Your last president brought someone younger into the white house. That didn't work out too well.[/quote]I'm disappointed with that too.... not over what he did, mind you, but over the fact that the 'Leader of the Free World' got such ugly play. I mean, c'mon, he's got his own mansion, jet, an army on call, bodyguards... he can prank call any other country on a whim (Putin, is your 'fridge running?)... surely, surely he could get someone more attractive than what he did.
[quote user="Bob Janova"][quote user="dhromed"]The stack overflow is an error in IE itself.[/quote]No, it's an error in the JScript execution which IE catches and shows in a message box. You can keep using IE after such a message, and JScript will work fine on the next page. It's just a slightly different error message to the one FF chooses.There are many places to bash IE but this isn't one of them.[/quote]"Stack Overflow" as displayed by IE is not a normal runtime/interpret-time error nicely caught and controlled by IE's JS engine, but a screwup in the engine itself -- the fact that it's the fucked script causes an excessive amount of recursion is irrelevant in this issue. What's relevant is how the JScript engine handles it.I consider the engine part of IE. Maybe that's personal, but I think that makes sense.One can keep on using IE. That means the error is non-fatal. Nonetheless, it is an error in IE. One can get non-fatal errors in any program. Photoshop sometimes says "Could not complete operation because of a program error", and yet happily continues running. This is nice, because instead of killing PS, I get a chance to save my lovely design and relaunch PS.[quote user="webzter"]Odd...
when I go to a page in IE that has an out of control script, it pops up
a little message box that says something to the effect that the page
has shitty javascript that's making the browser unstable, do I want to
stop running it.[/quote]Depends on the speed.Slow scripts provide
the message that it's running slow and do you want to stop it?, but if IE's JS engine runs out of stack space before that time, it'll bomb.
[quote user="MasterPlanSoftware"][quote user="VGR"][quote user="MasterPlanSoftware"] I am also sure you exhausted the option of gasp calling them and having someone reset this or change this for you?This sounds like a possible case of PEBKAC to me....[/quote]Evidently you haven't dealt with Verizon's flimsy notion of "customer support." Allow me to summarize it:"We have your money. We own the vast majority of poles and cell towers. Your problems are irrelevant because you're a drop in the profits bucket. Get bent."[/quote] Actually, I currently use Verizon and have had no significant issues with them. But then again, when I am confronted with poor customer service at any company, I escalate the call and demand what I deserve. I usually get it too.Yes you are a drop in the profits bucket, yes you are irrelevant. Why would you expect anything different?? Do you know how many customers they have? Get used to not meaning a thing to a huge company. That is the way the world works.[/quote]
Someone said something negative about your phone company. Definitely a reason to get mad.
[quote user="unklegwar"]c# is case sensitive. So the Byte will not work. also, each CLR compliant language must map it's data types to an underlying CLR type. In this case c#'s "byte" maps to the clr-compliant System.Byte. You can't use just "Byte" because of the naming collision. You can either use "byte" which is the c# name, or System.Byte, which would work in ANY CLR compliant language.No WTF here, move along.[/quote]Perhaps I am misunderstanding the intent or direction of your post, but if it is in regard to the original post, this is completely incorrect. There is never, ever, going to be a naming collision between Byte and byte. The compiler either recognizes it, or it doesn't. Assuming you have imported System, the compiler will recognize Byte perfectly. The OP's error is a compiler issue, not a CLR problem. The issue is that you can not use the structs to redefine an enum (regardless of if you spell out the full Type name or not), but have to specify the keyword instead.I don't think it's a WTF either, but for an entirely different reason. As to why it behaves this way, I only have the theory I mentioned.
[quote user="Guffa"]How can anyone be so stupid as to think that a null pointer would explode i you touch it? Of course it will not explode, it will implode.[/quote]I don't think it implodes either, it just returns FILE_NOT_FOUND.
[quote user="RayS"][quote user="prueg"]Well they did say performance doesn't have to come at a price![/quote]It's Dell now, so they amended that."Performance doesn't have to come at a price - in fact, you can't get performance from us at ANY price!" [/quote]Well, Dell did buy the Porche of computers. Why you'd pay that 20% premium for something you'll never want to take out of your room is beyond me.I did the customization for kicks, didn't see the PhysX card or second GPU, so I assume Dell got some nasty emails about it already. (Or someone there surfs here, who knows...) Wish they'd let you customize a system more thoroughly, instead of offering just that 2 or 3 choices for every component - if they're all in the same family (eg nvidia) , it won't make integration any harder.
[quote user="Carnildo"][quote user="jimlangrunner"]WTF. Is Big Brother in London, now?[/quote]Haven't you been paying attention? Sometime in the past decade or two, the British government collectively decided that [i]1984[/i] was a great plan for the future.[/quote]Indeed, and a recent report puts the UK as the worst non-totalitarian nation in the world for privacy/surveillance:
UK, China and Russia beat out US in race to end privacy
(Of course, the US is right behind it, and trying to catch up fast.)
I don't see a single complaint (against VS) in this thread that can't be fixed with the simple reply "Options" - it's all there, it's all controllable.Are you people honestly so arrogant that you expect an editor, configurable up the wazoo and used by millions, should come installed with precisely your configuration by default?It took me, I think, a full 10 minutes to configure the numerous auto-formatting options of VS2005 (right down to the "insert a space after the open bracket of an 'if'" etc). I did this once. Surely 10 minutes is a worthy investment in an environment you'll spend so much time in?And anybody using a diff tool that gets confused by whitespace should get themselves a new one (I suggest any one of the many that is actually designed for free-form languages).Sorry for the harsh tone. This kind of thing really annoys me.
[quote user="Rank Amateur"]
Assuming you have your letterhead on your site just to serve as a web page header, it may be sufficient to just keep the raw image of the letterhead to a reasonable size, say no more than 75 pixels high and 800 pixels wide for something spanning the entire page. That will look fine on the screen but suspiciously blocky or blurred when simply copied and printed onto paper.
[/quote]
Or you can put it on a wooden table...
[quote user="Benanov"]Yes, that's right. They make XML, then unmake it, except that there was no point in transforming it into XML. That and the xp_cmdshell. [/quote] It really smacked of a *IO walking in and stating this application needs more XML... All of our competitors are using XML, we need XML... and the Dev saying ok... we now use XML...