Skip to content
#

science

Here are 1,671 public repositories matching this topic...

julia
KristofferC
KristofferC commented Nov 1, 2020

One of the main use cases of lpad and rpad is, at least for me personally, to align things in the terminal. However, lpad and rpad are defined (and documented) to work in terms of code units (i.e. they call length on the input string) which means that when length and textwidth disagree, you get unaligned output:

julia> s1 = "⟨k|H₁|k̃⟩"
"⟨k|H₁|k̃⟩"
julia> s2 = "⟨k|H₁|k⟩"
"⟨
sgsokol
sgsokol commented Sep 4, 2020

Consider the following system and its solution:

from sympy import *
from sympy.abc import j,f

# augmented matrix
a=Matrix([
[1,  1, 1,  1, 1,  1, 1,  1,  1],
[0, -1, 0, -1, 0, -1, 0, -1, -j],
[0,  0, 0,  0, 1,  1, 1,  1,  f]
])

x=Matrix(list(linsolve(a))[0])

# check if x is a solution
a[:,:-1]*x-a[:,-1] # should be all 0 but the second term is 'tau0-tau1'

Do you have an

goedible
goedible commented Oct 6, 2020

Hi. I can imagine calendar options that would allow people to try different types of calendars. For example with lunar calendars like the Chinese, Vietnamese, Hindu, and Thai calendars.
I see this a powerful aid in teaching the importance of calendars and how they can help us relate to cosmic influences.
By the way... stellar work so far!

mikegray
mikegray commented Jun 13, 2019

Version of Singularity:

3.0.3

Expected behavior

Some progress or update information during the creation of the SIF file.

Actual behavior

During "Creating SIF file..." step, the console does not produce any visible output for the user - but does create the resulting file eventually.

Steps to reproduce behavior

I was executing a few “larger” builds through the bui

kangalioo
kangalioo commented Jul 21, 2020

What is the feature ?

I'm trying out this library for the first time and I'm seeing several places where some shorthand functions would have been really pleasant:

  1. Shorthand functions for Pos: Pos::top_right, Pos::bottom_right, Pos::bottom_center etc..
  2. Short way to set colors for components. My plots are supposed to be white-on-black, which requires a lot of boilerplate on lots o
megies
megies commented Nov 19, 2020

For the long term, we could clean up the code base a bit by internally using pathlib instead of os.path.join(....) and consorts. This is no vital or overly important task but it will help new contributors, to use it in new contributions and not introduce more old-style code, looking at the rest of the code base.

This is a pretty trivial (but longish) task and is a good first issue for new peo

Improve this page

Add a description, image, and links to the science topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the science topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.