|
At home I am "working" on an algorithm for the last 2 years... (on and off)
Current state: working with bugs...
I plan to get back into it asap, and finally iron out those little kinks...
|
|
|
|
|
I solved this before. That just makes it worse. I used to understand it.
Then again, maybe it's cause for hope that I can grok it again
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
So buddy's father in law(FIL) saw a sampler case of microbrews from Wisconsin on the shelf. It was the last one. He texted said buddy and asked if he wanted it. Buddy of course said yes. PAckage shows up in the mail last night. Buddy goes to open it and finds sneakers, basketball and a dictionary.
Texts back to FIL - WTElephant is up? FIL - Opps. That is the box for your son at college. The packages must have gotten mixed up. I bet Max got your beer.
So ? is. Any Chance any beer is left?
To err is human to really mess up you need a computer
|
|
|
|
|
rnbergren wrote: Any Chance any beer is left?
I'd bet it "evaporated" while in transport.
Common sense is admitting there is cause and effect and that you can exert some control over what you understand.
|
|
|
|
|
rnbergren wrote: sampler case of microbrews from Wisconsin Welcome to Wisconsin, land of beer and cheese. Guesses about what was inside the sampler:
0. New Glarus, likely Spotted Cow. Great brewery, but not the variety I'd pick to share
1. Ale Asylum
2. O'so
3. 3 Sheeps
4. Lakefront
5. Central Waters
6. Maybe Point Brewery, depending on the time of year Summer Shandy
7. Sprecher's, meh.
|
|
|
|
|
rnbergren wrote: That is the box for your son at college. The packages must have gotten mixed up. I bet Max got your beer.
Think of it this way. At least he didn't send a box of condoms to your daughter in college. Somebody would've had questions to answer.
|
|
|
|
|
I've become an ardent fan of using reflection in my code.
I hope that doesn't reflect poorly on me.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
modified 4-Apr-19 13:54pm.
|
|
|
|
|
(edit: serious note, if you're at all serious)
I'm curious what you use it for, as I have almost always found a better way to do things.
I use tuples and associative arrays for a lot of what i could use reflection for (long story)
I'm not saying you don't have good reasons, more I'm simply curious.
I *do* use it a lot for code generation at times.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
modified 4-Apr-19 9:50am.
|
|
|
|
|
The most recent example is the code I wrote to import a NESSUS xml file. The various elements all have different attributes, and we needed to dynamically identify those attributes for inserton into the database. The best way to do it was to use reflection to handle the various properties in the C# objects. What would have been at least 5000 lines of code was reduced to a couple of hundred lines. This also lets me build the sql tables (and insert into them) on the fly without worrying about what data is coming in (the tables are dropped and recreated for each imort cycle, and using reflection means I don't have to worry about adapting the table building code to new/deleted properties in the objects). This app replaced a perl script, and my app handles abnout twice the data and takes about 20% of the time that the perl script did, not to mention is more maintainable because we have a bunch of C# devs that don't have any real perl experience (and aren't interested in gaining any).
I also use reflection to build datatables from an imported csv or excel file.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
modified 4-Apr-19 11:23am.
|
|
|
|
|
Ah I see. I don't generate source from objects. I usually have a master file that generates the objects and the other stuff (SQL tables, etc)
But I understand, esp in cases where you don't have the luxury of controlling that.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
#realJSOP wrote: I hope that doesn't reflect poorly on me.
I'll have to reflect awhile on that...
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
i think reflective meditation is good for the soul
it's probably good for your code, too.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
As long as it ain't all smoke and mirrors.
I do all my own stunts, but never intentionally!
JaxCoder.com
|
|
|
|
|
Hope the Dotfuzzcator won't cause a lot of fuzz then
|
|
|
|
|
So without going into any particular clinical labels, I went mad in about 2016, following a massive psychotic event.
During one of those bouts of mania I had, I developed some parsing code.
This parsing code didn't survive a hard drive crash.
I no longer understand what I did.
I know if I went off meds I could solve it again.
But mania causes brain damage.
But if I don't, not solving this after having solved it will drive me mad in itself.
It's not really about having the code. It's about solving the problem to fill that need I think a lot of you can relate to.
But I can next-level what I'm able to understand when off meds. Overclocking my mind I guess, in a sense. It costs.
I don't want to do it. But I want to do it, you know?
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
I personally would not advertise to anyone that you are mentally unstable. I have seen colleagues do this and it ruined their careers.
Some things are better left unsaid, especially on the internet.
Edit: just make sure you getting the help you need, when you need it. Please don't be a statistic. I have lost a few friends over the years to this type of stuff. If you are reaching out for help, then seek a professional, please.
modified 4-Apr-19 9:43am.
|
|
|
|
|
I don't have a career in software anymore. I left the fold.
I dev on my own time now.
As far as me not talking about it, I have nothing to be ashamed of around it.
There's a stigma around it sure. I just don't care about that.
How people feel about it says more about them than me.
The truth about madness is as often as not, it is a mixed bag.
It has benefits and costs. I've seen things very few people have as a result of it.
The accidental clockwork of creation has unfolded for me. I can solve complex problems without thinking about them, breaking them down and analyzing them. They flow from me when I achieve an elevated state.
So it has its gifts. And its costs. It is what it is, to'evah/taboo around it or no.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
|
But then again, who can claim that he is totally mentally stable?
Quote: Here's to the crazy ones.
The misfits.
The rebels.
The troublemakers.
The round pegs in the square holes.
The ones who see things differently.
They're not fond of rules.
And they have no respect for the status quo.
etc. etc.
|
|
|
|
|
i'd upvote this more if i could.
enthusiastically cosigned.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Thanks, I've got that taken care of. I'm in a really solid marriage of going on 10 years too, so I've got close up support.
I'm here just sharing. For starters, it's part of who I am, and I'm unafraid of talking about it, but it causes interesting problems. =)
It also brings me some gifts.
I've thought a lot about whether I would trade it or not. In the end it depends on the day.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Internet is not really the best place to get medical advice from.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
I'm not looking for advice. I'm just sharing.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Github private repositories.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
wish I would have had that foresight in the throes of mania.
back then i was using an older copy of visual studio and i didn't have source control enabled on it.
now that i have 2017 i'm using the github extension
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|