Belisarius Cawl
kiwifarms.net
- Joined
- Mar 16, 2024
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Technically Matlab doesn't cost money>libraries cost money
Run away at C speeds
install.packages()
.That seems pretty reasonable compared to some of the shit I had to work on before: https://www.progress.com/openedge/features/ablTechnically Matlab doesn't cost money
View attachment 7684906
At least Matlab still appears to offer functionality that justifies its niche as crazy expensive proprietary software. For example, I've heard that Matlab's DSP functionality still doesn't have a real open source competitor yet. In the world of data science, SPSS has been on a long decline, its lead having been gobbled up by R and, more recently, Python. Here's pricing to put Paradox Interactive to shame:
View attachment 7685029
Looks like you have to pay extra for features that are in R's base or readily available withinstall.packages()
.
DEFINE VARIABLE w AS HANDLE NO-UNDO.
CREATE WINDOW w ASSIGN
WIDTH = 50
HEIGHT = 5
MESSAGE-AREA = FALSE
STATUS-AREA = FALSE.
CURRENT-WINDOW = w.
DEFINE BUTTON btnOK LABEL "OK" SIZE 12 BY 1.2.
FORM
"Hello World!" VIEW-AS TEXT AT COL 20 ROW 2
btnOK AT COL 20 ROW 4
WITH FRAME f SIZE 50 BY 5 NO-BOX THREE-D.
VIEW FRAME f.
ENABLE btnOK WITH FRAME f.
WAIT-FOR "CHOOSE" OF btnOK.
DELETE OBJECT w.
mmmmm this is going to be the most delicious COBOLslop i've seen this month we eating good todayHorrible fucking language (Looks like SQL, isn't set based but cursor based)
is it ever encouraging to see that in any scenario? (except where it's some sort of service that always depends on a lot of unforeseeable factors)Distribution is strictly on a "contact us for pricing" basis.
this code is already so readable, it's almost exactly like english! i declare things as niggerlicious no-divine-intellect all the time!DEFINE VARIABLE w AS HANDLE NO-UNDO.
nice magic variable i assume it completely doesn't work and refuses to tell you why if you don't maintain this variable perfectlyCURRENT-WINDOW = w.
"three-d"WITH FRAME f SIZE 50 BY 5 NO-BOX THREE-D.
"what's a variable declaration?"VIEW FRAME f.
and this is the cherry on top. some of us like to talk about how every programming problem was solved by lisp programmers in the 60s as a funny joke, but this actually was solved by lisp programmers in the 60sDELETE OBJECT w.
Sadly, it's one of the nicer pieces of code written in that shit language. If you ever have to aggregate data from multiple tables, or access multiple rows of one table at once, the gun starts to look quite tasty.mmmmm this is going to be the most delicious COBOLslop i've seen this month we eating good today
is it ever encouraging to see that in any scenario? (except where it's some sort of service that always depends on a lot of unforeseeable factors)
this code is already so readable, it's almost exactly like english! i declare things as niggerlicious no-divine-intellect all the time!
nice magic variable i assume it completely doesn't work and refuses to tell you why if you don't maintain this variable perfectly
"three-d"
ah, it's so readable and easy to understand, because it's spelled out! such brilliant language design
"what's a variable declaration?"
at least this method makes it highly readable, since it's in english! i know exactly what it does: either creates a frame and views it or creates a frame that can view (as opposed to a frame that can't view) or maybe something completely different
and this is the cherry on top. some of us like to talk about how every programming problem was solved by lisp programmers in the 60s as a funny joke, but this actually was solved by lisp programmers in the 60s
of course maybe it's like that because every variable in the language has to be "in the database"
Is Mathematica any goodI dare you to find a single proprietary language that isn't an unusable turd straight out of hell, missing basic features from 1980 while thereferencesole implementation is full of bugs that never get fixed. "Proprietary language" is the reddest of flags for any software, it emits pure 625nm EM radiation.
It is, unfortunately. Industry standard for computer algebra in STEM (though I'm doing my part by stubbornly sticking to MAXIMA!)Is Mathematica any good
Ever heard of SageMath (it integrates Maxima and quite a few others)It is, unfortunately. Industry standard for computer algebra in STEM (though I'm doing my part by stubbornly sticking to MAXIMA!)
OK fellow autists for the past few years all the software I've written has been for sys admin tasks or data science and it has all worked really well but it's all been quite short. Looking for resources on software architecture so I can broaden my horizons and write more complex code. I'm mainly looking for an object-oriented approach but I figure there's probably functional stuff out there too.
well i've heard the general trick for writing a huge program is to write a bunch of small programs and glue them together with another small programOK fellow autists for the past few years all the software I've written has been for sys admin tasks or data science and it has all worked really well but it's all been quite short. Looking for resources on software architecture so I can broaden my horizons and write more complex code. I'm mainly looking for an object-oriented approach but I figure there's probably functional stuff out there too.
This might be the hardest and most important problem in programming. Finding the right encapsulation boundary and exposing a good API to make a system understandable and flexible.well i've heard the general trick for writing a huge program is to write a bunch of small programs and glue them together with another small program
I have been learning this more and more as of late, but I still struggle with dependencies.well i've heard the general trick for writing a huge program is to write a bunch of small programs and glue them together with another small program
I have to, somewhat, disagree/expand on that with you a bit there. IMO the most important part is designing your data representation to be good and reusable. 1 data structure that has 100 functions that can do stuff with it is vastly superior to having 10 datatypes with 10 functions each. Within one program that is pretty easy to do, but as soon as serialization/deserialization is involved it becomes a huge PITA.well i've heard the general trick for writing a huge program is to write a bunch of small programs and glue them together with another small program
the fact that they're all being developed together and linked together into one program is just an implementation detail
just make sure the small programs don't become too dependent on each other (which makes them into big programs, and those are impossible to understand)
you basically already do this when you break shit into functions, this is just a simple level of recursion
also, if you can get away with nice small separate programs, do! 5 small programs are often better than 1 program that is 5 times as big as a small one
anyway on the topic of large scale oop resources i've heard good things about the gang of four oop design patterns book
As in turn logger off for some parts of the program or the entire one?The only problem which I haven't quite figured out is what I should do if such a dependency should be optional. Ship a null logger that no-ops? Stub the logger in each program? If it was a normal dependency, I can just turn the logger off statefully and not worry about it locally.
Good old Microsoft Visual OCaml
Here you go. Wlashins book about domain modeling is fantastic (also the site in general is a fantastic resource)
It definitely leans quite far into enterprise and functional stuff though
Obviously but I want to expose myself to theory on the subject so that I don't end up reinventing the wheelwell i've heard the general trick for writing a huge program is to write a bunch of small programs and glue them together with another small program
For context, I want to solve problems like "what would be a maintainable way to implement classes for genetic algorithms". I'm not sure the Unix approach applies here.also, if you can get away with nice small separate programs, do! 5 small programs are often better than 1 program that is 5 times as big as a small one
I am not going to say it's a bad book but for my purposes a lot of the material is too high-level and just not adequately hands-on. Look at this:anyway on the topic of large scale oop resources i've heard good things about the gang of four oop design patterns book
yes it sure does sound pretty simple but it really isn'tThis might be the hardest and most important problem in programming. Finding the right encapsulation boundary and exposing a good API to make a system understandable and flexible.
perhaps try separating the logging logic out from the program logic when possibleOne problem I have is logging, if I want every program to log then I get one big dependency tree, or I can pass the logger around like a cheap hooker.
The only problem which I haven't quite figured out is what I should do if such a dependency should be optional. Ship a null logger that no-ops? Stub the logger in each program? If it was a normal dependency, I can just turn the logger off statefully and not worry about it locally.
Any advice?
yes 99% of programming is designing the data structuresI have to, somewhat, disagree/expand on that with you a bit there. IMO the most important part is designing your data representation to be good and reusable. 1 data structure that has 100 functions that can do stuff with it is vastly superior to having 10 datatypes with 10 functions each. Within one program that is pretty easy to do, but as soon as serialization/deserialization is involved it becomes a huge PITA.
i guess you would have to write a few genetic algorithms and then figure out what they all share in common and then write some interfaces that let you write code that uses genetic algorithms and code that implements genetic algorithms in a highly independent mannerFor context, I want to solve problems like "what would be a maintainable way to implement classes for genetic algorithms". I'm not sure the Unix approach applies here.