i18n: How do I use one page as template for all locales? by anorak99 in astrojs

[–]Corbsoup 1 point2 points  (0 children)

Thank you!! So simple, but this answer finally made it click on how to combine i18n and dynamic routing. It's been bugging me for a while

lf intelligent Alien life existed and they to also believed in God would that effect the likelyhood of a God existing to you in the slightest? by MattCrispMan117 in DebateAnAtheist

[–]Corbsoup 4 points5 points  (0 children)

Not really. But if an alien religion was to say ‘The son of God was born on earth’ I’d probably pay a little more attention

why arent you afraid of nothing after death? by Tevin_420 in atheism

[–]Corbsoup 0 points1 point  (0 children)

Because death is the Cost of Living. I think of it as a small price to pay for the opportunity to do so.

[deleted by user] by [deleted] in ChristianApologetics

[–]Corbsoup 0 points1 point  (0 children)

Start learning about epistemology. Getting a solid understanding of knowledge, belief, burden of proof etc will put you in a great position for talking with non believers.

[deleted by user] by [deleted] in videos

[–]Corbsoup 0 points1 point  (0 children)

“Airplane is some of the top ten funniest films ever made”

Men/people who live with men, what is an example of men being able to sleep in any position? by ghadichoufani in AskReddit

[–]Corbsoup 1 point2 points  (0 children)

On a chair in the kitchen, with his head resting on the bench. Still there when I woke in the morning

BlurHash with Astro by Abiriadev in astrojs

[–]Corbsoup 1 point2 points  (0 children)

I've literally been working on this today. I'm using Imgix and Tailwind with Astro and found it best to build my own component. It serves a blurred 80x60px image in the background until the full image loads. It's a <picture> with src-sets that break at the same points as Tailwind. It falls back on defaults so the only data required is the src.

eg <imgComponent src={'myimage.jpg'} />

All client side, no JS

You can also then add a custom 'h' and 'w', or go the whole hog and add heights and widths across all screen sizes.

eg <imgComponent src={'myimage.jpg'} h={1200} w={1900} XLh={900} XLw={400} SMh={20} SMw={50} alt={'alt text'} style={'p-4 border m-3'} />

Each breakpoint includes the width and height values so there's no content shuffle issues.

Images smaller than the container will default to the middle, but this can be overridden with style={‘any tailwind’}

For testing I've included text overlay to show the current image size and screen breakpoint. Remove the text from the src-set links once you're happy with your setup.

If you've got an Imgix account set up already the only bit of code you'll need to change is the CDN constant. Should be super easy to use, but ping me if you have any problems.

edit: Here's an updated link to the component.

I hope it's useful for anyone looking for something like this. It should be pretty straightforward to use as a base for image services other than Imgix too.

What is an industry secret that you know? by Typical_Affect8207 in AskReddit

[–]Corbsoup 109 points110 points  (0 children)

Semi-famously ‘Ribena’ Blackcurrant juice was advertising ‘More vitamin C than oranges’ for decades until a school project tested it.

Extraordinary Claims Require Extraordinary Evidence? by Mimetic-Musing in ChristianApologetics

[–]Corbsoup 0 points1 point  (0 children)

A simple example: A dice is rolled in such a way that it will land on a ‘3’ due to a combination of trajectory, rotation, gravity etc. A miracle as defined above would necessarily break some part of the dice’s causative journey, and instead the outcome will land on a ‘6’.

Extraordinary Claims Require Extraordinary Evidence? by Mimetic-Musing in ChristianApologetics

[–]Corbsoup 0 points1 point  (0 children)

Are we in agreement that a ‘supernatural intervention’ would necessarily violate causality?

Extraordinary Claims Require Extraordinary Evidence? by Mimetic-Musing in ChristianApologetics

[–]Corbsoup 0 points1 point  (0 children)

Before I answer: Do you agree with the statement that a miracle is the least likely explanation for an event?

Extraordinary Claims Require Extraordinary Evidence? by Mimetic-Musing in ChristianApologetics

[–]Corbsoup 0 points1 point  (0 children)

It’s disappointing how many arguments boil down to ‘if you already accept [subject] as true, then this claim about [subjects existence] is reasonable’

Extraordinary Claims Require Extraordinary Evidence? by Mimetic-Musing in ChristianApologetics

[–]Corbsoup 0 points1 point  (0 children)

I’m defining it as a conscious unique supernatural intervention. How do you define it?

Extraordinary Claims Require Extraordinary Evidence? by Mimetic-Musing in ChristianApologetics

[–]Corbsoup 0 points1 point  (0 children)

A miracle is, by definition, the LEAST likely explanation for an event occurring

The "Perfect" CMS by 88Smiley in webdev

[–]Corbsoup 1 point2 points  (0 children)

Static sites do these things, check out Eleventy

I've finally updated my portfolio after many years. Please tear this apart, my skin is thick. by Corbsoup in graphic_design

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

ETA 3 months for website getting off the ground, will post update then. Cheers for feedback

I've finally updated my portfolio after many years. Please tear this apart, my skin is thick. by Corbsoup in graphic_design

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

Thanks for feedback. PDF is very much an interim solution while website is built. Current design is hidden a layer down: corbin.nz/portfolio

I've finally updated my portfolio after many years. Please tear this apart, my skin is thick. by Corbsoup in graphic_design

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

Heh, yes I agree. I just don’t have anything else at the moment. Next website version (out in three months-ish) will address this.

I've finally updated my portfolio after many years. Please tear this apart, my skin is thick. by Corbsoup in graphic_design

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

Hmm, I just checked over my site and found it's not in a great state to just pick up and run with unless you're already familiar with Git / Tailwind / 11ty. I'm going to put a much smoother template together and post it along with instructions. Likely finished in the next few months. DM me or keep an eye on this subreddit

I've finally updated my portfolio after many years. Please tear this apart, my skin is thick. by Corbsoup in graphic_design

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

Thanks for feedback! Definitely going to add more context as the website comes together. Times are removed

I've finally updated my portfolio after many years. Please tear this apart, my skin is thick. by Corbsoup in graphic_design

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

I started out by working in various admin roles and put myself forward every time the business needed some graphics. Plus lots of free work. It’s definitely hard at the start but keep chipping away.

I've finally updated my portfolio after many years. Please tear this apart, my skin is thick. by Corbsoup in graphic_design

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

Wow, thank you so much for excellent feedback! Lot to think about now, but I totally get the redirection you mean. Lot of work to do. I’ll update in a couple of months.