No.36
So, what have you been working on?
I just finished my Golang wallpaper generator:
https://git.teknik.io/prometheus/random_procedureIm really happy with the result, which you can see in pic related
Another question:
Where do you prefer to upload/host/share your code?
I use gitla.in and git.teknik.io
No.62
Both of these are extremely cool.
No.741
Lains, tell me more about projects you've had fun with.
Like yeah programming is kind of cool to do, when I have to do it, but I rarely hear of ppl programming stuff for fun, you know just stupid or useful stuff that you do because it's fun, rather than useful.
No.746
>>741I wrote a program that
takes a function defined between 1 and pi/2
extends it to all real numbers so that it commutes with sine.
Functions that commute with sine are determined by their values from 1 to pi/2,
so you can get any such function this way.
No.789
i have a bunch of old projects on hard-drive that i want to put to github, can i make the git repo use the timestamps of the files instead of current time?
No.790
>>789Not that I'm aware of. Commit time is usually more important, so that gets logged.
Just add the original date of your project in the readme.
No.901
I am very new to programming. I started learning python and decided to put my projects on github:
https://github.com/cenysorI made a program to display animated ASCII art. It would be great to see something like this integrated into a message board.
I also made a program to merge multiple images. Picture related.
And I made a program to give a random quote from a subtitles file. I use this for my IRC-bot to give random quotes from SEL.
Critique and comments welcome!
No.902
Hey, very nice! thnks for sharing!
No.903
Been working on this chat system. It's like some sort of irc but with live media, images, videos, music, which can be changed. It features a permissions system and a lot of aesthetic customization. Rooms can be created by users, which can administered through some settings. Right now, current lines-of-code length is a bit over 15 thousand. Started working on it around this time last year. Been working on it on and off. Made some other stuff in between.
Here's some small video sample of how it looks:
https://dl.dropboxusercontent.com/s/ynxsetmorvqabpe/2017-12-09_20-10-49.mp4Link:
https://hue.merkoba.com/ No.999
>>901I like the image merging one, very cool.
No.1000
>>903I wish you didn't have to register
No.1003
>>1000yeah would definitely appreciate atleast having a demo account
No.1004
I'm a Mechatronics Major, Freshmen. And I'm looking for a project to keep myself occupied. I want to do something related to my field, so IoT, Robotics, automation, etc would be great.
No.1022
Right now I'm working on a pair of command line apps that calculate the stats for pokemon. The first program is written in golang, it pulls json data about the pokemon from pokeapi.co and puts it into a sqlite3 database, then will return the json data to stdout un modified or will simplify the data into a smaller json that the second program can parse.
The second program is written in C and does the actual calculation. Takes json from stdout (or as an argument / from a file) and with options to the program you specify nature, level, EVs and IVs. Calculates the stats, and will output the final calculated pokemon's stats, or will output in a format that can be imported into pokemonshowdown (A popular web based pokemon battle simulator).
I'm using
https://github.com/zserge/jsmn for parsing json in C. It's really fucking cool, you should check it out.
typical usage would look like this
pokepull -sn garchomp | pokecalc -s nature,adamant -s attack,252 -s speed,252
Since I only specified attack and speed stats, those are the only two stats that will be in the output. Additional options exist to ask for every stat, and to output in different formats. IV's default to 31.
No.1028
>>1027What makes it painful? Is the problem with Lua, Love2D or something else?
No.1039
I'm learning new language and I want to write program in C or C++ that takes pairs of words I've learned and their english translations and shows me one part of pair to complete(translate) chosen randomly from all pairs. But I don't know how to efficiently store this set of pairs (basically dictionary) so I can expand it after each class. Writing it in two columns in text file seams like a really bad idea.
Other important features I want to implement are
- tag system (like animals, sports, electronic devices etc.) to create theme based tests
- weight system that displays certain words in set more frequently if I wrote bad translation.
For now I'm still thinking about how this system should look like and what to do first so any suggestion will be appreciated.
No.1040
>>1039> Writing it in two columns in text file seams like a really bad idea. How so? It should work fine.
No.1041
>>1040Hmm, maybe. I was thinking about saving each pair in separate file with file name being number of pair in whole set. I wanted to add pairs in program too but operating on single file with strict formating should be easier with any text editor, or by simply appending new pair from program to file. Guess I was just complicating easy things.
Thanks Lain.
No.1419
A game I've always wanted to make but each time fell short on knowledge and resources. Finally have enough to build it. It's an open world story book where not all of the story elements happen in the same order and sometimes completely unique ones can pop up where the game generates it's own small arcs based on a fragment pool. This being a more of a book than just reular RPG has been the main issue as with side "quests" there had to be sufficient detail for it to look as if it were prewritten.
To avoid boiler work (or at least push it back) the game currently runs in a browser (language I use comes with multiple codegens) but will eventually switch to native.
Currently written:
- local state and reactive programming library making use of the arrow interface
- music composition and generation based on the above
- WebGL bindings along with DOM manipulation for Idris
In progress:
- SAT solver (currently slow)
Next:
- full SMT solver for constraint based UI (no menus currently…)
- optimization tactics for the AFRP library (we have reflection so use it)
- Narrative generation via linear logic
- Web audio
- GLFW, OpenGL, OpenAL, and general native bindings
Also lack of actual images of it runnng… kind of broke rendering and haven't gotten around to fixing it.
We'll see how it goes, maybe 15th attempt is the charm
No.1421
>>903>>1042Good job, anon!
I need to try this.
No.1422
god this place is dead
No.1424
I got an idea for this one from endchan's /tech/.
There was a thread about possibly making a terminal imageboard browser, and since no one really wanted to do anything, I decided to make one.
It's called tibb and by now it supports 8ch, endchan, applechan and (since yesterday) arisu.
You can not only browse threads, but also view images with w3m and anonymize your traffic with a socks5 proxy like Tor.
It's not complete tho, there is still some stuff to be done (like posting support
when I'll finally figure out how it works).
https://gitgud.io/fixerb/tibb No.1434
>>1419Where can I see the code?
No.1435
>>45And I build mountains
in Haskell, but the code is a shame.
No.1485
I've been working on a personal website, and an Icecast streaming client for internet radio. Planning on adding a song/artist directory and voting interface.
https://vxhvx.com/ critiques are welcome
No.1489
>>741I usually program the things that I need, when I need them. But my needs are never serious, thus I have a lot of fun making things. One of the most recent examples is a short script to remove encoded subtitles from video files, this came about when I downloaded a bunch of Seinfeld episodes that had unneeded subtitles.
Though I am currently having a blast with my current project: a shell script, (might port to C / Python later) that can remotely access someone's webcam through SSH.
No.1492
>>36I find "metamorphic/polymorphic" code really interesting so I've been tinkering with some ideas for generators / engines in C and Go.
Nothing crazy, but more than just XOR.
No.1493
>>1492sounds cool.
could you give some more info/exmples?
No.1495
>>1492Hey I wrote a very simple library to facilitate self modification in C (linux) and now I'm writing a custom VM to allow meta and polymorphic code to run without restrictions, if you wanna talk about this add me on discord Solanav#7326
No.1496
>>901Damn! that all sounds awesome your link is bringing up a 404 unfortunately though.
No.1497
>>36I'm almost done with my OOP-JS Minesweeper using the canvas.
Just something to keep me busy while I also try to read and catch up on new stuff.
One thing I realized, is that though I may be familiar with multiple languages: Python, JS, PHP, C#, I have been reliant on the internet for 'quick lookups' on functions/methods.
I realized that when my internet connection has been cut off.
I've since started downloading the documentation for these languages that I don't have.
No.1603
>>1424That looks really cool
No.1604
>>36>gitla.inDamned, it's out of service. Just when I thought that this was the best timeline. Are there any other lain-dedicated platforms out there?
No.1635
I've been working on a social media site for about 6 months. Any feedback would be awesome, feel free to create an account
here's a cyberpunk profile:
https://tiblar.com/neuromancer/main site:
https://tiblar.com.
No.1636
>>1635Make it muh free software and I might use it.
No.1639
>>1635This looks great, please publish the code.