Better HN
topnewbestaskshowjobs
Log inSign up

theluketowers

39 karma · joined Aug 17, 2018 (8y ago) · 36 submissions

Lead maintainer of Winter CMS, full stack web developer and pilot.
Submissions

comment 2y ago · link · parent

What about Winter CMS?

comment 2y ago · link · parent

Most people wouldn't choose PHP for building a game engine, but Jack did! Here's his story of turning a CMS into a multiplayer game engine. Check out the code, try the demo, and see if this crazy idea actually works!

3.

Building a Game Engine in PHP Inside Winter CMS – A Wild Journey(wintercms.com ↗)

2 points · by theluketowers · 2y ago · 1 comment

comment 2y ago · link · parent

I'm curious, what made you decide to use final classes and private properties in your Client class? I'd recommend taking a look at https://ocramius.github.io/blog/when-to-declare-classes-fina... if you haven't seen it before.

comment 2y ago · link · parent

Down for me, intermittent connection issues to the droplets and the dashboard. First time it's ever impacted any of my sites in the 7+ years of hosting with DO.

comment 3y ago · link · parent

You should check out Winter CMS, we're built on top of Laravel and themes are powered by Twig - no heavy PHP code allowed in themes. Instead, complex logic is handled by "Components" that are provided by plugins.

It's extremely powerful and developer friendly (no more "custom post types" for every record type under the sun), definitely my preferred way to build websites that WordPress would normally handle.

comment 3y ago · link · parent

While not perfect, they do meet real world needs in ways that are better than current ICE options. A fully electric truck isn't really a viable option in the market they're building for right now (heavy duty working trucks for logging, etc). Additionally, getting a working hybrid option out into the wild still benefits the eventual transition to fully EV trucks as it allows for testing and validating of the electrical systems required to make a functional workhorse that can deliver value to its owners / operators as well as pushes forward the viability & benefit of electric vehicles in the eyes of the public / industry.

comment 3y ago · link · parent

I've been fascinated watching the progress of Edison Motors (https://www.edisonmotors.ca/), who are making a diesel electric hybrid semi. Their logic and arguments make a lot of sense: the diesel engine gets to run at its peak RPM 100% of the time to charge the batteries - and it gets to take advantage of the perks of electric like regenerative breaking, quieter operation, and immediate torque. Not to mention the easier transition time when it comes to working within existing infrastructure. There's also all sorts of side benefits with what they're doing like the semi itself being a generator on wheels for heavy duty equipment. Lots of fascinating stuff coming from them, and they already have a driving prototype :)

comment 4y ago · link · parent

That's not without its drawbacks however, especially when you consider tools like swoole and laravel octane that keep your application in a long running process, so if you use die you actually kill one of the server workers instead of just terminating the execution of the request

comment 4y ago · link · parent

I'm curious to know what what "reasonably good" meals you're making for less than $3. That would cover pretty close to nothing in Canada. If such meals exist I'd be happy to learn more about them, feeding a family of four costs me around $1k a month.

comment 4y ago · link · parent

Not sure if it's exactly what you're looking for, but the closest modern equivalent might be the various VR games / apps that are centred around socializing with other random people (like VR Chat).

comment 4y ago · link · parent

Not a generic tool as such, but Winter CMS has a INI parser / renderer built into the core: https://wintercms.com/docs/services/parser#ini-parser

comment 4y ago · link · parent

Symfony 5.4 just added support for bash completion to PHP CLI commands using the library so we were able to add a very nice and easy to use interface to Winter CMS to take advantage of it: https://wintercms.com/blog/post/console-improvements-winter-...

Defining completion values for a given argument in a Winter CMS CLI command is as easy as adding a single method to the command's class now:

    public function suggestMyArgumentValues(string $currentValue, array $allInput): array
    {
        return ['array', 'of', 'suggested', 'values'];
    }

comment 4y ago · link · parent

I've seen this be used for providing a space to explore 3D scans of an abandoned mining town in California: https://poly.cam/cerro-gordo. I think there's definitely some cool applications along those lines of providing a way to interact with real physical locations virtually with other people at the same time.

comment 4y ago · link · parent

Sigh, so much for a last minute deploy before recording a progress demo... Darn modern conveniences...

16.

AirTag Exposes DHL Fraud(youtube.com ↗)

2 points · by theluketowers · 4y ago · discuss

comment 5y ago · link · parent

Might depend on where you get your training from but I know for my private pilot's license I was instructed and practiced how to purposely get into spins and recover from them. It's a requirement in Canada: https://tc.canada.ca/en/aviation/publications/stall-spin-awa...

comment 5y ago · link · parent

Saskatchewan Canada can easily reach -40°C for several weeks during the winter.

comment 5y ago · link · parent

Also originally submitted here https://news.ycombinator.com/item?id=26939729

comment 5y ago · link · parent

October 2.0 was based off of the code base as of a year ago, so everything that was added to the project in the past year was removed in 2.0. As far as breaking changes in the 1.0 & 1.1 branches go the links are mostly talking about the docs changes that indicated the removal of the recent changes; but there are some that actually cause problems for current projects that aren't upgrading, such as the removal of the wikimedia-merge-plugin which is required for plugins to load their dependencies smoothly.

comment 5y ago · link · parent

Hey Tony! Not sure who vanilla-almond is, but I'm the Luke Towers that wrote the post and leads the Winter CMS project :)

Definitely should grab a bite again, although unfortunately that restaurant has closed :( Hit me up on the HackRegina Slack some time!

22.

October CMS as you know it is Dead(wintercms.com ↗)

2 points · by theluketowers · 5y ago · discuss

comment 6y ago · link · parent

That's because their product sucked, they charged excessive fees, and they were actively hostile to their users.

comment 6y ago · link · parent

Personally I'm not all that into the opera, but this article does raise an interesting point about the affect that the pandemic has on the future viability of a lot of different organizations. Not just businesses, both small and large, but volunteer organizations, sports, and various outlets of skills that usually require in person participation and engagement; especially with youth to keep going strong.

This is a challenge the Air Cadet Flying Program in Canada is currently facing, it's always an ongoing effort to continually get more youth involved with flying and have them stick around with the organization to become the next generation of instructors and program leaders. With the pandemic not only are near term problems being encountered (such as the entire force of flying members no longer being current, requiring a "cold start" whenever the flying operations start back up), but there are also longer-term challenges in that a large gap could appear if the constant ongoing process of drawing new interest in aviation and the flying program specifically is on pause for too long.

comment 6y ago · link · parent

Have you tried October CMS? It really gets back to the basics and is awesome for rapid application development. Disclaimer, I'm the lead maintainer

comment 6y ago · link · parent

Note that Liquid is quite similar to Twig, which is used in quite a bit more projects than just Shopify.

comment 6y ago · link · parent

Check out Shopaholic for October CMS: https://octobercms.com/plugin/lovata-shopaholic (Disclaimer: I'm the lead maintainer for October CMS but I have no affiliation with Shopaholic).

comment 6y ago · link · parent

I'd recommend taking a look at October CMS (https://octobercms.com/). It looks pretty simple from the intro video but if you take a bit of time getting to know it better you'll be blown away at how quickly and easily you can get something up and running that remains flexible & scalable enough to grow pretty big.

Disclaimer, biased as I am the lead maintainer for the project ;)

comment 7y ago · link · parent

Just had to go through all my sites in CloudFlare and disable the proxying feature so that my sites could get back online, seems to be an issue with the proxy servers as it's returning a 500 error page from cloudflare/nginx with none of CloudFlare's usual branding.
12