Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bojanz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
Optional Function Parameters in Go
(bojanz.github.io)
2 points
by
bojanz
6y ago
|
0 comments
32.
▲
by
bojanz
6y ago
Assuming that the JWT only stores the user_id, and you then load the full user (protecting against stale data), a counter or a timestamp on the user object can be used to control logout. There's a good Go library detailing this approac
33.
▲
by
bojanz
6y ago
I've gone deep into Go, finding it a fun change from daily work. The project I'm working on isn't ready yet, but I've managed to extract and share my first package[1], for handling and formatting currency amounts. [1] h
34.
▲
Currency Handling for Go
(github.com)
2 points
by
bojanz
6y ago
|
0 comments
35.
▲
by
bojanz
7y ago
Communicating expectations / setting boundaries feels key to avoiding negativity on both sides. I recently read an article titled "Healthy Open Source Maintenance"[1], which proposed the introduction of a MAINTENANCE_MANIFEST
36.
▲
by
bojanz
7y ago
FreeBSD tends to have the latest KDE while OpenBSD tends to have the latest GNOME. AFAIK no BSD has both (which is understandable, considering how complex it is to package software of this size).
37.
▲
by
bojanz
7y ago
Thankfully, getting less and less outdated (thanks to FreeBSD's wrapper layer, and OpenBSD Foundation sponsoring its own work). FreeBSD 12.0 has Linux DRM 4.16 code (April 2018), while -current has Linux DRM 5.0 code (March 2019). Open
38.
▲
by
bojanz
7y ago
zsh users, good time to try out my favorite prompt, Pure: https://github.com/sindresorhus/pure Nowadays that's the only thing I run on top of zsh, which makes the shell significantly faster than with oh-my-zsh (an
39.
▲
by
bojanz
7y ago
And a migration to git is being evaluated: https://twitter.com/lattera/status/1132084341213933569 DragonFly BSD, a FreeBSD 4.x fork, has also used git successfully since early 2009, I believe.
40.
▲
by
bojanz
8y ago
That's great to hear. Keep up the good work!
41.
▲
by
bojanz
8y ago
Since you mentioned CKEditor 5, I'll be bold enough to go a bit into off-topic. CKEditor 5 is an incredibly impressive endeavour, and I've been following it with great interest. However, one of the things that separates it from th
42.
▲
by
bojanz
8y ago
Yes. And by closing the loophole while staying viral, it makes it unlikely that anyone would ever use AGPL code. For example, if you use an AGPL CMS to power your website, you now need to open source the entire thing. So, I'm not sayin
43.
▲
by
bojanz
8y ago
Fascinating article, and one that matches my recent thinking. I am a part of a large GPL open source project, but am not sure that the GPL made a big difference there, since "distribution" is a loophole large enough to drive a tru
44.
▲
by
bojanz
8y ago
A great related article is the introduction to PubGrub, the new solver algorithm for Dart's package manager. I especially liked the focus on better error messages, which can get pretty cryptic in other package managers. https:/&#
45.
▲
by
bojanz
8y ago
Composer's solver is pretty advanced. It started as a PHP port of libsolv, which is the library used by both SuSE (zypper) and Fedora (DNF).
46.
▲
by
bojanz
11y ago
I have a project with similar aims: https://github.com/commerceguys/addressing It uses the Google dataset, which is under the public domain. Might make sense to compare formats? Btw, I love how your worldwide.yaml, bot
47.
▲
by
bojanz
12y ago
For our European SaaS we had to switch from Paymill to Stripe because a large percentage of US customers would get their cards rejected when paying via Paymill. (Paymill is Europe-only, and when a US bank detects a payment going out to Euro
48.
▲
by
bojanz
12y ago
It would benefit the whole community if you documented your complaints (and suggestions for improvements) in a blog post we can all read & comment on.
49.
▲
by
bojanz
12y ago
And the solutions for C++, Java, PHP: https://github.com/googlei18n/libaddressinput https://github.com/commerceguys/addressing
50.
▲
by
bojanz
12y ago
I always understood this article as being about software design in open source. Every project (library, application, you name it) needs to be designed, by one or more people thinking deeply about the problem space. You can't expect so
51.
▲
by
bojanz
12y ago
We've also started creating a dataset as a part of our more broad-reaching PHP library: https://github.com/commerceguys/tax
52.
▲
by
bojanz
12y ago
You do need to know whose rate you applied. Even if the UK and the French rate are the same, you need to know whether you charged the UK rate or the French rate, and they might change and get out of sync on different dates. So you gain noth
53.
▲
by
bojanz
12y ago
"There are 28 countries in the EU with 75 different VAT rates, and businesses are expected to apply the correct one." This also changes expectations from ecommerce software. It is not feasible to expect the administrator to resea
54.
▲
by
bojanz
12y ago
I've done research on this and other problems, based on Drupal's solutions: https://bojanz.wordpress.com/2014/04/25/storing-hierarchical...
55.
▲
Rethinking ecommerce taxes
(drupalcommerce.org)
1 points
by
bojanz
12y ago
|
0 comments
56.
▲
by
bojanz
12y ago
And my PHP reimplementation: https://github.com/commerceguys/addressing
57.
▲
Storing hierarchical data: Materialized path
(bojanz.wordpress.com)
2 points
by
bojanz
12y ago
|
0 comments