Two Plus Two Publishing LLC Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > >

Notices

Programming Discussions about computer programming

Reply
 
Thread Tools Display Modes
Old 08-23-2017, 01:40 PM   #1
kerowo
lolcat
 
kerowo's Avatar
 
Join Date: Nov 2005
Posts: 32,993
Nerd Standup

We started doing this on a slack channel set up for alumni of my last company. The purpose is to list something cool you're working; or the nerdiest thing you've done today. May be overlapping with the LC thread, we'll see.

Today I updated our Shiny app to export data used in it's graphs.

They aren't all fixing Ardino sensors on the fly or breaking the production db and then fixing it before anyone noticed...
kerowo is offline   Reply With Quote
Old 08-23-2017, 05:45 PM   #2
Lattimer
I are smart
 
Lattimer's Avatar
 
Join Date: Feb 2009
Location: New England
Posts: 11,597
Re: Nerd Standup

Today I wrote a python script to convert an ELF file into a format that can be used to initialize a NOR Flash memory model. This way we can backdoor-load applications into Flash in 0 sim time rather than go through the programming process which takes up time.
Lattimer is offline   Reply With Quote
Old 08-23-2017, 06:34 PM   #3
adios
Carpal \'Tunnel
 
Join Date: Sep 2002
Location: Russian Troll
Posts: 20,822
Re: Nerd Standup

Quote:
Originally Posted by Lattimer View Post
Today I wrote a python script to convert an ELF file into a format that can be used to initialize a NOR Flash memory model. This way we can backdoor-load applications into Flash in 0 sim time rather than go through the programming process which takes up time.
What is the file format for programming the flash?

I have been taking a class all week (System Security), have the certification exam tomorrow. Cramming today for it.
adios is offline   Reply With Quote
Old 08-23-2017, 07:24 PM   #4
RustyBrooks
Carpal \'Tunnel
 
RustyBrooks's Avatar
 
Join Date: Feb 2006
Location: Austin, TX
Posts: 23,069
Re: Nerd Standup

We have rats in my attic at home. I set up a raspberry pi to take timelapse photos and upload them to another location to serve them to the web and make a timelapse movie out of it. Mostly just curious, I am 100% sure there are mice or rats in there. Also, it's about 120 degrees in the attic so I am wondering how the raspi will hold up. I had to reboot the switch out there today because it stopped routing DHCP packets.

ETA: nothing so far. Latest pic at http://bike-home.rustybrooks.com:8000/static/test.html, updated about 1x/minute. That's just so I can check that it's up, though, I'm taking a pic every 5s.
RustyBrooks is online now   Reply With Quote
Old 08-23-2017, 09:07 PM   #5
Lattimer
I are smart
 
Lattimer's Avatar
 
Join Date: Feb 2009
Location: New England
Posts: 11,597
Re: Nerd Standup

Quote:
Originally Posted by adios View Post
What is the file format for programming the flash?

I have been taking a class all week (System Security), have the certification exam tomorrow. Cramming today for it.
It's just ascii. But you need to extract a bunch of info from the ELF file beyond just the raw data, such as address/size info of certain sections, in order to create a proper header.
Lattimer is offline   Reply With Quote
Old 08-24-2017, 01:18 PM   #6
adios
Carpal \'Tunnel
 
Join Date: Sep 2002
Location: Russian Troll
Posts: 20,822
Re: Nerd Standup

Quote:
Originally Posted by Lattimer View Post
It's just ascii. But you need to extract a bunch of info from the ELF file beyond just the raw data, such as address/size info of certain sections, in order to create a proper header.
S records
adios is offline   Reply With Quote
Old 08-24-2017, 02:27 PM   #7
Lattimer
I are smart
 
Lattimer's Avatar
 
Join Date: Feb 2009
Location: New England
Posts: 11,597
Re: Nerd Standup

Quote:
Originally Posted by adios View Post
S records
Heh, that would've saved me some work. I still would've needed the script to do some manipulation with the srec file, but would've saved me the hassle of extracting the raw data from specific sections of the elf. It got me familiar with several of the readelf options though, so it was still educational even if unnecessary.
Lattimer is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Forum Jump


All times are GMT -4. The time now is 04:29 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © 2008-2010, Two Plus Two Interactive
 
 
Poker Players - Streaming Live Online