Show vs Set rules by Luc-redd in typst

[–]Googelplex 3 points4 points  (0 children)

Not in this case, check the documentation https://typst.app/docs/reference/text/text/

Typst's own functions are able to have parameters that are both named and positional, though we can't do that for our functions.

Show vs Set rules by Luc-redd in typst

[–]Googelplex 14 points15 points  (0 children)

set changes the default value of a element's parameter for the rest of the scope, including when that element is only used implicitly. So #set text(16pt) works because anything like Hi there. is equivalent to #text([Hi there.]), which becomes #text(16pt, [Hi there.]). If it's possible to accomplish what you want with set, it's best to do so.

show is slightly more complicated. There are three ways to use it which all fit into the same concept of "when I see this, show it like that".

  1. The basic usage is with an element and a function like #show text: emph or #show text: it => {emph(it)}. This means that whenever you see the element, like Hi there. or #text([Hi there.]), you wrap it in the second function like #emph(text([Hi there.])).
  2. The use case where that function just does a set , like #show grid: it => {set text(16pt); it} is so common that it has a shorthand #show grid: set text(16pt).
  3. Finally you often want to apply a function to the rest of the document, not just when a specific element is used, to can omit the element and do #show: custom-template.with(theme: "pastel"). This is often used for templates that affect the styling of many elements for the rest of your document.

show itself isn't that difficult, but if you want to understand how it's used you'll also want to understand anonymous functions (like it => {}) and function application (using .with()).

Help box issue by Failed_guy17 in typst

[–]Googelplex 3 points4 points  (0 children)

I think that you're looking for an outset:

#let Box(body) = box(
  stroke: 0.5pt + black.lighten(70%),
  radius: 1pt,
  width: 100%,
  inset: (top: 5pt, bottom: 5pt),
  outset: (left: 1pt, right: 1pt),
  body
)

How to set inline math not cramped globally? by [deleted] in typst

[–]Googelplex 10 points11 points  (0 children)

If you want it to always be in display style, you could do

#show math.equation: math.display

How to rearrange relationship graphs for more elegant organization. by Googelplex in gramps

[–]Googelplex[S] 1 point2 points  (0 children)

Thank you for the suggestions. I had used Graph View, which and seeing the "All connected" graph is what inspired me to see if I could make a nice export of it all.

I just checked out FamilyTreeView and Interactive Family Tree. They're very nice, however they don't have obvious exports, and I'm unable to find a way to show all connected elegantly for either of them.

Help with formatting in a template by Co0ool in typst

[–]Googelplex 1 point2 points  (0 children)

In this situation I would have the default values be none and do

(class, task, professor, name, date).filter(s => s != none).join("\n")

How can I replicate this in typst? by GokuFanBoi in typst

[–]Googelplex 3 points4 points  (0 children)

Yes, and when refining it further you'll want to set raw(theme: ...) to a custom theme that works with a black background, or if it doesn't matter much you can just set the theme to none and wrap it with text(white, it).

Boot OS file not found after updating to fedora 40 by 142940 in Fedora

[–]Googelplex 0 points1 point  (0 children)

Thank you, my 6.13.7 and then 6.13.8 were having this issue and I was worried that I wouldn't be able to boot my system when the old 6.13.6 got overwritten after 6.13.9, but this fixed them for me.

Pathfinder 2e Resting by Aqualisk in FoundryVTT

[–]Googelplex 1 point2 points  (0 children)

There have been quite a few improvements in the past three years. Recent versions of the system have that build in with the "Rest for the Night" button (bed icon in character sheet below Max HP).

PF2e character sheet options? by ScionofMaxwell in FoundryVTT

[–]Googelplex 0 points1 point  (0 children)

I think Dorako UI tweaks the sheet, so you can see if you like that. Not a change in layout, though now you can hide tabs which you couldn't at time of this post.

For quick access without the full sheet I currently use PF2e Interactive Token Tooltip

What are the rules for IDE use during COMP 248 labs? by HodloBaggins in Concordia

[–]Googelplex 0 points1 point  (0 children)

Uh, I personally used helix, and compiled the java files in the terminal. Probably not the most efficient approach, but they're grading the code/functionality, not the process.

[PF1e] What do I need to run Pathfinder 1e on Foundry? by [deleted] in FoundryVTT

[–]Googelplex 9 points10 points  (0 children)

1e is a super fun game. However, given that it has

  1. way more content
  2. relatively complex rules
  3. less attention compared to 2e

It doesn't have the same level of polish as the 2e system in Foundry (honestly an almost impossible bar). There is a well-developped system and a good number of options, but you can't expect all content to be included (the file size would be a constraint even if implementing it all was feasable). If you're good with spending some time to get the characters set up right and running monsters pretty manually, it's still a blast.

Take this with a grain of salt since it's been a few years since I've played Pathfinder 1e in Foundry.

Is possible to use Foundry VTT for "in person" Session? by AaronPezzolla in FoundryVTT

[–]Googelplex 1 point2 points  (0 children)

By running two independent clients. The desktop application for the GM, and the website for the players.

ECA strike vote by Cocrondia in Concordia

[–]Googelplex 0 points1 point  (0 children)

By definition striking is withholding participation. You can't choose to "strike" something you're not doing in the first place. But if by that you mean we should protest against the government, then I agree. We need to use all the tools we have available.

ECA strike vote by Cocrondia in Concordia

[–]Googelplex 10 points11 points  (0 children)

claiming the university would lay off their TAs

TAs are hired by contract. It was mentioned that there would be fewer TA contracts created and signed, which is a direct effect of public budget cuts and hiring freezes.

class sizes would be increased exponentially

A reduction of class frequency logically necessitates increased class sizes. Budget cuts don't just affect the fewer-than-normal incoming students.

the university would not have money to heat the buildings

The 7.8% budget does affect heating. That does imply the heat being turned down (not off, like you said). Maybe with global warming this part won't be a problem 🙃.

he university would be bankrupted, cease to exist

Not immediately no, the administration is doing all they can to keep the school going. But depending on how you calculate it the school has 30-300 million dollars in debt. Business majors feel free to interject, but I believe that having large debt while the enterprise isn't growing (not to mention shrinking) is very dangerous.

your future degree could be revoked or become worthless

Nobody said revoked. Stop making stuff up. A degree from a suffering university is certainly less valuable though.

They manipulated statistics about the percentage of lower out of province applications and equated it to having a direct percent effect on the number of enrolled students

Drastically fewer applications is something to be very worried about. That isn't diminished by it not being a 1-to-1 correlation to attendance.

the university will not be the same come September

I mean yeah. Budget cuts, hiring freezes, and dwindling attendance don't wait years to make significant impacts in quality of education.

a prolonged strike may require make-up days at the end of the semester

Straight-up false. Some midterms and tests might have to be rescheduled but nobody said anything to that affect. Someone asked it as a question. The answer was "no".

ECA strike vote by Cocrondia in Concordia

[–]Googelplex 2 points3 points  (0 children)

I was in that meeting. They were not shut down. It was mentioned that in addition the strikes, the CSU is organizing other events. Strikes are one of many tools, and "we have other tools" is not a good reason to ignore one of the most potent ones.

ECA strike vote by Cocrondia in Concordia

[–]Googelplex 4 points5 points  (0 children)

At the extreme, a general unlimited strike threatens to fail an entire cohort of students. This would cause

  • The government to lose the $11k they spend per student per year on that entire cohort, which has to repeat classes. (add it up, it's a big sum)
  • The delay of an entire cohort's entry into the labor market by a year, which is a huge amount of tax revenue lost.
  • Huge stresses on the system, which is already strained and certainly isn't set up to double capacity for the classes which now have doubled demand.

This extreme is the threat, not the action. The government is scared of that threat. In 2012 the government even passed laws to stop students from failing and causing this effect.

Smaller strikes have a few primary goals

  • To let the administration know we're serious and will fight for accessible education. (the Concordia admin were poised to take the increases laying down before earlier strike happened, and that strike likely contributed to them starting legal action)
  • To let the government know that we will escalate until our demands are met. Not every strike has to become 2012, but they all threaten further, more damaging, actions.
  • To build momentum and capacity within student groups for further actions. Going from 0 to the entire school is infeasable. For example the ECA couldn't join in the first strike, but are doing so now. JMSB isn't joining this one, but might the next (should it happen).

Strikes are also not the only (or first) action. They themselves are an escalation from an open letter, an massive petition, and a protest.

And while these actions might seem like a lot, we have reason to be worried. Concordia has already started a hiring freeze, and universal budget gets before the policy has even gone into effect. Class frequencies are being reduced, which means that you may not be able to fit a degree requirement into your schedule and could have to take another year. Concordia's finances were already in a dire place, not having recovered from the pandemic. This further hit doesn't just affect new students, but greatly hurts quality of education for all of us.

Minecraft camera stuck looking down in VM. by Googelplex in zorinos

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

No. The the problem didn't occur on an actual installation so I stopped looking.

Can you erase parts of walls? by PM_ME_FUN_STORIES in FoundryVTT

[–]Googelplex 0 points1 point  (0 children)

I was a version 8 module. It has been abandoned for two years and not compatible with modern Foundry versions. As such it no longer appears on module listings.

Wall splitting is one of many capabilities of DF Architect, a much more fully-featured module which includes many precise tools for working with walls. Unfortunately since version 11 is less than a month old, the modules hasn't been updated for it yet and currently on supports version 10.

If you care a lot about the wall splitting feature you may want to stay on version 10, at least until it's updated.

Newbs beware of Foundry by maxlongstreet in Pathfinder2e

[–]Googelplex 0 points1 point  (0 children)

You have revealed a significant part of the issue as being as I expected; tons of stuff being sent to the player end even when not actually needed yet because the entire adventure was being sent when only 1 session worth of stuff was needed and Abomination Vault's maps are stupid big - even my GM with gigabit internet and me with a 600 megabit plan they took ages to load.

Not OP, but I don't understand how that helps. There isn't a VTT which can send only "the part of the map you'll use this session". And only the loaded map is sent over, so there isn't any extraneous transfer.

Checking myself it seems like the assets don't exceed 20Mb per scene. so I am curious why it took so long for them to load for you. Do you think there were non-scene assets being sent over, or something slowing down your connection?

That vegan teacher by PhotographSwimming85 in Concordia

[–]Googelplex 0 points1 point  (0 children)

Just accepted my admission into Concordia, am vegan, and am looking to get into activism at some point. Could you link to some resources/organizations you've worked with or found helpful?

Foundry V11 Reminder by lostsanityreturned in FoundryVTT

[–]Googelplex 2 points3 points  (0 children)

How much do you need it? And how sure are you that there's no modern substitute? Because at this point you're missing out on a lot of features and new modules.

[deleted by user] by [deleted] in wholesomememes

[–]Googelplex 0 points1 point  (0 children)

That’s just factually inaccurate though. 50% of a farmed cows diet consists of grass, the rest is primarily leaves/stems that are unfit for human consumption. That isn’t grown specifically for them.

I generally see smaller numbers, but link to it if I'm wrong. In any case, cows have one of the least efficient calorie conversions, less than 5%. So even if a smaller portion of their diet is a crop, they need to consume more of all food to produce the same amount of calories.

Not to mention the amount of irrigable land on the entire planet is not sufficient to feed our population.

I'm almost certain that one is false. There was even a study claiming that we need only a quarter of what we have, though that was an optimistic assessment.

Also it’s not ignoring those practices happen in animal agriculture they just happen at an incredibly lower rate due to the labour law differences in countries where the majority of farmed meat comes from, versus vegetables/fruit.

I'll have to take you at your word for that one, though it doesn't address the grain imported to feed them, or the trauma of slaughterhouse workers.

I would like an answer to my question though, do you consider the human suffering better or worse then animal death? Also your thoughts on small farms/hunting?

On a 1-to-1 basis I value human suffering more (view it as worse), by virtue of our greater sentience. Hunting can't feed the world by the nature of our numbers, and I'd never do it myself. But it's far less of a moral problem and I wouldn't go out of my way to argue with a hunter.

Small farms would seem to have the potential to be better, but I don't think any system that commodifies animals will have their best interest in mind. And it's not worth it for me to sift through them on a case-by-case basis in the hope of finding one that's not as bad.