HNHacker News
TopNewBestAskShowJobs

wilsonfiifi

3,101 karma · joined April 24, 2013

La présence d'un passé,omniprésent n'est pas passé.

bits & bobs: https://github.com/johnwilson

submissionscomments
wilsonfiifi··on Django 3.2
Dokku will allow you to host multiple applications on subdomains for which you can create CNAMEs in your DNS settings. Dokku is more of a mini self hosted Heroku without a dashboard so you'll lose out on cpanel features like email hosting.

But If you're not uncomfortable using docker, you can check out Cloudron [0] which handles email [1] and gives you access to quite a few web apps you can easily install on your server. It supports PHP app deployments [2] out of the box but for Django, you'll have to dig a bit deeper into their docs to learn how to deploy a custom docker based app [3].

[0] https://www.cloudron.io/

[1] https://docs.cloudron.io/email/

[2] https://docs.cloudron.io/apps/lamp/

[3] https://docs.cloudron.io/custom-apps/tutorial/

wilsonfiifi··on I can only think that modern front end development has failed
Wagtail
wilsonfiifi··on Ask HN: I've realized I'm a bad software engineer and I'm over 30, what's next?
I'm not sure even "Senior" software developers will be able to understand badly written code at first glance. However what experienced developers will most likely do is make a copy of the code, open it up in a good IDE add a breakpoint and run it. Add your own comments to the code as you go along and figure things out. And don't forget to take some notes separately too.

As others have mentioned in the comments, you might be suffering from "imposter syndrome" but don't let it get you down. Some of the best out there have been through what you're experiencing [0].

[0] https://www.hanselman.com/blog/how-do-you-even-know-this-cra...

wilsonfiifi··on What I learnt shopping for decent computer speakers
Quick question, does the DAC still work when connected to hdmi monitors? I keep having to fiddle with pulse audio at every login to get the headphone jack on my NUC to work.
wilsonfiifi··on Charts.css
This looks nice. I don’t see mentioned anywhere in the docs if it supports multiline labels.
wilsonfiifi··on Israel's autonomous 'robo-snipers' and suicide drones raise ethical dilemma
If you have accepted this narrative then surely you can understand that there are also extremist ideologues who believe the other side cannot be reasoned with and war is the only solution. The pendulum swings both ways but eventually rests in the middle. Whether that middle ground is peace or a detente history will tell.
wilsonfiifi··on Israel's autonomous 'robo-snipers' and suicide drones raise ethical dilemma
If anyone is wondering what the Israeli-Palestinian situation would have been like today had prime minister Rabin not been assassinated, here's an article that touches on that point. [0]

[0] https://foreignpolicy.com/2015/11/03/what-would-have-happene...

wilsonfiifi··on Adobe will end support for Brackets on September 1, 2021
On the subject of ending/killing products, Adobe shouldn't have abandoned Fireworks. If they had no use for it, they should just have donated it to an open source foundation like they did with Flex. It was an awesome tool and easy to work with...
wilsonfiifi··on I built a 5K iMac Display
On a side note, for anyone planning to buy a monitor please spend the extra bucks to get one with adjustable height, tilt and rotation if possible. And if you've missed that boat then grab yourself a monitor stand and a Vesa mount/adapter from Humancentric [0].

[0] https://www.humancentric.com/collections/vesa-adapters

wilsonfiifi··on RIP Flynn.io
This is a bit sad to read. I mainly use Dokku but having tried Flynn I think they had something great going on. Ultimately I reverted back to Dokku because I had to modify my application to fit Flynn's deployment style (no automatic redirection from http to https for example).

Of all the open source PaaS that mimic Heroku to a certain degree, I stick to Dokku because I can always fall back to Heroku with minimal app rewrite since I use buildpacks. This might not be an issue if you deploy with DockerFiles though.

wilsonfiifi··on Ask HN: What's your best advice for someone turning 30 today?
Maybe you can increase your Lysine [0] intake. Amazon sells pure Lysine tabs [1]. I should warn you though, they're a bit big to swallow and have a slight after-taste.

[0] https://www.healthline.com/nutrition/lysine-benefits

[1] https://www.amazon.com/Amazon-Elements-Complex-Vitamin-Veget...

wilsonfiifi··on Tell HN: All your Google Music deleted on February 24th
If you can afford to, just get a Synology NAS. Their audio station app [0] works quite well across devices.

[0] https://www.synology.com/en-global/dsm/feature/audio_station

wilsonfiifi··on Free Music for Your Videos
Thanks for the link. If you don’t mind, can you explain how this is different from what NCS (No Copyright Sounds) [0] is offering?

[0] https://ncs.io/

wilsonfiifi··on Computer Graphics from Scratch
Hey thanks for the book as well as the discount code. Quick question, do you think this will be beneficial to me if say I want to write a server side charting library?
wilsonfiifi··on Docker, Django, Traefik, and IntercoolerJS: My go-to stack for building a SaaS
Or you could just use Dokku [0]? I don't mean to criticise the author's stack but if you just really want to focus on your application and spend less time figuring/learning about deployment then just adopt the 12 factor [1] approach and use Dokku with Fabric[2] for you server setup. I have a sample fabfile [3] I use for my initial server setup that I can easily modify to suit different project needs.

Ultimately, it comes down to personal preferences but Dokku being installable on your development machine (via virtualbox) you've got a very similar environment to production.

  [0] https://github.com/dokku/dokku
  [1] https://12factor.net/
  [2] http://www.fabfile.org/
  [3] https://github.com/johnwilson/django-wagtail-template/blob/master/fabfile.py
wilsonfiifi··on Regular afternoon naps linked to improved cognitive function
In case anyone’s interested, here’s a Wikipedia article [0] about that good afternoon siesta!

  [0] https://en.wikipedia.org/wiki/Siesta
wilsonfiifi··on WhatsApp loses millions of users after terms update
Before this, not many people had a reason to even think of having an alternative to whatsapp. Now, that conversation has begun and more folks are installing alternative chat apps. It's not an exodus, it's more of a transition. The main point is, the average Joe has realized there are other options beyond Whatsapp and is more willing to now explore them.
wilsonfiifi··on Will the US experience a violent upheaval in 2020? (2012)
Aha! Thanks for the correction.
wilsonfiifi··on Will the US experience a violent upheaval in 2020? (2012)
That's brilliant! I wholeheartedly agree. In case anyone wonders where this saying comes from, my quick search attributes it to Margaret Atwood, from her book "The Testaments" [0].

  [0] https://niemanstoryboard.org/stories/as-they-say-history-does-not-repeat-itself-but-it-rhymes/
wilsonfiifi··on Ask HN: Show me your half baked project
Great questions!

I didn’t study power electronics so I’m not in a position to confidently answer your first question however I’m sure if you do an online search you’ll find additional information addressing it. I found an article [0] that goes a bit more into depth, have a gander and see if it’s of any help.

For some odd reason, the popular hair clipper manufacturers, who are based in the USA/Canada, have a smaller selection of professional devices that they produce for the global market. So if you’re a barber in the UK for instance, you either have to wait for them to introduce a global variant of your desired clippers or you buy the cordless version if available. That’s why the conversion kit is a godsend if you find yourself in that situation.

  [0] https://www.kccscientific.com/50hz-60hz-guide-frequency-converter-power/
wilsonfiifi··on Ask HN: Show me your half baked project
Thanks. I've set my mind on learning as much as I can beforehand so I don't get bamboozled when I start delegating. But I agree that SEO appears to be a black art, to me at least!
wilsonfiifi··on Ask HN: Show me your half baked project
I bought a paid of Wahl Senior hair clippers from the US and I figured all I'd need was a step down transformer (240v to 110v) for it to work and boy was I mistaken! Apparently you need to also take into account the frequency of the current.

To cut the long story short, all my early search for a solution was leading me to overpriced "kits" on ebay and the likes. All you have to do is type "frequency 60hz clippers" to understand what I'm talking about. The solution, which is cheap and simple is to buy a $18 power adapter with a $20 inverter from Amazon.

I figured I'd make that information available online for anyone facing that same problem. So I just put together a site [0] with some amazon affiliate links. I haven't done any SEO or marketing yet. Me being a backend dev, this is a nice little learning project.

  [0] https://www.freedomclippers.com
wilsonfiifi··on A computer science study plan to become a software engineer
I'm of the opinion that university trains you to reason better about problems and sharpens your problem solving skills. Especially complex problems. So although you might not always encounter the exact academic problem in your day to day work, you still unconsciously use the tools and techniques learned.
wilsonfiifi··on AirPods Max
I guess Apple is officially the new Bang and Olufsen when it comes to pricing! My goodness...
wilsonfiifi··on And this world’s a fickle measure
Yes he was convicted and has done his time. His past misdeed(s), if genuinely left in the past, shouldn’t be an albatross around his neck for the rest of his life.
wilsonfiifi··on iPhone unit sales have been declining steadily for 5 years
Perhaps if they made physical dual sim phones widely available (and not just in China and Hong Kong) they might be able to lure more users. In my corner of the globe, a significant number of people have more than one SIM so Purchasing an iPhone is not very cost efficient. And even if you do have the means to purchase a second device it will most likely be a cheaper android phone. Eventually you’ll come to realize that android isn’t that bad compared to iOS and at times it even does things better. So your next logical upgrade purchase will be a high end dual sim android phone.
wilsonfiifi··on MicroPython
Another great resource for micropython tutorials is Miguel Grinberg’s blog [0]. In fact his blog is a gold mine for Flask development as well.

[0] https://blog.miguelgrinberg.com/category/MicroPython

wilsonfiifi··on Docker update ToS: Image retention limits imposed on free accounts
In case anyone decides to self-host their docker registry, Pluralsight has a nice course [0] on that subject.

[0] https://www.pluralsight.com/courses/implementing-self-hosted...

wilsonfiifi··on Announcement of LibreOffice 7.0
I may be in the minority but i think OnlyOffice [0][1] has a better offering than LibreOffice. Desktop apps, Web app (self hosted) and open source.

  [0] www.onlyoffice.com
  [1] https://github.com/ONLYOFFICE/
wilsonfiifi··on For black CEOs in Silicon Valley, humiliation is a part of doing business
“You never change things by fighting the existing reality. To change something, build a new model that makes the existing model obsolete.”

  - Buckminster Fuller.
← PreviousPage 3 of 9Next →