-
[24.08.2023 12:07:58] jasiu-rozowyczlowiek:
[24.08.2023 12:07:58] jasiu-rozowyczlowiek
-
### Description
```nim
import std/hashes
func baseAddr[T](x: openArray[T]): ptr T =
# Return the address of the zero:th element of x or `nil` if x is empty
if x.len == 0: nil else: cast[ptr…
-
heyo -- trying to generate a subspace from a CIF (attached -- .txt extension appended)
"
s = Structure.from_file('Li0.3La0.57TiO3.cif')
prim = s.get_primitive_structure()
subspace = ClusterSubsp…
-
got the error below:
```
Traceback (most recent call last):
File "/mntcephfs/lab_data/kongchuyi/A-rlsimu/ReMax/step2_reward_model_finetuning/main.py", line 466, in
main()
File "/mntcephf…
-
### Description
[https://play.nim-lang.org/#pasty=mAoFregmBars](https://play.nim-lang.org/#pasty=mAoFregmBars)
As mentioned in the document, `= sink` hooks are not always called, so I apparently c…
-
הצלבת עצי ליפי ומפ"י, לדעתי זה אותו עץ - אפשר ללמוד משהו מזה חוץ מהדיוק של ליפי? דרך אגב אני רואה שמס' הספרות בקוארדינטות לא זהה. זה קשור לדיוק?
-
Build 856
Android
Mod: Unciv Rework
For an unknown reason, automated workers are building roads when that option is off. More peculiar is that they're only building them only on oasis tiles. Once a r…
-
### Description
Testcase:
```nim
import std/[json, typetraits, times]
# publish
proc publish*[T](payload: T) =
discard
type MetricsPoint* = JsonNode
proc push*(stat: string, data…
-
### Description
```nim
type K = tuple
g, w: int
static:
doAssert sizeof(int32) == sizeof(int)
doAssert low(int32) == low(int)
doAssert high(int32) == high(int)
let
a: int32 = 1
…
-
### Description
```nim
type
Union{.union.} = object
a:int32
b:bool
const i = Union(b:true)
echo i
```
C++ backend generates incorrect initialization code for this ( see below ).
C …
tommo updated
8 months ago