Skip to content
#

science

Here are 1,733 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⟩"
"⟨
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
Thrive
hhyyrylainen
hhyyrylainen commented Jan 26, 2021

At least if the user hasn't taken a screenshot the open screenshots button just silently fails.
Instead it should show a warning popup that the folder doesn't exist and suggest taking a screenshot and then trying again.
The same probably also applies to the browse saves folder button so that should also have a warning popup, and suggesting the player to make a save first.

I think it's fine to

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