This is a great article about using subdomains vs subfolders for seo:
I looks pretty clear that subfolders are the way to go.
Just some thoughts I had after watching this video:
Simulation of a Nuclear Blast in a Major City
I used Grommet for a react project, and here are some of my thoughts on it.
Things I like
- Works out of the box for most use cases
When doing react, I have on worked with CRA up until now. I just took over a next.js app, and when built and deployed, it is speedy, but didn't like some of the details of development:
- myApp/pages/page-name/index.js is how you create a route for /page-name. While quick and friendly, I prefer the following:
- Defining my own route rules in details with reach-router. I am just to particular about routing to accept the trade off of simplicity against customizability. Also, defining routes is simple, and it is good for rearranging things without renaming components.
This is pretty fascinating stuff: https://www.sixdegreesofwikipedia.com/blog/search-results-analysis
With just 3 clicks on average, you can get from any wikipedia article to any other wikipedia article.
I have a problem with time wasting websites such as youtube, facebook, twitter, etc. I start going down rabbit holes that suck away my work day.
As such, I am putting all social media sites on a 7 day time out. I have added them all to my /etc/hosts file so that visiting them just goes to an error.
Also, installed the mac app called "Time Out" which every hour forces me to take a 10 minute break, during which I am allowing myself some time to work on my current task list, draw pictures, play piano, or write articles like this in my blog (the app covers the screen with a semi-transparent image making it so you can't click a mouse, but you can type, which is great a forcing what kind of things I can do).
For the last few years I have been using cloudflare in front of editthis.info. On the 21st I dropped it, and saw an immediate decrease in average load times (from google analytics):
This was without any changes to the system at all, and with about 800-900 active users per day.
My wife and I went to Disneyworld for our honeymoon this month and it was fantastic. Due to pandemic fears, flights were super cheap, the disney resort was discounted and nearly empty, and lines were nearly non-existent at the parks. Most rides were about a 5 minute wait, with some of the more popular attractions taking about 30 minutes. Compared to a typical 1hr+ for wait times for major rides, this meant going through a lot of rides was a breeze.
- Masks weren't pleasant in the Florida heat, but some light cloth ones worked out ok.
EditThis.info has long been overdue for an upgrade. I've been postponing it for a while, and now that I have just finished a big move, a wedding, and a honeymoon in Disney (covid be damned), I am circling back on it.
Task list (this article will be updated as things are completed):
- Clone current server instance
Instaboardgame will be a place for people to instantly play and create boardgames with their friends wherever they may be.
Think of it like a big box of board game pieces that you can pull out and start playing with.
To start with, you create a table, then you can either import in a prebuilt game, or you can
Last month I made a doodle post of an idea for an instant online board game system.
Well, progress is coming along fast:
Certbot is the tool from letsencrypt.org that lets you generate ssl certificates for your site without having to pay the likes of Verisign ever again. Basically I love the heck out of them for what they do.
Nginx runs on your server to redirect examplesite.com to localhost:1234 if you happen to be running your node express server on that port.
I was reading this BGG page:
React hooks is what got me to actually like React enough to make it my primary web development framework (at least at this date). They break away from the ugly class based heavily nested object form of React, and make it truly more functional, while giving allowances for managing state in a stateless system.
The first thing to grasp about react is that components re-render with every change in the props that come into them, and thus every time they are run (which is every time an input changes), all internal values are wiped out. It should also be noted that internal hook state changes also trigger these re-renders.
The following hooks help keep all of this from getting washed away with each re-render so that your components can continue to function.
I am going through my notebook directory where I have a bunch of little jottings, and these next posts are from those files all brought into this blog so they can be deleted.
Make hay while the sun shines.
- I think of this as a partly as keeping your eyes open to when the sun shines... which is when opportunities exist... and actually taking advantage of the situation. This is always a challenge because you have to act and act quickly, when it is so much easier to let the opportunity slide.
A boy will dabble in a thousand pursuits and then drop them when he gets bored or they become too difficult. A man will always finish what he starts.
- New jack city (again)
- Nick cage movies
Weighted task chooser is a command line node script that will select a randomly weighted task to do out of a tasklist markdown file.
So you have a list of tasks to do in a markdown file:
This is roughly a reply to/inspired by Write everything twice, just not a third time.
This is really a heavy "it depends". The goals of making it so you have one source of things to be debugged and modified are great when we are talking about a decent number lines of code (or more importantly conceptual pieces). The other side of things is that DRY pushes to creating modules/components/functions that are nameable sections of code that increases readability of the code. An example of this is to take 20 lines of code that does one "Thing", and replace it with a function call to Thing() that contains those 20 lines. Yeah, you don't save anything as far as line count of code, but you make it so when reading things, you don't have to parse apart the functionality of that 20 lines, and you can test it and know you never need to think about it again besides calling it's name.
I started working with using index cards for writing ideas similar to the slipcard (Zettelkasten Method). I started working with 3x5's but found they were too small to write ideas on. Now I am using 5x8's. This works well, because I use them in portrait orientation and they fit in the box I got for them. I also got some heavy duty cards that stand up well in the box and are nice to write on.
Here is the first card in the box. Instead of using it as an index, I am using the first one as a list of ideas for what cards could be; this is helpful as it is always the card that is visible in front of the stack.
I have gotten so interested in different writing systems lately. I have more notebooks than I know what to do with. I use a daily notebook.md file which I use to track work tasks. I have this blog, which is generated from a blog.md file. I recently got index cards and am trying to figure out how to incorporate them in some way.
Creating a pattern to writing is the tricky part. It takes repetition and a desire to do it... kinda like exercise.
Using a long notebook file has made it easier to keep track of what I need to do each day. On any day I grab things from the backlog, and stick them under the header for today's date. Then I checkmark competed items. Incomplete items just move to the next day (or back to the backlog).
Perhaps a react app for the phone would be ideal for this?
A lot of stocks are really down, some much more than average: Cruise ships, amusement parks, Dave and Busters, movie theater chains.
Selling all of my stock index funds and buying up whatever is cheap.
It amazes me how much can be done with VS code. It is really the perfect editor thanks to all of the extensions.
I was talking with a recruiter many years back about when Yahoo had a massive layoff. The following year, he was suddenly awash with jobs to fill with new startups that were created by these Yahoo employees that were in comfy jobs for life.
Octomaze is a A good puzzler that gets you thinking, is challenging, but not so much that I have gotten stuck yet.
The mechanics and style of this game concept are great, but what really makes this shine is how much obvious thought the dev put into the level design, which progresses with a smooth increase in difficulty.
I just bought the full version after beating the demo, and it gets even better after that. New themes, dangers and enemies come in world two.
Progress update on https://godotassetstore.org
Tired of having to annoyingly see those accept cookies messages that EU bureaucrats have foisted upon us all? Use the StyleBot chrome extension and then open stylebot->options->Edit Global Style Sheet, and then copy paste this css in
Node red this is a very similar thing to yahoo pipes back in the day. It is a self hosted tool to pipe things into each other and do operations on them (best to watch the video there).
I have a PC hooked up to a TV with a bunch of controllers, and I love local multiplayer games with my kids. If you have a game you would like us to beta test, and write a review of, just send me a message on twitter.
I didn't finish the demo, and well, I figured I should paste it in as I think it is a good breakdown of game design for a mechanics based puzzle:
He does a lot of other remasters, and he also has this great article about how nes graphics work
UPDATE: My feelings about this have changed quite a bit, a follow up article is to come. The summary is that React has gotten so much easier with React hooks that my recommendations here have changed.
A little background
I did about 5 years of AngularJS (not newer Angular) development, 1.5 years of React, and now about 1 month of Angular, so I know my around a little bit of the the first two, and now with I have touch a bit on the third (I consider Angular and AngularJS to be fairly distant cousins).
It is way too difficult to find a domain that isn't being squatted on. Take any two random words in the dictionary, put them together for a domain name, and some squatter will own it.
As painful as it would be to raise prices, a domain name should be $100 per year rather than $10. This would destroy squatters business model as it would price them out of spamming the whole registry. The registries of course have no incentive to do this as they would rather sell 10000 domains for $10 than 10 domains for $100, so my dream of picking a relevant domain name for a project will just stay that, a dream.
Shameless plug: if you are having trouble coming up with a domain name, try the thing I made to deal with this problem, mix match domains.
I have a bunch of devices that use micro-usb, and as such I have chargers for them everywhere, but inevitably the tips on those cables start to fail, and devices have to be wiggled around and set just right to charge. On top of it, the devices themselves start to wear down at the charging point.
Well no longer!
My vive has died in all the ways:
- One lighthouse got so bad that if you faced it, it would totally lose tracking
- The audiostrap headset snapped
Looking at much of the traffic on the asset store, and non-USA visitors seem to be a big part of it (China, Russia, etc).
To satisfy this market (and target them for SEO), I will do something relating to using the google translate api to translate the various assets and text in the site. Urls will be something like /en/assets/tag1/tag2/SomeAssetName
Constant Sail Pirates and Traders analytics seems to do consistently well despite being a page with no content on it other than an old video. I should make it a priority to make this game again with newer tech to support more users than before as there is just a continuous latent interest in this game that doesn't even exist.
I just registered godotassetstore.org for the Godot Asset Store. It seems like it would be an easier name to share with people and the media than godotasset.store, which just seems a little odd. I'll have to set an nginx redirect for it on the server and set up certbot to do the https for it.
And just like that, now we have a dead simple blog generator tool:
This was used to create the site you are currently on!
I should come up with a new username on twitter and domain name to match it.
3am is often the time I wake up, eat some cereal and do about an hour or so of hacking before heading back to bed at 5am. It just seems to be the most productive time for me (assuming I don't get wrapped up in social media).
I started developing the Godot Asset Store a few weeks ago. It is built with Angular and node.js as the backend api with nginx as the frontend.
I am getting to the tricky parts now:
Stack Overflow is like a magic wish granting genie, if all your wishes are constrained to be answers to technical problems. Pretty much and far flung technical question I put in there, the right person comes along and provides an answer.
10/25/2019 is the day I started the Godot Asset Store, and so I am inserting this entry for that day. After creating my first godot app (the tutorial dodge game), and after years of dipping my toe into Unity but never making much of anything, I see great potential in Godot.
One of the biggest pain points is that there is no commercial storefront. Yes, there is a free storefront, and with many many great open source projects, but the majority of those projects are ones that were personally made to try something out as an experiment, or to suit someone's own personal needs to finish their own game, with little long term updates and support. Yes, there are great exceptions to that, but then there are many that haven't been updated in 2 years, and aren't even compatible with the current version.
The Unity and Unreal storefronts are lively bustling communities with thousands of assets updated frequently to suit the requests of people who purchase and review those assets. Throwing in a monetary reward for developers to keep there assets improving, maintained, and version compatible is a great boon for the assets and those who depend on them.
Constant Sail is a pirate and sailing massive multiplayer game that is in development
Island Warfare will be a game where you build up your islands and the armies on your island to go take over other user's islands
Cueflash is a study tool where you can create and share flashcards (cuecards). As you study with it, it will adapt to you and show you cards more frequently based upon how well you know them.
Editthis.info is a wiki hosting service where you can create your own wiki in seconds for free!