Show newer

@scholzmx @rstats The parallel package has stuff for working with clusters, very similar to Julia's pmap but for R (I think clusterapply and it's ilk will probably get you want you want in a functional style, and it has stuff to easily detect cores and such).

rdocumentation.org/packages/pa

@andrew Oh, and for funsies, here's the same set of sed regular expressions that will take the raw html starting at <div class="sourceCode" and do the same thing:

```
:%s/^.*\(@.*\)<\/span>\{<span class="ot">\(.*\)<\/span>,.*/\1{\2/g
:%s/.*\{\(.*\)\}.*/\{\1\}/g
```

But the bookmarklet was a lot faster to get working 100% 😂

@andrew

I see...I think there's some trouble here, unless you only care about this url based method working for your WIP papers only (rather than universally).

In this more limited case, you can use a bookmarklet. Now, I'm no expert at Javascript, but it seems that you can do the following based on the website you linked. Just save the following code as a bookmark, and you can automatically copy to your clipboard from anywhere on the page, and import to zotero from there.

It would be even easier if the zotero API had a way to save from bibtex instead of just doi, because in that case we can just wrap the bookmarklet in another function and call it a day.

Hope this provides something useful you can build on or use :)

```
javascript:navigator.clipboard.writeText(document.getElementsByClassName("sourceCode").cb1.innerText)
```

@andrew You mean like this?

api.crossref.org/works/10.1038

Just put anything between "works/" and "/transform" and it will return bibtex information.

Or did you mean something else?

John BS boosted

i’m at the stage in my career where a cancelled zoom meeting is my love language

@leahdriel I personally prefer the "cawlection of corvids", but that's just because I like the puns 😂

@FredBarraquand @sortee @royalsociety I think this, along with Registered Reports, could be an excellent path toward improving many of the systemic issues with academic publishing. Any thoughts on integrating these two approaches?

Well, it's good to know that fantasies can become a reality, that is, if your fantasy is to wonder what it's like to have a cartoon villain run your healthcare system 😂 ....😭

youtube.com/watch?v=b2sDx0Y_I-

@art4857@101010.pl @freemo DAVx5 is available on Fdroid, have you tried that option because it works great for me :)

I've never used Orgzly, but I'm gonna try to get it all integrated with WebDav though that or some other option, as I'm not the biggest fan of syncthing, personally.

@freemo I think it's the expected number of bits, in that they can determine the most significant bit of the nonce but with probability <1.

@freemo Well yeah, but <1 bit is pretty rough, no? Admittedly, I don't have anything to compare that number to, so some perspective would be great :)

@freemo I don't regularly use this stuff, particularly for signing, but I did see an interesting paper recently that illustrated how ECC can be broken with < 1 bit of nonce leakage.

eprint.iacr.org/2020/615

Which seems to be caused by the need of uniformly distributed nonce values, which can unexpectedly broken via modulo bias as shown: research.kudelskisecurity.com/

@TheStrugglingScientists Thanks for the advice! I've considered it, but I don't think I can right now due to my research load, though after I graduate that may be a different story 😅

Also, I was going to email you guys about possibly being a correspondent on your blog/podcast regarding academic writing and productivity tips.

I can send more details soon, but would you possibly be interested in having someone come on at some point regarding these topics? Just let me know! 😁

@TheStrugglingScientists I like woodworking, and I've made some beautiful pieces, but I don't have enough time due to research...but someday, I'm making myself some beautiful barrister bookcases. I just need a sponsor or I'll never make any money with it 😭

John BS boosted

10 years after we created Registered Reports, the thing critics assured us would never (in a million years) happen has happened: @Nature is offering them.

The Registered Reports initiative just went up a gear and we are one step closer to eradicating publication bias and reporting bias from science.

Congratulations to all involved in achieving this milestone.

nature.com/articles/d41586-023

@Pat @freemo @rbreich I do have to say I like this "ultra-flat" tax idea pat is proposing here, it seems very clever: every time dollars change hands, 0.25% of that goes to the government, but I do think there are good reasons for tax exemptions (such as for groceries and other necessities).

However, I also know that regardless of the highest margin tax rate, the government has consistently only received around 16% of GDP, due to increasing corruption caused by the wealthy paying for laws that benefit them and are cheaper than the tax rate.

I think until we solve the corruption problem (maybe programmatically? but that opens up a completely different can of worms) it seems like we're stuck.

@freemo I found the problem in your algorithm: goto is considered harmful, and in this case its apparently harmful to the eggs 😂

@Paulos_the_fog @freemo @rbreich That's quite the generalization there that I'm *sure* is healthy for political discourse 😛

Fundamentally, wealth should be earned according to value production. Some skills are more valuable at a given time in any arbitrary society, and those who are capable of producing the most value should be rewarded accordingly to incentivize them to continue to do so. When this doesn't happen, you get places with high economic inequality due to high rates of political corruption (e.g. the curse of natural resources) rather than alternative, less insidious causes of wealth inequality, and by the Pareto principle, this is the expectation.

Of course, this is assuming the economic system works in a vacuum of purely rational entities with long term thinking being the dominant form of thought. But in the absence of perfection, principles must suffice. I think people should be monetarily rewarded for how much they make society a better place and improve the lives of those around them, and so long as the rules/laws/morals aren't being skirted around in the process, I think that's fine. Once things like patent trolling, pharmaceutical patent extensions, copyright extension lobbying, etc. become a problem then they must be addressed, but these issues are consequences of greed and what I referred to as the "idolatry of money", not wealth itself.

(And of course, I think the wealthy have a moral obligation to help the less fortunate, but I'm less amenable to the government forcing that to occur and in a way that often dilutes the impact the funds have on those individuals who are supposed to be aided due to the impact of middlemen on this redistribution: all those IRS agents have to be paid after all. Not that all taxes are bad, but many are paradoxical in effect.)

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.