hackinscience issueshttps://framagit.org/groups/hackinscience/-/issues2021-06-10T12:14:23Zhttps://framagit.org/hackinscience/hkis-website/-/issues/85"next" button can send users on another category2021-06-10T12:14:23ZJulien Palardjulien@palard.fr"next" button can send users on another categoryWhich is just weird.Which is just weird.https://framagit.org/hackinscience/hkis-website/-/issues/66Add a line with the currently logged-in user in the leaderboard when he's not...2021-03-26T15:42:26ZJulien Palardjulien@palard.frAdd a line with the currently logged-in user in the leaderboard when he's not in the top 100Julien Palardjulien@palard.frJulien Palardjulien@palard.frhttps://framagit.org/hackinscience/hkis-website/-/issues/86Add a way to revert to the initial solution.2021-08-03T13:38:08ZJulien Palardjulien@palard.frAdd a way to revert to the initial solution.When someone mess with the initial solution, a way should be provided to rollback to it.When someone mess with the initial solution, a way should be provided to rollback to it.https://framagit.org/hackinscience/hkis-website/-/issues/56Add exercise is_isogram2020-12-24T15:27:39ZJulien Palardjulien@palard.frAdd exercise is_isogramhttps://framagit.org/hackinscience/hkis-website/-/issues/75Add exercise: Verbal Arithmetic2021-04-12T09:45:21ZJulien Palardjulien@palard.frAdd exercise: Verbal Arithmetichttps://en.wikipedia.org/wiki/Verbal_arithmetic?wprov=sfla1https://en.wikipedia.org/wiki/Verbal_arithmetic?wprov=sfla1https://framagit.org/hackinscience/hkis-website/-/issues/13Automatically insert a newline if missing when pre-filling an exercise2019-12-11T13:56:29ZJulien Palardjulien@palard.frAutomatically insert a newline if missing when pre-filling an exerciseMosts students complain about their cursor poping at the right of the shebang.Mosts students complain about their cursor poping at the right of the shebang.https://framagit.org/hackinscience/hkis-website/-/issues/8Can't store snippet result containing nul characters2019-04-29T14:52:31ZJulien Palardjulien@palard.frCan't store snippet result containing nul charactersIf someone posts the following snippet:
```python
print("\x00")
```
the moulinette will pick it up, execute it successfully, and will try to put the result back.
While inserting in the DB it will fail, as Postgres does not like \x00 i...If someone posts the following snippet:
```python
print("\x00")
```
the moulinette will pick it up, execute it successfully, and will try to put the result back.
While inserting in the DB it will fail, as Postgres does not like \x00 in strings.
So the "executed_at" field is not updated, and the moulinette will pick it up again the next round, and again, and again, and again...https://framagit.org/hackinscience/hkis-website/-/issues/48dans print parameter name, c'est pas clair qu'il ne faut pas split sys.argv[1...2020-09-21T15:07:12ZJulien Palardjulien@palard.frdans print parameter name, c'est pas clair qu'il ne faut pas split sys.argv[1] sur /car l'exemple donne juste le nom, mais run donne /opt/, ça donne envie de split("/")[-1]car l'exemple donne juste le nom, mais run donne /opt/, ça donne envie de split("/")[-1]https://framagit.org/hackinscience/hkis-website/-/issues/67Display number of exercises done on the leaderboard2021-03-26T15:42:09ZJulien Palardjulien@palard.frDisplay number of exercises done on the leaderboardJulien Palardjulien@palard.frJulien Palardjulien@palard.frhttps://framagit.org/hackinscience/hkis-website/-/issues/24Editor is too dark2020-02-12T13:34:03ZJulien Palardjulien@palard.frEditor is too darkhttps://framagit.org/hackinscience/hkis-exercises/-/issues/3Exercise idea: find 3 consecutive number such as their some equal to a given ...2021-12-16T16:07:07ZJulien Palardjulien@palard.frExercise idea: find 3 consecutive number such as their some equal to a given number.Like, given 771, find 256+257+258.Like, given 771, find 256+257+258.https://framagit.org/hackinscience/hkis-exercises/-/issues/5Exercise idea: Find biggest sum of N integers in M integers.2022-01-02T20:15:32ZJulien Palardjulien@palard.frExercise idea: Find biggest sum of N integers in M integers.Given a list of M integers, find N integers whose sum is greater than any other set of N integers.Given a list of M integers, find N integers whose sum is greater than any other set of N integers.https://framagit.org/hackinscience/hkis-exercises/-/issues/6Exercise idea: Find two distinct sets of integers whose sums equals.2022-01-02T20:22:40ZJulien Palardjulien@palard.frExercise idea: Find two distinct sets of integers whose sums equals.Example, in `[1, 2, 5, 10, 11, 12]` we can find `1+10+10 == 10+11` (and many others).
To complicate, we can enforce no shared integers, we can still find equalities like: `1+10 == 11`.Example, in `[1, 2, 5, 10, 11, 12]` we can find `1+10+10 == 10+11` (and many others).
To complicate, we can enforce no shared integers, we can still find equalities like: `1+10 == 11`.https://framagit.org/hackinscience/hkis-exercises/-/issues/4Exercise idea: Magic square2021-12-16T16:10:43ZJulien Palardjulien@palard.frExercise idea: Magic squareThis could be declined in multiple ways:
- Given a numpy array prefilled with a few values, and the expected sum for all lines and columns, fill the array with the missing values.
- Given a numpy array prefilled with a few values, and g...This could be declined in multiple ways:
- Given a numpy array prefilled with a few values, and the expected sum for all lines and columns, fill the array with the missing values.
- Given a numpy array prefilled with a few values, and given the individual sums expected for every column and every lines, fill the array with the missing values.
- The same within an hexagonal grid instead of a 2d grid.
- Given a magic hexagon with some missing values, fill it.
- ...https://framagit.org/hackinscience/hkis-website/-/issues/45Exercise: Flatten a list2020-10-07T20:56:29ZQuan TranExercise: Flatten a listHello, here's my code
```
def flatten(a_list,z=[]):
for x in a_list:
if isinstance(x,int): z.append(x)
else: flatten(x)
return z
if __name__ == "__main__":
print(flatten([1,2,3]))
```
when I run this it pri...Hello, here's my code
```
def flatten(a_list,z=[]):
for x in a_list:
if isinstance(x,int): z.append(x)
else: flatten(x)
return z
if __name__ == "__main__":
print(flatten([1,2,3]))
```
when I run this it prints [1,2,3] but when I submit it the error says it gives [1,1,2,3]https://framagit.org/hackinscience/hkis-exercises/-/issues/7Exercises ideas in The Canterbury Puzzles, by Henry Ernest Dudeney2022-01-03T08:03:59ZJulien Palardjulien@palard.frExercises ideas in The Canterbury Puzzles, by Henry Ernest Dudeneyhttps://www.gutenberg.org/files/27635/27635-h/27635-h.htmhttps://www.gutenberg.org/files/27635/27635-h/27635-h.htmhttps://framagit.org/hackinscience/hkis-website/-/issues/64Explain how points are computed2021-03-26T15:40:13ZJulien Palardjulien@palard.frExplain how points are computedJulien Palardjulien@palard.frJulien Palardjulien@palard.frhttps://framagit.org/hackinscience/hkis-website/-/issues/90Get a way to share a solution URL2021-12-02T15:12:09ZJulien Palardjulien@palard.frGet a way to share a solution URLIn https://www.hackinscience.org/exercises/hello-world/solutions when one click on a tab the URL don't reflect this, so a solution can't be shared easily :(In https://www.hackinscience.org/exercises/hello-world/solutions when one click on a tab the URL don't reflect this, so a solution can't be shared easily :(https://framagit.org/hackinscience/hkis-website/-/issues/65Give more help about the editor2021-03-26T15:40:26ZJulien Palardjulien@palard.frGive more help about the editorJulien Palardjulien@palard.frJulien Palardjulien@palard.frhttps://framagit.org/hackinscience/hkis-website/-/issues/1Homogenize 'Hello world'2020-09-25T13:18:15ZGuillaume GayHomogenize 'Hello world'IMHO the `hello world` string should be identical on every example - I spent some time on the Basic loop example because I didn't see the exclamation mark at the end.IMHO the `hello world` string should be identical on every example - I spent some time on the Basic loop example because I didn't see the exclamation mark at the end.