[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math


View post   

File: 325 KB, 604x1640, 1515213392926.png [View same] [iqdb] [saucenao] [google]
9441598 No.9441598 [Reply] [Original]

Discuss scientific computation and programming ITT. Keep insubstantial language wars to a minimum.

Previous thread:
>>9417423

What are you programming scientifically, /sci/?

>> No.9441600
File: 17 KB, 512x346, Julia.png [View same] [iqdb] [saucenao] [google]
9441600

>>9441598
It's 2018 /sci/, why haven't you tried Julia yet?

>> No.9441608

>>>/g/

>> No.9441628

How do I get a comfy scientific computing job, /sci/?

>> No.9441632

>>9441628
You get involved in a scientific project that involves computation

>> No.9441899

>>9423027
Why didn't you post it?

>> No.9441901

>>9438310
no shit dum dum

>> No.9441903

No fuck off we don't need another general

>> No.9441910

>>9441903
It's to contain all of the CS shit.

Just hide it.

>> No.9441934

>Scientific document processor, Emacs-like math symbols completion, LaTeX integration, fast, ditch MS Word
TeXmacs
>CAS and numeric calculations, fast, easy even for brainlets
Maxima
>Easy prototyping and scientific programming, faster than python
Perl Data Language
>Statistical package, convenient
PSPP

Also TeXmacs has Maxima integration.

>> No.9441949

>>9441934
that's nice and all but what have you done with that setup recently.

>> No.9441951

>>9441949
Notes, lots.

>> No.9442777

>>9441600
Tell me more about Julia, anon. What's so good about it and why should I learn it instead of other languages? Genuinely interested.

>> No.9442782

>>9441600
poopy libs

>> No.9442785

>>9441910
No, these threads attract /g/

>> No.9442792

>>9441903
>>9442785

They wouldn't if retards like you would stay on the subject of scientific computing instead of turning it into a thread to debate semantics.

Actually, you should probably go hang out in /g/ since you seem to be a brainlet

>> No.9442807

>>9442777
Syntax of python, performance of C. It's specifically designed for scientific computing so it has all sorts of matrix math and plotting built in like matlab.

>> No.9442842

>>9442807
Does it have a shit ton of packages and tool boxes, though (for control systems design, for exemple)?

>> No.9442850

I'm currently writing some shitty finite element code in matlab.
When I'm assembling the stiffness matrix, it tells me that my sparse index expression is likely to be slow.
Lets say, I want to access and change the following elements in my matrix A:
(i,i),(i,j),(i,k)
(j,i),(j,j),(j,k)
(k,i),(k,j),(k,k)
Is there a better solution than A([i,j,k],[i,j,k])?

>> No.9443000

>>9442850
nevermind. it was all in the documentation of sparse
changed the runtime from 200 second to less than 2 lel

>> No.9443033

>>9442842
it has some stuff
https://juliacomputing.com/products/juliafin.html
https://juliacomputing.com/products/juliadb.html

>> No.9443053

>>9442850
Never written a finite element solver before. What's it like?

>> No.9443067

>>9443053
are you familiar with the mathematical formulation of finite elements?

>> No.9443106

>>9443067
Just that it's a minimizer of some functional applied to a discretized version of the system at hand.

>> No.9443148

>>9442807
>performance of C
k

>> No.9443195

>>9443106
meh I was just about to write a wall of text and now the window collapsed and my text is gone.
Too tired to continue now, sorry m8

>> No.9443958

>>9442807
So what's the advantage when I can just import numpy?

>> No.9443969

>>9443148
not him, but I have some evidence
https://julialang.org/benchmarks/
https://github.com/johnfgibson/julia-pde-benchmark/blob/master/1-Kuramoto-Sivashinksy-benchmark.ipynb

>> No.9444105

>>9441600
>MIT license

>> No.9444106

>>9443958
>python

>> No.9444113

Dont bother learning Julia, the best parts are going to be close sourced and you have to pay for them https://venturebeat.com/2015/05/18/why-the-creators-of-the-julia-programming-language-just-launched-a-startup/

MIT/BSD licenses strike again.

>> No.9444117

>>9444113
>keep using matlab and mathematica though, goys
>nothing to see here!

>> No.9444119

>>9444117
>lets use a crippled software instead

>> No.9444120

>>9441598

Is this where TLA+ users talk?

I'm using it to define states and transitions. Underrated.

>> No.9444129

>>9442785
Apart from /dpt/, /g is cancer, therefore /dpt/ and serious programming general(s) should move to /sci

>> No.9444137
File: 254 KB, 679x693, GNU Manifesto.png [View same] [iqdb] [saucenao] [google]
9444137

>>9444113
>MIT/BSD licenses strike again.

Fuck off back to >>>/g/ you dirty commie. Everything that was released for free still is and will be forever be free. Anybody's contributions still are and will forever be available to all like they intended.

If the creators want to be paid for THEIR additional future work, it is 100% THEIR right. Nobody is entitle to the creators' OWN labor.

>Dont bother learning Julia, the best parts are going to be close sourced

And that's not even what the article said:
>We feel really fortunate that Julia has become such a healthy open-source project – at this point, it is clearly here for the long haul. Some people have expressed concern that we might be tempted to undermine that by handicapping the open version and selling a closed version with better functionality. This would not only be bad for the project, but also terrible for our business. No one has made a good business off this kind of move: it ends up sabotaging the project, which in turn ultimately kills the business. We’re in this for the duration — our goal is to create a vibrant and fruitful collaborative ecosystem, that includes academic researchers, developers who contribute for personal enjoyment, and companies using Julia for business.

They're being paid to fix show stopping bugs quickly and help when devs using it get into trouble like many other similar companies.

>> No.9444139
File: 222 KB, 950x744, CS math knowledge so wow.png [View same] [iqdb] [saucenao] [google]
9444139

>>9444129
Code monkeying is not science. Fuck off.

>> No.9444140

>>9444129
I think is pretty obvious we are here to have a invigorating discussion about the tools we use and what we do with them. I step at /g/ too (though I avoid the bad parts) for the same but here we can talk about the finer points.

>>9444137
>>9444139
Please dont bring this here.

>> No.9444159

>>9444139
All science done in the last 20 years incorporates programming in some form, you filthy undergrad.

>> No.9444192

>>9444159
>All science done in the last 20 years incorporates writing in some form, you filthy undergrad.
Doesn't mean we should have a /lit/ general thread.

>> No.9444206

>>9444192
Stop.

>> No.9444402

Abandon MATLAB https://web.archive.org/web/20150411031144/https://abandonmatlab.wordpress.com/

>> No.9444404 [DELETED] 

>>9444129
>/g
>/sci
>/dpt/
What's up with this weird forward-slashing? Some Reddit shit?

>> No.9444419

>>9444159
>All science done in the last 20 years incorporates programming in some form
[citation needed]

>> No.9444428
File: 1.19 MB, 3829x1660, 1516167878531.jpg [View same] [iqdb] [saucenao] [google]
9444428

>>9444137
>"leftist"
>"communist"
>muh entitlement to private property

>> No.9444429

python vs matlab. go

>> No.9444459

Can we collect some resources to put in the OP?

Looking for project ideas.

Currently writing a ray tracer in Haskell.

>> No.9444469
File: 159 KB, 576x148, website-banner-allnew-croped_3.png [View same] [iqdb] [saucenao] [google]
9444469

Errrm.

Maybe a technically a bunch of libraries, but think it qualifies.

>> No.9444487

Where are some good resources for learning about neural networks and back/forward propagation?

>> No.9444490

Alright /sci/, I'm taking a class that teaches both Matlab and Maple. Any things I should know going in?

t. Programming noob

>> No.9444493

>>9444459
Try SML, because MLton exists, which is an entire program optimizing compiler and what they currently use to write proof assistants in higher/cubical type theory because of the insane levels of optimization. Perfect for something like a raytracer which wants high performance.

>> No.9444498

>>9444487
http://neuralnetworksanddeeplearning.com/
The Art of Computer Programming vol 4b Backtracking

>> No.9444507

>>9444498
No easy way to get that on a kindle?

>> No.9444523 [DELETED] 

>>9444507
No because kindle is shit proprietary junk, and LaTex looks like utter ass on it. Go print out the pdf or buy it.

>> No.9444528

>>9444507
>>9444487
Oops I linked the wrong book
http://www.deeplearningbook.org/ it's also free

>> No.9444539

>>9444528
I'll check out all three, no problem, thanks. Would the best language be Python for ease of use, or C# for generics?

>> No.9444545

>>9444539
Just use whatever they are using in the books/courses. Btw if you search around Carnegie Mellon uni or Standord grad class sites, they have a lot of these courses open where you get a grad level introduction to the field to prepare you for reading recent papers. That's what you want http://deeplearning.cs.cmu.edu/

>> No.9444550

>>9444545
Also, if you look around Youtube you can often find the lectures too recorded https://youtu.be/Qbztx1CfSfo

>> No.9444562

>>9444545
Is that available to european students as well? Or just US students?

>> No.9444565

>>9444562
You are not doing it for credit, you are watching lectures, doing the assigned reading, doing the assignments and tests yourself so you can build a base in the field and then do independent research. Don't contact anybody at the university but yes if you really wanted to you could go to CMU and pay the $40k+ per year as a European student or Johns Hopkins University online Masters in deep learning/ML/stats.

>> No.9444592

>>9444105
Can't get better than that.

>> No.9444593

>>9444565
Thank you.

>> No.9444619
File: 19 KB, 300x214, 1516080975018.gif [View same] [iqdb] [saucenao] [google]
9444619

>>9444404
Why is it that newfags think everything is from reddit?

>> No.9444621

>>9444459
>Currently writing a ray tracer in Haskell.
That is objectively not scientific computing.
>>>/g/dpt

>> No.9444627

>>9444487
Best not to narrow your scope so much. Neural networks are just another kind of function, back-propagation is just another application of gradients to optimize a target. Learn about these things in a more general setting and you will not only understand the latest buzztech, but also be more versatile in the long run.

>> No.9444660

>>9444550
also, in case brainlets can't understand why only 1 lecture so far it's because the course just started today. Download the youtube vids as they come out as often they get deleted at course end

>> No.9444716

>>9441598
do any actual physicists or engineers use matlab? or is it just a crutch for students?

>> No.9444717

>>9444716
Yes

>> No.9444847
File: 6 KB, 225x225, images (5).jpg [View same] [iqdb] [saucenao] [google]
9444847

Hey guys is a computational physics graduate program a meme? Is it for failures? Or is it legit? The fact that u of alaska offers it makes me weary

>> No.9444874

>>9442842

Julia's getting much better package support as it acquires users. You can also use Pycall to import any python packages you want.

>> No.9444878

>>9444874
Most of Julia’s packages are just Python calls. Meaning the whole language is just a skin for Python, meaning you just made your two-language problem a three-language problem.

>> No.9444886

>>9444874
>>9444878
Calling C and Fortran libraries is a plus, calling python is just unnecessary (is a bad language and their libraries are horrible).

>> No.9444921

>>9444886
Except that calling Python from Julia IS a necessity because half of its packages are just wrappers for Python.

>> No.9444929

>>9444921
Too bad, developers should just focus on what made it popular and that is C performance. Instead is just a python wrapper which is redundant for not to say a handicap.

>> No.9444931

>>9444921
>half of its packages are just wrappers for Python.
Source?

>> No.9445010

>>9444847
I genuinely hope you kill yourself.

>> No.9445049

>>9444404
Leave.

>> No.9445072 [DELETED] 

>>9445010
Reported.

>> No.9445075

>>9445072
kek

>> No.9445277

This thread is somehow worse than the first.

>> No.9445312

>>9441899
Oh sorry. I emailed my professor. Turns out I did get an A on it, I got an A- in the class bc I turned in the midterm 2 days late.

>> No.9445424

>>9444929
>Instead is just a python wrapper which is redundant for not to say a handicap.

Problem is, Python has a head start. Who's going to come up with a Julia-native equivalent for Matplotlib or Pandas in a few months, which has similar functionality and scope?

Julia's interesting and I'll keep reading about it, but for now, I think Python's still the better choice for my stuff. I do have a scientific computing task coming up in a few months, but I can't see myself doing it in Julia. I've just managed to convince everyone in the group to ditch IDL and Matlab in favour of Python, if I now tell them that the new package will be written in another new language, they'll riot.

>> No.9445439
File: 61 KB, 807x315, neoans.jpg [View same] [iqdb] [saucenao] [google]
9445439

I started filming some basic finance math videos using Python

https://youtu.be/h-sZ4kgln40

>> No.9445639

>>9445424
>I've just managed to convince everyone in the group to ditch IDL and Matlab in favour of Python,
You done goofed, son

>> No.9445649

>>9445639
My thought exactly.

>> No.9445684

I was reading on expert systems and stumble upon Prolog https://en.wikibooks.org/wiki/Expert_Systems/Prolog
Which took me to Horn clauses https://en.wikipedia.org/wiki/Horn_clause
If you love to read about logic on you spare time do read these.

>> No.9445821

>>9445684
Why would I read about dead technologies?

>> No.9446324

>>9445821
You are not the brightest man on earth dont you

>> No.9446498

>>9445821
The theory behind is entertaining.

>> No.9446637

>>9441600
Cause is shit

>> No.9446831

>>9445649
>>9445639

Kek, really? How far from reality does one need to be to prefer IDL/GDL and Matlab to an equivalent Python/Numpy solution?

>> No.9447617

Have you guys go to Project Euler https://projecteuler.net/ , is a nice place for practice. I see there the difference in using low level programming languages versus high level, damn is hard to make things at the low level.

>> No.9448075
File: 275 KB, 1484x888, cs.png [View same] [iqdb] [saucenao] [google]
9448075

True?

>> No.9448102
File: 297 KB, 836x1136, 1513067679808.png [View same] [iqdb] [saucenao] [google]
9448102

>>9448075
>implying Big O is impressive
>implying Taylor series are impressive
>implying assembly is impressive
>implying gate diagram for a fucking ripple carry adder is impressive
>implying picture of a FET is impressive
>implying multitape and single tape Turing machines are impressive
>implying the pumping lemma is impressive

>>>/g/tfo

>> No.9448556

>>9444490
Mathematica

>> No.9448572

>>9444490
Why are you taking it instead of the class that teaches C++?

>> No.9448635

New stats major here. I want to get good at R programming before I even take a class in it. Any recommendations?

>> No.9448636

>>9448075
Logic Gates, Big O. induction are all things that I witnessed in an introductory programming class

>> No.9448722

>>9448635
r for pirates got me started even though it's written by a brony retard

>> No.9448782

>>9441598
I do machine learning research (or rather, did, then my employer violated my work contract so I quit). I'm looking to either find someone willing to let me do research in industry (as was the case with my previous employer before going full retard), creating my own company, or pursuing a PhD (I only have a master's, but I don't want to do ML (((engineering)))).
I am currently elaborating the research topic I'd like to work on were I to go for a PhD. Since most modern ML comes in two flavors: incremental engineering-like improvements over previous models; or breakthroughs from mathematics, usually statistics, which actually present a huge class of issues in practice (poor data efficiency, bad stability when the error surface is not smooth enough, which it never is on non-toy tasks, etc.) but eventually becomes quite good (wasserstein GANs vs vanilla GANs are a good, modern example of that), I am thinking that the fundamental approach to ML currently employed is wrong (we notice several problems with backprop and its implications in the first place). Therefore, I think we should move more toward ideas similar to computational (behavioral) neuroscience with the goal to move to locally-updating, distributed, specialized learning mechanisms (still data-oriented).
What material would you suggest in comp neurosci? All levels from single to multi-neuron is relevant (there was an interesting recent paper that suggests neural response is a function of locality of signal, playing with that model could be useful), but multi-neuron inter-communication and coordination is of course probably most relevant.

>> No.9448788

>>9444487
Yoshua's Deep Learning or PRML (PRML is more like a reference book everyone keeps by their bedside but it's decent to learn from too; Deep Learning is a great modern book on neural networks though).
The best source is always various collections of papers though.

>> No.9448790

>>9444498
Backprop has literally nothing to do with backtracking.

>> No.9448796
File: 41 KB, 1200x1052, tmp_3379-Erlang_logo.svg-1010640210.png [View same] [iqdb] [saucenao] [google]
9448796

I am learning erlang. Please say something nice about it.

>> No.9448800

>>9441598
""""Scientific""""" computing.

CS brainlets need to get off this board and take their science fiction to /lit/ where it belongs.

>> No.9448806

>>9448800
lmao butthurt

>> No.9448809

>>9448796
It's a great language. You'll write very solid telephony software with it. That said, >>>/g/ where you belong.

>> No.9448812

>>9448809
/g/ is cancer
Programming threads either need to move here or get its own board.

>> No.9448816

>>9448812
Programming is not science and erlang is not scientific.

>> No.9448824

>>9448812
I understand you are right but blame the consumerist for that.

>> No.9448835

>>9448824
Partly correct, but one should really blame the mods who refuse to enforce the board's own rules. In turn, we must blame moot, and now hiroshima nagasaki, for ordering the mods to let only advertising threads from (((sponsors))) be created on the board rather than actual tech discussion.

>> No.9448842

>>9448816
Its a functional language and also highly concurrent, its used extensively in academia as well as private sector

>> No.9448843

>>9448812
>>9448835
>programming
>here
I blame you for being a dumbass, programming isn't science or math so keep in /g/

>> No.9448846

>>9448842
pants are also used extensively in academia, pencils too

>> No.9448847

>>9448835
Yeah, I dont talk about those sponsors because we all know about them, it isnt easy to control and they know how to bring hell to every thread that speaks about them, even here.

>> No.9448858

>>9448842
It's used nowhere in academia. The only place it's used is in ancient telephony systems which haven't been rewritten yet.

>> No.9448861

>>9448843
Nobody said programming is a science or should be here, retard. And this thread isn't about programming. Get a brain moran.

>> No.9448862

>>9448843
But probably half of threads on /sci arent science related, yet they are allowed, so why cant we have at least one programming general

>> No.9448867

>>9448861
>>9448812 : >Programming threads either need to move here
k i l l y o u r s e l f

>>9448862
computer science is fine, but programming isn't interesting

>> No.9448871

>>9448867
Contain that edge

>> No.9449097

>>9448782
I'm currently reading analysis and modeling of coordinated multi-neuronal activity and Fundamentals of Brain Network Analysis. But I don't know if they're up to the level (hopefully they are). Any comments or recommendations? I've already read O'Reilly's thesis (the LEABRA system of models).

>> No.9449130
File: 320 KB, 1000x1344, emerson-tung-f-big-o.jpg [View same] [iqdb] [saucenao] [google]
9449130

>>9448102
>implying Big O is impressive
fuck off tomato

>> No.9449145

Lads, I am looking for and IDE to use with Julia pls

>> No.9449229

>>9448788
PRML?

>> No.9449315

>>9449229
Probabilistic Reasoning and Machine Learning.

>> No.9449395

>>9449315
Thanks, any other to add to the list?

>> No.9449400

>>9444419
1998 was 20 years ago

>> No.9449522

>>9441598
Personally using ROS, Python, and MATLAB for various projects regarding autonomous vehicles, model predictive control, and signal processing. Not a huge fan of labview, personally, but I got the cert just because industry wanted it.

>> No.9449535

I want to ask the creators of the HOC language (which is used in Yale Neuron) - are they familiar with modern concepts of programming? Even visual basic is better than HOC.
I wonder why a lot of scientific articles is written about models described with HOC

>> No.9449599

>>9448812
CS is cancer

>> No.9449841

>>9449395
There aren't very many books in modern ML (i.e. neural networks, graphical models, even rl) in the first place, let alone good ones. Deep learning covers tons of ground and can very easily be complimented by papers. PRML can be used as a reference for specific algorithms and underlying concepts. Aside from these, most books are either ancient, wrong, or don't cover relevant topics. For RL, there's the mandatory book by sutton, but I've not heard of a useful book beyond that. And before deep learning, which is extremely recent, there was only prml in ml. You'll have to wait a few more years for good books to start being written.

>> No.9449845

>>9449599
[citation needed]

>> No.9450126
File: 122 KB, 600x426, Modelica-Collage-600px.png [View same] [iqdb] [saucenao] [google]
9450126

Anyone have experience with Modelica languages? What are their capabilities? Are they used in research/industry? Are they mostly for mechanical systems or could you do, say, systems biology with them?

>> No.9450168

>>9450126
Fake language used by nobody.

>> No.9450232

>>9450168
salty

>> No.9450236

>>9450232
Oops, I thought that was a legit question. Guess you were merely a paid shill.

>> No.9450239
File: 89 KB, 1155x409, The truth about CS.png [View same] [iqdb] [saucenao] [google]
9450239

>>9449845

>> No.9450240

>>9450236
>paid shill
>for a standard that has foss implementations

>> No.9450254

>>9450239
>I failed CS first term courses and got butthurt about it: the post
Also does not support the statement in >>9449599 (in fact it even starts by refuting it).

>> No.9450262
File: 4 KB, 224x250, 00.png [View same] [iqdb] [saucenao] [google]
9450262

>>9450254
>I and all my classmates found advanced courses hard so there's no way they can be trivial
>t. brainlet CS majors

>> No.9450296

>>9450262
Talk about the subject, not the courses you take.

>> No.9450304

>>9450296
>publish paper
>tweak it
>goto 1
>retire

>> No.9450650

>>9449841
Thank you, I'll check those two out then, since I can actually use them on a kindle.

>> No.9450666

>>9444627
This, so much this.

>> No.9450671

>>9444627
>>9450666
Okay, what should I be looking at as well? I am a knowledgable programmer.

>> No.9450685

>>9450262
Nice strawman. Still waiting for you to give a citation though. For someone who claims to know about math, you sure sucks at logic (and math apparently). That's probably why you failed in your first semester of cs.

>> No.9450880

>>9450671
Multivariate calculus (how to take gradients with respect to matrix variables), probability, statistics, and standard optimization techniques.

If you want to jump straight into programming, start with a library that's lower level and exposes actual gradients e.g. Theano, PyTorch. Learn about and implement fancy optimization techniques like Adam or Adagrad.

>> No.9450887

>>9450880
Sadly, theano is dead now. Devs have decided to stop working on it because they're a research lab and nobody funded them nor gave them engineering labor to help out.
PyTorch is the way to go now since tensorflow is dogshit.
Adagrad is old and busted, Adadelta is the superior version (works better than even adam in my experience, but adam is more popular). There's no point in implementing these though as they're available everywhere. Playing with new model structure at a basic level, or more importantly on new layer topology or training strategy, is what this is about.

>> No.9450895

>>9450887
Yeah but you can't do any of that in a principled way unless you understand the underlying theory first.

>> No.9450899

>>9450895
That's true. And as an exercise, implementing e.g. adam is definitely useful in that regard.

>> No.9450921

>>9450239
>the average CS student fails it
>The same people who are spouting wrong platitudes like "CS is all hard math" are the people who think you're a genius for knowing calculus.
>With a CS degree alone without further qualifications you are factually unemployable.
Guaranteed this guy went to a community college on the verge of bankruptcy. In Europe, if you go to an engineering school, you're guaranteed to have all the retards filtered out pretty fast. I myself have a bunch of video game nu-males in my class, but the administration once publicly threatened to kick them all out if they didn't move their asses. Those that only pretended to get to work are now failing their semester miserably. Half of us have done two or three years of math and physics at a higher level than math and physics majors at the university. As for business monkey stuff, it's usually recommended for entrepreneurs, and people who do that typically spent their early higher education sucking thousands of dicks to get more professional contacts.

TL;DR: CS isn't trash, your college is.

>> No.9450947

>>9450880
>>9450887
How long do you think Python will stay viable? A friend that's working in the field, said that 5 years tops.

>> No.9450950

>>9450947
Not sure what you're friend is basing that on, but it's literally the only game in town so I imagine much longer than that.

>> No.9450957

>>9450947
Say julia's trend continues and competes against python, even if it doesn't completely replaces python at first or something better comes it will certainly leave python out the game in yeah like five years.

>> No.9450958

>>9450947
I sure hope he's right, but it's primed to stay alive forever in the field as is. There's a non-0, quite small, chance that people will start moving to lua, due to pytorch -> torch which should make deployment easier in production, and lua is significantly better than python for our usecase, but it doesn't have enough of the advantages we're looking for to justify a move except the pytorch->torch path.
The only other way this can work is if I succeed in my research and the paradigm I'm trying to implement becomes the norm, such that we don't need anywhere near the kinds of hardcore libraries that are currently needed for ML.

>> No.9451288

Just found out about this and someone here can get it a use of this free introductory course of programming in MATLAB https://www.coursera.org/learn/matlab
There are more intro courses with Python, I wish there was some sort of scientific course with Perl, don't like Python.

>> No.9451342

>>9451288
>PERL
>scientific anything
>even regular programming-anything
MY SIDES
Try wishing for a lobotomy next time, it'd be less painful for everyone involved.

>> No.9451351

>>9441598
I only really know R (doing mostly stats, sometimes machine learning). Why should I learn anything else? There are so many packages for R, next to all the stats stuff, things like tensorflow are also available. I feel like I have everything I need, but I can't rule out that I'm missing out on something.

>> No.9451362

>>9451342
>>>/g/

>> No.9451442
File: 150 KB, 808x730, Lattice Multiplication.jpg [View same] [iqdb] [saucenao] [google]
9451442

Can anyone think of an easy way to calculate the sums of diagonals in pic related? I think I've managed it but it was an absolute nightmare to work out the appropriate sums and indices etc.

I'm working in python and I've got two arrays, one with all the upper left elements, and one with all the lower right ones.

>> No.9451475

>>9451442
Did you try
https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.diagonal.html

>> No.9451481

>>9451288
>Perl, don't like Python

And you like Perl? Why not Lua

>> No.9451492

>>9450685
>That's probably why you failed in your first semester of cs.

Nice strawman. Still waiting for you to give a citation though. For someone who claims to know about math, you sure sucks at logic (and math apparently).

>> No.9451578

Does anyone here actually have experience using octave? If I learn it, will I be proficient in matlab?

If not, is python the best alternative to matlab?

>> No.9451652

>>9451578
I've used it sparingly. Basic functionality is identical to Matlab. You'll be fine.

>> No.9451810

>>9451492
Your tears are delicious.

>> No.9451821

>>9451578
Just pirate matlab.

>> No.9451842
File: 37 KB, 740x263, 2018.png [View same] [iqdb] [saucenao] [google]
9451842

>>9451810
>CS majors still unaware of their own stupidity

>> No.9451858

>>9451842
Keep posting. Your butthurt nourishes me. I want moar!

>> No.9451937

>>9451821
how

>> No.9452034

>>9451578
Octave supports virtually all the normal matlab stuff, plus its own constructs and syntax. If you're careful with how you write your programs, they're usually interpretable by both octave and matlab without modification. So yes you could say you know matlab if you learn octave.
However you should probably go with python anyway since it's the de-facto standard for non-statistical scientific computing. Though in the end you should try to go with whatever's most relevant for your domain.

>> No.9452526

>>9451937

>>9443622
>>9443688

>> No.9453249

>>9451342
PDL

>> No.9453748

>>9453249
That's like saying any language with cuda bindings is a sane scientific programming language. Protip: no. You need significantly higher-level abstractions.

>> No.9453771

>>9453748
Not him but he is right, Perl deserves to be here. I remember how was the most used language for bioinformatics not so long ago and can do scientific computing despite any personal opinion you have.

>> No.9453800

>>9453771
Facts are not "personal opinion". Coincidentally, your personal opinion is not fact.

>> No.9453821

>>9453800
Your entire post is just your opinion, get over it.

>> No.9453907

https://en.wikipedia.org/wiki/CRISPR/Cas_Tools

Anyone here used any of these?

>> No.9454636

>older brother is a code-monkey
>he wants to quit his job
>tell him he should look into bioinformatics if he wants to do cool shit
>no

Welp I tried...
>tfw only scientist in the family.

>> No.9454696

>>9454636
>bioinformatics
No, you didn't try.