[ / / / / / / / / / / / / / ] [ dir / animu / asmr / rel / strek / sw / travis2k / vore / zoo ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Name
Email
Subject
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): 2953619240b9b04⋯.jpg (101.79 KB, 640x570, 64:57, 3200.jpg) (h) (u)

[–]

 No.884818>>885008 >>885826 >>887311 >>887736 [Watch Thread][Show All Posts]

who wants to late night drunk code

 No.884821>>884826 >>884832 >>886988

I am not old enough to drink alcoholic beverages.


 No.884826>>887736

>>884821

niether am i faggot


 No.884832>>884833

>>884821

Show us your boypussy


 No.884833>>884834 >>887736

>>884832

but what about code

its what i made this thread for


 No.884834>>884836

>>884833

You can code AND cock.


 No.884836>>887736

>>884834

but can we code cocks

i think not

unless we get a 3d printers that prints biological matter


 No.884842>>887736

fuck it, i lost my buzz

you guys are low energy as fuck


 No.884881

What system are you programming for? We doing 32 bit x86?


 No.884885>>886991 >>887736

i was thinking straight c

lets do something demoscene-ish

been itching to do something graphical


 No.885008>>885284

>>884818 (OP)

did you steal that from a display shelf


 No.885012

did we get a logo done or not


 No.885030>>885283 >>885360

File (hide): 2a892e7c3440758⋯.mp4 (256.97 KB, 338x500, 169:250, out.mp4) (h) (u) [play once] [loop]

Confirmed drunk. (On cheap sherry.)


 No.885031

Well, looks neat


 No.885283>>887736

>>885030

excellent work anon, youve inspired me to break out my proto board


 No.885284>>887736

>>885008

no, google images

i actually used to have this same model, i got it out of a thrift store in PA for $20


 No.885360>>885416 >>887736

>>885030

>>>885284

>>>885030

>https://www.parallax.com/product/32912

>currently turning this into bootleg music player

>got it for $15 right before the local radioshack went out of business


 No.885416>>885470 >>887736

>>885360

well now i know why it was $15, the audio jack is fucked and wont play music

gg rip


 No.885470>>885798

>>885416

Time to heat up your soldering iron then.


 No.885798>>885801 >>887736

>>885470

well i did everything the guide says to do, the audio is in 32khz mono 16bit PCM yada yada yada etc

and then i use wav_playing() to check that the music actually got loaded off the sd card

and then i played music from my pc to make sure my speakers were working

and then i looked carefully at the audio jack

there dont appear to be any loose connections or fucked solder

so i honestly have no fucking clue what the issue is

fucked DAC?


 No.885801>>887736

>>885798

but no, the dac is labeled and it looks fine


 No.885826

>>884818 (OP)

Gas Plasma screen masterrace


 No.886988>>887013

File (hide): c2af11caed5e2cd⋯.jpg (1.57 MB, 2576x1932, 4:3, 20180322_192347.jpg) (h) (u)

>>884821

Same boat. found some molson dry in the backlane on my way home from highschool though. i hope it's enough to take effect.


 No.886991>>887015 >>887016 >>887740

File (hide): e141f5d7a2b40f7⋯.png (41.27 KB, 640x407, 640:407, rc4.png) (h) (u)

>>884885

I'd be up for something in C even if I'm not a big fan of it.

Not a big fan of graphics either but I could do some basic raster graphics or just work in the backend ig.

Reverse engineering, cracking or interesting challenges would be fun too.

pic related was pretty fun and easy


 No.887008>>887013

Damn the beers really kicked in. time to go to bed.


 No.887013>>887334 >>887736

>>886988

>>887008

m8

assuming those are 12 ounce cans

thats only 48 ozs

fucking lightweight


 No.887015>>887021 >>887736

>>886991

forth is pretty cool

still learning though, i have a pdf of an old book called "starting forth", the guy who wrote it have an amazing teaching style


 No.887016>>887021 >>887736

>>886991

i wanted to do a voxel engine but the math is crazy

3d raycasting and super compact voxel data structures and all sorts of shit


 No.887021>>887028 >>887740

File (hide): 202eed3a3a05f3a⋯.png (25.66 KB, 638x166, 319:83, sierpinski.png) (h) (u)

>>887015

Yeah, it's pretty enjoyable to program with.

https://www.forth.com/starting-forth/ try that instead of the book ;)

pic related, something I'm working on rn (doesn't work for certain sizes)

I actually wrote most of it straight off the bat instead of doing it interactively like maybe I should have, oh well.

>>887016

You have that business card sized ray casting engine in C. I saw a dissection of it somewhere.

Would be cool to have anons re-implement it from that dissection in C or whatever language they want.


 No.887028>>887032 >>887736

>>887021

its right here, source code and everything: http://advsys.net/ken/voxlap.htm

tried to dissect the c version but theres a fuckton of inline asm and insane maths with no explanations

still working on comprehending the toy example in QBASIC

also, thats the same book im reading :)


 No.887032>>887045 >>887740

File (hide): dc5277326348faa⋯.png (7.57 KB, 255x172, 255:172, turbo-libre.png) (h) (u)

>>887028

O only skimmed through that link, but I was talking about this: http://fabiensanglard.net/rayTracing_back_of_business_card/

Maybe we should write a good description of it and have anon's implement it.

And yeah, I just thought the website might be more practical ;)


 No.887045>>887047 >>887736

>>887032

im fully erect

god bless you anon


 No.887047>>887050 >>887740

File (hide): f4725c3e1913449⋯.jpg (231.78 KB, 686x1130, 343:565, fig-forth.jpg) (h) (u)

>>887045

w-why?!


 No.887050>>887054 >>887736

>>887047

i just transitioned to technosexual


 No.887054>>887058 >>887740

File (hide): 7a793cfa2ac9112⋯.jpg (16.53 KB, 480x163, 480:163, libre.jpg) (h) (u)

>>887050

Well, if you're talking about the pic I posted, then it was inspired by this one posted in the lainchan forth thread.

A guy in my forth discord server optimized the

 r> swap >r >r 
by doing
 r> 2>r 
instead and the opposite for the other piece of code.

If you're talking about the link I posted, then yeah, it's pretty fucking crazy shit. That kind of stuff should be way more popular tbh. Maybe we wouldn't have so many soydevs if it was :/


 No.887058>>887061 >>887736

>>887054

i actually was talking about the link yeah

but the forth is great too, is that the start of a lisp interpreter?


 No.887061>>887065 >>887740

File (hide): b3b3b34f0fca744⋯.jpg (50.28 KB, 640x750, 64:75, stack-vs-gf.jpg) (h) (u)

>>887058

It's a """full""" lisp interpreter in a sense.

It just pushes the execution token of the word after ( and then pops it and executes it when ) is called.

It allows you to use s-expressions/Lisp syntax in Forth.

And yeah, I need to do some shit with the Netpbm formats, they're a god send.


 No.887065>>887066 >>887275

>>887061

Fuck netpbm, use farbfeld.


 No.887066>>887067 >>887069 >>887084 >>887740

File (hide): aed8fc124349c2a⋯.png (690.34 KB, 1172x965, 1172:965, enbies.png) (h) (u)

>>887065

Looks slightly harder to work it but superior in all other aspects, thanks anon.


 No.887067>>887074 >>887275

>>887066

It's pretty easy to work with, x/y pixels is just math on dimensions, I'd write a gforth/retro implementation but I'm writing a Punyforth driver for the VL53L0X for university at the moment (due in a couple hours)


 No.887069>>887074 >>887736

>>887066

>preferred pronoun: it

HRNNNNNNNNNNG

lets not derail this into a fag hate thread, keep coding well, fizzbuzzing


 No.887074>>887077 >>887086 >>887740

File (hide): 2f3952d4c27d0c4⋯.png (47.84 KB, 602x303, 602:303, Ctraps1.png) (h) (u)

>>887067

Shit, sounds fun. I really need to get a Forth running on my arduino.

I'll see about doing some stuff with farbfeld and Forth tomorrow.

>>887069

>t. didn't post a single line of code


 No.887077>>887205 >>887736

File (hide): bebaa2e19c25878⋯.png (86.05 KB, 985x877, 985:877, loopy.png) (h) (u)

>>887074

>t. didn't post a single line of code

UNTIL NOW


 No.887084

>>887066

What the fuck is wrong with people, jesus christ


 No.887086>>887102

>>887074

What's wrong with pointers?


 No.887102>>887104 >>887736

>>887086

theyre unsafe anon

smoke rust instead


 No.887104>>887131

File (hide): f362e9b7e0d7a95⋯.gif (885.47 KB, 175x144, 175:144, who_gives_a_shit.gif) (h) (u)

>>887102

unsafe?


 No.887131>>887134 >>887736

>>887104

yes, rust will handle all that "memory management" and "variable referencing" stuff for you anon

its called humor


 No.887134

>>887131

Ok. If that's your brand of humor.


 No.887205>>887610 >>887740

File (hide): 59111995f8c1be8⋯.png (404.89 KB, 1080x1080, 1:1, thinking.png) (h) (u)

>>887077

>complains we're just "fizzbuzzing"

>posts only part of his shitty fizzbuzz code that he wrote on a M$ IDE

next level bait mate


 No.887275>>887285 >>887364 >>887740

File (hide): e9f99ab35c6d1e8⋯.png (19.22 KB, 640x197, 640:197, farbfeld.png) (h) (u)

>>887065

>>887067

farbfeld is pretty cool, thanks.

What were you looking to do with it?


 No.887285>>887740

File (hide): f06200b6658cc66⋯.png (19.39 KB, 645x200, 129:40, farbfeld.png) (h) (u)

>>887275

>tfw you forget to invert the channels because of the stack


 No.887311>>887694

>>884818 (OP)

I've one of these, the gas plasma screen's really neat. The plastic has become very brittle over the years, though.


 No.887334>>887616 >>887622

>>887013

>ounce

Found the american. enjoy your 4% nigga


 No.887364>>887740

File (hide): 63425380d61952a⋯.png (44.24 KB, 669x392, 669:392, ffsierpinski.png) (h) (u)

File (hide): 399e7690b30614d⋯.png (696.23 KB, 10000x5000, 2:1, test.png) (h) (u)


 No.887610>>887619 >>887736

>>887205

been using devcpp since i started coding, im just comfortable with it

tried a whole bunch of other text editors, gui and cli, all of them were missing some feature that i had grown used to (bracket autocomplete, variable monitoring while debugging, ctrl-click to find function header or class dec, etc)

and sure i could be autist and write scripts to implement missing functionality but why bother when i already use ide that Just Werkz™

also, not complaining, its called a joke you dense faggot

and the code is the solution to a problem someone posted on lainchan, which is supposedly a google interview challenge

inb4 lainchan rant


 No.887616>>887736

>>887334

I will, the beer is less expensive

$0.75 a can m8


 No.887619>>887623 >>887625 >>887740

File (hide): a96f740182f16c6⋯.gif (381.85 KB, 494x335, 494:335, forth.gif) (h) (u)

>>887610

Sounds like you need vim/neovim with some plugins and a decent debugger then fam.

Yeah ik, that's why I called it bait kek.

That problem is actually pretty interesting, simple because of how unfit it is to regular programming logic/control structures. Not sure how useful of a test it is tho.

I've mentioned lainchan in this thread before, you're fine


 No.887621

>drunk programming

Fuck yeah, mah anon.

I am working on a damn IRC client for damn months now. All I got working was an IRC v3.2 compliant parser, but no actual UI for users to work with and use.


 No.887622>>887736

>>887334

http://www.thebeerstore.ca/beers/molson-dry

>$2.15

>enjoy paying 86% more for only 31% more alcohol


 No.887623>>887742 >>887743

>>887619

Dude, can I use this Forth programming to wreck my G3? I know it's OpenFirmware is Forth based, and I've gone into it to load weird bootloaders, but I've never programmed for it. If I study Forth, can I write a firmware for a PCI video card and get some sweet hardware graphics acceleration beyond the ATI Rage 128 pre-installed?


 No.887625>>887628 >>887736

>>887619

ive tried vim on several occasions

could never get the feel for switching back and forth between modes and using commands to move the cursor

i know its supposed to improve productivity or whatever by keeping you away from the mouse but i cant get accustomed to it


 No.887628>>887631

File (hide): 3cdb2d31038727a⋯.jpg (224.91 KB, 858x1669, 858:1669, 3cdb2d31038727ac9595272e19….jpg) (h) (u)

>>887625

You are stuck within the GUI world mah anon. Get rid of that mentality. Text, keyboard commands and movement, direct control: these are what you need anon to excel in this world.


 No.887631>>887634 >>887637 >>887736

>>887628

well i guess ill give it another go

however, the real question is emacs?


 No.887634>>887636

>>887631

>emacs

Why do you need it? Does it really enhance your productivity beyond other IDE's or even a simple text editor?


 No.887636>>887649 >>887736

>>887634

idk

anons were shilling it hard a while back

"its literally an operating system, youll never use any other software ever again!"


 No.887637>>887639 >>887740

File (hide): 244b9aa0a65006d⋯.gif (73.57 KB, 1267x972, 1267:972, forths.gif) (h) (u)

>>887631

I originally used Emacs because I was a lisper and having your whole programming environment in an extremely powerful Lisp VM is pretty fucking comfy but man is it bloated.

After watching a few youtube videos on vim (no bully) I decided to make the switch to vim+tmux and it's fucking great. It's way closer to the Unix way and really pushes you towards learning your terminal and system in general (I recommend zsh if you're lazy btw).

Here's one of those videos btw: https://www.youtube.com/watch?v=wlR5gYd6um0

I recommend watching a few before diving into it, just so you know at least the basic idea behind vim. It's really quite simple and much more suited to humans than Emacs and many other bloated IDE's.


 No.887639>>887643 >>887736

>>887637

how i would i rig vim so f11 compiles and runs the current file with g++

ive grown really attached to that feature


 No.887643>>887648 >>887740

File (hide): acfb06cf59d8281⋯.jpg (38.27 KB, 653x434, 653:434, c-code.jpg) (h) (u)

>>887639

I use a plugin that allows me to run a command on another tmux window with just a press of a sequence or a hotkey.

When I start working on a project, I press a sequence, I input the command I want to run and then press enter. It runs it and saves it. Then, all I have to do is press another sequence/hotkey and it'll automatically run that command.

This allows me to use just one plugin for pretty much any project I want. It could be a simple fizzbuzz in Forth, it could be some C or it could even be writing code for the kernel and compiling it, and all of that with just one plugin.

Not only that, but this plugin also lets me seamlessly transition between Vim and Tmux windows. This is basically the only plugin I really need, the rest I rarely use.

Getting shit initially setup (vim, tmux and zsh) is really the hardest part, so feel free to mish and mash configs you see online, that's what I did. All my configs are based on other people's configs.


 No.887648>>887654

File (hide): 585c2441617aeb9⋯.jpg (507.25 KB, 900x600, 3:2, netcafe002.jpg) (h) (u)

>>887643

ok thats cool then

also one more thing

how badly does a VM degrade performance

i happen to be hedonistic individual with a predilection for vidya, so i still use windows

and i actually dont give a fuck about insecurity; all i have is code, pron, and memes, so if the nsa wants to browse, thats fine with me unless they copy and upload those embarrassing photos of me at the christmas party


 No.887649>>887652

>>887636

If anons are shilling it, you know to stay away.


 No.887652>>887659 >>887736

>>887649

just like infinity next


 No.887654>>887656 >>887740

File (hide): 95f847be344aaaf⋯.jpg (29.8 KB, 653x434, 653:434, homo-cartoons.jpg) (h) (u)

>>887648

Not sure, never used Linux on a vm.

Learning Linux, vim, tmux and zsh/bash all at the same time is probably way too much anyways tbh. I'd recommend you dualboot Linux and just use Emacs to start off with (it's easier for beginners) or, if you're really set on being a gaymerfag forever and are too scared to dualboot, a vm running Linux (the lag might be too much tho).

I'd highly recommend running Linux only, no dualbooting or VM crap, just so you force yourself to do everything in it and don't run away when it gets too hard. That's how I and most people really got started with it.

If all you're using Windows for is gaymes then Linux will probably be a good way to great out of it (although you can certainly do some light gaming in Linux now a days), it was for me and while it wasn't easy, I'm very glad I did it. I'd probably be a /vg/ soyboy by now if I hadn't done it tbqfh.

pic related, vidya is a jewish trick


 No.887656>>887662 >>887688 >>887736

>>887654

ive used linux before, im just too lazy to setup dualboot right now

actually that has me thinking, would there be any way to hotswap OS's? like literally just save state of one OS and load state of another? that would be awesome if even remotely possible

and vidya is just fun game, idk why people here are allergic


 No.887659>>887665 >>887688

File (hide): c43b221503b9e67⋯.gif (3.65 MB, 400x224, 25:14, wut.gif) (h) (u)


 No.887662>>887684 >>887740

File (hide): 39ff69e020c015b⋯.jpg (25.19 KB, 480x360, 4:3, gcc1.jpg) (h) (u)

>>887656

I THINK I might have heard of people doing that kind of stuff once or twice, might be just my imagination tho, not sure.

We don't hate vidya, we just wish we would have grown out of it earlier ig. It's a great way to get into tech and even programming, but it's hard to move on from it, especially now a days.


 No.887665>>887666 >>887671 >>887736

>>887659

seriously though

wouldnt it be cool to have some way to save the cpu state (cache, registers, etc) to memory and load the state of another

literally have an operating system to manage operating systems like programs

what kind of hardware support would be necessary


 No.887666>>887686 >>887740

File (hide): 2c712fb294721ce⋯.png (9.26 KB, 201x250, 201:250, soy.png) (h) (u)

>>887665

Yeah... you're making it cancer now.


 No.887671

>>887665

Software can do that right now. Hardware...you will need direct memory access and other peripheries. It's not impossible anon.


 No.887684>>887702 >>887736

>>887662

yeah, i started with blitzbasic cause i wanted to make vidya, and then i started to get into doing demoscenish type stuff, and then just started learning general CS

wrote my own emulator last month, a few games are still incompatible but im proud nontheless :)


 No.887686>>887689 >>887702 >>887736

>>887666

how so, you fucking faggot

literally could swap between wangblows, loonix, and fagOS on the same pc at the press of a button without rebooting or vm


 No.887688>>887736

>>887659

oh, i thought you were talking about: >>887656

do you not remember when hotwheels tried to "upgrade" 8chan?


 No.887689>>887697

>>887686

You can kind of do this already, it's called a hypervisor, for example Xen


 No.887694>>887736

>>887311

the floppy drive was fucked on mine


 No.887697>>887700 >>887702 >>887736

>>887689

>type 1

>mfw i did not know about this previously


 No.887700>>887701 >>887702

>>887697

Well to be fair it's not super practical. I looked into it once for muh gaymen, but long story short because of discrete GPU PCI initialization windows would have to use a separate monitor. Nice to not have to reboot, but not if I lose a dedicated monitor.


 No.887701>>887709 >>887736

>>887700

but doesnt that let you play windows vidya on one screen and code on linux on another, off the same pc?


 No.887702>>887706 >>887740

File (hide): f73ac085a4e91d3⋯.gif (42.51 KB, 500x666, 250:333, life.gif) (h) (u)

>>887684

Good for you anon, I wish I had gotten into the demo scene, it's some pretty fucking nice shit.

What hardware were you emulating? Implementing a machine is always a comfy way to grok it

>>887686

It's fucking bloated af and unnecessary.

The guys that implemented that shit in software must have been a very rare combination of genius and crazy.

>>887697

>>887700

I'd be interested in seeing where this could go if we somehow got it to run in the Intel ME or something like that.

I don't have a use for it tho.


 No.887706>>887715 >>887736

File (hide): 2a39b3509daf30c⋯.png (35.39 KB, 351x832, 27:64, hrnnnnng.png) (h) (u)

>>887702

i did i regular ol beginners chip8

was extremely rewarding to see it work when i finished, am now working on gameboy emulator


 No.887709>>887714 >>887715

>>887701

Yeah it sounds good in theory and I still kind of have an itch to do it, I'm just too lazy between the hassle of setting up video and keyboard/mouse switching. If I had enough desk space for 4 monitors I'd do it, but I've grown accustomed to coding with 3 monitors lol


 No.887714>>887718 >>887724 >>887736

File (hide): d7f12b579a46976⋯.jpg (1.25 MB, 3264x2448, 4:3, IMG_1386[1].JPG) (h) (u)

>>887709

i dont even have enough desk for 2 monitors but id make room


 No.887715>>887716 >>887718 >>887724 >>887740

File (hide): 2dfa065e3ce7787⋯.jpg (628.45 KB, 904x1496, 113:187, forth-atari.jpg) (h) (u)

>>887706

Ah yeah, I've considered making a chip8 emulator quite a few times, but I hate doing gfx so I've always noped out of it.

Brainfuck is one of the things I implement in every language I learn and it's a surprisingly good test of the language.

I'd love to implement a stack based machine, something like the soviet Setun computers. M-maybe I should implement something that uses binary base and has source code or at least good documentation available tho ;_;

>>887709

>tfw stuck with an old i3 1366x768 laptop with a fucked keyboard

Fug, I wanna get a midrange desktop with a widescreen and a mechanical keyboard so much.


 No.887716>>887717 >>887736

>>887715

graphics coding is easy once you learn the basics and api shit

try sfml or allegro, easy peasy

maybe talk to forth anon, it should be easy to implement a lightweight forth interpreter


 No.887717>>887719 >>887722 >>887740

File (hide): ba9037c7adb76f4⋯.png (1.78 MB, 1280x768, 5:3, stalker.png) (h) (u)

>>887716

I-I am the Forth anon tho ;_;

I hate working with bloated APIs, so when I do do gfx's it's all basic raster/framebuffer stuff.

Yeah, I've already experimented with a Forth inner interpreter for X86, including one variation that used a wheeler jump instead of a return stack.

The Setun is a ruskie kind of comfy tho. They claim it's still in use in Moscow University.


 No.887718>>887729 >>887736

>>887715

my mother used to bug out and throw my computers away

but i could always count on getting more from dumb people who threw 5 year old PCs out

go dumpster diving, people are stupid and hardware is plentiful

>>887714 i found this monitor brand new in the box literally sitting on the ground outside of microcenter

go to the free section on craigslist

hard mode: strike up a conversation with someone and ask if they have any old computers they dont need or want anymore

basically, just hustle


 No.887719>>887729 >>887736

>>887717

>I-I am the Forth anon tho ;_;

ofuck son


 No.887722>>887729 >>887736

>>887717

yeah i wanted to learn pixel shader coding but all the tutorials are like "LETS LEARN OPENGL FIRST"

i just want simple thing where i can input per-pixel function

and shadertoy.com is too much bloat


 No.887724>>887726 >>887729

>>887714

I never considered this but you could actually just plug your monitor into discrete GPU and mobo at the same time, and use the monitor buttons to switch between inputs.

If you're interested I'd say go for it. Be warned though, you'll need to pass some kernel params in your bootloader to prevent PCI initialization until the windows guest takes hold.

>>887715

If the Thinkpad X220 an upgrade for you I highly recommend it. Nice keyboard and battery life, corebootable, and if you're handy with solder you can hack in a 1080p IPS monitor (https://imgur.com/a/VIeM3)


 No.887726>>887736

File (hide): 3039992a0fbe74b⋯.gif (48.07 KB, 1048x800, 131:100, 3039992a0fbe74b7c00d9e3300….gif) (h) (u)

>>887724

>tfw when you use an a22m as a mousepad


 No.887729>>887736 >>887740

File (hide): 93b3a4f314f0bd6⋯.jpg (52.83 KB, 600x450, 4:3, amigo.jpg) (h) (u)

>>887718

>basically, just hustle

but Tyrone, I live in a small Yuropoor country.

I went dumpster diving once before and literally found nothing of any use. I was gonna go right after xmas but then I got dumped so said fuck it kek.

I'll def do it again and check out my local CL to see if there's some free shit tho, thanks.

>>887719

>he doesn't realize I've single handedly posted half of the thread myself

hehe

>>887722

Oh yeah, I tired learning OpenGL and all that shit when I started out with gfx, but fuck do I hate writing 90% boilerplate code.

I'd honestly recommend you just code for formats like farbfeld, use the framebuffer on Linux (surprisingly easy to access) or use an API that provides something similar.

I might do some basic VGA fb graphics if I get to making a x86_64 Forth system. I remember the tty framebuffer in x86 that I used for my Lisp OS was extremely fucking comfy.

>>887724

Yeah, it'd be a pretty nice upgrade, but I doubt I could find a decently priced one close to me.

My main reason for not getting one is that I really want a big screen and a proper keyboard tho tbh. I got the chance to use a pretty well sized screen for a while and it was orders of magnitudes less cancerous than bending down to code on my shitty laptop.


 No.887736>>887742

>>887729

>>he doesn't realize I've single handedly posted half of the thread myself

>he doesn't realize that i started the thread and have been going back and forth with him to keep the thread alive

>also, no pun intended

>>884818 (OP)

>>884826

>>884833

>>884836

>>884842

>>884885

>>885283

>>885284

>>885360

>>885416

>>885798

>>885801

>>887013

>>887719

>>887015

>>887016

>>887028

>>887045

>>887050

>>887058

>>887069

>>887077

>>887102

>>887131

>>887610

>>887616

>>887622

>>887625

>>887631

>>887636

>>887639

>>887652

>>887656

>>887665

>>887684

>>887686

>>887688

>>887694

>>887697

>>887701

>>887706

>>887714

>>887716

>>887718

>>887722

>>887726

also

>Yuropoor

then find a way to earn some shmeckels and buy a used laptop off murican ebay

you can get a good one for cheap


 No.887738>>887740

File (hide): 81dbab4b74d5754⋯.png (65.21 KB, 674x826, 337:413, me.png) (h) (u)

hi friend


 No.887740>>887742


 No.887742>>887743 >>887744

File (hide): a87c3f2a71c5d63⋯.png (13.4 KB, 356x408, 89:102, Selection_502.png) (h) (u)

>>887740

>>887736

Oof, at least I'm not as big of a fag as OP, was close tho

I have more than enough money to buy a setup, I just don't want to shill out the money just to get another shitty laptop.

I'm waiting on prices to drop (implying they're gonna drop).

>>887623

Fuck sorry, missed your post.

I don't even know what hardware you're talking about but, yeah I guess. It's probably cozy af programming bootloaders in Forth (fuck you Intel tsk tsk).

Mind telling me more about this hardware and what you're using it for?


 No.887743

File (hide): 0d62baf174b873d⋯.jpg (13.3 KB, 312x298, 156:149, Chuck1.jpg) (h) (u)

>>887623

>>887742

Oh, looks like you're talking about an iMac G3.

I've never actually seen one of those irl, but I'd love to play with it and maybe extend the bootloader into a reasonable Forth system? Who knows. (No idea if that's even possible given the limitations of the bootloader)

Have a rare Chuck because your post amused me.


 No.887744>>887745 >>887746

>>887742

>Oof, at least I'm not as big of a fag as OP, was close tho

just trying to keep the thread going, whats wrong with that

>I have more than enough money to buy a setup, I just don't want to shill out the money just to get another shitty laptop

i put together my pc for like $300, i bought cpu, mobo, cooler, and psu off a friend for around $220, and then shoved in into the cheapest case i could find and added a 560ti i got for like $40


 No.887745

>>887744

*and ram


 No.887746>>887752

File (hide): 26e3dbcfbf8f7f1⋯.jpg (28.16 KB, 399x499, 399:499, god.jpg) (h) (u)

>>887744

Yeah, I'm doing the same kek.

You should get a group together to do a few demos or something. IRC, discord or whatever meme you pick should do fine (I recommend discord tho tbh).

Doing crackmes or reverse engineering abandonware would be nice too.

I certainly have more than enough money for that mid range cheapo setup (no more than 500 shekels for the tower) but I really don't want to be buying that kind of stuff when I'm being a lazy NEET.


 No.887752>>887757 >>887760

>>887746

>You should get a group together to do a few demos or something

you know we have to come up with a sick group name first, just on principle

im thinking FADED DEADBEA75, whaddya think?

>but I really don't want to be buying that kind of stuff when I'm being a lazy NEET

just wait for some ebay shmuck to fuck up and list his 1080ti for 70$ instead of $700, snipe as fast as possible


 No.887757

>>887752

oh oh, heres a good one: 10C0


 No.887760>>887765 >>887769 >>887770

File (hide): c2d3b898d95ea73⋯.jpg (1.71 MB, 1519x2996, 217:428, 1513800954922.jpg) (h) (u)

>>887752

0x5F3759DF

I actually already have a pretty big Forth Discord server. I could transform it into a Forth/Demo/RE server and give you admin if you wanted to.


 No.887765>>887768

>>887760

isnt there a way to make a subchat, forthers and demosceners can exist in harmony


 No.887768>>887769

>>887765

I actually don't use Discord a lot, so I'm not sure.

We could have a Forth and a Demo channel, if that's what you mean by "subchat". Sounds pretty good to me.


 No.887769>>887771 >>887773

>>887768

well we could do irc but im not sure how many people would use it

then again, autists might start bitching about discords

why not both?

also,

>>887760

5F3759DF

sfetsgdf

and then i tried hex to ascii, am i missing something?


 No.887770>>887771 >>887772 >>887773

>>887760

>Discord

Stop using services which both disrespect your privacy and require you to run non-free javascript


 No.887771

>>887769

>>887770

>autists might start bitching about discords

literally one minute

absolutely fucking predictable


 No.887772>>887775 >>887778

>>887770

this

how do I get my gaymer friends to stop using discord and fb messenger


 No.887773>>887775 >>887776

File (hide): c9f5287e2b39242⋯.jpg (61.13 KB, 643x800, 643:800, the-ego.jpg) (h) (u)

>>887769

I've been considering switching to IRC, but IRC channels die so fucking quickly it's hard to believe. The good thing about Discord is that it encourages more casual posting from people that would generally only visit the channel for a few hours.

just google it dummy: https://en.wikipedia.org/wiki/Fast_inverse_square_root

>>887770

Why are you on 8chan then? kek

and there are quite a few cli discord clients just fyi


 No.887775>>887777 >>887778

>>887772

I just quit discord. I don't even think I ever said a goodbye. I got fed up with how I was being treated and stopped using it.

>>887773

>Why are you on 8chan then?

Because it respects my privacy and doesn't require non-free javscript to use.


 No.887776>>887778 >>887779

File (hide): cc0718d8f44d187⋯.jpg (210.62 KB, 869x1776, 869:1776, z9IO4Hj.jpg) (h) (u)

>>887773

oh shit

its that magic number from the quake engine "wtf" code

i did not expect


 No.887777

>>887775

The problem is I don't know of a suitable alternative messaging client with scrollback. I would feel like less of a curmudgeon if I could just say "im outtie, hmu on XYZmessenger @anon123"


 No.887778>>887779 >>887781

File (hide): cb863efd3ad1674⋯.jpg (71.32 KB, 560x577, 560:577, smug-asuka.jpg) (h) (u)

>>887772

you stop having friends

you'll thank me later

>>887775

We don't care about you being bullied by Chad and Stacey, kek.

And oh yeah, I'm sure the jews running this honeypot respect your privacy™ like it's Jesus himself.

>>887776

Literally the number of the patriarchy. Females can't into mathematical magic.


 No.887779>>887782

>>887776

>not posting the actual source

>>887778

>We don't care about you being bullied by Chad and Stacey, kek.

*being treated by discord

I got along just fine with a few online buddies inside several servers.


 No.887781>>887787

>>887778

anon help me decode this fucking shit:

http://advsys.net/ken/voxlap/groufst2.bas

am currently trying to decipher the spell which this man has cast


 No.887782

File (hide): 88f5c0b1057a8a7⋯.gif (132.44 KB, 500x600, 5:6, cute-snek.gif) (h) (u)

>>887779

I'd personally much prefer to use IRC, but we all know IRC channels never last long. I actually wrote some gforth code for a simple IRC bot expecting to move my Discord server to freenode.

I'm more than willing to have an IRC bridge for those that want to use it, but the incentive to lurk and irregularly post that Discord gives is invaluable for a small group like this.


 No.887787>>887790

File (hide): 18852320fa42a4d⋯.jpg (31.98 KB, 544x533, 544:533, 1499550141795.jpg) (h) (u)

>>887781

What fucking language is that supposed to be? A particularly bad version of Basic?

No idea what it's trying to do tbh.

I remember that neat piece of quake code is extremely hard to understand. Even when you have someone break it down into steps, it still requires you to understand IEEE floating point representation and some pretty neat math tricks.

those last lines which he calls 1st and 2nd iterations are actually just a way of improving the approximation using Newton's method, really neat shit


 No.887790>>887792

>>887787

yeah the magic number is supposed to improve precision

i have no fucking idea how though

also yeah, its qbasic, it generates and raycasts a voxel height map in realtime


 No.887792>>887796

File (hide): d815785b4a49c0e⋯.png (226.89 KB, 482x479, 482:479, 1499015883009.png) (h) (u)

>>887790

>also yeah, its qbasic, it generates and raycasts a voxel height map in realtime

There are some pieces of code too ugly for even this world, anon.

Bury that shit and forget about it, wew.

And yeah the magic is used to do the initial approximation and that 1st iteration simply refines it pass a point where it's good enough.

Just to be clear, this is an amazing hack not just because of the extremely clever nature of it, but also because this is what allowed Quake to have a proper 3d engine before GPU's were really a thing.

This inverse square root function was at the heart of the raycasting engine that ran on the CPU. (I think it was mainly used to calculate the angle of the light/ray after reflection/casting)


 No.887794

https://discord.gg/Fzup3pd

ok here

first 10 anons get top dog status


 No.887796>>887812

>>887792

inverse square root is used for normalizing vectors

basically it transforms m*cos(x), m*sin(x) to cos(x), sin(x)


 No.887812>>887833

>>887796

Yeah, isn't that a part of calculating the reflection angle in a raycasting engine?


 No.887833


 No.891420

#!/usr/bin/env rre
~~~
:colour (RGBs--)
d:create [ , ] tri@ #65535 , ; (Stored_as_RGBA)

#65535 #0 #0 'RED colour
#0 #65535 #0 'GREEN colour
#0 #0 #65535 'BLUE colour
#65535 #65535 #65535 'WHITE colour
#65535 #0 #65535 'PINK colour

:2dup over over ;
:p16 dup swap #8 shift putc putc ;
:p32 dup dup dup #24 #16 #8 [ shift putc ] tri@ putc ;
:pix #4 [ fetch-next p16 ] times drop ;
:init 'farbfeld puts p32 p32 ;

#0 sys:argv s:to-number
#1 sys:argv s:to-number
2dup
init
* [ &PINK pix ] times
~~~


 No.891421


#!/usr/bin/env rre
~~~
:colour (RGBs--)
d:create [ , ] tri@ #65535 , ; (Stored_as_RGBA)

#0 #0 #0 'BLACK colour
#65535 #0 #0 'RED colour
#0 #65535 #0 'GREEN colour
#0 #0 #65535 'BLUE colour
#65535 #65535 #65535 'WHITE colour
#65535 #0 #65535 'PINK colour

:2dup over over ;
:p16 dup swap #8 shift putc putc ;
:p32 dup dup dup #24 #16 #8 [ shift putc ] tri@ putc ;
:pix #4 [ fetch-next p16 ] times drop ;
:init 'farbfeld puts p32 p32 ;

#0 sys:argv s:to-number
#1 sys:argv s:to-number
2dup
init
* [ &PINK pix ] times
~~~




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
133 replies | 46 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / animu / asmr / rel / strek / sw / travis2k / vore / zoo ][ watchlist ]