text
stringlengths
3
1.74M
label
class label
2 classes
source
stringclasses
3 values
New Glass, I named it Corona.
0non-cybersec
Reddit
Lag in keyboard response in 16.04. <p>I recently went to a full install of Ubuntu 16.04 LTS. (I was dual booting for a while) and now there are no other operating systems on my laptop. So I have it on my hp -2000 laptop that is a few years old but still has a 400g hard drive and 12g of ram. I do notice though if I have had the laptop on for a while (say from 8am till about 12pm) It starts to act sluggish. Keystrokes are delayed is really the biggest issue. If I power cycle it comes back good as new and there is no issue. Is this a problem other folks have had? Is it just my bad laptop? </p>
0non-cybersec
Stackexchange
Should all class public methods come from an interface?. <p>I'm currently learning about TDD techniques, one of the suggestion is to test only public methods and skip the private ones. I have also been reading about Mocking. If I want to mock a certain method, then it needs to come from an interface or be marked as virtual. When I start developing my application I don't know which methods I will want to mock while creating unit tests, because of that I think it's best to make them all available for mocking.</p> <p>I assume that making all methods virtual isn't the best solution, then the alternative is the interface approach mentioned above.</p> <p>Is that the right direction or do I miss something obvious?</p>
0non-cybersec
Stackexchange
i love ugly sample sale cops. Shoutouts to /u/FelixHasCatNip for letting me know about it.
0non-cybersec
Reddit
I Think My Parents Were Demon Hunters - Part 2. [Part 1](https://www.reddit.com/r/nosleep/comments/6bvonc/i_think_my_parents_were_demon_hunters/) It’s time to search my parents’ house. One single book had seemed to upend everything I knew about time and space. What else did they have hiding in here? Both had been professors, but neither in theology. My father was a professor of English literature, and my mother was a physicist, for fuck’s sake. It made no sense. Or maybe a lot of sense. I was still a bit too shaken to figure things out, and my hand still burned like Satan’s hemorrhoids. I walked absentmindedly to the top of the stairs, sat on the first step, and started riffling through the book. I didn’t know if I wanted to find the text exactly the same, or find that it had inexplicably vanished. I had no idea which one would make more sense. That’s not true. I wanted to find the text. I wanted to discover the strange. Something was *calling* me. I wanted to answer it. I found it. Randomly allocated throughout the book was the advice that I had been given. Reading through it made little sense, as the narrative was not punctuated by real-time demon wrangling and pants-shitting. So the narrative had been there the whole fucking time, penned and published God knows how many years before my birth. I don’t know what to take from this. I resolved to pick my way through the whole book. It was at least a thousand pages, but there clearly lay answers within. I snapped it closed and walked downstairs, planning the time that I would set aside to read it. My dead parents were in the kitchen. Mom was splayed out on the table, skin pallid and torso strewn open like a dropped taco. Dad was behind the table, checkered napkin around his neck, hands working furiously with his knife and fork. He was eating my mom’s intestines. His face was grinning with ghoulish delight as he pumped back and forth with his knife, cutting through gristle and bone. The lower half of his face was covered in blood. He continued to pump rhythmically as he slowly raised his head to meet my gaze. Without breaking eye contact, he pulled out a gelatinous piece of cartilage with his fork, and passed it to my mother. She took the fork in her mouth, and slowly began to autocannibalize herself. Then she, too, pivoted her gaze at me and grinned. One of her eye sockets was empty. I screamed – or at least tried to – and slammed into the cupboard behind me. I fell the floor with a crash as the cupboard door burst open and pots and pans rained down on top of me. I shot back to my feet, dazed, and grabbed wildly for the watch, the rosary, anything. I reached into my pocket, but my hands only found the car keys. I waved them in front of me fruitlessly, as though they were a talisman that could protect me from the horror I had just seen. I focused my eyes on the scene in front of me. Nothing was on the table. I was alone in the room, with the only motion coming from a lone, swirling tin lid to a forgotten pan. Perhaps demon hunting was going to prove more difficult than I’d thought. * I sat on the couch in the living room with a steaming cup of chamomile tea by my side. It’s hard to say if this act of mimicking my parents’ habits was intentional or not, but perhaps imitating them wasn’t as bad as I’d thought when I was seventeen. The book lay open on my lap. I didn’t bother hunting for a page. I just opened it up near the front and began reading. ‘That scene must have shocked you, Peter. You were attacked by a demon upstairs, and it damaged you in ways that weren’t physical. You must realize by now that everything you saw was in your head – but that doesn’t make it less real. ‘You need to find a way to heal yourself, or the damage might permanently affect your untrained mind.” I snapped the book shut. Nothing like mom’s soothing advice to comfort you when you’re down. I paced the room. I was at one hell of a crossroads; if I continued to pursue my parents, things would just keep getting deeper. There’d be no going back. I found myself wondering what led my parents to whatever decision they must have faced. I imagined them discussing their fate. I could see my father pointing out that fear of death creates something that never existed before, and that this fear was its own kind of demon. My mother, in her infinite logic, would have responded that death itself was real regardless of our actions, and that every human birth is nothing more than a delayed death sentence. They were right, of course. And if chose not to follow now, it would not save my life. I was going to die at some point, and when the time came, the only thing I would have left was the ability to say ‘I did *that.*’ I crossed back to the couch and opened the book. ‘Start with the smallest demon, son.’ My father’s advice ended the chapter and gave no more insight. What. The. Fuck. I wracked my brain to think of what that meant. When had my father ever talked about a demon? *I was crying. Buster Duncan had punched me, hard, and taken three of my best G. I. Joes. He had squeezed my neck until I denounced ownership. When he let me go, I ran home at a full sprint. In a rare moment of near-human compassion, my father had hugged me as I cried. “He’s the worst kid in the world, Dad. He makes me feel so small. He’s a demon,” I gasped through sobs.* *“Well, son, don’t be controlled by him. If this is the way that he lives his life, if hurting other kids makes him happy, then he really is the smallest kid in the world.”* Buster Duncan was the worst piece of shit that I knew growing up. He lived to cause anguish to other kids. Despite my father’s assurances, he was significantly larger than anyone else in our class, on account of being held back a grade on two separate occasions. I had the great fortune of growing up on the same street as him. I wondered if he still lived in the same dump at the end of the road. What did idiots do when they grew up? I made it to the house in under five minutes. It looked worse than it had when I was a kid. Past the three rusted autos and the elegant collection of weeds sat the screen door. It reeked of stale cigarettes and sadness. I knocked and heard a grumbling from within. His mother, who looked miserable just to be alive and angry for having to face a visitor, waddled to the threshold. Crumbs tumbled from her mumu. “Yeah,” she offered in a way of greeting. “Hi, um – Mrs. Duncan? I’m an old… friend… of Buster’s. From his childhood. Could he, um…. Could I see him?” She eyed me suspiciously for several awkward seconds. “He’s out back,” she finally croaked in a cigarette-stained voice. I followed awkwardly through the ramshackle home and toward the back porch. She sat back down on the couch. Buster Duncan stood smiling in the back yard, which was little more than a dirt patch carved from the surrounding woods. He was bigger and fatter than ever. But more than that, I could tell that he was still just *mean.* The look was unmistakable from anyone who had been pounded by a jerk as a kid. “Buster,” I said, descending the porch steps slowly and deliberately. “I don’t know if you remember me. Peter,” I offered. I came to a stop in the dirt ten feet in front of him. “You used to call me ‘faggot lips.’” His smile was as unwavering as it was stupid. “I came here to tell you something. To exorcise a demon, if you will.” I clutched the pocket watch in my left pocket, and the rosary in my right. “You made me afraid to walk down the street when I was younger. I had so many bruises on my arms in elementary school that Child Protective Services actually showed up to question my parents about beating me.” I gave a wan smile. “I think CPS decided it was impossible that anyone as boring as them could even make a fist.” His glare was unchanging, his hands clenching and unclenching. “But it was more than that,” I went on, my voice cracking just a little. “You made me afraid to *be.* You made me think that there was something so inherently ugly and wrong with being *Peter* that I deserved it. It might just sound like childhood bullying, but it *wrecked* my self-esteem, which made me think I was weak, and therefore deserved it even more. I didn’t realize until years later that *you* were the one who was wrong,” my breath hitched, and the beginning of a sob escaped my lips, “and that I could not keep you from being small. I could only choose whether or not to feel smaller. So I want to say something I should have long ago.” I advanced until I was two feet away from him, and eye-level with his chest. “I forgive you. Truly.” I sighed. “I choose to exorcise this demon.” It was then that I realized his eyes were yellow. The demon screamed and swung at me. I was too shocked to pull either item from my pocket, and simply stared agape as his fist made contact with my chin. And bounced harmlessly off. It shrieked and started clawing at me with essentially no effect. My sleeves were slightly ruffled. I could only gawk in confusion as it became more and more agitated, swinging harder and harder in a fruitless endeavor. It let out a final scream, erupted into flames, and turned to sprint into the woods. The only thing that came to my confused mind was shock at just how small it was as it receded into the darkness. I turned back to face the house, imagining that his mother would emerge to investigate the noise. She didn’t. I finally turned back around a saw something in the dirt that I had not noticed before. It was a granite marker. I approached it. “Buster Duncan, Born 1-10-79, Died 1-9-13.’ Nothing more was written. I stared in silence for some time. Finally, I opened the book. The page was the last paragraph of a chapter. ‘There are many ways to go out into the world and face the demons that haunt it, son. Those are the ones that may destroy your body. This is how your mother and I met our physical end; never, ever forget that any battle worth fighting is one that you may very well lose. But it is impossible, completely impossible, to kill any one of them while a demon still lives inside. No weapon will work. Which is why I should tell you now that the demon you sent back into the hole was not harmed, just banished. And he is likely quite angry with you. Be forewarned. And know that we’re proud.’ Of all the things in the whole fucking book, it was the last sentence that caused the greatest impact. As I turned the page with my right hand, I realized that it didn’t hurt anymore. I smiled. The next chapter was entitled ‘Into the Woods.’ I frowned. It was almost dark. I remember thinking, as a child, that heroes going on great adventures must feel no fear. That the only reason they struck out in the first place was because they knew they were empowered in a way that made them ready to face any challenge, and that the reason people listening to their stories trembled in fear is *because* they were listening, and not *doing.* The greatest of hunters, I had decided, simply were not afraid. I realized, as I climbed cautiously into those twilit woods – with nothing but a book, a watch, and some beads – that I had been full of shit. I was terrified. [Part 3](https://www.reddit.com/r/nosleep/comments/6ca2m7/i_think_my_parents_were_demon_hunters_part_3/) [Crossroads]( https://www.reddit.com/r/nosleep/comments/6cg96m/a_parley_with_the_prisoner_of_purgatory/) [Part 4]( https://www.reddit.com/r/nosleep/comments/6cn0ti/i_think_my_parents_were_demon_hunters_part_4/) [Part 5](https://www.reddit.com/r/nosleep/comments/6cuh7n/i_think_my_parents_were_demon_hunters_part_5/) [Part 6](https://www.reddit.com/r/nosleep/comments/6d9k91/i_think_my_parents_were_demon_hunters_part_6/) [Then](https://www.reddit.com/r/nosleep/comments/6d21vk/feeling_whittier_narrows_focus/) [Part 7](https://www.reddit.com/r/nosleep/comments/6ee9gl/i_think_my_parents_were_demon_hunters_part_7/) [Part 8](https://www.reddit.com/r/nosleep/comments/6flfs4/i_think_my_parents_were_demon_hunters_part_8_final/)
0non-cybersec
Reddit
In 2013 I set out to do a drawing every single day. Surprising myself, I actually did it!.
0non-cybersec
Reddit
Can this approximation be made more formal?. <p>When considering oscillating systems in physics, we end up with some response function like $$F(\omega) = \frac{\omega^2}{(\omega_0^2 - \omega^2)^2 + (\omega/\tau)^2},$$ where $\omega_0$ and $\tau$ are characteristic properties of the system, and $\omega$ is the driving frequency. We are generally interested in the behavior of $F(\omega)$ close to the maximum, $\omega = \omega_0$, which is the resonant frequency. However, the usual approach to approximate $F(\omega)$ is the following $$F(\omega) = \frac{\omega^2}{(\omega_0 - \omega)^2 (\omega_0 + \omega)^2 + (\omega/\tau)^2} \approx \frac{\omega_0^2}{4 \omega_0^2 (\omega_0 - \omega)^2 + (\omega_0/\tau)^2} = \frac{\frac{1}{4}}{(\omega_0 - \omega)^2 + (1/2\tau)^2}.$$</p> <p>Is there a way to formalize and justify the above approximation? Could this be a form of Pade approximation?</p>
0non-cybersec
Stackexchange
Prison problem: locking or unlocking every $n$th door for $ n=1,2,3,...$. <p>I have a problem called "The Prison Problem" that I need to explain to my 9-year-old cousin. I would think that he has just started learning about divisors and perfect squares, and as such, I have a proposed solution. Any input from you guys would be welcome, as to what is the best way to go about this.</p> <p><strong>Problem:</strong></p> <p>There was a jail with 100 cells in it, all in a long row. The warden was feeling very jolly one night and told his assistant that he wanted to give all the prisoners a wonderful surprise. While they were sleeping, he wanted the assistant to unlock all the cells. This should be done, he told the assistant, by putting the key in each lock, turning it once. The assistant did this, then came back to report that the job was done. Meanwhile, however, the warden has second thoughts. "Maybe I shouldn't let all the prisoners free," he said. "Go back and leave the first cell open, but lock the second one (by putting the key in and turning it once). Then leave the third open, but lock the fourth, and continue in this way for the entire row." The assistant wasn't very surprised at this request as the warden often changed his mind. After finishing this task, the assistant returned, and again the warden had other thoughts. "Here's what I really want you to do," he said. "Go back down the row. Leave the first two cells as they are, and put your key in the third cell and turn it once. Then leave the fourth and fifth cells and turn the key in the sixth. Continue down the row this way." The assistant again did as instructed. Fortunately, the prisoners were still asleep. As a matter of fact, the assistant was getting pretty sleepy, but there was no chance for rest yet. The warden changed his mind again, and the assistant had to go back again and turn the lock in the fourth cell and in every fourth cell down the row. This continued all through the night, next turning the lock in every fifth cell, and then in every sixth, and on and on, until on the last trip, the assistant just had to turn the key in the hundredth cell. When the prisoners finally woke up, which ones could walk out of their cells?</p> <p><strong>Proposed solution:</strong></p> <p>Ten cells are left open after this process. Every cell that is a perfect square will remain open (1, 4, 9, 16, 25, 36, 49, 64, 81, and 100). If a number is not a perfect square, then it has an even number of divisors, therefore it will be "toggled" an even number of times and end up where it started (closed). Perfect squares have an odd number of divisors, so they will end up the opposite of where they started (open).</p>
0non-cybersec
Stackexchange
Why we need Probability-generating function or MGF?. <p>This is a basic question, but I barely find solution about it. I found there are a lot of explanations or examples about def, calculation or properties. Any master can give me some example about why we need ? Again, the question is WHY we need PGF or MGF(moment generating function). </p> <p>In MGF, I learned that MGF can help find PDF, it seems that MGF is better way, because they can do multiplication. Thank you.</p>
0non-cybersec
Stackexchange
Go benchmark run from main / go playground. <p>I am trying to create a suite of benchmark tests</p> <p><a href="https://play.golang.org/p/uWWITU-WKaL" rel="nofollow noreferrer">https://play.golang.org/p/uWWITU-WKaL</a></p> <p>package main</p> <pre><code>import ( "fmt" "testing" ) func runall(a, b string) (bool, error) { return true, nil } func main() { bench := []testing.InternalBenchmark{ { F: Benchmark_Dev, }, } tests := []testing.InternalTest{ { F: Test_Dev, }, } testing.Main(runall, tests, bench, nil) } func Test_Dev(t *testing.T) { fmt.Println("Test_Dev") } func Benchmark_Dev(b *testing.B) { fmt.Println("Benchmark_Dev") b.ReportAllocs() for i := 0; i &lt; b.N; i++ { res := i % 10 fmt.Println(res) } } </code></pre> <p>I see Tests are run fine, but the benchmarks are never run.</p>
0non-cybersec
Stackexchange
'Game of Thrones' star Kit Harington advocates more male nudity on the show: 'It's only right'.
0non-cybersec
Reddit
PsBattle: A guy in a costume talking to a girl.
0non-cybersec
Reddit
Apple Releases Lion Recovery Disk Assistant for External Drives.
0non-cybersec
Reddit
Needed some advice on MLPS. I'm starting a job as a network tech for a regional ISP. I understand the basics of MPLS but I was just wanting to know the best place to learn more about it and exactly how it works. *Edit MPLS god forbid I get a 2 letters out of place on reddit.
1cybersec
Reddit
Legal Question about Overwatch Gameplay. I'm wanting to upload videos on my channel detailing my thoughts and impressions on each of the heroes as they are released, and it would be best, for sake of context, to have the actual gameplay shown in each video. However, to not risk getting sued up m'butt, I'd like to know whether or not Blizzard is allowing people to use their gameplay for sake of discussion. I would also like to know, if I have to ask permission to use it, who exactly I would have to contact and where to get that contact information from. Thank you all very much in advance.
0non-cybersec
Reddit
IIS7 - The request filtering module is configured to deny a request that exceeds the request content length. <p>I want to upload images, it works fine on my machine but when I put my website on IIS7 server for public I can't upload anything.</p> <h2>Error</h2> <blockquote> <p>The request filtering module is configured to deny a request that exceeds the request content length.</p> </blockquote> <h2>Most likely causes</h2> <blockquote> <p>Request filtering is configured on the Web server to deny the request because the content length exceeds the configured value.</p> </blockquote> <h2>Things you can try</h2> <blockquote> <p>Verify the configuration/system.webServer/security/requestFiltering/requestLimits@maxAllowedContentLength setting in the applicationhost.config or web.config file.</p> </blockquote> <h2>system.webServer in Web.config</h2> <pre><code> &lt;system.webServer&gt; &lt;validation validateIntegratedModeConfiguration="false" /&gt; &lt;modules runAllManagedModulesForAllRequests="true" /&gt; &lt;security&gt; &lt;requestFiltering&gt; &lt;requestLimits maxAllowedContentLength="1048576" /&gt; &lt;/requestFiltering&gt; &lt;/security&gt; &lt;/system.webServer&gt; </code></pre> <p>As you can see I set my maxAllowedContentLength to 1gb. Restarted my website and still getting this error. I made an <code>/uploads/</code> folder on my file system where it suppose to be as well. Have no idea what causes this error and why I can't upload images.</p>
0non-cybersec
Stackexchange
Just Dance 2 - Rasputin (side by side).
0non-cybersec
Reddit
Calculate $\frac{i^2-i^{31}+(4+3i)(5-2i)}{\frac{1}{2}i}$ without a calculator. <p>I tried:</p> <p>$$\frac{i^2-i^{31}+(4+3i)(5-2i)}{\frac{1}{2}i} = \\ \frac{-1-(-1)+(4+3i)(5-2i)}{\frac{1}{2}i}= \\ \frac{26+7i}{\frac{1}{2}i} = \\ \frac{52+14i}{i} = \\ \frac{(52+14i)\cdot-i}{i\cdot -i} = \\ \\ 14-52i$$</p> <p>But my book states the solution is $16-50i$. What went wrong?</p>
0non-cybersec
Stackexchange
Top PC exclusive games?. What are the top PC exclusive games in your opinion? I would say WoW, Guild Wars, Diablo 2 and Team Fortress 2. (I am aware that tf2 is on console, but I don't think that it counts since it's still basically in the alpha version)
0non-cybersec
Reddit
Android Support plugin doesn&#39;t exist. <p>When I run my application, Android Studio notifies me with 3 errors as shown below</p> <p><a href="https://i.stack.imgur.com/PHK4U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PHK4U.png" alt="enter image description here"></a></p> <p>I have looked up the error on the internet and StackOverflow forums and I have found a solution to disable and re-enable <code>Android Support</code> plugin in settings but I didn't find the plugin and I didn't find a way to install it. Here is my plugin list:</p> <p><a href="https://i.stack.imgur.com/KckPJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KckPJ.png" alt="enter image description here"></a></p> <p>As you see in the picture <code>Android Support</code> plugin doesn't exist.</p> <p>Here is the reference what I have found on StackOverflow <a href="https://stackoverflow.com/questions/20560746/in-android-studio-cannot-load-2-facets-unknown-facet-typeandroid-and-android-gr">In android studio,cannot load 2 facets-unknown facet type:android and android-gradle</a></p> <p>Any help is appreciated.</p>
0non-cybersec
Stackexchange
IamA Mike Shinoda AMA!. **My short bio:** Hey guys, Mike Shinoda here, from Linkin Park. I like long walks on the beach, short walks off long cliffs, and medium-length intros about what I’m about to be doing. A little bit about me: - I can’t touch my shoulders with my hands unless I cross them (right hand can’t touch right shoulder, left can’t touch left). - The only bone I’ve broken is my pinky toe, which I happened when I slammed it into a wall while turning a corner too closely because I was running to the bathroom. - I started an NES gamer club in junior high called “NINTENDOL, where the only rule was that you be able to finish any NES game you played in 7 days or less from the time you opened the package. We all drew the letter “L” on our consoles in red. - I drew and painted obsessively growing up, and invented my own casts of characters for Mega Man, Metroid, Super Mario, and a handful of Dungeons and Dragons characters (shout out to Jeff Easley). - I can’t do a safety float on my back in the water; my legs sink and I go under far enough that my nose is submerged. - I once made a demo tape of joke gangsta rap songs called “Pooch Pound” that included a song called “North Coast Killa” where we executed all our Canadian gangsta rivals. - Lastly, I have a side-project called Fort Minor, and I recently released a song and 360 video called “WELCOME”. I’ll be answering your questions for the next 60 minutes, so ask me anything about music, tech, drawing, painting, snowboarding, basketball, Music For Relief, or whatever else comes to mind. Excited to talk to you guys! **My Proof:** https://instagram.com/p/6SmCbODmTp/ ////// Hey guys, thanks so much for all the great questions. We leave for Europe this week, see you guys at the shows. And thank you for supporting Linkin Park and Fort Minor. And thanks for the support on WELCOME: https://www.youtube.com/watch?v=REAwGmv0Fuk (make sure to watch on your phone in the YouTube app for the 360 experience) -Mike
0non-cybersec
Reddit
If your mandoline has a guard.... Use it. Don't be like u/PokeydaRedHorse. That is all. Now let me go find my fingertip.
0non-cybersec
Reddit
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application. I need to scale my app adding some spot instances that EB do not support.</p> <p>So I create a second autoscaling from a launch configuration with spot instances. The autoscaling use the same load balancer created by beanstalk.</p> <p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p> <p>This work fine, but:</p> <ol> <li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p> </li> <li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p> </li> </ol> <p><strong>UPDATE</strong></p> <p>Elastic Beanstalk add support to spot instance since 2019... see: <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
0non-cybersec
Stackexchange
My Summary of México After Almost Ten Weeks There.. -All of this text is taken from my blog post at stalkmytravels.com, which I have ownership of. -If you want to see photos, I have tons posted on my Instagram @dgreenberg_photography. Sorry, no Imgur or whatever. -I have been traveling for the last ten months, and still am. AMA Sections in Order: Introduction, WiFi, Money, Lodging, Transportation, Highlights, Cities, Lowlights, Food, Vegetarian Friendliness, Free Stuff to Do, Weather Couchsurfing, Nightlife, Typical Cost Of…, What to Bring, What Not to Bring, and Safety Introduction: I began my trip on October 15th, 2015. I flew in to México City (la Ciudad de México) and waited for about an hour at immigration. Make sure you get into the line for extranjeros (foreigners) and fill out the immigration form while you are waiting. If you don’t already have one, they will give you one. Immigration was pretty simple, all she asked me was how long I planned on staying in México, to which I replied about three months. She stamped my passport and stamped my immigration form for 180 days. Success! **NOTE: there is a border exit fee that seems to change based on who is working and how much they think they can get from you. Check the latest information before leaving via land border to Belize or Guatemala WiFi: If at this point you need to use WiFi, then just connect to the open WiFi, open a browser, select 2 Horas Gratis (or something like that) and hit connect. There is no need to enter an account or password. Most ADO bus stations (your best friend and sometimes only budget option other than hitchhiking) and some shopping malls use the same WiFi system. Sometimes you can only select 30 minutes. Outside of these options, open WiFi connections are rather rare. MONEY: (ALL MENTION OF COSTS ARE IN MEXICAN PESOS (MXN)) There are several ATMs and banks at the airport, but you should avoid using the banks to change money because the ATMs will give you the latest exchange rate. ATMs aren’t that difficult to find in most decent sized cities or tourist areas, but sometimes you might find yourself somewhere where it would make sense for there to be an ATM, but there aren’t any, like Yaxchilan in Chiapas. ATMs usually give you 500 peso bills, which unfortunately few people can exchange when you’re using public transit, staying in the cheapest places, and eating street food. For this reason, I recommend breaking them where possible, such as whenever you buy an ADO bus ticket or stay somewhere (don’t rely on lodging to have change though). I recommend keeping a good variety of bills, and also some 5 peso coins for public transit in México City and snacks. To avoid carrying around too much coin change, stock up on 20s and 50s. Avoid using cards unless at well established places like a decent hotel, an established tour agency, or a chain electronics store like Coppel. Be weary of pick pocketing, especially in México City on public transit. I got pick pocketed there, and it was terrible. I’m in Guatemala now, and all I have is a debit card and a passport. Oh wait, I got pickpocketed again, this time out of my zipped pocket. NOTHING IS SAFE FROM THIEVES! If you have a safe place to store your valuables, take only what you need and then a bit extra in case something happens. LODGING: Costs of lodging vary greatly in México. We are cheap and when we weren’t Couchsurfing, paid anywhere from 200 to 500 pesos for a private room, sometimes with a bathroom. Usually between 200 and 300. We only stayed at a few hostels, and they were anywhere from 90 for Hostal Kankun, to 150 for Hostal Casa del Sol in Tulum per bed. It was often cheaper for us to get a private room with a bathroom at a local hotel, than pay for two dorm beds in a hostel. Couchsurfing worked surprisingly well in México (much better than in Belize and Guatemala). Don’t expect to have hot water in any super-budget places, or even cheap places. If they advertise that they have hot water, still don’t expect them to have hot water, especially if they don’t have a website. Air conditioning is a bit rare, especially in the poorer states. (If you want air conditioning, go to Oxxo). We didn’t bring mosquito nets with us, and it would have only made a difference at a few places. Don’t leave your food out, or bugs will likely find their way to your place. Even if you don’t, there might still be some bugs there, and some lizards. Lizards are your friends, please don’t disturb them, they eat the bugs for you. TRANSPORTATION: Car rental isn’t very cheap and expect to get screwed out of what the actual cost is. Unless you really need a car rental, don’t rent one. Also, people drive like shit in México, and traffic laws are more like weak recommendations. Public transit is very cheap in México, and the people who drive the buses and colectivos around, are usually pretty knowledgeable about where you need to go to get to your final destination. Colectivos run about 15-30 pesos per hour of travel. If you’re expecting Western Comfort on colectivos, you should just stay home. ADO buses are actually pretty comfortable and new, even by my standards in the U.S., but are a little expensive when compared to colectivos. Buy your tickets a couple of days in advance to save up to 50% on the ticket prices. You can also buy tickets from…say Mérida to Cancún, while at an ADO station in San Cristóbal de las Casas. Oh, if you are tall (or even average height for Western Standards), then you will enjoy public transit less. Mexicans are not known for being tall, and their transit is setup for them. I’m 5′ 10″ (about 178 cm), and it was hit or miss for me. I felt really bad for people who were over six feet (183 cm) tall. Your best bet to get where you need to go, is to ask a colectivo driver where the colectivos are for where you need to go. Something like…Dónde estan los colectivos o autobuses a “___?” Public transit in México City is amazingly cheap, but also can be severely crowded. Also, whether this is an advantage or disadvantage is up to you, but there are people constantly getting on and off who are selling things. You can do most of your shopping while waiting on the metro, or you can get a headache from the irritation. AVOID USING PUBLIC TRANSIT DURING RUSH HOUR IN THE EVENING, IF YOU CAN. Expect to hear obnoxiously loud music in colectivos. Expect to hear almost the exact same beat, over and over again, because the music they play, sounds the same (and often times, is the same). HIGHLIGHTS: Día de Muertos: I celebrated it in Oaxaca City, and I really enjoyed it (aside from losing my Camera :'( at night). Lots of cool face painting, parades, music, food, games, and partying in cemeteries. My girlfriend, Marleen, celebrated it in Lake Patzcuaro, and she had a wonderful time as well. She was also in Morelia for the celebration and she says it was wonderful there as well. Hierve El Agua: Located a couple hours from Oaxaca, this place was very relaxing and you could sit in the clean, natural pools, while enjoying the beautiful views of mountains and forest just behind you. There’s also a short hiking trail, but to go all the way, you must pay for the guide. Entrance fee to Hierve El Agua as of November, 2015: 25 pesos. Playa Zipolite: This hippie, nude beach in Oaxaca, was awesome. Despite the fact that I was suffering from Heat Exhaustion and ended up with a fever of 39.5 Celsius (103 Fahrenheit), I still enjoyed the atmosphere. People were nice, we had a private room with a balcony on the beach for 200, and it was a nice place to walk on the beach at night. Cañon del Sumidero (Sumidero Canyon): For 190 pesos, you can take a lovely boat tour through the nearby Sumidero Canyon that includes a Spanish speaking guide. I thoroughly enjoyed this, and it’s hard to imagine how much a similar thing would have cost in the U.S. Ruinas Palenque (Palenque Ruins): These were very large ruins, and although there were a lot of people there, it didn’t feel as crowded since it was so spread out. You could climb up almost all of the structures, which we did, and they had good Street food places just outside the park. Entrance fee as of November 2015: About 64 pesos. Ruinas Yaxchilan: These ruins of Yaxchilan were probably my favorite ones in Mexico. They were definitely not the largest by any means, and there were a lot of mosquitoes, and because of the mandatory boat ride, they were also the most expensive. However, they were almost empty when we got there, they really felt like ruins due to the moss and grass growing over them, and we could see tons of monkeys climbing around in the trees. You could also go inside one of the ruins, which had several passageways. In terms of feeling like you were walking through the past, Yaxchilan was the most authentic site to me. Entrance fee as of November, 2015: 64 pesos. Cost of the boat ride: varies by number of people on the boat and negotiations, but we paid 175 each and we had a small boat which took us and one other couple. Most people seemed to do organized tours through hotels. Total cost: 239 El Chiflón (Waterfall not terribly far from San Cristóbal de las Casas): My favorite waterfall in México, this involved a strenuous walk to the top, and included many great viewpoints of the falls and surrounding areas. We stayed at a very green painted place, about one mile outside for 250, for a private room with a bathroom. You should know that there is only one restaurant outside of the park (very weird for Mexico), and they had almost nothing and played obnoxious music extremely loud. We ate snacks for dinner. Entrance fee to El Chiflón as of November, 2013: We forgot, but it was less than 50 I think. Grutas de Mamut (Mamut Cave): This was only about a half hour colectivo ride from San Cristóbal de las Casas, and was a highlight for several reasons. 1. It was incredibly cheap. The park entrance fee was 5 pesos, 10 for the cave, and 10 for a canoe ride. As of November, 2015, that was less than $1.50 US. 2. There was almost no one else there. We were actually the ONLY non-workers there. 3. We got to explore the cave by ourselves, which was lit up by lightbulbs (I still recommend bringing a flashlight though). They had various signs labeling special areas in there, and for 10 pesos, was actually a pretty cool cave. 3. The canoe ride was interesting. Nothing amazing, but it was just so inexpensive and quiet. 4. The restaurant there had really good quesadillas with freshly blended salsa, for 30 pesos. Partido de Fútbol (Soccer game): We saw the National Mexico team stomp the National El Salvador team at Estadio Azteca, in Mexico City. The crowd was into it and the seats weren’t that expensive (we stood the entire time anyway). The transportation to get there was a lowlight though, because my wallet was pick pocketed. I recommend taking a taxi or Uber if you want to go to a big event or if it’s rush hour time. Ría Celestún (Celestún River): For 230 pesos, we had an awesome tour through the Riá Celestún Biosfera Reserva. Flamingos, blood red Mangroves, birds, and two crocodiles up close. This is much cheaper than Si’an Ka’an Biosfera Reserva. Prices are as of December, 2015. Capital Cities and Magic! Concert: Corona sponsors concerts for a good deal. You buy like a 24 pack and you get free tickets to the concert. The music was good, the people were nice, and they bad affordable and delicious food trucks there. It was the best burger I have had in México and Central America (as of February 25, 2016). Trés Cenotes de Cuzamá: First, let me say that some of the horses that they use, looked mistreated and some looked malnourished. This was very depressing and unsettling. However, the only way to get to the cenotes, is via the tour, which involves a long and bumpy horse and buggy ride on railroad tracks through the jungle. There are a lot of cenotes in Southeastern México, but these were definitely our favorite ones. These were the only ones that we saw which were actually underground, and they had fish in them as well. Tour cost as of December, 2015 Chichén Itzá Free Lightshow: Free light show! The Chichén Itzá entrance fee for foreigners was a bit over 200 pesos, making it far more expensive than the other ones (not counting Yaxchilan, which required a long boat ride just to get to). The only way to get around this, is the light show! I wouldn’t say this is worth it unless you are already going to be somewhere in the area or will be doing Chichén Itzá in the morning, and want a different kind of ruins experience. Go to a tourism office to get the free tickets. You will also have to print out the tickets unfortunately, but there are internet cafe places all around México. Snorkeling at Akumal Bay: One of my absolute favorite activities in México! We had a one hour, private snorkeling tour, with a very enthusiastic Spanish-speaking guide, who dragged us (literally) along in the water while we held onto a life saver donut. He pointed out various fish, coral reef, and other wildlife, took us to see the sea turtles, and tried his best to convey information to us since our Spanish was not only below average, but we especially didn’t know Marine life terminology in Spanish. I believe that you should only tip tour guides if it was actually a great tour, and this one was. Also, you can only go in certain areas if you have a guide. The cost was only 200 pesos per person (about $12 US at the time), and included life jacket rental and full snorkel equipment rental. VERY WORTH IT! Renting a Moto on Cozumel: First, let me say that the island of Cozumel itself, was a lowlight for us. However, we didn’t scuba dive. If you have the money and time to scuba dive, then it is different. That being said, Cozumel is well set up for riding a scooter around, and at 300 pesos, it wasn’t a terrible deal for two people to split. We did a full loop around the island, and enjoyed it thoroughly. If you already own a Moto or have ridden them before, this might be a lot less thrilling for you. El Tigre y El Toro, Cancún: Awesome restaurant! More details in the food section. CITIES 1. San Cristóbal de Las Casas: Awesome mountain town in Chiapas. Much cooler weather, nice people, good markets, lots of accommodation choices, plenty of international food if you’re getting tired of eating tortillas every day, and is also a good base for many of the above-mentioned highlights of my trip. 2. México City (La Ciudad de México), or sometimes just referred to as México): First, the Good: México City is unlike any other city I have seen before. Well, the closest I could compare it to, would be a much more inexpensive, more polluted New York City, but with almost ONLY Mexicans, tons of markets, and fewer skyscrapers. You can get around so cheaply there, there are plenty of awesome Couchsurfers, the food is very cheap, and you can’t run out of things to do. The Bad: Horrific levels of pollution. My lungs burned from time to time. Terrible traffic everywhere, with terrible drivers. Lots of trash on the streets and at the markets. Overcrowded in general. 3. Mérida: A more modernized City in Yucatan State, with good weather, lots of nice people, great food, and a good base for many activities. Also, the architecture is nice. 4. Campeche: The Good: Nice architecture and some nice artwork. The view of the coast is also nice. The Bad: no budget accommodation, things close VERY early, and food is more expensive too. Also, you can’t swim anywhere, despite being on the coast… Not worthy of more than a day, in my opinion. 5. Playa del Carmen: The Good: Cool Couchsurfers there, lots of beach, and nightlife. The Bad: Nothing to do there other than go to the beach and get drunk. It was overrun with foreigners and felt very inauthentic for México. We were very disappointed overall. 6. Tulum (the City): This place exists because of the popular ruins. They have plenty of hostels and a variety of food, but most of the food is overpriced. I will discuss the ruins more as a…surprise..lowlight. 7. Izamal (The yellow city): I really enjoyed this city, and wish that we had more time, but we were in a bit of a hurry and only spent several hours here. There are some cool ruins which are literally part of the city, and cost nothing to enter. Other things that we enjoyed: Teotihuacan : Cool ruins with a very high Temple of the Sun. Close to Mexico City. Go to Terminal del Norte to get there using public transit. MonteAlban: I did this with some other people, and it was really cool. Not terribly crowded, cool places to climb up, and good views. Close to Oaxaca. Museo de Antropologia: I did this with my CS host, and it’s usually suggested for a reason. A seemingly never ending Museum. Lagos de Montebello: in Chiapas. Go on a clear day. Las Nubes: cool area to hike in Chiapas, not many people go there. Ask for a room just outside the park. Cascadas de Agua Azul: Also in Chiapas. Cool pools, good workout, lots of vendors. Misol-Ha: Chiapas! Nice waterfall, you can hike behind it (expect to get soaked). Laguna Bacalar: beautiful lake, a good break from saltwater, and cenotes nearby. Parque de las Palapas: A good place to get local food and avoid white people, in Cancún. El Arcotete: This is a sort of open air cave, a short colectivo ride from San Cristóbal de las Casas. Not a long path, but rather unique looking. Inexpensive, nice area to walk around the river. They have ziplining there, but we didn’t bring much money. LOWLIGHTS Cozumel: overpriced everything, but diving. The only point to come here, would be if you need a cheap place to get your PADI Open Water Certification. There are also way too many tourists, especially at cruise ship time. Playa del Carmen, Cancún, and Campeche: Playa del Carmen and Cancún didn’t have a Mexico feel to them. I felt like I was back in the U.S., in Florida. If you have no interest in Mexican culture or learning any Spanish, you will feel right at home. Campeche was just uneventful and lacking in things to do, and clearly did not cater to backpackers. Playa Huatulco: First, let me say that the beach itself, is very nice, in terms of aesthetics and swimming. However, I have never met more annoying people than those who work in the restaurants along the beach. Nonstop harassment to eat at their restaurants and buy drinks. They were always staring at us, waiting for us to get out of the water or out of our car to harass us. If we had a lot of money, our opinion of this place would go up a lot, but we’re backpackers, so it sucked. Ruinas Tulum: The location itself, is the only reason I can think of for why you would want to go to these ruins. They are the only beach ruins set on a cliff, at least that we visited (Cozumel has ruinz, but they were like 170 pesos, were flooded with tourists, and very small in comparison), and are an easy day trip from Cancún. We were expecting to spend several hours there, but we just couldn’t. There were over a thousand people there, and the ruins themselves aren’t that big. It didn’t feel at all like we were in ancient ruins. I felt like I was at a crowded zoo. Also, you can’t climb on top of ANY of the ruins there. They are all roped off. Ugh! Oh, and the beach was very small and overcrowded as well. Getting pickpocketed, my phone being stolen, and losing my Camera: Self-explanatory. Stepping in a hole filled with disgusting sludge and trash. Absolutely revolting. Always watch your step, even on the sidewalks. Postal System: Horribly slow. Like, several months slow. Dogs. I love dogs. You probably love dogs too. Holy crap, there are tens of thousands (millions?) of stray dogs in México. In some areas, they harass you when you try and get by, it’s very unsettling to see some of them that are very starved, and they go absolutely CRAZY at night, in about half of the cities that I have been to. FOOD: Nobody knows more ways to alter a tortilla than Mexicans. Forget Taco Bell, and embrace the true Mexican cuisine. It’s very easy to find cheap Mexican food. It’s not easy to find decent international food that’s cheap. Keep that in mind. I loved marquesitas and Salbutes in Yucatan State, horchata and té con Jamaica, queso fundido (it’s not the same in Guatemala :'( ), tacos, huaraches, quesadillas, chille rellenos, Panuchas, sopes, Mezcal and lots of other foods. I did not enjoy Atole (corn drink), Mexican cheese (Queso de Bola is from Holland), EVERYTHING made by Bimbo, Principe cookies, Jumex juice, all of their packaged bread (like in most countries), their bakery “cake,” Golden Hills ice cream (worst ice cream that I’ve ever had in my life), and Nikkolo chocolate bars (so bad, that I turned down free Nikkolo bars). Some of our favorite places that we ate (and actually wrote the names down of): 1. El Tigre y El Toro Pizza, Cancún…hands down, our favorite place that we ate at in Mexico. Granted, it was also our most expensive meal. The pizzas were about 130 pesos each, but we’re pretty big and were absolutely amazing. I had an Argentinian meat pizza, and Marleen had a pescatarian one with shrimp on it. We both agreed it was some of, if not the, best pizza that we ever had. Also, the place was beautiful and we sat outside under umbrellas while it rained around us. It’s kind of sad, but this place was one of our highlights of Mexico. It was that good. 2. La Boxita, Mérida (pronounced Lah Boh-sheetuh) This is the first place we ate at, in Mérida, and they had lots of cool food to try, at a good price, with helpful staff. It’s in one of the local shopping markets. Ask around. 3. Pola ice cream shop in Mérida: Lots of cool flavors to try and you get three scoops in a waffle bowl for 50 pesos. We had two bowls each so we could try more flavors… Peanut butter chocolate with caramel, Chai Tea, and Stracciatella for me, and Cardamom Expresso, Dark chocolate, and Peppermint for Marleen. Her favorites were Chai Tea and Cardamom Expresso, for uniqueness. Mine were the Peanut Butter Chocolate with Caramel, Chai Tea, Cardamom Expresso, and the Peppermint mixed with the dark chocolate. Okay, I loved them all, just the Stracciatella was the least interesting. 4. El Sultan, Puerto Escondido Delicious falafel, pizza things, and hummus, all at a good price. 5. Antojitos La Chiapaneca, Tulum: One of the only backpacker-priced places in Tulum. They had a good variety of authentic Mexican food and a buffet style thing for some extra things to add to your food, like onions, pico de Gallo, and salsas. I highly recommend this place if you’re in Tulum. 6. El Rey del Tacos, Playa del Carmen We would have never found this place if not for our awesome Couchsurfing host, Jorge. They had great tacos there, you just order what kind you want, and then pile on however many beans, salsa, onions, cactus, radish, and other stuff that you want, on top. The cost was 10 pesos for no cheese, and 13 for cheese. 7. Eladio’s, Progreso Tapas! Just order some drinks and they bring you a wide variety of “free” food. Easier if you speak some Spanish, especially if you’re a vegetarian. The drinks themselves taste good, but are weak. 8. Quekas, Cancún One of the only cheap places that we saw. Big quesadillas for 13 pesos, including fillings that other places didn’t have. If you see a lot of locals eating somewhere, it’s probably for a reason (cheap and/or good food. VEGETARIAN FRIENDLINESS (by Marleen, my Vegetarian girlfriend): The first days in Mexico I wasn’t sure if I can handle being a vegetarian there. In the beginning it seemed like nobody knew what I was talking about when I asked for something “sin carne” or “vegetariano”. They would just send me away with a sympathetic look. But after awhile I figured out it’s actually not too bad. Especially in Mexico City, it’s easy to find smoothie, fruit, vegetable and nut vendors. If you are an avocado and cactus lover, then that is your country. Quesadillas are vegetarian friendly and there is some more traditional food which is without meat. Apart from that you will always be able to find just “arroz” (rice), “frijoles” (beans), “huevos” (eggs) and tortillas. Worst case scenario would be a cheap (seriously!) salad from Walmart. Also you can always just try to explain that you don’t wanna have anything meat like on your tortilla. “No pollo, cerdo o carne de rez. No quiero nada.” Some of them may be very confused. Overall I think it was fine. From time to time I got a bit tired of all the tortillas, beans, etc.., but then it is just worth it from time to time to get to a more international restaurant in a city. It still won’t kill your budget! FREE STUFF TO DO: Chichén Itzá light show. Going to beaches and swimming Exploring the cities Hitchhiking Some local activities Most bars are free to enter Most things cost, but cost very little. WEATHER: Very varied. México has deserts, dry mountains, jungle mountains, lowland jungle, tons of beaches, and lots of farmland. If you’re looking to escape the heat, check out San Cristóbal de las Casas. I was there from October 15th to December 20th, and it didn’t rain very often at all. BE WEARY OF POSSIBLE HURRICANES DURING HURRICANE SEASON! COUCHSURFING We found it easier than expected to find a host there. San Cristóbal needs more hosts to deal with the large backpacker crowd. It’s very easy in México City (I had three different hosts, for fun). NIGHTLIFE: I’m not huge into bars or clubs, but they do exist in larger cities. Mezcal is delicious! I went to a salsa bar in San Cristóbal, and it was free and there were a lot of people dancing. TYPICAL COSTS OF… Ruins: 64 pesos Horchata: 10 pesos Small tacos: Anywhere from 2 to 20 pesos. Hostel bed, 90-150, 120 is typical. Private room at a local place: 200-350, mostly around 250 (we did see one for 150, but we decided to pay 50 more for a private bathroom, fan, and TV). Cigarettes: 10-25 pesos (we don’t smoke though). One beer: 10-20 pesos Magnum Ice Cream bar: 20-25 pesos. Bakery food: Cheap. Five tomatoes at a local market: 5 pesos Bananas: 1 or 2 pesos at local market. 1 hour colectivo transport: 15-30 pesos. WHAT TO BRING: Student I.D: You can save hundreds of pesos. You can buy most of what you would need, in México. I recommend having: -A Money belt (under your shirt), -Unlocked phone -Small camera (my Sony Rx100 was really expensive, but I think it’s worth it for a long trip if you like photography) -Charger for phone and camera -Specialty products if you want them, like aluminum-free deodorant and special toothpaste, and tampons. -Electronics in general…they cost more and they have mostly crappy choices, especially for cameras. -A journal of some sort -A good book. Most hostels have a book exchange -Your own MP3 player of some sort (better if your phone has music) and headphones -If you don’t speak much Spanish, download the offline Spanish Language pack. I also recommend the Memrise App. -If you want to go out dancing a lot and fit in, then some nice jeans (they weigh too much for me). -Mexicans in general, wear pants or a long dress, unless at the beach, even if it’s really hot outside. -If you are interested in drawing, bring your own supplies. -A deck of cards (surprisingly difficult to find in México) -Swimming trunks -Ziplock bags -Snorkel stuff or at least swimming goggles. -First Aid kit WHAT NOT TO BRING: -Lots of extra clothes -Laptop (unless you need it for work or are obsessed with writing/photo editing). That being said, if you traveling with at least one other person, it would be nice to have a small computer, so long as you’re careful about locking it up. -Winter clothes (a light rain jacket is good) -Camping stuff, unless you’re definitely going to use it a lot (which most people don’t) -Jeans (unless you won’t be moving much and really feel like you need to look nice) -Hair dryer -Too many things. Only YOU can decide what is too much, but I see many backpackers walking around with a 70+ Liter bag AND another small backpack in the front. I have a school-sized backpack…maybe 35liters, and I have space for food, water, a snorkel mask, my camera case, a first aid kit, a notebook, and a handful of other smaller books. This means I can carry my stuff around easily in cities, without first having to find a place to leave my stuff. I can also easily put my bag in the overhead on planes, easily ride public transit, and in general, my back suffers less (although my backpack itself kind of sucks). Honestly, if I didn’t have an obsession with writing and photography, and eating, then I could fit all of my stuff in a 25 liter pack. SAFETY: Did I feel safe overall? Yes. Like most major cities, there are some places to avoid in Mexico City. Also, some areas near the border of the U.S., and then some parts of other states. For the most part, I felt just as safe in Mexico as in the U.S. Don’t let the media scare you out of an amazing experience (unless you suck). *Extra information that I didn't put in my blog* -Wear sunscreen when at the beach. Seriously. I got heat exhaustion in Oaxaca and felt like I was dying. -Outside of tourist areas (like Playa del Carmen) or near the border with the U.S., don't expect to hear much English from locals. Any questions? AMA
0non-cybersec
Reddit
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application. I need to scale my app adding some spot instances that EB do not support.</p> <p>So I create a second autoscaling from a launch configuration with spot instances. The autoscaling use the same load balancer created by beanstalk.</p> <p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p> <p>This work fine, but:</p> <ol> <li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p> </li> <li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p> </li> </ol> <p><strong>UPDATE</strong></p> <p>Elastic Beanstalk add support to spot instance since 2019... see: <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
0non-cybersec
Stackexchange
MRW my mom tried out new glasses.
0non-cybersec
Reddit
Efficient Implementation of Taylor Series for Sine. <p>I am trying out a few forms of polynomial expression optimization, and I'd like to improve of what I've got, if anyone has anything they know is better.</p> <p>Implementation 1:</p> <p>$$x-\frac{x^3}{3!}+\frac{x^5}{5!}-\frac{x^7}{7!}$$</p> <p>To the best of my knowledge, this has 3 add/subtracts, 21 muls, and 3 divs.</p> <p>Implementation 2:</p> <p>$$x(1+x^2(\frac{-1}{3!} + x^2(\frac{1}{5!} + x^2(\frac{-1}{7!}))))$$</p> <p>This appears to have 3 adds/subracts, 13 muls, and 3 divs. This is assuming that $x^2$ is precalculated. (I may have counted wrong here.)</p> <p>Implementation 3:</p> <p>$$x(1+\frac{x^2}{3!}(-1 + \frac{x^2}{5*4}(1 - \frac{x^2}{7*6}))))$$</p> <p>This appears to have 3 adds/subtracts, 6 muls, and 3 divs. Edit: Again, assuming a precalculated $x^2$.</p> <p>Note: In all my factorial calculations, I have not done the $*1$ final multiply.</p> <p>Am I doing anything wrong here, or is there any way this implementation can be made more computationally efficient?</p>
0non-cybersec
Stackexchange
Am I crazy? Switching an established product from HSQLDB to Apache Derby. <p>I have an established software product that uses HSQLDB as its internal settings database. Customer projects are stored in this database. Over the years, HSQLDB has served us reasonably well, but it has some stability/corruption issues that we've had to code circles around, and even then, we can't seem to protect ourselves from them completely.</p> <p>I'm considering changing internal databases. Doing this would be fairly painful from a development perspective, but corrupted databases (and <em>lost data</em>) are not fun to explain to customers.</p> <p>So my question is: Does anyone have enough experience to weigh in on the long-term stability of Apache Derby? I found a post via Google complaining that Derby was unstable, but it was from 2006 so I'd entertain the idea that it has been improved in the last 4 years. Or, is there another pure Java embedded (in-process) database that I could use (commercial or open-source). Performance isn't very important to me. Stability is king. Data integrity across power loss, good BLOB support, and hot-backups are all a must.</p> <p>Please don't suggest something that isn't a SQL-based relational database. I'm trying to retrofit an existing product, not start from scratch, thanks.</p>
0non-cybersec
Stackexchange
How to add webhooks in gitlab for multibranch pipeline jenkins. <p>I want to trigger multi-branch pipeline for every push, can anyone please let me know can how can we configure web-hooks in gitlab for multi-branch pipeline.</p>
0non-cybersec
Stackexchange
I am so confused!....
0non-cybersec
Reddit
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application. I need to scale my app adding some spot instances that EB do not support.</p> <p>So I create a second autoscaling from a launch configuration with spot instances. The autoscaling use the same load balancer created by beanstalk.</p> <p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p> <p>This work fine, but:</p> <ol> <li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p> </li> <li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p> </li> </ol> <p><strong>UPDATE</strong></p> <p>Elastic Beanstalk add support to spot instance since 2019... see: <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
0non-cybersec
Stackexchange
Fresh Debian Install boots without GUI while Gnome being installed. <p>I installed a Debian (I've forgotten the exact Version) from a DVD onto a fresh system. Everything seemed to be fine. The grub menu opened and I was able to choose between Debian and Debian Recovery. Both of these choices stopped the boot process at some point (fb: conflicting fb hw usage nouveaufb vs EFI VGA - removing generic driver). With the help of (nouveau.modeset=0) Debian seems to boot correctly. It appears a black screen with the blinking _ cursor. Pressing Ctrl + Alt + F1 opened a full screen console. Everything seems to work except for the GUI.</p> <p>I tried <code>sudo startx</code> but this gives me an Error</p> <blockquote> <p>Fatal server error: no screens found</p> </blockquote> <p>I already searched the WEB and figured out it might have something to do with the Nvidia Card (GTX 950)</p> <p>I'm open to all new attempts on how to resolve this.</p>
0non-cybersec
Stackexchange
Entangle Schrödinger's cat to up its quantum weirdness. Two doubly quantum experiments serve as a rare experimental example of just how strange the quantum world is.
0non-cybersec
Reddit
Run a Docker Image as a Container (for windows users). <p>I built a docker image from a dockerfile. I see the image was built successfully ( <code>$ docker images</code>) and when I use this command to run the image as a container :</p> <pre><code>$ docker run -i -t 8dbd9e392a96 </code></pre> <p>My application was running successfully, but when I'm trying to open I've this message </p> <blockquote> <p>This site can’t be reached</p> </blockquote> <p>This is my list of images : </p> <pre><code> $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE blog latest b9c52b9f2999 About an hour ago 143MB openjdk 8-jre-alpine 14a48fdee8af 3 days ago 83MB </code></pre> <p>and my containers list : </p> <pre><code>$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 4dbb68c87813 b9c52b9f2999 "./entrypoint.sh" 27 minutes ago Up 27 minutes 8080/tcp dazzling_shirley </code></pre> <p>I got this result after running the app using docker image : </p> <pre><code> ---------------------------------------------------------- Application 'blog' is running! Access URLs: Local: http://localhost:8080 External: http://172.17.0.2:8080 Profile(s): [dev, swagger] ---------------------------------------------------------- </code></pre> <p>I dunno why the app didn't work any help please ?? ! </p>
0non-cybersec
Stackexchange
Difference between pointer to pointer and pointer to array?. <p>Given that the name of an array is actually a pointer to the first element of an array, the following code:</p> <pre><code>#include &lt;stdio.h&gt; int main(void) { int a[3] = {0, 1, 2}; int *p; p = a; printf("%d\n", p[1]); return 0; } </code></pre> <p>prints <code>1</code>, as expected.</p> <p>Now, given that I can create a pointer that points to a pointer, I wrote the following:</p> <pre><code>#include &lt;stdio.h&gt; int main(void) { int *p0; int **p1; int (*p2)[3]; int a[3] = {0, 1, 2}; p0 = a; p1 = &amp;a; p2 = &amp;a; printf("p0[1] = %d\n(*p1)[1] = %d\n(*p2)[1] = %d\n", p0[1], (*p1)[1], (*p2)[1]); return 0; } </code></pre> <p>I expected it to compile and print</p> <pre><code>p0[1] = 1 (*p1)[1] = 1 (*p2)[1] = 1 </code></pre> <p>But instead, it goes wrong at compile time, saying:</p> <pre><code>test.c: In function ‘main’: test.c:11:5: warning: assignment from incompatible pointer type [enabled by default] </code></pre> <p>Why is that assignment wrong? If <code>p1</code> is a pointer to a pointer to an <code>int</code> and <code>a</code> is a pointer to an <code>int</code> (because it's the name of an array of <code>int</code>s), why can't I assign <code>&amp;a</code> to <code>p1</code>?</p>
0non-cybersec
Stackexchange
[WP] The monster under your bed makes a surprisingly good therapist.
0non-cybersec
Reddit
The Curiosity Mars rover took this image of itself in front of Mount Sharp while exploring Vera Rubin Ridge last week..
0non-cybersec
Reddit
I built a river coffee table out of a maple slab and some walnut off cuts.
0non-cybersec
Reddit
I volunteered to be the student for a sword dancing lesson on a Fox Morning Show. When we entered the studio, there was no communication, and the hosts just threw to music. Here, I am, shirtless, in a turban, making up a dance on live TV. I have never belly danced before. (X-post from r/Cringe).
0non-cybersec
Reddit
One step at a time..
0non-cybersec
Reddit
TIL a woman named Margie Schoedinger filed a sexual assault law suit against George W Bush back in 2002, and then a few months later, was found dead..
0non-cybersec
Reddit
How to Recover files from a CDROM?. <p>i have a mini cdrom, there are bluetooth drivers on it.<br> <br> i wanted to copy the files from the cdrom, but it seems...one file [?] is corrupted<br> <br> Can anyone help me? How could i recover the files from my CD? [using Fedora 14]<br> <br> Can anyone post a link to a page/howto?<br> Thank you:\<br></p>
0non-cybersec
Stackexchange
Nginx with mod_security on EC2. <p>I am looking to get some ideas and see what others are doing in terms of managing/keeping updated Nginx + mod_security on EC2 instances. The catch with this is that mod_security needs to be compiled and then Nginx needs to be compiled with mod_security vs. installing via package.</p> <p>Just to clarify some of the confusion - I am not looking for a product recommendation. I am aware of plenty of products and tools (Chef, Puppet, etc) and have used them in the past myself. </p> <p>What I am interested in is technique and workflow. For example, do you use a lifecycle management tool to build an EC2 instance and then attach an EBS-volume to it. Do you build AMI's and then keep those up to data periodically, e.g. I make an AMI, update it as needed, take my production EC2 instance and replace it with the AMI that just has been updated - with data stored on a separate volume and attached to the new AMI. Or do you do something else?</p>
0non-cybersec
Stackexchange
Happening to me right now....
0non-cybersec
Reddit
Find a harmonic conjugate $v$ so that $f=u+iv$ is holomorphic. <p>We have to show that, for $\xi \in \partial K(0,1)$, the function</p> <p>$$ u_\xi = \frac{1-|z|^2}{|\xi - z|^2} $$</p> <p>is harmonic in $K(0,1)$ and then find the harmonic conjugate to $u_\xi $.</p> <p>It's very cumbersome to differentiate the function directly and prove it's harmonic that way, and I assume even more complicated to find its harmonic conjugate.</p> <p>What about finding a function $v$ such that $f=u+iv$ is holomorphic? Something like (what it looks like for $\xi = 1$ )</p> <p>$$f=\frac{g_1+i g_2}{1-z}$$</p> <p>Any ideas?</p>
0non-cybersec
Stackexchange
Change hotkey for autocomplete selection. <p>In Eclipse, I find it pretty annoying that Enter is the hotkey that selects an item from the Content Assist/Autocomplete list. Especially in PyDev where there is no end-of-line semicolon, pressing enter for a new line will instead give me whatever is selected in the Autocomplete list.</p> <p>Tab is a much better selection hotkey since I'm not likely to want a tab mid-line.</p> <p>Any chance of changing this in Eclipse?</p> <p>Using CDT, PDT, and PyDev, but interested in any solution related to Eclipse.</p>
0non-cybersec
Stackexchange
Mame, KxMame, GMameUI not working after upgrade. <p>In previous releases, Mame and KxMame were working fine, but not any more since 10.10 .</p> <p>Both front ends ask for the executable path, but no matter which I choose, they don't work.</p> <p>Does anyone know how to fix this?</p>
0non-cybersec
Stackexchange
Pepperoni Cheese Bread from Calandra's Bakery, New Jersey [OC] [882x960].
0non-cybersec
Reddit
"Strange crystals": A minecart ride under 1KiB of JavaScript.
0non-cybersec
Reddit
eigenvalue estimate of the adjacency matrix. <p>The adjacency matrix of a nonempty (undirected) graph has a strictly positive largest eigenvalue $\lambda_\max$. A very easy upper estimate for it can be obtained directly by Gershgorin's theorem: $$ \lambda_{\max}\le \Delta\ , $$ where $\Delta$ is the maximal degree of the graph. Are any further estimates known?</p> <p>And are there known lower estimates on the lowest eigenvalue $\lambda_\min$?</p>
0non-cybersec
Stackexchange
ITAP of a skyscraper..
0non-cybersec
Reddit
Heckin big floofer.
0non-cybersec
Reddit
Are there non-Hausdorff examples of maximal compact topologies in the lattice of topologies on a set?. <p>In the lattice of topologies on a set $X$, the compact topologies are a lower set in the lattice, while the Hausdorff topologies are an upper set. A result of <a href="http://www.proofwiki.org/wiki/Continuous_Bijection_from_Compact_to_Hausdorff_is_Homeomorphism">this theorem</a> is that the compact Hausdorff topologies are maximal elements in the set of compact topologies and minimal elements of the set of Hausdorff topologies in this lattice.</p> <p>I have been failing to construct an example of a maximal compact topology that is not Hausdorff, but I feel like I am just lacking imagination - it seems unlikely that all maximal compact topologies are Hausdorff.</p> <p>Finite topologies won't work, since the only Hausdorff topology on a finite set is the discrete topology, and, as the maximal element in the lattice, the only maximal compact topology.</p> <p>My intuition is that there must be such examples, but it seems just possible that if a compact set is not Hausdorff, we might be able to create a new compact topology that is larger in the lattice.</p> <p>There is the obvious dual question, too: Is there a minimal element of the set of Hausdorff topologies which is not compact?</p> <p>Just to make the problem self-contained, the result referenced above is:</p> <blockquote> <p>A continuous bijection from a compact space to a Hausdorff space is a homeomorphism.</p> </blockquote> <p>If $(X,\tau)$ is compact and Hausdorff, and $\tau\subseteq \tau'$ with $\tau'$ also a compact topology, then the identity function $(X,\tau')\to(X,\tau)$ is a continuous bijection from a compact space to a Hausdorff space, so it must be a homeomorphism, which implies $\tau=\tau'$.</p> <p>Similarly, a compact Hausdorff topology is minimal Hausdorff topologies.</p>
0non-cybersec
Stackexchange
novell certificate file missing after restart. <p>Every time I restart my Novell Groupwise on Suse Open Enterprise server the root certificate goes missing. Thats why ldap is not starting and so the other services are not working. After repairing the cert on the second server via imanager everything works fine, until the next restart. This only happens on the first server. The second restarts without problems. </p>
0non-cybersec
Stackexchange
I caught my dog doing this ridiculous pose..
0non-cybersec
Reddit
Proof that convergence almost everywhere is not topological.. <p>I have written the following proof that convergence almost everywhere is not topological, and I would like it checked if you guys please:</p> <p>Assume that $\tau$ is the topology of almost everywhere convergence. </p> <p>Let $f_n$ be a sequence of measurable functions dominated by an integrable function.</p> <p>Lemma: If $f_n\to f$ in $\tau$ then $f_n\to f$ in $L^1$.</p> <p>Theorem: $f_n\to f$ in $L^1$ implies $f_n\to f$ in $\tau$</p> <p>Proof:</p> <p>$f_n\to f$ in $L^1$ implies that every subsequence of $f_n$ converges to $f$ in $L^1$. But then for every subsequence of $f_n$, we have a subsequence (of the subsequence) that converges almost everywhere to $f$. </p> <p>Thus, for every subsequence of $\{f_n\}$, there is a subsequence of that subsequence that converges to $f$ in $\tau$.</p> <p>But $\tau$ is a topology and we can thus conclude that $f_n$ converges to $f$ in $\tau$. End Of Proof.</p> <p>Therefore, we have proved that convergence in $L^1$ for a set of measurable dominated functions implies almost everywhere convergence. </p> <p>However, the typewriter sequence satisfies the hypothesis without converging almost everywhere. </p> <p>Thus, we have proved a wrong theorem and thus our assumption that $\tau$ exists was wrong.</p> <p>Thus, convergence almost everywhere is not topological.</p>
0non-cybersec
Stackexchange
Stride of Pride.
0non-cybersec
Reddit
TIL In 1979 in Sweden, a number of people called in sick with a case of "being homosexual," in protest of homosexuality being classified as an illness..
0non-cybersec
Reddit
Buckhead Homes.
0non-cybersec
Reddit
My friend ACTUALLY pitched me this movie idea last night..
0non-cybersec
Reddit
Questions related to $f(x)$ where the Riemann Xi function $\xi(s)=s\int_0^\infty f(x)\,x^{-s-1}\,dx$. <p>I realize this question is a bit long and contains quite a few formulas, but I believe a considerable amount of background and context are needed to fully understand my questions below. Also, I suspect some of the results illustrated below may be new and perhaps of some theoretical interest and/or interest to others as well as myself.</p> <hr> <p>This question is related to the following six pairs of functions where <span class="math-container">$F_i(s)=s\int\limits_0^\infty f_i(x)\,x^{-s-1}\,dx$</span>. Note <span class="math-container">$F_6(s)$</span> evaluated with <span class="math-container">$a(n)=1$</span> corresponds to the Riemann Xi function <span class="math-container">$\xi(s)$</span>. All of the <span class="math-container">$f_i(x)$</span> functions defined below are even functions of <span class="math-container">$x$</span> and I believe all are examples of non-analytic smooth functions assuming <span class="math-container">$f_i(0)$</span> is defined as <span class="math-container">$f_i(0)=\underset{x\to 0}{lim}\,f_i(x)=0$</span>.</p> <hr> <p><strong>(1)</strong> <span class="math-container">$\quad f_1(x)=\sum\limits_{n=1}^\infty a(n)\,e^{-\frac{n^2}{x^2}}\qquad\qquad\qquad\quad F_1(s)=\Gamma\left(\frac{s}{2}+1\right)\sum\limits_{n=1}^\infty\frac{a(n)}{n^s}$</span></p> <p><strong>(2)</strong> <span class="math-container">$\quad f_2(x)=\sum\limits_{n=1}^\infty a(n)\,e^{-\frac{\pi\,n^2}{x^2}}\qquad\qquad\qquad F_2(s)=\pi^{-\frac{s}{2}}\Gamma\left(\frac{s}{2}+1\right)\sum\limits_{n=1}^\infty\frac{a(n)}{n^s}$</span></p> <p><strong>(3)</strong> <span class="math-container">$\quad f_3(x)=\sum\limits_{n=1}^\infty a(n)\frac{2\,n^2}{x^2}\,e^{-\frac{n^2}{x^2}}\qquad\qquad\quad F_3(s)=s\,\Gamma\left(\frac{s}{2}+1\right)\sum\limits_{n=1}^\infty\frac{a(n)}{n^s}$</span></p> <p><strong>(4)</strong> <span class="math-container">$\quad f_4(x)=\sum\limits_{n=1}^\infty a(n)\frac{2\,\pi\,n^2}{x^2}\,e^{-\frac{\pi\,n^2}{x^2}}\qquad\qquad F_4(s)=\pi^{-\frac{s}{2}}s\,\Gamma\left(\frac{s}{2}+1\right)\sum\limits_{n=1}^\infty\frac{a(n)}{n^s}$</span></p> <p><strong>(5)</strong> <span class="math-container">$\quad f_5(x)=\sum\limits_{n=1}^\infty a(n)\left(\frac{2\,n^2}{x^2}-1\right)\,e^{-\frac{n^2}{x^2}}\qquad F_5(s)=(s-1)\,\Gamma\left(\frac{s}{2}+1\right)\sum\limits_{n=1}^\infty\frac{a(n)}{n^s}$</span></p> <p><strong>(6)</strong> <span class="math-container">$\quad f_6(x)=\sum\limits_{n=1}^\infty a(n)\left(\frac{2\,\pi\,n^2}{x^2}-1\right)\,e^{-\frac{\pi\,n^2}{x^2}}\quad F_6(s)=\pi^{-\frac{s}{2}}(s-1)\,\Gamma\left(\frac{s}{2}+1\right)\sum\limits_{n=1}^\infty\frac{a(n)}{n^s}$</span></p> <hr> <p>I've been investigating all of the functions above with various definitions of the coefficient function <span class="math-container">$a(n)$</span> but in this question I'm going to focus on <span class="math-container">$a(n)=\Lambda(n)$</span> because the following two formulas for <span class="math-container">$\frac{\zeta'(s)}{\zeta(s)}$</span> can be used to derive explicit formulas for all six of the <span class="math-container">$f_i(x)$</span> functions defined above when evaluated with <span class="math-container">$a(n)=\Lambda(n)$</span>. For the remainder of this question <span class="math-container">$f_{\Lambda i}(x)$</span> denotes <span class="math-container">$f_i(x)$</span> above evaluated with the coefficient function <span class="math-container">$a(n)=\Lambda(n)$</span>.</p> <hr> <p><strong>(7)</strong> <span class="math-container">$\quad\frac{\zeta'(s)}{\zeta(s)}=\sum\limits_\rho\frac{1}{s-\rho}-\frac{1}{2}\psi^{(0)}\left(\frac{s}{2}+1\right)+\frac{1}{1-s}+\frac{1}{2}\log(\pi)$</span></p> <p><strong>(8)</strong> <span class="math-container">$\quad\frac{\zeta'(s)}{\zeta(s)}=s\sum\limits_\rho\frac{1}{\rho\,\left(s-\rho\right)}-\frac{1}{2}H_{\frac{s}{2}}+\frac{s}{1-s}+\log(2\,\pi)$</span></p> <hr> <p>My previous two questions at the links below are related to the two formulas for <span class="math-container">$\frac{\zeta'(s)}{\zeta(s)}$</span> defined in (7) and (8) above, but these earlier questions are a bit tangential to my primary investigation as of late which is more fully illuminated in this question.</p> <hr> <p><a href="https://math.stackexchange.com/q/2968521%7D">What is the convergence of the explicit formula for <span class="math-container">$\frac{\zeta(s)}{\zeta(s)}$</span>?</a></p> <p><a href="https://math.stackexchange.com/q/2972921">What is asymptotic and error bound for <span class="math-container">$\sum\limits_{k=1}^K\left(\frac{1}{\rho}+\frac{1}{\rho_{-k}}\right)$</span> as a function of <span class="math-container">$K$</span>?</a></p> <hr> <p>Two explicit formulas for each of the <span class="math-container">$f_{\Lambda i}(x)$</span> functions associated with (1) to (6) above are defined below along with an asymptotic function derived from each explicit formula. The sums over <span class="math-container">$\rho$</span> in all of the explicit formulas defined below are over the non-trivial zeta zeros in the upper-half plane. As an example of the nomenclature used below, <span class="math-container">$f_{o\,\Lambda1a}(x)$</span> and <span class="math-container">$f_{o\,\Lambda1b}(x)$</span> denote the explicit formulas for <span class="math-container">$f_{\Lambda1}(x)$</span> derived from formulas (7) and (8) above respectively, and <span class="math-container">$\overset{\text{~}}{f}_{o\,\Lambda1a}(x)$</span> and <span class="math-container">$\overset{\text{~}}{f}_{o\,\Lambda1b}(x)$</span> denote the corresponding asymptotics derived from these two formulas.</p> <hr> <p>The formulas for <span class="math-container">$f_{\Lambda i}(x)$</span> associated with (1) to (6) above and their corresponding explicit formulas <span class="math-container">$f_{o\,\Lambda ia}(x)$</span> and <span class="math-container">$f_{o\,\Lambda ib}(x)$</span> are also illustrated below. Unless otherwise stated the formulas for <span class="math-container">$f_{\Lambda i}(x)$</span> associated with (1) to (6) above are illustrated in blue, the first explicit formula <span class="math-container">$f_{o\,\Lambda ia}(x)$</span> is illustrated in orange, the second explicit formula <span class="math-container">$f_{o\,\Lambda ib}(x)$</span> is illustrated in green, and all series associated with all formulas are evaluated over the first 100 terms. Typically all three formulas evaluate so closely together that the evaluation of the second explicit formula virtually hides the underlying evaluations of the other two formulas in the right-half plane. The explicit formulas for <span class="math-container">$f_{\Lambda1}(x)$</span> to <span class="math-container">$f_{\Lambda4}(x)$</span> only seem to converge in the right-half plane, whereas the explicit formulas for <span class="math-container">$f_{\Lambda5}(x)$</span> and <span class="math-container">$f_{\Lambda6}(x)$</span> seem to converge in the left-half plane as well as the right-half plane. All of the explicit formulas also seem to converge for a subset of <span class="math-container">$x\in\mathbb{C}$</span>.</p> <hr> <p>The explicit formulas and associated asymptotics for <span class="math-container">$f_{\Lambda1}(x)$</span> are as follows.</p> <hr> <p><strong>(9)</strong> <span class="math-container">$\quad f_{o\,\Lambda1a}(x)=-\frac{1}{2}\sum\limits_{0&lt;\Im(\rho)}\left(E_{1-\frac{\rho}{2}}\left(\frac{1}{x^2}\right)+E_{\frac{\rho+1}{2}}\left(\frac{1}{x^2}\right)\right)\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad-\frac{1}{2}\sum\limits_{n=1}^\infty\left(E_{n+1}\left(\frac{1}{x^2}\right)-e^{-\frac{1}{x^2}} \log\left(\frac{1}{n}+1\right)\right)\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad+\frac{1}{2} \sqrt{\pi}\,x\,erfc\left(\frac{1}{x}\right)-\frac{1}{2} e^{-\frac{1}{x^2}} \log(\pi)$</span></p> <p><strong>(10)</strong> <span class="math-container">$\quad f_{o\,\Lambda1b}(x)=\frac{1}{x^2}\sum\limits_{0&lt;\Im(\rho)}\left(\frac{E_{\frac{\rho-1}{2}}\left(\frac{1}{x^2}\right)}{\rho-1}-\frac{E_{-\frac{\rho}{2}}\left(\frac{1}{x^2}\right)}{\rho}\right)+\frac{1}{2\,x^2}\sum\limits_{n=1}^\infty\frac{E_n\left(\frac{1}{x^2}\right)}{n}\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad+\frac{1}{2} \sqrt{\pi}\,x\,erfc\left(\frac{1}{x}\right)+e^{-\frac{1}{x^2}}-e^{-\frac{1}{x^2}} \log(2\,\pi)$</span></p> <p><strong>(11)</strong> <span class="math-container">$\quad\overset{\text{~}}{f}_{o\,\Lambda1a}(x)=\frac{1}{2} \sqrt{\pi}\,x\,erfc\left(\frac{1}{x}\right)-\frac{1}{2} e^{-\frac{1}{x^2}} \log(\pi)$</span></p> <p><strong>(12)</strong> <span class="math-container">$\quad\overset{\text{~}}{f}_{o\,\Lambda1b}(x)=\frac{1}{2} \sqrt{\pi}\,x\,erfc\left(\frac{1}{x}\right)+e^{-\frac{1}{x^2}}-e^{-\frac{1}{x^2}} \log(2\,\pi)$</span></p> <hr> <p>The following plot illustrates <span class="math-container">$f_{\Lambda1}(x)$</span> and the corresponding explicit formulas <span class="math-container">$f_{o\,\Lambda1a}(x)$</span> and <span class="math-container">$f_{o\,\Lambda1b}(x)$</span> defined in (9) and (10) above. I'll note that for the asymptotics defined in (11) and (12) above <span class="math-container">$\underset{x\to\infty}{lim}\,\frac{\partial }{\partial x}\overset{\text{~}}{f}_{o\,\Lambda1a}(x)=\underset{x\to\infty}{lim}\,\frac{\partial }{\partial x}\overset{\text{~}}{f}_{o\,\Lambda1b}(x)=\frac{\sqrt{\pi}}{2}$</span>.</p> <hr> <p><a href="https://i.stack.imgur.com/trVq4.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/trVq4.jpg" alt="Illustration of formula (1) and associated explicit formulas"></a></p> <p><strong>Figure (1): Illustration of <span class="math-container">$f_{\Lambda1}(x)$</span>, <span class="math-container">$f_{o\,\Lambda1a}(x)$</span>, and <span class="math-container">$f_{o\,\Lambda1b}(x)$</span> (blue, orange, and green)</strong></p> <hr> <p>The explicit formulas and associated asymptotics for <span class="math-container">$f_{\Lambda2}(x)$</span> are as follows.</p> <hr> <p><strong>(13)</strong> <span class="math-container">$\quad f_{o\,\Lambda2a}(x)=-\frac{1}{2}\sum\limits_{0&lt;\Im(\rho)}\left(E_{1-\frac{\rho}{2}}\left(\frac{\pi}{x^2}\right)+E_{\frac{\rho+1}{2}}\left(\frac{\pi}{x^2}\right)\right)\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad-\frac{1}{2}\sum\limits_{n=1}^\infty\left(E_{n+1}\left(\frac{\pi}{x^2}\right)-e^{-\frac{\pi}{x^2}} \log\left(\frac{1}{n}+1\right)\right)\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad+\frac{1}{2}\,x\,erfc\left(\frac{\sqrt{\pi}}{x}\right)-\frac{1}{2} e^{-\frac{\pi}{x^2}} \log(\pi)$</span></p> <p><strong>(14)</strong> <span class="math-container">$\quad f_{o\,\Lambda2b}(x)=\frac{\pi}{x^2}\sum\limits_{0&lt;\Im(\rho)}\left(\frac{E_{\frac{\rho-1}{2}}\left(\frac{\pi}{x^2}\right)}{\rho-1}-\frac{E_{-\frac{\rho}{2}}\left(\frac{\pi}{x^2}\right)}{\rho}\right)+\frac{\pi}{2\,x^2}\sum\limits_{n=1}^\infty\frac{E_n\left(\frac{\pi}{x^2}\right)}{n}\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad+\frac{1}{2}\,x\,erfc\left(\frac{\sqrt{\pi}}{x}\right)+e^{-\frac{\pi}{x^2}}-e^{-\frac{\pi}{x^2}} \log(2\,\pi)$</span></p> <p><strong>(15)</strong> <span class="math-container">$\quad\overset{\text{~}}{f}_{o\,\Lambda2a}(x)=\frac{1}{2}\,x\,erfc\left(\frac{\sqrt{\pi}}{x}\right)-\frac{1}{2} e^{-\frac{\pi}{x^2}} \log(\pi)$</span></p> <p><strong>(16)</strong> <span class="math-container">$\quad\overset{\text{~}}{f}_{o\,\Lambda2b}(x)=\frac{1}{2}\,x\,erfc\left(\frac{\sqrt{\pi}}{x}\right)+e^{-\frac{\pi}{x^2}}-e^{-\frac{\pi}{x^2}} \log(2\,\pi)$</span></p> <hr> <p>The following plot illustrates <span class="math-container">$f_{\Lambda2}(x)$</span> and the corresponding explicit formulas <span class="math-container">$f_{o\,\Lambda2a}(x)$</span> and <span class="math-container">$f_{o\,\Lambda2b}(x)$</span> defined in (13) and (14) above. I'll note that for the asymptotics defined in (15) and (16) above <span class="math-container">$\underset{x\to\infty}{lim}\,\frac{\partial }{\partial x}\overset{\text{~}}{f}_{o\,\Lambda2a}(x)=\underset{x\to\infty}{lim}\,\frac{\partial }{\partial x}\overset{\text{~}}{f}_{o\,\Lambda2b}(x)=\frac{1}{2}$</span>.</p> <hr> <p><a href="https://i.stack.imgur.com/5oKY1.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5oKY1.jpg" alt="Illustration of formula (2) and associated explicit formulas"></a></p> <p><strong>Figure (2): Illustration of <span class="math-container">$f_{\Lambda2}(x)$</span>, <span class="math-container">$f_{o\,\Lambda2a}(x)$</span>, and <span class="math-container">$f_{o\,\Lambda2b}(x)$</span> (blue, orange, and green)</strong></p> <hr> <p>The explicit formulas and associated asymptotics for <span class="math-container">$f_{\Lambda3}(x)$</span> are as follows.</p> <hr> <p><strong>(17)</strong> <span class="math-container">$\quad f_{o\,\Lambda3a}(x)=-\frac{1}{x^2}\sum\limits_{0&lt;\Im(\rho)}\left(E_{-\frac{\rho}{2}}\left(\frac{1}{x^2}\right)+E_{\frac{\rho-1}{2}}\left(\frac{1}{x^2}\right)\right)\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad-\frac{1}{x^2}\sum\limits_{n=1}^\infty\left(E_n\left(\frac{1}{x^2}\right)-e^{-\frac{1}{x^2}} \log\left(\frac{1}{n}+1\right)\right)\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad+\frac{1}{2} \sqrt{\pi}\,x\,erfc\left(\frac{1}{x}\right)+e^{-\frac{1}{x^2}}-\frac{e^{-\frac{1}{x^2}} \log(\pi)}{x^2}$</span></p> <p><strong>(18)</strong> <span class="math-container">$\quad f_{o\,\Lambda3b}(x)=-\frac{1}{x^2}\sum\limits_{0&lt;\Im(\rho)}\left(E_{-\frac{\rho}{2}}\left(\frac{1}{x^2}\right)+E_{\frac{\rho-1}{2}}\left(\frac{1}{x^2}\right)+\frac{2\,e^{-\frac{1}{x^2}}}{\rho-\rho^2}\right)\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad-\frac{1}{x^2}\sum\limits_{n=1}^\infty\left(E_n\left(\frac{1}{x^2}\right)-\frac{e^{-\frac{1}{x^2}}}{n}\right)\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad+\frac{1}{2} \sqrt{\pi}\,x\,erfc\left(\frac{1}{x}\right)+\frac{e^{-\frac{1}{x^2}} \left(x^2+2\right)}{x^2}-\frac{2\,e^{-\frac{1}{x^2}} \log(2\,\pi)}{x^2}$</span></p> <p><strong>(19)</strong> <span class="math-container">$\quad\overset{\text{~}}{f}_{o\,\Lambda3a}(x)=\frac{1}{2} \sqrt{\pi}\,x\,erfc\left(\frac{1}{x}\right)+e^{-\frac{1}{x^2}}-\frac{e^{-\frac{1}{x^2}} \log(\pi)}{x^2}$</span></p> <p><strong>(20)</strong> <span class="math-container">$\quad\overset{\text{~}}{f}_{o\,\Lambda3b}(x)=\frac{1}{2} \sqrt{\pi}\,x\,erfc\left(\frac{1}{x}\right)+\frac{e^{-\frac{1}{x^2}} \left(x^2+2\right)}{x^2}-\frac{2\,e^{-\frac{1}{x^2}} \log(2\,\pi)}{x^2}$</span></p> <hr> <p>The following plot illustrates <span class="math-container">$f_{\Lambda3}(x)$</span> and the corresponding explicit formulas <span class="math-container">$f_{o\,\Lambda3a}(x)$</span> and <span class="math-container">$f_{o\,\Lambda3b}(x)$</span> defined in (17) and (18) above. I'll note that for the asymptotics defined in (19) and (20) above <span class="math-container">$\underset{x\to\infty}{lim}\,\frac{\partial }{\partial x}\overset{\text{~}}{f}_{o\,\Lambda3a}(x)=\underset{x\to\infty}{lim}\,\frac{\partial }{\partial x}\overset{\text{~}}{f}_{o\,\Lambda3b}(x)=\frac{\sqrt{\pi}}{2}$</span>.</p> <hr> <p><a href="https://i.stack.imgur.com/Oz29d.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Oz29d.jpg" alt="Illustration of formula (3) and associated explicit formulas"></a></p> <p><strong>Figure (3): Illustration of <span class="math-container">$f_{\Lambda3}(x)$</span>, <span class="math-container">$f_{o\,\Lambda3a}(x)$</span>, and <span class="math-container">$f_{o\,\Lambda3b}(x)$</span> (blue, orange, and green)</strong></p> <hr> <p>The explicit formulas and associated asymptotics for <span class="math-container">$f_{\Lambda4}(x)$</span> are as follows.</p> <hr> <p><strong>(21)</strong> <span class="math-container">$\quad f_{o\,\Lambda4a}(x)=-\frac{\pi}{x^2}\sum\limits_{0&lt;\Im(\rho)}\left(E_{-\frac{\rho}{2}}\left(\frac{\pi}{x^2}\right)+E_{\frac{\rho-1}{2}}\left(\frac{\pi}{x^2}\right)\right)\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad-\frac{\pi}{x^2}\sum\limits_{n=1}^\infty\left(E_n\left(\frac{\pi}{x^2}\right)-e^{-\frac{\pi}{x^2}} \log\left(\frac{1}{n}+1\right)\right)\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad+\frac{1}{2}\,x\,erfc\left(\frac{\sqrt{\pi}}{x}\right)+e^{-\frac{\pi}{x^2}}-\frac{\pi\,e^{-\frac{\pi}{x^2}} \log(\pi)}{x^2}$</span></p> <p><strong>(22)</strong> <span class="math-container">$\quad f_{o\,\Lambda4b}(x)=-\frac{\pi}{x^2}\sum\limits_{0&lt;\Im(\rho)}\left(E_{-\frac{\rho}{2}}\left(\frac{\pi}{x^2}\right)+E_{\frac{\rho-1}{2}}\left(\frac{\pi}{x^2}\right)-\frac{2\,e^{-\frac{\pi}{x^2}}}{\rho\,\left(\rho-1\right)}\right)\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad-\frac{\pi}{x^2}\sum\limits_{n=1}^\infty\left(E_n\left(\frac{\pi}{x^2}\right)-\frac{e^{-\frac{\pi}{x^2}}}{n}\right)\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad+\frac{1}{2} \left(x\,\left(-erf\left(\frac{\sqrt{\pi}}{x}\right)\right)+e^{-\frac{\pi}{x^2}} \left(\frac{4\,\pi}{x^2}+2\right)+x\right)-\frac{2\,\pi\,e^{-\frac{\pi}{x^2}} \log(2\,\pi)}{x^2}$</span></p> <p><strong>(23)</strong> <span class="math-container">$\quad\overset{\text{~}}{f}_{o\,\Lambda4a}(x)=\frac{1}{2}\,x\,erfc\left(\frac{\sqrt{\pi}}{x}\right)+e^{-\frac{\pi}{x^2}}-\frac{\pi\,e^{-\frac{\pi}{x^2}} \log(\pi)}{x^2}$</span></p> <p><strong>(24)</strong> <span class="math-container">$\quad\overset{\text{~}}{f}_{o\,\Lambda4b}(x)=\frac{1}{2} \left(x\,\left(-erf\left(\frac{\sqrt{\pi}}{x}\right)\right)+e^{-\frac{\pi}{x^2}} \left(\frac{4\,\pi}{x^2}+2\right)+x\right)-\frac{2\,\pi\,e^{-\frac{\pi}{x^2}} \log(2\,\pi)}{x^2}$</span></p> <hr> <p>The following plot illustrates <span class="math-container">$f_{\Lambda4}(x)$</span> and the corresponding explicit formulas <span class="math-container">$f_{o\,\Lambda4a}(x)$</span> and <span class="math-container">$f_{o\,\Lambda4b}(x)$</span> defined in (21) and (22) above. I'll note that for the asymptotics defined in (23) and (24) above <span class="math-container">$\underset{x\to\infty}{lim}\,\frac{\partial }{\partial x}\overset{\text{~}}{f}_{o\,\Lambda4a}(x)=\underset{x\to\infty}{lim}\,\frac{\partial }{\partial x}\overset{\text{~}}{f}_{o\,\Lambda4b}(x)=\frac{1}{2}$</span>.</p> <hr> <p><a href="https://i.stack.imgur.com/rlitm.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rlitm.jpg" alt="Illustration of formula (4) and associated explicit formulas"></a></p> <p><strong>Figure (4): Illustration of <span class="math-container">$f_{\Lambda4}(x)$</span>, <span class="math-container">$f_{o\,\Lambda4a}(x)$</span>, and <span class="math-container">$f_{o\,\Lambda4b}(x)$</span> (blue, orange, and green)</strong></p> <hr> <p>The explicit formulas and associated asymptotics for <span class="math-container">$f_{\Lambda5}(x)$</span> are as follows.</p> <hr> <p><strong>(25)</strong> <span class="math-container">$\quad f_{o\,\Lambda5a}(x)=\frac{1}{2}\sum\limits_{0&lt;\Im(\rho)}\left(\left(1-\rho\right)\,E_{1-\frac{\rho}{2}}\left(\frac{1}{x^2}\right)+\rho\,E_{\frac{\rho+1}{2}}\left(\frac{1}{x^2}\right)-4\,e^{-\frac{1}{x^2}}\right)\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad+\frac{1}{2}\sum\limits_{n=1}^\infty\left((2\,n+1)\,E_{n+1}\left(\frac{1}{x^2}\right)-\frac{e^{-\frac{1}{x^2}} \left(\left(x^2-2\right) \log\left(\frac{1}{n}+1\right)+2\,x^2\right)}{x^2}\right)\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad+e^{-\frac{1}{x^2}}+\frac{\left(x^2-2\right) e^{-\frac{1}{x^2}} \log(\pi)}{2\,x^2}$</span></p> <p><strong>(26)</strong> <span class="math-container">$\quad f_{o\,\Lambda5b}(x)=-\frac{1}{x^2}\sum\limits_{0&lt;\Im(\rho)}\frac{\left(\rho-1\right){}^2\,E_{-\frac{\rho}{2}}\left(\frac{1}{x^2}\right)+\rho^2\,E_{\frac{\rho-1}{2}}\left(\frac{1}{x^2}\right)-2\,e^{-\frac{1}{x^2}}}{\rho\,\left(\rho-1\right)}\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad-\frac{1}{2\,x^2}\sum\limits_{n=1}^\infty\frac{(2\,n+1)\,E_n\left(\frac{1}{x^2}\right)-2\,e^{-\frac{1}{x^2}}}{n}+\frac{2\,e^{-\frac{1}{x^2}}}{x^2}+\frac{\left(x^2-2\right) e^{-\frac{1}{x^2}} \log(2\,\pi)}{x^2}$</span></p> <p><strong>(27)</strong> <span class="math-container">$\quad\overset{\text{~}}{f}_{o\,\Lambda5a}(x)=e^{-\frac{1}{x^2}}+\frac{\left(x^2-2\right) e^{-\frac{1}{x^2}} \log(\pi)}{2\,x^2}$</span></p> <p><strong>(28)</strong> <span class="math-container">$\quad\overset{\text{~}}{f}_{o\,\Lambda5b}(x)=\frac{2\,e^{-\frac{1}{x^2}}}{x^2}+\frac{\left(x^2-2\right) e^{-\frac{1}{x^2}} \log(2\,\pi)}{x^2}$</span></p> <hr> <p>The following plot illustrates <span class="math-container">$f_{\Lambda5}(x)$</span> and the corresponding explicit formulas <span class="math-container">$f_{o\,\Lambda5a}(x)$</span> and <span class="math-container">$f_{o\,\Lambda5b}(x)$</span> defined in (25) and (26) above. I'll note that for the asymptotics defined in (27) and (28) above <span class="math-container">$\underset{x\to\infty}{lim}\,\overset{\text{~}}{f}_{o\,\Lambda5a}(x)=1+\frac{\log (\pi)}{2}$</span> and <span class="math-container">$\underset{x\to\infty}{lim}\,\overset{\text{~}}{f}_{o\,\Lambda5b}(x)=\log(2\,\pi)$</span> the latter of which corresponds to the dashed-gray horizontal reference line in the plot below.</p> <hr> <p><a href="https://i.stack.imgur.com/O6IxK.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/O6IxK.jpg" alt="Illustration of formula (5) and associated explicit formulas"></a></p> <p><strong>Figure (5): Illustration of <span class="math-container">$f_{\Lambda5}(x)$</span>, <span class="math-container">$f_{o\,\Lambda5a}(x)$</span>, and <span class="math-container">$f_{o\,\Lambda5b}(x)$</span> (blue, orange, and green)</strong></p> <hr> <p>The explicit formulas and associated asymptotics for <span class="math-container">$f_{\Lambda6}(x)$</span> are as follows.</p> <hr> <p><strong>(29)</strong> <span class="math-container">$\quad f_{o\,\Lambda6a}(x)=\frac{1}{2}\sum\limits_{0&lt;\Im(\rho)}\left(\left(1-\rho\right)\,E_{1-\frac{\rho}{2}}\left(\frac{\pi}{x^2}\right)+\rho\,E_{\frac{\rho+1}{2}}\left(\frac{\pi}{x^2}\right)-4\,e^{-\frac{\pi}{x^2}}\right)\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad+\frac{1}{2}\sum\limits_{n=1}^\infty\left((2\,n+1)\,E_{n+1}\left(\frac{\pi}{x^2}\right)-\frac{e^{-\frac{\pi}{x^2}} \left(\left(x^2-2\,\pi\right) \log\left(\frac{1}{n}+1\right)+2\,x^2\right)}{x^2}\right)\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad+e^{-\frac{\pi}{x^2}}+\frac{e^{-\frac{\pi}{x^2}} \left(x^2-2\,\pi\right) \log(\pi)}{2\,x^2}$</span></p> <p><strong>(30)</strong> <span class="math-container">$\quad f_{o\,\Lambda6b}(x)=-\frac{\pi}{x^2}\sum\limits_{0&lt;\Im(\rho)}\frac{\left(\rho-1\right){}^2\,E_{-\frac{\rho}{2}}\left(\frac{\pi}{x^2}\right)+\rho^2\,E_{\frac{\rho-1}{2}}\left(\frac{\pi}{x^2}\right)-2\,e^{-\frac{\pi}{x^2}}}{\rho\,\left(\rho-1\right)}\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad-\frac{\pi}{2\,x^2}\sum\limits_{n=1}^\infty\frac{(2\,n+1)\,E_n\left(\frac{\pi}{x^2}\right)-2\,e^{-\frac{\pi}{x^2}}}{n}\\$</span> <span class="math-container">$\qquad\qquad\qquad\qquad+\frac{2\,\pi\,e^{-\frac{\pi}{x^2}}}{x^2}+\frac{e^{-\frac{\pi}{x^2}} \left(x^2-2\,\pi\right) \log(2\,\pi)}{x^2}$</span></p> <p><strong>(31)</strong> <span class="math-container">$\quad\overset{\text{~}}{f}_{o\,\Lambda6a}(x)=e^{-\frac{\pi}{x^2}}+\frac{e^{-\frac{\pi}{x^2}} \left(x^2-2\,\pi\right) \log(\pi)}{2\,x^2}$</span></p> <p><strong>(32)</strong> <span class="math-container">$\quad\overset{\text{~}}{f}_{o\,\Lambda6b}(x)=\frac{2\,\pi\,e^{-\frac{\pi}{x^2}}}{x^2}+\frac{e^{-\frac{\pi}{x^2}} \left(x^2-2\,\pi\right) \log(2\,\pi)}{x^2}$</span></p> <hr> <p>The following plot illustrates <span class="math-container">$f_{\Lambda6}(x)$</span> and the corresponding explicit formulas <span class="math-container">$f_{o\,\Lambda6a}(x)$</span> and <span class="math-container">$f_{o\,\Lambda6b}(x)$</span> defined in (29) and (30) above. I'll note that for the asymptotics defined in (31) and (32) above <span class="math-container">$\underset{x\to\infty}{lim}\,\overset{\text{~}}{f}_{o\,\Lambda6a}(x)=1+\frac{\log (\pi )}{2}$</span> and <span class="math-container">$\underset{x\to\infty}{lim}\,\overset{\text{~}}{f}_{o\,\Lambda6b}(x)=\log(2\,\pi)$</span> the latter of which corresponds to the dashed-gray horizontal reference line in the plot below.</p> <hr> <p><a href="https://i.stack.imgur.com/IExfG.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IExfG.jpg" alt="Illustration of formula (6) and associated explicit formulas"></a></p> <p><strong>Figure (6): Illustration of <span class="math-container">$f_{\Lambda6}(x)$</span>, <span class="math-container">$f_{o\,\Lambda6a}(x)$</span>, and <span class="math-container">$f_{o\,\Lambda6b}(x)$</span> (blue, orange, and green)</strong></p> <hr> <p>The following plot illustrates <span class="math-container">$f_{\Lambda5}(x)$</span> and <span class="math-container">$f_{\Lambda6}(x)$</span> in blue and orange respectively where the dashed-gray horizontal reference line corresponds to <span class="math-container">$y=\log(2\,\pi)$</span>. Both formulas are evaluated over the first <span class="math-container">$1000$</span> terms.</p> <hr> <p><a href="https://i.stack.imgur.com/NuzvV.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NuzvV.jpg" alt="Illustration of formulas (5) and (6)"></a></p> <p><strong>Figure (7): Illustration of <span class="math-container">$f_{\Lambda5}(x)$</span> (blue) and <span class="math-container">$f_{\Lambda6}(x)$</span> (orange)</strong></p> <hr> <p>The following two plots illustrate the first four <span class="math-container">$\rho$</span> terms for <span class="math-container">$f_{o\,\Lambda6a}(x)$</span> and <span class="math-container">$f_{o\,\Lambda6b}(x)$</span> defined in (29) and (30) above where each successive <span class="math-container">$\rho$</span> term decreases in magnitude. Note the first <span class="math-container">$\rho$</span> term illustrated in blue exhibits a noticeable oscillation for both formulas. I believe all of the <span class="math-container">$\rho$</span> terms exhibit an analogous oscillation where the frequency of this oscillation increases with each successive <span class="math-container">$\rho$</span> term but the magnitude of this oscillation decreases with each successive <span class="math-container">$\rho$</span> term. I also believe the magnitudes of these <span class="math-container">$\rho$</span> term oscillations increase as <span class="math-container">$x\to\infty$</span>.</p> <hr> <p><a href="https://i.stack.imgur.com/LEU9a.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LEU9a.jpg" alt="Illustration of the first four zeta zero terms in formula (29)"></a></p> <p><strong>Figure (8): Illustration of first four <span class="math-container">$\rho$</span> terms in <span class="math-container">$f_{o\,\Lambda6a}(x)$</span></strong></p> <hr> <p><a href="https://i.stack.imgur.com/NNHUq.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NNHUq.jpg" alt="Illustration of the first four zeta zero terms in formula (30)"></a></p> <p><strong>Figure (9): Illustration of first four <span class="math-container">$\rho$</span> terms in <span class="math-container">$f_{o\,\Lambda6b}(x)$</span></strong></p> <hr> <p>The following plot illustrates the first <span class="math-container">$\rho$</span> term in <span class="math-container">$f_{o\,\Lambda6a}(x)$</span> and the first <span class="math-container">$\rho$</span> term in <span class="math-container">$f_{o\,\Lambda6b}(x)$</span> in blue and orange respectively evaluated over an extended range in the right-half plane.</p> <hr> <p><a href="https://i.stack.imgur.com/51GkW.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/51GkW.jpg" alt="Illustration of the first zeta zero term in formulas (29) and (30)"></a></p> <p><strong>Figure (10): Illustration of first <span class="math-container">$\rho$</span> term in <span class="math-container">$f_{o\,\Lambda6a}(x)$</span> (blue) and <span class="math-container">$f_{o\,\Lambda6b}(x)$</span> (orange)</strong></p> <hr> <p>The following plot illustrates the difference between <span class="math-container">$f_{\Lambda6}(x)$</span> and the asymptotic <span class="math-container">$\overset{\text{~}}{f}_{o\,\Lambda6b}(x)$</span> defined in (32) above where the series associated with <span class="math-container">$f_{\Lambda6}(x)$</span> is evaluated over the first 1,000 terms. This plot illustrates the evaluation of <span class="math-container">$f_{\Lambda6}(x)$</span> produces oscillations similar to those of the <span class="math-container">$\rho$</span> terms illustrated in figures (8), (9), and (10) above.</p> <hr> <p><a href="https://i.stack.imgur.com/0KtK4.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0KtK4.jpg" alt="Illustration of formula (1) minus asymptotic formula (32)"></a></p> <p><strong>Figure (11): Illustration of <span class="math-container">$f_{\Lambda6}(x)$</span> minus <span class="math-container">$\overset{\text{~}}{f}_{o\,\Lambda6b}(x)$</span></strong></p> <hr> <p>Figures (1) to (4) above illustrate the explicit formulas for <span class="math-container">$f_{\Lambda i}(x)$</span> associated with (1) to (4) above seem to converge for <span class="math-container">$x\ge 0$</span>, whereas the explicit formulas for <span class="math-container">$f_{\Lambda i}(x)$</span> associated with (5) and (6) above seem to converge for <span class="math-container">$x\in\mathbb{R}$</span>. I've also noticed the explicit formulas for <span class="math-container">$f_{\Lambda i}(x)$</span> associated with (1) to (4) above seem to converge for a subset of <span class="math-container">$x\in\mathbb{C}\land\Re(x)&gt;0$</span>, whereas the explicit formulas for <span class="math-container">$f_{\Lambda i}(x)$</span> associated with (5) and (6) above seem to converge for a subset of <span class="math-container">$x\in\mathbb{C}$</span>.</p> <hr> <p>The following plot illustrates the absolute parts of <span class="math-container">$f_{\Lambda6}(x)$</span> and the corresponding explicit formulas <span class="math-container">$f_{o\,\Lambda6a}(x)$</span> and <span class="math-container">$f_{o\,\Lambda6b}(x)$</span> defined in (29) and (30) above where all formulas are evaluated along the line <span class="math-container">$x=t+\frac{1}{2}i\,t$</span>. Note evaluation along this line amplifies the oscillation illustrated in figures (8) to (11) above.</p> <hr> <p><a href="https://i.stack.imgur.com/896rw.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/896rw.jpg" alt="Illustration of absolute values of formula (6) and associated explicit formulas evaluated along the line z=t+1/2it"></a></p> <p><strong>Figure (12): Illustration of absolute part of <span class="math-container">$f_{\Lambda6}(x)$</span> and associated explicit formulas <span class="math-container">$f_{o\,\Lambda6a}(x)$</span> and <span class="math-container">$f_{o\,\Lambda6b}(x)$</span> evaluated along the line <span class="math-container">$x=t+\frac{1}{2}i\,t$</span></strong></p> <hr> <p>The following plot illustrates the absolute parts of <span class="math-container">$f_{\Lambda6}(x)$</span> and the asymptotic <span class="math-container">$\overset{\text{~}}{f}_{o\,\Lambda6b}(x)$</span> defined in (32) above in blue and orange respectively where both formulas are evaluated along the line <span class="math-container">$x=t+\frac{1}{2}i\,t$</span> and the series associated with <span class="math-container">$f_{\Lambda6}(x)$</span> is evaluated over the first 1,000 terms. The dashed-gray horizontal reference line corresponds to <span class="math-container">$y=\log(2\,\pi)$</span>.</p> <hr> <p><a href="https://i.stack.imgur.com/LFJHr.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LFJHr.jpg" alt="Illustration of absolute values of formula (6) and asymptotic (32) evaluated along the line z=t+1/2it"></a></p> <p><strong>Figure (13): Illustration of absolute part of <span class="math-container">$f_{\Lambda6}(x)$</span> (blue) and asymptotic <span class="math-container">$\overset{\text{~}}{f}_{o\,\Lambda6b}(x)$</span> (orange) evaluated along the line <span class="math-container">$x=t+\frac{1}{2}i\,t$</span></strong></p> <hr> <p>The density plots in figures (14) to (19) below for <span class="math-container">$\left|f_{\Lambda i}(x)\right|$</span> associated with (1) to (6) above perhaps provide some insight into the convergence of <span class="math-container">$f_{\Lambda i}(x)$</span> for <span class="math-container">$x\in\mathbb{C}$</span>. In the density plots below the horizontal axis corresponds to <span class="math-container">$\Re(x)$</span> and the vertical axis corresponds to <span class="math-container">$\Im(x)$</span>, and all series associated with formulas (1) to (6) above are evaluated over the first <span class="math-container">$1000$</span> terms. I'm fascinated by the patterns that emerge at the sharp boundary in figures (14) to (19) below and wonder how they're related to the prime numbers and non-trivial zeta zeros.</p> <hr> <p><a href="https://i.stack.imgur.com/9cfAw.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9cfAw.jpg" alt="Density plot of formula (1) absolute value for complex input"></a></p> <p><strong>Figure (14): Density Plot of <span class="math-container">$\left|f_{\Lambda1}(x)\right|$</span> for <span class="math-container">$x\in\mathbb{C}$</span></strong></p> <hr> <p><a href="https://i.stack.imgur.com/R683I.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/R683I.jpg" alt="Density plot of formula (2) absolute value for complex input"></a></p> <p><strong>Figure (15): Density Plot of <span class="math-container">$\left|f_{\Lambda2}(x)\right|$</span> for <span class="math-container">$x\in\mathbb{C}$</span></strong></p> <hr> <p><a href="https://i.stack.imgur.com/pDEhx.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pDEhx.jpg" alt="Density plot of formula (3) absolute value for complex input"></a></p> <p><strong>Figure (16): Density Plot of <span class="math-container">$\left|f_{\Lambda3}(x)\right|$</span> for <span class="math-container">$x\in\mathbb{C}$</span></strong></p> <hr> <p><a href="https://i.stack.imgur.com/jKFlP.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jKFlP.jpg" alt="Density plot of formula (4) absolute value for complex input"></a></p> <p><strong>Figure (17): Density Plot of <span class="math-container">$\left|f_{\Lambda4}(x)\right|$</span> for <span class="math-container">$x\in\mathbb{C}$</span></strong></p> <hr> <p><a href="https://i.stack.imgur.com/ek52E.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ek52E.jpg" alt="Density plot of formula (5) absolute value for complex input"></a></p> <p><strong>Figure (18):Density Plot of <span class="math-container">$\left|f_{\Lambda5}(x)\right|$</span> for <span class="math-container">$x\in\mathbb{C}$</span></strong></p> <hr> <p><a href="https://i.stack.imgur.com/RQ9Ds.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RQ9Ds.jpg" alt="Density plot of formula (6) absolute value for complex input"></a></p> <p><strong>Figure (19):Density Plot of <span class="math-container">$\left|f_{\Lambda6}(x)\right|$</span> for <span class="math-container">$x\in\mathbb{C}$</span></strong></p> <hr> <p>I believe the absolute value of the exponential associated with <span class="math-container">$f_{\Lambda i}(x)$</span> also provides some insight into the convergence of <span class="math-container">$f_{\Lambda i}(x)$</span> for <span class="math-container">$x\in\mathbb{C}$</span>.</p> <p>With respect to <span class="math-container">$f_{\Lambda 1}(x)$</span>, <span class="math-container">$f_{\Lambda 3}(x)$</span>, and <span class="math-container">$f_{\Lambda 5}(x)$</span>, <span class="math-container">$\left|e^{-\frac{n^2}{x^2}}\right|=e^{-n^2\,\Re\left(\frac{1}{x^2}\right)}=e^{-n^2\frac{(\Re(x))^2-(\Im(x))^2}{\left((\Re(x))^2+(\Im(x))^2\right)^2}}$</span>.</p> <p>With respect to <span class="math-container">$f_{\Lambda 2}(x)$</span>, <span class="math-container">$f_{\Lambda 4}(x)$</span>, and <span class="math-container">$f_{\Lambda 6}(x)$</span>, <span class="math-container">$\left|e^{-\frac{\pi\,n^2}{x^2}}\right|=e^{-\pi\,n^2\,\Re\left(\frac{1}{x^2}\right)}=e^{-\pi\,n^2\frac{(\Re(x))^2-(\Im(x))^2}{\left((\Re(x))^2+(\Im(x))^2\right)^2}}$</span>.</p> <p>So both exponentials are decaying exponentials only for <span class="math-container">$|\Im(x)|&lt;|\Re(x)|$</span>.</p> <hr> <p><strong>Question (1): What is the convergence of <span class="math-container">$f_{\Lambda i}(x)$</span> associated with (1) to (6) above and the corresponding explicit formulas defined in (9) to (32) above for <span class="math-container">$x\in\mathbb{C}$</span>? Is it true they all converge for <span class="math-container">$|\Im(x)|&lt;|\Re(x)|$</span>?</strong></p> <hr> <p>The Prime Number Theorem and Riemann Hypothesis both predict constraints on the behavior of the second Chebyshev function <span class="math-container">$\psi(x)=\sum\limits_{n=1}^x\Lambda(n)$</span>.</p> <hr> <p><strong>Question (2): What do the Prime Number Theorem and Riemann Hypothesis predict for constraints on the behavior of <span class="math-container">$f_{\Lambda i}(x)$</span> associated with (1) to (6) above and the corresponding explicit formulas defined in (9) to (32) above? Do the Prime Number Theorem and Riemann Hypothesis constrain the behavior of <span class="math-container">$f_{\Lambda i}(x)$</span> and the associated explicit formulas for <span class="math-container">$x\in\mathbb{C}$</span> as well as <span class="math-container">$x\in\mathbb{R}$</span>?</strong></p> <hr> <p>The term of <span class="math-container">$f_6(x)$</span> defined in (6) above evaluated as a function of <span class="math-container">$n$</span> with <span class="math-container">$x$</span> held constant has a fairly simple Maclaurin series illustrated in (33) below. This Maclaurin series can also be used to evaluate the term as a function of <span class="math-container">$x$</span> with constant <span class="math-container">$n$</span> for <span class="math-container">$x&gt;0$</span> and seems to converge fairly rapidly except near the origin.</p> <hr> <p><strong>(33)</strong> <span class="math-container">$\quad \left(\frac{2\,\pi\,n^2}{x^2}-1\right)\,e^{-\frac{\pi\,n^2}{x^2}}=-\sum\limits_{k=0}^\infty\frac{(-\pi)^k\,(2\,k+1)\,n^{2\,k}}{k!\,x^{2\,k}}$</span></p> <hr> <p>The relationship illustrated in (6) above and the Maclaurin series illustrated in (33) above can be used to derive formulas for <span class="math-container">$F_6(s)$</span> such as the one illustrated in (34) below. For <span class="math-container">$a(n)=1$</span>, <span class="math-container">$F_6(s)$</span> corresponds to the Riemann Xi function <span class="math-container">$\xi(s)$</span>, and in this particular case formula (34) is valid for <span class="math-container">$\Re(s)&gt;1$</span>.</p> <hr> <p><strong>(34)</strong> <span class="math-container">$\quad F(s)=\pi^{-\frac{s}{2}}\left(\frac{1}{e}+(s-1)\,E_{-\frac{s}{2}}(1)-s\sum\limits_{k=0}^\infty\frac{(-1)^k\,(2\,k+1)}{k!\,(2\,k+s)}\right) \sum\limits_{n=1}^\infty\frac{a(n)}{n^s}$</span></p> <hr>
0non-cybersec
Stackexchange
The ultra modern Beijing Opera House (1000x500) (OC).
0non-cybersec
Reddit
My car shows a picture of itself at the pump when I have no gas left..
0non-cybersec
Reddit
I can't.
0non-cybersec
Reddit
Top 3 Reasons For Hiring Commercial Painting Contractors Sydney.
0non-cybersec
Reddit
Just got mine in the mail! Chugging away successfully!.
0non-cybersec
Reddit
Visual Studio 2010: Projectitem unavailable. <p>When trying to design a form in Visual Studio 2010:</p> <p><img src="https://i.stack.imgur.com/cLhPV.png" alt="enter image description here"></p> <p>How do i tell Visual Studio to ignore whatever's causing the problem and continue?</p> <hr> <p>Research the problem showed two possible solutions:</p> <ul> <li><a href="https://stackoverflow.com/questions/5090435/image-button-on-visual-studio-2010-c">Merideth was able to click "Ignore and Continue"</a>. (i have no such option)</li> <li>[Dan simply restarted Visual Studio (Visual Studio 2005)</li> </ul> <p>In my case restarting Visual Studio causes it to get its head out of it's own assembler.</p> <p>Someone phrase those in the form of an answer, and get free rep. (<a href="http://blog.stackoverflow.com/2011/07/its-ok-to-ask-and-answer-your-own-questions/">SO prevents me from posting my own answer</a>).</p>
0non-cybersec
Stackexchange
Not much to many, but I came from nearly 40 down and finally went positive before the benchmark I set for my self..
0non-cybersec
Reddit
RTF blob - what am I missing?. <p>I'm working on an extension to a legacy database application. Specifically, I need to be able to add entries to a notes system.</p> <p>Using SSMS, I can see that existing notes are stored in a table that has a column for the formatted text of the note. This column is of type "image" and the contents appear to be an RTF document. E.g.:</p> <pre><code>?{\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fnil\fcharset0 MS Sans Serif;}} \viewkind4\uc1\pard\lang2057\f0\fs20 Text needs to go here \par } </code></pre> <p>From here, I thought it would be fairly easy to modify the text. Surely something like the following would work?</p> <pre><code>UPDATE ConstituentNotepad SET Notes = CONVERT(image,'?{\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fnil\fcharset0 MS Sans Serif;}} \viewkind4\uc1\pard\lang2057\f0\fs20 Good text needs to go here \par } ') WHERE NotesId = 35416 </code></pre> <p>Alas no. After executing the update, the note now shows the raw RTF markup rather than the properly rendered text.</p> <p>I presume I'm mangling the RTF somehow when converting / updating. Am I doing something obviously wrong? How would you approach this?</p>
0non-cybersec
Stackexchange
Using KDF output for password validation. <p>I am currently revising an <a href="https://github.com/RNCryptor/RNCryptor-Spec/blob/master/draft-RNCryptor-Spec-v4.0.md" rel="nofollow">AES data format</a>. I would like to determine whether a provided password/key is incorrect. Previously this was done by validating the HMAC, but this makes it impossible to distinguish between data corruption and a bad password. It also requires reading the entire stream before validating the password, which is problematic.</p> <p>My new design is as follows (the HMAC step is HKDF):</p> <pre><code>prk = PBKDF2(SHA512, password, salt, rounds, 512 bits) (validator[16], iv[16]) = HMAC(SHA512, prk, "rncryptor.validator+iv" || 0x01, 256 bits) </code></pre> <p>The validator is 16 bytes that are written to the header. During decryption, I recompute the validator to check the password before proceeding.</p> <p>I believe this scheme is secure. Common best-practice for password validation is a salted and stretched hash. I believe HKDF is providing the same. My one slight concern is <a href="http://csrc.nist.gov/publications/nistpubs/800-56A/SP800-56A_Revision1_Mar08-2007.pdf" rel="nofollow">NIST SP 800-56a, Section 5.8</a>:</p> <blockquote> <p>An Approved key derivation function (KDF) shall be used to derive secret keying material from a shared secret. The output from a KDF shall only be used for secret keying material, such as a symmetric key used for data encryption or message integrity, a secret initialization vector, or a master key that will be used to generate other keys (possibly using a different process). Non- secret keying material (such as a non-secret initialization vector) shall not be generated using the shared secret.</p> </blockquote> <p>The validator is not "keying material" at all, so I don't believe this is relevant, but I don't understand the restriction even for "a non-secret initialization vector." Why would it be dangerous to use a proper, salted KDF to generate a non-secret IV? Does this impact my use as a key/password validator?</p>
0non-cybersec
Stackexchange
MRW my boss casually compliments me in front of everyone.
0non-cybersec
Reddit
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application. I need to scale my app adding some spot instances that EB do not support.</p> <p>So I create a second autoscaling from a launch configuration with spot instances. The autoscaling use the same load balancer created by beanstalk.</p> <p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p> <p>This work fine, but:</p> <ol> <li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p> </li> <li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p> </li> </ol> <p><strong>UPDATE</strong></p> <p>Elastic Beanstalk add support to spot instance since 2019... see: <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
0non-cybersec
Stackexchange
I wonder if there is a letter in there that looks a bit more like the Eiffel Tower..
0non-cybersec
Reddit
550 Invalid HELO/EHLO must contain a FQDN or IPv6. <p>I've got a Windows Server 2008 box where I host a number of websites (on different domains) that send email as part of their functionality.</p> <p>I've been checking up on the SMTP events and found a number of warnings that look like this:</p> <blockquote> <p>Message delivery to the host '219.88.242.10' failed while delivering to the remote domain 'orcon.net.nz' for the following reason: An SMTP protocol error occurred. The SMTP verb which caused the error is 'HELO'. The response from the remote server is '550 Invalid HELO/EHLO must contain a FQDN or IPv6 literal in []. '.</p> </blockquote> <p>What does this mean?</p> <p>I guess it has something to do with my SMTP setup. I'm just using the default SMTP server that comes with Windows.</p> <p>If it is to do with my setup, is there anything else I should do to setup the SMTP server? </p> <p>Cheers,<br> Charles</p> <p>P.s. Is there a better (free) SMTP server I should be looking at? I'm using google apps for email so I don't need to receive emails, just send them.</p>
0non-cybersec
Stackexchange
Previous linux install is still listed as a boot option. <p>I decided to switch my windows 10 laptop to manjaro linux. After a few days I decided to try a different distro and switched to solus budgie. After that I decided to return to windows. When changing the boot priority to the windows live usb, Manjaro was still an option on the boot list and I don't know why. The computer in question is a lenovo 730s-13iwl if that matters at all. It is currently running windows 10. </p>
0non-cybersec
Stackexchange
Is it possible to run an ARM64 vagrant instance on the x86_64 host. <p>I'm trying to run an ARM64 Ubuntu VM on an x86_64 host with vagrant for development purposes. I searched the vagrant box on their website only found this one: </p> <p><a href="https://app.vagrantup.com/boxes/search?provider=libvirt&amp;q=arm64&amp;sort=downloads&amp;utf8=%E2%9C%93" rel="nofollow noreferrer">https://app.vagrantup.com/boxes/search?provider=libvirt&amp;q=arm64&amp;sort=downloads&amp;utf8=%E2%9C%93</a></p> <p>However, I failed to bring that VM up (using <code>vagrant up --provider libvirt</code>) as it seems using the <code>qemu-system-x86_64</code> as the simulator instead of the <code>qemu-system-aarch64</code>. The vagrantfile I used:</p> <pre><code>Vagrant.configure("2") do |config| config.vm.box = "MalibuKoKo/ubuntu-18.04.3-server-arm64-raspberry-4" config.vm.define "ubuntu18.04-aarch64" config.vm.provider :libvirt do |libvirt| libvirt.machine_arch = "aarch64" libvirt.uri = 'qemu:///system' libvirt.emulator_path = "/usr/bin/qemu-system-aarch64" end end </code></pre> <p>Any suggestion how to bring it up? Thanks</p>
0non-cybersec
Stackexchange
Interconnection of a Midi music keyboard from its DIN5 socket to USB input on my Laptop. <p>I have an old Evolution Mk149 music keyboard which has a DIN 5 connector at the keyboard and a 15 pin 'D'connector at the other end. On my new laptop computer there are no compatable connections. As the keyboard needs to draw power through its interconnecting cable, would a connecting lead of Din 5 to USB provide a working solution? If so, Where can I get one? I have searched the web and not found one. Question 571252 gets close to my problem but involves an old text keyboard. </p>
0non-cybersec
Stackexchange
Seriously?!.
0non-cybersec
Reddit
Doodle challenge day 2/360!.
0non-cybersec
Reddit
Can one make a secure AEAD from any secure cipher and any secure MAC?. <p>Can one make a secure AEAD from any secure cipher and any secure MAC using encrypt-then-MAC:</p> <ul> <li>with independent keys and IVs (any cipher and MAC)</li> <li>if the cipher is a stream cipher (including a block cipher in CTR mode), using parts of the keystream (not used to encrypt plaintext) as the MAC key or keys and IV?</li> </ul> <p>If so, then all of the following would be secure:</p> <ul> <li>A stream cipher plus GHASH (of which GCM becomes a special case), with the stream cipher being used to mask the GHASH output.</li> <li>A stream cipher plus any other Wegman-Carter authenticator, such as Poly1305, again with the stream cipher used to mask the output</li> <li>A stream cipher plus HMAC.</li> </ul> <p>Proof of the first two cases: since encrypt-then-MAC is secure we need only to show that</p> <ol> <li>this is in fact an encrypt-then-MAC construction.</li> <li>that the MAC is secure (we already know by assumption that the stream cipher is secure).</li> </ol> <p>Firstly, we can assume that the parts of the keystream used for the MAC and to encrypt plaintext are independent, as any dependencies would be a distinguisher against the stream cipher. Therefore:</p> <ul> <li><ol> <li>is true because the construction uses a stream cipher to encrypt the plaintext, then applies a MAC to the ciphertext.</li> </ol></li> <li><ol start="2"> <li>is true because the stream cipher is a secure PRF, so there is no way (for a resource-bounded attacker) to compute the (secret) MAC key (and block used to encrypt the MAC) from the (potentially known to attacker) part of the keystream used to encrypt plaintext. Therefore, the attacker has no knowledge of the internal state of the MAC, and so the composition is secure if the MAC is. For most Carter-Wegnam MACs, this is known unconditionally.</li> </ol></li> </ul> <p>I have seen various special cases proven secure, but not the general case.</p>
0non-cybersec
Stackexchange
Are there any security hazards to installing Ubutnu for Windows 10?. <p>I only want a bash shell in Windows 10 that runs faster and doesn't have any of the quirks of git bash / MINGW64, like for instance all of that CRLF garbage. </p> <p>Is there any security harm in installing it? I mean I'm sure depending on what you install with apt-get there could be issues, but what if you're just installing <a href="https://tutorials.ubuntu.com/tutorial/tutorial-ubuntu-on-windows#0" rel="nofollow noreferrer">Ubuntu for Windows 10</a> and git?</p> <p>I noticed that I could not run <code>iptables -L</code> I got some error:</p> <pre><code>iptables v1.6.1: can't initialize iptables table `filter': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. </code></pre>
0non-cybersec
Stackexchange
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application. I need to scale my app adding some spot instances that EB do not support.</p> <p>So I create a second autoscaling from a launch configuration with spot instances. The autoscaling use the same load balancer created by beanstalk.</p> <p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p> <p>This work fine, but:</p> <ol> <li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p> </li> <li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p> </li> </ol> <p><strong>UPDATE</strong></p> <p>Elastic Beanstalk add support to spot instance since 2019... see: <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
0non-cybersec
Stackexchange
Women forced to remove the veil on day one of Austrian burqa ban.
0non-cybersec
Reddit
The coast is clear, flip the steak.
0non-cybersec
Reddit
Include &amp; in label. <p>Here is a MWE to illustrate a problem I encounter when I try to include an &amp; in a label. Any ideas how to fix this?</p> <pre><code>\documentclass[14pt,a4paper]{extreport} \usepackage[latin9]{inputenc} \newcounter{SlideCounter} \newcommand{\slide}[1]{% \stepcounter{SlideCounter}% \paragraph{\newline Slide \arabic{SlideCounter}) #1} \paragraph{\newline}} \begin{document} I have a document in which I refer to numbered `slides' and I want to label the slides to help navigate the document in TeXstudio. TeXstudio has a document structure window which shows the labels. However, if I include \&amp; in the label, as in: \begin{verbatim} \label{Alvarado Rudy \&amp; design and procedure} \end{verbatim} I get the message: \\ \begin{verbatim} ! Missing \endcsname inserted. &lt;to be read again&gt; \&amp; l.3 ...varado \&amp; Rudy design and procedure}{{}{1}} The control sequence marked &lt;to be read again&gt; should not appear between \csname and \endcsname. LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. \end{verbatim} \slide{Alvarado \&amp; Rudy design and procedure} \label{Alvarado Rudy design and procedure} \slide{Next Slide} \label{Next Slide} \end{document} </code></pre>
0non-cybersec
Stackexchange
MLB Twitter account takes down 'We don't understand the infield fly rule, either' after embarrassing call..
0non-cybersec
Reddit
My cat won't let me pet him anymore. I've had him since he was a kitty (a year now) and over the last few months, he refuses to be pet beyond the rare occasion when he's sleepy or waking up (he likes his chin being scratched). I can't remember the last time he has purred - he simply doesn't want to be near me. He no longer sleeps on my bed. Yet, he follows me everywhere and will play.
0non-cybersec
Reddit
Always Sometimes Monsters PC [Inglés] [ROL] - Game PC Rip.
0non-cybersec
Reddit
Mouse controlled first person movement JS. <p>I'm trying to implement a first person movement using the mouse. I do have it working with keyboard yet I'm having difficulties implementing it using mouse since movement to a specific side isn't that clear (i.e moving left can include moving up or down). I want to use the <code>matrix3d</code> in order to receive changed values of the position.</p> <p><strong>EDIT #2</strong> Here is a <a href="http://jsfiddle.net/WQeHb/">jsfiddle</a>.</p> <p><strong>EDIT</strong> I've pasted the new code I've managed to resolve:</p> <pre><code>$(document).on('mousemove', function (e) { var MOVE = 10; // how much to move var XTURN = 1; // how much to rotate var YTURN = 1; // how much to rotate var transformer, origMat, translationMatrix, result; transformer = document.getElementById("transformer"); if ($.browser.webkit) origMat = new WebKitCSSMatrix(window.getComputedStyle(transformer).webkitTransform); //turn left if (e.pageX &lt; xPrev) { if (XTURN &lt; 0) { XTURN *= -1; } xPrev = e.pageX; //turn right } else { if (XTURN &gt; 0) { XTURN *= -1; } xPrev = e.pageX; } //look up if (e.pageY &lt; yPrev) { if (YTURN &lt; 0) { YTURN *= -1; } yPrev = e.pageY; //look down } else { if (YTURN &gt; 0) { YTURN *= -1; } yPrev = e.pageY; } translationMatrix = new WebKitCSSMatrix("matrix3d(" + cos(XTURN).toFixed(10) + ",0," + sin(XTURN).toFixed(10) + ",0,0,"+ cos(-YTURN).toFixed(10) +","+ sin(YTURN).toFixed(10) +",0, " + sin(-XTURN).toFixed(10) + ","+ sin(-YTURN).toFixed(10) +"," + cos(XTURN).toFixed(10) + ",0,0,0,0,1)"); transformer.style.webkitTransform = translationMatrix.multiply(origMat).toString(); }); </code></pre> <p>As you can see (Sorry for the one line matrix) I'm stating the changes of the X and Y rotations on the same matrix change and then committing it, the issue now is with the <code>cos(XTURN).toFixed(10)</code> which can be related to the X and Y rotations, so you can see it works but not perfect. Would appreciate any tips/ideas.</p> <p>P.S I don't want to use the <a href="http://www.html5rocks.com/en/tutorials/pointerlock/intro/">Pointer Lock API</a>, even though it's great, since I want it to support maximal number of browsers.</p>
0non-cybersec
Stackexchange
What is `gpytorch.settings.max_preconditioner_size`? And `gpytorch.beta_features.checkpoint_kernel(checkpoint_size)`?. <p>I am following the tutorial <a href="https://gpytorch.readthedocs.io/en/latest/examples/01_Simple_GP_Regression/Simple_MultiGPU_GP_Regression.html" rel="nofollow noreferrer">Simple_MultiGPU_GP_Regression</a> and I noticed that during the training two options were established:</p> <pre><code> with gpytorch.beta_features.checkpoint_kernel(checkpoint_size), \ gpytorch.settings.max_preconditioner_size(preconditioner_size): </code></pre> <p>What are or refer to the variables <code>checkpoint_kernel</code> and <code>preconditioner_size</code>?</p> <p>I have check the documentation <a href="https://gpytorch.readthedocs.io/en/latest/settings.html#gpytorch.settings.max_preconditioner_size" rel="nofollow noreferrer">preconditioner_size</a> but it is not quite clear to me what it refers to. </p> <p>I intuit that <code>checkpoint_size</code> refers to something related to the number of training points associated with each GPU. But it is just an intuition.</p> <p>Help is appreciated. </p> <p>Thanks</p>
0non-cybersec
Stackexchange
I'll just go wait at the flying tra... FUUUUUUUUUUUU.
0non-cybersec
Reddit
Easiest way of shutting down a PostgreSQL server on Ubuntu. <p>According to <strong>pg_lsclusters</strong> I have 2 servers running on Ubuntu 14.04:</p> <pre><code> Ver Cluster Port Status Owner Data directory Log file 9.1 main 5432 online postgres /var/lib/postgresql/9.1/main /var/log/postgresql/postgresql-9.1-main.log 9.3 main 5433 online postgres /var/lib/postgresql/9.3/main /var/log/postgresql/postgresql-9.3-main.log </code></pre> <p>What is the easiest way of shutting down the 9.1 server forever?</p> <p>Using:</p> <pre><code> $/usr/lib/postgresql/9.1/bin/pg_ctl stop </code></pre> <p>I get the error:</p> <pre><code> pg_ctl: kein Datenbankverzeichnis angegeben und Umgebungsvariable PGDATA nicht gesetzt </code></pre> <p>(no database directory given and environment variable PGDATA not set)</p> <p>What is the meaning of this error?</p>
0non-cybersec
Stackexchange
Push, college and reading. I’m on medication that doesn’t allow me to drink alcohol, which kinda ruins Friday nights for this college student lol. Mostly I’ve been watching tv or writing, but tonight I picked up Push by Sapphire and read the whole thing in a couple hours. I’ve always loved reading and writing (the first thing I got for my apartment was a bookshelf for my favorites), but it felt really good to fall in love with a book again. To get that rush and excitement with each page turn, to start having voices in my head for each character. So to college students who maybe don’t read as much as they want to- just try it out! It’s totally understandable if you’re tired or don’t want to exercise your brain too much. But it’s also nice to carry a book around with you and instead of scrolling through Instagram posts about people you don’t really care about it, maybe read a bit from a book. Also- Push is freaking phenomenal. Incredibly disturbing. Incredibly emotional. I still need to process all of it.
0non-cybersec
Reddit
Tiny finger-like projections lining the nose slowly stop beating hours after death, providing clues to time of death.
0non-cybersec
Reddit
My girlfriends orgasm vs. my orgasm..
0non-cybersec
Reddit
[MAIN SPOILERS] Let's thank Meera for her choice of words.
0non-cybersec
Reddit
The Treasury of Petra, Jordan 🇯🇴 one of the most magical places I've been.
0non-cybersec
Reddit
Configure input_map when importing a tensorflow model from metagraph file. <p>I've trained a DCGAN model and would now like to load it into a library that visualizes the drivers of neuron activation through image space optimization.</p> <p>The following code works, but forces me to work with (1, width, height, channels) images when doing subsequent image analysis, which is a pain (the library assumptions about the shape of network input).</p> <pre class="lang-py prettyprint-override"><code># creating TensorFlow session and loading the model graph = tf.Graph() sess = tf.InteractiveSession(graph=graph) new_saver = tf.train.import_meta_graph(model_fn) new_saver.restore(sess, './') </code></pre> <p>I'd like to change the input_map, After reading the source, I expected this code to work:</p> <pre class="lang-py prettyprint-override"><code>graph = tf.Graph() sess = tf.InteractiveSession(graph=graph) t_input = tf.placeholder(np.float32, name='images') # define the input tensor t_preprocessed = tf.expand_dims(t_input, 0) new_saver = tf.train.import_meta_graph(model_fn, input_map={'images': t_input}) new_saver.restore(sess, './') </code></pre> <p>But got an error:</p> <blockquote> <p>ValueError: tf.import_graph_def() requires a non-empty <code>name</code> if <code>input_map</code> is used.</p> </blockquote> <p>When the stack gets down to <code>tf.import_graph_def()</code> the name field is set to import_scope, so I tried the following:</p> <pre class="lang-py prettyprint-override"><code>graph = tf.Graph() sess = tf.InteractiveSession(graph=graph) t_input = tf.placeholder(np.float32, name='images') # define the input tensor t_preprocessed = tf.expand_dims(t_input, 0) new_saver = tf.train.import_meta_graph(model_fn, input_map={'images': t_input}, import_scope='import') new_saver.restore(sess, './') </code></pre> <p>Which netted me the following <code>KeyError</code>:</p> <blockquote> <p>KeyError: "The name 'gradients/discriminator/minibatch/map/while/TensorArrayWrite/TensorArrayWriteV3_grad/TensorArrayReadV3/RefEnter:0' refers to a Tensor which does not exist. The operation, 'gradients/discriminator/minibatch/map/while/TensorArrayWrite/TensorArrayWriteV3_grad/TensorArrayReadV3/RefEnter', does not exist in the graph."</p> </blockquote> <p>If I set 'import_scope', I get the same error whether or not I set 'input_map'. </p> <p>I'm not sure where to go from here.</p>
0non-cybersec
Stackexchange
How to update Owin access tokens with refresh tokens without creating new refresh token?. <p>I've managed to get a simple example code that can create a bearer token and also request new ones by refresh token by reading other forums here on stackoverflow. </p> <p>The startup class looks like this</p> <pre><code>public class Startup { public static void Configuration(IAppBuilder app) { app.UseOAuthBearerAuthentication( new OAuthBearerAuthenticationOptions()); app.UseOAuthAuthorizationServer( new OAuthAuthorizationServerOptions { TokenEndpointPath = new PathString("/Token"), Provider = new OAuthAuthorizationServerProvider() { OnValidateClientAuthentication = async c =&gt; { c.Validated(); }, OnGrantResourceOwnerCredentials = async c =&gt; { if (c.UserName == "alice" &amp;&amp; c.Password == "supersecret") { Claim claim1 = new Claim(ClaimTypes.Name, c.UserName); Claim[] claims = new Claim[] { claim1 }; ClaimsIdentity claimsIdentity = new ClaimsIdentity( claims, OAuthDefaults.AuthenticationType); c.Validated(claimsIdentity); } } }, AccessTokenExpireTimeSpan = TimeSpan.FromSeconds(40), AllowInsecureHttp = true, RefreshTokenProvider = new ApplicationRefreshTokenProvider() }); } } </code></pre> <p>And i also have a class for refresh tokens that looks like this:</p> <pre><code>public class ApplicationRefreshTokenProvider : AuthenticationTokenProvider { public override void Create(AuthenticationTokenCreateContext context) { // Expiration time in seconds int expire = 2 * 60; context.Ticket.Properties.ExpiresUtc = new DateTimeOffset(DateTime.Now.AddSeconds(expire)); context.SetToken(context.SerializeTicket()); } public override void Receive(AuthenticationTokenReceiveContext context) { context.DeserializeTicket(context.Token); } } </code></pre> <p>The way i understand it is that by providing a <strong>refresh token</strong> you should get a new <strong>access token</strong>. However what happends in this code is that when i provide a <strong>refresh token</strong> a new <strong>refresh token</strong> is created and returned aswell. I want it to create both a <strong>access</strong> and <strong>refresh token</strong> the first time when username/password is provided but it doesn't seem correct to create new <strong>refresh tokens</strong> everytime a request for a new <strong>access token</strong> is made by using <strong>refresh token</strong>? </p> <p>If i for instance, given my code, have a 20 min timespan on the <strong>access token</strong> and two weeks on the <strong>refresh tokens</strong>, new <strong>access tokens</strong> could be created every 20 min which is good, however new <strong>refresh tokens</strong> would also be created every 20 min but last 2 weeks. Alot of <strong>refresh tokens</strong> would then be created but not used. </p> <p><strong>Question:</strong> </p> <p>I just started reading/learning about this a few hours ago so i'm quite unsure but is this the correct behavior or am i supposed to cange my code in some way to only create and return a new <strong>access token</strong> when a <strong>refresh token</strong> is provided and not create and return a new <strong>refresh token</strong> also? Any help or input is highly appreciated, thanks! </p>
0non-cybersec
Stackexchange
boost::deadline_timer can fail when system clock is modified. <p>As could be read at:</p> <p><a href="https://svn.boost.org/trac/boost/ticket/3504">https://svn.boost.org/trac/boost/ticket/3504</a></p> <p>a deadline_timer that timeouts periodically and which is implemented using deadline_timer::expires_at() (like the example in <a href="http://www.boost.org/doc/libs/1_40_0/doc/html/boost_asio/tutorial/tuttimer3/src.html">Boost Timer Tutorial, 3th example</a>) will probably fail if the system time is modified (for example, using the date command, if your operating system is Linux).</p> <p>Is there a simple and appropiate way of performing this operation now, using Boost? I do not want to use deadline_timer::expires_from_now() because I could verify that it is less accurate than "manually" updating the expiry time.</p> <p>As a temporal solution I decide to, before setting a new expires_at value, calculate the time period between now() and expires_at(). If it is more than double the periodic delay, then I exceptionally use expires_from_now() to resync with the new absolute time. </p>
0non-cybersec
Stackexchange