Book needed
Can't keep up in class, would appreciate.C++ thread
Everything C++: What you like/dislike about it, what you'd like to improve. Of course, also post your C++ projects.libcr
, a coroutine library I have written in C++.C Thread
Reasons to learn C/ml/ Machine Learning Thread
Feel free to:Rust Thread
Why are you not using language with the best mascot?Haskell
In what aspects is Haskell a better languages than other langs out there? or why do you like it. I like Haskell in this kind of weird and intrinsic way where programming just feels nice, but it doesn't seem very popular so I fear the ROI won't be very good if I spend more time trying to learn it.General Projects Thread
So, what have you been working on?Emacs
All personal preferences and opinions on other text editors aside.vichan setup
I the need to create an imageboard of my own started when I found the source code for Futallaby. I and decided to try and set it up. I made my own imageboard with it but soon found out that using software that was last updated in 2004 is a terrible idea. So I soon found vichan./racket/ thread
Racket is a general purpose programming language descendent of Scheme. Its key features are its powerful hygenic macros, simple module system, and contract-based type system. Racket's designers describe it as "A Programmable Programming Language", with the aim of allowing programmers to easily create and interop DSL's. The way Racket achieves this is primarily through the "#lang" option, which treats libraries as languages, and allows syntax and semantics to be imported, borrowed, extended or completely rewritten.Programming books
Is it just me or are recently published programming books a complete waste of time? I am disappointed every time I try one. Usually they are much longer than their content would make necessary, the examples (if there are any) are inane, the exercises nonexistent or so basic they can be solved by common sense without touching the book, the only useful content they have are duplicated from the freely available manuals and documentation… Yet their reviews are nothing but praise, the ratings always very close to the best possible. There's so many of them it's almost like they are mass produced, and they all seem to be bad. Who will remember any of these in ten years? Or even just five?Trying to set up vichan
I figured it would be fun to try to set up an imageboard. I managed to install vichan and make a few posts, but when I tried to log into mod.php, I got the error message shown in pic attatched. I thought that I had to install that module(?), so I used apt-get install php-mcrypt. This still didn't work even after reinstalling vichan. I read on the modules webpage that it was depreciated in newer versions of php.(I'm using 7.0) Is there a way to work around this?Script thread
Share your one-off scripts or helpful scripts#!/usr/bin/rubyrequire "open-uri"require "json"def download(post,board) if post["filename"] file = "#{post['tim']}#{post['ext']}" puts file File.open(file,"w") do |f| f.write open("https://lainchan.jp/#{board}/src/#{file}").read f.close end elsif post["extra_files"] post["extra_files"].each do |p| download p,board end endendlink = ARGV[0].gsub(".html","")/https:\/\/lainchan.jp\/(.*?)\/res\// =~ linkboard = $1body = open("#{link}.json").readthread = JSON.parse bodythread["posts"].each do |post| download post,boardend
Java 9
Java 9 came out yesterday, what do you think of it?programming music
I really don't think there is anything more suitable than IDM. In general I've noticed that most consider any ambient music sans lyrics best, but IDM specifically is also diverse enough to provide energetic tracks to listen to while executing something simple as well as calmer tracks for focused attention while working on something more complex. I'm curious what others think What does Alice listen to while programming?Project Euler
I saw Project Euler mentioned somewhere in a thread, and after visiting the site, I decided to try to learn programming by going through it. Sadly, this newfound resolve was short-lived because I couldn't get past the first problem:Raspberry Pi: I am (not) Retarded
Bought an MHS 3.5" LCD screen for pi 3b+.Looking for help regarding ARGs
Well I got to know about ARG thin and was really interested to try them out. Stumbled on gatetrail.com and people said it is good for beginners but I don't seem to be able to make out the password for any of gate. I did found this hexadecimal string which led me to a image link but I doubt it can help me with much, at least it won;t help me with Gate 1Quantum Computer Programming
So, who here already experimented in programming for (theoretical) Quantum Computers?ITT: We become a better community
Lets share our projects, help and learn together while contributing eachother's projects. This is what a community should do, right?/fpg/ - Functional Programming General
Welcome all, to the /lambda/ FP general! This thread serves as both a discussion of more abstract concepts of Functional design as well as a place to discuss/collaborate/bitch about specific FP languages and projects.LAINCORP
Several lains and I are interested in forming a collective of web designers, web developers, and sales representatives to either collaborate on freelance projects or form an flat hierarchy LLC. If you are interested, please contact me on Telegram. Serious inquiries only.https://t.me/razorbelle
(private) or http://bit.ly/laincorp
(group)programming language/topics directory
artificial intelligenceJavaScript Discussion
Right now my favorite language is javascript. I know and have used several other languages in the past, especially python, but I've decided that I see no reason to use anything but javascript nowdays, unless I need a certain tool for a specific job. Why? It turns out it's really comfortable to use, it makes sense, can look good if you format it nicely, it evolves quickly and smartly every year, it's everywhere: Web Applications, Desktop Applications, Mobile Applications, even on Embedded Devices (something I'm interested to try one day). I still have to catch up periodically because it's actually a pretty rich language, which ironically evolved from what appears to have been a quick hack. Right now it's still seen as a meme language by some, I personally fear Node, NPM and the ecosystem in general might not be as mature as they could be, but it works now and hopefully it evolves in an intelligent and safe way.Which books do I need to work through to get to a CompSci bachelors level?
I've got 3 and a half years (7 Semesters) to teach myself everything someome coming out of a CompSci Bachelors education should know (takes 6 Semesters in my country).When and why did you start programming?
Saw this over at the big shot thread and I decided to make it.chatbots
In case the subjectchatbots
refers to exclusively bots that chat with other bots or entities, excluding chatroom bots… I apologise, and mods can del this thread. If not checkout this pseudo anon chat whos server doesn't keep logs https://hack.chat/ and more specifically https://hack.chat/?programming which is where most of the bots are. Sry didn't know what spoiler does… Windows dynamic linker
This is a long shot, but I'll take it: any of you lot know anything about Windows' dynamic linker? Sometimes I run into intermittent crashes and the like where the intermittency seems attributable to nondeterminacy at load time. I'd like to find a way to control that nondeterminacy, so when I hit these kinds of problems I can actually turn them into a reliable reproducer.Music html
I want to add music to html website but it doesn't work, can you check it pls?C64 and similar 8-bit CPU based Microcomputers
I've recently taken to refreshing myself on 6502 assembly in order to write software for the C64. Initially I was torn between choosing learning assembly for the Gameboy and the C64, but I figured development would be more satisfying on the C64 since I would be able to see results on the physical hardware without much hassle. There are also some features of the 6502's instruction set that I like over the Gameboy's CPU such as the index registers being very helpful with working on larger amounts of data and not being restricted to perform comparisons exclusively on the accumulator. I believe the zero page is larger on the C64 as well as not being forced to transfer and execute a subroutine in the zero page just in order to update sprite RAM.short x = 2;short y = 2;// short z = x + y; -- won't compileshort z = (short) x + y // correct
My first website
Hi Alice, I made my first working website. It is a small imageboard, it actually has only 2 boards(General and nsfw). I'm, of course, open to any suggestion and advice, please help me! :)Is it possible to learn Java programming in a month if you're a beginner?
I want to learn Java programming at least the basic stuff ( OOP, Polymorphism, control flow ect..)Is it possible to do so in a months time for someone who has done a bit of programming but not too much; if so how would I go about doing it? What types of pdfs do I need, exercise sites ect..Debugging
I have to debug a lot, most often code that I didn't write. But the problem is, I'm not very good at it. Is it possible to specifically train for it? Or is there some common methodology to it? Maybe some tips and tricks?Open Source
Does Lain contribute to open source projects?Introductory Resources (Computer Science)
A lot of "beginner" threads in programming boards aren't very academic and aren't really directed towards actual beginners. They almost never share resources for someone who has literally never typed a single line of code in their entire life. The following two textbooks and courses may be especially challenging for the person I've just described, but they actually start at the beginning and introduce one to programming in a rigorous manner that endows one with a conceptual understanding of the science of computation and how to think computationally rather than only how to engage in programming itself.Reverse
Anyone know of any good resources for learning reverse engineering. On linux mostly because y'know, winblows. Attached is Dennis Yucharev's beginner reverse engineering book I just started reading it and I remember there being a site called "reverse.me" or something but I can't find it anymore and I know that it was down for a while. Reverse engineering thread:Poll Site with IMAGES
I wanna make poll site. Basicly like strawpoll.me but images + multiple questions.new programmer
yeah i'm really new to programming, but i'd really like to get into it. Where do I start? I've been taking "programming" classes at my high school but we really only get into basic Javascript/C#. Could you guys give me any good resources for continuing this? C#/C/C++ especially.Ugh.
I decided to learn Python. Idk why I haven't decided to use the official tutorial, I found some plain tutorial on Python online (I don't need theory on how stuff work, I know C already) and decided to go with that. It was okay until I noticed some flaws in site itself, then errors in code and finally this.FOSDEM 2018
The recordings from this year's FOSDEM are slowly being uploaded. There were so many interesting talks I don't even know where to start.Learning Programming
How do i get a complete understanding of computers and programming in general?Exploit Development
In binary exploitation, what level of knowledge should one have on the C programming language? In my case I am interested in windows exploitation, but on any level how much should one know?Spectre/Meltdown
So I was reading through the example code in the Spectre vulnerabilty paper and found this line here:/* Avoid jumps in case those tip off the branch predictor */x = ((j % 6) -1) & ~0xFFFF; /* Set x=FFF.FF0000 if j%6==0, else x=0 */
THE HARM OF FOSS ZEALOTRY
When people install any piece of software, proprietary or otherwise, they are doing so because they expect some utility from it. It adds something of value to their life. When you tell people to uninstall that same software, you are asking them to voluntarily remove that value from their life, often without an adequate replacement, whether you think so or not. There is no open source Adobe Photoshop. There is no open source Discord. There is no open source World of Warcraft.OS programming
This may sound like the classic newbie-wants-to-do-something-really-hard, but I've been trying to study OS programming, cuz I would like to create my own. This is mostly for hobby purposes and because I feel that, by learning OS programming, I will be tackling down a lot of Computer Sciences topics and applying that knowledge.Scala Thread
Have the best of both worlds. Construct elegant class hierarchies for maximum code reuse and extensibility, implement their behavior using higher-order functions. Or anything in-between.Wat do?
Just finished first semester of CS, my country doesn't seem to get it's soykaf together so I'lll have like 3 months off. What project could I start? I wanted to know more about backend web developing, as I found out that frontend is tedious af, but I don't really know where to start. Besides that, what does Lain think I should do? I'm really not that great at having ideas.Software Cracking
Anyone here written a software crack before?#/usr/bin/env python3import sysimport hashlibif len(sys.argv) != 2: exit("USAGE: {} path/to/sublime_text".format(sys.argv[0]))sf = open(sys.argv[1], "rb")sublime_bin = sf.read()sf.close()if hashlib.sha1(sublime_bin).hexdigest() != "536ca1f2ceee8746caeebad3af7acaad19cd42ea": exit("""\ERROR: hash mismatch.This crack is only intended for this version of sublime:https://download.sublimetext.com/sublime_text_3_build_3143_x64.tar.bz2If you want to try anyway, patch out this check at your own risk.""")print("""\ _____ _ _ ____ _ _____ __ __ ______ / ____| | | | _ \| | |_ _| \/ | ____|| (___ | | | | |_) | | | | | \ / | |__ \___ \| | | | _ <| | | | | |\/| | __| ____) | |__| | |_) | |____ _| |_| | | | |____ |_____/ \____/|____/|______|_____|_| |_|______| CRACKED BY KYNAR""")# Note: The function at 0x419468 checks the key. 1=VALIDprint("[+] Patching binary.")sublime_bin = sublime_bin.replace(b"\x89\xe8\x74\x4c", b"\xff\xc0\xeb\x4c")print("[+] Writing patch to disk.")sf = open(sys.argv[1], "wb")sf.write(sublime_bin)sf.close()print("[+] Done!")print("NOTE: In order to complete activation, either create the file ~/.config/sublime-text-3/Local/License.sublime_license, or simply attempt to activate with an invalid license.")
Python Growth
http://archive.is/NF4Wqelixir on the web
so have somewhat fallen for the elixir hype. written my way through 50-or-soSyntax Highlighting
What syntax highlighting theme does lain use and why? I personally enjoy the aesthetic of Monokai, but also its ubiquitous presence on programming websites even when there are very few options available. The one I am presently using is called dark-monokai and, as such, it is slightly darker than is typical.DeepSpec
https://deepspec.org/mainTest-Driven-Learning?
I had this idea and I wonder what do you think about it.programming typography
While I enjoy usingRoboto Mono
as a general purpose monospace typeface, while coding I much prefer to use Fira Code
. I don't use it for its added ligatures though; I turn those off. I use it because it has additional weights not present in Mozilla's official Fira Mono
font. I personally use the 'light' weight in my editor.Parsing Engins
I'm currently working on like a silly digital assistant that i started on a long time ago on my C64. #include <iostream> #include <string> #include <fstream> #include <cstdlib> #include <stdlib.h> #include <time.h> #include <unistd.h> using namespace std;/*||||||Functions Prototype Start||||||*//*||||||Functions Prototype End||||||*/ int main(){/*||||||Variables Start||||||*/ string mainContVar; int menu_return;/*||||||Variables End||||||*/ /*||||||Main Control Loop Start||||||*/ while(mainContVar != "Close" || mainContVar != "close") { cout << "H H OOO PPP EEE\n"; cout << "H H O O P P E \n"; cout << "HHHHH O O P P EE \n"; cout << "H H O O P E \n"; cout << "H H * OOO * P * EEE *\n\n" <<endl; cout << "Hello World! I am H.O.P.E.\n"; cout << "What can I do for you? "; cin >> mainContVar; if (mainContVar == "about" || mainContVar == "About") { cout << endl << "Well I'm H.O.P.E. I'm a digital assitant. Anymore than that and R0gU3 might be mad at me.\n" << endl; sleep(5); } else if (mainContVar == "hello" || mainContVar == "Hello") { cout << endl << "I already said hello...I mean sure it was to the whole world. But come on, what else you got?\n" << endl; sleep(5); } else if (mainContVar == "poop" || mainContVar == "Poop") { cout << endl << "Really man. Like is there really a point to that?\n" << endl; sleep(5); } system("cls"); system("clear"); }/*|||||Main Control Loop End||||||*/ return(0);}