VA !!Nf9AmQNR7I ID: 37bf0f VA's Programming For Newfags Feb. 11, 2018, 8:41 p.m. No.4379   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4384

Want to learn how to program? =#MeToo.=

Alright, let's talk about it faggots. I don't know shit about programming, but I love to learn. Luckily, we have excellent program anons who can help. Just ran my first snippet of code today, "Hello World". All anons welcome, this is a forum for asking questions and getting answers. Also, ProgramAnons can pose skill appropriate challenges for us newbs if they think we're ready or if they just want to mess with us. Goal is to help everyanon advance in their coding or teaching skillz.

-VA

VA !!Nf9AmQNR7I ID: 79c22e Feb. 11, 2018, 8:54 p.m. No.4381   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4384

Welcome Lads! I am new to "real" programming. Wrote programs back in High School on my TI-89 to solve projectile motion equations for AP physics. Also wrote a program to solve a term final Trig problem involving determining the location of a satellite in 3D. Got busted by the teacher bc I turned in no work and my answers were accurate to the 10th decimal. He threatened to fail my project. Showdown on the class whiteboard at lunch, mapped the whole problem and solution in 3 parts during lunch, got my term final a B+. I don't know yet, because I haven't learned. So I love this, VQC is the man. I'm gonna learn to program. Wanna join or help? All ideas welcome!

3DAnon!!!OQQaeWZb2bt6CWmd ID: 4397e0 Feb. 11, 2018, 9:08 p.m. No.4384   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4385 >>4394

>>4379

>>4381

>Trig problem involving determining the location of a satellite in 3D

Dude, ephemeris calculations are a bitch, good on you for doing it on a TI-89. Hate to break it to you but you might already be a programmer!

Am honored to have inspired you to get on with it this quickly. Now turn in your e and d from c solution skeptical teacher glare

 

In all seriousness I would love to help out fellow ProgramAnonNoobs and will be watching this thread

AA ID: 24f1b3 Feb. 11, 2018, 9:20 p.m. No.4389   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4390 >>4392 >>4394

>>4387

That was in December when I typed it up, like I said >>4383 here. Those turds are long gone. It was written specifically for creating the grid, so I don't know how useful it'll be to VA learning to be a proper programmer, but since he doesn't seem to be paying attention to the thread right now I may as well post it and he can just ignore it if it doesn't teach him anything new.

AA ID: 24f1b3 Feb. 11, 2018, 9:23 p.m. No.4391   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4394

The following hasn't been modified since I wrote it in December, and I don't mind if anyone thinks they can do a better job and wants to do write their own version.

 

How to run the code and create the grid for complete computer science newfags:

(Note: I'll format this properly later. I need to go take a shit so I'm in a rush)

 

So there are a bunch of weird words, numbers and punctuation marks in uneven spacing across a

page. How do you take that and make it do what it's meant to do? The most basic explanation is that

you need to save it as a specific kind of file, and then run it. You can do this with a piece of software

called an IDE (Integrated Development Environment). I'll explain step-by-step for anyone who just

wants to make the grid and mess around with it.

 

Step 1 - pick a language

This program has been ported (meaning rewritten in a different language) in several different

languages. Languages are like different formats of computer code. You use different words to

achieve different things, and you format them slightly differently. The original VQC code that the

VQC tripfag posted is in a language called C#. There are ports in langauges called Java, Python and

Rust (there might be others I'm not aware of). Something to note when you decide which language

to use is that some programming languages don't work straight away on every computer or every

operating system. You might have to install some extra files. If you run into problems later on, try a

different language, or figure out what files you're missing or what needs to be updated. Otherwise,

bitch in the explanations thread that I didn't explain this well enough. I haven't had to do that kind

of thing for a long time so I don't remember which languages just work and which don't on

whichever operating system.

 

Step 2 - get an IDE

Each of these languages has many different IDEs that you can use to save and run the code. Some

IDEs are language-specific, and some of them can work with several different languages. If you

want to use the original C# program, you'll need an IDE that works with C#. If you're using

Windows, there's one called Visual Studio. If you're using Linux (I think it works for Macs too),

there's one called Mono. IDEs tend to be free, so you just have to look this software up on the

internet, download it and install it. If you're using Java (which I've been using, and which I can

probably explain in greater detail), there's one for Windows called Dr Java, and another for Linux

called Emacs (Emacs works with most languages I'm pretty sure). There's a Python IDE for Linux

called PyCharm. I haven't used Rust before so I don't know about any Rust IDEs. There are tons of

IDEs in general, so you don't necessarily have to follow my recommendations.

Anonymous ID: 4397e0 Feb. 11, 2018, 9:24 p.m. No.4392   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

>>4389

I know, just thought the last part was a funny jokeโ€ฆ I would hope there gone for your sake!.

It's still somewhat useful, and VA might not be the only ProgramAnonNoob here. Lurkers, where are you?

AA ID: 24f1b3 Feb. 11, 2018, 9:24 p.m. No.4393   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

Step 3 - put the code into the IDE and save the file

IDEs are a kind of software that tend to have a big empty space for you to paste or type some text

into. Some of them might make it a little difficult to figure out how to create a file, but there tend to

be IDE-specific guides on places like YouTube or whatever. Create a file and paste the code from

one of the pastebins in. Part of this program saves a few files, and it saves them in the same folder

as your program. Make sure you save your file somewhere you know the location of. Most IDEs

will save the program in the format of the language you're using, but in case they don't, Python files

are saved as .py files, Java files are saved as .java files, and C# files are saved as .cs files (again, I'm

not familiar with Rust). Some languages require you to save the file as the same name used to name

the class (without needing to know what a class is, it'll tend to be in the first line of code after all the

lines that say something about "import xyzthing", when it says something like "public class

Factorizer"). With the Java version, for example, you'll need to call it "Factorizer.java".

 

Step 4 - you might have to do a little extra to the code

In some languages, you have to do what's called compiling. This turns the code into a slightly

different file which the computer can more closely understand. This will be the case if you're using

Java. The IDE (or, if you're using Linux, the terminal) will have to make sure all of the code makes

sense and isn't typed in wrong. If it is, it'll tell you, so you can fix it. If it works, it'll create a .classfile. If you're using an IDE, there will be an option somewhere that says something about compiling

the code. If you are using the terminal to compile, you'll first have to get the terminal to the correct

folder. If you're using Linux (I can't remember it with Windows but it's similar, and, long story

short, it's almost identical on OSX but you might have to look it up), you'll need to know the folder

path from the root folder (the folder where all the other folders come from), and you'll need to type

into the terminal (without quotation marks) "cd /home/whateveryournameis/folder/folderagain/etc",

obviously replacing the folder path with your folder path. You'll then need to compile using a

command specific to the language you're using. If you're using Java, you'll need to type in "javac

Factorizer.java". javac is the name of a piece of software the terminal can use to compile Java code.

There are other more specific ones for the other languages. If you're using an IDE that can compile

and run code, you won't have to worry about this.

 

Step 5 - run the code

Most IDEs will have a button or a selection option thing in one of the things at the top of the page

(File, Edit etc) that says something about running the code. If you're using Emacs or some other

IDEs, you'll have to do it with terminal commands. For example, if you used Java with Emacs, after

you compile you'll have to type "java Factorizer" into the terminal, and once the terminal shows

your computer's name again, it'll be done.

 

Step 6 - open the .csv file, look at the image

If you have a version of the code with image generation, you'll find a .png with a bunch of dots in a

crazy pattern on it. You won't have to do anything weird to open it. It's just an image. To open the

.csv file, you'll need software that opens spreadsheets, such as Microsoft Excel. Two examples of

other completely free spreadsheet programs are OpenOffice and LibreOffice.

VA !!Nf9AmQNR7I ID: f14c41 Feb. 11, 2018, 9:30 p.m. No.4395   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4398

So I'm running Visual Studio for Mac, figured out how to run "Hello World." Your student is ready to learn.

 

So I've got TheEnd.cs ready to go, but I keep getting errors on the path. For my Mac, I'm using

/users/mycomputer/desktop

but i keep getting errors. Any help you guys can give?

Hobo !!1yNgQ3NlCs ID: 4fb009 Feb. 11, 2018, 9:32 p.m. No.4397   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4403

"Wrote programs back in High School on my TI-89 to solve projectile motion equations for AP physics"

 

Good grief! They made me take algebra every single year of high-school because I couldn't pass it. I even took it 2 times in college. I guess I'm not a quitter. I finally smoked it in my early 20s at a community college over summer. It was glorious. I got a b- and finally understood it.

 

I did some programming but didn't get much past real basic math problems that even I could do in my head.

 

That said I like to dig into shit. I build my own PC's and like to run Slackware linux, stuff like that.

 

AA my wife and I got Hello world working with your instructions then the power went out and a bunch of stuff happened and its been like 2 months since I looked at it. It was clear and concise though.

 

Anyway My time here will be weather dependent. Always keep that in mind. I am fully solar powered. I have a desktop/crypto mining rig/gaming rig but it drinks 1000w of power to run which will wipe my batt. bank in about 4 hours on a cloudy day. Other than that I have a little windows tablet and an android phone. What I really need is a laptop but , you know, that $$. Plus if we make all this work it wont matter anyway.

 

When the weather is nice I will be outside working on my place as well so as you can see I have to steal time to get in front of a desktop computer. As the weather gets better I will have more time. I always check in daily though on my phone.

Anonymous ID: 4397e0 Feb. 11, 2018, 9:35 p.m. No.4398   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4399 >>4400

>>4396

>>4395

Now I don't know C# at all but the first lesson is "getting errors" is not a valid way to ask for help. Unless you get the dreaded "Error: Success" message I'm pretty sure it provides more info than that.

From your screenshot I assume strings in C# have to be quoted, so try putting "" around your path and prefixing it with C:. I think Windows uses \ and not / but both may work, but get rid of the spaces too.

Anonymous ID: 4397e0 Feb. 11, 2018, 9:39 p.m. No.4399   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4400

>>4398

Skipped over the Mac part, but that means your paths are case sensitive as well, so you could try path="/users/VA/desktop";

Note what VQC posted is incomplete and won't do anything by itself even if it compiles without errors. The final part is something you can figure out by yourself

AA ID: 24f1b3 Feb. 11, 2018, 9:52 p.m. No.4403   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4405 >>4406

>>4396

I see you already figured this out, but if you're having trouble with file paths in the future, go into the terminal, type "pwd" and press enter, then go to the correct folder in the path you would take from the folder that shows up (if you need to go to a higher folder you can type "cd .." a few times, or if it's within the current folder you'd type "cd" and then the rest of the file path), then when you're in the correct place use pwd again and copy and paste the text that comes out into your code.

 

>>4397

Good to hear that it wasn't hard to understand or anything. I've been told I'm good at explaining things so back when I barely understood anything about the grid I thought it was a good way to be useful aside from just running the board and wasting my time on binary search. Even if you don't stick around here all day like a NEET, the fact that you found your way here shows you're probably helping more than you realize.

VA !!Nf9AmQNR7I ID: a1ea56 Feb. 11, 2018, 9:52 p.m. No.4404   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4405 >>4406 >>4408

>>4386

AA, you read vault 7 right? Fuck it, just post PDF's. They know where we live. Thank Jesus the good guys are in control and we're doing our part to help. We almost entered a dictatorship here in USA last election. It's balls to the walls, Anon. They are watching us here too, except now it's Q team.

AA ID: 24f1b3 Feb. 11, 2018, 9:59 p.m. No.4405   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

>>4403

For any lurkers, the terminal thing is for Mac and Linux computers (because they use very similar terminals). The command line in Windows uses different commands (i.e. you have to type different words in to get the same results as a Unix command) and I haven't used it much so I couldn't recite any off the top of my head. Look them up. You're on the internet, after all.

 

>>4404

Even still, I was talking to someone in RSA #9 about it and they still refused to look at the VQC hints pdf. I don't mind just copying and pasting some text for those people.

>We almost entered a dictatorship here in USA last election.

And had you, the rest of the world was doomed too for sure. I'm very far away and I was honestly pretty worried myself; now that all of this has started happening, I'm starting to think I know more about US politics than I do my own country's. You should feel lucky that you have front row seats (although I feel lucky that I'm further away from false flags).

Hobo !!1yNgQ3NlCs ID: 4fb009 Feb. 11, 2018, 10 p.m. No.4406   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4409

I am running Linux mint cinnamon. Under the "Programming" Tab I see the following.

Nsight Eclipse edition

nvidia visual profilier

pgadmin 3 ?who knows what this shit is for?

Visual Studio Code

 

>>4403

Cool, well, I also installed Mono last time per your recommendation. Catch is all I see is "Mono Documentation" and no GUI interface. I hit the terminal and type mono and I get the bash program thingy but I dont see how to do anything with that. so IDK. I am at that point so far.

 

>>4404

And yeah,VA I hear ya on all the sick drops happening all over the place. Really blows your mind sometimes to think about how the world used to be. We have come so far and the journey has hardly begun. Almost entered a dictatorship. Hell we have been living in a dictatorship, arguably as far back as 1913 when the FED came online and captured the US. DEFINITELY since Kennedy was killed we have been in a dictatorship. We just have this fuzzy warm blanket of fake wrapped around us all the time so we dont wake up. People are waking up now though.

Anonymous ID: 4397e0 Feb. 11, 2018, 10:05 p.m. No.4408   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

>>4404

Really? The Shadow Brokers dump of a decade old NSA stuff was much better. Actual hardcore stuff in there even if most targets are outdated now. Microsoft even had to panic patch everything in advance of the release.

Vault 7 just proved how lame the clowns are training software programmers to be scriptkiddiesโ€ฆ They may own some shitty MikroTek based phone infrastructure and have dumb rootkits that anyone could make. Marbler is pretty nicely integrated with Visual C++ but thats about it. These guys really have no chance on secure stuff so that makes me feel better reading their code and internal wiki. devlan.net, really?

AA ID: 24f1b3 Feb. 11, 2018, 10:06 p.m. No.4409   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4410

>>4406

Try just putting "monodevelop" into terminal (if you didn't know, you can put " &" afterwards to keep using the terminal after you've run a command, too). If that doesn't work you've probably installed part of Mono but not all of it. I've also had a lot of problems with that program. I've just been working on and using the Java version myself.

Hobo !!1yNgQ3NlCs ID: 4fb009 Feb. 11, 2018, 10:19 p.m. No.4410   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4411 >>4413

>>4409

Ok, I just sudo apt-get install monodevelop.

 

Typed Monodevelop and it took right off!

 

made a new project and pasted Chris's code into the box replacing their Hello World text and saved it. It looks good. Not sure how to "make it go" now though.

AA ID: 24f1b3 Feb. 11, 2018, 10:37 p.m. No.4413   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4414

>>4410

If you open the "Run" dropdown menu at the top of the screen in Mono there should be options telling you to either debug the program or run it or some other things. That should theoretically make it work (I'd assume you'd debug it and then it would let you run it). If you happen to be in the same unexplainable situation as me in which all of those options are greyed out, let me tell you now, I've looked everywhere for an explanation and found nothing. In that case, you'll have to save the code as a .cs file (if Mono doesn't let you, a text editor like Emacs or Gedit will let you), go into terminal, get to the location of the file, then run the following two commands:

mcs -out:yourvqcfilename.exe yourvqcfilename.cs

mono yourvqcfilename.exe

This is all assuming you're using a Linux distribution and you have Mono installed, so to address lurkers again, you might have other problems I'm not aware of. Again, I'm not really a C# person. I just know enough to run the VQC.

AA ID: 24f1b3 Feb. 11, 2018, 10:53 p.m. No.4415   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4416 >>4417

>>4414

I've never had Mono actually work properly so I've never seen that screen. Maybe that means that it debugged and there were no bugs. Do you have an option that tells you it'll run the program? Maybe the one that says "Start without debugging". It might also just take a minute. If you've done all of that stuff and there isn't an "output.csv" file in the folder where your code file is, you might have to do the terminal version.

AA ID: 24f1b3 Feb. 11, 2018, 11:11 p.m. No.4418   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4535

>>4416

If you aren't getting any errors then the terminal version should work with no issues.

 

>>4417

Do keep in mind, you have other options, since the code has been rewritten in several languages. At least in my experience and from what I've seen on this board, C# seems to be the most troublesome language out of all the current versions. If you give up, you can use a different language. It'll be the afternoon my time then so I'll probably be around, but there are several other anons who can help you if not.

VA !!Nf9AmQNR7I ID: 778723 Feb. 11, 2018, 11:29 p.m. No.4420   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

Gotta head to bed lads! Thanks for your help tonight. TBH my lack of skill is a distraction from our main project. But I'll learn quickly. I appreciate your willingness to teach!

AA ID: 24f1b3 Feb. 12, 2018, 3:51 p.m. No.4449   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4450

>>4448

According to a quick look on their website, you need to install some extensions and things but apparently yes. I've never used it personally so it's up to you if you do like Visual Studio. I'd also recommend Dr Java.

VA !!Nf9AmQNR7I ID: 37bf0f Feb. 12, 2018, 4:18 p.m. No.4450   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4451 >>4452 >>4453

>>4449

Thanks AA! I'm down to only 1 error on my original c# VQC code. Would you please give a quick hint on what this error might mean and a possible solution?

"Program does not contain a static 'Main' method for an entry point"

I'm pretty sure it's related to my inability to define the file path properly. Screen shot attached.

I used "pwd" in the the terminal and got:

/Users/Mycomputer

AA ID: 24f1b3 Feb. 12, 2018, 4:32 p.m. No.4452   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4455

>>4450

>>4451

Each program has a bunch of those method things (e.g. CreateTheEnd in that screenshot). They're all big chunks of code that do a bunch of operations within some curly braces. They're like functions of the program, kind of like if your program was car.cs, and it had methods called Drive, Park, GetStuckInTraffic, etc. They make sense on their own, but they need this thing called a main method to actually get executed. Otherwise, they're just possible things you can do with your program but they're just sitting there not being used. The program uses the main method to decide when to do what. You can also put more calculations and things in the main method, but what I'm getting at is that you need to have a main method in which you call those functions. It's just like those other methods there except you need to follow a few default values and things. If you don't feel like delving into that, just copy and paste my code below between the theend Dictionary thing and the start of CreateTheEnd (so on line 10 of your screenshot).

 

I haven't actually looked at my version of the C# code since December, but this is the main method I used:public static void Main (String[] args){ string path = Directory.GetCurrentDirectory(); CreateTheEnd(512, 0, 0, 64, 64); Output(256, -64, 0, 64, 64, 12);}

It doesn't make an image the way it currently is, but if you want to generate the grid that's all you should need.

Anonymous ID: 4397e0 Feb. 12, 2018, 4:34 p.m. No.4453   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4455

>>4448

Don't let him lure you to the dark side :)

>>4450

This is the missing piece I was talking about whichโ€ฆ AA just posted so you didn't have to figure it out yourself! Too easy. Here is mine

public static void Main() { TheEnd.CreateTheEnd(); TheEnd.Output(); }

Hobo !!1yNgQ3NlCs ID: 14c3bb Feb. 13, 2018, 10:41 p.m. No.4535   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4543

Hey guys I will be available all day tomorrow. >>4418

Thanks AA Yeah I'm not picky. Im totally willing to try any other method out there. Definitely down to try whatever is easy honestly. There is no need on my end to go through undue difficulty for no purpose. :>) Whats the easy one?

AA ID: 24f1b3 Feb. 13, 2018, 11:20 p.m. No.4543   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4545

>>4535

Several of us use Java so you might find that easy. All you'd have to do is copy the Java version from the pastebin link (it's floating around somewhere), put it either into a text editor or a Java IDE and save it as a .java file (with the filename the same thing as the class name), then go into terminal and do >>4470 this.

VA !!Nf9AmQNR7I ID: 37bf0f Feb. 16, 2018, 9:20 p.m. No.4714   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

Hey Anons! I'm working on the new VQC crumbs now, but have some important questions. I'll post them up tomorrow for Program Anons to give hints and input.

VA !!Nf9AmQNR7I ID: 79c22e Feb. 19, 2018, 12:41 a.m. No.4787   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4807

Question: So in Visual Basic, If you have the same basic setup for the VQC code, can you run any of the new snippets of code by redefining the main and entering the new code with a proper method of returning results? If so, what is the proper way to do it?

Anonymous ID: 953cae May 29, 2018, 6:25 p.m. No.6216   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

Hoping some anon can give me some pointers. I have tried so many times to install visual studio so I can write some C# but on all of my computers i am running into a problem where the install fails because a dll is missing. Everything Ive found so far on how to fix that problem calls for uninstalling and reinstalling all previous versions. I've tried that several times and I'm still getting the same problem.

 

So then I switched to python. I have 2.7 installed and working but the standard libraries dont really give you that much functionality and when I've found libraries that seemed like they would help I (like xlwt for writing to excel spreadsheets with formatting) the damned things either wont install or install but are corrupted.

 

Does python have a native print function that will give me a little more to work with than console output? All I am trying to do is print a list of numbers that are sorted into rows/columns of predefined length and if the number being printed = a number in one of several lists of numbers it gets color coded. The output could be pixels or ascii or what ever Im just looking for output.

 

I've been chasing something for a long time and been having to do it manually because it's the only thing thats been working for me and its taking way too long I'll be at this for 5 years before I'm done doing it this way.

Anonymous ID: e41af5 March 7, 2019, 1:23 a.m. No.8750   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>8751

Julia for Virtual Quantum Computing

 

Getting starting with Julia

Download latest release from: https://julialang.org/downloads/

  • follow standard prompts and install.

  • add the julia/bin directory to your path, which is where julia.exe resides.

 

Jupyter Notebooks

  • read about it here: https://jupyter.org/install

  • found the Ananconda3 route straightforward (already had for Python, latest 3.7 version).

  • Conda install here (mac selected by default, others avail): https://www.anaconda.com/distribution/

 

Project Jupyter was born out of the IPython project as the project evolved to become a notebook that could support multiple languages - hence its historical name as the IPython notebook. The name Jupyter is an indirect acronyum of the three core languages it was designed for: JUlia, PYThon, and R and is inspired by the planet Jupiter

 

Ok, while Conda downloads, open a CMD window and launch julia (just type julia if on your path).

This puts you at the Julia "REPL".

This is core interface. Type 1 + 1 and hit enter. Doing math, nice!

Type println("hello world") and Boom, you've got hello world checked off the list.

Now, hit the "]" key, and Boom, you're in the "Package Manager".

  • this is where you grab your add-on goodies. You'll come back here and add some more if what you need isn't in the "Base" Julia distro. Things like plotting, etc.

  • for now, you need the package that works with Jupyter Notebooks. Type "add IJulia" (note spelling and it's case sensitive).

  • congrats, you've installed your first package. Exit with Ctrl-C.

 

By now, Conda should be downloaded.

Install, and select the add to Path checkbock (red text comes up. Don't add if you already have it installed, etc.).

  • After install finishes, it will prompt if you'd like to install MS VStudio Code (think you already have that? Not needed for this).

 

Ok, you're done!

Go to your start menu and launch Jupyter Notebook.

It will start in your root \Users\username directory.

Here's a link to a notebook for the validation step posted by VQC yesterday:

https://pastebin.com/YYfaHxSr

  • save as an .ipybn file type (remove .txt from pastebin).

  • navigate to dir from Jupyter and launch. Will take a moment for the Kernel to start.

  • "SHIFT-ENTER" is used when in a code cell to run that section of code. Results post right below the cell. You can run the whole workbook, or sections as well using menus at top.

  • There is also a little "play button" that shows to left of a cell, but installing here don't see it as on other machine.

 

There are plenty of sites to learn from. Here's a nice one, it was done in a notebook, you just copy paste code and run it. Piece by piece. No compiling (it does it in background first time you run a function).

https://juliabyexample.helpmanual.io/

Anonymous ID: 319c4a March 7, 2019, 9:57 a.m. No.8753   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>8760

>>8751

Yes, will be clear in first line of the notebook (with setprecision used to go above the std 128bit BigInt). I believe this is part of the 'base' Julia distro now.

With Julia, you just use "big" and go from there. See syntax in the notebook example. Once a variable has the Bigtype associated to it, it transfers along the chain of calculations (so don't need to explicitly use every step, it just works).

Total setup time and getting into the notebook in the pastebin should be under an hour.

When you have running, I can drop another notebook that calculates a set of primes to use for the prime_small * c step.

Nice thing is sharing notebook code is tiny, and then you can generate the big stuff locally yourself.

Regarding packages, after adding, when calling in code you enter "using PackageName" and that's it.

VA !!Nf9AmQNR7I ID: af0bc9 March 7, 2019, 5:38 p.m. No.8759   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

Ok, trying to run the new VQC C# code, and obviously I am missing some libraries / directives / assembly references. Can anyone help me figure this shit out please? Newfag over here.

Anonymous ID: 319c4a March 7, 2019, 5:46 p.m. No.8762   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

>>8760

Night and day. No Sandy Shorts! Promise.

Just follow steps above and report back. I'm here tonight to help.

You're going to love these notebooks. Compiling is transparent, btw, it has a "JIT Compiler" that runs in the background - Just In Time.

Anonymous ID: 319c4a March 7, 2019, 5:52 p.m. No.8763   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

>>8760

>Jupiter

BTW, it's spelled Jupyter (from the pYthon roots).

 

Also, I've got AA's code running as well.

  • tonight, am looking to translate the BigCell.java code from 12/21 over to Julia. Want to get a full Cell, maybe with first 100 elements, for any f or e and n, as output (well, as input to an array to use for futher calcs).

Anonymous ID: e68936 March 19, 2019, 5:28 a.m. No.8873   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

>>8760

>just finally have a grasp of compiling and running AA's programs from my terminal

Hadn't noticed this comment until last week, and also saw your output yesterday from AA's latest code. Well done getting all running (and to AA for the work and sharing the code). _mm

Anonymous ID: 8f6c73 Oct. 5, 2020, 2:34 p.m. No.11569   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>1586

>>8760

>I'm willing to try Jupiter, just finally have a grasp of compiling and running AA's programs from my terminal, and was able to generate the CSV Grid in Visual Studio. I'm reluctant to jump ship to a new platform, unless it really is much better.

The Jupyter platform isn't so important, more of using Julia as the language.

If you're happy with java (and AA is an expert), then go with that. If you want to dabble in Julia, let me know.

Jupyter notebooks are just a tool / environment for the language. Can also run Python within them as well.

Similarly, you can use the REPL (regular command interface), and do this via other Dev tools as well (Atom, Sublime Text, etc.).

The Binary manipulations are all handled as well, either in the base language, or with packages.

This bred is young, and not getting a lot of use (kek), so if you want to work here, we could do that.