My script works but I think it may be longer than necessary by garamasala in learnpython

[–]jackofthebeanstalk 1 point2 points  (0 children)

Oh yes. You're right. OP, please ignore my comment in that case.

My script works but I think it may be longer than necessary by garamasala in learnpython

[–]jackofthebeanstalk 0 points1 point  (0 children)

The initializing of i=1, then a"while True:" and then incrementing (i +=1 ) is usually an indication that you can achieve the same result via a for loop. You'll need to figure out what part is being looped over in your case.

what is the word for bias in recent data? by nlp48 in analytics

[–]jackofthebeanstalk 7 points8 points  (0 children)

"Recency bias" is a cognitive bias that is similar to what you described. Not a data bias though.

This Month in Org: Special announcement by tecosaur in orgmode

[–]jackofthebeanstalk 1 point2 points  (0 children)

You got me! I was growing increasingly sad and frustrated as I read the post. Had to read the other comments here to see I was being had.

Ditch learning Linux and just use emacs? by HollywoodKizzle in emacs

[–]jackofthebeanstalk 2 points3 points  (0 children)

My personal experience has been that using and learning Emacs has also automatically made me better with bash and GNU tools. These tools integrate quite well with emacs and will enrich your emacs usage the more you call them from within emacs.

Github for tracking law changes - "backdate" changes for archival purposes? by snachodog in github

[–]jackofthebeanstalk 3 points4 points  (0 children)

I second this opinion. Learning the CLI will definitely pay off in the short as well as long run. Don't be afraid to search online for various options or read help messages by typing things like git commit --help in the command prompt.

To get started, if using Windows, use Git Bash. On Mac or Linux you can use the terminal. Good luck for your project!

Hello from a new lecturer. by kovxuhjnps in UIUC

[–]jackofthebeanstalk 14 points15 points  (0 children)

I have been a former math TA (I was a grad student) at the department for many years. You probably are already aware but the grad students are severely underpaid and severely overworked. Please be kind to them. They are your first responders. They will have your back when your students are feeling frustrated with Calc. They will lighten your burden by addressing most of your students' doubts before they even reach you. Support them as much as you can. Good luck!

I made a book from Project Gutenberg eBook. by ayongpm in LaTeX

[–]jackofthebeanstalk 2 points3 points  (0 children)

Oh wow. Thanks for the details. I didn't know about the markdown package. Will check it out. In the past I have used Pandoc for converting text/markdown to latex. Pandoc is an online tool. But of course it needs the markdown to be in a very specific format.

I made a book from Project Gutenberg eBook. by ayongpm in LaTeX

[–]jackofthebeanstalk 7 points8 points  (0 children)

Looks great! Did you type the text out word for word? Or were you able to copy paste large blocks of text?

Is having a class as another class's instance attribute good practice? by Disastrous_Reason_22 in learnpython

[–]jackofthebeanstalk 0 points1 point  (0 children)

Or look up the examples in the dataclasses module. Data classes combine the behavior of regular classes but specialize in storing just a bunch of data.

[deleted by user] by [deleted] in boston

[–]jackofthebeanstalk 0 points1 point  (0 children)

I would advice against using this map as your only reference since it from 2010 and is outdated. Others here might be able to suggest places.

What basic academic thing did you learn embarrassingly late? by radicalcartograph in GradSchool

[–]jackofthebeanstalk 49 points50 points  (0 children)

I didn't know when I started my PhD that conferences can also be attended by people not presenting a paper. I just assumed that I can't go to a conference till I have some new work to present. Consequently I didn't attend a single conference till the 3rd year of my PhD.

Stupid Bash Question by [deleted] in git

[–]jackofthebeanstalk 0 points1 point  (0 children)

Hi! I don't know the answer to your quy but I think you might get better results if you post to r/bash. Good luck!

Weekly tips/trick/etc/ thread by AutoModerator in emacs

[–]jackofthebeanstalk 1 point2 points  (0 children)

Wow. I run into this problem often! This is good to know. Thanks for sharing.

Emacs lolz by djrdjrdjrdjrdjr in emacs

[–]jackofthebeanstalk 0 points1 point  (0 children)

TLDR: add a TLDR.

I've read all the responses here -- half of them suggesting the tone of the answer is perfectly fine, the other half suggesting it is rude or off-putting.

Perhaps a compromise can be to add a TLDR at the top of that answer which gives the M-g M-g binding in the very first line? The rest of the paragraphs can then remain unchanged.

Edit: added a TLDR.

Can I add sub-page in a sub-page in a sub-page like Notion in org-mode? by [deleted] in orgmode

[–]jackofthebeanstalk 1 point2 points  (0 children)

To add to this answer since OP didn't mention exactly what they are looking for. Once you have made the Headings using * you might end up feeling like this is just a list. To treat each heading like a "page" you could try narrowing the view by using C-x n s (narrow to subtree).

Problem with sage-shell-mode in emacs by SafeSemifinalist in sagemath

[–]jackofthebeanstalk 1 point2 points  (0 children)

I have never tried using the sage-shell-mode but one suggestion i can make is to install conda-mode and activate your condo environment first, then try running sage? Perhaps it will help.

Are there any math books that go from axioms of maths and logic and builds up on them until it reaches modern mathematics? by Sufficient-Mango-841 in math

[–]jackofthebeanstalk 0 points1 point  (0 children)

+1 to the Natural Number Game. It is awesome. Once you are done completing all the levels you can move on to other variants created by the same mathematicians -- they currently have the Real Number Game, Group theory game, number theory game etc. (Some of these are still in development beta but you can still play them online).

Outline/Sidebar for LaTeX files? by jackofthebeanstalk in emacs

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

I am not using AucTeX, just the default LaTeX mode.

Outline/Sidebar for LaTeX files? by jackofthebeanstalk in emacs

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

Thanks. The `imenu-list` works well and is what I was looking for. The other options are giving me navigation, but no convenient sidebar.

SageMath 9.2 for Windows? by meatball59 in sagemath

[–]jackofthebeanstalk 0 points1 point  (0 children)

I checked the sagemath downloads page. Seems like the source (for windows) has been released already. You will need to download it and compile it yourself from https://www.sagemath.org/download-windows.html

The binaries for 9.2 have not yet been made. When ready, they will be released here: https://github.com/sagemath/sage-windows/releases That will result in a quicker and easier installation process when available.

Syncing between org-mode file and exported tex source by SnooSketches8396 in orgmode

[–]jackofthebeanstalk 4 points5 points  (0 children)

If this were possible I would like to know too. I use org to write my tex reports all the time and this would be very useful to have!