* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Recent Posts

Pages: [1] 2 3 ... 10
1
Calc Projects, Programming & Tutorials / Re: TI Nspire uart
« Last post by Vogtinator on Today at 10:55:15 am »
I'm not sure what I can do with remote debugging here...

I'd suggest you try some more ways to configure the PL010 UART, maybe try turning the FIFO off.
There's also still the possibility that there's something wrong on the sender's side.
2
Calc Projects, Programming & Tutorials / Re: TI Nspire uart
« Last post by TurtleForGaming on Today at 10:00:07 am »
It stilll blocking at 32 chars  :'(
3
PC, Mac & Vintage Computers / Rule34 image downloader
« Last post by gameblabla on Today at 01:03:38 am »
So i met a guy on Discord and he made this image file scrapper in Python :
https://github.com/sunx2/r34py

Unfortunately, reading the source code was like trying to de-obfuscate it.
Plus, i had to use proxychains to make it work over Tor.

Hence why i decided as an exercise to re-implement it in C.
The main issues i had were to implement a function to crawl over the html files and find the image links.
This was the first time i did something like this so i took me a few more hours.
I eventually decided i should look for a pattern that would allow me to find them links fairly easily.
Code: [Select]
<a href="http:///....>

I eventually shortened the code so it only looks at  "<", ":" and if it is preceded by "r" two characters before the link.
Believe or not it works and i can now download all of my pr0n goodness from the command line.

Then, i extended it so it downloads it from all the pages (just a loop really) and here are the results :
https://github.com/gameblabla/r34downloader_curl

It uses curl for downloading things. Once i work on the SDL gui interface, it could be ported to other platforms too.

Lemme now what you think about it. You must compile it from source.
4
Bump.
More and more browsers are now complaining about insecure connections.
And while codewalr.us does support HTTPS, there are some issues :
- The fact on the frontpage, some images uses http: rather than https:. Should be fairly trivial to fix.
- Cookies do not use the HttpOnly and Secure flags. Should be done for security

I believe it should be made HTTPS-only because even on older operating systems like NT 4.0, it is possible to visit secure websites with TLS 1.0 and all.
As for browsers that do not support HTTPS, i honestly doubt they can support codewalr.us properly anyway.
Preferably, codewalrus should also support CSP, here are the csp settings i use for my website.

Code: [Select]
Header always set Content-Security-Policy "default-src 'none' ; base-uri 'none';
frame-ancestors 'none'; form-action 'none';
font-src 'self'; child-src 'none'; script-src 'self'; object-src 'none';
connect-src 'none'; style-src 'self'; img-src 'self';"

Of course, since codewalrus supports scripting, you should tweak them according to your needs.

You can use the observatory by Mozilla for more info :
https://observatory.mozilla.org
5
Games / Re: Super Walrus Fight
« Last post by shak0579 on Today at 12:33:18 am »
Here's a starter image
6
Calc Projects, Programming & Tutorials / Re: TI Nspire uart
« Last post by Vogtinator on Yesterday at 10:07:17 pm »
Can you try without the exclamation mark in that line?
7
Calc Projects, Programming & Tutorials / Re: TI Nspire uart
« Last post by TurtleForGaming on Yesterday at 09:54:10 pm »
Well know my calc is blocked in a loop probably:
Code: [Select]
while(!(*fr & 0x10))
                idle();

And not displaying anything  ;D
8
Calc Projects, Programming & Tutorials / Re: TI Nspire uart
« Last post by Vogtinator on Yesterday at 09:49:01 pm »
As I wrote: Untested :D

Ok, fixed.
9
Calc Projects, Programming & Tutorials / Re: TI Nspire uart
« Last post by TurtleForGaming on Yesterday at 09:45:12 pm »
I'm getting:
Quote
error: can't convert « unsigned int* » to « volatile uint8_t* {aka volatile unsigned char*} » in the initialisation
         volatile uint8_t *fr = (unsigned*)0x90020018;
10
Calc Projects, Programming & Tutorials / Re: TI Nspire uart
« Last post by Vogtinator on Yesterday at 09:40:53 pm »
Try this (untested):

Code: [Select]
char uart_getchar(void)
{
volatile unsigned *recv_buffer_reg = (unsigned*)0x90020000;
        volatile unsigned *fr = (unsigned*)0x90020018;
while(!(*fr & 0x10))
idle();
        return *recv_buffer_reg;
}

If this doesn't work, try replacing the idle call with just a semicolon for busy waiting.
Pages: [1] 2 3 ... 10

You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games