Increasing the Titles Limit - azerothcore

I want to ask if it's possible to make over 189 titles. I'm aware the maximum limit is 189. I looked around and couldn't find a solution to the matter. Hopefully someone knows something
Mainly taken a look to the CharTitles.dbc structure in the source and then to the Characters.Characters structure as well, initially thought it would be the same as removing the stats limit on items (as in changing uint16 to uint32) but it seems not the case here or atleast as far as i figured out.

Related

Plot network with minimum overlap

Not sure this is the right place to ask. I want to draw the scheme of a network (in fact, different genotypes connected by their possible mutations) with minimum overlap. I want something fast and easy to use, as I will not redo this image several times.
I remember, some years ago, using some free software were I just had to draw nodes and edged between them, and them select rearrange :) Can any of you remember anything like that? Or have a suggestion for it?
I did end up finding the program I remember. If anyone is interested, it was yEd. There might be better ones out there, but this worked for me :)

Trying to understand how to accomplish this task

New to posting here on stackoverflow, so please forgive any transgresses that occur.
So a little background....
My grandfather is a current computer science professor at a university. I have always taken a great interest in computers, and have really grown into dealing with the hardware side of things. However, him being how he is, he wants to me to have a broader understanding of computing in general. Including coding/programming.
SO to my question.... He has given me a Key P5FW-93F6. He told me, that if I am able to make other keys "with the same value" he will give me a reward. So as I am trying to solve this problem, I haven't a clue where to start. In the beginning, I have entered the code, and followed the pattern of Letter, Number, Letter, Letter, etc. into excel and used the random value function.. However, none of these keys work in his program. He told me there is a massive amount of different "Keys" that will work but will not provide hints on to how to solve the problem. What language should I learn to solve this? Should I be looking for a hash value to be the same as the one key listed above? I am completely lost... any help would be appreciated!
Thanks!!
P.S. I do have an unlimited number of attempts, however only have one line that I can enter at a time. So I can't make batch entries.

Add a new stock to an existing portfolio?

I'm working on a rotational strategy using blotter. The architecture of it is sort of one account, 8 portfolios, 100 markets. The code looks for markets getting stronger, looks in the portfolio for holdings getting weaker, sells the weak, buys the strong. It's all been done before.
My question about blotter is that I understand and use the initPortf function which requires (as I use it anyway) a list of stocks which show up in .blotter$portfolio.NAME$symbols. However, what does one do if they discover a market to trade after the portfolio has been initialized? How does one properly increase the list of markets? I would have thought maybe there would be an 'addStock' command that paralleled the addTxn command but I'm not finding it.
If it doesn't exist then that's OK. I can initialize the portfolio with (conceptually) every symbol I might ever trade, but that seems a bit of a hack?
Are there any other ways to handle this?
Thanks
After looking a bit more at this I still haven't found an actual way to add a stock but there doesn't seem to be any issue with putting a very large of stocks into the list of potential positions so that's what I ended up doing here.
Still interested in whether I missed some better way to do this but not having any problems here.

Searching a column name with its value='xyz' across a database in oracle9i?

we use a tool that operates on a certain database updating certain values when we makes some changes to the tool.
This takes a long time for some simple task.
I just need to find out which table,column and the value for that column gets updated.
for this i need to find out the whole database which column_name has value "XYZ" and the corresponding table/tables.
Any scripts for these.
Just because something can be done does not mean it should be done.
I know you've got your process designed this way and you very likely don't want to change it but, really, your life will get a whole lot better if you redesign this to avoid doing something that really, seriously, shouldn't be done. Searching through every text field in an entire database in search of some magical character string is a Bad Idea. It's actually only ONE of The Big Bad Ideas and it probably isn't the Baddest Idea, but it's a big enough bad enough idea that you should give Serious Consideration to doing something else, better.
OK, so what's wrong with it?
First, it indicates that you're not using a database, you're using a midden. You dump stuff in and then hope to dig it out later. This is the kind of thing people did thousands of years ago (it was popular back when flint was cutting edge technology), and while it helps keep archaeologists employed digging through these trash heaps, we are software developers, not archaeologists, and we don't want to have to do this kind of thing on a regular basis.
Second, this is a serious performance killer. You're going to either write some god-awful static code to laboriously check every field in every table, or you're going to write some middling-bright code to dynamically create some even more god-awful query that will laboriously check every field in every table. The word to focus on here is "laborious". And "god-awful", if it comes to that. Scanning through every row in every table in your database and testing every field in all of those every rows is going to be slow. Very, very slow. It's going to be dead-turtle-on-the-side-of-the-road-with-tire-marks-on-its-shell slow. This is not a good thing to do, unless you own stock in the local electric utility and want to make sure every generated electron has a happy home in your employers computer.
Third, people will have strong emotions when they see your code. Those destined for careers in management will laugh, for they know that they won't have to maintain it or try to solve the performance issues. The technically challenged will cry, because they'll know there's nothing they can do to fix it. The true Code Warriors will stare in amazement for a moment, and will then grit their teeth, hunt you down, and beat you to death with their ceremonial Wands Of Green-Bar, for only they will know that this evil could have been prevented.
So give some thought to a re-design. Once again, just because something can be done does not mean it should be done.
Share and enjoy.

How light weighted Dexterity-base contenttype can be

I'm trying to write a light weight content type that work similar to Facebook's post.
The whole content schema is just a text field. There's no title, description.
It must be Contentish and is managed by CMFCore: It must have an FTI, a portaltype so that we can create/browse content through standard method; it is catalog-aware.
They will have relation/reference within each others.
The number of objects is gonna be huge, say 10-100M.
The most similar things to this is the comment object (plone.app.discussion). While I've looked through the plone.app.discussion, I found the content implementation is really complicated, with too much low level base classes. In most of the parts, I either don't understand it at all or it can't be reused outside the comment use case, and have little referenced/sample value to me.
So I want to ask is how much overhead it will be if I go the high level framework path compare to the low level one that plone.app.discussion went through ?
I don't think p.a.discussion is right for you.
A Dexterity type may be fine, but you'll need to tune the performance. If performance is going to be an issue, it'll be because of the things that make types contentish (e.g. an FTI, the CMF base classes), so nothing will be lighter than Dexterity and meet your requirements, but you may want to think about whether you actually want to store everything in a relational database or something else instead. It shouldn't be strictly necessary, though.
Martin
Plone will not scale to 10 M items in its catalogue (the largest I've heard of is something like 400 k). I would suggest building your application with a light weight framework like Pyramid.

Resources