hard to load this forum

2020-07-31 Thread jasonfi
Missed that somehow.. I've had a similar problem before, but it disappeared. Clearing the browser cache could help.

hard to load this forum

2020-07-31 Thread Varriount
When the page fails to load, can you open up the inspector tool and see what the javascript console says?

hard to load this forum

2020-07-31 Thread Yardanico
I think it's pretty clear from their message that it's Firefox :))

hard to load this forum

2020-07-31 Thread jasonfi
Which browser are you using?

is chan.tryRecv() not supposed to wait for the next item te be sent via the channel?

2020-07-31 Thread jibal
tryFoo, in Nim and elsewhere, usually means don't hang, produce an exception, etc. if something fails, so without reading the documentation I would expect tryRecv not to wait and for there to be a corresponding recv that does wait. Of course, reading the documentation one sees that's the case. (

hard to load this forum

2020-07-31 Thread oyster
often Firefox loads this forum but displays a blank, I have to refresh the browser many times before I can see posts. Does anybody meet the same problem?

Is there a way to ensure that a viriable is "passed by address" (or reference) in Nim

2020-07-31 Thread jibal
What matters is the aliasing semantics, not how something is passed. If you pass a ref or ptr to an object, then changes to the object's fields will be seen by the caller. Ditto for var parameters--a change to the parameter, and to its fields if it is an object, will be seen in the caller's vers

SymbolicNim, symbolic algebra in Nim

2020-07-31 Thread Pumpus
I'm going to look Fricas. I ask my self if Lisp libraries are c wrappable or not. Anywsy, good luck with your library. Effort apreciated!

SymbolicNim, symbolic algebra in Nim

2020-07-31 Thread Pumpus
Sorry. You didn't get it. I tried in Maxima stuff that I use to do 20 years ago in Maple. I'm only saying that in Maxima I didn't find what I have had in Maple. Even the walls know that Maple had problem with slow java interface. Man, these times are over. Wxmaxima used to be clunky and still i

Nim 1.2.6 and Nim 1.0.8 are out!

2020-07-31 Thread jlindsay
Hi Serge, just type: choosenim update stable Run

Is there a way to ensure that a viriable is "passed by address" (or reference) in Nim

2020-07-31 Thread Serge
Is there a way to ensure that a variable is passed by address in Nim (i.e.) not copied in e.g. a function call or an assignment or otherwise ?

Nim 1.2.6 and Nim 1.0.8 are out!

2020-07-31 Thread Serge
Is there a way to update or must one reinstall Nim from scratch?

Questions about object construction

2020-07-31 Thread TheSpydog
I've been looking into what it would take to implement constructor autocomplete. It seems that in order to summon suggestions for constructors we'd need to somehow activate a "sug" suggestion from a "con" trigger (pressing "(" or ","), and then filter the results for just the fields. Does this s

Questions about object construction

2020-07-31 Thread TheSpydog
Thanks for the advice! I'm coming from a primarily C# background so I recognize the importance of information hiding. Good to know how it's done in Nim! My primary interest for object construction in Nim is for external C APIs that use lots of structs (such as Vulkan and sokol_gfx). I really lik

SymbolicNim, symbolic algebra in Nim

2020-07-31 Thread cantanima
> As Maple user I can say that maxima, simpy, sage and similar atrocities are > just toys in compare. I suppose that's why research papers written by developers of Maxima, sympy, sage, and similar often show in their tables how Maple's implementation is significantly slower than their implement

Proposal: Renaming imported symbols

2020-07-31 Thread cdunn2001
In theory, I agree with the poster. But in reality, there is something about Nim which leads to a philosophical change. I'll try to explain. I strongly prefer to show a symbol's origin explicitly, and I like a language to enforce that. With Python, at least you have to write `from foo import *`

SymbolicNim, symbolic algebra in Nim

2020-07-31 Thread hugogranstrom
@Pumpus that was a nice carrot! ;-) Being " the best free multiplatform Nim symbolic environment" may be a bit too ambitious for me though 😜 It will become what it will be become, no more and no less... I don't think Nim will ever be THE language symbolic people will use for all their needs, es

SymbolicNim, symbolic algebra in Nim

2020-07-31 Thread Pumpus
What about a Fricas Nim wrapper? Is Fricas only for Linux? I think is ported to Windows via (bleah) cygwin?

SymbolicNim, symbolic algebra in Nim

2020-07-31 Thread cblake
I think [Fricas](https://en.wikipedia.org/wiki/FriCAS) (a homonym-with-slightly-different emphasis for Free CAS = Free Computer Algebra System) has the most complete/carefully thought out "type system" for computer algebra/calculus/general math. It's based on IBM's [Axiom](https://en.wikipedia.

is chan.tryRecv() not supposed to wait for the next item te be sent via the channel?

2020-07-31 Thread Serge
Does Nim implement something similar to the channel / select pattern in Go ? It is useful for dealing with a plurality of incoming messages on many channels concurrently. select { case msg := <-messages: fmt.Println("received message", msg) case sig :

Nim 1.2.6 and Nim 1.0.8 are out!

2020-07-31 Thread miran
Version 1.2.6 is our third patch release for Nim 1.2 and it brings several new fixes since versions 1.2.2 and 1.2.4 (the latter was just a hotfix release, because 1.2.2 was mistakenly shipped without `nim-gdb`). Version 1.0.8 is our fourth patch release for Nim 1.0 for those users who haven’t y

How to ensure that all attributes of an object are explicitly set during creation?

2020-07-31 Thread Araq
> Why is this pragma not the default behaviour? It seems to me that's a better > practice to ensure that all fields are initialized by the programmer than > relying on the compiler initializing them with a default value. There are basically two different schools of design: 1. Initialization i