Why would you ever want to do that?
-
https://meta.discourse.org/t/efficient-way-to-change-from-categories-topics-to-forums-threads-in-app/29317?u=giraffesilver
Must be a troll. Anyone from here?
-
Maybe I'm misunderstanding something, but is he bikeshedding source filenames?
-
Couldn't you just use regexes for that?
-
So… he wants to gut the codebase, preventing him from every updating the software, all just so he can use the terms he wants to use?
He's completely
-
As @zogstrip pointed out - why wouldn't you just change the fucking labels rather than doing a find & replace on the entire codebase?
-
@will_io said:
I'm attempting to change terminology throughout the entire backend of the framework. if grep is any indicator there's about 25000 lines that need to be changed and with a careful replacement strategy for the various occurences I can narrow that down significantly.
-
Must be a troll. Anyone from here?
It's like...someone decided that the dev process for discourse didn't have enough so he added his own layer. This is awesome.
-
Couldn't you just use regexes for that?
LOL...
-
…yeah, this guy is full of it
-
@codinghorror :
Well, good luck -- you have opted in to a world of pain and suffering. (With the manual rename, I mean wink)Just with that? :-)
-
It sounds like @Yamikuronue drilled down to what they person actually wants, but everyone is focusing on telling the user that their feature request is silly or at least how they are going about getting it is.
-
Yeah I'm pretty decent at seeing through the BS that non-technical users think they need to get at what they want, so I can tell them "It's not that hard, I can just give you X in the first place". This guy is technical but he's done the same thing: "I can't have X, so I'm thinking workaround y, but that introduces problem Z, so I need to grep the entire source code for the word 'topic'".
-
That may be true, but at the same time, the effect will be, ultimately, changing a few
c
s tof
s in URLs, a change 99.999% of users won't notice
-
Unless I've missed it (which may prove the point on no-one noticing) the word "topic" doesn't appear in the URL?
He's invented a problem and is trying a moronic solution despite the very developers of the app telling him he's a moron.
-
the word "topic" doesn't appear in the URL
It does as the slug if the topic title is all funny characters ;)
In terms of the important bit though, it's justt
-
Sure. But the request was reasonable enough before he threw in "change the whole backend plz". If it were my team, I'd keep it as a feature request, high-effort but low-priority, and put it on The List to be prioritized for a later version. If he's really a decent ruby programmer, he might even contribute a patch -- surely it's easier than changing the whole backend to use his terminology in the first place, right? Keeps him happy and everyone productive.
-
Does anyone want to tell him that Private Messages got renamed?
-
If all he cares about is the URLs looking a specific way, couldn't he use something to do the translation on top of Discourse?
-
....meta's smilies have GIANT FOREHEADS holy god.
Also I feel like is appropriate here, between this thread and the meta one :)
-
..meta's smilies have GIANT FOREHEADS holy god.
Yeah but their :( is less retarded.
-
...hmm...
-
-
Can we make that our new sad smiley? :)
Comparison:
-
If all he cares about is the URLs looking a specific way
He also mentions
I myself don't want to be querying a database and be jumping around between the terms. I also want a nice clean start.
If he genuinely gets confused between "thread" and "topic" when querying databases, then he's never seen a proper enterprise database (what's that table called, is it company_productTableName or company_xProductTableName or company_xTableName, or maybe company_tableName? Schema? What's that?)
-
It'd get my vote as a
:sad:
or something.Then again, so would switching to the set Meta.d uses.
-
how do I get the damn thing to embed borderless but at the right sizeI crop closer, is all. >.> well you get the picture. Anyway, that's their emoji's face over the matching background so it blends
-
how do I get the damn thing to embed borderless but at the right size
…damn, it screws the size up…
-
It's cropped weird, I fixed it.
-
how do I get the damn thing to embed borderless but at the right size
Add
class="emoji"
to the <img> tag.
Edit History:
:smile: :wink: :fearful: :frowning: :cry: <img src="/uploads/default/original/0/3/03cf4cb4ec220884edd5bd3267e4d15633d99ad4.png" width="20" height="20" class="emoji">
That " and > aren't in the actual raw...
-
Add class="emoji" to the <img> tag.
Yeah, that made it tiny compared to the others, and you can't override the width and height once you've added the emoji class. So I had to crop tighter first.
-
He also mentions
I myself don't want to be querying a database and be jumping around between the terms. I also want a nice clean start.
OK, I missed that.
If he genuinely gets confused between "thread" and "topic" when querying databases, then he's never seen a proper enterprise database (what's that table called, is it company_productTableName or company_xProductTableName or company_xTableName, or maybe company_tableName? Schema? What's that?)
Totally agree here. But it also makes me wonder how much poking around in the DB he is planning on doing once getting discourse up and running. If you just want to run a forum then the only reason is custom badges, unless one of the admins here can point out another reason.
-
Same size?
EDIT: Oh - you recoloured it?
-
We could point him at @shadowmod, that's a good use for messing around in the database
-
can't override the width and height
It looks like only an admin can, by putting specific CSS rules in (like exists for and others).
Inline height and width attributes are overwritten by the class, and Discourse strips out style attributes.
-
https://meta.discourse.org/t/efficient-way-to-change-from-categories-topics-to-forums-threads-in-app/29317?u=giraffesilver
?u=giraffesilver
hello @giraffesilver?
-
Possibly , but...
@riking said:
@will_io said:
Where is the original Thread class coming from? I reckon either thread safe or distributed cache files.
That's from Ruby, it's about multithreaded programming. The
Thread
class is actually used by Discourse.Can I try again to convince you that this is a bad idea?
O.OHe doesn't know what [multithreading] Threads are, but he's renaming them. Oh my, this should be interesting indeed...
-
A troll? A ... troll? I wouldn't bring it up unless I was absolutely serious. Again, it is a beautiful piece of software - entirely on the cutting edge from my shoes. I love the way it breaks down in the mobile browsers. I also love Ruby on Rails and stackoverflow.com is awesome (esp user jon skeet).
-
I wanted an account that was not obviously from here.
-
I wanted an account that was not obviously from here.
And here I was going to tell you to get a Burns.
-
Farther down in that post he was saying that he can't have anything different (technically he says "must be in some capacity parallel to the look and feel of the old", but if changing the names in the URL isn't OK...) from his existing setup which makes me wonder why he is changing at all.
-
@will_io said:
Also, to play devils advocate
You're not allowed to play devil's advocate when you're already arguing for that side
Also, I muted the thread yesterday to keep me from responding any more.
-
Again, it is a beautiful piece of software - entirely on the cutting edge from my shoes. I love the way it breaks down in the mobile browsers.
…has he even used Discourse?
-
With the amount of crazy being shown misusing a rhetorical term isn't really something to jump on.
-
That might be the best close reason ever.
-
Also, I muted the thread yesterday to keep me from responding any more.
And @eviltrout just closed the topic on meta.d with appropriate:
@eviltrout said:
I am closing this topic because it is an awful idea and we absolutely cannot condone or support this. If you'd like to do this, don't ask for our support on how to do it.
by @Yamikuronue
-
?
-
has he even used Discourse?
Perhaps that was some deep sarcasm.
Although frankly, if you compare Discurse to how most forum software looks on mobile, and don't think about all the crazy things we do here, he's got a point. On the face of it it seems like a HUGE upgrade from vBulletin, CS, etc.
-
In that it actually has a mobile-friendly layout, yes. But there are so many issues with it (on WinPhone at least), it's pretty painful to use. ProBoards is far from the best forum software out there, but their mobile interface works without any issues at all.
-
In that it actually has a mobile-friendly layout, yes. But there are so many issues with it (on WinPhone at least), it's pretty painful to use. ProBoards is far from the best forum software out there, but their mobile interface works without any issues at all.
All that granted, I think from a casual perspective he's not entirely wrong, let's say.
A lot of the basic issues with mobile on Discurse can be worked around, like the fact that Quote Reply button never shows up until you submit your post is mitigated by the fact that the regular reply button functions effectively the same way if you've already selected text.
Text selection is already somewhat of a on Android, so I don't take points away from Discurse for that, and so on.
-
Text selection is already somewhat of a on Android
Not as bad as on iOS.
I really should've bookmarked my post with the GIF where the selector was jumping back and forth. I also remember how annoying it was to even upload it, because I had to switch to my Android phone to even upload the image.
(GIF, click to actually view animation)