IT |
ITmedia 総合記事一覧 |
[ITmedia News] SNS活用などデジタルマーケ特化の転職エージェントサービス サイバーバズが提供 |
https://www.itmedia.co.jp/news/articles/2106/21/news171.html
|
itmedianewssns |
2021-06-21 20:49:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] 米Boston Dynamicsが韓国Hyundaiの傘下に SBG、保有株式の8割を売却 |
https://www.itmedia.co.jp/news/articles/2106/21/news168.html
|
bostondynamics |
2021-06-21 20:25:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] 新入社員が先輩とランチに行くと無料に アンカー、コミュニケーション活発化の新制度 |
https://www.itmedia.co.jp/news/articles/2106/21/news165.html
|
itmedia |
2021-06-21 20:09:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] 「業務スーパー」がAI導入、カートが商品をおすすめ ソフトバンクが協力 |
https://www.itmedia.co.jp/news/articles/2106/21/news166.html
|
itmedia |
2021-06-21 20:01:00 |
IT |
MOONGIFT |
TapeX - 画面録画 + 画面へドローイング |
http://feedproxy.google.com/~r/moongift/~3/FgqWvS0kuck/
|
TapeX画面録画画面へドローイング最近はオンラインでプレゼンテーションすることが多くなり、あえて立ち上がったりせず、椅子に座ってパソコンの前でプレゼンができます。 |
2021-06-21 21:00:00 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
JavaScript オブジェクト 未定義判定(途中の添字も含む) |
https://qiita.com/Latiler/items/ba962cf52647fb13ae9b
|
単純に、オブジェクトが未定義、またはnullであるかは以下のように判定できます。 |
2021-06-21 20:57:49 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
JavaScript 関数をキャッシュする(Reactとかで使えるかも) |
https://qiita.com/standard-software/items/8620020617ccf0700fc9
|
JavaScript関数をキャッシュするReactとかで使えるかもReactでJSX内に、アロー関数式を書いたりしていると、毎度呼び出すときにレンダリングが走っちゃうんじゃないのかな、ということを回避するための仕組みの試作です。 |
2021-06-21 20:02:58 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
python3.9 での webスクリプトエラー |
https://teratail.com/questions/345296?rss=all
|
|
2021-06-21 20:53:58 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
アセンブラのsmulhでなにをしているのか分からない |
https://teratail.com/questions/345295?rss=all
|
|
2021-06-21 20:50:54 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
UITabBarのBorderの色を変更したい。 |
https://teratail.com/questions/345294?rss=all
|
UITabBarのBorderの色を変更したい。 |
2021-06-21 20:46:01 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
JavascriptのinnerHTMLが使えない |
https://teratail.com/questions/345293?rss=all
|
JavascriptのinnerHTMLが使えないお世話になっております。 |
2021-06-21 20:44:35 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
CTF : stackの扱いについて教えて下さい |
https://teratail.com/questions/345292?rss=all
|
CTFstackの扱いについて教えて下さいCTFの問題を解いています。 |
2021-06-21 20:35:42 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
django クエリセット 外部キーから親テーブルを取得 |
https://teratail.com/questions/345291?rss=all
|
djangoクエリセット外部キーから親テーブルを取得djangoのクエリセットで、外部キー指定した子テーブルから親テーブルに該当するもののみ取得したいです。 |
2021-06-21 20:32:22 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
PHPにjQueryの変数を渡す方法について |
https://teratail.com/questions/345290?rss=all
|
以下のようなjQueryを記載しました。 |
2021-06-21 20:30:49 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
スライドショーができない index.js表示ができない |
https://teratail.com/questions/345289?rss=all
|
スライドショーができないindexjs表示ができないjqueryなしのスライドショーの表示ができません。 |
2021-06-21 20:29:28 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
info: The library 'package:flutter_svg/svg.dart' is legacy, and should not...の解決方法について |
https://teratail.com/questions/345288?rss=all
|
|
2021-06-21 20:22:33 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
エラー[ varargs 中に __va_start intrinsic を許しました。 ]の解決方法が知りたい。 |
https://teratail.com/questions/345287?rss=all
|
エラーvarargs中にvastartintrinsicを許しました。 |
2021-06-21 20:21:57 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
AWS ELBで「https wwwなし」を「https wwwあり」URLに301リダイレクトする設定 |
https://teratail.com/questions/345286?rss=all
|
AWSELBで「httpswwwなし」を「httpswwwあり」URLにリダイレクトする設定【実現したいことAWSnbspELBで「」を「」にリダイレクトしたい【環境】AWS・サーバーECAmazonnbspLinux・ロードバランサーELBALB・ネームサーバーRoutegtnbspホストゾーンexamplecomのAレコードwwwexamplecomnbspnbspexamplecomを作成し、値にはELBのDNS名を設定・SSL証明書ACM【やったことACMAmazonnbspCertificatenbspManagerでSSL証明書を発行。 |
2021-06-21 20:19:26 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
pythonでの角速度からの角度算出方法を教えてください。 |
https://teratail.com/questions/345285?rss=all
|
pythonでの角速度からの角度算出方法を教えてください。 |
2021-06-21 20:18:58 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
GolangにてGogetを実行した後にコマンド実行できない |
https://teratail.com/questions/345284?rss=all
|
GolangにてGogetを実行した後にコマンド実行できない前提・実現したいことGoのumlを、下記のインストール手順を行って際にGogetを実行すると、pkg配下にこちらのモジュールがダウンロードされてしまい。 |
2021-06-21 20:10:59 |
技術ブログ |
Developers.IO |
Lambda+Athenaでモンテカルロ法をサーバーレスで実行 |
https://dev.classmethod.jp/articles/serverless-montecalro/
|
athena |
2021-06-21 11:01:58 |
海外TECH |
Ars Technica |
The best Amazon Prime Day 2021 deals under $50 we can find |
https://arstechnica.com/?p=1774397
|
bargain |
2021-06-21 11:05:08 |
海外TECH |
DEV Community |
Navbar in CSS: How to make 3D navigation in CSS |
https://dev.to/kunaal438/navbar-in-css-how-to-make-3d-navigation-in-css-4g4d
|
Navbar in CSS How to make D navigation in CSSHello glad you are here I am kunaal and today we will see how to make an awesome D navigation system in CSS You can see demo below Demo Video TutorialI hope you understood everything If you have any doubt or you find any mistake that I made or you have any suggestion feel free to ask me in comment If you are interested in programming and want to know how I a yr old teen do coding make these design You can follow me on my Instagram I am also planning to post my game development stuff on Instagram My youtube Channel Instagram |
2021-06-21 11:48:46 |
海外TECH |
DEV Community |
3 ways to send emails with only few lines of code and Gmail - Ruby - Part 2 |
https://dev.to/fralps/3-ways-to-send-emails-with-only-few-lines-of-code-and-gmail-ruby-part-2-23nc
|
ways to send emails with only few lines of code and Gmail Ruby Part We will see how to send a simple email with the help of three different programming languages Javascript Ruby and PythonBefore you start you need to create a Gmail account Do not forget to accept and allow the Less secure apps access in order use your scripts with your Gmail smtp connection I ll let you do this on your own you don t need a tutorial for this Ruby We are going to use the Mail gem gem install mailRequire it at the beginning of your send email rb require mail Declare Gmail account info Gmail account infooptions address smtp gmail com port gmail smtp port number domain gmail com user name youremail gmail com password yourpassword authentication plain Initialize Mail delivery method info Mail defaults do delivery method smtp optionsendSend email Mail deliver do to myfriend yopmail com from youremail gmail com subject Sending email using Ruby body Easy peasy lemon squeezy endHere the final code require mail Gmail account infooptions address smtp gmail com port domain gmail com user name youremail gmail com password yourpassword authentication plain Mail defaults do delivery method smtp optionsendMail deliver do to myfriend yopmail com from youremail gmail com subject Sending email using Ruby body Easy peasy lemon squeezy endputs Email sent The ease of Ruby Table of contentsJavascript Part Ruby Part Python Part coming next week |
2021-06-21 11:48:01 |
海外TECH |
DEV Community |
Postgres indexes |
https://dev.to/____marcell/postgres-indexes-4603
|
Postgres indexesIndexing is a technique to make queries run faster different indexes are suitable for different queries the main differences are between an exact match ranges and a full text in a nutshell if your query has a exact match or a range you should use the default method otherwise use gist most of the information from this post came from here have a read if you want to dig deeper How to create a indexCREATE INDEX UNIQUE INDEX NAME ON TABLE NAME USING METHOD COLUMN NAME ASC DESC NULL FIRST LAST e g CREATE INDEX idx title ON cards Remove an indexDROP INDEX CONCURRENTLY IF EXISTS index name CASCADE RESTRICT identify if a query uses an indexYou can use EXPLAIN to identify if a query is using an specific indexEXPLAIN SELECT FROM BOOKS WHERE BOOK MY BOOK if your query is using the index something like Index Scan will appear e g index is not being used QUERY PLAN Seq Scan on cards cost rows width index is being used QUERY PLAN Index Scan using my index on cards cost rows width Index Cond title text a text my index is the name of the index cards is the name of the table and title is the name of the column List all indexes in a tablethe following will list all indexes related to your tables you can also filter indexes for a specific table or fieldselect tablename indexname from pg indexes where schemaname public Index MethodsThe following are the most common index methods Generalized Inverted Indexes GIN Good for full text search maps multiple values to a column Generalized Serch Tree Gist Allows for balanced btree good for full text search used for geometric data types poligons points etc are usefull for operations besides comparison and range Hash IndexIt s trash not worth the complexity and work to manage it coudn t find any common example that couldn t be done with the other methods in an easier way with better results you can try to convince me otherwise in the comments if you want btree indexDoesn t work with like queries works pretty well with caching it s the default index if you don t pass the method option when creating the index it will be created with this method These are all the most common indexes now let s talk about some techniques when creating indexes Expression Indexesexpression indexes are usefull when you need to convert the data before searching it CREATE INDEX USERS LOWER EMAIL ON USERS LOWER EMAIL the above index will be used in searches likeWHERE lower email lt lowercased email gt CREATE INDEX articles day ON articles date published at the above can will be used forWHERE date articles published at date Partial Indexespartial index is a index applied to just part of the data the following is a usefull partial indexCREATE INDEX articles flagged created at index ON articles created at WHERE flagged IS TRUE Unique Indexescreate unique lt index name gt Improves query performance if you try to create a uniq index in a column that has rows with the same value the index creation will fail if you try to insert values that already exist in a column with a uniq index a error occursERROR duplicate key value violates unique constraint uniq index DETAIL Key title title already exists When it makes sense to use indexes The general rule is the bigger your table is the betterindex only makes sense when the cost of reading data from the index hitting the disc and then reading data from the table is lower than a table scan so in general big tables are better for indexes because you don t need to scan the whole table and the cost of reading two different values in two different tables isn t very high comparatively with the full table scan when in doubt just create a test case and test it or better yet always test it first Who decides when to use an index or not The query planner decides to use an index or not just because an index exists and your querymatches the initial criteria for using that index doesn t mean that the index will be used the query planner decides when to use the index or not based on a multitude of factors the biggestone is how much data the query will hit if it s a lot it s more likely that the query planner will use the indexindexes make more sense the bigger the table is You need a lot of data to test indexes properly A good general rule is to test as close to production as you can the query planer might decide not to use your index if you test it locally in small sets of data which will make you waste a lot of time benchmarking with non sensical data trust me I ve learned the hard way so you should create a lot of data to test your indexes the general rule is to test as close to production as possible creating indexes locks your dbIf it s a big table your db can be locked for hours use create index concurrently to mitigate the problem Reindexingafter sometime your index will not be optimized anymore that s when you need to reindex ita good reindex technique is to create another index with a different name and then droping the old one and that s pretty much all the basic information that you need to start creating indexes go create some indexes and make your queries run faster |
2021-06-21 11:32:10 |
海外TECH |
DEV Community |
How to extend an Ant Design component |
https://dev.to/jurajuki/how-to-extend-an-ant-design-component-1mgb
|
How to extend an Ant Design component IntroductionDevelopers using Javascript frameworks libraries such as React Vue or Angular often use a component library Those provide completed components tied with plenty of functionalities and customisable design In this post we will learn about such a library and how to provide even more desired behaviours functionalities and options to its components This is called component extension and it makes components even more reusable and easier to use Note This post will be based on React Typescript and AntDesign The what and the whyAnt Design AntD for short is the protagonist in this story It is an extensive component library primarily made for React It has versions for Vue and Angular too AntD offers plenty of components such as forms inputs menus modals loaders notifications and much much more We have been working with AntD for a while now and we have been greatly thankful for it As your applications grows you start to use more and more components These components tend to have very similarly written props and they start to stack up Or in a completely different scenario the component s design needs a change or its functionality needs more options We developers try to use DRY principle as much as we can Therefore the component extension is born You may be asking yourself when is a good time to extend a component The correct answer is whenever you start to use identical component on multiple places This way you have a full control of it in the project How to do itIt is actually pretty simple Step one is to create a new tsx component and name it accordingly to one s needs Then we must import the actual component we want to extend and modify it to fit our needs DatePicker extend exampleWe create a component called DatePickerLocalised tsx the name is totally up to you and import the AntD s DatePicker inside with the following import import DatePicker as AntdDatePicker DatePickerProps from antd This imports the DatePicker component and its interface for the props Now all we have to do is make a functional component export const DatePickerLocalised FunctionComponent lt DatePickerProps gt props gt return lt AntdDatePicker props gt This is now a component which is an exact copy of the one from the component library AntD Let s extend it by adding a locale date format What goes in the format prop can be seen in the AntD documentation for the DatePicker component Since I m from Croatia I m going to use Croatian formats The whole component now looks like this import DatePicker as AntdDatePicker DatePickerProps from antd import FunctionComponent from react export const defaultDateFormats DD MM YYYY DD MM YYYY DDMMYYYY DDMMYY export const DatePickerLocalised FunctionComponent lt DatePickerProps gt props gt return lt AntdDatePicker format defaultDateFormats props gt Now we can use this “localised date picker throughout our whole app No longer do we have to worry about the locale format being wrong Amazing But what if we want to extend it even more by adding custom props It is also quite simple We have to create a new type with its DatePickerProps and add our own interface to the extension All that remains is passing it down to the newly created component I have added fullWidth custom prop to the new interface ExtendedDatePickerProps and added a style prop in the AntdDatePicker Take a look at the following snippet import DatePicker as AntdDatePicker DatePickerProps from antd import FunctionComponent from react export interface ExtendedDatePickerProps fullWidth boolean export type DatePickerLocalisedProps DatePickerProps amp ExtendedDatePickerProps export const defaultDateFormats DD MM YYYY DD MM YYYY DDMMYYYY DDMMYY export const DatePickerLocalised FunctionComponent lt DatePickerLocalisedProps gt props gt return lt AntdDatePicker style props fullWidth width undefined format defaultDateFormats props gt Now you can use the component with the custom prop anywhere in the application like this lt DatePickerLocalised fullWidth true onChange newDate gt setDateState newDate gt Note the destructuring of props props always goes at the bottom of the extended component This is because of a need of overriding E g the format prop which is set inside of the extend can be also passed when using the component It will override the default created behaviour You can add anything you desire in your extends From enums to creating validator functions The components can be extended as far the eye can see ConclusionYou can now imagine the possibility of different reusable components you can create with the extension It is really useful to customise the components and make them suitable for your needs We have reached the end thank you for reading I hope you have learned something new in this post Do you have something to add do you have your own way of extending components Tell me more in the comments Check out some of my other content If you are new to the Hooks world check out this articleIf you have wondered about Top React hook libraries Then this is a perfect post for you |
2021-06-21 11:00:33 |
Apple |
AppleInsider - Frontpage News |
'Ted Lasso' star drops new season 2 trailer on Twitter |
https://appleinsider.com/articles/21/06/21/ted-lasso-star-drops-new-season-2-trailer-on-twitter?utm_medium=rss
|
x Ted Lasso x star drops new season trailer on TwitterWriter actor Brett Goldstein has tweeted a new trailer for the forthcoming second season of hit Apple TV comedy Ted Lasso An initial trailer for Ted Lasso season two was unveiled by Tim Cook during Apple s Spring Loaded event Now series writer Brett Goldstein who also plays Roy Kent in the show has tweeted a new one July rd The Greyhounds are back tedlasso pic twitter com RCPfojiuーBrett Goldstein brettgoldstein June Read more |
2021-06-21 11:59:40 |
Apple |
AppleInsider - Frontpage News |
Facebook rolls out podcasts and Live Audio Rooms to iOS app |
https://appleinsider.com/articles/21/06/21/facebook-rolls-out-podcasts-and-live-audio-rooms-to-ios-app?utm_medium=rss
|
Facebook rolls out podcasts and Live Audio Rooms to iOS appFacebook has started to ship its Clubhouse inspired Live Audio Rooms in the United States as well as a selection of its own exclusive podcasts as the social network capitalizes on audio based trends Facebook s Live Audio RoomsThe new features were outlined by Facebook in April with a launch set for sometime in the summer On Monday the first sections of its audio changes started to surface on devices Read more |
2021-06-21 11:54:10 |
Apple |
AppleInsider - Frontpage News |
Exclusive: Shortcuts automation interview with Matthew Cassinelli |
https://appleinsider.com/articles/21/06/21/exclusive-shortcuts-automation-interview-with-matthew-cassinelli?utm_medium=rss
|
Exclusive Shortcuts automation interview with Matthew CassinelliOn a special episode of the AppleInsider Podcast we interview Matthew Cassinelli who worked on Siri Shortcuts after his Workflow app was acquired by Apple and is now an independent creator teaching others how to create and use Shortcuts across Apple devices Matthew Cassinelli has a passion for automation on iPhone iPad and Mac Early on he joined the popular Workflow app team which brought multi step automations to the iPhone Workflow was then acquired by Apple and he stayed on the team as it became Shortcuts Read more |
2021-06-21 11:41:23 |
海外TECH |
Engadget |
Hyundai now owns robot dog maker Boston Dynamics |
https://www.engadget.com/hyundai-boston-dynamics-acquisition-114044490.html?src=rss_b2c
|
company |
2021-06-21 11:40:44 |
海外TECH |
Engadget |
The best Apple deals we've found on Prime Day so far |
https://www.engadget.com/amazon-prime-day-2021-best-apple-deals-airpods-ipads-macbooks-113233519.html?src=rss_b2c
|
airpods |
2021-06-21 11:32:33 |
海外TECH |
Engadget |
The Morning After: Amazon Prime Day 2021 kicks off |
https://www.engadget.com/the-morning-after-amazon-prime-day-2021-kicks-off-111528051.html?src=rss_b2c
|
The Morning After Amazon Prime Day kicks offToday s headlines NASA is struggling with a computer glitch on the Hubble Space Telescope Amazon s Prime Day kicks off with discounts on the usual suspects and YouTube s iOS app is finally getting picture in picture |
2021-06-21 11:15:28 |
海外TECH |
Engadget |
The best Amazon Prime Day tech deals you can get right now |
https://www.engadget.com/amazon-prime-day-2021-best-deals-110412981.html?src=rss_b2c
|
headphones |
2021-06-21 11:04:12 |
海外TECH |
Engadget |
Facebook launches its Clubhouse clone and podcast streaming |
https://www.engadget.com/facebook-launches-audio-rooms-and-podcasts-110028076.html?src=rss_b2c
|
audio |
2021-06-21 11:00:28 |
海外TECH |
CodeProject Latest Articles |
How to Use FFmpeg Filters to Jazz Up Your Audio and Video Files |
https://www.codeproject.com/Tips/5303741/How-to-Use-FFmpeg-Filters-to-Jazz-Up-Your-Audio-an
|
How to Use FFmpeg Filters to Jazz Up Your Audio and Video FilesFFmpeg filters can cut copy convert mix rotate flip resize crop combine compose blur sharpen smoothen side by side split PIP inset fade in out…almost anything you want to do with video files and more |
2021-06-21 11:59:00 |
Linux |
OMG! Ubuntu! |
Slimbook Executive: Lightweight Linux Ultrabook with Top-Tier Screen |
http://feedproxy.google.com/~r/d0od/~3/Nv7BCi16NRk/slimbook-executive-linux-laptop
|
Slimbook Executive Lightweight Linux Ultrabook with Top Tier ScreenHaving gifted gamers and AMD enthusiasts the aptly named Slimbook Titan earlier in the year Spanish hardware company Slimbook has turned its attention to professionals with the launch of a lightweight ultrabook that s big on This post Slimbook Executive Lightweight Linux Ultrabook with Top Tier Screen is from OMG Ubuntu Do not reproduce elsewhere without permission |
2021-06-21 11:01:00 |
海外TECH |
WIRED |
Prime Day 2021: The 56 Absolute Best Deals (Updated) |
https://www.wired.com/story/best-prime-day-deals-2021
|
absolute |
2021-06-21 11:45:00 |
ニュース |
BBC News - Home |
Covid in Scotland: Nicola Sturgeon defends Manchester travel ban |
https://www.bbc.co.uk/news/uk-scotland-57551236
|
mayor |
2021-06-21 11:26:14 |
ニュース |
BBC News - Home |
Contaminated blood inquiry: The school where dozens of pupils died |
https://www.bbc.co.uk/news/uk-57547366
|
decades |
2021-06-21 11:29:16 |
ニュース |
BBC News - Home |
Social care: Ministers urged to 'act now' on funding reform |
https://www.bbc.co.uk/news/uk-politics-57552287
|
england |
2021-06-21 11:31:12 |
ニュース |
BBC News - Home |
Covid-19: Matt Hancock hopes to scrap isolation for double-jabbed contacts |
https://www.bbc.co.uk/news/uk-57552793
|
health |
2021-06-21 11:54:49 |
ニュース |
BBC News - Home |
What are the rules for pubs, restaurants, festivals and gigs? |
https://www.bbc.co.uk/news/business-52977388
|
festivals |
2021-06-21 11:14:29 |
ニュース |
BBC News - Home |
Covid map: Coronavirus cases, deaths, vaccinations by country |
https://www.bbc.co.uk/news/world-51235105
|
countrykey |
2021-06-21 11:03:39 |
ビジネス |
不景気.com |
金沢の医薬品卸「寿薬品」に破産開始決定、負債9億円 - 不景気.com |
https://www.fukeiki.com/2021/06/kotobuki-medicine.html
|
株式会社 |
2021-06-21 11:01:41 |
LifeHuck |
ライフハッカー[日本版] |
Amazonプライムデーで自宅をジム化! 宅トレグッズをお得に揃えるなら今 |
https://www.lifehacker.jp/2021/06/237191amazon-primeday-homeworkout.html
|
amazon |
2021-06-21 21:00:00 |
LifeHuck |
ライフハッカー[日本版] |
【Amazonプライムデー初日!】アイリスオーヤマの4~5人用ドラム式洗濯機が9万円台、衣類乾燥除湿機が7,000円台など |
https://www.lifehacker.jp/2021/06/amazon-primeday-2021-timesale-0621-5.html
|
amazon |
2021-06-21 20:15:00 |
北海道 |
北海道新聞 |
大規模接種会場、各地で開設 廃棄防止や職種限定、工夫こらし |
https://www.hokkaido-np.co.jp/article/558097/
|
新型コロナウイルス |
2021-06-21 20:01:00 |
コメント
コメントを投稿