The Sticky: /λ/ 2.0
This is new /λ/, also addressable as /lambda/, the programming board. The intent is that this board will be used to share and discuss programs that have been made, for techniques and tools to be written of, and so other programming topics can be debated.Feedback to CatChan
I released CatChan script which equipped a virtual board function.Calculators for programmers
HP-16C is the only HP calculator for programmers. However, some calculators, such as the HP-42S, has incorporated its functions.A Call for collaboration on a Lisp Type-2 Hypervisor Environment
Most of us have heard how amazing the Lisp machines of the 80s were, an operating system dedicated entirely to human-computer interaction and abstraction.Hello, Navi
Given Cortana and Siri (and others) becoming smarter and smarter, what's keeping anyone from creating a linux OS with voice recognition integration?IPFS thread, help for newbies and hashes to interesting files
Anyone familiar with the InterPlanetaryFileSystem? export IPFS_PATH=/home/YOURNAME/ipfsTestDir/
ipfs bootstrap add /ip4/45.55.151.20/tcp/4001/ipfs/QmdkJZUWnVkEc6yfptVu4LWY8nHkEnGwsxqQ233QSGj8UP
ipfs init
ipfs daemon
ipfs add -r /home/YOURNAME/TESTDIR/ > ipfsHashes.txt
Improving at programming
So, how you do to be a great programmer?Dead Software
Someone in the Lisp thread was talking about how CLIM is thought to be dead, but just received a patch. Also, CLIM's examples have worked flawlessly for me. This is weird.What's up with filesystems?
Scala
Any lainons here using Scala?A Manga Guide to Lisp
Hi /lainons/Please help me make a regimen
Alright, so, I was recently accepted into a master's degree program in the computer science field. Specifically, it focuses on cyber security. This field is quite different than what I earned my bachelor's in and it was a steep hill to climb getting to this point. I did all the pre-requisite stuff and now I'm just waiting for September 2016 to arrive. To be frank, I was a bit surprised I was accepted into this program given my lack of an engineering/science degree, and I want to be as prepared as I possibly can be. What I need is a studying regimen.The Sticky
This is /λ/, also addressable as /lam/, the programming board.Perfectionism
Do you guys suffer from perfectionism?Games about Programming etc
there was a thread once, it had games where you program AI, an electrical engineering one, and a few others, I don't remember them all or maybe any, so I would like to start a new thread.Machine Learning & Neutral Networks
We definitely ought to have this thread, since AI is about as future as it gets. If you're not coding artificial intelligence, your replacement will be.How the hell is nobody talking about this great language here on >>>/λ/ ?
Brain: An esoteric modern computer language based on Brainfuck
Hey λainons, anyone else taking the Programming Languages by Dan Grossman MOOC? It's a second or third year course, so it's more meaty than most programming moocs and you'll probably learn something from it if you're self taught.
Racket
Hey fellow lainons, let us a talk a bit about Racket in particular.The Beginner's General
This is the Beginner's General for beginner's questions.Special vs General Purpose Software
When writing software, there is always a trade-off to be made between a solution that does just what you want now, and a more general solution that might be useful in the future. This is typically resolved by invoking YAGNI: You Aren't Gonna Need It. Although sometimes You ARE Gonna Need It and picking the special-case solution will come back to bite you. One of the hallmarks of a great programmer is being able to recognised when the increased up-front complexity of the general solution will pay off in the long run.praxis
Does anyone here use praxis?Learning Coq?
I'm trying to learn Coq without much success. I've attempted reading Software Foundations and some tutorials, but I always end up stuck on theorems. The problem is, I have absolutely no idea why am I stuck, what could I do about it, and how did I end up there. To be honest I just throw tactics around without any plan hoping I will solve it by accident.math thread
I know we've got a couple matheads up in here.Lainchan's board software
Hey lainons÷!1 ⍝ The First APL Thread
This is the APL thread. The intent is that APL programs, literature, techniques, and general musings may be shared here.Online courses arranged for a comp sci degree?
i've been looking for some updated, recent, reliable resources that would offer an organized courseload for someone who was pursuing an online degree.Lisp General: Sometimes Somewhat Declarative
This is the Lisp General, ask any and all Lisp questions here. Below is a link to the general's texts which contain many links to various books, documentation, websites, and other interesting information.Would anyone be willing to update the gentooman's library? It's a great resource but a lot of the books are outdated by 3 or 4 editions. Even 5 sometimes.
College thread
I'm in college right now. Nothing fancy, I'm not rich nor smart so I didn't get into any good schools. In fact I'm in community college right now, working on an associates degree (2 years, then transfer to another college and be in the junior grade immediately). I'm satisfied since 1. this helps keeps costs very low since I can be at home & 2. I do horribly in new living environments.Do any of you lains have RSI?
I know this doesn't belong here, but it doesn't belong anywhere. I had no idea where the fuarrrk to post it, but I figured it's kind of a "programmer's problem" so what the hell.Learning resources
What are the best learning resources you have ever consumed, lain? Courses, college classes, projects, books, exercises, anything goes.Freestanding Programs
How does one create freestanding programs?Imageboard engine design general
Anyone else working on an imageboard or textboard engine? I remember that we had a thread like this in the past. What are you working on, what languages are you using, what are your goals?How to become a networking wizard
I have a pretty good experience with programming in C and have put significant work into a few non-trivial projects, but my knowledge of networking leaves much to be desired. I've taken a networking course and done simple toy programs like a port scanner and a simple client-server messenger, but I'm not really sure how to progress to an intermediate and eventually expert level. I want to become a networking wizard.Character Encodings
This is the thread to discuss the various manner of encoding characters, character information systems, and other means that we generally use to represent text and related information.Foundational knowledge
Hello, /lam/. I have previous programming experience, i worked 1 year as a junior dev and did 3 years of college, however both were soykaf and my foundational knowledge is like kicking dead whales down the beach. I have until April (roughly 6 months) until money runs out and i have to find another job, my intention to fill the gaps in my knowledge before that. Keep in mind the market is irrelevant, i can easily get a (soykaf) job already if i need the money, so studying something like node.js just to get a gig would be a waste of (precious) time.Rust
Anyone here interested in or learning Rust? This language looks like it will finally be the one language to put C++ away for good. It gives very low level control over memory, more so than C++ even while using very high level Ocaml-like abstractions. So far no big project has been made with Rust so there is still speculation as to what its capable of. Ive read a couple of books (there are only a couple out) and gone through the official tutorial and while much of it is easy to understand I still lack an overall grasp of this language. Have you guys tried this language yet?lightweight hypervisor for os x
Been awhile since apple introduced hypervisor.framework and we have several solutions for virtualization on os x :Hi lains,
for i in 1..5
print "i = " i
But instead of gettingi = 1
i = 2
...
you geti = 1
i = 2
i = 3
ca
i = 4 n you
i = 5 hear me?
Something in the compiler itself is trying to talk to you... and as you progress the tutorial, you learn a way to talk back
The Beginner's General
This is the Beginner's General for beginner's questions.how is unix implemented?
Hey lainons, long time lurker here.Real Time Group Programming
Hey lain, recently a group friends and I decided that we would try to make some shitty program, but we found it difficult always having to copy and share the source code amongst each other. Is there any real time, group text editor that would allow all of us to be working on the samething, remotely, at the same time, preferably some type of web application?corewar thread
Core War is a game played between two or more programs written in Redcode, a low-level language similar to assembly. Players write a program to eliminate all opponents in the memory of the MARS virtual computer. Core War can also be used as a platform to experiment with genetic programming.end of software copyrights
Christoph Hellwig's case against VMware dismissedLearning group
Hi all!Hello guys. I hope I'm posting this in the correct board.
Computer Science comics, mangas and literature
So I stumbled upon a manga called SE and was surprised by how far they went with their knowledge of software engineering, particularly since its an ecchi manga.How to teach programming?
The firm I work at has decided that I am to teach a course. Mainly I am supposed to teach some guys how to access a database using SQL and R. (I know, I know, SQL is not programming, but I hope you get my point).Reading code?
Do people actually read code? Do you?Elm
Just tried Elm out. I have to say I'm really impressed and it changed my view on how useful functional programming actually is for GUI programming.Advent of Code
It's back, it's better than ever, and you can join the fun at http://adventofcode.com/. Are you in?Intermediate programming
Hey λAnyone here using Julia in place of R or Matlab? A lot of data mining people use Python instead of R as R is very confined to just doing matrices (tables), Python offers more ease of use for general purpose tasks.. But now we have Julia which is blazing fast, has matrix and math operations built into the core. Has great low level support so you dont have to switch to C. And most of all it has very psuedocode-like syntax similar to Python/Ruby. The fact that its non-OO will also free it up from having code blocked inside class/object namespaces. I think this language has a lot of potential for backend web programming for something like the way js is used in node.
Perl 6 is here
I was thinking about picking up a scripting language, and after trying out Python and Ruby, realized that I never considered Pearl as an alternative.Code Critique
I've been programming c for a couple years very slowly and lately have gotten into it much more.#include <stdio.h>
#include <math.h>
int findGreater(int input){
int power = 0;
while(input >= pow(2,power)){
power++;
}
power--;
return power;
}
int main(){
int dec, greatest = 0;
printf("Value to convert: ");
scanf("%d", &dec);
if(dec < 0){
printf("Incorrect Value Type.\n");
return 1;
}
greatest = findGreater(dec) + 2;
char binary[greatest];
int size = sizeof(binary)/sizeof(char);
for(int index = 0; index <= greatest; index++){
binary[index] = '0';
}
binary[greatest - 1] = '\0';
while(dec != 0){
greatest = findGreater(dec);
binary[size - (greatest + 2)] = '1';
dec -= pow(2,greatest);
}
printf("Binary: %s\n", binary);
}
Inline HTML enabled
http://devachan.neocities.org/?p=2016/12/19/inline_html_enabled.mdHi /λ/.
SuperCollider
any λ lainon here programs music with SuperCollider or any other programming language such as alda or ChucK?There's a visible text editor thread - it's at reply limit, or this would be there. Still, So, here seems like a decent place to ask:
Text Editors
Let's talk about the text editors we use.The Beginner's General
This is the Beginner's General for beginner's questions.GA and Games
Hey Lainons,Lisp General: Longer than ()
This is the Lisp General, ask any and all Lisp questions here. Below is a link to the general's texts which contain many links to various books, documentation, websites, and other interesting information.The creator and lead developer of https://morph.is/v0.8/ was killed 2 days before christmas in an odd exchange with canadian police. http://www.lfpress.com/2016/12/23/london-police-one-man-dead-in-old-south-shooting-on-duchess-ave-near-edward-siu-investigating
Books on Web Development
Greetings fellow lainans. My apologies to the mods if this is the wrong board to ask this question or the wrong place to hold this discussion.Hi lainanons!
Hello lains
Meaningful output
Are there any guides or recommended readings that break down standards or outline guidelines for creating meaningful output from programs?So, after 2 hours of lurking through the internet, i somehow ended up in 2002 and i found a interesting thing.
Old Wild Net Bounties
What are your opinions of the programming bounty?Console Cowboy
.Y combinator
For some days I've been trying to wrap my head around the Y combinator. I've tried to follow through the amazing article explaining the Y combinator in javascript, but got lost pretty quickly.DSP Programming
Any coders here that have experience with DSP? Specifically DSP that handles and processes audio. I'm really wanting to make some VST/AU plugins for musicians but having trouble getting started since the field seems very math oriented. My strengths with coding lies more in the visual and game logic domain.Esoteric Programming languages
Some love for Esolangs?Project Euler and Recreational Programming
I've recently gotten really into ProjectEuler and wanted to dedicate a thread to it and similar recreational programming websites. What have your experiences with them been?Study Methods
Hey guysPython interesting libraries?
premise: I'm an absolute newbie at programmingContainers
traditional Linux admin here with openstack experience. Why should I care about containers? this seems like a developer thing that after 4 years of LXC and prayer cults has turned into something I now have to support at the system level. as a Linux sysadmin i cant find a reason id use this instead of KVM.hello
Hello, /int/eresting people! You dont know me, but i need help. The fact is that I created my Anonym's imageboard. I need friends. Forgive me for the unexpected invasion. Now my board very small. The Internet is the only thing that makes me happy in this life. Life in my country is sad. Very sad. Angry people, dirty streets, high price and taxes - it's in the nature of thingsTest Justification Algorithms
I started working on a text justification algorithm last night, as a fun exercise to see how they work. I've intentionally not looked at the Knuth-Plass algorithm. -- | A line of text is a non-empty list of words interspersed with spaces of varying size.
data Line = Line String [(Int, String)]
-- | A text justifier takes a line width, list of word (and word fragment) sizes, a minimum space width, a list of words, and produces a list of lines
type Justifier = Int -> [(String, Int)] -> Int -> [String] -> [Line]
justify1 :: Justifier
justify1 _ _ iota (w:ws) = [Line w [(iota, w') | w' <- ws]]
justify1 _ _ _ [] = []
justify2 :: Justifier
justify2 width sizes iota = go ([], 0) where
go (sofar, len) (w:ws) =
let newlen = len + iota + fromMaybe 0 (lookup w sizes)
in if newlen > width
then case reverse sofar of
(word:rest) -> toLine word rest : go ([], 0) (w:ws)
[] -> Line w [] : go ([], 0) ws
else go (w:sofar, newlen) ws
go (sofar, _) [] = case reverse sofar of
(word:rest) -> [toLine word rest]
[] -> []
toLine word rest = Line word [(iota, s) | s <- rest]
justify3 :: Justifier
justify3 = padWords justify2
padWords :: Justifier -> Justifier
padWords justifier width sizes iota = padWords' width sizes . justifier width sizes iota
padWords' :: Int -> [(String, Int)] -> [Line] -> [Line]
padWords' width sizes = go where
go [] = []
go [lastLine] = [lastLine]
go (l@(Line w rest):ls) =
let slack = width - lineLen sizes l
gaps = lineWords l - 1
wordSlack = slack `div` gaps
extraSlack = slack - wordSlack * gaps
extraSlackPos = 42 `mod` (gaps - 1)
in Line w (go' wordSlack extraSlack extraSlackPos rest) : go ls
go' wordSlack extraSlack extraSlackPos ((gap,w):ws)
| extraSlackPos == 0 = (gap + wordSlack + extraSlack, w) : go' wordSlack 0 0 ws
| otherwise = (gap + wordSlack, w) : go' wordSlack extraSlack extraSlackPos ws
go' _ _ _ [] = []
Markup
What kinds of markup do you think are nice?Parallel Programming
This is a thread to discuss various systems for writing parallel programs, at any level of abstraction, from the bare machine to a high-level language. It seems reasonable to say that it's easiest for most of us to think sequentially, when programming. It's somewhat difficult to consider machines in which every instruction operates ``at once'', at least for complex tasks. Even cells have some manner of sequential behavior.Descending Into the Lower Levels
I've been meaning to make this thread for quite a while now.Operating Systems / Kernel Development
So, I've been working on developing my own i686 kernel, and I thought I would see if anyone else has had a go at operating system development. If not, who is insane enough to want to try?Programming Folklore
What are your favorite programming folklore stories? Stuff like the 300 mile email, the MIT magic/more magic switch, the first computer bug, etc. Here's a fresh one straight from my job:Greetings to the User
Here's a challenge I find more interesting than the fizzbuzz seen so often: Greetings to the User." What is your name? "pad dup 9 accept ." Greetings, "type ." ."
(princ"What is your name? ")(format t"Greetings, ~a."(read-line))
(format"Greetings, %s."(read-buffer"What is your name? "))
Language Design and Implementation
I failed to see a topic on this already, so I thought I would start one on programming language design and implementation. It seems the Compiler discussion atrophied so I thought I would add implementation into the mix.How do you find out what you are trying to do actually is...
Certain things are easy to program, because the problem is well understood beforehand, or it's easy to split it up into parts that have little or nothing to do with each other, or maybe it's programming for fun and the final result is not that important.