[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [Catalog]

1 guest@cc 2018-07-30T04:20:15 [ImgOps] [iqdb]
File: angry-witch-rotten-apple-long-… (JPEG, 186.38 KB, 957x1300)
So, I finally decided to properly try to learn C.

>main(){printf("suck my cock, dude\n");}

As you are all no doubt (painfully) aware, the above is a valid C program. Compilers will whine at you, even hiss and scream, but in the end, they'll do what they're told and put it together. As short and non-compliant as it is however, several points of redundancy still come out to me.

main: Not useful here, as we're just using one (proper) function, anyway.
(): These brackets do nothing. That is their explicit purpose.
"": We should be able to omit these, and have the compiler recognise the area between those brackets as a plain old string. Since I'm inexperienced, I don't know whether that's on the C language itself, or stdio, though.
;: As far as I can understand, the purpose of the semicolon is to separate functions from eachother. printf is the last (not to mention, ONLY) function in this area, so I can't see what it adds.

In short, I think this should be a valid C program:
>printf(suck my cock, dude\n)

To go about doing this, I propose that we create a new language, which is to be called "Corner-Cutting C", so we can shave off as many of those nasty little bytes as possible. Who's with me?
18 posts omitted
22 guest@cc 2019-08-25T18:17:25
Dude its just like math. U have functions these are defined by having a type and a name f.e.
>int fnaddint(//any sort of arguments and options){

>//stuff u want the function to do

>return 0; //so all other programs know whether it was successful or there was an error


And the u use them for example
>int output = fnaddint(summand1, summand2);

Then there are headers that define specific functions.
>#include stdio.h //defines the printf function.

Basic Rules. Ease of Use. No fucking around. Simple and clever. Flexible in its own way.
All other interpretation shit is redundant. If you don't like the way its handled. There are other languages more suitable for you.
20 guest@cc 2018-11-30T04:12:34
touch o the tism
21 guest@cc 2019-01-24T16:27:18
I had some time to think about what I said, and I have to apologise. THIS is what I think should be a valid C-CC program:
>printf "suck my cock, dude


Feel free to offer feedback.
23 guest@cc 2019-08-28T02:17:04 [ImgOps] [iqdb]
File: Madokas 177 (EE).gif (GIF, 61.71 KB, 300x300)
the iostream poster in this thread needs to die
it's not even c, its c++
and they're adding c style string formating to c++20 anyway with FMT
go to hell
24 guest@cc 2020-05-06T11:07:59
>The final binary is going to be the same and that's what really matters.
Nevertheless, the programme actually matters. A programme is a description of a process. It is the primary source about the process it describes.
Presently, many pragmïnformaticals' edifactaries are poor. It is reasonable that vainary (i.e. it's self) or tertiary (e.g. wikis) sources are poor; it's vainary source is only to do itself, it's tertiary sources are too distant. (It's antiprimary source is (only partly) accessible to only it's authors.) Wellest, often, are (sadly, often manuscribed, thus more letting organic errata) secondary sources. It's unreasonable, yet popular, that primary sources are poor.
Alarming? Don't manuscribe, let exact processes esscribe, secondaries. Literate programming, he says, is to {\sl for a person} write it, markt suffact for distal derivion of the therein described, ready for a person, understanding it, to use it.

>The real benefit would be not having to press shift all the time

That can only be a problem if you're tired. If you are {\sl tired}, you shouldn't be at the terminal. Rest. Only while refreshed, awake, et cetera can one reliably produce reliable programmes.
guest@cc 2020-05-06T21:55:03

1 guest@cc 1969-12-31T17:00:00
Do any nice shell scripts lately? I've been writing and optimising scripts, perhaps needlessly, for bourne shell and korn shell.
22 posts omitted
25 guest@cc 2018-05-23T22:53:10
26 guest@cc 2018-05-29T17:18:02
I found that on some Unix systems where the daily, weekly, or monthly scripts seem to not work from the command line, running them in the background (applying the & after a command) makes them work.
I think it's a bug in the way they mail the results to root.
24 guest@cc 2018-05-23T18:22:05
You messed up the closing tag
27 guest@cc 2020-04-17T19:28:57


find_in_directory() {
find "$1" -type f -print0 \
| xargs -0 exiftool -genre 2>/dev/null \
| awk -v RS='======== ' -v FS='\n' -v ORS='\0' \
"toupper(\$2) ~ /^GENRE[^\n]+${GENRE}/ { print \$1 }"

if [ $# -lt 1 ]; then
echo "${0}: find music by genre."
echo "Usage: ${0} GENRE [PATH...]"
exit 1

GENRE=$(echo $1 | tr '[a-z]' '[A-Z]')

if [ $# -gt 0 ]; then
while [ $# -gt 0 ]; do
find_in_directory "$1"
find_in_directory .
28 guest@cc 2020-04-18T05:11:08
Fascinating. I didn't know about shift.

1 guest@cc 2020-04-08T20:02:08 [ImgOps] [iqdb]
File: david-revoy-2020-03-14_gnuess-… (JPEG, 1.26MB, 1677x2043)
The day has finally come, Guix now runs on the much anticipated Hurd kernel: https://guix.gnu.org/blog/2020/a-hello-world-virtual-machine-running-the-hurd/
7 posts omitted
9 guest@cc 2020-04-10T08:50:24
> https://git.savannah.gnu.org/cgit/hurd/hurd.git/tree/console/motd.UTF8
> https://git.savannah.gnu.org/cgit/hurd/hurd.git/tree/console-client/vga-dynafont.c#n390

Looks like they add custom glyphs to the Unicode Private Use Area to draw the GNU. Amazing!
guest@cc 2020-04-10T20:45:18
Nice. Like the Dobbs head in the Atari character set.
10 guest@cc 2020-04-10T21:52:39
So it only appears if you're using the default font?
11 guest@cc 2020-04-11T08:18:19
It is dynamically added to every font: https://git.savannah.gnu.org/cgit/hurd/hurd.git/tree/console-client/vga-dynafont.c#n463
12 guest@cc 2020-04-11T18:34:22
>>11 Cool and absolutely sinful that a terminal is able to do that. It'd be better if there was some kind of wacky control character or part of the MOTD script that manually changed the font, then went back to the default.
13 guest@cc 2020-04-15T16:02:13
GNU Guix 1.1.0 was released: https://guix.gnu.org/blog/2020/gnu-guix-1.1.0-released/

1 guest@cc 2019-11-18T07:20:40
Posting from elinks! What browser do you use when surfing the web through a CLI?
9 posts omitted
11 guest@cc 2020-03-18T03:09:06
Semi-off topic, but I used to use w3m.el, but it often took a long time to render the pages. And if you resized the buffer, it would freeze up for a second, so I always bounce back to eww, even though shr can't render as many sites. With w3m you can write a simple function to fetch the url and start a graphical browser
(defun w3m-external-open-graphical-browser ()
(browse-url-graphical-browser w3m-current-url))[/code]
In eww, that can be done with shr-external-browser. I find myself opening sites mostly in eww and then switching to qutebrowser when I need it. Conversely, if you use exwm, you can make a macro to fetch the url of the current site on qutebrowser and send that to browse-url. Took that little trick out of exwm-surf.

You can also direct sites to different browsers according to regexp with browse-url-browser-function--little-known fact.
'(("\\(.+\.mp[34]$\\|.+\.jpe?g\\)" . browse-url-image-viewer)
(".+&loop=1$" . qrthi/browse-url-image-viewer)("duckduckgo\.com\/\\?&.+=images.+$" . browse-url-graphical-browser)
("." . w3m-browse-url) ; where w3m-browse-url is a catch-all for everything that doesn't match the above regexp's

That approach is a good alternative to that part of that enjoys obsessively tweaking browser, in my opinion--which is bad because it detracts from the time spent obsessively tweaking Emacs--by offloading all the configurations and bindings to Emacs. Don't even get me started on webjump.
12 guest@cc 2020-03-30T18:43:00
I use lynx because its the only one that I know which also works with gopher. Having said that it's really clunky and not that great, so I should probably just move to something else.

When I'm in emacs I use eww, and it switches to elpher when I go to a gopher site, but currently I'm in an acme phase so I don't use emacs.
13 guest@cc 2020-03-31T01:31:11
Just use raw netcat commands, the protocol is REALLY REALLY simple.
As far as I remember, it only has a command set of two:
" (enter): get a directory listing
"/path/to/fileorresource": cat this file
14 guest@cc 2020-04-05T12:39:37
>>13 How does one pipe those from netcat? e.g. to a file for later reading, through a typesetting filter to display,,?
15 guest@cc 2020-04-05T19:52:35
>>14 https://stackoverflow.com/a/13591423

1 guest@cc 2019-12-03T01:59:25 [ImgOps] [iqdb]
File: vlare_dark.png (PNG, 26.26KB, 1412x340)
Community reminds me of vidlii but the design itself is just a slower clunkier version of dailymotion.

8 posts omitted
9 guest@cc 2020-02-14T03:17:56
>everything I don't like is nazi

guest@cc 2020-02-22T02:09:09
You shouldn't be reading an IMAGEboard in a text browser to begin with.

That aside, in my experience feature works wonders to prevent people from derailing threads. Flaming and making/replying to an off-topic post are two very different things. By keeping replies related only to one specific reply and not the topic of the thread in their own separate space, it's harder for the discussion to go off on tangents.

I agree that the implementation kind of sucks though.
guest@cc 2020-02-21T02:39:45
> because you're new and either didn't know that that's what we do here, or didn't even know the feature existed.

nah, some people also don't use it because that feature is complete garbage. someone who wants to flame won't use it because fuck you cunt, and someone who cares about the site would just refrain from starting arguments instead of jerking off in a chastity-box

besides it looks unreadable in text browsers since these posts are in reverse order seriously wtf
guest@cc 2020-02-15T05:48:00
I think they were talking about vlare, which is in fact not ran by a neo-nazi (afaik).
guest@cc 2020-02-15T02:21:14
No, fuck you
guest@cc 2020-02-14T20:28:58
If you're going to start an argument you're supposed to do it in a side thread. I suspect the reason you didn't do this is because you're new and either didn't know that that's what we do here, or didn't even know the feature existed.

Anyway, bitchute is used exclusively by terrorists and isn't actually peer to peer.
11 guest@cc 2020-02-21T15:12:14
can we not
guest@cc 2020-02-21T18:04:59
not what
12 guest@cc 2020-02-21T23:27:04
vlare i think would be a sufficient youtube alternative. i would say it's currently much better that youtube when it comes to the website itself. i just hope it gets an interesting community, as it currently seems to be just animation memers and commentator channels.
13 guest@cc 2020-02-22T16:35:06
what is the problem with vimeo, vidly and dailymotion that they aren't being used as youtube alternatives? this problem seems to have been going for a while
14 guest@cc 2020-03-08T21:17:10
Same privacy concerns but less content.

1 guest@cc 2020-03-05T02:16:06 [ImgOps] [iqdb]
File: 1583261773812.png (PNG, 18.75KB, 307x300)
Is someone here using it? Or does someone plan to try it?


1 guest@cc 2020-02-28T01:52:15
Do any of you care about your privacy and such. It seems we live in times of next to 0 privacy, even if you disconnect yourself from mainstream platforms. It has gotten to the point where I think it is only possible to be truly anonymous by going full kaczynski and hiding out in the woods providing your own services and resources.
Here's an eye opening talk about the subject:
I haven't watched this one, just a talk he did from 2016, but I'm sure this has similar information.
2 guest@cc 2020-02-28T03:12:33
I haven't watched this 3 hour video but please watch this 3 hour video about how things are bad.
- freetard
3 guest@cc 2020-02-28T03:53:27
Something smells very copy-pasted about your post, like you're going down a list of imageboards and making the same thread on all of them.
4 guest@cc 2020-02-28T22:53:26
i thought it was a good talk
i've never posted this in any other board

1 Epnpromocode 2019-12-04T01:03:10 [ImgOps] [iqdb]
File: 92.gif (GIF, 3.08KB, 50x50)
[url=https://epn-promocode.ru/modnye-tendencii-oseni-i-zimy-2019-2020/]Модные тенденции осени и зимы 2020/2021[/url]
Всемирно известные дизайнеры уже представили свои коллекции к осенне-зимнему сезону 2019/2020. Вам интересно, что будет модно в предстоящем сезоне? Какими будут осенние и зимние тренды на рубеже 2019 и 2020 годов? Мы приглашаем вас в статью, в которой вы найдете много вдохновения и стильной одежды. Не ждите и проверьте осенние и зимние тенденции сейчас.
2 guest@cc 2019-12-04T05:35:39
this might be some of the coolest looking spam I've ever seen

1 guest@cc 2019-07-05T16:51:02 [ImgOps] [iqdb]
File: dilbert3.jpg (JPEG, 44.12 KB, 640x480)
Is there any song that somehow makes you feel more like you're using a computer, and somehow "feels" like you're using the old internet more than this one?
19 posts omitted
21 guest@cc 2019-09-12T07:17:44
Something about that Dragon Quest VI poster being there makes me happy to see it.
22 guest@cc 2019-09-12T07:59:41
>エコー ザー ドルフィン 2
>echo the dolphin 2

lol, that image really is old
23 guest@cc 2019-11-28T22:26:18
For those swfchan vibes
24 swfchan poster 2019-11-29T03:37:33

that's very accurate
25 guest@cc 2019-11-29T05:13:24

1 guest@cc 2019-10-21T21:17:51
Am I going crazy, or is there a slight difference between about:blank and data:;, ? I keep flipping between the two of them and not being able to point out anything in particular, but they just feel differinct. Like there's a slight dicolouration between the two of them or something.
2 posts omitted
4 guest@cc 2019-10-21T22:57:41
lol oops I didn't think the example would be *that* big
5 guest@cc 2019-10-26T22:13:51
In Waterfox the most noticeable visual difference is that the URL is removed from the navigation bar for about:blank but remains for data:,
6 FEDS 2019-11-01T21:01:41
Please don't post CP here. Thanks.
7 PSA [no "Subject" field] 2019-11-06T04:11:14
If you see somebody with numlock enabled, they are either an ACCOUNTANT or a COMPUTER HACKER. If you come across anybody like this, don't panic. STAY AWAY from the person and call Crime Stoppers. Your courage and alertness may just save lives.
8 guest@cc 2019-11-06T04:25:42
Maybe they're just a lowly DATA ENTRY SLAVE?

1 guest@cc 2019-05-21T16:49:46 [ImgOps] [iqdb]
File: Screenshot_2019-04-29 _⚘⚘.png (PNG, 94.99 KB, 1920x966)
Hey what do you guys think of this style for a textboard I have in the works?
I've only completed the front page so far. Also, ignore the dates on the News section, they are only placeholders. The center image is a gif you could view: https://steamuserimages-a.akamaihd.net/ugc/634231315278255023/DB7A5861ED713574B6F18652178B8D91B90F671B/

Heavily inspired by 4taba lol.

Got myself a raspberry pi 3 to run a web server and do tests and shit with the website, as I'm still a complete n00b with backend.
21 posts omitted
23 guest@cc 2019-08-26T23:31:35
nice bathroom, anon
24 guest@cc 2019-08-28T23:17:38
I might change the background, but I think I quite like it
25 guest@cc 2019-08-30T09:06:57
I like it too, I wasn't saying that ironically
26 guest@cc 2019-09-05T04:39:36 [ImgOps] [iqdb]
File: 1567679783.png (PNG, 78.36 KB, 882x736)
Don't mind the generic colour scheme, each board will have its own unique CSS. This is just the testbed/development site.
27 guest@cc 2019-11-01T21:02:20
I run http://4x13.net/txt on my own board soft

Probably gonna bring the wiki back .... someday ...
guest@cc 2019-11-26T03:54:28
Looks like registration expired.

1 guest@cc 2019-09-28T11:47:49 [ImgOps] [iqdb]
File: kangz.jpg (JPEG, 94.63 KB, 1028x766)
what type of computer can kill a nigger instantly
2 posts omitted
4 guest@cc 2019-09-28T18:55:25
depends from what height you can drop you're computer, but 500G should be enough. I'd get a 1KG one just to be sure though
unless you know kendo of course
5 guest@cc 2019-09-29T03:40:36
Holy fuck this game
6 guest@cc 2019-09-29T03:46:14
Anything with a command line only interface.
7 guest@cc 2019-09-29T09:13:10
But anybody would fall to that. Apple's popular for a reason.
8 guest@cc 2019-09-29T14:58:54
I don’t think Apple’s really that popular in the computer space, Windows would’ve been a better example. (Which has been falling towards the CLI with 10 and PowerShell).

1 guest@cc 2019-02-24T19:19:44
Just got myself a refurbished EliteDesk 705 G1 SFF for cheap, the first non-laptop computer I've bought thus far. It's pretty bare bones, didn't even come with an Operating System, but that's exactly what I was looking for. I wanted to have a box so I could work on making myself properly computer literate, as well as making a workstation for doing creative(Illustration, Video editing) work on.

Right now my first step was to put Ubuntu on there to see if it was working right, but I'm still figuring out what to do with it from there. The box didn't come with a Wi-fi card, so I was considering making an offline copy of the repository for fun. What would you Sprouts suggest be done with this blank box?
4 posts omitted
6 guest@cc 2019-03-29T12:37:11
HP Anon again.
I'm still playing around with my system, and getting comfortable with the Debian OS. I'm still working offline, but was fortunate to run in to some useful commands/scripts to use the ISO files provided on the Debian site as repositories. This helped get the productivity programs I'm used to using easily, as well as testing stuff I don't use too often. I also went ahead and grabbed the Testing and non-Free ISOs to get some more recent stuff and AMD firmware. It seems I may have to jump in to compiling from source to get more exotic packages or games though. I've also read about apt-get offline, and that may be helpful if dependency hunting gets to be too absurd in some cases.

The first minor upgrade I had to make to the box is to get a video card. The integrated graphics unit couldn't handle Krita, and while it worked well enough for MyPaint, I didn't want to find myself running in to a wall productivity wise. At the same time I'm tight on cash, and could not afford to splurge on graphics units. So I went and grabbed an R7 240 low profile card, since it was under $100 and fit my computer. I later read/watched about how the card was terribad and couldn't run GTA V at 1080p. Fortunately for my case, I didn't invest in AAA gaming at all, so not being able to play Rise of the Tomb Raider isn't a problem.

The next few things I want to get for it are:
- a CPU upgrade, looking at the Athlong X4 845 for a reasonable amount of cores for graphic tasks.
- 500gb SSD
- Maybe some RAM. 8gb seems to be the golden number, but you never know.

I'm projecting the total cost of the computer and upgrades will come to $300. I don't think it's a bad hit, but someone more experienced could cut the cost more. I have to start somewhere~
7 guest@cc 2019-03-29T15:34:35
>a CPU upgrade
What sort have you got now?

>500gb SSD

SSDs are a complete meme. Go for at least a 1TB HDD instead, it'll be cheaper. Reliability isn't a problem at all if you back up, and a shitty one should last for at least 5 years.

>Maybe some RAM.

8gb is generally considered the ideal nowadays, but as long as you get rid of the few hungry processes you'll probably have running in the background of this pre-configured system, you should easily be able to make do with just 2gb. Not even saying that to seem like some kind of hacker elite or anything, 2gb can be enough for most purposes, even emulated games going up to the N64/Playstation. The speed they work at could be a bottleneck though, if you can't run Krita properly. I don't know whether you can get small ones that work fast.
8 guest@cc 2019-03-29T18:20:28
>What sort have you got now?

An A6-7400b.
I have a i5 laptop and it runs fine there, but ran slow on the PC prior to slapping a video card on there. Not sure whether the issue is the chip or the way the software is built, but I assumed I would run in to issues later anyway.

> SSDs are a complete meme

It's kind of sad that they seem near necessary to run Windows 10 (And another reason I cling to 7). I popped one in my Laptop and was charmed by how quick it booted up, but my Linux partition was already snappy to begin with.

I have a base urge to get all I can out of this old hardware. You can say I'm having fun tweaking things to my liking, as I'm doing such to the OS. I got a book/pdf full to info on the shell which I'm going to be reading a lot of too. I still a bit of a Windows kid so I can get lazy with the OS at times, but I legit feel excited about how much of the OS' vital systems are out in the open.
9 guest@cc 2019-08-30T14:37:33 [ImgOps] [iqdb]
File: img_eggsif_6505642235988211054… (JPEG, 1004.12 KB, 3264x2448)
HP anon from a few months back. Since my last post, I've been slowly upgrading and playing around with the box, grabbing what I need based on the work I intend it to do with it. That is, until I fried the motherboard due to getting impatient while upgrading my GPU. The prebuilt itself was cheap enough that I could replace the box for ~$45, but instead I decided to stop being cowardly, and just build one using the parts I had built up over the months.

ASRock FM2A88X Pro3+
Athlon X4 845
Radeon Pro wx4100
24 GB RAM (I had a lot of left over RAM sticks)
3.5TB or HDD space total
DELL E2216H Monitor
DEEPCOOL Tesseract BF Case

I still have a few more components coming, but this box is close to complete. I want to use this box to start digging in to heavier multimedia creation, beyond drawing and in to animation and video editing. Nothing absurd like 4-8K resolution stuff, but I wanted to have enough computing muscle to have wiggle room with what I could do while not starting a house fire.
I did not trust myself to not destroy a computer when just starting out with a pre-build, but now I feel silly, since tue buiding process turned out to be easy. I would have saved a few bucks too. Still, it was a fun experience, and I'm glad I built this box. Hopefully I can keep working with it for some years before it becomes obsolete.
10 guest@cc 2019-08-30T22:06:08

1 guest@cc 2019-08-21T11:38:31 [ImgOps] [iqdb]
File: a386e.jpg (JPEG, 6.94 KB, 344x205)

1 guest@cc 2019-08-04T05:56:37 [ImgOps] [iqdb]
File: 02A72838-E0DC-4758-8AAE-6D72EB… (JPEG, 50.77 KB, 680x500)
It has occurred to me that I don’t actually know how the internet works, despite spending a lot of time on it. I tried to read some RFC things, and I can’t understand anything. I know about as much as one would from installing gentoo, what do I do
2 guest@cc 2019-08-04T08:23:07
There's https://github.com/alex/what-happens-when, "What happens when you type google.com into your browser's address box and press enter?"

[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [Catalog]Delete Post: