How I can hate you sometimes Magento. I don’t know if this is a bug or not but I can’t seem to bypass this without touching code.
So it seems Magento has a limit when it comes to custom options. Right now the client wants a list of 16 items in a drop down menu. I’ve only been able to get up to fourteen with all of the other custom options implemented.
What’s even more astounding is it’s not only limited per option but per product. Creating an additional field and trying to split said drop down menu in two resulted in even less items.
I’ll be looking into injecting what I need straight into the database and hopefully it’ll stick. Otherwise I’ll have to tell the client we can’t put everything they want.
I’m not in the best mood to be writing this but might as well right it.
It was pretty short. A lot of useless talking. We discussed Star Trek for a good 15-20 minutes. It’s nice to know I could connect with my therapist on a level above just me talking shit.
We discussed trust. He said I was still learning to trust him. I said it’s a system, so it’s not really a trust thing. Somewhere to offload my thoughts and problems then get constructive criticism from it.
There was something about labels. I mentioned I was a nerd. He said I was worried about labels. He doesn’t quite understand who I am yet. I don’t go by other peoples labels. I define myself as a nerd because I love it. I love who I am.
He went on about my social anxiety. Making claims about how I interact with peoples that weren’t true to me…
Thinking back, it seems he labeled me; making observations to my character based on those labels. He doesn’t understand who I am. I’m not a label. I’m not a series of labels. You can’t judge me on the pretense that I have certain traits or follow certain creed.
At least I could post observe his labels and judgments. I wonder what others think of me. How they label me. How they would judge me based on how little information they have. Even friends I’ve known for many years can’t fully know who I am. I’ve told them never to judge or make assumptions about me as I am the only one who has a final say about what I want or who I am.
But lately, I don’t even know who I am. What a waste of a day.
I’ll most likely re-write this at a better time. More consistent and elaborate.
I’m exhausted. Drained. Yet in 20 minutes, I’ll be driving out to meet a bunch of web developers and designers. Connecting. Learning. It’s an hour out though. I fucking hate this. Everything and everyone is so fucking far out.
I remember when an hour of driving would reveal a whole new world. Friends would only be minutes away. I felt safe and secure. I knew where I was. And now, everything is upside down.
Yeah, the query is escaped before it's processed through the snippet of code I posted. I could go ahead and just add the escape code into the class to escape before querying, but there are some cases where it's not necessary - Like, when user input isn't part of the query string for example.
The snippet of code is part of a class called ShardSM that simplifies MySQL queries down to 1 line of code, and it also allows connections and queries to multiple databases, local to the server your application is running on, or externally on another server.
Like for example, say you want to pull all rows from a table and add them to a variable as a multi-dimensional array. You would simply do the following ShardSM line of code: $rowarraycontainer = shardsm::fetch_all($ShardSM_DB0,"SELECT * FROM this_table");
$ShardSM_DB0 is a variable that is defined by the developer. It contains all the connection variables for connecting to the database in an array.
You can define multiple variables and that's how you can establish connections to multiple databases.
So after the fetch all query, I could run the following query to fetch 1 array from another table in a database that is on another server using: $rowarraycontainer2 = shardsm::fetch_array($ShardSM_DB1," SELECT * FROM table_test2 WHERE id='1' ");
That’s pretty cool. I’ve been working on my own classes and DB connections for a couple projects. I would really like to use Zend Frameworks’ DB class to build complex queries and I think I managed to get it working, but haven’t really jumped in that much.
I’ve been trying to really get into the whole MVC thing and OOP so I’ve been looking into the whole PHP PDO and MySQLi. A bit of a different approach then just straight queries, but more secure.
To commemorate Hallelujah(Gundam 00), Argile and Kori(a friend with D.I.D.), my character in D&D has an alter. He’s basically the shoot first, ask questions later kind of guy; relentlessly kills his enemies. He showed that clearly in todays session.
I cannot wait until our DM writes the RP story.
There were tanks. Krauss darted towards the one engaging his fleeing allies. He jump on, opened the hatch discretely, jumped in when he could and took the crew hostage. He ordered them out and as he stood atop of his glorious and newly commandeered tank, he shot them. Killing two of the three defectors.
Another good part was just after he round up William and the others. Since Krauss switched in the midst of battle and hadn’t previously known his two new allies, he was extremely reluctant to let them board the tank. He even shot at one! Missing of course.
Nero! Get to it! Write the other RP and then ours!!!
I need a name or list of names for a project I want to do. Basically it would be an online tool to create and maintain lists of things, projects, videos, things to do, things to see, what ever you can fathom.
His Best Friend:What makes you say that? What did she do wrong?
Boy:Well, for one.. She only cared about her appearance. Always had to look good, always took forever to get dressed! So insecure..
His Best Friend:So, you broke her heart because she wanted to keep your eyes locked on her? She wanted you to see that you have the prettiest girl under your sleeve and not think otherwise? I see..
Boy:Oh.. Well.. She’d often call me or text me asking where I am, who I’m with, telling me not to smoke, not to drink. She’s so clingy!
His Best Friend:So, you broke her heart because she cares about your well being? Because she cares about you a lot? And her greatest fear is losing you. I see..
Boy:But.. Uhh.. Well, she’d always cry when I say something slightly mean. She can’t handle anything. She’s a crybaby!
His Best Friend:So, you broke her heart because she has feelings? And because she just wanted to hear you say you love her? I see..
Boy:I.. Well! You know, she’d get jealous easily. I could barely talk to other girls! She’s so annoying! I had to hide it from her so she wouldn’t bitch about it.
His Best Friend:So, you broke her heart because she just wanted you to commit to her? She thought you were faithful, but you lied so she could find out later and hurt even more? She just wanted the guy she loves the most to love only her. I see..
His Best Friend:You broke up with her because she’s good for you? She just wanted the best for you? She’s broken now because you were selfish. Are you proud?
Boy:I broke her heart.. Because I couldn’t see what was happening.. What happened to me?
His Best Friend:You lost the girl that loved you like no one else could. You see? You didn’t want her when all she ever wanted was you. THAT’S what happened.
"You’re drunk again. Off of your emotion. This feeling you love so much; sadness, sorrow. We love it, don’t we? This empty pain, as if you were the only one. It fills the void that is us. It defines you…"
"But who are you? Who is me? You’re contemplating again. Thinking of how you feel. Sinking deeply in this place you’ve known for so long. It’s home, after all. You lost your heart in this and can’t seem to find it anymore…”
"You like broken. Someone broke you long ago. Yet you prevailed, triumphed over who you were. You fell in love with who you were, for after all, that is how you become greater. You didn’t realize you were still broken. So you fell in love with something broken… and now you cannot undo it. You’ve tried, we’ve seen it in the past year…"
"You love broken. You also love your fantasies. You love your broken fantasies. You know it. You’ve seen it. It’s there. They have names too. They all had names…"
"You’re waiting. She’s not broken. She’s strong. She’s not perfect. That definition escapes us… but an illusion. You know what you like and dislike, but you can’t know perfection for it doesn’t exist…"
"You want to love. You can’t love. You don’t know if you can. You’re broken, after all. One of your rules enforced that fragmentation. What is love anymore anyway? It’s not the purity it once was. Your childlike mind has forgotten it to prevent from being hurt. You want to love, but you can’t. Your rules have fragmented you…"
"What is love anymore? You ask yourself as you cry…"
"This is your soul. It’s crying. It wants to love again."
"Will you let me love?"
"It’s been a while since I’ve had a voice. Thank-you."
"I love you."
"For who you are. For who you were. For who you will become."
Paul keeps wondering what it’s like in my mind. How he wants to observe and know what goes on. I just laughed. Argile just laughed. I wanted to tell him, it’s not my mind you should be worried about; it’s logic and creative. It simply acts on what I feel… what my soul feels. That is where you should look; my broken soul.
It is a good show! All nighters are not fun, unless you are doing something fun and stay up all night. But I don’t think it is referred to an all nighter then is it?
I’m starting to really enjoy it. Very interesting to watch. Gives me a bit of a break from my own analytical mind analyzing myself.
All nighters are what ever you make of them. Although I personally don’t label playing games and having fun all night an all nighter. You just simply say “I stayed up [doing x] all night!” I find the saying all nighter means you’re putting effort into something and are resorting to doing so till the wake of dawn.
“When I was 5 years old, my mother always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down “happy”. They told me I didn’t understand the assignment. I told them they didn’t understand life.”—John Lennon (via translucent-)