Re: Can't send email via port 587 with TLS
The following forum resolved my issue. I have another query. I am getting an issue that whenever I am trying to sign in to a Microsoft cloud service such as Office 365, Microsoft Azure, or Microsoft Intune, I am receiving the following error message from ADFS that "There was a problem accessing the site. Try to browse to the site again.".I have contacted the helpdesk support and followed accordingly [https://supportprop58.com/office-setup/how-to-login-microsoft-office/.Guide](https://supportprop58.com/office-setup/how-to-login-microsoft-office/.Guide) us if anything I have missed out.
Re: How to Maintain a Nim Chinese Community
Don't worry, Status.im is free to access as I tried, but Blockchain like Bitcoin and Etherum are banned for some reasons, the clients are unlikely to be used in China. TLS is a common technology, decryption to see the traffic is hard and pointless.
Re: How to Maintain a Nim Chinese Community
the attempt to access what was banned is banned too.
Re: euwren – a high-level wrapper for the Wren scripting language with a user-friendly DSL
euwren 0.3.0 is out! This release introduces the ability to interact with Wren from Nim. Changelog: [https://github.com/liquid600pgm/euwren/releases/tag/0.3.0](https://github.com/liquid600pgm/euwren/releases/tag/0.3.0)
Re: How to Maintain a Nim Chinese Community
What about status.im ? I wonder if it can bypass the Chinese firewall (Golden Shield, i think it was called)
Re: Advent of Nim 2019 megathread
My solutions: [https://git.sr.ht/~reesmichael1/adventofcode](https://git.sr.ht/~reesmichael1/adventofcode) And since it seemed like a shame to not use Nim's macros somewhere, I went ahead and built a simple runner that loads all of the solution files automagically at compile time! (I've only used macros a few times now, so if anyone knows of a better way to do what I've done, please let me know!)
Re: How to Maintain a Nim Chinese Community
Of course the main gateway is banned, but people [can still](https://www.reddit.com/r/ipfs/comments/b0oe37/sending_files_to_china_via_ipfs/) use it over VPN, I2P/Tor gateways, etc.
Re: Nim is the friendliest language to start
> Web framework [https://nimwc.org/login](https://nimwc.org/login) [Not free software.](https://forum.nim-lang.org/t/4703)
Re: Question about multithreaded use of filestream.readLine() function
I read your answer in the other Thread and i don't understand how your example code should be translated into a "parallel_for" loop. I don't know what to look for. Do you have any keywords i should search for ? :(
Re: Pragmas Above Procs
I've always felt that pragmas are awkwardly placed. For procedures they come after the signature. For fields, variables and objects, they come before the type. It's also possible to use some as standalone. It was a bit confusing at first. Lots of languages have similar constructs - decorators, metadata, annotations, attributes. They are generally used as a prefix. Although ,I think Nim gets much more use out of them compared to other languages.
Re: Question about multithreaded use of filestream.readLine() function
Thank you for the link. I will try that out.
Re: Nim is the friendliest language to start
We could assume: popularity = corporate_hype + 0.3 * quality + random() ...and despite the correlation, things that both very good and very popular are really rare compared to very-good _OR_ very-popular
Re: Nim is the friendliest language to start
I tried it a little. I think is closest to CMS than a framework. The nearest to a rails-like framework is Xander.
Re: Nim is the friendliest language to start
Web framework [https://nimwc.org/login](https://nimwc.org/login)
Re: Nim is the friendliest language to start
I think Nim lacks tools to some famous areas like full-stack web frameworks, etc. Almost every language, who not backed by a huge foundation or company, needs well-known projects to advertise what you can do with language.
Re: Pandas Equivalent for Nim?
Nvidia CuDF provides CPU and GPU accelerated dataframes on top of Apache Arrow.
Re: Pandas Equivalent for Nim?
Arrow provides a common data storage format, but not much more; It is not a replacement for pandas. It is nice if you have a lot of multiple languages cooperating and a lot of serialization/deserialization happening - though personally, in every use case I had, HDF was a much better choice and just as well supported if not more.
Re: Best way to store/search/etc and an int-int data structure
For the curious, that sparse-dense array construction of mratsim's impl is useful when keys are sparse-subsets of a small universe and hails from Preston Briggs' Rice PhD thesis in 1992, but has this more self-contained follow-up paper: [http://dcs.gla.ac.uk/~pat/ads2/papers/p59-briggs%5b1%5d.pdf](http://dcs.gla.ac.uk/~pat/ads2/papers/p59-briggs%5b1%5d.pdf) If you need this to be an "associative array" with "satellite data" as values for given keys, that is a straightforward extension where the dense array can be an array of pairs (or you could have a parallel dense value array). At some slightly different point in the design space is Varghese's Aggregate Bit Vectors which do not allow associative extension, [https://cseweb.ucsd.edu/~varghese/PAPERS/icnp2002.pdf](https://cseweb.ucsd.edu/~varghese/PAPERS/icnp2002.pdf) , which is also pretty easy to implement. And, of course, `Table[int,int]` is not actually that slow either.
Re: Pandas Equivalent for Nim?
Might also be worth looking at Apache Arrow: [https://wesmckinney.com/blog/apache-arrow-pandas-internals](https://wesmckinney.com/blog/apache-arrow-pandas-internals)/ [https://arrow.apache.org](https://arrow.apache.org)/
Re: Nim is the friendliest language to start
Maybe because Google isn't behind Nim hyping it...
Re: Nim is the friendliest language to start
Basically I agree -- for someone with at least a minimal computer science background reading Araqs tutorial part I and II is enough to start, and that takes only a few hours. Learning macros, async, parallel processing is not that easy. And fully unskilled people seems to have some more problems of course -- ref, ptr, value object, generics, templates, macros and still small community. > learning curve is so chilled But that is not the core component of a great language: Learning playing a drum may be easier than playing a piano or a violin, but does this mean that only a drum is a nice music instrument?
Re: Question about multithreaded use of filestream.readLine() function
This is my chunking algorithm: [https://forum.nim-lang.org/t/5579#34696](https://forum.nim-lang.org/t/5579#34696) I can't say about the `atEnd`, would need to investigate into it. For reference for other to the previous thread: [https://forum.nim-lang.org/t/5504#34400](https://forum.nim-lang.org/t/5504#34400)
Re: Best way to store/search/etc and an int-int data structure
So you want an integer set? DO you have any constraints on memory use? Are those in a specific range like 0 ..< N? If yes you may reuse the ideas between sparse sets, which I use to support random sampling for Monte Carlo Tree Search (game simulations, perf bottleneck for IA algorithm) and for my multithreading runtime: * [https://github.com/mratsim/golem-prime/blob/master/src/core/c_empty_points.nim](https://github.com/mratsim/golem-prime/blob/master/src/core/c_empty_points.nim) * [https://github.com/mratsim/weave/blob/master/weave/datatypes/sparsesets.nim](https://github.com/mratsim/weave/blob/master/weave/datatypes/sparsesets.nim) You keep 2 arrays: one that maps a key to a position in a second array, the second arrays stores the actual value.
Re: Pandas Equivalent for Nim?
It's not abandoned, @bluenote10 replies very quickly if you open an issue. Unfortunately tackling Pandas is a very large ordeal. If you like tinkering, the best would probably to wrap Nvidia CuDF C++ API at [https://github.com/rapidsai/cudf](https://github.com/rapidsai/cudf) using [nimterop](https://github.com/nimterop/nimterop) or the techniques used in [NimTorch](https://github.com/fragcolor-xyz/nimtorch). If however you want something usable right now, you need to use both Nim and Python at the same time using nimpy and or some Jupyter magic: * [https://github.com/yglukhov/nimpy](https://github.com/yglukhov/nimpy) * [https://github.com/apahl/nim_magic](https://github.com/apahl/nim_magic)
Pandas Equivalent for Nim?
Hey everyone. I have been reading up on Nim for a couple days and am very interested in it. I'm a python dev doing mostly analytics (and if I'm lucky some actual data science). Pandas is my workhorse, and having dataframes is pretty crucial to my being able to use a language. The only pandas-esque package I could find is nimdata and it seems to be abandoned. Is there an active package out there doing similar things? Or another way to get at that kind of functionality I'm not seeing? Thanks for your help!! Very much looking forward to moving some of my work into a more performant language.
Nim is the friendliest language to start
I've been around writing relatively large applications in mainstream languages as well as personal projects in languages like Erlang, Ocaml, Rust, and Scheme. To sum it up, I'm a PL aficionado. It is very mandatory today that a good programming language is 50% about good tooling and ecosystem. For instance, I love Ocaml, but it's 2020 and it still doesn't own a native concurrent construct and its barrier to entry is too high for busy programmers to spend time learning it. A lot of great languages die because they don't have a straightforward path to success and small wins to warrant users' productivity loss. My go-to language is almost always Go. It's not a great language by itself, but most of my work is about building API servers and its tooling is just very robust and frictionless. Also, it takes little effort to type in Go (at least for me) and the error messages are very debug-friendly. So today I've decided to pick up Nim and try writing a small command-line tool in my project at work with it. And heck, its learning curve is so chilled I could become productive almost in the first hour! Being a compiled language makes executing code straightforward and the error messages are very intuitive. From where I am it's a mystery why Nim hasn't caught on faster. Any ideas?
Re: How to Maintain a Nim Chinese Community
IPFS is banned in China.
Re: Best way to store/search/etc and an int-int data structure
For a small number of values linear search may be OK; when values do not change much, you may sort them and do a binary search. Or use a hash table, or maybe a tree structure.
Re: How to Maintain a Nim Chinese Community
耿直boy,我喜欢
Re: Bug or feature?
It **is** a bug and fixed with the upcoming `--gc:arc`.