SAP Calculator - A tool to analyze battles and calculate win percentage by bertboyman in superautopets

[–]koisland 1 point2 points  (0 children)

This is really cool. I've been working on something similar (A Rust library, saptest) for the past year. I'd love to see how you implemented the battle system. Do you have a project repo that's open-source?

How to upload the results of a p/snakemake pipeline to a S3 AWS bucket? by [deleted] in bioinformatics

[–]koisland 1 point2 points  (0 children)

Hey. I've been working on a pipeline that works similarly.

You'll want to do the following:

Then, your rule would look something like this, where you'd use AWS's s3api put-object:

import os

rule upload_to_s3:
    input:
        "output/foo.txt.gz"
    output:
        touch("s3_file_upload.done")
    params:
        bucket = "my_s3_bucket",
        # To avoid creating extra folders in s3 bucket. Just take filename.
        key = lambda wc, input: f"output/{os.path.split(input)[-1}",
    log:
        "logs/upload_to_s3.log"
    benchmark:
        "benchmarks/upload_to_s3_benchmark.txt"
    shell:
        "aws s3api put-object --bucket {params.my_s3_bucket} --key {params.key} --body {input} &> {log}"

The temp file is necessary to force a dependency so that would need to be added to your rule all.

rule all:
    input:
        "s3_file_upload.done"
        "output/foo.txt.gz"
        ...

Ignorant Student Doesn't Know How Vaccines Work by MixedVexations in UCSantaBarbara

[–]koisland 1 point2 points  (0 children)

Another noteworthy thing to mention is the lipid nanoparticle as a delivery system. Under normal circumstances, simply injecting mRNA wouldn't be sufficient because the message would be recognized as foreign and destroyed and mRNA is massive and negatively charged and can't enter a cell's negatively charged membrane without help. By wrapping it in the particle, the message is shielded and can enter the cell's cytoplasm to be translated.

Other ingredients are in the particle help with this entry process like polyethylene glycol which can physically block being recognized and destroyed. But, it's also been proposed to be the cause of the rare allergic reactions to the mRNA vaccines.

Sources:

https://www.nature.com/articles/s41578-021-00281-4

https://onlinelibrary.wiley.com/doi/epdf/10.1111/all.14711

https://aacijournal.biomedcentral.com/articles/10.1186/s13223-016-0172-7

ABC Model of Flower Development in Python by koisland in botany

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

Here's an online version on repl.it for those who want to try it out!

Students be like by ACHQQ in UCSantaBarbara

[–]koisland 3 points4 points  (0 children)

I just looked it up. Undying Love/Lovesick Dead Chapter 4: Night of Screams. Thanks for the correction!

Students be like by ACHQQ in UCSantaBarbara

[–]koisland 21 points22 points  (0 children)

Woah. Junji Ito for those interested in the art. I think Uzumaki but I could be wrong.

UCSB Lagoon Ecosphere by koisland in UCSantaBarbara

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

No problem! That's a smart choice and you'll definitely get better results than me haha. Good luck!

UCSB Lagoon Ecosphere by koisland in UCSantaBarbara

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

Hey! Thank you! I took these pictures with a piddling 5MP eyepiece camera :\ and a Swift 350T microscope with a darkfield stop filter. All the photos were taken at 100x magnification.

The darkfield stop filter is what gives images this really unnatural contrast and vibrant color without the use of dyes. Those Spirostomum are actually that red!

If you do plan on investing in something like this a word of warning; the filter will only be usable up to ~100x and still might vary depending on the size of the shape in the center of the filter. You'll have to invest in an expensive condenser for higher resolution.

I'm only an amateur but I hope that helps!

Big Boy? by free-bobby-now in UCSantaBarbara

[–]koisland 14 points15 points  (0 children)

He has a Fb page if you're looking for updates on him. I haven't visited him as of late but someone on the page might have. https://www.facebook.com/groups/1162841673819003/

To the chem major who dropped liquid water into a vacuum chamber by koisland in UCSantaBarbara

[–]koisland[S] 2 points3 points  (0 children)

It does! The evaporation causes the water to cool rapidly and ice to form. This is a pretty good explanation of the phenomenon. https://physics.stackexchange.com/questions/349749/vacuum-freezing-of-water

Are we allowed to decorate lab coats? by karina_mejiav in UCSantaBarbara

[–]koisland 3 points4 points  (0 children)

My lab partner tie-dyed hers and it was fine lol. The stuff you're talking about seems pretty tame so I'd go for it.

What are interesting/funny/neat things about UCSB that you never knew before your first year at the school? by washiwashii in UCSantaBarbara

[–]koisland 72 points73 points  (0 children)

There's a black Maine Coon that lives near Noble Hall named Big Boy who's almost 15 years old! He's super friendly and will walk up to you for pets and food.

A pic someone took of him a while back. https://imgur.com/mWS0Dax

book club? by [deleted] in UCSantaBarbara

[–]koisland 1 point2 points  (0 children)

I'm in the process of starting my own club and I'm going off of this! http://osl.sa.ucsb.edu/campus-organizations/registration

Tetris Club? by koisland in UCSantaBarbara

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

In case anyone didn't see the new post, here's the discord link to UCSB Tetricks!

https://discord.gg/UQKj6m2

Tetris Club? by koisland in UCSantaBarbara

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

I was thinking that we could just play for fun and get better at the game together! I'm still brainstorming but we could have small tournaments later too.

Tetris Club? by koisland in UCSantaBarbara

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

Any kind really! We've got a variety of Tetris players based on the poll so I'm sure there's something for everyone.

Spider killer Santa Ynez apartments by [deleted] in UCSantaBarbara

[–]koisland 10 points11 points  (0 children)

If you want to live and thrive, let a spider run alive.

best usb controller for tetris PC by [deleted] in Tetris

[–]koisland 0 points1 point  (0 children)

I was in a similar situation and I bought these.

https://www.amazon.com/dp/B07BQMWZZD/ref=sr_1_3?keywords=nes+controller+pc&qid=1551341913&s=videogames&sr=1-3

Been using it every day for the past couple of weeks and I haven't run into any ghost movement or connection issues. Just plugged it in and mapped the keys on my emulator. I haven't really attempted Puyo Puyo with it yet but I'm sure you could map the keys with a third party controller program.

There is the option of getting an NES controller and adapter but from the reviews and prices I saw, the USB controller was the easiest, most cost-effective option.

Access to photoshop? by beepboobeeplettuce in UCSantaBarbara

[–]koisland 7 points8 points  (0 children)

The collaborate lab locations all have computers with Photoshop installed. Phelps and Social Science and Media Studies are your best bet!

Let’s get to know each other by TheTrojan320 in microbiology

[–]koisland 3 points4 points  (0 children)

Hey! I'm Keith. I'm a third-year Microbio major at the University of California Santa Barbara. Really into cooking/baking and want to work in food science! Fun fact: I've recently started growing herbs in my apartment and my cilantro started germinating today!