Comment on: New Nim release "effectively version 1.0 RC1" - after 11 years of work, the revolutionary programming language is finally close to stable!
0 07 Jun 2019 02:00 u/rcb in v/programmingComment on: New Nim release "effectively version 1.0 RC1" - after 11 years of work, the revolutionary programming language is finally close to stable!
Congrats I suppose... They are going to fix all the problems before making them official 1.0, right?
Comment on: Scriptometer: measuring the ease of SOP (Script-Oriented Programming) of programming languages
Unix distro
rational and consistent design principles
pick one
Comment on: The programmer who created Python isn't interested in mentoring white guys
I may be having an uninformed opinion here, but Nim probably could have a more polished standard library. Maybe some adjustments of the boundry between core language and standard library as well.
Comment on: The programmer who created Python isn't interested in mentoring white guys
Her perspective is also from someone wanting to maintain support for Python 2
Therefore she wants to wreck all other legacy codebases. D may have swapped standard libraries but Python has enough trouble transitioning to v3.
Comment on: The programmer who created Python isn't interested in mentoring white guys
I'm not sure what to think...
Brown’s most controversial opinion, in her own estimation, is that adding
That is a very very very bad sign however, a woman with an opinion. Not so sure whether I should read the rest.
Comment on: Scriptometer: measuring the ease of SOP (Script-Oriented Programming) of programming languages
Tcl has traditionally been string oriented, which would make it a terrible choice for heavy-duty calculations.
Comment on: Scriptometer: measuring the ease of SOP (Script-Oriented Programming) of programming languages
UNIX brought us "polyglot programming" as they call it nowadays, bring back lisp machines. UNIX Haters unite!
Comment on: The programmer who created Python isn't interested in mentoring white guys
Interesting...
Comment on: The programmer who created Python isn't interested in mentoring white guys
The solution to having the deck stacked against you is to tough it out alone? You might have a point, in some situations...
Comment on: The programmer who created Python isn't interested in mentoring white guys
What then shall we do, for poor guys who would have been programmers?
Comment on: Software Refactoring whizz: Good software shouldn't cost the earth - it's actually cheaper to build
https://blog.codinghorror.com/paying-down-your-technical-debt/ [classic from 2009] WARNING: the Housing Crisis was around that time and caused by bad debt...
Comment on: Delisted Overnight: A Cautionary Tale for Indie iOS Developers
If you go through his post through last month you can find little bits of 4chan lingo... Some SJW probably identified him as being of that culture (correctly or incorrectly).
He didn't actually say ANYTHING it was how he said it. Literally a shiboleth. :/
I would've thought it was one of those dark-ops against natural medicine, but it appears to be (inferred) social group membership.
Comment on: Delisted Overnight: A Cautionary Tale for Indie iOS Developers
There is nothing obvious (to me...) about his recent Twitter activity. Mr. Rogers Kindness Day? Wait a sec, https://mobile.twitter.com/russshanahan/status/1122901120177909763?p=v nawwww! That would be so petty!
Comment on: The programmer who created Python isn't interested in mentoring white guys
Why does everyone hate (((lisp parentheses)))? Oh vey!
Comment on: How I Start, a Nim Tutorial
Every time I look at this language and try to do a code doodle it never works... The syntax looks clean but I can never guess how to do things correctly.
https://hookrace.net/blog/what-is-special-about-nim/
Like, what if I want to print "*" 19 times in a row, or rather create a string that long? In Python you can multiply a string for concatenated repetition but Nim doesn't do that. Okay, I'll just write a loop and concatenate characters to a string... I keep guessing the wrong syntax to do that!
Has anybody else out there used this language? How do you get past the extreme-beginner stage when you don't know how to do anything.
Comment on: How I Start, a Nim Tutorial
It isn't one of the releases on the main website, but Nim is available for Android too. If you have the Termux command line terminal app installed then you can do apt install nim.
Nim is like one of those languages you see on Rosetta Code and always wanted to try. I understand Go, Rust, D and Nim are all intended as alternatives to C++ (Zig fancies itself a replacement for vanilla C).
The problem I have is the official tutorials don't really teach well, they are more like promotions to showcase features to experienced developers... You would have to hunker down and get used to the syntax and stuff to be comfortable with it. In the real world true beginners (pajeets or not) take a Java class and struggle to master for loops to draw ASCII patterns.
The standard library is pretty big, not as big as the C++ template library but it has a lot of features! Lots of data structures... Pretty interesting stuff you could study, but it isn't really documented well from a user perspective. :/
Parts of the website are autogenerated using a documentation tool, technically documented but no usage examples and the references are difficult to read... It comes with a package manager (most packages are hosted on GitHub or BitBucket and it downloads and compiles source), but many packages turn out to be Nim bindings to C code, and are not well documented... I understand both Nim and D communities have that issue.
Isn't there a more gentle intro? Like I tried to do a few Euler Project problems, and while Nim syntax is pretty clean looking it took awhile to declare a 64-bit integer in order to calculate larger Fibbonacci numbers... It's pretty easy actually but you have to learn everything from the beginning over again.
Comment on: How I Start, a Nim Tutorial
There is a little something I would like to try but haven't learned enough yet.
https://voat.co/v/Algorithms/328557 -> https://web.archive.org/web/20160211133100/http://gameprogrammer.com/fractal.html
I have tried this in C before but it didn't turn out right... I think the problem was not interpolating the pre-offset midpoint, ended up with ragid square waves. Anyways in Python you can create and write image files with import PIL but don't know how to create images in Nim yet.
Comment on: The programmer who created Python isn't interested in mentoring white guys
Know of any good git tutorials?
What's the proper way to bring your local copy up to date with whatever the maintainer added since yesterday? (besides downloading a daily ZIP file) How do you view the code review comments? And what if you forget something in a commit message...
Many just don't really tell you these things, and are not eager to document configuration settings better either. :/
Comment on: The programmer who created Python isn't interested in mentoring white guys
Some of us have a harder time coming along...
But ultimately that is what it comes down to, can't be spoonfed all the time. :/
Comment on: The programmer who created Python isn't interested in mentoring white guys
I'm think the government and/or other organizations somehow arranged for Python to predominate, but wouldn't know exactly how they did it...
Python supplanted Perl, which was also probably made possible by the government (i.e. NASA, maybe DARPA etc). Look up the backgrounf of Guido van Rossum, he would have been part of the computer priesthood. :/
Comment on: The programmer who created Python isn't interested in mentoring white guys
Every communist dreams of becoming the Commisar. https://tvtropes.org/pmwiki/pmwiki.php/Main/ThePoliticalOfficer
Comment on: The programmer who created Python isn't interested in mentoring white guys
I wasn't aware of his background, it was a good question!
https://www.thefamouspeople.com/profiles/guido-van-rossum-9533.php
It looks like he wasn't turned by the system but was a part of it all along...
Comment on: The programmer who created Python isn't interested in mentoring white guys
Spouse: Kim Knapp (m. 2000)
Inventions: Python · ABC · Python for S60
Education: University of Amsterdam
Children: Orlijn Michiel Knapp-van Rossum (Son) <---
Siblings: Just van Rossum (Brother)
Comment on: The programmer who created Python isn't interested in mentoring white guys
If you think in terms of Projection, the feminists are accusing men of being "pushy" (as opposed to competitive). And all the clowns repeat the feminists...
Comment on: The programmer who created Python isn't interested in mentoring white guys
Slowly slowly at first, then suddenly.
Comment on: The programmer who created Python isn't interested in mentoring white guys
I would take that, but see potential conspiracies everywhere now after what we have learned...
Similar ideas existed concerning BASIC and Pascal.
N. Wirth (the creator of Pascal) was very very influential... And more influential than you would think, he was editor of the Journal that published 'GOTO Considered Harmful' and edited the original title to the famous headline.
Comment on: The programmer who created Python isn't interested in mentoring white guys
I can understand sympathy for others, but nobody is unaware of this being a political stance nowadays.
Comment on: The programmer who created Python isn't interested in mentoring white guys
Is anybody interested in mutual-aid by peers or mentorship by elders?
I can't claim to be that good... But will help any beginner or intermediate if they need it.
Comment on: The programmer who created Python isn't interested in mentoring white guys
I wonder about that too...
The programmer who created Python isn't interested in mentoring white guys
1 0 comments 24 May 2019 02:35 u/rcb (..) in v/programmingComment on: Go is Google's language, not ours
Rust has no place, begone!
Comment on: Go is Google's language, not ours
You speak well but nobody gets anything done without an organization and networking. We have to choose someone to get in bed with or get left behind.
Comment on: Rails Is A Ghetto (2007-12-31)
What do you think about Zed Shaw thinking jobs were beneith him and stuff? I don't mean the not-getting-paid parts, that is shitty everywhere.
Comment on: Am I just expecting too much out of people?
Maybe they don't know SQL, neither the language or how to interface with DB... But it sounds like they couldn't do mock testing either.
Comment on: Procedural Programming: It's Back? It Never Went Away
If anyone wanted the slides https://buildstuff2017a.sched.com/event/CWrN/slideskevlin-henney-kevlinhenney-procedural-programming-its-back-it-never-went-away or as page images.
Comment on: Web Devs; Payment Processor Recommendations
Hello fellow White People.
Comment on: Why Software Engineering is hard
Everything he says is true (or at least widely believed in the industry). But nowadays, I have to wonder if messages like this weren't intended to discourage the unemployed and discouraged workers.
The other video is flat-out lying about #GamerGate and probably all sorts of things...
Comment on: Why You Shouldn't Become A Software Engineer
Fuck you.
Alan Turing, Cybernetics and the Secrets of Life
1 0 comments 08 May 2019 18:51 u/rcb (..) in v/programmingComment on: [Javascript] Project Euler #2 (and print answer) in as few characters as possible
Like this?
<!DOCTYPE html>
<head>
<script>
N = 1000;
a = [1, 1];
len=a.length;
while(a[len-1] <= N) { tmp=a[len-1]+a[len-2]; a.push(tmp); len=a.length; }
a.pop();
<!-- [https://code.tutsplus.com/tutorials/how-to-use-map-filter-reduce-in-javascript--cms-26209](https://code.tutsplus.com/tutorials/how-to-use-map-filter-reduce-in-javascript--cms-26209) -->
<!-- [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce) -->
ans = a.filter( function(x) { return (x % 2 == 0); } )
.reduce( function(acc, val) { return acc+val; }, 0 );
</script>
</head>
<body>
<h1>JavaScript solution to Project Euler #2</h1>
<p>The answer is:
<noscript>[Javascript is required]</noscript>
<script>document.write(a[a.length-1]);</script>.
</body>
</html>
Comment on: [Python] Project Euler #1 without looping over 1000 numbers
Couldn't you do this?
N = 1000
x3 = N / 3
x5 = N / 5
x3_5 = N / (3*5)
print(x3 + x5 - x3_5)
Comment on: Fed up with 72-hour, six-day working weeks, IT workers emit cries for help via GitHub repo
I assume this is for a good cause, but... http://esr.ibiblio.org/?p=2000 http://esr.ibiblio.org/?p=8106 http://esr.ibiblio.org/?p=1350 etc. Aren't we just SJWs with CoC now?
Comment on: Fed up with 72-hour, six-day working weeks, IT workers emit cries for help via GitHub repo
But working that long isn't even productive... You would think they wouldn't do that, worker's rights or no worker's rights.
Comment on: The Complex Programs and Telescopes used to collect the image of a Black Hole in Galaxy M87
Good find anon. Someone said she was a project manager so it makes sense not doing the grunt work.
The interesting part is that ALL news stories have a propaganda backstory, even when we don't notice it.
Comment on: The Complex Programs and Telescopes used to collect the image of a Black Hole in Galaxy M87
The real reason this is in the news. https://boards.4channel.org/g/thread/70502392
Comment on: Flat UI Sucks
I hope so. There is this idea that making things harder for seniors would encourage the euthanasia trend...
I should lock myself in a cave for a couple weeks and try it out then. :/