Thursday, February 25, 2016
I would like to build a few of these extensions and put them out on the Magento marketplace. From what I have seen so far it is very easy to extend and modify pretty much any part of the way Magento works. My knowledge of php is somewhat limited too, so I am looking forward to getting into more depth with a language other than Coldfusion. I am just getting started, but the way Magento works seems very interesting.
Sunday, February 21, 2016
MySQL Ignore Index
Monday, February 15, 2016
Adding Google AdSense ads
I also added ads to my main site mattdyer.us. That site is setup as an AngularJS 2 site. I am just getting started setting it up. I was able to just put the ads in my main html file though so I didn't have to worry right now about whether they would work well with an angular site. Adding those ads was also pretty easy. I spent most of the time just playing with a layout to get a nice side bar and a main area for content. I also did some reading about routing in Angular 2. Hopefully now I can start adding some other pages to my site.
Trolley Problem Thoughts
When I thought about it the ideas of social class came to mind. Would you be less likely to throw the switch if the five people on the current track appeared to be homeless, or possibly drug users, and the single person on the other track was perhaps a railroad worker. It could matter how long you have to make your decision.
Previous thoughts I have had involved driverless cars attempting to save their occupants. Given a choice should the car run over pedestrians to save the occupants of the vehicle. For example if the car was unable to stop in time should it choose to go off a cliff killing the occupants, or run over some number of pedestrians and stop safely.
I think current driverless cars would probably go off a cliff to avoid colliding with the people, but probably only because they have never encountered a cliff before. I don't know if they have any preset knowledge about what situations could destroy the car, or if it all comes from learning while driving.
Sunday, February 14, 2016
Service worker exploration
About a week ago I took another look at service workers. I looked at them once before but I only got as far as getting one registered.
This time I got a little further. I'm thinking of building a module that would allow easily doing some offline caching and other things that are possible with service workers. I think building something like that would be a good way to learn all about service workers.
I setup my first angular 2 site over the last few days. I started with the js version of the five minute quick start.
The site replaced my old mattdyer.us site. It is now hosted on github sites. There are only a few files. I haven't gone too far beyond the example site yet.
I'm hoping the site will continue to grow now. I've got a lot of ideas for things ro work on.
I'm not sure where I heard this, and it wasn't worded this way, but it helps to think about coding this way. Basically, any progra...
I continued working on my 2d project today. I was able to get some other npc characters to animate. I added one of the pre-made killzone o...
A few days ago I read about the trolley problem. It was mentioned in an smbc-comics.com comic. I hadn't heard of this before, but I ha...
Some Android applications use space on your Google Drive to store data. You can't see this data by browsing drive the normal way. You ...