text
stringlengths
1
1.04M
language
stringclasses
25 values
<gh_stars>1-10 const fs = require('fs'); const path = require('path'); const replace = require('replace-in-file'); try { const dataset = fs.readFileSync(path.resolve('./', 'public', 'dataset.json')); const metatags = JSON.parse(dataset.toString()).metatags[0]; replace.sync({ files: [path.resolve('./', 'public', 'index.html')], from: [ /process.env.TITLE/g, /process.env.DESCRIPTION/g, /process.env.URL/g, /process.env.IMAGE/g ], to: [metatags.title, metatags.description, metatags.url, metatags.image] }); console.log('HTML files generated successfully 😎'); } catch (error) { console.error(error); process.exit(1); }
javascript
@import "/datagouvfr/main.css"; /* override template.min.css */ body { background-color: var(--theme-background-grey); /* font-family: Roboto, Helvetica, Arial, sans-serif; */ } .section { padding-top: 2.5em; padding-bottom: 2.5em; } fieldset { /* border: inherit; */ border: 2px groove rgb(192, 192, 192); /* margin: inherit; */ margin-left: 2px; margin-right: 2px; /* padding: inherit; */ padding-top: 0.35em; padding-bottom: 0.625em; padding-left: 0.75em; padding-right: 0.75em; /* width: inherit; */ } /* custom css */ #header, #footer { /* color: rgba(0,0,0,0.4); */ margin: 1em; text-align: center; } .text-center { text-align: center; } .width-50 { width: 50%; } .width-auto { width: auto; } .no-margin { margin: 0 !important; } .margin-top-m { margin-top: var(--space-m); } .margin-top-0 { margin-top: 0; } .margin-bottom-5 { margin-bottom: 5px; } .margin-10-0 { margin: 10px 0; } .margin-right-10 { margin: 0 10px 0 0; } .no-padding { padding: 0; } .padding-10 { padding: 10px; } .border-left-primary { border-left: 7.5px solid var(--theme-primary); } #dashboard { height: calc(100vh); min-height: calc(100vh); } #navigation { position: relative; } .main { overflow-y: auto; } .module, .notification { max-width: 1000px; } .panel { margin-bottom: var(--space-m); overflow-x: auto; } .panel-full-width { min-width: 100%; } .panel-partial-width { min-width: 45%; } .panel p, .panel label, .panel li { color: #53657d; margin-top: 0; } .panel table { width: 100%; border-collapse: collapse; } .panel td { vertical-align: top; } h4, h5, h6 { margin-bottom: 10px; } .nav-end { display: block; padding: var(--space-s) var(--space-l); color: #53657d; font-size: 0.9em; position: absolute; bottom: 10px; margin-top: 50px; } .main-end { display: none; padding: 0px 24px; margin-bottom: 24px; } .side-menu .nav-end a { padding: 0; text-decoration: underline; color: #0053b3; } #logo { padding: 32px; font-size: 1.25em; margin: 0; border-bottom: none; } .dashboard .main { padding: var(--space-l); } button.button-underline, button.button-underline:active, button.button-underline:hover { text-decoration: underline; border: none; } a.button[target="_blank"]::after { content: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKBAMAAAB/HNKOAAAAD1BMVEUAAACjo6Pn5+fDw8P///8mXC3WAAAABHRSTlMAfb49zZRSvgAAADBJREFUCNdjAAIXFxBicmFwYGAQUQGSjI4sQFJEgIHBgdmRAUgyGAAxUBZOugCBAwCrDAY9nvSvKAAAAABJRU5ErkJggg=='); } /* adds a 'opens in new tab' icon */ a[target="_blank"]::after { content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==); margin: 0 3px 0 5px; } a.no-decoration { text-decoration: none; background-color: transparent; color: inherit; } .redirection-form { display: inline; } .redirection-list { color: #8393a7 ; font-size: 0.875em; } .redirection-item { padding-bottom: 10px; } button.redirection-remove { margin: 0 10px; } #drawer-toggle { display: none; } #drawer-toggle-arrow { font-size: 11px; } .hidden-mobile { display: initial; } .rotate180 { -webkit-transform:rotate(180deg); -moz-transform: rotate(180deg); -ms-transform: rotate(180deg); -o-transform: rotate(180deg); transform: rotate(180deg); display: inline-block; } .beta-banner:before { content: "beta"; } .beta-banner { position: absolute; width: 80px; height: 25px; background: #d63626; top: 7px; right: -20px; text-align: center; font-size: 13px; font-family: sans-serif; text-transform: uppercase; font-weight: bold; color: #fff; line-height: 27px; transform: rotate(45deg); } .row { justify-content: start; } .account-split-panel { display: flex; justify-content: space-between; } .account-split-panel-shrink { flex-shrink: 3; margin-left: 10px; max-width: 130px; } .footer-octocat { position: relative; top: 2px; } .form-visit { margin-left: 0; } /* Typography styles */ .font-weight-bold { font-weight: bold; } .font-size-smaller { font-size: smaller; } .text-size-caption { font-size: 0.8em; } /* Colors as declared in https://template.data.gouv.fr/#colors */ .text-color-blue { color: #0053b3 !important; } .text-color-darker-grey { color: #53657d !important; } .text-color-almost-black { color: #26353f !important; } .display-flex { display: flex; } /* media */ @media (max-width: 749px) { .nav-end { display: none; } .main-end { display: block; } #logo { padding: 10px 32px; font-size: 1em; border-bottom: solid 2px #006be6; } .dashboard .main { padding: 5px; } #dashboard { height: auto; } .main { overflow-y: unset; } #drawer-toggle { display: initial; position: absolute; right: 10px; top: 4px; height: 36px; } .hidden-mobile { display: none; } }
css
<filename>portfolio/src/main/webapp/style.css<gh_stars>0 #content { margin-left: auto; margin-right: auto; width: 650px; } #greeting-container { margin-top: 20px; } body{ background-color: #eecfff; } h1{ font-size: 40px; font-family: 'Century Gothic'; text-align: center; } p{ font-size: 20px; font-family: 'Century Gothic'; }
css
// Copyright (c) 2018 Graphcore Ltd. All rights reserved. #include "ComputeSetList.hpp" #include <cassert> using namespace poplar; ComputeSetList::ComputeSetList(std::vector<ComputeSet> &css) : css(css) {} ComputeSet ComputeSetList::add(Graph &graph, const poplar::DebugNameAndId &dnai) { if (pos_ > css.size()) { throw std::logic_error("ComputeSetList::add() with pos " + std::to_string(pos_) + " and size " + std::to_string(css.size())); } else if (pos_ == css.size()) { // Add a new compute set. css.emplace_back(graph.addComputeSet({dnai})); } return css[pos_++]; } std::size_t ComputeSetList::pos() const { return pos_; } void ComputeSetList::setPos(std::size_t newPos) { if (newPos > css.size()) throw std::logic_error("ComputeSetList::setPos(" + std::to_string(newPos) + ")" + " which is > " + std::to_string(css.size())); pos_ = newPos; } poplar::ComputeSet &ComputeSetList::getCs1(const unsigned computeSets) { if (computeSets != 1 && computeSets != 2) { throw std::logic_error("ComputeSetList::getCs1 with" + std::to_string(computeSets) + " which is != 1 or 2"); } return css[pos_ - computeSets]; } poplar::ComputeSet &ComputeSetList::getCs2(const unsigned computeSets) { if (computeSets != 2) { throw std::logic_error("ComputeSetList::getCs2 with" + std::to_string(computeSets) + " which is != 2"); } return css[pos_ - 1]; }
cpp
JOHANNESBURG, October 31 – South Africa’s former president Thabo Mbeki said in a letter published Friday that he will not campaign for the ruling ANC in next year’s polls, after the party forced him from office last month. Mbeki sent the letter to African National Congress (ANC) leader Jacob Zuma earlier this month but the Star newspaper published a leaked copy on Friday, on the eve of a convention aimed at organising a breakaway party. Mbeki wrote that neither the ANC leadership nor the breakaway movement headed by former defence minister Mosiuoa "Terror" Lekota had sought his support for their political campaigns. He also wrote that he was surprised that Zuma had publicly announced that Mbeki would campaign for the party. "I appeal that nobody should abuse or cite my name falsely to promote their partisan cause, including how the 2009 ANC election campaign would be conducted," Mbeki wrote. Mbeki said he was still deciding what to do after losing the presidency. "Whatever I do in no way involves me in the internal politics of the ANC or the functioning of the government of South Africa," he said. "I absolutely will not rule from the grave," he added. Zuma seized control of the ANC from Mbeki during the party’s conference last December, and his allies in the leadership last month forced Mbeki to resign as president just months before the end of his second term. The in-fighting has exposed deep splits within the party that led the struggle against apartheid, giving birth to a breakaway movement headed by Lekota, an Mbeki loyalist. Lekota and his allies will hold a national convention this weekend aimed at laying the groundwork for a new political party, which he says could challenge the ANC in elections next year, when Zuma is widely expected to become president.
english
package edu.fiuba.algo3.vista; import edu.fiuba.algo3.controlador.BotonEnviarEventHandler; import edu.fiuba.algo3.controlador.BotonMarcarRespuestaOrdenadaEventHandler; import edu.fiuba.algo3.controlador.BotonZoomInEventHandler; import edu.fiuba.algo3.controlador.BotonZoomOutEventHandler; import edu.fiuba.algo3.modelo.Partida; import edu.fiuba.algo3.modelo.Respuesta; import edu.fiuba.algo3.modelo.preguntas.Opcion; import javafx.geometry.Pos; import javafx.scene.control.Button; import javafx.scene.layout.VBox; import javafx.scene.paint.Color; import javafx.stage.Stage; public class ContenedorOpcionesRespuestaOrdenada extends VBox { private Stage stage; private Partida partida; private Button botonEnviar; public ContenedorOpcionesRespuestaOrdenada(Stage stage, Partida partida) { super(); this.stage = stage; this.partida = partida; this.setSpacing(30); this.setAlignment(Pos.CENTER); this.setPrefSize(100, 150); inicializarOpciones(); } private void inicializarOpciones(){ VBox botones = new VBox(); botones.setAlignment(Pos.CENTER); botones.setSpacing(10); BotonInicio botonEnviarRespuesta = new BotonInicio("Enviar", 100, 60, 110,60, Color.web("52658F"), Color.web("333A56")); botonEnviarRespuesta.setOnAction(new BotonEnviarEventHandler(stage, partida)); botonEnviarRespuesta.setDisable(true); Respuesta respuesta = partida.getTurnoActual().getRespuesta(); for(Opcion opcion : partida.getPreguntaActual().getOpciones()){ BotonOpcion botonOpcion = new BotonOpcion(opcion.getTexto(), 250 , 70, 270, 100, Color.web("52658F"), Color.web("333A56")); botonOpcion.setMinSize(this.getPrefHeight(), this.getPrefWidth()); botonOpcion.setOnAction(new BotonMarcarRespuestaOrdenadaEventHandler(respuesta, opcion, botonOpcion, botones, botonEnviarRespuesta)); botones.getChildren().add(botonOpcion); } botones.getChildren().add(botonEnviarRespuesta); this.getChildren().addAll(botones); } }
java
from .base import BaseInterpreter from .HouseBillListInterpreter import HouseBillListInterpreter from .HouseBillPageActionsInterpreter import HouseBillPageActionsInterpreter from .HouseBillPageContentInterpreter import HouseBillPageContentInterpreter from .HouseBillPageInterpreter import HouseBillPageInterpreter
python
import React from 'react'; import Banner from './banner'; import Service from './service'; import Demo from './demo'; import Reason from './reason'; import About from './about'; import './style.scss'; const Page: React.FunctionComponent = props => { return ( <section className="shouye"> <Banner /> <Service /> <Demo /> <Reason /> <About /> </section> ); }; export default Page;
typescript
{"intro": "안녕하세요 어쿠스틱 감성밴드 Mmazel입니다.", "facebook": "mmazel3", "genre": "Pop", "event": [{"venue_id": 161, "title": "에반스 라운지 클럽 공연", "date": "2013-04-09", "time": "21:00", "venue": "에반스라운지", "lineup": [{"name": "Mmazel", "musician_id": 2475}]}], "regular_musician": [{"name": "Mmazel", "musician_id": 2475, "event_count": 1}], "name": "Mmazel", "musician_id": 2475}
json
In this heartfelt tribute, we remember the life of Parker Vogt, a young individual born on June 17, 2004, in Manitowoc, Wisconsin, to his loving parents, Craig and Angela Vogt. Parker's journey was marked by courage, ambition, and an unwavering faith that touched the hearts of many. Parker Vogt graduated from Manitowoc Lutheran High School with the class of 2022, where he showcased his diligence as a student and his strong ambition for a bright future. Beyond high school, he pursued his dreams by enrolling at Lakeshore Technical College, where he was diligently working toward a degree in HVAC. Amidst his studies, Parker dedicated time to work at Festival Foods and LibertyLand Dairy, demonstrating his exceptional work ethic and commitment to his future. His dedication was truly inspiring. Parker's passion extended beyond academics; he had a deep love for sports, particularly football and basketball. He even took the opportunity to give back to the community by coaching a grade school basketball team. His knowledge and enthusiasm left a lasting impact on the young athletes he mentored. Tragically, Parker Vogt's life was cut short at the age of 19 due to a challenging battle with cancer. Despite his young age, Parker displayed immense courage and resilience throughout his fight against this formidable adversary. His journey was marked by a relentless determination to overcome the illness and a deep-seated hope that never wavered. Parker's story reminds us of the strength of the human spirit and underscores the significance of family and community support. It also emphasizes the ongoing need for advancements in cancer treatment and care. The Vogt family, including his parents Craig and Angela Vogt, and his siblings, Ryder and Brinley, mourn the loss of their cherished son and brother, Parker Vogt. His untimely departure, following his courageous battle with cancer, has brought immeasurable grief to their lives. Parker was more than just a son and brother; he was a beacon of light and love. His unwavering faith, vibrant spirit, and infectious smile touched the hearts of everyone who had the privilege of knowing him. His deep connection to his faith provided solace and strength during his illness. Parker's legacy will endure through the memories he created, the lives he touched, and the love he shared. His story will continue to inspire others facing similar challenges, reminding us all of the importance of cherishing every moment in the face of adversity. Our heartfelt condolences go out to Parker Vogt's family and close friends during this challenging time. May his memory be a source of strength and inspiration for all who knew him. Q: Who was Parker Vogt, and why is his story important? A: Parker Vogt was a young scholar and athlete from Manitowoc, Wisconsin, whose life was tragically cut short due to cancer. His story is important because it highlights his courage, resilience, and the enduring impact he had on his community. Q: What were Parker Vogt's interests and passions besides academics? A: Parker had a deep passion for sports, particularly football and basketball. He also gave back to the community by coaching a grade school basketball team, showcasing his love for the game and his commitment to helping others. Q: How can Parker Vogt's legacy inspire others facing similar challenges? A: Parker's enduring legacy serves as a reminder of the strength of the human spirit, the importance of family and community support, and the need for advancements in cancer treatment. His story can inspire others to face adversity with hope and determination. Q: How can we honor Parker Vogt's memory? A: Honoring Parker's memory can be done by cherishing every moment, supporting cancer research and treatment efforts, and continuing the values of courage, resilience, and love that he embodied. Q: How can I offer my condolences to the Vogt family and friends? A: You can offer your heartfelt condolences to the Vogt family and friends by reaching out to them with kind words, gestures of support, and by remembering Parker's life and legacy. The post Parker Vogt Obituary: Remembering a Scholar and Athlete appeared first on ABN NEWS.
english
Jesus Teaches His Disciples on the Mount of Olives(A) 4 Jesus answered them, “Be careful not to let anyone deceive you. 5 Many will come using my name. They will say, ‘I am the Messiah,’ and they will deceive many people. 6 “You will hear of wars and rumors of wars. Don’t be alarmed! These things must happen, but they don’t mean that the end has come. 7 Nation will fight against nation and kingdom against kingdom. There will be famines and earthquakes in various places. 8 All of these are only the beginning pains ⌞of the end⌟. 9 “Then they will hand you over to those who will torture and kill you. All nations will hate you because you are committed to me. 10 Then many will lose faith. They will betray and hate each other. 11 Many false prophets will appear and deceive many people. 12 And because there will be more and more lawlessness, most people’s love will grow cold. 13 But the person who endures to the end will be saved. 14 “This Good News about the kingdom will be spread throughout the world as a testimony to all nations. Then the end will come. 15 “The prophet Daniel said that the disgusting thing that will cause destruction will stand in the holy place. When you see this (let the reader take note), 16 those of you in Judea should flee to the mountains. 17 Those who are on the roof should not come down to get anything out of their houses. 18 Those who are in the field should not turn back to get their coats. 19 “How horrible it will be for the women who are pregnant or who are nursing babies in those days. 20 Pray that it will not be winter or a day of rest—a holy day, when you flee. 21 There will be a lot of misery at that time, a kind of misery that has not happened from the beginning of the world until now and will certainly never happen again. 22 If God does not reduce the number of those days, no one will be saved. But those days will be reduced because of those whom God has chosen. 23 “At that time don’t believe anyone who tells you, ‘Here is the Messiah!’ or ‘There he is!’ 24 False messiahs and false prophets will appear. They will work spectacular, miraculous signs and do wonderful things to deceive, if possible, even those whom God has chosen. 25 Listen! I’ve told you this before it happens. 26 So if someone tells you, ‘He’s in the desert!’ don’t go out ⌞looking for him⌟. And don’t believe anyone who says, ‘He’s in a secret place!’ 27 The Son of Man will come again just as lightning flashes from east to west. 28 Vultures will gather wherever there is a dead body. 29 “Immediately after the misery of those days, the sun will turn dark, the moon will not give light, the stars will fall from the sky, and the powers of the universe will be shaken. 30 “Then the sign of the Son of Man will appear in the sky. All the people on earth will cry in agony when they see the Son of Man coming on the clouds in the sky with power and great glory. 31 He will send out his angels with a loud trumpet call, and from every direction under the sky, they will gather those whom God has chosen. 32 “Learn from the story of the fig tree. When its branch becomes tender and it sprouts leaves, you know that summer is near. 33 In the same way, when you see all these things, you know that he is near, at the door. 34 “I can guarantee this truth: This generation will not disappear until all these things take place. 35 The earth and the heavens will disappear, but my words will never disappear. 36 “No one knows when that day or hour will come. Even the angels in heaven and the Son don’t know. Only the Father knows. 37 “When the Son of Man comes again, it will be exactly like the days of Noah. 38 In the days before the flood, people were eating, drinking, and getting married until the day that Noah went into the ship. 39 They were not aware of what was happening until the flood came and swept all of them away. That is how it will be when the Son of Man comes again. 40 “At that time two men will be working in the field. One will be taken, and the other one will be left. 41 Two women will be working at a mill. One will be taken, and the other one will be left. 42 “Therefore, be alert, because you don’t know on what day your Lord will return. 43 You realize that if a homeowner had known at what time of the night a thief was coming, he would have stayed awake. He would not have let the thief break into his house. 44 Therefore, you, too, must be ready because the Son of Man will return when you least expect him. 45 “Who, then, is the faithful and wise servant? The master will put that person in charge of giving the other servants their food at the right time. 46 That servant will be blessed if his master finds him doing this job when he comes. 47 I can guarantee this truth: He will put that servant in charge of all his property. 48 On the other hand, that servant, if he is wicked, may think that it will be a long time before his master comes. 49 The servant may begin to beat the other servants and eat and drink with the drunks. 50 His master will return unexpectedly. 51 Then his master will severely punish him and assign him a place with the hypocrites. People will cry and be in extreme pain there. Copyright © 1995, 2003, 2013, 2014, 2019, 2020 by God’s Word to the Nations Mission Society. All rights reserved.
english
<reponame>fofr/manage-courses-prototype<filename>app/data/seed/locations/4f36b9a3-863f-4ece-8d72-584435125ac7/16a7893b-c57f-4092-9dec-403e0201ae0b.json<gh_stars>0 {"id":"16a7893b-c57f-4092-9dec-403e0201ae0b","name":"The Arnewood School","code":"A","address":{"addressLine1":"Gore Road","addressLine2":"New Milton","town":"Hampshire","postcode":"BH25 6RS"},"organisation":{"id":"4f36b9a3-863f-4ece-8d72-584435125ac7","code":"13Q","name":"Twynham Learning (School Direct)"}}
json
<reponame>wh00sh/Tanda-DAPP<gh_stars>0 "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _createIcon = _interopRequireDefault(require("./util/createIcon")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } var _default = (0, _createIcon["default"])('M8 13C9.66 13 11 14.34 11 16C11 17.66 9.66 19 8 19C6.34 19 5 17.66 5 16C5 14.34 6.34 13 8 13M8 15C7.45 15 7 15.45 7 16C7 16.55 7.45 17 8 17C8.55 17 9 16.55 9 16C9 15.45 8.55 15 8 15M9.77 4.33L10.5 5.08L14.29 1.29C14.47 1.11 14.72 1 15 1C15.28 1 15.53 1.11 15.71 1.29L22.78 8.36L22.78 8.37C22.92 8.54 23 8.76 23 9C23 9.3 22.87 9.57 22.66 9.76L22.66 9.76L18.93 13.5L19.67 14.23L12.95 20.95C11.68 22.22 9.93 23 8 23C4.13 23 1 19.87 1 16C1 14.07 1.78 12.32 3.05 11.05L9.77 4.33M11.54 19.54L16.84 14.23L9.77 7.16L4.46 12.46C3.56 13.37 3 14.62 3 16C3 18.76 5.24 21 8 21C9.38 21 10.63 20.44 11.54 19.54M15.07 4.69L16.5 6.1L15.07 7.5L13.66 6.1L15.07 4.69M17.9 7.5L19.31 8.93L17.9 10.34L16.5 8.93L17.9 7.5M20.59 9L15 3.41L11.93 6.5L17.5 12.08L20.59 9Z'); exports["default"] = _default;
javascript
import GatherDataSetScripts.Video as VideoClass import json from dateutil import parser def get_videos_ids(client, channel_id, data_set_location, published_after_string): publish_after = parser.parse(published_after_string).date() channel_parameters = { 'part': 'contentDetails', 'id': channel_id } channel_info = client.channels().list(**channel_parameters).execute() playlist_id = channel_info['items'][0]['contentDetails']['relatedPlaylists']['uploads'] videos = [] page_token = "" playlist_parameters = { 'part': 'contentDetails', 'playlistId': playlist_id, 'maxResults': 50 } while True: time_limit_reached = False playlist_parameters['pageToken'] = page_token uploaded_videos = client.playlistItems().list(**playlist_parameters).execute() for video in uploaded_videos['items']: content_details_video = video['contentDetails'] published_at = parser.parse(content_details_video['videoPublishedAt']).date() if published_at < publish_after: time_limit_reached = True break videos.append(VideoClass.Video(content_details_video['videoId'], content_details_video['videoPublishedAt'], [], False, "", False)) if time_limit_reached: break if 'nextPageToken' in uploaded_videos: next_page_token = uploaded_videos['nextPageToken'] page_token = next_page_token if next_page_token == "": break else: break with open(data_set_location, 'w') as out_file: json.dump([video.__dict__ for video in videos], out_file)
python
A draft bill from the United States House of Representatives concerning the Computer Fraud and Abuse Act (CFAA) is unsettling. A new provision included could greatly expand its ability to punish, potentially bringing those within the law inside its orbit as worthy of stiff punishment. As TechDirt noticed, Section 103 of the proposed bill is daunting: Whoever conspires to commit or attempts to commit an offense under subsection (a) of this section shall be punished as provided for the completed offense in subsection (c) of this section. Naturally, if a person is known to be directly working to execute illegal tasks, they should be stopped and charged appropriately; if you are conspiring to bomb Times Square, that’s something that we’ll have to act on. However, in the current legal climate by which minor offences – and even crimes that aren’t – are heavily prosecuted, boldening the law to allow the government to slap years in prison onto people it thinks are contemplating breaking computer law is troubling. The examples that this surfaces are ridiculous. The government must decide what counts as conspiracy. Conversation? Given the often limited or incorrect interpretation of technology by those who hold legal power such a provision could be exceptionally dangerous. That’s only one issue, however. For example, under the CFAA, abrogating the Terms of Service of a website or tool could lead to comically excessive punishments, TechDirt draws the following example: Now if you talk with others about the possibility of violating a terms of service — say, talking to your 12 year old child about helping them sign up for Facebook even though the site requires you to be 13 — you may have already committed a felony that can get you years in jail. However, until Aaron’s Law becomes law, it could, provided that Section 103 passes, it is theoretically possible to land jail time for ‘conspiring’ to ignore and cross a Terms of Service agreement. Given that few if any Terms of Service statements are read by the average consumer, those folk could be committing accidental felonies. better than that in a superior fashion. Get the most important tech news in your inbox each week.
english
You already know that call centers exist either to support current customers or to generate new ones—most of the time, it’s a healthy combination of the two. So, we are here to tell you about an invaluable way to manage these two goals: Csat measurement and improvement. Whether you are looking to strengthen the loyalties of your existing customers or to convert potential consumers, your main aim is to satisfy every person you interact with in order to keep them coming back. The importance of customer Satisfaction is undeniable. That is why you need to know about CSAT measurement and improvement in your call center. Understanding CSAT scores and learning how to measure customer satisfaction can save time and money by letting you know what your callers are thinking and expecting. What is the Customer Satisfaction Score (CSAT)? CSAT stands for Customer Satisfaction Score. Depending on how you conduct the research and analyze the outcomes, you can think of it as both a qualitative and a quantitative research method to see how satisfied your customers are with your business, services, and products. The longer the answers to your questions, the more qualitative information you will receive. And the qualitative feedback you gain is a great way to learn more about customer expectations. However, callers often want the survey to be as quick and convenient as possible, so quantitative questions that require binary and numerical answers are often preferred. CSAT vs. NPS—What’s the Difference? CSAT and NPS are both customer satisfaction metrics. The only difference between CSAT and NPS is that while CSAT measures overall customer satisfaction, NPS only measures customer loyalty, which you may consider a part of customer satisfaction since only satisfied customers would be loyal to a brand. Basically, an NPS survey would ask the customer, “How likely are you to recommend our brand to others?” Even though the wording may differ, the NPS question always asks one basic question: Would you promote us? This question is often answered on a scale and can be a part of a CSAT survey. However, there are a few more metrics to measure customer satisfaction in your call center. What Types of Metrics Measure Customer Satisfaction? CSAT and NPS being the most common ways to measure customer satisfaction in a call center, there are 5 more ways to measure customer satisfaction. Customer Service Satisfaction (CSS) A CSS score indicates how satisfied a customer is with your post-purchase service. Customer Effort Score (CES) A CES score indicates how easy, or hard, a customer finds getting an issue resolved, a request fulfilled, a product purchased/returned, or a question answered. Customer Health Score (CHS) A CHS score indicates how much of a healthy relationship a customer has with a brand, considering many aspects such as overall product usage, account growth, and the number of renewals. Customer Churn Rate (CCR) The CCR indicates the percentage of customers that have been lost within a specific period of time. Customer reviews reflect a customer’s experience with your brand, products, or services. Unlike other CX metrics, customers can leave reviews about your brand across multiple channels. An important note here is that you must decide what you want to measure before deciding how you will. For instance, if you’re trying to measure customer service quality and how well your call center is interacting with customers, CSAT and NPS evaluations will be the way to go. However, if you’re looking for a metric that measures customer satisfaction with your provided product/service, it would be best that you conduct CSS or CHS via your call center instead. Once you’ve decided on how to measure customer satisfaction, all left is to create an automated survey! Then, you can conduct them right at the end of the call or schedule call-backs for later on! How to Measure Your CSAT? Measuring customer satisfaction scores entails asking a set of questions—predetermined by your business—directly to your customers to gain customer satisfaction feedback and calculate the value in a standardized fashion. How to measure customer satisfaction often depends on the unique set of CSAT metrics at a business. Therefore, there is no definitive way to measure CSAT, but a survey with a rating system is the most common format. There are also various forms of rating systems and questions. You can present questions with: - binary systems (yes/no), - short multiple-choice options (e.g., not satisfied, somewhat satisfied, and very satisfied), - statements and see how much the customer agrees with them (a.k.a. Likert Scale) - open-text answers for which customers can make comments with their own words. Some typical questions are: - “Are you satisfied with…?” (Yes or No) - “How satisfied are you with…?” (Numerical Scale) - “Which product feature do you use most often?” (Multiple-Choice List of Features) - “The website was easy to navigate” (Agree/Disagree, a Numerical Scale, or even emojis!) - “How can we improve your experience with the company?” (Open-Text) Need more questions to ask in a customer satisfaction survey? Read through to discover our customer service questionnaire examples. Are you looking for a customer satisfaction measurement tool that won’t take up your agents’ time? Discover how you can create automated satisfaction-survey calls with Call Center Studio! Are you trying to figure out how to calculate CSAT? While there is no clear-cut way to get your customer satisfaction feedback, there is a simple customer satisfaction score calculation that you can use once you’ve determined your question set and rating system. To measure the CSAT score after collecting the data, you have to add up all positive responses and divide them by the number of total collected responses and multiply by 100. As a result, you will get a percentage that will provide a clear idea of your customer satisfaction rate and call center performance. Make Sense of Your CSAT Score—Is It Good or Bad? Many factors play into determining if your CSAT score is good enough. The scores are usually based on the types of questions you ask and how you ask them. If you ask for quarterly customer satisfaction feedback, the score will be stable until the next rating. However, if you ask your callers to rate the agents after each call, the score will constantly change, in which case you will have to be more vigilant. The adequacy of the score depends on the industry average and the metrics used. You may want to focus on increasing your ratings and forgo comparing your ratings to others in the same industry since your standards might differ. All things considered, the importance of customer satisfaction remains the same. A helpful rule of thumb would be to keep your CSAT score above 75% so that 3 out of 4 customers are satisfied. Wondering what to ask in your CSAT questionnaire? Here are a few options for you to consider to measure customer service of your call center. - Did you receive the outcome you needed from the interaction? (Yes/No) - Were you able to resolve your query on your first call? (Yes/No) - Was the service you received timely and efficient? (Yes/No) - On a scale of 1-10, how likely are you to recommend our services to others? - On a scale of 1-5, how would you rate the friendliness of your agent? - On a scale of 1-10, how satisfied are you with your hold time? - How satisfied are you with our services? (Satisfied, Somewhat Satisfied, Very Satisfied) - How would you rate our IVR for ease of use? (Very Easy, Somewhat Easy, Complicated) - How would you rate the friendliness of your representative? (Poor, Mediocre, Excellent) - The voicebot option was clear and efficient. (Likert Scale) - The customer service agent was knowledgeable. (Likert Scale) - I am satisfied with the service I received. (Likert Scale) - How can we make our customer service more satisfactory? (Open-Text) Keep in mind that for non-binary rating systems, you will have to determine what response determines a satisfied customer. On a scale of 1-10, will 6 be considered a positive response? You have all the questions ready but don’t know how to start calculating CSAT? While there are many tools for measuring customer satisfaction, it’s important that you opt for the one that will not be a hassle to manage. Here are some of the most effective CSAT solutions to conduct customer surveys. Many call centers ask callers if they would like to evaluate the call at the end of the conversation. If the caller answers, or dials “Yes,” they transfer the call to an IVR system that asks the predefined question set. Another common way to collect customer responses is by conducting automated call-backs. With today’s call center technologies, all you have to do is script your questionnaire, determine a call-back period and deploy a dialer that will automatically call back customers for feedback. Today, almost all call center operations are multichannel. If that’s the case for you, you can utilize your chat channels—WhatsApp, webchat, and many more—to send CSAT survey links to your customers. Chat channels are perfect to utilize as customer satisfaction measurement tools. Discover Call Center Studio’s Multichannel options to get a deeper insight into your CSAT score! Are your CSAT scores not what you expected? Do not worry at all—here are some quick and easy tips on how to improve CSAT scores in a call center. Ironically, the first step in improving your customer satisfaction score is to measure it. This step is beneficial not only because you will discover where you stand with the customers but because you will learn about their expectations. If you tailor your questions correctly, even a quantitative question can have a qualitative answer. Make sure that you are asking the right questions by inquiring about specific attributes and features. Provide clear instructions so that the caller knows exactly what they are grading. Finally, there is a fine line between wanting to learn more about customer expectations and overwhelming the customer with questions, so tread carefully. Need more insight into what your customers need? Call Center Studio’s monitoring tools give you both real-time and historical access to calls and help you filter them by keywords! There are multiple benefits to improving the technologies you use and provide to your customers. For instance, offering your customers help via a multichannel communication network lets them choose whichever platform they feel most comfortable with to contact you. In today’s world, customers want autonomy. Call center technologies—like AI-powered voicebots and chatbots, multi-channel solutions, and CRM integrations—help agents handle more clients in less time. Plus, they empower customers to take the reins of their own customer journey. This brings us to our next point. To improve CSAT score, you have to have a grasp of what you offer to your customers. And, there really is no better way to judge the journey you’ve built for your customers than to live through it yourself. Call your own call center for different queries and see what happens. Does the IVR have adequate options? Is the voicebot clear? How long do you wait to get a response? Is your call routed to the correct agent? How knowledgeable and friendly is the agent? After you’ve gone through various customer journey paths, turn your observations into constructive feedback and make an action plan accordingly. Should you update the IVR? Do your agents need more training? Should you change your software to provide more comprehensive customer service? Call center owners should ensure regular training programs for their agents. Offering development programs and courses will allow agents to learn new things which they will apply while engaging with consumers. It will help improve the response rate and time. Moreover, benefit the organization. Agents will have more grip over the latest technology and devices, making it easier for them to adapt. Therefore, training can bring a tremendous positive change to the company. Don’t just train your agents to handle and manage callers. Empower them to truly listen to what the customers need. Their position is a key one in the customer journey leading up to, during, and after a purchase is made. If they treat your customers right, any survey will undoubtedly reflect customer satisfaction. Also, share with them the main pain points customers face with your business and within the industry in general so that the agents may be prepared for any incoming issue or inquiry. A good understanding of the brand and customer expectations will allow agents to handle them more effectively and ensure they leave great feedback on the CSAT questionnaire. The foremost step in training your agents is training your team leaders! Download our free ebook to create the best of them! Now that your agents are trained, you need to trust their insight. Your agents are the people who are in the most direct form of contact with your customers and callers. They are the ones to hear the customer grunt or sigh at specific moments during a call. So, they have an unrivaled insight into your customer’s experiences. You must hear them out when they tell you what is working and what is not at your call center. Showing your agents you trust them enough to take action according to their ideas will also empower them to take the initiative to solve customer problems more efficiently. Most CSAT surveys need to actively prompt customers for a response. Thus, the responses are usually forced. On the other hand, customers leave online reviews and comments when they strongly feel they need to give their opinions about an experience. Nearly every online platform has become a review site. Do not miss out on what customers and callers are saying about the customer service at your brand. By reading online reviews, you will be able to hear the honest—and often unfiltered— opinions of your customers. This way, you may find the weaknesses and strengths that people have experienced in the customer journey you have built for them so you can improve on it. In this day and age, most businesses make sure that they convey the importance of each customer by personalizing the customer experience. People feel special when the brand they interact with emphasizes how valuable they are to the business. Remembering the very basic information about your callers will not only strengthen your relationship with them but might also brighten up their day and encourage them to give some positive feedback. A common complaint that most customers have is having to wait for a long time to get an answer from a representative. They are left on hold for minutes, or sometimes no one even picks up their call. This situation lowers call center customer satisfaction rates and leaves your agents vulnerable to angry callers. Therefore, it is essential to minimize the wait time to only a few seconds. It will significantly improve customer satisfaction because they will feel heard and understood. Moreover, it will increase consumer loyalty in the long run. There are a lot of KPIs that can affect your overall CSAT score! Check out these important call center metrics that you have to keep track of! When measuring a customer satisfaction score, “passives” are the feedback that are halfway between good and bad. If you were to ask, “On a scale of 1-10, how satisfied are you with our services?” the passives would be a 5 or a 6. If you’re tired of receiving these passive scores, here’s a tip that can come in handy—use a rating scale out of 4 or 6 so that the options are more polarized, which, in turn, requires more mindful responses from the customers. Most people tend to ignore the average outcome, especially when it comes to feedback. The average is often expected and less exciting than good or bad reviews. However, always keep in mind that every score comes from a human being, and the ones who give average feedback are often on the fence. Think about what you can do to help them come off the fence. Calculating your CSAT score is a smart and practical step you need to take for your business, especially in an era where customers have lots to pick from. We hope that these 10 tips will help you get started to improve your customer satisfaction! Need more help? Talk to our experts to discuss your operational needs, or better yet, book a demo today to see how Call Center Studio can help you improve your CSAT and set you on your way to success. The post Ultimate Guide to Improve Your Call Center’s CSAT Score appeared first on Call Center Studio.
english
Feedback (2) OEM/ODM Manufacturer Network Application Performance - Mylinking™ Passive Tap PLC Optical Splitter – Mylinking Detail: - Conforms to Telcordia GR-1209-CORE-2001. - Conforms to Telcordia GR-1221-CORE-1999. - RoHS-6 compliant (lead-free) |Max insertion loss(dB) |Return Loss(dB) |Operating Wavelength Range (nm) |Working Temperature(°C) |Storage Temperature(°C) Product detail pictures: Related Product Guide: "Based on domestic market and expand overseas business" is our development strategy for OEM/ODM Manufacturer Network Application Performance - Mylinking™ Passive Tap PLC Optical Splitter – Mylinking , The product will supply to all over the world, such as: belarus , Bangkok , Estonia , We take measure at any price to attain essentially the most up-to-date gear and procedures. The packing of nominated brand is our a further distinguishing feature. The solutions to assure years of trouble-free service has attracted a great deal customers. The goods are obtainable in improved designs and richer variety, they're produced scientifically of purely raw supplies. It accessible in a variety of designs and specifications for the selection. The newest forms are much far better than the previous one and they're extremely popular with several clients. The factory has advanced equipment, experienced staffs and good management level, so product quality had assurance, this cooperation is very relaxed and happy!
english
<filename>Playground/Library/StateCache/Hierarchy/e788d3-c74dac705600440428.json {"m_ExpandedPrefabGameObjectFileIDs":[4533067963636316937],"m_ExpandedSceneGameObjectInstanceIDs":[],"m_ScrollY":0.0,"m_LastClickedFileID":4951822796791093216,"m_LastClickedInstanceID":0}
json
<gh_stars>0 # -*- encoding: utf-8 -*- # # Copyright © 2013 New Dream Network, LLC (DreamHost) # # Author: <NAME> <<EMAIL>> # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. import datetime """Model classes for use in the storage API. """ class Model(object): """Base class for storage API models. """ def __init__(self, **kwds): self.fields = list(kwds) for k, v in kwds.iteritems(): setattr(self, k, v) def as_dict(self): d = {} for f in self.fields: v = getattr(self, f) if isinstance(v, Model): v = v.as_dict() elif isinstance(v, list) and v and isinstance(v[0], Model): v = [sub.as_dict() for sub in v] d[f] = v return d def __eq__(self, other): return self.as_dict() == other.as_dict() class Event(Model): """A raw event from the source system. Events have Traits. Metrics will be derived from one or more Events. """ DUPLICATE = 1 UNKNOWN_PROBLEM = 2 def __init__(self, message_id, event_type, generated, traits): """Create a new event. :param message_id: Unique ID for the message this event stemmed from. This is different than the Event ID, which comes from the underlying storage system. :param event_type: The type of the event. :param generated: UTC time for when the event occured. :param traits: list of Traits on this Event. """ Model.__init__(self, message_id=message_id, event_type=event_type, generated=generated, traits=traits) def append_trait(self, trait_model): self.traits.append(trait_model) def __repr__(self): trait_list = [] if self.traits: trait_list = [str(trait) for trait in self.traits] return "<Event: %s, %s, %s, %s>" % \ (self.message_id, self.event_type, self.generated, " ".join(trait_list)) class Trait(Model): """A Trait is a key/value pair of data on an Event. The value is variant record of basic data types (int, date, float, etc). """ NONE_TYPE = 0 TEXT_TYPE = 1 INT_TYPE = 2 FLOAT_TYPE = 3 DATETIME_TYPE = 4 TRAIT_TYPE_MAPPING = { basestring: TEXT_TYPE, int: INT_TYPE, float: FLOAT_TYPE, datetime.datetime: DATETIME_TYPE } def __init__(self, name, dtype, value): if not dtype: dtype = Trait.NONE_TYPE Model.__init__(self, name=name, dtype=dtype, value=value) def __repr__(self): return "<Trait: %s %d %s>" % (self.name, self.dtype, self.value) class Resource(Model): """Something for which sample data has been collected. """ def __init__(self, resource_id, project_id, first_sample_timestamp, last_sample_timestamp, source, user_id, metadata, meter): """Create a new resource. :param resource_id: UUID of the resource :param project_id: UUID of project owning the resource :param first_sample_timestamp: first sample timestamp captured :param last_sample_timestamp: last sample timestamp captured :param source: the identifier for the user/project id definition :param user_id: UUID of user owning the resource :param metadata: most current metadata for the resource (a dict) :param meter: list of the meters reporting data for the resource, """ Model.__init__(self, resource_id=resource_id, first_sample_timestamp=first_sample_timestamp, last_sample_timestamp=last_sample_timestamp, project_id=project_id, source=source, user_id=user_id, metadata=metadata, meter=meter, ) class ResourceMeter(Model): """The definitions of the meters for which data has been collected for a resource. See Resource.meter field. """ def __init__(self, counter_name, counter_type, counter_unit): """Create a new resource meter. :param counter_name: the name of the counter updating the resource :param counter_type: one of gauge, delta, cumulative :param counter_unit: official units name for the sample data """ Model.__init__(self, counter_name=counter_name, counter_type=counter_type, counter_unit=counter_unit, ) class Meter(Model): """Definition of a meter for which sample data has been collected. """ def __init__(self, name, type, unit, resource_id, project_id, source, user_id): """Create a new meter. :param name: name of the meter :param type: type of the meter (guage, counter) :param unit: unit of the meter :param resource_id: UUID of the resource :param project_id: UUID of project owning the resource :param source: the identifier for the user/project id definition :param user_id: UUID of user owning the resource """ Model.__init__(self, name=name, type=type, unit=unit, resource_id=resource_id, project_id=project_id, source=source, user_id=user_id, ) class Sample(Model): """One collected data point. """ def __init__(self, source, counter_name, counter_type, counter_unit, counter_volume, user_id, project_id, resource_id, timestamp, resource_metadata, message_id, message_signature, ): """Create a new sample. :param source: the identifier for the user/project id definition :param counter_name: the name of the measurement being taken :param counter_type: the type of the measurement :param counter_unit: the units for the measurement :param counter_volume: the measured value :param user_id: the user that triggered the measurement :param project_id: the project that owns the resource :param resource_id: the thing on which the measurement was taken :param timestamp: the time of the measurement :param resource_metadata: extra details about the resource :param message_id: a message identifier :param message_signature: a hash created from the rest of the message data """ Model.__init__(self, source=source, counter_name=counter_name, counter_type=counter_type, counter_unit=counter_unit, counter_volume=counter_volume, user_id=user_id, project_id=project_id, resource_id=resource_id, timestamp=timestamp, resource_metadata=resource_metadata, message_id=message_id, message_signature=message_signature) class Statistics(Model): """Computed statistics based on a set of sample data. """ def __init__(self, unit, min, max, avg, sum, count, period, period_start, period_end, duration, duration_start, duration_end, groupby): """Create a new statistics object. :param unit: The unit type of the data set :param min: The smallest volume found :param max: The largest volume found :param avg: The average of all volumes found :param sum: The total of all volumes found :param count: The number of samples found :param period: The length of the time range covered by these stats :param period_start: The timestamp for the start of the period :param period_end: The timestamp for the end of the period :param duration: The total time for the matching samples :param duration_start: The earliest time for the matching samples :param duration_end: The latest time for the matching samples :param groupby: The fields used to group the samples. """ Model.__init__(self, unit=unit, min=min, max=max, avg=avg, sum=sum, count=count, period=period, period_start=period_start, period_end=period_end, duration=duration, duration_start=duration_start, duration_end=duration_end, groupby=groupby) class Alarm(Model): ALARM_INSUFFICIENT_DATA = 'insufficient data' ALARM_OK = 'ok' ALARM_ALARM = 'alarm' ALARM_ACTIONS_MAP = { ALARM_INSUFFICIENT_DATA: 'insufficient_data_actions', ALARM_OK: 'ok_actions', ALARM_ALARM: 'alarm_actions', } """ An alarm to monitor. :param alarm_id: UUID of the alarm :param type: type of the alarm :param name: The Alarm name :param description: User friendly description of the alarm :param enabled: Is the alarm enabled :param state: Alarm state (ok/alarm/insufficient data) :param rule: A rule that defines when the alarm fires :param user_id: the owner/creator of the alarm :param project_id: the project_id of the creator :param evaluation_periods: the number of periods :param period: the time period in seconds :param timestamp: the timestamp when the alarm was last updated :param state_timestamp: the timestamp of the last state change :param ok_actions: the list of webhooks to call when entering the ok state :param alarm_actions: the list of webhooks to call when entering the alarm state :param insufficient_data_actions: the list of webhooks to call when entering the insufficient data state :param repeat_actions: Is the actions should be triggered on each alarm evaluation. """ def __init__(self, alarm_id, type, enabled, name, description, timestamp, user_id, project_id, state, state_timestamp, ok_actions, alarm_actions, insufficient_data_actions, repeat_actions, rule): Model.__init__( self, alarm_id=alarm_id, type=type, enabled=enabled, name=name, description=description, timestamp=timestamp, user_id=user_id, project_id=project_id, state=state, state_timestamp=state_timestamp, ok_actions=ok_actions, alarm_actions=alarm_actions, insufficient_data_actions= insufficient_data_actions, repeat_actions=repeat_actions, rule=rule) class AlarmChange(Model): """Record of an alarm change. :param event_id: UUID of the change event :param alarm_id: UUID of the alarm :param type: The type of change :param detail: JSON fragment describing change :param user_id: the user ID of the initiating identity :param project_id: the project ID of the initiating identity :param on_behalf_of: the tenant on behalf of which the change is being made :param timestamp: the timestamp of the change """ CREATION = 'creation' RULE_CHANGE = 'rule change' STATE_TRANSITION = 'state transition' DELETION = 'deletion' def __init__(self, event_id, alarm_id, type, detail, user_id, project_id, on_behalf_of, timestamp=None ): Model.__init__( self, event_id=event_id, alarm_id=alarm_id, type=type, detail=detail, user_id=user_id, project_id=project_id, on_behalf_of=on_behalf_of, timestamp=timestamp)
python
<gh_stars>0 { "challenge" : "Trivia Uitdaging", "questions" : "Trivia Vragen", "select" : "- Selecteer een sessie -", "create" : "Maak een nieuwe sessie", "name" : "Naam", "delete" : "Sessie verwijderen", "timePer" : "Tijd per vraag:", "seconds" : "seconden", "leaderboardUp" : "Leaderboard tot", "place" : "plaats", "addNew" : "Nieuwe vraag toevoegen", "completeLast" : "Laatste vraag invullen", "presentation" : "Presentatiescherm", "launch" : "Presentatie starten", "launchAdmin" : "Mobiel beheer inschakelen", "next" : "Eerstvolgende", "background" : "URL van aangepaste achtergrondafbeelding. Aanbevolen: min. 700 x 700 pixels.", "confirmDelete" : "Weet u zeker dat u sessie ${session}wilt verwijderen?", "initialize" : "Deze sessie is niet geïnitialiseerd. Klik op 'Start Game' in het Trivia beheerderpaneel om spelers toe te staan om mee te doen.", "waiting" : "Aan het wachten", "toJoin" : "op spelers om mee te doen", "hasJoined" : "is erbij gekomen", "leaderboard" : "Leaderboard", "init" : "Start het spel", "start" : "Start vraag", "endEarly" : "Beëindig de huidige vraag vroeg", "display" : "Geef het leaderboard weer", "end" : "Einde spel", "reset" : "Reset trivia-sessie", "confirmReset" : "Weet u zeker dat u de huidige trivia-sessie wilt vernietigen? Dit kan niet ongedaan gemaakt worden.", "question" : "Vraag ${num}", "correct" : "Goed antwoord", "saveQ" : "Vraag opslaan", "deleteQ" : "Vraag verwijderen", "cancelChanges" : "Veranderingen annuleren", "confirmDeleteQ" : "Weet u zeker dat u de vraag wilt verwijderen?", "selectAdmin" : "Beheerders selecteren", "currentAdmin" : "Huidige beheerders", "scroll" : "Scroll naar beneden om Active Game te bekijken", "export" : "Lijst exporteren", "exportResponses" : "Reacties exporteren" }
json
{"name":"pretty-hrtime","description":"process.hrtime() to words","version":"1.0.0","homepage":"https://github.com/robrich/pretty-hrtime","repository":{"type":"git","url":"git://github.com/robrich/pretty-hrtime.git"},"author":{"name":"<NAME>","url":"http://robrich.org/"},"main":"./index.js","keywords":["hrtime","benchmark"],"devDependencies":{"mocha":"^2.1.0","should":"^4.4.2"},"scripts":{"test":"mocha"},"engines":{"node":">= 0.8"},"licenses":[{"type":"MIT","url":"http://github.com/robrich/pretty-hrtime/raw/master/LICENSE"}],"gitHead":"6bbed5f5e7ff2a1ba63c51beb720c4db4d65e4b4","bugs":{"url":"https://github.com/robrich/pretty-hrtime/issues"},"_id":"pretty-hrtime@1.0.0","_shasum":"f6e6a522d3e60704522bf0dbe6856ed20e75e4dc","_from":"pretty-hrtime@>=1.0.0 <2.0.0","_npmVersion":"2.1.3","_nodeVersion":"0.10.35","_npmUser":{"name":"robrich","email":"<EMAIL>"},"maintainers":[{"name":"robrich","email":"<EMAIL>"}],"dist":{"shasum":"f6e6a522d3e60704522bf0dbe6856ed20e75e4dc","tarball":"http://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.0.tgz"},"directories":{},"_resolved":"https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.0.tgz","readme":"ERROR: No README data found!"}
json
DMX’s longtime New York-based lawyer, Murray Richman, said the rapper was on life support Saturday evening at White Plains Hospital. He had a heart attack. He’s quite ill, Richman said. Richman said he could not confirm reports that DMX, 50, overdosed on drugs and was not sure what caused the heart attack. I’m very sad about it, extremely sad. He’s like my son. He’s just a tremendous person, tremendous entertainer, tremendous human being. And so much to offer, so much to say. Not the run-of-the-mill rapper. A person of great depth," Richman said. On Saturday night, the TMZ. com website reported that it received a statement from a representative of DMX, whose real name is Earl Simmons, that said the rapper was rushed to the hospital after collapsing at home. “At this time he remains in ICU in critical condition. Earl has been a warrior his entire life. This situation represents yet another road he must conquer. The Simmons Family appreciates the overwhelming outpouring of heartfelt love, encouragement, support and prayers for Earl. “Earl is someone whose life and music have been a source of inspiration and strength to so many people around the world. It is reassuring to see his fans return that same passion and energy to him during his time of need," the statement read. DMX made a splash in rap music in 1998 with his first studio album It’s Dark and Hell is Hot, which debuted No. 1 on the Billboard 200 chart. The multiplatinum selling album was anchored by several hits including Ruff Ryders’ Anthem, Get At Me Dog and Stop Being Greedy. The rapper had four other chart-topping albums including …And Then There Was X, Flesh of My Flesh, Blood of My Blood, The Great Depression and Grand Champ. He has released seven albums and earned three Grammy nominations. Along with his music career, DMX paved his way as an actor. He starred in the 1998 film Belly and appeared in Romeo Must Die a couple years later with Jet Li and the late singer Aaliyah. DMX and Aaliyah teamed up for the film’s soundtrack song Come Back in One Piece. The rapper also starred in Exit Wounds with Steven Seagal and Cradle 2 the Grave with Li. Over the years, DMX has battled with substance abuse. The rapper canceled a series of shows to check himself into a rehabilitation facility in 2019. In an Instagram post, his team said he apologized for the canceled shows and thanked his fans for the continued support. Last year, DMX faced off against Snoop Dogg in a Verzuz battle, which drew more than 500,000 viewers. Read all the Latest News, Breaking News and Coronavirus News here. Follow us on Facebook, Twitter and Telegram. (This story has not been edited by News18 staff and is published from a syndicated news agency feed - Associated Press)
english
<reponame>nodebotanist/pulumi-iopipe<filename>example/index.js const pulumi = require("@pulumi/pulumi"); const aws = require("@pulumi/aws"); const serverless = require("@pulumi/aws-serverless"); // Load the Pulumi IO| integration package require("@pulumi/iopipe")(pulumi); // Create a bucket and a function to log new object uploads const bucket = new aws.s3.Bucket("my-bucket"); serverless.bucket.onPut("onNewObject", bucket, async (ev, ctx) => { ctx.iopipe.label('NewS3Object') console.log(ev) }); exports.bucketName = bucket.bucket;
javascript
One day I was walking down the road, going for my tutorials. I saw a very poor child who wore torn clothes which barely covered his body. My parents always told me not to give money to them as they were forced by their parents to beg for money. I felt bad but I was getting late so I couldn't help him. It was children's day but I had my classes. My friend who was walking with me told that the children who live on roadside are so unfortunate as they do not get to celebrate children's day. Those words echoed in my mind and an idea struck me. I called my sister and told her that we should do something for the poor children today. I also involved my friends and we all collected a group of twenty five children who resided on the footpath. We took them to a restaurant and gave them loads of food to eat. Afterwards we also took them to an ice cream parlour. The best thing was to call up an National Government Organisation and request them to take care of these kids. They readily accepted the offer and took them. Now they could get proper education and living. My friends and sister told me that it was a very wise step taken by me and that they all were filled with bliss and joy after helping twenty five lives and make them smile which stole everyone's heart.
english
<reponame>csy2013/freedgo-ofbiz *{margin:0;padding:0;outline: 0 none;} ul{ width:100%; display:table; overflow:auto; margin-bottom:0px; } .cont ul{ font-size:0px; } ul li{ list-style-type:none; } .main{ border:1px solid #f4f4f4; } .main span, .main i,.main ul{ font-size:14px; } .main .title .fold{ visibility:hidden; } .main .fold{ width:3%; vertical-align:middle; margin-left:1%; } .second .fold{ margin-left:4%; } .third .fold{ margin-left:6%; } .main .name{ display:inline-block; *display: inline;zoom: 1; width:19%; margin-left:8px; vertical-align:middle; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .second .name{ width:16%; } .third .name{ width:14%; } .main .img{ display:inline-block; width:10%; } .main .enable{ display:inline-block; width:10%; } .main .number{ display:inline-block; width:10%; } .main .handle{ display:inline-block; width:10%; padding:8px 0px; } ul.first, ul.second, ul.third{ border-top:1px solid #f4f4f4; } ul.third .fold{ visibility:hidden; } .opacity{ width:100%; height:100%; background:#000; position:fixed; top:0; left:0; opacity:0.5; z-index:10; display:none; margin:auto; } .add-panel{ display:none; width:30%; position:absolute; top:40%; left:30%; right:30%; background:#fff; padding:5%; border-radius:10px; z-index:11; } .input-name{ width:96%; font-size:16px; padding:2%; margin-bottom:10%; } .btn-cancel{ width:35%; float:left; margin-left:5%; font-size:16px; padding:2%; } .btn-sure{ width:35%; float:right; margin-right:5%; font-size:16px; padding:2%; }
css
<gh_stars>10-100 /** * Copyright (C) 2021 Alibaba Group Holding Limited * All rights reserved. */ import { Mesh } from '@gs.i/frontend-sdk' import { deepCloneMesh } from './utils' import { Marker } from './Marker' import { PolarisGSI, StandardLayer, StandardLayerProps } from '@polaris.gl/gsi' import { CoordV2, PickInfo } from '@polaris.gl/base' /** * 配置项 interface */ export interface MarkerLayerProps extends StandardLayerProps { data?: any[] lng?: number lat?: number alt?: number offsetX?: number offsetY?: number html?: HTMLElement | string | null style?: { [key: string]: string } object3d?: Mesh | null autoHide?: boolean /** * enables high performance mode will reduce the calculation of marker.worldMatrix * which may cause position/screenXY updating lag (a bit) */ highPerfMode?: boolean /** * Whether to test only Marker's object3d only or * test its children when performing raycast */ recursivePicking?: boolean } /** * 配置项 默认值 */ export const defaultProps: MarkerLayerProps = { name: 'MakerLayer', alt: 0, html: null, offsetX: 0, offsetY: 0, object3d: null, autoHide: false, highPerfMode: false, recursivePicking: false, } /** * Markerayer,在地图上放置多个三维和二维Marker,实现数据的实时更新和刷新 * data数据结构 * [{ * lnglat: [], alt, html, object3d, * ...OtherLayerProps都可单独设置 * }] */ export class MarkerLayer extends StandardLayer<MarkerLayerProps> { props: any private _markers: Marker[] get markers() { return this._markers } constructor(props: MarkerLayerProps = {}) { const config = { ...defaultProps, ...props, } super(config) this.props = config this._markers = [] this.element.className = 'maker-layer' } init(projection) { const watchProps = [ 'alt', 'html', 'offsetX', 'offsetY', 'object3d', 'autoHide', 'highPerfMode', ] as const this.watchProps( watchProps, (event) => { const updateProps = {} event.changedKeys.forEach((key) => { updateProps[key] = this.getProp(key) }) this._markers.forEach((marker) => { if (marker) marker.updateProps(updateProps) }) }, { immediate: true } ) /** * 数据结构 * data: [{ * lnglat: [], alt, html, object3d, * ...Other MarkerLayerProps 都可单独设置 * }] */ this.watchProp( 'data', () => { const data = this.getProp('data') if (!data) return this.updateMarkers(data) }, { immediate: true } ) } raycast(polaris, canvasCoord, ndc) { if (!this.getProp('pickable') || !this.getProp('data')) return const data = this.getProp('data') const results: PickInfo[] = [] for (let i = 0; i < this._markers.length; i++) { const marker = this._markers[i] const result = this._pickMarker(polaris as PolarisGSI, canvasCoord, ndc, marker, i) if (result) { const pickEvent = { ...result, index: i, data: data ? data[i] : undefined, } results.push(pickEvent) } } results.sort((a, b) => a.distance - b.distance) return results[0] } updateMarkers(data: any[]) { // Remove old markers this._markers.forEach((marker) => { this.remove(marker as any) // todo: marker should not be layer }) this._markers.length = 0 for (let i = 0; i < data.length; i++) { const markerProps = data[i] // Handle lnglat => lng,lat markerProps.lng = markerProps.lng ?? markerProps.lnglat[0] markerProps.lat = markerProps.lat ?? markerProps.lnglat[1] delete markerProps.lnglat // Handle html & object3d props const html = this.getProp('html') if (!markerProps.html && html) { if (html instanceof HTMLElement) { markerProps.html = html.cloneNode() } else { markerProps.html = html } } if (!markerProps.style && this.getProp('style')) { markerProps.style = this.getProp('style') } const object3d = this.getProp('object3d') if (!markerProps.object3d && object3d) { markerProps.object3d = deepCloneMesh(object3d) } const marker = new Marker({ ...this.props, ...markerProps, pickable: false, }) this.add(marker as any) // todo: marker should not be layer this._markers.push(marker) } } show(duration = 1000) { this._markers.forEach((marker) => { marker.show(duration) }) } hide(duration = 1000) { this._markers.forEach((marker) => { marker.hide(duration) }) } private _pickMarker( polaris: PolarisGSI, canvasCoords: CoordV2, ndc: CoordV2, marker: Marker, dataIndex: number ): PickInfo | undefined { const data = this.getProp('data') if (!data || data.length === 0) return const pickResult = marker.raycast(polaris, canvasCoords, ndc) if (!pickResult) return pickResult.index = dataIndex pickResult.data = { dataItem: data[dataIndex], } return pickResult } }
typescript
<link rel="stylesheet" href="{{ "/assets/css/sidebar.css" | relative_url }}" media="screen and (min-width: 70em)"> <aside style="display: none"> <nav> {%- for item in site.navigation -%} {%- assign node = site.pages | where: "name", item.file | first -%} {%- assign url = item.url | default: node.url -%} {%- assign title = item.title | default: node.title -%} {%- assign icon = item.icon | default: item.sidebaricon -%} <a aria-label="{{ title }}" href="{{ url | relative_url }}" {% if url == page.url %}class="selected"{% endif %}> <svg aria-hidden="true" class="icon"><use xlink:href="{{ "/assets/fontawesome/icons.svg" | relative_url }}#{{ icon }}"></use></svg> <span aria-hidden="true">{{ title }}</span> </a> {%- endfor -%} {%- for item in site.external -%} {%- assign node = site.pages | where: "name", item.file | first -%} {%- assign url = item.url | default: node.url -%} {%- assign title = item.title | default: node.title -%} {%- assign icon = item.icon | default: item.sidebaricon -%} <a aria-label="{{ title }}" href="{{ url | relative_url }}" {% if url == page.url %}class="selected"{% endif %}> <svg aria-hidden="true" class="icon"><use xlink:href="{{ "/assets/fontawesome/icons.svg" | relative_url }}#{{ icon }}"></use></svg> <span aria-hidden="true">{{ title }}</span> </a> {%- endfor -%} </nav> <div class="description">{{ site.description }}</div> </aside>
html
{"url":["http://www.fabartdiy.com/wp-content/uploads/2014/10/how-to-diy-decorative-yarn-balls.jpg","http://www.santaclaus.lt/i/listings-prices/ruchnaja-rospis/b/d80/h2-80-2984-S003-Uzor-novogodnij-na-krasnoj-jemali.JPG","https://s-media-cache-ak0.pinimg.com/originals/b4/ca/c2/b4cac2374746a330ec49002be7e28e6b.jpg","http://images.all-free-download.com/images/graphicthumb/christmas_decoration_ball_vector_152911.jpg","http://www.boutchambre.fr/wp-content/uploads/2016/04/decoration-de-chambre-dragon-ball-z-3-1024x768.jpg","http://3.bp.blogspot.com/-Earup-bnBbw/VPvBEa32OtI/AAAAAAAAFlo/frngMhk2Z_k/s1600/Lake%2BMirror%2BMask%2BArch%2BDiamonds%2Band%2BPearls%2BMasquerade%2BBall%2B%2B.jpg","https://s-media-cache-ak0.pinimg.com/originals/d8/18/25/d81825901633ee4be2651060bf5fadd8.jpg","http://media-cache-ak0.pinimg.com/736x/25/db/d8/25dbd8d385c37136799de0b3b4c90520.jpg","http://www.wardloghome.com/wp-content/uploads/2017/02/masquerade-ball-party-decorations-decorating-of-party-with-masquerade-party-decorations.jpg","http://cdn.notonthehighstreet.com/system/product_images/images/000/800/310/original_nostalgic-paper-ball-decorations.jpg","https://i.pinimg.com/736x/95/ba/28/95ba28604ec7b9af62acf9446e58dd2b--yarn-ball-ball-lights.jpg","http://www.thematicbirthdayplanner.com/wp-content/uploads/2016/05/Masquerade-Ball-Party-Theme-Decoration-ideas-in-Pakistan-7.jpg","http://www.topinspired.com/wp-content/uploads/2013/12/Hanging-Bubbly-Ball-Decorations.jpg","http://www.thematicbirthdayplanner.com/wp-content/uploads/2016/05/Masquerade-Ball-Party-Theme-Decoration-ideas-in-Pakistan-26.jpg","http://image.shutterstock.com/z/stock-vector-christmas-ornaments-christmas-balls-decorations-christmas-hanging-decoration-set-327855053.jpg","https://thumbs.dreamstime.com/z/red-christmas-decoration-ball-ribbon-bow-isolated-white-background-48099198.jpg","https://s-media-cache-ak0.pinimg.com/736x/7f/42/ec/7f42ec6be8d89cb51faba0e441549e52.jpg","http://www.newnise.com/wp-content/uploads/2015/01/Cute-diy-masquerade-ball-design-ideas.jpg","https://i.pinimg.com/736x/c9/b9/10/c9b910ccb719f16df1e1569feb0228c5--masquerade-party-centerpieces-masquerade-ball-decorations.jpg","http://www.boutchambre.fr/wp-content/uploads/2016/04/decoration-de-chambre-dragon-ball-z-8.jpg","http://adorable-home.com/wp-content/gallery/decorate-with-christmas-ball-ornaments/decorate-with-christmas-ball-ornaments-3.jpg","http://www.craftymorning.com/wp-content/uploads/2015/12/golf-ball-christmas-ornament-craft-ideas.png","https://img.clipartxtras.com/d70456ac792dddbefff717a8545fb4f7_christmas-hanging-ball-decoration-png-clipart-image-gallery-christmas-tree-ball-decorations-clipart_5980-4394.png","http://365psd.com/images/previews/1bd/christmas-decorations-vector-snow-ball-19884.jpg","http://www.wardloghome.com/wp-content/uploads/2017/02/masquerade-party-decorations.jpg","http://www.lushlee.com/images/occasions/10/7/tissue-ball-decor.jpg","http://www.thewoodentrunklv.com/wp-content/uploads/2014/09/decoration-christmas-decorating-ideas-christmas-balls-try-these-christmas-decoration-ideas-for-the-next-christmas-christmas-mantel-christmas-decoration-christmas-christmas.jpg","https://i.ytimg.com/vi/ysIJdUaJZhc/maxresdefault.jpg","https://s-media-cache-ak0.pinimg.com/originals/b2/00/44/b20044fe77379174d25e279568785981.jpg","http://cdn.notonthehighstreet.com/system/product_images/images/000/871/931/original_tissue-honeycomb-balls.jpg","https://i.pinimg.com/736x/79/4f/8c/794f8c861dec9000b86239800ec52580--masquerade-party-centerpieces-masquerade-ball-decorations.jpg","http://www.partypacks.co.uk/images/shop_categories/masquerade-ball-decorations-38377.jpg","http://www.allthingsgd.com/wp-content/uploads/2014/11/Yarn-Ball-Ornaments.jpg","http://pics.clipartpng.com/Christmas_Ball_Decor_PNG_Clipart-8.png","https://s-media-cache-ak0.pinimg.com/originals/99/66/ac/9966aca5d0a94f3fa08b5f31aa7465f8.jpg"]}
json
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Piedipartino","circ":"2ème circonscription","dpt":"Haute-Corse","inscrits":34,"abs":10,"votants":24,"blancs":0,"nuls":0,"exp":24,"res":[{"nuance":"REG","nom":"<NAME>","voix":22},{"nuance":"REM","nom":"<NAME>","voix":2}]}
json
Captain Hook and his crew are currently resting at Origin Shore. They are about to embark on their next adventure to an undisclosed location `(x, y)`to find treasure. Captain Hook's ship can only move exactly north, south, east or west. It takes exactly 1 day for the ship to travel 1 unit in one of the four cardinal directions. After every 5 days, the crew will take one day of rest. Given the location of the treasure, find out how long it takes for Captain Hook and his crew to find the treasure. The ship is currently at coordinate `(0, 0)`. numberOfDays([3, 5]) => 9 days // Since: 3 days east + 2 days north (5 days passed) + 1 day of rest + 3 days north numberOfDays([-4, -1]) => 5 days // Since 4 days west + 1 day south ### Examples ### numberOfDays([10, 10]) ➞ 23 numberOfDays([3, 3]) ➞ 7 numberOfDays([-10, -9]) ➞ 22 numberOfDays([-1, -2]) ➞ 3 ### Notes ### N/A
markdown
<filename>package.json { "name": "automatedspirit", "version": "1.0.0", "description": "Automate tasks for TeamSpirit", "main": "src/index.js", "author": "AdamGoodApp", "license": "MIT", "private": false, "scripts": { "start": "nodemon src/index..js" }, "devDependencies": { "nodemon": "^2.0.7" }, "dependencies": { "puppeteer": "^9.0.0" } }
json
{ "name": "@azbake/ingredient-property-service", "version": "0.1.17", "lockfileVersion": 1, "requires": true, "dependencies": { "typescript": { "version": "3.8.3", "resolved": "https://pkgs.dev.azure.com/hchb/_packaging/internal/npm/registry/typescript/-/typescript-3.8.3.tgz", "integrity": "sha1-QJ64VE6gM1cR<KEY> } } }
json
{ "name": "Salada", "version": "2.0", "summary": "Salada is OR Mapper for Firebase.", "homepage": "https://github.com/1amageek/Salada", "license": { "type": "BSD" }, "authors": "1amageek", "social_media_url": "https://twitter.com/1amageek", "platforms": { "ios": "8.0" }, "ios": { "frameworks": "UIKit" }, "requires_arc": true, "source": { "git": "https://github.com/1amageek/Salada.git", "tag": "2.0" }, "source_files": "Salada/**/*.swift", "dependencies": { "Firebase/Core": [ ], "Firebase/Database": [ ], "Firebase/Storage": [ ] }, "pod_target_xcconfig": { "OTHER_LDFLAGS": "$(inherited) -framework \"FirebaseCore\" -framework \"FirebaseDatabase\" -framework \"FirebaseStorage\" -framework \"FirebaseInstanceID\" ", "CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES": "YES", "FRAMEWORK_SEARCH_PATHS": "$(inherited) \"${PODS_ROOT}/FirebaseCore/Frameworks\" \"${PODS_ROOT}/FirebaseDatabase/Frameworks\" \"${PODS_ROOT}/FirebaseStorage/Frameworks\" \"${PODS_ROOT}/FirebaseInstanceID/Frameworks\" " }, "pushed_with_swift_version": "3.0" }
json
Battlefield 2042 has launched a major patch in Update 4. The update brings a slew of changes to the title, including finally bringing voice chat in the multiplayer-only first-person shooter, where team coordination plays an important role. Battlefield 2042, the latest iteration of the iconic franchise, was poised to be the biggest leap forward for the franchise, but ended up crashing and burning, possibly even killing the franchise. The game launched in an unfinished state with not only a slew of unplayable bugs but also missing necessary features like a proper scoreboard and voice chat. While the previous update finally fixed the scoreboard, Update 4 finally brought voice chat and rebalanced the specialists. Let’s take a look at the patch notes below. Update 4 or patch 0. 4. 0 brings a massive slew of changes to the title. From finally getting VoiceOver IP (VOIP) to an enormous specialist overhaul, the update is arguably the biggest. With that being said, let's take a look at the patch notes. - VoIP (Voice over Internet Protocol) is now available in Battlefield 2042. - There are two voice chat channels to choose between; Party and Squad. Settings for VoIP can be adjusted via Options > Sound/Voice > Chat while in-game. - In Update 3. 3 we released the UI refresh for the Scoreboard. Following this update, this UI refresh will now also be available during the End of Round screens. - With Update 4. 0 we’ve overhauled the behavior of many weapon attachments to ensure that their impact when customizing your weapons is unique and noticeable. Previously, some attachments had effects that were too similar to others, and it was unclear what the impact on your weapons would be when switching between them. - We encourage you to experiment with the refreshed weapon attachments to see how they feel after the update, and you’ll be able to read the full set of changes further down the page. - Assists can now trigger when a teammate kills an enemy and either of them was covered in smoke you deployed. - Fixed a bug where a user encounters a matchmaking loop and gets sent back to the lobby. Battlefield 2042 Update 0. 4. 0 - Further adjustments to specific Ribbons: Battlefield 2042 Update 0. 4. 0 - XP from support actions has been increased, while XP from objective actions has been decreased to compensate: - Sector/Objective Defended, from 15 -> 10 XP. Battlefield 2042 Update 0. 4. 0 - We’ve resolved multiple smaller issues across all maps that could negatively impact gameplay: - Fixed an issue where certain camera transitions would force the player’s FOV to be reset to the default FOV (55°) - Replaced Trojan Network with the Thread Perception Trait: - Replaced Threat Perception with the Eagle Eyed Trait: - Added new options that allow players to scale the transparency of many different icons in the HUD (Friendly icons, Squad member icons, Enemy Icons, Revive Icons, Objective Icons and Ping Marker Icons). Each icon type can have a different transparency when zoomed or not zoomed. The option can be found under DISPLAY > HUD ICONS. - Added a Chat Log Visibility option to allow players to set the default visibility mode of the chat log (which allows it to be turned OFF on console where no key bindings exists to change visibility in-game) - Adjusted scaling of objective icons over distance, they will now start scaling at 50m (instead of 100m) and stop scaling at 500m instead (instead of 1000m) - Improved the positioning of the preview of deployed objects (such as Boris's turret) to better reflect the surface the player is trying to place it on, instead of hovering in the air. The behavior of many weapon attachments has been overhauled to ensure that their impact when customizing your weapons is unique, and noticeable. Previously, some attachments had effects that were too similar from others, and it was unclear what the impact on your weapons would be when switching between them. Here’s an example of updated behavior while customizing the AC-42: Battlefield 2042 Update 0. 4. 0 - Further changes to Weapon Attachments: - As outlined in our recent Core Feedback, we are adjusting the number of active vehicles across maps and modes, and you’ll notice the first iteration of this change within this update. As an example of how that plays out on Breakthrough 64 for Kaleidoscope, here is how we adjusted total available vehicles in the match, per Sector: - Fixed an issue which would cause vehicles to not be deployed when called-in, but still shown as 'in-play' - Lights on air vehicles are now turned on when a player is in the cockpit. - Fixed an issue which would occasionally see the AH-64GX Apache Warchief or KA-520 Super Hokum Smart rockets ignore their target. - Vehicle 3rd person camera no longer clips through the environment. - The 'Hints for Controls' option now displays for all intended vehicles. - Backpacks can no longer be seen sticking out of the side of the B17 Bomber. - Deploy animation will now only play once after the player has switched seats multiple times in a row within vehicles. - Weathering effects are now applied more consistently to vehicles. - Vehicles now show both soldier and vehicle health for all seats occupied by the player. - Updated the “Transport Look Behind" option to "Reset Camera View" - Fixed an issue that would cause the MC5 Bolte to fall through the world on Orbital after clipping tree trunks. - Fixed an issue that would cause the camera to break when revived from under a LATV4 Recon. - Fixed issue where the animation of the M5C Bolte's main gun could become stuck in the firing animation. GTA 5's mammoth $7,700,000,000 earnings set to be challenged by upcoming game! Know more here.
english
More than 2,000 people are awaiting organ transplants. Despite a two-fold rise from 26 in 2011 to 46 in 2012,the number of cadaver donations is low as compared to demand. At 369,number of live donations in these two years was also low. What can the state do? The only thing the state can do is step up awareness,so that more people pledge organs. Communities such as the Jains donate organs proactively. I recently met the cardinal in Mumbai to promote cadaver donation among Catholics. But awareness is expensive. Moreover,organ transplantation is a tricky issue with scope for racketeers to make money. However,social change is coming about. Earlier,people would hesitate to donate even blood. Do you think the zonal transplantation coordination committee (ZTCC) needs to be more strict while sanctioning transplants? ZTCC is already very strict. There are grey areas in Transplant of Human Organs Act,which can lead to misuse. These need to be looked at by ministry of medical education under which ZTCC functions. A GR was issued four months ago allowing non-transplant hospitals having ICUs and operation theatres to retrieve organs from brain-dead patients. What has been the response of private hospitals? A number of private hospitals have come forward. These hospitals speak to relatives of brain dead patients and inform ZTCC. Another GR issued around the same time makes it compulsory for hospitals to have a group of experts to confirm if a patient is brain dead. More than 300 hospitals in the state have already registered. What are the recent steps taken by the health ministry to increase donations? Last month,we launched an initiative with regional transport offices (RTOs) in Mumbai and Pune to encourage people applying for new licences or renewal to donate organs. A person who comes to RTO for a driving test will be given a booklet explaining the need for organ donation. He will also be given a pledge form. If the person agrees,a green heart organ donor sticker will be pasted on his/her licence. A similar initiative has been started in colleges.
english
Now in paperback, this is the definitive collection of America′s bestselling poet Rumi′s finest poems of love and lovers. In Coleman Barks′ delightful and wise renderings, these poems will open your heart and soul to the lover inside and out. ′There are lovers content with longing. Rumi is best known for his poems expressing the ecstasies and mysteries of love of all kinds - erotic, divine, friendship -and Coleman Barks collects here the best of those poems, ranging from the ′wholeness′ one experiences with a true lover, to the grief of a lover′s loss, and all the states in between: from the madness of sudden love to the shifting of a romance to deep friendship - these poems cover all ′the magnificent regions of the heart′. Sufism inspired writings of Persian poet and mystic Jalal ad-Din Muhammad ar-Rumi; these writings express the longing of the soul for union with the divine. Jalāl ad-Dīn Muhammad Rūmī - also known as Jalāl ad-Dīn Muhammad Balkhī, Mevlânâ/Mawlānā (مولانا, "our master"), Mevlevî/Mawlawī (مولوی, "my master") and more popularly simply as Rumi - was a 13th-century Persian poet, jurist, Islamic scholar, theologian and Sufi mystic who lived in Konya, a city of Ottoman Empire (Today's Turkey). His poems have been widely translated into many of the world's languages, and he has been described as the most popular poet and the best-selling poet in the United States. His poetry has influenced Persian literature, but also Turkish, Ottoman Turkish, Azerbaijani, Punjabi, Hindi, and Urdu, as well as the literature of some other Turkic, Iranian, and Indo-Aryan languages including Chagatai, Pashto, and Bengali. Due to quarrels between different dynasties in Khorāṣān, opposition to the Khwarizmid Shahs who were considered devious by his father, Bahā ud-Dīn Wālad or fear of the impending Mongol cataclysm, his father decided to migrate westwards, eventually settling in the Anatolian city Konya, where he lived most of his life, composed one of the crowning glories of Persian literature, and profoundly affected the culture of the area. When his father died, Rumi, aged 25, inherited his position as the head of an Islamic school. One of Baha' ud-Din's students, Sayyed Burhan ud-Din Muhaqqiq Termazi, continued to train Rumi in the Shariah as well as the Tariqa, especially that of Rumi's father. For nine years, Rumi practised Sufism as a disciple of Burhan ud-Din until the latter died in 1240 or 1241. Rumi's public life then began: he became an Islamic Jurist, issuing fatwas and giving sermons in the mosques of Konya. He also served as a Molvi (Islamic teacher) and taught his adherents in the madrassa. During this period, Rumi also travelled to Damascus and is said to have spent four years there. It was his meeting with the dervish Shams-e Tabrizi on 15 November 1244 that completely changed his life. From an accomplished teacher and jurist, Rumi was transformed into an ascetic. On the night of 5 December 1248, as Rumi and Shams were talking, Shams was called to the back door. He went out, never to be seen again. Rumi's love for, and his bereavement at the death of, Shams found their expression in an outpouring of lyric poems, Divan-e Shams-e Tabrizi. He himself went out searching for Shams and journeyed again to Damascus. Rumi found another companion in Salaḥ ud-Din-e Zarkub, a goldsmith. After Salah ud-Din's death, Rumi's scribe and favourite student, Hussam-e Chalabi, assumed the role of Rumi's companion. Hussam implored Rumi to write more. Rumi spent the next 12 years of his life in Anatolia dictating the six volumes of this masterwork, the Masnavi, to Hussam. In December 1273, Rumi fell ill and died on the 17th of December in Konya. Let me tell you an anecdote. Two years ago, on a certain sunny day, I was walking home after my classes. I was missing home but wasn’t sad nor was I feeling any sense of loneliness; I was quite happy that day. I was listening to Thais from Meditation Act II, a composition of Jules Massenet and my mind was quite at peace. The day seemed quite ordinary; nothing spectacular was happening anywhere within my sight. But then, suddenly, out of nowhere, something overwhelming happened to me. I have a habit of looking at the clouds and the leaves of the tall trees dancing against the sky while I am walking. At this moment I was doing the same, and saw a bird fly across the sky. I am not sure which bird it was, maybe a falcon, but seeing it repeatedly soaring in circles, noticing the beautiful soft arc of its wings, moved something inside me. Maybe it was the music, or the summer leaves, but at that instance they all seemed to be merging and becoming one with the flight of that strange bird. It was almost as if I was a part of something mystic and surreal and I felt I was a part of that mysterious amalgamation too. I do not know how to explain this, but I felt one with everything that was around me and as if everything that I was seeing was happening inside me at the same time as it was happening outside of me. At this moment, my eyes welled up with tears and the tears started flowing down in streams. These tears while dripping from my chin brought me back to my senses. I have never felt so euphoric in my life and I certainly doubt if I ever will again. Those few seconds, which almost felt like had soaked up hours of that day, changed everything for me. I don’t know what that was but it was definitely something divine. I never felt anything near to that feeling again, until now at least, but I always long for it. And everytime I read Rumi, he reminds me of that feeling that passed away so soon and digs up those strong emotions which were left buried deep inside my senses. Everytime I read his poems, I experience something close to those magical emotions as he always manages to stir them from within; from my soul. There’s a strange frenzy in my head, of birds flying, each particle circulating on its own. Is the one I love everywhere? It has been more than three years since my first introduction to Rumi. I started with The Essential Rumi, a great complication and translation of his best poems. I picked up this book to pass my time during one of my insomniac nights, which happened to be tonight. I read every poem; some in a rush and some a word at a time. Rumi is like a wise teacher and a friend who sits next to you, wraps you in his arms and recites in soft whispers the deepest secrets of his mystical world against your ear. He talks only about love and there never seem to be any variations of it. It is always about the love that revolves around us, is within us, and flows in and out like a stream finding its way to its river, and the river to its sea but there is no way of knowing which is which; just as water is water, love is love. You’ve so distracted me, your absence fans my love. Don’t ask how. Then you come near. “Do not...,” I say, and “Do not...,” you answer. Don’t ask why that delights me. In your light I learn how to love. In your beauty, how to make poems. You dance inside my chest where no one sees you, but sometime I do, and that sight becomes this art. He talks in stories, at times in riddles about various human emotions but ends them with the divine love which he experiences and urges us to experience them with him. He talks about the soul and heart; the insides of the insides. For him, everything in this world is futile except that. He understands human heart but doesn’t want to understand anything apart from the spiritual bliss with which he is always drunk. He talks about wine and taverns, the bliss of being in intoxication and teaches you that that is how it feels like to be in love, only while being sober. Choose your jar of wine wisely. According to him, everything is a state of mind. You become your obsession; hence obsess over something that would last. The love we experience for anything in this world doesn’t last and only is a result of a deep sadness that it births from or arrives when this love dies. Hence, he says, take pleasure in that undying bliss which is inside you. Look within, he says, and find yourself and dance with that self of yours like a madman in joy. For Rumi, the heart is a hidden casket filled with secrets, all you need to do is dig deep and find that trunk for which the key is You. The God that you pray to or the divinity you search for is in everything that surrounds you and is manifested inside you. There are many forms of kneeling and kissing the ground, he says; any path you choose will lead to the same destination, only some will take longer than the others. His love is not religious, and he refuses to belong to anyone. Everything is about the soul and the one within that soul; the ears of the ear, the eyes of the eye, and the life of the life. In his world, all the dualities of our world cease to exist. Only the One remains. You that come to birth and bring the mysteries, your voice-thunder makes us very happy. Roar, lion of the heart, and tear me open! You are an ocean in a drop of dew, all the universes in a thin sack of blood! What are these pleasures then, these joys, these worlds, that you keep reaching for, hoping they will make you more alive? There is so much more that has been said yet still remains to be said about this soulful poet. I have deeply been in love with Rumi since the day I read my first poem of his. This 800 years old friend of mine has always managed to speak to me in the toughest of times. He has taught me that I am more than my restrictions; personal and societal. That I am more than my body, fears, joys and sorrows. That I am more than anything I could imagine being. Everything is within me and I am within everything. You are invincible, he says. You are divine, he says. You are magic, he says. If you can understand Rumi as himself, you will also fall in love with him. If you don’t, well then you don’t. Poems are the rough notations for the music we are. I am not sure whom to give credit for this book to, Rumi or Coleman Barks. For the gift of translating it we certainly owe a debt to Barks but for the power and the truth contained we more deeply owe Rumi. This is not a book of love poems for a sweetheart or a Valentine. This is a book to be given or read only in the cases of deepest and most positive realization that your life is bound up in another; romantic or otherwise. These poems are not about the kind of love which belongs on Hallmark cards, in fact, Barks refused to lend his translations to that exact company. These poems are about the kind of love that has a deep resonance rather than a high pitched squeal. I won't be so shallow as to say "love hurts" would be a theme, I will go farther and say "love consumes" would best sub-title this book. Not the everyday consumerism that leads us to be drunk on our credit card bills at malls and department stores but the same feeling over addictive and unstoppable behavior for the well being of another. I cannot get across what this book is worth in terms of "love" alone, more aptly this book is religious even if not one of the major ones. Perhaps this is the first holy book of a new religion. However, if you only want to find very hot, sexy poetry, you will find it; only cute, vampirey "cannot live without you" poetry you will gag on it. So you must approach this book expecting more. It will satisfy all the basics, but only if you deeply read and employ your intellect to understand the profound place Rumi speaks from can you reasonably understand this book. However you choose to approach it (I recommend the latter) this book will be one you can and will turn to again and again no matter who you are. Sure enough Barks is talented: it takes lots of skill to turn some of the most eloquent prose, one closest to human nature and its connection with a transcendental reality, into a projection of one's own clinical obsession with sex and materialistic erotic love. A big pat on the back for editorials who are all in for the cash and feel no remorse in desecrating the beauty of this world, serving readers who don't care to frown at the freak show. cannot control their laughter. The nightingale, back from his wandering, their congratulations. The soul goes dancing through the king’s doorway. judge, walks in the courtroom, and several December thieves steal away. from nonexistence, galaxies scattered around their feet. Have you met them? flower has been appointed Inspector of Kingdoms. A feast is set. Listen. The wind is pouring wine! Love used to hide inside images. No more! The orchard hangs out its lanterns. The dead come stumbling by in shrouds. wait for what’s next.” I will. Poems are rough notations for the music we are. My morning readings of Rumi this year have been a mixed pleasure — sometimes — as with this poem — intense, ecstatic, full of light and delight — but other times “meh.” But who knows, the "meh" poems may speak to me at some other time of life. I am not sure how to rate this book, in part because I’m not sure of the quality of the translation, and was not crazy about the casual commentary. Coleman Barks, who I understand is the great popularizer of Rumi’s poetry in the contemporary U.S., creates his own interpretations based on several respected translations (not on the original Persian). Barks breaks up the text into short poems, changes the form, adds titles, and groups the poems into many short chapters according to his perception of their themes. My favorites in this collection were the poems of longing, desire, ecstatic love and union — intended to convey an experience of divine love. Many of the poems dwelt on Rumi’s beloved male friend, companion and muse, Shams Tabriz. However, many of the poems are didactic in a way that’s a bit off-putting for a modern reader — or at least for me. My next step with Rumi will be to seek out the editions of Reynold Nicholson’s 1925 translation, edited by Michael Bielas. But here's one more I loved in Bark's rendition: When I see your face, the stones start spinning! You appear; all studying wanders. I lose my place. Water turns pearly. Fire dies down and doesn’t destroy. In your presence I don't want what I thought I wanted, those three little hanging lamps. Inside your face the ancient manuscripts seem like rusty mirrors. You breathe, new shapes appear, and the music of desire as widespread as spring begins to move like a great wagon. Drive slowly. Some of us walking alongside are lame." The problem with translations is that one never knows how much of what one is reading is the translator’s voice, and how much is the original artist’s voice. Banks is credited with “popularising” Rumi’s works in America. That’s the essence of the difficulty I had with this translation. To “translate” a work, one “expresses the sense of (a word, book etc) in another language”, while to “popularise” a work is to “present a specialised subject in a popular or readily understandable form”. In his note on the translation, Banks admits that in “translating Rumi into American” he may have distorted what Rumi searched for in his poems: the ecstasy of Divine Love. Having watched both live and DVD performances of the Whirling Dervishes (a spiritual meditative dance based on the teachings of Rumi), I approached this volume with the expectation of experiencing that same sense of immersion in – or union with – the Divine beloved. Instead, I was left with a weird sense of dislocation. While Banks’ intentions in attempting this translation were clearly a sincere attempt to express the ecstasy he has found in Rumi’s original words, this reader was unable to share in that lyrical ecstasy. Contemporary images celebrated sexual union, but not ecstatic union. While there’s nothing wrong with celebrating sex, Rumi celebrates sex in the same way that Kabbalists would on a Sabbath: as a ‘tikkun’. In this translation, the idea of “sex as Divine union with the Other” was lost in modern crudity. For example, ���Is this the way a man prays, with his balls? Does your penis long for union like this? Is that why her legs are so covered with this stuff?” [Pg 85] Stuff? Stuff? The modern language, too, was conveyed without any mystical rhythm. In musical terms this would be the steady cadence of a liturgical chant (the exquisite sound of the Gregorian or Benedictine chants). In seeking to convey the lightness of the mystical trance in simple, modern (popular!) terms, the language in this translation became heavy and, with a few notable exceptions, left me sadly earthbound. A lot of people have mistakenly considered this to be a book about romantic love, about love between two people. I guess this is why Rumi is the word of God for fanatic lovers and is quoted so extensively. (I was guilty of this too, at one point!) The book is actually about something else altogether, and something way beyond the scope of worldly emotions and relationships. The call of longing and the ecstasy of union he writes of is all about our search for our Self, or God, whichever you choose. I wish not to speak much of this because it is too daunting a task. To some it may strike a few chords, to some it may not make any sense at all. If however this book falls in your hand at the right time in your life, it is gold. The extent of enjoyment and wisdom you stand to get from this book does not depend on the book at all; it solely rests on how ripe you are for it. This is a book to be kept lovingly on your bed stand and read on one of those nights; you know which. I came across this book while looking for a decent translation to supplement my own reading of the originals. Coleman Barks neither speaks nor reads Persian, Turkish, or Arabic, the languages in which Rumi composed his poetry. He has based his "translation" on the works of other Rumi translators. As a result, all form, structure, and rhythm is lost, along with any diluted meaning he may have found. Not only that, but he refers in his introduction and notes to the Bible. In a collection of works by the world's most well-known Sufi scholar and mystic. Supposedly, he is credited for the New Age popularity of Rumi in America. I can see how that came about. Rather than attempt to review the wonder that is Coleman Barks's sterling re-interpretations of Rumi's staggeringly beautiful mystic poetry, I'm going to simply extract four lines that have been blowing my mind pretty consistently in recent days: "Why did you stop praising?" "Because I've never heard anything back." "This longing you express is the return message." (from "Love Dogs," p. 146) ...and there it is. My mind is blown. As it was by almost every freaking poem in this collection. Let the praise and the longing in these pages guide you to that place where everything is music. Really 2.5 stars... I give 3 for Rumi's poetry but deduct points for the translator, who puts far too much of himself in this book. He even includes a phone number to give you a free CD of his. Um, okay? I came here to read enlightening poetry, not to be shelled your products. Ugh. I wanted to read this book after many references made by Khaled Hosseini to Rumi and Forough Farrokhzad. As a Muslim this is entirely new to me. New to me in the aspect that I felt like I was reading a book that is more related to Zen more so than Islam; that is why I carried on reading the poetry from that aspect. It wasn't a religious book for me but more of spiritual and fictitious, that was the only way that let me enjoy it and finish it. Having said that I loved a lot of the poetry, didn't get many poems and most of all became intrigued to read about this mysterious being that is more famous in the west than here among Muslims and how this character became a signature of the soul and the realm of love and emotions in their purest forms. I certainly found trails of that in the poetry. but I am more curious than pleased. "Coleman Barks ... neither speaks nor reads Persian, he is a popular interpreter of Rumi, rewriting the poems based on other English translations." That is one of the creepiest statements I have ever read. This is the second book by Coleman Barks about Rumi's poetry that I have read. But this time, I felt it more pronounced: that feeling that the translation is flawed, something is missing, Sufi poetry must be way deeper and more spiritual, and most certainly less awkwardly written! I did love some verses, but it was not a specific, it was rather in a really vague manner. Next time, I will read Rumi directly translated from Persian, and I think I will opt for an Arabic translation. No more American appropriated take on Rumi for me. To be perfectly honest, I thought Rumi's Book of Love was a little overrated. Perhaps it was just my translation, but I thought a lot of the poems alluded to obscure cultural (and obviously religious) themes, which makes it extremely curious to me why he is so popularly quoted in modern America. Anyway, there were a few shreds of lightness that I did capture and like, which made up for the parables that were not absorbed... and of course, those are the most quotable. Somehow this bothers me; it makes me think, perhaps something is begin misread or misinterpreted when we quote Rumi. We are taking what we think we understand, without actually understanding all of the teachings of Sufism. So my conclusion is: further study of Sufism is required for me to change my mind about Rumi because my comprehension level just isn't there. Upon a little investigation, I came upon this tidbit about Coleman Barks on Wikipedia: Coleman Barks (born 1937) is an American poet. Although he neither speaks nor reads Persian, he is nonetheless renowned as an interpreter of Rumi and other mystic poets of Persia. I believe I made the right decision in choosing to read this collection at spring’s arrival. Looking up from a page of Rumi’s wisdom to the finally visible grass outside, pausing to consider the depth of a poem and hearing the recently returned birds, and smelling renewal in the air all worked to enhance this reading experience for me. Some of the poems themselves reminded me of spring, and after a very long winter, I am welcoming spring with open arms. (“🎶 Little darlin’, it’s been a long, cold, lonely winter Little darlin’, it seems like years since it’s been here Here comes the sun, here comes the sun 🎶”) "Lovers don’t finally meet somewhere. They’re in each other all along." This book talks about love. But when you expect kind of love which solely involved feeling, this in not the proper book for you. Rumi talked about love in deeper sight. Love is not only about ecstasy and agony, it's also about the purity of love which also purify your soul. If you really dip yourself into this book, you'll be enlightened at the end. You just can't skim this read. Ku ka dhimbje, sherimet do te vijne; Ku ka varferi, pasuria do te mberrije. Ku ka pyetje, do te jepen pergjigje; Ku ka lundrues, uji do te rrjedhe. Harxho me pak kohe tue kerkue uje, etje fito! Atehete uji nga lart dhe poshte do gufoje. Coleman Barks is a literary orientalist. He somehow 'translated' Rumi without knowing Persian, without having studied Islam or Sufism. Still, he wrote over a dozen books on Rumi because they turned a profit. These translations are way out of the lane of the real poems. For authentic translations by students of Persian and Sufism, you should take a look at Persian Poetics on Instagram. This book is just decontextualization and obscuring of Rumi for coin. Really nice collection of poetry. I couldn't help myself and I just highlighted everthing I could relate to. According to a passage in the book, Rumi's poetry is gay despite it being labeled like that who cares right? Love is love. One of my favorites is this line: Things change; nothing wrong with that. What's truly alive is always changing. Rumi's poetry and life are mystical and transcendental. I am grateful for stumbling upon this book during a Valentines day apart from my beloved. However, the translator's vignettes at the beginning of each chapter brought me back to the subzero degree lonely day that is right now. Maybe both are connected and need each other but one was delightful and one cost this book two stars;)
english
body { margin: 0; } h1, h2, h3, p { font-family: var(--pfe-theme--font-family, "Overpass", Overpass, Helvetica, helvetica, arial, sans-serif); } h1, h2 { margin: 15px 0 10px; } pfe-band { --pfe-band--Padding--horizontal: 60px; --pfe-band--Width: 100%; } pfe-card { display: grid; grid-gap: 15px; --pfe-card--Padding: 10px; } pfe-cta { margin-top: 10px; margin-left: 20px; } .force-wrap { max-width: 100px; } .card-layout { display: grid; grid-gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } a { color: #2290ff; } .custom-dark-band { padding: 60px 15px; background: #222; --pfe-broadcasted--color--text: var(--pfe-theme--color--text--on-dark, yellow); --pfe-broadcasted--color--ui-link: var(--pfe-theme--color--ui-link--on-dark, red); --pfe-broadcasted--color--ui-link--hover: var(--pfe-theme--color--ui-link--on-dark--hover, orange); --pfe-broadcasted--color--ui-link--visited: var(--pfe-theme--color--ui-link--on-dark--visited, pink); --pfe-broadcasted--color--ui-link--focus: var(--pfe-theme--color--ui-link--on-dark--focus, orange); } .custom-light-band { padding: 60px 15px; background: #cce7e8; } .custom-on-dark-band { padding: 30px 15px; background: #0d053e; }
css
use super::common; use crate::extension::common::Extension; use anyhow::Result; use structopt::{self, StructOpt}; pub const COMMAND_NAME: &str = "fs-defined-dependencies-locks"; #[derive(Debug, StructOpt, Clone)] #[structopt( name = "no_version", no_version, global_settings = &[structopt::clap::AppSettings::DisableVersion] )] #[structopt(global_setting = structopt::clap::AppSettings::TrailingVarArg)] pub struct Arguments { /// Working directory. #[structopt(name = "working-directory", long)] pub working_directory: String, #[structopt(name = "extension-args", long)] pub extension_args: Vec<String>, } pub fn run_command<T: Extension + std::fmt::Debug>(args: &Arguments, extension: &T) -> Result<()> { let working_directory = std::path::PathBuf::from(&args.working_directory); let result = extension.fs_defined_dependencies_locks(&working_directory, &args.extension_args); common::communicate_result(result)?; Ok(()) } #[derive(Clone, Debug, Default, serde::Serialize, serde::Deserialize)] pub struct FsDefinedDependenciesLocks { pub project_path: std::path::PathBuf, pub package_locks: crate::package::PackageLocks, }
rust
<filename>data/hub-and-spoke-structure-definition.json {"name": "Hub and Spoke Structure Definition", "@id": "https://www.investopedia.com/terms/h/hub_and_spoke_structure.asp", "related": ["https://www.investopedia.com/terms/m/masterfund.asp", "https://www.investopedia.com/terms/m/mastertrust.asp", "https://www.investopedia.com/terms/m/master-feeder-fund.asp", "https://www.investopedia.com/terms/f/feederfund.asp", "https://www.investopedia.com/terms/a/assetmanagement.asp", "https://www.investopedia.com/terms/h/hedgefund.asp"], "body": ["\nA hub and spoke structure is an\u00a0investment\u00a0structure used by an <a data-component=\"link\" data-ordinal=\"1\" data-source=\"inlineLink\" data-type=\"internalLink\" href=\"https://www.investopedia.com/terms/i/investmentcompany.asp\">investment company</a> in which several investment vehicles, each remaining individually managed, pool their assets together, contributing to one central investment vehicle. This can also be called a master-feeder structure.\n", "\nAll of the funds in the system typically have the same investment objective and portfolio manager. The smaller investment vehicles are referred to as the \"spokes.\" The central\u00a0<a data-component=\"link\" data-ordinal=\"1\" data-source=\"inlineLink\" data-type=\"internalLink\" href=\"https://www.investopedia.com/terms/i/investmentvehicle.asp\">investment vehicle</a>\u00a0is referred to as the \"hub\" or the master fund.\n", "\nA hub and spoke structure can provide substantial benefits to managers of investment funds. These types of funds offer numerous efficiencies from their pooled structure. With a hub and spoke structure, capital is channeled to the master fund where all transactions are made, helping to reduce <a data-component=\"link\" data-ordinal=\"1\" data-source=\"inlineLink\" data-type=\"internalLink\" href=\"https://www.investopedia.com/terms/t/transactioncosts.asp\">transaction costs</a>.\n", "\nHub and spoke structures can also accommodate a full range of spoke or feeder funds, providing greater incentive for business development. A fund can be marketed in different ways and to different investors using a multitude of spokes. Each spoke can charge different fees and therefore appeal to a wider array of investors, all the while operating as one investment portfolio.\n", "\nIn addition, hub and spoke structures commonly include both U.S. and <a data-component=\"link\" data-ordinal=\"1\" data-source=\"inlineLink\" data-type=\"internalLink\" href=\"https://www.investopedia.com/investing/pros-cons-foreign-market-investing/\">offshore funds</a>, creating the ability to market the fund globally. These structures are set up as a partnership to service global investors. As a partnership, they can work cooperatively while still allowing for individual feeder fund registration in the U.S. and abroad.\n", "\nAccounting and financial reporting can be complicated in a hub and spoke fund structure. With this type of fund, all transactions, fees, and expenses are accounted for and paid from the master fund. Despite the complicated accounting for inflows and outflows to and from the master fund, its partnership structure allows each feeder fund to be managed individually with its own rules and registrations.\n", "\nThis is particularly beneficial in the case of taxes. Offshore funds often require different taxes on <a data-component=\"link\" data-ordinal=\"1\" data-source=\"inlineLink\" data-type=\"internalLink\" href=\"https://www.investopedia.com/terms/d/dividend.asp\">dividends</a> and <a data-component=\"link\" data-ordinal=\"2\" data-source=\"inlineLink\" data-type=\"internalLink\" href=\"https://www.investopedia.com/terms/c/capitalgain.asp\">capital gains</a>. In a hub and spoke structure, U.S. investors in an onshore fund would be unaffected by any obligations of the offshore fund and vice versa. This structure keeps all fund reporting, fees, and expenses segregated while still allowing for the greater benefit of economies of scale.\n", "\nNumerous hub and spoke funds exist in the market. <a data-component=\"link\" data-ordinal=\"1\" data-source=\"inlineLink\" data-type=\"internalLink\" href=\"https://www.investopedia.com/markets/quote?tvwidgetsymbol=BLK\">BlackRock</a> is one fund manager broadly employing this fund structure in a variety of hub and spoke setups. For example, they run the Master Treasury Strategies Institutional Portfolio, which is the hub, consisting of two spokes, the BlackRock Select Treasury Strategies Institutional Fund and the BlackRock Treasury Strategies Institutional Fund. The funds are able to keep <a data-component=\"link\" data-ordinal=\"2\" data-source=\"inlineLink\" data-type=\"internalLink\" href=\"https://www.investopedia.com/terms/t/tafoe.asp\">fund operating costs</a> relatively low in comparison to their competitors due to the hub and spoke structure.\n"]}
json
<filename>hashdata/8158b80921904cdd68db0fe9823aa145_1.json [{"title": "Religionsgeschichte Europas von Carl Clemen ", "author": "<NAME>, 1865-1940.", "id": "001397224"}, {"title": "Religionsgeschichte Europas von Carl Clemen v. 1", "author": "<NAME>, 1865-1940.", "id": "001397224"}, {"title": "Religionsgeschichte Europas von Carl Clemen v.1", "author": "<NAME>, 1865-1940.", "id": "001397224"}, {"title": "Religionsgeschichte Europas von Carl Clemen v.2", "author": "<NAME>, 1865-1940.", "id": "001397224"}, {"title": "Religionsgeschichte Europas von Carl Clemen v. 2", "author": "<NAME>, 1865-1940.", "id": "001397224"}, {"title": "Religionsgeschichte Europas von Carl Clemen v.2", "author": "<NAME>, 1865-1940.", "id": "001397224"}]
json
#!/usr/bin/env python # encoding: utf-8 ######################################################################## # # Copyright (c) 2016 Baidu, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ######################################################################## from bigflow import transforms def column_sum(pcollection, columns): """ 对输入的PCollection,求所有元素按指定列相加的结果 Args: pcollection (PCollection): 输入PCollection columns(list):要计算的列 Returns: PObject: 聚合结果 >>> import columns >>> _p = _pipeline.parallelize([(1, 1, 1), (1, 2, 2), (1, 3, 1)]) >>> columns.column_sum(_p, [0, 1]).get() [3, 6] """ cols = columns def _get_columns(record): return [record[column] for column in cols] return pcollection.map(_get_columns) \ .reduce(lambda x, y: [a + b for a, b in zip(x, y)])
python
<gh_stars>1-10 <HEAD> <TITLE>GROUND MOVING TARGET INDICATOR (GMTI) FEATURE</TITLE> </HEAD> <BODY> <H1>GROUND MOVING TARGET INDICATOR (GMTI) FEATURE</H1> <HR> <UL> <LI><A HREF="#gmti-hits">GMTI Hits for any Time Interval</A> <LI><A HREF="#gmti-area">Calculation of Obscured Areas</A> <LI><A HREF="#gmti-vector">Sensor-Direction Vector from a Vehicle or GMTI Hit</A> </UL> The GMTI feature is no longer available in Fusion3D. The GMTI feature was developed to analyze obscuration and multibounce problems for GMTI sensors. The viewer accepts GMTI data in the NATO 4607 format and was tested on the LSRS sensor. GMTI files were loaded through the "Vector Features" menu. <P> Fusing GMTI data with the terrain elevation map enables calculation of areas obscured from the sensor at any time. Since the elevation map is so accurate and has such high-resolution, a very detailed calculation of the obscuration from each house or tree can be made. Such calculations can be very useful when tracking vehicles to determine when a vehicle will become obscured and when it can be expected to emerge into the open again. <P> Also, the GMTI feature can be used to investigate the problem of multiple bounces where the apparent location of the target is not the true location. In particular, the ability to visualize the vector from any GMTI hit back to the sensor makes it much easier to identify multibounce hits. These hits are in areas where there should be no moving vehicles, which the terrain model helps to identify. They also are at slightly longer ranges than they should be, which the sensor-direction vector helps to identify. <P> <P> <H2><A NAME="gmti-hits">GMTI HITS FOR ANY TIME INTERVAL</A></H2> You can display GMTI hits for any time interval desired -- the default is from the current clock time to 10 s in the past. The length of the interval is determined by the tag "GMTI-Show-Interval" in the Parameter File. <P> You can run the clock to track GMTI hits as vehicles move. The hits are shown in purple and are largest for the most current hits and get progressively smaller as the hits get older. <P> GMTI data files can often cover very long time intervals. To limit the interval, one can use the tags "Data-Lims-Tmin" and "Data-Lims-Tmax" in the Parameter File. <P> <H2><A NAME="gmti-area">CALCULATION OF OBSCURED AREAS</A></H2> At any location and time, you can calculate the obscuration for an area surrounding that location (see line-of-sight documentation). This capibility is accessed through the "Line-of-Sight" menu under "Calc LOS to GMTI". You click the desired location to the center of the screen and set the time as desired. The LOS calculation then shows the area that is obscured from the sensor at that particular time using the instantaneous sensor position at that time. <P> <H2><A NAME="gmti-vector">SENSOR-DIRECTION VECTOR FROM VEHICLE OR GMTI HIT</A></H2> The viewer can draw a vector from two kinds of objects back towards the instantaneous location of the GMTI sensor. Typically, the GMTI sensor is at a large standoff distance, so the vector is only drawn for a short distance in the sensor direction. You can click (with the middle-mouse button) on any hit to see the vector to that hit. This is useful for understanding the geometry of the hit. <P> If a truth track is loaded (see documentation on vector overlays), then the vector is drawn from the position of the vehicle on the track. This feature was designed for detailed analysis of ground-truthed tests where vehicles are instrumented with GPS and tracked with GMTI. By playing the clock, one can move the vehicle along its track and at any location visualize the line-of-sight from the sensor to the vehicle. Where the vehicle is obscured by a building or tree, you can clearly see the vector passing through the object. <P>
html
<filename>oprr-js/packages/oprr-opr-html-view/package.json { "name": "oprr-opr-html-view", "version": "0.1.0-SNAPSHOT", "description": "Provides a way how content component views can be rendered using non uniformly distributed grid lines.", "main": "js/index.js", "types": "js/index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "tsc", "builddemos" : "tsc && webpack --config demo/demo.webpack-config.js" }, "keywords": [], "author": "<NAME>", "license": "MIT", "dependencies": { "oprr-content-component-base": "^0.1.0-SNAPSHOT", "typescript-map": "^0.0.5" }, "devDependencies": { "webpack": "^3.8.1", "babel-core": "^6.26.0", "babel-loader": "^7.1.2", "babel-preset-env": "^1.6.1", "babel-runtime": "^6.26.0", "babel-polyfill": "^6.26.0" } }
json
<reponame>ftilde/rust-x86asm<gh_stars>0 use instruction_def::*; use test::run_test; use Operand::*; use Reg::*; use RegScale::*; use RegType::*; use {BroadcastMode, Instruction, MaskReg, MergeMode, Mnemonic, OperandSize, Reg, RoundingMode}; #[test] fn vmovsd_1() { run_test( &Instruction { mnemonic: Mnemonic::VMOVSD, operand1: Some(Direct(XMM4)), operand2: Some(Direct(XMM0)), operand3: Some(Direct(XMM7)), operand4: None, lock: false, rounding_mode: None, merge_mode: None, sae: false, mask: None, broadcast: None, }, &[197, 251, 16, 231], OperandSize::Dword, ) } #[test] fn vmovsd_2() { run_test( &Instruction { mnemonic: Mnemonic::VMOVSD, operand1: Some(Direct(XMM7)), operand2: Some(Direct(XMM0)), operand3: Some(Direct(XMM4)), operand4: None, lock: false, rounding_mode: None, merge_mode: None, sae: false, mask: None, broadcast: None, }, &[197, 251, 16, 252], OperandSize::Qword, ) } #[test] fn vmovsd_3() { run_test( &Instruction { mnemonic: Mnemonic::VMOVSD, operand1: Some(Direct(XMM1)), operand2: Some(IndirectDisplaced( EBX, 1558140783, Some(OperandSize::Qword), None, )), operand3: None, operand4: None, lock: false, rounding_mode: None, merge_mode: None, sae: false, mask: None, broadcast: None, }, &[197, 251, 16, 139, 111, 87, 223, 92], OperandSize::Dword, ) } #[test] fn vmovsd_4() { run_test( &Instruction { mnemonic: Mnemonic::VMOVSD, operand1: Some(Direct(XMM6)), operand2: Some(IndirectScaledIndexedDisplaced( RBX, RDI, Four, 1820426427, Some(OperandSize::Qword), None, )), operand3: None, operand4: None, lock: false, rounding_mode: None, merge_mode: None, sae: false, mask: None, broadcast: None, }, &[197, 251, 16, 180, 187, 187, 128, 129, 108], OperandSize::Qword, ) } #[test] fn vmovsd_5() { run_test( &Instruction { mnemonic: Mnemonic::VMOVSD, operand1: Some(Direct(XMM2)), operand2: Some(Direct(XMM3)), operand3: Some(Direct(XMM1)), operand4: None, lock: false, rounding_mode: None, merge_mode: Some(MergeMode::Zero), sae: false, mask: Some(MaskReg::K4), broadcast: None, }, &[98, 241, 231, 140, 16, 209], OperandSize::Dword, ) } #[test] fn vmovsd_6() { run_test( &Instruction { mnemonic: Mnemonic::VMOVSD, operand1: Some(Direct(XMM24)), operand2: Some(Direct(XMM0)), operand3: Some(Direct(XMM23)), operand4: None, lock: false, rounding_mode: None, merge_mode: Some(MergeMode::Zero), sae: false, mask: Some(MaskReg::K7), broadcast: None, }, &[98, 33, 255, 143, 16, 199], OperandSize::Qword, ) } #[test] fn vmovsd_7() { run_test( &Instruction { mnemonic: Mnemonic::VMOVSD, operand1: Some(Direct(XMM5)), operand2: Some(Indirect(EAX, Some(OperandSize::Qword), None)), operand3: None, operand4: None, lock: false, rounding_mode: None, merge_mode: Some(MergeMode::Zero), sae: false, mask: Some(MaskReg::K7), broadcast: None, }, &[98, 241, 255, 143, 16, 40], OperandSize::Dword, ) } #[test] fn vmovsd_8() { run_test( &Instruction { mnemonic: Mnemonic::VMOVSD, operand1: Some(Direct(XMM26)), operand2: Some(IndirectScaledIndexed( RDI, RSI, Four, Some(OperandSize::Qword), None, )), operand3: None, operand4: None, lock: false, rounding_mode: None, merge_mode: Some(MergeMode::Zero), sae: false, mask: Some(MaskReg::K2), broadcast: None, }, &[98, 97, 255, 138, 16, 20, 183], OperandSize::Qword, ) } #[test] fn vmovsd_9() { run_test( &Instruction { mnemonic: Mnemonic::VMOVSD, operand1: Some(Direct(XMM0)), operand2: Some(Direct(XMM7)), operand3: Some(Direct(XMM7)), operand4: None, lock: false, rounding_mode: None, merge_mode: None, sae: false, mask: None, broadcast: None, }, &[197, 195, 16, 199], OperandSize::Dword, ) } #[test] fn vmovsd_10() { run_test( &Instruction { mnemonic: Mnemonic::VMOVSD, operand1: Some(Direct(XMM0)), operand2: Some(Direct(XMM2)), operand3: Some(Direct(XMM5)), operand4: None, lock: false, rounding_mode: None, merge_mode: None, sae: false, mask: None, broadcast: None, }, &[197, 235, 16, 197], OperandSize::Qword, ) } #[test] fn vmovsd_11() { run_test( &Instruction { mnemonic: Mnemonic::VMOVSD, operand1: Some(IndirectScaledIndexedDisplaced( EAX, EDI, Four, 71595681, Some(OperandSize::Qword), None, )), operand2: Some(Direct(XMM5)), operand3: None, operand4: None, lock: false, rounding_mode: None, merge_mode: None, sae: false, mask: None, broadcast: None, }, &[197, 251, 17, 172, 184, 161, 118, 68, 4], OperandSize::Dword, ) } #[test] fn vmovsd_12() { run_test( &Instruction { mnemonic: Mnemonic::VMOVSD, operand1: Some(IndirectScaledDisplaced( RAX, Eight, 1773365943, Some(OperandSize::Qword), None, )), operand2: Some(Direct(XMM3)), operand3: None, operand4: None, lock: false, rounding_mode: None, merge_mode: None, sae: false, mask: None, broadcast: None, }, &[197, 251, 17, 28, 197, 183, 106, 179, 105], OperandSize::Qword, ) } #[test] fn vmovsd_13() { run_test( &Instruction { mnemonic: Mnemonic::VMOVSD, operand1: Some(Direct(XMM5)), operand2: Some(Direct(XMM7)), operand3: Some(Direct(XMM4)), operand4: None, lock: false, rounding_mode: None, merge_mode: Some(MergeMode::Zero), sae: false, mask: Some(MaskReg::K5), broadcast: None, }, &[98, 241, 199, 141, 16, 236], OperandSize::Dword, ) } #[test] fn vmovsd_14() { run_test( &Instruction { mnemonic: Mnemonic::VMOVSD, operand1: Some(Direct(XMM13)), operand2: Some(Direct(XMM25)), operand3: Some(Direct(XMM14)), operand4: None, lock: false, rounding_mode: None, merge_mode: Some(MergeMode::Zero), sae: false, mask: Some(MaskReg::K2), broadcast: None, }, &[98, 81, 183, 130, 16, 238], OperandSize::Qword, ) } #[test] fn vmovsd_15() { run_test( &Instruction { mnemonic: Mnemonic::VMOVSD, operand1: Some(IndirectScaledIndexed( EAX, EDX, Four, Some(OperandSize::Qword), None, )), operand2: Some(Direct(XMM1)), operand3: None, operand4: None, lock: false, rounding_mode: None, merge_mode: None, sae: false, mask: None, broadcast: None, }, &[197, 251, 17, 12, 144], OperandSize::Dword, ) } #[test] fn vmovsd_16() { run_test( &Instruction { mnemonic: Mnemonic::VMOVSD, operand1: Some(Indirect(RDI, Some(OperandSize::Qword), None)), operand2: Some(Direct(XMM30)), operand3: None, operand4: None, lock: false, rounding_mode: None, merge_mode: None, sae: false, mask: None, broadcast: None, }, &[98, 97, 255, 8, 17, 55], OperandSize::Qword, ) }
rust
STUNNER OR BUMMER: Sara Ali Khan, Kareena Kapoor Khan, Alia Bhatt, Soundarya Sharma Or Preity Zinta? Sara Ali Khan was on-the-sets of Indian Idol to promote her film, Kedarnath. Kareena Kapoor Khan was out for brunch with her cousins and had a great time with them. Preity Zinta was papped in the city while Alia Bhatt attended a Netflix event. Lastly, Soundarya Sharma was spotted a film’s screening in town. So, let’s find out who were the stunner and bummers of the day: KAREENA KAPOOR KHAN- STUNNER- Kareena is red hot in that netted maxi dress. ALIA BHATT- BUMMER- Alia’s short black dress is a bit too nerdy for our taste. SOUNDARYA SHARMA- STUNNER- Soundarya looks quite cute in her pleated white skirt and black crop top. PREITY ZINTA- STUNNER- Preity’s floral multi-colour frock dress is a stunning number.
english
Quarterback Tom Brady has been successful over his long NFL career. Backup quarterbacks come and go, but that doesn't mean the incumbent signal caller won’t get competitive or insulted when a team brings in (or drafts) a young quarterback to eventually take over the incumbent’s starting job. Tennessee Titans quarterback Ryan Tannehill also felt the same way when the Titans drafted Malik Willis to presumably take over when Tannehill no longer starts for the Titans. He compared his situation to Brady’s when the New England Patriots drafted Jimmy Garoppolo. Of course, NFL Twitter had its thoughts on the matter, especially in light of other mainstay quarterbacks who were irked at the possibility of grooming their eventual successor. Marcus Mariota was drafted in 2015, and Ryan Tannehill was drafted in 2012, but let’s not let age, draft class, or veteran status get in the way of who mentored who. It’s a dog eat dog world, especially in the NFL. That being said, Drew Bledsoe treated Tom Brady better than Brady treated Garoppolo. But Brady wouldn’t have seven Super Bowl rings if he was the nicest guy in the world. There’s no love lost between Aaron Rodgers and Jordan Love, just like there’s no love lost between Rodgers and Brett Favre. The NFL is a team game, but even someone like Tannehill has to look over his shoulder. Job security is an individual’s game. He said what he said. And now Tannehill’s job is even more difficult without A. J. Brown. It’s all about being a good teammate until you face the possibility of playing in the XFL, or worse, being traded to the Texans. It’s a fair point, but giving rookie quarterbacks a hard time is not exclusive to Super Bowl winners. NFL fans are a fickle bunch, and there seems to be a market for public relations managers for NFL players, especially in this day and age of 24/7 access. Alex Smith also mentored Colin Kaepernick. Smith is just a nice guy, it seems. Some Titans fans might be ready to move on from Ryan Tannehill. After the Titans traded A. J. Brown, quarterback Ryan Tannehill admitted in a recent press conference that he felt hurt on a personal and professional level by how several events played out for the franchise. Not only did the team trade away a talented receiver, but the Titans drafted quarterback Malik Willis out of Auburn in the third round. While Willis won’t be expected to replace Tannehill right away, the current starting quarterback could not help but feel like his time in Tennessee might be drawing to an end sooner rather than later. Although starting quarterbacks lose their job every season, and the NFL landscape remains as competitive as ever, Tannehill expressed that he felt he did not owe anything more to Willis. Tannehill explained how he expects the quarterback situation to play out next season: The Titans are coming off a regular season where they grabbed the number one seed in the AFC, despite many injuries to the roster, including A. J. Brown and running back Derek Henry. They would lose to the Cincinnati Bengals in the playoffs, and the Bengals would go on to also beat the Kansas City Chiefs to earn their second Super Bowl berth in franchise history.
english
/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010-2019, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: <NAME>, et al. (see THANKS for the full author list) * See LICENSE for the license information * -------------------------------------------------------------------------- */ /** * @file FrobeniusFactor.cpp * @date March 2019 * @author <NAME> * @brief Various factors that minimize some Frobenius norm */ #include <gtsam/slam/FrobeniusFactor.h> #include <gtsam/base/timing.h> #include <gtsam/nonlinear/GaussNewtonOptimizer.h> #include <gtsam/nonlinear/NonlinearFactorGraph.h> #include <cmath> #include <iostream> #include <vector> using namespace std; namespace gtsam { //****************************************************************************** boost::shared_ptr<noiseModel::Isotropic> ConvertPose3NoiseModel( const SharedNoiseModel& model, size_t d, bool defaultToUnit) { double sigma = 1.0; if (model != nullptr) { if (model->dim() != 6) { if (!defaultToUnit) throw std::runtime_error("Can only convert Pose3 noise models"); } else { auto sigmas = model->sigmas().head(3).eval(); if (sigmas(1) != sigmas(0) || sigmas(2) != sigmas(0)) { if (!defaultToUnit) throw std::runtime_error("Can only convert isotropic rotation noise"); } else { sigma = sigmas(0); } } } return noiseModel::Isotropic::Sigma(d, sigma); } //****************************************************************************** FrobeniusWormholeFactor::FrobeniusWormholeFactor( Key j1, Key j2, const Rot3 &R12, size_t p, const SharedNoiseModel &model, const boost::shared_ptr<Matrix> &G) : NoiseModelFactor2<SOn, SOn>(ConvertPose3NoiseModel(model, p * 3), j1, j2), M_(R12.matrix()), // 3*3 in all cases p_(p), // 4 for SO(4) pp_(p * p), // 16 for SO(4) G_(G) { if (noiseModel()->dim() != 3 * p_) throw std::invalid_argument( "FrobeniusWormholeFactor: model with incorrect dimension."); if (!G) { G_ = boost::make_shared<Matrix>(); *G_ = SOn::VectorizedGenerators(p); // expensive! } if (static_cast<size_t>(G_->rows()) != pp_ || static_cast<size_t>(G_->cols()) != SOn::Dimension(p)) throw std::invalid_argument("FrobeniusWormholeFactor: passed in generators " "of incorrect dimension."); } //****************************************************************************** void FrobeniusWormholeFactor::print(const std::string &s, const KeyFormatter &keyFormatter) const { std::cout << s << "FrobeniusWormholeFactor<" << p_ << ">(" << keyFormatter(key1()) << "," << keyFormatter(key2()) << ")\n"; traits<Matrix>::Print(M_, " M: "); noiseModel_->print(" noise model: "); } //****************************************************************************** bool FrobeniusWormholeFactor::equals(const NonlinearFactor &expected, double tol) const { auto e = dynamic_cast<const FrobeniusWormholeFactor *>(&expected); return e != nullptr && NoiseModelFactor2<SOn, SOn>::equals(*e, tol) && p_ == e->p_ && M_ == e->M_; } //****************************************************************************** Vector FrobeniusWormholeFactor::evaluateError( const SOn& Q1, const SOn& Q2, boost::optional<Matrix&> H1, boost::optional<Matrix&> H2) const { gttic(FrobeniusWormholeFactorP_evaluateError); const Matrix& M1 = Q1.matrix(); const Matrix& M2 = Q2.matrix(); assert(M1.rows() == p_ && M2.rows() == p_); const size_t dim = 3 * p_; // Stiefel manifold dimension Vector fQ2(dim), hQ1(dim); // Vectorize and extract only d leftmost columns, i.e. vec(M2*P) fQ2 << Eigen::Map<const Matrix>(M2.data(), dim, 1); // Vectorize M1*P*R12 const Matrix Q1PR12 = M1.leftCols<3>() * M_; hQ1 << Eigen::Map<const Matrix>(Q1PR12.data(), dim, 1); // If asked, calculate Jacobian as (M \otimes M1) * G if (H1) { const size_t p2 = 2 * p_; Matrix RPxQ = Matrix::Zero(dim, pp_); RPxQ.block(0, 0, p_, dim) << M1 * M_(0, 0), M1 * M_(1, 0), M1 * M_(2, 0); RPxQ.block(p_, 0, p_, dim) << M1 * M_(0, 1), M1 * M_(1, 1), M1 * M_(2, 1); RPxQ.block(p2, 0, p_, dim) << M1 * M_(0, 2), M1 * M_(1, 2), M1 * M_(2, 2); *H1 = -RPxQ * (*G_); } if (H2) { const size_t p2 = 2 * p_; Matrix PxQ = Matrix::Zero(dim, pp_); PxQ.block(0, 0, p_, p_) = M2; PxQ.block(p_, p_, p_, p_) = M2; PxQ.block(p2, p2, p_, p_) = M2; *H2 = PxQ * (*G_); } return fQ2 - hQ1; } //****************************************************************************** } // namespace gtsam
cpp
/// <reference types="react" /> export declare const PopoverGroup: (props: any) => null; export declare const Popup: { usePopupHooks: () => { isShown: boolean; show: () => void; hide: () => void; }; enhancePopupComponent: (WrappedComponent: any, layerClassName?: string | undefined) => (props: any) => JSX.Element; createPopupRef: () => { hooks: { show: () => void; }; }; };
typescript
""" Demonstrates the fundamentals of unit test. adder() is a function that lets you 'add' integers, strings, and lists. """ from adder import adder # keep the tested code separate from the tests. import unittest class TestAdder(unittest.TestCase): def test_numbers(self): self.assertEqual(adder(3,4), 7, "3 + 4 should be 7") def test_strings(self): self.assertEqual(adder('x','y'), 'xy', "x + y should be xy") def test_lists(self): self.assertEqual(adder([1,2],[3,4]), [1,2,3,4], "[1,2] + [3,4] should be [1,2,3,4]") def test_number_and_string(self): self.assertEqual(adder(1, 'two'), '1two', "1 + two should be 1two") def test_numbers_and_list(self): self.assertEqual(adder(4,[1,2,3]), [1,2,3,4], "4 + [1,2,3] should be [1,2,3,4]") if __name__ == "__main__": unittest.main()
python
Chandigarh, February 10, 2023 (Yes Punjab News) Punjab DGP Gaurav Yadav and 4 more Senior IPS officers from state figure in 33 officers empannelled by Union Government as ADG/ADG equivalent. The four other officers from Punjab, besides DGP Gaurav Yadav are Smt. Anita Punjb, Shri Sudhanshu S Srivastava, Sh. Praveen Kumar Sinha and Shri Amardeep Singh Rai.
english
While Jesus was in one of the towns, a man came along who was covered with leprosy. When he saw Jesus, he fell with his face to the ground and begged him, “Lord, if you are willing, you can make me clean.” Jesus reached out his hand and touched the man. “I am willing,” he said. “Be clean!” And immediately the leprosy left him. Then Jesus ordered him, “Don’t tell anyone, but go, show yourself to the priest and offer the sacrifices that Moses commanded for your cleansing, as a testimony to them.” Yet the news about him spread all the more, so that crowds of people came to hear him and to be healed of their sicknesses. But Jesus often withdrew to lonely places and prayed.
english
<reponame>Impavidity/relogic import torch import torch.nn as nn class SpanGCNModule(nn.Module): """ SpanGCN firstly extract span from text, and then label each span based on the learned representation of GCN """ def __init__(self, config, task_name, boundary_n_classes=None, label_n_classes=None): super(SpanGCNModule, self).__init__() self.config = config self.task_name = task_name self.boundary_n_classes = boundary_n_classes self.label_n_classes = label_n_classes if boundary_n_classes: self.to_boundary_logits = nn.Linear(config.hidden_size, self.boundary_n_classes) if label_n_classes: self.to_label_logits = nn.Linear(config.hidden_size * 2, self.label_n_classes) if config.use_gcn: pass else: pass self.padding = nn.Parameter(torch.zeros(config.hidden_size), requires_grad=False) self.ones = nn.Parameter(torch.ones(1, 1), requires_grad=False) def forward(self, input, predicate_span=None, bio_hidden=None, span_candidates=None, extra_args=None, **kwargs): """ Before this module, there is another module info aggregation :param input: Sentence Only, in batch :param predicate: Predicate Only, in batch :param bio_hidden: hidden vector for span prediction, can be None :param span_candidates: tuple, span_start, and span_end :param extra_args: strategy :return: labeling_logits Here we need to support three mode of inference 1. Span is given In this mode, sequence labeling and independent span generation modes are supported. span_logits = None, span_candidates = batch of span Another problem here is how to aggregate span. We need to specify span level and aggregate method - For token level span - Pooling - Average - Attentive - Head Tail Attentive - For phrase level span - Non-Hierarchy - Pooling - Average - Attentive - Head Tail Attentive - Hierarchy - Use Token level aggregate - Use Non-Hierarchy to aggregate again 2. Span is not given In this mode, dependent span generation mode is supported. span_logits = batch, span_candidates = None span candidates generate from span_logits. There are two logits need to be return This mode only have Phrase level span Aggregation After we have span representation, how to interact with predicate 1. If the span itself is predicate aware, do we need to add predicate information again ? So the experiments is on surface form aware or not. You can refer the IBM relation paper 2. If the span itself is not predicate aware, it will be trained faster. How to design a module to interact the argument and the predicate - Independent Classifier - Bilinear - GCN """ if bio_hidden: bio_logits = self.to_span_logits(bio_hidden) assert "label_mapping" in extra_args, "label_mapping does not in extra_args" span_candidates = get_candidate_span(bio_logits, extra_args["label_mapping"]) start_index, end_index = span_candidates # start_index, end_index = (batch, max_span_num) predicate_start_index, predicate_end_index = predicate_span # predicate_start_index, predicate_end_index = (batch) max_span_num = len(start_index[0]) # input (batch, sentence, dim) -> (batch, max_span_num, sentence, dim) expanded_input = input.unsqueeze(1).repeat(1, max_span_num, 1, 1) start_index_ = start_index.view(-1) end_index_ = end_index.view(-1) span_hidden = select_span(expanded_input.view(-1, expanded_input.size(-2), expanded_input.size(-1)), start_index_, end_index_, self.padding) predicate_hidden = select_span(input, predicate_start_index, predicate_end_index, self.padding) span_repr = self.aggregate(span_hidden, end_index_-start_index_) predicate_repr = self.aggregate(predicate_hidden, predicate_end_index-predicate_start_index) # (batch, dim) concat = torch.cat([span_repr, predicate_repr.unsqueeze(1).repeat(1, max_span_num, 1).view(-1, predicate_repr.size(-1))], dim=-1) label_logits = self.to_label_logits(concat) return label_logits.view(input.size(0), max_span_num, self.label_n_classes) def aggregate(self, hidden, lengths): """ Use average for now :param hidden: (batch, span_length, dim) :param lengths: (batch) :return: """ return torch.sum(hidden, 1) / torch.max( self.ones.repeat(lengths.size(0), 1).float(), lengths.unsqueeze(1).float()) def select_span(input, start_index, end_index, padding): """ Use for loop to select :param input: :param start_index: :param end_index: :param padding: :return: """ padded_tensor = [] max_span_size = torch.max(end_index - start_index) for idx, (start, end) in enumerate(zip(start_index, end_index)): padded_tensor.append( torch.cat( [torch.narrow(input[idx], 0, start, (end-start))] + ([padding.unsqueeze(0).repeat(max_span_size-(end-start), 1)] if max_span_size != (end-start) else []), dim=0)) # list of (max_span_size, dim) return torch.stack(padded_tensor) def get_candidate_span(bio_logits, label_mapping): """ Use python for now. Will consider a C++ binding later. :param bio_logits: (batch_size, sentence_length, 3) :param label_mappings: :return: """ preds_tags = bio_logits.argmax(-1).data.cpu().numpy() inv_label_mapping = {v: k for k, v in label_mapping.items()} batch_span_labels = [] max_span_num = 0 for sentence in bio_logits: # convert to understandable labels sentence_tags = [inv_label_mapping[i] for i in sentence] span_labels = [] last = 'O' start = -1 for i, tag in enumerate(sentence_tags): pos, _ = (None, 'O') if tag == 'O' else tag.split('-', 1) if (pos == 'S' or pos == 'B' or tag == 'O') and last != 'O': span_labels.append((start, i - 1, last.split('-')[-1])) if pos == 'B' or pos == 'S' or last == 'O': start = i last = tag if sentence_tags[-1] != 'O': span_labels.append((start, len(sentence_tags) - 1, sentence_tags[-1].split('-', 1)[-1])) max_span_num = max(len(span_labels), max_span_num) batch_span_labels.append(span_labels) batch_start_index = [] batch_end_index = [] for span_labels in batch_span_labels: start_index = [] end_index = [] for span_label in span_labels: start_index.append(span_label[0]) end_index.append(span_label[1]) start_index += (max_span_num - len(start_index)) * [0] end_index += (max_span_num - len(end_index)) * [0] # Just a placeholder, for loss computation, it will be ignored. batch_start_index.append(start_index) batch_end_index.append(end_index) start_ids = torch.tensor(batch_start_index, dtype=torch.long).to(bio_logits.device) end_ids = torch.tensor(batch_end_index, dtype=torch.long).to(bio_logits.device) return (start_ids, end_ids)
python
from dataclasses import dataclass @dataclass(init=True, repr=True, eq=True, frozen=True) class SearchResult: details: dict @classmethod def parse(cls, title, link): if not isinstance(title, str) or not isinstance(link, str): raise TypeError('Link and title should be str type') title = SearchResult._parse_title(title) attr = {"title": title, "link": link} return cls(attr) def link(self): return self.details['link'] def title(self): return self.details['title'] @staticmethod def _parse_title(title): return title.replace(' - Filmweb', '')
python
Noida Metro Rail Corporation (NMRC) has launched a survey to gather public feedback on the proposed “express service” on Aqua Line. The survey was opened to public on October 12 on the official website of NMRC, and will remain open till November 12. The eight-page survey aims to collect data on the frequency of trains on the Aqua line, people’s preference of express service and the peak hours of travel during morning and evening. The survey includes questions on preferred routes and Metro stations that make up a part of commuters’ daily travel routine, and whether the point of origin of their travel is within Noida. The public opinion will directly impact the launch of the “express service”, officials said. As a part of the proposed express service, trains will skip stations to save commuters’ travel time. The survey is said to help NMRC officials to narrow down the stations that can be skipped on busy routes.
english
Birmingham: Nathan Lyon took six wickets as Australia thrashed England by 251 runs at their Edgbaston 'fortress' to win the first Ashes Test on Monday. England, set a daunting 398 for victory, lost four wickets for 12 runs either side of lunch on the last day as they collapsed to 97-7. They were eventually dismissed for 146 in their second innings, with off-spinner Nathan Lyon taking 6-49 -- a haul that included his 350th Test wicket -- and fast bowler Pat Cummins 4-32. Victory gave Australia their first win at Edgbaston in any format since 2001 -- the last time they won an Ashes series in England -- and ended England's run off 11 successive wins at the Birmingham ground. England resumed on 13 without loss after Australia star Steve Smith's second hundred of his comeback Test following a ban for his role in a ball-tampering scandal had allowed the tourists to declare late on Sunday's fourth day. Rory Burns, whose first-innings 133 was his first century at this level, became just the 10th cricketer to have batted on all five days of a Test. But he had added just four runs to his overnight seven when he was undone by an excellent seaming and rising Cummins delivery that lobbed off his gloves to Lyon in the gully. Number three Root, on four, was given out leg before to James Pattinson by umpire Joel Wilson. But in a match full of overturned decisions, Root successfully challenged the verdict. Root had made eight when he nearly played on to Cummins before Jason Roy, who made a superb 85 in eventual champions England's World Cup semi-final win over Australia at Edgbaston last month, drove him through extra-cover for four. Root had moved on to nine when he was again given out leg before by Wilson, this time off the bowling of paceman Peter Siddle. But the batsman's immediate review revealed an inside edge. That meant umpire Wilson had equalled an unwanted record with an eighth overturned decision in a Test match. Roy swept Lyon for four but then, in a shot more appropriate for a one-day match than a side trying to save a Test, charged down the pitch and was clean bowled for 28 Lyon remained a threat on a wearing pitch offering turn and bounce and he had Joe Denly (11) caught off bat and pad by Cameron Bancroft at short leg to leave England 80-3. And the Australia pair combined again to dismiss Root for 28. England's 85-4 at lunch soon became 85-5 when Jos Buttler (one) was bowled by a Cummins delivery that kept low. Cummins then had his 100th Test wicket when Jonny Bairstow (six) gloved a rising ball to Bancroft in the slips. England's collapse continued apace when Ben Stokes was also out for six, well caught by wicketkeeper Tim Paine off a sharply spun Lyon delivery. Moeen Ali, who in the first innings had succumbed to Lyon when he was bowled for a duck playing no shot, fell to the bowler for the ninth time in 11 Ashes knocks when caught in the slips for four to leave England 136-8. It marked the end of a miserable match for England off-spinner Moeen, comprehensively out bowled by Lyon. Lyon had Stuart Broad caught in the slips next ball before James Anderson survived the hat-trick after not bowling at all in Australia's second innings because of a calf injury. Chris Woakes, who played several fine shots, was dropped in the slips by Smith. But former Australia captain Steve Smith had the last word, catching Woakes (37) in the slips off Cummins, with England all out inside 53 overs. (AFP) Also Read: Rohit Sharma Unfollows Anushka, Is Kohli In The Picture?
english
<reponame>raviqqe/turtle<filename>src/ast/build.rs<gh_stars>10-100 use super::VariableDefinition; #[derive(Clone, Debug, PartialEq, Eq)] pub struct Build { outputs: Vec<String>, implicit_outputs: Vec<String>, rule: String, inputs: Vec<String>, implicit_inputs: Vec<String>, order_only_inputs: Vec<String>, variable_definitions: Vec<VariableDefinition>, } impl Build { pub fn new( outputs: Vec<String>, implicit_outputs: Vec<String>, rule: impl Into<String>, inputs: Vec<String>, implicit_inputs: Vec<String>, order_only_inputs: Vec<String>, variable_definitions: Vec<VariableDefinition>, ) -> Self { Self { outputs, implicit_outputs, rule: rule.into(), inputs, implicit_inputs, order_only_inputs, variable_definitions, } } pub fn outputs(&self) -> &[String] { &self.outputs } pub fn implicit_outputs(&self) -> &[String] { &self.implicit_outputs } pub fn rule(&self) -> &str { &self.rule } pub fn inputs(&self) -> &[String] { &self.inputs } pub fn implicit_inputs(&self) -> &[String] { &self.implicit_inputs } pub fn order_only_inputs(&self) -> &[String] { &self.order_only_inputs } pub fn variable_definitions(&self) -> &[VariableDefinition] { &self.variable_definitions } }
rust
<filename>barista-scan/src/queue-feedback.ts import { Logger } from '@nestjs/common'; import { Job, Queue } from 'bull'; import { BullQueueEvents, OnQueueActive, OnQueueError, OnQueueEvent, Processor} from '@nestjs/bull'; @Processor('scan-queue') export class QueueFeedback { private readonly logger = new Logger('QueueFeedback'); @OnQueueActive() onActive(job: Job) { this.logger.log(`Processing job ${job.id} of type ${job.name} with data ${JSON.stringify(job.data)}...`); } @OnQueueEvent(BullQueueEvents.COMPLETED) onCompleted(job: Job) { this.logger.log(`Completed job ${job.id} of type ${job.name} with result ${JSON.stringify(job.returnvalue)}`); } @OnQueueError() onError(job: Job) { this.logger.log(`Error job ${job.id} of type ${job.name} with result ${JSON.stringify(job.returnvalue)}`); } }
typescript
Dodocase is one of our favorite iPad and Kindle case makers and it was only a matter of time before they do up the iPad 2 in their trademark bookbinding style. The standard case looks and costs the same as the original — that’s not a bad thing. But the company also just announced a limited edition for those with a tad more cash available and looking for something truly unique. Both are shipping now with the iPad 2 Limited Edition Dodocase costing $90 with the standard running $60.
english
<reponame>BorinotPetit/Heimdall-Apps<gh_stars>0 { "appid": "942370bc8656b68cae17b79a2a247bcc658571fd", "name": "TrueNAS", "website": "https://www.truenas.com", "license": "BSD 2-Clause FreeBSD License", "description": "TrueNAS is free and Open Source and is the successor to the wildly popular FreeNAS. It runs on virtually any x86_64 system and provides a broad set of features for many users. Plugin applications like Plex, NextCloud, and Asigra allow the functionality of a system to be customized for many use cases.", "enhanced": true, "tile_background": "dark", "icon": "truenas.png" }
json
Pakistani Taliban has warned that the next few days and weeks would be “disastrous” for the country as the banned outfit vowed to “teach” the government and its security agencies a lesson over the killing of its leader Hakimullah Mehsud in a US drone strike. “As we have stated we would teach a lesson to the Pakistan government for helping the US to kill our leader,” the Taliban spokesman Shahidullah Shahid. He said the next few days and weeks would be “disastrous” for the government and its security agencies,The News daily reported. The Taliban spokesman said they had already sent their suicide bombers to different parts of the country to target top government and military officials and the leadership of the PPP,ANP and MQM. “The leadership of the three political parties justified the killing of Hakimullah Mehsud and that’s why they deserved to be killed,” he maintained. Mehsud was killed on November 1 in a CIA drone strike in the lawless North Waziristan tribal region. Seven people,including three personnel of the Tochi Scouts,a wing of the paramilitary Frontier Corps (FC),two policemen and two civilians,were injured when a suicide bomber blew himself up in Bannu on Saturday. Meanwhile,Ahmad Ali Inteqami,claiming to be the TTP Rawalpindi’s division leader,threatened they would soon target the DIG and DC Rawalpindi for their alleged support to the attackers in Rawalpindi on Friday. “We will target these two top government officials within three days as they patronised the attack in Fawwara Chowk in Rawalpindi. We will teach them a lesson,” the TTP leader said. The report also said a man claiming to be the head of the Rawalpindi division chapter of the TTP condemned the clashes in Rawalpindi on Ashura and threatened to take revenge from those responsible for it. In a phone call to reporters from an undisclosed place,Ahmad Ali Inteqami alleged that innocent people were killed and their deaths would be avenged within three days. “We urge the Ulema in Pakistan to support the TTP in the aftermath of this incident,” he said. Inteqami alleged that the incident took place under the patronage of the government. “The blood of the innocents shed would not go waste,” he said.
english
The NSE Nifty 50 index was mostly flat at 17,324. 75, while the benchmark BSE Sensex was down by 0. 25 per cent or 144. 51 points at 57,997. 54. Both the indexes had gained 3 per cent on Tuesday. By India Today Web Desk: The share market on Wednesday struggled for momentum, as market participants were cautious after last session's rally while keeping an eye on the Ukraine situation. Equity benchmarks Sensex and Nifty opened on a choppy note in early morning trade, tracking weakness in index heavyweights Reliance Industries, SBI and ICICI Bank. Building on Tuesday's stellar rebound, the BSE Sensex added over 300 points in the opening session but soon lost ground and slipped into the red. The NSE Nifty 50 index was mostly flat at 17,324. 75, while the benchmark BSE Sensex was down by 0. 25 per cent or 144. 51 points at 57,997. 54. Both the indexes had gained 3 per cent on Tuesday. Global stocks rebounded after the Russian defence ministry published footage to demonstrate it was returning some troops to base after exercises. "(Indian) Markets are a bit cautious after the sharp rally (on Tuesday)," said Siddhartha Khemka, head - retail research, Motilal Oswal Financial Services, adding the Russia-Ukraine conflict was not over, although there had been some de-escalation in tensions, according to Reuters report. Concerns like higher inflation and interest rate hikes are not over, Khemka said, adding the markets did not have a lot of positive triggers to move higher. "There is continuous foreign institutional investor selling, which is keeping a check on the upside. We are seeing selling coming back on any sharp up move," he said. The Nifty energy index rose 0. 8 per cent, while the realty index gained 1. 7 per cent. Shares of IDBI Bank rose as much 5. 5 per cent after a report said the Indian government might start privatising the state-owned lender this month. "Markets need to keep above 17,600 on a closing basis. Until then, any up move can be used to short the (Nifty) index," said Manish Hathiramani, a proprietary index trader and technical analyst at Deen Dayal Investments, the Reuters report says. Tata Steel was the top loser in the Sensex pack, shedding about 1. 45 per cent, followed by L&T, ICICI Bank, SBI and UltraTech. On the other hand, M&M, HDFC, Dr Reddy's, PowerGrid and Kotak Bank were among the gainers, PTI reported. Global crude oil benchmark Brent Futures fell 0. 19 per cent to USD 93. 06 per barrel, the PTI report says.
english
A fire broke out at an automobile showroom's garage in Mumbai. No casualties have been reported so far. By Press Trust of India: A fire broke out in the garage of an automobile showroom in suburban Powai on Thursday, officials said. There was no report of any casualty, they said. The blaze erupted in the garage of Sai Auto Hyundai Showroom, located on Saki Vihar Road in Powai, around 11 am, officials said. Five fire engines and water tankers along with firefighters were rushed to the spot and efforts were still on to douse the blaze, a fire brigade official said. "As per primary report, there was no injury to anyone," the official said. The cause of the fire is not yet known, he said. Earlier this week, a huge fire erupted in the service centre of a multinational electronic goods company in Kanjurmarg area of Mumbai. No one was injured in that blaze, which was doused after more than five hours of hectic efforts, officials earlier said.
english
<gh_stars>0 { "Project": { "headers": [ "project.uuid", "project.project_core.project_short_name", "project.project_core.project_title", "project.project_core.project_description" ], "values": [ { "project.uuid": "uuid1", "project.project_core.project_short_name": "label", "project.project_core.project_title": "title", "project.project_core.project_description": "desc" } ] }, "Project - Contributors": { "headers": [ "project.contributors.name", "project.contributors.email", "project.contributors.institution", "project.contributors.laboratory", "project.contributors.country", "project.contributors.corresponding_contributor", "project.contributors.project_role.text", "project.contributors.project_role.ontology", "project.contributors.project_role.ontology_label" ], "values": [ { "project.contributors.corresponding_contributor": "True", "project.contributors.country": "USA", "project.contributors.email": "<EMAIL>", "project.contributors.institution": "University of California, San Francisco (UCSF)", "project.contributors.laboratory": "Department of Neurology", "project.contributors.name": "<NAME>,,Pollen", "project.contributors.project_role.ontology": "EFO:0009741", "project.contributors.project_role.ontology_label": "experimental scientist", "project.contributors.project_role.text": "experimental scientist" } ] }, "Donor organism": { "headers": [ "donor_organism.uuid", "donor_organism.biomaterial_core.biomaterial_id", "donor_organism.biomaterial_core.biomaterial_description" ], "values": [ { "donor_organism.uuid": "uuid2", "donor_organism.biomaterial_core.biomaterial_id": "label", "donor_organism.biomaterial_core.biomaterial_description": "desc" }, { "donor_organism.uuid": "uuid3", "donor_organism.biomaterial_core.biomaterial_id": "label", "donor_organism.biomaterial_core.biomaterial_description": "desc" } ] }, "Schemas": [ "https://schema.humancellatlas.org/type/project/14.2.0/project", "https://schema.humancellatlas.org/type/project/14.2.0/donor_organism" ] }
json
<reponame>macwx/wwDoc<gh_stars>1-10 package com.macw.wwdoc.entity.vo; import lombok.Data; import org.apache.poi.ss.formula.functions.T; import java.util.List; /** * @author 马超伟 * @PROJECT_NAME: wwdoc * @Description: * @date 18:30 * @Copyright: All rights Reserved, Designed By Huerdai   * Copyright:    Copyright(C) 2019-2020 * Company       Huerdai Henan LTD. */ /** * 首页菜单 * @author Administrator */ @Data public class MenuVo { private Integer menuId; private String title; private String icon; private String href; private String target; private List<MenuVo> child; }
java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Generated by Apache Maven Doxia at Jan 7, 2011 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>HBase - Bulk Loads in HBase </title> <style type="text/css" media="all"> @import url("./css/maven-base.css"); @import url("./css/maven-theme.css"); @import url("./css/site.css"); </style> <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" /> <meta http-equiv="Content-Language" content="en" /> </head> <body class="composite"> <div id="banner"> <a href="" id="bannerLeft"> <img src="images/hbase_logo_med.gif" alt="HBase" /> </a> <a href="http://www.apache.org/" id="bannerRight"> <img src="images/asf_logo_wide.png" alt="HBase" /> </a> <div class="clear"> <hr/> </div> </div> <div id="breadcrumbs"> <div class="xright" style="padding-left: 8px; margin-top: -4px;"> <form method="GET" action="http://search-hadoop.com/"> <input type="text" style="width: 192px; height: 15px; font-size: inherit; border: 1px solid darkgray" name="q" value="Search wiki, mailing lists, sources & more" onfocus="this.value=''"/> <input type="hidden" name="fc_project" value="HBase"/> <button style="height: 20px; width: 60px;">Search</button> </form> </div> <div class="xright"> <span id="publishDate">Last Published: 2011-01-07</span> &nbsp;| <span id="projectVersion">Version: 0.90.0</span> </div> <div class="clear"> <hr/> </div> </div> <div id="leftColumn"> <div id="navcolumn"> <h5>HBase Project</h5> <ul> <li class="none"> <a href="index.html" title="Overview">Overview</a> </li> <li class="none"> <a href="license.html" title="License">License</a> </li> <li class="none"> <a href="http://www.apache.org/dyn/closer.cgi/hbase/" class="externalLink" title="Downloads">Downloads</a> </li> <li class="none"> <a href="https://issues.apache.org/jira/browse/HBASE?report=com.atlassian.jira.plugin.system.project:changelog-panel" class="externalLink" title="Release Notes">Release Notes</a> </li> <li class="none"> <a href="issue-tracking.html" title="Issue Tracking">Issue Tracking</a> </li> <li class="none"> <a href="mail-lists.html" title="Mailing Lists">Mailing Lists</a> </li> <li class="none"> <a href="source-repository.html" title="Source Repository">Source Repository</a> </li> <li class="none"> <a href="team-list.html" title="Team">Team</a> </li> </ul> <h5>Documentation</h5> <ul> <li class="none"> <a href="quickstart.html" title="Getting Started: Quick">Getting Started: Quick</a> </li> <li class="none"> <a href="notsoquick.html" title="Getting Started: Detailed">Getting Started: Detailed</a> </li> <li class="none"> <a href="apidocs/index.html" title="API">API</a> </li> <li class="none"> <a href="xref/index.html" title="X-Ref">X-Ref</a> </li> <li class="none"> <a href="book.html" title="Book">Book</a> </li> <li class="none"> <a href="faq.html" title="FAQ">FAQ</a> </li> <li class="none"> <a href="http://wiki.apache.org/hadoop/Hbase" class="externalLink" title="Wiki">Wiki</a> </li> <li class="none"> <a href="acid-semantics.html" title="ACID Semantics">ACID Semantics</a> </li> <li class="none"> <strong>Bulk Loads</strong> </li> <li class="none"> <a href="metrics.html" title="Metrics">Metrics</a> </li> <li class="none"> <a href="cygwin.html" title="HBase on Windows">HBase on Windows</a> </li> <li class="none"> <a href="replication.html" title="Cluster replication">Cluster replication</a> </li> <li class="none"> <a href="pseudo-distributed.html" title="Pseudo-Dist. Extras">Pseudo-Dist. Extras</a> </li> </ul> <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> <img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /> </a> </div> </div> <div id="bodyColumn"> <div id="contentBox"> <div class="section"><h2><a name="Overview"></a>Overview</h2> <p> HBase includes several methods of loading data into tables. The most straightforward method is to either use the TableOutputFormat class from a MapReduce job, or use the normal client APIs; however, these are not always the most efficient methods. </p> <p> This document describes HBase's bulk load functionality. The bulk load feature uses a MapReduce job to output table data in HBase's internal data format, and then directly loads the data files into a running cluster. </p> </div> <div class="section"><h2><a name="Bulk_Load_Architecture"></a>Bulk Load Architecture</h2> <p> The HBase bulk load process consists of two main steps. </p> <div class="section"><h2><a name="Preparing_data_via_a_MapReduce_job"></a>Preparing data via a MapReduce job</h2> <p> The first step of a bulk load is to generate HBase data files from a MapReduce job using HFileOutputFormat. This output format writes out data in HBase's internal storage format so that they can be later loaded very efficiently into the cluster. </p> <p> In order to function efficiently, HFileOutputFormat must be configured such that each output HFile fits within a single region. In order to do this, jobs use Hadoop's TotalOrderPartitioner class to partition the map output into disjoint ranges of the key space, corresponding to the key ranges of the regions in the table. </p> <p> HFileOutputFormat includes a convenience function, <code>configureIncrementalLoad()</code>, which automatically sets up a TotalOrderPartitioner based on the current region boundaries of a table. </p> </div> <div class="section"><h2><a name="Completing_the_data_load"></a>Completing the data load</h2> <p> After the data has been prepared using <code>HFileOutputFormat</code>, it is loaded into the cluster using a command line tool. This command line tool iterates through the prepared data files, and for each one determines the region the file belongs to. It then contacts the appropriate Region Server which adopts the HFile, moving it into its storage directory and making the data available to clients. </p> <p> If the region boundaries have changed during the course of bulk load preparation, or between the preparation and completion steps, the bulk load commandline utility will automatically split the data files into pieces corresponding to the new boundaries. This process is not optimally efficient, so users should take care to minimize the delay between preparing a bulk load and importing it into the cluster, especially if other clients are simultaneously loading data through other means. </p> </div> </div> <div class="section"><h2><a name="Preparing_a_bulk_load_using_the_importtsv_tool"></a>Preparing a bulk load using the importtsv tool</h2> <p> HBase ships with a command line tool called <code>importtsv</code>. This tool is available by running <code>hadoop jar /path/to/hbase-VERSION.jar importtsv</code>. Running this tool with no arguments prints brief usage information: </p> <code><pre> Usage: importtsv -Dimporttsv.columns=a,b,c &lt;tablename&gt; &lt;inputdir&gt; Imports the given input directory of TSV data into the specified table. The column names of the TSV data must be specified using the -Dimporttsv.columns option. This option takes the form of comma-separated column names, where each column name is either a simple column family, or a columnfamily:qualifier. The special column name HBASE_ROW_KEY is used to designate that this column should be used as the row key for each imported record. You must specify exactly one column to be the row key. In order to prepare data for a bulk data load, pass the option: -Dimporttsv.bulk.output=/path/for/output Other options that may be specified with -D include: -Dimporttsv.skip.bad.lines=false - fail if encountering an invalid line </pre></code></div> <div class="section"><h2><a name="Importing_the_prepared_data_using_the_completebulkload_tool"></a>Importing the prepared data using the completebulkload tool</h2> <p> After a data import has been prepared using the <code>importtsv</code> tool, the <code>completebulkload</code> tool is used to import the data into the running cluster. </p> <p> The <code>completebulkload</code> tool simply takes the same output path where <code>importtsv</code> put its results, and the table name. For example: </p> <code>$ hadoop jar hbase-VERSION.jar completebulkload /user/todd/myoutput mytable</code><p> This tool will run quickly, after which point the new data will be visible in the cluster. </p> </div> <div class="section"><h2><a name="Advanced_Usage"></a>Advanced Usage</h2> <p> Although the <code>importtsv</code> tool is useful in many cases, advanced users may want to generate data programatically, or import data from other formats. To get started doing so, dig into <code>ImportTsv.java</code> and check the JavaDoc for HFileOutputFormat. </p> <p> The import step of the bulk load can also be done programatically. See the <code>LoadIncrementalHFiles</code> class for more information. </p> </div> </div> </div> <div class="clear"> <hr/> </div> <div id="footer"> <div class="xright">Copyright &#169; 2011 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved. </div> <div class="clear"> <hr/> </div> </div> </body> </html>
html
// Copyright (c) 2014-2016 Dropbox, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // #include <sstream> #include "codegen/baseline_jit.h" #include "runtime/objmodel.h" #include "runtime/set.h" namespace pyston { extern "C" { BoxedClass* code_cls; } #if 0 BORROWED(Box*) BoxedCode::name(Box* b, void*) noexcept { RELEASE_ASSERT(b->cls == code_cls, ""); BoxedCode* code = static_cast<BoxedCode*>(b); if (code->_name) return code->_name; return code->name; } #endif Box* BoxedCode::co_name(Box* b, void* arg) noexcept { RELEASE_ASSERT(b->cls == code_cls, ""); BoxedCode* code = static_cast<BoxedCode*>(b); return incref(code->name); } #if 0 BORROWED(Box*) BoxedCode::filename(Box* b, void*) noexcept { RELEASE_ASSERT(b->cls == code_cls, ""); BoxedCode* code = static_cast<BoxedCode*>(b); if (code->_filename) return code->_filename; return code->filename; } #endif Box* BoxedCode::co_filename(Box* b, void* arg) noexcept { RELEASE_ASSERT(b->cls == code_cls, ""); BoxedCode* code = static_cast<BoxedCode*>(b); return incref(code->filename); } Box* BoxedCode::co_firstlineno(Box* b, void*) noexcept { RELEASE_ASSERT(b->cls == code_cls, ""); BoxedCode* code = static_cast<BoxedCode*>(b); return boxInt(code->firstlineno); } Box* BoxedCode::argcount(Box* b, void*) noexcept { RELEASE_ASSERT(b->cls == code_cls, ""); return boxInt(static_cast<BoxedCode*>(b)->num_args); } Box* BoxedCode::varnames(Box* b, void*) noexcept { RELEASE_ASSERT(b->cls == code_cls, ""); BoxedCode* code = static_cast<BoxedCode*>(b); auto& param_names = code->param_names; RELEASE_ASSERT(param_names.takes_param_names, "shouldn't have created '%s' as a BoxedFunction", code->name->c_str()); std::vector<Box*> elts; for (auto sr : param_names.allArgsAsStr()) elts.push_back(boxString(sr)); auto rtn = BoxedTuple::create(elts.size(), &elts[0]); for (auto e : elts) Py_DECREF(e); return rtn; } Box* BoxedCode::flags(Box* b, void*) noexcept { RELEASE_ASSERT(b->cls == code_cls, ""); BoxedCode* code = static_cast<BoxedCode*>(b); int flags = 0; if (code->takes_varargs) flags |= CO_VARARGS; if (code->takes_kwargs) flags |= CO_VARKEYWORDS; if (code->isGenerator()) flags |= CO_GENERATOR; return boxInt(flags); } void BoxedCode::dealloc(Box* b) noexcept { BoxedCode* o = static_cast<BoxedCode*>(b); Py_XDECREF(o->filename); Py_XDECREF(o->name); Py_XDECREF(o->_doc); o->tryDeallocatingTheBJitCode(); o->source.reset(nullptr); o->~BoxedCode(); o->cls->tp_free(o); } BoxedCode::BoxedCode(int num_args, bool takes_varargs, bool takes_kwargs, int firstlineno, std::unique_ptr<SourceInfo> source, CodeConstants code_constants, ParamNames&& param_names, BoxedString* filename, BoxedString* name, Box* doc) : source(std::move(source)), code_constants(std::move(code_constants)), filename(incref(filename)), name(incref(name)), firstlineno(firstlineno), _doc(incref(doc)), param_names(std::move(param_names)), takes_varargs(takes_varargs), takes_kwargs(takes_kwargs), num_args(num_args), times_interpreted(0), internal_callable(NULL, NULL) { // If any param names are specified, make sure all of them are (to avoid common mistakes): ASSERT(this->param_names.numNormalArgs() == 0 || this->param_names.numNormalArgs() == num_args, "%d %d", this->param_names.numNormalArgs(), num_args); } BoxedCode::BoxedCode(int num_args, bool takes_varargs, bool takes_kwargs, const char* name, const char* doc, ParamNames&& param_names) : source(nullptr), // TODO what to do with this? filename(nullptr), name(boxString(name)), // TODO what to do with this? firstlineno(-1), _doc(doc[0] == '\0' ? incref(Py_None) : boxString(doc)), param_names(std::move(param_names)), takes_varargs(takes_varargs), takes_kwargs(takes_kwargs), num_args(num_args), times_interpreted(0), internal_callable(NULL, NULL) { } // The dummy constructor for PyCode_New: BoxedCode::BoxedCode(BoxedString* filename, BoxedString* name, int firstline) : filename(filename), name(name), firstlineno(firstline), _doc(nullptr), param_names(ParamNames::empty()), takes_varargs(false), takes_kwargs(false), num_args(0), internal_callable(nullptr, nullptr) { Py_XINCREF(filename); Py_XINCREF(name); } extern "C" PyCodeObject* PyCode_New(int argcount, int nlocals, int stacksize, int flags, PyObject* code, PyObject* consts, PyObject* names, PyObject* varnames, PyObject* freevars, PyObject* cellvars, PyObject* filename, PyObject* name, int firstlineno, PyObject* lnotab) noexcept { // Check if this is a dummy code object like PyCode_NewEmpty generates. // Because we currently support dummy ones only. bool is_dummy = argcount == 0 && nlocals == 0 && stacksize == 0 && flags == 0; is_dummy = is_dummy && code == EmptyString && lnotab == EmptyString; for (auto&& var : { consts, names, varnames, freevars, cellvars }) is_dummy = is_dummy && var == EmptyTuple; // The follwing variables are not implemented but we allow them because there is currently // no way for code to retrieve them. auto temp_allowed = argcount || argcount || flags || varnames != EmptyTuple; RELEASE_ASSERT(is_dummy || temp_allowed, "not implemented"); RELEASE_ASSERT(PyString_Check(filename), ""); RELEASE_ASSERT(PyString_Check(name), ""); return (PyCodeObject*)new BoxedCode(static_cast<BoxedString*>(filename), static_cast<BoxedString*>(name), firstlineno); } extern "C" PyCodeObject* PyCode_NewEmpty(const char* filename, const char* funcname, int firstlineno) noexcept { static PyObject* emptystring = NULL; static PyObject* nulltuple = NULL; PyObject* filename_ob = NULL; PyObject* funcname_ob = NULL; PyCodeObject* result = NULL; if (emptystring == NULL) { emptystring = PyGC_RegisterStaticConstant(PyString_FromString("")); if (emptystring == NULL) goto failed; } if (nulltuple == NULL) { nulltuple = PyGC_RegisterStaticConstant(PyTuple_New(0)); if (nulltuple == NULL) goto failed; } funcname_ob = PyString_FromString(funcname); if (funcname_ob == NULL) goto failed; filename_ob = PyString_FromString(filename); if (filename_ob == NULL) goto failed; result = PyCode_New(0, /* argcount */ 0, /* nlocals */ 0, /* stacksize */ 0, /* flags */ emptystring, /* code */ nulltuple, /* consts */ nulltuple, /* names */ nulltuple, /* varnames */ nulltuple, /* freevars */ nulltuple, /* cellvars */ filename_ob, /* filename */ funcname_ob, /* name */ firstlineno, /* firstlineno */ emptystring /* lnotab */ ); failed: Py_XDECREF(funcname_ob); Py_XDECREF(filename_ob); return result; } extern "C" int PyCode_GetArgCount(PyCodeObject* op) noexcept { RELEASE_ASSERT(PyCode_Check((Box*)op), ""); return unboxInt(autoDecref(BoxedCode::argcount((Box*)op, NULL))); } extern "C" BORROWED(PyObject*) PyCode_GetFilename(PyCodeObject* op) noexcept { RELEASE_ASSERT(PyCode_Check((Box*)op), ""); return reinterpret_cast<BoxedCode*>(op)->filename; } extern "C" BORROWED(PyObject*) PyCode_GetName(PyCodeObject* op) noexcept { RELEASE_ASSERT(PyCode_Check((Box*)op), ""); return reinterpret_cast<BoxedCode*>(op)->name; } extern "C" int PyCode_HasFreeVars(PyCodeObject* _code) noexcept { BoxedCode* code = (BoxedCode*)_code; return code->source->scoping.takesClosure() ? 1 : 0; } void setupCode() { code_cls->giveAttrBorrowed("__new__", Py_None); // Hacky way of preventing users from instantiating this code_cls->giveAttrDescriptor("co_name", BoxedCode::co_name, NULL); code_cls->giveAttrDescriptor("co_filename", BoxedCode::co_filename, NULL); code_cls->giveAttrDescriptor("co_firstlineno", BoxedCode::co_firstlineno, NULL); code_cls->giveAttrDescriptor("co_argcount", BoxedCode::argcount, NULL); code_cls->giveAttrDescriptor("co_varnames", BoxedCode::varnames, NULL); code_cls->giveAttrDescriptor("co_flags", BoxedCode::flags, NULL); code_cls->freeze(); } }
cpp
package photon.application.extensions.prusasl1.file.utilites; public class DepthBuffer { public static final int EMPTY = -1; private final int width; private final int numLayers; private final int[] buffer; private int minX = Integer.MAX_VALUE; private int maxX = 0; private int minDepth = Integer.MAX_VALUE; private int maxDepth = 0; public DepthBuffer(final int numLayers, final int width) { this.width = width; this.numLayers = numLayers; this.buffer = new int[width*numLayers]; } public synchronized void setDepth(final int layerNum, final int xCoordinate, final int depthValue) { buffer[width*layerNum + xCoordinate] = depthValue; if(EMPTY != depthValue) { if(xCoordinate < minX) minX = xCoordinate; if(xCoordinate > maxX) maxX = xCoordinate; if(depthValue < minDepth) minDepth = depthValue; if(depthValue > maxDepth) maxDepth = depthValue; } } public int getDepth(final int layerNum, final int xCoordinate) { return buffer[width*layerNum + xCoordinate]; } public int getWidth() { return width; } public int getNumLayers() { return numLayers; } public NormalMap getNormalMap() { // check for empty file if(minX >= maxX || minDepth >= maxDepth) throw new IllegalStateException("Empty Z-Buffer"); // clamp buffer to object size final int normalizedWidth = maxX - minX; final int[] normalizedBuf = new int[normalizedWidth*numLayers]; for(int y = 0; y < numLayers; y++) { for(int x = 0; x < normalizedWidth; x++) { final int rawDepth = buffer[width*y + minX + x]; normalizedBuf[normalizedWidth*y + x] = EMPTY == rawDepth ? EMPTY : rawDepth - minDepth; } } return new NormalMap(normalizedWidth, numLayers, normalizedBuf); } }
java
<filename>test_basic.py import unittest import helpers class BasicTest(unittest.TestCase): def test_network_interfaces(self): self.assertIsNotNone(helpers.get_network_interfaces()) if __name__ == '__main__': unittest.main()
python
Written Answers (c) The amount of levy received from both the organisations will be utilised by the Department of Telecommunications as a resource for development of telecom network. (d) Neither the MTNL nor the VSNL have powers for revision of tariff of various Telecom Services. Revising of tariff is generally done by the Department of Telecomunication whenever it is felt justified and necessary to do so, taking into account various factors including the cost of operation. Waiting List for Telephone Connections in Tamil Nadu 5755. SHRI C.K. KUPPUSWAMY: Will the Minister of COMMUNICATIONS be pleased to state: (a) the number of applications on waiting lists for telephone connections in Coimbatore, Tripura, Sulur and Palladam in Tamil Nadu; (b) at what rate per month the waiting lists are being cleared at these places; (c) the average number of fresh registerations per month at these places; and (d) the steps taken to ensure that the applicants in general category get telephone connections at these places within two years? THE MINISTER OF STATE IN THE MINISTRY OF COMMUNICATIONS (SHRI GIRIDHAR GOMANGO): (a) Waiting list is given as under:Coimbatore: Tirupur : Sulur : Palladam : (b) The waiting list are cleared only during Bulk Release i.e. during the expansion of above exchanges, in phased manner. (e) The average number of fresh registration per month at these places are given as under: Written Answers 452 (d) Due to paucity of resources, it is difficult to ensure that all general category applicants set the connections within two years. However, following expansion of exchanges have been planned: Coimbatore (i) Expansion of Peelamedu MAX 1 Exchange from 900-1500 lines during the year 1989-90. (ii) Expansion of Coimbatore by commissioning E10B exchanges of 9500 lines capacity during the year 90-91. Tirupur: Expansion of Tirupur exchange grom 8000 to 10000 lines during 1989-90; Sulur : Expansion of Sulur MAX II from 400 to 500 lines during 1989-90. Palladam: Expansion of Palladam MAX Il from 400 to 500 lines during 1989-90. Electronic Telephones Exchanges in Tamil Nadu 5756. SHRI C.K. KUPPUSWAMY: Will the Minister of COMMUNICATIONS be pleased to state: (a) whether Government have decided
english
Paulo Costa in typical Costa fashion has insinuated that his “Secret Juice” is the primary grounds behind the physique of Dana White! It was recently brought to the UFC spectators’ attention that Dana White, according to the UFC president himself, has about 11 years at a push, to live! Appalling, if it’s true. The 53-year-old shared a clip where he declared he had consulted human biologist, Gary Brecka, who has expertise in judging the number of years you have left to live, with your current lifestyle intact. Brecka told White he basically had 10.4 years to live if he didn’t change his lifestyle. Brecka notified White, that he had to switch up his exercise regimen and diet if he wished to feel stronger and healthier in the immediate future. White agreed to do so and has since undertaken a ‘Ketone’ diet. In a matter of just ten weeks, the results, have left the industry stupefied. According to Dana White himself, he has never felt better. His sleep has enhanced, and his mind conspicuous. Additionally, there are results to validate the thesis. It might not be a facade, after all. Nevertheless, it’s good to see the UFC boss in good spirits. Paulo Costa’s Twitter antics have once again captivated the attention of the masses, who are relishing his content as he campaigns for his next bout! Paulo Costa, for the better part of a year now, has become the most entertaining martial arts persona on social media. The tweets and pictures posted by ‘Borrachinha’, have gone on to become viral sensations. Amid the news surrounding UFC boss, Dana White’s labored and awe-inspiring transformation, Costa has indicated it’s the work of his patented ‘secret juice’, that played an integral role in the transfiguration of White. Costa, since his bout with Luke Rockhold, has been actively advocating for a fight with UFC’s hottest property, Khamzat Chimaev, going as far as making obscene gestures against ‘Borz’, in order to get him to fight ‘Borrachinha’. The ‘Eraser’ has been a comical figure for a while now, and albeit, he makes playful comments at the expense of the several talents on the UFC roster, his intentions are merely meant to be amusing and nothing more.
english
Indian Institute of Technology Jodhpur has created unique platform to encourage its faculty and researchers to pursue innovative and disruptive ideas. Called ‘Moonshot Competition, ‘the idea is to develop projects that can eventually lead to large-scale solutions to improve health, societal, economic and environmental issues. Some of the solution-oriented ideas selected under Moonshot Competition include: - Harvesting an Asteroid Microwave Assisted Rock Pulverize and Electrostatic Separator which is related to Space, Microwave. - ‘ExPoPsych: Experiencing Positivity at the face of Psychological Vulnerability.’ which is related to AI and Psychology. The ‘Moonshot Competition’ was organized for Faculty Members of the Institute. They had to present their ideas through a pre-recorded video pitch. “The main objective of the competition is to encourage a moonshot culture and future-driven mindset in the institute, leading to transformational technologies and effective interventions for responding to societal challenges and aspirations,” said Santanu Chaudhury, Director, IIT Jodhpur, said. “The international community has gradually started accepting the idea of deep space exploration, human settlement in space, and resource generation from celestial bodies. In the past few years, multiple governments and space agencies have invested in developing technology and formulating regulatory frameworks for this purpose. India is in a unique position to leverage its space expertise to pioneer resource exploration on the moon and asteroids. We need strong support from the industry and government to be a leader in this domain,” Debanjan Roy, Assistant Professor, IIT Jodhpur, said. Some of the proposals have the potential to be initiated as a research project and subsequently, commercial viability will be accessed. Through the Institute has Technology Innovation and Startup Center (TISC) commercial viability and subsequent incubation support can be provided. The institute has a strong eco-system to support faculty members to conduct research in interdisciplinary domains.
english
<filename>tables/templates/tables/all_exposures.html<gh_stars>0 {% extends "tables/base.html" %} {% block content %} {% include 'tables/snippets/navbar.html' %} <table class="table table-bordered table-hover table-sm mt-2"> <thead class="thead-light"> <tr> <th>#</th> <th>Paikkakunta</th> <th>Paikka</th> <th>Tyyppi</th> <th>Tartuntoja</th> <th>Altistuneita</th> <th>Tapahtui</th> <th>Uutisoitiin</th> </tr> </thead> <tbody> {% for exposure in exposures %} <tr> <td> <a href="{% url 'exposure_detail' exposure.id %}">{{ forloop.counter }}</a> </td> <td>{{ exposure.municipality }}</td> <td>{{ exposure.location }}</td> <td>{{ exposure.location_category.title }}</td> <td class="text-right">{{ exposure.display_infected }}</td> <td class="text-right">{{ exposure.display_total }}</td> <td class="text-right">{{ exposure.exposure_date|date:"d.m.Y" }}</td> <td class="text-right text-nowrap"> {% if exposure.news_link %} <a href="{{ exposure.news_link }}"> {{ exposure.publish_date|date:"d.m.Y" }} </a> {% else %} {{ exposure.publish_date|date:"d.m.Y" }} {% endif %} {% if user.is_staff %} <a href="/admin/tables/exposure/{{ exposure.pk }}/change/">edit</a> {% if exposure.alert %}A{% endif %} {% endif %} </td> </tr> {% endfor %} </tbody> </table> {% endblock %}
html
ScientiFix, our weekly feature, offers you a summary of the top global science stories of the week, with links to the best sources to read them. It’s your fix to stay on top of the latest in science. NASA’s Voyager 2 has become the second human-made object to zip out of our neighbourhood and into the interstellar space at breakneck speeds. The craft is still well within the solar system, but has officially crossed the boundary marked by the existence of the solar wind, charged particles blowing outward from the sun. The craft was launched by NASA alongside Voyager 1 in 1977. Read ThePrint explainer here. A launch vehicle of Virgin Galactic Wednesday sent two human passengers out of earth’s atmosphere aboard the craft Unity. The craft went up 80 km over the earth before re-entering. The successful experiment gives a boost to Richard Branson’s future space tourism plans. Read the Wired report here. A recent ‘deep life’ study shows that microorganisms just below our feet outnumber and outweigh all the life in the earth’s oceans. Scientists estimate that the weight of all these organisms would be between 15 billion to 23 billion tonnes. The Deep Carbon Observatory team that performed the study consists of 1,200 scientists from 52 countries across disciplines like geology, microbiology, and physics. More in The Guardian. Reuters has found out that corporate giant Johnson and Johnson knew of the presence of cancer-causing asbestos in its iconic Baby Powder since the 1950s. The investigation details instances where the company is accused of selectively choosing facts to defend itself when faced with litigation. Read the original Reuters report here and ThePrint’s explanation here. Designed at the University of California, Davis, the world’s latest full-body scanner EXPLORER is capable of tracking molecules and disease through the human body. It can also create 3D movies depicting the same flow. A video on Inverse shows glucose entering the blood stream through the leg, and then entering the lungs. Read more on this here.
english
<reponame>discordeno/benchmarks {"0":{"shardId":8,"payload":{"t":"GUILD_CREATE","s":115,"op":0,"d":{"premium_subscription_count":0,"name":"kr","system_channel_flags":0,"description":null,"premium_progress_bar_enabled":false,"max_video_channel_users":25,"discovery_splash":null,"presences":[],"members":[{"user":{"username":"Zmhlw","public_flags":65536,"id":"302453162135378866","discriminator":"7960","bot":true,"avatar":"eae5905ad2d18d7c8deca20478b088b5"},"roles":["291586008329686387"],"mute":false,"joined_at":"2021-10-10T08:16:15.004Z","hoisted_role":null,"deaf":false}],"explicit_content_filter":0,"system_channel_id":null,"channels":[{"type":0,"topic":null,"rate_limit_per_user":0,"position":0,"permission_overwrites":[],"name":"drvjlrq","last_message_id":"225525714958377833","id":"205744755731656252"},{"user_limit":0,"type":2,"rtc_region":null,"position":0,"permission_overwrites":[],"name":"Kfzegea","id":"630260804054567811","bitrate":64000},{"user_limit":0,"type":2,"rtc_region":null,"position":1,"permission_overwrites":[],"name":"2021-10-10T08:16:15.004Z","id":"291388206757304551","bitrate":64000},{"user_limit":0,"type":2,"rtc_region":null,"position":2,"permission_overwrites":[],"name":"2021-10-10T08:16:15.004Z","id":"345818098608166300","bitrate":64000}],"roles":[{"position":0,"permissions":"8633604661622","name":"ezpbeaihf","mentionable":false,"managed":false,"id":"945929354391047229","hoist":false,"color":0},{"tags":{"bot_id":"477454657325537978"},"position":1,"permissions":"8157364885","name":"Lvwd","mentionable":false,"managed":true,"id":"483898477958203466","hoist":false,"color":0},{"tags":{"bot_id":"237183882439976727"},"position":1,"permissions":"7948336609","name":"X7U5S","mentionable":false,"managed":true,"id":"126047796392673305","hoist":false,"color":0}],"verification_level":0,"afk_timeout":300,"application_id":null,"application_command_counts":{"1":7,"2":0,"3":0},"default_message_notifications":0,"lazy":true,"vanity_url_code":null,"nsfw_level":0,"member_count":7,"emojis":[],"afk_channel_id":null,"joined_at":"2021-10-10T08:16:15.004Z","owner_id":"292499280477129903","threads":[],"mfa_level":0,"region":"mrrnzcurss","guild_hashes":{"version":1,"roles":{"omitted":false,"hash":"Vea7Y3BFZHv"},"metadata":{"omitted":false,"hash":"7O35opyhowM"},"channels":{"omitted":false,"hash":"Kk3c6kQCE4P"}},"max_members":250000,"public_updates_channel_id":null,"nsfw":false,"banner":null,"splash":null,"embedded_activities":[],"id":"670050088318931311","rules_channel_id":null,"premium_tier":0,"icon":"eae5905ad2d18d7c8deca20478b088b5","voice_states":[],"stickers":[],"unavailable":false,"preferred_locale":"tvbPM","guild_scheduled_events":[],"application_command_count":7,"stage_instances":[],"features":[],"large":false}}},"id":"8799"}
json
Get schooled by CNET editor Jasmine France. This week: the art of finding love on Facebook. Disclaimer: Some of the links in this column lead to content with adult language. Thanks to the digital age, nothing is sacred anymore. If you need some proof for this statement, just consider Facebook. The social networking site is a veritable cesspool of vulgar content, unintelligible pseudo English, and TMI. That's not to say the site doesn't have value, because it most certainly does. It's great for reconnecting with old friends, planning gatherings, and sharing amusing media bits from around the Web, among other things. But as a tool in matters of the heart, Facebook decidedly falls into the gray area between super useful and downright shady. With that in mind, I've put together some tips to navigate the choppy waters of romantic relationships via social networking. First things first: DO look for love on Facebook. Why not, really? For one thing, it works. I have two close friends who met significant others through the site, and one is now engaged as a result. For many people, it's easier than asking someone out in person, whether for reasons of shyness or propriety. Further, it's not much different than meeting through a dedicated dating site such as Match.com or OKCupid--in fact, some might be even more comfortable admitting to meeting through Facebook since it's not a dedicated dating site. Of course, making that initial advance is where the challenge lies. If you're already connected to the person, DO consider sending a personal note related to a recent status update or wall post. Once the conversation has gotten started, asking to meet for coffee or a drink shouldn't be awkward. (Remember that engaged friend I mentioned? This is how it happened.) Also, DO consider checking out your extended network--friends of friends. For the best results, DO ask the mutual friend to do a little cursory investigating on your part to find out if the person is available and might be interested in your romantic overtures. Having a friend hook you up is basically the same no matter how you do it. In fact, getting to know a person a bit through Facebook before meeting them in person may make a face-to-face meeting more comfortable than, say, a group or blind date. While you're at it, DO reconnect with old high school or college friends on Facebook--I know of yet of another engagement that occurred in this way. Plus, expanding your overall social network with people with whom you're actually acquainted exponentially increases the pool of potential dates from which to choose, because I DON'T recommend contacting complete strangers with messages like "You're hot--wanna go out?" Frankly, that's more than a little creepy. If you absolutely must reach out to someone you have no connection to, DO open with something entertaining but entirely nonsexual, and try to start a conversation around something that is of mutual interest. Stay tuned next week for parts II & III of Facebooking for love. In the meantime, if you have any success--or horror--stories of your own, I invite you to share them in the comment section.
english
<reponame>DGarciaMedina/PiArmDiego import piarm import time import numpy as np import cv2 import random class MyArm2D: def __init__(self, move_robot = False): self.move_robot = move_robot if self.move_robot: self.robot = piarm.PiArm() self.open_connection() self.DEFAULT = [500, 500, 500, 500, 500, 500] self.num_members = 3 self.adjustable_joints = [3,4,5] self.initial_height = 73 # height in mm of motor 5's axle self.lengths = { "h_0": 73, "a": 97.5, "b": 96, "c": 160 } self.base_width = 110 self.base_height = 45 # All the angles are with respect to the vertical self.max_angles = [90 for _ in range(self.num_members)] self.min_angles = [-90 for _ in range(self.num_members)] self.min_angles[0] = 0 # To prevent it from hitting the base of the arm self.angles = 90*np.ones(self.num_members) # angles of motor 3, 4 and 5 ranging between # min_angle and max_angle self.member_thickness = 30 self.img_width = 1000 self.x_offset = int(self.img_width/2) self.y_offset = self.lengths["h_0"] self.img_height = int(sum(list(self.lengths.values())) + self.y_offset + 20) self.img = np.zeros((self.img_height, self.img_width, 3)) self.timestep = 0 self.max_timestep = 200 # This is to check that all the joints (except for the last one) is above # the ground self.min_joint_heights = [20, 20, 10] self.goal_coords = [None, None] self.update_goal_coords() self.joint_positions = [[0,0] for i in range(self.num_members + 1)] self.update_positions() self.distance2goal = None self.update_distance_2_goal() def __del__(self): print("Closing connection...") if self.move_robot: self.close_connection() def open_connection(self): if self.robot.alive: raise Exception("Robot is already switched on") self.robot.connect("/dev/ttyS0") if self.robot.alive: print("Success connecting to robot") return True else: print("Failed to connect to robot") return False def move_to_default_pos(self): if self.robot.alive: for ID in range(1, 7): self.robot.servoWrite(ID, int(self.DEFAULT[ID - 1]), 500) return True else: return False def move_to_pos(self): # First, convert the angles in degrees between -90º and +90º # to angles between 125 and 875 # 90 -> 500 # 0 -> 125 angles_deg = self.angles - 90 angles_deg[2] -= angles_deg[1] angles_deg[1] -= angles_deg[0] angles_piarm = [int(500 + (375/90)*angle_deg) for angle_deg in angles_deg] angles_piarm[0] = 1000 - angles_piarm[0] angles_piarm[1] = 1000 - angles_piarm[1] print("Angles in degrees: ", angles_deg) print("Moving arms with angles: ", angles_piarm) if self.robot.alive: for ID in range(3, 6): self.robot.servoWrite(8 - ID, int(angles_piarm[ID - 3]), 500) time.sleep(1) return True else: return False def close_connection(self): if not self.robot.alive: raise Exception("Robot is already switched off") self.robot.disconnect() if not self.robot.alive: print("Success disconnecting from robot") return True else: print("Failed to disconnect from robot") return False def update_goal_coords(self): max_length = sum(list(self.lengths.values())[1:]) r = random.uniform(0.8*max_length,max_length) theta = random.uniform(-np.pi/4, np.pi/2) x = r * np.sin(theta) y = r * np.cos(theta) self.goal_coords = [int(x), int(y)] def update_distance_2_goal(self): gripper_pos = self.joint_positions[-1] self.distance2goal = np.sqrt(sum([(gripper_pos[i] - self.goal_coords[i])**2 for i in range(2)])) def update_positions(self): """ Positions are with respect to the origin (0,0), right underneath motor 5. It is positive if it is away from the origin. """ self.joint_positions[0] = [0, self.lengths["h_0"]] self.joint_positions[1] = [ self.joint_positions[0][0] + self.lengths["a"] * np.sin(np.deg2rad(self.angles[0])), self.joint_positions[0][1] + self.lengths["a"] * np.cos(np.deg2rad(self.angles[0])) ] self.joint_positions[2] = [ self.joint_positions[1][0] + self.lengths["b"] * np.sin(np.deg2rad(self.angles[1])), self.joint_positions[1][1] + self.lengths["b"] * np.cos(np.deg2rad(self.angles[1])) ] self.joint_positions[3] = [ self.joint_positions[2][0] + self.lengths["c"] * np.sin(np.deg2rad(self.angles[2])), self.joint_positions[2][1] + self.lengths["c"] * np.cos(np.deg2rad(self.angles[2])) ] # Convert to integers self.joint_positions = [[int(x[0]),int(x[1])] for x in self.joint_positions] def move_arm(self, actions): """ The inputs are the new set of angles [theta0, theta1, theta2] """ for i, action in enumerate(actions): self.angles[i:] += action for member_index in range(1,self.num_members): self.max_angles[member_index] = self.angles[member_index - 1] + 90 self.min_angles[member_index] = self.angles[member_index - 1] - 90 self.update_positions() self.update_distance_2_goal() def render(self): self.img = np.zeros((self.img_height, self.img_width, 3)) # Render the floor self.img = cv2.rectangle(self.img, (0,0), (self.img_width, self.y_offset), (0,255,0), -1) # Render the base of the arm self.img = cv2.rectangle(self.img, (int(self.x_offset - self.base_width/2), self.y_offset), (int(self.x_offset - self.base_width/2 + self.base_width), self.y_offset + self.base_height), (0, 165, 255), -1) goal_x, goal_y = self.goal_coords self.img = cv2.circle(self.img, (goal_x + self.x_offset, goal_y + self.y_offset), int(self.member_thickness/2), (128, 0, 128), 5) for member_id in range(self.num_members): first_joint = self.joint_positions[member_id].copy() second_joint = self.joint_positions[member_id + 1].copy() first_joint[0] += self.x_offset first_joint[1] += self.y_offset second_joint[0] += self.x_offset second_joint[1] += self.y_offset self.img = cv2.line(self.img, tuple(first_joint), tuple(second_joint), (255,0,0), self.member_thickness) self.img = cv2.circle(self.img, tuple(first_joint), int(self.member_thickness/2), (255,255,0), -1) # Flip image upside down self.img = cv2.flip(self.img, 0) self.img = cv2.putText(self.img, "Distance: " + str(round(self.distance2goal,2)), (10, 30), cv2.FONT_HERSHEY_SIMPLEX, 1, (255,255,255), 2) cv2.imshow("Arm", self.img) cv2.moveWindow("Arm",20,50) def reset(self): self.angles = 90*np.ones(self.num_members) self.update_positions() self.img = np.zeros((self.img_height, self.img_width, 3)) self.timestep = 0 self.update_goal_coords() self.render() if self.move_robot: self.move_to_default_pos() def check_arm_angles(self): for member_index in range(self.num_members): if self.angles[member_index] < self.min_angles[member_index]: return False if self.angles[member_index] > self.max_angles[member_index]: return False return True def check_arm_positions(self): for joint_index in range(1,len(self.joint_positions)): member_pos = self.joint_positions[joint_index][1] min_height = self.min_joint_heights[joint_index-1] if member_pos < min_height: return False return True def get_reward(self, forbidden_action): if forbidden_action: reward_scaling_factor = 2 else: reward_scaling_factor = 1 return - self.distance2goal * reward_scaling_factor def step(self, actions): self.move_arm(actions) forbidden_action = False okay_angles = self.check_arm_angles() okay_positions = self.check_arm_positions() if not okay_angles: print("An angle threshold was exceeded") self.move_arm(-actions) forbidden_action = True if not okay_positions: print("A position threshold was exqqceeded") self.move_arm(-actions) forbidden_action = True self.render() if self.move_robot: self.move_to_pos() r = self.get_reward(forbidden_action) self.timestep += 1 is_done = self.timestep >= self.max_timestep return self.angles, r, is_done
python
Ralphie Cifaretto : I hate to do it, Artie. But I think I'm gonna pass. Sorry. Artie Bucco : Why not? Ralphie Cifaretto : 'Cause if you don't pay me back, I ain't gonna be able to hurt ya.
english
Bridgestone India Managing Director Stefano Sanchini stated,"Bridgestone India is bringing in its global technologies and manufacturing for the Indian market so as to suit the needs of aspiring Indian consumers that want more fuel-efficient tyres, and better products to suit the improved quality of Indian roads,". Bridgestone lines up Rs 600 cr to expand capacity, upgrade tech at Pune plant (Credit: Bridgestone Facebook handle) Tyre maker Bridgestone India on Monday said it will invest over Rs 600 crore over the next three years to expand production capacity and upgrade technology at its Pune-based plant. Initial investment for capacity and technology upgradation will be 70 million euros (over Rs 600 crore), the company said in a statement. It will improve the plant capability in terms of technologies and capacities for the manufacture of tyres for the passenger car segment, it added. "Bridgestone India is bringing in its global technologies and manufacturing for the Indian market so as to suit the needs of aspiring Indian consumers that want more fuel-efficient tyres, and better products to suit the improved quality of Indian roads," Bridgestone India Managing Director Stefano Sanchini stated. As a global leader in tyre technology, the company is committed towards providing sustainable mobility solutions and the current investment of 70 million euros is in this direction, he added. The company, however, did not share details of the Chakan-based plant's current production capacity and by how much it would go up over the next three years. The facility commenced production in 2013. A 3-Hour Flight Delay Because Of Ghost? Why?
english
--- title: How to Use package.json, the Core of Any Node.js Project or npm Package --- ## How to Use package.json, the Core of Any Node.js Project or npm Package According to [this issue discussed on freeCodeCamp's git repo](https://github.com/freeCodeCamp/freeCodeCamp/issues/34798), the bootstrapped glitch project in the [introduction](https://learn.freecodecamp.org/apis-and-microservices/managing-packages-with-npm/) will NOT work if you're not logged in on glitch. Here's how to set up a new node/express project anonymously: 1. In the glitch project you opened from the introduction page, go to the top left corner for "project options" and click on "New Project". 2. Click on "hello-express" to start a new node/express project 3. We're not done yet; go to `server.js` on __YOUR glitch project__, and replace everything in there with this `server.js` on [freeCodeCamo's repo](https://github.com/freeCodeCamp/boilerplate-npm/blob/gomix/server.js) 4. Then, go to `package.json` on __YOUR glitch project__, and again, replace everything in thEre with the `package.json` on [freeCodeCamp's repo](https://github.com/freeCodeCamp/boilerplate-npm/blob/gomix/package.json) 5. Finally, to submit your solution, go to "Share", click on the "App" tab and copy the link to your app. Submit this link when your solution is ready. Now, you're ready to solve the challenges :sparkles: Remember, you're writing JSON, so make sure you use 1. double quotes 2. `"key": value` format 3. the correct number of commas SPOILER ALERT. DO NOT SCROLL DOWN IF YOU WISH TO KEEP TRYING ```json { "name": "fcc-learn-npm-package-json", "author": "foobar", "dependencies": { "express": "^4.14.0" }, "main": "server.js", "scripts": { "start": "node server.js" }, "engines": { "node": "8.11.2" }, "repository": { "type": "git", "url": "https://idontknow/todo.git" } } ```
markdown
Gamescom, the biggest gaming event in Europe, is here once again. Alongside it, we got another reveal-filled livestream organized by Geoff Keighley, the man behind Summer Game Fest Kickoff and The Game Awards. As the final big gaming showcase of the summer, Gamescom Opening Night Live gave developers another opportunity to highlight games they will release throughout the rest of 2022 and into early 2023. Thanks to leaks and teases from Geoff Keighley, we knew a lot of what will show up at Gamescom Opening Night Live. We saw new footage of The Callisto Protocol, Hogwarts Legacy, High On Life, Gotham Knights, and more, and got official announcements for the new version of Dead Island 2 and the release date for Sonic Frontiers. There were still some fun surprises, though. As such, you should check out this list of every game announced during the Gamescom Opening Night Live 2022 showcase. The second announcement of the show was Dune Awakening. It’s an ambitious open-world survival MMO set in the universe of that popular sci-fi franchise. Players must try to survive on Arrakis by building bases, finding resources, and fending off enemy factions. While Funcom has teased for a while, it’s nice to have confirmation and a cinematic trailer for the game, finally. There’s no release date, but Funcom will hold a beta for Dune Awakening before launch. This year’s Gamescom Opening Night Live was good for a game stuck in development hell. The Lords of the Fallen is a follow-up to a 2014 Soulslike that was announced then but stuck in development hell ever since. The new trailer narrated by Stranger Things’ Joseph Quinn reintroduces us to the series’ universe and confirms that The Lords of the Fallen is in active development for PC, PS5, and Xbox Series X/S. 2K and Gearbox unveiled New Tales from the Borderlands, and it’s out in less than two months! The narrative adventure game set in the Borderlands universe is a successor to one of Telltale’s best titles and features a new cast of characters for players to get acquainted with and make choices for. It clearly has Borderlands’ trademark style and humor, and we won’t have to wait long to see it all in action. New Tales from the Borderlands launches for PC, PS4, PS5, Xbox One, Xbox Series X/S, and Nintendo Switch on October 21. While divisive early looks at gameplay made some fans doubt whether or not Sonic Frontiers would release this year, we learned at Gamescom Opening Night Live that it will. A brand new trailer for the game was shown off that confirmed the leaked November 8 release date, which puts the game up against Skull & Bones and God of War: Ragnarok. At launch, Sonic Frontiers will be available on PC, PS4, PS5, Xbox One, Xbox Series X/S, and Nintendo Switch. The Director of Friday the 13th: The Game revealed that he is turning the cult classic horror film Killer Klowns from Outer Space into a multiplayer horror game. It launches for PC, PS4, PS5, Xbox One, and Xbox Series X/S in early 2023 and is simply titled Killer Klowns from Outer Space: The Game. Players can currently sign up for a bet on the game’s website. Former Bethesda Game Studios developer Jeff Gardiner showed up to Gamescom Opening Night Live to unveil Something Wicked Games. This is a brand new studio made up of former Bethesda and Obsidian Entertainment RPGs, and they are making a brand new game called Wyrdsong. Wyrdsong is an occult RPG set in medieval Portugal. While it seems like the game won’t be released for a while, Wyrdsong certainly has an intriguing and spooky reveal trailer. If you want to learn more about the game, Jeff Gardiner revealed a lot of new details about Wyrdsong in an interview with Digital Trends. While a leak stole this announcement’s thunder, Dead Island 2 was shown off officially for the first time in years at the final announcement at Gamescom Opening Night Live. We were introduced to a brand new version of the game, which follows a group of six Slayers as they fight off the zombie threat in Los Angeles with customizable abilities and brutal combat. After over eight years of waiting, players won’t have to wait much longer as Dead Island 2 will be released for PC, PS4, PS5, Xbox One, and Xbox Series X/S on February 3, 2023. A developer diary and reveal trailer shared the first details of Everywhere. PlayStation unveiled the DualSense Edge, a customizable PS5 controller. The Callisto Protocol got new gory gameplay and affirmed its December 2 release. Moving Out 2 was announced with a 2023 release window. Hogwarts Legacy’s new trailer shows off the dangers (and the power) of dark magic. We got a first look at the Dying Light 2: Bloody Ties expansion and its deadly arena combat. It launches on October 13. Tortuga: A Pirate’s Tale announced. Marauders’ early access release was confirmed for October 2022. Destiny 2: Lightfall’s cinematic trailer was shown off. Parallel Studio and Quantic Dream unveiled the narrative game Under the Waves. Goat Simulator 3 received a gameplay trailer highlighting co-op, customization, and the chaos players can create. It launches on November 17. Return to Monkey Island got a September 19 release date. Unknown Worlds and Brandon Sanderson unveiled Moonbreaker, a new sci-fi video game inspired by turn-based tabletop games. It enters early access on September 29. Friends vs. Friends, a card-based shooter, was revealed with a colorfully animated trailer. Soulslike Lies of P got a new trailer and was confirmed to be a day one Xbox Game Pass title when it launches in 2023. Haemimont Games revealed Stranded: Alien Dawn, which launches into early access in October 2022. Focus Entertainment and Deck13 unveiled a new sci-fi IP called Atlas Fallen, coming to PC, PS5, and Xbox Series X/S in 2023. Homeworld 3 got a new gameplay trailer. We got a look at what is coming to Genshin Impact as part of the 3.0 update. Honkai Star Rail got a new trailer that teased more of the game’s story. High on Life’s latest trailer showed off the kooky weapons in action during a boss fight. Oculus Quest 2 and Level Infinite’s game lineup got ads. Hardspace: Shipbreaker’s PS5 and Xbox Series X ports got a September 20 release date. Xbox Game Pass for PC released a sizzle reel highlighting available games. The Expanse: A Telltale Series got a dev diary showcasing some traversal gameplay. It launches in Summer 2023. Scars Above got a new trailer. Age of Empires IV gets the Ottomans and Malians on October 25. Gotham Knights’ new trailer showed some new villains and confirmed that the game will now release on October 21. Where Winds Meet was revealed. Hideo Kojima will release a podcast on Spotify this September. It’ll be in both English and Japanese, and the first episode drops on September 8. Park Beyond got a new trailer, and a 2023 release for PC, PS5, and Xbox Series X/S release was confirmed. Keighley showed off a concept car inspired by Pokemon. Warhammer 40K: Darktide got a gameplay overview trailer. Focus Entertainment released a new trailer for the Baba Yaga game Blacktail, which will launch for PC, PS5, and Xbox Series X/S this Winter. All In! Games revealed Phantom Hellcat, a Nier-inspired action game coming to PC, PS4, PS5, Xbox One, and Xbox Series X/S. CrossfireX got a new update that addresses many issues that players have with the game and adds new content. Dorfromantik comes to Nintendo Switch on September 29. The Outlast Trials will have a closed beta from October 28 until November 1. Embark Studios released a teaser trailer for its multiplayer shooter The Finals, which will get a full reveal in September.
english
<reponame>rolocampusano/nber { "id": 672, "cites": 28, "cited_by": 0, "reference": [ "<NAME>. Theory of Union Bargaining&apos;Goals, Princeton: Princeton University Press 1973. Blau, Francine and <NAME>. \"The Exit-Voice todel of Unionism: Some Further Evidence on Layoffs,\" University of Illinois, March 1980. Brown, Charles and <NAME>. \"Trade Unions in the Production Process.\" Journal of Political Economy, 86,3, pp. 355-78.", "<NAME>. \"Planning and Iterket Structure,\" in The Economics of Uncertainty, ed. by J.J.McCall (1979).", "<NAME>. and <NAME>. Theory of the Firm: Resource Allocation in a Market Economy, 2nd edition, Prentice Hall: Englewood Cliffs, NJ (1975).", "<NAME>. \"On Compulsory Arbitration Schemes,\" Journal of Political Economy, 87,1 (1979) pp. 131-60.", "<NAME>. and <NAME>. \"Wage Determinants Under Trade Unionism: The International Typographical Union,\" Stanford&apos;Universit (April 1980).", "<NAME>. \"The Effects of Unionization on Wages and Employment: A General Equilibrium Analysis,\" Economic Inquiry, 12(2), pp. 319-3 9 (Sept. 1974) Dunlop, John C. Wage Determination Under Trade Unions, MacMillan, New York and London (1944).", "<NAME>., <NAME> and <NAME>. \"Employment Contracts, Risk Sharing and the Role of Unions,\" Carnegie-Mellon Working Paper #70-79-80, (1980) .", "F\u00c3\u0083\u00c2\u00a4rber, Henry. \"Individual Preferences and Union Wage Determination: The Case of the United Mine Workers,\" Journal of Political Economy, 86,5 (1979) pp. 923-42.", "_\u00c3\u00a2\u00e2\u0082\u00ac\u00c2\u00a2 \"Bargaining Theory, Wage Outcomes, and Occurren-e of Strikes: An Econometric Analysis,\" American Economic Review, 68 (June 1978) pp 262-71.", "<NAME>. \"Individual Mobility and Union Voice in the Labor Jferket, American Economic Review (May 1976).", "_. \"The Effect of Unionism on Worker Attachment to Firms,\" Journal of Labor Research, 1(1), pp. 29-61 (Spring 1980).", "_\u00c3\u00a2\u00e2\u0082\u00ac\u00c2\u00a2 \"The Effect of Trade Unionism on Fringe Benefits,\" Naitonal Bureau of Economic Research Working Paper #292 (1978).", "<NAME>. and <NAME>. \"Efficient Wage Bargains Under Uncertain Supply and Demand,\" American Economic Review 69(5) pp. 868-79 (Dec. 1979).", "<NAME>. The Theory of Wages, MacMillan: London (1966).", "<NAME>. and <NAME>. \"The Effects of Unionization on the Distribution of Income,\" Quarterly Journal of Economics (1970).", "<NAME>. Unionism and Relative Wages in the U.S., Chicago: University of Chicago Press (1963).", "<NAME>. Principles, Book V, Chapter VI. Medoff, J. \"Layoffs and Alternatives Under Trade Unions in United States Manufacturing,\" American Economic Review (June 1979).", "<NAME>. \"The Economics of Wage Floors,\" American Economic Review, papers and Proceedings of Sept. 1980 Meetings, 1981.", "<NAME>. Economics of Welfare, Book IV, Chapter V. Rees, A. The Economics of Trade Unions, University of Chicago Press: Chicago (1962).", "<NAME>. \"Job Scarcity and the Nature of Union Power,\" Industrial Labor Relations Review (1959), 13 pp. 349-62.", "_. \"A Theory of Union Wage Policy,\" R.E. Stat. (1952), 34, pp. 34-45.", "<NAME>. \"Trade Union Power, Threat Effects and the Extent of Organization,\" R.E. Stat. (1969).", "_. \"Unionism and Occupational Wage Structure in the U.S.,\" I.E.R. (June 1970).", "_. \"Hedonic Prices and Implicit Markets: Product Differentiation in Pure Competition,\" Journal of Political Economy 82 (Jan./Feb. 1974) pp. 34-55.", "<NAME>. Theory of Union Wage Policy University of California Press: Berkeley (1948) Sayles, Leonard and George Strauss. The Local Union, Harcourt, Brace and World: New York (1967).", "<NAME>. \"On the Theory of Negotiation\" Quarterly Journal of Economics 73, pp. 77-97 (1958).", "<NAME>. \"Utilitarianism and Horizontal Equity: The Case for Random Taxation,\" mimeo (1980).", "Weinstein, P.A. \"The Featherbedding Problem,\" American Economic Review 54, pp. 145-52 (1954)." ] }
json
<gh_stars>0 *, *::before, *::after { box-sizing: border-box; } body { margin: 0; font-family: sans-serif; } .nav > .title { padding: 16px 32px; margin: 0; } @media only screen { .dismissible-popup { position: absolute; top: 60px; right: 60px; z-index: 1; width: 350px; padding: 30px; background-color: rgba(0,0,0,0.85); color: #fff; font-size: 85%; } .dismissible-popup a { color: #4183c4; } .demo-component { position: fixed; height: 100%; width: 100%; } .demo-component > .nav { position: absolute; top: 0; left: 0; height: 100%; width: 300px; background-color: #eee; } .nav-component > .list { padding: 0; margin: 0; } .demo-component > .workspace { padding-left: 300px; height: 100%; } .pagination-workspace > .viewport { width: 100%; height: 100%; overflow: auto; } .nav-component > .list > .item { display: block; } .nav-item > .anchor { display: block; color: inherit; text-decoration: none; padding: 16px 32px; } .nav-item.-active { background-color: rgba(0,0,0,0.125); } .nav-item > .anchor:hover { background-color: rgba(0,0,0,0.25); } } @media only print { .dismissible-popup { display: none; } .nav-component { display: none; } }
css
International Centre for Cross Cultural Research and Human Resource Management (ICccR & HRM), University of Jammu organized Session on “Nurturing Unicorns in Campuses” for the students of MBA (International Business) with an aim to inculcate startup culture and entrepreneurship amongst the students in their formative years of career choice development. Speaking on the occasion Prof. Tejinder Sharma, Kurukshetra University addressed the students about the current young generation being influenced by successful entrepreneurs such as Col. Harland Sanders, Elon Musk, Bill Gates, Steve Jobs, Kiran Mazumdar-Shaw and Narayana Murthy, or new age entrepreneurs such as Byju Raveendran and exemplifying such like cases as daily dose of classroom discussion in almost all the important courses such as economics, finance, strategy, marketing, operations or human resource management to name a few. The resource person also emphasized upon the importance of indigenous Indian specializations and businesses that possess strong conversion potential into unicorns with sustainable business models. Drawing on the contemporary envisioning of businesses in India vis a vie Western economies, he highlighted upon the importance of strategizing the businesses and consolidating same for enhancing the impact on local economy. Professor Hardeep Chahal, Director, ICccR & HRM, University of Jammu, expressed satisfaction and contentment with the overall conduct of session that was inclusive of practical cases of entrepreneurship to whom students were able to connect with. She further stressed upon the need for acquainting students with such like entrepreneurship centric interventions that enable them to rethink and reorient their careers in the direction of entrepreneurship and start up creation. The session was coordinated by Dr. Isha Sharma, Faculty, ICccR and HRM, University of Jammu and other faculty members of the department were present for the session.
english
If the recent Valorant Act 3 bugs and in-game exploits are evidence of anything, then it is that the game desperately needs its own PBE servers. Much like with Riot Games’ other title - League of Legends, Valorant devs need to create a PBE server, where they will be able to test out the changes and updates that they want to bring in with the next major patch. The very fact that Valorant doesn’t have a PBE server at the moment, makes the Valorant patches arrive at the live server with a lot of game-breaking bugs. The recent stutter bug is currently making the game unplayable, and Riot is yet to provide a successful hotfix for it. However, in their recent Ask Valorant #10, the devs have finally opened up about their plans on a PBE server, and it seems that they will indeed be bringing one around early 2021. The dev replied by saying, In-games bugs, ruin much of the competitive integrity of any online multiplayer gameplay, and Valorant is no stranger to this fact. The bugs, until now, have wreaked havoc with both pro play and normal matchmaking. Corrie understands the issues that bugs represent in Valorant, and continues by saying, Valorant getting its own PBE servers is going to help the game out tremendously in the long run.
english
<gh_stars>0 const a = 'sasha' const arr = [] const arr2 = [1,2,3,4,5,6, a] const arr3 = [1,2,3,4,5,6, a ] const arr4 = [1,2,3,4,5,6, a, arr2] // console.log(arr); // console.log(arr2); // console.log(arr3); // console.log(arr4); arr4[100] = 100 const arr12 = new Array() const arr13 = new Array(5) const arr14 = new Array(1,2,3,4,5,6, a, arr2, 2, 23,34,4,5,4) // console.log('blanck'); // console.log(arr12); // console.log(arr13); // console.log(arr14[7]); for (i = 0; i < arr4.length; i++) { console.log(arr4[i]); } // const k = Object.keys(arr4) // for (i = 0; i < k.length; i++) { // console.log( k[i] +'=>' + arr4[i]); // }
javascript
/* * Licensed to DuraSpace under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. * * DuraSpace licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.fcrepo.spec.testsuite.authz; import org.fcrepo.spec.testsuite.AbstractTest; import org.fcrepo.spec.testsuite.TestInfo; import org.testng.annotations.Parameters; import org.testng.annotations.Test; /** * @author awoods * @since 2018-07-16 */ public class WebACLinkHeaders extends AbstractTest { /** * Constructor * * @param username username * @param password password */ @Parameters({"param2", "param3"}) public WebACLinkHeaders(final String username, final String password) { super(username, password); } /** * 5.3-A - Link header points to existing ACL * * @param uri of base container of Fedora server */ @Test(groups = {"MUST"}) @Parameters({"param1"}) public void linkToAclExisting(final String uri) { final TestInfo info = setupTest("5.3-A", "linkToAclExisting", "A conforming server must advertise the individual resource ACL for every controlled resource in " + "HTTP responses with a rel=\"acl\" link in the Link header, whether or not the ACL exists.", "https://fedora.info/2018/06/25/spec/#link-rel-acl", ps); // check for Link header with existing ACL. } /** * 5.3-B - Link header points to yet uncreated ACL * * @param uri of base container of Fedora server */ @Test(groups = {"MUST"}) @Parameters({"param1"}) public void linkToAclNonexisting(final String uri) { final TestInfo info = setupTest("5.3-B", "linkToAclNonexisting", "A conforming server must advertise the individual resource ACL for every controlled resource in " + "HTTP responses with a rel=\"acl\" link in the Link header, whether or not the ACL exists.", "https://fedora.info/2018/06/25/spec/#link-rel-acl", ps); // check for Link header even if ACL does not exist. } /** * 5.3-C - ACL on the same server * * @param uri of base container of Fedora server */ @Test(groups = {"SHOULD"}) @Parameters({"param1"}) public void aclOnSameServer(final String uri) { final TestInfo info = setupTest("5.3-C", "aclOnSameServer", "The ACL resource should be located in the same server as the controlled resource.", "https://fedora.info/2018/06/25/spec/#link-rel-acl", ps); } }
java
Heavy to very heavy rains continue to lash different parts of Telangana. The water level in river Godavari increased and the third warning signal has been issued at Bhadrachalam on Wednesday. The water level touched 53 feet. Bhadradri Kothagudem District Collector Anudeep Durishetty in a statement stated that there was a possibility of the further rise and the water level might reach 63 feet. He held a teleconference with district officials and directed the officials to take up immediate relief measures and shift all the residents in the villages on the banks of the river to rehabilitation centres. He appealed to the elected representatives to take all the necessary actions to move the villagers in the submerged areas to the relief centres with immediate effect. Proper sanitation has to be maintained and medical teams have to provide health services at relief centres, he said. He further stated that boats, expert swimmers and NDRF personnel have to be readied to carry out rescue operations in the case of any emergency. He urged the people not to cross the bridge Godavari at Bhadrachalam. Flood control rooms have been set up at the Collector’s office with number 08744-241950, WhatsApp number 9392929743, at RDO office with WhatsApp number 9392919750 and at Bhadrachalam sub-Collector office with number 08743-232444 and WhatsApp number 6302485393.
english
Hardik Pandya has been turning heads with his sizzling all-round performances this year, but it seems not everyone rates the all-rounder highly as of now, and Pakistani journalist Fazeela Saba is certainly one of the handfuls of those. Seen as the next big thing in Indian cricket, Pandya showcased his immense potential in his very first One-Day International game in October last year when he bagged the Man of the Match award. But while inconsistency was his nemesis in the first few months of his career, he has turned his career around and has now become an integral part of the team in all the formats. After a highly successful Indian Premier League with the bat where he played a big role in Mumbai Indians successful campaign, the 23-year-old marked his arrival on the world stage with a sublime knock in the Champions Trophy final. On an otherwise dismal day for Team India, Pandya was the sole bright spot, as he slammed 76 runs off 43 balls in a heavy 180-run defeat. His impressive performances saw him getting a place in the Test team for the Sri Lanka series, and he justified the decision by scoring a quickfire fifty on his debut before giving a Man of the Match performance in the third Test, as he scored 108 runs off 96 balls including eight fours and seven sixes. He further elevated his reputation as one of the best all-rounders in the world right now with a match-winning all-round performance against world champions Australia in the first ODI on Sunday (September 17). After coming to bat in a precarious situation with the team reeling at 87 for five, he scored 83 off 66 balls with the help of five fours and as many sixes. He also took two wickets including the prized scalp of Steve Smith to help the Men in Blue register a comfortable 21 runs (DLS method) win. But while Pandya’s impressive performances have made many compare him with England star Ben Stokes who is arguably the best all-rounder in the world at the moment, Fazeela Saba does not think so. She took to Twitter to admit Pandya is ‘undoubtedly the upcoming multitasked player’ but took a dig at the Indian media for comparing the Indian player with Stokes. “Pandy (Pandya) undoubtedly is the upcoming multitasked player in cricket but his comparison with Ben Stokes by Indian media seems unjustified,” she tweeted.
english
<reponame>nanospectral/NASP Debian ==================== This directory contains files used to package naspd/nasp-qt for Debian-based Linux systems. If you compile naspd/nasp-qt yourself, there are some useful files here. ## nasp: URI support ## nasp-qt.desktop (Gnome / Open Desktop) To install: sudo desktop-file-install nasp-qt.desktop sudo update-desktop-database If you build yourself, you will either need to modify the paths in the .desktop file or copy or symlink your naspqt binary to `/usr/bin` and the `../../share/pixmaps/nasp128.png` to `/usr/share/pixmaps` nasp-qt.protocol (KDE)
markdown
Hindu devotees offer 100 liters of milk at Pashupatinath temple, in Kathmandu, Monday. KATHMANDU: Former Minister Uma Shankar Argaria has offered 100 liters of milk at the holy Bagmati river near the sacred Hindu site, Pashupatinath temple, in Kathmandu, Monday. Hindu devotee youths organized the milk offering ceremony at Pashupatinath temple. The ceremony attended by former Minister Argaria was held at the initiative of Nepal Foundation on the first week of holy month of Shrawan. Nepal Foundation President Bikash Kumar Thakur, political analyst Debesh Jha and other Hindu devotee youths were present on the occasion. Last week, former Prime Minister and Janata Samajbadi Party (JSP) Federal Council Chairman Baburam Bhattarai had linked Hindu ritual of offering milk at religious sites to superstition. Nepal Foundation President Thakur and former Minister Aragaria also criticized politician Bhattarai for insulting the Hindu faith and rituals at the ceremony. They also warned the concerned against carrying out anti-religious activities in the country. Dr Vijay Chauthaiwale, in-charge of the Foreign Affairs Department of India’s ruling Bharatiya Janata Party (BJP), had also criticized former PM Bhattarai for “insulting Hindu faith and rituals” last week. Politician Bhattarai has often attacked the Hindu faith time and again but has remained mum on the issue of forced conversions into Christianity.
english
{ "Role":{ "RoleName": "<NAME>", "RoleParent":"Role Parent", "RoleId":"Role Id", "Title":"Role" } }
json
import { Mock } from 'ts-mockery'; import { AxiosInstance } from 'axios'; import buildShlinkApiClient from '../../../src/api/services/ShlinkApiClientBuilder'; import { ReachableServer, SelectedServer } from '../../../src/servers/data'; import { ShlinkState } from '../../../src/container/types'; describe('ShlinkApiClientBuilder', () => { const axiosMock = Mock.all<AxiosInstance>(); const server = (data: Partial<ReachableServer>) => Mock.of<ReachableServer>(data); const createBuilder = () => { const builder = buildShlinkApiClient(axiosMock); return (selectedServer: SelectedServer) => builder(() => Mock.of<ShlinkState>({ selectedServer })); }; it('creates new instances when provided params are different', async () => { const builder = createBuilder(); const [ firstApiClient, secondApiClient, thirdApiClient ] = await Promise.all([ builder(server({ url: 'foo', apiKey: 'bar' })), builder(server({ url: 'bar', apiKey: 'bar' })), builder(server({ url: 'bar', apiKey: 'foo' })), ]); expect(firstApiClient).not.toBe(secondApiClient); expect(firstApiClient).not.toBe(thirdApiClient); expect(secondApiClient).not.toBe(thirdApiClient); }); it('returns existing instances when provided params are the same', async () => { const builder = createBuilder(); const selectedServer = server({ url: 'foo', apiKey: 'bar' }); const [ firstApiClient, secondApiClient, thirdApiClient ] = await Promise.all([ builder(selectedServer), builder(selectedServer), builder(selectedServer), ]); expect(firstApiClient).toBe(secondApiClient); expect(firstApiClient).toBe(thirdApiClient); expect(secondApiClient).toBe(thirdApiClient); }); it('does not fetch from state when provided param is already selected server', () => { const url = 'url'; const apiKey = 'apiKey'; const apiClient = buildShlinkApiClient(axiosMock)(server({ url, apiKey })); expect(apiClient['baseUrl']).toEqual(url); // eslint-disable-line @typescript-eslint/dot-notation expect(apiClient['apiKey']).toEqual(apiKey); // eslint-disable-line @typescript-eslint/dot-notation }); });
typescript
The Bharatiya Janata Party (BJP) is in the final stages of appointing a chief minister in Chhattisgarh, a state where the party recently secured victory, unseating the Congress in the assembly elections. The party's central observers, comprising Dushyant Gautam, Sarbananda Sonowal, and Arun Munda, have convened in Raipur, alongside state BJP figures Arun Sao and Om Mathur. Following triumphs in Rajasthan, Madhya Pradesh, and Chhattisgarh, the BJP has been conducting intensive meetings to select chief ministers for these states. Notably, several leaders have met BJP chief JP Nadda at his residence in Delhi. The anticipated meeting involving 54 newly-elected BJP MLAs today is expected to reveal the party's choice, potentially putting an end to the ongoing speculation surrounding the top leadership position.
english
<filename>src/main/java/com/elvin/daoImpl/DepartmentDaoImpl.java<gh_stars>1-10 /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.elvin.daoImpl; import com.elvin.dao.DepartmentDao; import com.elvin.modal.Department; import java.util.List; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.criterion.Projections; import org.hibernate.criterion.Restrictions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; /** * * @author elwyn */ @Repository public class DepartmentDaoImpl implements DepartmentDao{ @Autowired SessionFactory sessionFactory; @Override public void insert(Department department) { Session session = sessionFactory.openSession(); session.beginTransaction(); session.save(department); session.getTransaction().commit(); session.close(); } @Override public List<Department> display() { Session session = sessionFactory.openSession(); session.beginTransaction(); List<Department> list = session.createCriteria(Department.class).list(); session.close(); return list; } @Override public void update(Department department) { Session session = sessionFactory.openSession(); session.beginTransaction(); session.update(department); session.getTransaction().commit(); session.close(); } @Override public Department getById(int id) { Session session = sessionFactory.openSession(); session.beginTransaction(); List<Department> list = session.createCriteria(Department.class).add(Restrictions.eq("departmentId",id)).list(); session.close(); return list.get(0); } @Override public void delete(Department department) { Session session = sessionFactory.openSession(); session.beginTransaction(); session.delete(department); session.getTransaction().commit(); session.close(); } @Override public long count() { Session session = sessionFactory.openSession(); session.beginTransaction(); long totalDepartment = (long) session.createCriteria(Department.class).setProjection(Projections.rowCount()).uniqueResult(); session.close(); return totalDepartment; } }
java
{"nom":"Robecq","circ":"9ème circonscription","dpt":"Pas-de-Calais","inscrits":1081,"abs":497,"votants":584,"blancs":45,"nuls":24,"exp":515,"res":[{"nuance":"MDM","nom":"<NAME>","voix":265},{"nuance":"FN","nom":"<NAME>","voix":250}]}
json
<reponame>pioug/atlassian-frontend-mirror { "name": "@atlaskit/container-picker", "version": "1.1.11", "description": "A container picker", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "repository": "https://bitbucket.org/atlassian/atlassian-frontend", "author": "At<EMAIL>", "license": "Apache-2.0", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "module:es2019": "dist/es2019/index.js", "types": "dist/types/index.d.ts", "atlaskit:src": "src/index.ts", "atlassian": { "team": "Search & Smarts: Smart Experience", "deprecatedAutoEntryPoints": true, "releaseModel": "continuous", "website": { "name": "Container Picker" } }, "dependencies": { "@atlaskit/analytics": "^8.0.0", "@atlaskit/analytics-next": "^8.2.0", "@atlaskit/avatar": "^20.3.0", "@atlaskit/select": "^15.0.0", "@babel/runtime": "^7.0.0", "uuid": "^3.1.0" }, "peerDependencies": { "react": "^16.8.0", "styled-components": "^3.2.6" }, "devDependencies": { "@atlaskit/docs": "*", "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1", "enzyme": "^3.10.0", "prop-types": "^15.5.10", "react": "^16.8.0", "sinon": "^2.2.0", "typescript": "3.9.6" }, "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1" }
json
<filename>aula12ex/ex014/style.css @charset "UTF-8"; body{ background-color: rgb(111, 154, 219); font-family: Arial, Helvetica, sans-serif; font-size: 1em; } header{ color: white; text-align: center; font-size: 1.4em; text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.411); } div{ text-align: center; padding: 8px; } p { font-size: 1.4em; font-weight: normal; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.445); } section{ background-color: white; border-radius: 10px; padding: 15px; width: 500px; margin: auto; box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.418); } footer{ color: white; font-style: italic; text-align: center; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.253); }
css
{"data":{"id":29126,"title":"<NAME> [i.e. Moth ?], 1874 \/ photograph by Askey, Edinburgh","primoId":"ADLIB110341668","slug":"adlib110341668","shortcode":"","imageUrl":"https:\/\/dxlab.sl.nsw.gov.au\/images-newselfwales\/selfie1525326290556.jpg","content":"portraits, Adult Males","imageType":"portrait","date":"2018-05-03 05:44:50","dateText":"1874","timestamp":"","instagramUsername":"","featuredMedia":{"sourceUrl":"https:\/\/dxlab.sl.nsw.gov.au\/images-newselfwales\/selfie1525326290556.jpg","sizes":{"medium":{"sourceUrl":"https:\/\/dxlab.sl.nsw.gov.au\/images-newselfwales\/selfie1525326290556-186x300.jpg","width":186,"height":300,"__typename":"MediaSize"},"full":{"sourceUrl":"https:\/\/dxlab.sl.nsw.gov.au\/images-newselfwales\/selfie1525326290556.jpg","width":650,"height":1050,"__typename":"MediaSize"},"__typename":"MediaSizes"},"__typename":"Media"},"__typename":"NewSelfWalesPortrait"}}
json
Love Ka Tadka' is a feel good romantic comedy aimed at both the mass and class audience. The concept has been selected after a lot of research. As the title suggests the film essentially deals with love and the various spices or shades it has. The story features a romantic track between Aditya (Sameet Dattani) and Sheetal (Nauheed Cyrusi). Exaggerated and overtly emotional father played by Satish Kaushik takes the humour to another level. This tongue in cheek comedy has all ingredients required to cook up a fun film. The story begins with Aditya, a struggling, middle class boy who makes ends meet working in an "Easy Finance" as an executive. Aditya's life revolves around his work, friend Vicky and his corrupt boss till he accidentally bumps into pretty Sonia who keeps mistaking him for a Romeo. Every time Aditya tries to follow his friend Vicky's advice and prove his innocence, he only ends up creating a bigger misunderstanding. In this process, he ends up falling in love with her. And eventually they end up getting married. But here our story does not end with - They lived happily ever after. On the contrary, the story starts getting juicer. Out of fear of losing Sonia, Aditya had lied that he is working as a Manager and lives in a cool condominium. Naturally, the girl is shocked at entering a chawl after marriage. But finally they both manage to pool in money to buy an apartment. To add to their worries Sonia's dad insists on coming to stay with her. They evade him and make him stay with Vicky till they move into their new house. But when they go to buy their new house they run short on funds. Besides, on entering their new house, they realize they are going to be moving in a strictly vegetarian society. Both being non-veg find it difficult to digest the fact but have no choice. The real cat and mouse game begins when the Sonia's father who is strictly anti-vegetarian comes in to stay with them. He is not exactly happy with his son-in-law. So, not to upset him any further, Sonia and Adi do not reveal to him that the society is pure vegetarian. The real fun begins when the two have to smuggle the banned food items into the house and they keep the balancing act between the father and the society members. This pure vegetarian story with a Tadka of little tangy and a slightly spicy story will end up leaving a sweet taste and a smile on your faces. `Love Ka Tadka' is all set to release on 23rd Oct 09.
english
<reponame>fairhopeweb/corteza-vue /* eslint-disable @typescript-eslint/ban-ts-ignore */ import { compose, apiClients, corredor } from '@cortezaproject/corteza-js' import ComposeUIHelper from './compose-ui' import pino from 'pino' interface Vue { $SystemAPI: apiClients.System; $ComposeAPI: apiClients.Compose; $store: { getters: { [_: string]: Array<compose.Page> } }; $emit: unknown; $router: { push: unknown }; } /** * Extends corredor exec context with compose UI helper */ export default class ComposeCtx extends corredor.Ctx { protected emitter: unknown protected routePusher: unknown protected pages: Array<compose.Page> = [] protected composeUI: ComposeUIHelper protected vue: Vue // @todo remove ts-ignore flags constructor (args: corredor.BaseArgs, vue: Vue) { // @ts-ignore super(args, pino(), {}) this.vue = vue // @ts-ignore this.systemAPI = vue.$SystemAPI // @ts-ignore this.composeAPI = vue.$ComposeAPI this.composeUI = new ComposeUIHelper({ ...this.args, pages: vue.$store.getters['page/set'], // @ts-ignore emitter: (name, params): void => vue.$emit(name, params), // @ts-ignore routePusher: (params): void => vue.$router.push(params), }) if (!this.config) { this.config = {} } this.config.frontend = { baseURL: `${window.location.protocol}://${window.location.host}`, } } /** * Clones context and uses new arguments */ withArgs (args: corredor.BaseArgs): ComposeCtx { Object.assign(args, this.args) return new ComposeCtx(args, this.vue) } get ComposeUI (): ComposeUIHelper { return this.composeUI } }
typescript