identifier stringlengths 7 768 | collection stringclasses 3 values | open_type stringclasses 1 value | license stringclasses 2 values | date float64 2.01k 2.02k ⌀ | title stringlengths 1 250 ⌀ | creator stringlengths 0 19.5k ⌀ | language stringclasses 357 values | language_type stringclasses 3 values | word_count int64 0 69k | token_count int64 2 438k | text stringlengths 1 388k | __index_level_0__ int64 0 57.4k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://stackoverflow.com/questions/13805171 | StackExchange | Open Web | CC-By-SA | 2,012 | Stack Exchange | English | Spoken | 418 | 668 | Can you catch a RaceOnRCWCleanup exception
My colleague wrote this code "closeConnection()" below, and its throwing an exception of type:
RaceOnRCWCleanup was detected
An attempt has been made to free an RCW that is in use. The RCW is in
use on the active thread or another thread. Attempting to free an
in-use RCW can cause corruption or data loss.
private static void closeConnection()
{
if(connection != null)
{
try
{
connection.Close(); // <-- this is the problem
}
catch(Exception)
{
}
connection = null;
}
}
Since this code is wrapped in a try { } catch { } block it leads me to conclude that you cannot catch this type of exception. Is this the case?
It is not an exception, it is a debugger warning. It is one of the "managed debugging assistants", designed to catch common mistakes that can cause very difficult to diagnose problems later. So no, you cannot catch it with try/catch. You turn it off with Debug + Exceptions, Managed Debugging Assistants, Thrown checkbox for "RaceOnRCWCleanup".
It can be a false alarm, but you ought to fret about this a bit. The generic diagnostic is that the connection.Close() call is causing a COM object to be released. But it is returning to code that got started by that same COM object, typically due to an event. Which means that it may return to code inside the COM server that is part of a now destroyed COM object. It usually gives a loud bang if that's something the server cannot deal with, typically with a completely undiagnosable AccessViolation. If it doesn't go bang and you tested this thoroughly then go ahead and turn the warning off. Or find a way to call Close() later, check this answer for an example.
You have probably have a race condition, multiple threads can enter your method at the same time. You need to lock so that 2 threads do not enter the same code at the same time e.g.
public static classs SomeClass
{
private static object locker;
private static void closeConnection()
{
if(connection != null)
{
lock(locker)
{
if(connection != null) //might have been set to null by another thread so need to check again
{
try
{
connection.Close(); // <-- this should work now
}
catch(Exception)
{ //Don't swallow an exception here
}
connection = null;
}
}
}
}
RaceOnRCWCleanup is not an exception so you cannot catch it, it is something happening outside the CLR that triggers a debugger attachment request.
| 1,931 | |
https://nl.wikipedia.org/wiki/Wang%20Xiyu | Wikipedia | Open Web | CC-By-SA | 2,023 | Wang Xiyu | https://nl.wikipedia.org/w/index.php?title=Wang Xiyu&action=history | Dutch | Spoken | 257 | 529 | Dit is een Chinese naam; de familienaam is Wang.
Wang Xiyu (王曦雨, Wáng Xīyǔ,) (28 maart 2001) is een tennisspeelster uit China. Wang begon op achtjarige leeftijd met het spelen van tennis. Haar favoriete ondergrond is hardcourt. Zij speelt linkshandig en heeft een tweehandige backhand. Zij is actief in het internationale tennis sinds 2016.
Loopbaan
In 2018 won zij samen met landgenote Wang Xinyu het juniorendubbelspeltoernooi van Wimbledon, de meisjesenkelspelfinale van het US Open en de bronzen medaille in het dubbelspel op de Olympische Jeugdzomerspelen.
In mei 2019 kwam zij binnen in de top 150 van de wereldranglijst, na het winnen van een $60k ITF-toernooi in La Bisbal d'Empordà (Spanje). In augustus had zij haar grandslamdebuut, op het US Open waaraan zij als lucky loser mocht meedoen.
In juni 2022 bereikte Wang de finale van het WTA-toernooi van Valencia – daarmee haakte zij nipt aan bij de top 100 van de wereldranglijst. In september bereikte zij de derde ronde op het US Open. In november haakte zij nipt aan bij de mondiale top 50 van het enkelspel.
In september 2023 won Wang haar eerste WTA-titel op het toernooi van Guangzhou – in de finale versloeg zij de als eerste geplaatste Poolse Magda Linette.
Tennis in teamverband
In 2021 en 2022 maakte Wang deel uit van het Chinese Fed Cup-team – zij vergaarde daar een winst/verlies-balans van 2–1.
Posities op de WTA-ranglijst
Positie per einde seizoen:
Palmares
WTA-finaleplaatsen enkelspel
Resultaten grandslamtoernooien
Enkelspel
Vrouwendubbelspel
Externe links
Origineel profiel van Wang Xiyu op de website van de ITF
Chinees tennisser | 42,289 |
https://stackoverflow.com/questions/72599638 | StackExchange | Open Web | CC-By-SA | 2,022 | Stack Exchange | Quynh-Mai Chu, SqlKindaGuy, https://stackoverflow.com/users/11153420, https://stackoverflow.com/users/3436271 | English | Spoken | 314 | 414 | "Bad Request" message from Import Schema of Copy Activity in Azure Data Factory (ADF)
I have to migrate data from CRM Business Central into an Azure SQL database. The source data comes from REST API. I created a linked service related to it. Then I created a copy activity with the following:
The preview works. I get data in a JSON format. For the mapping tab, I tried to import the schema and set the field "value" as an array. I got the following result:
However, on the right side of the mapping, I can only see "@odata.context" proposed as a "sink mapping". I overwrote it by writing the right fields. When I run the pipeline with "debug mode", the pipeline is not triggered and I received a "Bad Request":
The error comes from the mapping. My question is: how does the "Import schema" work in case of JSON data? Do I have to import manually the schema?
A bad request must come from the REST API side. So something is not right when your calling your REST API
I don't think it's link to it because the preview works and the connection to the REST API linked service too. When I don't specify the mapping, the pipeline runs well. In this case, the array field is not migrated. That's why I stated the question.
Change the sink column @odata.context to other name by excluding the special characters.
I have reproed with a sample rest API and got the same error when I used the special characters (@, .) in the sink column ex :@data.id.
I have changed the sink column name ex: data_id to exclude special characters and the pipeline ran successfully.
Thanks for your help. Thanks to your answer, I noticed that the mapping pointed 2 source fields output to the same sink field. I tried with special characters, it's still working.
| 17,475 |
https://sv.wikipedia.org/wiki/Heinkel%20He%2045 | Wikipedia | Open Web | CC-By-SA | 2,023 | Heinkel He 45 | https://sv.wikipedia.org/w/index.php?title=Heinkel He 45&action=history | Swedish | Spoken | 327 | 757 | Heinkel He 45 är ett tyskt all-round stridsflygplan från tiden före andra världskriget.
Heinkel He 45 konstruerades som ett dubbeldäckat lätt bombflygplan och fjärrspaningsflygplan, men kom huvudsakligen att användas som skolflygplan. Flygplanskroppen var tillverkad i en fackverkskonstruktion av stålrör som kläddes med duk. Vingarna var uppbyggda runt träbalkar som försågs med spryglar och kläddes med fanér och duk. Flygplanet var utrustat med två öppna sittbrunar där den bakre besättningsmanen kunde hantera en rörlig kulspruta, medan piloten kunde avfyra en fast monterad kulspruta riktad framåt.
Under Spanska inbördeskriget deltog sex He 45C i Condorlegionen samt ytterligare 40 flygplan i Francos luftstridskrafter. I september 1939 drogs flygplanet bort som förstalinje flygplan i Luftwaffe för att istället användas som skolflygplan. 1943 återinsatte man ett antal flygplan som lätt nattbombare på Östfronten. Totalt tillverkades 512 flygplan varav 12 exporterades till Bulgarien 1936.
På grund av begränsad produktionskapacitet i Heinkels fabrik i Warnemünde byggdes planet även av Focke-Wulf, Bayerischen Flugzeugwerken och Gothaer Wagonfabrik. Förutom de plan som tillverkades för Luftwaffes räkning exporterades även ett antal plan till Spanien och Kina (de som skickades till Kina hade beteckningen Heinkel He 61).
Vid krigsutbrottet fanns 20 plan i aktiv tjänst, dessa flyttades snabbt till utbildningstjänst.
Varianter
He 45a, prototypvariant, obeväpnad
He 45b, prototypvariant i så gott som samma utförande som 45a men med en fyrbladig propeller.
He 45c, första prototypvarianten som bar vapen.
He 45A-1, skolflygplansvariant.
He 45A-2, rekognoseringsvariant.
He 45B-1, rekognoseringsvariant utrustad med en 7,92 mm kulspruta
He 45B-2, bombflygplansvariant, kunde bära 100 kg bomber.
He 45C, huvudproduktionsvariant, med i stort sett samma utförande som tredje prototypen men den hade skevningsroder bara på den undre vingen.
He 45D, variant med mindre förbättringar.
He 61, variant som exporterades till Kina, den var försedd med en BMW VI-motor på 492 kW (660 hk).
Källor
Mondey, David - The Hamlyn Concise Guide to Axis Aircraft of World War II - Chancellor press 2004 -
Skolflygplan
Tyska spaningsflygplan
Tyska stridsflygplan under andra världskriget
Flygplan tillverkade av Heinkel | 37,400 |
https://fi.wikipedia.org/wiki/Flipsyde | Wikipedia | Open Web | CC-By-SA | 2,023 | Flipsyde | https://fi.wikipedia.org/w/index.php?title=Flipsyde&action=history | Finnish | Spoken | 140 | 388 | Flipsyde on hip hop- /rock-yhtye Oaklandista, Kaliforniasta. Yhtyeeseen kuuluvat Steve Knight, Dave Lopez, Jinho "Piper" Ferreira, DJ D-Sharp ja Chantelle Paige. Yhtyeen esikoisalbumi We The People julkaistiin vuonna 2005 ja albumilta on julkaistu viisi singleä: Someday (2005), Happy Birthday (2006), Trumpets (Never Be the Same Again) (2006), Angel (2006) ja No More (2006). Kappaleessa Happy Birthday lainattiin samplea venäläisen t.A.T.u.:n kappaleesta Gomenasai.
Debyyttialbumin ensimmäinen single Someday valittiin vuonna 2006 NBC:n talviolympialähetysten tunnusmusiikiksi.
Diskografia
Albumit
We the People (2005)
State of Survival (2009)
Singlet
"Someday" (2005)
"Happy Birthday" (2005)
"Trumpets (Never Be the Same Again)" (2006)
"Angel" (2006)
"No More" (2006)
"Champion" (2008)
"When It Was Good" (2009)
"A Change" (2009)
"Act Like A Cop Did It" (2011)
"Livin' It Up" (2011)
"One More Trip" (2012)
"Believe" (2013)
Aiheesta muualla
Flipsyden kotisivut
Chantelle Paigen MySpace-sivusto
Flipsyden Fanisivut
Yhdysvaltalaiset hip hop -yhtyeet | 7,427 |
https://stackoverflow.com/questions/14703918 | StackExchange | Open Web | CC-By-SA | 2,013 | Stack Exchange | Andrew Thompson, DavyGravy, Eng.Fouad, Mikhail Vladimirov, NickJ, https://stackoverflow.com/users/1267068, https://stackoverflow.com/users/1396974, https://stackoverflow.com/users/2038768, https://stackoverflow.com/users/418556, https://stackoverflow.com/users/597657, https://stackoverflow.com/users/714968, mKorbel | English | Spoken | 368 | 743 | Where to call my class from
I have a program that uses the java swing jframe as my main class.
It passes the arguments to the jframe which then calls another method from its constructor called populate menus.
This then goes and reads the files that will make upthe menus.
My question is should I create and object that reads in all the files and pass that to my constructor?
Below is what I do now.
I seperate the arguments(these are the config file locations) and then I call the constructor of the jframe which i then pass the values.
public static void main(args[]){
final String isoconfig = args[0];
final String userlist = args[1];
final String equipment_list = args[2];
final String config = args[3];
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
try{
new UserInterFace(isoconfig,userlist,equipment_list,config).setVisible * (true);;}
catch(IOException ioe){
System.out.println(ioe.getMessage());}}
});}
}
Here is the constructor code
public UserInterFace(String isoList,String userList, String equipment_list, String config)throws IOException {
initComponents();
populatemenus(isoList,userList,equipment_list,config);
initObjects();}
What I was thinking was to do this
public static void main(args[]){
Readfiles configfiles = new Readfiles(args);
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
try{
new UserInterFace(configfiles).setVisible(true);;}
catch(IOException ioe){System.out.println(ioe.getMessage());}}
});}}
How did all those * characters get into the source? For better help sooner, post an SSCCE.
@AndrewThompson Congrats for reaching 70K rep points :)
@Eng.Fouad Thanks. Noticed you've cracked 20K. Congrats back. :)
@David Drennan for why reason is there main(arg...) two times, which one is proper, for better help sooner post an SSCCE, short runnable, compilable with hardcoded value as local variable for FileIO, XxxStream or JDBC, otherwise this questin isn't answerable at all ...
You don't need to use invokeLater here. It is OK to manipulate with Swing objects outside GUI thread while they are not in visible hierarchy.
@Mikhail Vladimirov wrong suggestion ..........
It's a matter of choice. Although your 2nd block of code looks better because it's shorter, it does mean implementing the Readfiles class.
For simplicity, maybe it would be better to do just like this:
public static void main (String [] args)
{
new UserInterface (args).setVisible (true);
}
Hi Mikhail,Thanks but should I then call the reader that populates the UserInterface from its constructor?
Yes, constructor will hide all the complexity inside.
| 39,030 |
Ew_gATabyOg_1 | Youtube-Commons | Open Web | CC-By | null | WW MEAL PREP -COZY RECIPES🤗- HAM & BEAN SOUP - APPLE PARFAITS & B-FAST CASSEROLE -PERSONAL POINTS | None | English | Spoken | 2,761 | 3,429 | Hi friends, welcome back to my channel and welcome. If you're new here, my name is Jen. I'm a certified weight loss and nutrition coach and I'm on the WW personal points plan. It is meal prep. It's actually the first meal prep since the new plan was released. And I'm going to be sharing with you guys the recipe points for you individually. If you didn't see my video that went out on Sunday, answering all of your questions about the new plan, I went over how I was able to figure out how to share recipes with you. And when you open them up, they recalculate for your points, which is amazing for all of us that put out recipes to have it recalculate and be personalized to you. So the points that I'm sharing on the screen for today's meal prep are my points. But remember, when you open up the recipe, you'll find that on my recipe website. It will recalculate it to your point. So that's very, very exciting. So if you're excited for these three recipes, give this video a big, huge thumbs up. And if you're new or you haven't yet subscribed, I would love to have you here. Hit the subscribe button and don't forget to click the bell right next to it so you never miss a single video. Don't forget to check out the description box for all four recipe e-books. They contain points, calories. There's 15 recipes per e-book and it's only $15 a piece. So definitely check that out. Get your hands on those while they're still available. I also offer nutrition coaching, personalized macros and calories, one-on-one coaching. I have a little bit of something for everyone. You'll also find everything I shared with you today as well as links and discounts to all of my favorite things. And lastly, head on over, join us on Facebook. We would love to have you join our community over there. So let's go ahead and jump in to this week's meal prep. For breakfast this week, I'm making a loaded overnight breakfast casserole. So we're gonna get this into the refrigerator and allow it to sit all morning while we put together the rest of our meal prep. But let me show you what's in breakfast. You're going to need a loaf of Italian bread, light shredded cheese, mozzarella cheese, center cut bacon, 99% extra lean ground turkey, eggs, salt and pepper, parsley and paprika. The recipe also calls for dry mustard, which I don't have any, so I'll make sure that's included in the original recipe and then you're going to need some loaf of milk. Get into a skillet, go ahead and add your pound of 99% ground turkey. This is in substitution of the sausage that the recipe calls for. So what I like to do whenever I substitute ground turkey, ground chicken, ground beef, in place of sausage is I like to season it with some pork and poultry seasoning. This just gives it that sausage flavor. So I'm going to add a little bit of this to my ground turkey and allow it to cook completely through. And we're going to turn our oven on and get our bacon ready to go into the oven. So I'm going to go ahead and put the entire package of center cut bacon into the oven, 400 degrees until it's crispy. Whatever bacon is left over, I just throw it into a Ziploc bag and then we just have pre-cooked bacon on hand. It just makes it much easier during the week. Now we're going to take our loaf of Italian bread while the sausage, AKA turkey is cooking and the bacon is we're going to weigh this out. This is a 14 ounce loaf and we want 12 ounces of this loaf. So there'll be a pretty good size slice left and we're going to chop this up into half inch cubes. Into a small bowl, we're going to crack eight eggs. Now we're going to add two and two thirds cup of low fat or 1% milk. And we're going to add our seasoning starting with some parsley, paprika, salt and pepper. We're going to whisk this together and then set it aside. So we're ready to put together the casserole. So I have the 12 ounces of Italian bread diced up. Here is my cooked ground sausage. And what I'm going to do is put that right over the top of the bread. Then we're going to crumble up our 10 slices of center cut bacon and put that right over the top of the sausage. And then I have one cup of light shredded cheese, one half of a cup of mozzarella. I kind of mixed it up a little bit and we're going to go ahead and add a little bit of this cheese to the top, about three quarters of the total cheese. And then we're going to take that egg mixture and pour it over the top. Make sure that you get some of the egg mixture all over the entire casserole. And then we're going to take a wooden spoon and we're going to press. We want to make sure that the bread is fully soaked in the egg mixture. Now we're going to add the remainder of our cheese. We're going to cover this with some aluminum foil and put it in the refrigerator ideally overnight but I'm going to let it sit in there for several hours while I do the rest of this week's meal prep. Five hours later. So I just pulled the overnight breakfast casserole out of the fridge. It looks like all of the egg is soaked up which is exactly what you're looking for. You want to make sure that there's no liquid left in your baking dish. So we're putting this into a 375 degree oven for 30 to 40 minutes or until it's cooked through. You again want the eggs cooked completely and that bread nice and toasty and the cheese melted. I just pulled the loaded breakfast casserole out of my oven. This looks and smells so good. I don't know if you can see, look at that. Oh my gosh, I can't wait for this this week. Let's go over again my points but the link will give you your points on my website and the calories. So the breakfast bake makes a total of 10 servings so it's a pretty good size serving. For me, it is only six points which is incredible. This is a complete breakfast. All you would have to do if you wanted was add some fruit but it is a complete breakfast. It is 309 calories per serving. Again, cannot wait to dig into this all week. For my lunches this week, I'm making ham and bean soup. I am really excited to have a good hearty soup for lunches this next week. Let me show you what is in the recipe. So you're going to need a ham bone, a ham hock. I think you can substitute bacon as well. I'm not sure about that. The original recipe gives some ham bone substitutions and that recipe of course will be linked on my website. I am not counting the points for this because we're not actually eating this. We're just using this for flavor and then it's removed from the soup but I went ahead and picked up just a pork hock. You're going to need some diced ham, some carrots. My carrots were not any good. I didn't realize that and I did have these shredded carrots so I'm going to use these. Otherwise you would use two full carrots and just dice those up. Some celery, fresh garlic, a yellow onion, light butter, salt and pepper. The recipe calls for cannellini beans or white beans. I had these two cans of great northern beans in my pantry so I wanted to use those up and then for the third can called for in the recipe I'm actually going to do black beans. Only because I have these on hand and I didn't wanna buy more when I have these three cans in my pantry. For seasoning you'll need rosemary, Italian thyme, bay leaves and cumin and you can also add red pepper flakes if desired and then you're going to need an entire box of chicken broth as well as two cups of water. To my bowl here I'm going to go ahead and mince my garlic, chop up a couple stalks of celery, my onion and add in my carrots. So to get started on the soup I have one tablespoon of light butter and one tablespoon of avocado oil. I'm going to allow this to get nice and hot before we add in the hand bones. Once your butter and oil is nice and hot we're going to place in our hand bone and we're actually going to let it cook for a couple minutes on each side, remove it and set it on the plate. Now we're going to reduce the heat down to medium and we're going to add in the onions, carrots, celery and garlic and we're going to let those cook down for just a couple of minutes. Now we're going to add in our entire package of the diced ham. Now I'm going to add in all of my seasoning starting with Italian, rosemary, thyme, cumin, salt and pepper. And if you would like you can add in a couple of bay leaves and some red pepper chili flakes which I'm going to omit that. We're also adding in all three cans of our drained and rinsed beans. Now we're adding four cups or an entire carton of chicken broth and two cups of water. Give that another stir. Ooh, this looks so good. I can't wait. And then we're going to put that hand bone back in to the pot kind of right in the middle so nestle it down in all of the goodness and go ahead and add any drippings as well that's going to add some flavor. We're going to increase this to high heat allow it to come to a boil. Once it comes to a boil, reduce the heat to medium low and we're going to allow this to simmer for about 30 minutes. Every 10 minutes or so you're going to want to give it a quick stir. You don't want anything to scorch to the bottom of the pan. So our soup has been simmering now for about a half of an hour. So I'm actually going to remove the ham hoc. We're going to remove your bay leaves if you used any bay leaves. I'm going to allow this to cool for just a couple of minutes. It is scorching hot. And then we will go over the points and the calories. So here is the soup. So that ham hoc is just going to add that smoky, meaty flavor. And we do have some protein as well between the beans and the ham but that's what's really going to give it the flavor. So you can go ahead and toss the ham hoc once you remove it from the soup. I'm going to let this cool completely. I'm just going to store it in my pot. Put the lid on, put it in the refrigerator but let's go ahead and go over points and calories. And remember, the points are my points. However, the recipe will automatically recalculate to your points once you click on it. So this entire pot of soup makes only six servings. So it is a large serving. It's going to be at least over a cup if not two cups of the soup. It is only two points. That is it because I actually have beans for zero points. So the only thing that counts for points for me is the ham as well as that little bit of butter and oil. It's 263 calories per serving, which is not bad. This is going to be such a delicious comfort food lunch. For my dessert this week, I'm making apple pie parfait, super low point, super low calorie, a great little dessert or sweet treat. So let me show you what's in our recipe. You're going to need three large apples. Mine are small to medium. So I went ahead and did four apples. Light cool whip, brown sugar alternative. Of course, I'm using the Lakonto Golden. I will link Lakonto in the description box with 15% off for you. You guys know it's my favorite sweetener and heads up on Lakonto. It is one of the sugar substitutes that does not have points. A lot of the sugar substitutes have points now. Lakonto brand does not. So take advantage of that 15% off. Gram, cracker, crumbs, light butter, salt and cinnamon. So the first thing we need to do is actually peel and dice our apples. We're going to dice them very, very small. Once your butter is just about melted, we're going to go ahead and add in our dice up apples. And we're going to allow this to cook for five to seven minutes or until the apples have started to soften. Once your apples have softened, we're going to add half of a cup Lakonto Golden. We're going to add a pinch of salt and of course some cinnamon and you already know I'm going to add a lot of cinnamon, about a tablespoon. And then we're going to stir this together and allow it to cook down for just a couple more minutes. We want to create a brown sugar glaze or sauce over these apples. I just removed the apples from the heat. I'm going to allow it to cool completely before we put together the parfaits. We don't want the hot apples to melt the whipped cream. So let's put together these parfaits. So our entire batch of apples here make six parfaits. So my favorite way to put these together is in a wine glass. They're small, they're pretty. So I'm going to add just a tiny bit of apples to the bottom of my wine glass. And when I calculated the points for this recipe, I planned on two tablespoons of cool whip. So we're going to want to divide those two tablespoons out between the two parfaits. I'm going to add a tablespoon of cool whip right on top of those apples. And it's going to melt down just a little bit with the apples cause they are still a little bit warm. And then we're going to add in another scoop of apples. Remember your apples make sick serving so be mindful of how much you're adding. And then we're going to add that other tablespoon of whipped cream. You can also use the canned whipped cream to make it a little bit prettier. And then I am going to add not even a teaspoon of graham cracker crumbs right on top. That would add zero additional points. So here is what the parfait looks like. Now it's not full all the way, but it's a perfect size dessert, perfect sweet treat. So each little apple pie parfait is only two points. And that does not include the graham cracker crumbs. If you only add a tiny bit like I do, it doesn't add any additional points. But if you do decide to add more, you'll want to definitely add in those points. And the parfait is only 78 calories. So less than 100 calories for an apple pie dessert. Thank you for joining me on another WW meal prep. I hope you enjoyed seeing all three recipes that I shared with you today. And don't forget down in the description box you'll find my recipe website. When you open up each of these recipes, there will be a link for you to click on. You'll log into your WW app and it will automatically recalculate the points of my recipes for you. I'm seriously so excited about this still. If you enjoyed this video, don't forget to give it a huge thumbs up. And if you're new or you haven't yet subscribed, I would love to have you here. Hit the subscribe button, click the bell next to it so you never miss a single video. | 37,799 |
https://stackoverflow.com/questions/6807764 | StackExchange | Open Web | CC-By-SA | 2,011 | Stack Exchange | Bako Abdullah, Melinho, Shai Mishali, South3492, https://stackoverflow.com/users/14893354, https://stackoverflow.com/users/14893355, https://stackoverflow.com/users/14893356, https://stackoverflow.com/users/14895443, https://stackoverflow.com/users/199267, https://stackoverflow.com/users/831824, kks1823126vv, strawtarget | English | Spoken | 254 | 391 | UIDocumentInteractionController Opening file in a specific app without options
I'm using UIDocumentInteractionController to open a file in another app, DropBox.
What i'm trying to do is open the file in another specific app , but i only managed so far to display the supported apps and allowing the user to choose.
UIDocumentInteractionController *udi = [UIDocumentInteractionController interactionControllerWithURL:[NSURL fileURLWithPath: jpgPath]];
[udi retain];
CGRect r = CGRectMake(0, 0, 300, 300);
[udi presentOpenInMenuFromRect:r inView:self.view animated:YES];
This presents a list of apps supported, but i want to directly open the file with dropbox, without the options box. Any ideas?
I'd be delighted to be contradicted, but I think this is not possible (at least up to and including iOS 4).
The normal way to open a file in another application is to use a Custom URL scheme. (See the documentation for openURL: in the UIApplication Class Reference and also Implementing Custom URL Schemes in the iOS Application Programming Guide.) To the best of my knowledge, Dropbox have not implemented a Custom URL Scheme. And, given that, this approach is closed.
UIDocumentationController is pretty opaque. You can coax it into telling you whether or not there is any application on the device that will open your file. But it's not clear you can do much else.
And if we're talking about instagram? it has the instagram:// scheme but i don't know of any normal way to pass an image there.
Has iOS 5 perhaps added anything for us? I can't find anything, but thought I'd ask in case someone has!!
| 8,262 |
https://en.wikipedia.org/wiki/Cave%20City%2C%20Arkansas | Wikipedia | Open Web | CC-By-SA | 2,023 | Cave City, Arkansas | https://en.wikipedia.org/w/index.php?title=Cave City, Arkansas&action=history | English | Spoken | 446 | 686 | Cave City is a city in Independence and Sharp counties in the U.S. state of Arkansas. The population was 1,904 at the 2010 census. The city was named for a large cave underneath the Crystal River Tourist Camp, which is the oldest motor court in Arkansas. Cave City is known for its award-winning "world's sweetest" watermelons and holds an annual watermelon festival in July.
Geography
Cave City is located at (35.948087, -91.550952). The town is centered on, and partially located above, the Crystal River, an underground body of water located in the multi-room Crystal River Cave, for which the town is named. The beginning and ending of the water source has never been determined.
According to the United States Census Bureau, the city has a total area of , all land.
List of highways
U.S. Highway 167
Arkansas Highway 58
Arkansas Highway 230
Demographics
2020 census
As of the 2020 United States census, there were 1,922 people, 853 households, and 554 families residing in the city.
2000 census
At the 2000 census there were 1,904 people in 751 households, including 504 families, in the city. The population density was . There were 838 housing units at an average density of . The racial makeup of the city was 0.3% Black, 96.9% white or European, 0.1% Asian, and 1.5% from two or more races. 2.5% of the population were Hispanic or Latino of any race.
Of the 751 households 34.8% had children under the age of 18 living with them, 49% were married couples living together, 14.5% had a female householder with no husband present, and 32.9% were non-families. 29.6% of households were one person and 14.7% were one person aged 65 or older. The average household size was 2.45 and the average family size was 3.01.
The age distribution was 31.1% under the age of 18, 5.4% from 19 to 24, 24.9% from 25 to 44, 20.8% from 45 to 64, and 18% 65 or older. The median age was 35.8 years. For every 100 females, there were 79.9 males. 31.4% of the male population and 40.3% of females were 18 and over.
The median household income was $23,163 and the median family income was $27,292. Males had a median income of $21,397 versus $17,424 for females. The per capita income for the city was $11,925. About 17.0% of families and 21.3% of the population were below the poverty line, including 26.3% of those under age 18 and 15.6% of those age 65 or over.
Education
Students in the area can attend the Cave City School District.
References
Cities in Arkansas
Cities in Independence County, Arkansas
Cities in Sharp County, Arkansas
Populated places established in 1890 | 12,412 |
https://crypto.stackexchange.com/questions/50559 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | English | Spoken | 245 | 342 | With known ciphertext and plaintext, find other party's Three Pass Protocol Key?
If I'm the second party participating in a three pass protocol (for simplicity, let's say Shamir's Three Pass Protocol) such that:
Bob sends me a ciphertext
I encrypt it and send it back
He removes his encryption and sends it back to me
I decrypt it fully
Using the information in steps 1 (ciphertext) and 4 (plaintext), how difficult is it for me to determine the key that Bob is using?
I know that this is a somewhat esoteric use-case, but I'm curious.
how difficult is it for me to determine the key that Bob is using?
This is essentially the discrete log problem; Bob's key is a value $b$, and his encryption mechanism is computing the value $P^b \bmod p$. Given $P$, $P^b \bmod p$, recover $b$ is the definition of discrete log.
Actually, you get two pairs of values encrypted with Bob's key; the plaintext (encrypted in step 1, and recovered in step 4), and the exchanged ciphertext (which you see encrypted in step 2 and decrypted in step 3); however having multiple pairs doesn't actually make the discrete log problem any easier.
So, if the group is large enough to make the three pass algorithm secure (for example, large enough that someone hearing the values in steps 2 and 3 could not recover Bob's key), it's also large enough to make recovering the symmetric keys by you infeasible as well.
| 17,485 | |
https://pt.wikipedia.org/wiki/Forstmehren | Wikipedia | Open Web | CC-By-SA | 2,023 | Forstmehren | https://pt.wikipedia.org/w/index.php?title=Forstmehren&action=history | Portuguese | Spoken | 23 | 62 | Forstmehren é um município localizada no distrito de Altenkirchen, na associação municipal de Verbandsgemeinde Altenkirchen, no estado da Renânia-Palatinado.
População
Municípios da Renânia-Palatinado | 37,313 |
https://it.wikipedia.org/wiki/Marigny-Marmande | Wikipedia | Open Web | CC-By-SA | 2,023 | Marigny-Marmande | https://it.wikipedia.org/w/index.php?title=Marigny-Marmande&action=history | Italian | Spoken | 29 | 72 | Marigny-Marmande è un comune francese di 619 abitanti situato nel dipartimento dell'Indre e Loira nella regione del Centro-Valle della Loira.
Società
Evoluzione demografica
Note
Altri progetti
Collegamenti esterni
Marigny-Marmande | 25,969 |
https://uk.wikipedia.org/wiki/%D0%9B%D0%BE%D1%80%D0%B5%D0%BD%D0%B0%20%D0%A0%D0%BE%D1%85%D0%B0%D1%81 | Wikipedia | Open Web | CC-By-SA | 2,023 | Лорена Рохас | https://uk.wikipedia.org/w/index.php?title=Лорена Рохас&action=history | Ukrainian | Spoken | 270 | 817 | Лорена Рохас (повне ім'я Сейді Лорена Рохас Гонсалес; ; 10 лютого 1971, Мехіко — 16 лютого 2015, Маямі) — мексиканська акторка, модель, співачка.
Біографія
Батьки Лорени розлучилися, коли вона ще була дитиною. Батько покинув матір Лорени, Ільду, з трьома дітьми і поїхав на свою батьківщину в Коста-Рbку. У Лорени були старша сестра Майра і брат Вальтер.
Закінчивши школу, Лорена була змушена продавати солодощі і цим заробляти собі на життя. Її старша сестра Майра Рохас (яка на той момент вже була актрисою) з дитинства бачила в Лорені задатки артистичного таланту і порадила їй спробувати себе в цьому напрямку. Раніше Лорена спробувала вивчати ветеринарію і філософію.
Як фотомодель знімалася для журналів «H para Hombres», «Conexiones Internacional», «Siempre mujer», «TV y Novelas» та інших.
Дебютувала у кіно в 1990 році, знімалася в основному в мексиканських телесеріалах.
Особисте життя
В 2001—2005 роки Лорена була одружена з Патріком Шнаасом.
Пізніше Лорена була у фактичному шлюбі з іспанським бізнесменом Хорхе Монхесом. У пари є прийомна дочка — Лусіана Рохас (нар. 6 жовтня 2013).
Хвороба
Восени 2008 року у Лорени був діагностований рак молочної залози. 9 грудня в Маямі їй була проведена успішна операція, проте незабаром стан актриси погіршився, метастази поширилися на інші органи і викликали прогресування захворювання.
Лорена Рохас померла 16 лютого 2015 року від раку печінки.
Номінації та нагороди
2002 — номінація на премію «Los Premios MTV Latinoamérica» в категорії «MTV North Feed (mostly Mexico) — Hottest Girl (Mamacita del Año)».
Фільмографія
Дискографія
«Como Yo No Hay Ninguna» (2001, Azteca Music)
«Deseo» (2006, Big Moon Records)
Примітки
Посилання
Акторки XXI століття
Акторки XX століття
Мексиканські акторки
Акторки за алфавітом
Померли від раку печінки
Мексиканські телеакторки | 50,885 |
https://de.wikipedia.org/wiki/Chasechemui | Wikipedia | Open Web | CC-By-SA | 2,023 | Chasechemui | https://de.wikipedia.org/w/index.php?title=Chasechemui&action=history | German | Spoken | 2,585 | 5,365 | Chasechemui (eigentlich vollständig: Hor-cha-sechemui) war der Horusname des letzten altägyptischen Königs (Pharaos) der 2. Dynastie (Frühdynastische Zeit), der bis um 2740 v. Chr. regierte.
Die Reichseinigung von Ober- und Unterägypten unter Chasechemui nach einer Periode politischer Unruhen, die Ähnlichkeiten zu Narmer und Skorpion II. aufwies, legte erneut die Basis für eine über 500 Jahre währende stabile Periode des Alten Reichs. Die Regierungszeit des Chasechemui ist daher für die Ägyptologie von besonderem Interesse.
Belege
Chasechem oder später Chasechemui ist gut bezeugt. Viele bekannte Objekte stammen aus Hierakonpolis. Darunter befindet sich ein Türflügel aus Granit, der sich im Tempelbezirk der Stadt fand. Es fanden sich drei Steingefäße mit einer identischen Siegesinschrift und zwei Statuen mit weiteren Siegesinschriften auf dem Sockel. Weiterhin gibt es das Fragment einer Stele.
Der Herrscher besaß ein monumentales Grab in Abydos, wo sich auch eine Umfriedung des Herrschers fand. Eine zweite Umfriedung des Herrschers steht heute noch in Hierakonpolis und kann dem Herrscher aufgrund von beschrifteten, steinernen Türfragmenten zugeordnet werden. Daneben erscheint sein Name auf einem Gefäßfragment aus Byblos, ein Block mit seinem Namen stammt aus Elkab. Weitere Namensinschriften des Herrschers fanden sich in einem Privatgrab in Sakkara und in der Djoserpyramide. Mehrere Regierungsjahre des Herrschers sind auf dem Palermostein erhalten.
Name und Identität
Von „Hor-cha-sechemui“ sind auffällig viele Namensvarianten bekannt, von denen die meisten Namen in einem Serech geschrieben wurden: Der symbolischen Palastfassade, auf der der Horusfalke thront. Es gibt zwei Hauptversionen des Namens: „Cha-sechem“ und „Cha-sechemui“. Es wird vermutet, dass er vor seinem Sieg über Unterägypten noch den Namen „Cha-sechem“ trug, den er nach der Unterwerfung auf „Hor-cha-sechemui“ erweiterte. Als „Hor-cha-sechem“ ist er in der Tat nur in Oberägypten, in Hierakonpolis bezeugt. Die Hintergründe der Ergänzung des Horusnamens sind beispielsweise im Eintrag des 14. Jahres nach der Unterwerfung Unterägyptens dokumentiert, der die alte Vorstellung der Könige widerspiegelte, dass sie im Alten Reich noch für die Landesteile von Ober- und Unterägypten zwei getrennte Königstitulaturen führten und symbolisch durch das Vereinigungsfest bis zum Tod des Königs die Legitimation zur Oberherrschaft über das gesamte Land erhielten.
Am ungewöhnlichsten aber ist der sogenannte „Friedensname“ (Horus-Seth-Name) des Chasechemui: Chasechemui-Netjeruhetepimef („Erscheinen der beiden Mächte, indem die Ahnen in ihm ruhen“). Dieser Name wurde als programmatisches Epitheton im Serech dem eigentlichen Horusnamen beigefügt. Allerdings wird der Friedensname nicht, wie gewöhnlich, von einem einzelnen Horusfalken eingeleitet, sondern die Götter Horus und Seth thronen bei der verlängerten Namensversion gemeinsam auf der Palastfassade und scheinen dabei einander zu „küssen“. Diese Art der Namenspräsentation sollte Chasechemui als großen Reichseiniger feiern und ihn mit jenen Ahnenherrschern verbinden, die dereinst über ein geeintes Reich regiert hatten.
Ein weiterer Name, der Gegenstand intensiver Forschungen ist, taucht im Turiner Königspapyrus und in der Königsliste von Sakkara auf. Gemeint ist der Kartuschenname Bebeti. Führende Ägyptologen sind sich sicher, dass dieser Name eine Fehlinterpretation ramessidischer Schreiber ist, die den ursprünglichen Namen des Chasechemui zu ermitteln versuchten. Ähnlich dürfte es sich auch mit dem Kartuschennamen Djadjai aus der Königsliste von Abydos zugetragen haben.
Laut dem Ägyptologen Wolfgang Helck könnte Chasechemuis Eigenname Besch gelautet haben, da dieser Name auf mehreren Gefäßen aus Brekzie erscheint, wo er in einem Schen-Ring, dem Vorläufer zur späteren Königskartusche, erscheint. Andere Ägyptologen wie z. B. Walter Bryan Emery widersprechen dem entschieden, da das Wort „Besch“ eigentlich „Rebell“ oder „Aufrührer“ bedeutet und sich wahrscheinlich eher auf die besiegten Fürstentümer bezieht.
Herkunft und Familie
Über die Vaterschaft des Chasechemui kann nur spekuliert werden. Eine Verwandtschaft zu seinen Vorgängern Peribsen und Sechemib ist nach Wolfgang Helck sehr wahrscheinlich, da Peribsen und Chasechemui sich bei der Wahl ihres Bestattungsortes wieder dem Königsfriedhof von Abydos zuwendeten und augenscheinlich auch kein Zweitgrab in Sakkara besaßen. Daher ist eine gemeinsame Herkunft der beiden Herrscher Peribsen und Chasechemui aus dem abydenischen Fürstentum von Kom Ombo anzunehmen.
Eine veraltete These besagt, Chasechemui sei mit Peribsen identisch gewesen. Dagegen spricht jedoch, dass beide Herrscher ihre eigenen Gräber in Abydos anlegten. Auch bauten beide ihre eigenen Forts und Tempelanlagen.
Chasechemui war verheiratet mit der Königin Nimaat-Hapi, die eventuell aus Unterägypten stammte. Ihr Name nennt den in Memphis verehrten Apis (Hapi). Sie war die Mutter des Thronfolgers Djoser. Es ist wahrscheinlich, dass Chasechemui noch weitere Söhne hatte, doch sind sich die Ägyptologen über deren Identitäten uneinig.
Regierungszeit
Der Friedensname des Chasechemui ließ früher viele Ägyptologen annehmen, dass Chasechemui gegen seinen Vorgänger Peribsen aufgrund von dessen Hinwendung zu Seth kämpfte und ihn bezwang. Diese These wurde scheinbar durch Inschriften auf den beiden Steinstatuen untermauert, die von großen Unruhen und Kriegen berichten. Heute wird diese These nicht mehr vertreten: Gegen einen Kampf zwischen Peribsen und Chasechemui spricht zum einen, dass beider Herrscher Grabanlagen in Abydos unmittelbar nebeneinander angelegt wurden und zum anderen Peribsen von Chasechemuis Vorgänger, König Sechemib, bestattet worden war, bevor Chasechemui selbst an die Macht kommen konnte.
Die bereits erwähnten Inschriften auf Statuen und Gefäßen berichten zudem, dass es zum Zeitpunkt der Machtergreifung Chasechemuis zu heftigen Bürgerkriegen im unterägyptischen Nildelta kam, und nur dort. Die Ägyptologen Nicolas Grimal und Jochem Kahl vermuten, dass die unterägyptischen Fürsten sich weigerten, Chasechemuis Pläne zur Wiedervereinigung zu akzeptieren und zu unterstützen, da sie ihre mit der Reichsteilung unter Ninetjer gewonnene Unabhängigkeit nicht ohne Weiteres wieder aufgeben wollten. Chasechemui aber muss auf seinen politischen Plänen bestanden haben. Um seine Ziele durchzusetzen, ging Chasechemui militärisch gegen die unterägyptischen Fürsten vor und triumphierte.
Nach Chasechemuis Unterwerfung Unterägyptens stiftete er in der damaligen Hauptstadt Hierakonpolis für die „Himmels- und Kronengöttin“ von Nechen, Nechbet, mehrere Siegesdenkmäler. Er bezog sich bei diesen Stiftungen auf die Tradition der früheren Könige Skorpion II. sowie Narmer. Die „Reichseinigung“ soll nach den Inschriften des Chaechemui die Göttin Nechbet vollzogen haben, weshalb Chasechemui an die alten Traditionen anknüpfte und damit verbunden das Vereinigungsfest feierte.
In einer Beischrift gab Chasechemui dem Unterwerfungsjahr den Namen „Jahr des Kampfes und des Schlagens Unterägyptens“. Zusätzlich nannte er „47.209 erschlagene Rebellen“, die er während seiner Feldzüge getötet hatte. Auf dem Palermostein sind zumindest in Spalte 4 die sieben letzten Jahre des Herrschers erhalten. Unter der Annahme, dass die Viehzählungen alle zwei Jahre sowie das Sokar-Fest in Verbindung mit den Tributeingängen alle sechs Jahre stattfanden, konnte die Regierungsjahrchronik rekonstruiert werden.
Memphis musste daher mindestens bis in das 18. Jahr seit der Unterwerfung Unterägyptens Tribut zahlen. Die – vermutlich erzwungene – Heirat mit der unterägyptischen Prinzessin Nimaathapi besiegelte Chasechemuis Triumph. Aus Hierakonpolis, wo auch die Sitzstatuen gefunden wurden, stammen mehrere Relieffragmente, die Chasechemui bei der Begehung des Sedfestes zeigen.
Da Sedfeste auch in Verbindung mit dem Vereinigungsfest bekannt sind, lässt sich aus den Sedfestdarstellungen nicht automatisch eine dreißigjährige Regierungsdauer ableiten. Eine wichtige Quelle zu seiner Regierungszeit stellt der Palermostein (das Fragment eines Annalensteines) dar. Sieben Jahre sind dort erhalten. Die Einträge lauten:
Trotz der Angaben auf dem Stein ist unsicher, wie lange Chasechemui tatsächlich regiert hat. Seine Regierungszeit als oberägyptischer König Hor-Chasechem ist nur für das Jahr vor der Unterwerfung Unterägyptens belegt. Unter Hinzurechnung der Viehzählungen ergibt sich eine Gesamtregentschaft von mindestens 20 Jahren; der Turiner Königspapyrus bescheinigt ihm 27 Jahre, 2 Monate und 1 Tag. Außerdem soll er etwas über 40 Jahre alt geworden sein.
Grabanlage
Bei Abydos findet sich das Grab des Herrschers in Umm el-Qaab. Sein Talbezirk befindet sich näher am Fruchtrand und wird heute von den Einheimischen Shunet El-Zebib (dt. „Rosinenscheune“) genannt. Die 5,35 m dicke Hauptmauer des Talbezirkes misst außen 123 m × 64 m und ist umgeben von einer zweiten, dünnen Außenmauer. An drei Seiten ist die Hauptmauer durch einfache Nischen gegliedert, nur zum Nil hin wird je eine mehrstufige Nische von je einer Dreiergruppe einfacher Nischen begleitet. Die Mauerfronten sind durch Türöffnungen durchbrochen. Nahe der östlichen Ecke stand ein kleines, 18,3 m × 15,5 m großes Gebäude. Möglicherweise ist diese Anlage der Vorläufer eines Grabtempelkomplexes, wie ihn (sein Sohn?) Djoser in der 3. Dynastie mit dem Djoser-Pyramidenkomplex errichtet hat. Im Inneren besteht der Bau aus kleinen Kammern mit verwinkelten Zugängen.
Das Grab selbst befindet sich in einer Grube von 69 m × 12,2 m mit 54 Vorratskammern. Die Grabkammer im Zentrum ist 1,98 m tief; Wände und Boden sind mit Kalksteinquadern verkleidet. Ergänzend verweist Günter Dreyer auf Siegelabdrücke des Sechemib aus dem Grab von Chasechemui, die nördlich der Grabkammer in Umm el-Qaab in den Räumen 31 bis 33 gefunden wurden. Auf den Siegeln ist der Name Sechem[..]-Perien-[....] in Bruchstücken erhalten, der sich problemlos zu Sechemib-perien-maat ergänzen lässt.
Rainer Stadelmann vermutet in den Westmassiven des Djoser-Komplexes in Sakkara ein unterägyptisches Zweitgrab des Chasechemui, das von seinem Nachfolger usurpiert wurde. Diese Ansicht ist nicht allgemein akzeptiert, da Grabusurpationen im Alten Reich so bislang nicht bekannt sind. Die steinerne Einfriedung Gisr el-Mudir in Sakkara wird von einigen Forschern ebenfalls Chasechemui zugeschrieben, da zum einen die Datierung auf Ende der 2. Dynastie stimmig ist und zum anderen ein Steinbauwerk Chasechemuis namens Men-Netjeret auf dem Palermo-Stein belegt ist. Eine archäologische Bestätigung dieser Zuordnung steht allerdings noch aus.
Die südöstlichen Mauern der Kammern V 56/58 wurden während des Mittleren Reiches nach Freilegung vollständig abgebaut. Der Eingangsbereich erfuhr jedoch während des Mittleren Reiches eine erneute Bebauung mit Ziegeln, da sich der noch bestehende Kultbetrieb offenbar auf die nördlichsten Kammern des Grabes beschränkte. Grabungsberichte ergaben außerdem, dass der Korridor zwischen den Kammern V 55/57 und V 56/58 überdacht gewesen sein musste. Zwischenzeitlich war die Anlage das Ziel von Grabräubern, die vermutlich durch die Ostwand von Kammer V 56 einstiegen.
Der Korridor war zunächst nach Süden hin leicht, dann zwischen den Eingangswangen von V 57/58 stärker ansteigend und ging schließlich allem Anschein nach in eine etwa 28 m lange Rampe über, die bis zum Grabgrubenrand führte. Daneben wurde eine Scheintür als Ausgang zur Unterwelt entdeckt, der auch schon in Grabanlagen der 1. Dynastie vorhanden war. Im Ausgangsbereich der Rampe standen auf dem Wüstenboden zahlreiche Opferschalen. Aufgrund dieses Befundes muss auch in der Spätzeit der Grabausgang sichtbar gewesen sein. Die auffällige Ausdehnung der Grabanlage nach Süden lässt vermuten, dass das Grab zunächst weiter nach Süden verlängert werden sollte. Beim Tod des Königs konnte die Anlage aus Zeitmangel wohl nicht mehr wie beabsichtigt erweitert werden, weshalb nur die südlichen vier schmalen Kammern V 52-56 angebaut wurden.
Besondere Funde
Statuen
Aus Hierakonpolis stammen zwei Sitzstatuen aus Diorit und poliertem Sandstein. Auf ihren Sockeln wird die Rebellion im Nildelta geschildert. Der Fund zweier Stelen aus poliertem Sandstein stammt ebenfalls aus Hierakonpolis. Auf ihnen ist der Serech des Pharao zu sehen, der hier jedoch Seth- und Horusname gemeinsam präsentiert. Auf dem Serech sind Horus und Seth in küssender Pose dargestellt. Damit wollte Chasechemui die Gleichberechtigung der Götter Horus und Seth aufzeigen und eine endgültige Einigung von Ober- und Unterägypten erreichen.
Gefäße
Im Grab des Chasechemui fanden sich noch relativ viele Grabbeigaben, darunter Gefäße aus Brekzie und Sandstein, deren Ränder mit Gold überzogen waren. Die Verwendung von Gold als Verzierung für Grabbeigaben ist unter Chasechemui zum ersten Mal archäologisch nachweisbar. Besonders bemerkenswert aber sind einige Bronzegefäße aus Chasechemuis Grabbezirk, die trotz ihres Alters erstaunlich gut erhalten geblieben sind. Sie stellen den Beleg für den frühen Beginn der ägyptischen Bronze-Ära dar, die bis um 1360 v. Chr. andauerte.
Ungewöhnlich ist die hohe Anzahl an Biertöpfen gegen nur ein Dutzend Weintöpfe, die bei den Vorgängern in die tausende Liter gingen und hier eine vergleichbar geringe Menge darstellten. Daneben gab es Brotformen sowie Streifenschalen, rote Opferschalen, Knickrandschalen, Opferständer, Miniaturgefäße sowie so genannte Nemset-Gefäße, die im Kult dem Ausgießen von Wasser dienten.
Daneben wurden Gefäßinschriften entdeckt, welche die Namen der hohen Beamten Maapermin und Inichnum aufweisen und aufgrund der schwarzen Tintenaufschrift in die Zeit des Vorgängerkönigs Sechemib bis König Djoser (3. Dynastie) datiert werden.
Spätere Rezeption
Auf Chasechemui folgt auf dem Palermostein wahrscheinlich Pharao Djoser, obwohl der Name des Letzteren nicht erhalten ist. In späteren Königslisten wird Nebka als Nachfolger genannt, so dass dieser lange Zeit als Nachfolger des Chasechemui angesehen wurde. Im Grab des Chasechemui in Abydos fanden sich jedoch Siegelabrollungen des Djoser, die belegen, dass Djoser das Begräbnis herrichtete und damit der Nachfolger war. Die späteren Königslisten irren offensichtlich im Falle des Nebka. Ein weiteres Fragment des Palermosteins befindet sich im Petrie-Museum zu London und konnte zwischenzeitlich dem Register von Chasechemui zugeordnet werden.
Im Mittleren oder Neuen Reich könnte möglicherweise im Tempel von Karnak eine Kult-Statue des Chasechemui aufgestellt worden sein. Gemäß Georges Legrain wurde dort im Jahr 1899 eine Statue gefunden, die vielleicht dem Andenken an diesen König gewidmet war. Eine Publikation des Fundstücks fehlt allerdings bis heute.
Es ist unsicher, ob der antike Chronist Manetho Chasechemui auch wirklich in seinen Auflistungen bedacht hat. Zwar werden die bei Manetho auftretenden Prätendenten Sesochris und Cheneres im Allgemeinen mit Chasechemui gleichgesetzt, doch ist unklar, woher Manetho seine Namensentstehung bezogen hat. Phonemische Abgleichungen ergaben bislang keinerlei Übereinstimmungen.
Literatur
Jürgen von Beckerath: Chronologie des pharaonischen Ägypten. Die Zeitbestimmung der ägyptischen Geschichte von der Vorzeit bis 332 v. Chr. (= Münchner ägyptologische Studien. Band 46). von Zabern, Mainz 1997, ISBN 3-8053-2310-7.
Jürgen von Beckerath: Handbuch der ägyptischen Königsnamen (= Münchner ägyptologische Studien. Band 20). Deutscher Kunstverlag, München u. a. 1984, ISBN 3-422-00832-2.
Peter A. Clayton: Die Pharaonen. Bechtermünz, Augsburg 1998, ISBN 3-8289-0661-3.
Walter B. Emery: Ägypten, Geschichte und Kultur der Frühzeit, 3200–2800 v. Chr. Fourier, Wiesbaden 1980, ISBN 3-921695-39-2.
Martin von Falck, Susanne Martinssen-von Falck: Die großen Pharaonen. Von der Frühzeit bis zum Mittleren Reich. Marix, Wiesbaden 2015, ISBN 978-3-7374-0976-6, S. 62–67.
R. A. El-Farag: A Stela of Khasekhemui from Abydos. In: Mitteilungen des Deutschen Archäologischen Instituts, Abteilung Kairo (MDAIK). Band 36, 1986, , S. 77–80.
Alan Gardiner: Geschichte des Alten Ägypten. Weltbild, Augsburg 1994, ISBN 3-89350-723-X.
Nicolas Grimal: A History of Ancient Egypt. Blackwell-Publishing, Oxford u. a. 1992, ISBN 0-631-19396-0.
Wolfgang Helck: Untersuchungen zur Thinitenzeit (= Ägyptologische Abhandlungen. Band 45). Harrassowitz, Wiesbaden 1987, ISBN 3-447-02677-4.
Jochem Kahl: Inscriptional Evidence for the Relative Chronology of Dyns. 0–2. In: Erik Hornung, Rolf Krauss, David A. Warburton (Hrsg.): Ancient Egyptian Chronology (= Handbook of Oriental Studies. Section 1: The Near and Middle East. Band 83). Brill, Leiden u. a. 2006, ISBN 90-04-11385-1, S. 94–115 (Online).
Peter Kaplony: Inschriften der ägyptischen Frühzeit (= Ägyptologische Abhandlungen. Band 8). Band 3. Harrassowitz, Wiesbaden 1963, ISBN 3-447-00052-X.
Peter Kaplony: Chasechemui. In: Wolfgang Helck, Eberhard Otto (Hrsg.): Lexikon der Ägyptologie. Band 1: A – Ernte. Harrassowitz, Wiesbaden 1975, ISBN 3-447-01670-1, Spalte 910–912.
Flinders Petrie: Tombs of the Courtiers and Oxyrhynkos (= British School of Archaeology in Egypt and Egyptian Research Account. Band 28, 1922, = Publications of the British School of Archaeology in Egypt. Band 37). British School of Archaeology in Egypt u. a., London 1925, S. 18.
J. E. Quibell: Hierakonpolis. Band 1: Plates of discoveries in 1898 Band 1 (= Egyptian Research Account. Band 4, ). Quaritch, London 1900, Tafel 38, (online (PDF; 4,7 MB)).
Silke Roth: Die Königsmütter des Alten Ägypten. Von der Frühzeit bis zum Ende der 12. Dynastie (= Ägypten und Altes Testament. Band 46). Harrassowitz, Wiesbaden 2001, ISBN 3-447-04368-7 (Zugleich: Universität Mainz, Dissertation, 1997).
Hermann A. Schlögl: Das Alte Ägypten. Geschichte und Kultur von der Frühzeit bis zu Kleopatra. Beck, München 2006, ISBN 3-406-54988-8.
Thomas Schneider: Lexikon der Pharaonen. Albatros, Düsseldorf 2002, ISBN 3-491-96053-3.
Rainer Stadelmann: Die ägyptischen Pyramiden. Vom Ziegelbau zum Weltwunder (= Kulturgeschichte der Antiken Welt. Band 30). 3. aktualisierte und erweiterte Auflage. von Zabern, Mainz 1997, ISBN 3-8053-1142-7.
Dietrich Wildung: Die Rolle ägyptischer Könige im Bewußtsein ihrer Nachwelt. Band 1: Posthume Quellen über die Könige der ersten vier Dynastien (= Münchener Ägyptologische Studien. Band 17, ). Hessling, Berlin 1969 (Zugleich: gekürzte Dissertation, Universität München, !967).
Toby A. H. Wilkinson: Early Dynastic Egypt. Routledge, London u. a. 1999, ISBN 0-415-18633-1.
Weblinks
Chasechemui auf Digital Egypt (englisch)
The Ancient Egypt Site (englisch)
Anmerkungen
Einzelnachweise
Altägyptischer König (Frühdynastik)
2. Dynastie (Ägypten)
Geboren im 28. Jahrhundert v. Chr.
Gestorben im 28. Jahrhundert v. Chr.
Mann | 14,041 |
https://stackoverflow.com/questions/31940086 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | Mark, Oracle Nerd, https://stackoverflow.com/users/245052, https://stackoverflow.com/users/4444148 | English | Spoken | 237 | 418 | SQL: Combine First Name and Last Name columns but if Null change to 'Name Not Provided'
I'm currently building a simple view and need to combine both the First Name and Last Name columns to create a new Customer column. If a First Name and Last Name are not provided I'd like to change this new combined value to 'Name Not Provided'.
Currently I use a simple select statement:
LastName + ', ' + FirstName AS Customer
which appears to work fine for combing the data but if the data doesn't exist, it will just return ', '. How do I go about changing this so it returns 'Name Not Provided'?
duplicate of http://stackoverflow.com/questions/2916791/sql-server-string-concatenation-with-null
Possible Duplicate of http://stackoverflow.com/questions/2916791/sql-server-string-concatenation-with-null
SELECT Customer = CASE WHEN FirstName IS NULL AND LastName IS NULL
THEN 'Name Not Provided'
WHEN FirstName IS NULL AND LastName IS NOT NULL
THEN LastName
WHEN FirstName IS NOT NULL AND LastName IS NULL
THEN FirstName
ELSE LastName + ', ' + FirstName END
FROM dbo.TableName
Demo
depending on your database settings your solution may return null if firstname is null and last name is not null or vise-versa
SET CONCAT_NULL_YIELDS_NULL ON
SELECT ISNULL(LastName + ', ' + FirstName, 'Name Not Provided') AS Customer
Microsoft's ISNULL() function is used to specify how we want to treat NULL values.
The following query will return a default text if FirstName is NULL.
SELECT (ISNULL(FirstName,'First name is null')) AS Customer
| 8,081 |
https://stackoverflow.com/questions/58111914 | StackExchange | Open Web | CC-By-SA | 2,019 | Stack Exchange | VBoka, https://stackoverflow.com/users/6565038 | Finnish | Spoken | 355 | 799 | SQL decode column value to another column
I am using PL/SQL 12.
I want to decode a column value to match another column value. I take the highest value of the the columns SP_RANK and MOODY_RANK and call it RANK. I want this column to instead of values have the corresponding value in either SP or MOODYS depending on which value is highest.
Below my code and a snippet of the data.
SELECT rv.updat
, rv.instrumentid
, greatest(nvl(rv.sp_rank, '-1')
, nvl(rv.moody_rank, '-1')) AS "Rank"
, rv.sp
, rv.moodys
, rv.SP_Rank
, rv.Moody_Rank
FROM ci.ratings_view rv
ORDER BY rv.updat ASC
Table:
INSTRUMENTID | UPDAT | Rank | SP | MOODYS | SP_RANK | MOODY_RANK
-------------+------------+------+-----+--------+---------+-----------
0203041 | 26/09/2019 | 100 | AAA | Aaa | 100 | 100
0203378 | 26/09/2019 | 100 | AAA | Aaa | 100 | 100
0203734 | 26/09/2019 | 100 | AAA | Aaa | 100 | 100
0204196 | 26/09/2019 | 100 | AAA | Aaa | 100 | 100
0204277 | 26/09/2019 | 100 | AAA | Aaa | 100 | 100
0413194 | 26/09/2019 | 75 | A | NR | 75 | -1
0413216 | 26/09/2019 | 75 | A | NR | 75 | -1
0413240 | 26/09/2019 | 75 | A | NR | 75 | -1
0460583 | 26/09/2019 | 100 | AAA | NR | 100 | -1
0460656 | 26/09/2019 | 100 | AAA | NR | 100 | -1
0471534A | 26/09/2019 | 100 | AAA | WR | 100 | -1
0491438 | 26/09/2019 | -1 | NR | NR | -1 | -1
So instead of 100 it should say AAA and instead of 75 A, etc.
Can you show us what is your expected result ? Thanks!
You can do this with a CASE statement:
select
rv.updat,
rv.instrumentid,
greatest(nvl(rv.sp_rank,'-1'),
nvl(rv.moody_rank,'-1')) as "Rank",
rv.sp,
rv.moodys,
rv.SP_Rank,
rv.Moody_Rank,
CASE
WHEN COALESCE(rv.moody_rank, -1) > COALESCE(rv.SP_Rank, -1) THEN rv.moodys
ELSE rv.SP
END AS NewRank
from ci.ratings_view rv
order by rv.updat asc
You may need to add some extra logic to handle ties -- i.e. which rank to use (SP or Moodys)
| 4,302 |
https://fr.wikipedia.org/wiki/Buck%20John | Wikipedia | Open Web | CC-By-SA | 2,023 | Buck John | https://fr.wikipedia.org/w/index.php?title=Buck John&action=history | French | Spoken | 111 | 194 | Buck John est un périodique de bande dessinée de western publié par l'éditeur français de petit format Impéria. Ses 613 numéros ont été publiés de au printemps 1986; ce qui en fait l'un des petits formats à la publication continue la plus longue.
Buck John publiait, outre la série britannique éponyme inspirée par l'acteur Buck Jones, diverses séries britanniques, italiennes, espagnoles et américaines.
Séries publiées
Buck Jones
Buffalo Bill
Davy Crocket
Kit Carson
Lucky Lannagan
Wambi Jungle Boy
Annexes
Bibliographie
.
Notes et références
Périodique français de bande dessinée disparu
Presse mensuelle disparue en France
Revue de petit format
Titre de presse créé en 1953
Titre de presse disparu en 1967 | 39,896 |
https://zh.wikipedia.org/wiki/%E6%8B%89%E8%92%82%E5%88%A9%E8%80%B6%E5%B0%94 | Wikipedia | Open Web | CC-By-SA | 2,023 | 拉蒂利耶尔 | https://zh.wikipedia.org/w/index.php?title=拉蒂利耶尔&action=history | Chinese | Spoken | 15 | 299 | 拉蒂利耶尔(,)是法国卢瓦尔省的一个市镇,属于罗阿讷区。
地理
()面积,位于法国奥弗涅-罗讷-阿尔卑斯大区卢瓦尔省,该省份为法国中南部省份,北起顺时针与索恩-卢瓦尔省、罗讷省、伊泽尔省、阿尔代什省、上盧瓦爾省、多姆山省和阿列省接壤。
与接壤的市镇(或旧市镇、城区)包括:。
的时区为UTC+01:00、UTC+02:00(夏令时)。
行政
的邮政编码为,INSEE市镇编码为。
政治
所属的省级选区为。
人口
于时的人口数量为人。
参见
卢瓦尔省市镇列表
参考文献
卢瓦尔省市镇 | 38,165 |
https://de.wikipedia.org/wiki/Moni%20Grigoriou | Wikipedia | Open Web | CC-By-SA | 2,023 | Moni Grigoriou | https://de.wikipedia.org/w/index.php?title=Moni Grigoriou&action=history | German | Spoken | 250 | 465 | Moni Osiou Grigoriou () ist ein orthodoxes Kloster an der Westküste der Halbinsel Athos in Griechenland. Es liegt direkt am Meer auf einem felsigen Kap in unmittelbarer Nachbarschaft zu den Klöstern Simonos Petras und Dionysiou. Es nimmt unter den 20 Athosklöstern den 17. Platz der Rangfolge ein.
Geschichte
Obwohl das Kloster relativ spät entstanden ist, sind das genaue Gründungsjahr sowie die Gründungslegende unbekannt. Wahrscheinlich gehen die Ursprünge des Klosters auf den Mönch Gregorius den Jüngeren zurück, einen Schüler des Gregorios Sinaites. Erstmals erwähnt wird das Kloster im Jahr 1347. In der Wende zum 15. Jahrhundert nahm es den 22. Platz der damals 25 Athosklöster ein. Bis zum Jahr 1483 war relativ wenig über das Kloster verfasst worden. Erst damals unterschrieb der Abt eine slawische Urkunde, die finanzielle Unterstützung aus dem Ausland, insbesondere aus Rumänien, zur Folge hatte. Der Großbrand im Jahr 1761 machte weitere Unterstützungen dringlich. Seine Blütezeit erlebte das Kloster im 19. Jahrhundert, als es um mehr als das Doppelte erweitert wurde.
Waren im Jahr 1903 noch 105 Mönche im Kloster aktiv, so sank die Anzahl bis 1968 auf 34 Mönche. Ein Aufwärtstrend um die Jahrtausendwende bescherte dem Kloster insgesamt 86 aktive Mönche. Nach der Volkszählung 2011 wurden 96 Einwohner angegeben.
Das Kloster wird regelmäßig von einer Fähre direkt angefahren und mit Gütern beliefert. Es gibt dort ein eigenes Bootshaus, eine kleine Bibliothek und bescheidene Übernachtungsmöglichkeiten für Pilger.
Weblinks
Monastery of Gregoriou, Ministerium für Kultur und Sport (englisch)
Einzelnachweise
Kloster des Athos
Kloster (14. Jahrhundert)
Ersterwähnung 1347
Griechisch-orthodoxes Kloster | 35,072 |
https://arz.wikipedia.org/wiki/SDSS%20J113604.41%2B045657.6%20%28%D9%85%D8%AC%D8%B1%D9%87%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | SDSS J113604.41+045657.6 (مجره) | https://arz.wikipedia.org/w/index.php?title=SDSS J113604.41+045657.6 (مجره)&action=history | Egyptian Arabic | Spoken | 164 | 459 | SDSS J113604.41+045657.6 هيا مجره بتتبع كوكبة ليو اللى هيا كوكبه ف دايرة البروج.
معلومات المجره
الانزياح الأحمر: 0.1.
السرعه الشعاعيه: 28487.
المطلع المستقيم: 174.018383.
الميل: 4.949337.
مصطلحات تعريفيه
الكوكبه هيا مجموعه من النجوم اللى بتكون شكل أو صوره و هيا مجال الكره السماويه اللى المجره جزء منها.
الانزياح الاحمر هو زيادة طول الموجه الكهرومغناطيسيه اللى جايه لينا من المجره بسبب سرعه ابتعادها عننا. ده بيستخدم فى حسابات الفلك.
السرعه الشعاعيه هيا سرعه الجرم الفضائى فى اتجاه الراصد و بتنقاس بالانزياح الاحمر.
المطلع المستقيم هوا الزاويه المحصوره بين الدايره الساعيه لجرم سماوى و الدايره الساعيه لنقطة الاعتدال الربيعى. المطلع المستقيم ممكن يتقاس بقوس دايره الاستواء السماويه من نقطه الاعتدال الربيعى لحد نقطه تقاطع الدايره الساعيه لجرم سماوى مع دايره الاستواء السماويه.
الميل هوا المكافئ الفلكى لخط العرض و بيتقس بقيمة الزاويه بين أى جسم سماوى وخط الاستوا السماوى. لو كان النجم شمال خط الاستوا السماوى تكون قيمة بعده بالموجب (+) و لو النجم جنوب خط الاستوا السماوى تكون قيمة بعده بالسالب (-).
مصادر
مجرات
فضاء | 48,760 |
https://networkengineering.stackexchange.com/questions/38065 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | Alnitak, Maksym Bondarenko, Teun Vink, https://networkengineering.stackexchange.com/users/20449, https://networkengineering.stackexchange.com/users/33550, https://networkengineering.stackexchange.com/users/509 | English | Spoken | 393 | 538 | What does "end site" mean?
I see that many IETF RFC documents use "end site" term.
However I cannot find exact definition of an "end site".
Does anybody have a reasonable explanation of what is an "end site"?
In particular I am interested whether "end site" can be considered as being in one location like a building, or it can be spread in many locations.
Can you be specific which RFC's you're talking about?
I am talking about RFC 6177 and RFC 3177
@MaksymBondarenko that was a lucky guess of mine :)
In the context of RFC 6177, "IPv6 Address Assignment to End Sites", an end site would be a single location with its own dedicated IP service provision.
That definition might encompass multiple buildings if they're all on one site and sharing the same upstream IP service, and interconnected via an inter-building LAN.
For a multi-location SME who takes separate internet service for each location from the same ISP, that ISP might allocate a /48 for the SME as a whole, but then allocate a /56 from within that /48 for each physical location.
This aggregation of multiple end sites within one larger subnet allows for simpler firewall policies, VPN settings, etc.
Thanks Alnitak! I was briefly reading RFC 6177, but I couldn't derive from its content that end site means a single location or a set of buildings in a similar location. Can you point me to a place in RFC 6177 that has such an explanation?
I also found the following definition at RIPE-450:
"An End Site is defined as an End User (subscriber) who has a business or legal relationship (same
or associated entities) with a service provider that involves:
that service provider assigning address space to the End User
that service provider providing transit service for the End User to other sites
that service provider carrying the End User's traffic
that service provider advertising an aggregate prefix route that contains the End
User's assignment"
However it doesn't suggest anything about the End User being located at one place and not distributed across different locations, like different cities or different city districts.
@MaksymBondarenko I think it's just supposed to be "implicit", based on the common understanding of the word "site". I know one of the authors of 6177 well, I'll ask next time we speak.
| 42,682 |
https://crh.wikipedia.org/wiki/Okt%C3%A2brskoye%20%28Amur%20vil%C3%A2yeti%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Oktâbrskoye (Amur vilâyeti) | https://crh.wikipedia.org/w/index.php?title=Oktâbrskoye (Amur vilâyeti)&action=history | Crimean Tatar | Spoken | 18 | 55 | Oktâbrskoye () - Rusiyeniñ Amur vilâyetinde Konstantinovka rayonında bir köy. Ealisiniñ sayısı 101 kişi.
Amur vilâyetindeki meskün yerler | 35,042 |
https://stackoverflow.com/questions/59768374 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | Algirdas Preidžius, RobertS supports Monica Cellio, SparkFountain, https://stackoverflow.com/users/12139179, https://stackoverflow.com/users/2764486, https://stackoverflow.com/users/5440453 | English | Spoken | 771 | 1,092 | What is the difference between a = 5, a(5), a{5} and a[5] in C++?
What is the difference between the statements of a = 5, a(5), a{5} and a[5] in C++?
I occasionally see them used for anything like assigning a value to an object in C++ programs. Where is the difference between them?
Why do you post a question for which you have a prepared, long answer already that you post just in the same moment together with the question?
@SparkFountain To provide a Q&A for anyone who potentially encounter the issue and wonder about the syntax.
There is a main difference between all of these statements in C++ in the context of initialization ( which is done at the moment of the declaration of an object) and assignment; the last statement a[5] is also a completely different thing in comparison to the others.
Premise: If a is an object of a certain datatype, for example int, we can assign an appropriate value (according to the datatype declared with) to a. Note: The value may be evaluated by a valid expression, for example a = 2 + 3; behave the same as a = 5;.
a = 5;
This is the common assignment form used in C++ programs. It can be used either for the initialization or later assignment (after the declaration of a) in the respective scope. If a is declared properly as of type int, this statement assigns the integer value of 5 to the int variable of a.
It can be used either directly by the declaration:
int a = 5;
first assignment (when a is not initialized at its declaration):
int a;
// some code may exist between.
a = 5;
Or an assignment anywhere else in the respective scope after the first assignment or initialization at the declaration (dependent on storage class):
int a; // declaration of `a`.
// some code may exist between.
a = 5; // first assignment of `a` with the value of `5`.
// some code may exist between.
a = 7; // assignment of the value of `7` to `a`.
a(5);
This statement initializes the int variable of a with the value of 5. It can be used only at the explicit initialization at the moment of the declaration:
int a(5);
Else the compiler will high-probably throw an error, because it "thinks" that a would be a function.
Technically, a(5) could be a function, which takes the value of 5 as argument in general tough, but it is the context of the declaration of an int object what makes the difference here.
a{5};
Same as 2. It initializes a with the value of 5. It can be used only by the initialization at the moment of the declaration:
int a{5};
Else the compiler will throw an error.
Note: To initialize a value like int a{5}; or int a(5) is a C++ feature only. It is not possible to initialize an object in C this way.
a[5];
With this statement we do not apparently initialize or assigning the value of 5 to the variable of a. Instead, we defining an array, a cluster of objects, consisted of 5 objects, which is represented as its own entity by the identifier of a:
int a[5]; // declaration of `a` - `a` is an array of 5 int objects.
So, we do not have a single object here nor assigning any value to it.
Furthermore, we have to distinguish between the declaration of an array with:
int a[5];
and the later accessing to a certain int object of the array a, like fore example:
a[4] = 12;
In this case, a[4] is representing the 5th object inside the array and the value of 12 is assigned to that fifth object of the array.
The number inside the square brackets, here 4, is called the index number. Note, that the index numbers successively start at 0. Thus, a[0] represents the first object in the array, a[1] the second, and so on. You can´t use a[5] in that way, if you declared a with int a[5]; because it would represent, in this case, a sixth object, which isn´t allocated in memory for a.
a = 5; // initialization of a with the value of 5. Technically, it's an assignment. Initialization must be part of the declaration: int a = 5;.
@AlgirdasPreidžius My intention was to make a clear distinction for better understanding. I will edit it.
"My intention was to make a clear distinction for better understanding." If the "distinction" is accompanied with wrong statement - it doesn't help with the understanding.
@AlgirdasPreidžius Sorry, my bad.
| 20,138 |
https://af.wikipedia.org/wiki/Gott%2C%20man%20lobet%20dich%20in%20der%20Stille%2C%20BWV%20120b | Wikipedia | Open Web | CC-By-SA | 2,023 | Gott, man lobet dich in der Stille, BWV 120b | https://af.wikipedia.org/w/index.php?title=Gott, man lobet dich in der Stille, BWV 120b&action=history | Afrikaans | Spoken | 31 | 65 | Gott, man lobet dich in der Stille, BWV 120b, is 'n kantate van Johann Sebastian Bach.
Sien ook
Bach-Werke-Verzeichnis
Lys van komposisies van Johann Sebastian Bach
Kantates van Johann Sebastian Bach | 42,079 |
https://math.stackexchange.com/questions/4099942 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | Alvaro Martinez, Arturo Magidin, https://math.stackexchange.com/users/662125, https://math.stackexchange.com/users/742, https://math.stackexchange.com/users/861776, user861776 | English | Spoken | 673 | 1,349 | Tower law for subgroups
I am trying to prove the so-called "Tower law' for subgroups:
Given $G \supset H \supset K$, subgroups of $G$ such that $[G:H]$ and $[H:K]$ are finite, we have
$$[G:K] = [G:H][H:K].$$
I do not want to make the assumption that $G$ is finite. If that were the case, then the result follows immediately from Lagrange's theorem. If I am not mistaken, if I assume that one of these indices is finite, then all of them are finite, but the group itself may still be infinite, even if it's partitioned into an infinite number of cosets. (I can't think of an example off-hand of this, so if anyone knows of a canonical one, that'd be very helpful.)
I've done some reading on this and have an attempt written down, but I can't understand a few of the steps.
By assumption, $[G:H]$ and $[H:K]$ are finite. Denote the former by $m$ and the latter by $n$. Since left cosets of $H$ in $G$ partition $G$ and the left cosets of $K$ in. $H$ partition $K$, we choose $g_1, \ldots, g_m$ and $h_1, \ldots, h_n$ such that
\begin{align*}
G = \bigsqcup\limits_{i=1}^m g_i H, \; H = \bigsqcup\limits_{j=1}^n h_j K.
\end{align*}
We therefore have:
\begin{align*}
G = \bigsqcup\limits_{i=1}^m g_i H = \bigsqcup\limits_{i=1}^m g_i \left(\bigsqcup\limits_{j=1}^n h_j K \right) = \bigsqcup\limits_{i=1}^m g_i \bigsqcup\limits_{j=1}^n g_i (h_j K) = \bigsqcup\limits_{i=1}^m \bigsqcup\limits_{j=1}^n (g_i h_j)K,
\end{align*}
so $G$ is a disjoint union of $mn$ left cosets of $K$ in $G$, so we have
\begin{align*}
[G:K] = mn = [G:H][H:K],
\end{align*}
as desired.
I approached this by "naive" substitution, treating these disjoint unions as if they were sums or products, but I'm not convinced that I fully understand the operation. When I put two unions together, I assume this is, in effect, a 'Cartesian product.' Is that right? When I "pull $g_i$ within the inner union," I can't say I'm using "linearity," but I don't know what the multiplication is, since I have coset multiplication within the union (and I'm multiplying $g_i$ by a coset) but also a group multiplication.
In a virtually identical proof, Artin comments that the last step is justified because multiplication by $g_i$ is an invertible operation. I do not understand where this comes from, unless its using the defining equivalence relation $a \sim b \iff a^{-1} b \in H$ that defines a coset.
Any help on understanding this would be grtand, greatly appreciated.
The function that sends $x$ to $g_ix$ is the invertible function: it is invertible because the function that sends $y$ to $g_i^{-1}y$ is the inverse function.
I am not sure this works. When you say “subgroups of finite index”, I interpret that to mean that $H$ and $K$ are both of finite index in $G$. Instead, you seem to be interpreting it to mean that $H$ is of finite index in $G$ and $K$ is of finite index in $H$. Of course, the tower law holds for cardinalities, finite or infinite, so the two assumptions end up being equivalent, but it is not clear to me what the assumption is supposed to be.
This is a very good point. I was trying to say that both indices on the right-hand side are finite. I'll modify this.
A different question, though: If $H$ has finite index in $G$, does it immediately follow $K$ has finite index in $H$? I'm trying to think of the best way to simplify the assumption.
Think $G=\mathbb{Z}$, $H=2\mathbb{Z}$, $K=0$. Then $[G:H]$ is finite but $[H:K]$ isn't.
When I put two unions together, I assume this is, in effect, a 'Cartesian product.' Is that right?
It is a (disjoint) union of (disjoint) unions, therefore a (disjoint) union, nothing more.
When I "pull $g_i$ within the inner union", I can't say I'm using "linearity", but I don't know what the multiplication is.
In general, given a set $X\subset G$ and $g\in G$, $gX$ is a shorthand for $\{gx:x\in X\}$. Therefore $g\bigsqcup_{i=1}^n X_i=\{gx:x\in \bigsqcup_{i=1}^nX_i\}=\bigsqcup_{i=1}^n\{gx:x\in X_i\}=\bigsqcup_{i=1}^ngX_i$. This means that $g$ "distributes over unions".
Hopefully this clears up the proof for you!
| 9,952 |
https://de.wikipedia.org/wiki/Moraxellaceae | Wikipedia | Open Web | CC-By-SA | 2,023 | Moraxellaceae | https://de.wikipedia.org/w/index.php?title=Moraxellaceae&action=history | German | Spoken | 278 | 665 | Die Moraxellaceae sind eine Familie von Gammaproteobakterien. Einige Arten sind Krankheitserreger des Menschen. So kann Moraxella catarrhalis Bronchitis, Nasennebenhöhlenentzündungen und Mittelohrentzündungen hervorrufen. Acinetobacter baumannii kann u. a. Wundinfektionen und Lungenentzündungen hervorrufen. Moraxella bovis kann bei Rindern das sogenannte Pink Eye, eine Horn- und Bindehautentzündung, hervorrufen. Andere Arten kommen im Wasser oder Böden vor.
Die der Familie namengebende Gattung (Typusgattung) Moraxella ist nach dem schweizerischen Arzt Victor Morax (1866–1935) benannt, dem Entdecker von Moraxella lacunata, einem für Entzündung der Bindehaut verantwortlichen Bakterium.
Merkmale
Die Arten der Moraxellaceae sind stäbchen- oder kokkenförmig. Wie für Proteobakterien typisch sind sie gramnegativ. Der Katalase-Test fällt meist positiv aus. Einige Arten können Kapseln bilden. Sie sind aerob, d. h., sie sind auf Sauerstoff angewiesen, und chemoheterotroph. Flagellen sind in der Regel nicht vorhanden, allerdings können sich einige Arten sprunghaft durch einen „Springfedermechanismus“, die sogenannte twitching motility oder Zuckbewegung, fortbewegen. Dies wird durch spezielle Pili erzeugt. Beispiele sind Moraxella bovis, Moraxella nonliquefaciens und verschiedene Arten von Acinetobacter. Innerhalb der Familie kommen auch kälteliebende (psychrophile) Arten vor (Gattung Psychrobacter).
Systematik
Eine Auswahl von Gattungen
Acinetobacter Brisou and Prévot 1954
Alkanindiges Bogan et al. 2003
Branhamella Catlin 1970
Enhydrobacter Staley et al. 1987
Faucicola Humphreys et al. 2015
Moraxella Lwoff 1939
Paraperlucidibaca Oh et al. 2011
Perlucidibaca Song et al. 2008
Psychrobacter Juni and Heym 1986
Einzelnachweise
Literatur
George M. Garrity (Hrsg.): Bergey’s Manual of Systematic Bacteriology. 2. Auflage, Band 2: The Proteobacteria. Part B: The Gammaproteobacteria. Springer, New York 2005, ISBN 0-387-95040-0.
Michael T. Madigan, John M. Martinko, Jack Parker: Brock – Mikrobiologie. 11., aktualisierte Auflage, Pearson Studium, München 2009, ISBN 978-3-8273-7358-8.
Werner Köhler (Hrsg.): Medizinische Mikrobiologie. 8. Auflage, Urban und Fischer, München/Jena 2001, ISBN 978-3-437-41640-8. | 17,144 |
https://li.wikipedia.org/wiki/Kepsj | Wikipedia | Open Web | CC-By-SA | 2,023 | Kepsj | https://li.wikipedia.org/w/index.php?title=Kepsj&action=history | Limburgish | Spoken | 85 | 196 | Kepsj zeen is in groate deile van Limburg en midde-Nederlandj ein väöl gebruukde oetsjpraak went me platzak is, gein geldj meë hat of alles kwiet is. In ’t Nederlandjs wirt hiejveur meistal ’t woord blut gebruuk.
Gezègkde
Ich bèn gans kepsj (Ned.: Ik ben helemaal blut, platzak).
Etymologie
't Woord kepsj is waarsjienlik ein Bargoens woord en kump in groate deile van Limburg veur, veural in de Maaskantj. ’t Zouw aafgeleid zeen van Jiddische kabtsen. In ’t Hebreëuws wirt eine baedelaer kabtson geneump.
Limburgse wäörd | 45,851 |
https://math.stackexchange.com/questions/3164504 | StackExchange | Open Web | CC-By-SA | 2,019 | Stack Exchange | StackTD, https://math.stackexchange.com/users/159845, https://math.stackexchange.com/users/354073, pi-π | English | Spoken | 328 | 774 | Three normal to the parabola $y^2=x$ are drawn through the point .
Three normal to the parabola $y^2=x$ are drawn through the point $(c,0)$ then
$$\textrm {a}. c=\dfrac {1}{4}$$
$$\textrm {b}. c=1$$
$$\textrm {c}. c>\dfrac {1}{2}$$
$$\textrm {d}. c=\dfrac {1}{2}$$
My Attempt:
Comparing $y^2=x$ with $y^2=4ax$ we get,
$$4a=1$$
$$a=\dfrac {1}{4}$$
The equation of normal to the parabola $y^2=4ax$ with slope $m$ is
$$y=mx-2am-am^3$$
$$y=mx-2\dfrac {1}{4} m -\dfrac {1}{4} m^3$$
This equation passes through $(c,0)$. So
$$0=mc-\dfrac {m}{2}-\dfrac {m^3}{4}$$
Just to complement Arthur's answer, you can play around with this graph to see what is happening (you can move point $A$ on the parabola).
Consider this: If we draw the three normals at $(a^2, a)$, $(a^2, -a)$ and $(0, 0)$ for any positive number $a$, then they intersect at some $(c, 0)$. Note that we must have $c>a$. There is only one option that allows for this. That's the answer. (If you think that's cheap, then you see why the choices in multiple choice questions really need some thought.)
Actual answer: Take some positive number $a$, and consider the point $(a^2, a)$. The tangent to the parabola at that point has slope $\frac{1}{2a}$. This means that the normal has slope $-2a$.
So the normal is a line that goes through the point $(a^2, a)$ and has slope $-2a$, that means it intersects the $x$-axis at $(a^2 + \frac12, 0)$. Thus we have $c = a^2 + \frac12$, so clearly (c) is the correct option.
Evolute of parabola y^2= a x
A comprehensive picture is obtained by sketching its above evolute. Normals at vertex cut x-axis at sphere center locally:
$$ c\ge \frac24 =\frac 12 $$
Normals to parabola intersect x-axis at or beyond this center of curvature point. Option 3.
Hint:
Using https://www.askiitians.com/iit-jee-coordinate-geometry/normal-to-a-parabola.aspx
the equation of normal $y=mx-2am-am^3$ where $4a=1$
Now this normal has to pass through $(c,0)$
If $m\ne0$ $$am^2+2a-c=0$$
Now this equation needs to have two non-zero district roots
Please have a look at this https://math.stackexchange.com/questions/3169654/given-a-0-a-1-a-n-are-the-real-numbers-satisfying
| 16,374 |
https://softwareengineering.stackexchange.com/questions/251797 | StackExchange | Open Web | CC-By-SA | 2,014 | Stack Exchange | Dan, Euphoric, Pieter B, Robert Harvey, cHao, https://softwareengineering.stackexchange.com/users/110316, https://softwareengineering.stackexchange.com/users/1204, https://softwareengineering.stackexchange.com/users/51367, https://softwareengineering.stackexchange.com/users/56655, https://softwareengineering.stackexchange.com/users/900 | English | Spoken | 1,568 | 2,254 | Is there anything inherently bad about mixing paradigms in an application?
I am currently in the process of writing a (custom) Minecraft server application in C#. I figured it's a good way to teach me a lot of important things like concurrency and especially memory efficiency (due to simply the vastness of the object space in Minecraft).
While on the train yesterday, I was finding it hard to really "think" of a way to organize the network module. I wanted a simple external interface that would give out the necessaries (Let users react to a connection being received, message being received, and when a connection is dropped). However, I also wanted it to be fairly abstract such that I could allow for either real game clients to connect or simple fake clients.
I started over-engineering things a la IConnection, INetworkModule, IConnectionFactory, IConnectionProtocol, IMessageEncoder, IMessageDecoder and so on. Kingdom of nouns galore. Not only that but I wasn't really getting anywhere - it just felt like I was putting the fundamental problem behind other layers of abstraction in that I had no idea how I wanted to organize the communication between all these modules.
Then I came to the thought - why don't I just use verbs (actions/functions/methods/whatever) instead of nouns (types) - let's focus on what I want to achieve for now, and split it up into nouns later!
And so, I came up with something similar to this:
private static Func<IDisposable> Listen(
Action<TcpClient> onConnectionReceived,
Action<TcpClient> onConnectionDropped,
Action<TcpClient, int, byte[]> onBytesReceived,
Func<bool> isOpen)
{
// todo: 25565 needs to be injected
// todo: give opportunity to supply listener
// todo: refactor listener into role interface
var listener = new TcpListener(IPAddress.Any, 25565);
return () => Observable.FromAsync(listener.AcceptTcpClientAsync)
.DoWhile(isOpen)
.Subscribe(client =>
{
var stream = client.GetStream();
// on subscribe invoke the delegate first
onConnectionReceived(client);
// the delegate has the option to disconnect the client
// based on whatever criteria it see fit.
// we should now create an observable to
// listen for messages on this client.
Observable.Defer(() =>
{
// 8kb buffer for each connection
// this is actually fairly small
var buffer = new byte[8024];
// we can handle the 'doing' of things with these bytes
// inside the passed function. This function will be doing too much otherwise
return Observable.FromAsync(ct => stream.ReadAsync(buffer, 0, buffer.Length, ct))
.Select(n => new {Read = n, Bytes = buffer});
}).Subscribe(a =>
{
// drop connection if nothing was read
if (a.Read <= 0)
onConnectionDropped(client);
else
onBytesReceived(client, a.Read, a.Bytes);
});
});
}
Really simple. Well, I mean, not quite, but this basically does the role of all of the nouns (except IMessageEncoder/Decoder that I listed earlier), but only making assumptions of the fact that we need a TcpClient (obviously, that isn't what I want right now, but I can work to that in iteration 2!)
However, my problem with this is, is that this isn't really typical C# code.. and it surely breaks the SRP in that this function is returning a function for the entire execution of a server.
But - it makes sense to me.
So my question is, is there any real inherent downside to using a functional-esque paradigm like this as opposed to traditional Kingdom of Nouns OOP inside of C# - traditionally a multi-paradigm language? And if there are downsides, what would I face and why?
For the record, I intend for this to be OSS, so there's another issue in that some developers might not understand the code style because it's simply not OOP orientated, just pure functions.
Just for future reference (since here, it doesn't actually affect the correctness of anything but a comment), 8KB is either 8000 or 8192 bytes. (And when you're dealing with chunks of RAM, it's almost always 8192. Kibibytes notwithstanding.)
Ah, thanks for that. I don't know why I used 8024 instead of 8192 (seeing as 8192 is 1024 x 8)
If there's something bad about mixing programming paradigms, then it's clearly lost on the C# designers; Linq is essentially a functional programming pipeline.
Clearly you already know about Steve Yegge's post, since you're referring to the Kingdom of Nouns. Of course, the world didn't suddenly see the error of its ways and stop using Java. Why?
Because Java is already widely used and well-understood.
Because the Kingdom of Nouns is well-suited for building data-based business systems (the efforts of Architecture Astronauts to overtake the plumbing notwithstanding).
Languages like Java have lots of ceremony like classes, interfaces, methods, scope and so on that programmers can use to understand the program's architecture. This ceremony is largely absent in most functional languages, or at least not overtly visible.
So does that mean that you abandon functional programming altogether? Of course not. The lack of ceremony allows certain things to be done more quickly and more intuitively in a functional paradigm than in the Kingdom of Nouns. This is especially true of math-like operations.
Mixing programming metaphors is a perfectly valid way to program. Were this not true, we'd only need the One True Programming Language to Rule Them All.
This is a fairly good answer. I intend to accept this answer unless there are any more I would consider better, however I would like to keep the question open for a few hours to see what discussion can be had
I believe you should be extremely careful when mixing programming paradigms in one place. The main reason is that when you mix paradigms, it will become problematic to apply "idiomatic" solutions on one paradigm to problems, that mix multiple paradigms.
I do have problem with your example, because it is not inherently functional. You could easily replace those "Actions" and "Funcs" with "Commands". It would become pure OOP code, when you start composing functions and start using higher-order functions.
Example where I found mixing to be problematic was, when once in code, we needed to "decorate" some method with pre and post-running action. The first obvious way was to create function, that would get Action, run it between pre and post code. But then, it become extremely problematic to slightly change this pre and post behavior and we had to introduce function parameters and mix multiple behaviors in single method. If we instead implemented it as class which could decorate the method, then it would be easy to use inheritance to change the pre and post actions. The slight problem with this solution is that it needs you to create a new class, which has little bit more of code than simple method.
So for me, it is great to have functional capabilities for something like LINQ, but I would think hard before using functional composition as piece of architecture or design in .NET/C# application.
I would also like to emphasize on Command pattern. I believe this pattern is heavily underappreciated and underused. Both functional and object design is all about composing behaviors. It is just that both use slightly different tools to get to the same end result. And it is probably problem of education, that many people doing OOP design don't understand that.
It doesn't necessarily have to be a part of the architecture. I use Linq all the time in Repository classes that already have an OOP API, and because the Linq is an implementation detail, it doesn't affect the architecture at all.
@RobertHarvey Well, I have seen argument against what you are doing and some people even say IQueryable is quite leaky abstraction. Also, I didn't mean it like that. LINQ is only one way to use functional features of C#, and one of the few I find OK to use.
I actually taught myself most of what I know of OOP from reading the internet and.. poking things until they went bang.
I am aware of the command pattern, but it feels that that would be slightly over-engineering the solution. Why should I need to wrap my function inside a command object when I could just pass the function directly, for example?
However I will say that I made a mistake by saying my code is functional. It is not functional just because it uses functions, but I think the better way of saying something was that it wasn't common OOP in that I was passing functions as callbacks/delegates, rather than, say, returning an instance of an interface implementor that had event hooks for OnBytesReceived etc.
@DanPantry Thats the thing, the function-passing approach might be better solution for now, but there might be time in the future where change comes and you will realize that you would want to use inheritance. And that is hard to emulate with functional approach.
but there might be time in the future - YAGNI! I don't need that complexity now. And there's potentially no chance I will ever need that complexity. I believe the saying is that don't code anything unless you need it right now.
As for the Command pattern, keep in mind that it's most useful in languages that don't have lambdas and delegates and such. When you can pass functions more-or-less directly (complete with state, if your language does closures), the need to wrap them in an object largely goes away.
@Dan Pantry do you mean procedural (using function and procedures) in a non-oop way rather than functional as in "the functional programming paradigm" ?
That's what I meant, yes. Sorry, brain is not fully operational in the morning :-)
| 19,662 |
https://es.wikipedia.org/wiki/Municipio%20de%20Emerald%20%28condado%20de%20Faribault%2C%20Minnesota%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Municipio de Emerald (condado de Faribault, Minnesota) | https://es.wikipedia.org/w/index.php?title=Municipio de Emerald (condado de Faribault, Minnesota)&action=history | Spanish | Spoken | 174 | 291 | El municipio de Emerald (en inglés: Emerald Township) es un municipio ubicado en el condado de Faribault en el estado estadounidense de Minnesota. En el año 2010 tenía una población de 222 habitantes y una densidad poblacional de 2,39 personas por km².
Geografía
El municipio de Emerald se encuentra ubicado en las coordenadas . Según la Oficina del Censo de los Estados Unidos, el municipio tiene una superficie total de 92.92 km², de la cual 92,85 km² corresponden a tierra firme y (0,08 %) 0,08 km² es agua.
Demografía
Según el censo de 2010, había 222 personas residiendo en el municipio de Emerald. La densidad de población era de 2,39 hab./km². De los 222 habitantes, el municipio de Emerald estaba compuesto por el 97,75 % blancos, el 0,45 % eran amerindios, el 1,35 % eran de otras razas y el 0,45 % eran de una mezcla de razas. Del total de la población el 1,8 % eran hispanos o latinos de cualquier raza.
Referencias
Enlaces externos
Municipios de Minnesota
Localidades del condado de Faribault | 14,059 |
https://serverfault.com/questions/1064885 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | eckza, https://serverfault.com/users/75972 | English | Spoken | 342 | 598 | nginx: selectively stripping URL params
Some of the customers of the e-commerce website that I manage are behind a ZScaler firewall, and it appends garbage query params to all outgoing requests; so when my website makes a HTTP GET request like:
/api/cartinventoryitems?cartsummaryid=eq.1234
It comes through to nginx as:
/api/cartinventoryitems?cartsummaryid=eq.1234&_sm_byp=iVVJvVj6nqJDqQj5
The endpoint behind my /api/ location does not like this, so I am trying to strip it out.
Right now, I am trying to use rewrite at the head of my server block, like so:
server {
listen 80 default_server;
listen [::]:80 default_server;
rewrite ^(.*)([&?]_sm_byp=\w+) $1 last;
...
}
But it doesn't seem to be working. Any help would be appreciated.
rewrite (as well as location) nginx directives works with so-called normalized URI which is not included the query part of request (other normalization steps includes decoding the text encoded in the URL-encoded “%XX” form, resolving references to relative path components “.” and “..”, and possible compression of two or more adjacent slashes into a single slash). You should change $args nginx variable instead. Using your regex it would look like
if ($args ~ ^(.*)(&?_sm_byp=\w+)) {
set $args $1;
}
Change from [&?] to &? isn't a mistake. It is made because $args variable does not include the question sign, so & character can be present if _sm_byp query argument isn't the only one or can be absent otherwise.
I can suggest more advanced regex (authored by myself) which allows to cut some query argument from the query string no matter it is at the beginning, in the middle or at the end of that string:
if ($args ~ (.*)(^|&)_sm_byp=[^&]*(\2|$)&?(.*)) {
set $args $1$3$4;
}
Wow, thank you so much - both versions work, but I like yours better. Followup question: how could I have figured this out on my own? I've tried reading the NGINX docs - I did that for a few hours before I asked this - but I think there were too many conceptual hurdles for me to overcome, in order to understand the issue as you explained it.
| 31,878 |
https://stackoverflow.com/questions/12908993 | StackExchange | Open Web | CC-By-SA | 2,012 | Stack Exchange | Damien_The_Unbeliever, ammar26, https://stackoverflow.com/users/15498, https://stackoverflow.com/users/867073 | English | Spoken | 237 | 383 | which are the basic type of cursors in sql
I want to know basic type FAST_FORWARD in cursor.what is its use?
what is the purpose of the statement SET @MyCursor = CURSOR FAST_FORWARD in sql
I'm not aware of any database with a syntax that allows SET @CursorVariable = CURSOR .... If they're SQL compliant, they should use DECLARE @CursorVaraible CURSOR .... So far as I'm aware, FAST_FORWARD is only in SQL Server dialect - so what RDBMS are you using? (I see there's been a tag fight between having mysql and sql-server on this question)
Why don't you try http://msdn.microsoft.com/en-us/library/ms172375.aspx
Since you're asking about FAST_FORWARD, I'm assuming you're working with SQL-Server.
A cursor can be configured in several ways:
FORWARD_ONLY - This is the default configuration - it allows the cursor to run from first to last and allows updates through the cursor.
READ_ONLY - Does not allow updates through the cursor (improves performance)
FAST FORWARD - Combination of FAST_FORWARD and READ_ONLY
Two other important options are:
LOCAL- The cursor can only be accessed within the cursor's scope and the cursor is implicitly deallocated when the batch, stored procedure, or trigger terminates.
GLOBAL - Specifies that the scope of the cursor is global to the connection. The cursor name can be referenced in any stored procedure or batch executed by the connection. The cursor is only implicitly deallocated at disconnect.
Full documentation can be found here.
| 37,656 |
https://ceb.wikipedia.org/wiki/South%20Branch%20Island%20Canal | Wikipedia | Open Web | CC-By-SA | 2,023 | South Branch Island Canal | https://ceb.wikipedia.org/w/index.php?title=South Branch Island Canal&action=history | Cebuano | Spoken | 53 | 99 | Ang South Branch Island Canal ngalan niining mga mosunod:
Heyograpiya
Tinipong Bansa
South Branch Island Canal (kanal sa Tinipong Bansa, lat 36,45, long -119,58), California, Kings County,
South Branch Island Canal (kanal sa Tinipong Bansa, lat 36,37, long -119,81), California, Kings County,
Pagklaro paghimo ni bot 2017-02
Pagklaro paghimo ni bot Tinipong Bansa | 29,802 |
https://it.wikipedia.org/wiki/Fondazione%20Fossoli | Wikipedia | Open Web | CC-By-SA | 2,023 | Fondazione Fossoli | https://it.wikipedia.org/w/index.php?title=Fondazione Fossoli&action=history | Italian | Spoken | 632 | 1,172 | La Fondazione ex Campo Fossoli è un ente che gestisce l'ex Campo di Concentramento di Fossoli e il Museo Monumento al Deportato politico e razziale di Carpi. Costituita nel gennaio 1996 dal Comune di Carpi e dall'Associazione Amici del Museo Monumento al Deportato, ha sede dal 2009 nella ex-sinagoga di Carpi.
Attività
Obiettivi dell'opera della Fondazione sono la diffusione della memoria storica tramite la conservazione, il recupero e la valorizzazione dell'ex Campo di Concentramento di Fossoli; la promozione della ricerca storico-documentaria sul Campo nelle sue diverse fasi storiche; la progettazione e l'attivazione di iniziative a carattere divulgativo, didattico e scientifico sui temi della deportazione e più in generale della seconda guerra mondiale, nonché dei diritti umani e dell'educazione interculturale.
La Fondazione ha avuto in passato la tendenza a concentrare le proprie attività particolarmente sul periodo più tragico del campo - quello caratterizzato dallo smistamento dei prigionieri al fine di deportarli - ma ha iniziato poi a dedicare attenzione anche ad altre fasi, non secondarie nella storia italiana:
il Centro raccolta profughi stranieri di Fossoli (1945-1947)
l'esperienza di don Zeno Saltini che lì fondò Nomadelfia (1948 -1953)
il Villaggio San Marco che raccolse gli esuli della zona B del Territorio Libero di Trieste (1954)
La Fondazione, che non ha scopo di lucro, svolge attività di raccolta e conservazione di materiale documentario e testimonianze; organizza visite guidate al Museo e al Campo; promuove mostre, corsi di aggiornamento per insegnanti ed educatori, scambi culturali con altri paesi e iniziative per offrire nuovi ed efficaci strumenti di conoscenza e trasmissione della memoria storica sulla Deportazione.
Dal 2001 si occupa direttamente della gestione dell'ex Campo di Concentramento di Fossoli e del Museo Monumento al Deportato politico e razziale. Nel 1998 il Ministero dei Beni Culturali ed Ambientali ha riconosciuto alla fondazione personalità giuridica.
L'attività di realizzazione di visite guidate al Museo-Monumento ed all'ex Campo di Fossoli coinvolge ogni anno 30.000 visitatori circa, con prevalenza di scolaresche. Le attività educative spaziano anche verso i luoghi di destinazione delle deportazioni come ad esempio il progetto Un treno per Auschwitz.
Comitato scientifico
Il comitato scientifico della Fondazione è composto da:
Andrea Borsari, docente di Estetica alla Facoltà di Architettura dell'Università di Bologna (Cesena) e visiting research fellow presso il Centre for the Study of Post-Conflict Cultures (CSPCC) della University of Nottingham (UK).
Alberto De Bernardi, professore ordinario di Storia Contemporanea e di Metodologia della Ricerca Storica presso i corsi di laurea di Filosofia e di Storia della Facoltà di Lettere e Filosofia di Bologna; dirige il Dipartimento di Discipline storiche dell'Università di Bologna ed è stato Direttore scientifico dell'Istituto nazionale per la storia del Movimento di liberazione in Italia (1998-2003) dove attualmente è membro del Comitato scientifico.
Simona Forti è Professore ordinario di Storia della filosofia politica all'Università del Piemonte Orientale, attualmente è Visiting Professor alla “New School for Social Research” di New York.
Andrea Panaccione, è stato docente di storia e filosofia nei licei e poi docente di storia contemporanea presso l'Università di Modena e Reggio Emilia; direttore scientifico della Fondazione Giacomo Brodolini di Milano.
Claudio Silingardi, direttore dell'Istituto per la storia della Resistenza e della società contemporanea in provincia di Modena e del Museo della Repubblica partigiana di Montefiorino, nonché membro del Consiglio di amministrazione dell'Istituto Nazionale per la Storia del Movimento di Liberazione in Italia.
Pubblicazioni
La Fondazione cura anche attività editoriali, in primo luogo i Quaderni di Fossoli e persegue la ricerca sulla storia del Campo con la raccolta delle relative pubblicazioni:
Voci correlate
Museo Monumento al Deportato politico e razziale
Deportazione
Zeno Saltini Un Testo su Wikisource
Don Zeno - L'uomo di Nomadelfia
Nomadelfia
Esodo giuliano-dalmata
Sinagoga di Carpi
Fondazione Memoria della Deportazione
I nomi di Fossoli 1942-1944 (banca dati)
Altri progetti
Collegamenti esterni
Fossoli
Cultura a Carpi
Fossoli
Accademie e istituti di cultura dell'Emilia-Romagna | 50,075 |
https://ceb.wikipedia.org/wiki/Munro%20%28awtor%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Munro (awtor) | https://ceb.wikipedia.org/w/index.php?title=Munro (awtor)&action=history | Cebuano | Spoken | 21 | 41 | Si Munro nga ang hamubong pangalan niini nag tudlo kang:
George Campbell Munro
Ian Stafford Ross Munro
William Munro
Mga awtor | 11,477 |
https://ce.wikipedia.org/wiki/%D0%9F%D0%B5%D1%82%D1%80%D1%83%D1%88%D0%B8%D0%BD%D0%BE%20%28%D0%93%D0%BE%D1%80%D0%BB%D0%BE%D0%B2%D1%81%D0%BA%D0%B0%D0%BD%20%D0%B9%D1%83%D1%8C%D1%80%D1%82%D0%B0%D0%BD%20%D0%BC%D0%B5%D1%82%D1%82%D0%B8%D0%B3%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Петрушино (Горловскан йуьртан меттиг) | https://ce.wikipedia.org/w/index.php?title=Петрушино (Горловскан йуьртан меттиг)&action=history | Chechen | Spoken | 129 | 478 | Петрушино () — Российн Федерацин Рязанан областан Скопинан кӀоштара эвла.
Бахархойн дукхалла
Климат
Кхузахь климат барамера континенталан йу, йовхачу аьхкенца а, барамера шийлачу Ӏаьнца а. ГӀоронаш йоцу муьран йукъара бохалла 130-149 де ду. Кхузахь сих-сиха тӀехьара бӀаьстен а, хьалхара гуьйренан а гӀоролаш хуьлу. Эвла лаьтта тоьушйолчу йочанийн зонехь. Йочанийн шеран барам кхузахь 500 мм кхоччуш бу. ДогӀнаш аьхкенан заманехь стигал къекъаш чӀогӀа догӀу, наггахь къора а тухуш. ХӀоьттина лайн чкъор хуьлу ноябрь чекхболуш – декабрь болалуш, деша март чекхболуш – апрель болалуш. Ло лаьтта денош - 135-145 шарахь. Климатан хьолаш дика ду йуьртабахамна. Йуьззина кхочу йовхо а, тӀуналла а гуьйренан йалташна, бӀаьстенан йалташна, техникин а, докъаран культурашна.
Сахьтан аса
Кхузахь сахьт Москохца нийса лелаш ду. Сахьтан аса йу UTC+3.
Билгалдахарш
Хьажоргаш
Скопинан кӀоштан индексаш
Скопинан кӀоштан нах беха меттигаш | 1,718 |
https://tl.wikipedia.org/wiki/Castione%20della%20Presolana | Wikipedia | Open Web | CC-By-SA | 2,023 | Castione della Presolana | https://tl.wikipedia.org/w/index.php?title=Castione della Presolana&action=history | Tagalog | Spoken | 202 | 474 | Ang Castione della Presolana (Bergamasque: o ) ay isang comune (komuna o munisipalidad) sa Lalawigan ng Bergamo sa rehiyon ng Lombardia, hilagang Italya na matatagpuan mga hilagang-silangan ng Milan at mga hilagang-silangan ng Bergamo. Noong 31 Disyembre 2004, mayroon itong populasyon na 3,379 at may lawak na .
Ang Castione della Presolana ay may hangganan sa mga sumusunod na munisipalidad: Angolo Terme, Colere, Fino del Monte, Onore, Rogno, Rovetta, at Songavazzo.
Mga pangyayari
Ang mga pamilihang pam-Pasko, ang pagdiriwang ng Santusa, ang mga reinterpretasyon ng transhumance at ang mga ritwal ng mga kawan. Ang taunang pagdiriwang ng ahedres ay sikat na ngayon sa buong mundo at kumakatawan sa isang tunay na pangyayari. Sa karagdagan, sa panahon ng tag-araw, dalawang magkaibang mga edisyon ng mga edisyong pang-Hobby at Yaring-kamay ang isinasagawa sa plaza.
Tuwing ikalawang Linggo ng Agosto ay may kapistahan sa Lantana, ang pinakahilagang apendiks ng Dorga, para sa kapistahan ng Santuwaryo ng Madonna delle Grazie. Ang mga pagdiriwang ay karaniwang tumatagal ng tatlong araw, na nagtatapos sa prusisyon kung saan, na kinasasangkutan ng buong Dorga, ay nagtatapos sa Santuwaryo.
Ebolusyong demograpiko
Kakambal na bayan — kinakapatid na lungsod
Si Castione della Presolana ay kakambal sa:
Bons-en-Chablais, Pransiya
Adenau, Alemanya
Mga sanggunian | 36,510 |
https://stackoverflow.com/questions/13786843 | StackExchange | Open Web | CC-By-SA | 2,012 | Stack Exchange | Amir Qayyum Khan, Nikolay Kuznetsov, Saaram, https://stackoverflow.com/users/1126621, https://stackoverflow.com/users/1360074, https://stackoverflow.com/users/1614606, https://stackoverflow.com/users/207421, user207421 | English | Spoken | 595 | 1,045 | java.io.utfdataformatexception: String is too long
I am getting the exception as in the Title while sending an image to a java server
Here's the code:
ByteArrayOutputStream stream = new ByteArrayOutputStream();
img.compress(Bitmap.CompressFormat.PNG, 100, stream);
byte[] byteArray = stream.toByteArray();
String imageDataString = new String(Base64.encodeBase64(byteArray));
System.out.println(imageDataString);
dataOutputStream.writeUTF(imageDataString);
dataOutputStream.flush();
Where img is a bitmap file.
Any help will be highly appreciated !
does it work for smaller images? how do you restore image at server from string??
what is type of dataOutputStream?
image is not being sent because the decode string is too long according to the exception but when i send some other encode string like `string = "some string" it gets send
@kuznetsov there is a hint for encode and decoding image into base64 string and i have done it for small images http://stackoverflow.com/questions/13785594/writing-decoded-base64-byte-array-as-image-file/13785647#13785647
does it succeed with any 1kb and less images at all? the approach of sending image using Strings is abnormal.
This true String has limitations , The maximum chars a String can hold is equal to maximum size of integer.
yeah it was succeed but you are rigth it is not good approach and has limitations, only images with max size one MB or 2 (i dont remember this time) can be able to sent, so i replaced it with multipart request
@Saaram use my code, you will be able to encode and decode , I dint it for android client and java server
Tell us how server processes that data, we cannot guess
@amir qayyum khan I am doing the same as you android client and java server... Where can I find your code ?
@AmirQayyumKhan The limitation here isn't due to String. it is due to writeUTF(), which can only write 16 bits of length.
http://stackoverflow.com/questions/13785594/writing-decoded-base64-byte-array-as-image-file/13785647#13785647 the code is hint,there is noting mentioned like taking file from android folder.I am asuming you can do it you self ..the code is telling you how I am encoing that file into string (first part of code) and second part of code shows that how i am converting string back into image on server side
@Sarram follow the code in the blow link, I was sending images in soap request along with other data in the form of base64String the i was converting it into file
blow is the reference of code
Writing decoded base64 byte array as image file
I am using this cool decoder import sun.misc.BASE64Decoder;
Server side can do it like that
String filePath = "/destination/temp/file_name.jpg";
File imageFile = new File(filePath);
FileOutputStream fos = null;
try {
fos = new FileOutputStream(imageFile);//create file
} catch (FileNotFoundException e1) {
e1.printStackTrace();
}
BASE64Decoder decoder = new BASE64Decoder();//create decodeer object
byte[] decodedBytes = null;
try {
decodedBytes = decoder.decodeBuffer(imageFileBase64);//decode base64 string that you are sending from clinet side
} catch (IOException e1) {
e1.printStackTrace();
}
try {
fos.write(decodedBytes);//write the decoded string on file and you have ur image at server side
} catch (IOException e) {
e.printStackTrace();
}
try {
fos.flush();
fos.close();
} catch (IOException e) {
e.printStackTrace();
}
were you retrieving images from sd card of android emulator ?
here i am sending images from client to server so i need to encode it on android and decode it on the server in java
I was taking input an image from SD card in android clinet and then i was encoding it into base64 String and the i was puting that string into soap call request and the on server side i was decoding it, the code for decoding image in the for of base 64 String and converting it into file is above
| 12,646 |
https://stackoverflow.com/questions/44973325 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | English | Spoken | 326 | 739 | How to get the highest value of a standard deviation for last 2 hours in MQL4?
I'm trying to develop an Expert Advisor, so far I can understand and write this which will place orders when a new bar opens.
int BarsCount = 0;
int start()
{ if ( Bars > BarsCount )
{ OrderSend( Symbol(), OP_BUY, 0.01, Ask, 2, NULL, NULL );
BarsCount = Bars;
}
return( 0 );
}
how to get the highest value of standard deviation for last 2 hours to a variable?
E.g.: lets say the EA runs in a 30 mins chart and the bar1 has the standard deviation value 0.003, and bar2 has 0.001, bar3 has 0.004 and bar4 has 0.001.
So, the highest value for past 4 hours is bar3 which has the value of 0.004, so how to get that value to a variable?
I'm trying to make the EA place orders when this formula is true:
( ( current_value_of_standard_deviation
/ highest_value_of_standard_deviation_for_last_2_hours
)
* 100
) > 10
Use built-in tools:
input int MA_period = 27;
int BarsCount = 0;
int nCells2CMP= ( PERIOD_H1 * 2 / PERIOD_CURRENT ) - 1;
double Sig2H[100];
void OnInit(){
...
}
void OnTick(){
if ( Bars > BarsCount ){
if ( BarsCount == 0 ){
for ( int i = MA_period; i > 0; i-- ){
Sig2H[i] = iStdDev( _Symbol,
PERIOD_CURRENT,
0,
MODE_SMA,
PRICE_CLOSE,
i
);
}
}
for ( int i = MA_period; i > 1; i-- ) Sig2H[i] = Sig2H[i-1];
Sig2H[1] = iStdDev( _Symbol, // symbol
PERIOD_CURRENT, // timeframe
MA_period, // MA averaging period
0, // MA shift
MODE_SMA, // MA averaging method
PRICE_CLOSE, // applied price
1 // shift
);
}
Sig2H[0] = iStdDev( _Symbol, // symbol
PERIOD_CURRENT, // timeframe
MA_period, // MA averaging period
0, // MA shift
MODE_SMA, // MA averaging method
PRICE_CLOSE, // applied price
0 // shift
);
if ( 0.1 < ( Sig2H[0]
/ Sig2H[ArrayMaximum( Sig2H,
nCells2CMP,
1
)
]
)
){...}
}
| 11,566 | |
https://ru.wikipedia.org/wiki/Another%20Side%20of%20Bob%20Dylan | Wikipedia | Open Web | CC-By-SA | 2,023 | Another Side of Bob Dylan | https://ru.wikipedia.org/w/index.php?title=Another Side of Bob Dylan&action=history | Russian | Spoken | 249 | 698 | Another Side of Bob Dylan () — четвёртый студийный альбом американского автора-исполнителя песен Боба Дилана, вышедший в 1964 году на лейбле Columbia Records.
Об альбоме
Исходя из названия, альбом знаменует отрыв от фолк-музыки, которой Дилан придерживался в своих прежних альбомах. Этот разрыв вызвал острую критику от влиятельных фигур в американском фолк-музыкальном сообществе. Редактор «Sing Out!» Ирвин Силбер выразил недовольство тем, что Дилан «таким образом потерял связь с людьми» и усмотрел в альбоме «стремление к славе». Большинство критиков вне этих кругов, однако, похвалило новшества в его песнях, который будет иметь огромное влияние на многих рок-исполнителей, включая The Beatles.
Несмотря на значительные тематические изменения, Дилан всё ещё исполнял свои песни в одиночку, под акустическую гитару и гармонику, и даже пианино в песне Black Crow Blues. Альбом достиг 43-й позиции в США (но со временем достиг золотого статуса), и 8-й в Британии в 1965.
Список композиций
Автор всех песен Боб Дилан.
Сторона A
«All I Really Want to Do» — 4:04
«Black Crow Blues» — 3:14
«Spanish Harlem Incident» — 2:24
«Chimes of Freedom» — 7:10
«I Shall Be Free No. 10» — 4:47
«To Ramona» — 3:52
Сторона Б
«Motorpsycho Nitemare» — 4:33
«My Back Pages» — 4:22
«I Don’t Believe You (She Acts Like We Never Have Met)» — 4:22
«Ballad in Plain D» — 8:16
«It Ain’t Me Babe» — 3:33
Участники записи
Боб Дилан — вокал, акустическая гитара, гармоника, рояль
Том Уилсон — продюсер
Литература
Монографии:
Публикации в газетах и журналах:
Альбомы Боба Дилана
Альбомы, спродюсированные Томом Уилсоном | 15,445 |
https://stackoverflow.com/questions/8431281 | StackExchange | Open Web | CC-By-SA | 2,011 | Stack Exchange | AMIRUL MUKMININ, AProgrammer, CLASSIFIED, David Harris, David Thornley, Emery Albrechtsen, Ipsen Coble, John Dibling, Kev, Lightness Races in Orbit, Mankarse, Minh Tuệ Nguyễn Viết, Oliver Charlesworth, e8aauy40, https://stackoverflow.com/users/1087700, https://stackoverflow.com/users/129570, https://stackoverflow.com/users/136208, https://stackoverflow.com/users/14148, https://stackoverflow.com/users/18904836, https://stackoverflow.com/users/18904837, https://stackoverflow.com/users/18904838, https://stackoverflow.com/users/18907212, https://stackoverflow.com/users/18907648, https://stackoverflow.com/users/18907895, https://stackoverflow.com/users/18918667, https://stackoverflow.com/users/18942684, https://stackoverflow.com/users/18945211, https://stackoverflow.com/users/18953486, https://stackoverflow.com/users/18954308, https://stackoverflow.com/users/241536, https://stackoverflow.com/users/419, https://stackoverflow.com/users/485561, https://stackoverflow.com/users/560648, limil, q.uijote, t6fajyj632, 比如养生保健SPA按摩会所-风月体验网, 腾讯新闻_邯郸邯山区学生服务_今日头条 | Maltese | Spoken | 1,050 | 1,564 | Swapping Variables (C++, processor level)
click here to access the chatroom for this question.
I would like to swap two variables. and i would like to do it through the pipeline using a Read After Write hazard to my advantage.
Pipeline:
OPERXXXXXX FetchXXXXX DecodeXXXX ExecuteXXX WriteBkXXX
STORE X, Y ---------- ---------- ---------- ----------
STORE Y, X STORE X, Y ---------- ---------- ----------
---------- STORE Y, X STORE X, Y ---------- ----------
---------- ---------- STORE Y, X STORE X, Y ----------
---------- ---------- ---------- STORE Y, X STORE X, Y
---------- ---------- ---------- ---------- STORE Y, X
how do i go about telling the compiler to do that (and exactly that) without automatic locks and warning flags? can you suggest any literature/keywords?
specs:
-> target: modern architectures which support multistation (more than 4) pipelining
-> this is not related to any particular 'problem'. just for the sake of science.
current hurdles:
if you know how to ignore datahazards, please share.
Why is there no tag for hazards? Because nobody's made one yet...
Pipeline hazards are dealt with by the CPU, not the compiler...
The C++ abstract machine does not have an instruction pipeline. What is the actual problem that you are trying to solve?
@OliCharlesworth, MIPS meant "Microprocessor without Interlocked Pipeline Stages" in order to indicate that hazards had to be handled by the programmer or the compiler, but that approach exposes too much of the micro-architecture to be viable. Different models have different pipelines, and without going to the 40+ stages of P4, most have more than 10 stages.
@OliCharlesworth - then how do you talk to the cpu?/tell the cpu to not be stupid?
@Mankarse not any particular problem - I just want to try to implement this particular approach for the sake of science.
@CLASSIFIED - In that case you would be better off writing the whole thing in the assembly language for the architecture that you are interested in. C++ provides almost no access to the underlying hardware (although compilers often extend the language to give you slightly more control).
@Mankarse: Even if you write this in assembler, the CPU will spot the RAW hazard.
@OliCharlesworth: That depends on the CPU (which is not specified in the question).
+1 for an interesting question for which I have no idea of the answer.
@Mankarse: Fair point. Ok, I'll rephrase as "most modern desktop/server CPUs will spot the RAW hazard".
@Mankarse that's the answer I was afraid of - most non primitive architectures have the capability to do just that if I understand this correctly - however the portability goes to shreds if I start writing hardware specific code. it'll suffice for a proof of concept, but it's not as elegant as i'd hoped. thanks!
@Mankarse ah well yeah about the hazard spotting that's the entire point
@CLASSIFIED: If you're after portability, then I'd suggest writing T tmp = x; x = y; y = tmp; (or simply std::swap(x,y)). I would hope that the compiler would always do the most optimal thing given the limitations of the architecture.
@OliCharlesworth yeah no. that absolutely defeats the point. you'll still have at least 33% more instructions and dependency gaps which need to be filled.
@CLASSIFIED: My point is, if it's possible to achieve this trick on a given CPU, then the compiler author probably already knows about it.
@OliCharlesworth IC. but then the compiler would have to recognize T tmp = x; x = y; y = tmp; as a swap, and it's written in the standard that std::swap is to be executed linearly, which takes approx 280% longer to do on an individual basis. so there's not really a way to implement this into the existing language, thus I don't expect it to be there even if the authors did know about it. I absolutely see what you're saying though.
@CLASSIFIED: Where in the standard does it say that std::swap is to be executed linearly, and why doesn't the "as-if" rule apply? As far as I can tell, after std::swap(a, b);, a and b have exchanged values, and if there are no side effects in evaluating a and b the compiler is free to do as it likes behind the scenes.
@DavidThornley http://www.cplusplus.com/reference/algorithm/swap/
my particular compiler does not support it. i mean if it did, i wouldn't be asking, would i?
@CLASSIFIED: The cplusplus.com reference seems to be meant to apply to larger data structures, where copy constructors and assignment operators can take significant time, and where the compiler is unlikely to come up with the appropriate shortcut. It doesn't mean it has to work that way. The Standard specifies that the values will be swapped, and doesn't say how. Exactly how std::swap works is completely up to the implementation, so the question isn't about C++ so much as an implementation of C++.
@DavidThornley okay, if you say so. that doesn't really help though.
Ok folks, you all have enough rep so it's time to move this to chat. Thanks.
@Kev - I lack the ability to do so. i saw the option before, but it's not here anymore. you're a mod, right? can you do it?
Try this: http://chat.stackoverflow.com/rooms/5696/swapping-variables-c-processor-level
I suggest that you read the first parts of Intel's optimization manual. Then you will realize that a modern, out-of-order, speculative CPU does not even respect your assembly language. Manipulating pipeline to your advantage? Based on this document, I'd say -- forget it.
you're right - might not be the most efficient way to get it done at all - however it still respects instructions which translate into individual microops. I'm still gonna try to get it in there.
This would depend on which CPU you're targeting, and which compiler. You don't specify either.
In general, a CPU will go to great lengths to pretend that everything is in-order-executed, even when in reality it's superscalar behind the scenes. Code that tries to take advantage of hazards doesn't break, but instead it executes more slowly as the CPU will wait for the hazard to clear before continuing. Otherwise, almost all code would fail on future generations of the CPU as superscalar behavior increases.
In general, unless you're on a very specialized architecture and you have complete assembly-level control of execution, you will not be able to go anywhere with this idea.
| 44,635 |
https://stackoverflow.com/questions/64839750 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | English | Spoken | 265 | 781 | Pod Init not working in Catalina -- git version
when I try to run pod init in Catalina I get the following error:
name@name-MacBook-Pro Lab8-Firebase % pod init
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jruby.util.SecurityHelper to
field java.lang.reflect.Field.modifiers
WARNING: Please consider reporting this to the maintainers of
org.jruby.util.SecurityHelper WARNING: Use
--illegal-access=warn to enable warnings of further illegal reflective
access operations
WARNING: All illegal access operations will be denied in a future
release git version 2.29.2
RuntimeError: Failed to extract git version from `git --version` ("")
git_version at /Users/name/.rvm/rubies/jruby-
9.2.5.0/lib/ruby/gems/shared/gems/cocoapods-
1.10.0/lib/cocoapods/command.rb:128 verify_minimum_git_version! at
/Users/name/.rvm/rubies/jruby-
9.2.5.0/lib/ruby/gems/shared/gems/cocoapods-
1.10.0/lib/cocoapods/command.rb:140
run at /Users/name/.rvm/rubies/jruby-
9.2.5.0/lib/ruby/gems/shared/gems/cocoapods-
1.10.0/lib/cocoapods/command.rb:49
<main> at /Users/name/.rvm/rubies/jruby-
9.2.5.0/lib/ruby/gems/shared/gems/cocoapods-1.10.0/bin/pod:55
load at org/jruby/RubyKernel.java:1007
(root) at /Users/name/.rvm/rubies/jruby-
9.2.5.0/bin/pod:1
eval at org/jruby/RubyKernel.java:1046
<main> at /Users/name/.rvm/gems/jruby-
9.2.5.0/bin/jruby_executable_hooks:24
I have tried doing the following:
updating the git version
updating ruby
reinstalling cocoapods
reinstalling homebrew
sudo xcode-select --install (from this SO post).
Any help would be appreciated - thanks.
Check you pod minimum deployment target, it should be 13.0 or higher.
The other issue that might be can be resolved like this: Go to Xcode Preferences then select Location tab and change your Xcode Version at Command Line Tools to your current Xcode version that you are using.
thanks for your response! I just checked your second suggestion, which is already set in my project. The "Command Line Tools" are set to the right version that I'm using (12.0). However, I don't have a Podfile... that is what I'm trying to create with Pod Init and is causing the error -- so I assume the first suggestion doesn't apply?
| 7,948 | |
https://la.wikipedia.org/wiki/Capellae%20Centronum | Wikipedia | Open Web | CC-By-SA | 2,023 | Capellae Centronum | https://la.wikipedia.org/w/index.php?title=Capellae Centronum&action=history | Latin | Spoken | 34 | 96 | Capellae Centronum (Francogallice: Les Chapelles) sunt commune 502 incolarum (anno 2008) praefecturae Sabaudiae in Franciae orientalis regione Rhodano et Alpibus.
Index communium praefecturae Sabaudiae
Nexus externi
Notae
Communia Praefecturae Sabaudiae
Loci habitati praefecturae Sabaudiae | 44,450 |
https://stackoverflow.com/questions/1422001 | StackExchange | Open Web | CC-By-SA | 2,009 | Stack Exchange | Ben Cummins, Ben Hymers, Dai, KV Prajapati, Kanye West, https://stackoverflow.com/users/142822, https://stackoverflow.com/users/159145, https://stackoverflow.com/users/2810705, https://stackoverflow.com/users/2810706, https://stackoverflow.com/users/2810707, https://stackoverflow.com/users/2811019, https://stackoverflow.com/users/2811390, https://stackoverflow.com/users/40834, https://stackoverflow.com/users/4185542, user2810705, user2810706, user2810707, user2811390 | English | Spoken | 487 | 759 | DataGridView - what does AllowUserToAddRows do?
I was expecting this setting to affect the control itself, but I can't seem to add new rows just by having a DataGridView with AllowUserToAddRows set to true. Am I just rubbish at using my mouse and keyboard, or have I completely misunderstood this property? I suspect it's the latter, though I can't find much in the way of documentation to point me in the right direction.
EDIT: by the way, it's not that I'm rubbish, it seems to be something to do with using a List as the DataSource of the DataGridView; the little '*' just doesn't appear if I bind to a List.
I solved this by changing STMTTRN from a List to a BindingList - List seems to have some very odd behaviour when used as a DataSource (see my other recent question, which is solved in the same way).
It's in generated code, but I'd already changed it from an Array to a List so BindingList is barely any extra trouble :)
"STMTTRN" - sounds like you're using OFX?
Same problem for me as well, and BindingList did not solve it, but merlin's answer gave me a hint towards an eventual solution.
Wrapping the list in a BindingSource is an important part of the solution (as also documented in another question: Can't Allow User To Add Rows to DataGridView with List<> Datasource).
And for me, the missing step was that the class of the objects in my list did not have a public parameterless constructor. Adding a parameterless constructor enabled AllowUserToAddRows to function as expected.
I got the clue from an exception which was raised when I tried merlin's answer, the message of which suggests that it may also be possible to enable row adding by handling the AddingNew event:
AddNew cannot be called on the 'MyType' type. This type does not have
a public default constructor. You can call AddNew on the 'MyType' type
if you handle the AddingNew event and create the appropriate object.
I did not try this, as fortunately adding a public parameterless constructor was no problem for me, but it is a message of hope for anyone else who cannot add a parameterless constructor.
Try it,
DataTable dt = new DataTable();
dt.Columns.Add("No", typeof(int));
dt.Columns.Add("Name");
dataGridView1.AllowUserToAddRows = true;
dataGridView1.EditMode = DataGridViewEditMode.EditOnKeystroke;
dataGridView1.DataSource = dt;
EDIT:
Take a look at IBindingList
I tried your code and it worked, so thanks :) But I'm actually using a List as the DataSource, which (since it's the only difference) is probably the cause of my problem. Do you know why a List would make the 'add row' functionality not work?
Implements IBindingList interface.
I had the same problem.
using a BindingSource as the DGV datasource and setting the BindingSource property AllowNew = True, solved my problem.
Dim binding As New BindingSource
binding.DataSource = myList
binding.AllowNew = True
With DataGridView1
.AutoGenerateColumns = False
.DataSource = binding
End With
| 8,852 |
https://ceb.wikipedia.org/wiki/W%C4%81d%C4%AB%20%E2%80%98Ulayy%C4%81n | Wikipedia | Open Web | CC-By-SA | 2,023 | Wādī ‘Ulayyān | https://ceb.wikipedia.org/w/index.php?title=Wādī ‘Ulayyān&action=history | Cebuano | Spoken | 82 | 160 | Wadi ang Wādī ‘Ulayyān sa Yemen. Nahimutang ni sa lalawigan sa Muḩāfaz̧at al Bayḑā', sa habagatan-kasadpang bahin sa nasod, km sa habagatan-sidlakan sa Sanaa ang ulohan sa nasod.
Ang klima init nga kamadan. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Hunyo, sa °C, ug ang kinabugnawan Enero, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Agosto, sa milimetro nga ulan, ug ang kinaugahan Disyembre, sa milimetro.
Ang mga gi basihan niini
Mga suba sa Muḩāfaz̧at al Bayḑā' | 42,158 |
https://uz.wikipedia.org/wiki/Saint-Broing | Wikipedia | Open Web | CC-By-SA | 2,023 | Saint-Broing | https://uz.wikipedia.org/w/index.php?title=Saint-Broing&action=history | Uzbek | Spoken | 44 | 139 | Saint-Broing Fransiyaning Franche-Comté mintaqasida joylashgan kommunadir. Haute-Saône departamenti Vesoul tumani tarkibiga kiradi.
Aholisi
141 nafar aholi istiqomat qiladi (1999). Aholi zichligi — har kvadrat kilometrga 13,6 nafar kishi.
Geografiyasi
Maydoni — 10,4 km2. Dengiz sathidan 189 – 231 m balandlikda joylashgan.
Manbalar
Haute-Saône shaharlari | 22,618 |
https://es.wikipedia.org/wiki/Temporada%202019%20de%20ADAC%20F%C3%B3rmula%204 | Wikipedia | Open Web | CC-By-SA | 2,023 | Temporada 2019 de ADAC Fórmula 4 | https://es.wikipedia.org/w/index.php?title=Temporada 2019 de ADAC Fórmula 4&action=history | Spanish | Spoken | 207 | 364 | El Campeonato de Fórmula 4 ADAC 2019 fue la quinta temporada de la Fórmula 4 ADAC, una serie de carreras de motor de ruedas abiertas. Fue un campeonato de carreras de motor de múltiples eventos que contó con pilotos que competían en autos de carrera de un solo asiento Tatuus-Abarth de 1.4 litros que cumplían con las regulaciones técnicas del campeonato. Comenzó el 27 de abril en Oschersleben y terminó el 29 de septiembre en Sachsenring después de siete rondas de triples. El piloto ganador fue Théo Pouchaire del equipo US Racing-CHRS.
Equipos y pilotos
Calendario de carreras y resultados
Las sedes para la temporada 2019 se anunciaron con la primera ronda de Hockenheim como evento de apoyo del Gran Premio de Alemania de 2019, mientras que otros eventos están programados para apoyar al ADAC GT Masters 2019 .
Clasificación del campeonato
Los puntos se otorgan a los 10 primeros clasificados en cada carrera. No se otorgan puntos por la pole position o la vuelta rápida.
Campeonato de pilotos
Campeonato de novatos
Campeonato de equipos
Antes de cada ronda, los equipos nominan a dos pilotos para ser elegibles para los puntos del campeonato de equipos.
Referencias
2019
Deportes de motor en 2019
Deporte en Alemania en 2019 | 7,540 |
https://ar.wikipedia.org/wiki/%D9%81%D8%B1%D8%A7%D9%86%D9%83%D9%88%20%D9%85%D9%88%D8%B3%D9%8A%D8%B3 | Wikipedia | Open Web | CC-By-SA | 2,023 | فرانكو موسيس | https://ar.wikipedia.org/w/index.php?title=فرانكو موسيس&action=history | Arabic | Spoken | 176 | 529 | فرانكو موسيس (19 أبريل 1992 بلابلاتا في الأرجنتين - ) هو لاعب كرة قدم إيطالي وأرجنتيني في مركز الوسط. لعب مع جيمناسيا لابلاتا ونادي جنوى ونادي سان لورينزو ونادي كوبنهاغن.
مراجع
وصلات خارجية
لاعبو كرة قدم رجالية مغتربون في رومانيا
لاعبو كرة قدم رجالية مغتربون في إيطاليا
لاعبو كرة قدم رجالية مغتربون في الدنمارك
أرجنتينيون من أصل إيطالي
أشخاص على قيد الحياة
رياضيون أرجنتينيون مغتربون في الدنمارك
رياضيون أرجنتينيون مغتربون في إيطاليا
رياضيون أرجنتينيون مغتربون في رومانيا
رياضيون من لا بلاتا
لاعبو الدوري الأرجنتيني برايم بي
لاعبو الدوري الإيطالي
لاعبو الدوري الإيطالي الدرجة الثالثة
لاعبو أتلتيكو توكومان
لاعبو جنوى
لاعبو جيمناسيا لابلاتا
لاعبو دوري الدرجة الأولى الأرجنتيني
لاعبو دوري الدرجة الأولى الروماني
لاعبو دوري السوبر الدنماركي
لاعبو سان لورينزو
لاعبو كرة قدم أرجنتينيون
لاعبو كرة قدم رجالية أرجنتينيون
لاعبو كرة قدم رجالية أرجنتينيون مغتربون
لاعبو كرة قدم مغتربون أرجنتينيون
لاعبو كرة قدم مغتربون في الدنمارك
لاعبو كرة قدم مغتربون في إيطاليا
لاعبو كرة قدم مغتربون في رومانيا
لاعبو كرة قدم من لا بلاتا
لاعبو نادي بوتوشاني
لاعبو نادي كوبنهاغن
لاعبو وسط كرة قدم رجالية
مواليد 1992 | 22,904 |
https://pt.wikipedia.org/wiki/Munic%C3%ADpio%20de%20Mifflin%20%28condado%20de%20Richland%2C%20Ohio%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Município de Mifflin (condado de Richland, Ohio) | https://pt.wikipedia.org/w/index.php?title=Município de Mifflin (condado de Richland, Ohio)&action=history | Portuguese | Spoken | 169 | 358 | O município de Mifflin (em inglês: Mifflin Township) é um município localizado no condado de Richland no estado estadounidense de Ohio. No ano de 2010 tinha uma população de 6.219 habitantes e uma densidade populacional de 103,98 pessoas por km².
Geografia
O município de Mifflin encontra-se localizado nas coordenadas . Segundo a Departamento do Censo dos Estados Unidos, o município tem uma superfície total de 59.81 km², da qual 57.04 km² correspondem a terra firme e (4.64%) 2.77 km² é água.
Demografia
Segundo o censo de 2010, tinha 6.219 habitantes residindo no município de Mifflin. A densidade populacional era de 103,98 hab./km². Dos 6.219 habitantes, o município de Mifflin estava composto pelo 94.36% brancos, o 3.3% eram afroamericanos, o 0.23% eram amerindios, o 0.23% eram asiáticos, o 0.06% eram insulares do Pacífico, o 0.23% eram de outras raças e o 1.61% pertenciam a dois ou mais raças. Do total da população o 1.06% eram hispanos ou latinos de qualquer raça.
Municípios do Ohio
Localidades do condado de Richland (Ohio) | 44,248 |
https://ja.wikipedia.org/wiki/%E3%83%84%E3%82%B0%E3%83%9F%E3%83%92%E3%82%BF%E3%82%AD | Wikipedia | Open Web | CC-By-SA | 2,023 | ツグミヒタキ | https://ja.wikipedia.org/w/index.php?title=ツグミヒタキ&action=history | Japanese | Spoken | 93 | 722 | ツグミヒタキ(鶇鶲、学名: Cossypha caffra; )は、スズメ目ヒタキ科に分類される鳥類。
分布
ウガンダ、ケニア、コンゴ民主共和国、ザンビア、ジンバブエ、スーダン、スワジランド、タンザニア、ナミビア、マラウイ、南アフリカ共和国、南スーダン、モザンビーク、ルワンダ、レソトに分布。
形態
生態
人間との関係
主にケニア南部に暮らすキクユ人のことばでニャメンディギ()と呼ばれる鳥は本種ないしはその近縁の種であるが、民話にしばしば登場する。民話のなかでもよく知られたものは人間の死の起源に関するものであり、そのおおまかなあらすじはカメレオンが神の使いとして、人間が永遠に生きることをおもむろに伝えようとしていたところにニャメンディギが現れ、人間は皆死ぬ運命であるということをカメレオンよりも先に告げたというものである。アフリカのほかの民族からも同様の話が記録されているが、カメレオンは大方共通しているのに対し、もう一方の生物については同じケニアのカンバ人の場合はハタオリドリ、南アフリカのズールー人の場合はサラマンダー()というようにぶれが見られる。
脚注
参考文献
英語:
"" in
Mbugua wa-Mungai (2004). "Birth and Death Rituals among the Gikuyu." In Philip M. Peek and Kwesi Yankah (eds.), African Folklore: An Encyclopedia, pp. 53–59. New York and London: Routledge.
日本語:
宮本正興、中務哲郎、稲田浩二「人間はなぜ死ぬか」 稲田浩二 編集代表『世界昔話ハンドブック』三省堂、2004年、176頁。
「ゲコヨの国に、死がやってきたこと」
関連文献
Clement, Peter and Chris Rose (2015). Robins and Chats, pp. 324–327. London: Christopher Helm.
Stevenson, Terry and John Fanshawe (2002). Field Guide to the Birds of East Africa: Kenya, Tanzania, Uganda, Rwanda, Burundi, p. 332. London: T & A D Poyser.
関連項目
ヒタキ科 | 29,869 |
https://stackoverflow.com/questions/69110511 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | English | Spoken | 238 | 346 | Call method when app enters foreground from a dead state
I'm trying to call a method in my iOS app only when I enter in it from a dead state, meaning that the app isn't running in the background. I have searched for it and I came up with the method:
applicationWillEnterForeground:
But when I put some prints inside this method in my app delegate, the prints are not called at any time. Specifically what I want to do is to call a service to check wether the user's token access is valid or not, so I would show him the Log In view or the home view.
The app delegate method you're asking for is:
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool
This is called when the app finishes launching, which occurs when it was previously not in a background or suspended state.
That said, for your use case, I'd put this in:
func applicationWillEnterForeground(_ application: UIApplication)
This gets called anytime the app enters the foreground which is more appropriate for this problem. If it's not being called (as you suggest), I expect that you haven't declared the method correctly (declare it exactly as above), or you haven't declared it on the UIApplicationDelegate.
For full details, including how to handle the new scene delegates in iOS 13+ (which are different, and tied to the UISceneDelegate), see Managing Your App's Life Cycle.
| 14,441 | |
https://pt.wikipedia.org/wiki/Burgbrohl | Wikipedia | Open Web | CC-By-SA | 2,023 | Burgbrohl | https://pt.wikipedia.org/w/index.php?title=Burgbrohl&action=history | Portuguese | Spoken | 28 | 74 | Burgbrohl é um município da Alemanha localizada no distrito de Ahrweiler, na associação municipal de Verbandsgemeinde Brohltal, no estado da Renânia-Palatinado.
População da Cidade
Política
Municípios da Renânia-Palatinado | 42,406 |
https://tt.wikipedia.org/wiki/%D0%A1%D2%AF%D0%BB%D0%B5%D0%BB%D0%B5%D1%80%20%28%D0%94%D1%83%D1%80%D1%81%D1%83%D0%BD%D0%B1%D0%B5%D0%B9%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Сүлелер (Дурсунбей) | https://tt.wikipedia.org/w/index.php?title=Сүлелер (Дурсунбей)&action=history | Tatar | Spoken | 58 | 221 | Сүлелер () — Төркия Җөмһүриятенең Мәрмәр бүлгесе Балыкесир иле Дурсунбей илчесенә караган бер мәхәллә ().
Географиясе
Халык саны
Искәрмәләр
Сылтамалар
Турция // Большая российская энциклопедия : [в 35 т. / гл. ред. Ю. С. Осипов. — М. : Большая российская энциклопедия, 2004—2017.]
Mahalle Nedir?
Kısaltmalar Dizini
Дурсунбей илчесе мәхәлләләре
Әлифба буенча торак пунктлар
Төркия торак пунктлары
Төркия мәхәлләләре | 33,979 |
https://fi.wikipedia.org/wiki/FA%20%C5%A0iauliai | Wikipedia | Open Web | CC-By-SA | 2,023 | FA Šiauliai | https://fi.wikipedia.org/w/index.php?title=FA Šiauliai&action=history | Finnish | Spoken | 36 | 120 | Šiaulių futbolo akademija (FA Šiauliai) on liettualainen jalkapalloseura Šiauliain kaupungista. Seura pelaa Liettuan korkeimmalla sarjatasolla A lygassa. Seura on perustettu vuonna 2007.
Kausi
Lähteet
Aiheesta muualla
siauliufa.lt
Facebook
1lyga.lt
Šiauliai
Šiauliain urheilu
Vuonna 2007 perustetut urheiluseurat | 29,284 |
https://stackoverflow.com/questions/37591335 | StackExchange | Open Web | CC-By-SA | 2,016 | Stack Exchange | Estonian | Spoken | 297 | 764 | Interface object on a spring controller
I saw a tutorial of spring but I have some doubts about it
If I had a interface like this
package com.journaldev.spring.service;
import java.util.List;
import com.journaldev.spring.model.Person;
public interface PersonService {
public void addPerson(Person p);
public void updatePerson(Person p);
public List<Person> listPersons();
public Person getPersonById(int id);
public void removePerson(int id);
}
and a class which implements the interface
package com.journaldev.spring.service;
import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.journaldev.spring.dao.PersonDAO;
import com.journaldev.spring.model.Person;
@Service
public class PersonServiceImpl implements PersonService {
private PersonDAO personDAO;
public void setPersonDAO(PersonDAO personDAO) {
this.personDAO = personDAO;
}
.
.
.
}
and the controller which use the service
package com.journaldev.spring;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import com.journaldev.spring.model.Person;
import com.journaldev.spring.service.PersonService;
@Controller
public class PersonController {
private PersonService personService;
@Autowired(required=true)
@Qualifier(value="personService")
public void setPersonService(PersonService ps){
this.personService = ps;
}
.
.
.
}
Why the controller has a PersonService object (that in an interface) instead of an PersonServiceIml(class which implements the interface) object????
Not sure whether the question is,
Why to use interface or
How the methods are called of the implemented class.
Assuming that, you want to know how the implemented methods are called, please check your dependency injection file. You will see that you have injected your implemented class.
Say for example, it might look something like this,
<bean id="personService" class="com.somethimg.service.impl. PersonServiceImpl">
</bean>
The idea is that designing to interfaces is good practice : What does "program to interfaces, not implementations" mean?
It makes creating a new implementation easy and refactoring is simpler. An interface also ensures mocking is straightforward.
In practice you can get rid of the interface, mockito/powermock etc handle simple classes fine, and in lots of cases you won't need a new implementation or any refactoring.
| 6,521 | |
https://stackoverflow.com/questions/46613150 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | Danish | Spoken | 156 | 751 | Python 3.6 Variable Substitution on a Dict Object
I have the following dict object:
AUTH_LDAP_USER_FLAGS_BY_GROUP = {
"is_active": "cn=active,ou=groups,dc=example,dc=com",
"is_staff": "cn=staff,ou=groups,dc=example,dc=com",
"is_superuser": "cn=superuser,ou=groups,dc=example,dc=com"
}
I want to define elements of it from variables:
# Load environmental variables here
hostname = os.environ['AUTH_LDAP_SERVER']
binduser = os.environ['AUTH_LDAP_BIND_USER']
bindgroup = os.environ['AUTH_LDAP_BIND_GROUP']
dc1 = os.environ['AUTH_LDAP_BIND_DC1']
dc2 = os.environ['AUTH_LDAP_BIND_DC2']
bindpassword = os.environ['AUTH_LDAP_PASSWORD']
AUTH_LDAP_USER_FLAGS_BY_GROUP = {
"is_active": "cn=active,{bindgroup},dc={dc1),dc={dc2}",
"is_staff": "cn=staff,{bindgroup},dc={dc1},dc={dc2}",
"is_superuser": "cn=administrators,{bindgroup},dc={dc1},dc={dc2}"
}
How can I insert the variables into the dict?
In python 3.6+ you have f-strings.
AUTH_LDAP_USER_FLAGS_BY_GROUP = {
"is_active": f"cn=active,{bindgroup},dc={dc1},dc={dc2}",
"is_staff": f"cn=staff,{bindgroup},dc={dc1},dc={dc2}",
"is_superuser": f"cn=administrators,{bindgroup},dc={dc1},dc={dc2}"
}
If you're using python 3.5 or older you can use format
AUTH_LDAP_USER_FLAGS_BY_GROUP = {
"is_active": "cn=active,{},dc={},dc={}".format(bindgroup, dc1, dc2),
"is_staff": "cn=staff,{},dc={},dc={}".format(bindgroup, dc1, dc2),
"is_superuser": "cn=administrators,{},dc={},dc={}".format(bindgroup, dc1, dc2)
}
All you need to do is add an f in front of the strings you want formatted. Documentation on f-strings.
AUTH_LDAP_USER_FLAGS_BY_GROUP = {
"is_active": f"cn=active,{bindgroup},dc={dc1},dc={dc2}",
"is_staff": f"cn=staff,{bindgroup},dc={dc1},dc={dc2}",
"is_superuser": f"cn=administrators,{bindgroup},dc={dc1},dc={dc2}"
}
Also, I would use os.getenv to avoid KeyError's.
| 20,075 | |
https://ceb.wikipedia.org/wiki/Quebrada%20Antonto | Wikipedia | Open Web | CC-By-SA | 2,023 | Quebrada Antonto | https://ceb.wikipedia.org/w/index.php?title=Quebrada Antonto&action=history | Cebuano | Spoken | 82 | 147 | Suba nga anhianhi ang Quebrada Antonto sa Kolombiya. Nahimutang ni sa departamento sa Departamento de Córdoba, sa amihanan-kasadpang bahin sa nasod, km sa amihanan-kasadpan sa Bogotá ang ulohan sa nasod.
Ang klima habagat. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Pebrero, sa °C, ug ang kinabugnawan Nobiyembre, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Agosto, sa milimetro nga ulan, ug ang kinaugahan Pebrero, sa milimetro.
Ang mga gi basihan niini
Mga suba sa Departamento de Córdoba | 3,987 |
https://ml.wikipedia.org/wiki/%E0%B4%87%E0%B4%9F%E0%B4%AA%E0%B5%8D%E0%B4%AA%E0%B4%B3%E0%B5%8D%E0%B4%B3%E0%B4%BF%20%E0%B4%AA%E0%B5%8A%E0%B4%B2%E0%B5%80%E0%B4%B8%E0%B5%8D%20%E0%B4%B8%E0%B5%8D%E0%B4%B1%E0%B5%8D%E0%B4%B1%E0%B5%87%E0%B4%B7%E0%B5%BB%20%E0%B4%86%E0%B4%95%E0%B5%8D%E0%B4%B0%E0%B4%AE%E0%B4%A3%E0%B4%82 | Wikipedia | Open Web | CC-By-SA | 2,023 | ഇടപ്പള്ളി പൊലീസ് സ്റ്റേഷൻ ആക്രമണം | https://ml.wikipedia.org/w/index.php?title=ഇടപ്പള്ളി പൊലീസ് സ്റ്റേഷൻ ആക്രമണം&action=history | Malayalam | Spoken | 484 | 4,749 | എൻ.കെ മാധവൻ, വർദുകുട്ടി എന്നീ കമ്മ്യൂണിസ്റ്റ് പാർട്ടി നേതാക്കളെ പോലീസ് അറസ്റ്റ് ചെയ്തതിന്റെ ഭാഗമായി 1950 ഫെബ്രുവരി 28നാണ് ഇടപ്പള്ളി പൊലീസ് സ്റ്റേഷൻ ആക്രമണം നടക്കുന്നത്. കേരളത്തിലെ ആദ്യത്തെ പോലീസ് സ്റ്റേഷൻ ആക്രമണമായിരുന്നു ഇത്. കെ സി മാത്യുവായിരുന്നു സ്റ്റേഷൻ ആക്രമണത്തിനു നേതൃത്വം കൊടുത്തത്. എം.എം. ലോറൻസ് ഉൾപ്പെടെ 17 പേരാണ് സ്റ്റേഷൻ ആക്രമണത്തിൽ പങ്കെടുത്തത്.17 പേരായിരുന്നു ആക്രമണത്തിനു പിന്നിലെങ്കിലും 33 പേർ പ്രതികളായി. പതിനഞ്ച് മിനുറ്റുമാത്രമേ ആക്രമണം നീണ്ടു നിന്നുള്ളു. എൻ.കെ.മാധവനെ പോലീസ് ക്രൂരമായി മർദ്ദിച്ചിരുന്നു, വർദുകുട്ടി പിന്നീട് കേസിൽ മാപ്പുസാക്ഷിയായി.
കേരളത്തിലെ കമ്മ്യൂണിസ്റ്റു പാർട്ടിയുടെ ചരിത്രത്തിൽ ഇടപ്പള്ളി പോലീസ് സ്റ്റേഷൻ ആക്രമണത്തിന് ചെറുതല്ലാത്ത ഒരു പങ്കുണ്ടെന്നു കരുതപ്പെടുന്നു. ഇടപ്പള്ളി സംഭവം പാർട്ടിക്കകത്തെ വിഭാഗീയതയുടെ അനന്തരഫലങ്ങളായിരുന്നുവെന്ന് പാർട്ടി നേതൃത്വം പിന്നീട് നിരീക്ഷിക്കുകയുണ്ടായി.
പശ്ചാത്തലം
കമ്മ്യൂണിസ്റ്റ് പാർട്ടി ഓഫ് ഇന്ത്യ 1950 മാർച്ച് 9 ന് രാജ്യവ്യാപകമായി റെയിൽവേ പണിമുടക്ക് പ്രഖ്യാപിച്ചിരുന്നു. നിലവിലുള്ള ഭരണസംവിധാനത്തെ താഴെയിറക്കുക എന്ന ലക്ഷ്യത്തോടെയാണ് അഖിലേന്ത്യാ നേതാവായിരുന്ന രണദിവെ അത്തരമൊരു ആഹ്വാനം നടത്തിയത്. അങ്കമാലി മുതൽ എറണാകുളത്തെ വടുതല വരെയുള്ള തീവണ്ടി ഗതാഗതം സ്തംഭിപ്പിക്കുക എന്നതായിരുന്നു ആലുവ പാർട്ടി കമ്മിറ്റിക്ക് മുകളിൽ നിന്നും കിട്ടിയ നിർദ്ദേശം. ആലുവ - ഏലൂർ മേഖലയിൽ തൊഴിലാളി പ്രസ്ഥാനം ശക്തമായി വളർന്നു വരുന്ന ഒരു കാലമായിരുന്നു. ഈ മേഖലയിലെ പ്രധാന വ്യവസസംരംഭങ്ങളായ സ്റ്റാൻഡാർഡ് പോട്ടറീസ്, ഇന്ത്യൻ അലുമിനിയം എന്നിവിടങ്ങളിൽ അഖില തിരുവിതാംകൂർ ട്രേഡ് യൂണിയൻ കോൺഗ്രസ്സിന്റെ അനുബന്ധമെന്ന നിലയിൽ തൊഴിലാളി യൂണിയനുകൾ രൂപീകരിച്ച് പ്രവർത്തനങ്ങൾ നടത്തിയിരുന്നു. ആലുവ മേഖലയിൽ തൊഴിലാളി പ്രസ്ഥാനം കെട്ടിപ്പടുക്കുന്നതിനു വേണ്ടി കമ്മ്യൂണിസ്റ്റ് പാർട്ടി നിയോഗിച്ച നേതാവായിരുന്ന എൻ.കെ.മാധവൻ. എറണാകുളത്തേക്കു പോകുന്ന തീവണ്ടികളുടെ ഷണ്ടിംഗ് കേന്ദ്രമെന്ന നിലയിൽ ഇടപ്പള്ളിക്കു വളരെ പ്രാധാന്യമുണ്ടായിരുന്നു. പണിമുടക്കുമായി ബന്ധപ്പെട്ട് മീറ്റിംഗ് കഴിഞ്ഞു മടങ്ങിയ എൻ.കെ.മാധവനേയും വറീതു കുട്ടിയേയും പോലീസ് അറസ്റ്റ് ചെയ്തു. ഇതാണ് ഇടപ്പള്ളി പോലീസ് സ്റ്റേഷൻ ആക്രമണം നടക്കാനുള്ള പ്രധാന കാരണം.
ആക്രമണം
തങ്ങളുടെ നേതാക്കൾ പോലീസ് പിടിയിലാണെന്ന വിവരം ഫെബ്രുവരി 27 ന് പോണേക്കരയിൽ കൂടിയ പാർട്ടി രഹസ്യയോഗത്തിൽ അവതരിപ്പിക്കപ്പെടുകയും, ഏതുവിധേനേയും അവരെ സ്റ്റേഷനിൽ നിന്നും മോചിപ്പിക്കണമെന്ന് യോഗത്തിൽ തീരുമാനമെടുക്കപ്പെടുകയും ചെയ്തു. കെ.സി.മാത്യു ആയിരുന്നു ഈ നിർദ്ദേശം വെച്ചത്. ഭീരുക്കൾ എന്നു മുദ്രകുത്തപ്പെടും എന്നു പേടിച്ച്, തീരുമാനത്തിൽ എതിർപ്പുണ്ടായിരുന്നുവെങ്കിലും, എം.എം.ലോറൻസും, വി.വിശ്വനാഥമേനോനും മൗനം പാലിക്കുകയായിരുന്നു. എം.എം.ലോറൻസ്, കെ.യു,ദാസ്, വി.വിശ്വനാഥമേനോൻ, കെ.സി.മാത്യു എന്നിവരടങ്ങുന്ന പതിനേഴു പേരുള്ള ഒരു ആക്ഷൻ കമ്മിറ്റിയും ഈ ദൗത്യത്തിനായി രൂപീകരിക്കപ്പെട്ടു.
ഫെബ്രുവരി 28 രാത്രി പത്തുമണിയോടെ സംഘം, പോലീസ് സ്റ്റേഷൻ ലക്ഷ്യമാക്കി നീങ്ങി. രണ്ടു വാക്കത്തി, കുറച്ചു വടികൾ, ഒരു കൈബോംബ് എന്നിവയായിരുന്നു ഈ ദൗത്യത്തിനായി ഇവരുടെ കയ്യിലുണ്ടായിരുന്ന ആയുധങ്ങൾ. കൈബോംബ് സ്റ്റേഷനു നേരെ എറിഞ്ഞുവെങ്കിലും, അത് പൊട്ടിയില്ല. തുടർന്നു നടന്ന ആക്രമണത്തിൽ മാത്യു, വേലായുധൻ എന്നീ രണ്ടു പോലീസുകാർ കൊല്ലപ്പെട്ടു. പ്രതികളെ മോചിപ്പിക്കുക എന്ന ലക്ഷ്യം നടപ്പാക്കാൻ അവർക്കു കഴിഞ്ഞില്ല. കൃഷ്ണപിള്ള എന്ന പോലീസുകാരൻ അന്നേ ദിവസം ലോക്കപ്പിന്റെ താക്കോൽ വീട്ടിൽ കൊണ്ടുപോയതിനാൽ ലോക്കപ്പ് തുറക്കാൻ സംഘത്തിനു കഴിഞ്ഞില്ല. സ്റ്റേഷനിലുണ്ടായിരുന്ന രണ്ട് തോക്കുകൾ ഇവർ കൈവശപ്പെടുത്തി.
ആക്രമണത്തെത്തുടർന്ന് നേതാക്കളും പ്രവർത്തകരും ഒളിവിൽ പോയെങ്കിലും, സംഭവം പുറത്തറിഞ്ഞതിനെ തുടർന്ന് സുരക്ഷിതമായ ഒളിതാവളങ്ങൾ ആർക്കും തന്നെ ലഭിച്ചില്ല. കെ.സി.മാത്യുവും, ലോറൻസും എല്ലാം ഒന്നിനു പുറകെ ഒന്നായി അറസ്റ്റിലായി. ഒളി താവളം ലഭിക്കാത്തതിനെ തുടർന്ന് തോക്കുകൾ കലൂരിലെ ഒരു കുളത്തിൽ ഉപേക്ഷിച്ചെങ്കിലും, പിറ്റേന്ന് അത് പോലീസ് കണ്ടെടുത്തു. കെ.യു.ദാസ് ആലുവ പോലീസ് സ്റ്റേഷനിൽ വെച്ച് ക്രൂരമായ മർദ്ദനത്തെതുടർന്ന് മരിച്ചു. മൃതദേഹം കുടുംബാംഗങ്ങളെപ്പോലും കാണിക്കാതെ പോലീസ് തന്നെ മറവു ചെയ്യുകയായിരുന്നു.
വിചാരണ, ശിക്ഷ
1952 ലാണ് ഇടപ്പള്ളി സ്റ്റേഷൻ ആക്രമണവുമായി ബന്ധപ്പെട്ട കേസിന്റെ വിചാരണ തുടങ്ങുന്നത്. ആക്രമണത്തിൽ പങ്കെടുത്ത എല്ലാവരേയും പോലീസിനു പിടിക്കാൻ കഴിഞ്ഞില്ല. പതിനൊന്നു പേർ മാത്രമാണ് പോലീസ് പിടിയിലായത്. അന്ന് ആലുവയിൽ പാർട്ടിയുമായി ബന്ധമുണ്ടായിരുന്ന ചിലരും കേസിൽ പ്രതികളാക്കപ്പെട്ടു. എൻ.കെ.മാധവനും, വറീതുകുട്ടിയും ആക്രമണത്തിൽ പങ്കാളികളായിരുന്നില്ലെങ്കിലും, അവരും കേസിൽ പ്രതികളാക്കപ്പെട്ടു.
കെ.സി.മാത്യു, കെ.എ.ഏബ്രഹാം, കൃഷ്ണൻകുട്ടി എന്നിവർക്ക് വിചാരണ കോടതി പന്ത്രണ്ടു വർഷം തടവാണ് ശിക്ഷയായി വിധിച്ചത്. ബാക്കി പ്രതികൾക്ക് മൂന്നു വർഷം മുതൽ അഞ്ചു വർഷം വരെയുള്ള വിവിധ കാലഘട്ടങ്ങളിലേക്ക് തടവു ശിക്ഷ വിധിച്ചു. ശിക്ഷ റദ്ദാക്കണമെന്നു കാണിച്ച് പ്രതികൾ ഹൈക്കോടതിയിൽ അപേക്ഷ നൽകിയെങ്കിലും, ശിക്ഷയുടെ കാലാവധി വർദ്ധിപ്പിക്കണമെന്നു കാണിച്ച് സർക്കാരും കോടതിയിൽ അപേക്ഷ നൽകിയിരുന്നു. ഹൈക്കോടതി, എല്ലാ പ്രതികളുടേയും ശിക്ഷ ജീവപര്യന്തമായി ഉയർത്തി. സുപ്രീംകോടതിയിൽ അപേക്ഷ നൽകിയിരുന്നുവെങ്കിലും, അവിടെയും പ്രതികളുടെ ശിക്ഷ ശരിവെക്കുകയായിരുന്നു.
ആക്രമണത്തിൽ പങ്കെടുത്തവർ
ജയിൽമോചനം
1957 ൽ കേരളത്തിൽ ആദ്യത്തെ കമ്യൂണിസ്റ്റ് സർക്കാർ അധികാരത്തിൽ വന്നപ്പോൾ രാഷ്ട്രീയ തടവുകാരെ മോചിപ്പിക്കാൻ എടുത്ത തീരുമാനത്തിൽ ഉൾപ്പെട്ട് പ്രതികൾ മോചിതരാവുകയായിരുന്നു. 1957 ഏപ്രിൽ 12 ഇടപ്പള്ളി സ്റ്റേഷൻ ആക്രമണത്തിലെ എല്ലാ പ്രതികളേയും സർക്കാർ മോചിപ്പിച്ചു.
പുറത്തേക്കുള്ള കണ്ണികൾ
ഇടപ്പള്ളി പോലീസ് സ്റ്റേഷൻ ആക്രമണ കേസ്, സുപ്രീംകോടതി വിധി ഇന്ത്യൻ കാനൂൻ
അവലംബം
കേരളത്തിലെ കമ്മ്യൂണിസ്റ്റ് പ്രസ്ഥാനം
കേരളരാഷ്ട്രീയം | 3,717 |
https://pnb.wikipedia.org/wiki/%D8%B3%DB%8C%D8%B1%D9%88%D9%81%DB%8C%DA%88%DB%8C%D9%86%20%DA%AF%DA%88%D9%85%D8%A7%D9%86%DB%8C | Wikipedia | Open Web | CC-By-SA | 2,023 | سیروفیڈین گڈمانی | https://pnb.wikipedia.org/w/index.php?title=سیروفیڈین گڈمانی&action=history | Western Punjabi | Spoken | 14 | 50 | سیروفیڈین گڈمانی وائپر سپ دے ٹبر دا اک سپ اے۔
بارلے جوڑ
وائپر سپ | 36,896 |
https://ceb.wikipedia.org/wiki/Desa%20Plosoarang | Wikipedia | Open Web | CC-By-SA | 2,023 | Desa Plosoarang | https://ceb.wikipedia.org/w/index.php?title=Desa Plosoarang&action=history | Cebuano | Spoken | 112 | 198 | Administratibo nga balangay ang Desa Plosoarang sa Indonesya. Nahimutang ni sa administratibo nga balangay sa Desa Plosoarang, lalawigan sa Jawa Timur, sa kasadpang bahin sa nasod, km sa sidlakan sa Jakarta ang ulohan sa nasod.
Hapit nalukop sa kaumahan ang palibot sa Desa Plosoarang. Dunay mga ka tawo kada kilometro kwadrado sa palibot sa Desa Plosoarang nga hilabihan populasyon. Ang klima tropikal nga kasalupan. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Oktubre, sa °C, ug ang kinabugnawan Pebrero, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Enero, sa milimetro nga ulan, ug ang kinaugahan Agosto, sa milimetro.
Ang mga gi basihan niini
Mga subdibisyon sa Jawa Timur | 1,388 |
https://es.wikipedia.org/wiki/Javier%20Jes%C3%BAs%20M%C3%A9ndez | Wikipedia | Open Web | CC-By-SA | 2,023 | Javier Jesús Méndez | https://es.wikipedia.org/w/index.php?title=Javier Jesús Méndez&action=history | Spanish | Spoken | 344 | 717 | Javier Jesús Méndez Henríquez (Valparaíso, Chile, ) es un exfutbolista chileno. Jugó de delantero.
Es hermano del también exfutbolista y hoy entrenador Eugenio Méndez.
Trayectoria
Oriundo de Valparaíso, formó parte de las divisiones inferiores de Universidad Católica durante cuatro años, pasando en 1969 a Unión Española. En 1971, es pedido por Sergio Navarro para Naval de Talcahuano, a la temporada siguiente refuerza a Coquimbo Unido. para 1972, llega a Deportes Aviación, donde tras 3 temporadas ficha por Huachipato. Termina su carrera en el Wolfsberger AC austriaco, donde se retira en 1983.
Selección nacional
Fue internacional con la Selección de fútbol de Chile en los años 1974 y 1975. Jugó 4 partidos, marcando un gol. Formó parte del plantel que afrontó la Copa América 1975.
Participación en Copa América
Partidos internacionales
<center>
{|class="wikitable collapsible collapsed" cellspacing="0" width="100%" style="text-align: center
|-
! colspan="10" | Partidos internacionales |- bgcolor=#DDDDDD style="background:beige"
! N.º
! Fecha!! Estadio!! Local!! Resultado!! Visitante!! Goles!!Asistencias!!DT!! Competición
|-
| 1 || ||Estadio Nacional, Santiago, Chile || || bgcolor=Salmon| 0-2 || || || || Pedro Morales || Copa Carlos Dittborn 1974
|-
| 2 || ||Estadio José Amalfitani, Buenos Aires, Argentina || || bgcolor=LemonChiffon| 1-1 || || || || Pedro Morales || Copa Carlos Dittborn 1974
|-
| 3 || ||Estadio Nacional, Santiago, Chile || || bgcolor=palegreen| 1-0 || || || || Pedro Morales || Copa Acosta Ñu
|-
| 4 || ||Estadio Jesús Bermúdez, Oruro, Bolivia || || bgcolor=Salmon| 2-1 || || || || Pedro Morales || Copa América 1975
|-
|Total || || || Presencias || 4 || Goles || 1 || ||
|-
|}
Clubes
Referencias
Bibliografía
Revista Estadio, 12 de noviembre de 1974, p. 34-36.
Futbolistas de Valparaíso
Futbolistas de la selección de fútbol de Chile en los años 1970
Futbolistas de Chile en la Copa América 1975
Futbolistas de las inferiores del Club Deportivo Universidad Católica
Futbolistas de Unión Española en los años 1960
Futbolistas de Deportes Naval de Talcahuano
Futbolistas de Coquimbo Unido en los años 1970
Futbolistas del Club de Deportes Aviación
Futbolistas del Wolfsberger AC
Hermanos futbolistas | 7,611 |
https://stackoverflow.com/questions/57282472 | StackExchange | Open Web | CC-By-SA | 2,019 | Stack Exchange | English | Spoken | 461 | 1,450 | Cannot POST Cosmos DB Stored Procedures using PowerShell
I'm trying to deploy stored procedures to a collection within an Azure Cosmos DB account as part of my deployment pipeline in Azure DevOps. Due to security reasons, I have to use the REST API (cannot use or import PowerShell modules to do this).
The build agents that I'm using are on-premise agents. Again, security reasons.
In order to generate an authorization token to make requests, I have the following PowerShell function:
Add-Type -AssemblyName System.Web
# Generate Authorization Key for REST calls
Function Generate-MasterKeyAuthorizationSignature
{
[CmdletBinding()]
Param
(
[Parameter(Mandatory=$true)][String]$verb,
[Parameter(Mandatory=$true)][String]$resourceLink,
[Parameter(Mandatory=$true)][String]$resourceType,
[Parameter(Mandatory=$true)][String]$dateTime,
[Parameter(Mandatory=$true)][String]$key,
[Parameter(Mandatory=$true)][String]$keyType,
[Parameter(Mandatory=$true)][String]$tokenVersion
)
$hmacSha256 = New-Object System.Security.Cryptography.HMACSHA256
$hmacSha256.Key = [System.Convert]::FromBase64String($key)
$payLoad = "$($verb.ToLowerInvariant())`n$($resourceType.ToLowerInvariant())`n$resourceLink`n$($dateTime.ToLowerInvariant())`n`n"
$hashPayLoad = $hmacSha256.ComputeHash([System.Text.Encoding]::UTF8.GetBytes($payLoad))
$signature = [System.Convert]::ToBase64String($hashPayLoad);
[System.Web.HttpUtility]::UrlEncode("type=$keyType&ver=$tokenVersion&sig=$signature")
}
I then call this function within the POST function that I'm using to POST the stored procedure to Azure Cosmos DB:
Function Post-StoredProcToCosmosDb
{
[CmdletBinding()]
Param
(
[Parameter(Mandatory=$true)][String]$EndPoint,
[Parameter(Mandatory=$true)][String]$DataBaseId,
[Parameter(Mandatory=$true)][String]$CollectionId,
[Parameter(Mandatory=$true)][String]$MasterKey,
[Parameter(Mandatory=$true)][String]$JSON
)
$Verb = 'Post'
$ResourceType = "sprocs"
$ResourceLink = "dbs/$DataBaseId/colls/$CollectionId"
$dateTime = [DateTime]::UtcNow.ToString("r")
$authHeader = Generate-MasterKeyAuthorizationSignature -verb $Verb -resourceLink $ResourceLink -resourceType $ResourceType -key $MasterKey -keyType "master" -tokenVersion "1.0" -dateTime $dateTime
$header = @{authorization=$authHeader;"x-ms-version"="2017-02-22";"x-ms-date"=$dateTime;"xs-ms-session-token"="28"}
$contentType = "application/json"
$queryUri = "$EndPoint$ResourceLink/sprocs"
$result = Invoke-RestMethod -Headers $header -Method $Verb -ContentType $contentType -Uri $queryUri -Body $JSON
return $result.statuscode
}
I see from the documentation that I need to pass my stored procedure in the body as a string, so I set the path of my stored procedure to a variable like so:
$HelloWorld = Get-Content -Path '.\Databases\MyCosmosDB\MyCosmosCollection\Stored Procedures\HelloWorld.js' | Out-String
I then call my POST function like so:
Post-StoredProcToCosmosDb -EndPoint $env:COSMOSENDPOINT -DataBaseId $env:MYCOSMOSDB -CollectionId $MyCollection -MasterKey $env:MASTERKEY -JSON $HelloWorld
However, when I run the task, I get the following error:
Invoke-RestMethod : The remote server returned an error: (400) Bad Request
At D:_workAzure\r12\a_Cosmos\Deployment\scripts\postStoredProcedures.ps1:61 char:15
$result = Invoke-RestMethod -Headers $header -Method $Verb -Content ...
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
I have followed the example request body as outlined in the documentation for my stored procedure.
Here is what it looks like for your info:
"function () {\r\n var context = getContext();\r\n var response = context.getResponse();\r\n\r\n response.setBody(\"Hello, World\");\r\n}"
I'm fairly new to PowerShell, so I'm wondering where I am going wrong. I've tried setting the contentType to both application/json and application/query+json but otherwise, I'm not sure where I am going wrong?
If anyone can provide any guidance on this, I'd be most grateful.
So turns out the request body was wrong. It should be like this:
{
"body":"function HelloWorld() {\r\n var context = getContext();\r\n var response = context.getResponse();\r\nresponse.setBody(\"Hello, World\");\r\n}",
"id": "HelloWorld"
}
That's the acceptable request body for Stored Procedures. So what I should have done is set my $HelloWorld variable to:
$HelloWorld = Get-Content -Path '.\Databases\MyCosmosDB\MyCosmosCollection\Stored Procedures\HelloWorld.json' | Out-String
Hope my stupidity helps someone someday :/
| 49,414 | |
https://ja.wikipedia.org/wiki/%E6%A3%AE%E6%9E%97%E5%9C%9F%E6%9C%A8%E4%BA%8B%E6%A5%AD | Wikipedia | Open Web | CC-By-SA | 2,023 | 森林土木事業 | https://ja.wikipedia.org/w/index.php?title=森林土木事業&action=history | Japanese | Spoken | 109 | 2,822 | 森林土木事業(しんりんどぼく)は、森林の環境整備に関する土木事業で森林整備保全事業(工種類は治山防潮工等、渓間・山腹工等、林道)である治山事業、防潮事業(海岸林・防風林等整備)、林道事業などがあり、この事業において実施される工事を森林土木工事という。
森林土木という分野は森林の整備のために必要な森林科学と土木工学とが融合した分野で、技術士森林部門に森林土木の分野があり、森林部門技術士会や公益社団法人日本技術士会森林部会研究例会(森林土木)などの会合を有する他、シビルコンサルティングマネージャ(RCCM)においても、森林部門に森林土木が、また林業技士についても森林土木部門があり、各自が森林コンサルタント(森林土木コンサルタント)または森林土木事業に関する企業法人・官庁・自治体・団体等に属して森林土木事業に関する各種の調査・解析・計画・設計等の技術コンサルテーションや維持管理を担う。
事業の所管は林野庁で森林土木木製構造物暫定施工歩掛、森林土木労務・資材単価表、森林土木単価(森林土木工事設計材料単価表)、森林土木木製構造物設計等指針、また道府県ごとに、森林土木事業積算資料、森林土木工事施工管理基準、森林土木事業関係要領等、森林土木構造物標準設計、森林土木工事安全施工技術指針、森林土木工事の共通仕様書等、府県土木CAD製図基準森林土木編・北海道森林土木CAD製図基準運用(案)といった森林土木工事に必要な諸資料を提示している。
各道府県には森林土木課や道府県森林土木協会(森林土木技術協会)などが各地にある。その他関連組織には一般社団法人で(一社)全国森林土木建設業協会などがあり、道府県ごとに森林土木建設業協会、一般財団法人山梨県森林土木コンサルタント、などがある。
森林土木工事
森林土木工事には官業の他に民有林森林土木工事がある。
森林管理局発行の林道事業設計積算の手引き等での治山林道工事の工種区分と工種内容は、以下の通り。
河川工事
河川工事(河川高潮対策区間の工事を除く)にあって、次に掲げる工事 - 築堤工、掘削工、浚渫工、護岸工、特殊堤工、根固工、水制工、水路工及びこれらに類する工事
河川・道路構造物工事
河川における構造物工事及び道路における構造物工事にあって、次に掲げる工事
樋門(管)工、水(閘)門工、サイフォン工、床止(固)工、堰、揚排水機場、落石防止覆工、防雪覆工、防音(吸音)壁工、コンクリート橋、簡易組立橋梁、PC 橋(工場既製桁の場合)等の工事及びこれらの下部・基礎のみの工事
橋梁の下部工、床板工のみの工事及び橋梁(鋼橋は除く)の修繕工事
1 及び 2 に類する工事(ただし、門扉等の工場製作及び揚排水機場の上屋は除く)
治山・地すべり防止工事
治山及び地すべり防止にあって、次に掲げる工事
治山ダム工、護岸工、水制工、流路工
土留工、水路工、法切工、山腹緑化工、法枠工、落石防止工
集水井工、排水トンネル工、アンカー工、杭打工、排土工、暗渠工
1、2 及び 3 に類する工事
海岸工事
海岸工事にあって、防潮工、消波工、砂丘造成における盛土工及びこれに類する工事
森林整備工事
森林整備に係る工事にあって、地拵え、植栽、受光伐、除伐、本数調整伐及び保育に関する工事及びこれに類する工事(森林整備の A・B 区分は次の通り)
森林整備 A
(1)土木的工事と併せて行う森林整備に係る工事で、当該工事の対象額のうち土木的工事の費用の割合が 20%以上の場合
(2)樹高 1.5m以上の苗木の植栽費が 50%以上の場合
(3)航空実播工
(4)種子吹付工
森林整備 B
上記(1)から(4)まで以外の森林整備
道路工事
道路工事にあって、次に掲げる工事 - 土工、擁壁工、函渠工、側溝工、山止工、法面工及びこれに類する工事
鋼橋架設工事
鋼橋の運搬架設、塗装及び修繕に関する工事
簡易組立橋の塗装工事
PC 橋工事 工事現場における PC 桁の製作(工場製作桁は除く)、架設及び製作架設に関する工事
舗装工事
舗装の新設、修繕工事にあって、セメントコンクリート舗装工、アスファルト舗装工、セメント安定処理工、アスファルト安定処理工、砕石路盤工及びこれらに類する工事。ただし、小規模(パッチング等)な工事で施工箇所が点在する工事は除く
トンネル工事
トンネル工事のほか、施工方法がシールド工法又は作業員が内部で作業する推進工法による工事。ただし、本体工を完成後別件で照明設備、舗装、側溝等を発注する場合、又は供用開始後の照明設備、吹付け、舗装、修繕工事等は除く
道路維持工事
道路にあって、次に掲げる工事
法面工、法面工等の維持修繕に関する工事
道路標識、道路情報施設、電気通信設備、防護柵及び区画線等の設置
除草、除雪、清掃及び植栽等の工事
1、2 及び 3 に類する工事
公園工事・用地造成工事
公園緑地及び林業施設用地等の造成工事に関する工事にあって、敷地造成工、園路広場工、植樹工、芝付工、花壇工、日蔭棚工、ベンチ工、池工、遊戯施設工、運動施設工、法面工、敷地内舗装工、調整池工、排水工(敷地造成と併せて行うもの)、柵工及びこれらに類する工事
参考文献
森林土木ハンドブック:南方康,秋谷孝一監修,林業土木コンサルタンツ,林業土木コンサルタンツ技術研究所販売, 2005
図説 森林土木と地形・地質 :牧野道幸, 発行:(社)日本治山治水協会 ISBN 978-4-88965-227-7 C0061 2013年
森林土木学 ; 小林洋司・小野耕平・山崎忠久・峰松浩彦・山本仁志・鈴木保志・酒井秀夫・田坂聡明ら共著,2002年,ISBN 978-4-254-47032-1,朝倉書店
森林土木木製構造物施工マニュアル (平成26年版):森林土木木製構造物設計等指針及び同解説
民有林治山事業及び保安林制度のあらまし:日本治山治水協会
民有林森林整備事業の概要:日本林道協会
森林土木技術者のための環境保全用語辞典:森林土木コンサルタンツ刊
関連項目
アメリゴ・ホフマン
田中敏文
加藤誠平
吉無田水源
職業訓練指導員 (森林環境保全科)
治山ダム
林道/スーパー林道
QGIS
緑化工学
日本の森林
日本の林業
公共事業
土木 | 29,837 |
https://blender.stackexchange.com/questions/143311 | StackExchange | Open Web | CC-By-SA | 2,019 | Stack Exchange | https://blender.stackexchange.com/users/4937, rob | English | Spoken | 170 | 247 | How to configure this to correct translations?
How to configure this to correct translations? in I18n Branches
I found a total of 35 words or mistranslated instructions in my language, how can I configure this to correct them?
since when clicking on the place where the correction should be made and select Edit Translation, it tells me that it can not be edited, and that I need to edit in the source code which is in
all tools found in trunk / po / bl_i18n_utils dir (which is actually
linked from Blender's source code repository)!
When you find out this, you send me to these links but I do not have the slightest idea of what to do, I really did not understand it
bf-translations - Revision 4940: /
bf-translations - Revision 4939: /
Cos
relevant https://wiki.blender.org/wiki/Process/Translate_Blender
if I understood the blender wiki I would not come here and ask for a more detailed example of how to apply it or apply it
but i solve a few days, thanks
| 1,405 |
https://fr.wikipedia.org/wiki/%C3%89quipe%20d%27Aragon%20de%20football | Wikipedia | Open Web | CC-By-SA | 2,023 | Équipe d'Aragon de football | https://fr.wikipedia.org/w/index.php?title=Équipe d'Aragon de football&action=history | French | Spoken | 69 | 124 | L'équipe d'Aragon de football est une sélection régionale de football espagnole. Cette sélection n'est donc affiliée ni à la FIFA, ni à l'UEFA, ni au NF-Board. L'équipe ne participe donc pas aux grandes compétitions internationales, mais peut jouer des matchs amicaux. Elle a récemment battu le Chili 1 à 0 à Saragosse le .
Matchs internationaux
Joueurs
Voir aussi
Lien externe
Listes des matches internationaux de l'équipe
Aragon
Equipe | 42,029 |
https://stackoverflow.com/questions/31119535 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | Johnathon64, area28, https://stackoverflow.com/users/3549124, https://stackoverflow.com/users/410872, https://stackoverflow.com/users/4867148, raynjamin | English | Spoken | 233 | 460 | Element not detecting click event
I am generating HTML dynamically through javascript and have 2 glyphs enclosed within a table cell. The pencil glyph responds correctly however my code for the delete does not and I am not sure why.
This is the rendered HTML
<span id="edit-dp" class="glyphicon glyphicon-pencil" data-action-url="/Settings/GetDatapoint" data-id="3"></span>
<span id="delete-dp" class="glyphicon glyphicon-trash" data-id="3"></span>
and here is my javascript code to tie the event up to the element.
$(document).ready(function(){
$('#delete-dp').click(function (event) {
alert('pressed');
//add the datapoint ID to the array to be serialised to JSON and then stored in a html hidden field
deletedDatapoints.push($(this).data('id'));
});
})
Use .on().
$(document).ready(function(){
$(document).on('click', '#delete-dp', function (event) {
alert('pressed');
//add the datapoint ID to the array to be serialised to JSON and then stored in a html hidden field
deletedDatapoints.push($(this).data('id'));
});
});
You could scope it to the closest parent that is not dynamically generated to be more efficient than document.
This uses "event delegation". The problem that OP is experiencing is related to the element not existing when the JavaScript is run. Delegation avoids this by using event propagation.
@area28 I have no idea why but this works, thanks! Can you explain why this works as opposed to why my first approach did not work?
Check out this doc about event delegation. This explains it very well.
To handle dynamicly added events use
$('#delete-dp').on('click',function(event){
//do your stuff
});
that still doesn't seem to work.
| 50,307 |
f1evECQGY5U_1 | Youtube-Commons | Open Web | CC-By | null | How to Strengthen Your Brand Online | None | English | Spoken | 113 | 135 | 5 ways to strengthen your brand online People buy from brands they know, like, and trust Building a positive brand image is never simple, but it is critical to the success of any business Here are 5 tips to grow your brand online Define your brand It is how people can distinguish you from others Create a slogan Here's a pro tip Make it short 3-5 words and memorable Create the visuals Create a logo that resonates with your audience Use video marketing Video humanizes your brand and builds trust-boosting brand awareness and generating more leads Get social Participate in conversations and create interesting content Read more about implementing these tips at NewHorizon123.com.
| 38,594 |
https://ru.stackoverflow.com/questions/1114892 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | Stepan Kasyanenko, https://ru.stackoverflow.com/users/201703, https://ru.stackoverflow.com/users/384710, k1s3l | Russian | Spoken | 189 | 548 | Не создается соединение WebSocket
В попытке создать чат для сайта наткнулся на решение через WebSocket, с описанием событий проблем не возникло. Но само соединение не создается, я использую OpenServer, может дело в этом?
Получаю ошибку, возможно проблема с выбором порта. Заранее большое спасибо
Firefox can’t establish a connection to the server at ws://shop.local:8081/orders.php
Вот сам код
const socket = new WebSocket("ws://shop.local:8081/orders.php");
socket.onerror = function(e) {
let problems = document.createElement("div");
let buttons = document.getElementById('right-buttons');
problems.className = "problems";
problems.innerHTML = "<div>Проблемы с соединением</div><img src='/img/gif/giphy.gif'>";
buttons.append(problems);
}
socket.onclose= function(e) {
let problems = document.createElement("div");
let buttons = document.getElementById('right-buttons');
problems.className = "problems";
problems.innerHTML = "<div>Соединение закрыто</div>";
buttons.append(problems);
}
А покажите, как вы поднимаете websocket на сервере?
Не очень понимаю как это сделать. Для этого надо написать серверную часть на php? Выполняю все последовательно по гайдам с ютуба. Хотите сказать ошибка вызвано, тем что не описана работа сокета на сервере? Думаю вы правы, я не подумал об этом сразу
Гм, а с кем должен ваш вебсокет общаться? Для диалога нужны как минимум двое. Откуда должны данные приходить? Конечно, нужна серверная часть!
Спасибо за помощь. Предполагал, что ошибка вызваны js кодом, а это многое объясняет
| 41,851 |
https://sh.wikipedia.org/wiki/NMN%20nukleozidaza | Wikipedia | Open Web | CC-By-SA | 2,023 | NMN nukleozidaza | https://sh.wikipedia.org/w/index.php?title=NMN nukleozidaza&action=history | Serbo-Croatian | Spoken | 39 | 158 | NMN nukleozidaza (, NMNaza, nikotinamidna mononukleotidna nukleozidaza, nikotinamidna mononukleotidaza, NMN glikohidrolaza, NMNGhaza) je enzim sa sistematskim imenom nikotinamid-nukleotidna fosforibohidrolaza. Ovaj enzim katalizuje sledeću hemijsku reakciju
beta-nikotinamid D-ribonukleotid + H2O D-riboza 5-fosfat + nikotinamid
Reference
Literatura
Spoljašnje veze
EC 3.2.2 | 19,550 |
https://es.wikipedia.org/wiki/Borja%20Luna | Wikipedia | Open Web | CC-By-SA | 2,023 | Borja Luna | https://es.wikipedia.org/w/index.php?title=Borja Luna&action=history | Spanish | Spoken | 744 | 1,559 | Borja Luna (Madrid, 14 de noviembre de 1984) es un actor español.
Biografía
En 2007 se licenció en Interpretación Gestual por la Real Escuela Superior de Arte Dramático. Posteriormente, ha trabajado en teatro con directores como Miguel Narros, Josep María Flotats o Ernesto Caballero, y ha trabajado para centros de producción como el Centro Dramático Nacional, la Compañía Nacional de Teatro Clásico o el Teatro Español, entre otros. Fue miembro de la tercera promoción de la JovenCNTC y, en 2012, cofundó su propia compañía (Venezia Teatro) con la que trabajó produciendo y actuando hasta 2015.
En 2015 fue galardonado con el premio a Mejor actor revelación en los premios que concede The Central Academy of Drama (Pekín) de China por su trabajo en El Laberinto Mágico, del CDN.
En televisión hizo pequeños papeles en Yo soy Bea, Hospital Central en distintas temporadas, Escenas de matrimonio, El barco, Amar en tiempos revueltos; serie a la que se reincorporó con un nuevo personaje (Arturo) en su quinta temporada. En 2014 entra a formar parte del reparto de la tercera temporada de la serie histórica de TVE, Isabel, interpretando a Luis XII de Francia. En septiembre de 2016 se anuncia su fichaje por la serie Las chicas del cable, producida por Bambú Producciones para Netflix que se estrenó en 2017.
Actualmente a la espera del estreno de Sin huellas para Primevideo y de Cristo y Rey para Antena3
Fue nominado a los Premios de la Unión de Actores 2014 como Mejor actor secundario por su trabajo en la serie Isabel.
En 2014 Deil, cortometraje producido por Amanita films y del que él es coprotagonista, cosecha una Mención Especial del Jurado al Reparto en el Festival de Málaga de Cine Español.
Trayectoria
Televisión
Cine
Teatro
La violación de Lucrecia (2023), de José de Nebra - Versión de Rosa Montero - Dirección de Alberto Miguélez Rouco - Teatro de la Zarzuela - Dir. Rafael R. Villalobos.
La casa de los espíritus (2021), de Isabel Allende - Teatro Español - Dir. Carme Portaceli.
Macbeth (2020), de William Shakespeare - Centro Dramático Nacional - Dir. Alfredo Sanzol.
La vida de Galileo (2016), de Bertolt Brecht - Centro Dramático Nacional - Dir. Ernesto Caballero.
El sueño de una noche de verano (2015) de William Shakespeare - Metatarso Producciones - Dir. Darío Facal.
El laberinto mágico (2015), de Max Aub. Adapt. de José Ramón Fernández - CDN - Dir. Ernesto Caballero
Los desvaríos del veraneo (2014) de Carlo Goldoni - Venezia Teatro - Dir. José Gómez Friha.
El Greco y la Legión Tebana (2014) de Alberto Herreros - Dir. Ignacio García/Natalia Mateo.
La cortesía española (2014) de Lope de Vega - CNTC - Dir. Josep María Mestres.
La isla de los esclavos (2013) de Marivaux - Venezia Teatro - Dir. José Gómez Friha.
La noche toledana (2013) de Lope de Vega - CNTC - Dir. Carlos Marchena.
La Hostería de la Posta (2012) de Carlo Goldoni - Venezia Teatro - Dir. José Gómez Friha.
En la vida todo es verdad y todo es mentira (2012) de Calderón - CNTC - Dir. Ernesto Caballero.
La Primavera avanza (2012) de Ángel González - El Barco Pirata - Dir. Rebeca Ledesma.
Santo (2011) de Ignacio del Moral, Ignacio García May y Ernesto Caballero - Teatro Español / Teatro El Cruce - Dir. Ernesto Caballero.
Beaumarchais (2010) de Sacha Guitry - Teatro Español - Dir: Josep María Flotats.
La cabeza del dragón (2010) de Ramón Mª del Valle-Inclán - La Intemerata - Dir. Rakel Camacho (La Intemerata).
La cena de los generales (2009) de José Luis Alonso de Santos - Producciones Faraute / Teatro Español - Dir. Miguel Narros.
Monólogos de la Marihuana (2008) de Arj Baker, Doug Benson y Tony Camin - La Escalera de Jacob - Dir. José Antonio Ortega.
El Duelo (2007) de Marco Canale - Círculo de Bellas Artes - Dir. Raúl Fuertes.
Archifánfano, rey de los locos (2007) de Trini Díaz - Rencontres theatrales (Lyon) - Dir. Carlota Ferrer, Javier Hernández, Pablo Rivero y Álvaro Renedo.
Lecciones de Carlo (2007) de Ana Isabel Fernández Valbuena - R.E.S.A.D. - Dir. Nacho Sevilla/Fabio Mangolini.
Tierra de armas (2006) de Iñaki Arana - Teatro Divadlo Arena, Bratislava - Dir. Iñaki Arana.
Premios y nominaciones
Premios de The Central Academy of Drama (Beijin), China
Premios de la Unión de Actores
Festival de Málaga de Cine Español (FMCiE)
Referencias
Borja Luna IMDb
Borja Luna en Twitter
http://elrincon.tv/series/espana/entrevista-borja-luna/
http://shangay.com/borja-luna-de-actor-en-isabel-a-alumno-de-galileo
http://ccaa.elpais.com/ccaa/2014/12/11/madrid/1418327322_565186.html
https://web.archive.org/web/20161001185651/https://culturon.es/2015/04/25/entrevista-a-borja-luna-actor-de-la-hosteria-de-la-posta/
http://www.rtve.es/alacarta/videos/tanto-monta/tanto-monta-programa-8-maria-cantuel-borja-luna/2821314/
Actores de Madrid
Nacidos en Madrid | 39,745 |
https://stackoverflow.com/questions/58904856 | StackExchange | Open Web | CC-By-SA | 2,019 | Stack Exchange | John Rotenstein, fflood, https://stackoverflow.com/users/174777, https://stackoverflow.com/users/5553448 | English | Spoken | 266 | 554 | Error with PutBucketWebsite command in python sdk
I am creating static website in S3 bucket via python sdk using the code shown below
website_configuration = {
'ErrorDocument': {'Key': 'error.html'},
'IndexDocument': {'Suffix': 'index.html'}
}
s3_client.put_bucket_website(Bucket='bucket_name',
WebsiteConfiguration=website_configuration
)
Have also tried explicitly stating WebsiteConfiguration in the method argument.
I get the following error (with traceback)
Traceback (most recent call last):
File "/home/ec2-user/environment/aws-modern-application-workshop/sdk_code.py", line 107, in <module>
WebsiteConfiguration=website_configuration
File "/home/ec2-user/.local/lib/python3.6/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/home/ec2-user/.local/lib/python3.6/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (AllAccessDisabled) when calling the PutBucketWebsite operation: All access to this object has been disabled
Appears to be an issue with permissions, however the same program (code not shown) was used to create the bucket, set bucket policy and upload index.html & error.html files. In addition, I am able to create the static website via AWS CLI command within the same IDE session (using Cloud9). The IAM user associated with the Cloud9 session has ADMIN permission and I've checked the config and credential files to ensure they contain region and user keys, respectively.
I need suggestions for how to resolve this error.
amazon s3 - "AllAccessDisabled: All access to this object has been disabled" error being thrown when copying between S3 Buckets - Stack Overflow suggests that the bucket is not yours. Are you sure you have the correct bucket name? I ran your code on my own bucket and it worked fine, but when I used a bucket name of bucket_name, I got the AllAccessDisabled error message.
Thanks. Your comment helped me focus my efforts to fix the problem.
| 28,279 |
https://en.wikipedia.org/wiki/Phodoryctis%20stephaniae | Wikipedia | Open Web | CC-By-SA | 2,023 | Phodoryctis stephaniae | https://en.wikipedia.org/w/index.php?title=Phodoryctis stephaniae&action=history | English | Spoken | 55 | 111 | Phodoryctis stephaniae is a moth of the family Gracillariidae. It is known from Japan (Honshū, Shikoku and the Ryukyu Islands), Nepal and Taiwan.
The wingspan is 5.8-8.1 mm.
The larvae feed on Stephania species, including Stephania japonica. They probably mine the leaves of their host plant.
References
Acrocercopinae
Moths of Japan
Moths described in 1988 | 30,740 |
https://ro.wikipedia.org/wiki/Aristeguietia | Wikipedia | Open Web | CC-By-SA | 2,023 | Aristeguietia | https://ro.wikipedia.org/w/index.php?title=Aristeguietia&action=history | Romanian | Spoken | 26 | 89 | Aristeguietia este un gen de plante din familia Asteraceae, ordinul Asterales.
Răspândire
Caractere morfologice
Tulpina
Frunza
Florile
Semințele
Specii
Imagini
Referințe
Note
Bibliografie
Legături externe
Asteraceae | 17,142 |
https://it.wikipedia.org/wiki/HPGL | Wikipedia | Open Web | CC-By-SA | 2,023 | HPGL | https://it.wikipedia.org/w/index.php?title=HPGL&action=history | Italian | Spoken | 457 | 858 | HPGL, a volte citato come HP-GL, è il principale linguaggio di controllo per stampanti usato dai plotter Hewlett-Packard. Il nome è la sigla di Hewlett-Packard Graphics Language. Successivamente è diventato uno standard per la maggior parte dei plotter. In altre parole è un protocollo di stampa indicato per l'uso nelle periferiche come plotter e cutter.
Caratteristiche
Il linguaggio, o meglio il protocollo, è formato da una serie di due lettere seguite da altri parametri numerici opzionali che sono la parte variabile del comando.
Per esempio un arco può essere disegnato su di una superficie inviando la seguente stringa comando:
AA100,100,50;
Questo significa Arco Assoluto ed i parametri successivi indicano che il centro di questo arco è posto ad un valore di 100,100 della superficie della pagina ed ha un angolo di partenza di 50° misurati in senso antiorario. Un quarto parametro, non usato nell'esempio, specifica l'estensione dell'arco che, come standard, è di 5°.
Tipicamente un file HPGL inizia con una serie di comandi di configurazione del plotter o della stampante ricevente, seguito da una lunga serie di righe di comando di disegno grafico.
Nella tabella un esempio di file HPGL:
{| class="wikitable"
|+ Un esempio di file HPGL
|-----
! Comando
! Significato
|-----
| IN; || inizializzazione, inizio di un lavoro di plotting
|-----
| IP;
| impostazione del punto di inizio (origine), in questo caso è il default 0,0
|-----
| SC0,100,0,100;
| impostazione della scala: X,Y significa che la pagina è da 0 a 100 nei due assi X e Y
|-----
| SP1; || seleziona la penna 1
|-----
| PU0,0;
| muovi la penna al punto di partenza 0,0 per iniziare la successiva azione
|-----
| PD100,0,100,100,0,100,0,0;
| abbassa la penna e muovila nei punti indicati (disegna un quadrato nella pagina)
|-----
| PU50,50; || solleva la penna e muovila in 50,50
|-----
| CI25; || disegna un cerchio con un raggio di 25
|-----
| SS; || seleziona il font di caratteri standard
|-----
| DT*,1;
| imposta il carattere asterisco come delimitatore di testo, che non sarà stampato.(1 significa "vero" cioè SET)
|-----
| PU20,80; || solleva la penna e muovila in 20,80
|-----
| LBCiao Mondo*; || scrivi "Ciao Mondo"
|}
Il sistema di coordinate era basato sulla più piccola unità di scostamento (o passo) che i plotter HP potevano avere ed era di 25 µm (cioè di 40 passi per millimetro). Le coordinate spaziali sono positive o negative con numeri binari a virgola mobile, nella specifica ±230.
Voci correlate
File Gerber altro formato di descriziode grafico usato nella fabbricazione dei circuiti stampati o ad esempio nei sistemi di taglio della stoffa nell'industria dell'abbigliamento o calzaturiera.
Collegamenti esterni
(in lingua inglese)
Linguaggi di descrizione di pagina
Formati di file | 37,819 |
https://ceb.wikipedia.org/wiki/Hesthaugen%20%28bungtod%20sa%20Noruwega%2C%20Hordaland%20Fylke%2C%20B%C3%B8mlo%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Hesthaugen (bungtod sa Noruwega, Hordaland Fylke, Bømlo) | https://ceb.wikipedia.org/w/index.php?title=Hesthaugen (bungtod sa Noruwega, Hordaland Fylke, Bømlo)&action=history | Cebuano | Spoken | 180 | 345 | Alang sa ubang mga dapit sa mao gihapon nga ngalan, tan-awa ang Hesthaugen.
Bungtod ang Hesthaugen sa Noruwega. Nahimutang ni sa munisipyo sa Bømlo ug lalawigan sa Hordaland Fylke, sa habagatan-kasadpang bahin sa nasod, km sa kasadpan sa Oslo ang ulohan sa nasod. metros ibabaw sa dagat kahaboga ang nahimutangan sa Hesthaugen. Ang Hesthaugen nahimutang sa pulo sa Lamholmen.
Ang yuta palibot sa Hesthaugen patag sa amihang-kasadpan, apan sa habagatang-sidlakan nga kini mao ang kabungtoran. Ang yuta palibot sa Hesthaugen nga tinakpan sa ubos sa kasadpan. Kinahabogang dapit sa palibot ang Siggjo, ka metros ni kahaboga ibabaw sa dagat, km sa habagatan-sidlakan sa Hesthaugen. Ang kinadul-ang mas dakong lungsod mao ang Leirvik, km sa sidlakan sa Hesthaugen. Hapit nalukop sa lasang nga dagomkahoy ang palibot sa Hesthaugen. Sa rehiyon palibot sa Hesthaugen, kapuloan, mga lawis, ug nga bato nga pormasyon talagsaon komon.
Ang klima kasarangan. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Hulyo, sa °C, ug ang kinabugnawan Pebrero, sa °C.
Saysay
Ang mga gi basihan niini
Mga bungtod sa Hordaland Fylke
sv:Hesthaugen (kulle i Norge, Hordaland fylke, Bømlo) | 30,718 |
https://de.wikipedia.org/wiki/Liste%20der%20L%C3%A4nderspiele%20der%20Fu%C3%9Fballnationalmannschaft%20von%20Cura%C3%A7ao | Wikipedia | Open Web | CC-By-SA | 2,023 | Liste der Länderspiele der Fußballnationalmannschaft von Curaçao | https://de.wikipedia.org/w/index.php?title=Liste der Länderspiele der Fußballnationalmannschaft von Curaçao&action=history | German | Spoken | 240 | 571 | Die nachfolgende Liste enthält alle Länderspiele der Fußballnationalmannschaft von Curaçao der Männer seit der Gründung des Fußballverbandes von Curaçao, der Federashon Futbòl Kòrsou (FFK), im Oktober 2010. Bereits im Februar 2010 kam es zu einem ersten inoffiziellen Länderspiel zwischen Auswahlmannschaften von Curaçao und Bonaire, welche zu diesem Zeitpunkt noch Teil der Fußballnationalmannschaft der Niederländischen Antillen waren. Sein erstes offizielles Länderspiel bestritt Curaçao am 29. Oktober 2010 gegen Aruba. Bisher wurden 57 Länderspiele ausgetragen, von denen jedoch neun von der FIFA nicht anerkannt werden. Diese sind die ersten beiden Spiele, welche vor dem FIFA-Beitritt der FFK stattfanden und von der FIFA als die letzten beiden Länderspiele der Niederländischen Antillen gezählt werden, sowie acht weitere Spiele gegen Bonaire, Französisch-Guayana, Guadeloupe und Martinique, deren Nationalverbände kein FIFA-Mitglied sind.
Länderspielübersicht
Legende
Erg. = Ergebnis
n. V. = nach Verlängerung
i. E. = im Elfmeterschießen
abg. = Spielabbruch
H = Heimspiel
A = Auswärtsspiel
* = Spiel auf neutralem Platz
Hintergrundfarbe grün = Sieg
Hintergrundfarbe gelb = Unentschieden
Hintergrundfarbe rot = Niederlage
Statistik
In der Statistik werden nur die offiziellen Länderspiele berücksichtigt.
(Bilanz der inoffiziellen Länderspiele: 1 Spiel, 1 Sieg, 0 Unentschieden, 0 Niederlagen, 4:0 Tore)
Legende
Sp. = Spiele
Sg. = Siege
Uts. = Unentschieden
Ndl. = Niederlagen
Hintergrundfarbe grün = positive Bilanz
Hintergrundfarbe gelb = ausgeglichene Bilanz
Hintergrundfarbe rot = negative Bilanz
Gegner
Kontinentalverbände
Anlässe
Spielarten
Austragungsorte
Spielergebnisse
Siehe auch
Fußballnationalmannschaft von Curaçao
Weblinks
Länderspielübersicht FIFA
Länderspielübersicht World Football Elo Ratings
Curaçao
!Landerspiele | 24,520 |
https://ce.wikipedia.org/wiki/%D0%9A%D0%B5%D1%81%D1%82%D0%B0%D0%BD%D0%B5%D0%BF%D0%B8%D0%BD%D0%B0%D1%80%20%28%D0%94%D0%B6%D0%B0%D0%BD%D0%B8%D0%BA%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Кестанепинар (Джаник) | https://ce.wikipedia.org/w/index.php?title=Кестанепинар (Джаник)&action=history | Chechen | Spoken | 40 | 177 | Кестанепинар () — Туркойчоьнан Ӏаьржа хӀордан регионан Самсун провинцин (ил) Джаникнан кӀоштара эвла/микрокӀошт ().
Географи
Истори
Бахархой
Билгалдахарш
Хьажоргаш
Самсун провинцин нах беха меттигаш
Самсун провинцин микрокӀошташ
Джаникнан микрокӀошташ
Джаникнан кӀоштан нах беха меттигаш
Туркойчоьнан микрокӀошташ
Туркойчоьнан нах беха меттигаш | 10,090 |
https://ceb.wikipedia.org/wiki/Batkoa%20amrascae | Wikipedia | Open Web | CC-By-SA | 2,023 | Batkoa amrascae | https://ceb.wikipedia.org/w/index.php?title=Batkoa amrascae&action=history | Cebuano | Spoken | 60 | 124 | Kaliwatan sa uhong ang Batkoa amrascae. sakop sa ka-ulo nga Zygomycota, ug Una ning gihulagway ni Siegfried Keller ug Villac. ni adtong 1997. Ang Batkoa amrascae sakop sa kahenera nga Batkoa, ug kabanay nga Entomophthoraceae.
Kini nga matang hayop na sabwag sa:
Pilipinas
Walay nalista nga matang nga sama niini.
Ang mga gi basihan niini
Abungawg-uhong
Abungawg-uhong sa Pilipinas
Batkoa | 16,476 |
https://bg.wikipedia.org/wiki/%D0%93%D1%80%D0%B8%D0%B9%D0%BD%D0%BF%D0%B8%D0%B9%D1%81 | Wikipedia | Open Web | CC-By-SA | 2,023 | Грийнпийс | https://bg.wikipedia.org/w/index.php?title=Грийнпийс&action=history | Bulgarian | Spoken | 4,280 | 10,990 | Грийнпийс (, в превод Зелен мир) е неправителствена екологична организация с офиси в над 40 страни и с международен координационен орган в Амстердам, Нидерландия.
Членовете на Грийнпийс имат за цел да гарантират способността на Земята да осигурява живота в цялото му разнообразие и фокусира усилията си към въпроси като глобалното затопляне, обезлесяването, свръхулова, промишления китолов и антиядрените въпроси.
Грийнпийс използва преки действия, лобиране и изследвания, за да постигне целите си. Глобалната организация не приема финансова помощ от държавни организации и институции, политически партии и бизнес организации, за да осъществи своята дейност, а набира средства само от доброволни дарения. Счита се, че Грийнпийс има над 2,8 млн. дарители, индивидуални поддръжници и Фондация за безвъзмездни средства. Грийнпийс е една от основателките на Хартата на отчетността на Инго. Международната неправителствена организация възнамерява да насърчава отчетността и прозрачността на действията си.
Грийнпийс възниква като движение за мир и антиядрени протести във Ванкувър, Британска Колумбия, в началото на 1970 г. На 15 септември 1971 г. новосъздаденият комитет „Не правете вълни“ изпраща от Ванкувър за протеста чартърен кораб „Филис Кормак“, преименуван на Грийнпийс, за да се противопостави на тестването от САЩ на ядрени устройства в Амчитка, Аляска. Комитетът „Не правете вълни“ впоследствие приема името Грийнпийс.
След няколко години, Грийнпийс се разпространява в няколко страни и започва кампания по други въпроси, свързани с околната среда, като например търговския китолов и токсичните отпадъци. В края на 1970 г., различни регионални групи на Грийнпийс формират Грийнпийс Интернешънъл, за да контролират изпълнението на целите и дейността на регионалните организации в световен мащаб. Грийнпийс получава вниманието на международната общност през 1980 г., когато френското разузнаване бомбардира „Рейнбоу Уориър“ – един от най-известните кораби, управлявани от Грийнпийс. През следващите години Грийнпийс се превръща в една от най-големите природозащитни организации в света.
История
Произход
В края на 1960 г., САЩ имат планове за подземен ядрен опит на оръжие в тектонично нестабилен остров на Амчитка в Аляска. Заради земетресението от 1964 г. в Аляска, плановете повдигат някои притеснения за теста – дали няма да задействат земетресения и причиняват цунами. Антиядрени активисти протестират срещу теста на границата на САЩ и Канада с лозунги „Да не правим вълни“. Но протестите не спират САЩ от детониране на бомбата.
Въпреки че нито земетресение, нито цунами последват теста, опозицията се разраства, защото САЩ обявява, че ще взривяват бомба пет пъти по-мощна от първата. Сред противниците са били Джим Боулън, ветеран, който е служи на американския флот и Ървинг и Дороти Стоун. Като членове на Sierra Club Канада, те са били разочаровани от липсата на действия от организацията. От Ървинг Стоун Джим Боулън научава за формата на пасивна съпротива, „bare witness“, при която срещу нежелателна дейност се протестира просто чрез присъствие. Мари, съпругата на Джим Боулън, решава да отплава за Амчитка, вдъхновена от антиядрените пътувания на Алберт Бигълоу през 1958 г. Идеята в крайна сметка стига до пресата и бива свързана с Клуб Сиера. Клуб Сиера не харесва тази връзка и през 1970 г. за протеста е създаден комитетът „Не правете вълни“. Ранните срещи са проведени в Шонеси в дома на Роберт и Боби Хънтар. Впоследствие дома Стоу на ул. Кортни 2775 се превръща в централен офис. Първият офис е открит задкулисно, на Cypress и Bwy SE ъгъл в Kitsilano, (Ванкувър), преди да се премести на 4-та улица запад в Мейпъл.
Има спор кои са действителните основатели на комитета „Не правете вълни“. Изследователката Ванеса Тимер описва първите членове като „групата на слабо организирани протестиращи“. Според текущата уеб страница на Грийнпийс, учредителите са Дороти и Ървинг Стоун, Мари и Джим Боулън, Бен и Дороти Меткалф и Робърт Хънтър. Книгата „Грийнпийс – Историята“ гласи, че учредителите са Ървинг Стоун, Джим Боулън и Пол Коте, студент по право и мирен активист. Интервю с Дороти Стоу, Дороти Меткалф, Джим Боулън и Робърт Хънтър идентифицира основателите като Пол Коте, Ървинг и Дороти Стоун и Джим и Мари Боулън. Пол Уотсън, който също участвал в антиядрени протести, твърди, че той също е един от основателите. Друг ранен член, Патрик Мур също така е заявява, че е един от основателите. Грийнпийс описва Мур като един от основателите и първите членове на комитета „Не правете вълни“, но по-късно заявява, че въпреки че Мур е начален член, той не е основател. Според собственото писмо на Мур, той кандидатства към вече съществуващата организация през март 1971 година.
Ървинг Стоун е организатор на благотворителния концерт (подкрепен от Джоан Баез), проведен на 16 октомври 1970 г. в Тихия Колизеум във Ванкувър. Концертът е организиран за финансова основа на първата кампания на Грийнпийс. „Амчитка, 1970 концерт“, който стартира през ноември 2009 г., е публикуван от Грийнпийс на CD и също е на разположение като mp3 изтегляне чрез Интернет страницата на концерта Амчитка. Използвайки средствата, събрани с концерта, комитетът „Не правете вълни“ наема кораб, собственост на Филис Кормак и отплава от Джон Кормак. Корабът е преименуван на „Грийнпийс“ за протеста, след термин, използван от активиста Бил Дарнел.
През есента на 1971 г. корабът „Увереност“, плаващ към Амчитка е изправен пред американската брегова охрана, която принуждава активистите да се върнат назад. Заради това и все по-лошото време екипажът решава да се върне в Канада, само за да разбере, че новината за тяхното пътуване е генерирала симпатия за протеста им. След това Грийнпийс се опитват да се движат с други плавателни съдове, докато САЩ детонира бомбата. Ядреният тест бил критикуван и САЩ решават да не продължават с плановете си на Амчитка.
През 1972 г. комитетът „Не правете вълни“ променя официалното си име на Грийнпийс. Въпреки че организацията е основана под друго име през 1970 г. и официално е наречена „Грийнпийс“ през 1972 г., раждането на самата организация датира от първия протест през 1971 г. Грийнпийс също така посочва, че „не е имала само един основател и името, идеята, духът, тактиката и интернационализма на организацията имат отделна приемственост“.
Както Рекс Уелер пише в своята хронология, през 1969 г. „тихият дом на Кортни Стрийт скоро ще се превърне в център от монументално, глобално значение“. Някои от първите срещи на Грийнпийс са проведени там и той служи като първи офис на фондация Грийнпийс.
Първоначалният офис в дома на Стоу (и след първия концерт за набиране на средства) се премества в други частни домове, преди да се установи през есента на 1974 г. в малък офис, споделен със SPEC група на околната среда, на 4-то авеню 2007 на Мейпъл Стрийт, срещу кварталната кръчма „Бимини“. Адресът на тази служба се променя на 4-то авеню 2009. Сградата все още съществува и офисът е нагоре по стълбите – врата 2009.
След Амчитка
След като ядрените тестове в Амчитка приключват, Гриинпийс измества фокуса си върху френските ядрени опити в атола Моруроа във Френска Полинезия. Младата организация има нужда от помощ за организирането на протести и Дейвид Мактагърд – бивш бизнесмен, живеещ в Нова Зеландия, се свързва с тях. През 1972 г. неговата 12,5 м яхта „Вега“ бива прекръстена на „Гриинпийс III“ и отплава на антиядрен протест към Моруроа в опит да прекъсне френските ядрени тестове. Пътуването е спонсорирано и организирано от новозеландския клон на Кампанията за ядрено разоръжаване. Френският флот се опитва да спре протеста по няколко начина включително и чрез покушения над Дейвид Мактагърд. Предполага се, че Мактагърд е пребит дотолкова, че загубва зрението на едното си око. За щастие един от членовете на екипажа заснема инцидента и му дава публичност. Поради това Франция обявява, че ще спре атмосферните ядрени тестове.
В средата на 70-те някои от членовете на Гриинпийс започват индивидуална кампания – проектът Ахаб срещу комерсиалния лов на китове, тъй като Арвинг Стоул е против Гриинпийс да се фокусира върху друго освен борбата срещу ядрените опити. След като той умира през 1975 г. Филис Кормак заминава от Ванкувър, за да се срещне със съветските ловци на китове край бреговете на Калифорния. Активистите от Гриинпийс прекъсват лова като застават между харпуните и китовете. Кадри от протеста обикалят целият свят. По късно през 70-те организацията разширява фокуса си като включва токсичните отпадъци и комерсиалния лов на тюлени.
Организационно развитие
Етапи на развитие
Грийпийс еволюира от група канадци протестиращи в лодка до по-малко консервативна група природозащитници с афинитет към контракултурата и хипи движенията от 1960 и 1970 г. Социалният и културен фон допринесли за създаването на Грийнпийс предизвикват развитието на нови кодекси на социално, екологично и политическо поведение. Историкът Франк Зелко коментира, че „за разлика от „Приятели на Земята“ например, която се създава като готова идея на Дейвид Брауер, Грийнпийс се развива по-еволюционен начин.“
В средата на 70-те г. на XX век независими групи използващи името „Грийнпийс“ започнали да се появяват навсякъде по света. През 1977 г. има между 15 и 20 групи Грийнпийс в цял свят. В същото време канадският офис на Грийнпийс бил в тежки дългове. Възникнали спорове между офисите по отношение набирането на средства и организационното ръководство. Така глобалното движение се разделя като в Северна Америка офисите са склонни да са под ръководството на офиса във Ванкувър и неговия президент Патрик Мур.
След инцидентите в Моруроа, Дейвид МакТагърт се мести във Франция за битка в съда с френската държава. Той спомага за развитието на сътрудничеството между европейските групи на Грийпийс. Дейвид МакТагърт съветва канадската Грийнпийс да приме нова структура, която ще обедини разпръснатите офиси на Грийнпийс под егидата на една глобална организация. Европейският Грийнпийс плаща канадския дълг на тамошната организация и така на 14 октомври 1979 г. се създава Грийпийс Интернешънъл. Съгласно новата структура, местните офиси имат за задължение да дарят процент от доходите си на международната организация. Някои групи като „Лондон Грийнпийс“ (разпада се през 2001 г.) и базираната в САЩ Грийнпийс (все още функционира) обаче остават независими от Greenpeace International.
Развитие на структурата
Грийнпийс е световна екологична организация, обединена в Greenpeace International с главна квартира в Амстердам и 27 национални и регионални офиси в 41 държави на света.
Националните и регионалните офиси има широка автономия при решенията си да се включат в глобалните кампании на организацията и да вложат регионален контекст на участието си. Те организират на насърчават групи от доброволци и дарители за подпомагане на инициативите на Грийнпийс като цяло или в регионален план.
Към март 2007 г. Грийнпийс има следните национални и регионални офиси:
Национални офиси: Аржентина, Белгия, Бразилия, Великобритания, Германия, Гърция, Индия, Испания, Италия, Канада, Китай, Люксембург, Мексико, Нидерландия, Нова Зеландия, Русия, САЩ, Франция, Чехия, Чили, Швейцария, Япония;
Регионални офиси:
Грийнпийс Австралия и Тихи океан: Австралия, Папуа Нова Гвинея, Соломонови острови, Фиджи;
Грийнпийс Нордик: Дания, Норвегия, Швеция, Финландия;
Грийнпийс Централна и Източна Европа: Австрия, Босна и Херцеговина, България, Полша, Словакия, Словения, Сърбия, Унгария, Черна гора (заб.: Грийнпийс няма постоянни представители в балканските страни);
Грийнпийс Средиземноморие: Израел, Кипър, Ливан, Малта, Тунис, Турция;
Грийнпийс Югоизточна Азия: Филипини, Индонезия, Тайланд;
Приоритети
На официалния си сайт Грийпийс определя за свои мисии следните:
Грийнпийс е независима глобална кампанийна организация, която работи в насока да промени схващания и отношения, да предпазва и съхранява природата и да насърчава мира чрез:
Катализиране на енергийна революция, за да се отговори на заплаха номер едно пред нашата планета – промяната на климата.
Защитаване на нашите океани чрез борба срещу бракониерите и разрушителния риболов, както и създаване на глобална мрежа от морски резервати.
Защита на оставащите вековни гори в световен мащаб, които зависят от влиянието на много животни, растения и хора.
Работа в насока разоръжаване и постигане на мир чрез намаляване на зависимостта от ограничени ресурси и призив за премахване на всички ядрени оръжия.
Създаване на бъдеще без токсични вещества, с по-безопасни алтернативи на опасни химикали в продуктите и производството днес.
Водене на кампания за устойчиво земеделие, чрез насърчаване на социално и екологично отговорни земеделски практики.
Климат и енергия
Грийнпийс е сред първите организации, която формулира сценарии за устойчиво развитие за смекчаване на последиците от промените в климата, което се случва през 1993 г. Според социолозите Марк Мормонт и Кристин Дасной, през 90-те организацията изиграва значителна роля за повишаването на обществената осведоменост на темата за глобалното затопляне. Грийнпийс също така се фокусира върху CFC съединенията (хлорофлуоровъглероди – фреони, които са изключително разрушителни за озоновия слой), които влияят върху глобалното затопляне. В началото на 1990-те години Грийпийс разработва хладилник по нова технология изключваща наличието на CFC съединения. Марката хладилници е наречена „Грийнфрийз“ и е пусната за масово производство. През 1997 г. Програмата за околна среда на ООН награждава Грийнпийс за „дължимите заслуги за защита на озоновия слой на Земята“. През 2007 г. една трета от общото производство на хладилници в света е въз основа на технологията „Грийнфрийз“. Има над 200 милиона единици в употреба.
Грийнпийс смята, че глобалното затопляне е най-големият проблем пред околната среда на Земята. Организацията твърди, че глобалните емисии на парникови газове ще достигнат своя връх през 2015 г. и че ще трябва да бъдат намалени колкото е възможно до 2050 г. За целта Грийнпийс призовава индустриализираните страни да намалят своите емисии най-малко с 40% до 2020 г. (спрямо нивата през 1990 г.), както и да се осигури стабилно финансиране на развиващите се страни за изграждане на устойчив енергиен капацитет, за да се адаптират към неизбежните последици от глобалното затопляне и да се спре обезлесяването до 2020 г. Заедно с EREC (Европейски съвет за възобновяема енергия), Грийнпийс формулира глобален енергиен сценарий „Енергийна (Р)еволюция“, в който 80% от общата енергия в света се произвежда с възобновяеми енергийни източници и емисиите от енергийния сектор са намалели с над 80% до 2050 година.
Използвайки преки действия, Грийнпийс протестират няколко пъти срещу въглищата, окупирайки въглищни електроцентрали и блокирайки пратки на въглища и минни операции в места като Нова Зеландия, Свалбард, Австралия и Обединеното кралство. Активистите критикуват още извличането на петрол от петролни пясъци. Те саботират работния процес в Атанабаска, Канада.
В България активисти на Грийнпийс се обявяват против ядрената енергетика в навечерието на първия референдум в историята на Република България след промените през 1989 г. На 27 януари 2013 г. се провежда референдум с въпрос „Да се развива ли ядрената енергетика на Република България чрез изграждане на нова ядрена електроцентрала“. До искането за провеждане на референдум се стигна след като през месец март 2012 г. мнозинството на ГЕРБ в парламента прие решение за прекратяване на строежа на АЕЦ „Белене“, а в отговор от БСП започнаха подписка за свикване на допитване за изграждане на атомната централа. За да изразят ясно позицията си относно референдума редица активисти на Грийнпийс – България, обикалят градовете в цялата страна с антиядрени послания. Организацията призовава гражданите в България „Информирай себе си! Информирай приятелите си! Гласувай с НЕ на 27 януари!“, активистите издигат лозунгите, че „Ядрената енергия е опасна, скъпа и корумпирана“ и „Избери алтернативите, гласувай с НЕ!“. Грийнпийс – България, организира и антиядрено училище за депутатите пред сградата на Народното събрание като им предлага различна информация за опасностите и заплахите от развитието на този тип енергетика.
Делото „Kingsnorth“
През октомври 2007 г., шестима протестиращи от Грийнпийс са арестувани за влизане с взлом в електроцентралата Kingsnorth, катерейки се по 200-метров комин, изрисуване на името „Гордън“ на комина и причинявайки щети на стойност около 30 000 паунда. На последвалия процес срещу тях, те признават опита си да саботират станцията, но твърдят, че действията им са законово обосновани, защото се опитвали да предотвратят промените в климата и предизвикването на по-голяма вреда в световен мащаб. Доказателства се чуват от екологичния съветник на Дейвид Камерън – Зак Голдсмит, също от учения Джеймс Хенсън и инуитски лидер от Гренландия. Те всички казват, че промяната в климата вече се отразява сериозно върху живота в целия свят. Шестимата активисти са оправдани. Това е първият случай, когато се използва подобен довод за предотвратяване на материални щети и се счита за „законно оправдание“ в съда. Вестниците „Дейли телеграф“ и „Гардиън“ описват оправдателната присъда като смущение в правителството на Гордън Браун. През декември 2008 г. „Ню Йорк Таймс“ посочи тази присъда като една от най-влиятелните идеи на годината.
„Да преминем отвъд нефта“
Като част от позицията си по темата за възобновяемата енергия, Грийнпийс стартира кампанията си „Да преминем отвъд нефта“. Тя е фокусирана върху забавянето и евентуално приключването на световното потребление на петрол с активистки дейности насочени срещу компании, които целят добиването на нефт. Голяма част от дейностите на тази кампания са били съсредоточени върху добива на нефт в Арктика и районите, засегнати от бедствието Deepwater Horizon.
Друг метод прилаган от Грийнпийс в тази кампания е оказването на политически натиск върху правителства, които позволяват проучванията за нефт на техните територии.
Ядрена енергия
Грийнпийс гледа на ядрената енергия като на относително малка индустрия с големи проблеми като например потенциални щети на околната среда и рисковете от добива на уран, разпространението на ядрени оръжия, както и проблемите с ядрените отпадъци. Организацията твърди, че потенциалът на ядрената мощ за намаляване на глобалното затопляне е пределен. Грийнпийс разглежда строителството на АЕЦ Олкилуото във Финландия като пример за проблемите на изграждането на нова ядрена мощност.
Антиядрена реклама
През 1994 г. Грийнпийс публикува антиядрена реклама във вестник, която включва твърдението, че ядрените съоръжения Sellafield ще убият 2000 души през следващите 10 години. Също така в рекламата има снимка на дете, посочено че е заболяло от хидроцефалия заради изпробването на ядрени оръжия в Казахстан. Това води до спирането на рекламата. Грийнпийс се защитава като посочва казахски доктор, който твърди, че детето е в такова състояние именно заради атомните тестове. ООН изчислява, че атомните тестове в Казахстан водят до заболяването на около 100 000 души от цели три поколения.
Горска кампания
Грийнпийс се стреми да опазва непокътнати първичните гори от обезлесяване. Компанията обвинява няколко компании като Юниливър, Найк и Макдоналдс свързвайки ги с изсичането на тропически гори, което довежда до промяна в политиките на горепосочените. Организацията заедно с други екологични неправителствени организации провежда кампания целяща ЕС да забрани вноса на нелегално добит дървен материал.
Двойка от Токио
През 2008 г. 2 активисти на Грийнпийс, лобиращи против китолова, Юничи Сато и Тору Сузуки, открадват съд с китово месо от пратка към префектура Аомори, Япония. Мотивите им не лежат на много силна обосновка и те биват арестувани. По-късно ги съда в Аомори ги осъжда за нахлуване в чужда собственост и кражба.
ГМО
Грийнпийс подкрепя гладуващите страни за отказа им от генно-модифицирани храни (ГМО). Според природозащитниците тази практика може да стимулира развиващите се икономики и да направи храните по-сигурни, добавяйки, че ако африканците наистина нямат друга алтернатива, въпросната храна трябва да бъде преработена, за да може да се отглежда. Това условие предразполага съседните на Зимбабве страни – Замбия и Малави да приемат практиката по отношение на ГМО. След като Замбия забранява всички помощи съдържащи ГМО, бившият министър на земеделието в страната отправя критики – как различните НПО, които са се изказали одобрително относно действията на правителството, ще излязат с чиста съвест след приемането на промените? Загрижени относно решението на Замбия, от Грийнпийс обявяват, че ако няма предложени помощи освен ГМО, то помощ, съдържаща ГМО не трябва да бъде отказвана от страната. Но правителството на Замбия взема окончателно решение да откаже ГМО храните и така, както много други правителства решава да не слуша съветите на организацията.
Златен ориз
Грийнпийс се противопоставя на планираното използване на – разновидност на сорта Oryza sativa rice, произвеждан чрез генна модификация, за да биосинтезира бета-каротин, чрез който се синтезира витамин А в ядивните части на растението. Според Грийпийс „златният ориз“ не успява да се справи в борбата с недохранването в продължение на 10 години – период, в който много други алтернативни методи успяват да го сторят. Алтернативата на Грийнпийс е да се ограничи отглеждането на единични култури като „златен ориз“ и да се насърчи производството на храни, естествено богати на хранителни вещества (съдържащи друг вид хранителни съставки, различни от тези в „златния ориз“ като добавка на бета-каротина). Грийнпийс твърди, че ресурсите трябва да бъдат използвани в такава насока, която дава резултат и помага в справянето с глада и недохранването.
Подновяването на тези опасения съвпада с публикуваната в сп. „Нейчър“ статия за разновидност на „златния ориз“, съдържаща по-високи нива на бета-каротин. Този „златен ориз 2“ – произведен и патентован от „Syngenta“, предизвиква организацията да поднови твърдението си, че проектът се движи с мотива за печелене на пари. Д-р Пракаш, председател на Центъра за изследване на растителни биотехнологии в университета Тускаджи и президент на AgBioWorld Foundation, изразява мнение и осъжда критиките, че биотехнологиите се развиват само и единствено с цел печалба, която се преследва в западните страни и е без ползи за потребителите. Златният ориз доказва, че критиците грешат и затова те се опитват по всякакъв начин да злепоставят проекта.
Токсини
През юли 2011 г. излиза т.нар. Dirty Laundry доклад (докладът „Мръсно пране“), уличаващ едни от най-големите производители на спортна екипировка в това, че изхвърлят токсични отпадъци в някои китайски реки. Докладът насочва към проблема със замърсяването на водите вследствие на изхвърляне на токсични отпадъци от текстилната промишленост в страните. Разследванията насочват към отпадъчните води, отделени от две съоръжения в Китай – едното, принадлежащо на Youngor Group, разположено на делтата на река Яндзъ и другото, част от Well Dyeing Factory Ltd., намиращо се на притока на Перлената река. Научен анализ от пробите, взети от двете съоръжения, разкрива наличността на опасни и устойчиви токсични химикали отделяни във водите, включително алкилфеноли, перфлуорирани съединения и пр.
Докладът твърди, че организациите стоящи зад тези фабрики имат бизнес отношения и по всяка вероятност обслужват световни гиганти в текстилния бизнес като Адидас, Найк, Пума, Конвърс и др.
Структура
Управление
Състои се от Грийнпийс Интърнешънъл (ГПИ), със седалище в Амстердам, Холандия и 28 регионални офиса, работещи в 45 страни по света. Регионалните офиси работят сравнително самостоятелно, а ГПИ има по-скоро надзорна функция. Изпълнителният директор на организацията се избира от борда на директорите на ГПИ. Сегашният директор на ГПИ е Куми Найдо, а председател на Управителния съвет е Лалита Рамадас. Грийнпийс има персонал от 2400 души и 15 000 доброволци в световен мащаб.
Всяко регионално бюро има регионален изпълнителен директор, избиран от регионалния борд на директорите. Регионалните управления избират довереник/пратеник, който да участва в годишните събрания на ГПИ, на които се назначават нови и се отстраняват стари членове на борда на директорите на ГПИ. Друга основна цел на ежегодните срещи на върха е да се изградят цели и насоки на работа, стратегии, съобразени с докладите, които регионалните представители носят, както и докладите на членовете на борда на директорите на ГПИ.
Финансиране
Финансирането на Грийнпийс се осъществява от индивидуални поддръжници и организации. Организацията публикува всички получени дарения, за да доказва, че не получава нежелана помощ, евентуално свързана с нечии интереси. Грийнпийс не приема дарения от правителства, правителствени организации, партии и корпорации, за да избегне евентуален натиск или негативно влияние от тяхна страна. Дарения от фондации, финансирани от правителства, партии и други от горепосочените се отхвърлят по същата причина. Дарения от фондации, чиито цели противоречат на целите на Грийнпийс или целят да ограничат независимостта на организацията също биват отказвани.
В средата на 90-те години интересът и поддръжниците на организацията намаляват и това принуждава Грийнпийс да търси нови методи на финансиране. Един от тези методи е набиране на средства лице в лице – активисти по набиране на средства се срещат с хора на публични места, като се опитват да ги убедят всеки индивидуално да дарява някакви средства ежемесечно или ежегодно. През 2008 г. по-голямата част от приходите – 202,5 милиона евро са били дарени от около 2,6 милиона редовни поддръжници главно в Европа.
Кораби
Откакто е създадена организацията Грийнпийс, плавателните кораби играят важна роля в кампаниите ѝ.
Рейнбоу Уориър
През 1978 г. се появява „Рейнбоу Уориър“ – 40-метров бивш риболовен кораб, кръстен на герой от легендата за Крий, която вдъхновила един от първите активисти – Робърт Хънтър на неговото първо пътешествие към Амчитка.
Основните постижения и цели на проекта Рейнбоу Уориър са в областта на радиоактивните и токсични отпадъци в световния океан, борбата с китоловния бизнес и други свързани с опазването на околната среда и поддържане на биологичното равновесие, както и борбата срещу ядрените опити в някои райони на световния океан. Чрез този проект са регистрирани редица нарушения, последвани от санкции и компенсации.
През 1989 г. по вода тръгва „Рейнобоу Уориър 2“, като той става известен с това, че поврежда част от рифа Тубатаха и по този начин ГП отнася глоба.
Критики към Грийнпийс
Един от ранните активисти на организацията – канадският еколог Патрик Мур, напуска ГП, тъй като не подкрепя становището на организацията за неизползването на хлор в питейната вода. Той твърди, че ГП се ръководи от политиката, а не от науката и че бившите му колеги в борда на директорите нямат дори формално научно образование. В отговор Брус Кокс – директор на ГП за Канада, заявява, че организацията никога не искала тотално спиране на използването на хлор в питейната вода или във фармацевтичния бизнес, добавяйки че Мур не е наясно с проблематиката на въпроса и използва науката като параван за своето оттегляне. Пол Уотсън, един от ранните членове на организацията, заявява, че Мур използва статута си на съосновател на ГП, за да придаде важност и достоверност на своите твърдения. Той обявява, че също е съосновател на организацията и че познава Мур от 35 години, допълвайки, че неговите твърдения всъщност нямат никакви основания.
Френски журналист с псевдонима Оливие Вермон пише в своята книга „Скритото лице на Грийнпийс“, че е работил в регионалното бюро на организацията във Франция като секретар. Според неговите думи той е открил и продължава да открива несъответствия и недоразумения между ГПИ и регионалните бюра. Той открива информация, че повече от половината приходи от 180 милиона евро са били използвани за заплати и разходи в различни структури на организацията. Вермон обвинява ГП в това, че е сключил тайни споразумения с големи корпорации, замърсяващи околната среда, с цел на да не бъде сринат техният имидж по света. Списанието за защита на животните Animal People твърди през 1997 г. ГП Франция съдят Вермон и неговия издател за клевета и недоказани твърдения, уронващи престижа и имиджа на организацията.
Статия в сп. „Космос“ на журналиста Уилсън Да Силва отбелязва противоречивата политика на организацията в сферата на ГМО и заявява, че ГП е загубила своя път и истински цели и извършва своите дейности с цел публичност, а не в името на науката.
Външни препратки
www.greenpeace.bg Страницата на „Грийнпийс“ – България
Международна уебстраница на Грийнпийс
Европейска уебстраница на Грийнпийс
Международни неправителствени организации
Организации по климатичните промени
Организации в Амстердам
Активизъм
Ванкувър
Основани в Канада през 1971 година
en:Golden rice | 40,339 |
https://ru.wikipedia.org/wiki/%D0%92%D0%B7%D1%80%D1%8B%D0%B2%D1%8B%20%D0%B2%20%D0%9C%D0%BE%D1%81%D0%BA%D0%BE%D0%B2%D1%81%D0%BA%D0%BE%D0%BC%20%D0%BC%D0%B5%D1%82%D1%80%D0%BE%D0%BF%D0%BE%D0%BB%D0%B8%D1%82%D0%B5%D0%BD%D0%B5%20%282010%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Взрывы в Московском метрополитене (2010) | https://ru.wikipedia.org/w/index.php?title=Взрывы в Московском метрополитене (2010)&action=history | Russian | Spoken | 2,420 | 6,926 | Взрывы в московском метрополитене 2010 года — два взрыва, произведённых 29 марта года на станциях «Лубянка» и «Парк культуры» Сокольнической линии московского метрополитена двумя террористками-смертницами кавказского происхождения.
В результате взрывов погиб 41 и были ранены 88 человек. Среди пострадавших были граждане России, Молдавии, Таджикистана, Киргизии, Филиппин, Израиля и Малайзии.
Ответственность за взрывы взял на себя лидер «Кавказского эмирата» Доку Умаров.
Взрывы в метро
Первый взрыв произошёл в 07:56 по московскому времени на станции «Лубянка» во втором (по ходу движения) вагоне именного поезда «Красная стрела», следовавшего в сторону станции «Улица Подбельского» (ныне «Бульвар Рокоссовского»). В момент остановки поезда, непосредственно перед открытием дверей, сработало взрывное устройство, закреплённое на женщине, стоящей у второй двери второго вагона. По рассказам очевидцев, после первого взрыва эвакуация из метро не проводилась, по громкоговорителям передавались сообщения о задержках в движении и рекомендации воспользоваться наземным транспортом.
Второй взрыв произошёл в 08:39 на станции «Парк культуры» Сокольнической линии в третьем вагоне поезда маршрута № 45, который также следовал в сторону станции «Улица Подбельского».
Сразу после терактов было перекрыто движение поездов от станции «Спортивная» до станции «Комсомольская». Сотрудники метрополитена совместно с подразделениями МЧС эвакуировали со станций метро 3,5 тыс. человек. К ликвидации последствий взрывов в метро были привлечены 657 человек и 187 единиц техники. По сообщениям правоохранительных органов, в связи со взрывами в метро на станциях в Москве был введён план «Вулкан». Также был усилен паспортный режим, а милиция была переведена на усиленный вариант несения службы, увеличилась плотность патрульных нарядов на улицах города и в метрополитене, к патрулированию метро были привлечены внутренние войска Министерства внутренних дел России. Под особую охрану были взяты аэропорты и вокзалы Москвы. В 17:09 станцию «Лубянка» открыли для пассажиров, и метрополитен заработал в штатном режиме.
По результатам взрывотехнической экспертизы, проведённой специалистами Федеральной службы безопасности, мощность взрывного устройства, сработавшего на станции «Лубянка», составила до 4 килограммов в тротиловом эквиваленте, а на станции «Парк культуры» — от 1,5 до 2 кг в тротиловом эквиваленте. Как показал экспресс-анализ, взрывные устройства были начинены взрывчаткой на основе гексогена с добавлением пластификатора, то есть пластитом. В качестве поражающих элементов использовались нарубленная на куски арматура и болты.
Последствия
Пострадавшие
Непосредственно в результате обоих взрывов погибло на месте 36 человек, из них 24 на станции метро «Лубянка» и 12 на станции метро «Парк культуры». В последующие дни в больницах умерло ещё 4 человека. Среди погибших был капитан первого ранга, заместитель начальника тыла Черноморского флота Российской Федерации Виктор Гинькут.
Пресс-служба Минздравсоцразвития России распространила сообщение, что по состоянию на 31 марта в лечебных учреждениях Москвы оставались 82 пострадавших. Среди пострадавших были граждане России, Таджикистана, Киргизии, Филиппин, Израиля и Малайзии.
31 марта закончено оформление документов на захоронение 34 погибших. Ещё двое остаются неопознанными. 18 человек будут похоронены в Москве, а 16 — отправлены в другие регионы, в частности, Чехов, Ростов-на-Дону, Якутск, а также в Севастополь и Таджикистан. В Москве захоронение будет осуществляться в основном на Котляковском, Николо-Архангельском, Домодедовском, Митинском и Троекуровском кладбищах. Первые похороны погибших в Москве прошли 1 апреля.
Ошибочные и ложные сообщения о других террористических актах
Интернет-портал «LifeNews» утром 29 марта 2010 сообщил о третьем взрыве на станции «Проспект Мира», однако вскоре эта информация была опровергнута МЧС России. Также были опровергнуты сообщения о взрывах на станциях «Улица Подбельского» и «Беговая». Позднее в тот же день в СМИ появилась информация о том, что на станции метро «Парк культуры» был найден несработавший «пояс шахида». Позже данная информация была опровергнута.
После взрывов в метро милиция получила несколько анонимных телефонных звонков о якобы заложенных бомбах на транспорте. Первый звонок с мобильного телефона поступил в дежурную часть 29 марта 2010 около 17:00. Некая женщина, находясь в состоянии алкогольного опьянения, заявила, что находится на станции метро «Партизанская» и собирается себя взорвать. Кинологи с собаками обыскали вестибюль и платформу, однако тревога оказалась ложной. Через час в службу «02» с того же телефона позвонила женщина, которая сообщила о том, что взрыв готовится на станции метро «Щёлковская». Станция метро была обследована, однако ничего подозрительного обнаружено не было. Позже милиционеры выяснили личность телефонной террористки и задержали её. Ей оказалась жительница Раменского района Московской области.
30 марта 2010 в милицию поступило сообщение об обнаружении сумки со взрывчаткой на станции метро «Комсомольская», на станции было проведено полное обследование, но никаких подозрительных предметов найдено не было. В тот же день было сообщено о бомбах, заложенных в храме Христа Спасителя и МГТУ имени Баумана; оба сообщения оказались ложными.
Всего в правоохранительные органы Москвы поступило более 100 сообщений о подозрительных предметах и заложенных бомбах, ни одно из которых не подтвердилось; аналогичные ложные сообщения имели место и в других городах России.
Реакция
30 марта 2010 года в Москве объявлено днём траура.
Свои соболезнования и осуждение террористического акта выразили главы государств и политики множества стран, включая страны «большой восьмёрки», СНГ, Европейского союза, НАТО, некоторые страны Азии и Ближнего Востока, а также Совбез ООН, генсек ООН Пан Ги Мун, глава Совета Европы, Папа римский Бенедикт XVI и ряд наиболее известных исламских богословов.
Последующие теракты в России
31 марта 2010 года двумя террористами-смертниками были произведёны взрывы в городе Кизляр, вследствие которого погибло 12 человек (из них 9 сотрудников милиции) и ранено около 30.
5 апреля 2010 года в Карабулаке (Ингушетия) возле городского отдела внутренних дел также было произведено 2 взрыва. Погибло 2 сотрудника милиции, всего было ранено 13 человек.
24 января 2011 года в Аэропорту Домодедово (Городской округ Домодедово (Московская область)) произошёл теракт, осуществлённый с помощью взрыва, проведённого террористом-смертником в зале международных прилётов примерно в 16:32. В толпе встречающих произошёл взрыв. В центре оказались пассажиры из России и ряда других стран. По информации Минздрава, погибли 38 человек, пострадали 116
По мнению неназванных сотрудников правоохранительных органов, террористический акт в Москве и последовавшие за ним могут быть взаимосвязаны, за ними «могут стоять одни и те же силы, которые стремятся дестабилизировать обстановку»; в то же время отмечаются и отличия в целях и методах осуществления взрывов. После взрывов в метро в Москве стали появляться надписи «Смерть русским» и «Аллах акбар», выполненные одинаковой краской и в одинаковом стиле.
Расследование
Следственный комитет при прокуратуре Российской Федерации возбудил 2 уголовных дела по части 3 статьи 205 Уголовного кодекса РФ — «террористический акт», которые впоследствии объединены в одно производство.
Следствие не исключает, что взрывные устройства на станциях «Лубянка» и «Парк культуры» привели в действие террористы-смертники. Мэр Москвы Ю. М. Лужков в интервью сказал: «По предварительным данным, взрыв произвели две террористки-смертницы». Также, по его словам, взрывы были произведены специально в тот момент, когда вагоны подходили к станции, «с тем, чтобы объём поражения был более высоким».
По информации правоохранительных органов, взрывные устройства были приведены в действие при помощи мобильных телефонов.
На месте взрыва на станции метро «Парк культуры» найдены улики, показывающие, что взрыв был произведён террористкой-смертницей.
Кинологи провели штатные обследования на всех станциях Московского метрополитена.
По версии следствия, у смертниц были сообщники-мужчины, которые и изготовили взрывное устройство из компонентов, а также дали сигнал на подрыв.
29 марта 2010 года телекомпания CNN, ссылаясь на неназванный сайт чеченских сепаратистов, сообщила, что ответственность за взрывы в метро взяли некие чеченские боевики. Однако сайт Кавказ-центр — «рупор» сепаратистов — не подтверждает данное сообщение. Секретарь Совета безопасности РФ Николай Патрушев заявил о том, что осуществляется проверка версии о причастности к террористическому акту сотрудников спецслужб Грузии. Министр С. В. Лавров, отвечая на вопросы зарубежных СМИ в связи с террористическими актами, уточнил, что «речь идёт о том, что есть версии, согласно которым, это одна из организаций, действующих на Кавказе. Имеется достаточно информации о том, что террористическое подполье, которое окопалось в Афганистане, на афгано-пакистанской границе, имеет очень тесные связи и с Центральной Азией, и с Кавказом. Это требует международных усилий».
При помощи установленных в метро видеокамер наблюдения правоохранительным органам удалось установить круг лиц, причастных к терактам, а также получить изображения двух предполагаемых террористок-смертниц. 30 марта 2010 года в интернете появились первые посмертные фотографии террористок-смертниц. На вид террористкам было 20-25 лет, они были кавказской наружности, одеты в тёмные платки и тёмную одежду.
По утверждению источника в правоохранительных органах, накануне взрывов, вечером 28 марта 2010 года в милицию позвонила москвичка, которая заявила, что на станции «Коньково» слышала в метро разговоры группы чеченцев о предстоящих взрывах в московском метро. «Сигнал» был передан наряду милиции, который с собаками осмотрел станцию «Коньково», но ничего подозрительного не обнаружил.
Неназванный источник в руководстве метрополитена 29 марта 2010 года предполагал, что в планы террористов входили взрывы на станции «Лубянка», где находится главное здание ФСБ, и на «Октябрьской», где размещается здание центрального аппарата МВД РФ.
31 марта сайт Кавказ-центр опубликовал видеообращение Доку Умарова, датируемое 29 марта 2010 года, где он заявил, что теракт в метро произведён по его личному приказу и является «акцией возмездия» в ответ на спецоперацию федеральных войск в селениях Аршты и Датых Сунженского района Ингушетии 11 февраля 2010 года, в результате которой погибло 18 боевиков и 4 мирных жителя. В тот же день русскоязычный грузинский канал Первый Кавказский опубликовал аудиозапись, в которой человек от имени Доку Умарова отрицал причастность чеченцев к взрывам и обвинял в этом Путина и ФСБ. По мнению журналиста Андрея Бабицкого, голос на аудиозаписи не принадлежал Умарову. Политолог Сергей Маркедонов также подверг сомнению подлинность аудиозаписи.
1 апреля информагентства со ссылками на источники в спецслужбах Северо-Кавказского федерального округа сообщили о том, что личность смертницы, взорвавшей бомбу на станции «Парк культуры», была установлена; её имя не называется, известно лишь, что она жительница Дагестана. Также директор ФСБ Александр Бортников заявил, что спецслужбами установлена личность организаторов террористических актов, и что они «связаны с Северным Кавказом».
2 апреля 2010 года Национальный антитеррористический комитет официально подтвердил ранее появившиеся в прессе данные о том, что одной из смертниц, устроивших теракты в столичной подземке, была 17-летняя Джанет Абдуллаева (по другим данным, её фамилия Абдурахманова) — вдова убитого несколько месяцев назад «эмира Дагестана» Умалата Магомедова (сам Умалат Магомедов был убит 31 декабря 2009 года в ходе спецоперации правоохранительных органов). Одновременно появилась информация, что в Москве обнаружена база организаторов взрывов. Сами они успели скрыться и объявлены в розыск.
Источник в правоохранительных органах сообщил, что был установлен адрес московской квартиры, которую снимали сообщники террористок-смертниц. Квартира расположена в обычном жилом доме в районе «Хамовники». Было также сообщено об установлении личности сообщников смертниц; они были объявлены в розыск.
3 апреля 2010 года в прокуратуру Унцукульского района Дагестана обратился Расул Магомедов, опознавший в смертнице, взорвавшейся на станции «Лубянка», свою дочь, Марьям Шарипову, 1982 года рождения; для проверки этой версии назначена экспертиза ДНК.
6 апреля 2010 года Национальный антитеррористический комитет официально подтвердил личность смертницы, подорвавшей себя на станции метро «Лубянка» в Москве 29 марта, это уроженка Дагестана Мариам Шарипова 1982 года рождения.
13 апреля 2010 года директор ФСБ Александр Бортников заявил, что установлены организаторы и исполнители терактов в московском метро, а также определён круг их пособников.
23 ноября 2020 года следствие предъявило обвинение главе ОМВД по Кизлярскому району республики Дагестан, полковнику полиции Гази Исаеву.
Исполнители теракта
Дженнет (Джанет) Абдурахманова — уроженка Дагестана, 17 лет, вдова лидера дагестанских боевиков Умалата Магомедова (Аль-Бара): 2 апреля 2010 года сообщалось о её предварительном опознании следствием (МВД Дагестана); подорвала себя на станции «Парк культуры».
Мариам Расуловна Шарипова родилась в 1982 году в аварском селении Балахани в семье учителей. В 2005 году поступила в Дагестанский педагогический университет, который окончила с красным дипломом. Имела два высших образования: математическое и психологическое. После окончания университета вернулась в Балахани. С 2006 года преподавала информатику в местной школе. По одним данным, являлась женой действовавшего на территории Дагестана лидера террористического подполья Магомедали Вагабова, по другим — террориста по кличке Доктор Мухаммад. Одна из террористок-смертниц, устроивших теракт в Тушино в 2003 году, носила такие же имя и фамилию.
17 апреля 2010 года литовская газета «Lietuvos rytas» сообщила об аресте 20-летней жительницы Литвы Эгле Кусайте. В багаже женщины нашли подозрительные вещи — данные о взрывных механизмах и их использовании, а также схемы московского метро. Сообщалось также о связи Эгле с жившим в Клайпеде чеченцем, который впоследствии вернулся в Чечню, где погиб. Впоследствии Генеральная прокуратура Литвы опровергла её причастность к террористическим актам. Однако позднее в прессе появилась информация, что гражданка Литвы Эгле Кусайте, проходящая по делу о готовившемся теракте на военном объекте в России, призналась в преступных планах, заявив, что действительно хотела поехать в Россию, а оттуда в Чечню, где собиралась подорваться в людном месте. Вместе с тем, родственники литовки считают, что показания Эгле искажены и получены путём применения насилия и угроз. В августе 2010 девушка была отпущена на свободу, а в январе 2011 года Эгле Кусайте попыталась ходатайствовать о проведении публичного процесса по обвинению её в подготовке теракта на территории России и объединению дела с делами уроженцев Чечни Апти и Айшат Магмадовых (которые были её друзьями), обвиняемых в её вербовке, однако апелляционный суд Литвы отклонил ходатайство. В тот же месяц Кусайте в интервью корреспонденту «Кавказского узла» сказала, что дала признательные показания в обмен на обещания, что оставят в живых Магмадовых. По её словам, её допрос проводили сотрудники ФСБ, которые её избивали, а в камере изолятора пытались отравить.
27 апреля 2010 года «РИА Новости» сообщило о том, что террорист, предположительно причастный к взрывам в московском метро, был ликвидирован 26 апреля в Хасавюртовском районе Дагестана. Сотрудники правоохранительных органов попытались остановить для проверки тонированную «восьмёрку», однако из её окон раздались автоматные очереди. Силовики открыли ответный огонь, уничтожив водителя и пассажира. Ими оказались активные участники террористического бандподполья Ахмед Рабаданов и Магомед Исагаджиев. Оба — уроженцы села Костек, откуда родом одна из смертниц — Джаннет Абдулаева. По первоначальным данным, один из этих боевиков и был человеком в бейсболке и куртке с белыми вставками, которого зафиксировали видеокамеры наблюдения в московском метро.
4 июня 2010 года директор ФСБ Александр Бортников сообщил, что часть боевиков из группировки лидера бандподполья Дагестана Магомедали Вагабова, причастных к взрывам в московском метро, уничтожена в ходе спецоперации.
12 июля 2010 года в Дагестане МВД и ФСБ провели спецоперацию, в ходе которой были задержаны 6 женщин-смертниц и двое мужчин, готовивших новые теракты в центральной части Европейской территории России. Одним из этих мужчин и был террорист, доставивший Джанет Абдуллаеву и Марьям Шарипову на совершение взрывов в московском метро.
21 августа 2010 года в Дагестане МВД и ФСБ провели спецоперацию, в ходе которой был ликвидирован непосредственный организатор терактов в метро — Магомедали Вагабов.
Судебные иски
В связи со взрывами в метро был подан первый иск против государства.
См. также
Аварии и теракты в Московском метрополитене
Террористический акт в Кизляре (2010)
Теракт в Петербургском метрополитене (2017)
Террористки-смертницы
Примечания
Ссылки
Список пострадавших в московском метро на сайте МЧС России
Актуальная информация на lenta.ru
Актуальная информация на vz.ru
Западные СМИ о терактах в московском метро
Теракты в Москве: хроника событий
Владимир Перекрест, Александр Андрюхин, Дмитрий Евстифеев, Эдуард Воротников, Николай Морозов, Юлия Садовская, Мария Дмитраш. Враг под Москвой
Эдуард Воротников, Наталья Гранина, Мария Дмитраш, Николай Морозов, Екатерина Пряхина. Два дня в Москве
2010
29
Теракты-самоубийства
Террористические акты 2010 года
Террористические акты в Московском метрополитене
Взрывы в Московском метрополитене
Транспортные происшествия в России 2010 года
Железнодорожные происшествия 2010 года
Железнодорожные происшествия 2010-х годов в России
2010 год в Москве
Борьба с терроризмом на Северном Кавказе (2009—2017) | 4,563 |
https://de.wikipedia.org/wiki/Lule%20%C3%A4lv | Wikipedia | Open Web | CC-By-SA | 2,023 | Lule älv | https://de.wikipedia.org/w/index.php?title=Lule älv&action=history | German | Spoken | 472 | 936 | Der Lule älv (auch Luleälven oder Luleälv) ist ein nordschwedischer Fluss, der vom Skandinavischen Gebirge in die Ostsee fließt.
Verlauf
Der Lule älv hat eine Länge von 461 Kilometern und entwässert ein Gebiet von 25.240 km². Der Fluss hat seinen Ursprung im teilweise in Norwegen liegenden See Sårjåsjaure (861 m ö.h.) im Sulitjelma-Massiv und fließt als Sårjåsjåhkå nordostwärts in den Virihaure (579 m ö.h.) und weiter in den Vastenjaure (548 m ö.h.). Von dort geht der Fluss als Vuojatädno in den ersten Stausee, den Akkajaure (423–453 m ö.h.). Hier biegt er nach Südosten ab, nimmt in Vuollerim den Lilla Luleälven auf und mündet bei Luleå in den bottnischen Meerbusen. Die mittlere Wasserführung (MQ) beträgt an der Mündung 545 m³/s.
Wirtschaft
Die Lachsfischerei von Edefors war ein Angelplatz auf der Flussinsel Laxholmen in der heutigen Gemeinde Boden, etwa 17 Kilometer flussaufwärts von Harads. Der Fischgrund wurde mindestens seit dem 14. Jahrhundert und bis Anfang der 1960er Jahre genutzt, als die Stromschnellen aufgrund des Kraftwerkbaus von Laxede verschwanden. Die Gebäude auf Laxholmen stehen unter Denkmalschutz. Noch in den 1920er Jahren wurden täglich zwei bis drei Tonnen Lachs mit einem Dampfschiff nach Luleå gebracht und vorwiegend exportiert, hauptsächlich in das Vereinigte Königreich.
Um Eisenerz aus der Region um Gällivare nach Luleå zu transportieren, wurde 1864 begonnen, den Fluss zu kanalisieren. Das als Englischer Kanal bekannte Bauprojekt musste jedoch nach kurzer Bauzeit bereits 1867 wegen Insolvenz der Betreibergesellschaft eingestellt werden. Die deutlichsten Überreste des Kanalprojekts finden sich heute nahe der Villengegend Trångfors am westlichen Rande der Stadt Boden sowie bei Edefors.
Wasserkraftwerke
Der Lule älv wird intensiv für die Erzeugung von Hydroenergie genutzt. An seinem Lauf liegen 14 große Wasserkraftwerke, darunter fünf der zehn größten Wasserkraftwerke Schwedens. Dafür gibt es mehrere Gründe. Der Wasserdurchfluss ist hoch und die großen Seen im Oberlauf des Flusses konnten zum Bau von Regulierungsreservoirs genutzt werden. Die Fallhöhe konzentriert sich häufig auf kurze Distanzen. Auf etwa 20 Kilometern, zwischen dem Stora Lulevatten und dem Stausee bei Messaure, fällt der Fluss 207 Höhenmeter ab, davon 60 Hm bei Porjus, 107 Hm bei Harsprånget und etwa 40 Hm bei Ligga. Auch im Nebenfluss Lilla Luleälven herrschen sehr günstige Bedingungen für die Wasserkraft. Der Ausbau hat zu einer radikalen Veränderung des Wasserlaufs geführt. Die Gesamtleistung der Kraftwerke beträgt etwa 4,4 GW und die normale Jahresproduktion liegt bei etwa 13,8 TWh, was etwa 9 % der schwedischen Stromproduktion entspricht.
Das Wasserkraftwerk Harsprånget, Schwedens größtes Wasserkraftwerk, liegt rund 10 Kilometer südlich des Ortes Porjus, wo ebenfalls ein Kraftwerk entstand. Mit der Nutzung der Wasserfälle bei Stora harsprånget begann man zwar bereits 1918, aber erst 1952, nach vielen Unterbrechungen, konnte das Kraftwerk vollendet werden. Nach Umbauten 1974 und 1983 wird heute mit einer Leistung von 977 MW Energie erzeugt. Anfangs versorgte das Kraftwerk ausschließlich die umliegenden Bergwerke und die Erzbahn mit Strom.
Weblinks
Einzelnachweise
Lappland (Schweden)
Norrbotten | 45,388 |
https://uz.wikipedia.org/wiki/Laringologiya | Wikipedia | Open Web | CC-By-SA | 2,023 | Laringologiya | https://uz.wikipedia.org/w/index.php?title=Laringologiya&action=history | Uzbek | Spoken | 23 | 83 | Laringologiya (laringo ... va ...logiya) — otorinolaringologiyat bir boʻlimi; hiqildoqning anatomiyasi, fiziologiyasi va kasalliklarini, shuningdek, diagnostikasi, davolash va oldini olish usularini oʻrganadi.
Manbalar | 44,139 |
https://sr.wikipedia.org/wiki/%D0%A1%D0%BE%D1%87%D0%B8%D0%BB%D1%82%D0%B5%D0%BF%D0%B5%D0%BA%20%28%D0%A2%D1%83%D0%B7%D0%B0%D0%BD%D1%82%D0%B0%D0%BD%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Сочилтепек (Тузантан) | https://sr.wikipedia.org/w/index.php?title=Сочилтепек (Тузантан)&action=history | Serbian | Spoken | 55 | 183 | Сочилтепек () насеље је у Мексику у савезној држави Чијапас у општини Тузантан. Насеље се налази на надморској висини од 40 м.
Становништво
Према подацима из 2010. године у насељу је живело 2563 становника.
Хронологија
Попис
Види још
Савезне државе Мексика
Референце
Спољашње везе
Мексичка насеља
Насеља у општини Тузантан (Чијапас)
Википројект географија/Насеља у Мексику | 35,626 |
https://pt.wikipedia.org/wiki/Sa%C3%BAde%20e%20apar%C3%AAncia%20de%20Michael%20Jackson | Wikipedia | Open Web | CC-By-SA | 2,023 | Saúde e aparência de Michael Jackson | https://pt.wikipedia.org/w/index.php?title=Saúde e aparência de Michael Jackson&action=history | Portuguese | Spoken | 1,158 | 1,977 | A aparência de Michael Joseph Jackson (1958–2009) sempre foi tema de controvérsia familiar e na mídia. Os boatos sobre a vaidade e a aparência do cantor sempre eram acompanhados com especulações sobre sua saúde mental e física, mas foi na década de 1980 que os boatos se espalharam e a vida profissional de Michael deixou de ser o suficiente para os jornais e revistas de todo o mundo. A partir de 1980, notava-se que a pele de Michael Jackson estava cada vez mais clara, seu nariz já não possuía o formato de nascença e o cantor vinha perdendo muito peso.
Em meados dos anos 1980, Michael foi diagnosticado com vitiligo e lupus — o que explicava o porque de ele ter se tornado branco —, então ele fazia uso de maquiagem para cobrir algumas partes da pele em aparições públicas. Os tabloides estadunidenses passaram a divulgar matérias sobre a vida pessoal de Michael e chegaram a o acusar de reconstruir os olhos, modificar os lábios e a testa e financiar uma rinoplastia. Segundo os tabloides, os amigos do cantor declararam que ele havia realizado várias cirurgias e processos de reconstrução facial. Durante esse período, especulações sobre a saúde do cantor também se tornaram constantes e a imagem pública de Michael foi um tanto degradada pela mídia mundial, como no Caso Jordan Chandler.
Durante a década de 1990, a aparência de Michael chamava cada vez mais a atenção da mídia e sua saúde também não parecia normal. Especulava-se que Michael estava se tornando dependente de medicamentos, principalmente sedativos e analgésicos fortíssimos. Porém, Michael se recuperou com a ajuda de sua amiga Elizabeth Taylor e do cantor britânico Elton John.
Durante os anos 2000, Michael e seus irmãos revelaram várias vezes os abusos físicos e psicológicos que seu pai cometia na era do Jackson Five. Michael evitava tocar no assunto, pois considerava o fato constrangedor. Quando Michael foi acusado de pedofilia em 2003, especialistas diagnosticaram que a mente de Michael se encaixava no padrão da mente de uma criança de 10 anos.
Vitiligo
A pele de Michael Jackson era naturalmente negra durante sua juventude, mas a partir dos anos 1980, sua pele foi se tornando cada vez mais clara e pálida. Essas alterações na pele de Michael ganharam rapidamente a atenção da mídia. Segundo a biografia não oficial de J. Randy Taraborrelli, Michael foi diagnosticado com vitiligo e lúpus em 1983, embora fotos dos anos 1970 já mostrem manchas de vitiligo na pele do cantor. As doenças causaram sensibilidade de Jackson a luz solar. Jackson fez uso de alguns produtos para retardar os efeitos do vitiligo, como tretinoína. Michael também fez uso de hidroxicloroquina no couro cabeludo regularmente.
Em fevereiro de 1993, Michael Jackson concedeu uma entrevista de 90 minutos a Oprah Winfrey, sendo sua primeira entrevista desde 1979. Durante a entrevista, Michael negou as acusações sobre seu clareamento artificial de pele e revelou ter vitiligo, o que causou furor no público, pois todos achavam até aquele momento que Jackson estava negando sua raça. A revelação também chamou atenção da população para a doença, que até então era pouco conhecida.
A entrevista contou com uma audiência de 62 milhões de americanos.
Durante a era HIStory, Jackson casou com a enfermeira Debbie Rowe, auxiliar de dermatologista, que estava tratando de sua pele. O casamento durou 3 anos.
Após sua morte, a autópsia revelou que ele realmente possuía vitiligo, ao contrário do que tabloides e a mídia sensacionalista vinham noticiando, que ele clareou sua pele por sua própria vontade.
A autópsia também que revelou que no momento de sua morte ele estava saudável, tinha 62 kg, 1,75 de altura, e usava peruca, pois devido ao acidente num comercial da Pepsi, em 1984, Jackson ficou com calvície frontal.
Peso e aparência
A forma do rosto de Michael havia mudado muito, e vários jornais especulavam sobre suas cirurgias no nariz e lábios. Segundo a biografia não oficial de J. Randy Taraborrelli, em 1979, Jackson fez sua primeira rinoplastia após quebrar o nariz durante um acidente num ensaio, porém a cirurgia não bem sucedida e Michael passou a se queixar de dificuldade respiratória e dores no nariz. Michael teve de realizar uma segunda rinoplastia em 1980. Em sua autobiografia, Moonwalk, Jackson revela fatos sobre suas rinoplastias e sobre outras cirurgias.
Em seu livro, Jackson atribuiu as mudanças na estrutura do seu rosto à puberdade, à alimentação vegetarianas, e à perda de peso. Em 1984, Michael sofreu um acidente enquanto gravava um comercial para a Pepsi. O cabelo do astro foi incendiado por fogos de artifício. Ele teve queimaduras de segundo grau no couro cabeludo. Durante entrevistas do documentário Living with Michael Jackson, o astro revelou que teve de fazer cirurgias para reparar seu rosto, após o acidente. Porém, devido a edição sensacionalista do documentário, essa parte da entrevista não foi ao ar, indo somente no documentário-resposta Take Two, que mostrava todo o sistema desonesto de edição do jornalista Martin Bashir.
Em junho de 1992, o tabloide Daily Mirror publicou uma imagem inteira de primeira página do rosto de Jackson e o descreveu como "terrivelmente desfigurado" por cirurgias plásticas. Jackson processou o tabloide e, em 1998, eles entraram em acordo com a família do cantor.
Jackson começou a perder peso no início da década de 1980, devido sua dieta para alcançar o que ele chamava de "corpo de dançarino". Ainda segundo J. Randy Taraborrelli, biógrafo não oficial, em 1984, Michael havia perdido 9,1 kg e estava com peso de 48 kg e altura de 1,80 m (corpo muito magro). Os tabloides especulavam que ele estava sofrendo de anorexia nervosa, outro fato desmentido pelo cantor em sua própria biografia. Na mesma biografia, ele revelou que não gostava de comer e pessoas próximas como sua mãe e sua cozinheira, e as estrelas Elizabeth Taylor e Diana Ross, tinham de ficar insistindo, até que ele se alimentasse. Ele também revelou que perdia até quatro quilos em cada show que fazia, e que quando ficava focado em algum projeto não conseguia comer ou dormir. Como nas gravações do álbum Dangerous, que Jackson ficou praticamente quatro dias sem comer e dormir direito, segundo um dos produtores do álbum, Bill Bottrell.
Na sequência acusações de abuso infantil, em 1993, Jackson parou de comer e perdeu ainda mais peso. Agora sua mudança física estava inteiramente relacionada aos problemas do astro pop. No final de 1995, Jackson foi levado às pressas a um hospital, depois de desmaiar durante os ensaios para um programa de televisão (que foi posteriormente cancelado), o incidente foi causado por um ataque de estresse. Segundo uma das coreógrafas do especial, Jackson ensaiava intensamente sem fazer intervalos para comer ou descansar. A BBC informou que durante seu julgamento de 2005, o cantor sofreu novamente de doenças relacionadas ao estresse e à perda de peso grave.
Com o passar dos anos, Jackson passou a ter crises graves de insônia e ficava vários dias sem dormir.
Michael Jackson
Jackson, Michael
Aparência de indivíduos | 50,145 |
https://ro.wikipedia.org/wiki/Vidijenje | Wikipedia | Open Web | CC-By-SA | 2,023 | Vidijenje | https://ro.wikipedia.org/w/index.php?title=Vidijenje&action=history | Romanian | Spoken | 92 | 204 | Vidijenje este un sat din municipiul Podgorica, Muntenegru. Conform datelor de la recensământul din 2003, localitatea are 67 de locuitori (la recensământul din 1991 erau 28 de locuitori).
Demografie
În satul Vidijenje locuiesc 47 de persoane adulte, iar vârsta medie a populației este de 37,6 de ani (34,8 la bărbați și 39,7 la femei). În localitate sunt 19 gospodării, iar numărul mediu de membri în gospodărie este de 3,53.
Populația localității este foarte eterogenă.
Referințe
Legături externe
Vidijenje pe Wikimapia
Vidijenje Map — Satellite Images of Vidijenje (Maplandia)
Localități din municipiul Podgorica | 15,689 |
https://stackoverflow.com/questions/71736275 | StackExchange | Open Web | CC-By-SA | 2,022 | Stack Exchange | Community, https://stackoverflow.com/users/-1, https://stackoverflow.com/users/8405085, innocent | English | Spoken | 97 | 133 | Antd - Multiple select boxes remove items already selected
I have multiple antd select boxes rendered in a list. Options are populated via an array variable. If I have a value chosen in one select box I don't want to render it as an option in other select boxes. Do I just have to store a list for each select box for options or is there a simpler solution?
Hello @Brandi Can you please follow this article and share a
minimum reproducible example https://stackoverflow.com/help/minimal-reproducible-example
Please provide enough code so others can better understand or reproduce the problem.
| 6,561 |
https://es.wikipedia.org/wiki/Congreso%20Nacional%20Africano%20de%20Zambia | Wikipedia | Open Web | CC-By-SA | 2,023 | Congreso Nacional Africano de Zambia | https://es.wikipedia.org/w/index.php?title=Congreso Nacional Africano de Zambia&action=history | Spanish | Spoken | 342 | 561 | El Congreso Nacional Africano de Zambia (en inglés: Zambian African National Congress), abreviado como ZANC y previamente conocido como Congreso Nacional Africano de Rodesia del Norte (Northern Rodhesia African National Congress) fue un partido político nacionalista que existió en Zambia (entonces la colonia británica de Rodesia del Norte) desde 1948 hasta 1973. Fue el primer partido político representativo de la población africana nativa de Zambia y fue un actor importante en la lucha por la independencia de la colonia. Tuvo vínculos con el Congreso Nacional Africano de Sudáfrica y recibió apoyos del Partido Laborista británico.
Su primer presidente fue Godwin Lewanika, de la aristocracia de la región de Barotselandia, en el sur del país, lo que llevó a que el partido se identificara mayormente con esta región. Fu liderado sucesivamente por Harry Nkumbula (1950-1953) y Kenneth Kaunda (1953-1959). En 1959, un conflicto en torno a postular o no candidatos en las elecciones restringidas celebradas por el régimen colonial llevó a que la facción más radical e izquierdista del partido se separara, estableciendo lo que posteriormente se convertiría en el Partido Unido de la Independencia Nacional (UNIP), bajo el liderazgo de Kaunda. Nkumbula continuó liderando el partido hasta su disolución. El partido resultó duramente derrotado en las primeras elecciones bajo sufragio universal celebradas en el país, permitiendo al UNIP monopolizar el poder político en las regiones norte y noroeste del país, y de este modo encabezar el primer gobierno tras la independencia de la República de Zambia en 1964.
Después de la independencia, el ZANC bajo el liderazgo de Nkumbula mantuvo su poderío en la región sur del país y se convirtió en el principal partido de la oposición nacional al gobierno de Kaunda durante los primeros nueve años de existencia del nuevo estado. En 1973, cuando el país se convirtió en un estado de partido único, el partido fue finalmente disuelto y prohibido. Muchos de sus miembros se integraron al UNIP.
Resultados electorales
Elecciones presidenciales
Elecciones parlamentarias
Referencias
Partidos políticos de Zambia
Partidos políticos fundados en 1948
Partidos políticos disueltos en 1973 | 30,833 |
https://stackoverflow.com/questions/49055974 | StackExchange | Open Web | CC-By-SA | 2,018 | Stack Exchange | English | Spoken | 96 | 230 | .htaccess redirect www to non-www for subdomain that is before the www
I need to make a request to https://subdomain.www.domain.com rewrite the URL to https://subdomain.domain.com
Which part of the below rewrite do I change to achieve this? I'm guessing I have to put the subdomain in front of the www, but what do I put there, also how do I capture all subdomains - what's the general rule for all subdomains?
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
You may use this rule:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^([^.]+)\.www\.(domain\.com)$ [NC]
RewriteRule ^ https://%1.%2%{REQUEST_URI} [R=301,L,NE]
| 28,996 | |
https://de.wikipedia.org/wiki/Aillac | Wikipedia | Open Web | CC-By-SA | 2,023 | Aillac | https://de.wikipedia.org/w/index.php?title=Aillac&action=history | German | Spoken | 327 | 647 | Aillac ist eine frühere französische Gemeinde mit zuletzt 127 Einwohnern (Stand 1954) im Département Dordogne in der Region Nouvelle-Aquitaine (vor 2016: Aquitanien).
Aillac wurde im Februar 1961 in die Gemeinde Carsac-de-Carlux eingegliedert, die fortan den Namen Carsac-Aillac trägt, und ist seitdem einer ihrer Ortsteile.
Der Name in der okzitanischen Sprache lautet Alhac und geht auf eine Person namens „Allius“ in gallorömischer Zeit zurück.
Geographie
Aillac liegt circa acht Kilometer südöstlich von Sarlat-la-Canéda in der Region Périgord noir der historischen Provinz Périgord am südöstlichen Rand des Départements.
Toponymie
Toponyme und Erwähnungen von Aillac waren:
Castrum de Allac (1214, nach Baluze),
Alhac (1251, Testament von Raymond de Turenne),
Alliacum (1283),
Alhacum (1364, Schriftensammlung des Abbé de Lespine),
Aillac (1750 1793 und 1801, Karte von Cassini, Notice Communale bzw. Bulletin des Lois).
Einwohnerentwicklung
Nach Beginn der Aufzeichnungen stieg die Einwohnerzahl bis zur Mitte des 19. Jahrhunderts auf einen ersten Höchststand von 380. In der Folgezeit sank die Einwohnerzahl, erreichte aber in der zweiten Hälfte des gleichen Jahrhunderts kurzzeitig einen absoluten Höchststand von rund 415 Einwohnern. In der Folgezeit sank die Größe der Gemeinde bei kurzen Erholungsphasen bis zur Eingemeindung auf 127 Einwohner.
Kirche Notre-Dame de l’Assomption
Die heutige, Mariä Aufnahme in den Himmel gewidmete Kirche wurde im 15. Jahrhundert errichtet, wahrscheinlich als Ersatz für einen früheren Bau, wie ein Weihwasserbecken aus dem 12. Jahrhundert vermuten lässt. Ihr Langhaus hat eine Länge von drei Jochen, wobei es sich beim letzten zu zwei Seitenkapellen öffnet. Die Apsis ist polygonal abgeschlossen. Abhänglinge sind mit pflanzlichen Motiven oder menschlichen Figuren verziert. Der ursprüngliche Eingang befand sich im Westen. Das heute verschlossene Eingangsportal befindet sich unter einem Spitzbogen, dessen einfache Stabverzierung bis zum Boden reicht. Die westliche Fassade wird nach oben mit einem dreieckigen Glockengiebel abgeschlossen, der durch vier Wandöffnungen unterbrochen ist, wobei die beiden unteren die beiden Glocken bergen. Die Kirche ist seit dem 21. Oktober 1970 als Monument historique eingeschrieben.
Weblinks
Einzelnachweise
Ort in Nouvelle-Aquitaine
Ehemalige Gemeinde im Département Dordogne
Gemeindeauflösung 1961
Carsac-Aillac | 39,323 |
https://ru.stackoverflow.com/questions/1114400 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | CrazyElf, MaxU - stand with Ukraine, https://ru.stackoverflow.com/users/211923, https://ru.stackoverflow.com/users/260769, https://ru.stackoverflow.com/users/346641, is73dre | Russian | Spoken | 301 | 1,028 | Как выводить каждое N-ое значение в графике?
Имеется файл CSV:
Отсчеты;Канал 0, В;
0;-0,273;
1;-0,039;
2;0,049;
3;0,264;
4;0,000;
5;-0,059;
6;-0,254;
7;0,039;
8;0,039;
9;0,234;
10;-0,020;
Список продолжается вплоть до нескольких тысяч. При построении графика возникает проблема, слишком много шумов, и всё похоже на кашу.
Вот моя функция:
def grafic():
try:
plt.style.use('ggplot') # графики
plt.rcParams['figure.figsize'] = (15, 5) # размер картинок
file_name = fd.askopenfilename()
f = open(file_name)
fixed_df = pd.read_csv(file_name, sep=';', decimal=",", encoding='cp1251')
fixed_df["Канал 0, В"].plot(figsize=(15, 10))
f.close()
plt.show()
except FileNotFoundError:
mb.showinfo("Внимание", "Файл не загружен")
Не могу разобраться, как в этом случае использовать метод скользящей средней?
можете выложить ваш CSV файл на какой-нибудь файлообменник?
Выводить каждое N-ое значение - не самый лучший подход. Эти точки могут попадать на пики/выбросы и это покажет совершенно другой график, не показывающий нормальное поведение ряда.
@MaxU , https://mega.nz/file/TxcGXa7Y
@MaxU , я понимаю, что это нелогично, но всё же)
Попробуйте plot(kind='scatter') например
@MaxU , я ставил без ключа, странно
@MaxU , попробуйте эту ссылку https://mega.nz/file/TxcGXa7Y#QEIO3DpBqKO8LkH7bqLD7NXtM-TuVe22QIO55NAogTI
Вообще судя по тому как скачут значения вам надо понять что вы вообще хотите от графика. Можно скользящее среднее rolling взять за какой-то период и таким образом сгладить график, если вам это нужно. Ну либо scatter график изображать как оно есть, а не линейный как у вас, линии там не нужны при таком разбросе.
я скорее не так представил вопрос. Скорее всего нужно использовать методы скользящей средней
@is73dre Тогда делайте что-то типа fixed_df.rolling(window=3).mean() период пробуйте выбирать какой нужно. rolling это и есть скользящее окно, а дальше можно разные вещи брать, например среднюю - mean.
я тоже думаю, что скользяцее среднее позволит сгладить пики и выбросы. @CrazyElf, может оформите как ответ? ;)
@MaxU Что-то мне не до того, оформите лучше вы, если не лениво )
Как уже посоветовал уважаемый @CrazyElf, можно воспользоваться скользящим средним.
Пример:
df["Канал 0, В"].plot(figsize=(15, 10))
df["Канал 0, В"].rolling(50).mean().plot(figsize=(15, 10), linewidth=4)
Результат:
| 26,572 |
https://hu.wikipedia.org/wiki/Melina%20Kanakaredes | Wikipedia | Open Web | CC-By-SA | 2,023 | Melina Kanakaredes | https://hu.wikipedia.org/w/index.php?title=Melina Kanakaredes&action=history | Hungarian | Spoken | 310 | 880 | Melina Eleni Kanakaredes Constantinides, görögül Μελίνα Ελένη Κανακαρίδη Κωνσταντινίδη (Akron, Ohio, 1967. április 23. –) görög származású amerikai színésznő.
Főként televíziós sorozatokból ismert: a Vezérlő fény (1991–1995) című sorozattal két alkalommal jelölték Daytime Emmy-díjra. Feltűnt a Providence (1999–2002) és CSI: New York-i helyszínelők (2004–2010) című műsorokban.
Fiatalkora és családja
Édesanyja, Connie Temo egy cukorkacég vezetője, édesapja, Harry Kanakaredes biztosítási ügynök. Két nővére van, Cornélia és Aretta. Melina görög származású és folyékonyan beszéli a nyelvet.
Melina a Firestone High School-ban fejezte be a középiskolát, majd az Ohio State University-re járt, zene, tánc és színművészeti szakra. Később a pittsburgh-i főiskolára, a Point Park College-ra váltott át. Közben reklámfilmekben és színházi darabokban is szerepelt. Színművészeti diplomáját 1989-ben szerezte meg. Ezután New Yorkba költözött. Több off-Broadway darabban is játszott.
Pályafutása
1987-ben szerepelt először a Carts című rövidfilmben. 1992-ben Irna Phillips felajánlott neki egy szerepet a Vezérlő fény című szappanoperában. 1995-ig alakította Eleni Andros Coopert. 1994-ben játszott Gregory Hines Bleeding Hearts című romantikus drámájában is. 1995-ben három sorozatban is feltűnt: Fraser és a farkas, New York rendőrei és a New York News. 1996-ban az Utánunk a tűzözön című akciófilmben ő volt Mitch Henessey (Samuel L. Jackson) palifogója. Feltűnt A velencei kurtizán (1998), a Pókerarcok (1998) és a 15 perc hírnév című filmekben is.
1999 és 2002 között ő volt a Providence című romantikus sorozat főszereplője, Dr. Sydney Hansen. Az igazi ismertséget azonban a CSI: New York-i helyszínelők hozta meg számára, Stella Bonasera szerepében. Ebben 2004-től 2010-ig alakította a nyomozónőt. Származása révén előszeretettel keresik meg a rendezők görög szereplők eljátszására. Ilyen volt Pallasz Athéné alakja a Villámtolvaj – Percy Jackson és az olimposziak (2010) című filmben. 2018–2019-ben A Rezidens című sorozatban is több alkalommal játszott.
Magánélete
1992-ben házasodtak össze Peter Constantinidesszel. Két gyermekük született, Zoe (2000) és Karina Eleni (2003).
Filmográfia
Film
Televízió
Jegyzetek
További információk
Amerikai színészek
Amerikai nők
1967-ben született személyek
Élő személyek
Ohióiak | 21,007 |
https://fa.wikipedia.org/wiki/%D9%85%D8%A7%D9%86%D8%B3%D9%88%D9%86%E2%80%8C%D9%88%DB%8C%D9%84 | Wikipedia | Open Web | CC-By-SA | 2,023 | مانسونویل | https://fa.wikipedia.org/w/index.php?title=مانسونویل&action=history | Persian | Spoken | 44 | 149 | مانسونویل (به فرانسوی: Mansonville) یک کامین در فرانسه است که در Canton of Lavit واقع شدهاست.
خصوصیات
مانسونویل ۱۵٫۴۵ کیلومترمربع مساحت و ۲۷۱ نفر جمعیت دارد و ۹۰ متر بالاتر از سطح دریا واقع شدهاست.
جستارهای وابسته
فهرست شهرهای فرانسه
منابع
کمونهای ترنه گرون | 24,871 |
https://ko.wikipedia.org/wiki/%EC%A1%B0%EC%9D%B4%EB%9D%BC%EC%9D%B4%EB%93%9C%20%28DJ%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | 조이라이드 (DJ) | https://ko.wikipedia.org/w/index.php?title=조이라이드 (DJ)&action=history | Korean | Spoken | 475 | 1,750 | 존 포드(, 1985년 7월 24일)는 스테이지 네임 조이라이드()로 유명한 잉글랜드의 DJ이자 프로듀서이다. 그리고 존 포드 (존 팬타즘이자 팬타즘 레코드의 소유자)의 아들로도 알려져있다.
초기 경력
아버지인 존 팬타즘 (그리고 결과적으로 어렸을 때 집에서 들렸던 음악)에서 영감을 받은 포드는 9살 때부터 스튜디오에서 자신만의 음악을 제작하기 시작했지만, 13살이 될 때까지는 DJ를 시작하지 않았다. 디제잉의 삶에 사로잡히게 된 포드는 15살이 될 때까지 스튜디오로 가지 않았는데, 그 때가 음악이 점점 더 기술적이게 되어가고 있기 때문에 다시 프로듀싱을 하는 부분으로 돌아가고 싶었다는 것이 그 이유였다. 그때서야 에스키모라는 이름으로 프로듀싱을 시작했다. 그리고 17살 때 첫 음반 Can You Pick Me Up을 발매하였다.
에스키모의 음악은 전 세계의 사이트랜스 DJ들이 사용하기 시작했다. 에스키모가 첫 라이브 세트를 공연했을 때, 레파토리는 세 배가 되어 있었다.
2004년 여름, 에스키모는 두 번째 음반 "Take A Look Out There"를 발매하였다.
2011년부터 2015년까지 포드는 "Manslaughter"와 "FTW" 등의 싱글을 낸 듀오 렛츠 비 프렌즈에서 활동하였다. 이후 조이라이드로 이름을 바꾼 후부터는 활동을 하고 있지 않다.
조이라이드
2015년부터 포드는 묵직한 베이스를 깐 하우스 음악을 조이라이드라는 예명을 사용하며 활동을 하였다. 그리고 "Flo"나 "Speed Trap"과 같은 곡을 무료 다운로드 할 수 있도록 하였다.
2016년, 조이라이드는 OWSLA와 계약을 맺었고, "Hot Drum"과 "Damn"을 같은 해에 발매, "I Ware House"와 "New Breed"를 2017년에 발매하였다. 2019년에는 하드 레코드로 레이블을 옮겼으며, 데뷔 LP인 《Brave》를 2020년에 발매하였다.
디스코그래피
에스키모로 발매한 정규 음반
2003: Can you Pick Me Up? (Phantasm Records)
2004: Take a Look Out There (Phantasm Records, Arcadia Music)
2005: Balloonatic Part One (Phantasm Records)
2006: Balloonatic Part Two (Phantasm Records)
2010: Cheap Thrills (Phantasm Records)
에스키모로 컬래버레이션한 음반
2005: Dynamo - Acid Daze (Eskimo vs Dynamic, Phantasm Records)
2007: Void - Music With More Muscle (Chemical Crew)
2010: Balloonatic Part Three
2010: The Megaband - Propaganda (4월 10일)
렛츠 비 프렌드로 발표한 EP
2013: Lets Be Friends
2013: IOA
렛츠 비 프렌드로 발표한 싱글
2013: "Manslaughter" (VIP Mix)
2014: "FTW"
조이라이드로 발표한 정규 음반
3 April 2020: Brave (HARD Records)
차트에 진입한 싱글
조이라이드로 발매한 싱글
2015년 3월 22일: "Kickin Off"
2015년 4월 13일: "Hoodlum"
2015년 4월 23일: "Mercy" (featuring Candi Staton)
2015년 5월 11일: "Flo"
2015년 7월 13일: "Speed Trap"
2015년 9월 29일: "Give My Love"
2015년 10월 20일: "Hari Kari"
2015년 12월 8일: "Hoam"
2016년 1월 12일: "Windows" (featuring Rick Ross)
2016년 2월 15일: "Fuel Tank"
2016년 5월 16일: "The Box"
2016년 7월 20일: "Maximum King"
2016년 11월 16일: "Hot Drum" (OWSLA)
2016년 12월 5일: "Damn" (featuring Freddie Gibbs) (OWSLA)
2017년 2월 22일: "I Ware House" (OWSLA)
2017년 5월 5일: "New Breed" (featuring Darnell Williams) (OWSLA) []
2019년 2월 22일: "I'm Gone" (Hard Records)
2019년 3월 22일: "Yuck" (featuring Gold) (Hard Records)
2019년 8월 23일: "Madden" (Hard Records)
2019년 10월 4일: "Selecta 19" (Hard Records)
조이라이드로 발매한 리믹스
2015년 9월 15일: Jauz - "Feel The Volume" (Joyryde 'Stick It In Reverse' Mix)
2016년 3월 25일: Destructo - "4 Real" (Joyryde 'Swurve' Mix)
각주
외부 링크
공식 웹사이트
1985년 출생
살아있는 사람
잉글랜드의 음악가
잉글랜드의 프로듀서
잉글랜드의 디스크자키 | 40,227 |
https://en.wikipedia.org/wiki/Suzy%20Dawson | Wikipedia | Open Web | CC-By-SA | 2,023 | Suzy Dawson | https://en.wikipedia.org/w/index.php?title=Suzy Dawson&action=history | English | Spoken | 131 | 192 | Susan Margaret Dawson (born 20 January 1971) is a New Zealand rugby union coach and former rugby union player. She made her debut for the New Zealand women's national side, the Black Ferns, against Canada on 16 October 1999 at Palmerston North. She was part of the winning New Zealand squad at the 2002 Women's Rugby World Cup.
In 2018, Dawson was appointed coach for the Northland senior women's development team. She has also been the head coach of Pakistan's women's sevens team.
References
External links
Black Ferns Profile
1971 births
Living people
People from Te Kōpuru
People educated at Epsom Girls' Grammar School
New Zealand women's international rugby union players
New Zealand female rugby union players
Rugby union hookers
New Zealand rugby union coaches
Coaches of international rugby union teams | 13,434 |
https://arz.wikipedia.org/wiki/%D8%A8%D9%8A%D8%B1%D9%86%D8%A7%D8%B1%D8%AF%20%D8%AC%D9%8A%D9%86%D8%AC%D9%8A%D9%86%D9%89 | Wikipedia | Open Web | CC-By-SA | 2,023 | بيرنارد جينجينى | https://arz.wikipedia.org/w/index.php?title=بيرنارد جينجينى&action=history | Egyptian Arabic | Spoken | 94 | 276 | بيرنارد جينجينى لاعب كورة قدم من فرنسا.
حياته
بيرنارد جينجينى من مواليد يوم 18 يناير 1958 فى سولتز-هاوت-رين.
الحياه الرياضيه
بيلعب فى مركز لاعب وسط, و لعب مع فريق نادى سوشو و نادى سانت اتيان و منتخب فرنسا لكره القدم و اولمبيك مارسيليا و جيروندان بوردو و نادى موناكو و نادى سيرفيت و نادى ميلوز.
المشاركات
شارك فى:
كاس العالم 1982
كاس العالم 1986
بطوله امم اوروبا 1984
لينكات برانيه
مصادر
لاعبين كوره قدم وسط
لاعبين كوره قدم من فرنسا
لعيبة مونديال 1982
لعيبه يورو 1984
لعيبة مونديال 1986
لعيبه فازوا بكاس امم اوروبا | 930 |
https://ceb.wikipedia.org/wiki/Quebrada%20Cambia | Wikipedia | Open Web | CC-By-SA | 2,023 | Quebrada Cambia | https://ceb.wikipedia.org/w/index.php?title=Quebrada Cambia&action=history | Cebuano | Spoken | 61 | 112 | Suba ang Quebrada Cambia sa Kolombiya. Nahimutang ni sa departamento sa Departamento de Caldas, sa sentro nga bahin sa nasod, km sa kasadpan sa Bogotá ang ulohan sa nasod. Ang Quebrada Cambia mao ang bahin sa tubig-saluran sa Río Magdalena.
Ang mga gi basihan niini
Río Magdalena (suba sa Kolombiya, lat 11,10, long -74,85) tubig-saluran
Mga suba sa Departamento de Caldas | 8,638 |
https://meta.stackoverflow.com/questions/326569 | StackExchange | Open Web | CC-By-SA | 2,016 | Stack Exchange | Akshay K Nair, Ash Clarke, Barry Michael Doyle, BigMick, Don Branson, Eric J., Federico J. Álvarez Valero, GalacticCowboy, Kevin Workman, Marcus Müller, Maria Ivanova, Nick Weaver, Ooker, Peter Mortensen, Risadinha, Ruan Mendes, T.J. Crowder, Terrance, Walfrat, Yogi, chrispy, d-_-b, fuz, gfullam, greybeard, halfer, https://meta.stackoverflow.com/users/141172, https://meta.stackoverflow.com/users/1426539, https://meta.stackoverflow.com/users/157247, https://meta.stackoverflow.com/users/2111515, https://meta.stackoverflow.com/users/227299, https://meta.stackoverflow.com/users/2502532, https://meta.stackoverflow.com/users/29638, https://meta.stackoverflow.com/users/296387, https://meta.stackoverflow.com/users/296677, https://meta.stackoverflow.com/users/296810, https://meta.stackoverflow.com/users/297051, https://meta.stackoverflow.com/users/297192, https://meta.stackoverflow.com/users/319063, https://meta.stackoverflow.com/users/3416774, https://meta.stackoverflow.com/users/3789665, https://meta.stackoverflow.com/users/400952, https://meta.stackoverflow.com/users/417501, https://meta.stackoverflow.com/users/4433386, https://meta.stackoverflow.com/users/472495, https://meta.stackoverflow.com/users/4813913, https://meta.stackoverflow.com/users/5070577, https://meta.stackoverflow.com/users/56076, https://meta.stackoverflow.com/users/618490, https://meta.stackoverflow.com/users/621683, https://meta.stackoverflow.com/users/621690, https://meta.stackoverflow.com/users/621691, https://meta.stackoverflow.com/users/63550, https://meta.stackoverflow.com/users/6408723, https://meta.stackoverflow.com/users/7481663, https://meta.stackoverflow.com/users/770817, https://meta.stackoverflow.com/users/873165, itisravi, jcrowson, m4n0, makoshichi, yivi | English | Spoken | 3,758 | 4,912 | Under what circumstances may I add "urgent" or other similar phrases to my question, in order to obtain faster answers?
We often have people desiring speedy answers to a question, and they will add phrases intended to elicit solutions quickly. For example:
This is urgent for me
Please reply ASAP!
I am under a tight deadline [of <date>]
I've been stuck for hours/days/weeks
My educator/manager is angry/upset because of my [potentially] late delivery
I am desperate / I am tearing my hair out
Eagerly waiting for your reply / I am waiting online
I wondered whether the community believes the addition of these phrases might help prioritise which questions are more important than others, and under which circumstances, if any, it is acceptable.
It occurs to me that, for example, the community may wish to discourage a user from using these phrases liberally, since it is unfair to ask for urgent help in cases when a task is not subject to a deadline on this occasion. Equally, we may take the view that since we have no way of determining if a poster has a need for urgency, we would prefer it if all posters would refrain from these sorts of additions.
The community may wish to take a view on the possibility that these phrases may accidentally constitute an expectation upon readers, and that in some English-speaking cultures, this attitude towards volunteers might be understood as demanding or rude.
I expect some people will hold the view that the addition of these phrases actually makes no difference in hurrying answers, and that in some cases it may attract downvotes (either because the voter sees a lack of succinctness, or they feel it is inappropriate to rush volunteers).
Return to FAQ index
Canonical link: [Under what circumstances may I add "urgent" or other similar phrases to my question, in order to obtain faster answers?](//meta.stackoverflow.com/q/326569)
What happened to the answers to this question? So many highly-upvoted but deleted posts!
@KevinWorkman: unfortunately they were axed in a tidy-up. I think that is policy when a Meta post is added to the FAQ. Personally I thought they added colour and context, but I wasn't particularly minded to see if it could be reversed.
@KevinWorkman: I just spotted that a few answers were recently undeleted.
“Your lack of planning is not my emergency.”
Under a circumstance that people are willing to pay instantly for the services :D
There are currently 6 deleted answers (they happen to be the 6 last posted).
In I've been stuck for weeks, I don't read speedy answer hugely more valuable than one a day or two from now.
Yeah, let's all make people robots and eliminate any sense of personality in posts. I think it's ridiculous that "I'm tearing my hair out" falls under this "urgent" category. Meanwhile if you don't say that, people call you out for saying you didn't try enough. It's extremely frustrating being criticised for the way I've asked questions when I have honestly tried everything I know to solve an issue. I agree there shouldn't be a sense of urgency to question asking, but I don't think everything in that list presented above falls under that category.
@Barry: I understand your view. It is (only) my opinion that expressions of frustration can be lumped into other kinds of begging. However I think I can see the mistake you are making, and I say the following in order to try to help. Language does not mean what the speaker means, especially on the internet; language means what the hearer hears. Hearers should assume good intent, of course, but a compromise is required on both sides.
So, when someone insists that "Stack Overflow is my only hope" and "I am about to give up" and "I am tired and angry", we can assume those things are true for the speaker. But a portion of readers will see these as emotional blackmail - you have to help me otherwise my suffering will continue, and you are a bad person for not alleviating my stress and anxiety.
If we were to encourage those phrases, where do we stop? Is "help me otherwise I will lose my job" OK? We do get those too (see my old answer).
So I am quite sure all these phrases need to go. The poster is still able to get their help, and - critically - future readers can scan a pithy representation of the problem without any begging and waffle. That is, after all, the main point of Stack Overflow.
@PCM please do not change the format of the link at the bottom of the question. Is formatted that way so one copy paste the whole thing and have a working markdown link. A "clickable link" is worthless here, since you are already on the target page for that link.
At best this is extra fluff in your question, which gets in the way of your actual question. This makes it harder for people to help you, which makes it less likely that you'll get an answer. Nobody is going to see that you need an answer ASAP and then drop everything they're doing in order to help you. Your emergencies are your own. Alternatively: lack of planning on your part does not constitute an emergency on my part.
At worst it'll be seen as very rude. Specifically saying that your needs are urgent or that you need an answer ASAP implies that your time is more valuable than the time of other people asking questions, or of the people answering questions. Other people asking questions want an answer just as much as you do. The people answering questions are doing this for free, in their spare time. Why is your time more valuable than theirs? This will actively discourage people from answering, and will probably even get you some downvotes, which makes it even less likely that you'll get an answer.
Also, in my experience, posts that contain "need help asap" and "urgent help plx" usually contain other problems. Doing proper research takes time, so if you're in a hurry, you're probably not doing proper research. Have you taken the time to do your own debugging? Have you taken the time to add print statements, or to narrow down the problem to a minimal reproducible example, or to read the documentation? If you're in a hurry, then the answer is probably no. And if you haven't done these things, then it's harder for us to help you. The best way to improve your chances of getting an answer is by making it easier for us to answer you. Not including proper research makes it harder to help you, which again decreases your chances of getting an answer.
It might seem paradoxical, but if you're in a hurry, the best thing you can do is slow down.
So there's really no reason to include your urgency, and a bunch of reasons not to include it.
I realize that this is somewhat of and older post, but the MCVE statement is featured rather prominently. I feel it is necessary yet again to remind readers that only debugging questions require minimal reproducible examples. The object of a how-to question is to obtain an example, whereas the object of a debugging question is to solve the problem in the given example which is why an example is not only required, but is required to be both minimal and reproducible such that the problem can be easily reproduced with as little noise as possible.
I came across a link to this post just now, I always found that the best way to hurry things up is simply offering a bounty. Doesn't work every time, but it has its uses
@makoshichi But you have to wait at least day to offer a bounty, right?
@JuanMendes , Waiting a day is pointless imo. In this answer, theyre telling us to not to hurry, to wait, think, debug till it becomes minimal and on another thread (https://meta.stackoverflow.com/questions/251739/what-is-the-reason-behind-waiting-48-hours-to-offer-a-bounty) they're telling us to post the question asap so youll get the answer in time. This is a paradox I guess.
"if you're in a hurry, the best thing you can do is slow down." That's roughly what Doc Holliday said.
In the Army we learned Slow is smooth, smooth is fast.
If the question has the same meaning without it then such content is noise and is unnecessary. It does not help anyone write an answer to the question. Feel free to remove it along with any other unnecessary text when editing such posts.
I've upvoted this as I agree with it. However I am looking for reasons as to why it is noise, since I would like to be able to point people to this page as a canonical reference in the future.
it is noise because it adds nothing valuable to the question other than the person asking is impatient, which is irrelevant to everyone but the asker.
@JarrodRoberson makes a very valuable point. Also, as pointed out in the accepted answer "need help ASAP", "urgent" remarks are often symptomatic of bad research. As such, taking the time to even type this would often be better spent describing your problem.
Also, I actively do that, and leave a comment when appropriate, something along the lines "I cleaned up the question, please concentrate on aspects important to people who might answer, not to yourself"; often, the reaction to these comments are positive, but there's also the red flag-raising "shut the hell up, if you don't answer my question, leave it alone", which luckily usually deters any potential answerers – improving the overall site in both question quality and tone.
In my experience, these phrases do not actually improve the speed with which answers are posted, and they may in fact slow responses down. If someone posts an answer to an "urgent" question, then they were going to post it anyway.
I recently asked someone to desist from asking for ASAP treatment, and interestingly, they were genuinely surprised, and wondered if it was another arcane and unwritten guideline:
I'm new to Stack Exchange I don't know why that is bad? I need help ASAP, is it bad to say so? I'm confused.
My response was that
... "ASAP" or "urgent" are, to a native English speaker, insistent demands that are attempts by a speaker to place someone under a sense of duty, or to transfer their own requirement of haste to someone else. It is generally thought as rude to force such obligations onto another person unless there is an exchange or agreement involved - so a manager might feel entitled to do this with an employee, for example. Since volunteers are here for their own leisure, they are unlikely to be motivated by any such attempts to jump to the front of the queue.
I had previously been of the opinion that an English speaker of moderate ability would be of the view that creating such pressure for volunteer helpers is socially unacceptable (and indeed I thought it would be the same for speakers of any language). However, given the above question posed to me, and the daily trickle of ASAP/urgent questions posted to the main site, I am minded to think that in some cultures this language is normal and not thought to be rude or excessively entitled at all.
Nevertheless, I think we should advise against it, since it will often be understood to be rude, leaving the OP to genuinely wonder why their post is getting a poor reception. It is worth noting that elsewhere on the network, people have previously noted that if they see begging in a question, they will actively not answer it.
We should also make it plain that requests for speed are, in fact, an indication that a question should be regarded as more important than other questions already on the site. Whilst it is possible that a person's work genuinely is important - perhaps they work for a public health service, for example - we can have no way of knowing this, or policing it effectively. If we were to allow it, some people would unfairly claim all of their questions were urgent, and we would have no way of determining otherwise.
So, given that:
these phrases do not make a discernible difference,
a proportion of readers will regard them as a rudeness,
some readers will skip to the next question or downvote,
they are filler text not pertaining to the topic at hand,
I would take the view that readers should refrain from adding them. Furthermore, editors should remove them, as long as they are willing to fix up other items in a post at the same time.
I'd like to make a special mention of this question addition, which I have seen a few times recently:
If I cannot fix this I will lose my job
Volunteer readers are, in general, sympathetic to people who have limited employment protections or who might genuinely be at risk of losing a client that is critical to their income. Nevertheless, this is one of the most emotionally manipulative phrases that can possibly be added: good people can easily be suckered into providing help that they themselves do not have time or energy for. It is an abuse of the kindness of people, and absolutely should not be added.
I already saw some people where "ASAP" and so on were common. This is typacally on management level by not so competent manager that like to use every english expression he knows in no-english mail. And so others that works with him end up with the same habit.
@Walfrat: I think that is true. I also have a suspicion that claiming to have an urgent piece of work is a happy, culturally-specific claim that the speaker has been entrusted with something important. So it becomes a small, pleasurable boast, and there is usually no intention to offend at all.
In this scenario, I would also remind askers who have sufficient reputation to offer a bounty to "help attract more attention and more answers". For new questions, not yet eligible for a bounty, I encourage askers to continue refining the question and providing progress updates. If the question can be improved, I also point them to the "How to ask a good question" article in the Help Center. If the OP's question is truly urgent, they will also be responding to comments immediately which implies urgency.
@gfullam: I think that would be nice from the perspective of getting good questions. However it comes at the cost of accidentally teaching the user that begging phrases will be rewarded by bounties - which may not be good for editors' workloads.
@halfer I must have been unclear: I agree with you that begging phrases should be discouraged; my previous comment was merely a list of tactics I employ to encourage askers to get answers with urgency; all of which I borrowed from the Help Center. I am in full agreement with your conclusions here.
I had previously been of the opinion that an English speaker of moderate ability would be of the view that creating such pressure for volunteer helpers is socially unacceptable (and indeed I thought it would be the same for speakers of any language). I think the key here is that cultures vary in this regard, no matter the native language.
@GalacticCowboy: I agree, although the phrases in contention are in English, and so perhaps have nuances and connotations that gentler phrases in other languages might not carry. Whilst I want to be understanding of other cultural norms, the likelihood that most readers will think in an English way (i.e. that some phrases sound excessively demanding) perhaps needs to be borne in mind.
these phrases do not actually make a difference to the speed they certainly do, for me. I'm often occupying a few niche topics, and "I need help, my time is very valuable" questions definitely don't spur my initiative, and that might delay getting an answer indefinitely.
@gfullam I'm late to the table, but I think if the OP doesn't have enough rep to make a bounty, should we make the bounty for them? I read this as an occasionally nice gesture to convey that sometimes we do trust strangers on the internet? Since our rep represents the trust the community has in us, the fact that we use our own rep is similar to how we use our own credibility to endorse a new candidate to our HR
@Ooker: it's a nice gesture to do that, and the bounty system permits it. The only frustration for people who do that is when an OP - who may not care to become a member of the community - gets their help and doesn't ever return to thank the helpers or the bounty-adder.
@halfer for me, whether they comeback or not doesn't change the fact that they are helped. I'm fine with that. The problem is, they still need to be allowed to convey that they need help. This can be said in the comment, and should be untouched until someone help them. Then that comment can be deleted
One reason I think these phrases are inappropriate, which I haven't seen raised yet: they are time-specific by their very nature, which works against Stack Overflow's function as an archive of knowledge. The question might have been urgent when it was asked, but it obviously won't be years later, even though the question and answer are still valuable.
We might decide that these phrases become fluff only after some amount of time (how much?) has passed, and that they should be removed after that, but that's just adding a maintenance burden we definitely don't need. Yuck. Better to leave them out altogether.
There's a difference between asking for a fast answer ("How can I solve this? Please help, urgent") and asking for a fast solution ("What's a quick way to solve this?"). Asking for a fast answer is fluff, but a fast solution can be valuable forever.
Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers?
I can think of only a few:
If you want your question downvoted and/or closed
If you want snarky comments
If you want your question largely ignored
Those are all times you'd want to put "urgent" or similar in the title. ;-)
If you actually want an answer to your question, there are no circumstances in which you want to put things like that in.
The premise of "...in order to obtain faster answers" is flawed. Putting "urgent" and such on a question will not get it answered more quickly.
It will, if anything, make it more likely that people who could help will skip over the question entirely, or take a jaundiced view of it and look for reasons to down- and/or close-vote it. Why? Because "urgent" and the like usually indicate a low-quality, did-no-research, did-no-critical-thinking question about a problem that's already been solved and for which an answer already exists on the site that the person posting the question just didn't bother to find because they're in a rush. By calling your problem "urgent," you lump it in with that rubbish, even if your question isn't rubbish.
That isn't universally true. It's just overwhelmingly the common case.
So all joking aside, the answer to "Under what circumstances" is: "None".
I wish we could have this on an automatic pop-up every time someone writes ASAP please!!! in their post :-).
@halfer: I'm really surprised the content filter allows "ASAP please", but as a quick search turned up a question from March 27th that still has it in (and not hidden in a code block or similar), well, I guess it does. :-)
I made a feature request to put an optional warning in the editing interface to discourage really bad phrases, but I haven't had any official bites on that yet. I may at some point do an expanded UI suggestion, to see if I can whip up some more interest.
"None" is too strong of a word. What if you need to reprogram a spaceship to hit a comet so that it changes its course and doesn't hit the Earth/Moon, but your code keeps spawning errors and the humanity has only several hours left to be saved? Just joking. :)
@MariaDeleva: Easy: Don't post an SO question. Call Bruce Willis, who will say "Yippee-Ki-Ay" -- but, you know, sardonically -- while banging the computer on the side, and magically make it all work out. ;-)
Under no circumstance should you add any sort of phrasing along these lines to your question's title or body.
Firstly, "urgency" is not a concept that Stack Overflow's Q&A model supports. On Stack Overflow, every question asked is expected to be a well-thought-out, high-quality seed for equally high-quality answers. There is no mechanism designed to advertise certain questions ahead of others; the bounty system can be used for this purpose, but is not intended for it.
Regardless of how urgent your question may appear to be to you, it is absolutely not urgent to the people who answer questions here. They are giving up their time, for free, and in return no expectations are placed on them for how quickly they answer questions (if at all).
Claiming your question is urgent implies that it is somehow more important than the other questions on this site, which is patently untrue. Such labelling on your behalf comes across as entitled and demanding, i.e. rude, which paradoxically means your question is less, not more, likely to be answered (quickly or not).
Many questions marked as "urgent" have historically turned out to be trivially solvable with a small amount of basic research. Therefore, many answerers instinctively avoid such questions as they are not worth answering except by a Google search.
Finally, since the only thing answerers here care about is the actual problem presented in your question, anything unrelated to the problem - such as claims of urgency - is seen as noise, and again is likely to lead to lower answer rates for your question.
In short, labelling your question as "urgent" is almost certain to not get you an answer sooner, and is almost certain to discourage people from answering it. Don't do it.
I just wonder how this answer adds any new point beside the ones given by other answers?
| 20,673 |
https://stackoverflow.com/questions/36802652 | StackExchange | Open Web | CC-By-SA | 2,016 | Stack Exchange | English | Spoken | 163 | 339 | storing and printing values in reducer
can anybody help me finding error in following code. I need to store values in arraylist and then use it for further processing but this code read one value, print it and store in arraylist and then again print it according to my second print statement in loop of arraylist.
But i want to store all elements in arraylist and then want to print it.
Please help!!
Thanks
public class tempreducer extends Reducer<LongWritable,Text,IntWritable,Text> {
public void reduce(LongWritable key, Iterable<Text> values,
Context context) throws IOException, InterruptedException {
System.out.println("reducer");
ArrayList<String> vArrayList = new ArrayList<String>();
for(Text v: values)
{
String line=v.toString();
System.out.println(line);
vArrayList.add(line);
}
for(int i = 0; i < vArrayList.size(); ++i)
{
System.out.println("value"+vArrayList.get(i));
}
Hadoop MapReduces passes
key - list of values
for every key you have.
If you want to print all values of all keys.
In you mapper try to have one key some thing like
output.collect("hadoop", value);
the above will get all values into one iterator.
| 21,009 | |
https://stackoverflow.com/questions/13703231 | StackExchange | Open Web | CC-By-SA | 2,012 | Stack Exchange | 00101010 10101010, Adam Houldsworth, Rotem, Samitha Chathuranga, https://stackoverflow.com/users/1817088, https://stackoverflow.com/users/2829676, https://stackoverflow.com/users/358221, https://stackoverflow.com/users/692942, https://stackoverflow.com/users/860585, user692942 | English | Spoken | 570 | 928 | Borderless Winform with a 1px border
This might sound like a weird question but I have C# Winform that I set the FormBorderStyle to None. So far everything is good but I was wondering if there was a way to add like a 1px border on around my form ? I know I could do it by creating my own image but I was wondering if there was a more natural way of doing it.
Thanks
You can place a Panel on the form and Dock.Fill it, then give that a border (it has a 1px Black border).
I consider using an image, or creating unnecessary controls for something that is easily paintable using GDI+ a waste of resources.
I think the simplest solution is overriding the OnPaint method of your form and drawing the border yourself:
protected override void OnPaint(PaintEventArgs e)
{
e.Graphics.DrawRectangle(Pens.Black, this.Bounds);
}
Of course, you may also use your own Pen with your own color and width.
your method is perfect!!
would you happen to know how to redraw the rectangle on form resize ?
Simply set the ResizeRedraw property of your Form to true. This will cause it to invalidate on every resize.
I found e.Graphics.DrawRectangle a bit hit and miss and used ControlPaint.DrawBorder(e.Graphics, ClientRectangle, Color.Black, ButtonBorderStyle.Solid); works great without having to reposition.
Use padding 1;1;1;1 to your form and set a background color to your form, and put a panel to your form. Set white or other normal background color to the panel. And set dock in parent controller. The background color of the form will act as a border.
This is the easiest simpliest solution.
How about just adding a Panel (and setting it's border) to the Form?
Thanks for the suggestions, I've decided to create 4 1px label and just toss on the edge on each side. That way:
1. They are minding their own business on the side rather than taking up the whole middle if you use use a groupbox or panel.
2. You are able to choose change your border color.
There is no more natural or non natural ways to do it. It depends on what you want.
If you put a background image on the form, you have to consider a fact that in order to be able to support resizable for you have to have resizable background images.
If you simply draw on the background with a Pen or Brush, you can support also resizable form, but you have to work more if you want to do something cool, instead with image it's easier.
You can embed some control inside the form and with color's of them make a feeling of the border. Like control, you can use Panel, as suggested in comment, can use GroupBox that creates thin broder arround, or something else.
I created this method, so you could easily set the borderposition, color and thickness.
private void customBackgroundPainter(PaintEventArgs e, int linethickness = 2, Color linecolor = new Color(), int offsetborder = 6)
{
Rectangle rect = new Rectangle(offsetborder, offsetborder, this.ClientSize.Width - (offsetborder * 2), this.ClientSize.Height - (offsetborder * 2));
Pen pen = new Pen(new Color());
pen.Width = linethickness;
if (linecolor != new Color())
{
pen.Color = linecolor;
}
else
{
pen.Color = Color.Black;
}
e.Graphics.DrawRectangle(pen, rect);
}
You could use it in the OnPaintBackground likes this:
protected override void OnPaintBackground(PaintEventArgs e)
{
base.OnPaintBackground(e);
customBackgroundPainter(
e,
linethickness: 3,
linecolor: Color.DarkOrange,
offsetborder: 5
);
}
| 29,846 |
https://crypto.stackexchange.com/questions/50332 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | English | Spoken | 120 | 198 | truncated linear congruential generator
I'm trying to reverse a truncated linear congruential generator with all parameters ( modulus $M,$ multiplier $a$, addend $b$ and the seed $x_0$) hidden.
I have read Scott Contini's article On Stern's attack against truncated linear congruential generator. His method on finding the modulus is easy to apply if $k = 64$ or more ($k$ is the number of bits in $M$).
I know I'm missing something so can someone please help? Given the following truncated sequence how do I reverse it. $y_i = 9, 7, 25, 14, 16, 3, 8, 18, 0, 6, 10, 10, \ldots$.
The hidden parameters are $M= 1009, a=167 ,b=63, k =10$. Any help in this regard will be highly appreciated.
| 37,248 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.