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://ceb.wikipedia.org/wiki/Flat%20Top%20Mesa | Wikipedia | Open Web | CC-By-SA | 2,023 | Flat Top Mesa | https://ceb.wikipedia.org/w/index.php?title=Flat Top Mesa&action=history | Cebuano | Spoken | 53 | 100 | Ang Flat Top Mesa ngalan niining mga mosunod:
Heyograpiya
Tinipong Bansa
Flat Top Mesa (bukid sa Tinipong Bansa, Colorado), Mesa County,
Flat Top Mesa (bukid sa Tinipong Bansa, New Mexico), Catron County,
Flat Top Mesa (bukid sa Tinipong Bansa, Nevada), Lincoln County,
Pagklaro paghimo ni bot 2017-02
Pagklaro paghimo ni bot Tinipong Bansa | 26,986 |
LqfwO2ChEos_1 | Youtube-Commons | Open Web | CC-By | null | Commentary - The Signals are Clear | None | English | Spoken | 397 | 504 | Aloha, Thanks for your consideration of the views expressed in this Think Tech commentary. The signals are clear, but unfortunately history is not here to help. Trump has unleashed a torrent of destructive time bombs into our government and our national fabric, and has given us a legacy of chaos that operates not for our interest or to improve our lives, but only his. Congress is dysfunctional, and will be worse after the mid-terms. The judiciary has lost it, not only the trainwreck at the Supreme Court, but many of the lower courts too, including our favorite judge Aileen Cannon, who doesn't know up from down. How can we have confidence in these people and thus in our government? Rights are being taken away from us, like the right of choice, and national security, like at Mar-a-Lago. You don't have to be a genius to know that our legal and governmental systems are disintegrating. At some cortical level, even the walking dead cult people know it. They don't admit it, they can't admit it, but certainly they know it. The true administration of justice is the firmest pillar of good government. That's a quote from George Washington inscribed on the courthouse at Foley Square. It means we need to have public confidence in our government, or it will surely fail. Trump's greatest legacy is that he has taken that confidence away from us. Ask anyone, and they will tell you they are not confident. We also have to accept the social compact and find compassion and connection with our fellow citizens, our fellow human beings. For most of our history we've had that, but it seems clear that we don't have it now. Instead, we have visible racism, hatred, bigotry and open divisiveness. Trump exacerbated this at Charlottesville, and it now echoes long-term, across the country. He has politicized everything, from immigration to medicine and personal health, to science and climate change, to poverty and housing, to social and educational programs, to women's rights, to gun control and violence, and to politics in general. He has done this not to serve the public good, but to create chaos and enhance his power. He has flooded our daily discourse with lies, he has enlisted acolytes to repeat those lies. He has demanded that public officials lie for him, and he has created a media that spreads his propaganda. | 41,559 |
https://gaming.stackexchange.com/questions/169764 | StackExchange | Open Web | CC-By-SA | 2,014 | Stack Exchange | Caleb, https://gaming.stackexchange.com/users/20631, https://gaming.stackexchange.com/users/77290, user4951 | English | Spoken | 309 | 418 | I just lost my save game in infinity blade 3
I played until level 82 almost every skill is on.
The game often complain that I login as a "different" user. I have no idea what different user is that game talking about. I often don't have access to the net. I don't even know whether my game is saved at icloud or not.
Then I just turn on the game. I find out that I am back at introductory.
Anyway I know more about this? What can I do to fix this?
It looks like there is another player at level 82, whose name is "Me" and that must be my old save game.
If I go to leaderboards, I have "1" friend, named "Me" with my pic on it.
I wonder if my saved game is linked to my gamecenter account, icloud account, apple account or what?
Are all that the same?
Where is the save game located? How can I lost it?
I login to my iCloud and couldn't see infinity blade 3 save game on it.
Hopefully you had Cloud saves enabled before you lost your save. To find out if you did, follow these instructions taken from the Official FAQ.
Delete the Infinity Blade III app from your device.
Reinstall the Infinity Blade III app from iTunes.
Launch the Infinity Blade III app.
Ensure Cloud saves are enabled from the Infinity Blade III options menu.
Your last Cloud save will be downloaded and used.
If these steps don't work, unfortunately you cannot retrieve you save, but if you choose to start the game again make sure you enable Cloud saves before you start.
Good luck
I already have cloud save enabled. I already did the above. Didn't work.
Then unfortunately there is no way to retrieve that save game that I am aware of.
| 35,553 |
https://nl.wikipedia.org/wiki/Eilema%20voeltzkowi | Wikipedia | Open Web | CC-By-SA | 2,023 | Eilema voeltzkowi | https://nl.wikipedia.org/w/index.php?title=Eilema voeltzkowi&action=history | Dutch | Spoken | 42 | 90 | Eilema voeltzkowi is een vlinder uit de familie spinneruilen (Erebidae), onderfamilie beervlinders (Arctiinae). De wetenschappelijke naam van de soort is voor het eerst geldig gepubliceerd in 1909 door Aurivillius.
Deze nachtvlinder komt voor in tropisch Afrika.
Eilema
Dier uit het Afrotropisch gebied | 11,339 |
https://stackoverflow.com/questions/25224770 | StackExchange | Open Web | CC-By-SA | 2,014 | Stack Exchange | Shonosuke, fatiherdem, https://stackoverflow.com/users/2117469, https://stackoverflow.com/users/2428848 | English | Spoken | 448 | 694 | IntelliJ IDEA - how to map remote PYTHONPATH to local environment?
I'm using python remote interpreter in IntelliJ(13.1), and using "composes" modules which are installed on server.
By importing the module like follwing, I can use the module without any problem, but I get warn "No module named composes".
import composes
And I can't get the auto complete of the module in editor.
Do I need to map the remote PYTHONPATH to local?
If so, please tell me how to do that.
I found some documentation for this:
http://www.jetbrains.com/pycharm/quickstart/configuring_interpreter.html
I think best way is remote SSH interpreter. Check this out.
Edit: But don't forget. If you choose remote interpreter, you can't use your local modules.
Edit2:
1) Add deployment server from Tool->Deployment->Configuration
2) Add remote interpreter from File->Settings->Project Interpreter->Add remote And select the Deployment Configuration for FTP connection and can send to server your local files
3) And now you can upload your files to server from Pycharm. For this Right click to project folder->Upload to xxx. If all configuration is okay, now your files will upload to server and you can use auto-completion for your local files.
If it doesn't work, please try File->Invalidate cache. And let it delete all cache and download over it again.
Thanks for your answer. Yes, I'm using SSH interpreter and my programs go well. But my problem is that the editor put the warn "No module named composes" and I can't get the auto complete of the module.
What is your client and server OS?
My client is OSX10.9.4 and the server is CentOS5.10 .
Okay. Did you set your deployment configuration? If you did, please right click to your py file or project directory in Pycharm and select upload to xxx. xxx is your deployment config name.
Yes, I made a configuration by select Run -> Edit Configuration -> + -> Python and selected Use specified interpreter -> Remote Python 2.7.8(ssh://myserver:22)
And I also tried Upload to xxx and Remote Host -> Refresh -> **.py -> Upload here.
By doing above settings, I can successfully run my programs on remote python. But it still doesn't show auto complete on my code for the modules which I installed on remote server.
I tried all the steps you suggested(though some of the process are different in Intellij from Pycharm), but I could’t make auto-complete on with the module installed on the server.
But I was impressed with your courteous reply, thank you very much.
No problem. Can you try this with Pycharm 3.4? You can you use all feature with Pycharm, too.
Oh, well done. I am happy now. Can you tick the okay for my answer? And maybe upvote. :P :)
| 40,956 |
https://en.wikipedia.org/wiki/1976%20in%20Sweden | Wikipedia | Open Web | CC-By-SA | 2,023 | 1976 in Sweden | https://en.wikipedia.org/w/index.php?title=1976 in Sweden&action=history | English | Spoken | 199 | 372 | Events from the year 1976 in Sweden
Incumbents
Monarch – Carl XVI Gustaf
Prime Minister – Olof Palme, Thorbjörn Fälldin
Events
19 June – King Carl XVI Gustaf marries Silvia Sommerlath.
19 September – The 1976 Swedish general election is held.
14 October – Following a defeat for the Social Democratic Party of Sweden in the Swedish parliamentary election, Olof Palme resigns as Prime Minister of Sweden and is replaced with Thorbjörn Fälldin.
27 November –The Church of Sweden Öxnehaga Church in Öxnehaga near Huskvarna, Sweden is inaugurated.
Popular culture
Sports
23–28 February – The Winter Paralympics are held in Örnsköldsvik.
2–7 March – The 1976 World Figure Skating Championships are held in Gothenburg.
Music
11 October – The ABBA album Arrival released.
Livets teater by Magnus Uggla released.
Births
16 April – Robert Dahlqvist, Swedish singer-songwriter and guitarist (died 2016)
25 May – Stefan Holm, Swedish high jumper.
10 June – Patrik Kittel, horse rider.
25 August – Alexander Skarsgård, actor
Date unknown
Henrik Åberg, Swedish singer.
Gunnar Domeij, former floorball player.
Deaths
28 July – Karin Kock-Lindberg, politician (born 1891).
21 December – Karin Ekelund, Swedish actress (born 1913)
References
Years of the 20th century in Sweden | 21,433 |
https://stackoverflow.com/questions/35967174 | StackExchange | Open Web | CC-By-SA | 2,016 | Stack Exchange | Gunnar B., Mario, https://stackoverflow.com/users/409744, https://stackoverflow.com/users/4251829 | English | Spoken | 526 | 707 | Beside using a dictionary, is there a better way to tie a gameobject and a non-monobehavior class at runtime?
I have a generic case I believe, where I have a NPC class with stats and parameters that has to be updated while the game progress (imagine fatigue for an athlete that play a soccer game).
And I have a gameobject, which has a mesh an animator component and other components (scripts, monobehavior), to perform specific functionalities.
Now; if you have 2,5,10 NPC that's not a big deal, but if you have plenty; that need an update on various parameters, you may get a feeling for the issue here.
So far I have a dictionary, which has as key the class NPC, and as value the gameobject; so I can create the NPC gameobject at runtime, and "relate" a NPC class instance to that specific gameobject. This seems to work just fine, but the fact that it works is not a proof of being efficient.
Am I risking anything, using this approach? Or there is a better way? I did read somewhere that all problems disappear if all classes are monobehavior; although I was not able to see a practical comparison.
Why not adding a component/behavior that holds the reference to the class object?
tell me more, please...this is new to me
You shouldn't use such lists or dictionaries, since all lookups will take time, especially considering Unity already offers a component based system, so just create your own component for this.
I can post more details later, but basically create a new MonoBehavior like ClassNPC and add a public member to it that holds a reference to your class information object (e.g. public ClassInfo usedClass).
You can then use `GetComponent().usedClass' to access it (getting or setting).
Thanks for the reply. I thought about this solution, but it imply to use a monobehavior class; while my NPC class is just a standard C# class. Also isn't the action of add at runtime the component on the gameobject, and then retrieve it with GetComponent(), more expensive than a lookup in a dictionary?
@newbiez Not necessarily. It could be optimized behind the scenes, so it always returns the n-th component attached to this entity, i.e. becoming trivial. I don't know the actual implementation. It's the preferred way and outside your code's scope, so don't worry about it unless it becomes a performance issue.
I see; in my case I have a simple entity class which hold the NPC data/parameters; and since it was never meant to be processed by the UI, I made it as regular class. At this point I should make it as a monobehavior and go on with that. BTW it doesn't matter if I apply the reference to a class instance of my NPC class, right? Unity will take care of itself once that I use the addComponent on my prefab, while at runtime. Thanks!
Making your stats class a MonoBehaviour was not quite what Mario meant. You can still keep your stats class as it is and have a connector class that is a MonoBehaviour and that has a reference to the stats class.
| 50,668 |
https://stackoverflow.com/questions/19154653 | StackExchange | Open Web | CC-By-SA | 2,013 | Stack Exchange | FutuToad, https://stackoverflow.com/users/2116087 | English | Spoken | 165 | 331 | Tomcat server inside eclipse 4.3 issues with paths
I am running a tomcat server inside eclipse 4.3 but am having issues with paths on my server. e. g. this link returns a 404, but I'm sure the file is in the correct place (the root of web app)
http://localhost:8081/fooAppName/style.css
in eclipses tomcat server.xml
<Context docBase="Monitor" path="/fooAppName" reloadable="true" source="org.eclipse.jst.j2ee.server:Monitor"/></Host>
My index.zul file gets run fine though (this is the one that is trying to load the style.css)
Edit:
But the paths work fine in a standalone tomcat deployment.
Is this CSS provided by you and its a ZK CSS?
yeah I provide it, buts also other files like img's. the only file I can go to is index.zul in the eclipse tomcat run, see my edit
There are plenty of way to declare the CSS in ZK One way is add to zk.xml
<desktop-config>
<theme-uri>/resource/style/my.css</theme-uri>
</desktop-config>
And Another way is add in your zul something like this
<style src="/resource/style/login.css" />
Is this css outside project diretory?
| 47,759 |
https://sh.wikipedia.org/wiki/Adenozilmetionin%E2%80%948-amino-7-oksononanoat%20transaminaza | Wikipedia | Open Web | CC-By-SA | 2,023 | Adenozilmetionin—8-amino-7-oksononanoat transaminaza | https://sh.wikipedia.org/w/index.php?title=Adenozilmetionin—8-amino-7-oksononanoat transaminaza&action=history | Serbo-Croatian | Spoken | 54 | 285 | Adenozilmetionin—8-amino-7-oksononanoat transaminaza (, 7,8-diaminonanoat transaminaza, 7,8-diaminononanoat transaminaza, DAPA transaminaza, 7,8-diaminopelargonska kiselina aminotransferaza, DAPA aminotransferaza, 7-keto-8-aminopelargonska kiselina sintaza, diaminopelargonatna sintaza, 7-keto-8-aminopelargonska kiselina aminotransferaza) je enzim sa sistematskim imenom S-adenozil-L-metionin:8-amino-7-oksononanoat aminotransferaza. Ovaj enzim katalizuje sledeću hemijsku reakciju
S-adenozil-L-metionin + 8-amino-7-oksononanoat S-adenozil-4-metiltio-2-oksobutanoat + 7,8-diaminononanoat
S-adenozilhomocistein takođe može da deluje kao donor.
Reference
Literatura
Vanjske veze
EC 2.6.1 | 15,697 |
https://it.wikipedia.org/wiki/Giro%20del%20Lussemburgo%201979 | Wikipedia | Open Web | CC-By-SA | 2,023 | Giro del Lussemburgo 1979 | https://it.wikipedia.org/w/index.php?title=Giro del Lussemburgo 1979&action=history | Italian | Spoken | 121 | 285 | Il Giro del Lussemburgo 1979, quarantatreesima edizione della corsa, si svolse dal 6 al 10 giugno su un percorso di 620 km ripartiti in 4 tappe più un cronoprologo, con partenza a Lussemburgo e arrivo a Diekirch. Fu vinto dal lussemburghese Lucien Didier della Renault-Gitane davanti al francese Bernard Hinault e all'olandese Bert Oosterbosch.
Tappe
Dettagli delle tappe
Prologo
6 giugno: Lussemburgo > Lussemburgo (cron. individuale) – 1 km
1ª tappa
7 giugno: Lussemburgo > Grevenmacher – 189 km
2ª tappa
8 giugno: Grevenmacher > Esch-sur-Alzette – 191 km
3ª tappa
9 giugno: Esch-sur-Alzette > Echternach – 98 km
4ª tappa
10 giugno: Echternach > Diekirch – 141 km
Classifiche finali
Classifica generale
Collegamenti esterni
Giro del Lussemburgo
Ciclismo nel 1979 | 30,174 |
https://stackoverflow.com/questions/63963467 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | https://stackoverflow.com/users/7986808, khashashin | English | Spoken | 193 | 308 | How to safely delete django-allauth socialaccounts tables from my data
Please Note: I don't use any third party login accounts in my project, therefore I have no entries in my Database regarding socialaccount app.
I would like to remove following tables from my Database:
How to do that safely without breaking my currently working app. As I said this tables are empty and does not contain any data. If I just drop them and remove the django-allauth socialaccounts app from my installed apps, can I be sure that the django-allauth will continue to work without errors.
It also would be better to mention that in the docs that this allauth.socialaccounts app is not required if we don't want to use third party accounts to login.
Remove data from Models created by django-allauth (to remove relations with your Database project). You find this models in Django Admin.
Remove all django-allauth of your project. INSTALLED_APPS, additional AUTHENTICATION_BACKENDS, SOCIALACCOUNT_PROVIDERS, Template loads like {% load socialaccount %}, {% providers_media_js %}, etc.
Drop/cascade all django-allauth tables of your database.
I don't want to remove django-allauth by it self. I just want to remove the socialaccount part of it.
| 20,914 |
https://stackoverflow.com/questions/34377781 | StackExchange | Open Web | CC-By-SA | 2,015 | Stack Exchange | ErikE, Mickael Caruso, Tseng, https://stackoverflow.com/users/1858308, https://stackoverflow.com/users/455493, https://stackoverflow.com/users/57611 | English | Spoken | 438 | 923 | ASP.net 5 RC1 - Can't Reference System.Web.Mvc
I am using only the Core CLR, which could be the reason that I can't reference it.
I've got the following in my project.json:
...
"frameworks": {
"dnxcore50": {
"dependencies": {
"EntityFramework.Commands": "7.0.0-rc1-final",
...
"Microsoft.AspNet.Mvc": "6.0.0-rc1-final"
}
}
},
...
I referenced Microsoft.AspNet.Mvc, which I believe should let me reference System.Web.Mvc from my code. But no.
My Controller:
using System.Web.Mvc; // "Red underline under "Web"
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
namespace MyNamespace
{
[Authorize] // Red underlined
public class UsersController : Controller
{
// Code inside not shown because it's not the issue.
}
}
I'm trying to use the [Authorize] attribute in one of my Web API controllers.
UPDATE. I should also need to reference the new package Microsoft.AspNet.Authorization.
After about half an hour, hovering over the red-underlined [Authorize] attribute, the Intellisense gave me the suggestion to reference Microsoft.AspNet.Authorization. It didn't give me that option until just now.
Also, I've googled for the Authorize attribute for ASP.net 5, and all results and tutorials tell me to reference System.Web.Mvc. Turns out that all those tutorials are older.
Please don't edit the solution in your Question. Post an answer and mark it as checked, as soon as the grace period expired, otherwise the Question will be forever marked as open and stackoverflow will pick it up and show in the unanswered question section. This is how Stack overflow works
Thank you. I always thought that only other users can mark my responses as answered.
You can too, but there is a grace period of 2 days (48 hours). Check the help center: http://stackoverflow.com/help/self-answer
@Mickael I have some input for you for a question you recently posted on another stackexchange site... for some reason I can't comment there, and I don't want to make it a full answer. Would you consider emailing me at "rofi cut me", reversed, spaces removed, at the email platform hosted by the search-engine company headquartered in Mountain View?
Based on lucky discovery, I needed Microsoft.AspNet.Authorization to use [Authorize]. No tutorial or even googling for this gave me this info.
project.json: Note, new reference Microsoft.AspNet.Authorization;
...
"frameworks": {
"dnxcore50": {
"dependencies": {
"EntityFramework.Commands": "7.0.0-rc1-final",
...
"Microsoft.AspNet.Authorization": "1.0.0-rc1-final",
"Microsoft.AspNet.Mvc": "6.0.0-rc1-final"
}
}
},
...
Controller:
// using System.Web.Mvc; // Removed this line - old. Possibly changed as far back as Beta8
using System.Threading.Tasks;
using Microsoft.AspNet.Authorization; // Added this line. It's new.
using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
namespace MyNamespace
{
[Authorize] // No longer red-underlined. This is from Microsoft.AspNet.Authorization
public class UsersController : Controller
{
// Code inside not shown because it's not the issue.
}
}
| 38,482 |
https://diy.stackexchange.com/questions/139872 | StackExchange | Open Web | CC-By-SA | 2,018 | Stack Exchange | English | Spoken | 752 | 1,041 | Calculate conductors for box fill
I have a 5 gang switch box I'm trying to calculate how many "conductors" I can have in it. Basically my main question is, do wires that originate and terminate inside the box count as +1 each (wires in nuts/splices going to switch)? Or is it only wires that originate outside the box and come into it?
I have a 63in³ (2.75x2.5x9.25) box with 5x standard switches, I'm looking to replace with zwave switches. From my calculations I have (all 14ga):
+12 Hot/Neutral wires coming into the box (2 from breaker panel, 10 feeding the 5 lights)
+1 Ground (6 bare ground coming in/out but only 1 counts for this?)
+1 wire clamps in the box
+10 Devices ( 5 switches, counts as 2 each)
+3 Traveler wires (Do these count?)
So if it's that simple, I need at least a 54in³ and I'm good. But my question is what about the spliced short wires that originate and terminate in the box? So if all 6 of my neutrals (for the 5 switches and 1 live) are bonded together under a wire nut, then I run a neutral from that bond to each of the switches, that's +5 more spliced wires, do they need to get counted? And if I do similar for ground and hot that's another +10. Then I get into more fun dilemmas like max conductors in a wire nut and making splicing chains (my GB reds say only 5x #14).
It's a really ugly layout I wish they had split this up into different boxes, but I want to convert this whole thing so it can be put on my HA system. The current layout of 5x 2-wire switches has a lot less wires in the box so box fill isn't as much of a concern, but considering smart switches need both neutral and ground running to them as well it adds a lot more to that box. It's going to be really cramped with all the splices/wire nuts.
Anything else I'm not considering?
Thanks!
Reading your question, it appears you are familiar with NEC Article 310.14 so lets not get into that. The biggest problem I have ever faced with multiple wire and devices was not meeting the box fill requirements but getting all that stuff into the box and mounted properly. So plan how you are going to splice and connect all of your conductors carefully. Bundle all of the common conductors together, try not to crossover too many conductors and plan to keep your splices in different areas of the box and not interfering with the installation of the devices.
One last thing, these boxes come in different depths, traditionally 1 1/2, 2 1/2 and 3 1/2. If it's not too late you might try to purchase and install the 3 1/2" variety.
Good luck.
But my question is what about the spliced short wires that originate and terminate in the box?
Wires originating and terminating inside the junction box are not included in the minimum fill calculation.
Doesn't mean they don't take up space (see RME's answer for advice on good use of space and starting with as big a box as will fit).
NEC 314.16.b.1 states conductors originating outside the box with conections or passing through are counted. Pig tails that connect a group of wires then connect to the switch or device are not added. With this said if you get crazy pigtailing with long pieces you can be under the box fill calculation but not able to install the devices.
Pigtails don't count
Quoting 314.16(B)(1) (abridged):
A conductor, no part of which leaves the box, shall not be counted.
So, your pigtails don't count at all.
Only 1 ground counts
You are correct that only 1 of the equipment grounding conductors gets a fill allowance, this is as per 314.16(B)(5) (abridged as 250.146(D) isn't relevant):
(5) Equipment Grounding Conductor Fill. Where one or
more equipment grounding conductors or equipment bonding
jumpers enter a box, a single volume allowance in accordance
with Table 314.16(8) shall be made based on the largest
equipment grounding conductor or equipment bonding jumper
present in the box.
But the travelers do count
However, since the travelers do leave the box, they do count against wire fill.
Get better nuts
You may wish to invest in some push-in type splicing connectors with 8 or 10 individual wire terminations in this case -- this will allow you to avoid fussing with daisy-chained wire nuts.
| 5,884 | |
https://stackoverflow.com/questions/68293270 | StackExchange | Open Web | CC-By-SA | 2,021 | Stack Exchange | Han, Zeitounator, https://stackoverflow.com/users/11002, https://stackoverflow.com/users/3893990, https://stackoverflow.com/users/9401096, tgdavies | English | Spoken | 366 | 869 | How to package a repository using maven. No java source files included
I'm new to maven. I have a repository contains Ansible playbooks and its config and inventory files. All I want to do is, using Jenkinsfile, SCM Checkout and upload the ansible artifacts to nexus with version increment.
I was able package a war file and upload to nexus. But, when I unzip the war file it contains only below files.
98 07-07-2021 16:53 META-INF/MANIFEST.MF
0 07-07-2021 16:53 META-INF/
802 07-07-2021 16:53 META-INF/maven/devansible/AB-ANSIBLE/pom.xml
86 07-07-2021 16:53 META-INF/maven/devansible/AB-ANSIBLE/pom.properties
Now I know Its not working, How can I just package a repository/folder to rar, war or tar anything using maven.
pom.xml looks like below.
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>devansible</groupId>
<artifactId>AB-ANSIBLE</artifactId>
<version>1.2.0</version>
<packaging>war</packaging>
<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<!-- Use this to include a selection of jars that will be included in the WAR -->
<packagingIncludes>${basedir}/*</packagingIncludes>
</configuration>
</plugin>
</plugins>
</build>
</project>
Have a look at the assembly plugin: http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
And since you are on war. Look into this https://maven.apache.org/plugins/maven-war-plugin/usage.html. Compare if the directory structure created is correct. Maybe it's src/main/ directory issue.
Deploying ansible playbooks, roles and inventories using maven to package a war file ?!?!? You are using a saw to drive a screw. Why don't you get those files out of git directly using a tags for your version ? If you use gitlab or github, you can also publish releases based on those tags. Roles can be deployed from their own git repo if needed using a requirements.yml file and downloaded through the ansible-galaxy tool.
Ansible files are not java files so you should use a packaging for java applications. You can use a jar file to store files, but this is not done for this purpose. I agree, a jar file can contain javadoc files ou java sources but this is still "java world".
From my point of view, the best is to create a "zip" file using the assembly publin see.
The other question is: where to store ansible scripts in a maven project?
Looking to the maven Standard Directory Layout one solution is to store them in src/main/resources for the applications and in src/test/resources for tests.
| 5,188 |
https://kk.wikipedia.org/wiki/%D0%9A%D0%B8%D0%B7%D0%B0%D1%81%20%28%D0%9C%D1%80%D0%B0%D1%81-%D0%A1%D1%83%20%D1%82%D0%B0%D1%80%D0%BC%D0%B0%D2%93%D1%8B%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Кизас (Мрас-Су тармағы) | https://kk.wikipedia.org/w/index.php?title=Кизас (Мрас-Су тармағы)&action=history | Kazakh | Spoken | 133 | 544 | Кизас — Ресейдегі өзен. Кемеров облысы, Хакасия Республикасы, Алтай Республикасы жер аумақтарынан ағып өтеді. Өзен сағасы Мрас-Су өзенінің оң жағалауынан 252 км қашықтықта орналасқан. Өзен ұзындығы 24 км-ді құрайды.
Су реестрінің мәліметтері
Ресей мемлекеттік су тізілімінің мәліметі бойынша Жоғарғы Обь су алабы өңіріне жатады, өзеннің сушаруашылық бөлігі — Томь бастауынан Кондома өзенін қоспағанда, Новокузнецк қаласына дейін. Өзен саласы — Томь, өзен алабы — Ертіске қосылу құйылысына дейінгі (Жоғарғы) Обь.
Ресей су ресурстары федералды агенттігі дайындаған РФ территориясын сушаруашылығы бойынша аудандастыру жөніндегі геоақпараттық жүйе мәліметтері бойынша:
Мемлекеттік су реестріндегі су объектісінің коды — 13010300212115200008310
Гидрологиялық тұрғыдан зерттелу (ГЗ) коды — 115200831
Су алабының коды — 13.01.03.002
ГЗ томының нөмірі — 15
ГЗ бойынша шығарылуы — 2
Дереккөздер
Сыртқы сілтемелер
Ресей Федерациясы Табиғи ресурстар және экология министрлігі
Кемеров облысы өзендері
Хакасия өзендері
Алтай өлкесі өзендері | 13,846 |
https://new.wikipedia.org/wiki/%E0%A4%AA%E0%A5%86%E0%A4%B3%E0%A5%8D%E0%A4%B3%E0%A4%BE%E0%A4%82%20%E0%A4%AA%E0%A4%BF%E0%A4%9A%E0%A5%8D%E0%A4%9A%E0%A5%8B%E0%A4%A1%E0%A5%81%20%28%E0%A4%B8%E0%A4%A8%E0%A5%8D%20%E0%A5%A8%E0%A5%A6%E0%A5%A6%E0%A5%AC%E0%A4%AF%E0%A4%BE%20%E0%A4%B8%E0%A4%82%E0%A4%95%E0%A4%BF%E0%A4%AA%E0%A4%BE%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | पॆळ्ळां पिच्चोडु (सन् २००६या संकिपा) | https://new.wikipedia.org/w/index.php?title=पॆळ्ळां पिच्चोडु (सन् २००६या संकिपा)&action=history | Newar | Spoken | 35 | 214 | पॆळ्ळां पिच्चोडु छगु तेलेगु भाषाया नांजागु संकिपा खः। थ्व संकिपा सन् २००६य् पिहांवगु खः।
बाखँ
मू पात्र
संकिपा देकिपिं
निर्देशक :
निर्माता :
सिरपा
स्वया दिसँ
तेलेगु संकिपातेगु धलः
पिनेयागु स्वापू
तेलेगु विकिपिडिया
तेलुगु संकिपा | 31,518 |
https://ceb.wikipedia.org/wiki/Xenophysa%20xenogramma | Wikipedia | Open Web | CC-By-SA | 2,023 | Xenophysa xenogramma | https://ceb.wikipedia.org/w/index.php?title=Xenophysa xenogramma&action=history | Cebuano | Spoken | 41 | 76 | Kaliwatan sa alibangbang ang Xenophysa xenogramma. Una ning gihulagway ni Charles Boursin ni adtong 1969. Ang Xenophysa xenogramma sakop sa kahenera nga Xenophysa, ug kabanay nga Noctuidae. Walay nalista nga matang nga sama niini.
Ang mga gi basihan niini
Insekto
Xenophysa | 7,764 |
https://stackoverflow.com/questions/50739793 | StackExchange | Open Web | CC-By-SA | 2,018 | Stack Exchange | Biswajit17, Pankaj Sharma, Pradeep, Shashikant Chauhan, https://stackoverflow.com/users/4433101, https://stackoverflow.com/users/5972559, https://stackoverflow.com/users/6529212, https://stackoverflow.com/users/9042258 | English | Spoken | 327 | 856 | Multiple WHERE condition issue at update_batch in CodeIgniter
Facing problem to used multiple Where condition at update_batch in CodeIgniter.
No error message is not showing . As well as Data is not updating at database.
But after click Submit Button is giving me flash message as Data is submitted successfully. But Database could not be able to Update.
Please suggest me what should I do !
Controller ------------------------------------
public function masterPrice_update($m_fran_id = null)
{
$sID = $this->input->post('m_test_id');
$sAmt = $this->input->post('m_updated_test_price');
$sFranId = $this->input->post('m_fran_id');
for ($i= 0; $i < count($sID); $i++)
{
$edited_test[] = array(
'm_test_id' => $sID[$i],
'm_updated_test_price' => $sAmt[$i],
'm_fran_id' => $sFranId[$i]
);
}
if ($this->form_validation->run() === true) {
$this->franchise_price_model->singlebatch_Test_updt($edited_test);
$this->session->set_flashdata('message', display('save_successfully'));
redirect('branch/franchise_price/masterPrice_update');
}
}
Modal ---------------------
public function singlebatch_Test_updt($edited_test =[], $sFranId ='')
{
$this->db
->where('m_fran_id',$sFranId)
->update_batch($this->fran_test_pricemaster, $edited_test , 'm_test_id' );
}
@KalroKokka , sir can you please suggest me
You don't have to use where condition in a model method. You can check here. : https://www.codeigniter.com/user_guide/database/query_builder.html?highlight=update_batch
pls tell what is the id based on which you want to update your table
You can use $this->db->last_query() to print query. I think you have issue in where condition from controller you are not passing $sFranId to model.
I mean , $sFranId its value is not coming from Controller to Modal ? @PankajSharma
you are not passing value in contoller you are passing only one value you are passing $this->franchise_price_model->singlebatch_Test_updt($edited_test); and in model you are taking 2 values function singlebatch_Test_updt($edited_test =[], $sFranId ='')
Then can you please help me how to write the code at Controller ?? @PankajSharma
please try to replace your controller line to this $this->franchise_price_model->singlebatch_Test_updt($edited_test,$sFranId); and also print last query
I already done the same things , But not getting the desire value . When run the code , getting error message like -- Unknown column 'Array' in 'where clause'
Thank you | Code is running |
Use this type of Query
$this->db->query("UPDATE table_name SET column1 = value1, column2 = value2 WHERE condition AND condition2");
| 28,158 |
https://stackoverflow.com/questions/26083314 | StackExchange | Open Web | CC-By-SA | 2,014 | Stack Exchange | Alex Godofsky, Jon Skeet, RichardK, biziclop, https://stackoverflow.com/users/22656, https://stackoverflow.com/users/2966603, https://stackoverflow.com/users/3928341, https://stackoverflow.com/users/566117, https://stackoverflow.com/users/574479, nem035 | English | Spoken | 773 | 1,179 | Java - how to sort object in many ways: Arrays.sort(), Comparable<T>
Let's say that I have an array with objects, where I have some employees (objects). They all have: int age, double salary. I want to sort this array so my class implements Comparable <Employee>. I've made a method:
public int compareTo(Employee other) {
return Double.compare(salary, other.salary);
}
And it's ok, sorting is working fine. But I'm sorting by double salary. Now I want to sort by int age so what now? I've made a method:
public int compareAge(Employee other) {
return Integer.compare(age, other.age);
}
And how can I use Arrays.sort() with this? I want to have possibility to use both methods - sort by salary, sort by age. Thank you for help.
To implement multiple ways of sorting a collection of Employee references, you should create separate classes implementing Comparator<Employee>. So you might have:
public class EmployeeAgeComparator implements Comparator<Employee> {
...
}
public class EmployeeSalaryComparator implements Comparator<Employee> {
...
}
Then you just pass an instance of the appropriate comparator into the Arrays.sort method.
Basically, implementing Comparable is good when there's one sort order which is a sensible default - but comparators allow you to separate "the things being compared" from "the thing doing the comparing."
As a side-note, using double to represent currency values (like salaries) is a bad idea, due to the way binary floating point works (e.g. not being able to represent 0.1 exactly)... use BigDecimal, or store an integer number of cents (or whatever currency unit you're using).
Thank you, but I can't access private fields for int age, double salary which are Employee class fields.
@RichardK: And the class doesn't expose them as properties somewhere? You could create a method to create a comparator using an anonymous inner class, but using properties would be cleaner IMO. Sorting by unobservable values is fairly odd.
Wouldn't it generally be better form as of Java 8 to implement these as instances initialized by lambda expressions or Comparator.comparing?
@Alex: yes, that would make a lot of sense. I don't use Java 8 day-to-day yet, so I don't think of Java 8 idioms first. Will edit when I get a chance.
You should use two Comparator classes instead of implementing Comparable.
In short, a class that implements Comparable will be comparable in a single aspect to instances of that class.
A class that implements Comparator will be a comparator medium for some other class. This means you can have multiple comparators to compare classes for different aspects. Furthermore, a Comparator class can be passed to a sort method, such as Collections.sort() or Arrays.sort(), to allow precise control over the sort order and can also be used to control the order of certain data structures, such as sorted sets or sorted maps.
To serve your purpose, what you could do is create two Comparator classes like:
class SalaryComparator implements Comparator<Employee> {
int compare(Employee a, Employee b) {
return Double.compare(a.salary, b.salary);
}
}
class AgeComparator implements Comparator<Employee> {
int compare(Employee a, Employee b) {
return Integer.compare(a.age, b.age);
}
}
And then when calling a sorting method you pass in a Comparator you would like to use.
For example, if you had an ArrayList<Employee> list and you want to sort it by salary you can do something like:
Collections.sort(list, new SalaryComparator()); // sort the list by salaries
Or if you had an Employee[] array and you want to sort it by age for example:
Arrays.sort(array, new AgeComparator()); // sort the array by age
An added bonus here is that Collections.sort() is guaranteed to be conservative. If you want to sort employees by salary and those with equal salaries by age, all you need to do is to sort the list by age first, then by salary.
Thank you, but I can't access private fields for int age, double salary which are Employee class fields.
No problem and you should just add public getter methods for salary and age like public int getAge() { return this.age; } inside your Employee class and then use it inside the comparator like other.getAge() instead of other.age. Do similarly for salary.
Another way you could solve this is to add these two comparator classes inside your Employee class because inner classes have access to private member of their outer class.
Thank you, it works like this:
public class CompareAge implements Comparator {
@Override
public int compare(Employee a, Employee b) {
return Integer.compare(a.getAge(), b.getAge());
}
Basicly I had to compare 2 objects, I used Employee a, Employee b.
@RichardK yes that's a way to go, I just realized I forgot to add two parameters to the compare function, fixed it :D
| 29,866 |
https://ja.wikipedia.org/wiki/ESPN%E3%82%BE%E3%83%BC%E3%83%B3 | Wikipedia | Open Web | CC-By-SA | 2,023 | ESPNゾーン | https://ja.wikipedia.org/w/index.php?title=ESPNゾーン&action=history | Japanese | Spoken | 8 | 345 | EPSNゾーン()は、ウォルト・ディズニー・カンパニー(ディズニー・パークス・エクスペリエンス・プロダクツ)が運営していたレストラン・エンターテインメント施設である。
概要
1996年にアメリカのウォルト・ディズニー・カンパニーがABCを買収したことで、ESPNは購入の重要な部分となり、ESPNをテーマにしたレストラン、小売店へとブランドを拡張した。
レヴィットは、1992年にオリジナルのアイデアを持ち、マイケル・アイズナーはディズニー・リージョナル・エンターテイメントを設立した。
閉鎖
2017年10月に、ディズニーはESPNゾーンと他のダウンタウン・ディズニーを交換する計画を発表され、「ディズニーランド・リゾート」と「ウォルト・ディズニー・ワールド・リゾート」は『スター・ウォーズ:ギャラクシーズ・エッジ』2018年6月2日に閉鎖された。
脚注
ESPN | 18,007 |
https://fa.wikipedia.org/wiki/%D9%BE%D8%A7%D9%88%D9%84%20%DA%A9%D8%B1%D9%88%D9%BE%D8%A7 | Wikipedia | Open Web | CC-By-SA | 2,023 | پاول کروپا | https://fa.wikipedia.org/w/index.php?title=پاول کروپا&action=history | Persian | Spoken | 96 | 325 | پاول کروپا (؛ زاده ۲۴ سپتامبر ۱۹۶۳) یک اخترفیزیکدان اهل جمهوری چک-استرالیا و استاد در دانشگاه بن است.
پس از سقوط بهار پراگ در سال ۱۹۶۸ خانواده کروپا از چکسلواکی گریختند. در نتیجه کروپا در آلمان و آفریقای جنوبی پرورش یافت. وی در رشته فیزیک در دانشگاه استرالیای غربی در پرت تحصیل نمود. در سال ۱۹۸۸ وی برنده بورس تحصیلی آیزاک نیوتن در دانشگاه کمبریج شد.
کروپا ازدواج نموده است و صاحب یک پسر است.
منابع
اخترشناسان اهل استرالیا
استرالیاییهای چکتبار
اعطای تابعیت استرالیا
افراد زنده
دانشآموختگان دانشگاه استرالیای غربی
زادگان ۱۹۶۳ (میلادی)
فیزیکدانان اهل استرالیا | 30,397 |
https://war.wikipedia.org/wiki/Podagrion%20terebratum | Wikipedia | Open Web | CC-By-SA | 2,023 | Podagrion terebratum | https://war.wikipedia.org/w/index.php?title=Podagrion terebratum&action=history | Waray | Spoken | 36 | 65 | An Podagrion terebratum in uska species han Hymenoptera nga ginhulagway ni Embrik Strand hadton 1911. An Podagrion terebratum in nahilalakip ha genus nga Podagrion, ngan familia nga Torymidae. Waray hini subspecies nga nakalista.
Mga kasarigan
Podagrion | 22,488 |
https://la.wikipedia.org/wiki/Ferdinandus%20Toletanus%20Dux%20Albanus | Wikipedia | Open Web | CC-By-SA | 2,023 | Ferdinandus Toletanus Dux Albanus | https://la.wikipedia.org/w/index.php?title=Ferdinandus Toletanus Dux Albanus&action=history | Latin | Spoken | 84 | 181 | Ferdinandus Toletanus, Dux Albanus, etiam Dux Alba tantum dictus (natus in vico apud Abulam die 29 Octobris 1506; mortuus Olisipone die 11 Decembris 1582), fuit regius Belgii Hispanici praefectus ab anno 1567 usque ad annum 1573. Vir nobilis ex Castella oriundus et rei militaris praeclarus Caroli I et Philippi II regum Hispaniae comes fuit.
Bibliographia
Antonio Ossorio (S. I.): Ferdinandi Toletani albae ducis vita & res gestae, 2 voll., Salmantica 1669. tomus prior, tomus alter
Notae
Historia Nederlandiae
Milites Hispaniae
Nati 1507
Mortui 1582 | 28,583 |
https://pl.wikipedia.org/wiki/Dmitrij%20Gusiew%20%28ujednoznacznienie%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Dmitrij Gusiew (ujednoznacznienie) | https://pl.wikipedia.org/w/index.php?title=Dmitrij Gusiew (ujednoznacznienie)&action=history | Polish | Spoken | 9 | 36 | Dmitrij Gusiew
Dmitrij Gusiew (funkcjonariusz)
Dmitrij Gusiew (starszy porucznik) | 44,919 |
https://stackoverflow.com/questions/5918838 | StackExchange | Open Web | CC-By-SA | 2,011 | Stack Exchange | Alireza.pr, Bala R, Jonah, MassimoTheStarter, Pepe, bornidiot, https://stackoverflow.com/users/12775388, https://stackoverflow.com/users/12775389, https://stackoverflow.com/users/12775390, https://stackoverflow.com/users/273200, https://stackoverflow.com/users/278899, https://stackoverflow.com/users/312172, https://stackoverflow.com/users/601159, user unknown | English | Spoken | 266 | 446 | Word Is In Dictionary or Not
I am trying to see if a word is in the dictionary or not. Is there any way to do that?
are we talking about the data-structure "dictionary"?
The data structure or Language dictionary?
Language dictionary. So if i put in "efslkjd" it should not say that is a word but if i put in "Thank" in should say it is a word
Do you have an dictionary on your system? On linux, you normally have files called *dict* and/or *spell* on your drive. Depending on your locale, they might contain abbvs. like en-US and similar. To have a starting point, use find/locate: find $(locate -i dict) -size +100k -ls or find $(locate -i spell) -size +100k -ls | grep -i en | grep -i us. Then you analyze the files, which are usually plain text in an easy to guess format. Read the file, fill a map, 10M of RAM is no problem - is it?
i dont think so . i have a mac.
Get a list of (assumingly) English words and put it in a database (probably Sqlite for portability). You can get lists of words here:
http://wordlist.sourceforge.net/
Or here (found at https://stackoverflow.com/questions/824422):
http://www.curlewcommunications.co.uk/wordlist.html
Use a library corresponding to the database of your choice to query the table for a word. Here's a Sqlite engine written in pure Java:
http://sqljet.com/
I am a beginner to this stuff so I don't really know how to use Sqlite. Are there any easier ways?
@The Waller: Not that are as efficient. There's a tutorial on the Sqljet site here: http://sqljet.com/tutorial.html
| 24,458 |
https://ja.wikipedia.org/wiki/%E3%82%B0%E3%83%AC%E3%82%B4%E3%83%AA%E3%83%BB%E3%83%90%E3%83%AB%E3%83%92%E3%83%B3 | Wikipedia | Open Web | CC-By-SA | 2,023 | グレゴリ・バルヒン | https://ja.wikipedia.org/w/index.php?title=グレゴリ・バルヒン&action=history | Japanese | Spoken | 35 | 358 | グレゴリ・バルヒン(Grigory Barkhin、1880年-1969年)は、ロシアの建築家で建築理論家。都市計画家。
オデッサ芸術専門学校と芸術アカデミーを卒業し、1909年から、で教鞭を執る。また、1932年発足の建築家同盟の創立メンバーでもある。1933年から1938年まで、モスクワ市議会第4設計事務所所長として、トゥループナヤ広場から、オスタンキノ地区までの地区再開発計画を担当した。この計画は、1971年の綜合計画で実現する。
建築の代表作
日刊紙イズヴェスチャ本社ビル(Izvestiia Building, モスクワ, 1927年)
参考文献
architect G. Barkhin. From A History of Russian Architecture by William Craft Brumfield, Cambridge University Press 1993
19世紀ロシアの建築家
20世紀ロシアの建築家
ソビエト連邦の建築家
ロシアの都市計画家
ソビエト連邦の都市計画家
ペルミ県出身の人物
ペルミ出身の人物
1880年生
1969年没 | 19,190 |
https://ceb.wikipedia.org/wiki/Letena%20Makamba | Wikipedia | Open Web | CC-By-SA | 2,023 | Letena Makamba | https://ceb.wikipedia.org/w/index.php?title=Letena Makamba&action=history | Cebuano | Spoken | 214 | 361 | Bukid ang Letena Makamba sa Indonesya. Nahimutang ni sa lalawigan sa Provinsi Nusa Tenggara Timur, sa habagatang bahin sa nasod, km sa sidlakan sa Jakarta ang ulohan sa nasod. metros ibabaw sa dagat kahaboga ang nahimutangan sa Letena Makamba, o ka metros sa ibabaw sa naglibot nga tereyn. Mga ka kilometro ang gilapdon sa tiilan niini. Ang Letena Makamba nahimutang sa pulo sa Pulau Sumba.
Ang yuta palibot sa Letena Makamba kabungtoran sa amihang-kasadpan, apan sa habagatang-sidlakan nga kini mao ang patag. Kinahabogang dapit sa palibot ang Letena Taau, ka metros ni kahaboga ibabaw sa dagat, km sa kasadpan sa Letena Makamba. Dunay mga ka tawo kada kilometro kwadrado sa palibot sa Letena Makamba medyo gamay nga populasyon.. Sa rehiyon palibot sa Letena Makamba, kabukiran talagsaon komon.
Hapit nalukop sa durowan ug kabugangan ang palibot sa Letena Makamba. Ang klima nga savanna. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Oktubre, sa °C, ug ang kinabugnawan Hulyo, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Disyembre, sa milimetro nga ulan, ug ang kinaugahan Agosto, sa milimetro.
Saysay
Ang mga gi basihan niini
Kabukiran sa Provinsi Nusa Tenggara Timur
Kabukiran sa Indonesya nga mas taas kay sa 500 metros ibabaw sa dagat nga lebel
Mga artikulo sa posisyon itarong ni bot | 8,102 |
https://hsb.wikipedia.org/wiki/H%C3%B3rka%20wuro%C4%87 | Wikipedia | Open Web | CC-By-SA | 2,023 | Hórka wuroć | https://hsb.wikipedia.org/w/index.php?title=Hórka wuroć&action=history | Upper Sorbian | Spoken | 158 | 471 | Hórka wuroć (Persicaria hydropiper, syn.: Polygonum hydropiper) je rostlina ze swójby wuroćowych rostlinow (Polygonaceae).
Wopis
Hórka wuroć je jednolětna rostlina, kotraž docpěje wysokosć wot 25 hač do 60 cm.
Łopjena su lancetojte a docpěja dołhosć wot 4 hač do 12 cm.
Kćěje wot julija hač do septembra. Swětłoróžojte abo nazeleń běłe kćenja docpěja dołhosć wot 3 hač do 6 cm a steja w ćeńkich, čumpatych, zwjetša přewisowacych, 4-6 cm dołhich kwětnistwach, při čimž kćenja su po jednym widźomne.
Wobsahowa maćizna
Rostlina wobsahuje eteriske wolije.
Stejnišćo
Rosće w hrjebach, na brjohach, na žórłach, na lěsnych pućach a na pustych płoninach. Ma radšo mokre, zwjetša małowapnite pódy.
Podobna družina
Miła wuroć (Persicaria dubia) ma miły słód.
Nóžki
Žórła
Schauer - Caspari: Pflanzenführer für unterwegs, ISBN 978-3-8354-0354-3, 2. nakład, 2008, strona 358, jako podobna družina Wasserpfeffer, Pfeffer-Knöterich (P. hydropiper) pod hesłom Milder Knöterich (Polygonum mite)
Spohn, Aichele, Golte-Bechtle, Spohn: Was blüht denn da? Kosmos Naturführer (2008), ISBN 978-3-440-11379-0, strona 40
Wuroć | 42,616 |
https://sv.wikipedia.org/wiki/Desa%20Krukut | Wikipedia | Open Web | CC-By-SA | 2,023 | Desa Krukut | https://sv.wikipedia.org/w/index.php?title=Desa Krukut&action=history | Swedish | Spoken | 78 | 174 | Desa Krukut är en administrativ by i Indonesien. Den ligger i provinsen Jawa Barat, i den västra delen av landet, km söder om huvudstaden Jakarta.
Tropiskt regnskogsklimat råder i trakten. Årsmedeltemperaturen i trakten är °C. Den varmaste månaden är oktober, då medeltemperaturen är °C, och den kallaste är april, med °C. Genomsnittlig årsnederbörd är millimeter. Den regnigaste månaden är december, med i genomsnitt mm nederbörd, och den torraste är september, med mm nederbörd.
Källor
Indelningar i Jawa Barat | 36,161 |
https://ceb.wikipedia.org/wiki/Muss.Puschk.%20%28awtor%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Muss.Puschk. (awtor) | https://ceb.wikipedia.org/w/index.php?title=Muss.Puschk. (awtor)&action=history | Cebuano | Spoken | 16 | 45 | Si Muss.Puschk. nga ang hamubong pangalan niini nag tudlo kang:
Apollo Mussin-Pushkin
Apollo Mussin-Pusjkin
Mga awtor | 25,054 |
https://ml.wikipedia.org/wiki/%E0%B4%B8%E0%B4%95%E0%B5%8D%E0%B4%95%E0%B5%86%E0%B4%B0%E0%B4%BE%E0%B4%A8%20%E0%B4%85%E0%B4%B8%E0%B5%8D%E0%B4%AE%E0%B4%BE%E0%B4%A4%E0%B4%BF | Wikipedia | Open Web | CC-By-SA | 2,023 | സക്കെരാന അസ്മാതി | https://ml.wikipedia.org/w/index.php?title=സക്കെരാന അസ്മാതി&action=history | Malayalam | Spoken | 12 | 119 | സക്കെരാന കുടുംബത്തിൽ ഉൾപ്പെടുന്ന ഒരു തവളയാണ് സക്കെരാന അസ്മാതി
സക്കെരാന
ബംഗ്ലാദേശിലെ ഉഭയജീവികൾ
ബംഗ്ലാദേശിലെ തവളകൾ | 44,375 |
https://ux.stackexchange.com/questions/68568 | StackExchange | Open Web | CC-By-SA | 2,014 | Stack Exchange | https://ux.stackexchange.com/users/58108, shankeith | English | Spoken | 823 | 1,075 | Entering Multiple Items and Their Properties, how to go about on Mobile App?
I'm developing a simple Bill Splitting App
First step is to add the people, then on the second page you add the items and who it belongs to.
Now my issue here is that I'm not sure how to approach this to make it user friendly. As you can see on the Add Items page, you type in the name(or default name will be issued if blank) the price, then you select the people who belong to that item. Click the Add button to save. This saves it to the list at the bottom of the page in the app where you can edit, etc.
My issues here are:
I'm wondering if this page is too long. When the user clicks add, they wont see that it has been added to the list below.
If I add it on a seperate page, is that too many pages to navigate too? I kind of wanted to minimize the the steps as much as possible, but still allow them to come back for editing properties.
I really want this app to have UX in mind. What do you guys think?
Not sure what the gear icon does here but can you change it to a badge with the total number of items? That way the only thing left on the page is Item Name, Price and people who ate some of it. Clicking ADD can animate the number in the top right corner as it increases to indicate that it's up there. Clicking the number in the top right corner can list all the items with remove buttons next to each one.
gear icon is the settings
I think your first UX challenge is that the Add Button will fall off the bottom of the screen (fall beneath the fold) as soon as you add a few people. If that Add button's click is the moment that you save your data, then letting it leave the visible part of the screen is dangerous. The user may leave the app with unsaved data and should the app subsequently close (due to resource crunch or the phone being turned off), that data would be lost forever.
To address this, I would suggest saving your data every time it changes. Change the quantity, auto save it. Add a person to an item, auto save it. There should never be a moment when the data on the screen and the data which has been saved differ from each other.
Similarly, why are you waiting for them to press the Done button before splitting the bill? Just add each person's current total next to their name in the "person selection" area.
This should allow you to drop both the Add and Done buttons, leaving you with two lists, (items and people) and two buttons (new-item and back).
The item entry form should only appear after new-item is tapped, or when one of the existing items is tapped, signifying that the user wants to edit that previously entered item.
Tapping the user list, selecting a user when the item entry form is not open, should possibly repurpose the item list, showing the selected user's price for each item (along with how many people are also paying for that item's total purchase).
One more thought...
How much does the sushi cost? Is the app dedicated to a particular restaurant, so the prices are already know to it, or should a unit price field be added near the quantity field?
the price is being added on this page
Think of the use case first! (And I was led astray by the simple "Bill Splitting" title - I consider calculating every part down to the penny as parsimonious (the mean meaning!) and not really social).
So the bill is on the table, and the guy (or girl) who paid it wants their money back. I think the easiest way to go is to run down this list of items on the bill, entering its name and price and eaters, item by item:
[Salad]
[13]
[x] Alex
[x] Edward
[ ] Barney
[New Eater]
[Next Item] [Finished]
[New Eater] is an empty text field where you can enter another person to pay for this. It might be good to check this box by default, that way you can run through the items with minimal overhead (entering people only when the have to pay for this item).
[Next Item] will advance to the next item, i.e., clear the item name and price and the eater checkboxes. You can scroll the item pages horizontally by swiping, if you like (back and forth for corrections).
[Finished] will calculate the tally for everyone and display it on another page.
EDIT
Don't forget the tip! E.g., after [Finished], you can display a page with "Tip" as item name, a field for the amount, and all people checked.
| 41,591 |
https://ceb.wikipedia.org/wiki/Quebrada%20de%20La%20Pradera | Wikipedia | Open Web | CC-By-SA | 2,023 | Quebrada de La Pradera | https://ceb.wikipedia.org/w/index.php?title=Quebrada de La Pradera&action=history | Cebuano | Spoken | 81 | 144 | Suba nga anhianhi ang Quebrada de La Pradera sa Kolombiya. Nahimutang ni sa departamento sa Departamento de Nariño, sa habagatan-kasadpang bahin sa nasod, km sa habagatan-kasadpan sa Bogotá ang ulohan sa nasod.
Ang kasarangang giiniton °C. Ang kinainitan nga bulan Oktubre, sa °C, ug ang kinabugnawan Mayo, sa °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Mayo, sa milimetro nga ulan, ug ang kinaugahan Septiyembre, sa milimetro.
Ang mga gi basihan niini
Mga suba sa Departamento de Nariño | 45,227 |
https://stackoverflow.com/questions/47404952 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | English | Spoken | 232 | 562 | Want to insert one table's last inserted id into another table in laravel 5
Want to insert the latest inserted one table's id into another table.
Suppose there are two tables transactions and user_transactions. Now I want to store data in transaction table and also want to store the last inserted transactions table id into another table user_transactions. Do all part in one function.
Here is my store function code where I want to do the above job.
public function store(Request $request)
{
$data = new transaction;
$data->title_id = $request->title_id;
$data->transaction_type_id = '2';
$data->amount = $request->amount;
$data->save();
$data_of_user_transaction = new user_transaction;
$data_of_user_transaction->transaction_id = $data->id;
$data_of_user_transaction->user_id = session('user_info.id');
$data_of_user_transaction->save();
}
After did the code data is inserted in transactions table but not inserted in user_transactions table.
I have got my answer .
I didn't use user_transaction model at the top of my code.
Just add the below line at the top of my code.
use App\user_transaction;
Given store function code is totally okay.
Do like this i have Auction Table and Rule table I want Auction to save both tables in same time but I want to store Auction_id in Rule Table Column so i did this and get an appropriate answer...
public function store(Request $request,$id)
{
$auction = new Auction();
$auction->products_id= $id;
$auction->auc_price=$request->input('price');
$auction->r_price=$request->input('rprice');
$auction->from=$request->input('date');
$auction->to=$request->input('todate');
$auction->auc_status= 1;
$auction->save();
$rules= new Rule();
$rules->auction_id = $auction->id;
$rules->from=$request->input('from');
$rules->to=$request->input('to');
$rules->gap=$request->input('gap');
$rules->save();
return back();
}
| 31,347 | |
https://stackoverflow.com/questions/18256926 | StackExchange | Open Web | CC-By-SA | 2,013 | Stack Exchange | Andrew Clark, Brionius, Jerry, Joseph Dunn, arshajii, https://stackoverflow.com/users/1357341, https://stackoverflow.com/users/1460057, https://stackoverflow.com/users/1578604, https://stackoverflow.com/users/2530401, https://stackoverflow.com/users/2581969, https://stackoverflow.com/users/505154, roippi | English | Spoken | 506 | 877 | Python regex for dollar amounts including commas and decimals
I'm new to python and I'm writing a bit of code that needs to take a block of text and remove anything that's not a dollar amount. For example, the number two thousand may be represented as 2000 2000.00 2,000 and 2k. I'm trying to accomplish this with a single regex replacement.
Right now I have:
f=re.sub([0-9]+?(,[0-9])*?[0-9]+?(.[0-9])*?[TtBbMmKk],"",f)
While I understand that this is completely incorrect and does not compile, I'm not proficient enough to know what to do about it. Can anyone give me some guidance? Thanks!
Well, you can start by wrapping the regex within single quotes. And add an r in front: f=re.sub(r'[0-9]+?(,[0-9])*?[0-9]+?(.[0-9])*?[TtBbMmKk]',"",f) (I cannot answer why there's the need for the r though).
Maybe you could describe in more detail what you are trying to do? What sort of text is the input? Can you give us an example input and desired output string?
@Jerry the r denotes a raw string literal, in which backslashes are not escape characters - it avoids the 'double backslash' phenomenon present in other languages.
Give this a shot:
import re
blockOfText = 'two thousand may be represented as 2000 2000.00 2,000 and 2k'
' '.join([ ''.join(x[0]) for x in re.findall(r'(\$?\d+([,\.]\d+)?k?)', blockOfText) ])
That gets you a new text string that you could assign to blockOfText if you want, effectively removing anything that's not a dollar amount.
The regular expression needs to be put into a Python string:
f=re.sub(r"[0-9]+?(,[0-9])*?[0-9]+?(.[0-9])*?[TtBbMmKk]","",f)
The r prefix on the string makes this a raw string literal. This will cause all of the backslashes in the string to be interpreted literally, which means you do not need to escape the backslash when you want to use it in a regular expression (for example r'\w' to match a word character instead of '\\w').
So now you should at least be able to run this code and test the regular expression, I am not sure if the behavior is exactly what you want.
You can really shorten this regex by replacing [0-9] with \d.
@iCodez If you want to be on the safe side, you would keep it as [0-9]. :)
@Jerry Why would that be safer?
@Jerry That's a c# question. What does it have to do with Python? (Besides, since when does faster mean safer?)
@Jerry That's not even the case in Python.
@JosephDunn The question was asked for C#, but it is valid for all regular expressions, across any language. If the OP has characters such as persian digits, they will match as well.
@arshajii Are you sure? Then I guess this question is more relevant to you.
On Python 3.x \d will match foreign language digits by default. On Python 2.x you would need to be operating on a unicode string with the re.UNICODE flag enabled.
@Jerry Sure, it's the case in Python 3 but not in Python 2. I guess I spoke too soon.
@arshajii Well, you don't know the Python version the OP is using, so you'd be taking a risk!
| 37,348 |
https://ko.wikipedia.org/wiki/%ED%9E%88%EB%A7%90%EB%9D%BC%EC%95%BC%EC%9B%90%EC%88%AD%EC%9D%B4 | Wikipedia | Open Web | CC-By-SA | 2,023 | 히말라야원숭이 | https://ko.wikipedia.org/w/index.php?title=히말라야원숭이&action=history | Korean | Spoken | 168 | 854 | 히말라야원숭이 (또는 붉은털원숭이, 레서스원숭이, 벵골원숭이)는 긴꼬리원숭이과에 속하며 학명은 Macaca mulatta(또는 Rhesus Macaque)이다.
설명
몸길이가 50-65cm이고 꼬리길이는 18-30cm이다. 몸무게는 4-10kg이며, 털은 흐릿한 노란색 또는 갈색이다. 땅 위와 나무 위에서 5-100마리씩 무리를 지어 살며 새싹·과일·곤충·나뭇잎·나무 뿌리·곡류, 작은동물을 먹으며 잡식성이다. 의학과 행동학 연구에 많이 이용되며 동물원에서도 매우 인기가 있다. 히말라야원숭이에 대한 연구로 거의 모든 사람의 적혈구에 있는 아르에이치(Rh) 항원을 발견했다. 남부와 동남아시아의 많은 지역에서 사는데 아프가니스탄에서 태국과 중국 남부까지 분포한다. 특히 인도에서는 대로에서도 흔히 발견될 정도로 많이 발견된다. 일본원숭이보다 몸집이 조금 더 작고 꼬리가 더 길다. 천적은 호랑이, 표범, 구름표범, 승냥이, 비단뱀이다.
사진
분류
히말라야원숭이는 여러 종의 아종이 있다:
Macaca mulatta mulatta
Macaca mulatta villosa
Macaca mulatta vestita
Macaca mulatta lasiota
Macaca mulatta sanctijohannis
Macaca mulatta brevicauda
각주
외부 링크
ARKive의 히말라야원숭이(Macaca mulatta) 사진과 동영상
히말라야원숭이의 뇌 지도
Primate Info Net Macaca mulatta Factsheet
Macaca mulatta Genome
마카크속
1780년 기재된 포유류
네팔의 포유류
라오스의 포유류
미얀마의 포유류
방글라데시의 포유류
베트남의 포유류
부탄의 포유류
아프가니스탄의 포유류
인도의 포유류
중국의 포유류
태국의 포유류
파키스탄의 포유류
미국의 포유류
북아메리카의 포유류
게놈 해독이 완료된 동물 | 47,679 |
https://et.wikipedia.org/wiki/Vaesuse%20ts%C3%BCkkel | Wikipedia | Open Web | CC-By-SA | 2,023 | Vaesuse tsükkel | https://et.wikipedia.org/w/index.php?title=Vaesuse tsükkel&action=history | Estonian | Spoken | 42 | 149 | Vaesuse tsükkel (inglise cycle of poverty) on iseenesest võimenduv vaesuse ja sotsiaalse heidiklikkuse tsükkel, mis kandub edasi põlvkonnalt põlvkonnale.
Vaesuse tsükkel näitab kvalifitseerimata tööjõu, madala sissetuleku, halbade elamisolude ja kehvade haridusvõimaluste seost.
Vaata ka
Vaesus
Vaesusindeks
Viited
Majandus
Sotsiaalprobleemid
de:Armut#Teufelskreis der Armut | 836 |
https://zh-min-nan.wikipedia.org/wiki/Bistri%C8%9Ba-N%C4%83s%C4%83ud%20Ko%C4%81n | Wikipedia | Open Web | CC-By-SA | 2,023 | Bistrița-Năsăud Koān | https://zh-min-nan.wikipedia.org/w/index.php?title=Bistrița-Năsăud Koān&action=history | Min Nan Chinese | Spoken | 15 | 44 | Bistrița-Năsăud Koān (Romania Gí: ) sī Romania ê chi̍t ê koān (județ).
Romania ê koān | 26,489 |
https://stackoverflow.com/questions/19140120 | StackExchange | Open Web | CC-By-SA | 2,013 | Stack Exchange | Sibi, https://stackoverflow.com/users/1651941, https://stackoverflow.com/users/448810, https://stackoverflow.com/users/663299, mhwombat, user448810 | English | Spoken | 304 | 415 | Generate prime factors of a number
I'm trying to write a function that given an Int greater than one gives a non decreasing list made of the prime factors (with repetition) of that number
Example: n = 12, the output should be [2,2,3]
I don't know where to start.
Understand this: http://www.haskell.org/haskellwiki/99_questions/Solutions/35
A little bit of web searching would have found you the link sibi gave you. If you still have trouble implementing this, or understanding the solution, then show us what you've tried and we'll be better able to help.
For questions about programming with prime numbers, I modestly recommend this essay at my blog, which includes Haskell code for factoring integers.
There are of course well know algorithms for what you want to do, so simple google search would really solve that.
However, I'd like to show you a simple thinking process that might be helpful in the future.
Since the factors have to appear in the ascending order, you might:
Start with the lowest prime (2).
Check if the number can be divided by it. If it can, do it and go back to 1.
If not, replace 2 with a next prime and go back to 2.
Now, it's obvious that the biggest prime you will ever check is the number you've started with. However, the basic multiplication axiom states that if a number can be divided by a:
n / a = b
Then it can also be divided by b! You can use that fact to further narrow the checking range, but I'll leave it to you to figure (or google) the upper bound.
Actual implementation is of course a part of your homework and thus supplying code wouldn't be a wise idea here. However, I don't think that stuff such as next_prime will be hard for you.
| 48,789 |
https://arz.wikipedia.org/wiki/%D8%A7%D8%AF%D9%8A%D9%84%D8%B3%D9%88%D9%86%20%D9%88%D8%A7%D8%B1%D9%83%D9%8A%D9%86 | Wikipedia | Open Web | CC-By-SA | 2,023 | اديلسون واركين | https://arz.wikipedia.org/w/index.php?title=اديلسون واركين&action=history | Egyptian Arabic | Spoken | 54 | 152 | اديلسون واركين لاعب كورة قدم من برازيل.
حياته
اديلسون واركين من مواليد يوم 16 يناير 1987 فى بوم پرينسيپيو.
الحياه الرياضيه
بيلعب فى مركز لاعب وسط, و لعب مع فريق جريميو بورتو اليجرينزى و تيريك جروزنى و Sociedade Esportiva e Recreativa Caxias do Sul.
لينكات برانيه
مصادر
لاعبين كوره القدم
لعيبة كورة قدم برازيليين | 45,841 |
https://de.wikipedia.org/wiki/Mexikanische%20K%C3%B6nigsnatter | Wikipedia | Open Web | CC-By-SA | 2,023 | Mexikanische Königsnatter | https://de.wikipedia.org/w/index.php?title=Mexikanische Königsnatter&action=history | German | Spoken | 425 | 848 | Die Mexikanische Königsnatter oder San-Luis-Potosi-Königsnatter (Lampropeltis mexicana) ist eine Schlange aus der Familie der Nattern (Colubridae). Sie kommt mit drei Unterarten im Norden Mexikos und äußersten Süden von Texas vor. Molekularbiologische Untersuchungen weisen darauf hin, dass es sich bei der Mexikanischen Königsnatter nicht um eine monophyletische Art handelt, sondern um ein polyphyletisches Taxon und dass die Unterarten wahrscheinlich unabhängige Arten darstellen.
Merkmale
Mexikanische Königsnattern erreichen eine Länge von knapp über einem Meter. Der Kopf mit großem Auge mit punktförmiger Pupille ist nur schwach vom Hals abgesetzt. Die Färbung ist sehr variabel, auf einer Grundfärbung, die verschiedene Grautöne annehmen kann, liegen zahlreiche rote, weiß und/oder schwarz umrandete Sattelflecke. Vor dem kurzen und breiten Frontalschild liegen zwei große Präfrontalschilde, die an zwei kleine Internasalschilde anschließen. Die Zahl der Supralabialschilde beträgt sieben, die der Infralabialschilde acht bis elf. Die Rückenschuppen sind glatt und liegen in der Körpermitte in 21 bis 25, meist 23 Reihen. Es sind 190 bis 212 Ventralschilde, 51 bis 65 Subkaudalschilde und ein ungeteilter Analschild vorhanden.
Lampropeltis mexicana mexicana
Die Nominatform kommt in San Luis Potosi, Guanajuato und Zacatecas in bis 1800 Metern Höhe vor. Sie weist bis zu 46 Sattelflecke auf, die mehr oder weniger viereckig und dunkel- bis leuchtendrot mit einer schwarzen und darum weißen Umrandung sind. Auf dem Nacken liegt ein Y-förmiger Fleck, der Bauch ist hell und dunkel gefleckt. Die Zahl der Ventralschilde liegt bei maximal 200.
Lampropeltis mexicana greeri
Diese Unterart kommt im Süden von Durango in 1800 bis 2400 Metern Höhe vor. Die bis zu 38 Sattelflecke sind schwarz mit meist rotem Zentrum und weißem Rand und reichen bis auf die Flanken, die Grundfärbung ist meist heller als bei der Nominatform. Die Kopfoberseite ist grau mit schwarzen Flecken. Der Nackenfleck ist länglich mit konvexem vorderen Rand, der Bauch weißlich mit verstreuten schwarzen Flecken.
Lampropeltis mexicana thayeri
Diese im Süden von Nuevo Leon und an den östlichen Abhängen des mexikanischen Plateaus in 1200 bis 2000 Metern Höhe vorkommende Unterart weist eine hochvariable Färbung auf, wobei verschiedene Varianten innerhalb eines Wurfs vorkommen können. Die „Leonis“-Variante weist über 28 rote Sattelflecke mit schwarzem Rand auf, die „Milksnake“-Variante 24 bis 26 solcher Flecke auf hellem Grund. Daneben treten albinotische und melanotische Individuen auf. Die Zahl der Ventralschilde liegt bei über 195.
Lebensweise
Mexikanische Königsnattern sind vorwiegend dämmerungs- und nachtaktiv und halten sich tagsüber unter Steinen und in Felsspalten versteckt. Als Beutetiere dienen Echsen und in geringerem Umfang auch kleine Säugetiere. Die Paarungszeit dauert nach vier bis fünf Monaten Winterruhe von März bis Anfang Mai. Die Art legt Eier.
Quellen
Einzelnachweise
Weblinks
Eigentliche Nattern | 35,329 |
https://es.wikipedia.org/wiki/Arquitectura%20medieval | Wikipedia | Open Web | CC-By-SA | 2,023 | Arquitectura medieval | https://es.wikipedia.org/w/index.php?title=Arquitectura medieval&action=history | Spanish | Spoken | 1,409 | 2,605 | Arquitectura medieval es una expresión historiográfica que engloba la producción arquitectónica del arte medieval. En la arquitectura de la Edad Media se desarrollan principalmente tres estilos: el Bizantino, a que influye durante todo el período, el románico entre los siglos y , y el estilo gótico entre el hasta el .
Los principales hechos que influyeron la producción arquitectónica medieval fueron el enrarecimiento de la vida en las ciudades (con la consecuente ruralización y feudalización de Europa) y la hegemonía en todos los órdenes de la Iglesia católica. A medida que el poder secular se sometía al poder papal, pasaba a ser la Iglesia la que aportaba el capital necesario para el desarrollo de las grandes obras arquitectónicas. La tecnología del periodo se desarrolló principalmente en la construcción de las catedrales, estando el conocimiento arquitectónico bajo el control de los gremios.
Durante prácticamente todo el periodo medieval, la figura del arquitecto (como creador solitario del espacio arquitectónico y de la construcción) no existe. La construcción de las catedrales, principal esfuerzo constructivo de la época, es acompañada por toda la población y se inserta en la vida de la comunidad a su alrededor. El conocimiento constructivo es guardado por los gremios, que reunían decenas de maestros y obreros (los arquitectos de hecho) que conducían la ejecución de las obras pero también las elaboraban. Es el origen de las asociaciones que terminarán conociéndose como masonería (masón = albañil).
La Cristiandad definió una nueva visión del mundo, que no solo sometía los deseos humanos a los designios divinos, sino que esperaba que el individuo buscara lo divino. Igual que en la antigüedad se usaban ladrillos hechos con barro.En un primer momento, y debido a las limitaciones técnicas, la concepción del espacio arquitectónico de los templos se vuelve hacia adentro, según un eje que incita al recogimiento. Más tarde, con el desarrollo de la arquitectura gótica, se busca alcanzar los cielos a través de la inducción de la perspectiva hacia lo alto.
Funciones
Arquitectura religiosa
Arquitectura religiosa cristiana
La planta basilical, derivada de la basílica romana, no se incorporó a la arquitectura paleocristiana con la cristianización del Imperio romano a partir del . En la arquitectura bizantina se desarrolló la planta centralizada (como la planta de cruz griega), que se utiliza también en el arte carolingio. La planta de cruz latina fue común en la arquitectura religiosa de la cristiandad latina en la Edad Media a partir del románico, al divulgarse el modelo de iglesia de peregrinación en el camino de Santiago. La cabecera de las iglesias se destacaba con un ábside, a veces multiplicado (absidiolos). De las iniciales cubiertas planas se pasó a las abovedadas, reservando el mayor desafío técnico: la cúpula, para espacios destacados. La cúpula de Santa Sofía de Constantinopla se planteó explícitamente como una superación del paganismo representado por la cúpula del Panteón de Roma. Las fachadas, inicialmente muy poco significativas, se fueron desarrollando cada vez más, acogiendo decoración escultórica y flanqueándose por torres, que también se disponían en otros puntos, especialmente en el crucero, donde en caso de no cubrirse con una cúpula, se levantaba un cimborrio.
Mientras que en Europa Oriental el monasterio desarrollaba sus propios modelos (monasterios del Monte Athos), en Occidente las reformas cluniacense (Monasterio de Cluny) y cisterciense (arquitectura cisterciense, en la transición del románico al gótico) fueron incorporando elementos arquitectónicos definitorios, como el claustro, el refectorio, la sala capitular, el scriptorium, etc.
Además de los diferentes elementos arquitectónicos, fueron evolucionando las concepciones de los espacios interiores y las soluciones técnicas para cubrir espacios cada vez más amplios, altos e iluminados.
Arquitectura religiosa musulmana
La mezquita es el edificio religioso islámico, y su estructura se deriva de la casa de Mahoma en Medina (sala de oraciones -con un muro denominado alquibla que se orienta a La Meca y un mihrab especialmente decorado-, patio de abluciones, alminar). Además de la mezquita de La Meca, cuyo patio aloja la Kaaba, en cada ciudad se construyó una mezquita mayor y tantas mezquitas de barrio como fueron necesarias. La reutilización de edificios religiosos de las zonas conquistadas determinó en cada lugar la adopción de formas y elementos arquitectónicos de la arquitectura persa, indostánica, bizantina o visigoda.
Arquitectura militar
Torres, castillos, murallas y otros ejemplos de arquitectura militar, así como las propias ciudades amuralladas (incastellamento) son muy características de la Edad Media.
Las fortificaciones y sus elementos funcionales o decorativos (almenas o merlones, torreones, bastiones, barbacanas, fosos), así como la forma y tamaño de los vanos, se fueron adecuando a la tecnología militar de cada época. A veces se utilizaban con criterios iconográficos, indicando con su forma determinadas cuestiones identitarias, como las almenas güelfas y gibelinas, o las saeteras cruciformes.
Arquitectura civil
La arquitectura civil medieval adoleció inicialmente de la pérdida de importancia de la ciudad como consecuencia de la crisis urbana del bajo imperio romano, que implicó la pérdida de funciones de edificios públicos (teatros, anfiteatros, circos, termas, etc.), en beneficio de los religiosos. La ruralización implicó un mayor desarrollo de las villae, pero en la Alta Edad Media las residencias nobiliarias no se destacaron por sus características de arquitectura civil, sino por la necesidad de defensa, identificándose con los castillos. Únicamente algunos emperadores y reyes impulsaron programas constructivos en su corte (el Aula regia de los palacios carolingios (especialmente el de Carlomagno en Aquisgrán), los otonianos o el de Ramiro de Asturias.
En Oriente, Al-Ándalus y la ribera sur del Mediterráneo, la ciudad musulmana conformó un urbanismo característico, en el que, junto a la defensiva y religiosa, tuvo una marcada presencia la función comercial (zoco, bazar, caravasar, alhóndiga). El urbanismo español hereda ciertas características de él (soportales, plaza del arrabal). En los momentos y lugares en que se establecía un poder político fuerte, se levantaron palacios de legendaria suntuosidad. Medina Azahara en la Córdoba del , Alhambra en la Granada de los siglos -).
Fue en la Baja Edad Media cuando el nuevo ímpetu de las ciudades de Europa occidental demandó construcciones para las instituciones municipales (ayuntamiento en España, Town hall en Inglaterra, Hôtel de Ville en Francia, Stadhuis en Flandes, Rathaus en Alemania, palazzo communale, palazzo pubblico o signoria en Italia). Por su parte, la nobleza competía en la construcción de sus palacios, tanto rurales (pazos gallegos, chateaux franceses, manor houses inglesas) como urbanos. Además de las catedrales, los obispos consideraron conveniente la construcción de suntuosos palacios episcopales. Las universidades medievales fueron objeto de una tipología particular; así como los hospitales (Hospital de San Marcos de León, Hotel Dieu de Beaune). El hecho de que las cortes fueran itinerantes no incentivó el desarrollo de grandes proyectos constructivos de palacios reales, como sucedió en la Edad Moderna, sino de una red de palacios-fortaleza en puntos estratégicos de cada uno de los reinos (alcázares en Castilla); aunque sí se destacaron algunos (Torre de Londres, Palacio del Louvre en París, Palacio Real Mayor de Barcelona, Reales Alcázares de Sevilla). También se construyeron importantes edificios para las instituciones judiciales (Real Audiencia o Chancillería en Castilla, Conciergerie de París; Parlamentos regionales de Francia).
Los edificios de viviendas se construyeron con distintos tipos de materiales y estructuras propias de cada tradición local, de forma muy similar a la vivienda rural tradicional que ha llegado hasta la época actual. Se utilizaban comúnmente los materiales más asequibles (mampostería, adobe y entramado de madera) así como la práctica de ganar superficie proyectando hacia el exterior el piso superior (voladizo). El uso de tejas era escaso, reservándose para las casas ricas, siendo muy habituales las cubiertas de ramas, cañizo o césped.
Fases estilísticas
En la Alta Edad Media la arquitectura paleocristiana da paso en Oriente a la bizantina y en Occidente al prerrománico. La arquitectura islámica se desarrolló en el Sur.
Prerrománico
La determinación de estilos locales (arquitectura visigoda, merovingia, carolingia, asturiana, mozárabe, otoniana etc.) es problemática, y depende de elementos "historicistas" y "modernizadores" que se combinan con la oposición de influencias italianas, nórdicas, hispanas y bizantinas, y con el contexto sociopolítico y religioso.
Románico
Gótico
Espacios
Báltico
Escandinavia
Véase también
Arquitectura mudéjar
Arte cisterciense
Arquitectura normanda
Historia de las cúpulas medievales árabes y de Europa occidental
Notas
Bibliografía
Braun, Hugh, An Introduction to English Mediaeval Architecture, London: Faber and Faber, 1951.
Fletcher, Banister; Cruickshank, Dan, Sir Banister Fletcher's a History of Architecture, Architectural Press, 20th edition, 1996 (first published 1896). ISBN 0-7506-2267-9. Cf. Part Two, Chapter 13.
Arquitectura del Medioevo
Arquitectura
Bizantinología
Islam
Cristianismo
Cristianismo e islam
Palacios
Arquitectura religiosa
Arquitectura civil de Zamora
Medievalistas | 18,209 |
https://lt.wikipedia.org/wiki/Australijos%20lietuvi%C5%B3%20kult%C5%ABros%20fondas | Wikipedia | Open Web | CC-By-SA | 2,023 | Australijos lietuvių kultūros fondas | https://lt.wikipedia.org/w/index.php?title=Australijos lietuvių kultūros fondas&action=history | Lithuanian | Spoken | 215 | 611 | Australijos lietuvių kultūros fondas () – Australijos lietuvių finansinės paramos fondas, veikęs 1948–1973 m. Australijoje. Fondo centras – Melburne.
Istorija
Australijos lietuvių kultūros fondą 1948 m. gruodžio 6 d. įkūrė organizacinis komitetas: Gabrielius Žemkalnis-Landsbergis, Romas Maziliauskas, Andrius Bajorūnas ir Jurgis Glušauskas. 1949 m. rugpjūčio 21 d. išrinkta pirmoji valdyba, kurios pirmininkas – Antanas Rūkštelė. 1950 m. gegužės 21 d. Melburne įvyko I Fondo suvažiavimas; 1950-1952 m. pirmininkas Pranas Viktoras Raulinaitis. Australijos lietuvių kultūros fondo skyriai veikė Adelaidėje, Melburne, Džilonge ir Sidnėjuje.
Australijos lietuvių kultūros fondas steigė ir rėmė lituanistines savaitgalio mokyklas, jaunimo kursus, rėmė Vasario 16-osios gimnaziją Vokietijoje, propagavo lietuvių tautinius šokius, chorus, sportą. 1950 m. rugpjūčio 6 d. LKF įsteigė Karaliaus Mindaugo aukštųjų mokslų institutą, kurio tikslas – šviesti ir auklėti akademinį jaunimą ir visuomenę. Institutas veikė Melburne ir rengė viešas paskaitas lietuvių bendruomenei, jo personalas pagal išgales dirbo mokslinį darbą. Daugiausia dėmesio buvo kreipiama į kultūrą ir teisę, istoriją, literatūrą, meną, religiją ir socialinius mokslus. Apie Instituto uždavinius, organizaciją ir veiklą buvo skelbiama Australijos lietuviškuose laikraščiuose.
Melburne tebeveikia Australijos lietuvių kultūros fondo įkurta lietuvių biblioteka (vedėjas Juozas Mikštas). 1973 m., kai Australijos lietuvių bendruomenė įsteigė Australijos lietuvių kultūros tarybą, Australijos lietuvių kultūros fondas likviduotas, turtas perduotas bendruomenei. Australijos lietuvių kultūros fondo veiklą pratęsė Australijos lietuvių fondas.
Šaltiniai
Australijos lietuvių organizacijos
Lietuvos paramos fondai | 25,981 |
https://stackoverflow.com/questions/59777710 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | Adam Iqshan, Littlefoot, The Impaler, asdfghjkl9999, https://stackoverflow.com/users/10487326, https://stackoverflow.com/users/6084620, https://stackoverflow.com/users/6436191, https://stackoverflow.com/users/9097906 | English | Spoken | 314 | 603 | How to count number of rows with unique values in each column given following query in SQL
SELECT COLUMN_NAME
FROM ALL_TAB_COLUMNS
WHERE TABLE_NAME = 'MYTABLE' AND OWNER = 'MYSCHEMA'
So right now this displays each column present in my table but I want to also display the number of rows in each of these columns.
How would I specifically go about doing this?
Does this answer your question? SQL count rows in a table
It would be as simple as to count the number of rows of the table, unless you need something else you haven't explained well. Please add some sample data and the expected result.
Number of rows is related to tables, not columns. So you'd
select count(*) from your_table;
to get that value.
Dynamically, a PL/SQL could do it as follows:
SQL> set serveroutput on
SQL> declare
2 l_cnt number;
3 begin
4 for cur_r in (select table_name, column_name
5 from user_tab_columns
6 where table_name in ('EMP', 'DEPT')
7 )
8 loop
9 execute immediate 'select count(distinct ' || cur_r.column_name || ')' ||
10 ' from ' ||cur_r.table_name into l_cnt;
11 dbms_output.put_line(cur_r.table_name ||'.'|| cur_r.column_name ||': ' || l_cnt);
12 end loop;
13 end;
14 /
DEPT.DEPTNO: 4
DEPT.DNAME: 4
DEPT.LOC: 4
EMP.EMPNO: 14
EMP.ENAME: 14
EMP.JOB: 5
EMP.MGR: 6
EMP.HIREDATE: 13
EMP.SAL: 12
EMP.COMM: 4
EMP.DEPTNO: 3
PL/SQL procedure successfully completed.
SQL>
But I want to retrieve the distinct count per column. How would I go about doing that?
One option is to use dynamic SQL. I modified my answer; have a look, please.
You'll need to use some kind of dynamic SQL to compose the query shown below:
select
count(distinct col1),
count(distinct col2),
count(distinct col3),
...
from my_table
I have an unknown amount of columns. This process needs to be repeated across multiple different tables with varying sizes
As I said, you need to compose a query using dynamic SQL.
| 37,214 |
https://arz.wikipedia.org/wiki/%D8%AC%D9%8A%D8%B1%D8%A7%D9%84%D8%AF%20%D8%A7%D9%85.%20%D9%81%D8%B1%D9%8A%D8%AF%D9%85%D8%A7%D9%86 | Wikipedia | Open Web | CC-By-SA | 2,023 | جيرالد ام. فريدمان | https://arz.wikipedia.org/w/index.php?title=جيرالد ام. فريدمان&action=history | Egyptian Arabic | Spoken | 70 | 175 | جيرالد ام. فريدمان كان استاذ جامعة و جيولوجى من امريكا.
حياته
جيرالد ام. فريدمان من مواليد يوم 23 يوليه سنة 1921 فى بيرلين.
الدراسه
درس فى جامعة لندن.
جوايز
Mary C. Rabbitt History And Philosophy of Geology Award
William H. Twenhofel Medal
Sidney Powers Memorial Award
وفاته
جيرالد ام. فريدمان مات فى 29 نوفمبر سنة 2011.
لينكات برانيه
مصادر
استاذ جامعة من امريكا
وفيات 2011
مواليد 1921
مواليد فى بيرلين | 17,970 |
https://fa.wikipedia.org/wiki/%DA%A9%DB%8C%D9%86%DA%AF%D8%A7%20%D8%B2%D9%85%DB%8C%DA%A9 | Wikipedia | Open Web | CC-By-SA | 2,023 | کینگا زمیک | https://fa.wikipedia.org/w/index.php?title=کینگا زمیک&action=history | Persian | Spoken | 54 | 153 | کینگا زمیک (؛ زادهٔ ) بازیکن فوتبال اهل لهستان است.
وی همچنین در تیمهای ملی فوتبال Poland women's national under-17 football team و زنان لهستان بازی کردهاست.
منابع
افراد زنده
بازیکنان فوتبال زن اهل لهستان
بازیکنان فوتبال زن دور از وطن در فرانسه
بازیکنان فوتبال مهاجر اهل لهستان
دروازهبانان زن فوتبال
زادگان ۱۹۹۷ (میلادی) | 28,083 |
https://pt.wikipedia.org/wiki/Amplirhagada | Wikipedia | Open Web | CC-By-SA | 2,023 | Amplirhagada | https://pt.wikipedia.org/w/index.php?title=Amplirhagada&action=history | Portuguese | Spoken | 27 | 93 | Amplirhagada é um género de gastrópode da família Camaenidae.
Espécies
Este género contém as seguintes espécies:
Amplirhagada astuta
Amplirhagada elevata
Amplirhagada herbertena
Amplirhagada montalivetensis
Amplirhagada questroana
Referências | 34,568 |
https://stackoverflow.com/questions/44150967 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | Jörg W Mittag, NKM, SMA, https://stackoverflow.com/users/2725632, https://stackoverflow.com/users/2988, https://stackoverflow.com/users/315228, https://stackoverflow.com/users/5844870, sheunis | English | Spoken | 770 | 1,196 | Using immutable "val" imported from Java in Scala
I am using following example in Scala to show my confusion:
import java.util.HashMap
val jhm = new HashMap[String, Int]
jhm.put("myId", 1)
jhm.put("yourId", 2)
And it allows to add into "jhm"
Now if I do this in Scala:
val nmap = Map()
nmap += ("myId" -> 1)
It does not allow which is expected. My question: why does it allow changing immutable "val" in the first case ?
put is just adding value as opposed to changing the reference of jhm while in second instance you are creating immutable map and then saying put and change the instance of nmap.
val creates an immutable reference, which means that this val will always point to the same object. It doesn't guarantee that the object itself will not change its own state.
put() on a HashMap mutates the map and doesn't return a new reference. In the second case you are adding a value to an immutable map, so a new map is returned. The Scala equivalent of your Java example would be:
import collection.mutable.Map
val nmap = Map()[String, Int]
nmap += ("a" -> 1)
But why should 'val' be allowed to change in a Scala code when it is an object of Java class whereas when it is pure Scala type then it is not allowed to change.
@NKM val doesn't mean that the object itself can't change. It just means the reference can't change. With the Java HashMap, you are mutating a mutable object, but the reference to it still points to the same object. With a Scala immutable map, adding a key value pair returns a new map, so the reference changes.
@NKM: The val doesn't change. The object that is referenced by the val does.
Management Summary
You are not invoking the equivalent methods on equivalent classes. Use mutable.Map and replace += with put(...) and both will perform the same.
Detailed Answer
There are two distinct operations going on here. The first one is adding an element to a map. The method put(...) on the java Map is equivalent to the put(...)operation in scala, not +, which creates a new Map. The following is totally fine by the compiler:
val map = Map[Int, Int]()
map: scala.collection.mutable.Map[Int,Int] = Map()
map.put(1, 2)
res0: Option[Int] = None
map
res1: scala.collection.mutable.Map[Int,Int] = Map(1 -> 2)
By putting the the key value pair, map mutates its state. This does not cause your error. However you are not invoking the put(...)method, but +=. This essentially means two operations:
call + method
assign the result to the variable
In contrast to put(...) (ScalaDoc) + (ScalaDoc) does not change the map, but creates a new one similar to immutable.Map.
After creating the new Map, you try to re-assign it to a val, which raises your compiler error.
The same behaviour can be witnessed in java:
final int answer = 42;
answer = 23;
This will result in a compiler error java: cannot assign a value to final variable answer.
you are mixing 2 different 'usages' of immutability.
you can have a mutable (var) or immutable (val) reference to something, and that something can be mutable or immutable itself.
ex:
var x = 3
x = 4 // it works, `x` can be reassigned
val y = 3
y = 4 // it fails, `y` can't be reassigned
the problem is when that 'something', the reference' has an internal state. Primitive types like Int or String don't have this problem, but any class can have. scala collections are a common pain to new scala programmers, because there are mutable collections and immutable collections.
The difference is that any operation on an immutable collection returns a new collection, but the original remains the same, while in a mutable collection, the collection itself is modified.
In your case, the scala Map you are using is an immutable Map, and it doesn't contain such method. You can do myMap ++ (key -> value) and get a new Map.
A bigger confusion arises when you mix mutability in the references with mutability/state in the objects. You should play a bit yourself with things like:
val x1 = scala.collection.mutable.ListBuffer(1,2,3) // immutable reference to mutable object
// please, never use this in real code
var x2 = scala.collection.mutable.ListBuffer(1,2,3) // mutable reference to mutable object
// please, try to use this as much as possible
val x3 = scala.collection.immutable.List(1,2,3) // immutable reference to immutable object
var x4 = scala.collection.immutable.List(1,2,3) // mutable reference to immutable object
if you have any doubts let me/us know so that we can help
I got it folks. Thanks for your detailed explanations.
| 21,548 |
https://bg.wikipedia.org/wiki/AIESEC | Wikipedia | Open Web | CC-By-SA | 2,023 | AIESEC | https://bg.wikipedia.org/w/index.php?title=AIESEC&action=history | Bulgarian | Spoken | 1,016 | 2,536 | AIESEC (съкращение ) е най-голямата студентска организация в света с повече от 40 000 активни членове и представителства в над 120 държави и територии, включително и в България.
Учредена е през 1948 г. в Стокхолм от студенти по икономика от 7 страни: Белгия, Дания, Норвегия, Финландия, Франция, Нидерландия и Швеция.
Днес организацията има над 1 000 000 възпитаници, като някои от най-известните от тях са Бил Клинтън, Кофи Анан, Хелмут Кол, Тони Блеър, Миг Джагър, Александър Квашнйевски.
Популярни личности от България, които в студентските си години са били членове на организацията, са Александър Иванов – CEO на агенцияза дигитален маркетинг CreateX, Петър Пройков – старши специалист „Развитие и Фондонабиране“ в „Заедно в час“, Йонко Минев – CEO и Co-founder на Pleggy, Алескандър Граматиков – основател на Mentor the young, Светослав Димов – CEO на DEV.BG.
В България организацията е учредена през 1990 година, а понастоящем има офиси в два български университета. Нейният централен офис се намира в гр. София в Националния студентски дом на пл. Народно събрание 10.
История
Идеята за AIESEC започва през 1930 година, когато представители на различни училища от Европа разменят информация за различни програми и училища, специализирани в областта на бизнеса и икономиката. Студентите провеждат стажове в различни държави, които са по тяхна собствена инициатива, но всичко това приключва със започването на Втората Световна Война. През 1944 година, неутралните Скандинавски страни все още осъществяват размени: в Стокхолм (официално в училището по икономика в Стокхолм) двама студенти на име Ярослав Зик от Чехословакия и Станислав Калинс от Белгия основават AIESE, която предшества AIESEC.
Неформалната дейност „да спомогнем за развитието на приятелските взаимоотношения между страните участнички“ започва през 1946, a AIESEC е основана официално през 1948 г. По това време целта е „да разпространим разбирането за нацията, като разпространим разбирането за отделния човек“. През 1949 година, 89 студенти участват в така наречения „Конгрес на Стокхолм“, първата от многото разменни програми.
В края на 1950-те години AIESEC достига до САЩ и осъществява контакти с Йейлския университет и Колумбийското бизнес училище. В резултат са изпратени 3 студенти (Пери Уърст, Норм Барнет, Стефан Кейли) на проучвателна мисия на годишнината на Международната конференция в Кьолн в Германия през февруари 1959 година. До завръщането си те успяват да популяризират AIESEC в Йейл и в Колумбийското училище. През лятото на 1959 г. AIESEC и САЩ разменят 12 стажантски програми. Следващата година AIESEC\US е разширена и осъществява дейност в 6 други училища, провежда повече от 30 стажа. AIESEC/US разглежда и номинацията на Морис Уолф за първи главен секретар. Той е избран и създава първата централа в Женева, Швейцария през 1960 г. Той разпространява дейността на AISEC в Гана и Нигерия и по-късно в Яунде, Камерун през 1988 г., като по този начин са създадени възможности за бъдещо развитие в Африка и намиране на начини за разширяване на дейността в други континенти.
Скоро AIESEC става популярна: в края на 1960 година са обявени 2467 професионални стажа, а до края на 1970 г. нарастват до 4232. Ключов момент за AIESEC е „Международната тематична програма“, която официално определя всички международни, регионални и местни семинари по конкретни теми, които за напред ще бъдат наръчник за бъдещите поколения. През следващите десетилетия обсъжданите теми са за Международна търговия, Управления на образованието, Устойчиво развитие, Предприемачество и Корпоративна отговорност.
Глобална програма за обмен
Идеята на стажовете на AIESEC е човек да се развие да развие лидерските си умения, да опознае чужди култури, да обмени опит с нови хора и да се развие и професионално. Например, студенти от България заминават на професионален стаж в някоя от останалите държави, където има офиси на AIESEC. Там те се научават да работят в непозната и предизвикателна обстановка. Компании, които партнират на организацията във връзка с Глобалната прогарама са PWC, Microsoft, Electrolux, Tata Consultancy, Google, Henkel, DHL, Schneider Electric и много други
Днес
AIESEC определя себе си като „международна платформа за млади хора, които откриват и развиват своя лидерски потенциал“. Годишно предлага „10 000 лидерски позиции и подсигурява участие в повече от 470 конференции на членовете си, които наброяват повече от 35 000 младежи“. AIESEC също така ръководи международна програма за размяна на програми, която позволява на повече от 30 000 студенти и такива, които са се дипломирали скоро да живеят и стажуват в други страни.
През 2018 година е отбелязана 70-а годишнина от основаването на AIESEC.
Структура
AIESEC работи на 3 нива: местни комисии (LCs), членски комисии (MCs), и AIESEC в международен план (AI).
Местните комисии се ръководят от един университет (или група от близки университети), който е отговорен за функционалните възможности на ръководството на AIESEC и международните стажантски програми. Всяка страна има собствена национална членска комисия (MC), която координира дейността по области, като например мащабните конференции, по-големите партньорски взаимоотношения и правителствените взаимоотношения. По принцип членовете на Членската комисия (MC) са избирани от Локалните комисии (LCs). В международен план AIESEC предоставя подобна подкрепа на Членските комисии и членовете ѝ са избирани по същия начин.
Начина на AIESEC
Както отбелязва на своя уеб сайт, AIESEC се стреми за „позитивна социална промяна“ като използва „Начина на AIESEC“. Начинът на AIESEC се представя като начин за постигане на „Мир и изява на човешкия потенциал.“ Според AIESEC има шест основни ценности: Активизиране на лидерството, Откритост в действията, Изживяване на разнообразието, Наслаждаване на участието, Стремеж към съвършенство и Устойчиво развитие.
„Начинът по който го правим“ обяснява как може да бъде постигнато от всеки един член на AIESEC. „AIESEC предоставя на своите членове интегриран опит (Опитът от AIESEC), съставен от ръководни възможности, международни стажове и участия в глобалната среда.“
На индивидуално ниво AIESEC позволява на младежите да се възползват от „Опита на AIESEC“ като им предоставя лидерски възможности, придобиване на бизнес умения, както и свързване към глобалната мрежа на студентите и участия в международни конференции и стажове в чужбина.
Източници
Външни препратки
Глобален уеб-сайт на AIESEC
Официален уеб-сайт на AIESEC в България
Официален уеб-сайт на AIESEC Софийски университет
Официален уеб-сайт на AIESEC Бургас
Официален уеб-сайт на AIESEC Варна
Официален уеб-сайт на AIESEC София ТУ
Официален уеб-сайт на AIESEC Пловдив
Официален уеб-сайт на AIESEC София УНСС
Официален уеб-сайт на AIESEC Свищов
Официален уеб-сайт на AIESEC Благоевград
Официален уеб-сайт на AIESEC Велико Търново
Международни студентски организации
Сдружения на възпитаници на училища | 3,675 |
https://pl.wikipedia.org/wiki/Michelau%20im%20Steigerwald | Wikipedia | Open Web | CC-By-SA | 2,023 | Michelau im Steigerwald | https://pl.wikipedia.org/w/index.php?title=Michelau im Steigerwald&action=history | Polish | Spoken | 67 | 182 | Michelau im Steigerwald, Michelau i.Steigerwald – miejscowość i gmina w Niemczech, w kraju związkowym Bawaria, w rejencji Dolna Frankonia, w regionie Main-Rhön, w powiecie Schweinfurt, wchodzi w skład wspólnoty administracyjnej Gerolzhofen. Leży w Steigerwaldzie, około 20 km na południowy wschód od Schweinfurtu, nad rzeką Volkach.
Dzielnice
W skład gminy wchodzą następujące dzielnice:
Prüssberg
Neuhausen
Hundelshausen
Sudrach
Altmannsdorf
Heinachshof
Demografia
Zobacz też
Michelau
Powiat Schweinfurt
Gminy w Bawarii | 35,820 |
https://nl.wikipedia.org/wiki/Platygyra%20contorta | Wikipedia | Open Web | CC-By-SA | 2,023 | Platygyra contorta | https://nl.wikipedia.org/w/index.php?title=Platygyra contorta&action=history | Dutch | Spoken | 28 | 48 | Platygyra contorta is een rifkoralensoort uit de familie van de Merulinidae. De wetenschappelijke naam van de soort is voor het eerst geldig gepubliceerd in 1990 door Veron.
Rifkoralen | 2,481 |
https://he.wikipedia.org/wiki/Orinoco%20Flow | Wikipedia | Open Web | CC-By-SA | 2,023 | Orinoco Flow | https://he.wikipedia.org/w/index.php?title=Orinoco Flow&action=history | Hebrew | Spoken | 351 | 1,194 | Orinoco Flow שהופץ גם בשם Orinoco Flow (Sail Away), הוא שיר שהוקלט על ידי הזמרת-יוצרת והמוזיקאית האירית אניה, מתוך אלבום האולפן השני שלה, Watermark. השיר יצא לאור ב-15 באוקטובר 1988, על ידי חברות התקליטים גפן רקורדס והאחים וורנר, כסינגל המוביל מתוך האלבום. הוא שהה בראש מצעד הסינגלים הבריטי במשך שלושה שבועות וקיבל שתי מועמדויות לפרס גראמי בקטגוריות "הווידאו קליפ הטוב ביותר" ו"ביצוע העידן החדש הטוב ביותר", במהלך טקס פרסי גראמי ה-32.
בשנת 2020 דירגו בגרדיאן את "Orinoco Flow" במקום ה-77 ברשימת "100 הסינגלים הגדולים ביותר בבריטניה בכל הזמנים".
רקע וכתיבה
השיר הופץ כסינגל המוביל מאלבום האולפן השני של אניה, Watermark, באוקטובר 1988. הוא זכה להצלחה עולמית והגיע למקום הראשון במספר מדינות, ביניהן בלגיה, אירלנד, הולנד, שווייץ ובריטניה. במצעד הסינגלים הבריטי שהה השיר במשך שלושה שבועות במקום הראשון. בארצות הברית הגיע למקום ה-24 במקום באפריל 1989.
חלק משמו נגזר משמם של אולפני אורינוקו (שונה בהמשך לאולפני מילוקו, שם גם הוקלט) ומנהר בעל אותו השם. אקורדי הפיציקטו כונו כ"צלילי העידן החדש". המפיק המשותף, רוס קולום הוזכר בשיר בדומה לרוב דיקינס. בשנת 1994 נכלל השיר באלבום האוסף, Pure Moods, שיצא לאור על ידי חברת התקליטים וירג'ין רקורדס.
בשנת 1998 יצא לאור הרמיקס הרשמי של "Orinoco Flow" לציון עשור מצאתו המקורית. כלפי מילותיו הופנו ביקורות שונות.
ביקורת
נד ראגט מ-AllMusic תיאר את השיר כ"מובהק" וכ"קליט ממש". הוא ציין כי "הדרמטיות הגלומה בו, מבוצעת על ידי אניה בצורה עדינה".
וידאו קליפ
הווידאו קליפ הרשמי של השיר פורסם לראשונה ביוטיוב ב-22 באוקטובר 2008, כאשר עלה לערוץ הרשמי של אניה. הוא בוים על ידי מייקל גוגן.
מיקומי שיא
נתוני מכירות
היסטוריית יציאות לאור
קישורים חיצוניים
הערות שוליים
שירי 1988
סינגלים מ-1988
סינגלים מ-1989
שירי אניה
שירים באנגלית
שירים שנכתבו על ידי אניה
שירים שנכתבו על ידי רומא ראיין
שירים שהולחנו על ידי אניה
שירים שהופקו על ידי ניקי ראיין
שירים על אוקיינוסים וימים
שירים על נהרות
שירים על סירות
סינגלים שהגיעו למקום הראשון בבלגיה
סינגלים שהגיעו למקום הראשון בשווייץ
סינגלים שהגיעו למקום הראשון במצעד אירופה הוט 100
סינגלים שהגיעו למקום הראשון במצעד הסינגלים האירי
סינגלים שהגיעו למקום הראשון במצעד הסינגלים הבריטי
סינגלים שהגיעו למקום הראשון במצעד 40 הסינגלים ההולנדיים
סינגלים בהוצאת גפן רקורדס
סינגלים בהוצאת וורנר מיוזיק גרופ | 16,663 |
https://stackoverflow.com/questions/19974107 | StackExchange | Open Web | CC-By-SA | 2,013 | Stack Exchange | Joakim Johansson, https://stackoverflow.com/users/396043 | English | Spoken | 176 | 341 | RouteMapping works on development server but results in 404 in production
I have the following code in Global.asax, in a web site project with webforms, not an MVC application:
void Application_Start(object sender, EventArgs e)
{
RegisterRoutes(RouteTable.Routes);
}
public static void RegisterRoutes(RouteCollection routes)
{
routes.MapPageRoute("Documents", "documents/{document-id}/", "~/GetDocument.aspx");
}
The route mapping works correctly on my dev environment which runs IIS Express, but in production it returns a 404 error.
The server runs IIS 7 and has almost identical web.config-files. I haven't been able to identify any changes between the dev web.config and the production one that might be the cause.
How come my route mappings work in my dev environment but not in my production environment?
possible duplicate of Why is MapPageRoute / RedirectToRoute working on dev machine but not on production server?
Have you tried specifying runAllManagedModulesForAllRequests="true in web.config ?
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
There are existing queries related to this in StackOverflow:
(1) IIS 7 ignores MapPageRoute without file extentions
(2) Why is MapPageRoute / RedirectToRoute working on dev machine but not on production server?
| 30,920 |
https://unix.stackexchange.com/questions/335276 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | AdminBee, David Georg Reichelt, JigglyNaga, Julie Pelletier, RBB, Wildcard, https://unix.stackexchange.com/users/135943, https://unix.stackexchange.com/users/167583, https://unix.stackexchange.com/users/211595, https://unix.stackexchange.com/users/377345, https://unix.stackexchange.com/users/49156, https://unix.stackexchange.com/users/81640, https://unix.stackexchange.com/users/90751, ifb | English | Spoken | 1,040 | 1,854 | grep -v: How to exclude only the first (or last) N lines that match?
Sometimes there are a few really annoying lines in otherwise tabular data like
column name | other column name
-------------------------------
I generally prefer removing garbage lines that shouldn't be there by grep -v ing a reasonably unique string, but the problem with that approach is that if the reasonably unique string appears in the data by accident that's a serious problem.
Is there a way to limit the number of lines that grep -v can remove (say to 1)? For bonus points, is there a way to count the number of lines from the end without resorting to <some command> | tac | grep -v <some stuff> | tac ?
how about awk 'NR>2' ?
looking for something cat a.txt | sed -e '1,2d' | tac | sed -e '1,1d' | tac where 1,2d removes 1st two lines which is column name and hyphen row and 1,1d removes the result count row. And check it out in http://unix.stackexchange.com/questions/37790/how-do-i-delete-the-first-n-lines-of-an-ascii-file-using-shell-commands
grep unfortunately can not do it. The closest option would be to limit the number of lines shown before you ignore them: grep -v -m 10 would show the first 10 matches and ignore the rest.
You can do both of these using the POSIX-specified predecessor to vi known as ex. If you include example input output I'll elucidate further.
sed provides a simpler way:
... | sed '/some stuff/ {N; s/^.*\n//; :p; N; $q; bp}' | ...
This way you delete first occurrence.
If you want more:
sed '1 {h; s/.*/iiii/; x}; /some stuff/ {x; s/^i//; x; td; b; :d; d}'
, where count of i is count of occurrences (one or more, not zero).
Multi-line Explanation
sed '1 {
# Save first line in hold buffer, put `i`s to main buffer, swap buffers
h
s/^.*$/iiii/
x
}
# For regexp what we finding
/some stuff/ {
# Remove one `i` from hold buffer
x
s/i//
x
# If successful, there was `i`. Jump to `:d`, delete line
td
# If not, process next line (print others).
b
:d
d
}'
In addition
Probably, this variant will work faster, 'cos it reads all rest lines and print them in one time
sed '1 {h; s/.*/ii/; x}; /a/ {x; s/i//; x; td; :print_all; N; $q; bprint_all; :d; d}'
As result
You can put this code into your .bashrc (or config of your shell, if it is other):
dtrash() {
if [ $# -eq 0 ]
then
cat
elif [ $# -eq 1 ]
then
sed "/$1/ {N; s/^.*\n//; :p; N; \$q; bp}"
else
count=""
for i in $(seq $1)
do
count="${count}i"
done
sed "1 {h; s/.*/$count/; x}; /$2/ {x; s/i//; x; td; :print_all; N; \$q; bprint_all; :d; d}"
fi
}
And use it this way:
# Remove first occurrence
cat file | dtrash 'stuff'
# Remove four occurrences
cat file | dtrash 4 'stuff'
# Don't modify
cat file | dtrash
This is GNU-Sed specific. To use Sed labels and branching portably in a one-liner, use e.g. sed -e '/some stuff/ {N; s/^.*\n//; :p' -e 'N; $q; bp' -e '}' In other words you cannot portably include anything after a label name within the same argument. (You can also embed a newline, or put the Sed script in a file and use sed -f, but this is the clean portable one-liner branching approach.)
You could use awk to ignore the first n lines that match (e.g. assuming you wanted to remove only the 1st and 2nd match from the file):
n=2
awk -v c=$n '/PATTERN/ && i++ < c {next};1' infile
To ignore the last n lines that match:
awk -v c=${lasttoprint} '!(/PATTERN/ && NR > c)' infile
where ${lasttoprint} is the line number of the nth+1 to last match in your file. There are various ways to get that line no. (e.g. print only the line number for each match via tools like sed/awk, then tail | head to extract it)... here's one way with gnu awk:
n=2
lasttoprint=$(gawk -v c=$((n+1)) '/PATTERN/{x[NR]};
END{asorti(x,z,"@ind_num_desc");{print z[c]}}' infile)
Perhaps reduce the chances of filtering out your data by using a more accurate grep command. For example:
grep -v -F -x 'str1'
For lines that are exatctly str1. Or maybe:
grep -v '^str1.*str2$'
For lines that start with 'str1' and end with 'str2'.
-F means "fixed string", ie. don't interpret this as a regexp. For matching the line exactly, you also need -x.
Quite right. Thanks! I edited the answer to add this.
To do this you might have to use awk.
The simple way I know is this:
cat file | awk '{ $1=""; print}'
You can skip multiple columns too:
cat file | awk '{ $1=$2=$3=""; print}'
If you want to skip the last column and you're not sure how much columns you will have:
cat file | awk '{ $NF=""; print}'
Tested on Ubuntu 16.04 (GNU bash, version 4.3.48)
Best.
Note that you don't need to cat a file to awk; just provide it as command-line argument, it can read files completely on its own.
Another possible solution is to use bashs own utilities:
count=1
found=0
cat execute-commons-fileupload.sh | while read line
do
if [[ $line == *"myPattern"* ]]
then
if [ $found -eq $count ]
then
echo "$line"
else
found=$(($found+1))
fi
else
echo "$line"
fi
done
By setting count, you can change the count of occurences of your pattern which you want to remove.
For me personally, this seems to be easier extendable, since you can easily add other conditions to the if statement (but this might be caused by my marginal knowledge of sed).
Please note that while it is possible to perform text processing using shell read loops, it is quite inefficient when compared to solutions involving awk, for example, which has a rather powerful syntax for complex text and string manipulation tasks (see here for an overview on why using a shell loop is considered bad practice).
Thanks for the hint. For some use cases, using shell read loops is sufficiently fast and easier to configure (as my use case, where I only need to process ~200 lines), but you are right that in bigger cases the usage of awk or sed is better.
| 27,221 |
https://fi.wikipedia.org/wiki/J%C3%A4k%C3%A4l%C3%A4lampi%20%28Rovaniemi%2C%20Sonka%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Jäkälälampi (Rovaniemi, Sonka) | https://fi.wikipedia.org/w/index.php?title=Jäkälälampi (Rovaniemi, Sonka)&action=history | Finnish | Spoken | 71 | 234 | Jäkälälampi on Lapissa Rovaniemellä Sonkan kylän lähellä sijaitseva lampi.
Maantietoa
Lammen pinta-ala on 4,1 hehtaaria, se on 150 metriä pitkä ja 100 metriä leveä. Lammella ei ole kartan mukaan saaria. Sen rantaviivan pituus on 900 metriä.
Vesistösuhteet
Lampi sijaitsee Tornionjoen vesistössä (vesistöaluetunnus 67) Tengeliönjoen valuma-alueen (67.9) Palojoen valuma-alueella (67.97), jonka Airijoen valuma-alueeseen (67.977) se kuuluu. Lammen vedenpinnan korkeus on 156,6 metriä mpy.
Lähteet
Palojoen valuma-alue (Tengeliö)
Botin luomat artikkelit
Rovaniemen järvet | 34,083 |
https://sl.wikipedia.org/wiki/Borzoj | Wikipedia | Open Web | CC-By-SA | 2,023 | Borzoj | https://sl.wikipedia.org/w/index.php?title=Borzoj&action=history | Slovenian | Spoken | 79 | 167 | Borzoj ali ruski hrt je pasma psov, ki izvira iz Rusije. Prvotno so jih uporabljali za lov na volkove, lisice in srnjad. Njegova življenjska doba je od 13 do 14 let. Je velik in eleganten pes z dolgo svilnato dlako. Največkrat je osnovna barva bela z različnimi barvenimi znamenji. Samci so visoki 70–82 cm, psice so za cca. 5 cm nižje vendar za 1–2 cm daljše. Pes tehta od 35–47 kg, psica od 30–40 kg.
Zunanje povezave
Pasme psov | 19,266 |
https://stackoverflow.com/questions/64840573 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | English | Spoken | 427 | 1,198 | New to react native, Buttons don't seem to work individually
I'm trying to get each button to activate and "switch-on" when pressed, and I've used some documentation to help me. However, now it is not switching on.
Code Adds Switches in a FlatList
The Data should look like this:
https://imgur.com/a/761PSjre
Also, feel free to judge my code to the darkest depths of hell. I'm trying to improve my code.
import React from 'react'
import {StyleSheet, View,Text, Switch, Button, Alert, ScrollView, FlatList, SafeAreaView} from 'react-native'
export default () => {
const DATA = [
{
index: 1,
title: 'Toggle Night Mode',
},
{
index: 2,
title: 'Remind me to take a break',
},
{
index: 3,
title: "Remind me when it's bedtime",
},
];
const [enabledSwitches, setEnabledSwitches] = React.useState(DATA.length);
const toggleSwitch = () => setEnabledSwitches(previousState => !previousState);
function Item({title, index}) {
return (
<View>
<Text style={styles.text}> {title} </Text>
<Switch
trackColor={{ false: "#767577", true: "#81b0ff" }}
thumbColor="#f5dd4b"
ios_backgroundColor="#3e3e3e"
value={enabledSwitches[index]}
onValueChange={() => toggleSwitch(switches => {
switches[index] = !switches[index];
return switches;
})}
/>
</View>
)
}
function Header(){
return(
<View style = {styles.header}>
<Text style={styles.headertext}>Settings</Text>
</View>
)
}
return (
<>
<View style = {styles.container}>
<FlatList
data = {DATA}
keyExtractor = {item => item.id}
renderItem = {({ item, index }) => <Item title={item.title} index={index} /> }
ListHeaderComponent = {Header()}
/>
</View>
<View>
<Button
title = "Clear Search History"
color = "#6fb6f0"
onPress = {() => Alert.alert('Food History Has Been Cleared!')}
/>
</View>
<View>
<Button
title = "Logout"
color = "#6fb6f0"
onPress = {() => Alert.alert('Successfully Logged Out!')}
/>
</View>
</>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
text: {
fontSize: 20,
fontWeight: "300"
},
headertext: {
fontSize: 30,
fontWeight: "300"
},
header:{
flex:1,
justifyContent: 'center',
alignItems: 'center',
padding: 10,
backgroundColor: '#f5f5f5'
}
})
Try this way
import React from 'react'
import {StyleSheet, View,Text, Switch, Button, Alert, ScrollView, FlatList, SafeAreaView} from 'react-native'
export default () => {
// use data set in default state
const [data, setData] = React.useState([ {index: 1,title: 'Toggle Night Mode'},...]);
function toggleSwitch(value, index){
const newData = [...data];
const newData[index].isEnable = value;
setData(newData);
}
function Item({item, index}) {
return (
<View>
<Text style={styles.text}> {item.title} </Text> // use `title` here like this
<Switch
.....
value={item.isEnable || false} // change here
onValueChange={(value) => toggleSwitch(value, index) } // change here
/>
</View>
)
}
return (
<>
<View style = {styles.container}>
<FlatList
data = {data}
keyExtractor = {item => item.id}
renderItem = {({ item, index }) => <Item item={item} index={index} /> } // send `item` as prop
/>
</View>
</>
);
}
| 18,087 | |
https://stackoverflow.com/questions/76808869 | StackExchange | Open Web | CC-By-SA | 2,023 | Stack Exchange | Barmar, Community, Moon, https://stackoverflow.com/users/-1, https://stackoverflow.com/users/1491895, https://stackoverflow.com/users/22231569 | English | Spoken | 1,705 | 4,190 | Disable two input fields on the basis of selection from a dropdown list
I have the following HTML form with 5 fields, in which one is a drop down list with two option (ward and room) and 4 other input text fields. I am trying to achieve that if I select ward from list, then room no and room name should be disabled. And if select Room from list then ward no and wardname should be disabled. Can I have a few bits of advice on how to achieve this?
$("select").change(function() {
if ($(this).val() == ward) {
$(".abc").attr("disabled", "disabled");
$(".abc1").attr("disabled", "disabled");
} else {
$(".roomno").attr("disabled", "disabled");
$(".roomname").attr("disabled", "disabled");
}
}).trigger("change");
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<html>
<body>
<form method="post" action="">
<label>Sub Department :</label>
<select id="type">
<option value="ward">Ward</option>
<option value="room">Room</option>
</select>
<label> Ward No<input type = "text" name "abc" id = "abc">
<label> Ward Name <input type = "text" name "abc1" id = "abc1">
<label> Room No<input type = "text" name "roomno" id = "roomno">
<label> Room Name <input type = "text" name "roomname" id = "roomnam">
</form>
</body>
</html>
What problem are you having? It seems like a simple if/else in the event listener for the dropdown. Please post what you tried and we'll help you fix it.
@Barmar check my javasscript code now, select valueis coming from mysql database table
You're never enabling the other inputs. You need to use .removeAttr('disabled') on the ones that should be enabled.
@Barmar it will be on the basis of selection, if ward selected then first two will be enables, otherwise last two. can u edit my code , i need it for my study project
When you disable one set of inputs you have to enable the other set.
Other problems:
You have to put ward in quotes to make it a string.
You have to use # to select by ID. . is for classes.
You had no <option> in your <select>
You were missing all the </label>
You were missing = after all the name.
$("select").change(function() {
if ($(this).val() == 'ward') {
$("#abc, #abc1").removeAttr("disabled");
$("#roomno, #roomname").attr("disabled", "disabled");
} else {
$("#abc, #abc1").attr("disabled", "disabled");
$("#roomno, #roomname").removeAttr("disabled");
}
}).trigger("change");
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<html>
<body>
<form method="post" action="">
<label>Sub Department :</label>
<select name="wardroom" id="wardroom">
<option value="ward">Ward</option>
<option value="room">Room</option>
</select>
<br>
<label> Ward No<input type = "text" name="abc" id = "abc"></label>
<label> Ward Name <input type = "text" name="abc1" id = "abc1"></label>
<br>
<label> Room No<input type = "text" name="roomno" id = "roomno"></label>
<label> Room Name <input type = "text" name="roomname" id = "roomname"></label>
</form>
</body>
</html>
$("select").change(function() {
if ($(this).val() == 'ward') {
$("#abc, #abc1").removeAttr("disabled");
$("#roomno, #roomname").attr("disabled", "disabled");
} else {
$("#abc, #abc1").attr("disabled", "disabled");
$("#roomno, #roomname").removeAttr("disabled");
}
}).trigger("change");
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<html>
<body>
<form method="post" action="">
<label>Sub Department :</label>
<select name="wardroom" id="wardroom">
<option value="ward">Ward</option>
<option value="room">Room</option>
</select>
<br>
<label> Ward No<input type = "text" name="abc" id = "abc"></label>
<label> Ward Name <input type = "text" name="abc1" id = "abc1"></label>
<br>
<label> Room No<input type = "text" name="roomno" id = "roomno"></label>
<label> Room Name <input type = "text" name="roomname" id = "roomnam"></label>
</form>
</body>
</html>
As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
There are a few options to implement this, I'll offer both jQuery and (plain) JavaScript options:
// selecting the relevant element via its id, using a CSS selector, and
// using the on() method to bind the anonymous function as the event-
// handler of the 'change' event fired on the identified element:
$('#type').on('change', function() {
// getting the currently selected value (as a string), using
// String.prototype.trim() to remove leading and trailing white-space,
// and then converting to lower-case text for comparison:
let value = $(this).val().trim().toLowerCase();
// selecing all <label> elements, and iterating over that collection
// using each():
$('label').each(function() {
// $(this) is the current <label> of each iteration:
$(this)
// from the <label> we find the nested <input>:
.find('input')
// we use the prop() method to update the 'disabled' property:
.prop('disabled',
// and here we convert the text of the current <label> ($(this))
// to lower-case, and use String.prototype.includes() to
// return a Boolean; this is true if the value (the string
// we're looking for) is included, and false if not; because
// we're setting the disabled/"inactive" state, we invert
// that Boolean to appropriately disable/enable the <input>:
!$(this).text().toLowerCase().includes(value)
);
});
// firing the 'change' event after the event-listener is bound so
// that the <input> elements are in the correct state on page-load:
}).change();
label {
display: flex;
gap: 1rem;
inline-size: 30%;
justify-content: end;
padding-block: 0.25rem;
}
input {
border: 2px solid var(--stateIndicator);
inline-size: 10rem;
padding-block: 0.25rem;
padding-inline: 0.5rem;
transition: border-color 250ms;
}
input:enabled {
--stateIndicator: palegreen;
}
input:disabled {
--stateIndicator: salmon;
}
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<form method="post" action="">
<label>Sub Department :</label>
<select id="type">
<option value="ward">Ward</option>
<option value="room">Room</option>
</select>
<label> Ward No<input type="text" name="abc" id="abc"></label>
<label> Ward Name <input type="text" name="abc1" id="abc1"></label>
<label> Room No<input type="text" name="roomno" id="roomno"></label>
<label> Room Name <input type="text" name="roomname" id="roomname"></label>
</form>
JS Fiddle.
In plain JavaScript the above would be:
// we're using this element in two places in this example, so
// it makes sense to cache it in a variable:
let selectElement = document.querySelector('#type');
selectElement
// binding the anonymous function of the
// EventTarget.addEventListener() method:
.addEventListener('change', (evt) => {
// using destructuring assignment to retrieve
// the currentTarget property, and rename it
// to the variable 'el':
let {
currentTarget: el
} = evt,
// retrieving the selected value of the
// element, again: trimming away white-space
// from beginning and end, and converting
// to lower-case:
{
form
} = el,
value = el.value.trim().toLowerCase();
// using Element.querySelectorAll() to find all
// matching elements contained within the <form>
// element that contains the <select>:
form.querySelectorAll('label')
// iterating over the NodeList returned:
.forEach(
(label) => {
// this is because while jQuery guards against the
// consequence of a selector returning null,
// JavaScript doesn't; so here we first retrieve
// the <input>:
let input = label.querySelector('input');
// and here we test for its existence (because obviously
// the <label> prior to the <select> has no <input> element):
if (input) {
// here we do exactly as we did in jQuery, we update
// the disabled property of the <input> element depending
// on the presence or absence of the 'value' in the
// <label> element's text:
label.querySelector('input').disabled = !label.textContent.toLowerCase().includes(value)
}
})
});
// firing the 'change' event after the event-listener is bound, using
// EventTarget.dispatchEvent, in order that the <input> elements are
// in the correct state on page-load:
selectElement.dispatchEvent(new Event('change'));
label {
display: flex;
gap: 1rem;
inline-size: 30%;
justify-content: end;
padding-block: 0.25rem;
}
input {
border: 2px solid var(--stateIndicator);
inline-size: 10rem;
padding-block: 0.25rem;
padding-inline: 0.5rem;
transition: border-color 250ms;
}
input:enabled {
--stateIndicator: palegreen;
}
input:disabled {
--stateIndicator: salmon;
}
<form method="post" action="">
<label>Sub Department :</label>
<select id="type">
<option value="ward">Ward</option>
<option value="room">Room</option>
</select>
<label> Ward No<input type="text" name="abc" id="abc"></label>
<label> Ward Name <input type="text" name="abc1" id="abc1"></label>
<label> Room No<input type="text" name="roomno" id="roomno"></label>
<label> Room Name <input type="text" name="roomname" id="roomname"></label>
</form>
JS Fiddle demo.
The problems with the original code are below:
$("select").change(function() {
// ward - without quotes - is interpreted as a
// variable, not as a String; therefore it
// needs to be quoted:
if ($(this).val() == ward) {
// while this is perfectly okay, I personally
// prefer to minimise my code and reduce the
// amount of typing I have to both undertake
// and remember to update/change; also, I'd
// personally use prop() rather than attr()
// though that's not a "problem," just a
// preference:
$(".abc").attr("disabled", "disabled");
$(".abc1").attr("disabled", "disabled");
} else {
$(".roomno").attr("disabled", "disabled");
$(".roomname").attr("disabled", "disabled");
}
}).trigger("change");
<form method="post" action="">
<!-- there's no association between the label and
the element to which it's related, ideally
there'd be a 'for="type"' attribute and value:
-->
<label>Sub Department :</label>
<select id="type">
<!-- because there's no <option> set to be
selected the initial page-state is
determined by the browser rather than
the app/site; which is fine but may
cause issues:
-->
<option value="ward">Ward</option>
<option value="room">Room</option>
</select>
<!-- <option> elements don't need to have a closing
tag (if they're immediately followed by another
<option> or <optgroup>, and I don't think anything
else should be a sibling), but it looks messy?
Further, though, the lack of an "=" sign between
the "name" and the "abc" value, means that you
create an element whose name attribute-value is
empty (therefore useless), and - in Firefox at
least - a quoted-attribute "abc" which also has
an empty attribute-value; though this may be platform-
specific:
-->
<label> Ward No<input type = "text" name "abc" id = "abc">
<label> Ward Name <input type = "text" name "abc1" id = "abc1">
<label> Room No<input type = "text" name "roomno" id = "roomno">
<label> Room Name <input type = "text" name "roomname" id = "roomnam">
</form>
References:
JavaScript:
Array.prototype.includes().
Destructuring assignment.
document.querySelector().
document.querySelectorAll().
Element.querySelector().
Element.querySelectorAll().
Event().
EventTarget.addEventListener().
EventTarget.dispatchEvent().
NodeList.forEach().
String.prototype.toLowerCase().
String.prototype.trim().
jQuery:
each().
find().
on().
prop().
text().
val().
I will encourage you to use the <fieldset> for structuring your form fields. It has some build-in features that are useful. The attribute disabled can be used for enabling/disabling parts of the form. If a fieldset is disabled the values of the form fields/input elements inside the fieldset are not submitted with the form. So, you don't post stuff that is not in use. The disabled attribute does not hide the form fields, but you can hide the fieldset with a simple CSS selector.
As a side note, in forms it is often not necessary with IDs for input elements. Use the name attribute instead.
document.forms.form01.wardroom.addEventListener('change', e => {
let val = e.target.value;
let form = e.target.form;
//disable all fieldsets
[...form.elements]
.filter(elm => elm.type == 'fieldset')
.forEach(elm => elm.disabled = true);
// enable the selected fieldset
form.elements[val].disabled = false;
});
fieldset {
border: none;
}
fieldset:disabled {
display: none;
}
<form name="form01" method="post" action="">
<label>Sub Department :</label>
<select name="wardroom">
<option value="ward">Ward</option>
<option value="room">Room</option>
</select>
<fieldset name="ward">
<label> Ward No <input type="text" name="wardno"></label>
<label> Ward Name <input type="text" name="wardname"></label>
</fieldset>
<fieldset name="room" disabled>
<label> Room No <input type="text" name="roomno"></label>
<label> Room Name <input type="text" name="roomname"></label>
</fieldset>
</form>
| 6,971 |
https://de.wikipedia.org/wiki/Landtagswahl%20in%20Bayern%202013 | Wikipedia | Open Web | CC-By-SA | 2,023 | Landtagswahl in Bayern 2013 | https://de.wikipedia.org/w/index.php?title=Landtagswahl in Bayern 2013&action=history | German | Spoken | 3,232 | 6,814 | Bei der Landtagswahl in Bayern 2013 hatten am 15. September 2013 rund 9,4 Millionen Wahlberechtigte die Möglichkeit, über die Zusammensetzung des 17. Bayerischen Landtages zu entscheiden. Die Wahlbeteiligung lag bei 63,6 %. Gleichzeitig fanden die Wahlen zu den sieben bayerischen Bezirkstagen und fünf Volksentscheide (obligatorische Referenden) zur Änderung der Bayerischen Verfassung statt.
→ Allgemeine Informationen zur Wahl des Bayerischen Landtages siehe unter Bayerisches Landtagswahlsystem.
Wahltermin
Gemäß Artikel 16 Abs. 1 der Bayerischen Verfassung war die Wahl auf einen Sonntag „frühestens 59 Monate, spätestens 62 Monate“ nach der vorausgehenden Landtagswahl 2008 festzulegen. Damit bestand die Möglichkeit, sie termingleich mit der am 22. September 2013 stattfindenden Bundestagswahl abzuhalten. Die Bayerische Staatsregierung entschied sich in der Kabinettssitzung vom 20. Februar 2013 gegen diese Option und legte den bayerischen Wahltag auf den 15. September, eine Woche vor der Bundestagswahl. Der Ministerpräsident Horst Seehofer hatte dazu bereits im Vorfeld erklärt, Bayern sei „das älteste, stärkste und erfolgreichste Land in Deutschland“, dies rechtfertige einen eigenen Wahltermin. Innenminister Joachim Herrmann begründete die getrennten Termine zudem mit einer sonst zeitlich verzögerten Bekanntgabe der Landesergebnisse durch die vorrangige Auszählung der beiden Bundestagsstimmen, mit möglichen Unklarheiten wegen der deutlichen Unterschiede zwischen Landtags- und Bundestagswahlrecht und mit der Belastung der Wahlhelfer durch die ebenfalls stattfindenden Bezirkstagswahlen und fünf Abstimmungen zu Verfassungsänderungen. Der SPD-Landesvorsitzende Florian Pronold hatte dagegen einen einheitlichen Wahltermin gefordert und von einer „Zumutung für die Bürger“ und der Gefahr einer geringeren Wahlbeteiligung gesprochen.
Ausgangslage
Bei der Landtagswahl 2008 hatte die CSU nach 46 Jahren die absolute Mehrheit im Bayerischen Landtag verloren, war aber stärkste Partei geblieben. In einer Koalition mit der FDP – die erstmals nach drei Wahlperioden wieder in den Landtag einzog – stellte sie mit Horst Seehofer weiterhin den Ministerpräsidenten. Die SPD hatte 2008 ihr schlechtestes Wahlergebnis seit Kriegsende erzielt und bildete zusammen mit Grünen und den erstmals im Landtag vertretenen Freien Wählern die Opposition.
Parteien und Kandidaten
Zehn Parteien traten in ganz Bayern zur Landtagswahl 2013 an:
Christlich-Soziale Union in Bayern (CSU)
Sozialdemokratische Partei Deutschlands (SPD)
Freie Wähler (FREIE WÄHLER)
Bündnis 90/Die Grünen (GRÜNE)
Freie Demokratische Partei (FDP)
Die Linke (DIE LINKE)
Ökologisch-Demokratische Partei (ÖDP)
Die Republikaner (REP)
Bayernpartei (BP)
Piratenpartei Deutschland (PIRATEN)
Weitere fünf Parteien traten in einzelnen der sieben Wahlkreise an:
Nationaldemokratische Partei Deutschlands (NPD) in allen Wahlkreisen außer Oberbayern und Unterfranken
Partei für Franken (DIE FRANKEN) in den drei fränkischen Wahlkreisen
Frauenliste Bayern (FRAUENLISTE) in Oberfranken und Schwaben
Bürgerrechtsbewegung Solidarität (BüSo) in Oberbayern
Bürgerrechtspartei für mehr Freiheit und Demokratie – Die Freiheit (DIE FREIHEIT) in Oberbayern
Parteien (oder Wählergruppen), die zum Zeitpunkt der Wahl im Bayerischen Landtag oder im Deutschen Bundestag vertreten waren, konnten ohne weitere Hürden Wahlkreisvorschläge einreichen. Andere Parteien hatten ihre Kandidatur beim Landeswahlleiter anzuzeigen. Parteien, welche bei der Landtagswahl 2008 mehr als 1,25 Prozent der abgegebenen Stimmen erreichten, konnten dann ohne Unterstützungsunterschriften Wahlvorschläge einreichen, dies betraf die ÖDP und die REP. Alle weiteren Parteien und Wählergruppen mussten für jeden Wahlkreis Unterschriften von 1 Promille der Stimmberechtigten dieses Wahlkreises vorlegen. Maßgebliche Berechnungsbasis dafür war Stimmberechtigtenzahl der zuletzt vorausgehenden landesweiten Abstimmung, zur Landtagswahl 2013 also die Volksabstimmung zum Nichtraucherschutz am 4. Juli 2010. Somit ergaben sich für Niederbayern eine Mindestzahl von 923 Unterstützerunterschriften, für die Oberpfalz 846, Oberfranken 857, Mittelfranken 1270, Unterfranken 1027, Schwaben 1335 und für Oberbayern durch gesetzliche Deckelung 2000 Unterschriften.
Von den zur Wahl zugelassenen Parteien reichten die Deutsche Zentrumspartei, Die Violetten – für spirituelle Politik, die Rentner Partei Deutschland und die WasserPartei Deutschland keine Wahlkreisvorschläge ein. Zwei Organisationen hatten zwar Beteiligungsabsichten geäußert, wurden vom Landeswahlausschuss aber nicht für die Einreichung von Wahlvorschlägen zugelassen: SustainableUnion – die Nachhaltigkeitspartei Bayerns reichte ihren Zulassungsantrag 80 Minuten vor Fristablauf formwidrig per E-Mail ein und behob den Formfehler nicht mehr rechtzeitig. Die Partei für Arbeit, Rechtsstaat, Tierschutz, Elitenförderung und basisdemokratische Initiative hatte den Parteinamen im Zulassungsantrag nicht vollständig wiedergegeben – es fehlte das Wort „Tierschutz“ – und dies trotz mehrerer Aufforderungen nicht korrigiert.
Die im Februar 2013 gegründete AfD trat bei der Wahl nicht an, weil sie im Fall eines Misserfolgs ein Negativsignal für die eine Woche später stattfindende Bundestagswahl 2013 befürchtete.
Spitzenkandidaten
Der Bayerische Ministerpräsident wird nicht per Direktwahl, sondern durch die Abgeordneten des Bayerischen Landtags gewählt. Die Spitzenkandidaten der beiden großen Parteien bei der Landtagswahl werden umgangssprachlich als „Ministerpräsidentenkandidaten“ bezeichnet.
Spitzenkandidat der CSU war Ministerpräsident Horst Seehofer, der zudem auf Listenplatz 1 der CSU-Wahlkreisliste Oberbayern und als Stimmkreisbewerber in Neuburg-Schrobenhausen für den Landtag kandidierte.
Spitzenkandidat der SPD war der Münchner Oberbürgermeister Christian Ude. Um ein Landtagsmandat kandidierte er auf Listenplatz 1 der SPD-Wahlkreisliste Oberbayern; er kandidierte in keinem Stimmkreis für ein Direktmandat.
Spitzenkandidat der Freien Wähler war deren Fraktionsvorsitzender Hubert Aiwanger. Er kandidierte auf Platz 1 der Wahlkreisliste Niederbayern und im Stimmkreis Landshut.
Grüne Spitzenkandidatin war deren Fraktionsvorsitzende Margarete Bause, die auch die Wahlkreisliste von Bündnis 90/Grüne in Oberbayern anführte und im Stimmkreis München-Schwabing für das Direktmandat kandidierte.
Spitzenkandidat der FDP war Wirtschaftsminister Martin Zeil. Er war auf Listenplatz 1 der FDP-Wahlkreisliste Oberbayern platziert und Direktkandidat im Stimmkreis Starnberg.
Spitzenkandidat der Linken war die Münchner Stadträtin Brigitte Wolf. Sie kandidierte auf Platz 1 der Wahlkreisliste Oberbayern und im Stimmkreis München-Bogenhausen.
Direktkandidaten
Um Direktmandate in den 90 Stimmkreisen bewarben sich insgesamt 977 Kandidaten. Unter den zehn landesweit antretenden Parteien hatten acht in allen Stimmkreisen Direktkandidaten aufgestellt, bei Piraten und Die Linke blieb je ein Stimmkreis unbesetzt (Passau-West bzw. Memmingen). Die Freiheit und Frauenliste stellten nur in zwei Stimmkreisen Direktkandidaten auf, BüSo nur in einem einzigen.
Von den 91 Stimmkreisgewinnern der Landtagswahl 2008 bewarben sich 56 erneut um ein Direktmandat. In zwei Stimmkreisen (München-Bogenhausen und Erding) trat der relativ seltene Fall ein, dass der amtierende Stimmkreisabgeordnete trotz erneuter Kandidaturabsicht bei einer parteiinternen Kampfabstimmung unterlag und nicht erneut nominiert wurde. Im Stimmkreis Miesbach tauschten die bisherige Bundestagsabgeordnete Ilse Aigner und der Landtagsabgeordnete Alexander Radwan einvernehmlich die Direktbewerbungen und kandidieren nun für das jeweils andere Parlament.
Der älteste Direktkandidat (Geburtsjahrgang 1925) trat im Stimmkreis Landshut für die NPD an, der jüngste (Geburtsjahrgang 1994) im Stimmkreis Straubing für die Grünen.
Listenkandidaten
Alle 977 Stimmkreisbewerber traten auch als Listenkandidaten ihrer Parteien in den Wahlkreisen an. Zusätzlich wurden 785 reine Listenbewerber nominiert, insgesamt betrug die Zahl der Landtagskandidaten somit 1762. Reine Listenkandidaten hatten dabei eine wesentlich verringerte Mandatschance, weil sich die Vergabe der Listenmandate nach der Gesamtstimmenzahl (Stimmkreis- und Listenstimmen addiert) bestimmt. Von der Möglichkeit, Listenkandidaten für alle 180 zu vergebenden Abgeordnetenmandate aufzustellen, hatten nur Grüne, die Bayernpartei und die ÖDP Gebrauch gemacht. Die FDP stellte 176 von 180 möglichen Listenkandidaten auf, die CSU 164, die SPD 158 und die Freien Wähler 148. Die niedrigste Kandidatenzahl wiesen BüSo mit 5 und Die Freiheit mit 6 Kandidaten auf, beide traten zudem nur im Wahlkreis Oberbayern an.
Das Durchschnittsalter aller antretenden Kandidaten betrug 50 Jahre ohne signifikante Unterschiede bei den meisten landesweit antretenden Parteien. (CSU: 49, SPD und FDP: 48, Grüne: 50, FW: 51, Linke: 54, ÖDP: 52, Piraten: 39 Jahre).
Koalitionsaussagen
Führende Vertreter von CSU und FDP hatten ihre Absicht erklärt, die bestehende Koalition auch in der neuen Wahlperiode fortzusetzen. Dies galt allerdings nicht im Falle einer absoluten Mehrheit der CSU. Die SPD strebte eine Dreierkoalition aus SPD, Grünen und Freien Wählern an. Die Freien Wähler hielten sich bis zur Wahl eine Koalition sowohl mit der CSU als auch mit SPD und Grünen offen.
Positionen
Übersicht
In dieser Tabelle können die Positionen der etablierten Parteien zu verschiedenen Themen miteinander verglichen werden. Sie beziehen sich auf die Antworten, die die Parteien im Wahl-O-Mat der Bundeszentrale für politische Bildung angegeben haben.
Wahlprogramme
Landtagswahl 2013 – Programme der Parteien, die in ganz Bayern zur Landtagswahl antraten:(Die Wahlprogramme sind im Abschnitt Weblinks verlinkt)
Volksentscheide
Gleichzeitig mit der Wahl fanden fünf Volksentscheide zur Änderung der Verfassung des Freistaates Bayern statt. Alle Vorlagen wurden von den Abstimmenden angenommen.(Wortlaut und Erläuterungen zu den Volksentscheiden sind im Abschnitt Weblinks verlinkt)
Umfragen
Ein Jahr vor der Landtagswahl im Herbst 2013 konnte die CSU mit einem deutlich verbesserten Ergebnis im Vergleich zur Wahl 2008 rechnen. Je nach Umfrage erschien zu diesem Zeitpunkt das Erreichen einer absoluten Mehrheit der CSU möglich. Während die SPD in den Umfragen stagnierte und die Grünen leicht zulegen könnten, mussten die Freien Wähler mit einem etwas verschlechtertem Ergebnis rechnen. Bei FDP, der Linken und der Piratenpartei war fraglich, ob sie die Fünf-Prozent-Hürde überwinden werden (für den Einzug in die Bezirkstage gilt sie nicht, für ein Mandat im Bezirk Oberbayern können daher bereits weniger als 1 % der Stimmen ausreichen).
Für die Sonntagsfrage gaben die Demoskopen bei den einzelnen Umfragen folgende Anteile an (n. a. nicht angegeben):
Ergebnis
Nach dem amtlichen Endergebnis gewann die CSU von Ministerpräsident Horst Seehofer im Vergleich zur Wahl 2008 4,3 Prozentpunkte. Sie konnte, wie schon zwischen 1962 und 2008, die absolute Mehrheit der Mandatsträger stellen. Die SPD gewann zwei Prozentpunkte gegenüber dem Ergebnis 2008, welches das schlechteste Ergebnis in der Geschichte der bayerischen SPD seit Kriegsende gewesen war.
Die Freien Wähler verloren zwar gegenüber 2008 1,2 Prozentpunkte, zogen jedoch wieder in den Landtag ein und wurden erneut drittstärkste Fraktion. Die Grünen konnten zwar 20.000 Stimmen mehr als bei der letzten Wahl holen, ihr Stimmanteil sank jedoch aufgrund der höheren Wahlbeteiligung auf 8,6 Prozent. Die FDP verlor mehr als die Hälfte ihrer Wähler und scheiterte mit 3,3 % an der Fünf-Prozent-Hürde, wie auch alle weiteren Parteien.
Die Wahlbeteiligung lag mit 63,6 Prozent um 5,7 Prozentpunkte höher als 2008 (plus 600.000 Wähler). Somit nahmen mehr als ein Drittel der Wahlberechtigten nicht an der Wahl teil. 1,6 Prozent der abgegebenen Stimmen waren ungültig.
Erststimmen- und Stimmkreisergebnisse
Die 90 bayerischen Stimmkreise lagen in der Größe zwischen 80.143 Wahlberechtigten (Stimmkreis Pfaffenhofen a.d.Ilm) und 131.655 Wahlberechtigten (Stimmkreis Kulmbach). Stimmkreis mit der niedrigsten Wahlbeteiligung war Nürnberg-West mit 51,7 %, die höchste Beteiligung verzeichnete München-Land-Süd mit 74,3 %.
Die Direktkandidaten der CSU waren in 89 der 90 Stimmkreise erfolgreich. In 29 Stimmkreisen erzielte der CSU-Kandidat dabei nicht nur die benötigte einfache Mehrheit, sondern mit einem Erststimmenanteil von mehr als 50 Prozent auch die absolute Mehrheit. Die bayernweit höchsten Erststimmenanteile erreichten mit 63,1 % Marcel Huber im Stimmkreis Mühldorf am Inn, der Spitzenkandidat Horst Seehofer (61,5 % im Stimmkreis Neuburg-Schrobenhausen) und Reserl Sem (59,1 % im Stimmkreis Rottal-Inn).
Für die SPD erzielte Ruth Waldmann das Direktmandat im Stimmkreis München-Milbertshofen, in dem sie als Nachfolgerin des bisherigen SPD-Stimmkreisabgeordneten Franz Maget erstmals antrat. Dieser Stimmkreis wies mit 1136 Stimmen (1,5 Prozentpunkte) Unterschied auch die geringste Differenz zwischen obsiegendem und nächstplatziertem Direktkandidaten auf. Weitere relativ knappe Entscheidungen fielen in den Stimmkreisen München-Schwabing (Differenz 2,3 Prozentpunkte) und Nürnberg-Nord (3,1 Prozentpunkte).
Die Freien Wähler erzielten kein Direktmandat, lagen bei den Erststimmen aber in zwölf Stimmkreisen vor der SPD. In drei Stimmkreisen (Forchheim, Cham, Landshut) erreichten sie mehr als 20 Prozent der Erststimmen. Die Grünen erzielten ebenfalls kein Direktmandat, ihre Kandidaten lagen in den Stimmkreisen Freising – hier erreichte Christian Magerl 25,2 % der Erststimmen – und Berchtesgadener Land aber vor denen der SPD, deren Bewerber in diesen beiden Kreisen somit nur als Viertplatzierte abschnitten.
Durch das Bayerische Wahlsystem, bei dem Erst- und Zweitstimme für die Mehrheitsverhältnisse im Parlament gleich relevant sind, war das „Stimmensplitting“ im Wahlverhalten von vergleichsweise geringer Bedeutung: In der Mehrzahl der Stimmkreise unterscheidet sich der Erststimmenanteil der Direktbewerber der beiden großen Parteien nur um weniger als zwei Prozent von dem dort erreichten Gesamtstimmenanteil. Für die CSU gilt dies in 57, für die SPD in 68 der 90 Stimmkreise. Die deutlichsten Differenzen zwischen Erst- und Gesamtstimmenanteil zeigten sich für die CSU in Kelheim, wo der Direktkandidat um 4,0 Prozentpunkte besser abschnitt als seine Partei, sowie in den Stimmkreisen Altötting und Pfaffenhofen mit einem jeweils 5,1 Prozentpunkte schlechteren Abschneiden. Bei der SPD gab es die stärksten Unterschiede in Hof (Kandidat plus 4,0 Prozentpunkte gegenüber Partei) und in Mühldorf a.Inn (Kandidat 4,8 Prozentpunkte schlechter). Der einzige Stimmkreis, in der die Differenz zwischen Erst- und Zweitstimmenentscheidung tatsächlich Auswirkungen auf den Erwerb des Direktmandats hatte, war München-Schwabing: Hätte die SPD-Direktbewerberin Isabell Zacharias hier bei ihren Erststimmen das um 3,3 Prozentpunkte bessere Stimmkreis-Gesamtergebnis ihrer Partei erreicht, wäre das Direktmandat an sie statt an den CSU-Bewerber, Kultusminister Ludwig Spaenle, gegangen.
Nach Anteil an den Gesamtstimmen erzielten die kleineren Parteien, die landesweit an der Fünf-Prozent-Hürde scheiterten, in folgenden Stimmkreisen ihr jeweils bestes Einzelergebnis: FDP in Starnberg (9,1 %; in sechs weiteren Stimmkreisen über fünf Prozent), Linke in Nürnberg-Nord (4,9 %), ÖDP in Rottal-Inn (4,7 %), Republikaner in Erding (2,9 %), Bayernpartei in Marktoberdorf (7,0 %; in einem weiteren Stimmkreis über fünf Prozent), NPD in Weiden, Bamberg-Land und Deggendorf (jeweils 1,9 %), Piraten in Nürnberg-Nord und Nürnberg-West (jeweils 3,3 %), BüSo in Altötting (0,3 %), Die Freiheit in München-Hadern (0,5 %), Die Franken in Hof (4,3 %) und Frauenliste in Donau-Ries (3,7 %).
Wahlkreisergebnisse und Listenmandate
Stimmenzahl für einen Mandatserfolg
Durch das zweistufige Verfahren bei der Zuteilung der Listenmandate und die unabhängige Betrachtung jedes der sieben Wahlkreise unterscheiden sich die Gesamtstimmenzahlen, die für den individuellen Mandatserfolg benötigt wurden, je nach Liste und Regierungsbezirk sehr stark: Die niedrigste für ein Mandat ausreichende Gesamtstimmenzahl waren 11.570 Stimmen (Gabi Schmidt auf der Wahlkreisliste Mittelfranken der Freien Wähler). Somit zogen 54 Kandidaten von CSU, SPD, Freien Wählern oder Grünen nicht in den Landtag ein, obwohl sie bei bayernweiter und listenübergreifender Betrachtung mehr Gesamtstimmen erreicht hatten als diese erfolgreiche Kandidatin. Der stimmenstärkste Kandidat ohne Mandatserfolg hatte 32.033 Gesamtstimmen erzielt (Michael Hohl auf der Wahlkreisliste Oberfranken der CSU).
Stimmkreislose Listenbewerber
Da bei der listeninternen Rangfolge die Gesamtstimmenzahl des Bewerbers über seine Platzierung entscheidet, haben reine Listenbewerber im Bayerischen Wahlsystem einen erheblichen Nachteil, weil sie in keinem Stimmkreis als Direktkandidat wählbar sind und somit ausschließlich Zweitstimmen erhalten können. Trotzdem gelang es 19 Listenkandidaten von CSU, SPD, Freien Wählern oder Grünen, allein durch die für sie abgegebenen Zweitstimmen die Gesamtstimmen mindestens eines Stimmkreisbewerbers der gleichen Liste zu übertreffen.
Erfolgreich erreichten dies prominente Listenführer, die auf eine Stimmkreiskandidatur verzichteten (SPD-Spitzenkandidat Christian Ude, Landtagspräsidentin Barbara Stamm) oder verzichten mussten (Europaministerin Emilia Müller), aber auch der Grünen-Kandidat Sepp Dürr, der allein durch seine Zweitstimmen die Gesamtstimmen von 26 Stimmkreisbewerbern seiner Liste übertraf und somit erneut eines der sieben grünen Mandate im Wahlkreis Oberbayern errang. Dagegen scheiterte in ähnlicher Situation der Wiedereinzug des ehemaligen Freisinger Landrats und Freie-Wähler-Abgeordneten Manfred Pointner in den Landtag: Er erreichte mit 10.744 Stimmen zwar das drittbeste Zweitstimmenergebnis seiner Liste und übertraf die Gesamtstimmenzahl von 23 der 30 Stimmkreisbewerber seiner Partei, für eines der fünf oberbayerischen Listenmandate fehlten ihm aber rund 1850 Stimmen. Landesweit und über alle Parteien hinweg erreichten bei der Wahl 13 stimmkreislose Kandidaten eines der 90 Listenmandate.
Personalisierung und Listenführeranteile
Im Bayerischen Wahlsystem kann auch die Zweitstimme personalisiert abgegeben werden, jeder per Zweitstimme wählbare Bewerber – bis zu 59 je Liste – war also mit einem eigenen Stimmfeld aufgeführt. Anders als bei Kommunalwahlen sind auf dem Wahlzettel jedoch keine zusätzlichen Stimmfelder vorgesehen, um bei fehlender Personenpräferenz eine unpersonalisierte „Parteienstimme“ zu vergeben. Eine Markierung der Partei im Listenkopf wird aber als gültige Stimmabgabe gewertet und geht in die Berechnung der Mandatszahl ein. Bayernweit und über die Listen der vier erfolgreichen Parteien hinweg verzichteten 1,09 Prozent der Wähler (rund 55.000 Zweitstimmen) auf diese Weise auf eine Personalisierung. Extremwerte zeigten dabei die CSU-Wahlkreisliste Unterfranken (0,58 % unpersonalisierte Zweitstimmen) und die Liste der Freien Wähler in Oberbayern (2,33 % unpersonalisiert).
Die Listenführer, also die auf Platz 1 einer Wahlkreisliste aufgeführten und meist prominenten Kandidaten, erzielten gegenüber ihren Listenkonkurrenten eine deutlich erhöhte Zweitstimmenzahl und zogen im Schnitt aller Wahlkreise und erfolgreichen Listen rund 45 % der Zweitstimmen an sich. Als Maximalwerte entfielen auf Christian Ude 84 % der für alle SPD-Listenbewerber in Oberbayern vergebenen Zweitstimmen, auf Horst Seehofer 67 % der dort für die CSU vergebenen Zweitstimmen. Barbara Stamm zog in Unterfranken 64 % der CSU-Zweitstimmen auf sich, Hubert Aiwanger in Niederbayern 49 % der Freie-Wähler-Zweitstimmen. Deutlich unterdurchschnittlich ausgeprägt war dieser Listenführer-Effekt dagegen bei der Freie-Wähler-Liste in Oberbayern (Eva Gottstein mit 17 % der auf ihre Liste entfallenden Zweitstimmen) und bei der Grünen-Liste in Niederbayern (Rosi Steinberger mit 16 %). Bei vier Wahlkreislisten (Innenminister Joachim Herrmann bei der CSU in Mittelfranken, Johanna Werner-Muggendorfer bei der SPD in Niederbayern, Bernhard Pohl und Peter Meyer bei den Freien Wählern in Schwaben bzw. Oberfranken) erhielt der auf Rang 1 platzierte Kandidat nur die zweitmeisten Listenstimmen, diese Kandidaten zogen aber dennoch zwischen 19 und 29 Prozent der Zweitstimmen auf sich.
Nachrücker
Beim vorzeitigen Ausscheiden eines Abgeordneten wird das Mandat – unabhängig davon, ob es sich um ein Listen- oder Stimmkreismandat handelte – durch den nächstplatzierten Kandidaten seiner Wahlkreisliste nachbesetzt; in der vorangegangenen 16. Wahlperiode trat dies in acht Fällen ein. Bei sieben Wahlkreisen und vier im Parlament vertretenen Parteien gibt es somit 28 „erste Nachrücker“. Die Stimmendifferenz, die bei der Wahl zwischen Mandatserfolg und Nachrückerstatus entschied, war in einigen Fällen sehr gering: So fehlten Manfred Losinger auf der CSU-Wahlkreisliste Schwaben mit 20.875 Gesamtstimmen nur 185 Stimmen, um statt seines parteiinternen Konkurrenten Eric Beißwenger das letzte Listenmandat zu erringen. Dem bisherigen grünen Landtagsabgeordneten und Fraktionsvorsitzenden Martin Runge fehlten in Oberbayern gegenüber seiner Listenkonkurrentin Katharina Schulze 191 Stimmen für einen erneuten Mandatserfolg. Ebenfalls in Oberbayern lag der CSU-Bewerber Markus Fröschl mit 11618 Stimmen um 238 Stimmen hinter Martin Huber zurück. Dagegen scheiterte im selben Wahlkreis der SPD-Kandidat und Mühldorfer Bürgermeister Günther Knoblauch zwar zunächst ebenfalls knapp (16399 Gesamtstimmen, 265 Stimmen Rückstand zu Doris Rauscher), ist aber im neuen Landtag vertreten, weil Listenführer Christian Ude sein Mandat nicht annahm.
Trivia
Zu den Kandidaten, die bei der Wahl besondere Aufmerksamkeit auf sich zogen, gehörten der Musikproduzent und Grand-Prix-Teilnehmer Leslie Mandoki, der für die CSU auf der Wahlkreisliste Oberbayern antrat. Er erreichte 7287 Zweitstimmen und blieb damit sechs Rangplätze von einem Listenmandat entfernt.
Der Schlagersängerin und bisherigen Freie-Wähler-Abgeordneten Ute Singer, die auf den Stimmzetteln im Wahlkreis Oberbayern mit dem Zusatz „genannt Claudia Jung“ aufschien, gelang der Wiedereinzug in den Landtag nicht. Sie erreichte Rang sieben bei zu vergebenden fünf Listenmandaten.
Der älteste erfolgreiche Kandidat – und damit auch der Alterspräsident bei der konstituierenden Sitzung des 17. Bayerischen Landtags – war erneut der 1938 geborene Peter Paul Gantzer (SPD, Wahlkreisliste Oberbayern). Jüngster erfolgreicher Bewerber war Judith Gerlach (CSU, Unterfranken).
Siehe auch
Liste der Mitglieder des Bayerischen Landtags (17. Wahlperiode)
Kabinett Seehofer II
Landtagswahlen in Bayern
Weblinks
Informationen zur Wahl:
Landeswahlleiter: Landtagswahl 2013 – u. a. Übersicht über Kandidaten und Wahlkreislisten
Bayerischer Landtag: Landtagswahl 2013
„Wahl-O-Mat“ der Bundeszentrale für politische Bildung – Im Wahl-O-Mat können die persönlichen Standpunkte mit den Positionen der Parteien verglichen werden
„Bayern wählt“ – Wahlseiten des Bayerischen Rundfunks
Landtagswahl in Bayern: Das müssen Sie zur Wahl wissen – Wahlseite der Augsburger Allgemeinen
Kandidaten für die Bezirkstagswahl in Oberbayern
Wahlatlas zur Landtagswahl 2013 in Bayern – Interaktive Karte der Stimmkreiseinteilung mit vorläufigem Wahlergebnis 2013, Vorperiode sowie Strukturdaten
Wahlprogramme im Überblick:
CSU: (PDF; 4,2 MB)
SPD: „Bayern kann das“. – Kurzfassung (PDF; 8,8 MB)
FW: „Heimat gemeinsam für die Menschen gestalten“. (PDF; 440 kB)
Grüne: (PDF; 1,2 MB) – (PDF; 467 kB)
FDP: „Liberales Wahlprogramm“. (PDF; 1,1 MB) – Kurzfassung (PDF; 4,8 MB)
Linke: „Für ein l(i)ebenswertes Bayern“. (PDF; 429 kB) – Kurzfassung (PDF; 3,9 MB)
ÖDP: „Landtagswahlprogramm“. (PDF; 728 kB) – Kurzfassung (PDF; 3,4 MB)
BP: „Programm Bayernpartei“. – Kurzfassung
Piraten: „Landtagswahlprogramm 13“. (PDF; 1,9 MB)
Wortlaut und Erläuterungen zu den Volksentscheiden:
Bekanntmachung der Bayerischen Staatsregierung (PDF; 219 kB) vom 2. Juli 2013 (Az.: B II 2 – G 4/91)
Wortlaut von „Förderung gleichwertiger Lebensverhältnisse und Arbeitsbedingungen“ (PDF; 194 kB)
Wortlaut von „Förderung des ehrenamtlichen Einsatzes für das Gemeinwohl“ (PDF; 192 kB)
Wortlaut von „Angelegenheiten der Europäischen Union“ (PDF; 198 kB)
Wortlaut von „Schuldenbremse“ (PDF; 201 kB)
Wortlaut von „Angemessene Finanzausstattung der Gemeinden“ (PDF; 200 kB)
Muster-Stimmzettel (PDF; 1,0 MB)
Einzelnachweise
2013
Bayern Landtag
2013
Bayerische Geschichte (21. Jahrhundert)
Horst Seehofer | 18,819 |
https://eo.wikipedia.org/wiki/Ciudad%20Bol%C3%ADvar%20%28Bogoto%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Ciudad Bolívar (Bogoto) | https://eo.wikipedia.org/w/index.php?title=Ciudad Bolívar (Bogoto)&action=history | Esperanto | Spoken | 536 | 1,191 | Ciudad Bolívar estas la localidad numero 19a de la Ĉefurba Distrikto Bogoto, Kolombio. Ĝi troviĝas en la sudo de la urbo. Ĝi estas la tria localidad plej etenda de la urbo post Sumapaz kaj Usme.
La loĝantaro de Ciudad Bolívar estas de 616 455 loĝantoj, kiuj estas la 8,5% de la loĝantoj de la Ĉefurba Distrikto distribuitaj en 302 030 viroj kaj 314 425 virinoj, okupante la kvinan lokon ene de la 19 localidades.
Limoj
Norde kun la localidad Bosa.
Sude kun la localidad Usme.
Oriente kun la localidad Tunjuelito kaj Usme.
Okcidente kun la municipo Soacha.
UPZ, urbaj kaj ruraj kvartaloj
La localidad estas dividita en 8 UPZ (Unidades de Planeamiento Zonal) en la urba parto. Siavice, tiuj unuoj estas dividitaj en kvartaloj (kelkaj UPZ kunhavas kvartalojn): Krome estas corregimientos en la rura parto.
Urbaj UPZ: kvartaloj
UPZ 63 El Mochuelo: kvartaloj La Lira, El Pedrgal, Villa Jacky, Manas kaj Mochuelo Oriental.
UPZ 64 Monte Blanco: El Mochuelo II, Brazuelos de Santo Domingo, Esmeralda, Lagunitas, Paticos kaj Barranquitos.
UPZ 65 Arborizadora: Arborizadora Baja, Atlanta, La Playa, Madelena, Rafael Escamilla, Santa Helena, Santa Rosa Sur, Villa Helena, Casa Linda, La Coruña kaj Protecho.
UPZ 66 San Francisco: San Francisco, Las Acacias, Candelaria La Nueva, Gibraltar, Colmena, La Casona, Juan José Rondón, San Luis Sur, San Fernando Sur, Santa Inés de la Acacia, Millan Los Sauces, Puerta del Llano, Sauces, Hortalizas kaj El Recuerdo.
UPZ 67 El Lucero: Álvaro Bernal Segura, Lucero Alto, Lucero Medio, Lucero Bajo, Domingo Laín, El Bosque, El Castillo, El Paraíso Mirador, Bella Flor, La Torre, Estrella del Sur, El Triunfo, Gibraltar Sur, Juan Pablo II, La Alameda, La Cabaña, La Escala, Las Manitas, Los Alpes, El Satélite, La Torre, Los Andes de Nutibara, La Estrella de Lagos, Ciudad Milagros, Compartir, Buenavista, Marandú, Meissen, Brisas del Volador, México, Nueva Colombia, Naciones Unidas, Tierra Linda, Vista Hermosa, Villa Gloria kaj Capri
UPZ 68 El Tesoro: Arabia, Acapulco, Buenos Aires, Bogotá Sur, Divino Niño, Casa de Teja, El Consuelo, El Tesoro, Tesorito, El Mochuelo I, El Reflejo, La Cumbre, Los Duques, Inés Elvira, Monterey, Minuto de María, Ocho de Diciembre, Quiba, Potreritos, República de Venezuela, República de Canadá, San Rafael Sur, San Joaquín del Vaticano, Sotavento kaj Villa Diana López
UPZ 69 Ismael Perdomo: Bella Estancia, Barlovento, Caracolí, Bonanza Sur, Casa Loma Casavianca, Cerro del Diamante, El Rosal, El Espino, Ismael Perdomo, El Porvenir, El Rincón del Porvenir, Galicia, La Carbonera, Mirador de la Estancia, Mirador de Primavera, Perdomo Alto, Rincón de Galicia, Rincón de la estancia, Rincón de la Valvanera, San Antonio del Mirador, San Isidro, María Cano, San rafael de la Estancia, Santa Viviana, Santo Domingo kaj Sierra Morena
UPZ 70 Jerusalén: Arborizadora Alta, Bella Vista, Florida del Sur, Jerusalén, La Pradera, Las Brisas, Potosí, Las Vegas de Potosí, Villas de Bolívar kaj Verona
Corregimientos:
La rura zona de Ciudad Bolívar havas tri corregimientos: Mochuelo (Mochuelo Alto kaj Mochuelo Bajo), Quiba (Quiba Alta kaj Quiba Baja) kaj Pasquilla (Pasquilla, Pasquillita, Santa Bárbara, Santa Rosa kaj Las Mercedes).
Notoj
Bibliografio
Diversaj aŭtoroj, eldonisto Fabio Puyo Vasco, Historia de Bogotá 3 tomos: Tomo I - Conquista y Colonia, Tomo II - Siglo XIX, Tomo III - Siglo XX, Bogotá, 2007. ISBN 978-958-8293-31-8.
Suburboj de Bogoto | 6,280 |
https://nl.wikipedia.org/wiki/Mekarjaya%20D.1 | Wikipedia | Open Web | CC-By-SA | 2,023 | Mekarjaya D.1 | https://nl.wikipedia.org/w/index.php?title=Mekarjaya D.1&action=history | Dutch | Spoken | 25 | 70 | Mekarjaya D.1 is een bestuurslaag in het regentschap Musi Banyuasin van de provincie Zuid-Sumatra, Indonesië. Mekarjaya D.1 telt 2614 inwoners (volkstelling 2010).
Plaats in Zuid-Sumatra | 14,120 |
https://stackoverflow.com/questions/58949855 | StackExchange | Open Web | CC-By-SA | 2,019 | Stack Exchange | Bob, Helix123, Marco, https://stackoverflow.com/users/2291642, https://stackoverflow.com/users/4640346, https://stackoverflow.com/users/8833311 | English | Spoken | 380 | 689 | How to calculate robust standard errors in stargazer for plm (pooling) model in R?
I have several regression models using plm and pooling. My data is a pooled cross sectional / time series data, with data on bond issuances. The data consists of observations of around 2000 bond issuances, with around 25 bond-descriptive variables.
I want to calculate the robust standard errors for one or all of the regression models, in order to add it in my stargazer visualization. My regressions are as follows:
#Regression
primaryreg4 <- plm(issueyield ~ issuer + exchange + yearmonth + maturity.cat + size.cat + coupontype,
data = data,
index = c("ID", "issuedate"),
model = "pooling")
All the variables are fixed effects (FE), so they are dummy variables. I want to calculate the robust standard errors of this model, and add it to stargazer. The code I have tried in order to calculate the standard errors is:
cov.r4 <- vcovHC(primaryreg4, type = "HC3")
robust_se_r4 <- sqrt(diag(cov.r4))
# or (it is the same)
robust_se_r4 <- sqrt(diag(vcovHC(primaryreg4, type = "HC3")))
I would then specify the standard errors in stargazer to be robust_se_r. However, i get this error message:
Error: cannot allocate vector of size 15.8 Gb
Does anyone know how to solve this? I understand that it is a memory problem, but the file really should not be too big - my data is about 2000 observations of 25 variables (not too big!).
Can you make the data available somewhere? Or provide a self-contained reproducible example?
Your code is running on minimal panel data:
library("plm")
data("Produc", package = "plm")
# Regression
model <- plm(log(gsp) ~ log(pcap) + log(pc) + log(emp) + unemp,
data = Produc,
index = c("state","year"),
method="pooling")
# Robust Standard Errors
robust_se <- sqrt(diag(vcovHC(model, type = "HC3")))
Can you describe your variable more in detail? What categories does maturity and size have? Try glimpse from dplyr to check the data type and format of each variable.
I think his question was how to print robust standard errors for a Latex table using stargazer (or texreg). If there is a quick way to do so for multiple regressions in the same table, I would be very happy to know as well.
Hi Bob, I added RSE in this post https://stackoverflow.com/questions/58923112/robust-standard-errors-in-lm-using-stargazer There is an se option in stargazer
| 35,598 |
https://id.wikipedia.org/wiki/Diadelia%20x-fasciata | Wikipedia | Open Web | CC-By-SA | 2,023 | Diadelia x-fasciata | https://id.wikipedia.org/w/index.php?title=Diadelia x-fasciata&action=history | Indonesian | Spoken | 59 | 144 | Diadelia x-fasciata adalah spesies kumbang tanduk panjang yang tergolong famili Cerambycidae. Spesies ini juga merupakan bagian dari genus Diadelia, ordo Coleoptera, kelas Insecta, filum Arthropoda, dan kingdom Animalia.
Larva kumbang ini biasanya mengebor ke dalam kayu dan dapat menyebabkan kerusakan pada batang kayu hidup atau kayu yang telah ditebang.
Referensi
TITAN: Cerambycidae database. Tavakilian G., 25 Mei 2009.
Diadelia | 11,340 |
https://stackoverflow.com/questions/53185823 | StackExchange | Open Web | CC-By-SA | 2,018 | Stack Exchange | https://stackoverflow.com/users/1567428, nasty | English | Spoken | 204 | 315 | Redirect domain and sub pages with 301 to new domain
I want to redirect test777.website.com and all the pages inside it such as test77.website.com/blog and test777.website.com/contact-us to website.com with 301 redirects.
I tried to do it with HTACCESS but wasnt successful. Can you please tell me the proper way to do this so google knows its not a 500 or 404 but a 301. Thanks
This should be what you are looking for:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^test777\.example\.com$
RewriteRule ^(.*)$ https://example.com/$1 [R=301]
And a general hint: you should always prefer to place such rules into the http servers host configuration instead of relying on dynamic configuration files (".htaccess"). Reason is that those files are notoriously error prone, hard to debug and they really slow down the server, often for nothing. The mechanism to use such files is only provided as a last option for situations where you do not have control over the host configuration (read: really cheap hosting providers) and for applications that insist on writing their own redirection rules (which is an obvious security nightmare...).
OMG thanks so much. It works perfectly well. And it recirect to the proper page as well which is something I thought was not possible. MMmmmah mmmah!
| 4,149 |
https://physics.stackexchange.com/questions/333307 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | Bob Bee, John Rennie, Stéphane Rollandin, https://physics.stackexchange.com/users/108333, https://physics.stackexchange.com/users/109928, https://physics.stackexchange.com/users/1325 | English | Spoken | 950 | 1,225 | Given the conclusions of special relativity, why do we perceive and interact with time in such a different manner than space?
I'm having a hard time figuring out how to properly phrase this question so bare with me, but I am trying to understand the apparent differences between space and time in the context of special relativity. The theory points towards a fundamental symmetry between the two, and demonstrates this in some very beautiful ways, but I cannot seem to escape the fact that time and space are two very different things. My primary concern is this:
I am able to conceive of (and indeed observe) two events happening at the same time in different spacial locations. I can - in other words - "see" a domain of space, a range if you will. I can see what is in front of me, to the left of me, etc... And yet, I am unable to "see" into the future or the past in such a direct manner... Now I am aware that this is the kind of topic in which intuition and experience can often get in the way and trick me. I am fully prepared to accept that my experiences are distorted and wrong, but is there some physical explanation for why we experience time so differently than space? Why is it that I can move through space in any direction I want but have no control over how I move through time (except implicitly by my motion through space).
Why do we seem to be free to travel about space however we please but all are constrained to follow the arrow of time together? Reading about simultaneity, they speak of events occurring at the same time in different places, or how one event will occur sooner than the other in a different frame of reference. I am totally fine with this. But if time and space are so symmetric, should there not be an equivalent argument for events seperated in time but seeming to occur in different places in different frames?
If space and time are to be treated on the same footing, then why are there such clear differences between the two? Why does time appear only to flow in one direction? Why is there no equaivalent principle of simultaneity for space as there is for time? (or is there?) If the two are equivalent, why are they so different?!
I think this is covered by What is time, does it flow, and if so what defines its direction? though I won't vote to close unless you agree. If you have questions that aren't addressed by the duplicate I've suggested perhaps you could edit your question to highlight them.
The core of your question is the "problem of the now". See http://www.npr.org/sections/13.7/2016/09/27/495608371/now-and-the-physics-of-time for example...
See also https://plato.stanford.edu/entries/spacetime-bebecome/
The key relevant asymmetry built into SR is that worldlines are required to be timelike. This means, for example, that it's possible (in a given coordinate system) for you to be in one place at many different times, but not possible for you to be in many different places at one time. This accounts for a substantial chunk of what you're asking about.
Time does not "flow in one direction" because time does not flow. If you think of Minkowski space $M$ as a Lorentzian manifold with a choice of time orientation, and if you reverse that time orientation, you get a different Lorentzian-manifold-with-time-orientation that is isomorphic to $M$. This means, in effect, that the only difference (at least according to SR) between the past and the future is that we've arbitrarily chosen one of them to call "the past" and one to call "the future".
It happens to be the case that we live in a Universe where there was a Big Bang, i.e. a moment of very low entropy, and that we use the phrase "toward the future" to mean "away from the Big Bang" or, pretty much equivalently, "in the direction of increasing entropy". So there is an asymmetry there that you wouldn't know about from SR alone, but surely plays into what you're asking about.
As for the rest of the stuff about our sensations --- why we perceive a flow of time, etc, etc --- I think that you might as well ask why we perceive the colors red and green as we do instead of the opposite way around. The answers (if any) must depend on the detailed structure of the way our brains work, and this is a question for the biologists and psychologists, not for the physicists.
A qualification to point 4: On the other hand, there are several levels at which you can ask "why". One could interpret parts of your question as "Why does evolution select for creatures who have the perceptions about time that we do?". This, at least, has a better chance of an being answerable than "Why does evolution select for creatures who perceive red and green the way we do, rather than the other way round?". It's still looks like more of a biology question than a physics questions, though.
Your 1 just really says you can't travel faster than a certain speed c. And neither can anything else. Thus, there is causality, with later depending on earlier and how fast. That is basically no difference than 2, which is admittedly a statement and no explanation and no justification, and basically a non scientific statement. 3 is just one theory about the arrow of time, with no more backing than others. 4 and 5 are clearly just non physics related, and not very critically informative or useful. Perhaps you should admit you don't know the answer.
| 41,431 |
https://ja.wikipedia.org/wiki/%E7%94%9F%E6%B1%9F%E5%AD%9D%E4%B9%8B | Wikipedia | Open Web | CC-By-SA | 2,023 | 生江孝之 | https://ja.wikipedia.org/w/index.php?title=生江孝之&action=history | Japanese | Spoken | 31 | 1,015 | 生江 孝之(なまえ たかゆき、1867年12月7日(慶応3年11月12日) - 1957年(昭和32年)7月31日)は、日本の社会事業家、宗教家(牧師)、大学教授(社会福祉学者)。吉田久一・一番ヶ瀬康子著『昭和社会事業史への証言』(ドメス出版 1982年)において「日本社会事業の父」と称されたとの記述がある。
経歴
仙台藩士生江元善の子。陸奥国仙台(現・宮城県仙台市)出身。東京英和学校(現:青山学院)を経て北海道にて、伝道を行い、青山学院神学部卒業後、1900年渡米、ボストン大学で神学社会学を修める。
欧米の社会事業論からの影響を受けて、1909年(明治42年)より内務省社会局嘱託に就任、社会立法の成立や現場の指導に幅広く従事した。社会局嘱託を持した1923年(大正12年)、『社会事業綱要』を著し、その中で、貧困を自然貧、個人貧、社会貧に区分し、社会貧として生存の最低標準である狭義の絶対貧と広義の時代的社会貧を規定した。このような生江の貧困者の捉え方は、当時の社会事業界で最も先駆的なものであった。東京キリスト教青年会理事、東京府社会事業協会理事などを務め、1918年日本女子大学教授となった。1931年(昭和6年)には、『日本基督教社会事業史』を著し、社会連帯責任の観念の重要性を強調し、「社会連帯責任とは片務的にあらずして相互責任であり、相互努力であることを忘れてはならない」ことを主張した。
なお、彼は青山学院在学中には山室軍平との出会いを経験している。1943年から1945年にかけて青山学院理事長として軍部の教育方針と敵対した。戦後は、社会福祉法人「敬愛会」などの設立に高橋直作らと共に奔走した。同志社大学今出川図書館には、孝之の蔵書2700冊を戦後本人が寄贈し出来た「生江文庫」がある。。元日本福祉大学教授生江明は孝之の孫である。
著作等
『農村経営と自治』六盟館、1911年、100頁。
『社会事業綱要』巌松堂書店、1923年、511頁。
『日本基督教社会事業史』教文館出版部、1931年、311頁。など。
脚注
参考文献
小笠原宏樹著『生江孝之』(シリーズ福祉に生きる29)大空社, 1999年11月刊行 ISBN 4756809081
『生江文庫目録』同志社大学図書館、2003年刊行
日本の社会福祉学者
日本のプロテスタントの信者
日本女子大学の教員
YMCAの人物
青山学院神学部出身の人物
ボストン大学出身の人物
幕末仙台藩の人物
仙台市出身の人物
1867年生
1957年没 | 35,371 |
https://stackoverflow.com/questions/21802246 | StackExchange | Open Web | CC-By-SA | 2,014 | Stack Exchange | Andrey Nelubin, Dave Merwin, https://stackoverflow.com/users/1420159, https://stackoverflow.com/users/198019 | English | Spoken | 353 | 655 | Writing a query to see if a child exists in a different table and showing that existence in the template
I have a simple app that creates a Log entry for that day for each Child of a Parent when something happens to the Child.
So, for example, a Parent contains three Children.
Each time a Child is interacted with, I create an entry in the Log table to log the action. The Log is organized by day. So I could have 3 entries for three Children on Tuesday and 4 entries for the same three Children on Wednesday.
I want to write a query that checks to see if the Child exists in the Log for that day. So when the page loads, or is refreshed, I set a template variable that indicates that it does exist on the log.
I've been thinking that the following query will sort out what I need. But I'm having a hard time figuring out the missing parts.
Models:
class Child(models.Model):
description = models.TextField()
class Log(models.Model):
child = models.ForeignKey(Child, related_name="child_log")
day = models.DateField(auto_now_add=True, editable=False)
class Parent(models.Model):
parent_children = models.ManyToManyField(Child, blank=True, null=True)
Queryset:
today = date.today()
children = Child.objects.filter(parent=parent.id) <= parent.id comes from request kwargs
child_list = Child.objects.filter(id__contains=children.id)
does_exist = Log.objects.filter(child=child_list.id).filter(day=today)
But then I want to add that does_exist status to each Child in the template. That way I can show a different state if the Child has been logged or not.
Think of it like a todo list with todo items that can be done repeatedly in a day. If it's been done in a day, we need to show that it has been done. If it hasn't, then we can show that it hasn't.
I hope that is clear enough. Any suggestions are welcome.
Is there any relations in models? Show your models
I added in the example models
Hm... If I understand correctly, try this
{% for child in childs %}
{% if child.child_log.today.exists %}
#do your staff
...
And write manager to Log:
class LogManager(models.Manager)
def today(self)
return self.get_query_set().filter(day=datetime.datetime.today())
...
class Log(models.Model):
child = models.ForeignKey(Child, related_name="child_log")
day = models.DateField(auto_now_add=True, editable=False)
objects = LogManager()
| 50,592 |
https://travel.stackexchange.com/questions/86393 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | English | Spoken | 252 | 370 | Visa requirements when connecting through Russia on separate tickets?
Similar questions have been asked, but couldn't find the information for Vladivostok, specifically.
I'm trying to find the cheapest way to get from Seoul to Barcelona during a very busy time of the year.
I found relatively cheap return tickets from Seoul to Vladivostok. I also found a cheap return ticket from Vladivostok to Barcelona.
Is it possible to transit from one flight to the other without having to go through customs? That is, without Russian visa?
I will have carry-on luggage only.
If not possible through Vladivostok, I could do the same through Beijing, but it will be a bit more expensive and the flight hours are less interesting. And more risky as time between flights is shorter, and I assume I won't be protected if any delay occurs.
Timatic has the following to say on Russian transit:
Transiting without a visa is possible for:
Holders of onward tickets for a max. transit time of 24 hours.
TWOV is not applicable if the airport of arrival is different from the airport of departure within the same Russian city.
There are no transit facilities available at Khabarovsk (KHV), Krasnodar (KRR), Mineralnye Vody (MRV), Rostov-on-Don (ROV), Sochi (AER), Vladivostok (VVO) and Yuzhno Sakhalinsk (UUS). Passengers are required to clear Immigration and Customs.
Therefore you will need a visa for a transit in Vladivostok. Transiting other airports (such as Moscow or St. Petersburg) should be fine however, as long as it's less than 24 hours.
| 14,272 | |
https://mg.wikipedia.org/wiki/Center%2C%20North%20Dakota | Wikipedia | Open Web | CC-By-SA | 2,023 | Center, North Dakota | https://mg.wikipedia.org/w/index.php?title=Center, North Dakota&action=history | Malagasy | Spoken | 48 | 144 | Center, North Dakota dia tanàna ao amin'ny faritany mizaka tenan'i North Dakota, ao Etazonia. Ny kaodim-paositra dia 58530..
Jeografia
Ny laharam-pehintaniny ary ny laharan-jarahasiny dia 47.115 ary -101.300277778.
Ny faritr'ora dia GMT -6.
Jereo koa
Etazonia
North Dakota
Rohy ivelany
Tanàna ao amin'ny faritany mizaka tenan'i North Dakota | 35,214 |
https://sl.wikipedia.org/wiki/Paul%20Verlaine | Wikipedia | Open Web | CC-By-SA | 2,023 | Paul Verlaine | https://sl.wikipedia.org/w/index.php?title=Paul Verlaine&action=history | Slovenian | Spoken | 251 | 631 | Paul Verlaine (verlén), francoski pesnik, * 30. marec 1844, Metz, † 8. januar 1896, Pariz.
Življenjepis
Paul Verlaine se je rodil leta 1844 v družini častnika. Študiral je pravo, postal uradnik pariškega magistrata in se posvečal književnemu delu. Leta 1870 se poročil, vendar že 1871 zapadel vplivu mladega Rimbauda in z njim odšel v Belgijo in Anglijo. Leta 1873 je Rimbauda v prepiru s streli iz pištole ranil, bil obsojen in zaprt. Po spreobrnitvi h katoličanstvu se je vrnil v Pariz ter živel boemsko do smrti leta 1896.
Dela
Verlaine je izšel iz kroga »parnasovcev« (skupine francoskih pesnikov iz konca 19. stoletja, ki so izdajali almanah Sodobni parnas; bili so nasprotniki romantike in zagovorniki čiste umetnosti), vendar se je kmalu usmeril v osebno izpovedno in razpoloženjsko liriko novoromantičnega tipa. V vsebini in obliki je ostal navezan na romantično izročilo krajše čustvene ali celo sentimentalne pesmi, vendar jo je izpopolnil z estetskimi pridobitvami dekadence in simbolizma. Pomembna je njegova prenovitev verzne muzikalnosti, ki jo je gojil v rahlih, spevnih oblikah, pa tudi impresionistična tehnika njegove razpoloženjske pesmi. S Pesniško umetnostjo (Art poétique, 1884) je programsko utiral pot simbolizmu.
Verlainovo književno delo obsega pesmi, objavljene v zbirkah:
Saturnijske pesmi (Poèmes saturniens, 1866)
Galantna slavja (Fêtes galantes, 1869)
Romance brez besed (Romances sans paroles, 1874)
Modrost (Sagesse, 1881)
Nekoč in nedavno (Jadis et naguère, 1884)
Vzporedno (''Parallèlement, 1889)
Sklici
Glej tudi
seznam francoskih pesnikov
Viri
Veliki splošni leksikon; knjiga 19, DZS, Ljubljana, 2006
Kos, Janko, Pregled svetovne književnosti, DZS, Ljubljana1982
Francoski pesniki
Francoski rimokatoličani | 9,970 |
https://es.wikipedia.org/wiki/Spirkelbach | Wikipedia | Open Web | CC-By-SA | 2,023 | Spirkelbach | https://es.wikipedia.org/w/index.php?title=Spirkelbach&action=history | Spanish | Spoken | 56 | 102 | Spirkelbach es un municipio situado en el distrito de Palatinado Sudoccidental, en el estado federado de Renania-Palatinado (Alemania). Su población estimada a finales de 2016 era de .
Se encuentra ubicado al sur del estado, cerca de la ciudad de Pirmasens y de la frontera con Francia.
Referencias
Enlaces externos
Localidades del distrito de Palatinado Sudoccidental | 15,041 |
https://it.wikipedia.org/wiki/Ndava | Wikipedia | Open Web | CC-By-SA | 2,023 | Ndava | https://it.wikipedia.org/w/index.php?title=Ndava&action=history | Italian | Spoken | 31 | 65 | Ndava è un comune del Burundi situato nella provincia di Mwaro con 57.284 abitanti (censimento 2008).
Geografia antropica
Suddivisioni amministrative
Il comune è suddiviso in 20 colline.
Note
Comuni del Burundi | 28,601 |
https://la.wikipedia.org/wiki/Saint-Jean-de-Ceyrargues | Wikipedia | Open Web | CC-By-SA | 2,023 | Saint-Jean-de-Ceyrargues | https://la.wikipedia.org/w/index.php?title=Saint-Jean-de-Ceyrargues&action=history | Latin | Spoken | 29 | 85 | Saint-Jean-de-Ceyrargues est commune 163 incolarum (anno 2008) praefecturae Vardonis in Franciae australis regione Occitania et Ruscinone.
Index communium praefecturae Vardonis
Nexus externi
Communia praefecturae Gardi
Loci habitati praefecturae Gardi | 8,892 |
https://stats.stackexchange.com/questions/279642 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | Bruno Lubascher, User1291, https://stats.stackexchange.com/users/142315, https://stats.stackexchange.com/users/160223 | English | Spoken | 575 | 738 | CNN with fixed batch size - repeat to fill or reduce batch size?
I'm setting up a CNN that can handle differently-sized examples so long as all examples within the same batch are of the same size.
As a trade-off for this flexibility, I need to fix the batch size. (Only one dimension of the tensor can be dynamic).
In the current implementation, the training examples are split into length-keyed buckets. One iteration then consists of randomly sampling BATCH_SIZE many examples from each bucket and feeding these batches - in turn - through the network.
I am unsure, however, what I should do if I don't have enough samples of a certain length to fill that batch with distinct examples. Say, I may have 55'000 examples but only 7 of length 2 when the batch size is 50.
Should I drop lengths for which I don't have "enough" examples?
Should I just keep sampling from however many examples I have until I have a full batch (obviously repeating some examples)?
Pre-process the input examples and choose smallest possible batch size (at risk of that turning out to be 1)?
Or something else entirely?
I'm currently leaning towards "just keep sampling until the batch is full" because we're losing information otherwise.
However, I am also worried that this might skew the network somehow.
Somehow, I say, because I quite simply don't know and am ill-equipped to make an educated guess.
Are these concerns founded?
Without knowing what kind of data you have, I would suggest that you try zero padding your input data.
In this way, all your examples have the same size and your network is more robust to the different sizes of inputs, even to those that you do not have any training examples for.
In that case, you would fix your input size to the largest training example you have (or a larger number if you know that your data could come in a larger format). With this, you would be able to vary your batch size.
It's a classifier, classifying differently-sized vectors of integers.
And your suggestion kind of defeats the purpose of having a network capable of taking differently-sized inputs.
and those integers are raw readings? Or are they processed from somewhere?
Tokenised (English) sentences (each word assigned its own number).
Then I would suggest that you do not map any word to 0. Start mapping from 1. Then see the largest size of your input (for example 20). Then all your input could have that size. If your input has length 2, then the first two integers are the two words and the other 18 are 0. I know it seems like you are limiting variability of your input but this works. Then only limiting factor is the maximum size of your input.
Common methods like tf-idf use sparse inputs with 0's and it is one of the best features for text classification around. Hint: use tf-idf instead of your integers.
I do appreciate the suggestion. However, the word->integer mapping is not up to me and afaik, 0 is one of the values mapped. Also, learning the word embeddings is part of the network and - again afaik - tensorflow simply takes the mod of the integers and appends the correspondingly indexed word vector to the sentence representation. Padded values would just result in one word embedding vector being used to "pad" the sentence representation, which isn't sparse at all.
| 9,653 |
https://stackoverflow.com/questions/64810282 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | Curiosa Globunznik, https://stackoverflow.com/users/1428369 | English | Spoken | 295 | 734 | Sort .txt data in a special way in java
I have a .txt file that i wanna sort that looks like this :
GENEBOI INC COM 15893X590 46,741 174,700 SH DFND 4,11 174,700 0 0
DCHATRA RESTAURATION GROUP INC N CL A 14771P827 2,659,074 5,213,461 SH DFND 4,8,11 5,213,461 0 0
FROLAKATZ CO COM 107393852 35,744 800,000 SH DFND 4 800,000 0 0
I want to sort every line where the second number in each line is the only important thing for the sort algorithm. I wanna sort them from the highest (e.g. 2,659,074) to the lowest(e.g. 35,744). The important part is that every line's content should not get edited or mixed up with other lines.
So the result should look like this:
DCHATRA RESTAURATION GROUP INC N CL A 14771P827 2,659,074 5,213,461 SH DFND 4,8,11 5,213,461 0 0
GENEBOI INC COM 15893X590 46,741 174,700 SH DFND 4,11 174,700 0 0
FROLAKATZ CO COM 107393852 35,744 800,000 SH DFND 4 800,000 0 0
well, that breaks down to reading a file into a List and then apply a custom sort on it.
and perhaps writing it back to a file.
Assuming tab-delimited records, it would be something like this:
public static void main(String[] args) throws Exception {
if (args.length < 2) {
System.out.println("Missing input and output filenames.");
return;
}
List<String> lines = Files.readAllLines(Path.of(args[0]), StandardCharsets.UTF_8);
NumberFormat nf = NumberFormat.getInstance();
Collections.sort(lines, new Comparator<String>() {
@Override
public int compare(String o1, String o2) {
String[] f1 = o1.split("\t");
String[] f2 = o2.split("\t");
if (f1.length >= 3 && f2.length >= 3) {
try {
Number n1 = nf.parse(f1[2]);
Number n2 = nf.parse(f2[2]);
return Long.compare(n2.longValue(), n1.longValue());
} catch (ParseException ex) {
// ignored
}
}
return 0;
}
});
Files.write(Path.of(args[1]), lines, StandardCharsets.UTF_8,
StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING);
}
run with <input_file> <output_file> as arguments.
| 14,797 |
https://de.wikipedia.org/wiki/Melothria | Wikipedia | Open Web | CC-By-SA | 2,023 | Melothria | https://de.wikipedia.org/w/index.php?title=Melothria&action=history | German | Spoken | 485 | 1,054 | Melothria ist eine Pflanzengattung innerhalb der Familie der Kürbisgewächse (Cucurbitaceae), die vorwiegend in den Tropen der Neuen Welt beheimatet ist.
Merkmale
Die Vertreter sind kleine einjährige Kletterpflanzen. Sie sind einhäusig. Ein Vorblatt wird nicht gebildet, die Ranken sind einfach und kahl. Die Blätter sind einfach, ganz oder gelappt, die Nervatur ist handförmig.
Die Blüten sind mit einem Durchmesser von fünf bis selten acht Millimeter klein und gelb. Die Kelchblätter sind sehr klein und schmal. Die Kronblätter sind frei, oval-elliptisch und in der Knospe valvat. Die Blütenröhre ist glockenförmig.
Die männlichen Blütenstände sind schlanke gestielte Trauben mit engstehenden Blüten. Meist entspringt am gleichen Knoten wie der männliche Blütenstand eine weibliche Blüte. Hochblätter fehlen. Die männliche Blüte hat einen rund fünf Millimeter langen schlanken Stiel, der nicht abfällt. Die drei Staubblätter setzen rund ein Drittel unterhalb des Schlunds der Blütenröhre an. Die Staubfäden sind kürzer als die Antheren, schlank und setzen dorsifix nahe der Spitze an den Antheren an. Von den Antheren sind zwei bithekisch, eine unithekisch. Der Diskus in der männlichen Blüte ist annähernd kugelig.
Die weiblichen Blüten stehen einzeln oder gemeinsam mit einer männlichen Traube in den Blattachseln. Selten steht eine einzelne weibliche Blüte in einer ansonsten männlichen Blütentraube. Der Blütenstiel ist lang. Der Fruchtknoten ist schmal-eiförmig, mit einem schlanken Hals und kahl. Die Narbe besteht aus drei aufrechten, fleischigen, papillösen Narben. Die Staminodien sind sehr klein. Der Diskus ist ringförmig. Es werden zahlreiche Früchte (Beere) pro Pflanze gebildet, die an einem langen, schlanken Fruchtstiel stehen, von schmal-ellipsoider Form und ein bis 1,5 Zentimeter lang sind. Die vom Aussehen her an kleine Wassermelonen erinnernden Früchte, schmecken intensiv nach Gurke mit leicht säuerlichem Beigeschmack. Die zahlreichen Samen sind flach und oval-elliptisch.
Verbreitung
Die Gattung ist im tropischen Zentral- und Südamerika beheimatet. Melothria pendula wurde in Asien eingebürgert und gilt dort als Unkraut.
Systematik
Die Gattung Melothria wurde durch Carl von Linné aufgestellt.
Die Gattung wird innerhalb der Kürbisgewächse in die Unterfamilie Cucurbitoideae, Tribus Benincaseae, Subtribus Cucumerinae gestellt. Sie ist das Schwestertaxon der Gattung Posadaea. Zusammen mit Melancium bilden sie die basalste Klade innerhalb der Tribus Benincaseae.
Es gibt etwa zwölf Arten. Charles Jeffrey führt 1978 nur folgende Arten an:
Melothria anatuyana : Sie wird von manchen Autoren auch als Apodanthera anatuyana zur Gattung Apodanthera gestellt.
Melothria candolleana
Melothria cucumis
Melothria dulcis : Sie kommt in Nicaragua, Panama, Ecuador, Peru und Brasilien vor.
Melothria domingensis
Melothria longituba
Melothria pendula : Sie kommt ursprünglich in den Vereinigten Staaten, in Mexiko, Mittelamerika, auf den Inseln der Karibik und in Südamerika vor.
Melothria pringlei
Melothria scabra (= Melothria costensis bei Jeffrey)
Melothria schulziana
Melothria trilobata : Sie kommt in Mexiko, Guatemala, Belize, Honduras, Panama, Kolumbien, Trinidad und Tobago, Suriname, Venezuela und in Brasilien vor.
Melothria warmingii
Literatur
W.J.J.O. de Wilde, B.E.E. Duyfjes: Redefinition of Zehneria and four new related genera (Cucurbitaceae), with an enumeration of the Australasian and Pacific species. Blumea, Band 51, 2006, S. 1–88.
Einzelnachweise
Weblinks
Kürbisgewächse
Cucurbitaceae | 17,224 |
https://ka.wikipedia.org/wiki/%E1%83%90%E1%83%A3%E1%83%92%E1%83%A3%E1%83%A1%E1%83%A2%E1%83%9D%20%E1%83%9A%E1%83%94%E1%83%92%E1%83%98%E1%83%90 | Wikipedia | Open Web | CC-By-SA | 2,023 | აუგუსტო ლეგია | https://ka.wikipedia.org/w/index.php?title=აუგუსტო ლეგია&action=history | Georgian | Spoken | 162 | 548 | აუგუსტო ლეგია (; დ. 19 თებერვალი, 1863, პერუ — გ. 7 თებერვალი, 1932, ლიმა, პერუ) — პერუელი პოლიტიკური და სამხედრო მოღვაწე. ორჯერ ეკავა პერუს პრეზიდენტის თანამდებობა 1908–1912 და 1919–1931 წწ.
ბიოგრაფია
დაიბადა პერუს ერთ-ერთ გავლენიანი ოლიგარქის ოჯახში, განათლება მიიღო ვალპარაისოში, ჩილე. მსახურობდა პერუს არმიაში ჩილესთან ომის დროს.
ლიტერატურა
Basadre, Jorge: Historia de la República del Perú. 1822 - 1933, Octava Edición, corregida y aumentada. Tomo 2. Editada por el Diario "La República" de Lima y la Universidad "Ricardo Palma". Impreso en Santiago de Chile, 1998.
Chirinos Soto, Enrique: Historia de la República (1821-1930). Tomo I. Lima, AFA Editores Importadores S.A, 1985.
Tauro del Pino, Alberto: Enciclopedia Ilustrada del Perú. Tercera Edición. Tomo 11. MEN-OJE. Lima, PEISA, 2001. ISBN 9972-40-160-9
Vargas Ugarte, Rubén: Historia General del Perú. Octavo y Noveno Tomo. Primera Edición. Editor Carlos Milla Batres. Lima, Perú, 1971.
Varios autores: Historia del Perú. Lima, Lexus Editores, 2000. ISBN 9972-625-35-4
პერუს პრეზიდენტები
დაბადებული 19 თებერვალი
დაბადებული 1863
გარდაცვლილი 7 თებერვალი
გარდაცვლილი 1932 | 12,157 |
https://ru.wikipedia.org/wiki/%D0%91%D0%B5%D0%BD-%D0%99%D0%B5%D0%B3%D1%83%D0%B4%D0%B0%2C%20%D0%9D%D0%B0%D1%82%D0%B8%D0%B2%D0%B0 | Wikipedia | Open Web | CC-By-SA | 2,023 | Бен-Йегуда, Натива | https://ru.wikipedia.org/w/index.php?title=Бен-Йегуда, Натива&action=history | Russian | Spoken | 860 | 2,380 | Натива Бен-Иегуда (; , — , ) — боец Пальмаха, писатель, радиоведущая и один из составителей словаря сленга иврита. Внесла важный вклад в сохранение песенного наследия на иврите, особенно той его части, которая развивалась в годы, предшествовавшие созданию государства Израиль.
Биография
Натива Бен-Иегуда была третьей дочерью Яфы Туркенич, которая приехала в Палестину в 1905 году вместе с родителями Геулой и Аароном Туркеничами из города Ковеля, что на Волыни, и доктора Баруха Бен-Иегуды, директора гимназии «Герцлия» в Тель-Авиве, и был известен горожанам как человек интеллигентный, серьезный и дотошный. Натива училась в гимназии, а позже окончила курс в Еврейском университете, где изучала иврит и философию. Одновременно она изучала искусство в академии Бецалель. Была спортсменкой, и до начала войны за Независимость занималась метанием молота и метанием копья, готовясь принять участие в Олимпийских играх 1948 года. Однако война изменила все планы, и она пошла добровольцем в бригаду «Ифтах» Пальмаха, где служила офицером инженерных войск, и, между прочим, была единственным среди бойцов, оборонявших Цфат, кто мог управляться с минометом «Давидка». Уже тогда она сделалась известной среди бойцов и получила прозвище «боевая блондинка». В интервью газете «Маарив» она утверждала, что это прозвище, которое она считала оскорбительным, дал ей Игаль Алон. После создания государства Израиль работала пресс-секретарем в Министерстве труда.
Характер, взгляды и высказывания
Бен-Иегуда была известна своим острым языком и непреклонным характером. Она являлась одним из самых ярких представителей поколения 1948 года. В ней соединились широкая образованность, чувство юмора и откровенное поведение. Так в 1992 году, во время шедшей в прямом эфире телевизионной передачи Дана Бен-Амоца она покинула студию в знак протеста против высказывания журналиста Габи Газита: «Я переспал с половиной Пальмаха, и если бы я не был таким уродливым, я бы переспал и с другой его половиной».
Её отношение к феминизму было своеобразным. "Я не могу объединяться с другими женщинами против дискриминации, я всю жизнь использовала феминизм в своих интересах… Когда я чувствую, что обделена именно по половому признаку, я не молчу. Когда мне не дали положенной должности, я крикнула своему начальнику: « Что? Тебе не нравятся мои половые органы?»
В 1991 в интервью Габи Газиту Бен-Йехуда сказала, что нет никакой рациональной причины, принимать душ более одного-двух раз в месяц. Это заявление вызвало бурю возмущения среди жителей страны, и министерство здравоохранения даже распространило специальный пресс-релиз, в котором говорилось, что госпожа Бен-Йегуда распространяет вредные для здоровья привычки, что может оправдано только тем, что она жила во времена Пальмаха и войны за Независимость, когда солдатам приходилось жить в тяжелых условиях в военных лагерях. Когда Бен-Йегуда встретилась с Габи Газитом в следующем интервью и когда буря, вызванная её словами утихла, она сказала: «Поверь мне, я мою руки гораздо чаще, чем наш министр здравоохранения».
Признание
В 1993 получила премию премьер-министра в области искусства и культуры. В 1998, стала одним из трех лауреатов премии имени Ицхака Саде за литературу об армии. В 2004 она была удостоена звания «Любимец Иерусалима». После успеха радиошоу Бен-Йегуды поэт-песенник Дуду Барак написал песню «Натива», которую исполнила певица Ронит Офир. В январе 2013 года в издательстве «Кетер» вышла в свет нига «Тетради Нативы: Натива Бен-Иегуда и её война с ивритской полицией», в которой содержится её лингвистическое наследие и обширная переписка с читателями.
Нетива Бен-Иегуда вышла замуж в 1950 за профессора Пинхаса Авиви (1921—2015). Они развелись в 1964. В 1953 у них родилась дочь Амаль.
Натива Бен-Иегуда умерла в 2011, в возрасте 82 лет, в кибуце Лохамей-ха-Гетаот, и была похоронена на кладбище поселения Клиль.
Писатель, составитель словарей и радиоведущая
Натива Бен-Йегуда — автор более 20 книг, посвященных языку иврит, краеведению, а также по истории песни на иврите. Вместе с Даном Бен-Амоцом она написала «Всемирный словарь разговорного иврита», словарь ивритского сленга, который вышел в свет в 1972 году. Свое воинственно-нежное отношение к сленгу она объясняла, в частности, противодействием своему строгому отцу, который всегда настаивал на том, что говорить следует только на «правильном» иврите.
В 1980, когда Нативе Бен-Иегуде было 52 года, врачи поставили ей диагноз опухоль мозга и сказали, что жить ей осталось год. Узнав об этом, она бросила работу, чтобы посвятить все оставшееся ей время написанию воспоминаний о днях войны за Независимость. В конце года её автобиографическая книга «1948 — (между сфер) — 1980». Выводы врачей и плохие прогнозы, к счастью, не оправдались, однако Натива Бен-Иегуда решила не возвращаться на работу и продолжала писать. Она опубликовала ещё две книги воспоминаний. В последующие годы она выпустила вторую часть «Всемирного словаря разговорного иврита», а также много других книг. По мотивам её книги «Автобиография в песне и мелодии», которая была опубликована в 1990 году, продюсер Гиль Алдема на радиостанция Коль Исраэль создал радиопрограмму о старых песнях и певцах времен начала становления государства.
В 1995 — 2009 годах Нетива Бен-Иегуда вела ночную радиопередачу «Нетива говорит и слушает». Передача представляла собой соединение беседы со слушателями с легендарными старыми песнями времен становления еврейского государства. Она просила слушателей, звонивших в эфир, говорить только о позитивных вещах, что отличало её программу от большинства других подобных передач. Программа Нетивы выходила в эфир в среду вечером и завоевала огромный успех. В первые пять лет вместе с ней эту передачу вел Изи Ман, который одновременно был и музыкальным редактором.
Библиография
Посмертное издание
Ссылки
Fighting Under the Israeli Flag Натива Бен-Иегуда рассказывает
Примечания
Писатели по алфавиту
Писатели на иврите
Писательницы Израиля
Писатели XX века
Писатели XXI века
Бойцы «Пальмаха» | 19,783 |
https://fr.wikipedia.org/wiki/Henok%20Mulubrhan | Wikipedia | Open Web | CC-By-SA | 2,023 | Henok Mulubrhan | https://fr.wikipedia.org/w/index.php?title=Henok Mulubrhan&action=history | French | Spoken | 492 | 899 | Henok Mulubrhan, né le à Asmara, est un coureur cycliste érythréen.
Biographie
Originaire d'Asmara, Henok Mulubrhan commence le cyclisme par le VTT. Il participe à ses premières compétitions en 2014.
En 2016, il représente son pays lors du championnat du monde juniors de Doha. Lors de la saison 2018, il se révèle à dix-huit ans en réalisant cinq tops 10 sur la Tropicale Amissa Bongo. Il remporte ensuite une étape du Tour de l'Espoir, et devient champion d'Érythrée et vice-champion d'Afrique dans la catégorie espoirs (moins de 23 ans). Au mois de juillet, il intègre l'équipe du Centre mondial du cyclisme, qui aide les coureurs des pays sous-équipés.
En 2020 et 2021, il est membre de l'équipe réserve de la formation World Tour Team NTT.
En 2022, il décroche un contrat avec l'équipe World Tour Qhubeka, cependant, l'équipe sud-africaine est dissoute à l'issue de la saison 2021, rendant invalide le document de travail signé. Il rejoint finalement l'équipe continentale allemande Bike Aid, avec qui, il se classe cinquième du Tour du Rwanda. En mars 2022, à Charm el-Cheikh, en Égypte, il devient champion d'Afrique sur route pour la course en ligne et du contre-la-montre par équipes. Il est également médaillé d'argent du championnat d'Afrique du contre-la-montre. Dans le but de participer au Tour d'Italie, il quitte cependant la formation allemande dès le 31 mars. Le 22 avril, il rejoint l'UCI ProTeam italienne Bardiani CSF Faizanè. Cependant, comme au sein de l'équipe Bike Aid, il ne faisait pas partie du programme ADAMS (le système d'administration et de gestion antidopage), qui est obligatoire pour participer aux courses du World Tour, il ne peut être au départ du Tour d'Italie en mai 2022.
En février 2023, il reconduit son titre de champion d'Afrique sur route pour la course en ligne à Accra, au Ghana. En juillet 2023, il prend part au Tour du lac Qinghai en Chine, course de huit étapes reprise en UCI ProSeries 2023. Il gagne la étape et remporte le classement général avec le même temps que le deuxième classé, l'Uruguayen Eric Fagúndez.
Palmarès
2018
Champion d'Érythrée sur route espoirs
du Tour de l'Espoir
Africa Cup (contre-la-montre par équipes)
Médaillé d'argent du championnat d'Afrique sur route espoirs
2019
Champion d'Afrique sur route espoirs
du Tour de Berne
2020
du Grand Prix de la ville d'Empoli
2021
du Giro del Medio Brenta
2022
Champion d'Afrique sur route
Champion d'Afrique du contre-la-montre par équipes (avec Aklilu Gebrehiwet, Mikiel Habtom et Dawit Yemane)
Médaillé d'argent du championnat d'Afrique du contre-la-montre
2023
Champion d'Afrique sur route
Tour du Rwanda :
Classement général
et étapes
Tour du lac Qinghai :
Classement général
Médaillé d'argent du championnat d'Afrique du contre-la-montre par équipes
Médaillé de bronze du championnat d'Afrique du contre-la-montre
du Tour des Apennins
Résultats sur les grands tours
Tour d'Italie
1 participation
2023 :
Classements mondiaux
Notes et références
Liens externes
Coureur cycliste érythréen
Naissance en novembre 1999
Naissance à Asmara
Champion d'Afrique de cyclisme sur route | 24,574 |
https://ceb.wikipedia.org/wiki/R%C3%ADo%20Cafre%20%28suba%2C%20lat%203%2C28%2C%20long%20-74%2C15%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Río Cafre (suba, lat 3,28, long -74,15) | https://ceb.wikipedia.org/w/index.php?title=Río Cafre (suba, lat 3,28, long -74,15)&action=history | Cebuano | Spoken | 68 | 111 | Alang sa ubang mga dapit sa mao gihapon nga ngalan, tan-awa ang Río Cafre.
Suba ang Río Cafre sa Kolombiya. Nahimutang ni sa departamento sa Departamento del Meta, sa sentro nga bahin sa nasod, km sa habagatan sa Bogotá ang ulohan sa nasod. Ang Río Cafre mao ang bahin sa tubig-saluran sa Río Orinoco.
Ang mga gi basihan niini
Río Orinoco tubig-saluran
Mga suba sa Departamento del Meta | 42,515 |
https://sv.wikipedia.org/wiki/Rupert%20Waterhouse | Wikipedia | Open Web | CC-By-SA | 2,023 | Rupert Waterhouse | https://sv.wikipedia.org/w/index.php?title=Rupert Waterhouse&action=history | Swedish | Spoken | 91 | 181 | Rupert Waterhouse, född 15 januari 1873 i Sheffield, död 1 september 1958, var en engelsk läkare.
Han tog sin examen 1897 vid St. Bartholomew’s Hospital, flyttade 1901 till Bath där han bland annat var verksam vid Royal United Hospital. Under första världskriget deltog han dels som soldat med North Somerset Yeomanry och som läkare med Royal Medical Army Corps vid bland annat Gallipoli.
Waterhouse har givit namn åt Waterhouse-Friderichsens syndrom (tillsammans med Carl Friderichsen).
Externa länkar
Who named it? - Rupert Waterhouse
Brittiska läkare
Brittiska eponymer
Födda 1873
Avlidna 1958
Män | 16,784 |
https://stackoverflow.com/questions/17282199 | StackExchange | Open Web | CC-By-SA | 2,013 | Stack Exchange | John Fisher, https://stackoverflow.com/users/50358, https://stackoverflow.com/users/65387, mpen | English | Spoken | 216 | 336 | How to force a merge with an ancestor?
I branched off changeset "A". Later, "A" was merged into default. Then it was decided that "A" was not ready to go live, so someone hg revert -a'd it to an older revision and pushed that. Now I'm trying to merge default into my branch, but because those changes were reverted, they're all being ripped out of my branch.
I want to force a re-merge with "A" so that I can get all those changes back. How can I do that?
Update: I just tried backing out the changeset that undoing "A" was made on. It looks like this gave me all my code changes back.
It looks like you solved your problem already. I was going to point you to http://hgbook.red-bean.com/read/finding-and-fixing-mistakes.html and then mention that you try to "hg revert" the commit that previously reverted the changes you want back.
Doesn't "revert" revert all the changes made all the way back to that changeset, not just the changeset itself? Whereas backout just undoes the one changeset?
@Mark: That sounds right, but it's hard to see the complete scenario from just the text in your question.
Instead of trying to re-merge "A" you can backout the changeset where "A" was undone on default. e.g.,
hg backout -r <changeset>
| 39,365 |
https://fr.wikipedia.org/wiki/Epeolus | Wikipedia | Open Web | CC-By-SA | 2,023 | Epeolus | https://fr.wikipedia.org/w/index.php?title=Epeolus&action=history | French | Spoken | 27 | 66 | Epeolus est un genre d'abeilles de la famille des Apidae
Liste des espèces
Selon :
Selon :
Notes et références
Liens externes
Apidae
Genre d'Abeilles (nom scientifique) | 35,102 |
https://electronics.stackexchange.com/questions/333805 | StackExchange | Open Web | CC-By-SA | 2,017 | Stack Exchange | Dean Franks, Kyle Hunter, https://electronics.stackexchange.com/users/25461, https://electronics.stackexchange.com/users/92296 | English | Spoken | 453 | 602 | Current loops of PCB design
I have designed a few PCBs, all of which have worked fine. I'm starting to get into some more complex designs, switching power supplies, etc.. I have a few questions related to proper power handling as it relates to current flow and current loops.
For the questions, I am referencing a 2 layer board. Bottom and top layer are GND pours, with very few signal traces on the bottom pour. Using this simple schematic as a reference:
The main supply voltage gets regulated to 5v. Where should the 5v trace connect to the circuit at? I assume at one of the two decoupling caps.
Letting my assuming for number 1 be true, should I take all additional power traces from that point(this schematic doesn't show any other components, but if there was)? Similar to a star ground, but with 5v.
So I know return current wants to flow under the original trace for high frequencies, does that apply for the LED?
When the return current flows from the LED back to the IC GND, which GND pin will it flow to?
You need to put the bypass capacitors as close as possible to the power supply pins on the processor. If you are using an uninterrupted bottom layer ground plane (I assume surface mount given the -au suffix for the atmega328) assume the ground path is on the bottom and put a decent via very close to the ground side of each bypass cap. Ideally there should be a physical flow ground plane -> via -> bypass cap pin -> processor pin, all as short and wide as possible. Power should ideally be run in a star with wide traces but most complex boards end up a little more tree-like.
BTW, you'll need a current limiting series resistor for the LED and routing for the LED traces is generally pretty non-critical.
Yeah, edited to add the resistor, overlooked that.. So where would the star point for the power be located at? Tie the main 5v at the decoupling cap? What if they are on opposite sides of the IC?
C4 goes as close to the LM1117 as possible, the star between C4 and C1/C2. BTW, the ATMEGA328 is pretty tolerant of bad layout with the exception of power supply noise coupled into the ADC (both inside the CPU and through the sensor).
Supply Voltage drop and ground shift occurs from IR and (ESL)dI/dt
Can you compute these properly? There are many calculators for prop delay, track inductance, impedance, data sheets for micro and nanosecond rise times.
Do LED’s have xx ns rise times?
Supply decoupling is necessary.
Ringing occurs from mismached impedance when prop delay exceeds rise time.
| 2,383 |
https://stackoverflow.com/questions/1484394 | StackExchange | Open Web | CC-By-SA | 2,009 | Stack Exchange | Ch1nmayK, https://stackoverflow.com/users/2942139, https://stackoverflow.com/users/2942140, https://stackoverflow.com/users/2942469, user2942140, user2942469 | English | Spoken | 236 | 348 | Rebuild iphone app when updating ad hoc mobile provisioning file?
My iphone app is currently in Beta and I am distributing it to beta testers via ad hoc distribution. If I want to add new users to the beta can I just add their devices and download/distribute a new provisioning profile file, or do I need to rebuild the app with that new app and redistribute both the app and the provisioning profile file?
I've been dealing with this issue and found out this post to be extremelly helpful. Specially this part:
So my new approach – which has worked
well so far – is to create a new Ad
Hoc mobile provision file for each
beta release. For example, when I
release v1.1 beta 1 to my beta
testers, I create a new Ad Hoc mobile
provision file called
“NRE_1_1_0_beta1.mobileprovision”, and
assign every single beta testing
device I know of (at that time) to
that mobile provision file. I then
build one Ad Hoc copy of the app,
signed with this mobile provision
file, and send the app and the file to
all users. This requires each user
has to install a new mobile provision
file each time they receive a new
beta, but this makes it much easier to
see which provisioning files they have
installed on their device.
And, yes, you need to re-build your App once you get a new mobile provision.
| 1,555 |
https://mk.wikipedia.org/wiki/%D0%9A%D0%BE%D0%BB%D0%B5%D0%BA%D1%82%D0%B8%D0%B2%D0%B5%D0%BD%20%D0%B8%D0%BC%D1%83%D0%BD%D0%B8%D1%82%D0%B5%D1%82 | Wikipedia | Open Web | CC-By-SA | 2,023 | Колективен имунитет | https://mk.wikipedia.org/w/index.php?title=Колективен имунитет&action=history | Macedonian | Spoken | 312 | 833 | Колективен имунитет е форма на индиректна заштита од инфективни болести кој се јавува кога голем процент од населението имаат стекнато имунитет кон одредена инфекција, со што се обезбедува заштита за лицата кои не се имуни. Во популација во која голем дел од луѓето се имуни, се запира или забавува верижното ширење на инфекцијата. Колку е поголем бројот на имунизирани лица, толку е помала веројатноста оние кои не се имунизирани да дојдат во контакт со заразено лице.
Поединечниот имунитет може да биде здобиен преку стекнување на инфекцијата или преку вакцинација. Некои лица не можат да бидат вакцинирани од медицински причини и за оваа група колективниот имунитет е важен метод на заштита. Откако ќе биде достигнат одреден праг на имунизирани лица, колективниот имунитет постепено ја елиминира болеста од популацијата. Оваа елиминација, доколку се постигне на светско ниво, може да резултира со трајно намалување на бројот на заболувања на нула, што се нарекува ерадикација на болеста. Овој метод беше искористен за ерадикација на големи сипаници во 1977 и за регионална елиминација на други болести. Колективниот имунитет не се однесува на сите болести, туку само на оние што се заразни, односно оние кои можат да бидат пренесени од едно лице на друго. Тетанусот, на пример, е инфективен но не е заразен, па колективниот имунитет не се однесува на него.
Терминот колективен имунитет првпат бил користен во 1923. Бил признаен како природна појава во 1930-тите кога се увидело дека откако значителен број на деца биле имунизирани против морбили, бројот на новоинфицирани опаднал, вклучително и меѓу ризичните деца. Оттогаш масовната вакцинација со цел индуцирање на колективен имунитет станала честа и обезбедила успешна превенција од ширење на многу заразни болести. Отпорот кон вакцинацијата претставува предизвик за одржувањето на колективниот имунитет, со што се овозможува болести кои може да се превенираат, да перзистираат или да се вратат во заедници во кои има неадекватни стапки на вакцинација.
Наводи
Епидемиологија
Превентива
Вакцинација | 37,905 |
https://stackoverflow.com/questions/64779897 | StackExchange | Open Web | CC-By-SA | 2,020 | Stack Exchange | Paulw11, https://stackoverflow.com/users/3418066 | English | Spoken | 571 | 1,268 | Why is Swift @escaping closure not working?
I'm trying to show a list of Customers when the app(iOS) main view loads. The data is returned from an API request in JSON format which I confirmed I'm getting in the debugger. I'm having issues getting the response from the main view because the fetch method is getting called after the view load method finished. As I read, I should add a completion handler to the fetch method and pass it as an escaping enclosure so the main method waits for the fetch method. I follow this guide and read it several times and still can't get where the error is. What am I missing?
This
This is the SwiftUI view where I'm calling the search method:
struct CustomerList: View {
@State var customerList = searchCustomer(criteria: "jose")
var body: some View {
List(self.customerList, id: \.id){ customer in
CellRow(customer: customer)
}
}
}
This is the search function(Is actually a function, not part of any class or struct) called in the view load event
func searchCustomer(criteria: String) -> [Customer] {
//API call full url
let fullURL = FTP_API_URL + criteria
var customerList = [Customer]()
if criteria == ""{
return customerList
}
getJsonFromAPI(url: fullURL, fetchCompletionHandler: {customers, error in
if let jsonCustomers = customers{
customerList = jsonCustomers.customers
}
})
return customerList
}
The fetch async function(Is actually a function, not part of any class or struct)
func getJsonFromAPI(url: String, fetchCompletionHandler : @escaping (Customers?, Error?)-> Void){
let username = decryptData(data: FTP_API_USERNAME)
let password = decryptData(data: FTP_API_PASSWORD)
let loginData = String(format: "%@:%@", username, password).data(using: String.Encoding.utf8)!
let base64LoginData = loginData.base64EncodedString()
// create the request
let url = URL(string: url)!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Basic \(base64LoginData)", forHTTPHeaderField: "Authorization")
//making the request
let task = URLSession.shared.dataTask(with: request) { data, response, error in
guard let data = data, error == nil else {
print("\(error)")
return
}
//if let httpStatus = response as? HTTPURLResponse {
// check status code returned by the http server
//print("status code = \(httpStatus.statusCode)")
// process result
// }
let jsonDecoder = JSONDecoder()
do{
let results = try jsonDecoder.decode(Customers.self, from: data)
// for result in results.customers{
// print(result.cedulaOrPassport)
// }
fetchCompletionHandler(results, nil)
}
catch{
print(error)
fetchCompletionHandler(nil, error)
}
}
task.resume()
}
Thanks in advance.
You can't return anything. To use asynchronous loading with SwiftUI you will need to look at ObservableObject. Create an ObservableObject to be your model and have it @Publish your array of customers. Once the array is updated your SwiftUI views update like magic. Read http://www.programmingios.net/what-asynchronous-means/
return customerList in searchCustomer happens synchronously when the data (that's obtained asynchronously from getJsonFromAPI) isn't yet available. So, you're assigning and empty [Customer] array to @State var customerList.
In any case, you can't directly assign an asynchronously-obtained value to a property.
Instead, change searchCustomer to also accept a completion handler, and use .onAppear to invoke it and assign the value from within a completion handler (just like you with getJsonFromAPI):
func searchCustomer(criteria: String,
completionHandler: @escaping ([Customer]) -> Void) -> Void {
//API call full url
let fullURL = FTP_API_URL + criteria
var customerList = [Customer]()
if criteria == "" {
completionHandler(customerList)
}
getJsonFromAPI(url: fullURL, fetchCompletionHandler: {customers, error in
if let jsonCustomers = customers{
customerList = jsonCustomers.customers
completionHandler(customerList)
}
})
}
struct CustomerList: View {
@State var customerList = []
var body: some View {
List(self.customerList, id: \.id){ customer in
CellRow(customer: customer)
}
.onAppear() {
searchCustomer(criteria: "jose") { customers in
customerList = customers
}
}
}
}
| 39,774 |
https://sv.wikipedia.org/wiki/Macrocera%20apicalis | Wikipedia | Open Web | CC-By-SA | 2,023 | Macrocera apicalis | https://sv.wikipedia.org/w/index.php?title=Macrocera apicalis&action=history | Swedish | Spoken | 30 | 66 | Macrocera apicalis är en tvåvingeart som beskrevs av Hoffmeister 1844. Macrocera apicalis ingår i släktet Macrocera och familjen platthornsmyggor. Inga underarter finns listade i Catalogue of Life.
Källor
Platthornsmyggor
apicalis | 25,608 |
https://en.wikipedia.org/wiki/Salvesen%20Cove | Wikipedia | Open Web | CC-By-SA | 2,023 | Salvesen Cove | https://en.wikipedia.org/w/index.php?title=Salvesen Cove&action=history | English | Spoken | 88 | 139 | Salvesen Cove () is a cove forming the south extremity of Hughes Bay, along the west coast of Graham Land. Its head is fed by Agalina, Krapets and Zimzelen Glaciers. Brabazon Point is the headland forming the east side of the entrance to Salveson Cove, Valdivia Point the northwest side.
The cove was partially outlined on the charts of the Belgian Antarctic Expedition under Gerlache, 1897–99. Probably named by whalers operating in this vicinity after Salvesen and Company, whalers of Leith, Scotland.
Coves of Graham Land
Danco Coast | 15,662 |
https://ml.wikipedia.org/wiki/%E0%B4%B8%E0%B4%BF%E0%B4%B1%E0%B5%8D%E0%B4%B1%E0%B4%BF%20%E0%B4%93%E0%B4%AB%E0%B5%8D%20%E0%B4%9C%E0%B4%BF%E0%B5%BB%E0%B4%B8%E0%B5%8D | Wikipedia | Open Web | CC-By-SA | 2,023 | സിറ്റി ഓഫ് ജിൻസ് | https://ml.wikipedia.org/w/index.php?title=സിറ്റി ഓഫ് ജിൻസ്&action=history | Malayalam | Spoken | 50 | 523 | ഡെൽഹിയുടെ ചരിത്രത്തെക്കുറിച്ച് വില്യം ഡാൽറിമ്പിൾ എഴുതിയ പുസ്തകമാണ് സിറ്റി ഓഫ് ജിൻസ് (, പരിഭാഷ: ജിന്നുകളുടെ നഗരം). 1993-ലാണ് പ്രസിദ്ധീകരിക്കപ്പെട്ടത്. 1980-കളുടെ അന്ത്യത്തിലെ ഒരു വർഷത്തെ ഡെൽഹി വാസക്കാലത്ത് വിവിധ ചരിത്രവശിഷ്ടങ്ങളിലൂടെയുള്ള സഞ്ചാരത്തെ ആസ്പദമാക്കിയെഴുതിയ പുസ്തകമാണിത്. 1984-ലെ സിഖ് കൂട്ടക്കൊല മുതൽ ഡെൽഹിയിലെ ആദ്യത്തെ നഗരമായ ഇന്ദ്രപ്രസ്ഥത്തിന്റെ കാലം വരെയുള്ള ചരിത്രം അതിന്റെ അവശേഷിപ്പുകളും അടയാളങ്ങളുമായി കൂട്ടിയിണക്കി ഇതിൽ വിവരിക്കുന്നു.
ചരിത്രഗ്രന്ഥങ്ങൾ
യാത്രാവിവരണങ്ങൾ
ഇംഗ്ലീഷ് ഗ്രന്ഥങ്ങൾ
വില്യം ഡാൽറിമ്പിളിന്റെ പുസ്തകങ്ങൾ | 13,191 |
https://uk.wikipedia.org/wiki/%D0%93%D0%B0%D0%B2%D1%80%D0%B8%D0%BB%D0%B5%D0%BD%D0%BA%D0%BE%20%D0%92%D0%BE%D0%BB%D0%BE%D0%B4%D0%B8%D0%BC%D0%B8%D1%80%20%D0%90%D0%BD%D0%B4%D1%80%D1%96%D0%B9%D0%BE%D0%B2%D0%B8%D1%87 | Wikipedia | Open Web | CC-By-SA | 2,023 | Гавриленко Володимир Андрійович | https://uk.wikipedia.org/w/index.php?title=Гавриленко Володимир Андрійович&action=history | Ukrainian | Spoken | 194 | 690 | Володимир Андрійович Гавриленко ( , село Дмитрівка Крюківської волості Грайворонського повіту Курської губернії, тепер Грайворонського району Бєлгородської області, Російська Федерація — розстріляний ) — радянський партійний діяч, відповідальний секретар Острогозького окружного комітету ВКП(б), завідувач організаційно-інструкторського відділу ЦК КП(б)У. Член ЦК КП(б)У в січні 1934 — травні 1937 р. Кандидат у члени Організаційного бюро ЦК КП(б)У в січні 1934 — травні 1937 р. Член ВУЦВК.
Біографія
Народився в селянській родині. У 1901 році родина переїхала до Порт-Петровська у Дагестані.
Член РКП(б) з 1918 року.
У 1929 році — відповідальний секретар Острогозького окружного комітету ВКП(б) Центрально-Чорноземної області РРФСР.
У 1933—1934 роках — завідувач організаційно-інструкторського відділу ЦК КП(б)У. У 1934—1937? роках — завідувач відділу керівних партійних органів ЦК КП(б)У.
У 1937 році — завідувач відділу керівних партійних органів Орджонікідзевського крайового комітету ВКП(б).
До 1939 року — директор Краснопресненського цукрово-рафінадного заводу у Москві.
1939 року заарештований органами НКВС. 17 квітня 1940 року засуджений до розстрілу. Посмертно реабілітований 6 лютого 1956 року.
Джерела
XІІ з'їзд Комуністичної партії (більшовиків) України 18-23 січня 1934 року. Стенографічний звіт — Партійне видавництво ЦК КП(б)У — 1934 рік
Гавриленко Владимир Андреевич
Уродженці Бєлгородської області
Члени КПРС
Розстріляні в СРСР
Реабілітовані в СРСР
Посмертно реабілітовані | 7,344 |
https://mni.wikipedia.org/wiki/%EA%AF%B2%EA%AF%B4%EA%AF%B9%EA%AF%B7 | Wikipedia | Open Web | CC-By-SA | 2,023 | ꯲꯴꯹꯷ | https://mni.wikipedia.org/w/index.php?title=꯲꯴꯹꯷&action=history | Manipuri | Spoken | 24 | 210 | ꯃꯁꯤꯡ ꯑꯁꯤ ꯲꯰꯰꯰ ꯗꯒꯤ ꯍꯦꯟꯅ ꯆꯥꯎꯕ ꯃꯁꯤꯡ ꯑꯃꯅꯤ꯫ ꯃꯁꯤꯗꯒꯤ ꯃꯁꯤꯡ ꯱ ꯍꯦꯟꯅ ꯆꯥꯎꯕ ꯃꯁꯤꯡ ꯗꯤ ꯲꯴꯹꯸ ꯅꯤ꯫
ꯃꯇꯦꯡ ꯂꯧꯔꯛꯐꯝ
꯲꯰꯰꯰ ꯗꯒꯤ ꯍꯦꯟꯅ ꯆꯥꯎꯕ ꯃꯁꯤꯡ | 11,294 |
https://ca.wikipedia.org/wiki/Shannon%20%28Carolina%20del%20Nord%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | Shannon (Carolina del Nord) | https://ca.wikipedia.org/w/index.php?title=Shannon (Carolina del Nord)&action=history | Catalan | Spoken | 281 | 500 | Shannon és una concentració de població designada pel cens dels Estats Units a l'estat de Carolina del Nord. Segons el cens del 2000 tenia una població de 197 habitants.
Demografia
Segons el cens del 2000, Shannon tenia 197 habitants, 78 habitatges i 51 famílies. La densitat de població era de 74,6 habitants per km².
Dels 78 habitatges en un 21,8% hi vivien nens de menys de 18 anys, en un 44,9% hi vivien parelles casades, en un 17,9% dones solteres, i en un 34,6% no eren unitats familiars. En el 29,5% dels habitatges hi vivien persones soles el 9% de les quals corresponia a persones de 65 anys o més que vivien soles. El nombre mitjà de persones vivint en cada habitatge era de 2,53 i el nombre mitjà de persones que vivien en cada família era de 3,08.
Per edats la població es repartia de la següent manera: un 19,8% tenia menys de 18 anys, un 16,8% entre 18 i 24, un 25,4% entre 25 i 44, un 22,8% de 45 a 60 i un 15,2% 65 anys o més.
L'edat mediana era de 34 anys. Per cada 100 dones de 18 o més anys hi havia 119,4 homes.
La renda mediana per habitatge era de 30.156 $ i la renda mediana per família de 48.194 $. Els homes tenien una renda mediana de 38.333 $ mentre que les dones 27.656 $. La renda per capita de la població era de 13.321 $. Entorn del 30,9% de les famílies i el 44,1% de la població estaven per davall del llindar de pobresa.
Poblacions properes
El següent diagrama mostra les poblacions més properes.
Referències
Entitats de població de Carolina del Nord | 32,303 |
https://ceb.wikipedia.org/wiki/Main%20Gulch | Wikipedia | Open Web | CC-By-SA | 2,023 | Main Gulch | https://ceb.wikipedia.org/w/index.php?title=Main Gulch&action=history | Cebuano | Spoken | 39 | 76 | Ang Main Gulch ngalan niining mga mosunod:
Heyograpiya
Tinipong Bansa
Main Gulch (walog sa Tinipong Bansa, Colorado), Gunnison County,
Main Gulch (walog sa Tinipong Bansa, Montana), Jefferson County,
Pagklaro paghimo ni bot 2017-02
Pagklaro paghimo ni bot Tinipong Bansa | 23,381 |
https://pl.wikipedia.org/wiki/Megaboard | Wikipedia | Open Web | CC-By-SA | 2,023 | Megaboard | https://pl.wikipedia.org/w/index.php?title=Megaboard&action=history | Polish | Spoken | 47 | 146 | Megaboard – wielka, często oświetlona, zadrukowana tkanina (czasem półprzepuszczalna), rozciągnięta na specjalnym rusztowaniu przymocowanym do fasady budynku, najczęściej będąca reklamą.
Głównie w dużych miastach, ma najczęściej formaty niestandardowe, o powierzchniach powyżej 50 m² i dochodzących nawet do 300 m².
Zobacz też
ATL
Citylight
Billboard
Mammutboard
Nośniki reklamy | 44,945 |
https://stackoverflow.com/questions/55674178 | StackExchange | Open Web | CC-By-SA | 2,019 | Stack Exchange | 41686d6564, Iguananaut, K. Shaikh, https://stackoverflow.com/users/7266835, https://stackoverflow.com/users/8967612, https://stackoverflow.com/users/982257 | English | Spoken | 279 | 472 | Using regEx to download the entire directory using wget
I want to download multiple pdfs from urls such as this - https://dummy.site.com/aabbcc/xyz/2017/09/15/2194812/O7ca217a71ac444eda516d8f78c29091a.pdf
If I do wget on complete URL then it downloads the file wget https://dummy.site.com/aabbcc/xyz/2017/09/15/2194812/O7ca217a71ac444eda516d8f78c29091a.pdf
But if I try to recursively download the entire folder then it returns 403(forbidden access)
wget -r https://dummy.site.com/aabbcc/xyz/
I have tried by setting user agent, rejecting robots.txt and bunch of other solutions from the internet, but I'm coming back to same point.
So I want to form the list of all possible URLs considering the given URL as common pattern, and have no idea how to do that.
I just know that I can pass that file as input to wget which will download the files recursively. So seeking the help for forming the URL list using regEx here.
Thank You!
Regex does not generate possible matches. It matches existing ones.
Yes, sorry for causing the confusion. What I want is a script which will loop over the common pattern(which I assumed can be done using Regex) and generate all the combinations of URLs, which can be passed on to wget, it will download from the URLs that actually exist, or move on.
wget just follows links--if you just point it to some URL it can't magically find any valid sub-URLs it might be able to download if there's no directory listing (which on most modern websites there won't be).
You can't download using wildcard the files you can't see. If the host do not support directory listing you have no idea what the filenames/paths are. Also as you do not know the algorithm to generate filenames you can't generate and get them.
| 18,559 |
https://ko.wikipedia.org/wiki/2%EC%88%9C%ED%99%98%EB%A1%9C%20%28%EA%B4%91%EC%A3%BC%29 | Wikipedia | Open Web | CC-By-SA | 2,023 | 2순환로 (광주) | https://ko.wikipedia.org/w/index.php?title=2순환로 (광주)&action=history | Korean | Spoken | 496 | 1,946 | 2순환로(二循環路) 또는 제2순환로(第二循環路)는 광주광역시 북구 문흥동 문흥 분기점과 광산구 신창동 산월 나들목을 잇는 광주광역시의 도시고속화도로이다.
기존의 대남대로, 필문대로, 서암대로, 죽봉대로를 묶은 제1순환로가 광주 시내에 위치하고 있다면 2순환로는 광주 외곽으로 이어져 있다. 1992년 10월 1일에 착공되어 1995년 1월 15일 지원 나들목 ~ 효덕 나들목 구간이 가장 먼저 개통되었다. 본래 노선은 지금의 각화대로 구간을 포함해 동광주 나들목에서 시작해 각화 나들목을 거쳐서 입체도로를 건설할 계획이었지만, 입체도로 건설시 발생하게 될 교통체증 우려와 지하차도 건설의 기술적 어려움으로 인해 문흥 분기점을 새로 신설해 이 곳에서 호남고속도로와 접속하는 것으로 계획이 변경되었다. 2009년 12월 17일 문흥 분기점이 개통되면서 전 구간이 완공되었다. 순환도로 구간 중 일부 민간 자본에 의해 건설된 구간이 있어 각 3개 요금소에서 통행료를 징수하고 있다. 2025년에 지산교차로를 넣을 예정이다.
본래 광주광역시에서는 이 도로에 대해 광주광역시도 제77호선이라는 번호를 부여할 계획이었으나 이후 가로에 도로명칭을 표기하게 되면서 계획이 폐기되었다.
연혁
1992년 10월 1일 : 1구간 첫 착공
1995년 1월 : 1구간 동광주 나들목 ~ 각화 나들목 690m 구간 개통
1995년 1월 15일 : 2구간 지원 나들목 (당시 명칭 소태 나들목) ~ 효덕 나들목 개통
1998년 5월 1일 : 1구간 각화 나들목 ~ 두암 나들목 개통
2000년 11월 29일 : 1구간 두암 나들목 ~ 지원 나들목 (소태 나들목) 시험 개통
2001년 1월 1일 : 1구간 두암 나들목 ~ 지원 나들목 정식 개통, 통행료 징수 개시
2002년 3월 5일 : 3구간 풍암 나들목 ~ 서창 나들목 개통
2004년 5월 26일 : 2구간 용산 나들목 개통
2004년 10월 15일 : 3구간 효덕 나들목 ~ 풍암 나들목 개통
2004년 12월 10일 : 1구간 노선 변경 및 착공 (동광주 나들목 ~ 각화 나들목 → 문흥 분기점 ~ 각화 나들목)
2007년 5월 15일 : 4구간 산월 나들목 ~ 서창 나들목 개통
2007년 9월 19일 : 1구간 변경 노선 문흥 나들목 ~ 각화 나들목 개통
2008년 2월 26일 : 2구간 진월 나들목 개통
2009년 7월 27일 : 2개 이상 자치구에 걸쳐있는 도로로 2순환로를 고시
2009년 12월 17일 : 1구간 변경 노선 문흥 분기점 ~ 문흥 나들목 개통
2016년 7월 1일 : 송암 요금소, 유덕 요금소 하이패스 개통
2016년 9월 1일 : 소태 요금소, 학운 나들목 하이패스 개통
2025년 : 지산 교차로 개통예정, 오른쪽도로 2차선 이용
주요 경유지
광주광역시
북구 (문흥동 · 각화동 · 두암동) - 동구 (산수동 · 지산동 · 학동 · 운림동 · 소태동 · 용산동) - 남구 (봉선동 · 진월동 · 송하동 ) - 서구 (풍암동 · 매월동 · 세하동 · 벽진동 · 마륵동 · 치평동 · 덕흥동) - 광산구 (신가동 · 신창동 · 수완동)
노선
시설물
IC : 나들목(Interchange)
IS : 평면 교차로(Intersection)
BR : 교량(Bridge)
TN : 터널(Tunnel)
TG : 요금소(Tollgate)
(■) : 자동차 전용도로 구간
통행료
2001년 1월 1일부터 1구간 (두암 나들목 ~ 지원 나들목)에 대해서 통행료를 받기 시작하였으며 2004년 12월 1일부터 3-1구간 (효덕 나들목 ~ 풍암 나들목), 2007년 7월 1일부터 4구간 (서창 나들목 ~ 유덕 나들목)에 대해 통행료 징수가 시작되었다. 그리고 2009년 3월 15일, 2012년 4월 1일에 각각 통행료가 인상되었다.
각주
외부 링크
(광주 북구)
(광주 동구)
(광주 남구)
(광주 서구)
(광주 광산구)
광주광역시의 도로
대한민국의 유료 도로
광주 북구의 교통
광주 동구의 교통
광주 남구의 교통
광주 서구의 교통
광주 광산구의 교통
대한민국의 자동차 전용도로 | 25,134 |
https://br.wikipedia.org/wiki/Misterio%C3%B9%20Glorius | Wikipedia | Open Web | CC-By-SA | 2,023 | Misterioù Glorius | https://br.wikipedia.org/w/index.php?title=Misterioù Glorius&action=history | Breton | Spoken | 596 | 1,513 | Ar Misterioù Glorius eo misterioù meneget en Aviel a denn da zasorc'hidigezh Jezuz Krist ha gloar an Neñv. Heuliañ a reont ar Misterioù Joaius, ar Misterioù Goulaouus hag ar Misterioù Poanius. Bez ez eus pemp mister glorius : an Dasorc'hidigezh, Pignidigezh ar C'hrist, ar Pantekost, Gorroidigezh ar Werc'hez, Kurunidigezh ar Werc'hez. Prederiet e vez war ar misterioù-se gant kement kristen a bed gant e chapeled d'ar Merc'her ha d'ar Sul.
Hervez Compendium Katekiz an Iliz Katolik e vez graet mysteria gloriosa anezho e Latin.
Dasorc'hidigezh ar C'hrist
Dasorc'hidgezh ar C'hrist war lerc'h tri devezh (Resurrectio)
Profañ a reomp deoc'h, Aotrou Krist, an dizenez-mañ, en enor ho Tasorc'hidigezh, hag e c'houlennomp diganeoc'h, dre ar mister-se ha gant hanterouriezh ho Mamm Santel-Meurbet, ar c'hras eus ar Feiz.
Me ho salud Mari, leun a c'hras, an aotrou Doue zo ganeoc'h. Benniget oc'h dreist an holl wragez, ha benniget ar frouezh eus ho korf Jezuz, trec'h war ar marv. Santez Mari, mamm da Zoue, pedit evidomp, pec'herion, bremañ ha da eur hon marv. Amen.
Skeudennoù an Dasorc'hidigezh
Ar Bignidigezh en Neñv
Pignidigezh ar C'hrist en Neñv, daou-ugent devezh diwezhatoc'h (Ascensio).
Profañ a reomp deoc'h, Aotrou Krist, an dizenez-mañ, en enor ho Pignidigezh en Neñv, hag e c'houlennomp diganeoc'h, dre ar mister-se ha gant hanterouriezh ho Mamm Santel-Meurbet, ar c'hras da hetiñ ha da gaout goanag an Neñv.
Me ho salud Mari, leun a c'hras, an aotrou Doue zo ganeoc'h. Benniget oc'h dreist an holl wragez, ha benniget ar frouezh eus ho korf Jezuz, savet d'an Neñv evit kempenn ur plas dimp. Santez Mari, mamm da Zoue, pedit evidomp, pec'herion, bremañ ha da eur hon marv. Amen.
Skeudennoù ar Bignidigezh en Neñv
Ar Pantekost
Diskenn ar Spered Santel da zeiz ar Pantekost (Descensus Spiritus Sancti)
Profañ a reomp deoc'h, Aotrou Krist, an dizenez-mañ, en enor Diskenn ar Sepred Santel er C'hoanlec'h, hag e c'houlennomp diganeoc'h, dre ar mister-se ha gant hanterouriezh ho Mamm Santel-Meurbet, ar c'hras eus ar Garantez hag eus donezonoù ar Spered Santel.
Me ho salud Mari, leun a c'hras, an aotrou Doue zo ganeoc'h. Benniget oc'h dreist an holl wragez, ha benniget ar frouezh eus ho korf Jezuz, en ur gas donezonoù ar Spered Santel dimp. Santez Mari, mamm da Zoue, pedit evidomp, pec'herion, bremañ ha da eur hon marv. Amen.
Skeudennoù ar Pantekost
Gorroidigezh ar Werc'hez
Gorroidigezh ar Werc'hez, korf hag ene, d'an Neñv (Assumptio).
Profañ a reomp deoc'h, Aotrou Krist, an dizenez-mañ, en enor Gorroidigezh ar Werc'hez Santel, hag e c'houlennomp diganeoc'h, dre ar mister-se ha gant hanterouriezh ho Mamm Santel-Meurbet, ar c'hras da vout deol da Vari hag eus ar marv mat.
Me ho salud Mari, leun a c'hras, an aotrou Doue zo ganeoc'h. Benniget oc'h dreist an holl wragez, ha benniget ar frouezh eus ho korf Jezuz, ouzh ho tegemer, korf hag ene. Santez Mari, mamm da Zoue, pedit evidomp, pec'herion, bremañ ha da eur hon marv. Amen.
Skeudennoù ar Gorroidigezh
Kurunidigezh ar Werc'hez
Kurunidigezh selestiel ar Werc'hez, Rouanez an Neñv (Coronatio in Caelo).
Profañ a reomp deoc'h, Aotrou Krist, an dizenez-mañ, en enor Kurunidigezh ar Werc'hez Santel, hag e c'houlennomp diganeoc'h, dre ar mister-se ha gant hanterouriezh ho Mamm Santel-Meurbet, ar c'hras eus trec'h Kalon dinamm Mari.
Me ho salud Mari, leun a c'hras, an aotrou Doue zo ganeoc'h. Benniget oc'h dreist an holl wragez, ha benniget ar frouezh eus ho korf Jezuz, ouzh ho lakaat da vout Rouanez an Hollved. Santez Mari, mamm da Zoue, pedit evidomp, pec'herion, bremañ ha da eur hon marv. Amen.
Skeudennoù Kurunidigezh ar werc'hez Santel
Skeudennoù arall eus ar misterioù glorius
Rozera
Pedennoù kristen
Pedennoù katolik
Mari | 4,006 |
https://bs.wikipedia.org/wiki/IC%202830 | Wikipedia | Open Web | CC-By-SA | 2,023 | IC 2830 | https://bs.wikipedia.org/w/index.php?title=IC 2830&action=history | Bosnian | Spoken | 167 | 422 | IC 2830 (također poznat kao PGC 35240) je eliptična galaksija koja je udaljena oko 552 miliona sg od Zemlje i nalazi se u sazviježđu Lav. Najveći prečnik je 0,50 (80 hiljada sg) a najmanji 0,5 uglovnih minuta (80 hiljada sg). Prvo otkriće je napravio Charles Joseph Etienne Wolf 27. marta 1906. godine.
Najbliži NGC/IC objekti
Sljedeći spisak sadrži deset najbližih NGC/IC objekata.
Također pogledajte
Novi opći katalog
Spisak IC objekata
Spisak galaksija
Bilješke
Prividna magnituda od 14,5 – Apsolutna magnituda: M = m - 5 ((log10 DL) - 1), gdje je m=14,5 i DL=169,3 * 106.
0,50 uglovnih minuta – S = A * D * 0,000291 * P, gdje je A=0,50, D=169,3 i P = 3,2616.
Bazirano na euklidsku udaljenost.
Reference
Literatura
Vanjski linkovi
IC 2830
IC 2830 na Aladin pregledaču
IC katalog
Interaktivni NGC Online Katalog
Astronomska baza podataka SIMBAD
IC katalog na Messier45.com
NGC/IC projekt
NGC2000 na NASA sajtu
IC na The Night Sky Atlas sajtu
Eliptične galaksije
IC objekti
Lav (sazviježđe)
PGC objekti | 35,247 |
https://stackoverflow.com/questions/51527239 | StackExchange | Open Web | CC-By-SA | 2,018 | Stack Exchange | JSNoob, https://stackoverflow.com/users/4490615 | Norwegian Nynorsk | Spoken | 186 | 423 | Use gradle to build front-end in Spring Boot
I have the following setup in my fullstack Spring boot + thymeleaf + react
The project structure look like this
build.gradle
|src
|main
|java
|resources
index.js
package.json
build.gradle
I use a gradle script under resources folder to build front end SPA.
the script look like this
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.moowork.gradle:gradle-node-plugin:1.2.0"
}
}
apply plugin: "com.moowork.node"
task build(type: YarnTask) {
args = ['run', 'build']
}
build.dependsOn('yarn_install')
task deleteModules(type: Delete) {
delete "node_modules"
}
deleteModules.dependsOn('build')
The above build will build a SPA with index.html and index.js
My question is, how do I include this in the top level build.gradle. So that every time the java application is getting build, it will build the front-end SPA first
I think it would be better to put the build of the frontend in the main build.gradle file.
e.g. something like
apply plugin: "com.moowork.node"
task buildFrontend(type: YarnTask) {
args = ['run', 'build']
}
tasks.build.dependsOn buildFrontend
Ended up putting all the build in the main gradle file. Configuring path for gradle.node is very confusing though
| 39,072 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.