Skip to content
#

science

Here are 2,239 public repositories matching this topic...

julia
BambOoxX
BambOoxX commented Jun 21, 2022

This subject was initially discussed in https://discourse.julialang.org/t/efficient-way-to-split-string-at-specific-index/83115/17 regarding a way to split a string into equal-length substrings.

The solutions discussed involved (for a string composed of 10 blocks of 8 strings)

  • using a comprehension split8(str::String) = [str[i+1:8] for i in 0:8:length(str)]
  • using a comprehension and `S
good first issue Indicates a good issue for first-time contributors to Julia strings "Strings!" iteration Involves iteration or the iteration protocol
matthew-brett
matthew-brett commented May 28, 2022

I have two expressions, one adding a symbol to a matrix, the other adding a matrix to a symbol

import sympy

A = sympy.MatrixSymbol('A', 1, 1)
sy_b = sympy.Symbol('b')

sym_plus_mat = sympy.MatAdd(sy_b, A, evaluate=False)
mat_plus_sym = sympy.MatAdd(A, sy_b, evaluate=False)

I can print both of these expressions without problem:

print(sym_plus_mat)
print
Easy to Fix This is a good issue for new contributors. Feel free to work on this if no one else has already. good first issue See the "Easy to Fix" label.
stellarium
gzotti
gzotti commented Jul 23, 2022

Discussed in Stellarium/stellarium#2530

Originally posted by onlinebacon July 23, 2022
I'm doing some celestial navigation software and was using the help of the nautical almanac and stellarium to get star information. And couldn't find Schedar on stellarium, then I figured it was being spelled without the "c

enhancement Improve existing functionality state: in progress The problem is in process of solution... data Missing/bad/outdated data, but no code error good first issue Get involved in development!
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

Enhancement ImageBuilding Issues which touch the Image Building subsystem of Singularity good first issue Good for newcomers
kangalioo
kangalioo commented Jul 21, 2020

What is the feature ?

I'm trying out this library for the first time and there's some places where it would be delightful to have shorthand functions:

  1. Shorthand functions for Pos: Pos::top_right, Pos::bottom_right, Pos::bottom_center etc..
  2. Short way to set colors for components. Currently, lots of boilerplate is required for e.g. white-on-black plotos
    • a cool start would b
Thrive

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