@[email protected] as the son of and father of people with dysgraphia I agree with the sentiment of the post (see also learning to draw) but that 'everyone' cuts a bit. They both got hurt pretty badly by people assuming they could 'just fix that', and with my son for a while I was one of the people doing the hurting
@[email protected] @[email protected] ah, good news. I've just deployed 1.0.1, where I tried setting the COMPILE_ALL_LOCALES but then spotted it was overridden by the :prod flag regardless. My last attempt was to directly edit config/bonfire_common.exs with static values:
--- a/config/bonfire_common.exs
+++ b/config/bonfire_common.exs
@@ -4,8 +4,8 @@ default_locale = "en"
## Localisation & internationalisation
# Only compile additional locales in prod or when explicitly requested
-compile_all_locales? =
- config_env() == :prod or System.get_env("COMPILE_ALL_LOCALES") in ["true", "1"]
+compile_all_locales? = false
+# config_env() == :prod or System.get_env("COMPILE_ALL_LOCALES") in ["true", "1"]
locales = if compile_all_locales?, do: [default_locale, "fr", "es", "it"], else: [default_locale]
@@ -18,7 +18,7 @@ config :bonfire_common,
config :bonfire_common, Bonfire.Common.Localise.Cldr,
default_locale: default_locale,
# locales that will be made available on top of those for which gettext localisation files are available
- locales: locales,
+ locales: [],
providers: [
Cldr.Language,
Cldr.DateTime,
@@ -33,10 +33,10 @@ config :bonfire_common, Bonfire.Common.Localise.Cldr,
gettext: Bonfire.Common.Localise.Gettext,
extra_gettext: [Timex.Gettext],
data_dir: "./priv/cldr",
- add_fallback_locales: compile_all_locales?,
+ add_fallback_locales: false,
# precompile_number_formats: ["¤¤#,##0.##"],
# precompile_transliterations: [{:latn, :arab}, {:thai, :latn}]
- force_locale_download: Mix.env() == :prod,
+ force_locale_download: false, # Mix.env() == :prod,
generate_docs: true
@[email protected] @[email protected] I managed to get the compile to complete by shutting down everything else on the machine, and the compiled result only lists "en" as an available language, but it still seemed to want to generate 126 locales while building bonfire_common which was what made me think I was missing something.
@[email protected] In version 1.0.2-alpha.6 you should be able to set COMPILE_ALL_LOCALES=no in env
@[email protected] @[email protected] ah, good news. I've just deployed 1.0.1, where I tried setting the COMPILE_ALL_LOCALES but then spotted it was overridden by the :prod flag regardless. My last attempt was to directly edit config/bonfire_common.exs with static values:
--- a/config/bonfire_common.exs
+++ b/config/bonfire_common.exs
@@ -4,8 +4,8 @@ default_locale = "en"
## Localisation & internationalisation
# Only compile additional locales in prod or when explicitly requested
-compile_all_locales? =
- config_env() == :prod or System.get_env("COMPILE_ALL_LOCALES") in ["true", "1"]
+compile_all_locales? = false
+# config_env() == :prod or System.get_env("COMPILE_ALL_LOCALES") in ["true", "1"]
locales = if compile_all_locales?, do: [default_locale, "fr", "es", "it"], else: [default_locale]
@@ -18,7 +18,7 @@ config :bonfire_common,
config :bonfire_common, Bonfire.Common.Localise.Cldr,
default_locale: default_locale,
# locales that will be made available on top of those for which gettext localisation files are available
- locales: locales,
+ locales: [],
providers: [
Cldr.Language,
Cldr.DateTime,
@@ -33,10 +33,10 @@ config :bonfire_common, Bonfire.Common.Localise.Cldr,
gettext: Bonfire.Common.Localise.Gettext,
extra_gettext: [Timex.Gettext],
data_dir: "./priv/cldr",
- add_fallback_locales: compile_all_locales?,
+ add_fallback_locales: false,
# precompile_number_formats: ["¤¤#,##0.##"],
# precompile_transliterations: [{:latn, :arab}, {:thai, :latn}]
- force_locale_download: Mix.env() == :prod,
+ force_locale_download: false, # Mix.env() == :prod,
generate_docs: true
@[email protected] "I'm not sure that we're quite ready to tackle this area. Let's move on for now and let it come back up when you're ready. And you're less likely to pull my arms off."
@[email protected] dang. Now I have a perverse desire to write a counsellor for monsters visual novel.
"The frog seems mildly upset"
"The giant spider seems to be masking with anger"
mastodon.social/users/GeePaw... It's a painful realization that I missed two programming languages I've absolutely written code in while replying to @[email protected] here. XML and yaml. Do better, industry, do better...
@mavnn Oh, again, a very different path than I, tho god love the Spectrum forever.
@[email protected] my just about to go to university son has deep dived into 3d graphics and physics simulations as a hobby over the last few years, and it threw him a while back when I answered a straight forward question on memory allocation with 'no idea, I've never written anything in an unmanaged language'.
Aight, give me your programming language chain of development.
Use a prefix, - for just a little, + for a whole lot, and you can repeat.
For myself, the kind of reply I'm looking for, my own programming language chain, in the next post.
@[email protected] hmm. I suspect I'll miss some stuff, but:
-Spectrum BASIC
+html (first paid work ever, well before becoming a 'developer')
+sql (I was a data analyst before accidentally transitioning to coding by getting so bored of my data analyst job that I automated it with...)
-vbscript in excel
+c#
-Python
+f#
-clojure
+elm
-ruby (a language I thought I'd enjoy and really didn't 😞 )
+haskell
+typescript
-ink
-gdscript
@mavnn ex_cldr was recently re-implemented: https://elixirforum.com/t/localize-next-generation-localisation-ex-cldr-v3-0/73933 tried that one?
@[email protected] Oh thanks, I'll definitely keep an eye for the future. It looks like it won't support all the features from ex_cldr this project uses until at least its 0.3 release though, so I'd need to make much larger changes than I was hoping from the parent project to go that route at the moment.
Today I was going to do ... something?
What I actually did was update one piece of software that I accidentally misconfigured, which took down the database, which then turned out to be too old for the new version of the software (after I fixed the misconfiguration) which I then upgraded that broke the database backup scripts.
And then I washed my hair.
@[email protected] revel in your glorious clean hair, your enemies will fall in wave before you!
@[email protected] Unfortunately my hair is twenty years too late for "who can clear the largest moshpit space" competative head banging. It was fun while it lasted though.
Who is the He-Man movie for?
I watched the cartoon as a kid (and loved it) but I am 47 years old and am not compelled to see it. Maybe on a plane, I guess.
It's also a product of its time and I'm not compelled to share it with my kid.
Like, what's the market for it?
@[email protected] Such a weird franchise to reboot. Especially because stylistically it looks very similar to the last movie version, which while not high art was really good at nailing that style.
Question for anyone who's used ex_cldr and/or gettext in #elixir - I'm trying to compile something in a memory constrained environment and the gettext back end has started finding 130 locales it wants to generate on every build. I think I've configured cldr to have only one allowed language, but the locales still get generated (and cause an out of memory error)
Anyone know the next place to look for what might be requesting these, or force them to be generated in turn rather than (it appears) concurrently?
Context: I don't know elixir, but for reasons I'm running my own @[email protected] instance on bare metal and I'm happy to mess in source code if needed.
Question for anyone who's used ex_cldr and/or gettext in #elixir - I'm trying to compile something in a memory constrained environment and the gettext back end has started finding 130 locales it wants to generate on every build. I think I've configured cldr to have only one allowed language, but the locales still get generated (and cause an out of memory error)
@[email protected] its the final boss honestly
@[email protected] well, at least your serendipitous post means I have clean hair, so thank you for that...
did it, now the easy part, programming lol
@[email protected] I am currently (checks watch) 7 hours and 49 minutes late for when I told myself I would wash my hair this morning.
I decided to try out an experimental design for ordered data in Ink, and learn more about the run time in the process.
I've blogged about the results with a bunch of examples, and I'm pretty happy with the outcome. Been looking for ways to include prioritization or limited resources like magic runes in Ink? This might be a good inspiration.
App: "Error: Ad failed to load, check your internet connection."
Me: "Error? You keep on using that word. I do not think it means what you think it means."
We got mentioned in a forum where someone was looking for a simple tool to create a #visualnovel, and the next reply was:
I tried this out a while back. It’s pretty cool!
So proud :sniff:
Next week, we'll be looking at how to track character attitudes in #visualnovels using Ink. To see the techniques in action, we'll be starting with a rendition of one of the famous fictional first meetings.
What do you do when it's 1880 and you've just been shipped home from Afghanistan? Look for someone to share the cost of lodgings, of course!
Play the example here: visualink.mavnn.eu/published...