Saturday, September 16, 2017
sas 9.4 - esp DS2
http://www.notecolon.info/2013/02/note-ds2-learn-something-new.html
START HERE ... some old basic intro stuff
https://support.sas.com/resources/papers/proceedings15/2523-2015.pdf
good intro
hash
threads
init
run
https://blogs.sas.com/content/sgf/2016/04/22/solutions-for-many-of-the-missing-data-step-features-within-ds2/
Thursday, September 14, 2017
out of stock and pre-order
heh
it is a classic "marketing" problem
you sold 10 pints of ice cream - YAY
except that you only had 10 pints on the shelf ... so you sold 100% of your stock - BOO
you could have sold 11 or 20 or 2000, but you have zero information
oh look order online
product is not currently IN STOCK (new or jsut out of stock)
TADA
let them PRE_ORDER, first come, first filled
oh look, you have 12,000 preorders, and can make 2000 a month
TADA
send email
first 2000 get their order in jan<
next 2000 in feb
etc
no waiting, no worrying
and ...
OMFG 12,000 pre orders?????
can we bump production up from 2000 a month to 4000 a month???
instead ... they have ZERO INFORMATION ...
you can not run a business with ZERO INFORMATION
Dont get me started on shoes and levis being out of stock.
SO WHAT@#$@!#!@#
LET ME PLACE AN ORDER
delivered and charged when you can FILL IT
shoes manufactures are the WORST ...
"we know everything, so lets make 100 pairs of 9s, and 10 pairs of 12s"
12s are always out of stock
"no worry, our next shipment will be 100 pairs of 9s and 10 pairs of 12s"
FFS
Wednesday, September 13, 2017
stress - great list
http://elitedaily.com/wellness/signs-under-more-stress-realize/1589629/
Here are 10 signs you're probably under way more stress than you realize:
1. Your sleep patterns have drastically changed.
Stress affects everyone uniquely.
Some people may want to stay in bed all day long and sleep until they absolutely have to wake up. Others may lose a majority of their quality sleep time due to their stress.
However, this shouldn't describe your normal sleeping pattern. If you have chronic insomnia or find yourself sleeping throughout the day most days, you should talk to your physician.
2. Your health is going downhill.
Jaw pain from clenching or grinding your teeth, catching every sickness that's going around, breaking out in rashes or hives and extreme anxiety or panic are all quite common signs of persistent stress.
Each of these symptoms can have remarkable repercussions to your overall bodily health, which means constant dentist, doctor or dermatologist visits, but never a solution to the underlying catalyst of your stress.
3. Your body is sending you (not so subtle) hints.
Those under continual stress will begin to experience nasty (but not severe) stress-related triggers. Persistent mild headaches, daily neck tension and/or recurrent nausea may start to pop up out of nowhere.
But, these things are actually commonly linked to a direct stressor. If you start to feel physically ill on the drive to work each morning, end up taking aspirin everyday just to make it through or finish the day with cramps in your neck or shoulders, there is a specific reason these things continue to occur.
If not taken care of, these issues can develop into larger health problems that will need medical attention.
4. You've lost interest in your favorite things.
Whether that's hanging out with your partner, going to the gym or watching your favorite show, it just doesn't seem to carry the same luster it once had.
You may now even find yourself criticizing or nitpicking all the aspects of your hobbies or previous areas of enjoyment. Nothing sounds like it will satisfy your need for relaxation or happiness.
So, you feel like you'd rather just not do it at all. This type of side effect, along with the others on this list, are huge red flags of an issue that is likely much larger than stress alone.
5. Your normal standards for appearance and upkeep don't exist.
I don't mean just going without makeup for a day or wearing clothes that are a little bit more comfortable and less fashionable from time to time. This is more about not showering and not taking pride in yourself whatsoever.
Everyone has a different style and routine in which they use every day. Yet, when a large amount of stress enters our lives, even the little things we are used to taking pleasure in can become cumbersome.
6. Your moods only vary from angry to sad.
If you can't seem to recall the last time you laughed or had a pleasant conversation with someone, you might be letting stress get the better of you.
You may often find yourself lashing out at loved ones in your life, when this was never your regular tendency. When you feel like your emotions have a hair triggerand anything could make you cry or scream at a moment's notice, there's probably something majorly weighing you down.
7. Your eating habits have significantly changed.
Eating much more or less than you normally do can be a serious sign of stress.
Some folks deal with stress by changing their diet completely, whether they know it or not. Suddenly, eating fast food for every meal or skipping meals altogether puts an extra layer of stress on the body and the mind.
Without proper nutrition, your body and brain no longer have the willpower to make rational decisions on the daily.
8. You're in a constant state of drowsiness.
Not only is this most likely due to a change in sleep patterns, but it also has to do with the stress put on your brain each day.
Thinking about your stressors all day, every day is very hard on the mind. This leaves little time for relaxation of the brain. As such, you probably feel like there's just not enough time in the day to get everything done or have enough time for yourself.
You should always be able to pick at least a few moments of enjoyment from each day.
9. You're covering your stress with unhealthy activities.
Using smoking, drinking or other substances as a crutch for your stress is, needless to say, an unhealthy practice.
While I am not here to lecture anyone on the right and wrong ways to be healthy, substance abuse can become a crippling addiction before you know it.
No one is exempt from the possibility of addiction. A vast majority of individuals suffering from mental health problems, even if they are temporary, choose to cope with their stress in this way (knowingly or not).
10. You're feeling more alone than ever (but hate the thought of going out)
It can be additionally stressful to try to explain your situation to friends and family. So, it's not uncommon to want to skip that conversation altogether.
Unfortunately, this can become a “no-win scenario” in which you either feel secluded and alone with no one to relate to, or you feel the judgement of others upon you due to your stressful circumstances.
If you're experiencing these types of symptoms, it might be time to seek some help. Especially if you're feeling signs of depression and anxiety, it can escalate quickly.
There's nothing wrong or shameful with simply speaking to a doctor, counselor or psychiatrist. Those who take control of their stress and mental health will ultimately be able to control it, not the other way around.
Saturday, September 9, 2017
tv shows 2017 list
saving grace on netflix
one of the GREAT unwatched shows
AMAZING AMAZING AMAZING
links (buffy, dr who, BSG, and many many many others)
HBO
westworld
one of the GREAT unwatched shows
AMAZING AMAZING AMAZING
links (buffy, dr who, BSG, and many many many others)
https://docs.google.com/spreadsheets/d/16gvDqJccQlWsXh2BBomb_HE04kGMihQnd726vcMVsBA/edit?usp=sharing
there are MANY TABS to many different shows ...
buffy is a great start
but man ... you can do some DR who ....
girl in the fireplace ...
beauty ... and clockwork
and Versailles
Hulu
Silk - courts
Prime Suspect - crimes - helen mirrin !!!!
MI-5 - uk fbi - fantastic
netflix
califonrication
the fall
broadchurch
wentworth
here alone (zombie drama)
hinterland
buffy is a great start
but man ... you can do some DR who ....
girl in the fireplace ...
beauty ... and clockwork
and Versailles
Hulu
Silk - courts
Prime Suspect - crimes - helen mirrin !!!!
MI-5 - uk fbi - fantastic
netflix
califonrication
the fall
broadchurch
wentworth
here alone (zombie drama)
hinterland
wallander (kenneth branauhg)
Saving Grace !!!!
buffy
Saving Grace !!!!
buffy
HBO
westworld
Monday, September 4, 2017
Sunday, September 3, 2017
sas batch jobs
http://support.sas.com/documentation/cdl/en/hostwin/69955/HTML/default/viewer.htm#p16esisc4nrd5sn1ps5l6u8f79k6.htm#p01fzykn6n0s73n164xasi1t3ii9
START !!(how to put multiple starts in one batch ... lol)
http://blogs.sas.com/content/iml/2015/03/16/pass-params-sysget.html
http://www.sascommunity.org/wiki/Parse_sysparm
http://www.sascommunity.org/wiki/Batch_processing_under_Windows#Advanced_Usage:_Setting_Environment_Variables
https://communities.sas.com/t5/SAS-Procedures/SYSPARM-Pass-Command-Line-Arguments-to-SAS/td-p/194511
START !!(how to put multiple starts in one batch ... lol)
Start "Job1" "c:\Program Files\SASHome\SASFoundation\9.4\Sas.exe" —sysin c:\test1.sas
START with WAIT to make them run one after another
http://blogs.sas.com/content/iml/2015/03/16/pass-params-sysget.html
/* get values of environment variables from SAS command line */ %let aMin = %sysget(aMin); %let aMax = %sysget(aMax); %let bMin = %sysget(bMin); %let bMax = %sysget(bMax); %let DSName = %sysget(DSName); |
With this change, you can run the DATA step in batch mode and use the -SET option on the SAS command line to change the parameter values for each invocation. For example, if the program is stored in the file PassParams.sas then the first invocation from a Windows command prompt could be
> "C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" PassParams.sas
-set DSName "Out1"
-set aMin 0.1 -set aMax 2 -set bMin 0.1 -set bMax 2
|
http://www.sascommunity.org/wiki/Batch_processing_under_Windows#Advanced_Usage:_Setting_Environment_Variables
https://communities.sas.com/t5/SAS-Procedures/SYSPARM-Pass-Command-Line-Arguments-to-SAS/td-p/194511
mingw - minimal compling thingy - might be super awesome if I had free time ... etc ...
https://mingw-w64.org/doku.php
Subscribe to:
Posts (Atom)