#fixing error 1005
Explore tagged Tumblr posts
web-hosting174 · 2 years ago
Text
0 notes
lostpioneer · 7 years ago
Text
Can’t Sit Down and Write? Same Dude
Alright, buddy, I’m going to lay this out flat on you, whoever you are. I’m absolute garbage at writing. I don’t just mean skill, I mean all aspects- Commitment, focus, grammar (though I try my hardest,) and pretty much anything you can think of, I’m bad at. I probably have more unfinished writing ideas than I have days left on this Earth, and I can never dedicate myself to just one idea. Even short stories, besides ones I wrote back in middle school that I pretend don’t exist, remain unfinished and collecting virtual dust in my computer files while I do literally anything besides write.
The one strength I might possibly have, though? I soak up anything- And I mean anything- that I can about writing. Tips and tricks, websites, apps, styles- Everything I can get my hands on. So here’s my grand idea: I’m going to write this blog in an attempt to help other people like me, and maybe even people that don’t have the same issues I have.
The way I see it is writing is a complex art- And just like in any other type of art, you want the best tools you can possibly obtain. Like paintbrushes for watercolor, or graphite pencils for visual art. Those tools help you do better in whichever focus you have, so shouldn’t writing tools do the same?
You can argue that writing comes from within, from years of teaching, and I get that and agree with it- but there’s nothing wrong with a little extra help.
So, here are some of my (im)perfect tips for perfect writing.
 -         Sit your ass down. I’m sure a lot of you have heard this one but I can’t stress it enough. It is an extremely important aspect of writing that can start as a building block for success. When you make yourself sit down at your desk and put pen to paper (or fingers to keys,) it helps you commit yourself to the project even more.
-         Set word goals. There’s a lot of neat sites and programs that can help you keep track of your word and character counts, and these sites usually come with extra functions as well, so it never hurts to “shop” around. The point of this, though, is to have realistic goals. Of course, the end goal is to finish your paper, end the novel, or complete your short story, but you need smaller goals in between, especially if your project is a rather large one. Think like a chapter or two a day, or 1,000-1,600 words a day. These are just random values I shoot for, but yours don’t have to be as extensive- Just set the goal. When you get to a certain word goal, there’s a sense of accomplishment that can follow, and even sometimes you’ll have the urge to keep on trudging through it. Writing is also a pain sometimes, which is why word goals are so important- Set small ones if you get easily restless, or you don’t have a lot of free time to set aside. The important thing is having a goal you can reach, or at least get close to.
-         Write first, Edit later. Now this may sound easier than it is, and for some people (me in particular,) I have an insanely difficult time not editing on the way. And sometimes that’s okay. I usually find myself just fixing a word or grammar error, like a missing period or misspelled word. What I mean about not editing is when you stop your writing and go back to review what you’ve done. This is okay if you’ve found a good stopping point or reached a goal, but to backtrack in the middle of a writing process can hurt your workflow and get your mind off the current task. As painful as it might sound, sometimes you have to grit your teeth and push through that nagging urge to double-check what you’ve done.
-         Take breaks (if you need to.) If you’re anything like me, you might have a hard time sitting and clacking at your keyboard for more than 20 or 30 minutes at a time (I can barely manage that.) So the logical way to stop yourself from getting worn out is to just take a break. Watch a YouTube video, look at Pinterest or Tumblr, or IG- Anything you want. The key here is to give your mind time to process something different and keep it from getting worn out on the same thing. The other key is to return to your writing once you’ve given your mental muscles time to breathe. It’s a weird thing to balance, but if you can find one, it does wonders.
·         Find a writing buddy. Now this is a recent one for me, but it also helps a lot with your consistency. Basically find a friend or relative that bears a similar interest in writing that you do, one that can go through the journey of writing with together. If you can’t find someone that will write with you, at least find a friend that can hold you accountable. A good way to do it is ask them if they can keep you responsible- Tell them what you’re writing, what your daily word goals are, what times during the day you’ll be writing. It’s a new experience for me but I 100% recommend it to anyone that struggles with staying committed.
-         Find an idea and stick with it. This is probably the hardest one for me personally. I have so many ideas that I’d love to see played out in stories and novels, but I can never make myself focus on just one. And that’s the key- You have to find the one. Now, it doesn’t mean you can’t have other ideas, but unless you’re an amazing multitasker, you need to focus on the one that you’re working on then and there. If I had a dollar for any idea that distracted me from finishing another idea, I’d be rich enough to hire someone else to write this for me. (Not really, I’d probably spend it on candy bars or something, but you get my point. Right?)
 So those are just a few ideas off the top of my head. I might come back to this post at some later date to add more if any come to mind, or just start a new post entirely; call it part two or something. But that’s it for now on the Tips!
So below here, I’m going to list some of my favorite apps/websites that enable writing, ones that I personally enjoy and why I enjoy them. Here goes:
 -         sta.sh: Nothing too special here, basically just a free writing tool that’s similar (though not as extensive) as Microsoft Word. The cool thing about it is that it’s 100% free, all you need is a DeviantArt account. Sta.sh is 1005 online and backs up your files online as well automatically. It’s all private as well- No one else can see your stuff except for you, and if you do want to show it off, it generates a shareable link for your projects. Another cool perk is that you can store stuff besides writing, like pictures or videos.
-         Wordcounter.net: Kind of a similar format, but the importance of it is basically in the website name. It counts up your word and character counts, but also a few other interesting things, like how long it would take someone to read your material. The site also determines your “reading level” based on the type of words and such that you use (though you should take it with a grain of salt.)
-         Draftin.com: A free online website that just lets you write. An interesting mode it has, though, would be the “Hemingway Mode.” When you select this, you literally cannot change anything. I mean it- Try to backspace, nope. Try to highlight a word to retype it, nope. You can only go forward- Which could be either the greatest or the most infuriating thing you’ll ever see. Either way, I think it’s pretty neat.
-         HemingwayApp.com: You would think that this site would have been the ones to come up with that neat little perk, but nah. This one’s still pretty cool, though- it has a writing mode and editing mode. The writing mode is very simple- Just write, nothing special aside from basic editing like bold, italics, etc. But the editing part shows a few neat things: sentence length, grammar errors (to a point) how many adverbs you have, and alternative phrases you can use. It’s pretty nifty if you ask me.
-         Writer.Bighugelabs.com: My oh my, this one takes the cake for me. Call me weird, but I’m a sucker for certain sounds, and the clicking sound of a typewriter is among my favorites. So this app makes your keyboard sound just like that, as well as saving anything you write in the browser. Any time you leave, it’s automatically saved, and anytime you come back it pulls it right back up. The app is 100% free, but there is a pro membership if you want to go above and beyond the normal benefits of it.
-         Hanxwriter: Now this is an iPhone app that is pretty much the same as the one above- make your phone keyboard sound like a typewriter. That’s it. But if you ask me, it’s the greatest thing ever, so go take a look.
-         WriterDuet: Now I haven’t dipped my feet too far into this one, but from what I’ve seen I’m impressed. Once again, a phone app (unsure if it’s iPhone exclusive) that assists with your writing, and it’s really helpful for structuring scripts and the like.
-         Notebook.ai: This right here? This is the mother-load. I don’t even care what you’re writing, but you need to check this out. It’s a website that helps you collect all your world building ideas or even ideas for papers or essays. (Just mostly for world building) It asks you important questions about your universe as well, and there are too many awesome perks to talk about on this blog- Just check it out! You won’t regret it.
-         cerey.github.io/fighters-block: This is a fun, cute lil’ app that can push you intensely, or just give you some polite nudges. Basically you set a word goal and you have to keep writing, otherwise, the big bad monster will beat you up. Like I said, kind of cute, definitely entertaining.
 That’s about all I have for now! Like I said, I might come back to this post to add new stuff later on, but I’m fresh out of ideas at the moment. If anyone reads this, I hope I was able to help in some way or another!
Just remember guys and gals: Dedication is the biggest but most important step. Just write- worry about everything else later.
P.S. Let me know if I should add screencaps of these apps/websites, or if I should just leave it as it is. Peace!
4 notes · View notes
turbomoparboy · 5 years ago
Text
Below is the program I wrote to start my research on family history with alcoholism. In this initial program I calculated both the counts and percentages of survey results showing the alcoholic or drinking problems. These are separated by natural mother, father, brother and sister. I also did counts and percentages of the counts of sons and daughters who are having issues with alcohol. Since there is the possibility of missing data on the number of children I am displaying missing data using "dropna=False"
Program:
# -*- coding: utf-8 -*-
"""
Spyder Editor
"""
#Justin K
#NESARC Family History of Alcoholism
import pandas
import numpy
data = pandas.read_csv('nesarc_pds.csv', low_memory = False)
#setting to numeric
data['S2DQ1'] = pandas.to_numeric(data['S2DQ1'])
data['S2DQ2'] = pandas.to_numeric(data['S2DQ2'])
data['S2DQ3C2'] = pandas.to_numeric(data['S2DQ3C2'])
data['S2DQ4C2'] = pandas.to_numeric(data['S2DQ4C2'])
data['S2DQ5C1'] = pandas.to_numeric(data['S2DQ5C1'])
data['S2DQ6C1'] = pandas.to_numeric(data['S2DQ6C1'])
#counts and percentages with titles and not dropping missing data
print ('counts of natural fathers ever alcoholic or problem drinker 1=yes 2=No 9=Unknown (S2DQ1)')
c1 = data['S2DQ1'].value_counts(sort=False, dropna=False)
print (c1)
print ('percentages of natural fathers ever alcoholic or problem drinker 1=yes 2=No 9=Unknown (S2DQ1)')
p1 = data['S2DQ1'].value_counts(sort=False, normalize=True, dropna=False)
print (p1)
print ('counts of natural mothers ever alcoholic or problem drinker 1=yes 2=No 9=Unknown (S2DQ2)')
c2 = data['S2DQ2'].value_counts(sort=False, dropna=False)
print(c2)
print ('percentages of natural mothers ever alcoholic or problem drinker 1=yes 2=No 9=Unknown (S2DQ2)')
p2 = data['S2DQ2'].value_counts(sort=False, normalize=True, dropna=False)
print (p2)
print ('counts of natural brothers ever alcoholic or problem drinker 1=yes 2=No 9=Unknown (S2DQ3C2)')
c3 = data['S2DQ3C2'].value_counts(sort=False, dropna=False)
print(c3)
print ('percentages of natural brothers ever alcoholic or problem drinker 1=yes 2=No 9=Unknown (S2DQ3C2)')
p3 = data['S2DQ3C2'].value_counts(sort=False, normalize=True)
print (p3)
print ('counts of natural sisters ever alcoholic or problem drinker 1=yes 2=No 9=Unknown (S2DQ4C2)')
c4 = data['S2DQ4C2'].value_counts(sort=False, dropna=False)
print(c4)
print ('percentages of natural sisters ever alcoholic or problem drinker 1=yes 2=No 9=Unknown (S2DQ4C2)')
p4 = data['S2DQ4C2'].value_counts(sort=False, dropna=False, normalize=True)
print (p4)
print ('counts of natural sons ever alcoholic or problem drinker (S2DQ5C1)')
c5 = data['S2DQ5C1'].value_counts(sort=False, dropna=False)
print(c5)
print ('percentages of natural sons ever alcoholic or problem drinker (S2DQ5C1)')
p5 = data['S2DQ5C1'].value_counts(sort=False, dropna=False, normalize=True)
print (p5)
print ('counts of natural daughters ever alcoholic or problem drinker (S2DQ6C1)')
c6 = data['S2DQ6C1'].value_counts(sort=False, dropna=False)
print(c6)
print ('percentages of natural daughters ever alcoholic or problem drinker (S2DQ6C1)')
p6 = data['S2DQ6C1'].value_counts(sort=False, dropna=False, normalize=True)
print (p6)
#upper-case all DataFrame column names
data.columns = list(map(str.upper, data.columns))
# bug fix for display formats to avoid run time errors
pandas.set_option('display.float_format', lambda x:'%f'%x)
Output:
counts of natural fathers ever alcoholic or problem drinker 1=yes 2=No 9=Unknown (S2DQ1)
1 8124
2 32445
9 2524
Name: S2DQ1, dtype: int64
percentages of natural fathers ever alcoholic or problem drinker 1=yes 2=No 9=Unknown (S2DQ1)
1 0.188522
2 0.752907
9 0.058571
Name: S2DQ1, dtype: float64
counts of natural mothers ever alcoholic or problem drinker 1=yes 2=No 9=Unknown (S2DQ2)
1 2311
2 39553
9 1229
Name: S2DQ2, dtype: int64
percentages of natural mothers ever alcoholic or problem drinker 1=yes 2=No 9=Unknown (S2DQ2)
1 0.053628
2 0.917852
9 0.028520
Name: S2DQ2, dtype: float64
counts of natural brothers ever alcoholic or problem drinker 1=yes 2=No 9=Unknown (S2DQ3C2)
1 6213
2 35766
9 1114
Name: S2DQ3C2, dtype: int64
percentages of natural brothers ever alcoholic or problem drinker 1=yes 2=No 9=Unknown (S2DQ3C2)
1 0.144177
2 0.829972
9 0.025851
Name: S2DQ3C2, dtype: float64
counts of natural sisters ever alcoholic or problem drinker 1=yes 2=No 9=Unknown (S2DQ4C2)
1 2707
2 39381
9 1005
Name: S2DQ4C2, dtype: int64
percentages of natural sisters ever alcoholic or problem drinker 1=yes 2=No 9=Unknown (S2DQ4C2)
1 0.062818
2 0.913861
9 0.023322
Name: S2DQ4C2, dtype: float64
counts of natural sons ever alcoholic or problem drinker (S2DQ5C1)
0 40412
1 1286
2 406
3 37
99 933
4 11
5 2
6 4
7 1
9 1
Name: S2DQ5C1, dtype: int64
percentages of natural sons ever alcoholic or problem drinker (S2DQ5C1)
0 0.937786
1 0.029842
2 0.009421
3 0.000859
99 0.021651
4 0.000255
5 0.000046
6 0.000093
7 0.000023
9 0.000023
Name: S2DQ5C1, dtype: float64
counts of natural daughters ever alcoholic or problem drinker (S2DQ6C1)
0 41347
1 555
2 316
3 8
99 860
4 4
5 1
9 2
Name: S2DQ6C1, dtype: int64
percentages of natural daughters ever alcoholic or problem drinker (S2DQ6C1)
0 0.959483
1 0.012879
2 0.007333
3 0.000186
99 0.019957
4 0.000093
5 0.000023
9 0.000046
Name: S2DQ6C1, dtype: float64
0 notes
storageanalyzer · 5 years ago
Link
0 notes
actualdriversshopy4f-blog · 5 years ago
Text
DOWNLOAD APEOSPORT-III C2201 DRIVER
Downloads: 3161 File Version: 516101962 Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X Price: Free File Size: 23 Mb File Name: apeosport-iii c2201 driver File Format: exe Date Added: 05 October, 2019 Download Type: http Uploader: Maple
Tumblr media
News: - Fixed bug of(apeosport-iii c2201 driver of) Start recording and plug-out SD Card, Recording icon don't disappeared. - Fixed an issue with the help file. - Fixed(apeosport-iii c2201 driver Fixed) a bug where config migration failed from TS-XHL series. - Fixed Power Color AX7870 2GBD5-2DHPPV3E VGA card compatibility problem. - Bug Fixes- [WebAccess] Fixed a bug where files were not accessible via WebAccess if UPnP is enabled for the WebAccess settings. - Display flickering or corruption may be experienced when playing videos in a web browser. - Fixed(apeosport-iii c2201 driver Fixed) Issues:- This is the inaugural driver for Radeon Vega Frontier Edition. - Fixed "Drive A"item Help String(apeosport-iii c2201 driver String) error. - System] Fixed(apeosport-iii c2201 driver Fixed) a bug where NAS Navigator2 could not use the time settings on the computer for the TeraStation. - Fixed the bug where the layout of Settings in Internet Explorer 11 was corrupted. Users content: Power Consumption: 120V AC, 60Hz It is highly recommended to always use the most recent driver version available. A file with any other extension is not a firmware upgrade for this device and could cause the device to stop functioning. #Supported new AMD Athlon Model 10 (CPUID = 6A0H) CPUs. Modem:- 56K ITU V.92 PPT approved, Wake-on-Ring readyEthernet:- Gigabit Ethernet, Wake-on-LAN ready. Thank you for bringing this issue to our attention and being patient whilst we continue to investigate. Resolved an issue in the LAN subnet pulldown menu. Enhance NTFS write performance 7. - Please use afudos v2.07 (or later) or ASUS update v5.21 (or later) to update 1005 bios. Added DTV instant record function on Red key. Paste the update file into the folder called Data. Click to find the DOWNLOAD HP COMPAQ T5000 DRIVER. Supported OS: Microsoft Windows 8.1 Pro (64-bit) Windows 10 Windows Server 2012 R2 Windows Server 2003 32-bit Windows Vista 32-bit Windows Server 2012 Windows Server 2016 Windows 8.1/8/7/Vista 64-bit Microsoft Windows 8.1 (64-bit) Windows 8 Windows 8.1 Microsoft Windows 10 (32-bit) Microsoft Windows 8 Enterprise (32-bit) Microsoft Windows 8.1 Enterprise (64-bit) Windows Vista 64-bit Windows 7 32-bit Microsoft Windows 8 Enterprise (64-bit) Microsoft Windows 8 Pro (32-bit) Microsoft Windows 8 (32-bit) Windows Server 2003 64-bit Notebook 8.1/8/7 64-bit Notebook 8.1/8/7 32-bit Microsoft Windows 8 Pro (64-bit) Windows 7 Windows XP 32-bit Microsoft Windows 10 (64-bit) Windows Server 2008 R2 Microsoft Windows 8.1 Enterprise (32-bit) Windows XP 64-bit Windows 7 64-bit Windows 2000 Microsoft Windows 8.1 (32-bit) Windows Server 2008 Microsoft Windows 8 (64-bit) Windows 8.1/8/7/Vista 32-bit Microsoft Windows 8.1 Pro (32-bit) Searches: apeosport-iii c2201 GB9186; apeosport-iii c2201 driver for Microsoft Windows 8.1 Enterprise (32-bit); apeosport-iii c2201 driver for Windows 7; apeosport-iii c2201 Gkn918-knj; apeosport-iii c2201 G GB918-9; apeosport-iii c2201 GBCWO9186; apeosport-iii c2201 driver for Notebook 8.1/8/7 32-bit; apeosport-iii c2201 driver for Windows 7 32-bit; apeosport-iii c2201 G91k; apeosport-iii c2201 driver for Windows 7 64-bit; c2201 driver apeosport-iii Compatible Devices: Gadget; Ipad; Tablet; Wifi router; Computer Cable Adapters; Laptop To ensure the integrity of your download, please verify the checksum value. MD5: ddebce937f2ebff86c807d1d317117dd SHA1: 2a76ed616e093c3bed7c2887bd82a11317437a0d SHA-256: fd59264878a77ad05851a438a85e1ad15445efeb3f12731315bf27f992a3107d
0 notes
coolfilesnetworkm48-blog · 5 years ago
Text
DOWNLOAD SDM HS74P DRIVER
File Version: 515191280 Downloads: 1005 File Format: exe Download Type: http Price: Free Uploader: Zev File Name: sdm hs74p driver Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X Date Added: 28 November, 2019 File Size: 23 Mb
Tumblr media
Change log: - Fixed the problem that WD360 SATA HDD fails to boot up Windows XP when "Onchip Serial ATA" is set to "Enhanced Mode". - Fixed an issue that motion/sound detection recording in SD card will be stopping while change the File Format setting. - CSCuc37893)- Fixed an issue, where IPSEC VPN connectivity was not restored after power loss. - Fix WPS connection issue under Vista OS when the AP(sdm hs74p driver AP) settings is 11n only mode and WPA-AES \ WPA2-AES type . - Fixed system(sdm hs74p driver system) will show black screen when uninstall intel VGA driver. - Fixes Compaq Presario 2800 Series power management issue that caused(sdm hs74p driver caused) a "blue screen" error. - Fixed entity too large in 413 request issue. - Fixed an issue that might have a blue screen error (Bugcheck code 116) when the DVI was used. - Fixed resume from S4 failed under(sdm hs74p driver under) WinME.# Fixed checksum error when FSB being adjusted. - Remove(sdm hs74p driver Remove) 3G feature (not a supported feature by North America ISP)- Fixed PPTP and L2TP Set "Manual" connect mode issue. Users content: Suppor 4k native HDD.- Update NTFS module. This self-extracting file contains the Epson Stylus C44 Series Printer Driver for Windows 2000, XP (Printer Driver v5.4aA, Core Driver Disk v5.40). Improved: Support UBDDNS. - Improved: SSL3 now disabled in favour of TLS by default for SSL tunnels and web management. Click on OK.- Restart the PC. - Internal clock issue. Moreover, it’s best that this task be performed in a steady power environment such as the one ensured by a UPS unit. - Enhanced LED behavior under DHCP address. Fixe that the WEB can’t disable VLan setup for Ethernet port when enable limit admin VLan id and save-active. - Effortless efficiency. Faster boot up times. DOWNLOAD 6910P HP INTEGRATED MODULE DRIVER Supported OS: Windows Server 2003 64-bit Windows 2000 Microsoft Windows 8.1 Pro (32-bit) Windows Server 2008 Windows Vista 64-bit Microsoft Windows 10 (32-bit) Windows 10 Microsoft Windows 8.1 Pro (64-bit) Microsoft Windows 8 (32-bit) Windows Vista 32-bit Microsoft Windows 8 (64-bit) Windows Server 2012 Microsoft Windows 8 Enterprise (32-bit) Microsoft Windows 10 (64-bit) Microsoft Windows 8 Pro (64-bit) Windows 8.1/8/7/Vista 32-bit Windows XP 32-bit Microsoft Windows 8.1 Enterprise (32-bit) Windows 8.1 Windows Server 2003 32-bit Windows 7 64-bit Microsoft Windows 8.1 (64-bit) Windows Server 2012 R2 Microsoft Windows 8.1 (32-bit) Windows XP 64-bit Notebook 8.1/8/7 64-bit Notebook 8.1/8/7 32-bit Windows 7 32-bit Microsoft Windows 8 Pro (32-bit) Windows Server 2016 Windows 7 Windows Server 2008 R2 Windows 8.1/8/7/Vista 64-bit Microsoft Windows 8 Enterprise (64-bit) Microsoft Windows 8.1 Enterprise (64-bit) Windows 8 Searches: sdm hs74p X XN648-6; sdm hs74p driver for Microsoft Windows 8 Enterprise (64-bit); sdm hs74p XNRIU6481; sdm hs74p driver for Windows Server 2012; sdm hs74p Xla648-lak; sdm hs74p driver for Windows XP 32-bit; hs74p sdm driver; sdm hs74p XN6481; sdm hs74p driver for Notebook 8.1/8/7 64-bit; sdm hs74p X64l; sdm hs74p driver for Windows Vista 64-bit Compatible Devices: Macbook; USB Hubs; Laptop; Tablet; Hard Drive; Video Projector To ensure the integrity of your download, please verify the checksum value. MD5: 8313b29dfe32d24bd5e8ecd045946ed1 SHA1: cc3f920749e180136529c67481080366d188264d SHA-256: ec138a51fce03fd8ec88c7c9695704c8e4c2cf3007363619e56014c490ce408c
0 notes
biglybt · 6 years ago
Text
1901_B12
Instead of warning user Donation page didn't load, openURL(..) …
Code cleanup: removed relic SelectorGuard handling (#1005) …
Config Parameter Restructure Tweaks …
Remove dead events
Remove Log4J. It's been more trouble than it has ever been worth.
ensure log(LogEvent) is the one writing stuff out. …
Extracted wiki url as constants (#963) …
less is more
Give our temp system.out a classname so it's easier to spot
give Console UI access to all registered parameter configs. …
Remove extra call to startUI. …
Handle stderr better by pooling and only showing on 'show error' cmd
fix new log error message shown after showing log errors
Show more parameter info on `set <param>` command if available
Move Coding Guidelines to dedicated file, + more general info to README
bring baCK UI chooser
0 notes
sbgcomputers · 7 years ago
Link
0 notes
anthonyekoehler · 7 years ago
Text
Edward Sloan & Associates Harassment
Debt collectors like Edward Sloan & Associates cannot harass you over a debt. You have rights under the law, and we will stop the harassment once and for all.
THE BEST PART IS…
If Edward Sloan & Associates violated the law, you will get money damages and Edward Sloan & Associates will pay your attorneys’ fees and costs. You won’t owe us a dime for our services. Plus, some of our clients also receive debt relief and cleaned-up credit reports. You have nothing to lose!Call us today at 888-572-0176 for a free consultation.
Who is Edward Sloan & Associates?
Edward Sloan & Associates is a debt collection agency based in Winnsboro, Texas. Founded in 1991, ESA is not accredited by the Better Business Bureau and has received complaints via the BBB in the past three years, primarily for billing/collection problems.
Edward Sloan & Associates’s Address, Phone Number, and Contact Information
Edward Sloan & Associates is located at 1005 W. Broadway St. #G, Winnsboro, TX 75494. The main telephone number is 903-342-3802 and the main website is www.esacollections.com/
Phone Numbers Used by Edward Sloan & Associates
Like many debt collection agencies, Edward Sloan & Associates may use many different phone numbers to contact debtors. For an advanced search, visit www.agrussconsumerlaw.com/ and click “Number Search” in the “Lookup” dropdown menu. Here are some phone numbers Edward Sloan & Associates may be calling you from:
866-322-3802
903-342-3514
903-342-3802
903-347-1221
Edward Sloan & Associates Lawsuits
If you want to know just how unhappy consumers are with Edward Sloan & Associates, take a look at the lawsuits filed against the agency on the Public Access to Court Electronic Records (“PACER”). PACER is the U.S.’s federal docket which lists federal complaints filed against a wide range of companies. A search for the agency will display 11 lawsuits filed in the U.S., most of which involve violations of consumer rights and/or the Fair Debt Collection Practices Act (FDCPA).
Edward Sloan & AssociatesComplaints
The Fair Debt Collection Practices Act (FDCPA) is a federal law which applies to everyone in the United States. In other words, everyone is protected under the FDCPA, and this Act is a laundry list of what debt collectors can and cannot do while collecting a debt, as well as things they must do while collecting debt. If Edward Sloan & Associates is harassing you over a debt, you have rights under the FDCPA.
The Telephone Consumer Protection Act (TCPA) protects you from robocalls, which are those annoying, automated, recorded calls that computers make all day long. You can tell it’s a robocall because either no one responds on the other end of the line, or there is a delay when you pick up the phone before a live person responds. You can receive $500 per call if Edward Sloan & Associates violates the TCPA.Have you received a message from this agency that sounds pre-recorded or cut-off at the beginning or end? These are tell-tale signs that the message is pre-recorded, and if you have these messages on your cell phone, you may have a TCPA case against the agency.
The Electronic Fund Transfer Act (EFTA) protects electronic payments that are deducted from bank accounts. If Edward Sloan & Associates took unauthorized deductions from your bank account, you may have an EFTA claim against the agency. Edward Sloan & Associates, like most collection agencies, wants to set up recurring payments from consumers; imagine how much money it can earn if hundreds, even thousands, of consumers electronically pay them $50 – $100 or moreper month. If you agreed to this type of reoccurring payment, the agency must follow certain steps to comply with the EFTA. Did Edward Sloan & Associates continue to take electronic payments after you told them to stop? Did they take more money from your checking account than you agreed to?  If so, we can discuss your rights and potential case under the EFTA.
The Fair Credit Reporting Act (FCRA) works to ensure that no information reported to your credit report is false. In essence, it gives you the right to dispute those inaccuracies that you find on your credit report. We’ve handled many cases in which a debt collection agency reported debt on a consumer’s credit report to obtain leverage over the consumer. If Edward Sloan & Associates is on your credit report, they may tell you that they’ll remove the debt from your credit report if you pay it;this is commonly known as “pay for delete.”If the original creditor is on your report rather than the debt collector, and you pay off the debt, both entities should accurately report this on your credit report.
Several states also have laws to provide its citizens an additional layer of protection. For example, if you live in California, Florida, Michigan, Montana, North Carolina, Pennsylvania, Texas, or Wisconsin, you may be able to add a state-law claim to your federal law claim above.  North Carolina, for example, has one of the most consumer-friendly statutes in the country: if you live in NC and are harassed over a debt, you may receive $500 – $4,000 in damages per violation. We work with a local counsel in NC and our NC clients have received some great results in debt collection harassment cases. If you live in North Carolina and are being harassed by a debt collector, you have leverage to obtain a great settlement.
Howdo we Use the Law to Help You?
We will use state and federal laws to immediately stop Edward Sloan & Associates’s debt collection. We will send a cease-and-desist letter to stop the harassment today, and if Edward Sloan & Associates violates the FDCPA, EFTA, FCRA, or any state law, you may be entitled to money damages. For example, under the FDCPA, you may receive up to $1,000 in damages plus actual damages. The FDCPA also has a fee-shift provision, which means the debt collector will pay your attorneys’ fees and costs. If you have a TCPA case against the agency, we will handle it based on a contingency fee and you won’t pay us a dime unless you win.
THAT’S NOT ALL…
We have helped hundreds of consumers stop phone calls and we know how to stop the harassment and get you money damages. Once again: you will not pay us a dime for our services. We will help you based on a fee-shift provision and/or contingency fee, and the debt collector will pay your attorneys’ fees and costs.
What if Edward Sloan & Associates is on my Credit Report?
Based on our experience, some debt collectors may credit-report, which means one may mark your credit report with the debt they are trying to collect. In addition to or instead ofthe debt collector, the original creditor may also be on your credit report in a separate entry, and it’s important to properly identify these entities because you will want both to update your credit report if or when you pay off the debt.
THE GOOD NEWS IS…
If Edward Sloan & Associates is on your credit report, we can help you dispute it. Mistakes on your credit report can be very costly: along with causing you to pay higher interest rates, you may be denied credit, insurance, a rental home, a loan, or even a job because of these mistakes. Some mistakes may include someone else’s information on your credit report, inaccurate public records, stale collection accounts, or even being a victim of identity theft. If you have a mistake on your credit report, there is a process to dispute it, and my office will help you obtain your credit report and dispute any inaccurate information.
REMEMBER…
If a credit reporting agency violates its obligations under the Fair Credit Reporting Act (FCRA), you may be entitled to statutory damages up to $1,000, and the credit reporting agency will be required to fix the error. The FCRA also has a fee-shift provision, which means the credit reporting agency will pay your attorneys’ fees and costs. You won’t owe us a dime for our services. We have helped hundreds of consumers fix inaccurate information on their credit reports, and we’re ready to help you, too.
Complaints against Edward Sloan & Associates
If you’re on this page, chances are you are just like the hundreds of consumers out there being harassed by Edward Sloan & Associates. Here are some of the BBB reviews and complaints against Edward Sloan & Associates:
“Representatives of this company harass me with debt collection phone calls for a man deceased two years ago who happens to have my name. Wrong guy! There exist no accounts, orders, purchases, or payments that involve me with this company’s business.”
“Caller keeps repeatedly calling my number at least once a month, sometimes more. I’ve asked them once before to refrain from calling my number especially because my number is a cell phone. They continue to call. Occasionally they call from different numbers.”
“This company harasses me continuously about a bill I do not owe. Now they have expanded their harassment to my wife, my daughter and even my son. Every sentence that they speak is a violation of the FDCPA. There is [someone] calling all of my family saying it involves the IRS and I need to speak to an “Arbitrator” over the phone; no one conducts arbitration over the phone! It is all irrational and a violation of my rights under the FDCPA.”
Based on 10 reviews on Yelp, Edward Sloan & Associates receives a 1.5-out-of-5 rating. Here are some of the reviews on Yelp:
“Debt collectors who refuse to answer the phone and call you at 7 every morning with a prerecorded message.”
“Charged me for a debt in a state over 2000 miles away that was not mine. I found this on a credit report. I tried to dispute through Equifax, yet they came back and said they the debt was mine and paid two years late, yet I never paid it! Meaning it was someone else’s charge and they had satisfied it late. They would not work with me to resolve the issue.”
“An automated service called every day and when I try to call back, nobody will answer.”
What Our Clients Say about Us
Agruss Law Firm has over 780 outstanding client reviews through Yotpo, an A+ BBB rating, and over 110 five-star reviews on Google. Here’s what some of our clients have to say about us:
“Michael Agruss handled two settlements for me with great results and he handled them quickly. He also settled my sister’s case quickly and now her debt is clear. I highly recommend Michael.”
“Agruss Law Firm was very helpful, they helped me solved my case regarding the unwanted calls. I would highly recommend them. Thank you very much Mike Agruss!”
“Agruss Law Firm was very helpful to me and my veteran father! We were harassed daily and even called names for a loan that was worthless! Agruss stepped in and not only did they stop harassing, they stopped calling all together!! He even settled it so I was paid back for the problems they caused!”
Can Edward Sloan & Associates Sue Me?
Although anyone can sue anyone for any reason, we have not seen Edward Sloan & Associates sue consumers, and it’s likely that the agencydoes not sue because they don’t always own the debt they are attempting to collect, and would alsoneed to hire a lawyer, or use in-house counsel, to file a lawsuit. It’s also likely thatthe agency collects debt throughout the country, and it would be quite difficult to have lawyers, or a law firm, licensed in every state. However, there are collection agencies that do sue consumers; for example, Midland Credit Management is one of the largest junk-debt buyers, and it also collects and sues on debt. Still, it is less likely for a debt collector to sue you than for an original creditor to hire a lawyer or collection firm to sue you. If Edward Sloan & Associates has threatened to sue you, contact Agruss Law Firm, LLC as soon as possible.
Can Edward Sloan & AssociatesGarnish my Wages?
No, unless they have a judgment. If Edward Sloan & Associates has not sued you, then the agency cannot get a judgment. Barring limited situations (usually involving debts owed to the government for student loans, taxes, etc.), a company must have a judgment in order to garnish someone’s wages. In short, we have not seen this agency file a lawsuit against a consumer, so the agency cannot garnish your wages, minus the exceptions listed above. If Edward Sloan & Associates has threatened to garnish your wages, contact our office right away.
Edward Sloan & AssociatesSettlement
If you want to settle a debt withEdward Sloan & Associates, ask yourself these questions first:
Do I really owe this debt?
Is this debt within the statute of limitations?
Is this debt on my credit report?
If I pay this debt, will Edward Sloan & Associates remove it from my credit report?
If I pay this debt, will the original creditor remove it from my credit report?
If I pay this debt, will I receive confirmation in writing from Edward Sloan & Associates for the payment and settlement terms?
These are not the only things to consider when dealing with debt collectors. We are here to help you answer the questions above, and much more. Whether it’s harassment, settlement, pay-for-delete, or any other legal issue withEdward Sloan & Associates, we at Agruss Law Firm are here to help you.
Share your Complaints againstEdward Sloan & AssociatesBelow
We encourage you to post your complaints about Edward Sloan & Associates. Sharing your complaints against this agency can help other consumers understand what to do when this company starts calling. Sharing your experience may help someone else!
HERE’S THE DEAL!
If you are being harassed by Edward Sloan & Associates over a debt, you may be entitled to money damages – up to $1,000 for harassment, and $500 – $1,500 for illegal robocalls. Under state and federal laws, we will help you based on a fee-shift provision and/or contingency fee, which means the debt-collector pays your attorneys’ fees and costs. You won’t owe us a dime for our services. We have settled thousands of debt collection harassment cases, and we’re prepared to help you, too. Contact Agruss Law Firm at (888)-572-0176 to stop the harassment once and for all.
The post Edward Sloan & Associates Harassment appeared first on Agruss Law Firm, LLC.
Edward Sloan & Associates Harassment published first on https://agrusslawfirmllc.tumblr.com
0 notes
agrusslawfirmllc · 7 years ago
Text
Edward Sloan & Associates Harassment
Debt collectors like Edward Sloan & Associates cannot harass you over a debt. You have rights under the law, and we will stop the harassment once and for all.
THE BEST PART IS…
If Edward Sloan & Associates violated the law, you will get money damages and Edward Sloan & Associates will pay your attorneys’ fees and costs. You won’t owe us a dime for our services. Plus, some of our clients also receive debt relief and cleaned-up credit reports. You have nothing to lose!Call us today at 888-572-0176 for a free consultation.
Who is Edward Sloan & Associates?
Edward Sloan & Associates is a debt collection agency based in Winnsboro, Texas. Founded in 1991, ESA is not accredited by the Better Business Bureau and has received complaints via the BBB in the past three years, primarily for billing/collection problems.
Edward Sloan & Associates’s Address, Phone Number, and Contact Information
Edward Sloan & Associates is located at 1005 W. Broadway St. #G, Winnsboro, TX 75494. The main telephone number is 903-342-3802 and the main website is www.esacollections.com/
Phone Numbers Used by Edward Sloan & Associates
Like many debt collection agencies, Edward Sloan & Associates may use many different phone numbers to contact debtors. For an advanced search, visit www.agrussconsumerlaw.com/ and click “Number Search” in the “Lookup” dropdown menu. Here are some phone numbers Edward Sloan & Associates may be calling you from:
866-322-3802
903-342-3514
903-342-3802
903-347-1221
Edward Sloan & Associates Lawsuits
If you want to know just how unhappy consumers are with Edward Sloan & Associates, take a look at the lawsuits filed against the agency on the Public Access to Court Electronic Records (“PACER”). PACER is the U.S.’s federal docket which lists federal complaints filed against a wide range of companies. A search for the agency will display 11 lawsuits filed in the U.S., most of which involve violations of consumer rights and/or the Fair Debt Collection Practices Act (FDCPA).
Edward Sloan & AssociatesComplaints
The Fair Debt Collection Practices Act (FDCPA) is a federal law which applies to everyone in the United States. In other words, everyone is protected under the FDCPA, and this Act is a laundry list of what debt collectors can and cannot do while collecting a debt, as well as things they must do while collecting debt. If Edward Sloan & Associates is harassing you over a debt, you have rights under the FDCPA.
The Telephone Consumer Protection Act (TCPA) protects you from robocalls, which are those annoying, automated, recorded calls that computers make all day long. You can tell it’s a robocall because either no one responds on the other end of the line, or there is a delay when you pick up the phone before a live person responds. You can receive $500 per call if Edward Sloan & Associates violates the TCPA.Have you received a message from this agency that sounds pre-recorded or cut-off at the beginning or end? These are tell-tale signs that the message is pre-recorded, and if you have these messages on your cell phone, you may have a TCPA case against the agency.
The Electronic Fund Transfer Act (EFTA) protects electronic payments that are deducted from bank accounts. If Edward Sloan & Associates took unauthorized deductions from your bank account, you may have an EFTA claim against the agency. Edward Sloan & Associates, like most collection agencies, wants to set up recurring payments from consumers; imagine how much money it can earn if hundreds, even thousands, of consumers electronically pay them $50 – $100 or moreper month. If you agreed to this type of reoccurring payment, the agency must follow certain steps to comply with the EFTA. Did Edward Sloan & Associates continue to take electronic payments after you told them to stop? Did they take more money from your checking account than you agreed to?  If so, we can discuss your rights and potential case under the EFTA.
The Fair Credit Reporting Act (FCRA) works to ensure that no information reported to your credit report is false. In essence, it gives you the right to dispute those inaccuracies that you find on your credit report. We’ve handled many cases in which a debt collection agency reported debt on a consumer’s credit report to obtain leverage over the consumer. If Edward Sloan & Associates is on your credit report, they may tell you that they’ll remove the debt from your credit report if you pay it;this is commonly known as “pay for delete.”If the original creditor is on your report rather than the debt collector, and you pay off the debt, both entities should accurately report this on your credit report.
Several states also have laws to provide its citizens an additional layer of protection. For example, if you live in California, Florida, Michigan, Montana, North Carolina, Pennsylvania, Texas, or Wisconsin, you may be able to add a state-law claim to your federal law claim above.  North Carolina, for example, has one of the most consumer-friendly statutes in the country: if you live in NC and are harassed over a debt, you may receive $500 – $4,000 in damages per violation. We work with a local counsel in NC and our NC clients have received some great results in debt collection harassment cases. If you live in North Carolina and are being harassed by a debt collector, you have leverage to obtain a great settlement.
Howdo we Use the Law to Help You?
We will use state and federal laws to immediately stop Edward Sloan & Associates’s debt collection. We will send a cease-and-desist letter to stop the harassment today, and if Edward Sloan & Associates violates the FDCPA, EFTA, FCRA, or any state law, you may be entitled to money damages. For example, under the FDCPA, you may receive up to $1,000 in damages plus actual damages. The FDCPA also has a fee-shift provision, which means the debt collector will pay your attorneys’ fees and costs. If you have a TCPA case against the agency, we will handle it based on a contingency fee and you won’t pay us a dime unless you win.
THAT’S NOT ALL…
We have helped hundreds of consumers stop phone calls and we know how to stop the harassment and get you money damages. Once again: you will not pay us a dime for our services. We will help you based on a fee-shift provision and/or contingency fee, and the debt collector will pay your attorneys’ fees and costs.
What if Edward Sloan & Associates is on my Credit Report?
Based on our experience, some debt collectors may credit-report, which means one may mark your credit report with the debt they are trying to collect. In addition to or instead ofthe debt collector, the original creditor may also be on your credit report in a separate entry, and it’s important to properly identify these entities because you will want both to update your credit report if or when you pay off the debt.
THE GOOD NEWS IS…
If Edward Sloan & Associates is on your credit report, we can help you dispute it. Mistakes on your credit report can be very costly: along with causing you to pay higher interest rates, you may be denied credit, insurance, a rental home, a loan, or even a job because of these mistakes. Some mistakes may include someone else’s information on your credit report, inaccurate public records, stale collection accounts, or even being a victim of identity theft. If you have a mistake on your credit report, there is a process to dispute it, and my office will help you obtain your credit report and dispute any inaccurate information.
REMEMBER…
If a credit reporting agency violates its obligations under the Fair Credit Reporting Act (FCRA), you may be entitled to statutory damages up to $1,000, and the credit reporting agency will be required to fix the error. The FCRA also has a fee-shift provision, which means the credit reporting agency will pay your attorneys’ fees and costs. You won’t owe us a dime for our services. We have helped hundreds of consumers fix inaccurate information on their credit reports, and we’re ready to help you, too.
Complaints against Edward Sloan & Associates
If you’re on this page, chances are you are just like the hundreds of consumers out there being harassed by Edward Sloan & Associates. Here are some of the BBB reviews and complaints against Edward Sloan & Associates:
“Representatives of this company harass me with debt collection phone calls for a man deceased two years ago who happens to have my name. Wrong guy! There exist no accounts, orders, purchases, or payments that involve me with this company’s business.”
“Caller keeps repeatedly calling my number at least once a month, sometimes more. I’ve asked them once before to refrain from calling my number especially because my number is a cell phone. They continue to call. Occasionally they call from different numbers.”
“This company harasses me continuously about a bill I do not owe. Now they have expanded their harassment to my wife, my daughter and even my son. Every sentence that they speak is a violation of the FDCPA. There is [someone] calling all of my family saying it involves the IRS and I need to speak to an “Arbitrator” over the phone; no one conducts arbitration over the phone! It is all irrational and a violation of my rights under the FDCPA.”
Based on 10 reviews on Yelp, Edward Sloan & Associates receives a 1.5-out-of-5 rating. Here are some of the reviews on Yelp:
“Debt collectors who refuse to answer the phone and call you at 7 every morning with a prerecorded message.”
“Charged me for a debt in a state over 2000 miles away that was not mine. I found this on a credit report. I tried to dispute through Equifax, yet they came back and said they the debt was mine and paid two years late, yet I never paid it! Meaning it was someone else’s charge and they had satisfied it late. They would not work with me to resolve the issue.”
“An automated service called every day and when I try to call back, nobody will answer.”
What Our Clients Say about Us
Agruss Law Firm has over 780 outstanding client reviews through Yotpo, an A+ BBB rating, and over 110 five-star reviews on Google. Here’s what some of our clients have to say about us:
“Michael Agruss handled two settlements for me with great results and he handled them quickly. He also settled my sister’s case quickly and now her debt is clear. I highly recommend Michael.”
“Agruss Law Firm was very helpful, they helped me solved my case regarding the unwanted calls. I would highly recommend them. Thank you very much Mike Agruss!”
“Agruss Law Firm was very helpful to me and my veteran father! We were harassed daily and even called names for a loan that was worthless! Agruss stepped in and not only did they stop harassing, they stopped calling all together!! He even settled it so I was paid back for the problems they caused!”
Can Edward Sloan & Associates Sue Me?
Although anyone can sue anyone for any reason, we have not seen Edward Sloan & Associates sue consumers, and it’s likely that the agencydoes not sue because they don’t always own the debt they are attempting to collect, and would alsoneed to hire a lawyer, or use in-house counsel, to file a lawsuit. It’s also likely thatthe agency collects debt throughout the country, and it would be quite difficult to have lawyers, or a law firm, licensed in every state. However, there are collection agencies that do sue consumers; for example, Midland Credit Management is one of the largest junk-debt buyers, and it also collects and sues on debt. Still, it is less likely for a debt collector to sue you than for an original creditor to hire a lawyer or collection firm to sue you. If Edward Sloan & Associates has threatened to sue you, contact Agruss Law Firm, LLC as soon as possible.
Can Edward Sloan & AssociatesGarnish my Wages?
No, unless they have a judgment. If Edward Sloan & Associates has not sued you, then the agency cannot get a judgment. Barring limited situations (usually involving debts owed to the government for student loans, taxes, etc.), a company must have a judgment in order to garnish someone’s wages. In short, we have not seen this agency file a lawsuit against a consumer, so the agency cannot garnish your wages, minus the exceptions listed above. If Edward Sloan & Associates has threatened to garnish your wages, contact our office right away.
Edward Sloan & AssociatesSettlement
If you want to settle a debt withEdward Sloan & Associates, ask yourself these questions first:
Do I really owe this debt?
Is this debt within the statute of limitations?
Is this debt on my credit report?
If I pay this debt, will Edward Sloan & Associates remove it from my credit report?
If I pay this debt, will the original creditor remove it from my credit report?
If I pay this debt, will I receive confirmation in writing from Edward Sloan & Associates for the payment and settlement terms?
These are not the only things to consider when dealing with debt collectors. We are here to help you answer the questions above, and much more. Whether it’s harassment, settlement, pay-for-delete, or any other legal issue withEdward Sloan & Associates, we at Agruss Law Firm are here to help you.
Share your Complaints againstEdward Sloan & AssociatesBelow
We encourage you to post your complaints about Edward Sloan & Associates. Sharing your complaints against this agency can help other consumers understand what to do when this company starts calling. Sharing your experience may help someone else!
HERE’S THE DEAL!
If you are being harassed by Edward Sloan & Associates over a debt, you may be entitled to money damages – up to $1,000 for harassment, and $500 – $1,500 for illegal robocalls. Under state and federal laws, we will help you based on a fee-shift provision and/or contingency fee, which means the debt-collector pays your attorneys’ fees and costs. You won’t owe us a dime for our services. We have settled thousands of debt collection harassment cases, and we’re prepared to help you, too. Contact Agruss Law Firm at (888)-572-0176 to stop the harassment once and for all.
The post Edward Sloan & Associates Harassment appeared first on Agruss Law Firm, LLC.
0 notes
mjpdatascience · 8 years ago
Text
Week 3 DS&A: Crater depth and morphology
Table of Contents:
My Week 3 Program
Week 2 Output
Descriptions
1) My Week 3 Program:
# -*- coding: utf-8 -*- """ Created on Tue Nov 14 20:21:53 2017
@author: MJP """
#Import necessary libraries import pandas import numpy
#Read the Mars Crater Database into memory marsdata = pandas.read_csv("dab_marscrater_pds.csv", low_memory=False)
# bug fix (that I don't fully understand) "for display formats to avoid run time errors", or so our instructors tell us pandas.set_option('display.float_format', lambda x:'%f'%x)
# variables of interest are not numeric, so keep as strings
# check length of data print ("length of data:") print(len(marsdata))
# subset data for craters with depth > 0 (i.e. no raised craters or depthless ones) marssub1 = marsdata[marsdata['DEPTH_RIMFLOOR_TOPOG']>0]
#make a copy of my new subsetted data marssub2 = marssub1.copy()
# check that data are properly subset print ('\n'"length of data after subset:") print(len(marssub2))
# secondary variable for crater volume in cubic kilometers, which equals (pi.height/6)(3radius^2 + height^2) # we won't use VOLUME today marssub2['VOLUME']=((3.14159) * (marssub2['DEPTH_RIMFLOOR_TOPOG']) / 6) * (3 * ((marssub2['DIAM_CIRCLE_IMAGE']) / 2)**2 + (marssub2['DEPTH_RIMFLOOR_TOPOG'])**2)
# replace empty cells for the MORPHOLOGY_EJECT variables: recode to python missing (NaN) marssub2['MORPHOLOGY_EJECTA_1']=marssub2['MORPHOLOGY_EJECTA_1'].replace(' ', numpy.nan) marssub2['MORPHOLOGY_EJECTA_2']=marssub2['MORPHOLOGY_EJECTA_2'].replace(' ', numpy.nan) marssub2['MORPHOLOGY_EJECTA_3']=marssub2['MORPHOLOGY_EJECTA_3'].replace(' ', numpy.nan)
#Display the counts and percentages for three variables, MORPHOLOGY_EJECTA_1, MORPHOLOGY_EJECTA_2, and MORPHOLOGY_EJECTA_3 print('\n'"Counts for MORPHOLOGY_EJECTA_1 - the classification of ejecta morphology") c1 = marssub2['MORPHOLOGY_EJECTA_1'].value_counts(sort=False, dropna=False) print (c1)
print('\n'"Percentages for MORPHOLOGY_EJECTA_1 - the classification of ejecta morphology") p1 = marssub2['MORPHOLOGY_EJECTA_1'].value_counts(sort=False, normalize=True) print (p1)
print('\n'"Counts for MORPHOLOGY_EJECTA_2 - the morphology of the layers") c2 = marssub2['MORPHOLOGY_EJECTA_2'].value_counts(sort=False, dropna=False) print (c2)
print('\n'"Percentages for MORPHOLOGY_EJECTA_2 - the morphology of the layers") p2 = marssub2['MORPHOLOGY_EJECTA_2'].value_counts(sort=False, normalize=True) print (p2)
print('\n'"Counts for MORPHOLOGY_EJECTA_3 - the overall texture and/or shape of the layers that are unique") c3 = marssub2['MORPHOLOGY_EJECTA_3'].value_counts(sort=False, dropna=False) print (c3)
print('\n'"Percentages for MORPHOLOGY_EJECTA_3 - the overall texture and/or shape of the layers that are unique") p3 = marssub2['MORPHOLOGY_EJECTA_3'].value_counts(sort=False, normalize=True) print (p3)
#End of program
2) Week 2 Output
length of data: 384343
length of data after subset: 76804
Counts for MORPHOLOGY_EJECTA_1 - the classification of ejecta morphology NaN                     38168 Rd/MLERC/MLEPC/MLERS        1 SLERC/Rd                   59 SLEPC/Rd                   41 SLERCPd                     3 DLEPS/Rd/DLEPS              3 DLEPS/DLEPSPd               4 Rd/MLERS/Rd                 1 Rd                      20567 DLERS                    1149 Rd/DLEPS                  136 MLEPC                       2 Rd/SPERS                    1 DLEPC                     200 DLEPC/DLERS/Rd              2 DLERCPd                     3 MLERC/MLEPS/MLERS           2 MLERS/MLERS/Rd/MLEPS        1 SLERS/Rd/SLERS              1 Rd/DLERC                    9 MLEPC/MLEPS/MLEPS           6 Rd/SLEPC/Rd                 1 Rd/MLEPC/MLEPC/MLEPS        1 Rd/DLEPC/DLERC              3 DLERSRd                     2 DLEPd                       1 DLEPS/DLRES                 1 DLERC/Rd/DLERS              3 DLEPC/DLEPS/Rd              2 SLEPS/SLERS                 2   DLERC/DLEPS                92 MLERS/Rd                   10 Rd/SLERC                  123 MLERS                     476 Rd/MLERC/MLERS/MLEPC        1 Rd/MLEPS/MLERS/MLERS        1 SLEPSPd                    17 SLErS                       1 DLERS/Rd                   37 Rd/MLERC/MLERS/MLERS        2 DLERC/Rd                    5 SLERSRd                     4 DLERC/DLEPd                 1 DLERS/Rd/DLERS              4 Rd/DLEPC/DLEPS             52 DLEPC/Rd                    3 MLERS/MLERS/Rd/MLERS        1 Rd/SLEPS                  353 Rd/MLEPC                    2 Rd/DLEPC/DLEPSPd            1 Rd/SLEPCPd                  1 MLERC/MLERC/MLEPS           5 RD/SLEPC                    1 DLERC/DLEPCPd               1 MLEPC/MLERS/MLERS           2 MLERC/MLERS/MLERS/Rd        2 SLEPSRd                     3 DLEPC/DLEPd                 1 MLERSRd                     1 MLEPC/MLERS/MLEPS           4 Name: MORPHOLOGY_EJECTA_1, Length: 143, dtype: int64
Percentages for MORPHOLOGY_EJECTA_1 - the classification of ejecta morphology Rd/MLERC/MLEPC/MLERS   0.000026 SLERC/Rd               0.001527 SLEPC/Rd               0.001061 SLERCPd                0.000078 DLEPS/Rd/DLEPS         0.000078 DLEPS/DLEPSPd          0.000104 Rd/MLERS/Rd            0.000026 Rd                     0.532327 DLERS                  0.029739 Rd/DLEPS               0.003520 MLEPC                  0.000052 Rd/SPERS               0.000026 DLEPC                  0.005177 DLEPC/DLERS/Rd         0.000052 DLERCPd                0.000078 MLERC/MLEPS/MLERS      0.000052 MLERS/MLERS/Rd/MLEPS   0.000026 SLERS/Rd/SLERS         0.000026 Rd/DLERC               0.000233 MLEPC/MLEPS/MLEPS      0.000155 Rd/SLEPC/Rd            0.000026 Rd/MLEPC/MLEPC/MLEPS   0.000026 Rd/DLEPC/DLERC         0.000078 DLERSRd                0.000052 DLEPd                  0.000026 DLEPS/DLRES            0.000026 DLERC/Rd/DLERS         0.000078 DLEPC/DLEPS/Rd         0.000052 SLEPS/SLERS            0.000052 Rd/DLERC/DLERS         0.000181   DLERC/DLEPS            0.002381 MLERS/Rd               0.000259 Rd/SLERC               0.003184 MLERS                  0.012320 Rd/MLERC/MLERS/MLEPC   0.000026 Rd/MLEPS/MLERS/MLERS   0.000026 SLEPSPd                0.000440 SLErS                  0.000026 DLERS/Rd               0.000958 Rd/MLERC/MLERS/MLERS   0.000052 DLERC/Rd               0.000129 SLERSRd                0.000104 DLERC/DLEPd            0.000026 DLERS/Rd/DLERS         0.000104 Rd/DLEPC/DLEPS         0.001346 DLEPC/Rd               0.000078 MLERS/MLERS/Rd/MLERS   0.000026 Rd/SLEPS               0.009137 Rd/MLEPC               0.000052 Rd/DLEPC/DLEPSPd       0.000026 Rd/SLEPCPd             0.000026 MLERC/MLERC/MLEPS      0.000129 RD/SLEPC               0.000026 DLERC/DLEPCPd          0.000026 MLEPC/MLERS/MLERS      0.000052 MLERC/MLERS/MLERS/Rd   0.000052 SLEPSRd                0.000078 DLEPC/DLEPd            0.000026 MLERSRd                0.000026 MLEPC/MLERS/MLEPS      0.000104 Name: MORPHOLOGY_EJECTA_1, Length: 142, dtype: float64
Counts for MORPHOLOGY_EJECTA_2 - the morphology of the layers NaN                    58838 Hu/Sm                      2 HuAm/SmAm                  5 HuSL/HuSL/SmBL             3 SmBL/SmAm                  1 HuSL/HuLS/HuSp             1 HuBL/SmSL                  1 Sm/SmBL/HuBL               2 SmSL/HuBL                  8 Sm/SmSL                    9 Hu/HuSp                    9 HuBL/SmBL/SmSL             1 SmSL                    2366 HuBL/SmBL                 11 HuSL/HuBL/SmSp             1 HuSL/HuSp                 22 HuSL/SmBL                 36 SmAm                     716 SmSL/SmBL                 19 HuBL/SmBL/HuBL             1 HuSL/Sm                    5 Sm                       642 HuAm/HuSL                  4 HuSL/HuSL/HuSp             4 HuSL/HuBL/HuBL/HuSp        1 Hu/HuBL/SmSp               1 Hu/HuSL/HuBL               3 HuSL                    5680 Sm/SmAm                    2 HuSp                      72   HuAM                       1 HuSL/SmBL/SmBL             1 Sm/HuSL                    3 Sm/HuSL/HuSL               1 Sm/HuBL                    2 SmSL/Sm                    5 Hu/HuBL/HuBL               3 HuSL/HuBL                196 SmSL/HuSL/HuSL             1 Sm/HuSL/SmSp               1 HuSL/HuBL/HuBL/HuBL        1 HuSL/HuSL/HuBL            13 SmBL                    1005 HUBL                       1 SmSL/SmSL/SmBL             1 SmSL/SmBL/SmBL             2 SmSL/SmSp                 11 HuAm/SmSp                  1 Hu/SmSL                   11 SmSp                      13 Hu/Hu/Sm                   1 SmBL/HuSL                  1 SmSL/HuSL                  7 Hu/HuBL                   40 HuAm                    1269 SmBL/HuBL                  1 Hu/HuSp/SmSp               1 HuSL/HuBL/SmBL             1 HuSL/HuBL/Sm               1 SmAm/SmBL                  1 Name: MORPHOLOGY_EJECTA_2, Length: 102, dtype: int64
Percentages for MORPHOLOGY_EJECTA_2 - the morphology of the layers Hu/Sm                 0.000111 HuAm/SmAm             0.000278 HuSL/HuSL/SmBL        0.000167 SmBL/SmAm             0.000056 HuSL/HuLS/HuSp        0.000056 HuBL/SmSL             0.000056 Sm/SmBL/HuBL          0.000111 SmSL/HuBL             0.000445 Sm/SmSL               0.000501 Hu/HuSp               0.000501 HuBL/SmBL/SmSL        0.000056 SmSL                  0.131693 HuBL/SmBL             0.000612 HuSL/HuBL/SmSp        0.000056 HuSL/HuSp             0.001225 HuSL/SmBL             0.002004 SmAm                  0.039853 SmSL/SmBL             0.001058 HuBL/SmBL/HuBL        0.000056 HuSL/Sm               0.000278 Sm                    0.035734 HuAm/HuSL             0.000223 HuSL/HuSL/HuSp        0.000223 HuSL/HuBL/HuBL/HuSp   0.000056 Hu/HuBL/SmSp          0.000056 Hu/HuSL/HuBL          0.000167 HuSL                  0.316153 Sm/SmAm               0.000111 HuSp                  0.004008 HuAm/HuBL             0.000056   HuAM                  0.000056 HuSL/SmBL/SmBL        0.000056 Sm/HuSL               0.000167 Sm/HuSL/HuSL          0.000056 Sm/HuBL               0.000111 SmSL/Sm               0.000278 Hu/HuBL/HuBL          0.000167 HuSL/HuBL             0.010909 SmSL/HuSL/HuSL        0.000056 Sm/HuSL/SmSp          0.000056 HuSL/HuBL/HuBL/HuBL   0.000056 HuSL/HuSL/HuBL        0.000724 SmBL                  0.055939 HUBL                  0.000056 SmSL/SmSL/SmBL        0.000056 SmSL/SmBL/SmBL        0.000111 SmSL/SmSp             0.000612 HuAm/SmSp             0.000056 Hu/SmSL               0.000612 SmSp                  0.000724 Hu/Hu/Sm              0.000056 SmBL/HuSL             0.000056 SmSL/HuSL             0.000390 Hu/HuBL               0.002226 HuAm                  0.070633 SmBL/HuBL             0.000056 Hu/HuSp/SmSp          0.000056 HuSL/HuBL/SmBL        0.000056 HuSL/HuBL/Sm          0.000056 SmAm/SmBL             0.000056 Name: MORPHOLOGY_EJECTA_2, Length: 101, dtype: float64
Counts for MORPHOLOGY_EJECTA_3 - the overall texture and/or shape of the layers that are unique NaN                               75580 Butterfly                            73 Outer is Butterfly                    4 Middle is Rectangular                 1 Pseudo-Butterfly                    111 Outer is Splash                      54 Pseudo-Rectangular                   23 Inner is Pseudo-Pin-Cushion           1 Inner is Pin-Cushion                 85 Outer is Rectangular                  1 Pin-Cushion                         337 Small-Crown / Pseudo-Butterfly        1 Outer is Pseudo-Butterfly             3 Pin-Cushion / Pseudo-Butterfly        1 Pin-Cushion / Butterfly               1 Inner is Pseudo-Butterfly             1 Small-Crown / Sandbar                 2 Bumblebee                            11 Sandbar                              48 Pseudo-Small-Crown                   54 Inner is Pseudo-Small-Crown           4 Small-Crown                         250 Pseudo-Pin-Cushion                    1 Inner is Butterfly                    2 Inner-most is Small-Crown             1 Pseduo-Butterfly                      1 Rectangular                          36 Inner is Small-Crown                 66 Splash                               51 Name: MORPHOLOGY_EJECTA_3, dtype: int64
Percentages for MORPHOLOGY_EJECTA_3 - the overall texture and/or shape of the layers that are unique Butterfly                        0.059641 Outer is Butterfly               0.003268 Middle is Rectangular            0.000817 Pseudo-Butterfly                 0.090686 Outer is Splash                  0.044118 Pseudo-Rectangular               0.018791 Inner is Pseudo-Pin-Cushion      0.000817 Inner is Pin-Cushion             0.069444 Outer is Rectangular             0.000817 Pin-Cushion                      0.275327 Small-Crown / Pseudo-Butterfly   0.000817 Outer is Pseudo-Butterfly        0.002451 Pin-Cushion / Pseudo-Butterfly   0.000817 Pin-Cushion / Butterfly          0.000817 Inner is Pseudo-Butterfly        0.000817 Small-Crown / Sandbar            0.001634 Bumblebee                        0.008987 Sandbar                          0.039216 Pseudo-Small-Crown               0.044118 Inner is Pseudo-Small-Crown      0.003268 Small-Crown                      0.204248 Pseudo-Pin-Cushion               0.000817 Inner is Butterfly               0.001634 Inner-most is Small-Crown        0.000817 Pseduo-Butterfly                 0.000817 Rectangular                      0.029412 Inner is Small-Crown             0.053922 Splash                           0.041667 Name: MORPHOLOGY_EJECTA_3, dtype: float64
3) Descriptions
I will be investigating a relationship between crater volume and ejecta morphology. Some craters are assigned a zero or negative depth. These will be excluded. Thus, the data were subset to include only craters with a depth greater than zero.
The vast majority of craters do not have any ejecta morphology labels assigned. It is not clear whether these data are missing (i.e. they are manually labeled and nobody has gotten around to them yet) or if a blank means there are no ejecta present. Blank entries were recoded to python missing (NaN).
The program output shows us that the morphology data are missing for most craters, e.g. over 38,000, 58,000, and 75,000 craters are now labeled as NaN for MORPHOLOGY_EJECTA_1, _2, and _3, respectively. And this is out of a data subset with only 76,804 entries. As noted last week, the clustering of multiple morphology assignments per crater leads to an excessive number of distinct variables, with MORPHOLOGY_EJECTA_1 and _2 comprising approximately sixty variables each, and nearly thirty variables in MORPHOLOGY_EJECTA_3. We will eventually need a way of separating out different morphology labels in order to simplify the data.
0 notes
xdrcage-blog · 8 years ago
Text
Resolve Error -6000, when opening a company file
You are attempting to open your company file when you suddenly get a -6000, xxxx error and you are unable to open the file. The error is usually followed by 3 or 4 more digits and an error message indicating you are unable to open the company file.
The following are the different -6000 series errors you may encounter:
Error -6000, -107 - This normally happens if the .TLG file is corrupted.
Error -6000, -1076 - This error occurs if QuickBooks installation is corrupted.
Error -6010, -100 - This error occurs when a computer that is not the server is hosting the company file.
Error -6012, -1061 - This normally happens if you have incorrect network setup.
Error 6129, -101 - This error happens if you have incorrect folder permission or if the QB Database Server Manager is not working properly.
Error -6190, 816 or -6190, -85 - This error normally occurs when another user is logged in to the company file in single user mode. It can also be a mismatch between the transaction log file (.tlg) and the company file (.qbw).
Error -6144, -82 when opening the company file on your server/host pc. This normally happens if you have incorrect network setup.
Error -6000, -832 when opening QuickBooks. This error normally occurs when hosting is turned on or the .ND file is not working properly.
Error -6138, -105 QuickBooks is unable to open the company file. This error occurs when one of the workstation is hosting the company file.
Error -6144, -304 when you start QuickBooks or open your company file and sometimes this happens on sample file.
Error -6000, -305 when opening your QuickBooks compant file. This error occurs when you have an incorrect network setup or it could be the company file is damaged.
Error -6000, -82 when opening or accessing the company file. This error normally occurs when one of the work station is hosting the company file or incorrect network setup.
Error -6144,-103 or -6144, 0 while QuickBooks tried to access the company file. This error normally occurs when the .ND file has an incorrect path to your company file or if the Windows user account used by QuickBooks Database Manager is damaged
Error -6190, 1005 or -6189, 1005 when opening QuickBooks file and sometimes it affect the sample file.
Error -6210, 0 when opening QuickBooks file. This normally happens if one of the work stations is hosting the company file.
Error -6120, 0 when opening QuickBooks file. This error occurs when one of the work stations is hosting the company file or the firewall port 8019 is blocked.
Error -6087, 0 or -6131, 0 when QuickBooks tried to access the company file. This error occurs when opening the file locally.
Error -6176, 0 when opening a company file. This normally happens when a firewall is blocking the connection between the two computers.
Errors: -6189, -83 or -6190, -83 QuickBooks was unable to open the company file. This error occurs when one of the workstation is hosting the company file.
Error -6190, -82 QuickBooks was unable to open file on the host. This error normally caused by a mismatch between the transaction log file (.TLG) and the company file (.QBW).
Error -6073, -816 QuickBooks is unable to open this company file. This error normally occurs if there are multiple computers are hosting the file or it could be firewall settings are blocking the connection or it could be the file is damaged.
This article lists common -6000 series errors. It contains basic troubleshooting steps to resolve the issue.
Important: Ensure QuickBooks Desktop is up to date. It is also recommended to install and run the QuickBooks File Doctor tool first before performing any of the following steps. See: QuickBooks File Doctor: Fix your company file or network If after using the tool and you still experience the issue, perform the following solutions in the order shown.
The -6000 errors can happen on both local and network setup. Select the appropriate setup from the following options and perform the recommended steps.
You are opening the file locally
This means you are opening a file that is saved on the same computer where QuickBooks is installed.
Solution 1: Rename the .ND and .TLG files
Solution 2: Open a sample company file
Solution 3: Copy the QuickBooks file on the Desktop
Solution 4: Use ADR to restore your backup
Your are opening the file over the network
This means that you are opening the company file saved on the server or another computer.
Solution 1: Check if Hosting is turned on, on all workstation
Solution 2: Rename the .ND and .TLG files and restart/rescan the Database Server Manager
Solution 3: Open a sample company file locally installed on a workstation
Solution 4: Open the company file locally
Solution 5: Check the folder permission manually
Solution 6: Configure firewall ports
Get support for QuickBooks Online by dialing our helpline number 1-855-441-4417.
Article Source : https://community.intuit.com/articles/1502446-error-6175-0-an-error-occurred-when-quickbooks-tried-to-access-the-company-file
0 notes
computersystemsdesign · 8 years ago
Text
New Coder: Real World Code Development
In this post, part of a miniseries on coding for non-coders, I thought it might be interesting to look at a real-world example of breaking a task down for automation. I won't be digging hard into the actual code but instead looking at how the task could be approached and turned into a sequence of events that will take a sad task and transform it into a happy one.
 The Task - Deploying a New VLAN
 Deploying a new VLAN is simple enough, but in my environment it means connecting to around 20 fabric switches to build the VLAN. I suppose one solution would be to use an Ethernet fabric that had its own unified control plane, but ripping out my Cisco FabricPath™ switches would take a while, so let's just put that aside for the moment.
 When a new VLAN is deployed, it almost always also requires that a layer 3 (IP) gateway with HSRP is created on the routers and that VLAN needs to be trunked from the fabric edge to the routers. If I can automate this process, for every VLAN I deploy, I can avoid logging in to 22 devices by hand, and I can also hopefully complete the task significantly faster.
 Putting this together, I now have a list of three main steps I need to accomplish:
 Create the VLAN on every FabricPath switch
Trunk the VLAN from the edge switches to the router
Create the L3 interface on the routers, and configure HSRP
 Don't Reinvent the Wheel
 Much in the same way that one uses modules when coding to avoid rewriting something that has been created already, I believe that the same logic applies to automation. For example, I run Cisco Data Center Network Manager (DCNM) to manage my Ethernet fabric. DCNM has the capability to deploy changes (it calls them Templates) to the fabric on demand. The implementation of this feature involves DCNM creating an SSH session to the device and configuring it just like a real user would. I could, of course, implement the same functionality for myself in my language of choice, but why would I? Cisco has spent time making the deployment process as bulletproof as possible; DCNM recognizes error messages and can deal with them. DCNM also has the logic built in to configure all the switches in parallel, and in the event of an error on one switch, to either roll back that switch alone or all switches in the change. I don't want to have to figure all that out for myself when DCNM already does it.
 For the moment, therefore, I will use DCNM to deploy the VLAN configurations to my 20 switches. Ultimately it might be better if I had full control and no dependency on a third-party product, but in terms of achieving the goal rapidly, this works for me. To assist with trunking VLANs toward the routers, in my environment the edge switches facing the routers have a unique name structure, so I was also able to tweak the DCNM template so that if it detects that it is configuring one of those switches, it also adds the VLANs to the trunked list on the relevant router uplinks. Again, that's one less task I'll have to do in my code.
 Similarly, to configure the routers (IOS XR-based), I could write a Python script based on the Paramiko SSH library, or use the Pexpect library to launch ssh and control the program's actions based on what it sees in the session. Alternatively, I could use NetMiko which already understands how to connect to an IOS XR router and interact with it. The latter choice seems like it's preferable, if for no other reason than to speed up development.
 Creating the VLAN
 DCNM has a REST API through which I can trigger a template deployment. All I need is a VLAN number and an optional description, and I can feed that information to DCNM and let it run. First, though, I need the list of devices on which to apply the configuration template. This information can be retrieved using another REST API call. I can then process the list, apply the VLAN/Description to each item and submit the configuration "job." After submitting the request, assuming success, DCNM will return the JobID that was created. That's handy because it will be necessary to keep checking the status of that JobID afterward to see if it succeeded. So here are the steps so far:
 Get VLAN ID and VLAN Description from user
Retrieve list of devices to which the template should be applied
Request a configuration job
Request job status until it has some kind of resolution (Success, Failed, etc)
 Sound good? Wait; the script needs to login as well. In the DCNM REST API that means authenticating to a particular URL, receiving a token (a string of characters), then using that token as a cookie in all future requests within that session. Also, as a good citizen, the script should logout after completing its requests too, so the list now reads:
Get VLAN ID and VLAN Description from user
Authenticate to DCNM and extract session token
Retrieve list of devices to which the template should be applied
Request a configuration job
Request job status until it has some kind of resolution (Success, Failed, etc)
Log out of DCNM
 That should work for the VLAN creation but I'm also missing a crucial step which is to sanitize and validate the inputs provided to the script. I need to ensure, for example, that:
 VLAN ID is in the range 1-4094, but for legacy Cisco purposes perhaps, does not include 1002-1005
VLAN Description must be 63 characters or less, and the rules I want to apply will only allow [a-z], [A-Z], [0-9], dash [-] and underscore [_]; no spaces and odd characters
 Maybe the final list looks like this then:
 Get VLAN ID and VLAN Description from user
Confirm that VLANID and VLAN Description are valid
Authenticate to DCNM and extract session token
Retrieve list of devices to which the template should be applied
Request a configuration job
Request job status until it has some kind of resolution (Success, Failed, etc)
Log out of DCNM
 Configuring IOS XR
 In this example, I'll use Python+NetMiko to do the hard work for me. My inputs are going to be:
 IPv4 Subnet and prefix length
IPv6 Subnet and prefix length
VLAN ID
L3 Interface Description
 As before, I will sanity check the data provided to ensure that the IPs are valid. I have found that IOS XR's configuration for HSRP, while totally logical and elegantly hierarchical, is a bit of a mouthful to type out, so to speak, and as such it is great to have a script take the basic information like a subnet, and apply some standard rules to it (e.g. the 2nd IP is the HSRP gateway, e.g. .1 on a /24 subnet), the next address up (e.g. .2) would be on the A router, and .3 would be on the B router. For my HSRP group number, I use the VLAN ID.  The subinterface number where I'll be configuring layer 3 will match the VLAN ID also, and with that information I can also configure the HSRP BFD peer between the routers too. By applying some simple standardized templating of the configuration, I can take a bare minimum of information from the user and create configurations which would take much longer to create manually and quite often (based on my own experience) would have mistakes in it.
 The process then might look like this:
 Get IPv4 subnet, IPv6 subnet, VLAN ID and L3 interface description from user
Confirm that IPv4 subnet, IPv6 subnet, VLANID and interface description are valid
Generate templated configuration for the A and B routers
Create session to A router and authenticate
Take a snapshot of the configuration
Apply changes (check for errors)
Assuming success, logout
Rinse and repeat for B router
 Breaking Up is Easy
 Note that the sequences of actions above have been created without requiring any coding. Implementation can come next, in the preferred language, but if we don't have an idea of where we're going, especially as a new coder, it's likely that the project will go wrong very quickly.
 For implementation, I now have a list of tasks which I can attack, to some degree, separately from one another; each one is a kind of milestone. Looking at the DCNM process again:
 Get VLAN ID and VLAN Description from user
 Perhaps this data comes from a web page but for the purposes of my script, I will assume that these values are provided as arguments to the script. For reference, an argument is anything that comes after the name of the script when you type it on the command line, e.g. in the command, sayhello.py John the program sayhello.py would see one argument, with a value of John.
 Confirm that VLANID and VLAN Description are valid
 This sounds like a perfect opportunity to write a function/subroutine which can take a VLAN ID as its own argument, and will return a boolean (true/false) value indicating whether or not the VLAN ID is valid. Similarly, a function could be written for the description, either to enforce the allowed characters by removing anything that doesn't match, or by simply validating whether what's provided meets the criteria or not. These may be useful in other scripts later too, so writing a simple function now may save time later on.
 Authenticate to DCNM and extract session token
Retrieve list of devices to which the template should be applied
Request a configuration job
Request job status until it has some kind of resolution (Success, Failed, etc)
Log out of DCNM
 These five actions are all really the same kind of thing. For each one, some data will be sent to a REST API, and something will be returned to the script by the REST API. The process of submitting to the REST API only requires a few pieces of information:
 What kind of HTML request is it? GET / POST / etc?
What is the URL?
What data needs to be sent, if any, to the URL?
How to process the data returned. (What format is it in?)
 It should be possible to write some functions to handle GET and POST requests so that it's not necessary to repeat the HTTP request code every time it's needed. The idea is not to repeat code multiple times if it can be more simply put in a single function and called from many places. This also means that fixing a bug in that code only requires it to be fixed in one place.
 For the IOS XR configuration, each step can be processed in a similar fashion, creating what are hopefully more manageable chunks of code to create and test.
 Achieving Coding Goals
 I really do believe that sometimes coders want to jump right into the coding itself before taking the time to think through how the code might actually work, and what the needs will be. In the example above, I've run through taking a single large task (Create a VLAN on 20 devices and configure two attached routers with an L3 interface and HSRP) which might seem rather daunting at first, and breaking it down into smaller functional pieces so that a) it's clearer how the code will work, and in what order; and b) each small piece of code is now a more achievable task. I'd be interested to know if you as a reader feel that the task lists, while daunting in terms of length, perhaps, seemed more accomplishable from a coding perspective than just the project headline. To me, at least, they absolutely are.
 I said I wouldn't dig into the actual code, and I'll keep that promise. Before I end, though, here's a thought to consider: when is it right to code a solution, and when is it not? I'll be taking a look at that in the next, and final, article in this miniseries.
The post New Coder: Real World Code Development appeared first on Computer Systems Design.
from Computer Systems Design http://ift.tt/2sAlo2b
0 notes