[ Home ] [ wiz / dep / hob / lounge / jp / meta / games / music ] [ all ] [  Rules ] [  FAQ ] [  Search /  History ] [  Textboard ] [  Wiki ]

/hob/ - Hobbies

Video game related hobbies go on /games/
Password (For file deletion.)

  [Go to bottom]   [Catalog]   [Return]   [Archive]

File: 1514942759177.jpg (187.78 KB, 817x1000, 817:1000, 1511667641819.jpg) ImgOps iqdb

 No.41214[View All]

204 posts and 32 image replies omitted. Click reply to view.


By the way I'll come back here and admit failure if this goes no where. So far it's been interesting though


Okay, big update for you all. My merkle tree approach is working. I'll be able to move to integrating this part with the rest of the code. I'm very surprised that it actually works. I think I'll end up being the first person to solve this problem. this is crazy


I'm rooting for you wizzie.


Coding an emulator using the technical documents that are available. Planning on using C, Visual Studio and Win32. No external libraries.

I'm sure it will be completely redundant and nobody will use it but I can maybe add it to a portfolio. I have had enough of obsessing over the usefulness or lack thereof of my projects. It gets in the way of progress.

I hope I can someday make a game, too. Just gotta hang out code. Read books. Every day, no exceptions. Don't plan, just do. It's all about mileage.


Well said.
I need to stop being all talk no action.



Buy Colt Steele's Bootcamp on Udemy for £10 which will give you a brief overview of HTML & CSS, JS & more languages. But don't watch all of it, just do the first 4/5 sections which cover HTML and CSS (Dont begin Bootstrap yet). You wont be a pro but you'll understand the underlying principles of each. Then do Academind's 'CSS - The Complete Guide' which you can find on google / torrenting sites for free, or buy it if you prefer. This will give you a much more in depth understanding of CSS, as for HTML don't worry, you'll just pick up the rest as you go on. Once you've completed Academind's course you can return to Colt Steele's course and begin the following section which will be Bootstrap 4. Buy this point I'm sure you'll be confidently progressing in HTML & CSS and have a clear path to forward onto CSS frameworks and Javascript/Python.


File: 1588194682016.pdf (4.37 MB, Structure and Interpretati….pdf)

C is the most lindy programming language. This is a fact. Long after Python is in the dustbins like fortran or basic of this era, C will still be in use. C is king…. also much faster than Python.


Here is a free book. Never stop learning fellow technomages.


My brain is officially dead after reading this post. Ouch.


File: 1589053836730.jpg (36.54 KB, 480x360, 4:3, 1507667954577.jpg) ImgOps iqdb

Writing an FTP client and server without using existing FTP libraries.
Pretty fun so far, client has most of the basic functionality implemented but needs a lot of refactoring and more robust error handling.


DO NOT learn C from " Learn C the Hard Way". Sure you can learn C from it but its somewhat notorious for being structured very poorly for beginners.

Also a very beginner friendly read thats also quick (under 300 pages) and is a great starting point is "C Programming Absolute Beginner's Guide". Uploaded the latest edition in epub formet to mega if anyone wants.

Another one I'd very much recommend is "Modern C" which is a free, open source book. Is very well structured for beginners and intermediate alike, but is longer then the prior mentioned book.


I was wrong wiz. My merkle tree approach didn't work to stop the exponential set growth like I was hoping. I believe it's still an efficient method, but I jumped too quickly in declaring I had solved the problem.

I've now failed with 8 different algorithms over a period of 3+ months. That should be the end of it; I mean everyone whose ever tried to solve this problem has failed. I decided I would give it one last shot and try a new filtering approach. See, I had an intuition about a similar algorithm that was metaphorically like the same problem… so I decided to play around with the idea, thinking it was senseless even to me.

I made a few modifications to the algorithm to make it work with what I was trying to do (set reduction)… and that's where shit gets p wild… After almost no work it was many magnitudes more efficient than my merkle tree approach. It was GOOD, but after I ran the numbers and did some experiments it still didn't solve the exponential growth problem. That was until today…

I found a way to forge a weapon to strike through the entropy. As the sets grow larger and reach a certain threshold, I forge a new sword and strike down my target, slashing the sets back down to a manageable size. It might honestly be the most beautiful thing I've seen a computer do. wtf im CRYING… WTF Best of all – it takes up no special room in the final program.

At this point the algorithm is final, but my code for it isn't. What remains is merging in my experiment code into the reconstruction algorithm. I have proven that it works now. But I won't be satisfied until the full program runs as part of a working system in the real world. Something that I can point to with certainty and say 'this was impossible before, it's not any more.'


Still rooting for you then wizzie. Finish your code and publish the solution to this problem so others can use your solution!
You'll have contributed to humanity.


How do I run an imageboard?




try searchin textboard in your favourite search engine


I’m looking into creating a small imageboard as a personal project. What software would you recommend?


File: 1591098168311.jpeg (10 KB, 188x267, 188:267, 2tanaka.jpeg) ImgOps iqdb

It feels like 90% to 95% of the time I spend “coding” is actually spent “trying to figure out how to compile a project/library/simply get it to run in the environment” as opposed to actually writing and debugging code. Ironically, every project that tells me to use a program to satisfy all the build dependencies usually takes even longer just to get that program to run correctly, despite ‘in theory’ it should not.


I've only had that issue with C/C++ because it just doesn't have great tools that will work on every platform. Even experienced programmers are frustrated with that aspect of it.

Most modern programming languages have a package/dependency manager that handles downloading and versioning which makes it really easy to set up a dev environment i.e. npm, cargo, gem, pip and so on. The only time I have an issue with those is when the "library" is a just a wrapper around a C/C++ DLL and I get linking errors for whatever reason.


File: 1591643030365.png (565.54 KB, 1164x768, 97:64, good jesus.png) ImgOps iqdb

I just wanted to be a good programmer.


I have learned Java and Python and wanted to write a monitoring tool for myself. Monitoring my PC and browsing activities, that is.

Java apparently only exists in its own box and cannot interact with the machine. How do I interact with things happening outside of the "program window"


To clarify: yes you can interact with files outside of the program. I did as far: creating and changing files. But how to detect inputs and read out data form other software (eg which site I am browsing). hmm


Well, that's complex and depends on the operating system and applications. You can easily execute a system command to list out current running processes (ps on linux, tasklist on windows), but getting data from other applications is tricky when there isn't an API or they encrypt their data files.

For instance, to get browser history, you have to know where the browser stores that information. For Firefox and Chrome it's an SQLite database file (lookup the location online). It's readable with an SQLite library and some investigation of the table structures.


File: 1594141490600.png (573.34 KB, 748x966, 374:483, ClipboardImage.png) ImgOps iqdb

brother got an IT job and emailed me a book for learning powershell. doubt im gonna read it but maybe someone else can use it. i would attach it directly but it's 42MB. https://gofile.io/d/fe9ctH


File: 1594191258982.jpg (171.72 KB, 1000x1239, 1000:1239, average perl programmer.jpg) ImgOps iqdb

perl is so cool.
joe camel is cool.
perl sounds like pearl. thats like expensive.
larry wall is a cool looking dude. hes like a rms that trims his beard.
perl used to be known as the glue that holds the internet together. then boring php and js came.
state of the onion sounds cool, like an intelligence brief.
"perl monks" sounds cool. its just like "the knights of lambda" in coolness.
and camels were the best in aoe2. they could beat knights.
i think its better than python or c or scheme as a language for newbies. "print "hello world"" is a full and valid perl program. its good at manipulating text, automating stuff, some web stuff, piecing programs together. its like bash on ritalin. perfect for people new to this.
perl books have cool names. like "The Camel Book". and "High Order Perl", that one sounds sophisticated. compare that to automate the boring stuff with python which has boring in its name.
pythons name is based on a boring english tv comedy show. might as well make a mr bean programming language. its used by people who see computers as only a means to an end.
perl can be obfuscated. python obfuscation? pfft.
i think everyone should start with bash, then perl, c++, c and assembly. it looks like theyre all that you need to get real stuff done. then if computing isnt just a means to an end you can read about APL, Prolog, scheme.


is this the superautism i keep hearing about?


>pythons name is based on a boring english tv comedy show. might as well make a mr bean programming language.


anyone know a program for 'unreflecting' or correcting reflections. assuming you know the exact geometry of an object's reflection that is being recorded, like a reflective sphere for example


What's an imageboard to demonstrate a scraper on that is palatable to normalfags? I only ever use anime imageboards so I don't know of anything else.


Honestly 420chan might be your best bet. Drug use is seen as progressive by some.


if you can limit the scraper to a section of an imageboard, the papercraft board of 4chan is pretty innocent


File: 1594618341044.jpg (20.81 KB, 748x710, 374:355, SCR_ 2020-07-13, 00_27_50.jpg) ImgOps iqdb

I wanted to learn Laravel and hone up my frontend coding skills so I'm recreating the Sublime Text interface as a dynamic personal website thing. I just didn't know what else to do.


File: 1594766786569-0.png (5.68 KB, 374x375, 374:375, ClipboardImage.png) ImgOps iqdb

File: 1594766786569-1.png (102.3 KB, 177x285, 59:95, ClipboardImage.png) ImgOps iqdb

need to connect these together to make a dungeon


File: 1595038081968-0.png (33.83 KB, 778x914, 389:457, ClipboardImage.png) ImgOps iqdb

File: 1595038081968-1.png (31.97 KB, 778x914, 389:457, ClipboardImage.png) ImgOps iqdb

File: 1595038081968-2.png (34.51 KB, 778x914, 389:457, ClipboardImage.png) ImgOps iqdb

took longer than i expected. some things aren't going as planned, like the second room sometimes doesn't connect with the first room and this can lead to two 'halves' of the map that don't ever join up

i already have ideas for improving it, in particular reducing the hallway lengths, and adding dead ends. im content for now though


Like in everything programming - there are ready algorithms for that, and they're probably more effective than what you'll produce by yourself. Use one of those.


you're right, but i'm not intelligent enough to understand them. it's also not fun just mindlessly implementing someone else's creation. it's not like this is my job i can afford to have fun and come up with my own ideas


I know right? Why try learning to do anything when you could just have money and do it the proprietary way with a team of college trained graphic artists?


File: 1595378154850.mp4 (49.06 KB, 1480x832, 185:104, g51.mp4) ImgOps iqdb

well i got it to work perfectly. but slapping on code for making dead ends reintroduced the disconnected rooms problem. so it isn't perfect anymore but still kind of cool


Anyone coding MQL5 here?


No, but I once tried to learn it. I did an extremely simple EA that was profitable in backtesting in two certain years (I can't recall which ones).
Have you done an EA?


File: 1596091317397.jpg (9.15 KB, 163x171, 163:171, 1547528563774.jpg) ImgOps iqdb

this dude might be the most retarded person i've ever seen lol… ah yes programming, the cultural artform of america that's functionally equivalent to calvinism… programming, an entire field of study in which all the subject matter is a mere facade, amd where, beyond syntax, there's nothing more to be known… it's not like there are overarching abstract concepts that permeate the actual syntax, like computational complexity, data structures, algorithms, and design methodologies and not to mention plain old engineering techniques that apply to software… no, none of these exist… and it's not like programming, as a form of activity, is directly corespondent to a linguistic theory about logical syntax and analysis developed by alonzo church which had implications beyond mere charlatanry in birthing programming as an activity… much like how the financial revolution, being largely theoretical and economics-concerned, birthed industrial society and all its tedious tasks that in reality aren't any different from that of programming as they share the same relation to their correspondent theoretical basis… no this can't possibly be the case it must be some cultural resurrection of calvinism…


Agreed. Though there's a HUGE learning curve. One that most people can't get over. It's INSANELY easy to get started. There's just so many fucking mental blocks to getting there. It's fucking boring as well. This is the same with any other industry if you learn enough. It all feels like one big scam. That's 'cause people put money on a big-ass pedestal. Money doesn't mean anything other than an exchange of value. Value is measured by attention. That's why following your passions works out and people say it's "luck." Because it felt effortless.


different things work for different people


>The problem with programming is that there is nothing to learn.

Programming is a tool, just like a pencil. While it might take some trivial amount of time to hold a pencil, the amount of things that you can learn to express with it is infinite. Talking only about "programming" doesn't make sense after the fundamentals, it's always about what you're trying to build and express through computation. Some of that is being able to express stuff through algorithms, but most of the time it's about integrating various independent systems into a coherent whole. Yes, you're rarely building stuff from scratch (unless you want to), but I think that's a good thing because it increases people's ability to express things with less code - like using Unity to build their shitty indie game or communicating with their fridge with some javascript library. You'll unlikely be able to write an operating system from scratch but you can take various individual parts of the system and integrate into something new - which is why there's a gazillion linux distros that come out every week. The point is that the rising tide lifts all ships and using other people's solutions that were built on top of other people's solutions only creates more freedom and increases what you can express computationally (it's crazy what you can put together in a weekend).

I'd have to agree about programming jobs though, especially in big companies. Working at FAANG companies is usually every CS graduates dream job, but they are increasingly soul-crushing places because of the sheer size and number of employees. You pass their meme interview by memorizing all the interview problems on the Internet and then you join some small team, building some minuscule part of some Google's pet project website, you get your code reviewed by some Tech lead and then you go eat avocado toast before some tranny holds a meeting about notifying everyone xe changed xis pronouns again.


More specifically the nth element of an array is located at the address of the first element + (n * size of type) with indices starting at zero (obviously).


File: 1596298413226.jpg (183.54 KB, 510x620, 51:62, reisen_kaguya_comfy.jpg) ImgOps iqdb

>an entire field of study in which all the subject matter is a mere facade, amd where, beyond syntax, there's nothing more to be known… it's not like there are overarching abstract concepts that permeate the actual syntax, like computational complexity, data structures, algorithms, and design methodologies and not to mention plain old engineering techniques that apply to software
Syntax itself isn't involved in those problems. Take a series of buckets, some containing a rock and some not, sorting those rocks in the minimum number of operations doesn't involve the syntax used to express that problem. Which series of high-level syntactic constructs resolve to which series of operations is a different problem.

>it's not like programming, as a form of activity, is directly corespondent to a linguistic theory about logical syntax and analysis developed by alonzo church which had implications beyond mere charlatanry in birthing programming as an activity

Most people don't write in logically coherent programming languages, though. Most people write in programming languages descended from assembler macros, e.g. while loops, assignment, etc, which is just an ad-hoc and pragmatic way to get things done.


would any of you like to work on a programming project together?


Yeah. What is your IRC room? We can colab in there. Any other means of communication is bunk.


File: 1596690988172.png (25.16 KB, 144x161, 144:161, KtFrnmc.png) ImgOps iqdb

i don't have one. i'd be willing to use irc though


ok finally made one. join ##TrueWiz on freenode


Yeah, what kinda project would you like to do?

[View All]
[Go to top] [Catalog] [Return][Post a Reply]
Delete Post [ ]
[ Home ] [ wiz / dep / hob / lounge / jp / meta / games / music ] [ all ] [  Rules ] [  FAQ ] [  Search /  History ] [  Textboard ] [  Wiki ]