Lukas boosted

Request for help (librarians especially!!); Boosts++ Show more

Lukas boosted

I tried the Google maps AR walking navigation thing today. It is oddly futuristic, yet also somehow "why hasn't it always been like this this is so neat"

You ever need to do regression through the origin and really, like, _really_ want to cancel out parts of sums? Also, my google foo yields depressingly little info on the whole thing, at least on a level I can grasp (not familiar with regression in matrix notation yet, and multiple regression is also a topic for the coming weeks).

Sigh. Math is just too math for me.

Oh look it's exported/uploaded with background transparency. That doesn't help.

I need to derive the variance for the beta estimator for simple lineare regression through the origin (RTO), and let's say my math foo is insufficient.

I've been spending more time than I'm prepared to admit on the question of which fonts to use for the .tex template for… weekly assignments that nobody really cares about with regards to typographic sophistication and aren't even required to be TeX'd at all.

I switched my .tex template to scrartcl and now \emph doesn't do anything anymore and I'm not even sure where to start trying to fix it (╯°□°)╯︵ ┻━┻

If you're into self-inflicted pain like me (or just want to try to undertand how to kind of manage a TeX-distribution and use TinyTeX instead of TeXLive et al) … uh, long story short: This tool: ctan.org/pkg/texliveonfly can parse your .tex file and auto-install all the packages you'll need. It's magic. I love it.

Turns out my :rstats: package build on travis is failing because apparently the check process uses worldclockapi.com/api/json/utc to check for the local time. Which is currently 403. Which is… a bummer? One might assume that "figuring out what time it is" would be a solved problem, but alas, 'twas naive.

Ha! Finally found the issue. My best guess is that the cached data at cloudflare differs between my location and the location of the travis servers, otherwise I can't explay slightly different API response content for the same query at the same time that triggered the bug.

:rstats: :package: dev Show more

Lukas boosted
Lukas boosted

So plants use photosynthesis to take in carbon dioxide and give out oxygen, but it doesn't directly convert the two.

That oxygen actually comes from water, and because Earth is a closed system, a lot of water molecules have been water molecules for a long, long time until a plant picks them up. A lot of them are drunk by animals in the meantime.

Dinosaurs were on Earth for 179 million years. So it's very likely that some of the oxygen atoms you're breathing right now were once dinosaur pee.

Sigh. I wish all the Twitter people were on here. I really don't like having to open Twitter to see what's new these days.

Lukas boosted

Give a person a program and frustrate them for a day.

Teach a person to program and frustrate them for a lifetime.

Lukas boosted

So I made a thing.

The green on this graph shows where chlorophyll b absorbs (the type mostly used by plants). You can see it catches light in two places. Near 450nm (the blue end of the spectrum) and around 650nm (in the red).

The two lines show the wavelengths emitted by LED lights. Blue is cool white and red is warm white. Both have a spike in emission around chlorophyll's blue absorption and broad emission over the red absorption.

In other words, this is why houseplants like LED lighting!

I love it when I think a problem into the internet and the internet thinks back and solves a problem for me.

Lukas boosted

@jemus42 can you do a HEAD rather than GET the first pass? restapitutorial.com/httpstatus

(I know nothing, just searched because it's a good question.)

I'd really like to validate a URL by making a testing-GET request, see if it returns a status code 200, and *then* I'd like to make the *sincere* GET request where I may retrieve more than a megabyte of data. I feel like I have the option between "guessing a URL works and possibly failling" or "hammer the API and waste bandwidth".

I might not understand how HTTP works, that's also an option. Or I just should be better at failing in code? Idunno. Things are hard.

Show more
Scholar Social

NOTICE: Registration on scholar.social is open to anyone who is willing to abide by our Community Standards. Email scholar dot social at protonmail dot com if you want an invite!

Federated microblogging for academics

Scholar Social is a microblogging platform for researchers, grad students, librarians, archivists, undergrads, academically inclined high schoolers, educators of all levels, journal editors, research assistants, professors, administrators—anyone involved in academia who is willing to engage with others respectfully.

We strive to be a safe space for queer people and other minorities in academia, recognizing that there can only be academic freedom where the existence and validity of interlocutors' identities is taken as axiomatic.

"An academic microblog that you can be proud to put on the last slide of a presentation at a conference"

"Official" monthly journal club!

(Participation is, of course, optional)

Scholar Social features a monthly "official" journal club, in which we try to read and comment on a paper of interest.

Any user of Scholar Social can suggest an article by sending the DOI by direct message to @socrates@scholar.social and one will be chosen by random lottery on the last day of the month. We ask that you only submit articles that are from *outside* your own field of study to try to ensure that the papers we read are accessible and interesting to non-experts.

Read more ...