We're on Discord! Please join our server now if you don't want to miss anything! (More info) | Join the UCC4 contest! (More info)

* WalrusIRC & Discord main room

If you have a forum account, have more than 4 posts and are not part of a restricted usergroup, then you can chat in our main Discord server room directly from here and continue using the forums at the same time. Or you can join our server directly and access many more discussion rooms!

Author Topic: CodeWalrus Post Notifier  (Read 22961 times)

0 Members and 1 Guest are viewing this topic.

Offline Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • Featured Project Author
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 3271
  • Post Rating Ratio: +39/-2
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • @juju2143
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: CodeWalrus Post Notifier
« Reply #15 on: April 16, 2015, 08:53:32 pm »
UDP is connectionless, so SMF don't care if the message arrived to its destination, the packet got lost, the server is off or whatever, and won't block until some sort of confirmation, that's why I chose it over TCP (which makes sure the packet arrived to destination in the right order and stuff). And when the server is 127.0.0.1 I don't think there's packet loss.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

Offline Duke "Tape" Eiyeron

  • Urist McEiyolobster
  • Super User
  • Join Date: Nov 2014
  • Location: (V)(-_(//));(V)
  • Posts: 1636
  • Post Rating Ratio: +11/-2
  • Fanciest Walrus of the oceans.
    • @@Eiyeron
    • Eiyeron
    • /u/Eiyeron
    • Eiyeron
    • Rétro-Actif : Rétro/Prog/Blog
  • Gender: Male
Re: CodeWalrus Post Notifier
« Reply #16 on: April 17, 2015, 01:54:10 pm »
This and UDP doesn't care abut which packet comes before another. There aren't any attempts to get the original flow at client side.
  • Calculators owned: A lot.

Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Moderator
  • Forum Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 19083
  • Post Rating Ratio: +101/-5
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: CodeWalrus Post Notifier
« Reply #17 on: April 18, 2015, 06:21:40 am »
That's good then. Good luck Cumred for the project and to whoever is involved in the SMF side of the notifier. :)
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nintendo Switch, Playstation TV

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Snektron

  • Lvl 69 Russian Snake
  • Super User
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Re: CodeWalrus Post Notifier
« Reply #18 on: May 09, 2015, 12:03:45 pm »
Hello! It's been a while since we announced this project and yesterday i finally decided to start coding.
I've implemented android's recyclerview so it looks nice with not too much effort. Also i added a http requester and a xml parser
so it can display posts.

As you can see, nothing is done about the raw HTML yet. Also there is not yet a menubar.
The menubar will also contain a fancy side menu for options and such. Also there is not yet a notification service.
The source is also on github: https://github.com/QuantumInfinity/CodeWalr.us-Post-Notifier
Let me know if you like it / have suggestions ;)

Also since this is a project for cw... *cough* featured project *cough cough* :P
But seriously maybe thats a good idea.
« Last Edit: May 09, 2015, 12:12:27 pm by Cumred_Snektron »
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Moderator
  • Forum Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 19083
  • Post Rating Ratio: +101/-5
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: CodeWalrus Post Notifier
« Reply #19 on: May 09, 2015, 04:22:47 pm »
Looks very good so far! Will there be options to open the browser to view the thread? This would be a must I think. And yeah I considered a sub-forum for this, although it depends if you plan to update this more in the future once it's released to public. That would make MinePrime (next update that adds crafting) and the post notifier the next two sub-forum additions.
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nintendo Switch, Playstation TV

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Snektron

  • Lvl 69 Russian Snake
  • Super User
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Re: CodeWalrus Post Notifier
« Reply #20 on: May 09, 2015, 04:26:36 pm »
Looks very good so far!

Thanks! :D

Will there be options to open the browser to view the thread?

Yeah i was already planning to add that, but i don't know if i wrote it under the features

And yeah I considered a sub-forum for this, although it depends if you plan to update this more in the future once it's released to public. That would make MinePrime (next update that adds crafting) and the post notifier the next two sub-forum additions.

That depends on how many there is to update. I will at least keep it maintained and add features if necissary :)
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline Streetwalrus

  • Featured Project Author
  • Super User
  • Original 5
  • Join Date: Nov 2014
  • Location:
  • Posts: 2903
  • Post Rating Ratio: +20/-0
Re: CodeWalrus Post Notifier
« Reply #21 on: May 09, 2015, 04:32:41 pm »
Sounds fun. With the new mobile theme it will make using the forum on a phone pretty neat. :3

Offline Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • Featured Project Author
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 3271
  • Post Rating Ratio: +39/-2
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • @juju2143
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: CodeWalrus Post Notifier
« Reply #22 on: May 09, 2015, 05:53:07 pm »
That looks pretty nice Cumred. I'm definitely checking it out. And if you want a server/mod to run on CW you can always ask me.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

Offline Snektron

  • Lvl 69 Russian Snake
  • Super User
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Re: CodeWalrus Post Notifier
« Reply #23 on: May 09, 2015, 06:19:22 pm »
Thanks :) And yeah i'm already developing a mod :P
Currently the mod adds one action feature, "walrifier". It returns the id of the latest message. The app will then check
if the latest ID is the same as the new ID and if not, request the full feed from the ".xml" action. Though it might be better to strip it down and make my own feed via a subaction (if im making a mod anyway). I'm also thinking of making a subaction where you supply the last checked ID and it returns a list of ID's/posts since the supplied ID (with a limit ofcourse). This way doesn't require a server, while its probably just as data-efficient (and is probably lighter for the server too). I wan't the least amount of data as possible, so it can also run on mobile data without consuming a lot of data. This way it probably wouldn't even be a Mb per day, which is a quite acceptable amount i'd say.
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline Streetwalrus

  • Featured Project Author
  • Super User
  • Original 5
  • Join Date: Nov 2014
  • Location:
  • Posts: 2903
  • Post Rating Ratio: +20/-0
Re: CodeWalrus Post Notifier
« Reply #24 on: May 09, 2015, 06:46:58 pm »
Hmmm nice. I'm not having too many problems with data usage but again I have a 3GB plan. Not everyone does tho.

Offline Snektron

  • Lvl 69 Russian Snake
  • Super User
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Re: CodeWalrus Post Notifier
« Reply #25 on: May 09, 2015, 07:06:09 pm »
Yeah i was using 200MB before, now i have 1GB. But for the people who are having no/low data, i'll just add a option :)
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline CKH4

  • Extravagant Sushi
  • Super User
  • Join Date: Jan 2015
  • Location:
  • Posts: 872
  • Post Rating Ratio: +3/-2
  • Gender: Male
Re: CodeWalrus Post Notifier
« Reply #26 on: May 09, 2015, 09:44:23 pm »
This looks very cool. Maybe you could add an option to fetch irc too? But then it'd be like wirc for android sort of.
  • Calculators owned: TI-83+, TI-84+


Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1346
  • Post Rating Ratio: +11/-2
    • @0xbmuessig
    • @muessigb
  • Gender: Male
Re: CodeWalrus Post Notifier
« Reply #27 on: May 09, 2015, 10:14:07 pm »
@Cumred_Snektron, why don't you use a PHP page to preprocess the feed online, where you have unlimited traffic and then send only n-items to the client.
Or tell the client, how many messages happened since a specific id and then fetch only those.
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360

Offline Snektron

  • Lvl 69 Russian Snake
  • Super User
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Re: CodeWalrus Post Notifier
« Reply #28 on: May 09, 2015, 10:26:00 pm »
Yeah thats what im going to do :)
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1346
  • Post Rating Ratio: +11/-2
    • @0xbmuessig
    • @muessigb
  • Gender: Male
Re: CodeWalrus Post Notifier
« Reply #29 on: May 09, 2015, 10:42:10 pm »
Yeah thats what im going to do :)
Ah okay.
I already wrote a good part of that actually before I posted that reply.
You can check it out soon.
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360

 


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