Author Topic: Coding/programming  (Read 374 times)

Offline SSLPhD

  • Dansdeals Platinum Elite + Lifetime Silver Elite
  • *****
  • Join Date: Jul 2015
  • Posts: 642
  • Total likes: 157
  • DansDeals.com Hat Tips 0
    • View Profile
  • Location: My couch
Coding/programming
« on: March 24, 2022, 03:45:34 PM »
I know there are a number of us who code, at least for fun.  Most of the coding I do now is stuff that interests me.  A couple years back, I wrote an app to compute the molad, today I installed Ubuntu and did a command line base-to-base conversion, bases 2-36 (strictly with vi).  I know there's some reinventing the wheel here, but the point is to think through a rather simple problem, and code it.

A year or so ago there was an interesting problem in the Math thread that I coded on CppDroid (way too hard to use), but I was hoping we could share ideas on a dedicated thread.

Any programming questions should be directed to stackoverflow or the like, not discussed here.
40/50, 42/63

Offline ExGingi

  • Dansdeals Lifetime 10K Presidential Platinum Elite
  • *******
  • Join Date: Nov 2015
  • Posts: 12782
  • Total likes: 4716
  • DansDeals.com Hat Tips 16
    • View Profile
  • Location: 770
Re: Coding/programming
« Reply #1 on: March 24, 2022, 03:55:05 PM »
I know there are a number of us who code, at least for fun.  Most of the coding I do now is stuff that interests me.  A couple years back, I wrote an app to compute the molad, today I installed Ubuntu and did a command line base-to-base conversion, bases 2-36 (strictly with vi).  ...

That says something about you. (I am not a coder or programmer in any way shape or form, but I have been involved with some programming in the past).
I've been waiting over 5 years with bated breath for someone to say that!
-- Dan

Offline Yo ssi

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: Aug 2019
  • Posts: 4917
  • Total likes: 1729
  • DansDeals.com Hat Tips 45
  • Gender: Male
    • View Profile
Re: Coding/programming
« Reply #2 on: March 24, 2022, 03:55:17 PM »
I'm not a programmer! ;D
_    ,
' )  /
 /  / __   _   _   o
(__/_(_)  /_)_/_)_<_
 //
(/

Offline SSLPhD

  • Dansdeals Platinum Elite + Lifetime Silver Elite
  • *****
  • Join Date: Jul 2015
  • Posts: 642
  • Total likes: 157
  • DansDeals.com Hat Tips 0
    • View Profile
  • Location: My couch
Re: Coding/programming
« Reply #3 on: March 24, 2022, 04:12:12 PM »
That says something about you.
Would you expect someone that uses vi to drive a stick shift?
40/50, 42/63

Offline ExGingi

  • Dansdeals Lifetime 10K Presidential Platinum Elite
  • *******
  • Join Date: Nov 2015
  • Posts: 12782
  • Total likes: 4716
  • DansDeals.com Hat Tips 16
    • View Profile
  • Location: 770
Re: Coding/programming
« Reply #4 on: March 24, 2022, 04:20:38 PM »
Would you expect someone that uses vi to drive a stick shift?

Not if they live in a high traffic area and need to do a lot of driving. I haven't used vi, but I can appreciate it (though I was introduced to it at a stage where I got used to other things, and I am notorious for typos and syntax errors, so I prefer tools that will help me with that. I still prefer keyboard control to anything one can do with a mouse). I have driven stick shift in Israeli highway traffic, that is pure torture, the little bit of extra control doesn't compensate for the constant need to use the clutch.
I've been waiting over 5 years with bated breath for someone to say that!
-- Dan

Offline SSLPhD

  • Dansdeals Platinum Elite + Lifetime Silver Elite
  • *****
  • Join Date: Jul 2015
  • Posts: 642
  • Total likes: 157
  • DansDeals.com Hat Tips 0
    • View Profile
  • Location: My couch
Re: Coding/programming
« Reply #5 on: March 24, 2022, 04:22:23 PM »
Here's what I was thinking of:

https://forums.dansdeals.com/index.php?topic=124200.msg2431035#msg2431035

I think had I given it a bit more thought before watching the video, I would've gotten more of the fun part.  The mod in the second solution was just the first part...
40/50, 42/63

Offline srap

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: Dec 2013
  • Posts: 2820
  • Total likes: 169
  • DansDeals.com Hat Tips 4
    • View Profile
Re: Coding/programming
« Reply #6 on: March 24, 2022, 06:05:56 PM »

That says something about you. (I am not a coder or programmer in any way shape or form, but I have been involved with some programming in the past).
 
Good point.  Maybe we should discuss this over here