Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

MediaWiki and Databases

Name: Alex 2010-05-16 1:19

So I'm working for a Material Science research group for a summer job, and they want me to set up a wiki to centralize data and experiment results. I've taken exactly one Java class.

So, I set up a MediaWiki site, but they want to connect the data together, along with citations.

For example, Silicon has two properties they're interested in, "hole mobility" and "electron mobility". So on the wiki article on Silicon, they want to list Silicon's hole mobility and the electron mobility, but on the page for electron mobility, we want a list of many different elements' hole mobilities. When they update the hole mobility on the Silicon page, they want the number on the Hole mobility page to update as well. They will also want a citation attached to each data bit, so they'll know what circumstances and where that information came from

I believe that this will require a database system, and was wondering if you guys could point me in the right direction. I've just started to learn MySQL, and well frankly and slightly overwhelmed. Is MySQL too powerful of a language for this? Is there a simpler way to implement website-wide changes?

Thanks yall.

Name: Anonymous 2010-05-16 1:33

How on earth did you even get the job. Is there no CS/SoftEng class in your town?

Name: Anonymous 2010-05-16 1:51

MediaWiki actually sucks.

Its only purpose is to run Wikipedia. It's huge and heavy, and the code is nasty and convoluted, and the developers only care about anything you have to add or request as long as it doesn't affect how Wikipedia runs. Its full-text search is so highly defective that nearly everyone who wants to search for something on Wikipedia will just use Google instead. The wiki syntax is a horrible, nasty pile of hacks, it's monstrously incongruent (for one example of many, why are internal links double-brackets with a pipe separating target and text, but external links have to be single brackets with a space separating them?) and often it's easier or even necessary to fall back to writing plain HTML because it's either inflexible or simply lacking syntax outright for something. And you don't even get to write proper HTML, it's this bastardized "cleaned" version that strips out useful things like image links (this requires installing an extension, despite half of all websites in the world using an image as a link at some point or another), and integrating logins with other web services is nothing short of painful.

That aside, if I understand you right, you seem to be describing the relations between one article and another, and this is exactly what SQL is made for. (Although I would never choose MySQL for anything, ever.)

So you'd have a table of (page_id, citation_id), and (citation_id, text); then you look up the page's id in the former table, collect all your citation ids, look up the text for them and fetch all the other pages that those link to, and dump it all out at page render time. Of course all of this can be done in one query with a few joins, it's a bit messy but entirely straightforward.

Name: Anonymous 2010-05-16 4:05

You will have to write >Silicon's hole mobility and the electron mobility
In a template and include the template in pages you want to be updated. Also, MediaWiki is overkill.

Name: Alex 2010-05-16 5:38

Oh wow... okay so I didn't know there were other options other than MediaWiki. I'm reading through www.wikimatrix.org right now, which looks like a good resource.

As for the database, I'm pretty sure I'm trying to do something extremely simple (have a "core" that other pages reference for data when loading), so is SQL or MySQL simpler to learn? Or perhaps another language?

Thanks!

I didn't think there would be any computer coding, certainly wasn't in the job description. I think they just need to keep me busy while they try to find something more productive for me to work on.

Name: Anonymous 2010-05-16 5:47

>>5
If you can't program, just use one of the off-the-shelf apps, there's plenty open source wiki's, and you need minimal programming knowledge to set them up.

Name: Anonymous 2010-05-16 8:46

>>2-4,6
YHBT

>>1,5
Read SICP

Name: Alex 2010-05-16 14:14

>>7

Well aren't you an ass. I'm not trolling, and I already know the basics of object-oriented programing (Java). I'm just trying to figure out what system/system would work best, which SICP fails like a fish on ice at.

Does anyone have strong thoughts about JSPWiki or Daisy? I think those are the most fully featured non-MediaWiki wiki's out there, but it's impossible to tell a finicky system by its feature set.

Name: Anonymous 2010-05-16 14:19

>>8
SICP is never the wrong answer.

Name: Alex 2010-05-16 14:26

And now *you're* trolling.

Name: Anonymous 2010-05-16 14:55

>>1,8
Is MySQL too powerful of a language for this?
I already know the basics of object-oriented programing (Java)
which SICP fails like a fish on ice at.
Jesus fucking Christ. I weep for humanity.

Name: Alex 2010-05-16 15:00

>>11

False drama much?

Name: Anonymous 2010-05-16 15:08

>>11
Sad state of affairs isn't it, and the saddest is that Mr. Alex here doesn't see it.

Name: Alex 2010-05-16 15:17

Wow, you actually read something I typed. First time?

Name: Anonymous 2010-05-16 15:34

>>14
Hi, I'm invisible

Name: Anonymous 2010-05-16 15:42

How do I make it so you guys can read what I'm typing?

Name: Anonymous 2010-05-16 15:52

>>16
install gentoo

Name: Anonymous 2010-05-16 15:57

>>16
Once you complete reading SICP, you'll have to subscribe to a world4ch premium gold membership.

Name: Alex 2010-05-16 15:58

Oh, so I have to pay so you guys can see what I'm typing? Where do I subscribe?

Name: Anonymous 2010-05-16 16:10

i'm liking how you helped derail your own thread.

Name: Anonymous 2010-05-16 16:28

>>19
1. Open irssi.
2. /connect -ssl irc.nuu.cc 9999
3. /msg MrVacBob japanese bird cooking spaghetti

Name: Alex 2010-05-16 16:30

Well, it's become apparent that no one is interested in giving me a serious answer, so fuck it. It's not like I'm asking for "help on my tank homework" or "please write code for me". I'm just asking about what would be the best method to implement an idea, but instead I get told to read a textbook on fucking Lisp and trolled.

Name: Alex 2010-05-16 16:33

>>21

He just told me that cocksucking is a good occupation. Should I believe him?

Name: Anonymous 2010-05-16 16:36

>>22
but instead I get told to read a textbook on fucking Lisp and trolled.
This is what happens when you don't take the time to look around and acclimatise yourself before posting.

Name: Anonymous 2010-05-16 16:39

>>23
Vaccum Bulb-san has been known to dole out sage advice when he feels like it. I think you should explore the options he presents you with to the fullest extent of your abilities.

Name: sage 2010-05-16 16:40

GO FUCK A FUCKFUCK FUCK FUCK

Name: Anonymous 2010-05-16 16:41

Acclimatize myself to what, the tardation? Nah.

Name: Anonymous 2010-05-16 16:42

>>25
Awright. Any volunteers?

Name: Anonymous 2010-05-16 16:43

ACCLIMATIZE YOURSELF TO MY ANUS

Name: rms 2010-05-16 16:46

>>28
let's get started, cockboy. i'll melt in your mouth and not in your hand.

Name: Anonymous 2010-05-16 16:47

>>27
Then I'm afraid you may want to avoid the internet. It's kinda full of shit.

Name: Anonymous 2010-05-16 16:50

>>30
I take your throbbing member in my soft hands. They massage gently, rubbing up and down. You grasp my hair and moan.

>>29
You bend over. I tickle the hairs surrounding your brown eye, then rip them out. You wince and ask wtf is going on. I shove my cock down your ass. You shut up, and push back.

Name: Anonymous 2010-05-16 17:07

>>32
Alex-sama, MacVob has just told a japanese bird to cease cooking spaghetti so that it may relay to me that he believes it would be in your best interests to read SICP.

Name: Anonymous 2010-05-16 17:16

I didn't think there would be any computer coding,
/prog/ - Programming, Vol. 1273987146, Ch. 5

Name: Anonymous 2010-05-16 17:23

The thing you have to keep in mind is that /prog/ is an intermediate programming community. Your pre-beginner questions are off-topic and obnoxious.

Name: Anonymous 2010-05-16 17:46

>>35
Nonsense. Everyone knows that /prog/ is an expert programming community.

Name: Alex 2010-05-16 17:54

>>35
The thing you have to keep in mind is that /prog/ is /prog/. There is no "intermediate" subcategory.

My question is relevant and aimed at people who have a passing knowledge of many languages.

Name: Anonymous 2010-05-16 17:55

>>35,36
Really? I thought this was a gentleman's club.

Name: Anonymous 2010-05-16 17:57

>>37
Your question only seems slightly programming related. It's more of a question on software choice, which is something you could ask /g/ instead. If I was in your situation, I'd just try various open source solutions and settle on one. I never really had problems with mediawiki myself, but it lacks many features unless you decide to use plugins.

Name: Alex 2010-05-16 18:10

>>39
Thanks for ignoring my snarkiness, didn't realize you were serious.

I think I'm going to use TikiWiki because it supports dynamic variables.

"The dynamic variable feature allows you to add some content once, assigning it to a variable, and then you can use it dynamically throughout all your tiki site by calling the variable name surrounded by percentage characters (%)"

Props to the first couple of responses - didn't realize there were options other than MediaWiki... which upon reflection was a retarded assumption.

Name: Anonymous 2010-05-16 18:22

DON'T HELP HIM!!!!!!!!!!

Name: Anonymous 2010-05-16 18:23

>>37
There is no explicit ``intermediate'' label, but anyone who spends any time at all here will realise it. I don't see why we should cater to morons who can't even be bothered to figure out what's going on. We aren't here for your benefit.
Go take your bullshit to /pr/ if you want a programming community aimed at the kindergarten crowd.

My question is relevant and aimed at people who have a passing knowledge of many languages.
How the fuck would you know? Your comments make plain that you don't know shit about anything. You aren't in any position to judge what is and isn't programming-related, and ``hay guys what wiki software should I use'' isn't.

Name: Anonymous 2010-05-16 18:25

>>40
dynamic variables
Hey, that's almost like every other wiki software's option to include a page in another page, except less useful and versatile.
This just confirms that you really shouldn't be the person in charge of this project. If you had any decency you'd tell your employer that and resign, because you were clearly hired for the wrong job.

Name: Alex 2010-05-16 18:55

>>42
Take it up with the mods, if they think this should be "intermediate programming only" they'll nuke the thread. I know I don't know shit about anything. Hence the "question" bit.

>>43
My group knows I don't know anything about programming. They're just keeping me busy until they're done grading finals 'n' stuff. I'm not into CS - majoring in MatSci.

Is there a name for that "that's almost like every other wiki software's option to include a page in another page, except less useful and versatile" so I can look it up? Googling "wiki page in page" isn't turning up much

I really do want to get of your guys' hair, believe it or not. Though the gaywar up there was entertaining.

Name: Anonymous 2010-05-16 19:09

>>44
/prog/
mods

More evidence that you haven't taken time to understand the community before creating this sorry excuse for a thread.

Name: Anonymous 2010-05-16 19:17

>>44
back to 7chan's /pr/ please

Name: Anonymous 2010-05-16 19:42

>>46
Overuse of tags marks you not as a pro

>>45
Report Thread

Name: Anonymous 2010-05-16 19:48

>>44,47 Get the fuck out of here.

Name: Anonymous 2010-05-16 19:50

>>48
Fuck my Anus!

Name: Anonymous 2010-05-16 19:52

>>49
Are you an queer!

Name: Anonymous 2010-05-16 19:56

I fear that this thread may have become a tad too GAY MALE HOMOSEXUAL for my tastes.

Name: Alex 2010-05-16 20:01

>>48

Hmm...naw, man.

Naw.

Name: Anonymous 2010-05-16 20:23

>>52
How does it feel to be a retarded dumbfuck?
We are genuinely interested in your subjective experience.

Do you get discriminated against?
Do you get to park in the handicapped spot? The handicapped toilets? (Also, do you wipe yourself?)
Do you drool on your shirt, or is this just a cliché made up by people who have never seen real-life imbeciles?

Name: Anonymous 2010-05-16 20:36

Are you RETARDED?

Are you a DUMBFUCK?

Are you a RETARDED DUMBFUCK?

If you answered "Yes" to all of the above questions, then the RDAA might be exactly what you've been looking for!
Make a first post in a slashdot thread with the RDAA signature.
Obsessively watch Retarded Dumbfucks from Outer Space, and then rate it a ten.
Join the RDAA IRC channel, #rdaa on Hardchats (SSL on irc.hardchats.com port 6697)

Name: Anonymous 2010-05-16 22:49

Jesus Christ, I think I sodomized him a bit too hard. The butthurt is overwhelming.

Name: Anonymous 2010-05-16 22:50

>>55
If you're looking for a pat on the back, you aren't going to get it. Keep your insecurities in your pants.

Name: Alex 2010-05-17 0:29

>>55

Hmm... You might think you have "sodomized" me but at the end of the day I am the one getting paid to program to explore technology at my summer internship!

You on the other hand you sit in your mothers basement writing fibs implementations and trying to belittle people on an internet programming message board. So who is the retarded one really?

Name: Anonymous 2010-05-17 0:36

>>57
I too considered impersonating Alex... but I realized I would have done only a slightly better job of it than you and thought better of it.

Name: Alex 2010-05-17 0:43

>>58
Hmm... You might think you have "impersonated" me but at the end of the day I am the one reaping troll cred and exploring other methods of irritating anonymous posters while I whittle away the days until I begin my summer internship sponsored by my community college!

Name: Alex 2010-05-17 1:32

I have sent an e-mail to the moderation team. It would be in your best interest to stop impersonating me.

Name: Anonymous 2010-05-17 2:15

>>60
Delivery status notification (delay): Gravitational time dilation (recipient: blackhole)

Name: Alex 2010-05-17 5:44

Disregard all my comments, I suck cocks.

Name: Anonymous 2010-05-17 8:16

>>57
at the end of the day I am the one getting paid to program to explore technology at my summer internship!
And I am the one who knows what I'm doing enough to walk into a place and actually get hired for a real job.

>>62
Obviously not Alex, he is too oblivious to use sage.

Name: Alex 2010-05-17 13:16

>>62
Prepare to be banned for that!..

Name: Anonymous 2010-05-17 13:35

Hi I'm a humongous faggot!

Name: Alex 2010-05-17 13:37

>>64
Prepare for anal sex !

Name: Anonymous 2010-05-17 13:50

>>66
PREPARE MY ANUS

Name: Anonymous 2010-05-17 14:52

Looks like you guys had lots of fun without me! I'm always invited late to the party :(

Name: Anonymous 2010-05-17 15:40

>>68
http://dis.4chan.org/read/prog/1274002330/8

I hope that helps you with you're problem in the future.

Name: Anonymous 2010-05-17 16:45

>>69
brb making /prog/ facebook group

Name: Anonymous 2010-05-17 16:48

>>69-70
Xarn still doesn't have a fan page. ( ̄へ ̄)

Name: Anonymous 2010-05-17 19:35

Name: Anonymous 2010-05-17 21:40

Will Chaffin


Bio    Well, I'm 14, and just enjoying life. Get to know me if you chose, I don't bite.


Interests   
/b/, Programming, Spanish, History, Math, Butterfly effect, Computer science, Chaos Theory, Game theory


back to /b/, please

Name: Anonymous 2010-05-17 22:20

>>72
likes Reddit
Not likely.

Name: Anonymous 2010-05-17 22:48

It will be interesting to see if Xarn will share admin rights with a 14-year-old /b/tard or just report the page to Facebook for impersonation. I can't imagine he'll let such a slur as >>74 stand.

Name: Anonymous 2010-05-18 8:10

>>73
Ladies and gentlemen, we have found the anus poster.

Name: Anonymous 2010-05-18 11:37

>>76
Great, now we just need to find the fuck off faggot poster.
(maybe they're the same person?)

Name: Anonymous 2010-05-18 14:47

>>76,77
We can assume it's Koen Crolla

Name: Anonymous 2010-05-19 11:48

>>78
You won't think heresy is so clever when you burn in Hell.

Name: Anonymous 2010-11-14 4:11

Don't change these.
Name: Email:
Entire Thread Thread List