|
| T O P I C | |
|
|
The Future of Planetcrap's Message Board
January 7th 2012, 08:01 CET by Charles With Quarter to Three in the process of becoming a forum that no one can post on at all (with a current 1/15th of the posts belonging to banned users), is this finally Planetcrap's chance to regain the spotlight? Will the site revive? WILL MORN COME BACK? Probably not. |
| C O M M E N T S |
|
Home »
Topic: The Future of Planetcrap's Message Board
|«« - Previous Page - Next Page - »»| |
|
Also, Gunpoint, please tell me that you've made that example up and it has no real basis in real projects. Pretty please? Parhelic Triangle is coming. Eventually.
|
|
No, I've seen that several times on projects where people don't really understand XML or SOAP or webservices but they just generate a WSDL based on their weird object structure. In those cases they pretty much expect people to generate a proxy from the WSDL and never come into contact with the raw XML. She's probably had sex with like 4 different guys by now and has no idea who he is anymore, his face lost in a memory sea of dicks.
|
|
Gunpoint, that is... depressing. I'm depressed now. In other non-news, what the fuck is so interesting about Tiny Towers? I know everybody bitched about it seven decades back, but, seriously? The game stops being fun after 2 minutes, then it's all pure F2P blackmail. I mean, seriously? The game has almost zero mechanics that don't require playing the game 230 times a day and waiting for 30 minutes for everything. I mean, yes, I understand what F2P is, but I was hoping it would be a fun strategy game like Sim Tower for at least, I don't know, one week, two weeks? Oh naive me. Parhelic Triangle is coming. Eventually.
|
|
+1 for bago. Sounds like you need a less stressful job my friend. +1 for XML. It has it's uses, and just like anything else, those uses can be perverted or incorrectly implemented, but it shouldn't diminish XML because people don't know how to correctly build it. Real world examples I've used XML for: config files, transporting data between databases and between protocols, tiny database systems, web pages. All in cases where data needed to be more than just a list of numbers, but a fully self explained and relational system. "programmers talk from a very deep gnome cavern, full of gold mechanics" - wisdom from the ancients
|
|
Tiny Towers is fairly disgusting. |
|
We use YAML and JSON, but it sounds many of the same principles apply. Human-readable and -editable data allows easy prototyping of new features, since it's just a matter of adding new fields and values and you're done. And should one of the tools break that usually edits the data it's still possible to get shit done. Also easy to check history, since all the usual VCS tools work. Another major advantage we've had with files over databases is that it's dead-simple to branch off into a sandbox to develop new features. We're always adding stuff so the data is constantly evolving, and being able to easily branch code and data is all kinds of critical. Basically comes down to editing a file is easy for everyone but databases require domain-specfic knowledge that no one in their right mind wants to get into. There's a time and a place for databases, but for almost all data I work with files are far more appropriate. |
|
Actually, why use XML at all over JSON or YAML? Honest question, I'm not super familiar with XML. It could be that I'm spoiled by Python which comes fully supporting of both standards. I mean, YAML allows serialization and deserialization to and from data-structures, it's as easy as calling YAML.dump/load. I hear XML is useful if the data needs validation but I don't know why you can't just validate the data itself once it's in data-form, if you don't trust the source. For something like a config file YAML and JSON has been great successes for me since the data read/writes are completely trivial. It's my understanding you need to do more of the serialization legwork yourself with XML, but maybe I have that wrong? |
|
#730 by gaggle We use YAML and JSON, but it sounds many of the same principles apply. Human-readable and -editable data allows easy prototyping of new features, since it's just a matter of adding new fields and values and you're done. And should one of the tools break that usually edits the data it's still possible to get shit done. Also easy to check history, since all the usual VCS tools work. Another major advantage we've had with files over databases is that it's dead-simple to branch off into a sandbox to develop new features. We're always adding stuff so the data is constantly evolving, and being able to easily branch code and data is all kinds of critical. Basically comes down to editing a file is easy for everyone but databases require domain-specfic knowledge that no one in their right mind wants to get into. There's a time and a place for databases, but for almost all data I work with files are far more appropriate. QFMFT Parhelic Triangle is coming. Eventually.
|
|
XML, YAML and JSON can be, if I remember this correctly, all converted between each other without data loss. XML has namespaces, that might be a bit tricky? Dunno. *hic* Wudi might like YAML better since it's shorter. I think he looks like a YAML guy to me. Validation by XML schema is good gaggle, because it usually throws an error before even you get to your parsing/processing/importing/API/RPC code. Basically, it's for saying "fuck off 3rd party, I'm not reading your XML, it doesn't validate plz fix kthxbai". Parhelic Triangle is coming. Eventually.
|
|
I doubt I would like it either. I don't care much for this neckbeard shit. Zep-- w0rd up!
|
|
Said the guy who works with Microsoft technologies. Parhelic Triangle is coming. Eventually.
|
|
Are you saying that's a bad thing? |
|
I'm saying Microsoft developed XML, and MSSQL Server can index and search XML columns with XPath or XQuery or something. Or so I've heard. Which sounds pretty exciting to me, honestly. Parhelic Triangle is coming. Eventually.
|
|
#730 by gaggle Basically comes down to editing a file is easy for everyone but databases require domain-specfic knowledge that no one in their right mind wants to get into. What? Hey, fuck you! Everyone needs a database. A data warehouse, even. EVERYONE. Whether they know it or not. "One part disembowels me while another slowly eats its way through the gas line. As I bleed out on the floor, it reminds me that I need to buy milk." - Jibble
|
|
TOAD for MySQL (or rather its working db compare tool) was a game-changer for us - a bit tardy game, yes, but it's a nice way to deploy changes between environments. Also, I'm sure #738 is missing at least 4 links in the sig - linkedin profile, old website, new website, and some client reference. Parhelic Triangle is coming. Eventually.
|
|
#739 by Milan Brezovský Also, I'm sure #738 is missing at least 4 links in the sig - linkedin profile, old website, new website, and some client reference. That's how I usually find work. "Fuck you! Here's my CV." "One part disembowels me while another slowly eats its way through the gas line. As I bleed out on the floor, it reminds me that I need to buy milk." - Jibble
|
|
Dim conf As New Soap.TicketConfiguration With conf .DeviceId = "" .ExtensionData = Nothing .Id = 0 End With Dim st = New Soap.ServiceTicket() With _ { _ .TicketNumber = "0", _ .Summary = "New Summary Test", _ .SiteName = "Silent Hill", _ .Board = "MDSIA", _ .ServiceType = "New", _ .Status = "1", .StatusName = "New", _ .ProblemDescription = "New Problem Test" _ } then I do this with throws an exception st.Configurations(0).Id = conf.Id "Object reference not set to an instance of an object." Well no shit, st.Configurations(0).Id= Nothing, why isn't it setting it to conf.id? WTF am I doing wrong? Zep-- w0rd up!
|
|
Have you tried JavaScript? Parhelic Triangle is coming. Eventually.
|
|
You use what are are told to use when they pay you, in this case vb.net 2008 Zep-- w0rd up!
|
|
Heh. Luckily I don't have any experience with VB.net, but don't you have a stinking debugger? Is the array element 0 a valid instance? Parhelic Triangle is coming. Eventually.
|
|
Sounds like st.Configurations or st.Configurations(0) is null, and it's choking when you try to access the Id property of a null object. BUYBUYBUY
|
|
41 new posts and it's all about fucking XML. 52 Weeks and Something's On Movie Blog
|
|
They would fuck XML if they could. Freaks. |
|
yeah...st.Configurations, st.Configurations(0), st.Configurations(0).Id all those = "Nothing" when I breakpoint there..cannot even set it when I click the little + by "st" i'm starting to think I can't set that to a value and that it's set and then returned by the web service here's how the property is defined, is it settable? Public Property Configurations() As Soap.TicketConfiguration() Get Return Me.ConfigurationsField End Get Set If (Object.ReferenceEquals(Me.ConfigurationsField, value) <> true) Then Me.ConfigurationsField = value Me.RaisePropertyChanged("Configurations") End If End Set End Property Zep-- w0rd up!
|
|
Seems like it should work. Are you actually setting the Configurations property or are you counting on it to be set by the ServiceTicket constructor? BUYBUYBUY
|
|
the bit of code where i try to set it is in #741 Zep-- w0rd up!
|
|
No, you're setting st.Configurations(0).Id. Which you can't do, because you said st.Configurations is null. You should try setting st.Configurations = new Soap.TicketConfiguration() first, or whatever gives you the collection you're looking for. BUYBUYBUY
|
|
This should be what the future of PlanetCrap's message board is. :( |
|
Introducing the whole new Stack Overflow - where half of the answers is "eat a bag of dicks". Also, anyone played Jagged Alliance: Back in Action? Is it as annoying as their voice acting? Parhelic Triangle is coming. Eventually.
|
|
WTF am I doing wrong? Using VB.Net... |
|
SwiftKey X is a shitty application. I mean, how much does their "natural language" algorithms suck if even after scanning my motherfucking gmail, they cannot give me a suggestion for "motherfucking"? Is there another dictionary I could download, English (REAL)? Parhelic Triangle is coming. Eventually.
|
|
Since we're talking programming stuff - today I saw my first couple of pages of C# code. Granted, there was quite an obvious level of wizard usage involved, but even considering that, for a console program not an awful lot beyond the level of helloworld... jesus fuck, but it looked ugly and bloated all to hell. Line after line, everything seemed to extend way past the sacred 80 column limit. Even as I'm in the midst of a Java project, it looked positively horrifying. I'm sure it was just bad formatting or whatever, but it still put me off even thinking about picking up C# anytime soon. ¤ "Apple hates everyone now." - BJB
|
|
80 columns are for old people. BUYBUYBUY
|
|
80 columns is still a valid guideline imo. Very wide code is not good design anyway (whether by nesting or very long variable names), and 80 wide means your code will fit nicely on my portrait-mode monitor. It's not that 80 is particularly awesome, it just do happens 80 is good enough and a classic standard everyone can conform to. |
|
If you don't have a widescreen monitor, you have no business writing code. You should be printing newspapers or cobbling shoes. BUYBUYBUY
|
|
Code on widescreen in portrait is amazing. Tall and beautiful. |
|
Use a proportional font. :D I know it's heresy but it's all I code in nowadays. |
|
Also I don't know how you could go from Java to C# and say C# is bloated. They're basically the same fucking language. C# (and the .net framework, which kind of gets lumped in automatically) is awesome. |
|
I actually like proportional font personally but I had to give them up as it was causing code disalignments, e.g. let's say this call is more than 80 chars wide: callSomeFunction(longvariablename, arg2, arg3) The easy neat way to break it into multiple lines is this: callSomeFunction(longvariablename, arg2, arg3) But that doesn't work with proportional font: callSomeFunction(longvariablename, arg2, arg3) The only way with proportional fonts would be to format it with each argument alone and tabbed in once: callSomeFunction( longvariablename, arg2, arg3 ) And while that's not wrong it's a) a bit too verbose having to do that, and b) I'd never convince my coworkers to follow such a guideline. Too bad, proportional fonts are nice to read. Maybe it's a solvable problem but I've yet to see an IDE that allows proportional fonts and correct indentation. |
|
I usually try to fit into something reasonable like 120 columns. Gaggle - have you tried Komodo IDE? I don't know about proportional/indentation thing, but I definitely recommend that software. Parhelic Triangle is coming. Eventually.
|
|
It's all the curly braces that make those languages look bloated. Back to my problem with .Configuration Them: "Oh yeah...um..yeah..that Class is in the API..but uh..not totally implemented yet... next version..maybe" Me: "Eat a bag of dicks." Zep-- w0rd up!
|
|
#762 by Greg Also I don't know how you could go from Java to C# and say C# is bloated. They're basically the same fucking language. C# (and the .net framework, which kind of gets lumped in automatically) is awesome. This and this. She's probably had sex with like 4 different guys by now and has no idea who he is anymore, his face lost in a memory sea of dicks.
|
|
I used Komodo IDE (and Komodo Edit) for a long time and really liked it. I recently switched to PyCharm and ended up sticking with it. |
|
Oooh! I coding discussion! Except, the code wasn't posted for Zep's example, just the part where the exception is thrown. Really helpful. I hope you don't give bug reports like that. As for Java and C#... Do you know more than one language? If you do, and one of those languages is Java, you will pick up C# incredibly fast. The 80 is still a fine mark. I still do 80 width and if my method/function is longer than a page, it almost assuredly needs to be broken down further. Smaller code chunks are better in the long run anyway. "programmers talk from a very deep gnome cavern, full of gold mechanics" - wisdom from the ancients
|
|
I am just finishing up a PHP project, on a somewhat related note, for a project on the side. Now that is a both really cool language (quickly make code!) and an incredibly annoying language (no methods for my classes?). I had to work in 5.3.2, so maybe the latest version fixes up some things, but I kind of feel like the language tops out at string manipulation. *shrugs* "programmers talk from a very deep gnome cavern, full of gold mechanics" - wisdom from the ancients
|
|
I posted the code and the class/property that would not set. Go smoke another bowl, hippy. Zep-- w0rd up!
|
|
no methods for my classes? Sorry, but.... What? Parhelic Triangle is coming. Eventually.
|
|
#768 by Matt Perkins As for Java and C#... Do you know more than one language? If you do, and one of those languages is Java, you will pick up C# incredibly fast. I know Java, plain C, and assembly (old-school x86 and 8051) fairly well, and I know just a bit of VHDL. That's about it, though - no PHP, no Ruby or whatever, and even my C++ is positively atrocious. ¤ "Apple hates everyone now." - BJB
|
|
You can learn the basics of PHP in 17 minutes. You'll spend another 3 months of getting used to its quirks and inconsistencies. It's not a clean language, but it gets the work done. If/When I'll have the time, I'll focus on leaning ActionScript, node.js and Python. Parhelic Triangle is coming. Eventually.
|
|
I think knowing how to cobble shoes would be pretty awesome. Game Developers: Don't forget the zombie monkeys.
|
| C O M M E N T S |
|
Home »
Topic: The Future of Planetcrap's Message Board
|«« - Previous Page - Next Page - »»| |
| P O S T A C O M M E N T |
|
|
| C R A P T A G S | ||||||||
|
|
| There are currently 0 people browsing this site. [Details] |
|
Powered by blah 0.9.1-dev •
PlanetCrap is © 1997-2035 Hendrik "Morn" Mans |