AWS |
AWS Desktop and Application Streaming Blog |
IGEL Disrupt 2023 München – Mit AWS End User Computing die moderne digitale Arbeitswelt ermöglichen |
https://aws.amazon.com/blogs/desktop-and-application-streaming/igel-disrupt-2023-munchen-mit-aws-end-user-computing-die-moderne-digitale-arbeitswelt-ermoglichen/
|
IGEL Disrupt München Mit AWS End User Computing die moderne digitale Arbeitswelt ermöglichenWenn es darum geht Ihren Mitarbeitern und Kunden die Tools zur Verfügung zu stellen die sie für ihre Arbeit benötigen müssen Sie eine Reihe von Anforderungen erfüllen die sich regelmäßig ändern Als Reaktion auf die Kundennachfrage entwickelt die End User Computing Branche in rasantem Tempo innovative Lösungen die Unternehmen dabei helfen die Produktivität ihrer Mitarbeiter die Sicherheit und … |
2023-02-09 16:21:06 |
AWS |
AWS - Webinar Channel |
Get started with AWS DMS Schema Conversion- AWS Database in 15 |
https://www.youtube.com/watch?v=wd6HCdHbEus
|
Get started with AWS DMS Schema Conversion AWS Database in AWS Database Migration Service DMS makes it easy to migrate databases and analytics workloads to cloud native targets in AWS Schema Conversion is now integrated directly into DMS which simplifies the process more than ever providing one central location to plan modernize and migrate a workload while leveraging the power of a managed scalable cloud service In this session you will get an overview of the benefits and in console demo of how the DMS Schema Conversion features work Learning Objectives Objective Learn the benefits of using AWS DMS Schema Conversion Objective Understand when to use AWS DMS Schema Conversion Objective Demo on how to run schema assessment and conversion in DMS To learn more about the services featured in this talk please visit To download a copy of the slide deck from this webinar visit |
2023-02-09 16:15:03 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【Python】Deep Learning 向け動画読み込みライブラリ「decord」 |
https://qiita.com/ground0state/items/644f9e570d67c50d2f4c
|
decord |
2023-02-10 01:45:32 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
ぼっち演算子とnil?、blank?を組み合わせるとnilのときに結果が逆になる罠 |
https://qiita.com/kametter/items/097e4c399384a6a5cb0c
|
blank |
2023-02-10 01:17:39 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
パーシャルにローカル変数を渡す |
https://qiita.com/sekkey_777/items/e69a5f14e147156783a7
|
rails |
2023-02-10 01:37:16 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
パーシャルを使ってヘッダーやフッターを共通化する |
https://qiita.com/sekkey_777/items/9bb356598a6a881e64db
|
rails |
2023-02-10 01:33:58 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
ぼっち演算子とnil?、blank?を組み合わせるとnilのときに結果が逆になる罠 |
https://qiita.com/kametter/items/097e4c399384a6a5cb0c
|
blank |
2023-02-10 01:17:39 |
海外TECH |
MakeUseOf |
Snag The Best Microsoft Surface Deals in 2023 |
https://www.makeuseof.com/best-microsoft-surface-deals/
|
microsoft |
2023-02-09 16:21:16 |
海外TECH |
MakeUseOf |
How to Remove the "Show More Options" Entry From the Context Menu on Windows 11 |
https://www.makeuseof.com/remove-show-more-options-context-menu-windows-11/
|
windows |
2023-02-09 16:15:16 |
海外TECH |
DEV Community |
What's new in SeaORM 0.11.0 |
https://dev.to/seaql/whats-new-in-seaorm-0110-4k13
|
What x s new in SeaORM We are pleased to release SeaORM Data Loader The LoaderTrait provides an API to load related entities in batches Consider this one to many relation let cake with fruits Vec lt cake Model Vec lt fruit Model gt gt Cake find find with related Fruit all db await The generated SQL is SELECT cake id AS A id cake name AS A name fruit id AS B id fruit name AS B name fruit cake id AS B cake id FROM cake LEFT JOIN fruit ON cake id fruit cake id ORDER BY cake id ASCThe side s Cake data will be duplicated If N is a large number this would results in more data being transferred over the wire Using the Loader would ensure each model is transferred only once The following loads the same data as above but with two queries let cakes Vec lt cake Model gt Cake find all db await let fruits Vec lt Vec lt fruit Model gt gt cakes load many Fruit db await for cake fruits in cakes into iter zip fruits into iter SELECT cake id cake name FROM cake SELECT fruit id fruit name fruit cake id FROM fruit WHERE fruit cake id IN You can even apply filters on the related entity let fruits in stock Vec lt Vec lt fruit Model gt gt cakes load many fruit Entity find filter fruit Column Stock gt i db await SELECT fruit id fruit name fruit cake id FROM fruit WHERE fruit stock gt AND fruit cake id IN To learn more read the relation docs Transaction Isolation Level and Access Mode The transaction with config and begin with config allows you to specify the IsolationLevel and AccessMode For now they are only implemented for MySQL and Postgres In order to align their semantic difference MySQL will execute SET TRANSACTION commands before begin transaction while Postgres will execute SET TRANSACTION commands after begin transaction db transaction with config lt DbErr gt txn Some IsolationLevel ReadCommitted Some AccessMode ReadOnly await let transaction db begin with config IsolationLevel ReadCommitted AccessMode ReadOnly await To learn more read the transaction docs Cast Column Type on Select and Save If you need to select a column as one type but save it into the database as another you can specify the select as and the save as attributes to perform the casting A typical use case is selecting a column of type citext case insensitive text as String in Rust and saving it into the database as citext One should define the model field as below derive Clone Debug PartialEq Eq DeriveEntityModel sea orm table name ci table pub struct Model sea orm primary key pub id i sea orm select as text save as citext pub case insensitive text String derive Copy Clone Debug EnumIter DeriveRelation pub enum Relation impl ActiveModelBehavior for ActiveModel Changes to ActiveModelBehavior The methods of ActiveModelBehavior now have Connection as an additional parameter It enables you to perform database operations for example logging the changes made to the existing model or validating the data before inserting it async trait impl ActiveModelBehavior for ActiveModel Create a new ActiveModel with default values Also used by Default default fn new gt Self Self uuid Set Uuid new v ActiveModelTrait default Will be triggered before insert update async fn before save lt C gt self db amp C insert bool gt Result lt Self DbErr gt where C ConnectionTrait Logging changes edit log ActiveModel action Set before save into values Set serde json json model Default default insert db await Ok self To learn more read the entity docs Execute Unprepared SQL Statement You can execute an unprepared SQL statement with ConnectionTrait execute unprepared Use execute unprepared if the SQL statement doesn t have value bindingsdb execute unprepared CREATE TABLE cake id int NOT NULL AUTO INCREMENT PRIMARY KEY name varchar NOT NULL await Construct a Statement if the SQL contains value bindingslet stmt Statement from sql and values manager get database backend r INSERT INTO cake name VALUES Cheese Cake into db execute stmt await Select Into Tuple You can select a tuple or single value with the into tuple method let res Vec lt String i gt cake Entity find select only column cake Column Name column cake Column Id count group by cake Column Name into tuple all amp db await Atomic Migration Migration will be executed in Postgres atomically that means migration scripts will be executed inside a transaction Changes done to the database will be rolled back if the migration failed However atomic migration is not supported in MySQL and SQLite You can start a transaction inside each migration to perform operations like seeding sample data for a newly created table Types Support Support various UUID formats that are available in uuid fmt module derive Clone Debug PartialEq Eq DeriveEntityModel sea orm table name uuid fmt pub struct Model sea orm primary key pub id i pub uuid Uuid pub uuid braced uuid fmt Braced pub uuid hyphenated uuid fmt Hyphenated pub uuid simple uuid fmt Simple pub uuid urn uuid fmt Urn Support vector of enum for Postgres derive Debug Clone PartialEq Eq EnumIter DeriveActiveEnum sea orm rs type String db type Enum enum name tea pub enum Tea sea orm string value EverydayTea EverydayTea sea orm string value BreakfastTea BreakfastTea derive Clone Debug PartialEq Eq DeriveEntityModel sea orm table name enum vec pub struct Model sea orm primary key pub id i pub teas Vec lt Tea gt pub teas opt Option lt Vec lt Tea gt gt Support ActiveEnum field as primary key derive Clone Debug PartialEq Eq DeriveEntityModel sea orm table name enum primary key pub struct Model sea orm primary key auto increment false pub id Tea pub category Option lt Category gt pub color Option lt Color gt Opt in Unstable Internal APIsBy enabling sea orm internal feature you opt in unstable internal APIs including Accessing the inner connection pool of SQLx with get connection pool methodRe exporting SQLx errors types SqlxError SqlxMySqlError SqlxPostgresError and SqlxSqliteError Breaking Changes sea orm cli generate entity command enable universal time flag by default Added RecordNotInserted and RecordNotUpdated to DbErr Added ConnectionTrait execute unprepared method The required method of TryGetable changed thenfn try get res amp QueryResult pre amp str col amp str gt Result lt Self TryGetError gt now ColIdx can be amp str or usize fn try get by lt I ColIdx gt res amp QueryResult index I gt Result lt Self TryGetError gt So if you implemented it yourself impl TryGetable for XXX fn try get res amp QueryResult pre amp str col amp str gt Result lt Self TryGetError gt fn try get by lt I sea orm ColIdx gt res amp QueryResult idx I gt Result lt Self TryGetError gt let value YYY res try get pre col map err TryGetError DbErr let value YYY res try get by idx map err TryGetError DbErr The ActiveModelBehavior trait becomes async trait If you overridden the default ActiveModelBehavior implementation async trait async trait impl ActiveModelBehavior for ActiveModel async fn before save lt C gt self db amp C insert bool gt Result lt Self DbErr gt where C ConnectionTrait DbErr RecordNotFound None of the database rows are affected is moved to a dedicated error variant DbErr RecordNotUpdatedlet res Update one cake ActiveModel name Set Cheese Cake to owned model into active model exec amp db await thenassert eq res Err DbErr RecordNotFound None of the database rows are affected to owned nowassert eq res Err DbErr RecordNotUpdated sea orm ColumnType was replaced by sea query ColumnTypeMethod ColumnType def was moved to ColumnTypeTraitColumnType Binary becomes a tuple variant which takes in additional option sea query BlobSizeColumnType Custom takes a sea query DynIden instead of String and thus a new method custom is added note the lowercase Compact Entity derive Clone Debug PartialEq Eq DeriveEntityModel sea orm table name fruit pub struct Model sea orm column type r Custom citext to owned sea orm column type r custom citext pub column String Expanded Entityimpl ColumnTrait for Column type EntityName Entity fn def amp self gt ColumnDef match self Self Column gt ColumnType Custom citext to owned def Self Column gt ColumnType custom citext def SeaORM Enhancements Refactor schema module to expose functions for database alteration Generate compact entity with sea orm column type JsonBinary macro attributeMockDatabase append exec results MockDatabase append query results MockDatabase append exec errors and MockDatabase append query errors take any types implemented IntoIterator trait find by id and delete by id take any Into primary key value QuerySelect offset and QuerySelect limit takes in Into lt Option lt u gt gt where None would reset them Added DatabaseConnection close Added is null getter for ColumnDef Added ActiveValue reset to convert Unchanged into Set Added QueryTrait apply if to optionally apply a filterAdded the sea orm internal feature flag to expose some SQLx types Added DatabaseConnection get connection pool for accessing the inner SQLx connection pool Re exporting SQLx errors CLI Enhancements Generate serde skip deserializing for primary key columns Generate serde skip for hidden columns Generate entity with extra derives and attributes for model struct Integration ExamplesSeaORM plays well with the other crates in the async ecosystem We maintain an array of example projects for building REST GraphQL and gRPC services More examples wanted Actix v ExampleActix v ExampleAxum ExampleGraphQL Examplejsonrpsee ExamplePoem ExampleRocket ExampleSalvo ExampleTonic Example SponsorOur GitHub Sponsor profile is up SeaQL org is an independent open source organization run by passionate developers If you enjoy using SeaORM please star and share our repositories If you feel generous a small donation will be greatly appreciated and goes a long way towards sustaining the project A big shout out to our sponsors Afonso BarrachaÉmile FugulinDean SheatherShane SvellerSakti Dwi CahyonoNick PriceRoland GoráczHenrik GieselJacob TruebNaoki IkeguchiManfred LeeMarcus Buffettefrain What s Next SeaQL is a community driven project We welcome you to participate contribute and build together for Rust s future Here is the roadmap for SeaORM x |
2023-02-09 16:31:56 |
Apple |
AppleInsider - Frontpage News |
Get advanced AI for only $59 w/ ChatGPT lifetime WordPress plugin |
https://appleinsider.com/articles/23/02/09/get-advanced-ai-for-only-59-w-chatgpt-lifetime-wordpress-plugin?utm_medium=rss
|
Get advanced AI for only w ChatGPT lifetime WordPress pluginTake the power of ChatGPT s advanced AI to a whole new level with the lifetime WordPress plugin allowing you to create content get answers or do admin tasks for only ChatGPT Lifetime WordPress plugin is now off ChatGPT is taking the world by storm promising human level responses at the press of a button Integrate this incredible technology into one of the world s most popular CMS platforms WordPress with the ChatGPT Lifetime WordPress Plugin now off when buying through StackCommerce Read more |
2023-02-09 16:31:30 |
Apple |
AppleInsider - Frontpage News |
How to watch Super Bowl LVII on iPhone, iPad, Mac, & Apple TV |
https://appleinsider.com/inside/ios-16/tips/how-to-watch-super-bowl-lvii-on-iphone-ipad-mac-apple-tv?utm_medium=rss
|
How to watch Super Bowl LVII on iPhone iPad Mac amp Apple TVThe Kansas City Chiefs go up against the Philadelphia Eagles on February in Super Bowl LVII Here s how to watch it on iPhone iPad Mac and Apple TV Super Bowl LVIISuper Bowl LVII is set for Sunday February at pm ET and Apple Music is sponsoring the halftime show for the first time which stars Rihanna Read more |
2023-02-09 16:12:18 |
Apple |
AppleInsider - Frontpage News |
OWC Thunderbolt Go Dock review: Ditch the big power brick |
https://appleinsider.com/articles/23/02/09/fpw-owc-thunderbolt-go-dock-review-ditch-the-big-power-brick?utm_medium=rss
|
OWC Thunderbolt Go Dock review Ditch the big power brickOWC s Thunderbolt Go Dock offers excellent connectivity for road warriors without the need for a giant external power brick but its port selection is a little low for the price OWC Thunderbolt Go DockIf you have to move a MacBook Pro between locations and you need to have a more extensive selection of ports than what Apple includes you have a few options Read more |
2023-02-09 16:10:04 |
海外TECH |
Engadget |
NTSB: Autopilot was not a factor in fatal Tesla Model S crash |
https://www.engadget.com/tesla-model-s-fatal-crash-autopilot-texas-ntsb-165332697.html?src=rss
|
NTSB Autopilot was not a factor in fatal Tesla Model S crashTesla s Autopilot was not at fault in a crash in which two people died according to the National Transportation Safety Board NTSB In a final report spotted by Ars Technica the agency determined that the Model S accelerated just before hitting a tree in Spring Texas just north of Houston Neither occupant was in the driver s seat when they were found leading to questions about the use of Autopilot Based on information provided by Tesla the NTSB found PDF that the car s rapid acceleration from MPH to MPH two seconds before the crash and a loss of control of the EV was likely due to quot impairment from alcohol intoxication in combination with the effects of two sedating antihistamines resulting in a roadway departure tree impact and post crash fire quot The NTSB says data indicated that Autopilot had not been employed quot at any time during this ownership period of the vehicle quot Investigators did not find any quot evidence of mechanical deficiencies quot that could have contributed to or caused the crash One of the occupants was found in the front passenger seat while the other was in the rear It s presumed that the driver was in the back seat because he was trying to escape Security footage showed that the men were in the front seats as they set off while data showed that both front seatbelts were buckled at the time of the crash ーthe car left the road around feet from the driver s home The men died as a result of the collision and post crash battery fire |
2023-02-09 16:53:32 |
ニュース |
BBC News - Home |
Burt Bacharach, one of pop's greatest songwriters, dies aged 94 |
https://www.bbc.co.uk/news/entertainment-arts-64587070?at_medium=RSS&at_campaign=KARANGA
|
prayer |
2023-02-09 16:50:01 |
ニュース |
BBC News - Home |
Nicola Bulley: Search for missing mum moves towards sea |
https://www.bbc.co.uk/news/uk-england-lancashire-64580789?at_medium=RSS&at_campaign=KARANGA
|
morecambe |
2023-02-09 16:26:36 |
ニュース |
BBC News - Home |
Chinese balloon capable of gathering intelligence - US official |
https://www.bbc.co.uk/news/world-us-canada-64587228?at_medium=RSS&at_campaign=KARANGA
|
china |
2023-02-09 16:51:16 |
ニュース |
BBC News - Home |
Man in court charged with abducting 11-year-old girl |
https://www.bbc.co.uk/news/uk-scotland-south-scotland-64579774?at_medium=RSS&at_campaign=KARANGA
|
disappearance |
2023-02-09 16:16:10 |
ニュース |
BBC News - Home |
Lee Anderson: The outspoken Tory deputy chair |
https://www.bbc.co.uk/news/uk-politics-64582994?at_medium=RSS&at_campaign=KARANGA
|
controversial |
2023-02-09 16:02:55 |
ニュース |
BBC News - Home |
Anthony Joshua has put 'heart back into boxing' before facing Jermaine Franklin |
https://www.bbc.co.uk/sport/boxing/64582493?at_medium=RSS&at_campaign=KARANGA
|
Anthony Joshua has put x heart back into boxing x before facing Jermaine FranklinHeavyweight Anthony Joshua says he has rid himself of distractions before his comeback fight against Jermaine Franklin in London on April |
2023-02-09 16:04:45 |
ニュース |
BBC News - Home |
Antonio Conte: Tottenham manager returns to work after gallbladder surgery |
https://www.bbc.co.uk/sport/football/64588581?at_medium=RSS&at_campaign=KARANGA
|
Antonio Conte Tottenham manager returns to work after gallbladder surgeryTottenham manager Antonio Conte is back at work following gallbladder surgery but it is unknown if he will be on the touchline for Saturday s Premier League match at Leicester |
2023-02-09 16:39:37 |
ニュース |
BBC News - Home |
Turkey earthquake: Anger as buildings meant to withstand tremors crumbled |
https://www.bbc.co.uk/news/64568826?at_medium=RSS&at_campaign=KARANGA
|
earthquake |
2023-02-09 16:01:41 |
ニュース |
BBC News - Home |
Turkey-Syria earthquake: First aid convoy reaches opposition-held Idlib |
https://www.bbc.co.uk/news/world-middle-east-64581537?at_medium=RSS&at_campaign=KARANGA
|
damage |
2023-02-09 16:27:47 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
物言う株主ペルツ氏、ディズニーとの委任状争奪戦を終了 - WSJ発 |
https://diamond.jp/articles/-/317549
|
委任状争奪戦 |
2023-02-10 01:21:00 |
コメント
コメントを投稿