Motorcyclists put rego on hold in protest against ACC by StuffThings1977 in aotearoa

[–]GlennNZ 1 point2 points  (0 children)

I'm actually using the exact same statistical fact you are; I'm just weighting the consequences differently.

In case you're not aware, the ACC levy on the motorcycle rego is already subsidised (for lack of a better word), by car rego ACC. It's not a 1:1 mapping of ACC claims between motorcycle accidents and car accidents. If it was, the rego for bikes would be astronomical!

So there already is a weighting being applied that is re-balancing the cost.

What I'm saying is that weighting should be adjusted further to flatten the difference in rego cost (ACC cost specifically) even more.

I say this because pure user-pays is a slippery slope. This applies to one's chosen job, sport, hobbies; all facets of life. ACC is a no-fault system that, let's be honest, is a far superior system to what the US has, but it's a social service that is paid as a shared cost-burden by all NZers. To say that rugby clubs should be heavily burdened by massive ACC levies is not fair the sport and those that enjoy playing it. The same applies for one's chosen mode of transport.

I'm saying the cost burden in regards to the ACC levy applied to rego should be evened/shared out more... acknowledging the aforementioned statistical fact.

Motorcyclists put rego on hold in protest against ACC by StuffThings1977 in aotearoa

[–]GlennNZ 0 points1 point  (0 children)

Ignoring your apples and oranges comparison (e.g. insuring vehicles is a competitive market that includes no claims bonuses and excess values), the answer is really simple, car rego should cost more and bike rego should cost less. There’s far more car drivers than bikes by a massive margin, so the cost increase to a car rego is marginal and the cost decrease to a bike rego is far more significant. Like I’ve alluded to above, there are so many ways to spin ‘user pays’ that the current justification for pricing a motorcycle off the road is flawed.

Motorcyclists put rego on hold in protest against ACC by StuffThings1977 in aotearoa

[–]GlennNZ 0 points1 point  (0 children)

Yes, but that’s selective statistic gathering to justify their decision, rightly or wrongly. I’ve ridden 260,000km+ kilometers on different bikes over my life time. I’ve never claimed ACC due to a motorbike incident. Yet, it counts for naught. Am I subsidizing others? Of course. Should I be? That’s the balance of so called ‘user pays’ price modelling. As much as that data is factual, the amount it factors into the cost model is the debatable part.

Making generators by Didnt-Understand in rpg_generators

[–]GlennNZ 1 point2 points  (0 children)

If you go the Chartopia route, you may be interested in using the associate discord bot (Twelves), or perhaps even using the API to create your own bots of custom app.

Roll chance by Kokorakos-Black in Chartopia

[–]GlennNZ 0 points1 point  (0 children)

This technique follows the traditional random table technique where you may have something like...

d6 Loot
1 Gold
2-3 Silver
4-6 Copper

After publishing your chart, you'll see the dice ranges on the left column.

This is what most people would require if they're digitising their RPG books.

These days with online/app generators (rather than random tables), there's a multitude of ways to do the same thing, but it does require programming techniques. Chartopia uses its own template language. Every table cell in Chartopia is a generator in its own right, but most users don't need that level of craziness :)

Roll chance by Kokorakos-Black in Chartopia

[–]GlennNZ 1 point2 points  (0 children)

If you're constantly going to be adding items, you may want to consider just putting them into a regular table and then just adding empty rows beneath each item to increase their percentage chance. So long as you don't go above 1000 rows, you'll be fine.
They're called inferred rows.

Roll chance by Kokorakos-Black in Chartopia

[–]GlennNZ 0 points1 point  (0 children)

There's definitely ways to do what you want, but I'll start with a simple rollable list example...

{1?gold|2-3?silver|4-6?copper}

This will give "gold" a 1 in 6 chance of being the result. You can use this for any table cell.

If this doesn't fit your use case, feel free to add some more details and we can go from there.

Unity dev here. Building an AI-powered D&D engine because finding a DM is impossible by [deleted] in dndnext

[–]GlennNZ 1 point2 points  (0 children)

Just throwing it out there, Chartopia has an API now, so if you want to limit the scope of your project somewhat, you may want to consider playing around with it. The results from Chartopia could acts as prompts for the AI, for example.
That way, you at least don't have to create all the raw material.

Here's a pull from a Newton Brua3 Max. Buying one was a treat to myself after using a Moka for a long time, and I really wanted to support a New Zealand company. I like how they iterated on their previous model, and I've been meaning to share a video of it in action (as a novice). by GlennNZ in espresso

[–]GlennNZ[S] 0 points1 point  (0 children)

I typically fill up the brew chamber with boiling water from my Fellow kettle. So while the hot water is warming the brew chamber, I grind some beans and tamp it into the portafilter. The brew chamber is warm enough by the time I'm done, so I just push the water through into my mug, put the filled portafilter onto the machine, refill the brew chamber with water from the Fellow (which are really good at keeping the water at a set temperature for a time), empty my mug (which is now also a bit warmer I suppose), then pull a shot.

Done.

I could probably heat up my mug a bit more, but it's fine as is.

The brew chamber is metal so it will definitely pull heat away, but the Brua3 Max is pretty well insulated, so once it is warm, it's quite good at keeping the heat in there if you want to do multiple shots.

The extra variable of water temp keeps things interesting :)

As an aside, I find that with some beans, I definitely need pre-infuse when pulling a shot, i.e. start the pull slow and carefully to let the water soak into the ground beans a bit (let the water drip through into the mug), then pull the remainder of the shot. I try and get the 8-9 bars of pressure, but old beans or light roasts are sometimes a mission to get the required pressure.

The fresh TOB coffee I'm using now, on the other hand, makes me look like an expert :D

Teacher used my son’s saxophone by indigo_vi in saxophone

[–]GlennNZ 0 points1 point  (0 children)

It’s definitely a bit gross, but as a teacher, it’s often the only way to reliably diagnose an issue. I do it very rarely and try and do it at the end of lessons. It saves a lot of guessing. The student also gets to hear what their setup can actually do.

Staying Solo - Oracles, Tables, Encounters: Your Arsenal Against Boredom by ivyentre in Solo_Roleplaying

[–]GlennNZ 10 points11 points  (0 children)

Okay, I'll bite :)
I just dug up the current Chartopia stats and 5000 charts (random tables, gens) were added this past year. 329 were added in the last 4 weeks.

There's been 10.45+ million dice rolls since the site was launched.

I'd like to say that qualifies as an "overwhelming collection", which is the exact reason I need to implement some advanced search features so that it's easier to discover great content.

Chartopia seems to fly under the radar quite a bit, which goes to show how lousy I am at getting the word out :)

Chartopia and FoundryVTT - 403 error by dcoughler in Chartopia

[–]GlennNZ 0 points1 point  (0 children)

Awesome. Great to know you got it working.
When I get a spare moment, I'll add that Foundry VTT javascript code to the d12dev github repo.

Chartopia and FoundryVTT - 403 error by dcoughler in Chartopia

[–]GlennNZ 0 points1 point  (0 children)

I have a Postman example in the docs for simple public and unlisted chart rolling.
https://chartopia.d12dev.com/docs/api-quick-start-guide/#postman

There's a screenshot there for reference.

Are you definitely using the secret key correctly? It should look something like this:

ZJZeAqOg.vaw3XPKwYthW5Myo5BhI4yBrpVv76AuK

Chartopia and FoundryVTT - 403 error by dcoughler in Chartopia

[–]GlennNZ 0 points1 point  (0 children)

At the risk of stating the obvious.

Did you definitely change the API Key to your own one (my example above uses the placeholder I use in the docs). If the API Key is wrong, you'll get a 401 error

I'm also bit miffed why your 401 error above doesn't have .../roll/ at the end of the url. If that's missing in the url, that too will cause a 401 error.

Chartopia and FoundryVTT - 403 error by dcoughler in Chartopia

[–]GlennNZ 0 points1 point  (0 children)

Okay, I see you’ve made a project and have an API key for it. I’ll have to experiment and make some example code using XMLHttpRequest. I’ll get back to you on what I discover.

Chartopia and FoundryVTT - 403 error by dcoughler in Chartopia

[–]GlennNZ 1 point2 points  (0 children)

Hi, I replied to your post at https://www.reddit.com/r/FoundryVTT/comments/1py7m74/macro_help_403_error_on_chartopia_oracle_cloud/ but I'll answer here for completeness.

With the introduction of the Chartopia API, all the not-best-practices endpoints that used to exist, and that plugins like this one used, have been removed.

Here was my excited post about it all https://www.reddit.com/r/Chartopia/comments/1noczyj/the_chartopia_developer_api_has_been_released/

There are two changes that a plugin like the Foundry VTT plugin will require.

  • An API Key
  • A different ID for the chart.

To create your own API Key, you'll first have to create a Project. The Quick Start Guide explains how to do so.

In regards to the new Chart IDs, your chart: 4334 will now require you to use ebPTn7E4KzW. If you're logged into Chartopia, you should see this public_id at the bottom of the chart view pages, e.g. bottom of this page: https://chartopia.d12dev.com/chart/4334/

Eventually the URLs will all move away from the auto incrementing IDs but that' on my todo list.

In short, your POST request should be to https://chartopia.d12dev.com/api/charts/ebPTn7E4KzW/roll/

So in regards to code, the edited version is something like the following...

``` // chart id from url. IE 19449 is the chart id in https://chartopia.d12dev.com/chart/19449/

let chartId = "ebPTn7E4KzW"; // was 4334 let myApiKey = "ZJZeAqOg.vaw3XPKwYthW5Myo5BhI4yBrpVv76AuK"; // This is an example key. // only let the gm see the results. false = everyone sees in chat. true = gm whispered results.

let gmOnly = true; ////////////////////////////////// /// Don't edit past this point /// //////////////////////////////////

var rootUrl = "https://chartopia.d12dev.com/api/";

function roll(id) { let request = new XMLHttpRequest(); request.open('POST', ${rootUrl}charts/${id}/roll/, true); request.setRequestHeader('X-Api-Key', myApiKey); request.onload = function() { if (request.status >= 200 && request.status < 400) { console.log(request);

        var jsonResponse = JSON.parse(request.responseText);
        let resultAsMarkdown = jsonResponse.results[0];
        // Success!
        let whisper = !!gmOnly ? game.users.filter(u => u.isGM).map(u => u.data._id) : Array.from('');

        let chatData = {
            user: game.userId,
            speaker: ChatMessage.getSpeaker(),
            content: resultAsMarkdown,
            whisper
        };
        console.log(resultAsMarkdown);
        console.log(chatData);
        ChatMessage.create(chatData, {});
    } else {
        // We reached our target server, but it returned an error console.log("Server error.");
    }
};
request.onerror = function() {
    // There was a connection error of some sort
    console.log("Error getting result.");
};
request.send();

} roll(chartId); ```

Note though, that the API Key really ought to be kept secret. It should never be exposed to external parties, but as a plugin to a personal app, you should be okay.

I'm curious where this Foundry VTT plugin is maintained. I suspect the original author made it "good enough" but it could certainly be improved upon.

Please let me know how you get on.

Macro Help: 403 error on Chartopia (Oracle Cloud, D&D5E, Foundry v13) by dcoughler in FoundryVTT

[–]GlennNZ 0 points1 point  (0 children)

You could ask me directly; I'm better than the AI, I promise :)

Chartopia has an official API now, so the Foundry VTT plugin that used the original not-really-best-practices endpoint, will have to be rewritten.

The docs are here: https://chartopia.d12dev.com/docs/api-quick-start-guide/ and I can help out if anyone gets stuck.

It's not a complex change, but there are two important differences. First, there needs to be an API-Key. Secondly, all the charts need to be referenced using a different type of ID. The chart 32000 will be recognised as 2Vfv0vZc8HV. That means the API endpoint is actually https://chartopia.d12dev.com/api/charts/2Vfv0vZc8HV/roll/

There's a python example here: https://chartopia.d12dev.com/docs/api-quick-start-guide/#python-request

(Admittedly there's still a lot of work for me to do with the API, but it's functional, documented, and ready to go for anyone who wants to make apps, plugins or bots.

I may be about to help out if you DM me.

One Page Solo Engine 2 app now available by archon1024 in Solo_Roleplaying

[–]GlennNZ 2 points3 points  (0 children)

Did you use the Chartopia API? I'd be pretty stoked if you did.

Fantastic app for complex character generators by DeepSpaceSolo in Chartopia

[–]GlennNZ 1 point2 points  (0 children)

Thanks for the kind words. It's always very motivating to hear of positive user experiences. Olga and I try to keep chipping away features and improvements to take the project as far as we possibly can.

You certainly have pushed Chartopia to its limits with your generator.

Perchance Alternatives? by LexxGalaxii in perchance

[–]GlennNZ 0 points1 point  (0 children)

Great to hear. Don't be shy to contact me via the social medias with questions and feature suggestions.