What are you working on, Sup Forums?
Old thread:
What are you working on, Sup Forums?
Old thread:
Other urls found in this thread:
lua.org
en.wikipedia.org
en.wikipedia.org
theguardian.com
seas.upenn.edu
python.net
twitter.com
Programming sans I/O
Macros.
What language would Sup Forums use to embed in a game engine?
I want alternatives to Lua.
Guile Scheme.
Javascript
Already done that, but I need an alternative for Winslows.
Perhaps it helps to see lambdas in a language that isn't Lisp?
lua.org
foo = function (x) return 2*x end
Embeddable Common Lisp
>Serialize my neural network
>200mb file
>Try to open it out of interest
>Sublime
Watch as stack fills up to x86_u32
Crash
>Atom
Freezes
Crash
>Download GVim out of desperation
Opens
Lightning fast scrolling
Does this species deserve the coming environmental disaster?
Now redefine foo so you can pass in a list of functions and a list of values, and apply each function to the list of values. Not trying to put you on the spot, but that'd make for a more accurate comparison.
Try jEdit
For a game engine? Really?
Thought Scheme was a better option
>What are you working on, Sup Forums?
A quiz app in QT for school presentation, where you load questions from a file and display them in random order on full screen. I know some basics of C, Python and C++, but I never done anything gui related. I grabbed some tutorials on QT a few hours ago, just finished reading them, and now I'm going to write the app. Hope it's going to be as easy as it looks. I might ask some questions later. Wish me luck.
Is anyone familiar with the Canvas class in Java? Say I have 2 ball objects of a certain radius and put them in an arraylist. How could I check if other objects hit them (or get near them).
Scheme is a smaller language, so that's probably why that idea gets commonly passed around. ECL can run on a variety of systems though, including windows.
I made a basic sidescroller and pong in 2002 Borland Delphi and now I want to kill myself.
good luck
Best monospace font?
That is a whole programming topic and has nothing to do with Java or Canvas.
You're looking into collision detection. You may iterate through two balls, but as the number of balls increase, your application will go slow.
I'd say terminus but I don't think you can make it bold.
Good luck as a Object Pascal game developer or killying myself?
aren't they basically the same thing?
en.wikipedia.org
Or make a custom bash-like dialect, or add any interpreter as a server backend, but really, what the actual fuck do you want anyway?
Nevermind, apparently you can bold it with 10px, 11px, and 12px.
I managed to create an ingame repl with Guile, and I use that as a debug console.
Each object's script describes a module with its own (init) and (update dt).
Since Guile on Windows is shit, I wanted to provide another language for scripting and repl, but I wanted something small and fast enough.
/dpt/ has been telling you since its inception, vim in the best text editor out there
What terminal do you use?
AngelScript?
Squirrel?
mRuby?
A Lisp REPL.
IT ALL
RETURNS
TO NOTHING
I liked AngelScript, will try
MobaXterm
GNOME
Im trying to build a color picker.
idk if Im doing this right but theres six different colors on a hue slider that you interpolate between. Whats the math behind transitioning between these 6 colors?
Language is python but it doesnt matter
7 color values*
working on patch system backend
the idea is to automate the release process by creating a patch from a set of files automatically or check them out from VCS
network protocol will work kind of like bittorrent to reduce bandwidth costs
Kotlin
Włocławek
...
C was a mistake
ML was robbed
urxvt.
It's just terminal.
VT-220
Why do you keep posting this? Is that 4 times today?
if you repeat it enough, history will be undone
I am angry at the years that were stolen from me
didn't these things cause actual cancer because they weren't ray shielded like TVs?
everything fun causes cancer
twas a lot of text. i decied to split the bar into 6 different sectors and add and subtract the remainders of 1-6 as the color values.
No, only the degenerate shit that's been pushed in the last 100 years by jews
HAM WAS A JEWISH CONSPIRACY
THEY KNEW ALL ALONG
theguardian.com
CoffeeScript
no
Holy shit, I didn't know SICP was that hard. I understand the theory, but I'm unable to do the exercises. So I ditched the book. The next book on my list was: HtDP. It's written clearly, but it's too easy. So scratch that one off too and scratch off Scheme completely.
Back to the pinnacle of PL: Haskell. I hated LYAH and liked the wikibook although the wikibook is a bit short on explanation. During my quest to find a good book on FP memes, I've found the following book: Haskell Programming from First Principles. It looks understandable and I could even solve a few questions with my basic knowledge of Haskell. It looks even better because this cute lady called Karenis reading it.
Is Haskell Programming from First Principles any good for a beginner?
Okay, holy shit, I only need to finish the 'stylesheet' loading and applying and some basic ui object types and we'll be live baby
Why would you want alternatives? It's the only language really built exactly for that purpose.
>pinnacle of PL: Haskell.
LOL
Are you just reading books that are held by anime girls?
what parts do you need explaining?
>I hated LYAH
Why?
So Sup Forums, recently I started a little project and I chose to use Python (mostly because it's easy and has tons of libraries). Out of curiosity, didn't you guys hate Python and why?
Note: I learned the basics of programming (as in: I know quite well some languages and even some theory but never programmed anything noteworthy) two years ago, then did nothing for a long while, so I'm a little rusty, go easy on me.
Because Lisp does everything better.
Dumb anime poster.
I just wanted something different.
Something that would not use OOP.
For that Scheme worked pretty well
>Out of curiosity, didn't you guys hate Python and why?
Usual reasons:
> signifiant whitespace
> OOP
> self self self self
> "there is only one way to do it" bullshit
> "we're all consenting adults here" bullshit
> zen of python
seas.upenn.edu
This is better than LYAH
A bold supposition, but what if:
>he doesn't read those books at all and just watches anime instead?
>and why
MEANINGFUL WHITESPACE
python is a pretty cool thing as long as no one forces you to use it against your will
>could be said about anything, but whatever
>we're all consenting adults here bullshit
what
people who make SICP anime girl images have never read SICP
same with K&R
what can I program that will make a lot of moneyy
Google it, it's quite common in python /lit/.
Why does this bother you?
Private class members should not exist.
not him but LYAH feel apart around chapter 12. plus there's not really any practical applications in there
your first mistake was thinking haskell could be used for solving real problems
Don't project your own issues on other people.
A program that redirects rounding errors to a swiss bank account. Be sure to carry it on a floppy disk and walk in like a boss when going to work tomorrow.
>make a custom
JESUS STOP RIGHT THERE
Making your own language is interesting and fun, but it sure isn't productive, and it's a huge fucking pain in the ass for everyone except you.
No matter how shitty your chosen embedded language is, it's better than a custom one:
>has web resources
>has existing libraries
>relatively bug free in code paths you don't personally trigger
Think PHP v2 was shitty? Your custom language will be worse to everyone except yourself.
learn COBOL
I've written a http server in Haskell so idk
kek
how well does it run?
If you read to the end of it you would have been able to tell that I was being facetious.
Financial applications. Find someone with deep pockets who has a burning need for something and enterprise up a solution for them
hurr durr
show the code
There is no reason why you should be hiding class members from others in your code.
If you need to obfuscate implementation details for the purposes of backwards compatibility or retardproofing, you use pointers to opaque types.
such as what?
durr hurr hurr
ricing xd
you anime nerds need to get girlfriends
This is the programming thread you desperate (you) slut manchild
Compared to other languages with a userbase > 1, it's pretty good.
I also bought headphones because the reviewer had an anime wallpaper.
I get completely stuck at questions. I don't even have a clue where to start. I could go on reading the book and find exercises elsewhere, but I don't know if that's worth the effort.
>some examples don't work
>no exercises
Dumb cartoon poster.
How does it compare to a 'real' book?
is there a bigger waste of money than building a computer with high-end parts and then running GNU/Linux on it?
which questions? the wikibook ones?
Yes.
Installing an inferior goonix operating system such as arch on it and using a wallpaper with your shitty waifu from a retarded show. Not to mention the 3/10 rice.