My geek thread
#1726
No matches
Join Date: Aug 2008
Location: Eastern PA
Posts: 11,647
Bikes: two wheeled ones
Mentioned: 15 Post(s)
Tagged: 0 Thread(s)
Quoted: 1398 Post(s)
Liked 444 Times
in
250 Posts
Those of you who program (or perhaps even more importantly, those of you who write short/small scripts or programs) how do you stop from getting sucked in?
I have a script I'm working on for work, doing some text conversion and plain text database manipulation stuff. I enjoy this stuff, and in particular this is small (500 lines), entirely mine, complex enough to be challenging, and has a very short feedback loop because I can run it and review results in about 5 seconds.
The short feedback loop really gets me addicted I think, plus I have no roadblocks or anything from other people. I'd rather keep working on this until I'm done instead of stopping for the evening. I realize it's a problem (and I did stop, although I might work tonight...) but even though I realize it's a problem it's a basic adrenaline, dopamine thing that's really hard to stop.
I have a script I'm working on for work, doing some text conversion and plain text database manipulation stuff. I enjoy this stuff, and in particular this is small (500 lines), entirely mine, complex enough to be challenging, and has a very short feedback loop because I can run it and review results in about 5 seconds.
The short feedback loop really gets me addicted I think, plus I have no roadblocks or anything from other people. I'd rather keep working on this until I'm done instead of stopping for the evening. I realize it's a problem (and I did stop, although I might work tonight...) but even though I realize it's a problem it's a basic adrenaline, dopamine thing that's really hard to stop.
Likes For Flatballer:
#1727
Senior Member
Join Date: Jan 2014
Location: Southern California, USA
Posts: 10,475
Bikes: 1979 Raleigh Team 753
Mentioned: 153 Post(s)
Tagged: 0 Thread(s)
Quoted: 3375 Post(s)
Liked 371 Times
in
253 Posts
Can you make anything out of this? It is an agenda. It is designed to have the reader wonder, not understand and not think it is too wacked out.
I started coding in '84 to support magnetic calculations, then manufacturing then CAD then ... Anyway now, not much technologically is interesting unless it increases revenue.
I spit this out this morning after 3 espressos (not drinking espresso at posting time) rather than a product plan as I think philosophies are the real starting point. -Product is something repeatable that can be priced and delivered to address customer requirements.
EDIT: - I lost all the indenting when I saved it. I'll still leave it.
Services, code, hardware, methodology.
-People buy on emotion and justify by logic
Emotion – Platform, FOMO, new, New shiny, people preference
Logic – Cash, track record, low FUD
-People buy from people that they know and trust and people that understand their business.
Our wheelhouse
-People who are trustworthy
-Track Record
-Enterprise systems
-Manufacturing and distribution (process)
-Small / Medium businesses
-We know their platform
-Independent buying cycle is better
-Increasing revenue by increasing market is easier than by increasing features.
Platform adoption
-Market is increased by providing features on the customer’s preferred platform.
Platform adoption
I cut the rest.
I started coding in '84 to support magnetic calculations, then manufacturing then CAD then ... Anyway now, not much technologically is interesting unless it increases revenue.
I spit this out this morning after 3 espressos (not drinking espresso at posting time) rather than a product plan as I think philosophies are the real starting point. -Product is something repeatable that can be priced and delivered to address customer requirements.
EDIT: - I lost all the indenting when I saved it. I'll still leave it.
Services, code, hardware, methodology.
-People buy on emotion and justify by logic
Emotion – Platform, FOMO, new, New shiny, people preference
Logic – Cash, track record, low FUD
-People buy from people that they know and trust and people that understand their business.
Our wheelhouse
-People who are trustworthy
-Track Record
-Enterprise systems
-Manufacturing and distribution (process)
-Small / Medium businesses
-We know their platform
-Independent buying cycle is better
-Increasing revenue by increasing market is easier than by increasing features.
Platform adoption
-Market is increased by providing features on the customer’s preferred platform.
Platform adoption
I cut the rest.
Likes For Doge:
#1728
Senior Member
Join Date: Jan 2006
Location: Redlands, CA
Posts: 6,313
Mentioned: 31 Post(s)
Tagged: 0 Thread(s)
Quoted: 842 Post(s)
Liked 469 Times
in
250 Posts
Those of you who program (or perhaps even more importantly, those of you who write short/small scripts or programs) how do you stop from getting sucked in?
I have a script I'm working on for work, doing some text conversion and plain text database manipulation stuff. I enjoy this stuff, and in particular this is small (500 lines), entirely mine, complex enough to be challenging, and has a very short feedback loop because I can run it and review results in about 5 seconds.
The short feedback loop really gets me addicted I think, plus I have no roadblocks or anything from other people. I'd rather keep working on this until I'm done instead of stopping for the evening. I realize it's a problem (and I did stop, although I might work tonight...) but even though I realize it's a problem it's a basic adrenaline, dopamine thing that's really hard to stop.
I have a script I'm working on for work, doing some text conversion and plain text database manipulation stuff. I enjoy this stuff, and in particular this is small (500 lines), entirely mine, complex enough to be challenging, and has a very short feedback loop because I can run it and review results in about 5 seconds.
The short feedback loop really gets me addicted I think, plus I have no roadblocks or anything from other people. I'd rather keep working on this until I'm done instead of stopping for the evening. I realize it's a problem (and I did stop, although I might work tonight...) but even though I realize it's a problem it's a basic adrenaline, dopamine thing that's really hard to stop.
#1729
No matches
Join Date: Aug 2008
Location: Eastern PA
Posts: 11,647
Bikes: two wheeled ones
Mentioned: 15 Post(s)
Tagged: 0 Thread(s)
Quoted: 1398 Post(s)
Liked 444 Times
in
250 Posts
I need to learn Powershell probably. Whenever I need to glue things together I use batch files still. I've heard good things.
#1732
Junior Member
Join Date: Oct 2020
Posts: 10
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 2 Times
in
2 Posts
I think what helps is drawing out a flow chart/diagram and work from there, that way you're not spending an inordinate amount of time on said program. It really is like a puzzle tho, so I can see how you could get sucked in
#1733
No matches
Join Date: Aug 2008
Location: Eastern PA
Posts: 11,647
Bikes: two wheeled ones
Mentioned: 15 Post(s)
Tagged: 0 Thread(s)
Quoted: 1398 Post(s)
Liked 444 Times
in
250 Posts
Bought a new laptop today. It'd been 5 years, and the hinges were half-broken and the webcam broke a few weeks ago, so it was time.
MSI GE75 Raider. i9-10750H, RTX-2070 (115W 8 GB refreshed version), 16 GB ram, 512 GB SSD/1TB HD, 144 hz 17.3" screen. Per-key RGB keyboard.
Compared to my existing gaming laptop it's gonna be night and day. We've come a long way in 5 years, plus I'm going up a price point, from $1000 back then to about $1500 now (although it's on sale for $1200, or will be on Thanksgiving, and Costco has price protection so I can get the difference back).
Eventually probably upgrade the RAM to 32 GB, but other than that, I'm pretty happy with the stats.
MSI GE75 Raider. i9-10750H, RTX-2070 (115W 8 GB refreshed version), 16 GB ram, 512 GB SSD/1TB HD, 144 hz 17.3" screen. Per-key RGB keyboard.
Compared to my existing gaming laptop it's gonna be night and day. We've come a long way in 5 years, plus I'm going up a price point, from $1000 back then to about $1500 now (although it's on sale for $1200, or will be on Thanksgiving, and Costco has price protection so I can get the difference back).
Eventually probably upgrade the RAM to 32 GB, but other than that, I'm pretty happy with the stats.
Likes For Flatballer:
#1734
No matches
Join Date: Aug 2008
Location: Eastern PA
Posts: 11,647
Bikes: two wheeled ones
Mentioned: 15 Post(s)
Tagged: 0 Thread(s)
Quoted: 1398 Post(s)
Liked 444 Times
in
250 Posts
Our stupid monkey brains are so dumb. I've been perfectly happy with my existing laptop for years. I wasn't really toying with getting a new one, just hoping to get one for the wife soon once I can make her commit (she's using a Macbook from like 2010 to game on, it crashes constantly, it's awful, I would've thrown it through a window years ago). But since my webcam broke, I said screw it.
Now that I actually purchased one, I'm refreshing the order status on the website every 35 seconds (approximately). Costco is extraordinarily ambitious with its shipping estimate apparently. When I ordered yesterday it said "earliest delivery 11/10". It still says in the order "earliest delivery 11/10" even though it's almost 4 PM and it apparently hasn't shipped. I don't have high hopes, I'd be happy to have it Thursday honestly, but it's just funny how much I care all of a sudden.
Now that I actually purchased one, I'm refreshing the order status on the website every 35 seconds (approximately). Costco is extraordinarily ambitious with its shipping estimate apparently. When I ordered yesterday it said "earliest delivery 11/10". It still says in the order "earliest delivery 11/10" even though it's almost 4 PM and it apparently hasn't shipped. I don't have high hopes, I'd be happy to have it Thursday honestly, but it's just funny how much I care all of a sudden.
#1735
Killing Rabbits
Join Date: Apr 2005
Posts: 5,697
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Quoted: 278 Post(s)
Liked 217 Times
in
102 Posts
Our stupid monkey brains are so dumb. I've been perfectly happy with my existing laptop for years. I wasn't really toying with getting a new one, just hoping to get one for the wife soon once I can make her commit (she's using a Macbook from like 2010 to game on, it crashes constantly, it's awful, I would've thrown it through a window years ago). But since my webcam broke, I said screw it.
Now that I actually purchased one, I'm refreshing the order status on the website every 35 seconds (approximately). Costco is extraordinarily ambitious with its shipping estimate apparently. When I ordered yesterday it said "earliest delivery 11/10". It still says in the order "earliest delivery 11/10" even though it's almost 4 PM and it apparently hasn't shipped. I don't have high hopes, I'd be happy to have it Thursday honestly, but it's just funny how much I care all of a sudden.
Now that I actually purchased one, I'm refreshing the order status on the website every 35 seconds (approximately). Costco is extraordinarily ambitious with its shipping estimate apparently. When I ordered yesterday it said "earliest delivery 11/10". It still says in the order "earliest delivery 11/10" even though it's almost 4 PM and it apparently hasn't shipped. I don't have high hopes, I'd be happy to have it Thursday honestly, but it's just funny how much I care all of a sudden.
I'd be excited too as that those specs are crazy. You will enjoy it after the first the first few days of installing...
#1736
No matches
Join Date: Aug 2008
Location: Eastern PA
Posts: 11,647
Bikes: two wheeled ones
Mentioned: 15 Post(s)
Tagged: 0 Thread(s)
Quoted: 1398 Post(s)
Liked 444 Times
in
250 Posts
It'll be here tomorrow, finally updated. Yeah, since I work from home I can sit it next to me in my office and hit a button every once in a while to install and download stuff. Also gonna under volt probably. It keeps them much quieter with basically no performance penalty.
#1737
No matches
Join Date: Aug 2008
Location: Eastern PA
Posts: 11,647
Bikes: two wheeled ones
Mentioned: 15 Post(s)
Tagged: 0 Thread(s)
Quoted: 1398 Post(s)
Liked 444 Times
in
250 Posts
It'll be here tomorrow, finally updated. Yeah, since I work from home I can sit it next to me in my office and hit a button every once in a while to install and download stuff. Also gonna under volt probably. It keeps them much quieter with basically no performance penalty.
UPS has updated now and doesn't show a date anymore, Costco didn't even give them the package yet supposedly. So today seems unlikely. Maybe tomorrow.... I was hoping to have a work day to fix it up before the weekend, but now I can't do that probably. Lame.
#1738
No matches
Join Date: Aug 2008
Location: Eastern PA
Posts: 11,647
Bikes: two wheeled ones
Mentioned: 15 Post(s)
Tagged: 0 Thread(s)
Quoted: 1398 Post(s)
Liked 444 Times
in
250 Posts
I had more ssd storage on my last laptop than I remembered. So I'm replacing the HDD with the 2.5 inch ssd out of my old laptop, and adding a 1TB NVME 3500 ish speed M2.
#1741
No matches
Join Date: Aug 2008
Location: Eastern PA
Posts: 11,647
Bikes: two wheeled ones
Mentioned: 15 Post(s)
Tagged: 0 Thread(s)
Quoted: 1398 Post(s)
Liked 444 Times
in
250 Posts
Guessing most folks on here read xkcd, but the last few have been good. Yesterday's was excellent, one of his best.
https://xkcd.com/2386/
The one from the 11th is something my wife and I keep talking about whenever we're watching stuff.
https://xkcd.com/2384/
https://xkcd.com/2386/
The one from the 11th is something my wife and I keep talking about whenever we're watching stuff.
https://xkcd.com/2384/
Likes For Flatballer:
#1742
Killing Rabbits
Join Date: Apr 2005
Posts: 5,697
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Quoted: 278 Post(s)
Liked 217 Times
in
102 Posts
Guessing most folks on here read xkcd, but the last few have been good. Yesterday's was excellent, one of his best.
https://xkcd.com/2386/
The one from the 11th is something my wife and I keep talking about whenever we're watching stuff.
https://xkcd.com/2384/
https://xkcd.com/2386/
The one from the 11th is something my wife and I keep talking about whenever we're watching stuff.
https://xkcd.com/2384/
The first link is super old.
SMBC is better.
#1745
Senior Member
has anyone ever programmed a power duration curve for a single ride? would love tips if you have, I'm revisiting my python/django project and realized what I have is totally off and giving me goofy results.
#1746
Killing Rabbits
Join Date: Apr 2005
Posts: 5,697
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Quoted: 278 Post(s)
Liked 217 Times
in
102 Posts
I took the raw power data and calculated various moving averages over different durations (30s, 1min, 2min, 4min, 6min, 10min, 20min) and then found the maximums in each of the new smoothed data columns.
I then used those maximums when doing model fitting for the power duration curve.
Probably could be coded using a simple array easily.
Last edited by Enthalpic; 01-19-21 at 05:46 PM.
#1747
Senior Member
Very crudely, in Excel.
I took the raw power data and calculated various moving averages over different durations (30s, 1min, 2min, 4min, 6min, 10min, 20min) and then found the maximums in each of the new smoothed data columns.
I then used those maximums when doing model fitting for the power duration curve.
Probably could be coded using a simple array easily.
I took the raw power data and calculated various moving averages over different durations (30s, 1min, 2min, 4min, 6min, 10min, 20min) and then found the maximums in each of the new smoothed data columns.
I then used those maximums when doing model fitting for the power duration curve.
Probably could be coded using a simple array easily.
#1748
Killing Rabbits
Join Date: Apr 2005
Posts: 5,697
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Quoted: 278 Post(s)
Liked 217 Times
in
102 Posts
#1749
Senior Member
for i inrange(1, ridelength):
iw=spc2['watts'].rolling(window=i).mean().max()
Likes For hubcyclist:
#1750
Senior Member
Join Date: Jan 2014
Location: Southern California, USA
Posts: 10,475
Bikes: 1979 Raleigh Team 753
Mentioned: 153 Post(s)
Tagged: 0 Thread(s)
Quoted: 3375 Post(s)
Liked 371 Times
in
253 Posts
I'm very excited and impatient.
Been trying to hire the best coder/architect I know of (in 35 years of hundreds of developers) for the last 2 years.
Got the hook set, now need to get him online. Got verbal's but it is complicated as he's virtual and not in the USA, although a USA citizen. We got lawyers involved.
Been trying to hire the best coder/architect I know of (in 35 years of hundreds of developers) for the last 2 years.
Got the hook set, now need to get him online. Got verbal's but it is complicated as he's virtual and not in the USA, although a USA citizen. We got lawyers involved.
Likes For Doge: