Data ws

The Cisco ® Catalyst ® 3650 Series is the next generation of enterprise-class standalone and stackable access-layer switches that provide the foundation for full convergence between wired and wireless on a single platform. The 3650 Series is built on the advanced Cisco StackWise ®-160, and takes advantage of the new Cisco Unified Access ™ Data Plane (UADP) application-specific integrated ... High Performance Dell Servers We only use Branded DELL Enterprise Quality High performance Servers for range of both our Dedicated And Cloud Servers . No compromises made on quality. BGP Enabled Network Multihomed BGP Enabled Redundant Network with BlackLotus DDOS Protection. 10000 mbps connection to every Distribution Switch.; 24/7 Dedicated Support Team 50+ Dedicated Skilled Network ... These databases contains information about Respiratory Care or Radiography students, clinical faculty, academic faculty, and program. They are for the exclusive use of the academic faculty of this program. These databases and HTML were created by DataArc. Visit us at www.dataarc.ws WS_FTP Professional moves data and transfers files anywhere, at any time, with complete security. WS_FTP Professional delivers lightning-fast transfer speeds, best-in-class security and time saving automation capabilities such as 256-bit transfer encryption, OpenPGP file encryption, file integrity checking, email notification, backup, folder ... This data-driven customer insight on both a qualitative and quantitative level is aiding smart brands to identify, understand and motivate savvy customers like never before. However, in order to achieve this, brands must discover the ‘Five Ws’ of their customers in order to deliver effective engagements that motivate shopping behaviors ... PRODUCT DATA SHEET Sikasil® WS-295 NEUTRAL CURE, WEATHER SEALING SILICONE SEALANT PRODUCT DESCRIPTION Sikasil® WS-295 sealant is a one part, neutral cure for use in most common weatherproofing applications on a wide variety of materials. Meets the requirements of ASTM C-920, Type S, Grade NS, Class 50, Use NT, M, G, A, Zillow moved its Zestimate framework to AWS, giving it the speed and scale to deliver home valuations in near-real time. The more dynamic valuations better reflect both the unique features of each home and what’s happening in the local housing market, so customers have the latest data as they explore the buying or selling process. Walters State Community College 500 South Davy Crockett Parkway Morristown, TN 37813-6899 phone: 423.585.2600 toll free: 800.225.4770 . TN Transfer Pathway QEP P-16 Council TN eCampus Expect More Finish Faster National Council for State Authorization Reciprocity Agreements Achieving the Dream WS Data Recovery for Windows is an easy yet complete solution to recover deleted or lost files on your PC. It can rescue photos, videos, photos, music, documents, emails, etc. from Windows hard drive (C:/, D:/), as well as from external hard drives, USB devices, mobile phones, cameras, iPods, portable media players, and other external devices. 4 recovery modes ensure that you can recover data ... Hashes for truedata_ws-1.0.1-py3-none-any.whl; Algorithm Hash digest; SHA256: 4c76d70d650ff747d053f0e0e6ca65bc1db4f92b16e0bb52db1871394bca1d90: Copy MD5

World of Warships: exploding pixel boats

2011.12.20 21:05 tehblister World of Warships: exploding pixel boats

A game about huge boats. With guns. Gunboats. Never submarines, they said. What have we done to deserve this, Wargaming?
[link]


2018.05.08 21:58 kyllmann Ethereum Travel Token "Unleash the Power to Travel"

Ethereum Travel Token is a disruptive decentralized travel ecosystem integrated with federation protocols (SAML, OAuth, WS-TRUST/FED) built on ERC20 technology for the travelers to book or manage their travel reservations in Travel Industry including Airlines, Hotels, and Car Rental Industries. ETH Travel Application - Using Ethereum Travel Tokens, the traveler will be able to book and manage travel reservations with the airlines, hotels, car rental industries directly.
[link]


2014.10.05 20:20 HappyZombies /r/CrazyHand -- The community for learning competitive Smash Bros.!

Want to learn competitive Smash Bros.? Interested in helping others grow? CrazyHand is the sub for you! Share resources, ask for tips, post replays for critique and engage in discussion to improve in Smash. Check out the rest of our sidebar for Smash resources, community links, posting guidelines and more!
[link]


2020.09.25 12:20 martanO1 Screen Off High Battery Drain

Hi guys,
so Im using the Oneplus 7 pro with the latest Lineageos build. Im having a very high battery drain when the screen is off.
Over night (7 hours) I lost about 20%.Before sleep, After sleep) Accubattery shows me that the phone was in sleep mode for the whole time. CPU Spy shows that too. The day before I saw in Gsam that the kernel had kept the phone awaken for 10 hours. But overnight the stat was normal again.
Havent got magisk or any mods. Ive got gapps nano installed. Wifi on, mobile data on (have a very good signal strength).
Ive got here some screenshots.
Cheers
AccuBattery photo
CPU Spy photo
GSam photo 1
Gsam photo 2
Wakelocks
submitted by martanO1 to LineageOS [link] [comments]


2020.09.24 17:59 jkelley41 [USA-GA][H]Gaming / Workstation Full Build - 5820k/64gb ddr3/256 nvme/512 nvme/1060 6gb/ NH-d15 [W]PayPal, Local Only

TIMESTAMPS: https://imgur.com/a/sLPhMCi
Full Build, will not part out. Looking for $500 local, firm. 30082 and 30318 zip codes.

submitted by jkelley41 to hardwareswap [link] [comments]


2020.09.23 20:32 sid8491 Video Events invoked twice (React Player)

I am using react-player for watch-party based webapp where users can create a room and other users in the room.Once added, any of the users can perform an action and that action will be applied for all the other users in the room. I am using django-channels for websocket handling in this case.If there is pause event triggered by a user, websocket event is published to all the users and based on the event video is paused for all the other users.Now the issue comes, when the video is paused on incoming event, it is again cause onPause action and sending event.To solve this, I have used useState hook to determine we want to send the event or not.
But there is an issue that onPause is occurring twice in my case when the video is paused by incoming event.
const [playing, setPlaying] = useState(false); const [userName, setUserName] = useState(getUserName()); const [sendEvent, setSendEvent] = useState(true); const player = useRef(null); const [videoUrl, setVideoUrl] = useState(DEFAULT_VIDEO_URL) useEffect(() => { const websocketUrl = `ws://127.0.0.1:8000/room/`; socket = new W3CWebSocket(websocketUrl); socket.onmessage = (message) => { const data = JSON.parse(message.data) if (data.event === 'pause') { console.log(`I am ${userName}`); console.log(data); if (userName !== data.name) { // do not perform for the user who invoked it console.log(`inside if by ${userName}`); player.current.seekTo(data.currentTime); setSendEvent(false); // do not send event setPlaying(false); //pause the video } } } }, []) const playerPause = () => { console.log(`trying to pause by ${userName} with sendEvent: ${sendEvent}`); if (sendEvent === true) { //skip sending events socket.send(JSON.stringify({ 'name': userName, 'event': 'pause', 'currentTime': player.current.getCurrentTime() })); } setSendEvent(true); // so that new events can be sent again }  

https://reddit.com/link/iyfzgv/video/w4wcg1n6yxo51/player
As you can see, I am getting two events for the 2nd user. First time it is working fine, as sendEvent is False, but for some reason it is invoking playerPause()function again which is causing the issue and event is being send again.
Could you please help me to find the underlying issue here.

EDIT 1 :
If I remove setSendEvent(true) from playerPause() then also I am receiving the pause action twice, and following consequences are happening:
https://reddit.com/link/iyfzgv/video/3qywhat8r2p51/player
submitted by sid8491 to reactjs [link] [comments]


2020.09.23 08:56 InternetFreedomIn Don't let the National Digital Health Mission become the National Digital Surveillance and Exclusion Mission

Don't let the National Digital Health Mission become the National Digital Surveillance and Exclusion Mission

https://preview.redd.it/rip4s0xwhuo51.png?width=1024&format=png&auto=webp&s=ff406a1f78853c8b03c926522b05ae65f6fe3830

Tl;dr

On Monday, IFF wrote to the National Health Authority as part of the consultation being conducted for the National Digital Health Mission’s Health Data Management Policy. Our primary demands are that deployment of any digital health ID programme must be preceded by (a) enactment of general and sectoral data protection laws by the Parliament of India; and (b) meaningful public consultation which reaches out to vulnerable groups which face the greatest privacy risks.

Background

The public consultation being conducted by the National Health Authority for the National Digital Health Mission’s Health Data Management Policy (Draft Policy) has been the subject of intense controversy. Earlier this month, a petition was also filed before the Delhi High Court by Dr. Satendra Singh, a noted disability rights activist, which raised concerns about the unreasonably short deadline for submission of feedback at the height of the COVID-19 pandemic, and highlighted how the existing process excludes persons with disabilities, non-English speakers and people without internet access (Read more here).
Subsequent to the hearing before the Delhi High Court, the National Health Authority announced that the deadline for submission of feedback would be extended till 21 September 2020 and people could send their feedback through offline modes such as post or courier as well. It also indicated that it was undertaking measures to make the consultation process accessible for persons with disabilities in accordance with existing government policy. However, despite these concessions, the consultation process still remained violative of the Rights of Persons with Disabilities Act 2016, Official Languages Act 1963 and the Pre-Legislative Consultation Policy 2014 (Read more here).

IFF’s submission to NHA

In our submission to the National Health Authority, we have highlighted five key legal and technical concerns associated with the Draft Policy and the National Digital Health Mission (NDHM) more generally.
(i) Lack of data protection legislation
The submission emphasizes on the importance of an underlying legislative framework by relying on standards established by international bodies such as the World Health Organization (WHO) and the United Nations HIV/AIDS Programme (UNAIDS) for national digital ID projects. Our submission notes that ensuring health data privacy requires legislation at three levels- comprehensive laws, sectoral laws and informal rules. Applying this framework to India, we demonstrate that India neither has a comprehensive law since the Personal Data Protection Bill, 2019 is still pending in Parliament, nor does it have a sectoral law like the proposed but yet to be enacted Digital Information Security in Healthcare Act, 2018. Viewed through this lens, the Draft Policy can at best be considered a set of informal rules which lack any statutory basis.
In addition to WHO, UNAIDS has also emphasized that national level privacy legislation is necessary to address privacy concerns associated with national health IDs. The UNAIDS Report further states that prior to deployment of any national health ID programme, “it is essential to engage with people living with HIV and members of key populations and other vulnerable groups, including sex workers, men who have sex with men, people who use drugs and people with disabilities, so potential concerns such as access to cards and care, risk of unlawful access and use by law enforcement agencies and others can be identified and addressed.” The consultation process for the Draft Policy which has only been published on the internet in English and which was not accessible for persons with disabilities clearly falls short of these standards established by UNAIDS.
(ii) De facto mandatory nature of Digital Health ID Programme
As reported by various media publications, registration for a health ID under the NDHM may be voluntary on paper but it is being made mandatory in practice by hospital administrators and heads of departments. As doctors from Chandigarh quoted in the Caravan note “It feels like strong-arming really...There is a hierarchy and we have to follow orders, even if they don’t give it in writing, if your HOD asks you to register you have to register” and “They keep asking to give constant updates on how many members from our department have registered with the health ID, and so everyone has to ensure they have registered otherwise the HOD will know, and who knows what the repercussions will be.”
The de facto mandatory nature of the digital health ID programme under NDHM can be addressed only if it supported by an underlying legislation which clearly places a bar on denial of healthcare services because of lack of a digital health ID, and prescribes strict penalties for erring government officials who make use of such health IDs mandatory.
(iii) Linkage of Aadhaar with Digital Health ID
The use of Aadhaar number for the purposes of authentication of identity at the time of registration raises serious privacy concerns about linkage of a person’s health data with other databases, and it increases the likelihood of the National Digital Health Ecosystem being connected with systems beyond the health sector.
Additionally, the non-inclusion of official identifiers like Aadhaar number within the definition of sensitive personal data under the Draft Policy is inconsistent with the government’s own Personal Data Protection Bill and may lead to inadequate protection being provided to Aadhaar details shared by participants in NDHM.
(iv) Risk of re-identification of anonymized data
The Draft Policy does not adequately address concerns about reidentification of de-identified or anonymized health data which is now widely understood to be a real threat. For instance, researchers have been able to re-identify 43% of known patients by matching de-identified data sets against news reports. Researchers have also found that 87% of the population in the United States can be uniquely identified based on only three characteristics - ZIP, gender, date of birth - and proven that any data set which includes these highly identifying characteristics cannot not be considered anonymized.
(v) Threat of data breaches
Executives in the healthcare sector have recognized the cybersecurity risks posed by the NDHM. Further, India has a past record of breaches of sensitive personal data like financial information. For instance, in 2016, 3.2 million debit cards were recalled by various banks due to a data breach. Any similar leak of sensitive health data collected as part of NDHM would cause severe and irreparable harm to millions of citizens which cannot be quantified or compensated in monetary terms. For this reason, it is essential that independent technical experts are provided more time to thoroughly scrutinize the National Digital Health Ecosystem’s technical design and there should be full disclosure of all information that is necessary to conduct such an independent evaluation.

Important Documents

  1. IFF’s submission dated 21.09.2020 to the National Health Authority (link)
submitted by InternetFreedomIn to india [link] [comments]


2020.09.23 06:09 syrupflow Decode Base64 to Image

I have base64 strings in cellls, and want to convert the strings to images in the column beside the cells. How would I do this, using Google App Scripts?
Here's a sample string:
data:image/jpeg;base64,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
submitted by syrupflow to googlesheets [link] [comments]


2020.09.23 01:31 xolcm8889ox My For Each, If, and Select Case statement won't loop to the next row.

So I have finally was able to convert my excel formula into the VBA code. My problem is that my code does not want to loop into the same row.
So for example:
/Sites/library/CURRENT/Architecture/BuildingNo1.pdf
/Sites/library/ARCHIVE/2020/Architecture/BuildingNo1.pdf
/Sites/library/PENDING/2020/Architecture/BuildingNo1.pdf

This is the excel file, in Column T,

The file where it's taking the information from which is column H,J and M, it only copies it from H3 and J3 and M3, even though the
So this example shows that it gets the drawing status from the same row as the formula, but getting the folder name and the drawing name does not loop into the same row, but copies the 1st data row.
The file where it's taking the information from which is column H,J and M, it only copies it from H3, J3 and M3, even though the status correlates to the proper row.


Here is my code:
Private Sub Worksheet_Activate() Dim wb As Workbook Dim ws As Worksheet Dim start As String Dim state As String Dim bldgNo As String Dim projectNum As String Dim Discipline As String Dim FileName As String Dim rowrng As Range Dim nrng As Range Dim i As Integer Dim x As Integer Set wb = ThisWorkbook Set ws = wb.Sheets("Metadata") Set nrng = ws.Range(ws.Range("N3"), ws.Range("N3").End(xlDown)) start = "/Sites/r2/documentLibrary/" state = ws.Range("D3").Value bldgNo = ws.Range("A3").Value projectNum = ws.Range("H3").Value Discipline = ws.Range("M3").Value FileName = Range("J3").Value i = 0 For Each rowrng In nrng If UCase(rowrng.Value) = "PRESENT STATE OF THE LOCATION" Then x = rowrng.Row Select Case Discipline Case "Architectural", "Interiors", "General" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/CURRENT/ARCHITECTURE AND INTERIOR DESIGN/" & FileName Case "Electrical", "Distributed Energy", "Telecommunications" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/CURRENT/ELECTRICAL ENGINEERING/" & FileName Case "Fire Protection", "Hazardous Materials" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/CURRENT/FIRE PROTECTION AND LIFE SAFETY/" & FileName Case "Mechanical", "Plumbing", "Equipment" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/CURRENT/MECHANICAL ENGINEERING/" & FileName Case "Structural", "Civil" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/CURRENT/STRUCTURAL ENGINEERING/" & FileName Case "" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/CURRENT/SUPPORTING DOCUMENTATION/" & FileName Case "Landscape", "Survey/Mapping" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/CURRENT/URBAN DEVELOPMENT AND LANDSCAPE DESIGN/" & FileName End Select i = i + 1 ElseIf UCase(rowrng.Value) = "PREVIOUS STATE OF THE LOCATION" Then x = rowrng.Row Select Case Discipline Case "Architectural", "Interiors", "General" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/ARCHIVE/" & projectNum & "/ARCHITECTURE AND INTERIOR DESIGN/" & FileName Case "Electrical", "Distributed Energy", "Telecommunications" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/ARCHIVE/" & projectNum & "/ELECTRICAL ENGINEERING/" & FileName Case "Fire Protection", "Hazardous Materials" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/ARCHIVE/" & projectNum & "/FIRE PROTECTION AND LIFE SAFETY/" & FileName Case "Mechanical", "Plumbing", "Equipment" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/ARCHIVE/" & projectNum & "/MECHANICAL ENGINEERING/" & FileName Case "Structural", "Civil" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/ARCHIVE/" & projectNum & "/STRUCTURAL ENGINEERING/" & FileName Case "" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/ARCHIVE/" & projectNum & "/SUPPORTING DOCUMENTATION/" & FileName Case "Landscape", "Survey/Mapping" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/ARCHIVE/" & projectNum & "/URBAN DEVELOPMENT AND LANDSCAPE DESIGN/" & FileName End Select i = i + 1 Else x = rowrng.Row Select Case Discipline Case "Architectural", "Interiors", "General" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/PENDING/" & projectNum & "/ARCHITECTURE AND INTERIOR DESIGN/" & FileName Case "Electrical", "Distributed Energy", "Telecommunications" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/PENDING/" & projectNum & "/ELECTRICAL ENGINEERING/" & FileName Case "Fire Protection", "Hazardous Materials" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/PENDING/" & projectNum & "/FIRE PROTECTION AND LIFE SAFETY/" & FileName Case "Mechanical", "Plumbing", "Equipment" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/PENDING/" & projectNum & "/MECHANICAL ENGINEERING/" & FileName Case "Structural", "Civil" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/PENDING/" & projectNum & "/STRUCTURAL ENGINEERING/" & FileName Case "" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/PENDING/" & projectNum & "/SUPPORTING DOCUMENTATION/" & FileName Case "Landscape", "Survey/Mapping" ws.Range("T3").Offset(i, 0).Value = start & state & "/" & bldgNo & "/PENDING/" & projectNum & "/URBAN DEVELOPMENT AND LANDSCAPE DESIGN/" & FileName End Select i = i + 1 End If Next rowrng End Sub 
PS. Yes I know that this code is a mess and it's not the most ideal way to code. But that's just how I code and how I understand the code.
submitted by xolcm8889ox to excel [link] [comments]


2020.09.22 14:16 nicks101star Connect Flask (websockets) app with Jupyter notebook

Hi, I'm working on a personal project where I want to visualize a stream of data using web sockets. (data is updating every second)
I tried with Jupyter notebook, but don't know how to work around it.
So, I want to make graphs on it, make some actions according to it, etc...

Mainly:
With Flask app (running WebSockets), how do I deploy the project and store the data?
For analogy, consider an example of Realtime Stocks analysis and trading. The stock prices vary every second. Appropriate buy/sell decisions are taken based on ML models crunching the data.
I am open for all suggestions, including replacing Jupyter notebook with a more robust technology for production deployment.

The Flask code is as follows:
def on_ticks(ws, ticks): # Callback to receive ticks. logging.debug("Ticks: {}".format(ticks)) 
My notebook code is as follows:
dataframe = pd.DataFrame(columns=['A', 'B', 'C']) def long_running_process(dataframe): # continuously populate data in the dataframe from the streaming data. # Keep triggering decisions based on incoming data. 
submitted by nicks101star to flask [link] [comments]


2020.09.22 03:56 Cuanshade Feeling overwhelmed and cornered, trying to cope

My family are immigrants. This is important because we came here with just the three of us, dad, mom and I. My parents never really adapted. Then my mom got into a pretty bad car accident. She wasn't physically hurt much, but the driver, her only friend, died in the car seat next to her. She was always a bit high strung, now that I think of it, but that was the start of her paranoia.
She would look out the windows for hours, watching people, random passing cars became significant, she would see patterns in things and people she met, like a great web, with everyone being connected, and everyone watching her, following her, spying on her, out to kill her. She became convinced that poison gas was pumped into the car and that's why the driver had a heart attack and died. She started thinking that thigns were being stolen from us, hearing voices, destroying and throwing out things we owned looking for hidden poison inside. My dad used to sleep on the floor by the front door because he was afraid of her wandering off.
Eventually, it got really bad. She was hysterical, incoherent, agitated and kept talking about a grand conspiracy and the THEM who re out to get her and all of us, saying how and when we were all going to be killed. She had to be hospitalized.
Throughout this, I was away at school so I missed most of it. My dad dealt with it. I was only upsettingly distrubed by occasional things, a strange phonecall in the middle of the night where she was convinced she heard me being tortured upstairs while talking to me on the phone in another city. I thought she had a bad dream and told her to go to sleep. Another episode, she couldn't reach me during exams for a few days so she declared me a missing person and I woke up in my dormroom with the residence lady and campus security stnding over my sleeping form, very much alive and not kidnapped. I wasn't really aware how bad it was getting until eventually I got a panicked call from dad telling me to get on the first bus out of my city and go to another where my parents were living because the ambulance and the police were at home but they could not take her without her consent and she wouldnt' listen to anyone but me.
I rushed over. I went to the hospital with her. She was physically forced into restraints, they had to cut her clothes off and forcefully sedate her. Distraught, I went back to school. I visited her regularly, but mostly, I didnt think too much about it. Dad was there and he was taking care of it.
This happened multiple times. She got hospitalized multiple times until they found medication that worked and made it mandatory for her to receive a shot of it every month, because otherwise she ws hiding the pills.
School was stressful. Mom was like this. There were many tears. There were times I thought I would never see my real mother again. Dad was also fighting a legal battle at the time that was consuming him and he was drawing me into it constantly, because his english was no good and he wanted me to read his 20-50 page essays that he used to send to the police,the newspapers, the RCMP, the law society and anyone he thought would listen, except he had no proof at all and his essays were never read by anyone except for me, because I was forced to. I hated it, this obligation, the time spent, how mad he got at me when I procrastinated proofreading pointless and repetitive pages upon pages of bs.
But then, the shots worked, mom went into remission for years, was taken off her meds eventually (she was diagnosed with paranoid schitsophrenia, eventually, that's what they settled on, since she was halucinating and having paranoid delusions).
I went through school, got a boyfriend, dad gave up his legal battle as his health deteriorated. Mom had someone to take care of and they had each other and I mostly washed my hands off them. I called them once every few weeks, and went to visit a few times a year. My last year of school was so stressful, with relationship problems, trying to finish school, that I almost dropped out and had my first ever panic attack that left me blind and deaf and shaking on the floor before I knew wha that even was, my brain just short-circuited and senses shut off and I coudn't breathe.
I was in therapy. Ups and downs, boyfriend and I eventually broke up. It was messy, but it was quick and final. I moved several times, but eventually I settled. I had good friends. My family was living mostly a quiet life while my mom tried to take care of my dad who was becoming an invalid. I had a home. A job. No boyfriend, but I wasn't living alone, it was mostly fine. The anxiety though, never left and through the years got worse. Panic attacks became regular. After a horrible and failed therapist session, I didn't go back for years, even to see my family doctor because I was anxious about explaining why I hated that therapy session and didn't go back and why I didn't come back to see her all that time. The longer it was, the more I couldn't go.
And then my dad got really sick. Pancreatic cancer that spread to the liver. He was diagnosed, mom frantically tried to cure him with alternative medicine when the doctors did not even offer treatment any more, and not even three months later, he passed away. Now it was just my mom on her own, and me, also on my own as I was in the process of having to move and get my own place alone (my best friend who I used to live with was moving in with her new boyfriend). I wasn't at all prepared for the sudden responsibility because up till now even though I knew it was comign eventually, I couldn't even think about it without panicking so I didn't, for the most part.
The shock, just like that first time, of seeing my dad die, brought her illness right back. It wasn't super noticeable at first, she was stressed, grieving, I was rushing around trying to settle the funeral since my parents were absorbed with each other for years and my dad's illness (he had myasthenia gravis), so they only had each other, no friends, no other family. My mom couldn't handle the arrangements since she still barely speaks any english at all and has never done anythign for herself, dad did everything in the family when it came to any kind of paperwork, even going on the computer, she never did that.
She was now living on her own, in that little appartment. She can't move, because it's subsidized and we can't financially afford it. (she's been on the waiting list for almost a year now to move and nobody knows how long she still has to wait). At first I tried to teach her how to use the computer. Eventually we got her a cellphone. I tried to get her to join community groups, be involved with the people in her builing. But her symptoms kept growing worse so anything complicated became just a new source of data to feed into her delusion net and all people she met were soner or later vilified and added to the collective THEM who were in on it, hired and paid for to spy and harass her and were her enemies. While she remains functional physically, and can go about her day, her delusions have taken over her reality.
She is convinced that the people my dad was in a legal battle with (a small law firm) are a multinational crime sindicate that have hired everyone around her to spy on her and torture her. she thinks random strangers are following her and watchign her when she is on the streets. she thinks that people she sees in random places she saw before, in places they could not have been, so they are following her and everything is connected. She will read random ads on her phone, not understand what they mean, make up her own story of what they mean (usually either a warning, secret information about an impending threat or attack, or orders to do something to us that her cellphone is intercepting). Every little thing that is new or different, she interprets in a way that fits into her grand persecution delusion and it all has to do with her.
She needs help and medication and I know this, but I don't live with her, and unfortunately, I cannot live with her, and she refuses to acknowledge that she is ill (it's all a conspiracy) and the law will not allow the ambulance or police to take her to the hospital without her consent. One would think that it would make sense for me to move her in with me, or closer, so I can now become her caretaker, but I just can't and this causes me no end of guilt and self loathing.
Over the years my anxiety has gotten critically worse and I tried to live with her once, and we both ended up in the hospital as a result. I do not remember what it feels like not to taste bitterness in my mouth or not to carry the tight knot in my diaphragm, throat and between my shoulderblades. Just writing about it makes my breath hitch. I get overwhelmed by the smallest things to the point where my brain stops thinking and I start blacking out, can't gather my thought, can't concentrate even on words. Even before I tried living with her I already knew it was a terrible idea for me and resised it as long as I could, trying to support her in other ways.
It's been two years now that dad passed away. there were times when mom's delusions were worse, but there were times when they were there, in the background, but you could hold a normal conversation with her. For the first year, from my own anxiety, and from her demands, I called her daily. We spoke every single day, sometimes a few times a day. I was living alone now, working, trying to maintain my health, my home, work and spending anywhere between 20 mintues to 4 hours a day talking to her.
This was getting too much. I was burning out. Whenever I missed a call, or was late calling her, she wuold call me repeatedly in a panic thinking something was wrong becuse I always have my phone on me and I always answer. She would demand to know where I've been, what I've been doing, why I wasn't answering, or guilt me about forgetting about her if I didn't call in time.
I became shackled to my phone, anxious to be without it even for a second. We fought a lot. I understand that she is ill, but she doesn't believe she is ill. She believes the hospital will kill her, that THEY want to lock her away in the hospital, she thinks dad was killed in the hospital, that he was coherent and talking when they took him away for tests and when she saw him again he was already slipping away and not speaking. She has villified the hospital to the point that when suggested with a possibility of being made to go to the hospital she says she would jump off her balcony before she goes with them. She swears she will never ever again go to the hospital no matter what.
Even though I understand she is ill, my own frustration and desperation was geting the better of me. I started raising my voice. then yelling. Eventually I stared swearing, insulting, mocking. I know it's wrong. I feel like the lowest shit every time we have a fight, but it's like I can't help myself. It's impossible to reason with her some days and it's impossile for me not to get emotional and lose control. I do it every time. I feel guilty enough to want to die every time after. It's choking me.
But it wasn't all bad. There was a period she wanted to go back to visit our old country and see family. I thought it was a great idea. I can't bring myself to travel, and setting that up for her was enough of a push (I was such an anxious mess I could not sleep, eat or function, my hands were shaking all the time, so I needed medicine asap) to go see my family doctor who prescribed me some pills for anxiety and told me to come back for a therapist referral (I told her at the time I could not handle therapist visits then). My mom went. It was a horrible visit.
The family was unprepared for her visit (they thuoght hse was coming for a month at most, she insisted on a ticket for 6 months and I couldn't stop her, I could only try to keep calm and keep her calm by doing what she wanted as much as possible and hope that it will work out and the comfort of family and familiar scenery would help her.). They were not prepared for her being sick. Apparently my parents hid the fact all these years. They were not prepared for how long she went there for, or how unprepared she was (she went for 6 months with one little carry-on suitcase). I was constantly harassed by them to somehow solve this 'problem' for them even though I was an ocean away and could not do anything even if I was there, and they were all coming at me with an attitude of 'how could you send your sick mother to us like this' like I was the one who made it happen. But it wasn't all bad. At least I knew that she was not alone, and that there was nothing I could or should be doing, and there were weeks when she was out in the coutnry and out of touch so like it or not, I had a break.
Even there she had her delusions and she came back with some new ones. To this day I cannot sort out what is truth or not, but some family members have now refused to even speak to me or her. Honestly though, it doesn't even matter at this point. When she came back, I felt like she was so unwanted and unloved by the rest of the family who couldn't wait to get rid of her and saw her nothing more than a burden that appeared suddenly in their life after 20 years away, like a stranger who comes into their lives and makes demand of them, that they were literally telling me she is destroying their lives. When she came back, I was filled with a desire to protect her and care for her properly, so instead of her home, I brought her straight to my place. I have a spare bedroom for emergencies just like this, I felt rested, she seemed better, coherent, refreshed, despite the problems of the visit. I thought it would be fine.
The visit was supposed to last only a little while. It was good at first. then she started driving me nuts. She took over my home, moving everything around, sorting everything into layers of plastic bags and hiding everything away, rearranging things, fixing things that didn't need fixing. For a person with severe anxiety, routine is everything and mine was broken. My environment was changing all around me and her presence was getting more and more stressful and infuriating. In addition to that, she had mood swings. A careless gesture, or a smile at the wrong time had her accusing me of mocking her, or thiking she is an idiot, storming off mad to lock herself in her room. Most people might be able to itnore that, but I can't.That sent me into a guilty, panicked, unsettled, shivering and crying mess for hours, banging on her door, needing to resolve whatever issue she was having now. There was no calm. No stability. At any moment she could blow a fuse, get mad, and tip me right over after her.
The worst, there was no way of making her hear me. Even when I tried to rationally explain to her how my anxiety works, why I need certain things a certain way, why I can't handle her presence, or why I need to be left alone for 7 hours to read without being interrupted every 5 minutes for little things, she was not processing it. It was like she was not listening and only waiting for me to finish speaking so she can tell me what she wanted to tell me because the moment I sopped explaining, she would ignore it and start on something else. Frustration escalated until I had my very first anger attack. I screamed. Not like fear scream, like I'm gonna break shit scream. I threw and broke shit. Then I realized what I've done and collapsed into a mroe familiar panic attack. For a moment, this display seemed to shake her and I had my mother's support, but the moment I was able to breathe, she was telling me not to do that again, like that was something I did on purpose.
I understand she is sick and can't help the fact that she is unable to see outside her perception bubble, but it hurts.
After almost a month and a half of her livign at my place, I managed to get her to go home. But only weeks later, she desperately wanted to come visit me again and promised that it was only for 2 weeks, she even bought the tickets. I told her that I was not inviting her and didn't want her to come, but that I will let her in if she insists, so of course she did. she was unwelcome and it was a bad visit and I was hardly recharged from her last visit. Every time I would ask her when she is goign home she would reply with 'don't worry, soon. you'll be rid of me soon.' except she wouldn't tell me when and it was always with a dose of guilt that made me feel like a monster for pushing my only mother away.
By the end of second week. I broke. We were arguing all night, she was hysterical and when she is stressed, the delusions become prominent, I was in a state of complete shut down, rocking ball on a chair, I couldn't even form words. She was calling the police repeatedly to come, but wouldn't tell them why. Part of me was horrified, I didn't want her to bother them for imagenary enemies, part of me desperately wanted them to come, take control of the situation and save me from her. Eventualy they did, and eventually they managed to get me to form words and we both went to the hospital. We tricked her into going because I was going and it didnt matter why she believed we were going so long as she was going.
She was in the hospital for less than a month, they let her out, and she did seem significantly better. The psychiatrist told me that the best they can do is settle her down and that the delusions she has are a way for her brain to make sense of something it otherwise can't, that they are nescessary for something in her mind and that they are likely permanent. They will come to the surface and retreat, but they aren't ever going to go away.
It was horrifying.
And yet, sure enough, she seemed somewhat better. Unfortunately, at this point, we were in the full swing of Covid, as this was April, the busses were no longer running, and her city is a hot-spot, so with little choice, she stayed at my place. For weeks. Covid was not finished and the busses were not running, but the moment it got a bit better, I managed to get her to go home. At that point, I was so spent, that I didn't care how she felt about it, what guilt or responsibility I was supposed to be feeling towards her because she is my mother, nothing at all. I just wanted her to fuck off and leave me alone.
The one positive outcome of this was that it became easier to limit how often we call each other. Once ever few days instead of daily. I still had to struggle, I told her not to call me all the time, not to bother me repeatedly during all hours of the day, regardless of what I'm doing (and not to blame me when I don't pick up immediately) for every tiny little thing. She was managing, we mostly didn't talk about delusions, there were even a few times when she went seemingly missing for a week, once for 10 days, where I could not reach her at all because she neglected to charge her phone and she cancelled her internet so there's no other way to reach her. My own anxiety got the better of me and I ended up sending the police to her door doing wellness checks just to know she's alive and hasn't fallen off a chair and broke her neck. Any time she would disappear for more than a few days, not online, phone going straight to voicemail, no other contact, I would panic. I would tell myself I'm being unreasonable and wait. I would remain in a state of panic for days, until I couldn't handle it any more, convinced she was horribly dead somehow, and called police to have her checked on.
And despite all that, for a while, there was an equilibrium. She was back at home. We were speaking calmly about mostly nice things, regular things, every few days, delusions came up and we still fought sometimes, but much less and mostly we managed not to talk about that, sterring conversation to other, more mundane topics. However, I got the sense that something was having her on edge when she started asking about maybe me coming to visit, or maybe her coming to visit, just for a day, she even said she doesn't ahve to sleep in my home she can sleep in the hote (as if that is even remotely a possibility that is in any way would leave me feeling good no matter how that went). She insisted on sending me a care package (I sound like a piece of shit, how dare my mother send me a care package, but the reality is it was a burden), then harassed me daily until I recieved, it, confirmed I received it, and confirmed that all the contents were there (she packed it in layers and layers of paper that she glued on so there was no fucking way anyone was getting into it without some serious hacking at the box). It was little things like this, but these are signs that I'm familiar with already.
Then on the 10th this month, she called me in a panic saying that her keys and her phone charger were both stolen. Of course I didn't believe they were stolen, they had to be at home, the keys at least, since she was home and her door was unlocked. Of course, there was a small possibility that she didn't lock her door while she went wandering the buiding with her keys with her, put them somewhere, forgot them, and someone picked them up, but still, I was pretty convinced they had to be home, so I told her to calm down and search for them. Losing one's keys is a big hassle, but not such a big deal ultimately and losing one's charger, even less so, but for us it was a big deal. Without her keys,she couldn't leave the house to use a payphone, without her phone, she couldn't contact me, emergency, or a locksmith.
It sent me straight into a panic.
She found her charger, but her keys were nowhere to be found and she swore she searched everywhere. She was now absolutely convinced (not for the first time), that someone came into her home and stole her keys. She kept calling me and I don't dare to not answer when she is so distressed. This culminated into a phone-call at 1AM that lasted 3 hours where she pretty much non-stop monologued the web of her delusion, where she saw what random people, how they are all connected to this, except there aren't any connections or causality.she spent three hours non-stop ranting about unconnected events, things, people, things she saw on her phone, on the street, on cars, random words and google, samsung, and covid became anthromorphised and she was taking about these things now like they were people who were also out to get her and controlling her phone. For three hours she completely lost touch with reality and I was losing my mind listening to her. Objectively speaking, it's easy to understand that it's just an episode, realistically speaking, this was my mother who has completely lost herself to a world of paranoia, fear and illusions not just telling me about the warnings her phone was prophetising to her about how she was going to be under attack, but also deanding of me that I stay away from my friends, from 'that somone' who was supposedly whispering in my ear making me tell her things she didnt want to hear and making me sick and attacking me and it was both horrifying and infuriating because she is the source of my biggest stress and she is the one making me sick, but she can't and won't ever be able to see that or really do anything about it. somehow, I have to.
For the next few days, I didn't sleep or have any peace. She called me anywhere between 10 to 20 times a day, especially at night. I would receive phonecalls at 4 am with her alternatively sobbing and warning me of imminent danger to my life, telling me not to go places I was never planning to go or see people that didn't exist because I would explode, be killed, and die in a car accident (all at the same time) and that my neighbours are also horrible and alsodoing all those things with electiricity and lasers to me. I know it's illness, I know it's not true, but it poisons my safe bubble, it poisons my sense of my home and security it gives me. My home has not felt safe and cozy ever since she's been in it and I keep finding things everywhere that she's touched, pieces of paper stuffed into tiny cracks, thumbtacks, regular objects wrapped in laeyers of plastic or foil for no reason. It is no big deal, or it shouldn't be, but every bit is a reminder of her and how crazy she is and I have no control mechanism not to feel crushing despair and panic at every reminder.
Eventualy, I managed to get her to agree to let a locksmith change her lock. $200 and 5 days and nights of nighmare later, and she found her old keys which she hid in her wardrobe and forgot about. No wonder she could not find them. I figured with the big stress gone, she wuold just need a few days to relax, calm down, and while she is not going to become healed, it would become livable again.
And I am right. It didn't happen right away. the first few days she was still calling me repeatedly, innundatign me with problems. there's a problem with her pension and I must hire a lawyer, an interpreter, come to her city and go to the government (but she refuses to and is unable to explain to me what the problem is). there's a problem with her taxes (but she can't tell me what it is. As far as I can tell, there is no reason for there to be any problem with these things.). Then her stove is not working, the oven smokes and sparks. I panicked. I told her not to use it. I don't know if it's real or not. Then her fridge is not working. Then it is. Her outlets are not working, but sometimes they are. Her charger is burnt out now by the faulty outlets. But it sometimes it works. I have no idea if any of these are real, if they are all delusions, if she is just trying to get me to go there, or if these are tiny problems but I'm over-reacting. Last I heard she had her neighbour help her pull out her stove and it's unplugged (this was yesterday). (she promised me many times to get a contact for a neighbour so I can have someone to call to check on her, but it still hasn't happened)
On the one hand, the last couple of conversations I had with her were calm-ish and closer to normal, on the other hand, I have all these problems that may or may not exist hanging over my head. On top of that she has no idea how to use her phone, constantly messes around with the settings, and accidentally messed up her phone contacts and blocked my number, but she doesn't believe she did it, somebody controlling her phone from the inside keeps doing all these things, and I can't explain to her how to fix it over the phone. As far as I can tell, this is the only real problem for sure, and there is a bigger possibility something is actually wrong with her stove. this terifies me because I'm afraid of her messing with it, causing a fire, or being electrocuted.
This type of distress seems like a good reason to call authorities, and the reason I'm not, is because they already have been called. Multiple times. The police cannot do anything. The last time they came, she refused to open the door for them and they told me that unless they perceive active harm to her or others happening when they are there, they can't force the door or take her by force. Her social worker explained to me that there are many people who suffer and it is still their right, even if they are sick, to refuse help. The only way is for me to leave my city and go to court to try and prove her inept (and I have very little evidence, especially since most of the time she is not inept and can go about daily tasks just fine), to forcefully take her for a psychologic evaluation and get her hospitalized. Or I can spend up to $10,000 and possily up to a year going through federal courts to have myself declared her guardian, take on that responsibility, and put her in a home.
Except I can't afford that. Neither financially, nor mentally, nor emotionally. I am afraid. I have no idea if I am over-reacting, since she's been living mostly on her own for almost two years now and hasn't died yet, or set anything on fire. this is just a particularly bad episode and a rather long one so I am exhasuted, emotionally spent, so yes, I am most likely completely over-reacting. Especially since I was right and it is getting a bit better (or seems to, but I can't tell any more, I can have a normal conversation in the morning, a completely delusional in the afternoon, and another normal in the evening, I can't trust anything about this any more)
So now I am going to be going to another city the day after tomorrow to see for myself. At the very least, I can fix her phone and hopefully restore our ability to communicate. As for the rest, I can at least see if her environment is safe or not. If it is not, maybe I can call the police when I'm there and open the door for them, have them come in and see what she wuold not let them see the last time they came. Maybe these a problems that I can solve. How, in one day that I'm there, I'm not sure. If the stove is really broken, aside from convincing her (because she's worked it into her delusion, someone lived in her appartment while she was away for 6 months, broke her stove, fixed her floor, and the building office that had no right to let anyone into her home must fix the stove and she will hold onto it no matter what until they that broke it replace it with an exact one. btw: nobody was in her apartment while she was away.)
And that brings me to why I'm here, other than to rant and vent apparently. If there is anyone who actually read this massive spew of my whole life here and made it this far, thank you. I don't expect anyone will, but if someone bothered to read this, please drop me a comment, even if just 'read'. It would mean a lot.
I am not capable of going to court. Iam not sure it's the best choice either. the social worker, the police, they all told me that there isn't a whole lot that can be done where she lives except for taking it through court. They essentialy told me what the doctor from the hospital told me, this is essentialy who she is now, what her life is going to be like. Even if she does get medicated, as history has shown, it is a temporary solution. Since Idon't live with her, I don't even have much proof about her condition to justify taking away her liberty to the court I don't know if I could survive the guilt even if I can. I struggle with feeling guilty knowing there is still more I can do, that I could fight, like my dad did, get her repeatedly to the hospital, get her a psychiatrist assigned, get her mandatory medication like before. but I don't know how he did it and he lived with her, he could call the ambulance every time when she is in the middle of an episode, and let them in to see it too, things I cannot do.
I feel so overwhelmed by these feelings. Uncertainty whether she is actually safe, whether this is a reason to panic and push forward, drop everything and go to court to try and force her to medicate to maybe save her life, or if she is mostly fine, just had a bad episode and I just have to wait it out, try to be patient and calm, distract her and try to manage my own anxiety. I am here because I am trying for the second option right now, but can't decide how concerned I should be, how likely it is she is in actual danger. I will know more when I go there of course, but what then? What do I do? My brain feels like screaming repeatedly and shutting right down at the idea of finding actual danger, something that I would actually have to do something about, something that would force me to act because I don't know if I can handle the process.
Some of the things she does because of these delusions she has are just strange. She tapes up vents and any holes she can find, cracks, etc i her appartment, she covers up the lit up light switches with tinfoil (and in fact, tinfoil is almost comically present all over her place), but some things she does, could be dangerous. She is in her mid 70s and she climbs chairs to stick pins in the ceiling to short out the 'equipment' the neighbours are using upstairs, she opens windows and doors in the middle of the winter to let out the 'poison gas'. The winter my dad died she slipped and fell and broke her arm and shoulder in three places, but refused to go to the hospital. I couldn't believe that it was broken, since who can stand that kind of injury for so long, but for months it wouldn't heal and for months I begged her to go get it looked at but convicned she will die in the hospital she suffered until the breaks healed on their own, wrongly, with shards of bone splinteres in her flesh now, and whe she finally got an x-ray 6 months later, it was way too late to do anything about it already and the doctor said it was not a good option to try and operae on it at her age even if we could convince her to do it. Once there was a hole in the wall that I put in the drywall and in an attempt to fix it I caught her digging out the drywall with a metal butter knife. Doesn't seem so bad, except the hole was right next to an outlet and while she wasn't trying to stick it in the outlet, that is still dangerous and had me freaking right out at her. She does plenty of things that are dangerous enough for me to be afraid and I told all of these things to both the police and the social worker and there was still nothing they could do unless the danger was immediate and they could perceive it.
I am being forced to chose, either break myself trying to go to the next step to medicae her by force and potentially lock her up in a covid-infested nursig home, or watch her suffer and potentially harm herself unable to do anything. There are no good options. Even to try and get her a PSW to check on her periodically and help her, I have to first get her to a doctor, get him to evaluate her and determine tht she needs one. She refuses all options. I even threw out the option of moving her to my city and personally subsidising her rent from my income so she can live closer, so I can at least check in on her more easily while not actually living with her, but even that was met with suspicion and I was told that she's not usre if I'm the real me and she will be asking me 'a question' the answer to which I have to remember for her to be sure it's me and let me in when I visit her the day after tomorrow.
I feel like I have no options and I'm burning up with worry to the point that I had to beg my friends to stay with them because I was afraid of myself. More than anything I just want to sleep and not wake up. I don't think I am suicidal. I think I'm just tired and worn out and need sleep, a break, ways to manage my own anxiety, an outside perspective to ground me in reality and give me some semblance of a sense of scale. Are these problems mountains, or are they just roadbumps? My ability to judge and react appropriately is fucked up. I keep having sicidal ideations, vivid fantasies, while at the same time I desperately want to simply live my life. Sometimes it feels like I would prefer if she did die, and at least then I would grieve and it would be over with. As it is, I can see no end to this. For all I know, this is my life for another 10, maybe 15 or longer years.
When I think of it that way, it becomes too much and that's when the thoughts of just checking out start. Everyone dies eventually, so why not now? What diference does it make? Except I really don't want to die, I just want for this nightmare to end, for someone else to take over, to abandon her and let her live her life however it happens to be. But I can't. I can't resolve this guild and responsibility with my own desperate desire to be free of this and live my life. The only thing I can do right now is try to find ways to manage my own emotions and try to convince myself that I am already doing my best, but I can't, because my dad did better, and she got better, and there is still a way open for me but I refuse to take it.
If anyone is still with me, if anyone read any part of this ginormous rant that would not be contained (I really didn't mean to put it all down, but it all came out), please give me an outside perspective. Whatever it is. I'm feeling like I am falling appart and ready to break and I can't count how many times in the last two weeks my thoughts were just replaced by screaming inside my head. I can't even talk to my friends any more without guilt, because they've been on this shitty rollercoaster ride with me from the begining, for years now, every time this happens, they hear about it, they listen, they support, and even they are tired and worn out from hearing this over and over and over again. I can't keep doign this to them, so I 'm doing it here, hoping maybe someone is bored enough to read this much and kind enough to let me know that someone listened.
PS: I have made an appointment with my doctor to refer me to a therapist so I can get professional help, again, to try and manage living while my mother is like that, but it takes time, so I have to wait, and in the meantime, I try to cope like this.
submitted by Cuanshade to mentalillness [link] [comments]


2020.09.22 01:07 i_Arnaud BSOD troubleshooting - Caused by nvme SATA SSD ?

Hi everyone,
I purchased second hand a decent workstation.
Specs:
Motherboard: Asus z10pe-d16 ws
CPU: 2x Xeon 2620v4
RAM: 8x 4GB DDR4 ECC
GPU: Asus GTX 1070
SSD: Intel 600P Nvme SATA 500 GB

So after installing a first time Windows 10, got some weird BSOD (after 2-3 hours). Then at the reboot, error with the BCD. So I reinstall. 1h after the install (while I'm installing what I need), another error, with another disk issue (I can not recall exactly). So I re-reinstall. And there, same thing as the first install except than this time at reboot, it bring me to grub rescue screen.
So I booted Pop_OS live usb drive to troubleshoot and analyze what is happening.
Below is the SMART information I can get:
[email protected]:~$ sudo nvme smart-log /dev/nvme0n1
Smart Log for NVME device:nvme0n1 namespace-id:ffffffff
critical_warning : 0
temperature : 30 C
available_spare : 100%
available_spare_threshold : 10%
percentage_used : 14%
data_units_read : 78105057
data_units_written : 175920033
host_read_commands : 1088969993
host_write_commands : 3833267989
controller_busy_time : 18981
power_cycles : 254
power_on_hours : 27409
unsafe_shutdowns : 87
media_errors : 1
num_err_log_entries : 1
Warning Temperature Time : 69
Critical Composite Temperature Time : 0
Thermal Management T1 Trans Count : 0
Thermal Management T2 Trans Count : 0
Thermal Management T1 Total Time : 0
Thermal Management T2 Total Time : 0
[email protected]:~$ sudo smartctl -a /dev/nvme0n1p1
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-7642-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number: INTEL SSDPEKKW512G7
Serial Number: BTPY64240M75512F
Firmware Version: PSF100C
PCI VendoSubsystem ID: 0x8086
IEEE OUI Identifier: 0x5cd2e4
Controller ID: 1
Number of Namespaces: 1
Namespace 1 Size/Capacity: 512,110,190,592 [512 GB]
Namespace 1 Formatted LBA Size: 512
Local Time is: Mon Sep 21 22:59:33 2020 UTC
Firmware Updates (0x12): 1 Slot, no Reset required
Optional Admin Commands (0x0006): Format Frmw_DL
Optional NVM Commands (0x001e): Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat
Maximum Data Transfer Size: 32 Pages
Warning Comp. Temp. Threshold: 70 Celsius
Critical Comp. Temp. Threshold: 80 Celsius

Supported Power States
St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat
0 + 9.00W - - 0 0 0 0 5 5
1 + 4.60W - - 1 1 1 1 30 30
2 + 3.80W - - 2 2 2 2 30 30
3 - 0.0700W - - 3 3 3 3 10000 300
4 - 0.0050W - - 4 4 4 4 2000 10000

Supported LBA Sizes (NSID 0x1)
Id Fmt Data Metadt Rel_Perf
0 + 512 0 0

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02)
Critical Warning: 0x00
Temperature: 30 Celsius
Available Spare: 100%
Available Spare Threshold: 10%
Percentage Used: 14%
Data Units Read: 78,105,057 [39.9 TB]
Data Units Written: 175,920,033 [90.0 TB]
Host Read Commands: 1,088,969,993
Host Write Commands: 3,833,267,989
Controller Busy Time: 18,981
Power Cycles: 254
Power On Hours: 27,410
Unsafe Shutdowns: 87
Media and Data Integrity Errors: 1
Error Information Log Entries: 1
Warning Comp. Temperature Time: 69
Critical Comp. Temperature Time: 0

Error Information (NVMe Log 0x01, max 64 entries)
Num ErrCount SQId CmdId Status PELoc LBA NSID VS
0 1 7 0x0000 0x0286 - 0 1 -

I read somewhere that the 600P had 2 version and that the wear of for v1 was 78TB and 288TB for v2.
So could those BSOD be caused by the SSD?
Is it the wearout?
or the equivalent of a "bad sector"?
Is there a way to fix it?
What else can I try to troubleshoot & solve it?
Thanks in advance.
submitted by i_Arnaud to techsupport [link] [comments]


2020.09.21 20:17 SPAC_Time LGC.WS Warrant Tender Offer Explanation

Legacy Acquisition Corp. and Onyx Enterprises Int’l Corp. Announce Business Combination
As part of the proposed business combination, LGC.WS warrants will be exchanged for cash plus stock. LGC already has the approval of enough warrant holders; if the merger is completed, this will happen.
IF the post merger CarID stock trades at exactly $10 per share, the exchange values the LGC.WS at $1 each. If CarID trades at more than $10, the equivalent value is higher; if it trades lower, the equivalent value is lower.
The cash and stock amount will depend on how much cash is left in the trust after redemptions.
There are 3 possibilities:
" If, at the closing of the proposed transaction with Onyx, the aggregate gross cash in the trust fund, plus the aggregate gross proceeds received by Legacy pursuant to any financing is at least equal to $60,000,000, $0.35 in cash and 0.065 of a share of Class A Common Stock of Legacy, (ii) if, at the closing of the proposed transaction with Onyx, the aggregate gross cash in the trust fund, plus the aggregate gross proceeds received by Legacy pursuant to any financing is less than $60,000,000, but at least equal to $44,000,000, $0.25 in cash and 0.075 of a share of Class A Common Stock of Legacy, or (iii) if, at the closing of the proposed transaction with Onyx, the aggregate gross cash in the trust fund, plus the aggregate gross proceeds received by Legacy pursuant to any financing is less than $44,000,000, $0.18 in cash and 0.082 of a share of Class A Common Stock of Legacy "
Let's make it easy and use 1000 warrants as an example.
If $60 million or more is in the trust, they pay $350 and issue 65 shares of CarID stock. If CarID is $10, that's $1000 worth total. ( $1 per warrant )
If less than $60 million but more than $44 million is in the trust, they pay $250 and issue 75 shares of CarID stock. If CarID is $10, that's $1000 worth total.
If less than $44 million is in the trust, they pay $180 and issue 82 shares of CarID stock. If CarID is $10, that's $1000 worth total.
If the post merger CarID share price falls to $5, then those figures become:
$350 + (65 x $5) = $675 ( 67.5 cents per warrant )
$250 + (75 x $5) = $625 ( 62.5 cents per warrant )
$180 = (82 x $5) = $590 ( 59 cents per warrant )
https://www.sec.gov/Archives/edgadata/1698113/000121390020027443/ea127113-sctoc_legacyacq.htm
At the moment, the LGC.WS are trading around 66 cents. This values the post merger CarID stock around $6 per share (although there is also a discount based on the fact the merger may not go through, which is always a chance with any SPAC).
submitted by SPAC_Time to SPACs [link] [comments]


2020.09.21 15:01 tinkinc Python For Loop Error

I have a script that goes and loops through tabs which are tabs I am matching to a cell file in data. When it gets to a excel file that doesn't contain the tab it breaks. Is there anyway to make it just loop over or even put null values when it cant find the tab that matches the data tab?


for tabs in text_search.itertuples():
SQL_Statement = "select * from REPORT_STWIDE_METADATA WHERE TRIM(XLSX_WORKSHEET_NAME) ='" + tabs.Replace + "' ORDER BY cell_location"
data = pd.read_sql(SQL_Statement, con=orc_con)
for mco in files :
wb= xl.load_workbook(mco, data_only=True, read_only=True)
ws = wb[tabs.Replace]
for index, row in data.iterrows():
df_tester = df_tester.append({'VALUE': ws[row['CELL_LOCATION']].value ,'EXCEL_NAME': os.path.basename(mco), 'SHEET_NAME': ws.title, 'NAIC': os.path.basename(mco.split("naic", 1)[-1])[1:6] ,'INSURER':ws['B1'].value,'CELL_LOCATION': row['CELL_LOCATION'], 'REPORTING_YEAR': os.path.basename(mco.split("-", -1)[-1])[0:4]}, ignore_index=True)
submitted by tinkinc to learnpython [link] [comments]


2020.09.21 14:27 VioGreen Getting cooldowns after a long break from dota

I recently started playing again after a 1+ year break from Dota and my behavior score went down almost 3k in less than two weeks.
I dont abandon or ruin ever and try my best but of course especially after that break I dont feel like I belong in my skill bracket anymore. Its very hit and miss and for every game I do okayish there is one where I suck hard and have no clue. Now I got handed my third matchmaking cooldown (1 week ban) just one day after the last one and I dont know what to do to keep that from happening again. I just recently bought the battle pass a few days ago and am afraid that I will get banned again for longer periods.
Is there something I can do? Like reset my mmr or such, In the 15 months I didnt play at all it went down like only by 200, is there no decay in dota? Here is a Pic of my report data: https://x-up.ws/i/c9a33f38e63d.png
submitted by VioGreen to DotA2 [link] [comments]


2020.09.21 02:12 dem0n0cracy Got the full text PDF to: 'Can a carnivore diet provide all essential nutrients?' by Amber L O'Hearn - October 2020 - Curr Opin Endocrinol Diabetes Obes

Got the full text PDF to: 'Can a carnivore diet provide all essential nutrients?' by Amber L O'Hearn - October 2020 - Curr Opin Endocrinol Diabetes Obes
https://sci-hub.tw/downloads/2020-09-08/e0/[email protected]#view=FitH
Purpose of review
The aim of this study was to summarize current contributions affecting knowledge and predictions about the nutritional adequacy of plant-free diets, contextualized by historical accounts. Recent findings As demonstrated in recent experiments, nutrient interactions and metabolic effects of ketogenic diets can impact nutritional needs, sometimes resulting in nutrient-sparing effects. Other studies highlight conflicting hypotheses about the expected effect on metabolic acidosis, and therefore mineral status, of adding alkaline mineral-rich vegetables.
Summary
A carnivore diet is a newly popular, but as yet sparsely studied form of ketogenic diet in which plant foods are eliminated such that all, or almost all, nutrition derives from animal sourced foods. Ketogenic diets are already nutritionally controversial due to their near-complete absence of carbohydrate and high dietary fat content, but most ketogenic diet advocates emphasize the inclusion of plant foods. In this review, we discuss the implications of relying solely on animal sourced foods in terms of essential nutrient status.
Keywords
acidosis, carnivore diet, ketogenic diet, nutritional adequacy, vitamin C
KEY POINTS
  • All essential nutrients can be found in animal sourced foods.
  • Some such nutrients are not commonly eaten in high enough amounts to meet recommended intakes.
  • Studies on individuals eating only meat did not reveal nutrient deficiencies.
  • Carnivore diet nutrient profiles and effects on metabolism may reduce or increase the needs for some nutrients.
  • More study is warranted to understand long term implications of plant-free diets.


Table 1

Introduction

A carnivore diet is based on animal sourced foods (ASFs), drawing no significant contribution from plants. Plant elimination is considered a key to the immunological benefits imputed to the diet, which is often promoted as effective against autoimmune conditions. This has been attributed to the exclusion of xenobiotic secondary metabolites [1& ]. Because ASFs are largely devoid of carbohydrate and relatively high in fat, carnivore diets are typically ketogenic as a side effect. The degree of ketogenesis on a carnivore diet varies mostly with the amount of protein consumed. Some varieties of the carnivore diet, such as the ‘Paleolithic Ketogenic Diet’ (PKD), explicitly require highly ketogenic macronutrient ratios (low protein, high fat) [2&&]. Whether a diet is considered ketogenic depends only on whether it causes sufficient ketogenesis such that serum ketone bodies rise above a clinically defined threshold, typically 0.5 mmol [3]. As such, its definition is agnostic about other dietary qualities, including nutritional completeness. For this reason, researchers often emphasize the importance of ketogenic diets being ‘well formulated’ [4]. Encouraging the inclusion of low-starch vegetables in ketogenic diets has been used as a point of agreement bridging otherwise clashing nutritional paradigms, because they are compatible with ketogenesis, and because there is a perceived consensus on their health benefits [5]. We argue here that although plants can certainly be used as sources essential nutrients, and can help with compliance by providing variety and pleasure, a well formulated ketogenic diet need not contain them to be nutritionally adequate. Historical data, biochemistry and physiology are considered.

Most essential nutrients are found in abundance in animal sourced foods

A cursory examination of food nutrient databases, such as the one provided by the United States Department of Agriculture [6], shows that technically speaking, there are no essential nutrients that cannot be found in at least some quantity in some ASF. Indeed, most are more available from animal sources. Some examples are provided in Table 1. This is intuitive in part because animals are made up of the components they require, and humans are similar enough to the animals we eat that there is no major divergence between needs and composition. Nonetheless, some nutrients are more common than others, or are distributed to more commonly eaten parts than others. Further, the rate of use of a given nutrient is not necessarily proportional to its ongoing level in the body. Moreover, it would be a mistake to automatically assume that all nutrients are efficiently extractable from a given source. Absorption, extraction and interconversion of nutrients depend on specific anatomy and physiology. Generally speaking, for humans, most required nutrients are more available and more bioavailable from ASF sources than from plant sources. Two notable exceptions we will consider in depth below are calcium and vitamin C. Whether it is possible to obtain adequate levels of all nutrients without extraordinary measures is contentious even within online communities promoting carnivore diets, in part because nutrient requirements are context dependent. Nutrient requirements depend on context As the recent discovery of vitamins last century, intensive initiatives have helped determine human nutrient needs across a variety of conditions [7]. Guidelines in the form of daily intake references are designed probabilistically [8]. That is, for an individual, meeting a recommended intake will ensure that the chances of inadequacy are very small. As such, they are necessarily overestimates for the average consumer. This is particularly desirable when designing a diet to be administered to many people, because there is little cost incurred by some people getting more than necessary for the benefit of ensuring that the vast majority get enough. Moreover, it is not possible to determine exact needs for each individual on every occasion. A particular individual has no basis for expecting to fall below the higher end of the spectrum, and would therefore be prudently advised to act as though he or she requires more than average. However, if the population receiving the recommendation differs systematically from the population on which the recommendations were derived, these recommendations may be significantly in error in a predictable way. Plant-free diets may thus entail some different rates of use for some nutrients due to nutrient interactions and metabolic effects. For example, ingestion of fibre can negatively affect the absorption of many vitamins and minerals [9], which could lower requirements of those nutrients for those not consuming fibre. Mineral absorption is also impaired in the presence of phytates [10]. Zinc absorption is particularly affected [11]. In a document jointly published by theWHO and the Food and Agricultural Organization of the United Nations examining when fortification is warranted, it is estimated that those with diets very high in grains and legumes may absorb less than one-third as much zinc as those with more typical phytate intake [12]. It can therefore be inferred that those on a diet completely devoid of grains and legumes ought to require significantly less zinc than average. Metabolic effects can take various forms. It has been proposed [13] that as iodine is primarily used for the thyroid hormone triiodothyronine (T3) [12], and as ketogenic diets require less T3 for carbohydrate metabolism [14], the iodine requirement on a low carbohydrate diet may be much lower than on a high carbohydrate diet. Similarly, blood levels of the omega 3 fatty acid DHA are elevated on ketogenic diets [15]. This is thought to be due to reduced conversion to inflammatory eicosanoids [16]. Such preservation could impact essential fatty acid requirements. A second way metabolism can affect nutrient requirements is when there is contribution from synthesis by intestinal bacteria, and this bacterial activity changes due to the diet. Folate levels are increased significantly by ketogenic diets [17], and even by the intermittent fasting of Ramadan [18]. As shown by Mardinoglu et al. [19&&], this is due to increased intestinal microbial production, not intake.

Vitamin C

Vitamin C is an interesting case because despite the fact that meat is a relatively poor source, it has been recognized for centuries that meat has antiscorbutic properties. The following observations from C. Ralfe in an 1882 issue of the Lancet discussing this phenomenon [20] are representative: ’Sir, — I was struck by two independent observations which occurred in your columns last week with regard to the etiology of scurvy, both tending to controvert the generally received opinion that the exclusive cause of that disease is the prolonged and complete withdrawal of succulent vegetables from the dietary of those affected. Thus, Mr. Neale, of the Eira Arctic Expedition, says: ‘‘I do not think that spirit or limejuice is of much use as an antiscorbutic; for if you live on the flesh of the country, even, I believe, without vegetables, you will run very little risk of scurvy’’’. Dr. Lucas writes: ‘In the case of the semi-savage hill tribes of Afghanistan and Beluchistan their food contains a large amount of meat and is altogether devoid of vegetables. The singular immunity from scurvy of these races has struck me as a remarkable physiological circumstance, which should make us pause before accepting the vegetable doctrine in relation to scurvy’’ These observations do not stand alone. Arctic voyagers have long pointed out the antiscorbutic properties of fresh meat, and Baron Larrey, with regard to hot climates, arrived at the same conclusion in the Egyptian expedition under Bonaparte, at the end of last century. A candidate explanation for these observations is that many of the symptoms of scurvy are due to lack of carnitine, which can be derived endogenously using vitamin C, but can also be absorbed in large quantities from meat in the diet [21]. Given thatmeat is an excellent source of carnitine, it may be that the carnitine spares vitamin C that would otherwise be needed for its synthesis, while the small amounts of vitamin C it provides are enough for the remaining functions. Precipitous drops in muscle carnitine have been proposed to explain the early symptoms of scurvy, severe fatigue and muscle weakness, long before tissue lesions from impaired collagen synthesis appear [22]. On the contrary, because carnitine is used for fatty acid oxidation, which is upregulated in ketosis, it may be an example of a substance in higher demand in the ketogenic context, meaning that if carnitine itself is not adequately supplied, vitamin C requirements may instead be increased. Even though these kinds of sparing effects are plausible mechanistically, aside from folate, which has been clinically measured, it is impossible to know whether and to what extent they actually occur in practice. Empirical study under this dietary condition is sparse.

Empirical evidence

What little evidence exists for the sustainability of plant-free diets comes in three forms: reports on Arctic or nomadic societies, such as the Inuit or Mongolians or mountain herders as mentioned in the Lancet above, clinical case studies and anecdotes. The debates surrounding the degree of inclusion of plants in Arctic and nomadic societies are beyond the scope of this review. However, it is clear that in these environments, plant food sources would be exceedingly rare. Anecdotal evidence is also riddled with problems and won’t be considered further here. Of the clinical studies, one of the most informative is from early last century. In 1928, two Arctic explorers, the Harvard anthropologist Vilhjalmur Stefansson and his coexplorer Karsten Andersen, agreed to participate in a year-long study of eating only meat, after having been challenged about their claims to excellent health on plant-free, high-protein diets while living with indigenous people in the Arctic. Part of the experiment was conducted in a ward in Bellevue hospital. Several reports were published on different aspects of the results, including one in which it was specifically noted that there was no clinical evidence of vitamin deficiency [23]. The only comment related to a potential deficiency pertained to calcium, because the amount of calcium they ate was reportedly only a quarter of ‘the average mixed diet’, and, more importantly, they appeared to be in negative calcium balance [24]. According to another study [25], their blood calcium levels remained stable, but normal blood calcium levels are not necessarily an indication of sufficiency, because bone resorption can be used as a source to keep blood calcium at well tolerated levels [26]. Moreover, low carbohydrate diets have at least in one case been found to decrease calcium balance, which was presumed to be a function of acid load [27]. For this reason, high calcium, nonstarchy vegetables have been strongly recommended recently for inclusion in ketogenic diets [28]. On the contrary, another study measuring the effect of a high meat diet on calcium flux concluded that increased calcium absorption precisely compensated for increased excretion leaving no change in bone resorption [29]. Likewise, as discussed in a recent review of evidence for and against the hypothesis that meat eating causes bone resorption [30& ], it has been found that in ketogenic conditions, ketone generation increases or decreases dynamically as a compensatory response to challenge loads of exogenous acid or base [31]. Therefore, attempting to change acid balance through vegetable intake may be futile. In fact, it could actually add acidity despite containing alkaline minerals, as the detoxification of plant secondary compounds requires the production of organic acids that then must be buffered [32]. Increased protein intake can itself provide bicarbonate for this purpose, which is used by some animals when eating plants with high toxic loads [33]. In other words, there are plausible mechanisms predicting both an increase and a decrease of acidity, and so, the net result on acid-base balance by the addition of plant sources of bicarbonate to a meat-only diet remains unknown. As exemplified by the acid-buffering considerations, calcium balance is complicated by biochemically motivated changes in absorption or excretion. Other examples are reviewed in [26], including that absorption is positively affected by vitamin D status and exercise, whereas excretion is enhanced by simple lack of growth stimulus as seen in astronauts, reduced oestrogen levels and high sodium intake. Nonetheless, given that calcium balance was negative in the Bellevue study, and that calcium intake from meat alone is low, it may be a nutrient of concern, particularly in variations of the diet with no dairy intake, and no consumable bones for example from fish. Traditionally, Mongolians [34] and Bedouins [35] made extensive use of dairy, and Inuit ate small bones and reportedly chewed bones as well [36]. These animal sources of calcium may not be present in modern carnivore diets. Other clinical studies in which no nutrient deficiencies were observed include case reports from the International Center for Medical Nutritional Intervention (ICMNI), in which autoimmune patients are treated with low-to-no plant diets, for example [37,38]. These studies differ from the previous in that the individuals already present with substantial disease and may therefore have more acute nutrient needs. Organ consumption for nutritional adequacy is emphasized.

CONCLUSION

Every essential nutrient can be found in ASFs, but not always in high levels in commonly eaten ones. Some nutrients are rarer than others and may require planning if the goal is to guarantee meeting established recommended daily allowances. Because of systematic differences in metabolism and food matrix contexts, requirements on a carnivore diet may likewise differ systematically. Historical and clinical data suggest that all acute micronutrient needs can be met without plants, but long-term consequences are unknown. Calcium levels in particular may be compromised over time, and merit further study, especially in order to disentangle effects of acidity, bone growth stimulation and interacting nutrients.
Acknowledgements None.
Financial support and sponsorship None.
Conflicts of interest There are no conflicts of interest.

  1. & O’Hearn LA. A survey of improvements experienced on a carnivore diet compared to only carbohydrate restriction. OSF 2019. doi:10.17605/OSF.IO/5FU4D. This is the first survey reported on carnivore diets, and the only one attempting to distinguish between observations on a carnivore diet from those on low carb generally 2. && Clemens Z. Paleolithic ketogenic diet (PKD) in chronic diseases: clinical and research data. J Evol Health 2018; 3:. This extended abstract describes clinical observations from therapeutic plant-free diets including case study summaries, and highlights improvements seen over classical ketogenic diets. 3. Gibson AA, Seimon RV, Lee CMY, et al. Do ketogenic diets really suppress appetite? A systematic review and meta-analysis: do ketogenic diets really suppress appetite? Obes Rev 2015; 16:64–76. 4. Volek J, Phinney SD. The art and science of low carbohydrate living: an expert guide to making the life-saving benefits of carbohydrate restriction sustainable and enjoyable. Beyond Obes 2011; 316. The Art and Science of Low Carbohydrate Living. Published May 19th 2011 by Beyond Obesity LLC. ISBN 0983490708 (ISBN13: 9780983490708). 5. Miller VJ, Villamena FA, Volek JS. Nutritional ketosis and mitohormesis: potential implications for mitochondrial function and human health. J Nutr Metab 2018; 2018:5157645. 6. USDA Food and Nutrient Database for Dietary Studies 2015–2016. Food Surveys Research Group Home Page. Washington, DC: U.S. Department of Agriculture, Agricultural Research Service; 2018. 7. Semba RD. The discovery of the vitamins. Int J Vitam Nutr Res 2012; 82:310–315. 8. Harper AE. Evolution of recommended dietary allowances – new directions? Ann Rev Nutr 1987; 7:509–537. 9. Adams S, Sello C, Qin GX, et al. Does dietary fiber affect the levels of nutritional components after feed formulation? Fibers 2018; 6:29. 10. Bohn L, Meyer AS, Rasmussen SrK. Phytate: impact on environment and human nutrition. A challenge for molecular breeding. J Zhejiang Univ Sci B 2008; 9:165–191. 11. Lo¨ nnerdal B. Dietary factors influencing zinc absorption. J Nutr 2000; 130:1378S–1383S. 12. Allen L; World Health Organization. Food and Agriculture Organization of the United Nations. Guidelines on Food fortification with micronutrients. Geneva; Rome: World Health Organization; Food and Agriculture Organization of the United Nations; 2006. 13. Kopp W. Nutrition, evolution and thyroid hormone levels – a link to iodine deficiency disorders? Med Hypotheses 2004; 62:871–875. 14. Danforth E, Horton ES, O’Connell M, et al. Dietary-induced alterations in thyroid hormone metabolism during overnutrition. J Clin Invest 1979; 64:1336–1347. 15. Fraser DD, Whiting S, Andrew RD, et al. Elevated polyunsaturated fatty acids in blood serum obtained from children on the ketogenic diet. Neurology 2003; 60:1026–1029. 16. Forsythe CE, Phinney SD, Fernandez ML, et al. Comparison of low fat and low carbohydrate diets on circulating fatty acid composition and markers of inflammation. Lipids 2008; 43:65–77. 17. Urbain P, Strom L, Morawski L, et al. Impact of a 6-week non-energy-restricted ketogenic diet on physical fitness, body composition and biochemical parameters in healthy adults. Nutr Metab (Lond) 2017; 14:17. 18. Aksungar FB, Topkaya AE, Akyildiz M. Interleukin-6, C-reactive protein and biochemical parameters during prolonged intermittent fasting. Ann Nutr Metab 2007; 51:88–95. 19. && Mardinoglu A, Wu H, Bjornson E, et al. An integrated understanding of the rapid metabolic benefits of a carbohydrate-restricted diet on hepatic steatosis in humans. Cell Metab 2018; 27:559–571.e5. This study demonstrates rapid benefits of a low carb diet on intestinal microbiota affecting dietary nutrients. 20. Ralfe C. Scurvy. Lancet 1882; 120:959–960. 21. Evans AM, Fornasini G. Pharmacokinetics of L-carnitine. Clin Pharmacokinet 2003; 42:941–967. 22. Hughes RE, Hurley RJ, Jones E. Dietary ascorbic acid and muscle carnitine (b-OH-g-(trimethylamino) butyric acid) in guinea-pigs. Br J Nutr 1980; 43:385. 23. Mcclellan S, Rupp R, Toscani V. Prolonged meat diets with a study of the metabolism of nitrogen, calcium and phosphorus. J Biol Chem 1930; 87:669–680. 24. McClellan WS, Bois EFD, Clinical Calorimetry XLV. Prolonged meat diets with a study of kidney function and ketosis. J Biol Chem 1930; 87:651–668. 25. Lieb CW. The effects on human beings of a twelve months’ exclusive meat diet: based on intensive clinical and laboratory studies on two arctic explorers living under average conditions in a New York climate. J Am Med Assoc 1929; 93:20. 26. Ross AC, Manson JE, Abrams SA, et al. The 2011 report on dietary reference intakes for calcium and vitamin D from the Institute of Medicine: what clinicians need to know. J Clin Endocrinol Metab 2011; 96:53–58. 27. Reddy ST, Wang CY, Sakhaee K, et al. Effect of low-carbohydrate highprotein diets on acid-base balance, stone-forming propensity, and calcium metabolism. Am J Kidney Dis 2002; 40:265–274. 28. Yuen AWC, Walcutt IA, Sander JW. An acidosis-sparing ketogenic (ASK) diet to improve efficacy and reduce adverse effects in the treatment of refractory epilepsy. Epilepsy Behav 2017; 74:15–21. 29. Cao JJ, Johnson LK, Hunt JR. A diet high in meat protein and potential renal acid load increases fractional calcium absorption and urinary calcium excretion without affecting markers of bone resorption or formation in postmenopausal women. J Nutr 2011; 141:391–397. 30. & Frassetto L, Banerjee T, Powe N, Sebastian A. Acid balance, dietary acid load, and bone effects: a controversial subject. Nutrients 2018; 10:517. The authors synthesize arguments and data from both sides of the controversies about meat eating and bone health, showing that acute and long-term effects are not always concordant. 31. Hood VL, Tannen RL. Protection of acid–base balance by ph regulation of acid production. N Engl J Med 1998; 339:819–826. 32. Foley WJ, McLean S, Cork SJ. Consequences of biotransformation of plant secondary metabolites on acid-base metabolism in mammals: a final common pathway? J Chem Ecol 1995; 21:721–743. 33. Levey DJ, del Rio CM. It takes guts (and more) to eat fruit: lessons from avian nutritional ecology. The Auk 2001; 118:819–831. 34. May TM; Culture and Customs of Mongolia. Culture and customs of Asia. New York: Greenwood Press; 2009. 35. Leshem M, Saadi A, Alem N, Hendi K. Enhanced salt appetite, diet and drinking in traditional bedouin women in the Negev. Appetite 2008; 50:71–82. 36. Mackey MG. The impact of imported foods on the traditional Inuit diet. Arctic Med Res 1988; 47 Suppl 1:128–133. 37. To´th C, Clemens Z. A child with type 1 diabetes mellitus (T1DM) successfully treated with the paleolithic ketogenic diet: a 19-month insulin-freedom. Int J Case Rep Images 2015; 6:752–757. 38. To´ th C, Dabo´ czi A, Howard M, et al. Crohn’s disease successfully treated with the paleolithic ketogenic diet. Int J Case Rep Images 2016; 7:570–578.
submitted by dem0n0cracy to ketoscience [link] [comments]


2020.09.21 00:53 nuwan32 [FS][CAN-ON] 50TB SILENT Storage Tower Server (E5-2609/32GB DDR3/P9X79 WS)

Hello, I'm selling this fully functional, ready to go tower storage server thats in perfect working condition. It was used for cold storage, so was never a 24/7 power on unit, only ever powered on once/month or so to sync my data.
 
I built this with the purpose of having the most storage possible with the least noise and so it is extremely quiet. The case is specifically designed to block noise as you can see from the pics, it comes with noise cancelling foam on the inside of the case built in. The CPU is a low power E5-2609 and has a AIO water cooler. The graphic card is a fanless silent GT 210. This case is huge, so there is more than enough airflow for the 10 HDD's inside. I used 5.25" to 3.5" converter bays to fit all the drives. These are the drives inside the unit, with the size and quantity:
 
2TB - 2
3TB - 8
4TB - 6
128GB OS SSD - 1
 
These are the specs of the rest of the hardware:
Intel Xeon E5-2609 CPU
32GB DDR3 RAM
ASUS P9X79 WS Motherboard
Corsair TX750 PSU
 
Adaptec 5805 RAID Card
LSI ServeRAID M5015 RAID Card
GIGABYTE GeForce 210 Video Card
Corsar H60 AIO CPU Cooler
NZXT Whisper Case
 
I used Windows with StableBit Drivepool on this machine, but you can of course install any OS. The only reason I'm selling is because this is no longer enough storage for me and so I built another file server, which was easier than upgrading this. It works perfectly as the day I built it, and as you can see from the pictures, it was rarely used and kept in excellent condition so there is barely any dust in it. The hardware in this server alone is worth well over $3000.
 
Asking $1500. Open to offers.
 
Pics: https://imgur.com/a/wE7tQpt
submitted by nuwan32 to homelabsales [link] [comments]


2020.09.20 03:46 removalbot 09-20 01:46 - '[quote] [link] - 4 days ago. / Clearly not all experts agree.' by /u/Ivesx removed from /r/belgium within 634-644min

'''
Experts say data is concerning, but not to a level that action is required.
[link]1 - 4 days ago.
Clearly not all experts agree.
'''
Context Link
Go1dfish undelete link
unreddit undelete link
Author: Ivesx
1: www.k*ac*.*e/nie*ws*be*gie*marc-va*-r**s*-hoog-tijd*vo*r*a*tie*ve*dor*e/ar*i**e-*ews-16*1755.*tml
Unknown links are censored to prevent spreading illicit content.
submitted by removalbot to removalbot [link] [comments]


2020.09.17 22:10 dyelife LSPDFR Crashing on start up - Please help!

Hey Guys,
I know the world of LSPDFR and half the time is making things work haha. I did my best trouble shoot everything first but having issues fixing my crash. I am not getting past the black screen of death, it crashes as soon as it launches the plug in and sits on "Loading LSPDFR". Thank you in advance!

What have I done so far?
  1. Re-Installed LSPDFR Fresh
  2. Updated Rage and Script
  3. Went into option for Rage and set - 30000 (down from 50000) - Forced window (from not) - Checked and unchecked Direct X 11 (both unchecked and checked crash)
Here is my log from this morning... I can see the fails...but this is new so I tried to search and follow instructions but that was covered and still crashes.
Something with Data Custom not found and Custom Variations failing...
RAGE LOGS BELOW:
[9/17/2020 10:28:45 AM.355] Started new log on 9/17/2020 10:28:45 AM.355
[9/17/2020 10:28:45 AM.355] ====================================================================================================
[9/17/2020 10:28:45 AM.352] Log path: F:\SteamLibrary\steamapps\common\Grand Theft Auto V\RagePluginHook.log
[9/17/2020 10:28:45 AM.355] Log verbosity: Trivial
[9/17/2020 10:28:45 AM.357] Initializing input system
[9/17/2020 10:28:45 AM.358] Initializing game console
[9/17/2020 10:28:45 AM.363] Console key has been set to F4 (key code: 115)
[9/17/2020 10:28:45 AM.405] Initializing console variable "ConsoleScrollAmount".
[9/17/2020 10:28:45 AM.405] Type: System.Int32, Reading section: "Miscellaneous", key: ConsoleScrollAmount
[9/17/2020 10:28:45 AM.412] Read value:
[9/17/2020 10:28:45 AM.412] Initializing console variable "ConsoleKey".
[9/17/2020 10:28:45 AM.412] Type: System.Windows.Forms.Keys, Reading section: "Miscellaneous", key: ConsoleKey
[9/17/2020 10:28:45 AM.413] Read value: F4
[9/17/2020 10:28:45 AM.413] Setting value of console variable "ConsoleKey" to stored value.
[9/17/2020 10:28:45 AM.413] Console key has been set to F4 (key code: 115)
[9/17/2020 10:28:45 AM.413] Initializing console variable "PluginTimeoutThreshold".
[9/17/2020 10:28:45 AM.413] Type: System.Int32, Reading section: "Miscellaneous", key: PluginTimeoutThreshold
[9/17/2020 10:28:45 AM.415] Read value: 30000
[9/17/2020 10:28:45 AM.415] Setting value of console variable "PluginTimeoutThreshold" to stored value.
[9/17/2020 10:28:45 AM.415] Initializing console variable "AlwaysShowConsoleOutput".
[9/17/2020 10:28:45 AM.415] Type: System.Boolean, Reading section: "Miscellaneous", key: AlwaysShowConsoleOutput
[9/17/2020 10:28:45 AM.415] Read value:
[9/17/2020 10:28:45 AM.415] Initializing console variable "ShowConsoleCommandInfoOnPluginLoad".
[9/17/2020 10:28:45 AM.415] Type: System.Boolean, Reading section: "Miscellaneous", key: ShowConsoleCommandInfoOnPluginLoad
[9/17/2020 10:28:45 AM.416] Read value: False
[9/17/2020 10:28:45 AM.416] Setting value of console variable "ShowConsoleCommandInfoOnPluginLoad" to stored value.
[9/17/2020 10:28:45 AM.416] Initializing console variable "ShowOnScreenWarnings".
[9/17/2020 10:28:45 AM.416] Type: System.Boolean, Reading section: "Miscellaneous", key: ShowOnScreenWarnings
[9/17/2020 10:28:45 AM.416] Read value:
[9/17/2020 10:28:45 AM.416] Console initialized
[9/17/2020 10:28:45 AM.416] Initializing forms manager
[9/17/2020 10:28:45 AM.417] Cleaning temp folder
[9/17/2020 10:28:45 AM.418] Version: RAGE Plugin Hook v1.81.1410.16064 for Grand Theft Auto V
[9/17/2020 10:28:45 AM.422] ================ RAGE Plugin Hook ================
[9/17/2020 10:28:45 AM.425] Command line option "disableCustomLoadingScreen-disableCustomLoadingScreen-disableCustomLoadingScreen" is specified twice. Please remove one.
[9/17/2020 10:28:45 AM.425] Command line option "DX11" is specified twice. Please remove one.
[9/17/2020 10:28:45 AM.425] Command line option "windowed" is specified twice. Please remove one.
[9/17/2020 10:28:45 AM.428] Detected Windows 10 Home (64-bit) (10.0.19041.0)!
[9/17/2020 10:28:45 AM.428] Checking game support
[9/17/2020 10:28:45 AM.524] Product name: Grand Theft Auto V
[9/17/2020 10:28:45 AM.524] Product version: 1.0.2060.1
[9/17/2020 10:28:45 AM.524] Is steam version: True
[9/17/2020 10:28:45 AM.525] Initializing DirectX
[9/17/2020 10:28:45 AM.526] Initializing Direct3D
[9/17/2020 10:28:45 AM.526] Getting game swap chain
[9/17/2020 10:28:45 AM.548] Swap Chain created: 0x7FF6E7721608
[9/17/2020 10:28:45 AM.548] Swap Chain VTable: 0x1BE7ED43040
[9/17/2020 10:28:45 AM.548] 0x748948FFF6B405E9;0x8D48564157552024;0x170EC814890246C
[9/17/2020 10:28:45 AM.548] D3D11Present: 0x7FFBD2454F80
[9/17/2020 10:28:45 AM.548] D3D11ResizeBuffers: 0x7FFBD2470410
[9/17/2020 10:28:45 AM.548] D3D11ResizeTarget: 0x7FFBD24BAF00
[9/17/2020 10:28:45 AM.548] D3D11SetFullscreenState: 0x7FFBD24721D0
[9/17/2020 10:28:45 AM.548] Getting device
[9/17/2020 10:28:45 AM.548] Retrieved device
[9/17/2020 10:28:45 AM.548] Creating wrapper
[9/17/2020 10:28:45 AM.548] Direct3D initialized
[9/17/2020 10:28:45 AM.548] Initialized DirectX
[9/17/2020 10:28:45 AM.548] Direct3D watcher thread spawned
[9/17/2020 10:28:45 AM.595] Wrapper created
[9/17/2020 10:28:45 AM.599] Effect created
[9/17/2020 10:28:45 AM.599] Creating buffer
[9/17/2020 10:28:45 AM.599] Created buffer
[9/17/2020 10:28:45 AM.599] Creating blend state
[9/17/2020 10:28:45 AM.599] Created blend state
[9/17/2020 10:28:45 AM.599] Done with creation
[9/17/2020 10:28:45 AM.649] Initializing texture system.
[9/17/2020 10:28:45 AM.649] Initializing texture system; phase 1
[9/17/2020 10:28:45 AM.649] Initializing texture system; phase 2
[9/17/2020 10:28:45 AM.654] Initializing texture system; phase 3
[9/17/2020 10:28:45 AM.654] Initializing texture system; phase 4
[9/17/2020 10:28:45 AM.663] Initializing texture system; phase 5
[9/17/2020 10:28:45 AM.663] Initializing texture system; phase 6
[9/17/2020 10:28:45 AM.664] Initializing texture system; phase 7
[9/17/2020 10:28:45 AM.666] Initializing texture system; phase 8
[9/17/2020 10:28:45 AM.667] Initializing texture system; phase 9
[9/17/2020 10:28:45 AM.667] Initializing texture system; phase 10
[9/17/2020 10:28:45 AM.670] Initializing texture system; phase 11
[9/17/2020 10:28:45 AM.670] Initializing texture system; phase 12
[9/17/2020 10:28:45 AM.672] Initializing texture system; phase 13
[9/17/2020 10:28:45 AM.672] Initializing texture system; phase 14
[9/17/2020 10:28:50 AM.549] Direct3D watcher thread ended
[9/17/2020 10:29:16 AM.264] LoadingScreenMsg: Initializing game support
[9/17/2020 10:29:16 AM.515] Initializing game support
[9/17/2020 10:29:21 AM.983] LoadingScreenMsg: Velocity limit removed
[9/17/2020 10:29:22 AM.289] Compatibility level: 0
[9/17/2020 10:29:22 AM.289] Supported version detected
[9/17/2020 10:29:22 AM.289] ==================================================
[9/17/2020 10:29:22 AM.289] LoadingScreenMsg: Patching code
[9/17/2020 10:29:22 AM.540] LoadingScreenMsg: Waiting for game initialization
[9/17/2020 10:29:22 AM.790] Waiting for game initialization
[9/17/2020 10:29:22 AM.891] LoadingScreenMsg: Initializing core
[9/17/2020 10:29:23 AM.142] Initializing hook
[9/17/2020 10:29:28 AM.163] LoadingScreenMsg: Completing interoperability
[9/17/2020 10:29:28 AM.414] Completing interoperability
[9/17/2020 10:29:28 AM.414] Initialization code 1.
[9/17/2020 10:29:28 AM.414] Initialization code 2.
[9/17/2020 10:29:28 AM.414] Initialization code 3.
[9/17/2020 10:29:28 AM.420] 1 Address: 0x00007FF6E5618B6C
[9/17/2020 10:29:28 AM.420] Calling func 1
[9/17/2020 10:29:28 AM.433] 2 Address: 0x00007FF6E6194DFA
[9/17/2020 10:29:28 AM.433] 3 Address: 0x00007FF6E4BF5D46
[9/17/2020 10:29:28 AM.458] Address: 0x00007FF6E6194DA4
[9/17/2020 10:29:28 AM.458] Unknown var: 0x00007FF6E71BEB70
[9/17/2020 10:29:28 AM.458] Initialization code 4.
[9/17/2020 10:29:28 AM.458] Initialization code 5.
[9/17/2020 10:29:28 AM.458] Completing interoperability, phase 1
[9/17/2020 10:29:28 AM.458] Completing interoperability, phase 2
[9/17/2020 10:29:28 AM.458] Completing interoperability, phase 3
[9/17/2020 10:29:28 AM.458] Completing interoperability, phase 4
[9/17/2020 10:29:28 AM.458] Completing interoperability, phase 5
[9/17/2020 10:29:28 AM.458] Completing interoperability, phase 6
[9/17/2020 10:29:28 AM.458] Completing interoperability, phase 7
[9/17/2020 10:29:28 AM.458] LoadingScreenMsg:
[9/17/2020 10:29:28 AM.710] LoadingScreenMsg: Loading Story Mode
[9/17/2020 10:29:33 AM.300] LoadingScreenMsg: Loading and Populating Game World
[9/17/2020 10:29:33 AM.550] LoadingScreenMsg:
[9/17/2020 10:29:47 AM.165] Initializing console variable "IsDeveloperModeEnabled".
[9/17/2020 10:29:47 AM.165] Type: System.Boolean, Reading section: "Miscellaneous", key: IsDeveloperModeEnabled
[9/17/2020 10:29:47 AM.166] Read value:
[9/17/2020 10:29:47 AM.166] Initializing console variable "TimeScale".
[9/17/2020 10:29:47 AM.166] Type: System.Single, Reading section: "Miscellaneous", key: TimeScale
[9/17/2020 10:29:47 AM.166] Read value:
[9/17/2020 10:29:47 AM.174] Loading plugin from path: F:\SteamLibrary\steamapps\common\Grand Theft Auto V\Plugins\ClearTheWayV.dll
[9/17/2020 10:29:48 AM.668] : Initializing input system
[9/17/2020 10:29:48 AM.669] : Initializing game console
[9/17/2020 10:29:48 AM.670] : Initializing forms manager
[9/17/2020 10:29:48 AM.811] Plugin "ClearTheWayV" was loaded from "ClearTheWayV.dll".
[9/17/2020 10:29:48 AM.812] Loading plugin from path: F:\SteamLibrary\steamapps\common\Grand Theft Auto V\Plugins\LSPD First Response.dll
[9/17/2020 10:29:50 AM.353] : Initializing input system
[9/17/2020 10:29:50 AM.353] : Initializing game console
[9/17/2020 10:29:50 AM.354] : Initializing forms manager
[9/17/2020 10:29:50 AM.428] Plugin "LSPD First Response" was loaded from "LSPD First Response.dll".
[9/17/2020 10:29:50 AM.528] ================================================= ClearTheWayV =================================================
[9/17/2020 10:29:50 AM.528] Created by: KeyedInSoftware/timnboys
[9/17/2020 10:29:50 AM.529] Version: 1.0.0.35
[9/17/2020 10:29:50 AM.529]
[9/17/2020 10:29:50 AM.529] To get Support For ClearTheWayV please go to where you downloaded the plugin from either lcpdfr.com or mods.keyedinsoftware.org
[9/17/2020 10:29:50 AM.529] We will only provide support For ClearTheWayV on at lcpdfr.com and at https://mods.keyedinsoftware.org only!
[9/17/2020 10:29:50 AM.529] Enjoy!
[9/17/2020 10:29:50 AM.529] ================================================= ClearTheWayV =================================================
[9/17/2020 10:29:50 AM.652] LSPD First Response: [TRACE] Started loading LSPDFR
[9/17/2020 10:29:50 AM.653] LSPD First Response: [INFO] Running LSPD First Response 0.4.7 (0.4.7383.491)
[9/17/2020 10:29:50 AM.653] LSPD First Response: [INFO] Compiled on 18 Mar 2020 23:16:21 UTC
[9/17/2020 10:29:50 AM.653] LSPD First Response: [INFO] Copyright © 2015-2020, G17 Media, www.lspdfr.com
[9/17/2020 10:29:51 AM.084] LSPD First Response: [WARN] Failed to resolve CHASE_2
[9/17/2020 10:29:51 AM.188] LSPD First Response: [WARN] Failed to resolve CHASE_2
[9/17/2020 10:29:51 AM.430] LSPD First Response: [WARN] Failed to resolve VEH_4
[9/17/2020 10:29:53 AM.861] LSPD First Response: [TRACE] Thread CopManager #1 initialized
[9/17/2020 10:30:03 AM.454] LSPD First Response: [TRACE] Game has stopped loading
[9/17/2020 10:30:06 AM.025] LSPD First Response: [WARN] Path without extension: lspdfdata/custom
[9/17/2020 10:30:06 AM.028] LSPD First Response: [WARN] Path without extension: lspdfdata/custom
[9/17/2020 10:30:06 AM.030] LSPD First Response: [TRACE] ExpandableFileParser::Parse: Reading content from file:lspdfdata/outfits.xml
[9/17/2020 10:30:06 AM.099] LSPD First Response: [WARN] No name for outfit variation at line 23
[9/17/2020 10:30:06 AM.099] LSPD First Response: [WARN] No name for outfit variation at line 31
[9/17/2020 10:30:06 AM.100] LSPD First Response: [WARN] No name for outfit variation at line 39
[9/17/2020 10:30:06 AM.100] LSPD First Response: [WARN] No name for outfit variation at line 64
[9/17/2020 10:30:06 AM.100] LSPD First Response: [WARN] No name for outfit variation at line 72
[9/17/2020 10:30:06 AM.100] LSPD First Response: [WARN] No name for outfit variation at line 80
[9/17/2020 10:30:06 AM.100] LSPD First Response: [WARN] No name for outfit variation at line 111
[9/17/2020 10:30:06 AM.100] LSPD First Response: [WARN] No name for outfit variation at line 138
[9/17/2020 10:30:06 AM.100] LSPD First Response: [WARN] No name for outfit variation at line 174
[9/17/2020 10:30:06 AM.100] LSPD First Response: [WARN] No name for outfit variation at line 207
[9/17/2020 10:30:06 AM.100] LSPD First Response: [WARN] No name for outfit variation at line 220
[9/17/2020 10:30:06 AM.100] LSPD First Response: [WARN] No name for outfit variation at line 259
[9/17/2020 10:30:06 AM.100] LSPD First Response: [WARN] No name for outfit variation at line 273
[9/17/2020 10:30:06 AM.101] LSPD First Response: [WARN] No name for outfit variation at line 309
[9/17/2020 10:30:06 AM.101] LSPD First Response: [WARN] No name for outfit variation at line 323
[9/17/2020 10:30:06 AM.101] LSPD First Response: [WARN] No name for outfit variation at line 363
[9/17/2020 10:30:06 AM.101] LSPD First Response: [WARN] No name for outfit variation at line 391
[9/17/2020 10:30:06 AM.101] LSPD First Response: [WARN] No name for outfit variation at line 425
[9/17/2020 10:30:06 AM.101] LSPD First Response: [WARN] No name for outfit variation at line 453
[9/17/2020 10:30:06 AM.101] LSPD First Response: [WARN] No name for outfit variation at line 484
[9/17/2020 10:30:06 AM.101] LSPD First Response: [WARN] No name for outfit variation at line 502
[9/17/2020 10:30:06 AM.101] LSPD First Response: [WARN] No name for outfit variation at line 529
[9/17/2020 10:30:06 AM.101] LSPD First Response: [WARN] No name for outfit variation at line 547
[9/17/2020 10:30:06 AM.101] LSPD First Response: [WARN] No name for outfit variation at line 581
[9/17/2020 10:30:06 AM.101] LSPD First Response: [WARN] No name for outfit variation at line 615
[9/17/2020 10:30:06 AM.101] LSPD First Response: [WARN] No name for outfit variation at line 650
[9/17/2020 10:30:06 AM.101] LSPD First Response: [WARN] No name for outfit variation at line 677
[9/17/2020 10:30:06 AM.101] LSPD First Response: [WARN] No name for outfit variation at line 711
[9/17/2020 10:30:06 AM.101] LSPD First Response: [WARN] No name for outfit variation at line 741
[9/17/2020 10:30:06 AM.101] LSPD First Response: [WARN] Path without extension: lspdfdata/custom
[9/17/2020 10:30:06 AM.101] LSPD First Response: [WARN] Path without extension: lspdfdata/custom
[9/17/2020 10:30:06 AM.101] LSPD First Response: [TRACE] ExpandableFileParser::Parse: Reading content from file:lspdfdata/cop_presets_outfits.xml
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Officer at line 11, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 25
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Officer III+1 at line 25, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 32
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Detective at line 32, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 39
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Armored Officer at line 39, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 47
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Armored Officer III+1 at line 47, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 56
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Armored Detective at line 56, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Officer at line 71, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 85
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Officer III at line 85, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 92
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Armored Officer at line 92, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 100
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Armored Officer III at line 100, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Officer at line 115, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 129
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Officer III+1 at line 129, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 136
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Detective at line 136, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 143
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Armored Officer at line 143, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 151
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Armored Officer III+1 at line 151, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 160
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Armored Detective at line 160, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Officer at line 175, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 189
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Officer III at line 189, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 196
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Armored Officer at line 196, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 204
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Armored Officer III at line 204, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Officer at line 219, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 233
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Officer III+1 at line 233, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 240
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Detective at line 240, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 247
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Armored Officer at line 247, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 255
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Armored Officer III+1 at line 255, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 264
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Armored Detective at line 264, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Officer at line 279, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 293
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Officer III at line 293, defaulting to male
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No name for outfit variation at line 300
[9/17/2020 10:30:06 AM.103] LSPD First Response: [WARN] No gender specified for outfit variation Armored Officer at line 300, defaulting to male
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No name for outfit variation at line 308
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No gender specified for outfit variation Armored Officer III at line 308, defaulting to male
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No gender specified for outfit variation Officer at line 403, defaulting to male
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No gender specified for outfit variation Detective at line 418, defaulting to male
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No gender specified for outfit variation Commander at line 426, defaulting to male
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No gender specified for outfit variation Motor Patrol at line 440, defaulting to male
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No gender specified for outfit variation Motor Patrol at line 461, defaulting to male
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No gender specified for outfit variation Deputy at line 481, defaulting to male
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No name for outfit variation at line 494
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No gender specified for outfit variation Armored Deputy at line 494, defaulting to male
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No gender specified for outfit variation Deputy at line 507, defaulting to male
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No name for outfit variation at line 520
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No gender specified for outfit variation Armored Deputy at line 520, defaulting to male
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No gender specified for outfit variation Deputy at line 533, defaulting to male
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No name for outfit variation at line 546
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No gender specified for outfit variation Armored Deputy at line 546, defaulting to male
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No gender specified for outfit variation Deputy at line 559, defaulting to male
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No name for outfit variation at line 572
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No gender specified for outfit variation Armored Deputy at line 572, defaulting to male
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No gender specified for outfit variation Deputy at line 585, defaulting to male
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No name for outfit variation at line 598
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No gender specified for outfit variation Armored Deputy at line 598, defaulting to male
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No gender specified for outfit variation Deputy at line 611, defaulting to male
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No name for outfit variation at line 624
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No gender specified for outfit variation Armored Deputy at line 624, defaulting to male
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No name for outfit variation at line 732
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No name for outfit variation at line 764
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No name for outfit variation at line 796
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No name for outfit variation at line 828
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No name for outfit variation at line 951
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No name for outfit variation at line 976
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No name for outfit variation at line 1002
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No name for outfit variation at line 1028
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No name for outfit variation at line 1054
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No name for outfit variation at line 1133
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No name for outfit variation at line 1160
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No name for outfit variation at line 1187
[9/17/2020 10:30:06 AM.104] LSPD First Response: [WARN] No name for outfit variation at line 1214
[9/17/2020 10:30:06 AM.105] LSPD First Response: [WARN] No name for outfit variation at line 1241
[9/17/2020 10:30:06 AM.105] LSPD First Response: [WARN] No name for outfit variation at line 1268
[9/17/2020 10:30:06 AM.105] LSPD First Response: [WARN] No name for outfit variation at line 1297
[9/17/2020 10:30:06 AM.105] LSPD First Response: [WARN] No name for outfit variation at line 1330
[9/17/2020 10:30:06 AM.105] LSPD First Response: [WARN] No name for outfit variation at line 1363
[9/17/2020 10:30:06 AM.105] LSPD First Response: [WARN] No name for outfit variation at line 1396
[9/17/2020 10:30:06 AM.105] LSPD First Response: [TRACE] Loaded 10 freemode outfits and 55 preset outfits
[9/17/2020 10:30:06 AM.357] LSPD First Response: [TRACE] Load HeadBlendData
[9/17/2020 10:30:06 AM.374] LSPD First Response: [TRACE] Trying to get FSD
[9/17/2020 10:30:06 AM.435] LSPD First Response: [TRACE] wanted info not exist
[9/17/2020 10:30:06 AM.506] LSPD First Response: [TRACE] Adding Ben J. as character
[9/17/2020 10:30:06 AM.516] LSPD First Response: [TRACE] Load HeadBlendData
[9/17/2020 10:30:06 AM.516] LSPD First Response: [TRACE] Trying to get FSD
[9/17/2020 10:30:06 AM.541] LSPD First Response: [TRACE] wanted info not exist
[9/17/2020 10:30:06 AM.585] LSPD First Response: [TRACE] Adding Michelle Meto as character
[9/17/2020 10:30:06 AM.586] LSPD First Response: [WARN] Path without extension: lspdfchars
[9/17/2020 10:30:06 AM.586] LSPD First Response: [WARN] Path without extension: lspdfchars
[9/17/2020 10:30:06 AM.604] LSPD First Response: [TRACE] Load HeadBlendData
[9/17/2020 10:30:06 AM.604] LSPD First Response: [TRACE] Trying to get FSD
[9/17/2020 10:30:06 AM.605] LSPD First Response: [TRACE] wanted info not exist
[9/17/2020 10:30:06 AM.658] LSPD First Response: [TRACE] Load HeadBlendData
[9/17/2020 10:30:06 AM.658] LSPD First Response: [TRACE] Trying to get FSD
[9/17/2020 10:30:06 AM.658] LSPD First Response: [TRACE] wanted info not exist
[9/17/2020 10:30:06 AM.695] LSPD First Response: [TRACE] Load HeadBlendData
[9/17/2020 10:30:06 AM.695] LSPD First Response: [TRACE] Trying to get FSD
[9/17/2020 10:30:06 AM.695] LSPD First Response: [TRACE] wanted info not exist
[9/17/2020 10:30:06 AM.733] LSPD First Response: [TRACE] Load HeadBlendData
[9/17/2020 10:30:06 AM.733] LSPD First Response: [TRACE] Trying to get FSD
[9/17/2020 10:30:06 AM.734] LSPD First Response: [TRACE] wanted info not exist
[9/17/2020 10:30:06 AM.761] LSPD First Response: [TRACE] Adding Matt Vazzana as character
[9/17/2020 10:30:06 AM.775] LSPD First Response: [WARN] Path without extension: lspdfdata/custom
[9/17/2020 10:30:06 AM.775] LSPD First Response: [WARN] Path without extension: lspdfdata/custom
[9/17/2020 10:30:06 AM.775] LSPD First Response: [TRACE] ExpandableFileParser::Parse: Reading content from file:lspdfdata/regions.xml
[9/17/2020 10:30:06 AM.778] LSPD First Response: [WARN] Path without extension: lspdfdata/custom
[9/17/2020 10:30:06 AM.778] LSPD First Response: [WARN] Path without extension: lspdfdata/custom
[9/17/2020 10:30:06 AM.778] LSPD First Response: [TRACE] ExpandableFileParser::Parse: Reading content from file:lspdfdata/backup.xml
[9/17/2020 10:30:06 AM.780] LSPD First Response: [WARN] Path without extension: lspdfdata/custom
[9/17/2020 10:30:06 AM.780] LSPD First Response: [WARN] Path without extension: lspdfdata/custom
[9/17/2020 10:30:06 AM.780] LSPD First Response: [TRACE] ExpandableFileParser::Parse: Reading content from file:lspdfdata/agency.xml
[9/17/2020 10:30:06 AM.809] LSPD First Response: [WARN] Path without extension: lspdfdata/custom
[9/17/2020 10:30:06 AM.809] LSPD First Response: [WARN] Path without extension: lspdfdata/custom
[9/17/2020 10:30:06 AM.810] LSPD First Response: [TRACE] ExpandableFileParser::Parse: Reading content from file:lspdfdata/inventory.xml
[9/17/2020 10:30:06 AM.816] LSPD First Response: [TRACE] Failed to parse as chance
[9/17/2020 10:30:06 AM.820] LSPD First Response: [TRACE] Player was in vehicle: False
[9/17/2020 10:30:06 AM.820] LSPD First Response: [TRACE] Last selected character was Matt Vazzana, should spawn as last character True
[9/17/2020 10:30:06 AM.820] LSPD First Response: [TRACE] Loading last selected character Matt Vazzana
[9/17/2020 10:30:06 AM.822] LSPD First Response: [INFO] Changing current player character to Matt Vazzana
[9/17/2020 10:30:06 AM.835] LSPD First Response: [TRACE] Thread PedHistoryManager #1 initialized
[9/17/2020 10:30:06 AM.835] LSPD First Response: [TRACE] Thread PlayerCharacterStatsManager #1 initialized
[9/17/2020 10:30:06 AM.836] LSPD First Response: [TRACE] Thread GamePlayer #1 initialized
[9/17/2020 10:30:06 AM.993] LSPD First Response: [TRACE] Cached 1216 decorators for index 3
[9/17/2020 10:30:07 AM.011] LSPD First Response: [TRACE] CharacterSelected: 112
[9/17/2020 10:30:07 AM.011] LSPD First Response: [TRACE] Character changed, creating new stats object
[9/17/2020 10:30:07 AM.356] LSPD First Response: [TRACE] Initialized telemtry service
[9/17/2020 10:30:07 AM.395] LSPD First Response: We have 2 appartments registered
[9/17/2020 10:30:07 AM.397] LSPD First Response: [TRACE] Finding Interior ID for 0605 Spanish Ave at: X:347.1727 Y:-1001.406 Z:-99.1962
[9/17/2020 10:30:07 AM.402] LSPD First Response: [TRACE] Initialised Apartment: 0605 Spanish Ave, Interior is 148225
[9/17/2020 10:30:07 AM.403] LSPD First Response: [TRACE] Finding Interior ID for 2874 Hillcrest at: X:-859.5645 Y:688.7182 Z:152.8571
[9/17/2020 10:30:07 AM.403] LSPD First Response: [TRACE] Initialised Apartment: 2874 Hillcrest, Interior is 207361
[9/17/2020 10:30:07 AM.403] LSPD First Response: ApartmentManager initialized
[9/17/2020 10:30:07 AM.405] LSPD First Response: [TRACE] Started new menu thread MenuBase #1
[9/17/2020 10:30:07 AM.406] LSPD First Response: [TRACE] Started new menu thread MenuBase #2
[9/17/2020 10:30:07 AM.452] LSPD First Response: [TRACE] Thread DiscordRichPresence #1 initialized
[9/17/2020 10:30:07 AM.567] LSPD First Response:
[9/17/2020 10:30:07 AM.567] LSPD First Response: ==============================
[9/17/2020 10:30:07 AM.567] LSPD First Response: UNHANDLED EXCEPTION DURING GAME FIBER TICK
[9/17/2020 10:30:07 AM.567] LSPD First Response: ------------------------------
[9/17/2020 10:30:07 AM.567] LSPD First Response: Origin: Game fiber "".
[9/17/2020 10:30:07 AM.567] LSPD First Response: ------------------------------
[9/17/2020 10:30:07 AM.567] LSPD First Response: Exception type: System.AccessViolationException
[9/17/2020 10:30:07 AM.567] LSPD First Response: Exception message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
[9/17/2020 10:30:07 AM.567] LSPD First Response: ------------------------------
[9/17/2020 10:30:07 AM.567] LSPD First Response: Inner exceptions:
[9/17/2020 10:30:07 AM.567] LSPD First Response: ------------------------------
[9/17/2020 10:30:07 AM.567] LSPD First Response: Stack trace:
[9/17/2020 10:30:07 AM.567] LSPD First Response: at qI2MMsUEL-Y\&>yDV$.& u/9Bg\0fupfKI;\yyjiqOcy!(Ped , UInt32 ) in E:\GTA V\LSPD First Response\LSPD First Response\Engine\Scripting\Entities\RagePedExtension.cs:line 1329
[9/17/2020 10:30:07 AM.567] at j"UM_WHV\,O!!pc6(7\]r\]6Z4\*.i$=er1'q)Wne% [9/17/2020 10:30:07 AM.567] at j"UM_WHV\,O!!pc6(7\]r\]6Z4\*.D1%?rZ$}mX,^8;:Rc;tb/<%R%() in E:\GTA V\LSPD First Response\LSPD First Response\Engine\Scripting\Entities\CPed.cs:line 1046
[9/17/2020 10:30:07 AM.567] at j"UM_WHV\,O!!pc6(7\]r\]6Z4\*./}lr8sR\8K&Zf!wztK{:+U<1"() in E:\GTA V\LSPD First Response\LSPD First Response\Engine\Scripting\Entities\CPed.cs:line 570
[9/17/2020 10:30:07 AM.567] at O"[email protected]?WD!U\&GkxV\[[email protected](tjYj!./}lr8sR\8K&Zf!wztK{:+U<1"() in E:\GTA V\LSPD First Response\LSPD First Response\Engine\Scripting\Entities\CPedCache.cs:line 54
[9/17/2020 10:30:07 AM.567] at S{r!%$`zH\.p\[{Euy=cF7F9UD\&./}lr8sR\8K&Zf!wztK{:+U<1"() in E:\GTA V\LSPD First Response\LSPD First Response\Engine\Main.cs:line 52
[9/17/2020 10:30:07 AM.567] at Q=~fI\]}$l\.\]J6Z'6Gi%PSpM\*".B7NAFeJ+6?7UTpA7R1h'o>(O/() in E:\GTA V\LSPD First Response\LSPD First Response\Mod\LSPDFR.cs:line 793
[9/17/2020 10:30:07 AM.567] at Rage.GameFiber.Main()
[9/17/2020 10:30:07 AM.567] LSPD First Response: ==============================
[9/17/2020 10:30:07 AM.567] LSPD First Response:
[9/17/2020 10:30:07 AM.568] LSPD First Response: [TRACE] Thread CheckpointManager #1 initialized
[9/17/2020 10:30:07 AM.569] LSPD First Response: [TRACE] Thread ApartmentManager #1 initialized
[9/17/2020 10:30:07 AM.571] LSPD First Response: [TRACE] Thread SpanishAve0605 #1 initialized
[9/17/2020 10:30:07 AM.575] LSPD First Response: [TRACE] Thread Marker #1 initialized
[9/17/2020 10:30:07 AM.579] LSPD First Response: [TRACE] Thread Hillcrest2874 #1 initialized
[9/17/2020 10:30:07 AM.579] LSPD First Response: [TRACE] Thread Marker #2 initialized
[9/17/2020 10:30:07 AM.579] LSPD First Response: [TRACE] Thread MenuManager #1 initialized
[9/17/2020 10:30:07 AM.584] LSPD First Response: [FATAL] Forced termination
[9/17/2020 10:30:07 AM.587] LSPD First Response: [TRACE] Released 0 entities from DefaultContentManager
[9/17/2020 10:30:07 AM.605] LSPD First Response: [INFO] LSPDFR has shut down
submitted by dyelife to lspdfr [link] [comments]


2020.09.17 07:28 amrutaf Brand Promotions Ideas to Boost Your Business

All you need is a bit of help to kick your marketing strategy back on track. Here are some idea to generate more leads and increase online sales. There are many brand promoting agencies in pune.

Social Media Marketing Ideas:

If you want to build your social media following, you need to be an active participant in the community. Number of agencies in pune using this social media marketing to boost there sales. This means posting regularly, and also joining in on fun weekly social media traditions that already have a loyal audience. Show the kids how hip you can be! Vines, quick 6-second video clips, are largely under-utilized. With a little work and some fun content, you could become a big fish in a small pond on Vine.

Urban Marketing Ideas:

Step out on the streets – In an online age, there’s something to be said for going au naturel and exercising a little IRL marketing. Go old school with flyers and poster in local cafes, do some sidewalk chalk writing. This strategy is most effective for locally oriented businesses, but it can work for anyone. Commission a mural – Try getting permission to decorate the side of a prominent building with a large mural.
Get a little imaginative and think about how you can use your urban surroundings for potential marketing magic.

Contest Marketing Ideas

Video contests - Not as many people will enter video contests, but you’re more likely to get a higher caliber of content since creating a video requires more effort on the user’s part.
Submit your vote contests - Voting contests get a ton of entries because they’re so easy to participate in (just click a button, in most cases). What’s cool about voting contests is that you can use the data obtained from the votes to create a mini data study. Share what you learned in a blog post!
Caption Contests - Post a photo and ask users to submit their best caption - this kind of contest can get some pretty great laughs.
To read more click here.

Marketing Ideas for Contest Promotion

Post to deal sites - People love free stuff, some more than others. The people who really love a good deal tend to frequent deal sites and forums. There’s almost always a sweepstake/contest forum section where you can add your contest into the mix.
Hashtag-if your contest - Adding a relevant (and unique) hashtag to your contest helps you keep track of entries and makes them easy to scan through and organize. Besides, they’re just plain fun.
Make contests super sharable - This means adding “share this contest” buttons if you have an entry form on a website, or simply encouraging social sharing in general. The more people who know about your contest, the merrier (for you anyway)! Need more ideas for Facebook?
All you need is a bit of help to kick your marketing strategy back on track. Here are some idea to generate more leads and increase online sales. There are many brand promoting agencies in pune.

Social Media Marketing Ideas:

If you want to build your social media following, you need to be an active participant in the community. Number of agencies in pune using this social media marketing to boost there sales. This means posting regularly, and also joining in on fun weekly social media traditions that already have a loyal audience. Show the kids how hip you can be! Vines, quick 6-second video clips, are largely under-utilized. With a little work and some fun content, you could become a big fish in a small pond on Vine.

Urban Marketing Ideas:

Step out on the streets – In an online age, there’s something to be said for going au naturel and exercising a little IRL marketing. Go old school with flyers and poster in local cafes, do some sidewalk chalk writing. This strategy is most effective for locally oriented businesses, but it can work for anyone. Commission a mural – Try getting permission to decorate the side of a prominent building with a large mural.
Get a little imaginative and think about how you can use your urban surroundings for potential marketing magic.

Contest Marketing Ideas

Video contests - Not as many people will enter video contests, but you’re more likely to get a higher caliber of content since creating a video requires more effort on the user’s part.
Submit your vote contests - Voting contests get a ton of entries because they’re so easy to participate in (just click a button, in most cases). What’s cool about voting contests is that you can use the data obtained from the votes to create a mini data study. Share what you learned in a blog post!
Caption Contests - Post a photo and ask users to submit their best caption - this kind of contest can get some pretty great laughs.
To read more click here.

Marketing Ideas for Contest Promotion

Post to deal sites - People love free stuff, some more than others. The people who really love a good deal tend to frequent deal sites and forums. There’s almost always a sweepstake/contest forum section where you can add your contest into the mix.
Hashtag-if your contest - Adding a relevant (and unique) hashtag to your contest helps you keep track of entries and makes them easy to scan through and organize. Besides, they’re just plain fun.
Make contests super sharable - This means adding “share this contest” buttons if you have an entry form on a website, or simply encouraging social sharing in general. The more people who know about your contest, the merrier (for you anyway)! Need more ideas for Facebook?
submitted by amrutaf to u/amrutaf [link] [comments]


2020.09.17 05:21 GunchapRed Figuring Out How To Render These Objects Through C++ Code

So, to tell you what's going on without going too explicit in the details, i'm in school for programming and one of my assignments calls for me to make a full 3D space using only C++ code and DirectX11.
This is what it's supposed to at least look similar too.
https://imgur.com/a/xAtMGin

I'm supposed to draw all of this out using this code.
//-------------------------------------------------------------------------------------- // File: Tutorial06.cpp // // This application demonstrates simple lighting in the vertex shader // // http://msdn.microsoft.com/en-us/library/windows/apps/ff729723.aspx // // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) Microsoft Corporation. All rights reserved. //-------------------------------------------------------------------------------------- #include  #include  #include  #include  #include "resource.h" #include  #include  #include  #include "DDSTextureLoader.h" #include  #include "MeshUtils.h" #include "LineUtils.h" #include "RenderUtils.h" using namespace DirectX; using namespace std; //-------------------------------------------------------------------------------------- // Structures //-------------------------------------------------------------------------------------- SimpleMesh mesh; float scale = 1.0f; struct ConstantBuffer { XMMATRIX mWorld; XMMATRIX mView; XMMATRIX mProjection; XMFLOAT4 vLightDir[2]; XMFLOAT4 vLightColor[2]; XMFLOAT4 vOutputColor; }; struct ConstantBufferDebug { XMMATRIX mWorld; XMMATRIX mView; XMMATRIX mProjection; }; bool RENDER_STYLE_WIREFRAME = false; bool RENDER_STYLE_TEXTURED = true; //-------------------------------------------------------------------------------------- // Global Variables //-------------------------------------------------------------------------------------- HINSTANCE g_hInst = nullptr; HWND g_hWnd = nullptr; D3D_DRIVER_TYPE g_driverType = D3D_DRIVER_TYPE_NULL; D3D_FEATURE_LEVEL g_featureLevel = D3D_FEATURE_LEVEL_11_0; ID3D11Device* g_pd3dDevice = nullptr; ID3D11Device1* g_pd3dDevice1 = nullptr; ID3D11DeviceContext* g_pImmediateContext = nullptr; ID3D11DeviceContext1* g_pImmediateContext1 = nullptr; IDXGISwapChain* g_pSwapChain = nullptr; IDXGISwapChain1* g_pSwapChain1 = nullptr; ID3D11RenderTargetView* g_pRenderTargetView = nullptr; ID3D11Texture2D* g_pDepthStencil = nullptr; ID3D11DepthStencilView* g_pDepthStencilView = nullptr; ID3D11PixelShader* g_pPixelShaderSolid = nullptr; XMMATRIX g_World; XMMATRIX g_View; XMMATRIX g_Projection; ID3D11RasterizerState* rasterStateDefault; ID3D11RasterizerState* rasterStateWireframe; ID3D11RasterizerState* rasterStateTexture; // Main mesh render obejcts ShaderResources meshShaderResources; ShaderBundle meshShaderBundle; VertexBuffers meshVertexBuffers; // Grid render obejcts // no need for a ShaderResources object beause // the Grid doesn't use textures ShaderBundle gridShaderBundle; VertexBuffers gridVertexBuffers; // Used for overriding the main mesh texture // with a generated white pixel texture to // simulate no texturing ComPtr texSRV; //-------------------------------------------------------------------------------------- // Forward declarations //-------------------------------------------------------------------------------------- HRESULT InitWindow(HINSTANCE hInstance, int nCmdShow); HRESULT InitDevice(); HRESULT InitContent(); void CleanupDevice(); LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); void Update(); void Render(); //-------------------------------------------------------------------------------------- // Entry point to the program. Initializes everything and goes into a message processing // loop. Idle time is used to render the scene. //-------------------------------------------------------------------------------------- int WINAPI wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPWSTR lpCmdLine, _In_ int nCmdShow) { UNREFERENCED_PARAMETER(hPrevInstance); UNREFERENCED_PARAMETER(lpCmdLine); if (FAILED(InitWindow(hInstance, nCmdShow))) return 0; if (FAILED(InitDevice())) { CleanupDevice(); return 0; } if (FAILED(InitContent())) { CleanupDevice(); return 0; } // Main message loop MSG msg = { 0 }; while (WM_QUIT != msg.message) { if (PeekMessage(&msg, nullptr, 0, 0, PM_REMOVE)) { TranslateMessage(&msg); DispatchMessage(&msg); } else { Update(); Render(); } } CleanupDevice(); return (int)msg.wParam; } //-------------------------------------------------------------------------------------- // Register class and create window //-------------------------------------------------------------------------------------- HRESULT InitWindow(HINSTANCE hInstance, int nCmdShow) { // Register class WNDCLASSEX wcex; wcex.cbSize = sizeof(WNDCLASSEX); wcex.style = CS_HREDRAW CS_VREDRAW; wcex.lpfnWndProc = WndProc; wcex.cbClsExtra = 0; wcex.cbWndExtra = 0; wcex.hInstance = hInstance; wcex.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_TUTORIAL1); wcex.hCursor = LoadCursor(nullptr, IDC_ARROW); wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1); wcex.lpszMenuName = nullptr; wcex.lpszClassName = L"TutorialWindowClass"; wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_TUTORIAL1); if (!RegisterClassEx(&wcex)) return E_FAIL; // Create window g_hInst = hInstance; RECT rc = { 0, 0, 800, 600 }; AdjustWindowRect(&rc, WS_OVERLAPPEDWINDOW, FALSE); g_hWnd = CreateWindow(L"TutorialWindowClass", L"Direct3D 11 Simple Viewer", WS_OVERLAPPED WS_CAPTION WS_SYSMENU WS_MINIMIZEBOX, CW_USEDEFAULT, CW_USEDEFAULT, rc.right - rc.left, rc.bottom - rc.top, nullptr, nullptr, hInstance, nullptr); if (!g_hWnd) return E_FAIL; ShowWindow(g_hWnd, nCmdShow); return S_OK; } void InitDebugTexture() { static const uint32_t s_pixel = 0xffffffff; D3D11_SUBRESOURCE_DATA initData = { &s_pixel, sizeof(uint32_t), 0 }; D3D11_TEXTURE2D_DESC desc = {}; desc.Width = desc.Height = desc.MipLevels = desc.ArraySize = 1; desc.Format = DXGI_FORMAT_R8G8B8A8_UNORM; desc.SampleDesc.Count = 1; desc.Usage = D3D11_USAGE_IMMUTABLE; desc.BindFlags = D3D11_BIND_SHADER_RESOURCE; ComPtr tex; HRESULT hr = g_pd3dDevice->CreateTexture2D(&desc, &initData, tex.GetAddressOf()); if (SUCCEEDED(hr)) { D3D11_SHADER_RESOURCE_VIEW_DESC SRVDesc = {}; SRVDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM; SRVDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE2D; SRVDesc.Texture2D.MipLevels = 1; hr = g_pd3dDevice->CreateShaderResourceView(tex.Get(), &SRVDesc, texSRV.GetAddressOf()); } assert(!FAILED(hr)); } void InitRasterizerStates() { D3D11_RASTERIZER_DESC rasterDesc; ZeroMemory(&rasterDesc, sizeof(rasterDesc)); rasterDesc.AntialiasedLineEnable = false; rasterDesc.CullMode = D3D11_CULL_NONE; rasterDesc.DepthBias = 0; rasterDesc.DepthBiasClamp = 0.0f; rasterDesc.DepthClipEnable = true; rasterDesc.FillMode = D3D11_FILL_WIREFRAME; rasterDesc.FrontCounterClockwise = false; rasterDesc.MultisampleEnable = false; rasterDesc.ScissorEnable = false; rasterDesc.SlopeScaledDepthBias = 0.0f; HRESULT hr = g_pd3dDevice->CreateRasterizerState(&rasterDesc, &rasterStateWireframe); assert(!FAILED(hr)); ZeroMemory(&rasterDesc, sizeof(rasterDesc)); rasterDesc.AntialiasedLineEnable = false; rasterDesc.CullMode = D3D11_CULL_NONE; rasterDesc.DepthBias = 0; rasterDesc.DepthBiasClamp = 0.0f; rasterDesc.DepthClipEnable = true; rasterDesc.FillMode = D3D11_FILL_SOLID; rasterDesc.FrontCounterClockwise = false; rasterDesc.MultisampleEnable = false; rasterDesc.ScissorEnable = false; rasterDesc.SlopeScaledDepthBias = 0.0f; hr = g_pd3dDevice->CreateRasterizerState(&rasterDesc, &rasterStateDefault); assert(!FAILED(hr)); ZeroMemory(&rasterDesc, sizeof(rasterDesc)); rasterDesc.AntialiasedLineEnable = true; rasterDesc.CullMode = D3D11_CULL_NONE; rasterDesc.DepthBias = 0; rasterDesc.DepthBiasClamp = 0.0f; rasterDesc.DepthClipEnable = true; rasterDesc.FillMode = D3D11_FILL_SOLID; rasterDesc.FrontCounterClockwise = false; rasterDesc.MultisampleEnable = true; rasterDesc.ScissorEnable = false; rasterDesc.SlopeScaledDepthBias = 0.0f; hr = g_pd3dDevice->CreateRasterizerState(&rasterDesc, &rasterStateTexture); assert(!FAILED(hr)); } //-------------------------------------------------------------------------------------- // Create Direct3D device and swap chain //-------------------------------------------------------------------------------------- HRESULT InitDevice() { HRESULT hr = S_OK; RECT rc; GetClientRect(g_hWnd, &rc); UINT width = rc.right - rc.left; UINT height = rc.bottom - rc.top; UINT createDeviceFlags = 0; #ifdef _DEBUG createDeviceFlags = D3D11_CREATE_DEVICE_DEBUG; #endif D3D_DRIVER_TYPE driverTypes[] = { D3D_DRIVER_TYPE_HARDWARE, D3D_DRIVER_TYPE_WARP, D3D_DRIVER_TYPE_REFERENCE, }; UINT numDriverTypes = ARRAYSIZE(driverTypes); D3D_FEATURE_LEVEL featureLevels[] = { D3D_FEATURE_LEVEL_11_1, D3D_FEATURE_LEVEL_11_0, D3D_FEATURE_LEVEL_10_1, D3D_FEATURE_LEVEL_10_0, }; UINT numFeatureLevels = ARRAYSIZE(featureLevels); for (UINT driverTypeIndex = 0; driverTypeIndex < numDriverTypes; driverTypeIndex++) { g_driverType = driverTypes[driverTypeIndex]; hr = D3D11CreateDevice(nullptr, g_driverType, nullptr, createDeviceFlags, featureLevels, numFeatureLevels, D3D11_SDK_VERSION, &g_pd3dDevice, &g_featureLevel, &g_pImmediateContext); if (hr == E_INVALIDARG) { // DirectX 11.0 platforms will not recognize D3D_FEATURE_LEVEL_11_1 so we need to retry without it hr = D3D11CreateDevice(nullptr, g_driverType, nullptr, createDeviceFlags, &featureLevels[1], numFeatureLevels - 1, D3D11_SDK_VERSION, &g_pd3dDevice, &g_featureLevel, &g_pImmediateContext); } if (SUCCEEDED(hr)) break; } if (FAILED(hr)) return hr; // Obtain DXGI factory from device (since we used nullptr for pAdapter above) IDXGIFactory1* dxgiFactory = nullptr; { IDXGIDevice* dxgiDevice = nullptr; hr = g_pd3dDevice->QueryInterface(__uuidof(IDXGIDevice), reinterpret_cast(&dxgiDevice)); if (SUCCEEDED(hr)) { IDXGIAdapter* adapter = nullptr; hr = dxgiDevice->GetAdapter(&adapter); if (SUCCEEDED(hr)) { hr = adapter->GetParent(__uuidof(IDXGIFactory1), reinterpret_cast(&dxgiFactory)); adapter->Release(); } dxgiDevice->Release(); } } if (FAILED(hr)) return hr; // Create swap chain IDXGIFactory2* dxgiFactory2 = nullptr; hr = dxgiFactory->QueryInterface(__uuidof(IDXGIFactory2), reinterpret_cast(&dxgiFactory2)); if (dxgiFactory2) { // DirectX 11.1 or later hr = g_pd3dDevice->QueryInterface(__uuidof(ID3D11Device1), reinterpret_cast(&g_pd3dDevice1)); if (SUCCEEDED(hr)) { (void)g_pImmediateContext->QueryInterface(__uuidof(ID3D11DeviceContext1), reinterpret_cast(&g_pImmediateContext1)); } DXGI_SWAP_CHAIN_DESC1 sd = {}; sd.Width = width; sd.Height = height; sd.Format = DXGI_FORMAT_R8G8B8A8_UNORM; sd.SampleDesc.Count = 1; sd.SampleDesc.Quality = 0; sd.BufferUsage = DXGI_USAGE_RENDER_TARGET_OUTPUT; sd.BufferCount = 1; hr = dxgiFactory2->CreateSwapChainForHwnd(g_pd3dDevice, g_hWnd, &sd, nullptr, nullptr, &g_pSwapChain1); if (SUCCEEDED(hr)) { hr = g_pSwapChain1->QueryInterface(__uuidof(IDXGISwapChain), reinterpret_cast(&g_pSwapChain)); } dxgiFactory2->Release(); } else { // DirectX 11.0 systems DXGI_SWAP_CHAIN_DESC sd = {}; sd.BufferCount = 1; sd.BufferDesc.Width = width; sd.BufferDesc.Height = height; sd.BufferDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM; sd.BufferDesc.RefreshRate.Numerator = 60; sd.BufferDesc.RefreshRate.Denominator = 1; sd.BufferUsage = DXGI_USAGE_RENDER_TARGET_OUTPUT; sd.OutputWindow = g_hWnd; sd.SampleDesc.Count = 1; sd.SampleDesc.Quality = 0; sd.Windowed = TRUE; hr = dxgiFactory->CreateSwapChain(g_pd3dDevice, &sd, &g_pSwapChain); } // Note this tutorial doesn't handle full-screen swapchains so we block the ALT+ENTER shortcut dxgiFactory->MakeWindowAssociation(g_hWnd, DXGI_MWA_NO_ALT_ENTER); dxgiFactory->Release(); if (FAILED(hr)) return hr; // Create a render target view ID3D11Texture2D* pBackBuffer = nullptr; hr = g_pSwapChain->GetBuffer(0, __uuidof(ID3D11Texture2D), reinterpret_cast(&pBackBuffer)); if (FAILED(hr)) return hr; hr = g_pd3dDevice->CreateRenderTargetView(pBackBuffer, nullptr, &g_pRenderTargetView); pBackBuffer->Release(); if (FAILED(hr)) return hr; // Create depth stencil texture D3D11_TEXTURE2D_DESC descDepth = {}; descDepth.Width = width; descDepth.Height = height; descDepth.MipLevels = 1; descDepth.ArraySize = 1; descDepth.Format = DXGI_FORMAT_D24_UNORM_S8_UINT; descDepth.SampleDesc.Count = 1; descDepth.SampleDesc.Quality = 0; descDepth.Usage = D3D11_USAGE_DEFAULT; descDepth.BindFlags = D3D11_BIND_DEPTH_STENCIL; descDepth.CPUAccessFlags = 0; descDepth.MiscFlags = 0; hr = g_pd3dDevice->CreateTexture2D(&descDepth, nullptr, &g_pDepthStencil); if (FAILED(hr)) return hr; // Create the depth stencil view D3D11_DEPTH_STENCIL_VIEW_DESC descDSV = {}; descDSV.Format = descDepth.Format; descDSV.ViewDimension = D3D11_DSV_DIMENSION_TEXTURE2D; descDSV.Texture2D.MipSlice = 0; hr = g_pd3dDevice->CreateDepthStencilView(g_pDepthStencil, &descDSV, &g_pDepthStencilView); if (FAILED(hr)) return hr; g_pImmediateContext->OMSetRenderTargets(1, &g_pRenderTargetView, g_pDepthStencilView); // Setup the viewport D3D11_VIEWPORT vp; vp.Width = (FLOAT)width; vp.Height = (FLOAT)height; vp.MinDepth = 0.0f; vp.MaxDepth = 1.0f; vp.TopLeftX = 0; vp.TopLeftY = 0; g_pImmediateContext->RSSetViewports(1, &vp); // Initialize the world matrices g_World = XMMatrixIdentity(); // Initialize the view matrix XMVECTOR Eye = XMVectorSet(0.0f, 4.0f, -10.0f, 0.0f); XMVECTOR At = XMVectorSet(0.0f, 1.0f, 0.0f, 0.0f); XMVECTOR Up = XMVectorSet(0.0f, 1.0f, 0.0f, 0.0f); g_View = XMMatrixLookAtLH(Eye, At, Up); // Initialize the projection matrix g_Projection = XMMatrixPerspectiveFovLH(XM_PIDIV4, width / (FLOAT)height, 0.01f, 1000.0f); return hr; } HRESULT InitContent() { InitDebugTexture(); InitRasterizerStates(); HRESULT hr = S_OK; // enable console AllocConsole(); FILE* stream; freopen_s(&stream, "CONOUT$", "w", stdout); freopen_s(&stream, "CONOUT$", "w", stderr); // Define the input layout D3D11_INPUT_ELEMENT_DESC layout[] = { { "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D11_INPUT_PER_VERTEX_DATA, 0 }, { "NORMAL", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 12, D3D11_INPUT_PER_VERTEX_DATA, 0 }, { "TEXCOORD", 0, DXGI_FORMAT_R32G32_FLOAT, 0, 24, D3D11_INPUT_PER_VERTEX_DATA, 0 }, }; hr = meshShaderBundle.CreateVertexShaderAndInputLayoutFromFile(g_pd3dDevice, "Tutorial06_VS.cso", layout, ARRAYSIZE(layout)); hr = meshShaderBundle.CreatePixelShaderFromFile(g_pd3dDevice, "Tutorial06_PS.cso"); auto ps_blob = load_binary_blob("PSSolid.cso"); // Create the pixel shader hr = g_pd3dDevice->CreatePixelShader(ps_blob.data(), ps_blob.size(), nullptr, &g_pPixelShaderSolid); if (FAILED(hr)) return hr; MeshUtils::makeCubePNT(mesh); // Create the vertex buffers from the loaded SimpleMesh meshVertexBuffers.CreateBuffers(g_pd3dDevice, mesh.indicesList, mesh.vertexList); // Create the constant buffer meshShaderBundle.CreateConstantBufferVS(g_pd3dDevice, sizeof(ConstantBuffer)); meshShaderBundle.ConstantBufferPS = meshShaderBundle.ConstantBufferVS; // Load the Texture std::string filename = "seafloor.dds"; hr = meshShaderResources.CreateTextureFromFile(g_pd3dDevice, filename); if (FAILED(hr)) return hr; // Create the sampler state meshShaderResources.CreateDefaultSampler(g_pd3dDevice); // Make grid render components // Generate the geometry MakeGrid(); gridShaderBundle.CreateConstantBufferVS(g_pd3dDevice, sizeof(ConstantBufferDebug)); gridVertexBuffers.CreateVertexBuffer(g_pd3dDevice, lines); gridVertexBuffers.PrimitiveTopology = D3D11_PRIMITIVE_TOPOLOGY_LINELIST; D3D11_INPUT_ELEMENT_DESC lineLayoutDesc[] = { { "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D11_INPUT_PER_VERTEX_DATA, 0 }, { "NORMAL", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 12, D3D11_INPUT_PER_VERTEX_DATA, 0 }, { "TEXCOORD", 0, DXGI_FORMAT_R32G32_FLOAT, 0, 24, D3D11_INPUT_PER_VERTEX_DATA, 0 }, }; hr = gridShaderBundle.CreateVertexShaderAndInputLayoutFromFile(g_pd3dDevice, "Debug_VS.cso", lineLayoutDesc, ARRAYSIZE(lineLayoutDesc)); hr = gridShaderBundle.CreatePixelShaderFromFile(g_pd3dDevice, "Debug_PS.cso"); g_pImmediateContext->RSSetState(rasterStateDefault); return S_OK; } //-------------------------------------------------------------------------------------- // Clean up the objects we've created //-------------------------------------------------------------------------------------- void CleanupDevice() { if (g_pImmediateContext) g_pImmediateContext->ClearState(); if (rasterStateDefault) rasterStateDefault->Release(); if (rasterStateWireframe) rasterStateWireframe->Release(); if (rasterStateTexture) rasterStateTexture->Release(); //if (g_pSamplerLinear) g_pSamplerLinear->Release(); //if (g_pTextureRV) g_pTextureRV->Release(); //if (g_pConstantBuffer) g_pConstantBuffer->Release(); //if (g_pVertexBuffer) g_pVertexBuffer->Release(); //if (g_pIndexBuffer) g_pIndexBuffer->Release(); //if (g_pVertexLayout) g_pVertexLayout->Release(); //if (g_pVertexShader) g_pVertexShader->Release(); //if (g_pPixelShader) g_pPixelShader->Release(); if (g_pPixelShaderSolid) g_pPixelShaderSolid->Release(); if (g_pDepthStencil) g_pDepthStencil->Release(); if (g_pDepthStencilView) g_pDepthStencilView->Release(); if (g_pRenderTargetView) g_pRenderTargetView->Release(); if (g_pSwapChain1) g_pSwapChain1->Release(); if (g_pSwapChain) g_pSwapChain->Release(); if (g_pImmediateContext1) g_pImmediateContext1->Release(); if (g_pImmediateContext) g_pImmediateContext->Release(); if (g_pd3dDevice1) g_pd3dDevice1->Release(); if (g_pd3dDevice) g_pd3dDevice->Release(); } //-------------------------------------------------------------------------------------- // Called every time the application receives a message //-------------------------------------------------------------------------------------- LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { PAINTSTRUCT ps; HDC hdc; switch (message) { case WM_PAINT: hdc = BeginPaint(hWnd, &ps); EndPaint(hWnd, &ps); break; case WM_DESTROY: PostQuitMessage(0); break; case WM_KEYDOWN: switch (wParam) { case '1': cout << "Keypressed - 1" << endl; // toggle wireframe state RENDER_STYLE_WIREFRAME = !RENDER_STYLE_WIREFRAME; cout << "RENDER_STYLE_WIREFRAME: " << RENDER_STYLE_WIREFRAME << endl; break; case '2': cout << "Keypressed - 2" << endl; // toggle textured state RENDER_STYLE_TEXTURED = !RENDER_STYLE_TEXTURED; cout << "RENDER_STYLE_TEXTURED: " << RENDER_STYLE_TEXTURED << endl; break; } break; default: return DefWindowProc(hWnd, message, wParam, lParam); } return 0; } XMFLOAT4 vLightDirs[2] = { XMFLOAT4(-0.577f, 0.577f, -0.577f, 1.0f), XMFLOAT4(0.0f, 0.0f, -1.0f, 1.0f), }; XMFLOAT4 vLightColors[2] = { XMFLOAT4(0.75f, 0.75f, 0.75f, 1.0f), XMFLOAT4(1.0f, 0.0f, 0.0f, 1.0f) }; //-------------------------------------------------------------------------------------- // Update //-------------------------------------------------------------------------------------- void Update() { // Update our time static float t = 0.0f; if (g_driverType == D3D_DRIVER_TYPE_REFERENCE) { t += (float)XM_PI * 0.0125f; } else { static ULONGLONG timeStart = 0; ULONGLONG timeCur = GetTickCount64(); if (timeStart == 0) timeStart = timeCur; t = (timeCur - timeStart) / 1000.0f; } // Rotate cube around the origin g_World = XMMatrixRotationY(t); // Setup our lighting parameters XMStoreFloat4(&vLightDirs[0], { -0.577f, 0.577f, -0.577f, 1.0f }); XMStoreFloat4(&vLightDirs[1], { 0.577f, 0.2577f, -0.577f, 1.0f }); XMStoreFloat4(&vLightColors[0], { 0.75f, 0.75f, 0.75f, 1.0f }); XMStoreFloat4(&vLightColors[1], { 0.2f, 0.2f, 0.5f, 1.0f }); // Rotate the second light around the origin XMMATRIX mRotate = XMMatrixRotationY(-1.0f * t); XMVECTOR vLightDir = XMLoadFloat4(&vLightDirs[1]); // rotares the second light //vLightDir = XMVector3Transform(vLightDir, mRotate); XMStoreFloat4(&vLightDirs[1], vLightDir); } //-------------------------------------------------------------------------------------- // Render a frame //-------------------------------------------------------------------------------------- void Render() { // // Clear the back buffer // g_pImmediateContext->ClearRenderTargetView(g_pRenderTargetView, Colors::MidnightBlue); // // Clear the depth buffer to 1.0 (max depth) // g_pImmediateContext->ClearDepthStencilView(g_pDepthStencilView, D3D11_CLEAR_DEPTH, 1.0f, 0); // // Render the grid // ConstantBufferDebug cbDebug; cbDebug.mWorld = XMMatrixIdentity(); cbDebug.mView = XMMatrixTranspose(g_View); cbDebug.mProjection = XMMatrixTranspose(g_Projection); g_pImmediateContext->UpdateSubresource(gridShaderBundle.ConstantBufferVS.Get(), 0, nullptr, &cbDebug, 0, 0); gridShaderBundle.Bind(g_pImmediateContext); gridVertexBuffers.BindAndDraw(g_pImmediateContext); // // Update matrix variables and lighting variables // ConstantBuffer cb1; // TODO:POSITION CUBE // raise the bottom of the cube up to the origin // comment in g_World.r[3] = { 0.0f, 1.0f, 0.0f, 1.0f }; cb1.mWorld = XMMatrixTranspose(g_World); cb1.mView = XMMatrixTranspose(g_View); cb1.mProjection = XMMatrixTranspose(g_Projection); cb1.vLightDir[0] = vLightDirs[0]; cb1.vLightDir[1] = vLightDirs[1]; cb1.vLightColor[0] = vLightColors[0]; cb1.vLightColor[1] = vLightColors[1]; cb1.vOutputColor = XMFLOAT4(0, 0, 0, 0); g_pImmediateContext->UpdateSubresource(meshShaderBundle.ConstantBufferVS.Get(), 0, nullptr, &cb1, 0, 0); // // Render the cube // meshShaderResources.Bind(g_pImmediateContext); meshShaderBundle.Bind(g_pImmediateContext); meshVertexBuffers.Bind(g_pImmediateContext); meshShaderResources.Bind(g_pImmediateContext); // if not textured set, set the current texture to the generated white texture if (!RENDER_STYLE_TEXTURED) { g_pImmediateContext->PSSetShaderResources(0, 1, texSRV.GetAddressOf()); } meshShaderBundle.Bind(g_pImmediateContext); meshVertexBuffers.Bind(g_pImmediateContext); if (!RENDER_STYLE_TEXTURED) { meshVertexBuffers.Draw(g_pImmediateContext); } if (RENDER_STYLE_WIREFRAME) { // Set the color of the wireframe cb1.vOutputColor = { 0.9f, 0.9f, 0.9f, 1.0f }; g_pImmediateContext->UpdateSubresource( meshShaderBundle.ConstantBufferVS.Get(), 0, nullptr, &cb1, 0, 0); // set the solid pixel shader g_pImmediateContext->PSSetShader(g_pPixelShaderSolid, nullptr, 0); // set the wireframe raster state g_pImmediateContext->RSSetState(rasterStateWireframe); } else if (RENDER_STYLE_TEXTURED) { // Set the color of the texture cb1.vOutputColor = { 1.0f, 1.0f, 1.0f, 1.0f}; g_pImmediateContext->UpdateSubresource(meshShaderBundle.ConstantBufferVS.Get(), 0, nullptr, &cb1, 0, 0); // Set the solid pixel shader g_pImmediateContext->PSSetShader(g_pPixelShaderSolid, nullptr, 0); //Set the texture raster state g_pImmediateContext->RSSetState(rasterStateTexture); } else { // set the solid raster state g_pImmediateContext->RSSetState(rasterStateDefault); } meshVertexBuffers.Draw(g_pImmediateContext); // // TODO:EXTRA CUBES // Render the cube two more times here // if (true) { // Leave commented out until wireframe color part of the exercise // TODO:WIREFRAME COLOR cb1.vOutputColor = { 1.0f, 1.0f, 1.0f, 0.5f }; g_pImmediateContext->PSSetShader(g_pPixelShaderSolid, nullptr, 0); // Leave commented out until Raster State part of the exercise // TODO:RASTER STATE WIRFRAME g_pImmediateContext->RSSetState(rasterStateWireframe); g_World.r[3] = { 3.0f, 1.0f, 0.0f, 1.0f }; cb1.mWorld = XMMatrixTranspose(g_World); g_pImmediateContext->UpdateSubresource(meshShaderBundle.ConstantBufferVS.Get(), 0, nullptr, &cb1, 0, 0); meshVertexBuffers.Draw(g_pImmediateContext); g_World.r[3] = { -3.0f, 1.0f, 0.0f, 1.0f }; cb1.mWorld = XMMatrixTranspose(g_World); g_pImmediateContext->UpdateSubresource(meshShaderBundle.ConstantBufferVS.Get(), 0, nullptr, &cb1, 0, 0); meshVertexBuffers.Draw(g_pImmediateContext); } // TODO:RASTER STATE SOLID g_pImmediateContext->RSSetState(rasterStateDefault); // // Render each light // for (int m = 0; m < 2; m++) { XMMATRIX mLight = XMMatrixTranslationFromVector(5.0f * XMLoadFloat4(&vLightDirs[m])); XMMATRIX mLightScale = XMMatrixScaling(0.2f, 0.2f, 0.2f); mLight = mLightScale * mLight; // Update the world variable to reflect the current light cb1.mWorld = XMMatrixTranspose(mLight); cb1.vOutputColor = vLightColors[m]; g_pImmediateContext->UpdateSubresource(meshShaderBundle.ConstantBufferVS.Get(), 0, nullptr, &cb1, 0, 0); // inline overview of the pixel shader g_pImmediateContext->PSSetShader(g_pPixelShaderSolid, nullptr, 0); meshVertexBuffers.Draw(g_pImmediateContext); } // // Present our back buffer to our front buffer // g_pSwapChain->Present(0, 0); } 
Can anyone help me here on how to do this? I'm able to draw the crates and once i have the texture, i will retexture them accordingly. But the ground and grass are a complete mystery. And if i'm in the wrong subreddit for this, could someone direct me to one that can help me?
submitted by GunchapRed to programminghelp [link] [comments]


2020.09.17 02:34 twenty5C OpenCore on Ivy Bridge-E + B75M-D3H would not TurboBoost

Hi guys, my first time doing a Hackintosh, and kinda successful but need some help with Turbo Boosting, would really appreciate it! So currently everything works except TurboBoost (haven't tested sleep yet),
My system specs are:
BOOTLOADER: OpenCore 0.6.1 SMBIOS: Mac Pro 6,1 CPU: Intel E3-1230V2 (Ivy Bridge-E) (4c8t / 3.3Ghz Boost to 3.7GHz / 69W TDP) MB: Gigabyte GA-B75M-D3H (rev. 1.2)(BIOS F14)(REALTEK 8111) HDD: Crucial MX500 SATA III SSD GPU: AMD RX VEGA 56 Gigabyte Gaming OC OS: MacOS Catalina 10.15.6 with Windows 10 multi-boot on same ssd. 
My config.plist is here.
I followed the OpenCore guide right here.
This is what my EFI/OC/ currently looks like.
./OC/ ├── ACPI │ ├── SSDT-EC.aml │ └── SSDT-PLUG.aml ├── Bootstrap │ └── Bootstrap.efi ├── Drivers │ ├── HfsPlus.efi │ └── OpenRuntime.efi ├── Kexts │ ├── AppleALC.kext │ ├── CPUFriendDataProvider.kext │ ├── Lilu.kext │ ├── RealtekRTL8111.kext │ ├── SMCDellSensors.kext │ ├── SMCProcessor.kext │ ├── SMCSuperIO.kext │ ├── USBInjectAll.kext │ ├── VirtualSMC.kext │ ├── WhateverGreen.kext │ └── XHCI-unsupported.kext ├── OpenCore.efi ├── Resources │ ├── Audio │ ├── Font │ ├── Image │ └── Label ├── Tools │ └── OpenShell.efi └── config.plist 44 directories, 30 files 
Some notes/steps/observations:
I followed the guide to a T (nearly), and installed MacOS successfully.(Freshly formatted SSD) Then I followed this multi-boot guide and installed Windows 10 on the same drive successfully.
Going back to MacOS, one issue I noticed was that my CPU wouldn't TurboBoost. (Only goes to 3.3 GHz Max) So I went through the guide again, and found out I had forgotten to include SSDT-PLUG. Following here, I added it with correct ACPI pathing, recompiled to .aml, updated config.plist, and rebooted.
Now my CPU was stuck at 800MHz constantly, and then I followed enabling-x86platformplugin for post-install power management optimization.
Confirmed in IORegistryExplorer that X86PlatformPlugin was loaded, then ran CPUFriend. However it gave me this error:
FrequencyVectors missing in Mac-F60DEB81FF30ACF6.plist Aborting! 
Apparently it was to be fixed by running freqVectorsEdit.sh. However I could not find my SMBIOS in the list of Available resource files, and picking random ones didn't work either. I traced the issue to this thread where fluxus123 mentioned to fix this by manually adding
InitialPLimit 0 FrequencyVectors   
to /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/Mac-F60DEB81FF30ACF6.plist .
That fixed it for me (had to disable SIP), so I went on to choose my SMBIOS with freqVectorsEdit.sh , and ran CPUFriend again. According to the guide, there were 3 configs to enter, but CPUFriend only asked me for LFM (I gave it 08), then it finished.
I used CPUFriendDataProvider.kext, added it to EFI and updated config.plist accordingly. Upon reboot, it was no longer stuck at 800MHz, however it still wouldn't TurboBoost.
Also, running Cinebench R20, it would only utilize 4 threads, while choosing "Test All Thread Frequency" in Intel Power Gadget would correctly utilize all 8. (For some reason Custom number of render threads in Cinebench preferences was set to 1).
The whole time, the CPU wouldn't draw over 35W 40W which is weird for its 69W TDP.
I ran it again, but in Windows 10, and it could hit 4.1GHz while maintaining stable 3.9 with all 8 threads.
I tried to look for solutions, but all I could find were people using ssdtPRGen.sh. However according to the guide, that is supposed to be only for Sandy and Ivy Bridge, it even explicitly says:
Note: Ivy Bridge-E CPUs do officially support XCPM, please refer to Enabling X86PlatformPlugin instead 
which I have done already.
Did something go wrong when I ran CPUFriend?
Spent all night trying to solve this, plz help :( Thanks in advance!
submitted by twenty5C to hackintosh [link] [comments]


2020.09.16 23:15 boinabbc [HIRING] Data Scientist at Michael Page in Melbourne VIC

Michael Page is searching for a Data Scientist in Melbourne VIC with the following skills: Python, SQL
Permanent Opportunity Tech required; S QL, Python/R, A WS, Power BI/Tableau About Our Client My Client is a well-known Australian manufacturing organisation.Job Description Selecting features, building and optimising classifiers Data mining using state-of-the-art methods Extending company's data with third... apply or read more here: https://www.datayoshi.com/offe182568/data-scientist-michael-page
submitted by boinabbc to jobbit [link] [comments]


2020.09.16 23:15 boinabbc [HIRING] Data Scientist at Michael Page in Melbourne VIC

Michael Page is searching for a Data Scientist in Melbourne VIC with the following skills: Python, SQL
Permanent Opportunity Tech required; S QL, Python/R, A WS, Power BI/Tableau About Our Client My Client is a well-known Australian manufacturing organisation.Job Description Selecting features, building and optimising classifiers Data mining using state-of-the-art methods Extending company's data with third... apply or read more here: https://www.datayoshi.com/offe182568/data-scientist-michael-page
submitted by boinabbc to techjobs [link] [comments]


2020.09.16 15:56 AngryAdmi ZFS 2.0 on Proxmox 6.2

WARNING: NOT SAFE FOR PRODUCTION
I managed to get it installed on Proxmox 6.2 today. Not the most elegant solution though.I run win10 in kvm with gpu passthrough with NVME passed through as system drive and 6x1TB drives in RAIDZ2 whera's 3 TB is dedicated for my Windows D: drive that holds more or less only my steam library I have 2x 240GB SATA SSD's which are my l2arc.
Loadtimes on various games changed accordingly:Civ6 no cache: 55 seconds With cache: 25 seconds *from hitting play in launcher till menu.Bounty train: 32 seconds 8 secondsWoWs: 44 seconds 23 secondsCities skylines: 29 seconds 19 seconds
Here are the commands to enter in order for persistent l2arc to work with proxmox (debian based)
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get install build-essential autoconf automake libtool gawk alien fakeroot dkms libblkid-dev uuid-dev libudev-dev libssl-dev zlib1g-dev libaio-dev libattr1-dev libelf-dev pve-headers python3 python3-dev python3-setuptools python3-cffi libffi-dev git
git clone https://github.com/zfsonlinux/zfs
cd zfs
git checkout zfs-2.0.0-rc1
sh autogen.sh
./configure
make deb
apt-get remove zfs zfs-dkms libzfs2 libzpool2 libnvpair1linux libzfs2linux libzpool2linux libuutil1linux
dpkg -i zfs_2.0.0-0_amd64.deb zfs-dkms_2.0.0-0_amd64.deb libnvpair1_2.0.0-0_amd64.deb libzfs2_2.0.0-0_amd64.deb libzpool2_2.0.0-0_amd64.deb libuutil1_2.0.0-0_amd64.deb zfs-test_2.0.0-0_amd64.deb zfs-dracut_2.0.0-0_amd64.deb zfs-initramfs_2.0.0-0_amd64.deb python3-pyzfs_2.0.0-0_amd64.deb
apt-get install zfsutils-linuxLast command removes some of the 2.0 installed packages but without this the pool wont mount on reboot. Someone have a better solution? It works but hmm..
ADDENDUM: This is potentially dangerous for your data since ZFS2 is not in final release.!! Edit: replaced zfs master with zfs-2.0.0-rc1
submitted by AngryAdmi to zfs [link] [comments]


DOE worksheet Class VII organization of Data (Hindi ... AWS Data Exchange - YouTube WS 3  Class 7  Organization of data  English medium ... Ambient WS-2000 Smart WiFi Weather Station - YouTube Ws-3class - 7 data handling - YouTube Easily Transfer Data Into Amazon S3 From Your Existing ... CBSE CLASS 10 IT (CODE - 402) - SHARING WORKSHEET DATA ...

FTP Client with Automation and Encryption - WS_FTP ...

  1. DOE worksheet Class VII organization of Data (Hindi ...
  2. AWS Data Exchange - YouTube
  3. WS 3 Class 7 Organization of data English medium ...
  4. Ambient WS-2000 Smart WiFi Weather Station - YouTube
  5. Ws-3class - 7 data handling - YouTube
  6. Easily Transfer Data Into Amazon S3 From Your Existing ...
  7. CBSE CLASS 10 IT (CODE - 402) - SHARING WORKSHEET DATA ...

Good Morning my dear students we are sharing solution of DOE mathematics Class VIi Worksheet no. 3 In this video you understand topics on organization of dat... Video from Kamal In this demo, we will demonstrate how you can easily utilize AWS DataSync, File Gateway, and the AWS Transfer Family with your existing applications and clie... session 12 (part-b, unit 3) sharing worksheet data Worksheet explained and solved Learn more about AWS Data Exchange at https://amzn.to/2OeRInh. AWS Data Exchange is a new service that makes it easy for millions of AWS customers to securel... My review of the Ambient Weather WS-2000 Smart WiFi Weather Station (PWS), overview of the features, the console, settings / menu options, Weather Undergroun...