Recent comments in /f/programming
crypt_skid wrote
Reply to cool and new idea for a gimp fork by twovests
Hey the fork is called GLIMPSE and its happening they're adding features, making it more intuitive and removing the awful branding.
The GIMP devs refuse to acknowledge the issues involved with their image so they can get forked. Fork 'em!
flabberghaster OP wrote
Reply to comment by no_defun_allowed in Really cool talk about someone's compacting memory allocator by flabberghaster
To the extent that they are both memory managers i suppose; the way it works is very different seeming tho from what i saw.
MPS looks like a graph walking GC based, hierarchical pool system; this one is more just based on, it allocates a page of memory, hands you blocks out of that. When you free some memory, it marks those blocks back free.
The interesting thing about it is that it can compact your physical address space without having you have to update any of your pointers.
I think it's more analogous to TCmalloc or jemalloc than that in that it is much simpler seeming but i didn't look too deeply.
no_defun_allowed wrote
isn't this just even more conservative Memory Pool System
no_defun_allowed wrote (edited )
Reply to comment by cute_spider_ni_srsly in What Happened When I Peeked Into My Node_Modules Directory by voxpoplar
depends if it has 291 screws or 291 engines, and in the case of Node there's 291 engine-shaped screws
voxpoplar OP wrote
Reply to comment by musou in What Happened When I Peeked Into My Node_Modules Directory by voxpoplar
I'll be honest they had me all the way till Guy Fieri
musou wrote
i don't know how well this works as satire, because all these weird things the author has made up are way tamer than the actual security concerns raised by malicious code in npm modules, so it might be read by some as trivializing the very real problems with Using All This Code U Didn't Write Or Even Look At Before Running
still funny, tho
cute_spider_ni_srsly wrote (edited )
Imagine if the apple you were eating for breakfast had 291 ingredients, or if the car you drove to work had 291 parts. You’d be worried, wouldn’t you?
>.>
edit: this author is funny but very very dry.
no_defun_allowed wrote
Reply to Error Handling in Go by musou
Maybe, Maybe not
no_defun_allowed OP wrote
Reply to comment by hollyhoppet in anyone used heroku with common lisp? by no_defun_allowed
there i did it but heroku is being a douche and won't let me add a domain name
no_defun_allowed OP wrote
Reply to comment by hollyhoppet in anyone used heroku with common lisp? by no_defun_allowed
Nice, thanks. I'll have a go at it today.
hollyhoppet wrote (edited )
Reply to anyone used heroku with common lisp? by no_defun_allowed
Hey we host on heroku so i know my way around it a bit. It looks like you can use this buildpack for common lisp.
To use a specific buildpack in your heroku app, go to the settings for your heroku app on the web administration tool, to "Buildpacks," click "Add Buildpack," and just paste in the URL of the buildpack's git repo. When you push your code to heroku it'll grab from the buidlpack's git repo and use the instructions there to set up your application. I think there's also a way to add a buildpack via terminal but i forgot it :P
Make sure you follow the readme of the buildpack and copy the example git project as a base to work from. It'll contain important files (notably Procfile) for heroku to use to build off of.
I haven't actually tried any of this so I don't know if here are any other potential issues but in theory this is how you'd do it. Good luck!
noordinaryspider wrote
Reply to a faint glimmer of hope that linux kernel development might not completely suck, someday by musou
I'm not a programmer and still trying to figure this out. TFS.
no_defun_allowed wrote (edited )
Reply to comment by missingno in a faint glimmer of hope that linux kernel development might not completely suck, someday by musou
yes sorry for causing confusion, i was going to publish a picture of linus getting bit by that penguin that bit him if he didn't
if my plans go well linux 5.0 will be written in scheme so it's not all bad news
missingno wrote (edited )
Reply to comment by musou in a faint glimmer of hope that linux kernel development might not completely suck, someday by musou
Someone in my inbox has pieced together the conspiracy and is trying to convince me that this is all happening because Linus is being blackmailed by the SJW cabal.
musou OP wrote
Reply to comment by missingno in a faint glimmer of hope that linux kernel development might not completely suck, someday by musou
i did not check the orange hell but somehow, deep in my heart, i knew
missingno wrote
Reply to a faint glimmer of hope that linux kernel development might not completely suck, someday by musou
There's a massive shitstorm over on the bad website about how being nice to each other is the death of Linux forever. Amazing.
musou wrote
Reply to comment by no_defun_allowed in i wanted a dadaist poem generator or a readable signature maker or something. i forgot but here's sources by no_defun_allowed
lol i think i can handle that
no_defun_allowed OP wrote
Reply to comment by musou in i wanted a dadaist poem generator or a readable signature maker or something. i forgot but here's sources by no_defun_allowed
go for it! this program is released under the "please share but no rust port pls" license
musou wrote
Reply to i wanted a dadaist poem generator or a readable signature maker or something. i forgot but here's sources by no_defun_allowed
this is neat! with your permission, i am going to stash this little script in my bin folder for use when i'm running D&D and in need of a fresh magic incantation. my players are all running around thwarting cultists from alternate dimensional planes so this comes up more often than you might think.
no_defun_allowed wrote
/r/Rust
DELETE THIS
no_defun_allowed wrote
Reply to my favorite things to use on the terminal by twovests
-
C-a C-k
: remove text you don't like quickly -
C-z
: make the program wait -
sudo sh -c 'rm /usr/bin/vim; ln -s /usr/bin/emacs /usr/bin/vim
: yes pls -
pkill python; rlwrap sbcl
: noice -
C-r
: look backwards in history -
fortune lambda | cowsay -f tux | lolcat
: after installing lambda.txt you get a rainbow tux telling jokes
mm_ wrote
Reply to TAing a first semester CS course. I'm loving this textbook, "Structure and Interpretation of Computer Programs". It makes me feel like a first semester CS kid again. by twovests
oh i did some of this a long while ago! very good!
musou wrote
Reply to TAing a first semester CS course. I'm loving this textbook, "Structure and Interpretation of Computer Programs". It makes me feel like a first semester CS kid again. by twovests
SICP is a classic! after a frustrating year of java, that's the book that actually made me fall in love with programming
twovests OP wrote
Reply to comment by crypt_skid in cool and new idea for a gimp fork by twovests
oh yeah!! thanks for this. i've heard of glimpse but it definitely wasn't around at this time. i use it now whenever i want to use GIMP in a professional context