IT |
気になる、記になる… |
祝WBC優勝!! カイロソフトがiOS向けゲームアプリ「野球部ものがたり」を24時間限定で無料配信中 |
https://taisy0.com/2023/03/22/169856.html
|
ipados |
2023-03-22 09:04:46 |
TECH |
Techable(テッカブル) |
あえて苦手な仕事から手をつけてみる。仕事が速い人に共通する3つのこととは? |
https://techable.jp/archives/201323
|
重要 |
2023-03-22 09:30:27 |
TECH |
Techable(テッカブル) |
オリジナルの動きをプログラミングできる!手のひらサイズの犬型ロボット、発売開始 |
https://techable.jp/archives/200244
|
etoibittlerobotdogstemkit |
2023-03-22 09:00:14 |
IT |
情報システムリーダーのためのIT情報専門サイト IT Leaders |
マックスバリュ東海、惣菜製造の勤務シフトを量子コンピュータで作成、ラインのロボットも対象 | IT Leaders |
https://it.impress.co.jp/articles/-/24608
|
マックスバリュ東海、惣菜製造の勤務シフトを量子コンピュータで作成、ラインのロボットも対象ITLeadersマックスバリュ東海本社静岡県浜松市は、惣菜製造工場の勤務シフトを量子コンピュータで作成する実証を行った。 |
2023-03-22 18:18:00 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Pythonでfileか文字列を「標準入力へ」リダイレクトしstreamとして扱う |
https://qiita.com/tdzz/items/cb774a2dddb82c3c8f68
|
stream |
2023-03-22 18:08:01 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
window.openを使って、URL非表示で開く(制約あり) |
https://qiita.com/techan54321/items/2a6661a8be04194ca1f0
|
windowopen |
2023-03-22 18:53:51 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
【RubyMine】知っておくと便利なショートカット8選 |
https://qiita.com/kd_rn/items/7505b31eb7b53a332e32
|
rubymine |
2023-03-22 18:03:05 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
文系出身の非エンジニアがAWS認定クラウドプラクティショナー試験に合格するまで |
https://qiita.com/keikokobiyamaluxala/items/36a07aaae57d6becf4bb
|
非エンジニア |
2023-03-22 18:10:53 |
golang |
Goタグが付けられた新着投稿 - Qiita |
Go言語のブランクimport(_ "パッケージ名")とは? |
https://qiita.com/atsutama/items/0444ad3fdb25f095b0d6
|
import |
2023-03-22 18:23:47 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
Azure Administrator(AZ-104):Azure でのストレージの実装と管理「Blob Storageの価格」 |
https://qiita.com/fsd-jume/items/054cbace9939e0dd38ac
|
azureadministratoraz |
2023-03-22 18:13:11 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
git ワークツリー, ステージ, ローカルリポジトリ 関連 |
https://qiita.com/QiitaYkuyo/items/c3290f8180a9b4ef4a6d
|
意味合い |
2023-03-22 18:05:39 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
【RubyMine】知っておくと便利なショートカット8選 |
https://qiita.com/kd_rn/items/7505b31eb7b53a332e32
|
rubymine |
2023-03-22 18:03:05 |
海外TECH |
DEV Community |
.NET 8 Preview 2 Unveiled: 5 New Features You Need to Know💜 |
https://dev.to/bytehide/net-8-preview-2-unveiled-5-new-features-you-need-to-know-2cof
|
NET Preview Unveiled New Features You Need to KnowMicrosoft has just launched the NET Preview introducing a host of new features that are sure to pique developers interest In this post we ll delve into these new additions and improvements that this release brings to the NET ecosystem RequiredAttribute DisallowAllDefaultValues One of the first new features introduced in the NET preview is the RequiredAttribute DisallowAllDefaultValues functionality The RequiredAttribute is used to mark a property or parameter as required meaning it cannot be null With this new update the DisallowAllDefaultValues property has been added to the RequiredAttribute which allows validation that a struct does not equal its default value For instance suppose we have a property in a class that is of type Guid By default a Guid is initialized to Guid Empty To ensure that the value of this property is always set we can use the Required attribute with the DisallowAllDefaultValues property set to true If the value of this property is not explicitly set and it remains as Guid Empty the validation will fail indicating that the value must be provided Here s an example of how to use this functionality public class MyClass Required DisallowAllDefaultValues true public Guid MyGuidValue get set In the above code the MyGuidValue property is marked with the Required attribute and the DisallowAllDefaultValues property is set to true Therefore the property will be validated to ensure that it is not equal to Guid Empty If the property is not set or is explicitly set to Guid Empty the validation will fail This feature is especially useful in scenarios where it is essential to ensure that the value of a property or parameter is set explicitly and cannot be left as its default value It adds an extra layer of safety to the code and can help catch bugs early in the development cycle RangeAttribute exclusive boundsThis feature allows users to specify exclusive bounds in their range validation using the RangeAttribute With this users can define ranges with boundaries that are excluded from validation To illustrate consider the following code example Range d d MinimumIsExclusive true MaximumIsExclusive true public double Sample get set In this example the RangeAttribute is applied to a double property called Sample The attribute specifies that the valid range for Sample is any value greater than and less than However the boundary values and are excluded from the valid range By setting MinimumIsExclusive and MaximumIsExclusive to true the RangeAttribute creates a range that is open at both ends meaning that values that fall on the boundary of the range will fail validation For instance a value of or will not pass validation for the Sample property This is useful for scenarios where users want to define a range that is open at both ends such as when defining probability values or ranges of values that cannot be exactly reached Users can define more precise and nuanced validation rules for their data LengthAttributeAnother improvement in NET preview is an update to the LengthAttribute This attribute can now be used to set both lower and upper bounds for strings or collections providing more flexibility in validation To use this updated attribute simply specify the minimum and maximum allowed lengths as arguments to the LengthAttribute as shown in the following example Length Require at least elements and at most elements public ICollection lt int gt Values get set As you can see in the code example above this ensures that the Values collection must contain at least elements and no more than elements If the collection fails to meet either of these criteria the validation will fail This is particularly useful in scenarios where developers need to enforce specific length constraints on strings or collections in their application With the LengthAttribute it s now easier than ever to add this type of validation to your code AllowedValuesAttribute and DeniedValuesAttributeThe following features that Microsoft presents are two new attributes that can be used for validating a property against a list of allowed or denied values These attributes are called AllowedValuesAttribute and DeniedValuesAttribute AllowedValuesAttribute specifies a list of allowed values DeniedValuesAttribute specifies a list of denied values Here s an example of how to use these attributes AllowedValues chocolate vanilla strawberry public string IceCreamFlavor get set DeniedValues beetroot eggplant rutabaga public string CakeFlavor get set In this example the IceCreamFlavor property can only be set to “chocolate “vanilla or “strawberry while the CakeFlavor property cannot be set to “beetroot “eggplant or “rutabaga If the property is set to a value not in the allowed list or in the denied list the validation will fail These attributes can be useful in scenarios where you want to restrict the possible values of a property such as in a dropdown list or a set of checkboxes System Reflection EnhancementsMicrosoft added support for obtaining function pointer metadata via Reflection in NET Preview This feature allows developers to obtain parameter types return type and calling conventions for function pointers Previously only the IntPtr type was used for function pointers which made obtaining function pointer metadata difficult The new functionality is currently available in the CoreCLR runtime and in MetadataLoadContext Support for the Mono and NativeAOT runtimes is expected later Here s an example using reflection FieldInfo fieldInfo typeof MyClass GetField nameof MyClass fp Type fpType fieldInfo FieldType Console WriteLine fpType IsFunctionPointer TrueConsole WriteLine fpType IsUnmanagedFunctionPointer TrueConsole WriteLine Return type fpType GetFunctionPointerReturnType foreach Type parameterType in fpType GetFunctionPointerParameterTypes Console WriteLine Parameter type parameterType Type modifiedType fieldInfo GetModifiedFieldType Type normalType modifiedType UnderlyingSystemType foreach Type callConv in modifiedType GetFunctionPointerCallingConventions Console WriteLine Calling convention callConv foreach Type modreq in modifiedType GetFunctionPointerParameterTypes GetRequiredCustomModifiers Console WriteLine Required modifier for first parameter modreq public unsafe class MyClass public delegate unmanaged Cdecl SuppressGCTransition lt in int void gt fp This feature supports parameterized types such as generics pointers and arrays including an array of function pointers The Type ElementType property and the Type GetGenericArguments method can be used to obtain further types which ultimately may be a function pointer As NET continues to evolve we can expect to see even more advancements in the platform that will allow developers to build powerful and efficient applications What are your thoughts on the future of NET and the direction in which Microsoft is taking the platform |
2023-03-22 09:42:59 |
海外TECH |
DEV Community |
Uncovering Hidden Gems: PostgreSQL Window Functions You May Not Know About |
https://dev.to/asifroyal/uncovering-hidden-gems-postgresql-window-functions-you-may-not-know-about-1fbn
|
Uncovering Hidden Gems PostgreSQL Window Functions You May Not Know AboutWelcome fellow database fans Today we ll delve into the world of PostgreSQL window functions and look at some lesser known truths that can help you improve your database querying skills So strap in and let s get started What are Window Functions Window functions are a powerful feature of SQL that allow you to perform calculations across a set of rows related to the current row This allows you to carry out advanced calculations such as running totals moving averages and rank calculations In PostgreSQL window functions are used in conjunction with the OVER clause which defines the range or window of rows to be used for the calculation Lesser Known Facts about PostgreSQL Window Functions Flexible Window FramesYou might be familiar with the default sliding window frame which is defined as ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW However PostgreSQL offers several other options for defining window frames such as RANGE and GROUPS This allows you to create custom window frames that suit your specific needs For example you can create a moving average over a specific range of rows SELECT value AVG value OVER ORDER BY date ROWS BETWEEN PRECEDING AND FOLLOWING FROM your table Multiple Window Functions in a Single QueryPostgreSQL allows you to use multiple window functions within a single query This enables you to perform complex calculations and aggregations efficiently without the need for multiple subqueries Consider the following example which calculates both the running total and running average of sales SELECT date sale amount SUM sale amount OVER ORDER BY date AS running total AVG sale amount OVER ORDER BY date AS running averageFROM sales Partitioning with Window FunctionsPartitioning is a powerful feature that allows you to divide your dataset into smaller groups based on one or more columns By using the PARTITION BY clause with window functions you can perform calculations on each group independently For instance you might want to calculate the cumulative sum of sales for each product SELECT product id date sale amount SUM sale amount OVER PARTITION BY product id ORDER BY date AS product running totalFROM sales Custom Aggregates in Window FunctionsPostgreSQL allows you to use custom aggregate functions within window functions This means you can create your own aggregate functions and use them in your window calculations For example you might want to calculate the moving median of a dataset CREATE AGGREGATE median anyelement SFUNC array append STYPE anyarray FINALFUNC array median SELECT value median value OVER ORDER BY date ROWS BETWEEN PRECEDING AND FOLLOWING FROM your table Use Window Functions with DISTINCTYou can use window functions in combination with the DISTINCT keyword to calculate unique values within a window frame This can be helpful when you want to perform calculations on a distinct set of values For example you might want to calculate the number of unique customers per day SELECT date COUNT DISTINCT customer id OVER ORDER BY date AS unique customersFROM sales ConclusionPostgreSQL window functions are a very strong part of your SQL toolkit They include several features that aren t as well known but can help you conduct complex computations and groupings quickly By learning these hidden jewels you can improve your database querying skills and become a real Database Ninja Happy querying |
2023-03-22 09:30:03 |
海外TECH |
DEV Community |
✨ 5 websites to get free programming e-book! |
https://dev.to/thexdev/5-websites-to-get-free-programming-e-book-115g
|
websites to get free programming e book IntroductionThis is five websites that provide e book for learning programming language framework platform etc for free The files are downloadable to PDF and licensed mostly under common creative MIT and other public licenses Resources NGINX LibraryNGINX Library offers you many free included O Relly e books that you can download on their official website Those books talk about cloud computing such as DevOps DevSec Kubernetes Microservice etc Access Link Programming Notes for ProfessionalsThese books are not a tutorial ebook but it s kinda note for experienced developer about tools and programming language Some of their books are JavaScript Kotlin React etc Access Link Ebook FoundationFree Programming Books is a list of over free programming books free courses and many other free programming resources maintained collaboratively as a repository on Github With lists in spoken languages it has helped countless programmers around the world acquire and improve their programming abilities Access Link Free Computer BooksAccess LinkThis site is a directory of Hyperlinks to free ebooks tutorials and lecture notes etc all over the world It is basically a free service to the communities with the focus on Information Technologies Computer Science Mathematics etc Therefore all the items books lecture notes etc listed in this site are just Hyperlinks to other web pages all over the world same as search results in Google That includes but not limited to ebooks lecture notes and tutorials etc SoftUni Free BooksThis website offers basics programming language like Java Python JavaScript etc Access LinkAnd that s it I hope it help you Thanks for reading |
2023-03-22 09:19:15 |
Apple |
AppleInsider - Frontpage News |
Apple TV+ gains 15 nominations at UK's Bafta Television Awards |
https://appleinsider.com/articles/23/03/22/apple-tv-gains-15-nominations-at-uks-bafta-television-awards?utm_medium=rss
|
Apple TV gains nominations at UK x s Bafta Television Awards Slow Horses and Bad Sisters lead Apple TV Bafta nominations with the streamer earning more than Disney or the UK s Sky Television Gary Oldman in Slow Horses Following its Bafta Film Awards win for The Boy the Mole the Fox and the Horse Apple TV is now up for awards at the British organization s television and television craft awards Read more |
2023-03-22 09:53:27 |
海外TECH |
CodeProject Latest Articles |
The Missing Avalonia Templates for VB |
https://www.codeproject.com/Articles/5357284/The-Missing-Avalonia-Templates-for-VB
|
control |
2023-03-22 09:25:00 |
医療系 |
医療介護 CBnews |
リフィルの処方箋料、導入直後に869病院が算定-昨年5月診療分、診療所は2,338カ所 |
https://www.cbnews.jp/news/entry/20230322175348
|
一定期間 |
2023-03-22 19:00:00 |
医療系 |
医療介護 CBnews |
指示書でのリハ職の訪問看護、平均1日48.6分-週1.6回、22年度改定の結果検証調査 |
https://www.cbnews.jp/news/entry/20230322174411
|
厚生労働省 |
2023-03-22 18:30:00 |
海外ニュース |
Japan Times latest articles |
Inoue injury leads to postponement of world title bout with Fulton |
https://www.japantimes.co.jp/sports/2023/03/22/more-sports/boxing-2/boxing-inoue-postponement/
|
Inoue injury leads to postponement of world title bout with FultonInoue who turns on April was scheduled to face the year old Fulton at Yokohama Arena The parties are aiming to reschedule the fight |
2023-03-22 18:19:01 |
ニュース |
BBC News - Home |
Veg shortages drive surprise jump in UK inflation |
https://www.bbc.co.uk/news/business-65026231?at_medium=RSS&at_campaign=KARANGA
|
figures |
2023-03-22 09:54:56 |
ニュース |
BBC News - Home |
Bafta TV Awards 2023: This is Going to Hurt and The Responder lead nominations |
https://www.bbc.co.uk/news/entertainment-arts-65026718?at_medium=RSS&at_campaign=KARANGA
|
nominations |
2023-03-22 09:53:27 |
ニュース |
BBC News - Home |
Boris Johnson and Liz Truss to vote against Sunak's NI Brexit deal |
https://www.bbc.co.uk/news/uk-politics-65034260?at_medium=RSS&at_campaign=KARANGA
|
brexit |
2023-03-22 09:19:14 |
ニュース |
BBC News - Home |
Ukraine war: Four dead as Russia launches new attack on cities |
https://www.bbc.co.uk/news/world-europe-65036208?at_medium=RSS&at_campaign=KARANGA
|
crimea |
2023-03-22 09:53:41 |
ビジネス |
不景気.com |
オウケイウェイヴが退職勧奨・整理解雇で7名を削減へ - 不景気com |
https://www.fukeiki.com/2023/03/okwave-cut-7-job.html
|
整理解雇 |
2023-03-22 09:55:39 |
ビジネス |
不景気.com |
京都きもの友禅の23年3月期は3億円の赤字へ、振袖不振で - 不景気com |
https://www.fukeiki.com/2023/03/kyoto-kimono-yuzen-2023-loss.html
|
yuwacreationholdings |
2023-03-22 09:39:43 |
ニュース |
Newsweek |
大物スターとの自撮りを大量投稿... 助演男優賞キー・ホイ・クァン、「セレブの自覚なさすぎ」と話題に |
https://www.newsweekjapan.jp/stories/culture/2023/03/post-101164.php
|
この投稿をInstagramで見るKeHuyQuankehuyquanがシェアした投稿昨年から計近い賞を受賞しているキー・ホイは、賞レース中に遭遇した大物スターたちとの記念写真をSNSに大量投稿しており、アカデミー賞が終わったことで「心温まる写真が見られなくなるのは寂しい」とロスを感じる人が続出している。 |
2023-03-22 18:40:00 |
IT |
週刊アスキー |
歴史ある「帆船日本丸」が月数回の「総帆展帆」「満船飾」を実施! 帆を広げた迫力ある帆船をご覧あれ |
https://weekly.ascii.jp/elem/000/004/129/4129558/
|
総帆展帆 |
2023-03-22 18:40:00 |
IT |
週刊アスキー |
PS5『R-TYPE FINAL 3 EVOLVED』が3月23日に発売!本日21時より配信番組も実施 |
https://weekly.ascii.jp/elem/000/004/129/4129569/
|
playstation |
2023-03-22 18:35:00 |
IT |
週刊アスキー |
大谷翔平選手も!『プロ野球スピリッツA』侍JAPANが登場するスカウトを開催 |
https://weekly.ascii.jp/elem/000/004/129/4129571/
|
japan |
2023-03-22 18:30:00 |
コメント
コメントを投稿