text
stringlengths
3
1.74M
label
class label
2 classes
source
stringclasses
3 values
[50YA] 50 Years Ago - September 1967/2017 - This month we're talking about Mach Go Go Go that's what they called it in Japan in American they named it Speed Racer let's talk more about localization and also this is how they talk in Speed Racer oh-HO!. *50 Years Ago is a monthly/semi-monthly article series that discusses notable anime from 50 years in the past, roughly aligned with the current month. With this series, I hope to expose classic old anime to younger viewers and give some light education about the early age of anime. For previous 50YA articles, try [this search criteria](https://www.reddit.com/r/anime/search?q=title%3A%5B50YA%5D+author%3AaniMayor&restrict_sr=on&sort=new&t=all).* ____________________________________ # 50 Years Ago This Month This month we're looking back to September of 1967 and the debut of the United States version of *Speed Racer*. I'm sure you've all heard of [*Speed Racer*](https://barsandbooths.com/wp-content/uploads/2015/07/1262-Speed-Racer-Tin-Sign.jpg) by this point. The series is legendary, not only because it was extremely popular in the west, but also due to its lasting memetic reputation, especially from the bizarre antics of its English dub. *Speed Racer* was far from the first anime to be syndicated in English-speaking western countries, but for many viewers in the 1960s it may have been the first series that the audience recognized as being originally produced in Japan... there was no other explanation for its run-on dialogue or wacky expressions. This may have begun the public awareness of "anime" and its differences versus domestic western animation, but along with that awareness begun a long, tumultuous issue of localization... an issue that still persists today.   ## Background *Speed Racer* was the second series ever made by the now-legendary Tatsunoko Productions. Tatsunoko Pro is still operating and producing anime series today, making it one of the oldest surviving anime production studios (but Toei Animation still has them beat by fourteen years). A ton of huge names in the industry have worked at or work closely with Tatsunoko Productions over the last fifty years, but back in the 1960s it was just a small studio humbly founded by three brothers - Tatsuo Yoshida, Kenji Yoshida and Toyoharu Yoshida. Tatsuo, a successful manga illustrator and writer, was the oldest brother and the main driving force in the project. Together, they setup the studio following the same model as Tezuka's Mushi Productions - they would get started in the industry by adapting Tatsuo's own manga into anime series. Tatsunoko's first production was the anime adaptation of Tatsuo's *Uchū Ēsu* aka *Space Ace*, which aired from 1965 to 1966, and was overall pretty successful. They then followed this up with an adaptation of Tatsuo's manga *Mach Go Go Go* about a young race car driver. *Mach Go Go Go* was itself a sort of rewrite of an earlier car-racing manga by Tatsuo called *Pilot Ace*. The anime debuted in Japan in April of 1967. The Tatsunoko brothers intended to grant overseas broadcasting licenses for *Mach Go Go Go* right from the start (unlike how several contemporary studios had only started overseas licensing due to financial troubles). By the time work began on *Speed Racer*, the overseas success of *Astro Boy* was well-known in Japan, and the Tatsunoko brothers hoped a similar overseas success could help them build up their studio's finances. Though according to a later interview with Toyoharu they didn't actually make all that much money off of *Speed Racer*'s huge overseas success due to errors made on the business side of things: "I'm sorry to say the middle man on the Japanese side of the deal was kind of sloppy about his work." For the U.S. syndication the rights were sold to Trans-Lux, a television equipment manufacturer-turned animation distributor, though they would sell off their animation catalog to Alan Enterprises in 1969. License/sub-license deals to other countries like France and Spain would soon follow. Fred Ladd (the U.S. animation localization superstar at the time) was first approached with the pilot of *Speed Racer*, but he was already busy with preparing the syndication of *Marine Boy*, and recommended Peter Fernandez (the two had earlier collaborated on the *Astro Boy* and *Gigantor* syndications) to head the project instead. Thus, Peter Fernandez became the syndication director, writing the scripts, directing the voice actors, editing the episodes, etc. For voice actors, he hired Corinne Orr, Jack Curtis, Jack Grimes... and that's it. These three voice actors plus Fernandez himself comprised the entire cast of all fifty-two episodes. The original Japanese production, by contrast, lists at least sixteen credited voice actors. According to Fernandez (from an interview featured in Northrop Davis' *Manga and Anime Go to Hollywood*): "My only instructions for *Speed Racer* were to 'Americanize' the Japanese version. I was given free rein to come up with the script. The translation I got were very sparse, so I had to make up a lot of the dialogue." The syndication production schedule was very short - each episode would be recorded in only a single day. Also worth quoting: "In those days, Jack Dempsey [...] had a restaurant across the street from our studio. We'd have an hour for lunch and I'd have two or three whiskey sours, and I guess that helped me with the rest of the afternoon."   ## The Anime Itself I hate to admit it... but *Speed Racer* is kinda terrible. No matter how many episodes I watch, I can't get used to or even ignore the sloppy art style and meme-tastic poses/faces. Characters are frequently striking the most [bizarre poses](https://i.imgur.com/6YM7Jzb.jpg) and looking off into the distance cross-eyed. Body motions often have too few frames or just look like unnatural movement. Plus there's the eyelashes, some colour-clashing, and occasional background issues. These wonky visual characterizations and shortcutting do lend the series some unique visual character (and has even gotten unironic praise in some reviews), but I think nostalgia and/or giving the show too much leeway due to its age are big factors at play here - it's hard to label these as positive traits in the context of 1967. Overall I think the majority of the aesthetics of the show just [aren't very visually attractive](https://i.imgur.com/NDrDVru.jpg)... not fifty years ago, and especially not now. That being said, one thing that is quite good is the [animation of the vehicles themselves](https://i.imgur.com/mqS5Aq0.jpg). There might be too much repetition of some cuts, but the cuts themselves are generally high in detail. It's not just sideways and top-down views, either, there's lots of [frontward views](https://i.imgur.com/nDbCzQA.jpg), [close diagonal angles](https://i.imgur.com/qU0FGW8.jpg), and lots more. There's even a few twisting "car first perspective" shots that are quite novel for the time. When *Speed Racer* first aired there had not been a lot of anime series with cars in them, and never one with such a prominent focus. The angles and techniques used in *Speed Racer* were innovative, and you'll see the same things copied in later series like [*Lupin III*](https://i.imgur.com/odAuQUO.jpg), *Science Ninja Team Gatchaman*, and *Machine Hayabusa*. Additionally, I was surprised at how good the animation was in some of the hand-to-hand fight scenes. It feels like they took inspiration from the *Cyborg 009* movies, with a lot of the same fast ducking/turning motions and jumping tackles. As for the plot, it's overall pretty boring. Other than the first couple episodes - where new characters are being introduced and they need to convince Pops to let Speed be a professional racer - there isn't any sense of progression. The Mach 5 has all its gadgets from the beginning, Speed and the other racers don't seem to improve or suffer any lasting impairments, etc. The various races don't increase in difficulty over the course of the season, nor do the various villains escalate. Everything is all quite static across the series. This is especially noticeable because there are a lot of plot elements that could have been much more engaging if they were developed gradually. The big one is the identity of the "mysterious" Racer X: none of the characters know that Racer X is secretly Speed's runaway brother Rex, but rather than this being played out as an actual mystery for the audience like it is for the characters the narrator simply tells this to the audience directly at the start of episode 3 (this is one of many things that the Wachowskis movie improved upon so, so much in the 2008 live-action adaptation). Similarly, [Trixie and Speed's romantic relationship](https://i.pinimg.com/736x/8c/93/0c/8c930c2b1b603eb042a583cc51fcb276--b-cup-speed-racer.jpg) or Speed's [rivalry with another driver](https://images6.alphacoders.com/423/423481.jpg) like Skull Duggery would have been a lot more interesting if we saw them form and develop over the course of the season. Or how about the Mach 5's gadgets, which are all listed in the first few episodes - why not have Pops gradually add them over the course of the series? On an episode-by-episode basis, the plot also suffers from being fairly repetitive. Almost all of the race episodes are mostly just a cycle of: nefarious racer at the front does some sort of sabotage (e.g. plant a landmine) -> Speed falls into the trap -> Speed is injured but gets better/the Mach 5 is broken but then they fix it (probably because Racer X helped) -> Speed is catching up -> nefarious racer does another trap -> repeat four more times until Speed defeats the nefarious racer and wins. And then out of all the non-racing episodes, a lot of them have very similar setups where there's a poor heart-of-gold character being abused by a heartless crook, Speed and the good character get captured by the crooks, they fight the crook and win. These crooks and nefarious racers are all pretty one-note villains so they themselves get quite repetitive, too. All that being said, these plots give us some absolutely preposterous scenes, and here is where *Speed Racer* does get some charm. There's these occasional in-between moments, often outrageously over-the-top, like Speed spontaneously [pulling a knife out and attacking a shark](https://i.imgur.com/B3Q8IeO.png), or when the concierge of a hotel ignores the client next to him to suddenly pull out a gun and shoot at Speed. These little bits of insanity probably detract from the characterization and immersion, but they're a ton of fun and keep a lot of episodes from being totally monotonous. Taking a look at the production quality, there's more problems. There's lots of running scenes with too much repetition of too few frames, lots of abstract or undetailed backgrounds, etc... the usual lack of polish, possibly indicative of not having that much experience amongst the production team or perhaps having problems completing work in time. Some might argue that these are stylistic choices, but I don't think so... not when they're also accompanied by occasional characters teleporting into scenes they shouldn't be in, re-using the exact same car animation zooming past three times to make the races seem bigger, or using frames where the characters are unnaturally still for far too long. It just looks sloppy and inconsistent to me. There's a fair bunch of mentions around the web that this is all due to *Speed Racer* having been a shoestring production in the first place. I don't have a primary source for that, though. And it was, after all, only Tatsunoko Production's second full series, so one could argue inexperience might have been a factor more than budgets or deadlines. But then we get to the voice work and editing... This is what everyone remembers most about *Speed Racer* - how the English dub voices talk really fast because they're trying to match the mouth movements in the scene (that's how people mis-remember it, but the dialogue speed is usually fine, rather it's that they don't pause between sentences)... and also how there's tons of bad accents... and also how they use a ton of (sometimes bizarre) grunts, groans, and other reaction noises. It's all quite weird, and has often made *Speed Racer* the butt of various jokes, memes, and "worst dub ever" lists. But here's the thing - that English dub is entirely faithful! The Japanese audio also skips over pauses in the dialogue! The Japanese dialogue is also full of "Gah!", "Oh-ho!" and other reactions noises! I couldn't tell you if the accents are bad or not, though. What's more, the English dialogue in all its haste actually does usually match the starting and ending of mouth movements (the individual syllables lining up... not so much), but the original Japanese audio frequently fails to do so. There are even some scenes where a character's mouth moves with no voice, then stops, then starts again with dialogue, as if there was an entire short line (or perhaps a laugh) in the script the animators used but was never recorded! There's many instances of this, meaning there was a severe lack of proper review and editing done on these episodes. That shoestring budget theory/assumption is starting to look more and more likely, huh? I do want to highlight though that while both the Japanese and English audio have the unusual quick sentence jumps and odd reaction noises, don't get thinking that they're the same. Even despite the editing hiccups, the Japanese voice work is much better. There is far more energy, more emotional range, and more nuance delivered by the Japanese voice actors than their U.S. counterparts... plus more variety of voices since there are more actors voicing the characters! A lot of reviews and articles about *Speed Racer* say the voice acting is more energetic and snappy in the English dub, and often claim this is why the series was a bigger hit in the U.S. than in Japan, but I think that's completely backwards. So, in the end, we've got a series that has dubious animation quality, definite editing deficiencies, bizarre dialogue, occasionally preposterous but mostly repetitive plots, and arguably crappy overall visual aesthetic. How did this ever get so popular? Well, despite all of the above, there's no denying that *Speed Racer* had a very unique premise for its time, and one which would easily appeal to its younger target audience. It makes for a very good combination of factors, where audiences were enjoying it partly because the concept was cool, and partly because they could laugh at the weirdness of it. No other series could offer that in 1967!   ## Legacy Let's get the short, easy ones out of the way first: First, as previously mentioned, there were lots of animation techniques used for the scenes of cars passing or the camera following the cars that were newly introduced in *Speed Racer* and would set precedents for how such cuts can be made in any future series that has a car racing past. Secondly, well the series was simply very popular and memorable, so it created something of a cultural touchstone, at least in the United States. Later on, there would be a whole bunch of remakes, prequels, comic-book spin-offs, etc., most notably *Speed Racer X*, *Speed Racer: The Next Generation*, and the 2008 live-action film. Ok, onto the big one...   ## American Localization The term "localization" can have a pretty broad variety of meanings across all media, but when it comes to anime and anime-related topics, we typically apply the term for when a non-Japanese licensor takes a Japanese-made series and replaces the Japanese names, settings, and cultural objects with those that would fit with the licensor's locale. Most of the time, this only really becomes a big deal if the series is set in Japan. No one's going to care *that* much if a few things are renamed in a futuristic space opera set in the Andromeda galaxy... after all western or Filipino names probably make just as much sense as Japanese names for Andromedean people, right? But it's a whole different story when the series is set in modern-day Japan and full of ordinary modern Japanese trappings. Localization is not an inherently bad thing, and every human culture in the world does it. Hollywood adapts and/or localizes stories and media from all over the world, while Bollywood, the Chinese movie industry, Japan, and others adapt and/or localize American stories and media right back. (Side note: you should *totally* go watch the Chinese localization of *What Women Want*, or the Korean localization of *The Good, The Bad, and The Ugly* both of which are hilarious and awesome). There are statues from Ancient Greece which Roman sculptors copied but modified slightly (e.g. replace a held olive branch with a sword, perhaps?) to appeal more to Roman buyers, so localization can be said to be at least a couple thousand years old. But there are definitely many pitfalls one can fall into when creating a localized version of a product. Anime is especially susceptible to these pitfalls, because editing animation or modifying scripts when re-dubbing a series is relatively easy and leaves almost zero trace that the modification even occured. Someone going to see the new Hollywood *Death Note* movie without knowing anything about it except that it comes from a Japanese manga/anime can already reasonably deduce that there have probably been plenty of changes made by the Hollywood studio. But it's much harder for even an educated viewer watching the English dub of the *Death Note* anime how faithful it is being to the original. Even if the script has changed substantially, it won't necessarily look out of place. Likewise, studios have gotten pretty good at near-seamless [visual modification](https://crdiscoveries.files.wordpress.com/2011/12/q.png), as well. This is the inherent danger of localization in anime, and why it has been a major topic of discussion and critical reaction in the western anime fandom for almost as long as there has been a western anime fandom. It makes sense that a series being broadcast in another country might need to be modified to conform to the laws and standardized practices of the country. It potentially even makes sense to modify some basic terminology like renaming the show and characters to names that are actually memorable and marketable. But there's a long history of companies making further edits beyond those criteria. Sometimes it's justifiable - for example, the American [*Action for Children's Television* group](https://en.wikipedia.org/wiki/Action_for_Children%27s_Television) really did get some shows taken off the air in the '60s and '70s, just by complaining a lot about the violence in them, so many syndicated series had their most extreme violence edited out to avoid being targeted by the ACT. Othertimes, it can certainly seem like the syndicator is mangling the original work for no other reason than to follow some bizarre idea of what *they* think the fans want. There's a huge discussion to be had about localization, one that doesn't necessarily have a lot of right answers. That discussion - or the English-speaking part of it, anyways - starts with *Speed Racer*. *Speed Racer* was not the first anime series syndicated in the U.S. to undergo some "localization". Before *Speed Racer* aired, U.S. syndication had already broadcast *Tetsuwan Atomu*, *Tetsujin 28-go*, *Yūsei Shōnen Papī*, *Jungle Taitei*, and *Eitoman*, not to mention the anime films *Saiyu-ki*, *Shōnen Sarutobi Sasuke*, and *Hakujaden*. Except none of those were called that in their U.S. broadcasts - they were: *Astro Boy*, *Gigantor*, *Prince Planet*, *Kimba the White Lion*, and *8-Man*, *Alakazam the Great*, *Magic Boy*, and *Panda and the Magic Serpent*. By the time *Speed Racer* came along (plus *The Amazing 3* and *Marine Boy*, which were roughly contemporous) it was already common practice to localize any anime licensed for U.S. audiences. At the very least they would change all the names to English-recognizable names, and in the case of *Gigantor* they toned down the violence by editing out certain bloody shots. All those preceding series are set in fantastical or futuristic settings, though. Call him Leo or call him Kimba, it doesn't matter much when he lives in a fictional jungle. Marine Boy's ocean-covered Earth bears no resemblance to ours, and you won't see him or 8-Man or Astro Boy handling any money or objects with any particular link to Japanese culture. Was *Speed Racer*'s setting likewise fictional? Almost... but not quite. The Racer family, their house, their clothes, etc, don't necessarily look especially Japanese. It is never stated what nationality they are or where they live, nor do we see them going to school or doing anything specifically Japanese. One might even go so far as to say that Pops' mustache seems rather un-Japanese looking. The races take place around the world, so that's no help. Several tertiary characters seemingly living in or near the Racer family's town have blonde hair and blue eyes. And the Mach 5 has its steering wheel on the left side! This is actually all intentional. Tatsuo Yoshida has gone on record to say that he intentionally wanted the characters and setting of *Speed Racer* to feel international, to not be bound to any geographic or political constraints. This is what was in vogue at the time in manga and anime, just like with those other series we listed above, or any of the other series we've examined in this column so far (Sally the Witch would perhaps be the closest to having a specific real-world setting, but even its setting is a sort of vague, general "city probably in Japan somewhere" setting). Despite that, however, *Speed Racer* (at least the anime) *does* have some few bits of Japan-specific content. But the U.S. dub overwrites any of those, and also inserts additional U.S.-centric content. Some examples: In episode 3 the English dub refers to [this stack of bills](https://i.imgur.com/uoTnWdS.jpg) as "four thousand dollars" when the notes are clearly 10 000-yen notes, or at least a stack of many 10 000-*something* notes. In episode 6, Trixie pretends to be a poor "local" who can guide Speed and the villain of the week, but in the U.S. dub she's a "native" and talks in some weird Miss Cleo-plus-cliche-Transylvanian accent so it seems they really do mean she's a Native American (nevermind [the blonde hair and blue eyes](https://i.imgur.com/bEcrgbN.png)?). In episode 18 a car acrobat is going to drive over a waterfall, but in the U.S. dub that waterfall is now specifically Niagara Falls. Additionally, the episodes were shortened by removing or trimming some cuts. Often-times this was just a matter of trimming miscellaneous over-long cuts, or shortening a conversation (e.g. an 8-cut conversation would remove two of the close-up cuts and be 5 seconds shorter, while the dialogue covered all the same meaning just faster). It seems like perhaps the U.S. broadcast needed to be a bit shorter than the Japanese (longer commercials, perhaps?). The opening was all shortened by about 45 seconds. They also used this technique to tone down some of the most violent parts of the series. This gets talked about a lot, but honestly I think it might be a bit overblown - there's still plenty of cars falling off cliffs or bursting into flames (though the English dub will often throw in a "they're hurt but alive!" off-screen line of dialogue to excuse it). A few other changes are just traight up baffling. One of the most notable would be a removed cut of Racer X tearing up in the finale of episode 50 (conveniently, Skaro Hunting Society posted a comparison video of the two versions on Youtube so [you can see it for yourself here](https://www.youtube.com/watch?v=sc7LTjvGI1Q)). Were the U.S. team afraid of Racer X not seeming manly and cool enough if he let out a few tears? Was it too challenging to dub? We'll probably never know. Generally speaking, this is all pretty minor stuff. It's not like naming the waterfall as Niagara Falls really changes anything to the plot or the themes of the show. Racer X crying was a nice moment, but it doesn't make *that* much difference to remove it. But the more you do this kind of thing, the more justified it is to keep doing it. Furthermore, *Speed Racer*'s bizarreness made it more recognizable to U.S. audiences as being an "anime" (or "Japanimation") unlike earlier syndicated shows which blended in more with domestic productions, so this made *Speed Racer*'s localization more obvious both to future syndication producers and to audiences. So when it comes to localization, *Speed Racer* is a starting point. All the localization techniques used in *Speed Racer* would be used again in other U.S. (and other countries) syndications, growing more common and the changes becoming more significant. By the mid-1970s it was common practice not only remove the most extreme violent scenes but basically any and all "mature" elements of a show that children *supposedly* wouldn't understand/accept, and furthermore to outright change the content in order to try and make it more appealing to western audiences, as if the original Japanese content had no chance of being appealing on its own merit. As an example, *Science Ninja Team Gatchaman* (another series by Tatsuo Yoshida) was moved from being set on Earth to becoming a space opera in a fictional-galaxy where all the characters are robots (some allege these changes were made to make the show popular by being more like *Star Wars*). This whole practice, which started so small and innocuous with the likes of *Speed Racer*, had spiralled completely out of control. Thankfully, there was eventually a counter-reaction. Some Japanese creators grew reluctant to license their series, or tried to impose stipulations on how much it could be edited. After New World Pictures [utterly butchered](https://upload.wikimedia.org/wikipedia/en/e/e6/Wotwuscover.jpg) their U.S. release of *Nausicaa*, Hayao Miyazaki and Studio Ghibli resisted licensing any of their feature films in the U.S. for several years... and when they did try again [they sent a katana](https://www.theguardian.com/film/2005/sep/14/japan.awardsandprizes) to the U.S. producer handling the release of *Princess Mononoke* as a warning of what would happen to him if they weren't happy with the result. On the consumer side, growing globalization in the '80s and '90s allowed fans to acquire copies of the original Japanese editions of series, so they could see the differences first-hand and the increase of conventions and other cross-regional meetings allowed the discussion to spread more widely. The now-older fanbase wanted more faithful adaptations and they now had the resources to act more cohesively towards that goal. These goals supported the rise of fansubs and their pre-internet-era distribution network, as well as saw some untrustworthy companies fall while new companies with a closer philosophy to the fans' desires starting up. Today, this counter-reaction is still prominent within the anime community, and anime remains one of the industries with the most attention given towards literal accuracy in translations, comparisons of broadcast versions, etc. With internet streaming becoming the dominant method of anime distribution, yet another generation of new companies are at the helm, and they are now precariously balanced between trying to market the shows they've licensed and dubbed to non-hardcore anime fans, while at the same time not wanting to take a step too far in their dub scripts or opening music choice such that they garner the ire of jaded hardcore fans who are averse to any and all localization changes. The conversation has taken a new turn, but it is far from over.   ## Other Thoughts I *really* dislike [Spritle and Chim-chim](https://i.imgur.com/DBfyMA3.jpg). I get that these Bart Simpson-esque characters are necessary to appeal to the really young kids in the audience, but they're just so tiresome...   ## Where Can I Find It? There's been a whole bunch of VHS and DVD releases of *Speed Racer* over the years, including remastered versions and various extras. These were all either only with English audio or only with Japanese audio. Funimation acquired the rights in 2015 and announced their intention to release the series on Blu-Ray, with separate releases of the English and Japanese audio versions. Then they announced there would be a combined edition with both audio tracks. Earlier this year they released a version that said on the box it had both audios, but this was a mistake and it was English-audio-only. Funimation has said that a "Deluxe Edition" with both the audios would be coming later this year.   ## Next Month/Year *Skyers 5*, if I can find enough material on it.   ## Article Notification Since these articles are only posted once a month (or two... or three...) and not even on any particular day of the month, if you'd like to be notified whenever a new one is posted simply let me know below or via PM and I'll summon/PM you whenever future articles are posted.
0non-cybersec
Reddit
What is the easiest way to get the property value from a passed lambda expression in an extension method for HtmlHelper?. <p>I am writing a dirty little extension method for HtmlHelper so that I can say something like HtmlHelper.WysiwygFor(lambda) and display the CKEditor.</p> <p>I have this working currently but it seems a bit more cumbersome than I would prefer. I am hoping that there is a more straight forward way of doing this.</p> <p>Here is what I have so far.</p> <pre><code>public static MvcHtmlString WysiwygFor&lt;TModel, TProperty&gt;(this HtmlHelper&lt;TModel&gt; helper, Expression&lt;Func&lt;TModel, TProperty&gt;&gt; expression) { return MvcHtmlString.Create(string.Concat("&lt;textarea class=\"ckeditor\" cols=\"80\" id=\"", expression.MemberName(), "\" name=\"editor1\" rows=\"10\"&gt;", GetValue(helper, expression), "&lt;/textarea&gt;")); } private static string GetValue&lt;TModel, TProperty&gt;(HtmlHelper&lt;TModel&gt; helper, Expression&lt;Func&lt;TModel, TProperty&gt;&gt; expression) { MemberExpression body = (MemberExpression)expression.Body; string propertyName = body.Member.Name; TModel model = helper.ViewData.Model; string value = typeof(TModel).GetProperty(propertyName).GetValue(model, null).ToString(); return value; } private static string MemberName&lt;T, V&gt;(this Expression&lt;Func&lt;T, V&gt;&gt; expression) { var memberExpression = expression.Body as MemberExpression; if (memberExpression == null) throw new InvalidOperationException("Expression must be a member expression"); return memberExpression.Member.Name; } </code></pre> <p>Thanks!</p>
0non-cybersec
Stackexchange
Will an ssd make the ubuntu UI more responsive?. <p>I apologize if this is a duplicate, if it is I was not able to find any actual explanation with Google or Bing or even searching Ask Ubuntu.</p> <p>I want to know if an SSD will improve the Ubuntu UI or KDE desktop. I know that I/O and loading times will be a <em>ton</em> faster than what I had on a 5200 rpm, 250 GB hard disk with disk surface problems, but is there any way I can use it over a hard drive to make the Ubuntu UI consistently more responsive? I want to know if it will solve some, if any, of the stuttering I got on my system before the hard drive failed almost altogether.</p> <p>I'm asking this on Ask Ubuntu just because on Mac, an SSD seemed to do nothing to UI responsiveness, while on Windows, adding a swap drive helped a bit with keeping programs running just fine under heavy multitasking but also really helped with keeping the UI smooth on Vista and later in the form of a large pagefile on a small 8 GB eSATA drive.</p>
0non-cybersec
Stackexchange
Latest Update and External Hard Drive. Has anybody had trouble with their xbox one not detecting a external hard drive after the latest console update?
0non-cybersec
Reddit
When you are baked but have to go do adult things in the outside world..
0non-cybersec
Reddit
What movie is the greatest mindfuck?.
0non-cybersec
Reddit
The bullet that killed my beautiful machine..
0non-cybersec
Reddit
What version of Outlook introduced &quot;Quick Delete&quot;. <p>In what version of Outlook did Microsoft introduce the quick delete button in the email list view. You see the delete button when you mouse over a message. Did it exist in Outlook 2010? Its definitely in Outlook 2013.</p>
0non-cybersec
Stackexchange
Kilometers Morales is Spiderman.
0non-cybersec
Reddit
Do Visual Studio Extensions (VSIX) need to be strong named?. <p>The default VSPackage template in the Visual Studio 2012 SDK generates a project which uses strong naming.</p> <p>Because strong naming is transitive, this means that any references I add (e.g. another project in the same solution, or a third-party dependency) also need to be strong named.</p> <p>Since I don't feel comfortable strong-naming third-party dependencies, I'd prefer to remove the strong naming from my VSIX.</p> <p>What are the disadvantages of doing this?</p>
0non-cybersec
Stackexchange
Method for optimal de-composition of rank-deficient integer matrices. <p>I'm working with (integer) matrices of reduced rank and try to find a method to decompose the "redundant" columns by some base. </p> <p>For instance the following matrix $A_5$ </p> <pre><code> | 1 14 24 45 46 26 24 | | -15 -75 -130 -180 -165 -105 -50 | A=| 50 145 230 275 215 130 35 | | -60 -120 -170 -180 -120 -60 -10 | | 24 36 46 40 24 9 1 | </code></pre> <p>has rank 4 and so three of the columns can be expressed by linear composition of 4. For instance</p> <pre><code> | 1 14 24 45 | | 46 26 24 | | -15 -75 -130 -180 | | -165 -105 -50 | | 50 145 230 275 | * T = | 215 130 35 | | -60 -120 -170 -180 | | -120 -60 -10 | + ----------------------+ +-----------------+ | 24 36 46 40 | | 24 9 1 | </code></pre> <p>where the 4x3-matrix T can be computed by inversion of the topleft 4x4 submatrix on the lhs and premultiplication with the top 4x3 submatrix on the rhs. For instance with the shown ansatz I find a solution for $T$ - where also the entries can be made integer by multiplication with their common denominator.<br> For instance I got for this </p> <pre><code>| 23716 18095 24717 | | -38192 -35035 -32109 | | 11088 13860 3696 | = T * ( 2^2 * 3 * 5 * 7* 11) | 10164 5775 9933 | </code></pre> <p>Of course T differs depending on which columns I use for the lhs and which on the rhs, and an optimal T were one whose entries show such a recognizable pattern, that I can extrapolate for the cases $A_6$, $A_7,... $ which have more rows and columns but similar structures - well, that's perhaps too much for the beginning. Let's first try to just find the combination with the smallest common denominator and having small integer entries - and an algorithm for finding this. </p> <p>So what I'm finally looking for is <em>a method</em> , an <em>algorithm</em> how to solve such a problem systematically. In Pari/GP there is the <code>lindep</code> function available which somehow employs the LLL - algorithm (if I got things correct). But that <code>lindep</code> works only with scalars, not with column-vectors. </p> <blockquote> <p><strong><em>Q:</em></strong> Is there some method to search for (hopefully: optimal) decomposition in such situations of rectangular, rankdeficient integer matrices? </p> </blockquote> <p><hr> Some background: the matrices $A_k$ occur in the iteration of the decremented exponential-function $f(x)=\exp_t(x)-1$ as coefficients of the polynomial terms of the taylor-series for $f^{°h}(x)$ (depending on iteration-height parameter $h$) see for instance <a href="http://go.helms-net.de/math/tetdocs/ExponentialPolynomialInterpolation.pdf" rel="nofollow noreferrer">description of the problem</a> pg 12 </p> <p>It is also related to find a solution for the related problem in <a href="https://mathoverflow.net/q/57627/7710">this older question</a> at mathoverflow and my earlier attempt of an answer.</p>
0non-cybersec
Stackexchange
How to Turn Your DD-WRT Enabled Router into a Whole House Ad Blocker.
0non-cybersec
Reddit
"Emergently".
0non-cybersec
Reddit
There was an attempt to be Batman.
0non-cybersec
Reddit
What&#39;s the optimal &quot;Dynamic IP Restriction Settings&quot; in IIS8. <p>So I have turned this on in my Azure cloud service site to try mitigate spiders and bots hitting us an absurd amount of times.</p> <p>Has anyone had any experience with these settings?</p> <p>Deny IP address based on the number of concurrent request: Maximum number of concurrent requests?</p> <p>Deny IP address based on the number of requests over a period of time: Maximum number of request? Time period (in milliseconds)?</p>
0non-cybersec
Stackexchange
makecell package vertical centering of vertical text. <p>I'm using makecell package to write vertical text to my table cells. It works fine, but I have trouble centering it. Normal vertical text (within a {tabular}) is displayed as:</p> <pre><code> \rothead{Some lenghthy\\ sentence} </code></pre> <p>Using </p> <pre><code> \rothead[c]{Some lenghthy\\ sentence} </code></pre> <p>does center it, but adds a @ to the end ??</p> <p>I'm not good at tex macros, this is the definition:</p> <pre><code>% \begin{macro}{\rothead} % The macro for rotated tabular column heads. If no \package{rotating} package % loaded this macro works like |\thead|. % \begin{macrocode} \newcommand\rothead{\@ifundefined{turn}% {\PackageWarning{makecell}{\string\rothead\space needs rotating package}% \let\tabg@pe\theadgape \def\t@bset{\cellset\theadfont\theadset}\thead@}% {\let\theadgape\rotheadgape \@ifnextchar[{\@rothead}{\@@rothead}}} % \end{macrocode} % For rotated column head default column setting is similar to % |p{\rotheadsize}| (plus some additional justification settings) % \begin{macrocode} \@ifdefinable\@rothead{} \def\@rothead[#1]#2{\thead{\\[-.65\normalbaselineskip] \turn{\cellrotangle}\thead[#1]{#2@{}}\endturn}} \newcommand\@@rothead[1]{\thead{\\[-.65\normalbaselineskip] \turn{\cellrotangle}\thead[c{&gt;{\rightskip0explus \rotheadsize\hyphenpenalty0\pretolerance-1% \noindent\hskip\z@}p{\rotheadsize} @{}}]{#1}\endturn}} % \end{macrocode} % \end{macro} </code></pre> <p>Can anyone explain please? I'd really like to center my vertical column headers :(</p>
0non-cybersec
Stackexchange
Grandma shoots an apple on her own head [x-post /r/gifs].
0non-cybersec
Reddit
ES2015 template strings security issue. <p>Here's a quote from <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/template_strings" rel="nofollow">MDN</a>:</p> <blockquote> <p>Template strings MUST NOT be constructed by untrusted users, because they have access to variables and functions.</p> </blockquote> <p>And an example: </p> <pre><code>`${console.warn("this is",this)}`; // "this is" Window let a = 10; console.warn(`${a+=20}`); // "30" console.warn(a); // 30 </code></pre> <p>The example here doesn't show any vulnerabilities I can see.</p> <p>Can anyone give an example of an exploit that takes advantage of this?</p>
0non-cybersec
Stackexchange
Non-zero vector equation that requires you to find a scalar. <p>I have stumbled across an exercise that goes like this:</p> <blockquote> <p>Let vector a be a non-zero vector. Find the value of scalar $k$, given the equation: $(k+1)(k-2)a+ka=2a$</p> </blockquote> <p>How is it done?</p>
0non-cybersec
Stackexchange
ELI5: the argument that gender is a social construct.
0non-cybersec
Reddit
Apache mod_expires. <p>I am rather confused with the whole access and modification.</p> <p>I want the files to be cached until they are modified. If the data is the same, show cache version. If data has changed, download updated version and cache it.</p> <p>I don't see why you would want anything different? All this access plus 6 months is not making sense to me. Request a new file if the last modified date is newer than the cache date. Can this not be done in such a simple manner?</p> <p>I want to be able to create index.html on 1/1/2012 and have everyone cache it. I don't want it to be downloaded again until I edit it. Say I edit it at 1/5/2012 and someone who hasn't seen index.html since 1/1/2012 comes along, they should see they have 1/1/2012 cache but now the file has a last mod time of 1/5/2012 so they download 1/5/2012 version and cache it.</p> <p>I never want to edit something and have a user not see it for any period of time. I want all my edits to be viewed upon next request.</p> <p>How can I do this for all files?</p>
0non-cybersec
Stackexchange
MitLy.
0non-cybersec
Reddit
Combining several articles using combine package causes errors. <p>For my thesis I need to combine two articles into one document. I have looked at the <a href="http://ctan.org/pkg/combine" rel="nofollow"><code>combine</code> package</a> which looks perfect for this. However, when I try to typeset my document, I get a lot of errors:</p> <pre><code>Latex Error: ./main.tex:81 LaTeX Error: Command \c@minilofdepth already defined. Latex Error: ./main.tex:81 LaTeX Error: Command \c@minilotdepth already defined. Latex Error: ./main.tex:81 LaTeX Error: Command \c@partlofdepth already defined. Latex Error: ./main.tex:81 LaTeX Error: Command \c@partlotdepth already defined. Latex Error: ./main.tex:81 LaTeX Error: Command \c@sectlofdepth already defined. Latex Error: ./main.tex:81 LaTeX Error: Command \c@sectlotdepth already defined. Latex Error: ./main.tex:81 LaTeX Error: Command \mtc@savelofdepth already defined. Latex Error: ./main.tex:81 LaTeX Error: Command \mtc@restorelofdepth already defined. Latex Error: ./main.tex:81 LaTeX Error: Command \mtchideinmainlof already defined. Latex Error: ./main.tex:81 LaTeX Error: Command \mtc@savelotdepth already defined. Latex Error: ./main.tex:81 LaTeX Error: Command \mtc@restorelotdepth already defined. Latex Error: ./main.tex:81 LaTeX Error: Command \mtchideinmainlot already defined. Latex Error: ./main.tex:81 Undefined control sequence. Latex Error: ./main.tex:81 Undefined control sequence. </code></pre> <p>(<code>main.tex</code> is my first article. It makes similar complaints about my other article)</p> <p>The undefined control sequence it complains about is <code>\begin{document}.</code></p> <p>Any thoughts on what I might be doing wrong?</p>
0non-cybersec
Stackexchange
Shout out to Phreak and Jatt, their 20 minute fillibuster. Gotta give props to some of the casters, Phreak and Jatt made a 20 minute pause in the CLG, Coast game feel like 5 minutes. Go Coast! Link: http://www.youtube.com/watch?v=P-PFVicqP0A&t=6790 Edit: OMG. I come back from a friends house, where we watched the LCS of course, and saw this on the top of the front page! I am glad everyone enjoyed the fillibuster as much as I did! Edit2: Sup Phreak and Jatt. <3u
0non-cybersec
Reddit
Man gets slapped around by a carp as guy laughs.
0non-cybersec
Reddit
How to express structural pseudo-classes (ex `:last-child`) in BEM?. <p>I'm trying to express a simple CSS3 selector in BEM:</p> <p><strong>CSS</strong></p> <pre><code>.block__elem { /* ELEM RULES */ } .block__subelem { /* SUBELEM RULES */ } .block__elem:not(:last-child) .block__subelem { /* HOW CAN I EXPRESS THIS? */ } </code></pre> <p><strong>HTML</strong></p> <pre><code>&lt;div class="block__elem"&gt; &lt;div class="block__subelem"&gt;CONTENT&lt;/div&gt; &lt;div class="block__subelem2"&gt;OTHER CONTENT&lt;/div&gt; &lt;/div&gt; &lt;div class="block__elem"&gt; &lt;div class="block__subelem"&gt;CONTENT&lt;/div&gt; &lt;div class="block__subelem2"&gt;OTHER CONTENT&lt;/div&gt; &lt;/div&gt; &lt;div class="block__elem"&gt; &lt;div class="block__subelem"&gt;THIS SHOULD HAVE A SLIGHTLY DIFFERENT STYLE&lt;/div&gt; &lt;div class="block__subelem2"&gt;OTHER CONTENT&lt;/div&gt; &lt;/div&gt; </code></pre> <p>How can I express the last selector in BEM terms?</p> <p>The only way I can think of is to add a modifier</p> <pre><code>.block__subelem--not-last-child { } </code></pre> <p>And then add the logic to the HTML from behind, but for me that's just wrong, it adds complexity server-side and it's error prone.</p>
0non-cybersec
Stackexchange
Which Let’s Encrypt clients support ACME v2 in the official Debian Buster repos?. <p>The ACME protocol version 1 is deprecated and will stop working with Let’s Encrypt in multiple steps from 2019 to 2021. See <a href="https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430" rel="nofollow noreferrer">https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430</a></p> <p>I’ve been using <a href="https://github.com/hlandau/acmetool" rel="nofollow noreferrer">acmetool</a> on Debian since <em>Stretch</em>. Unfortunately <a href="https://packages.debian.org/buster/amd64/web/acmetool" rel="nofollow noreferrer">version 0.0.62 in Debian’s current stable release <em>Buster</em></a> doesn’t support ACME v2 yet.</p> <p>So I am looking for alternatives. I really like the minimalistic design of <code>acmetool</code> and that it is idempotent. (This question is not about opinions on alternatives.)</p> <p>Which clients from the official Debian Buster repo already support ACME v2?</p>
0non-cybersec
Stackexchange
MRW Instagram keeps deleting the spam profiles that I report.
0non-cybersec
Reddit
FTC cybersecurity ruling: A game-changer for consumer data protection. It just got much riskier for firms that fail to protect customer data as they claim to be doing..
1cybersec
Reddit
Prove that $a\le|a|$ and $-a\le|a|$?. <p>I need to prove that absolute value of any real number is greater than or equal to that real number, where $|a| = a ; a\ge0 , |a| = -a ; a&lt;0 $</p> <p>I came across this on real analysis. I need this proven Filed and Order Axioms and basic definitions.</p>
0non-cybersec
Stackexchange
How can I find which Control-Command keys are mapped to particular programs?. <p>I am using iTerm2 under High Sierra 10.13.6. iTerm2 lets me assign Control-Command key combos to particular actions. This mostly works fine, but at least two of these do nothing: Control-Command-B and Control-Command-D. I suspect they are being grabbed by something at the system level. However, manually walking through all of System Preferences -> Keyboard -> Shortcuts didn't show anything for these two.</p> <p>Is there a way to get a list of all key combinations and map them to what they are (or are not) assigned to?</p>
0non-cybersec
Stackexchange
How to dual boot Windows 10 on Ubuntu 14.04?. <p>I have a desktop with Ubuntu 14.04 as the Operating System. How would I dual-boot Windows 10 onto my desktop? Thank you very much. I understand it would be much easier to do the other way around, but it would be greatly appreciated if someone could explain the process or provide a link that does. Thank you very much.</p>
0non-cybersec
Stackexchange
Painting 3D monkey in VR.
0non-cybersec
Reddit
$\int_{0}^{\infty} [x]e^{-x}dx$. <p>could any one tell me how to solve this integration? It was a question from a prev year of my institute qual: Thank you for help.</p> <p>$$\int_{0}^{\infty} [x]e^{-x}dx$$</p>
0non-cybersec
Stackexchange
I worked out for an hour. There wasn’t even a puddle when I went in..
0non-cybersec
Reddit
Competitive Play: players who are good sports and never quit matches should be rewarded by being paired with other good sports.. Half the games I lose are because of players giving up early and it’s exhausting. If they want to give up early they should play with players like them and not punish us. Edit: I realize saying “half” is bratty and an exaggeration. But the point is is that those are the loses I remember the most and they stick in my brain. I concede that it feels like it happens more than it actually does. But it still happens too often! Everyone’s gotta agree it’s the worst!
0non-cybersec
Reddit
Djokovic's Welcome Home Reception After Winning Wimbledon.
0non-cybersec
Reddit
Kill Your Console: Build a $400 Gaming PC.
0non-cybersec
Reddit
Django reset_password_confirm TemplateSyntaxError problem. <p>when I use <strong>django.contrib.auth.views.password_reset_confirm</strong> without arguments at all it works and I can render the template without any problem, when adding uidb36 and token arguments it fails.</p> <p>Caught NoReverseMatch while rendering: Reverse for 'django.contrib.auth.views.password_reset_confirm' with arguments '()' and keyword arguments '{'uidb36': '111', 'token': '1111111111111'}' not found.</p>
0non-cybersec
Stackexchange
Why do we need Express server when we have a backend ready already. <p>I am quite new to javascript and web application environment. I have seen a react web application project which had a public directory, a client directory and a server directory. I have few question </p> <ol> <li><p>Why do we need an express server file setup in the frontend project if we already have backend APIs ready and backend server ready </p></li> <li><p>Do we need an express server if we make the frontend on react and call the APIs to fetch the data for application. </p></li> <li><p>Isn't the backend server and express server in the frontend project are same?</p></li> </ol>
0non-cybersec
Stackexchange
[podcast] Friedrich Nietzsche is famous for the idea of the Übermensch, The Will to Power and his sceptical beliefs about truth that make him a precursor of much postmodern thinking. But according to Brian Leiter these are just myths. (xpost, r/HistoryofIdeas).
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
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
How can I quickly remove cards from these sleeves?.
0non-cybersec
Reddit
Win 8.1 High non-paged pool RAM usage. <p>On a spectre x360 laptop w 8GB of RAM running win 8.1, i noticed stuff getting really sluggish. In task Maanger I could see I was using an obscene amount of RAM (7GB/8GB) but perusing details and soring by Memory desc did not reveal culprit.</p> <p>After some internet-ing I found that a common issue was non-paged pool size being large where the root cause is possibly a driver memory leak. sure enough, my non-page pool size was 3.2 GB even after restarting.</p> <p>Under task manager->details, I tried to sort by NP Pool column, but the highest item had only 200k. </p> <p>At a loss, I decided to try out a much touted solution: the registry modification of clearing the page file at shutdown. open regedit and </p> <pre><code>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management </code></pre> <p>look for ClearPageFileAtShutDown and set to 1.</p> <p>After i did this, I rebooted and viola, RAM at idle down to ~2GB. </p> <p>Can anyone help explain why this works?<br> Is there a way I can troubleshoot what the original issue was so that I can set this back to 0?</p>
0non-cybersec
Stackexchange
Describe $\mathbb{Q}[x] / (x^2 + x)$ and $\mathbb{Z}[x]/ (x-2, x^2+1)$ in simpler terms.. <p>I am trying to review for a test. One of the questions is asking me to find a simpler description of these two rings and I am not sure what they mean by this. Any suggestions?</p>
0non-cybersec
Stackexchange
Incredible Aquariums.
0non-cybersec
Reddit
I named the dog that sleeps in my car "Rug".. He's a car-pet.
0non-cybersec
Reddit
Why does this trick for the binomial theorem for negative exponents work?. <p>The "trick" for solving a binomial with a negative index is given by: </p> <p><img src="https://i.stack.imgur.com/RNT3n.jpg" alt="enter image description here"></p> <p>I understand how to expand binomials of the form $1+x$ for negative indices, but I do not why this method of factoring works for binomials of form $a+x$ with negative exponents. </p> <p>(Note: I have not yet learned Newton's Binomial Theorem but I have learned the case for $1+a$ with negative integers, so please do not include Newton's Therem in your answer if it's possible. Also, I understand that they have divided the binomial by $a$ or $x$ in each expression but I don't understand the factors that have been taken out.)</p> <p>Lately, I have noticed that if I express the binomial expression as a reciprocal with positive powers the answer maintains correct, but I'm not certain if this is valid for all negative exponents. </p>
0non-cybersec
Stackexchange
She adores him. He sometimes barely tolerates her..
0non-cybersec
Reddit
How to reduce the first file size in hls conversion ffmpeg for variable streams. <p>I am using the following command to convert an existing .mp4 video into HLS format with multiple bitrate and resolution streams</p> <pre><code>ffmpeg -y \ -i sample.mp4 \ -threads 0 \ -hls_init_time 2 \ -hls_list_size 0 \ -hls_key_info_file keyfile \ -b:v:0 8000k -b:v:1 5000k -b:v:2 2500k -b:v:3 1000k -b:a:0 64k -b:a:1 32k \ -filter:v:0 scale=-2:1080 -filter:v:1 scale=-2:720 -filter:v:2 scale=-2:480 -filter:v:3 scale=-2:240 \ -map 0:v -map 0:v -map 0:v -map 0:v -map 0:a -map 0:a \ -var_stream_map "v:0,a:0 v:1,a:0 v:2,a:0 v:3,a:1" \ -master_pl_name master.m3u8 \ "output.m3u8" </code></pre> <p>I need help with the following</p> <ol> <li>Except for the video with resolution 240, the rest of the resolution format's audio is not working (nothing can be heard).</li> <li>The first .m3u8 file size is very large compared to the rest of the files. How can I reduce this ?</li> <li>The size of the .m3u8 files created is quite variant. While some are in 400-500KB, the rest are in 4-6MB for the 1080 variant stream. Is there a way to make the file sizes less variable, since due to the variant file sizes, the quality is switching down to lower resolution.</li> </ol>
0non-cybersec
Stackexchange
Hochschild homology of quiver algebras. <p>Let $K$ be a field and $\Gamma$ a quiver (=multidigraph) and $K[\Gamma]$ its quiver algebra (free $K$-module on the set of all paths of length $\geq0$ where multiplication is concatenation if endpoints match and $0$ otherwise). </p> <p>I'm looking for families of $\Gamma$ for which Hochschild homology $HH_\ast(K[\Gamma])$ hasn't yet been computed.</p> <p>If $\Gamma$ is the directed $n$-cycle (vertices $1,\ldots,n$ and edges $(1,2),(2,3),\ldots,(n-1,n),(n,1)$), or if $\Gamma$ is the $n$-loop (vertex $1$ and edges $(1,1),\ldots,(1,1)$ with $n$ copies), what is $\dim_KHH_k(K[\Gamma])$? How about if $\Gamma$ is the one-point-wedge of finitely many directed cycles $C_{n_1}\vee\ldots\vee C_{n_k}$?</p>
0non-cybersec
Stackexchange
I'm 18 weeks today and found out we are having a girl(our first baby).Can you advice me on how to raise a strong and confident girl?How difficult/easy is it to raise a girl?.
0non-cybersec
Reddit
LPT: Public Transit Etiquette. I thought of this the other day when a lady (older and on crutches) walked onto a somewhat crowded bus. I was sitting in one of the first seats that are designated for the elderly or persons with disabilities (in fact each of the six seats were occupied - and coming from a university the seats were not filled with anyone who "should" be there) . Everyone, besides myself, looked up and saw the woman and looked right back down again. Except me, I immediately got up and gave her my seat. It made me angry as I was the only one when every one of us should have offered to have given her our seat. So, let's compile a thread with the things that people can and should do on public transit to make it more enjoyable for everyone.
0non-cybersec
Reddit
ASP.NET MVC Binding to a dictionary. <p>I'm trying to bind dictionary values within MVC.</p> <p>Within the action I have:</p> <pre><code>model.Params = new Dictionary&lt;string, string&gt;(); model.Params.Add("Value1", "1"); model.Params.Add("Value2", "2"); model.Params.Add("Value3", "3"); </code></pre> <p>and within the view I have:</p> <pre><code>@foreach (KeyValuePair&lt;string, string&gt; kvp in Model.Params) { &lt;tr&gt; &lt;td&gt; &lt;input type="hidden" name="Params.Key" value="@kvp.Key" /&gt; @Html.TextBox("Params[" + kvp.Key + "]") &lt;/td&gt; &lt;/tr&gt; } </code></pre> <p>But the view doesn't display the initial values, and when the form is submitted the <code>Params</code> property is null?</p>
0non-cybersec
Stackexchange
Any way to get a Screenshot of entire webpage WITHOUT repeating elements?. <p>i use Snagit for Mac (Techsmith) to capture screenshots of entire web pages (they call it "scrolling capture") successfully. <br>-BUT- <br>on occasion, there are some webpages that do not wanna cooperate. from what i can tell, it's pages that have headers or sidebars that remain in place when the page is scrolled. these elements get captured repeatedly in the one shot - usually duplicating whole sections within the shot. </p> <p>the only way i've been able to clean it up is to find the duplication &amp; slice it out of the image. it's a pain in the ass for long pages.</p> <p>at first, i thought it was a Snagit issue. but after downloading &amp; trying multiple other full-page screenshot programs &amp; browser extensions, it happens with all of them - on any browser.</p> <p>so, i've attempted doing a developer inspection of the code &amp; deleting those sections, or trying to find the scripts that make those areas stay static on the pages, but have been unsuccessful. i've also tried using the QuickNuke extension - but still, no luck.</p> <p>anybody got any other hacks, ideas, apps, extensions, that can workaround this? thanx!</p>
0non-cybersec
Stackexchange
What my dad did to my roller coaster LEGO set ( this took me a few days, but the whole thing took about 5 months).
0non-cybersec
Reddit
Must've hurt.
0non-cybersec
Reddit
How do I fix this Perl code so that 1.1 + 2.2 == 3.3?. <p>How do I fix this code so that 1.1 + 2.2 == 3.3? What is actually happening here that's causing this behavior? I'm vaguely familiar with rounding problems and floating point math, but I thought that applied to division and multiplication only and would be visible in the output.</p> <pre><code>[me@unixbox1:~/perltests]&gt; cat testmathsimple.pl #!/usr/bin/perl use strict; use warnings; check_math(1, 2, 3); check_math(1.1, 2.2, 3.3); sub check_math { my $one = shift; my $two = shift; my $three = shift; if ($one + $two == $three) { print "$one + $two == $three\n"; } else { print "$one + $two != $three\n"; } } [me@unixbox1:~/perltests]&gt; perl testmathsimple.pl 1 + 2 == 3 1.1 + 2.2 != 3.3 </code></pre> <p>Edit:</p> <p>Most of the answers thus far are along the lines of "it's a floating point problem, duh" and are providing workarounds for it. I already suspect that to be the problem. How do I demonstrate it? How do I get Perl to output the long form of the variables? Storing the $one + $two computation in a temp variable and printing it doesn't demonstrate the problem.</p> <p>Edit:</p> <p>Using the sprintf technique demonstrated by aschepler, I'm now able to "see" the problem. Further, using bignum, as recommended by mscha and rafl, fixes the problem of the comparison not being equal. However, the sprintf output still indicates that the numbers aren't "correct". That's leaving a modicum of doubt about this solution.</p> <p>Is bignum a good way to resolve this? Are there any possible side effects of bignum that we should look out for when integrating this into a larger, existing, program?</p>
0non-cybersec
Stackexchange
not to safely remove non-spinning drives will damage the hardware?. <p>I know that if we disconnect a spinning drive without safe remove, the computer may be writing some data on it and it's spinning, so it may get damaged. But is it necessary to safely remove a flash disk or an SSD? </p>
0non-cybersec
Stackexchange
[RIP] Maynard, Labrador, Almost 10. There are so many more photos I'd love to highlight, but I ran out of steam... And a lot of these are low res Facebook photos from an archive I made in 2011, I'm sure I have full sized photos somewhere. But I'm wrecked. So this will do for now. From the first photos from his petfinder.com rescue listing to the very last photo I took of him yesterday: https://imgur.com/a/zCM5mp3 I really thought we had this beat. I had hope - you were going to be one of the 5%. After we started with the oncologist in January, you rebounded. You were Mr. Healthy. No side effects. Weight was coming back on. You never lost your appetite, your spirit, or your goofy demeanor. You were still [galloping around the dog park just a few weeks ago](https://www.youtube.com/watch?v=Ibh3jKXmF-E), still [playing like a puppy](https://youtu.be/oJP39pIIvXc) even though the vet started calling you a "senior dog" a year or two back. I was so proud of you, of us. I was a dumbass and didn't realize you were sick at first, it took /r/dogs to prod me into taking you to the vet (I thought you were just getting old, and maybe we needed a new diet, or different exercise - I wasn't prepared to learn you needed to see an oncologist ASAP). But we did it. We drained the checking account and setup a CareCredit account and it was worth it. You were healthy. You had quality of life. And what a life we had together. Runyon Canyon. So many beach trips. Overcoming your fear of the water. Hearing Obama speak. Flying on a 737. By my side in federal court, state court. Cross-country road trip in a Porsche. Playing in the snow in Utah. Hanging out at the office in Beverly Hills, and nomming on Sprinkles doggie cupcakes. Flying to Sedona for Christmas. Flying to St. Louis to meet the family (a couple of times!). Flying to Utah to hike around the 4th of July. Harvesting grapes. Hanging out at vineyards, and wineries. Snuggles with me and Astrid, your street-stray adopted sister. Enjoying steak at Hitching Post II. My rock. My best friend. My everything, my savior on so many occasions. A reason to get out of bed every morning when I wasn’t sure I had one. My erstwhile companion. Rest in peace, buddy boy. You weren’t a good dog. You were the best. You’re gone, so suddenly, and I’m devastated. 7/21/2009 — 7/3/2019.
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
you can buy your own plumbus! but only today.. http://www.thinkgeek.com/product/ivns/?pfm=HP_FeaturedProducts_5_ivns
0non-cybersec
Reddit
UK vs USA.
0non-cybersec
Reddit
TIL Kiefer Sutherland's maternal grandfather is widely credited for bringing universal health care to Canada..
0non-cybersec
Reddit
Proxy chain in Windows XP. <p>At work I have to access the Internet through a proxy.  I have the proxy set on the LAN:</p> <p><a href="https://i.stack.imgur.com/G8vmk.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G8vmk.jpg" alt="screenshot of Windows XP LAN settings, in Spanish/Portuguese"></a></p> <p>The problem is that the proxy filters high traffic sites like YouTube. Sometimes I need to use some of these sites and I access them through "anonymizer proxies" or Tor Browser.</p> <p>Can I set up a proxy chain to use for specific sites only? For example:</p> <blockquote> <p>YouTube → Internet proxy → My work proxy → Internet</p> </blockquote> <p>For other sites, I'd use my normal work proxy only.</p>
0non-cybersec
Stackexchange
Diego Lopez great save vs Real Madrid.
0non-cybersec
Reddit
The first picture taken from space (1946).
0non-cybersec
Reddit
Why do I feel like I need to cough when I stick a q-tip in my ear?. I know you're not supposed to do it, but I still do. When I stick a Q-tip in my ear, I get this overwhelming urge to cough. Why is that?
0non-cybersec
Reddit
If only you didnt eat his pop tarts....
0non-cybersec
Reddit
HttpRequest.GetBufferlessInputStream not supported. <p>Running an MVC5 application I get this error when attempting to POST back to my controller.</p> <p>I is happening during the EnsureFiles() method, but I'm not trying to load any files at all.</p> <p>Here is the entire stack traces</p> <pre><code>[HttpException (0x80004005): This method or property is not supported after HttpRequest.GetBufferlessInputStream has been invoked.] System.Web.HttpRequest.EnsureFiles() +3274885 System.Web.HttpRequest.get_Files() +12 System.Web.HttpRequestWrapper.get_Files() +28 System.Web.Mvc.HttpFileCollectionValueProvider.GetHttpPostedFileDictionary(ControllerContext controllerContext) +120 System.Web.Mvc.HttpFileCollectionValueProvider..ctor(ControllerContext controllerContext) +51 System.Web.Mvc.HttpFileCollectionValueProviderFactory.GetValueProvider(ControllerContext controllerContext) +117 System.Web.Mvc.ValueProviderFactoryCollection.GetValueProvider(ControllerContext controllerContext) +160 System.Web.Mvc.ControllerBase.get_ValueProvider() +85 System.Web.Mvc.ControllerActionInvoker.GetParameterValue(ControllerContext controllerContext, ParameterDescriptor parameterDescriptor) +154 System.Web.Mvc.ControllerActionInvoker.GetParameterValues(ControllerContext controllerContext, ActionDescriptor actionDescriptor) +199 System.Web.Mvc.Async.&lt;&gt;c__DisplayClass21.&lt;BeginInvokeAction&gt;b__19(AsyncCallback asyncCallback, Object asyncState) +1680 System.Web.Mvc.Async.WrappedAsyncResult`1.CallBeginDelegate(AsyncCallback callback, Object callbackState) +59 System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +151 System.Web.Mvc.Async.AsyncResultWrapper.Begin(AsyncCallback callback, Object state, BeginInvokeDelegate beginDelegate, EndInvokeDelegate`1 endDelegate, Object tag, Int32 timeout) +94 System.Web.Mvc.Async.AsyncControllerActionInvoker.BeginInvokeAction(ControllerContext controllerContext, String actionName, AsyncCallback callback, Object state) +559 System.Web.Mvc.Controller.&lt;BeginExecuteCore&gt;b__1c(AsyncCallback asyncCallback, Object asyncState, ExecuteCoreState innerState) +82 System.Web.Mvc.Async.WrappedAsyncVoid`1.CallBeginDelegate(AsyncCallback callback, Object callbackState) +73 System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +151 System.Web.Mvc.Async.AsyncResultWrapper.Begin(AsyncCallback callback, Object callbackState, BeginInvokeDelegate`1 beginDelegate, EndInvokeVoidDelegate`1 endDelegate, TState invokeState, Object tag, Int32 timeout, SynchronizationContext callbackSyncContext) +105 System.Web.Mvc.Controller.BeginExecuteCore(AsyncCallback callback, Object state) +588 System.Web.Mvc.Controller.&lt;BeginExecute&gt;b__14(AsyncCallback asyncCallback, Object callbackState, Controller controller) +47 System.Web.Mvc.Async.WrappedAsyncVoid`1.CallBeginDelegate(AsyncCallback callback, Object callbackState) +65 System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +151 System.Web.Mvc.Async.AsyncResultWrapper.Begin(AsyncCallback callback, Object callbackState, BeginInvokeDelegate`1 beginDelegate, EndInvokeVoidDelegate`1 endDelegate, TState invokeState, Object tag, Int32 timeout, SynchronizationContext callbackSyncContext) +139 System.Web.Mvc.Controller.BeginExecute(RequestContext requestContext, AsyncCallback callback, Object state) +484 System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.BeginExecute(RequestContext requestContext, AsyncCallback callback, Object state) +50 System.Web.Mvc.MvcHandler.&lt;BeginProcessRequest&gt;b__4(AsyncCallback asyncCallback, Object asyncState, ProcessRequestState innerState) +98 System.Web.Mvc.Async.WrappedAsyncVoid`1.CallBeginDelegate(AsyncCallback callback, Object callbackState) +73 System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +151 System.Web.Mvc.Async.AsyncResultWrapper.Begin(AsyncCallback callback, Object callbackState, BeginInvokeDelegate`1 beginDelegate, EndInvokeVoidDelegate`1 endDelegate, TState invokeState, Object tag, Int32 timeout, SynchronizationContext callbackSyncContext) +106 System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +446 System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state) +88 System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +50 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +301 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +155 </code></pre> <p>My form is embarrassingly simple</p> <pre><code>@using (Html.BeginForm()) { &lt;div class="form-group"&gt; In order to continue you must change your password. &lt;/div&gt; &lt;div class="form-group"&gt; @Html.LabelFor(x=&gt; Model.OldPassword) @Html.TextBoxFor(x=&gt; Model.OldPassword) &lt;/div&gt; &lt;div class="form-group"&gt; @Html.LabelFor(x =&gt; Model.NewPassword) @Html.TextBoxFor(x =&gt; Model.NewPassword) &lt;/div&gt; &lt;div class="form-group"&gt; @Html.LabelFor(x =&gt; Model.NewPasswordConfirm) @Html.TextBoxFor(x =&gt; Model.NewPasswordConfirm) &lt;/div&gt; &lt;div class="form-group"&gt; &lt;input type="submit" class="btn btn-primary" value="Submit" /&gt; &lt;input type="reset" class="btn btn-danger" value="Cancel" /&gt; &lt;/div&gt; } </code></pre> <p>Has anyone encountered this problem before. I got a couple of hits on the internet, but nothing that worked.</p>
0non-cybersec
Stackexchange
On the shape of graphs for n-dimensions. <p>As you all know, the graph of the function <span class="math-container">$x^2+y^2=1$</span> is a circle. Also, the graph of the limit as n approaches infinity of <span class="math-container">$x^n+y^n=1$</span> approaches a square. Will this be true for higher dimensions? Will the graph of <span class="math-container">$x^n+y^n+z^n=1$</span>,or <span class="math-container">$x^n+y^n+z^n+t^n=1$</span> as n approaches infinity, be a cube of n dimensions? </p>
0non-cybersec
Stackexchange
Computing an integral in $\mathbb{R}^2$ by definition. <p>Given the function $f(x,y) = xy$, how do I calculate $$\int_{[0,1]\times [0,1]}f(x,y)$$ by the definition of the Riemann integral, without showing it is Riemann integrable, since this comes from continuity on f?</p> <p>Here are the definitions to be used:</p> <p>Jordan content: If $ I = [a_1,b_1]\times[a_2,b_2]\times\ldots\times[a_N,b_N]\subset\mathbb{R}^N $ is a compact interval, the its Jordan content, $\mu(I)$, is $$ \mu(I) = \prod_{j=1}^N(b_j-a_j) $$</p> <p>Riemann Sum: Let $I\subset\mathbb{R}^N$ be a compact interval. Let $f:I\rightarrow\mathbb{R}^K$ be a function. Let $P$ be a partition of $I$ into $I_\nu$. For each $\nu$, choose some $x_\nu\in I_\nu$. Then the Riemann sum of $f$ corresponding to $P$ is $$ S(f,P) = \sum_{\nu}f(x_\nu)\mu(I_\nu) $$</p> <p>Riemann Integral: Let $I\subset\mathbb{R}^N$ be a compact interval. Let $f:I\rightarrow\mathbb{R}^K$ be a function. Suppose that there is $y\in \mathbb{R}^N$ such that for each $\epsilon&gt;0$, there is a partition $P_\epsilon$ of $I$ such that for each refinement $P$ of $P_\epsilon$ and for any Riemann sum $S(f,P)$ corresponding to $P$, we have $\|S(f,P)-y\|&lt;\epsilon$. Then $f$ is said to be Riemann integrable on $I$, and $y$ is called the Riemann integral of $f$ over $I$, so $$y = \int_{I}f$$</p> <p>To calculate the integral, do I need to find a specific partition of $[0,1]\times[0,1]$ into $I_\nu$, choose a specific $x_\nu$ for each $I_\nu$, then compute the Riemann sum? If so, how do I know I'm choosing a good partition? </p>
0non-cybersec
Stackexchange
mysql workbench can&#39;t write to sql history file. <p>I'm running mysql workbench on my local machine, connected to a remote sql server. </p> <p>I am able to apply changes to the database, however, I see this error every time I apply a change</p> <p>I can't seem to find any help online regarding this error, so I can't provide any more details</p> <p><code>Error: There was an error while applying the SQL script to the database.</code></p> <p>and in the message log <code>ERROR: Can't write to SQL history file</code></p>
0non-cybersec
Stackexchange
Huawei is a national security threat, warns ex-Google boss Eric Schmidt. "There’s no question” information from Chinese network tech company's routers have "ultimately ended up" in the hands of the Chinese government..
1cybersec
Reddit
Measures on Iwasawa decomposition. <p>In the following I present two results, which look very similar, but require different proofs. I'd like to know why the second result doesn't admit the same proof as the first.</p> <blockquote> <p><strong>Lang $SL_2$ p39:</strong> Let $P$, and $K$ be closed subgroups of $G$ such that $G=PK$. Assume that the map $$(p,k) \mapsto pk$$ gives a topological isomorphism (not group iso). Assume that $G$ and $K$ are unimodular. Then $dx = dpdk$</p> <p>Proof: Indeed there exists a left invariant measure on $G/K$, and $G/K$ is $P$-isomorphic to $P$ itself as a transformation space, under left translation. Hence this measure is a Haar measure on P.</p> </blockquote> <p>Now compare the preceding result with the following:</p> <blockquote> <p><strong>Lang $SL_2$ p40:</strong> Assume that $P$ can be expressed as a product, $P = AN$ where $A, N$ are closed unimodular subgroups and $A$ normalizes $N$, i.e. $ana^{-1} \in N$ for $a \in A$ and $n\in N$. In other words, the map of $A \times N \to P$ given by $$(a,n) \mapsto an$$ is a topological isomorphism. Then $dp = dadn$</p> <p>Proof: The measure $dadn$ is clearly left invariant under A. Let $n_1 \in N$. $$\int_A\int_Nf(n_1an)dnda=\int_A\int_Nf(aa^{-1}n_1an)dnda.$$ But $a^{-1}n_1a \in N$ so we can cancel it in the inner integral by left invariance of the Haar measure on N. This proves our assertion.</p> </blockquote> <p>Questions:</p> <p>1) Why can't we simply show in the second case that $N = P/A$. This was done in the first proof even without knowing that $P$ normalized $K$.</p> <p>2) We see that in both cases we need to prove left invariance of the group corresponding to the inner integral (the left invariance of the group corresponding to the outer integral is assumed in the hypothesis). My question is why. I would only expect that the invariance in the following sense would be necessary: $$f(an) \mapsto f(an_1n),$$ i.e. with the left multiplication acting exactly left to the integrating variable. This would be trivial because it is in the assumption.</p>
0non-cybersec
Stackexchange
need assistance with dkpg, showing signs of my neighbors exploiting my system. I have a ton of important stuff not passing hash checks. I know I shoulkdl just nuke from orbit, but. I'm, dominated.
1cybersec
Reddit
How do I find the latest Typescript target support for any version of node?. <p>Assuming any version of Node, how do I find the corresponding Typescript <a href="https://www.typescriptlang.org/docs/handbook/compiler-options.html" rel="noreferrer">Compiler Option</a> for <code>target</code> that gives most the functionality? I want to remove the guest work.</p> <blockquote> <p>Specify ECMAScript target version: "ES3" (default), "ES5", "ES6"/"ES2015", "ES2016", "ES2017" or "ESNext". </p> </blockquote> <p>I run different versions of node, and I want to know when is the minimum node version to enable the different TSC targets.</p>
0non-cybersec
Stackexchange
A few things I need help with...
0non-cybersec
Reddit
Extended Suburban: For all those kids you just found out you had.
0non-cybersec
Reddit
Going down in history.
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 FUCKING MADE IT TO DECEMBER.
0non-cybersec
Reddit
2 women save a dog during a flood in India.
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
mountain Dew Commercial...Joe Hursley robs lady .
0non-cybersec
Reddit
Old ubuntu breezy apt/dpkg broken. <p>We have an old ubuntu breezy server which someone unsucessfully has tried to upgrade in the past. We need it upgraded, but almost all apt-get operations return something like this: </p> <pre><code>apt-get install -f Reading package lists... Done Building dependency tree... Done 0 upgraded, 0 newly installed, 0 to remove and 49 not upgraded. 3 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16. Use of uninitialized value in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line &gt;17. dpkg: dependency problems prevent configuration of apt: dpkg (1.14.5ubuntu16) breaks apt (&lt;&lt; 0.7.6ubuntu6) and is installed. Version of apt to be configured is 0.6.43.3ubuntu2. dpkg: error processing apt (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of apt-utils: apt-utils depends on libapt-pkg-libc6.3-6-3.11; however: Package libapt-pkg-libc6.3-6-3.11 is not installed. Package apt which provides libapt-pkg-libc6.3-6-3.11 is not configured yet. dpkg: error processing apt-utils (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of aptitude: aptitude depends on libapt-pkg-libc6.3-6-3.11; however: Package libapt-pkg-libc6.3-6-3.11 is not installed. Package apt which provides libapt-pkg-libc6.3-6-3.11 is not configured yet. dpkg (1.14.5ubuntu16) breaks aptitude (&lt;&lt; 0.4.6.1-1ubuntu2) and is installed. Version of aptitude to be configured is 0.4.0-5ubuntu3. dpkg: error processing aptitude (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: apt apt-utils aptitude E: Sub-process /usr/bin/dpkg returned an error code (1) </code></pre> <p>Any ideas as to how i can correct this, so we can upgrade one ver. at a time (or up to 10.04)</p>
0non-cybersec
Stackexchange
Agda Type-Checking and Commutativity / Associativity of +. <p>Since the <code>_+_</code>-Operation for <code>Nat</code> is usually defined recursively in the first argument, its obviously non-trivial for the type-checker to know that <code>i + 0 == i</code>. However, I frequently run into this issue when I write functions on fixed-size Vectors.</p> <p>One example: How can I define an Agda-function </p> <pre><code>swap : {A : Set}{m n : Nat} -&gt; Vec A (n + m) -&gt; Vec A (m + n) </code></pre> <p>which puts the first <code>n</code> values at the end of the vector?</p> <p>Since a simple solution in Haskell would be </p> <pre><code>swap 0 xs = xs swap n (x:xs) = swap (n-1) (xs ++ [x]) </code></pre> <p>I tried it analogously in Agda like this: </p> <pre><code>swap : {A : Set}{m n : Nat} -&gt; Vec A (n + m) -&gt; Vec A (m + n) swap {_} {_} {zero} xs = xs swap {_} {_} {suc i} (x :: xs) = swap {_} {_} {i} (xs ++ (x :: [])) </code></pre> <p>But the type checker fails with the message (which relates to the the <code>{zero}</code>-case in the above <code>swap</code>-Definition): </p> <pre><code>.m != .m + zero of type Nat when checking that the expression xs has type Vec .A (.m + zero) </code></pre> <p>So, my question: How to teach Agda, that <code>m == m + zero</code>? And how to write such a <code>swap</code> Function in Agda?</p>
0non-cybersec
Stackexchange
What's a good unconventional 1st party adventure idea?. Hey guys, I'm starting a new campaign with some friends tomorrow, and I'm trying to brainstorm something interesting for them to do for the first few levels before i really get them started in my plot. I don't really want to do the usual Goblin attacks, Dire Rat infestations, and zombie filled caves. Anybody got an interesting idea?
0non-cybersec
Reddit
Box office hits that destroyed people's careers. Usually it's a flop that destroys someone's career not a hit. Can you think of any exceptions? Alice in Wonderland 2010. Burton and Depp have been in or made a lot of wide, studio released movies since that one but almost all of them have flopped. At least Depp has been in some hits since like Pirates of the Carribean 4&5, Rango, 21 Jump Street, Into the Woods, Black Mass (kinda), Fantastic Beasts 1, and Murder on the Orient Express. Burton hasn't had one hit since Alice in Wonderland. No matter what he does the movie flops or underperforms at the box office nowadays. Even when critics are like "No, the movie's actually good" like they did with Frankenweenie and Big Eyes, no one came. Even Dumbo couldn't turn things around. Dumbo! It seems like Alice in Wonderland pretty much killed any goodwill Burton had with people and they haven't seen a movie of his since. He could make the next Citizen Kane and, nowadays, people wouldn't come.
0non-cybersec
Reddit
Interpreting residual plots from a regression problem using CNNs on image data. <p>My dataset consists of 799 images and each image is associated with a real number. I have split my dataset into 3 parts (80-10-10 split) randomly. I have trained my model using split1. The values follow a gaussian distribution.</p> <p>I have trained an CNN model to output a real when an image is fed to it. These are my $R^2$ values and Residual plots for each of the dataset split. </p> <p><strong>Split1:</strong> </p> <p>$R^2$ = $0.9857076788979228$</p> <p>Residual plot:</p> <p><a href="https://i.stack.imgur.com/ULaTc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ULaTc.png" alt="enter image description here"></a></p> <p><strong>Split2:</strong></p> <p>$R^2$ = 0.7396153728584336</p> <p>Residual plot: </p> <p><a href="https://i.stack.imgur.com/TDsiY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TDsiY.png" alt="enter image description here"></a></p> <p><strong>Split3:</strong></p> <p>$R^2$ = 0.7290908907070102</p> <p>Residual plot:</p> <p><a href="https://i.stack.imgur.com/0x5k0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0x5k0.png" alt="enter image description here"></a></p> <p>I can see that my model is biased, probably overfitting ( high $R^2$ value on <strong>Split1</strong>). I don't understand why the $R^2$ values of <strong>Split2</strong> and <strong>Split3</strong> are nearly same and the Residual plots look similar.</p> <p>What is the next step for me ? Should I reduce model complexity ? </p>
0non-cybersec
Stackexchange
World just deleted itself. I was playing on a survival world, went to alt-tab and my computer froze. only thing i could do was hold the power button and forcibly turn off my computer without closing things down properly. Now I go on minecraft and the world doesn't show up in my worlds. In my .minecraft folder i can still see the folder from it but it still doesn't show up when I try to launch a world
0non-cybersec
Reddit
Kevin Hart cracks himself up mimicking how Shaq falls during a basketball game.
0non-cybersec
Reddit
Found this floating around the halls of the chemistry building.
0non-cybersec
Reddit
So, i guess facebook trash is a real thing..
0non-cybersec
Reddit
Why does &quot;std::begin()&quot; always return &quot;const_iterator&quot; in such a case?. <pre><code>#include &lt;vector&gt; #include &lt;iostream&gt; using namespace std; int main() { vector&lt;int&gt; coll; decltype(std::begin(std::declval&lt;vector&lt;int&gt;&gt;())) pos_1 = coll.begin(); auto pos_2 = coll.begin(); cout &lt;&lt; typeid(decltype(pos_1)).name() &lt;&lt; endl; cout &lt;&lt; typeid(decltype(pos_2)).name() &lt;&lt; endl; } </code></pre> <p>My compiler is clang 4.0. The output is:</p> <blockquote> <pre><code>class std::_Vector_const_iterator&lt;class std::_Vector_val&lt;struct std::_Simple_types&lt;int&gt; &gt; &gt; class std::_Vector_iterator&lt;class std::_Vector_val&lt;struct std::_Simple_types&lt;int&gt; &gt; &gt; </code></pre> </blockquote> <p>That means: <code>pos_1 = pos_2;</code> is ok, while <code>pos_2 = pos_1;</code> is not ok.</p> <p><strong>Why does <code>std::begin()</code> always return <code>const_iterator</code> rather than <code>iterator</code> in such a case?</strong></p>
0non-cybersec
Stackexchange
Convert \input to number. <p>I'm reading several txt-files from disk and I want to do some simple calculations on them and be able to print them on the page.</p> <p>Basically I have:</p> <pre><code>\newcommand\getinput[2]{ \immediate\write18{do-some-things &gt; input.txt} \input{input.txt}} </code></pre> <p>And now I want to do use that input for simple additions, like this:</p> <pre><code>\newcounter{mycounter} My Input: \getinput \addtocounter{mycounter}{\getinput} My Sum: \themycounter </code></pre>
0non-cybersec
Stackexchange
DJI Mavic Air Fly More Combo Unboxing 2018 | Bought It for 66,000 INR 🔥🔥🔥 HD.
0non-cybersec
Reddit
My friend just put the name on his boat ....
0non-cybersec
Reddit
Why is the intersection of four generic cubics in $\mathbb{P}^2$ six points?. <p>I read today that a cubic surface can be constructed by blowing up 6 points in general position on $\mathbb{P}^2$. The crux of the proof depends on the fact that taking four general cubics $f_1,\ldots,f_4$, they give a rational morphism $\mathbb{P}^2 \to \mathbb{P}^3$ by $$ [x:y:z] \mapsto [f_1([x:y:z]): \cdots : f_4([x:y:z])] $$ why do these four polynomials have a vanishing locus of six points? <strong>Also</strong>, how does this generalize to other degree/dimensional varieties? This may be a really nice avenue for computing chow rings.</p>
0non-cybersec
Stackexchange