I’ve just finished off deleting all the crap that bots have been putting on my site. Fucking stool softeners, cialis, and viagra.
I tried to have an open and honest communication with you. But, I suppose it’s just like that one girl said in The Social Dilemma. The internet is one big shopping mall.
Keep on protecting those IP’s which don’t make you any money. It’s a noble fight you’re fighting. And plus, it’s not like we were raping away all of their profits. I’m sorry, but it just doesn’t work that way. It’s not binary. In fact, I doubt that we were taking away 5% of their profits.
I doubt, very highly, that we were taking away 1% of their profits. But no, not you white knights. Any profit taken from a faceless, soulless corporation and that has you taken all aback.
It’s like we haven’t learned anything from the ’40’s. Great Depression? Never happened. Two world wars? Pfft, child’s play. World War II? We won it. (Actually, it was Russia that won the Eastern Theater) And it’s like none of you realize that we sent some of the greatest minds, not only of our country, but of our time, over to those countries to help them rebuild.
And look at those countries now? Germany? Free health care, and a fuckload more mandatory vacation days than we get. Japan, same thing. South Korea, same thing. Canada, and yeh, I’m including you Canadians in this. Canadians have loved our military because it has meant that they don’t have to build one of their own, at least one of consequence.
That’s one thing that pisses me off about Jordan Peterson. He keeps on speaking about “our military”. Ummm, hi? Either emigrate to our country or don’t. But stop saying “our military” and then start singing “Oh, Canada!” when the national anthem comes on. Either pay your 55% directly into the military coffers, otherwise GTFO.
I dunno, I’m probably just rambling, to be rambling. But it felt good to get it off my chest.
I’ve been dreading doing something about my database knowledge, especially when it comes to Python. MySQL, mongo, SQLite, etc. It all just seemed so over the top, and heavy handed to me. Yah, great… So, I’m gonna be using a database that Fortune 500 companies are using? Yah, great. That’ll turn out well.
That’s until I heard about TinyDB. What it does is it uses the same base principles as some of the others, without all the overhead. In other words, you don’t want any ACID (in other words, what enterprise does) testing, but yet you still want to learn about database management? TinyDB is here for you. You don’t want to learn about multiple people trying to leach off your data? TinyDB is here for you. You want to learn and search databases? TinyDB is here for you.
Of course, if you need to have any of those things, then TinyDB falls apart. But as of right now, I’m actually having fun learning about databases, and most importantly, I’m doing searches in a database environment.
I’ve had to set up some of the bigger cousins of TinyDB to even get this website started, and let me tell you, it wasn’t fun. Just getting the initial password to reset was a major PITA. Hell, setting up SSH keys (and logging in) was much easier than this.
Some of you may call TinyDB the little database “that thought it could“. In many ways, you’re absolutely right. Hell, give it the moniker of My Little Starter DataBase. I don’t honestly give a shit. I’m learning, and that’s what matters.
I am of the belief that George Orwell made me write more efficiently and succinctly. That’s not to say that there haven’t been other great writers, there have. But, I’ve always felt a connection to Orwell. Dunno why, either. Of course, I guess that’s the main point of a great writer. Get you on their side, and explain to you their point of view.
Very interesting article. Pretty basically it says that you should remove the ego from yourself and try and stay a beginner. The article has more than that in it, just trying to give you a one sentence description.
It’s definitely something I have, and will, continue to struggle with.
I know now that, “Pros are just amateurs who know how to gracefully recover from their mistakes.” ― Kevin Kelly
It’s a file for keeping your home folder clean, written in python 3 and tkinter. Should work on every distribution of Linux.
Was a major bitch too, figuring out that I had to change directories over to my home directory. After that, it all went fairly smooth. The only thing I had to figure out then was the logic of making it work on everyone’s system. Was a lot of fun.
Never realized how much of programming was reading. Right now, I’m spending 90% of my time reading, 10% coding. Sure as shit hope that improves.
When I first started learning about Python, I ran across this program and in my eagerness to learn, I didn’t pay much attention to it. I’m not sure if the instructors told me how deceptively simple it was, but it was when I was first learning about for loops. It looks a little something like this.
What it’s supposed to do is go through the numbers one through ten and find all the even and odd numbers. However, if you’re a dipshit like me, you probably wrote the code somewhat like this.
Who needs all those fancy f’s and squiggly brackets anyway, right? That is until you got something like this.
Let’s go back and take a look at why that won’t work, first of all.
You probably entered just before this something like…
Both of those will not work with the code written above. I know that it caused me to tear my hair out in confusion. In the ifnum % 2 == 0: line, it’s expecting an integer. If you put in the variable mylist = [‘1’, ‘2’, ‘3’,‘4’… etc ] you’re putting in strings. You might as well ask it to divide an apple by an orange, and seeing if its remainder is a house. It just doesn’t make sense.
Or, alternatively, if you put in the variable mylist = [ 1, 2, 3, 4, … etc], the print(‘Odd number’ + num) is expecting a string, not an integer.
So, then, let’s take a look at how we fix this mess.
Well, for the first thing, it’s going to be all in the variable that you declared. So let’s go with mylist = [‘1’, ‘2’, ‘3’,‘4’… etc ] first.
Now, the first thing you can probably see is that I’ve added int toif int(num) % 2 == 0: This is because it will try and treat everything inside of the parenthesis as an integer. Also note that in the line print(‘Odd number’ + num), you don’t have to do anything because it already is a string. Remember what you declared your variables as. (mylist = [‘1’, ‘2’, ‘3’,‘4’… etc ])
Alternatively if you declared your varibles as mylist = [ 1, 2, 3, 4, etc … ] your code would have to look something like this.
Here we have if num % 2 == 0:, because it already is and integer. Here, what we have to do is change it over in the print statements. If you’ll note the str(num) in both of the print statements.
This can work with tuples, too. Mess around with it and try it out. Just remember what you declared your variables as.
I dunno if this helps any of you, but I sure as hell know that it helped me.
Wait a minute, before you for the reply button, lemme explain. I’m not against microtransactions in mobile gaming. In PC gaming, oh yeah, I’m right there with ya. Bring out the pitchforks and the hay and lighters.
But in mobile, it’s quite a different story. Why? Well, let’s back up a bit and take the entire world as a stage.
In Asia, mobile markets are HUGE. I once heard a report that most people in China don’t even own a PC or a laptop, preferring to use their smartphone for everything.
And many Asians are fine with P2W mechanics in their games.
So, why bother? EA, UbiSoft, and Bethesda already have their cash cow, called Asia. It’s not a matter of if, nor when. It’s already taken ahold.
But I’ll be damned if I’m gonna stand by and let them ruin my games with that bullshit.