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 Google to pay $28M to settle claims it favoured white and Asian employees
I wonder why “Black” employees were asked to be excluded from the lawsuit before Google agreed to settle.
wilsonfiifi··on Arduino based OBD dongle for vehicle telemetry
Self hosted vehicle tracking perhaps…
wilsonfiifi··on Twenty, a modern CRM alternative to Salesforce
Nice! It's great to have more open source platforms in the CRM space.

This feels a lot like Directus [0] except that the latter is a more general data platform you build upon. They have a 100 Apps in 100 hours playlist where they build sample apps on top on Directus, even a simple CRM [1].

[0] https://directus.io/

[1] https://youtu.be/tTrBn9Wvko0?si=IoqQ7o7Y8czfxB31

wilsonfiifi··on Building a full Django project, starting with a single file
Lightweight Django (2014) [0] actually explores using the Django framework in a similar manner.

[0] https://www.oreilly.com/library/view/lightweight-django/9781...

wilsonfiifi··on Building a full Django project, starting with a single file
Have you taken a look at Masonite Framework's ORM [0]? It's an implementation of ActiveRecord. I'm not sure why the framework [1] doesn't get enough attention though. I think it's a nice option for projects that have outgrown Flask but aren't keen on Django.

[0] https://orm.masoniteproject.com/

[1] https://docs.masoniteproject.com/

wilsonfiifi··on GlitchTip: An open source, Sentry API compatible error tracking platform
Sentry is great but I’ve noticed that it significantly increases the request response time which makes it unusable for high traffic web apps. This happens with both the hosted and self-hosted instances. I’m not sure if it’s due to bad configuration or PHP. I’ll give this a try and see…
wilsonfiifi··on Apple brings Final Cut Pro and Logic Pro to iPad
For anyone interested in how the iPad is actually used by professionals to make/produce music you can watch this video by youtuber Henny Tha Bizness.

He has a great video on how he got started [0]

[0] https://www.youtube.com/watch?v=-z_1bRbC_lU

wilsonfiifi··on I don't want streaming music, I just want to stream my music
Synology Audio Station [0] should be a good replacement for Apple Music and Other streaming apps. Their iOS and Android DS Audio apps are quite good. You can even access your Synology NAS remotely so that should tick quite a few boxes.

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

wilsonfiifi··on Portable Django
I would suggest Masonite [0]. It’s lightweight enough to replace Flask and has a plethora of built in features if you need to build a “production-ready” app. It tends to imitate Laravel in its project setup and naming conventions which, depending on your preference, can either be a boon or a bane.

[0] https://docs.masoniteproject.com/

wilsonfiifi··on Ask HN: Is there any beautiful Markdown editor?
There’s Marktext [0] that is pleasant, feature rich and has a minimalist UI.

[0] https://github.com/marktext/marktext

wilsonfiifi··on Python Data Visualisation
Any time I encounter a charting or data visualization library, the first thing I look for is how difficult is it to export the charts to PNG. In most cases you’ll find out that they require you to install node.js to accomplish that. It will most likely involve rendering the chart using jsdom and then triggering the “click to export” button to generate the PNG file. This seems like such a convoluted process and I can’t help but feel there must be a much simpler/cleaner way to go about it.

So far, Pygal [0] seems to be one of the few that gets it right in my opinion. The only drawback is that the charts aren’t as “pretty”.

[0] https://www.pygal.org/en/stable/index.html

wilsonfiifi··on One-liner for running queries against CSV files with SQLite
Another great tool written in Go is CSVQ [0][1] that can be used as a command line or a library.

  csvq 'select id, name from `user.csv`'

[0] https://github.com/mithrandie/csvq

[1] https://mithrandie.github.io/csvq/

wilsonfiifi··on A new career in software development: advice for non-youngsters
Coldfusion might be a good tech stack to learn. I'm sure there are a multitude of legacy apps/sites that still use it.
wilsonfiifi··on Show HN: Bladewind, Laravel Components with Tailwind and Vanilla JavaScript
That's a lot of work you've put in! Nice and clear documentation. Thanks for your contribution.
wilsonfiifi··on Dokku – Free Heroku Alternative
One way to overcome that might be to use ansible to automate:

  1. Dokku setup on a new server 
  
  2. Deploy your app from a git repository

  3. Restore your database from backup
If you aren't comfortable with ansible you can use Fabric [0] or Sup [1]. I think there's even an ansible guide for Dokku deployment on their blog [2].

[0] https://www.fabfile.org/

[1] https://github.com/pressly/sup

[2] https://dokku.github.io/general/automating-dokku-setup

wilsonfiifi··on Dokku – Free Heroku Alternative
The admin webui runs on the captain sub-domain so i'm not too sure if that can be firewalled.
wilsonfiifi··on Dokku – Free Heroku Alternative
Dokku is an excellent Heroku alternative. If you have the means, please support the project by paying for Dokku Pro [0]

[0] https://pro.dokku.com/

wilsonfiifi··on Dokku – Free Heroku Alternative
Portainer is more of a UI for docker and docker containers. But dokku is and actual platform similar to heroku that helps you deploy your apps.
wilsonfiifi··on Ultorg: A user interface for relational databases [video]
You should take a look at Directus [0]. It's much lighter than Hasura.

[0] https://directus.io/

wilsonfiifi··on Laravel 9
Also take a look at Code Course [0]. Good stuff and reasonable pricing.

[0] https://codecourse.com/

wilsonfiifi··on Jolie: A drop-in replacement of Django Admin
Oh it’s much more than that. Wagtail’s killer feature is the StreamField [0]

[0] https://docs.wagtail.org/en/v2.8.1/topics/streamfield.html

wilsonfiifi··on WordPress themes, plugins backdoored in supply chain attack
Wagtail [0]

[0] https://wagtail.io/

wilsonfiifi··on Ask HN: How to continue to be gracious about the good fortune of rich friends?
One advantage of having rich friends is that you have access to their network of other rich friends. Find out how you can provide a service to that network and make some money out of it. It’s difficult to gain access to a network of that sort if you aren’t one of them so you find yourself in an opportune position.

As they say luck is when opportunity meets preparedness. So make your own luck.

wilsonfiifi··on Ask HN: What JS framework/library would you use for lightweight frontend work
You can give Mithril.js [0] a go. It's lightweight and has a couple additional goodies such as routing and xhr inbuilt. It has very good documentation as well.

You can also enable JSX [1] if you prefer that to hyperscript.

A site with more code examples and up to date [2]

[0] https://mithril.js.org/

[1] https://mithril.js.org/jsx.html

[2] https://mithril-by-examples.js.org/

wilsonfiifi··on Kubernetes at Home with K3s
Yeah so the author didn’t do enough research before writing that because just the other day, Mirantis announced that docker swarm is going to be fully supported for the foreseeable future [0]. So you can confidently use swarm with your projects.

[0] https://youtu.be/pCGCCQyBtjg

wilsonfiifi··on Transcrypt – Python in the Browser
Played around with Transcrypt a bit. Works quite well with Mithril.js [0]. Would be great if it could work seamlessly with esbuild but I couldn’t find any existing plugins.

[0] https://mithril.js.org/

wilsonfiifi··on PHP is worth learning and using
> Early PHP was not intended to be a new programming language, and grew organically, with Lerdorf noting in retrospect: "I don't know how to stop it, there was never any intent to write a programming language [...] I have absolutely no idea how to write a programming language, I just kept adding the next logical step on the way." [0]

This might be an unpopular opinion but I think PHP gained mindshare in the early days because Coldfusion (CFML) was neither free nor open source.

[0] https://en.wikipedia.org/wiki/PHP

wilsonfiifi··on Utah tech startup, Weave, just went public
A couple of tweets [0] from one of the founders and past CEO

[0] https://twitter.com/brandonrodman/status/1459273398153093126

wilsonfiifi··on Hydrogen: React-based framework for building custom storefronts
So what's next for you? build your own platform?
wilsonfiifi··on Ask HN: Consumer WiFi router options in 2021
Synology Router RT2600ac [0]. Great performance. Enough goodies for power users and sometimes Amazon has it on sale.

[0] https://www.synology.com/en-global/products/RT2600ac

Page 1 of 9Next →