PlanetCrap 6.0!
Front Page (ATOM) • Submission Bin (4) • ArchivesUsersLoginCreate Account
You are currently not logged in.
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 - »»|
#681 by Matt Perkins
2012-04-04 00:47:44
wizardque@yahoo.com http://whatwouldmattdo.com/
I want my razr droid to be updated to 4.0 already. :(

"programmers talk from a very deep gnome cavern, full of gold mechanics" - wisdom from the ancients
#682 by Wudi
2012-04-04 01:20:08
wireless tether app. r00ted htc hero for lyf, y0!

Zep--

w0rd up!
#683 by yotsuya
2012-04-04 07:05:52
Milan-

The only thing I really miss is the physical keyboard. However, I'm getting used to the Swype function.

#684 by Wudi
2012-04-08 19:10:49
Happy Easter, Knuckleheads.

Zep--

w0rd up!
#685 by Milan Brezovský
2012-04-08 22:24:13
http://uglycode.com
So much for my patronizing rants about delayed gratification! Note acquired. Still miss a physical keyboard. Stylus is great, everybody who says it's just a gimmick can go duck themselves.

Parhelic Triangle is coming. Eventually.
#686 by Milan Brezovský
2012-04-11 17:34:18
http://uglycode.com
Software keyboard is shit, and always will be.

Parhelic Triangle is coming. Eventually.
#687 by gaggle
2012-04-11 18:34:31
There's also voice to text, I find it surprisingly useful sometimes. This post was written by dictation.

"Roses are red, violets are blue, rubbish is dumped and so are you." : : - FML
#688 by anaqer
2012-04-11 18:56:23
#686 by Milan Brezovský
Software keyboard is shit, and always will be.

Did you try Swype? It's not really my thing, but I've seen people who used to shit on virtual keyboards come to swear by it.

¤ "Apple hates everyone now." - BJB
#689 by Milan Brezovský
2012-04-11 20:18:20
http://uglycode.com
#687 by gaggle

There's also voice to text, I find it surprisingly useful sometimes. This post was written by dictation.

I don't like shouting on my phone in a tram, nor whispering to it in an office. Also, I don't like speaking in general. Talking to myself, maybe, but that at least doesn't sound weird to me. Saying "I hope you die and eat a bag of moldy dicks" aloud doesn't sound quite right, you know?


#688 by anaqer
Did you try Swype? It's not really my thing, but I've seen people who used to shit on virtual keyboards come to swear by it.

Not yet, but I was intrigued since yot said he uses it. To be honest I got more excited about the stylus, but small stylus + small area where you can write without having anywhere to rest your hand on + glass screen with no friction = not ideal. And by not ideal I mean not usable for emails / texting / long notes. It's great for what it's advertised for, taking a screenshot of maps and marking a pub and sending it to a stranger/tourist.

Parhelic Triangle is coming. Eventually.
#690 by gaggle
2012-04-12 04:47:07
I hope you die and eat a bag of monkey dicks
I hope you die and eat a bag of move the pics
I hope you die and eat a pack I'll move the dates
I hope you die and eat a bag I'll move the dates
I hope you die and eat a bag of Mulldae dates

Yeah this isn't working.

"Roses are red, violets are blue, rubbish is dumped and so are you." : : - FML
#691 by gaggle
2012-04-12 05:09:06
The iOS game Waking Mars is really really cool. I guess it's a puzzle game, but the overriding sense is one of exploration and growing mystery. It's ostensibly a 2D side scroller, you play a scientist exploring a cave on Mars when shit starts going down, and you have to progress by mastering the environment. IMO the less you know the better, I saw a split-second of the gameplay in some video and liked the look so much I just downloaded it. You should not necessarily see the whole trailer if you have a similar reaction: The trailer.


I've also played Crimson - Steam Pirates, and it's pretty cool. It's a turn-based strategy game with a cute story, you move ships around and use various powers. Beyond the initial free episode there are additional paid downloadable content, and they are alright as well if a tad too expensive. Trailer is here.

"Roses are red, violets are blue, rubbish is dumped and so are you." : : - FML
#692 by BobJustBob
2012-04-12 05:42:12
gaggle, you might like Steambirds and/or Steambirds Survival. The gameplay of Steam Pirates is lifted straight from those.

BUYBUYBUY
#693 by gaggle
2012-04-12 05:56:54
You'd think I would like that game yes, but I'm pretty sure I played this game on the PC a while ago and was not fond of it. I think my plane was too vulnerable, battles were like wars of attrition where you slowly get more and more hurt. And no story or context to speak of. But you're right that Steam Pirates looks almost like a carbon copy of it, frighteningly so now that I've watched some YouTube clips.

"Roses are red, violets are blue, rubbish is dumped and so are you." : : - FML
#694 by yotsuya
2012-04-12 08:12:33
Milan-

Swype is pretty nice. In fact, I find myself trying to do it on my iPad from time to time.

#695 by Funkdrunk
2012-04-12 14:00:35
jflavius@bellatlantic.net
Another option is SwiftKey X.  It's predictive engine is so good, it will generally figure out the word you're trying to type in 3 letters.

Funk.

#696 by Gunp01nt
2012-04-12 21:22:29
supersimon33@hotmail.com
FUCK.
I'm going to Kiev, Ukraine for business on the 23rd. My boss agreed to let me stick an off day onto the trip so I could take a tour to Chernobyl. Now it turns out it's closed for a private party (imagine that) on the day I was supposed to go there.

So close.

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.
#697 by LPMiller
2012-04-13 02:45:31
lpmiller@gotapex.com http://www.gotapex.com
I love swiftkey.  I barely have to type anymore now.

"Testiculos habet et bene pendentes" - "He has testicles, and they dangle nicely."

"LP, your big balls are a religion." - Jibble
#698 by gaggle
2012-04-13 05:37:40
Because I find narrative interesting I sat through the final three episodes of Smallville.

Unsurprisingly a terrible piece of juvenile shit.

"Roses are red, violets are blue, rubbish is dumped and so are you." : : - FML
#699 by Milan Brezovský
2012-04-13 13:37:37
http://uglycode.com
Gunpoint: wait, what, the whole Zone is closed for a private party? Surely there's plenty of bloodsuckers space for everyone.

Parhelic Triangle is coming. Eventually.
#700 by Gunp01nt
2012-04-13 14:39:34
supersimon33@hotmail.com
As it turns out, the Chernobyl accident took place on April 26th. So it's probably an anniversary party of sorts they're having.

I'm trying with other tour operators to see if there's a possibility. Otherwise I might as well leave my fully upgraded Obokan with scope at home.

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.
#701 by bago
2012-04-14 20:38:05
manga_Rando@hotmail.com
The developers owe you nothing!!!  Erm, I'm going to red the whole thread now. It's been a bit spotty.

REMEMbER DESCENT THE HIGHEST FORM of PATRIOTiC
#702 by bago
2012-04-14 21:26:09
manga_Rando@hotmail.com
Zep, xml is simply an expression of meta-marking sections of the underlying text in a parsable format. Tree structure makes it eminently parsable into a DOM. Granted, this is not like the x-y relationships that database tables offer, but it does break the one axis to one axis relationship engendered by the table format. The semantics of the sql language assume a grid with joins, which inhibits poly dimensional thinking via a poor grammar to add a new dimension. SQL analysis cubes help to add dimensions, but, seriously, I hate SQL grammar.

REMEMbER DESCENT THE HIGHEST FORM of PATRIOTiC
#703 by Wudi
2012-04-15 00:43:38
XML was invented by losers

I have to agree...

also

SUMAS!

Where ya been hiding, bago?

Zep--

w0rd up!
#704 by Milan Brezovský
2012-04-15 00:59:45
http://uglycode.com
I second the request for bago's recount of his shenanigans.

And like he said, XML is sweet.

I like SQL grammar for simple things; luckily I didn't have to work with 10-table joins and 3-level subselects in a long time.

The article Wudi linked in on par with The Bored Troll Father's links.

Parhelic Triangle is coming. Eventually.
#705 by bago
2012-04-15 21:07:09
manga_Rando@hotmail.com
I've been stressing out over doing DNS policy management for the Microsoft datacenters, in particular improving the central software for writing GTM policies to the F5 devices. Zep, one reason you should appreciate XML is that it is structured, meaning that you catch parsing errors earlier? If you use a flat file format, you are vulnerable to things like this. http://arstechnica.com/business/news/2011/09/microsoft-botched-upgrade-caused-by-dns-problem-led-to-windows-live-outage.ars

I was on the conference call for 6 hours.

REMEMbER DESCENT THE HIGHEST FORM of PATRIOTiC
#706 by Chunkstyle
2012-04-15 21:21:38
Nice to see you're not dead, bago.

Game Developers: Don't forget the zombie monkeys.
#707 by gaggle
2012-04-16 01:59:54
+1 for bago


I was just about to write how happy I was that importing pictures from my camera to the iPad results in those pictures being put into the Photo Stream as RAW files. But I just realized it downscales the imported photos, rendering the whole system useless :( What a suckass implementation.

"Roses are red, violets are blue, rubbish is dumped and so are you." : : - FML
#708 by gaggle
2012-04-16 02:06:20
Oooor did I write that too early... I get it now, iPhoto reports the size of the modified file which is a jpeg it stores, but the original file is actually full resolution. Sorry for doubting you Apple.

"Roses are red, violets are blue, rubbish is dumped and so are you." : : - FML
#709 by m0nty
2012-04-16 03:02:30
http://tinfinger.blogspot.com
Go bago!
#710 by Wudi
2012-04-16 04:34:08
bago,

I see XML as a solution to a problem that didn't exist in the first place.

And by your own words it still contains the some/same errors that can be found in a regular old flat file.

Granted, I haven't messed with XML much at all...is there a way to index into it? If I want the value in the last tag I have to read the whole file?

If the latter is the case, on a huge file that read action really bogs things down.

What is the recommended size of an XML file before you should saysay..ok..we need to switch to a database?

10K, 100K, 1MB, 10MB, 100MB?

Zep--

w0rd up!
#711 by Gunp01nt
2012-04-16 10:11:50
supersimon33@hotmail.com
Xml files and databases are not really interchangeable. If you're using xml to replace an rdbms you're doing it wrong. Xml describes data but is most useful when you're communicating data with external parties or across application layers.

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.
#712 by deadlock
2012-04-16 13:31:37
http://www.deadlocked.org/
Yeah, XML is sort of a transitional way to store data; using it as your primary way to store data is silly (outside of, say, configuration files for applications). Just as an example, we store all sorts of things in a collection of MySQL databases but when we want to present that data to other systems, we do so using XML - whether that's through some kind of SOAP-based API or through a file that's dumped onto disk for the other system to retrieve.

Having said that, I don't think it's designed to be used to store large amounts of data. Nor is it designed to be accessed in a serial fashion - you typcially load the entire file into memory and run it through your XML parser, which gives you access to the varies nodes and sub-nodes.

Put it this way: if you're working with a rigidly defined data-set encompassing thousands of rows of data then a direct database connection or a delimited text file that you can read line by line is probably the way to go. If your dataset is smallish and you need some flexibility in what data is going to be include in each record then XML is worth a look.

#713 by Milan Brezovský
2012-04-16 14:35:57
http://uglycode.com
+1 for Gunpoint and deadlock.

In enterprise, XML is good when you need an universal intermediate format, esp. when you just want to dump objects for 3rd party.

In small applications, think of it as serializing objects into human and computer-readable format. If you want some speed, there are several binary XML formats.

I've worked with XML files around 100MB, but it's definitely not easy to work with, nor it should be a typical scenario.

And once again, XML is not a database. It's just a flexible format used sometimes to store data (like metadata about android application), or I'd say primarily, exchange data (SOAP, XML-RPC, any number of non-standardized formats used for public APIs).

Parhelic Triangle is coming. Eventually.
#714 by Milan Brezovský
2012-04-16 14:45:44
http://uglycode.com
Real world example:
One of the largest UK retailers with electronics has several web shops, running on different engines. Their shitty ERP system stores data in who knows what, and since integration from PHP to a critically important back-end is unacceptable, they spit out 30MB XML with their product info.

And since the can effectively represent what would be LEFT JOINs in SQL, except instead of NULL you just omit the data, you can have something like this
<product id="123">
  <stock onLocation="10" incoming="50" eta="2 days" />
  <colour>brown</colour>
  <dimensions>...</dimensions>
  <related>
    <product id="234" type="alternative" />
    <product id="545" type="accessory" />
  </related>
  <price current="10.0" onSale="true" formerPrice="13.99" date="1.1.2011"/>
</product>


Or something. Ideally, when you come to a new system and look at the XML, you have an idea what kind of structure the system has. You can imagine the system would have tables like Products, Related Products, Historical Prices, Product Metadata, etc.

Of course, the XML isn't used in real time, but imported to SQL database overnight.

Parhelic Triangle is coming. Eventually.
#715 by Wudi
2012-04-16 15:16:29
Milan,

Your example is where I think they fucked up the spec.

The "stock" line for example.

Why go thru all the trouble of creating a tag based flat file...then hey..We can also just cram
a bunch more tags IN A TAG. BRILLANT!

It just seems stupid to me.

why arn't onlocation, incomming, eta sub tags of STOCK instead of being "attributes" or whatever that nonsense is called?

Zep--

w0rd up!
#716 by Gunp01nt
2012-04-16 15:26:08
supersimon33@hotmail.com
It isn't a flat file. That's the whole point. But if you're offended by child tags you can always write them as attributes instead:


<product id="123" colour="brown" />


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.
#717 by Milan Brezovský
2012-04-16 15:36:16
http://uglycode.com
Wudi,

I was making up the example of the fly, but you got it right - if you just start hacking an XML without a schema, you'll end up with a pile of steaming tags. You can write <dimensions>some string</dimensions> as well as <dimensions width="12.3" height="12.5" unit="inches" /> And, if it hasn't been explained to you, width, height and unit in this example ARE attributes.

(Or you could even use <dimensions width="12.2">This product is fucking huge, like 12"</dimensions>
or even
<dimensions> <!-- let's suppose we're copying a structure of some products_dimensions table -->
  <width>12</width>
  <height>44</height>
  <sizeCategory category_id="123">so big it hurts</sizeCategory>
</dimensions>


The nice thing is that XML doesn't care.

In practice however, accessing them is as easy as (using the example from the previous post)
foreach $xml as $product {
  $databaseProductModel->setCurrentStock( $product->stock['onLocation']
}


or, if you're working with XSLT or XPath, just product/stock@onLocation

Parhelic Triangle is coming. Eventually.
#718 by Greg
2012-04-16 17:28:03
XML is self descriptive. Binary data is not. That's why it's useful.

#719 by Gunp01nt
2012-04-16 20:36:47
supersimon33@hotmail.com
Except when people don't get it and you end up with tag names such as <i21> or <0x020_object4>

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.
#720 by Wudi
2012-04-16 22:26:41
<dimensions width="12.3" height="12.5" unit="inches" />

But I'll see shit like this

<dimensions width="12.3" height="12.5" />
<dimensions unit="inches" />

I mean c'mon, WTF? It's like, let's make someone totally fucked up that a database would never do.

It just looks like bad practice/data management to me.

Zep--

w0rd up!
#721 by Wudi
2012-04-16 22:27:20
/someone/something/

w0rd up!
#722 by m0nty
2012-04-17 03:58:47
http://tinfinger.blogspot.com
You guys are killing PlanetCrap.
#723 by Milan Brezovský
2012-04-17 12:52:28
http://uglycode.com
Really, Wudi, really?

- I've seen table names with diacritical marks, you know, like `Zázazníci` instead of `customers`
- I've seen the dickretarded habit of naming tables `tbl_something`
- I've seen tables that needed no less than 3 joins to be of any use, because some dickwad couldn't just add `order_id` to it.
- I've seen a database when foreign key (or lack thereof) to table users was called `user_id`, `users_id`, `id_users` or just `user`
- ditto with table names, mixing singulars and plurals, like `users` and `delivery`
- I'm not going to mention people who don't add PK, FK, indexes, or use VARCHAR for any data type, or instead of adding two columns with flags have one column with, say, numbers, and 2 special values like "NA" and "PENDING" (and of course NULL, too)

Bad data design is universal. People who don't know what they're actually doing will fuck projects up with any technology.

Parhelic Triangle is coming. Eventually.
#724 by Milan Brezovský
2012-04-17 13:09:24
http://uglycode.com
Also - just as you can make table Dimensions and set width, height, unit to NOT NULL, you can just as well make an XML schema that checks that.
(note - this snippet isn't valid, I'm just copypasting shit together)

<xs:element name="product_sku" type="xs:positiveInteger"/>
...
<xs:element name="dimensions">
  <xs:complexType>
    <xs:attribute name="width" use="required" />
    <xs:attribute name="height" use="required" />
    <xs:attribute name="width" use="required" type="unit" />
  </xs:complexType>
</xs:element>

<xs:simpleType name="unit">
  <xs:restriction base="xs:string">
    <xs:enumeration value="inch"/>
    <xs:enumeration value="mm"/>
    <xs:enumeration value="nautical mile"/>
  </xs:restriction>
</xs:simpleType>


So yes, it's much longer than defining column as ENUM or DECIMAL(10,2), but you can add regexps, complex types, all kinds of recursion, etc, etc. Again, not a replacement for database, but it has its uses.

That said, XML Schema (.xsd files) are not mandatory, and from my experience, not used that often (unless, of course, it's an enterprise solution, where no sane person would avoid XSD or some alternative like RELAX NG... but RELAX NG is for hippies like Ian Hickson).

Parhelic Triangle is coming. Eventually.
#725 by Milan Brezovský
2012-04-17 13:10:41
http://uglycode.com
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.
#726 by Gunp01nt
2012-04-17 13:44:51
supersimon33@hotmail.com
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.
#727 by Milan Brezovský
2012-04-17 18:46:14
http://uglycode.com
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.
#728 by Matt Perkins
2012-04-18 00:13:19
wizardque@yahoo.com http://whatwouldmattdo.com/
+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
#729 by gaggle
2012-04-18 01:57:30
Tiny Towers is fairly disgusting.

"Roses are red, violets are blue, rubbish is dumped and so are you." : : - FML
#730 by gaggle
2012-04-18 02:12:28
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.

"Roses are red, violets are blue, rubbish is dumped and so are you." : : - FML
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

You need to be logged in to post a comment here. If you don't have an account yet, you can create one here. Registration is free.
C R A P T A G S
Simple formatting: [b]bold[/b], [i]italic[/i], [u]underline[/u]
Web Links: [url=www.mans.de]Cool Site[/url], [url]www.mans.de[/url]
Email Links: [email=some@email.com]Email me[/email], [email]some@email.com[/email]
Simple formatting: Quoted text: [quote]Yadda yadda[/quote]
Front Page (ATOM) • Submission Bin (4) • ArchivesUsersLoginCreate Account
You are currently not logged in.
There are currently 0 people browsing this site. [Details]