python |
Pythonタグが付けられた新着投稿 - Qiita |
xxx has no attribute yyy の対処法(ファイル名とモジュールが同じになってる場合) |
https://qiita.com/pi-man/items/7e1cd7b6adf433379d04
|
ipynbattributeerror |
2022-09-06 23:55:36 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
pre-commitでテスト自動化 |
https://qiita.com/ieiringoo/items/3481c85ee1a3476613d6
|
circleci |
2022-09-06 23:33:45 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
BertとWord2vecを組み合わせて謎かけAIを作ってみた。 |
https://qiita.com/suicacello/items/2bfe85f24559c51127e4
|
wordvec |
2022-09-06 23:25:56 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
[React×TypeScript] 自作ColorPicker |
https://qiita.com/Goorer/items/1e1b95db8d5e6eff447d
|
seethepencolorp |
2022-09-06 23:45:29 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
Google Calendar APIを使うときにサービスアカウントでカレンダーを作る方法 |
https://qiita.com/z_ohnami/items/229dd2f90ae7d38cf536
|
googlecalendarapi |
2022-09-06 23:46:38 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
戻り値を理解して使い分けるfindとfind_byとwhereと、時々、オトン |
https://qiita.com/i_garasi/items/df13f786ad71a31b0dd7
|
activerecord |
2022-09-06 23:03:12 |
Linux |
Ubuntuタグが付けられた新着投稿 - Qiita |
ラズパイ / Ubuntu でファイル共有(1分で) |
https://qiita.com/devemin/items/483e89c334c9944fa24e
|
sudoapti |
2022-09-06 23:49:38 |
GCP |
gcpタグが付けられた新着投稿 - Qiita |
Google Cloudアップデート (8/25-8/31/2022) |
https://qiita.com/kenzkenz/items/fa353d2c1ad1f7c8fd7e
|
anthos |
2022-09-06 23:45:53 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
戻り値を理解して使い分けるfindとfind_byとwhereと、時々、オトン |
https://qiita.com/i_garasi/items/df13f786ad71a31b0dd7
|
activerecord |
2022-09-06 23:03:12 |
技術ブログ |
Developers.IO |
AWS Step Functionsでは組み込み関数とJsonPath表現だけで配列同士のマージや配列への要素追加ができる |
https://dev.classmethod.jp/articles/in-aws-step-functions-you-can-merge-arrays-with-each-other-and-add-elements-to-arrays-with-only-intrinsic-functions-and-jsonpath-expressions/
|
awsstepfunctions |
2022-09-06 14:53:54 |
海外TECH |
Ars Technica |
Ireland fines Instagram 405M euro for failing to protect children’s data |
https://arstechnica.com/?p=1878376
|
children |
2022-09-06 14:35:38 |
海外TECH |
DEV Community |
Arrow Function | JavaScript ES6. |
https://dev.to/sujithvsuresh/arrow-function-javascript-es6-2446
|
Arrow Function JavaScript ES Let s take a look at the normal js function function myName name console log name myName Sujith The above function can be written in arrow function as const myName name gt console log name myName Sujith In arrow function we assign the function body to a variable and we pass the arguments through the parenthesis between and gt eg name gt And the body of the arrow function comes in between the curly braces We can use return keyword to return a value in the function Arrow function with one argument const myName name gt console log name myName Sujith If an arrow function is having only one argument then we can exclude the parenthesis while passing the argument name gt Arrow function with single statement const myNumber nbr gt nbr console log myNumber If an arrow function has only a single statement to return or execute then we can exclue the and write them as gt nbr It automatically returns that statement after gt and we don t need to use return keyword |
2022-09-06 14:35:38 |
海外TECH |
DEV Community |
What are your goals for the week? 9/6 |
https://dev.to/jarvisscript/what-are-your-goals-for-the-week-96-3d6k
|
What are your goals for the week Yesterday was a Holiday here so what are you plans for a short work week What are your plans for the week What are you building What will be a good end result by week s end |
2022-09-06 14:25:43 |
海外TECH |
DEV Community |
The Most Hidden Feature of JavaScript ✍️ |
https://dev.to/dcodeyt/the-most-hidden-feature-of-javascript-443b
|
The Most Hidden Feature of JavaScript ️Think you know JavaScript Think again Let me tell you something about a string s replace method you can pass a function into it What does this mean I ll show you Video TutorialIf you want to see my video tutorial on this feature feel free to watch it below Passing a Function into the replace methodMost of you know how the replace method works you pass in a string or regular expression to find alongside a replacement value For example let s replace all numbers with the phrase NUMBER const myString Order Number const result myString replace d g NUMBER result Order Number NUMBER NUMBER NUMER NUMBER Pretty simple But here s where it gets interesting You can also pass in a function as the replacement value The return value of that function is what gets used as the actual replacement Let s see the same example as above this time with a function instead const myString Order Number const result myString replace d g match gt return NUMBER result Order Number NUMBER NUMBER NUMER NUMBER This produces the same result But why would you want to use this technique Well you can add some logic Now let s only replace numbers greater than with the phrase NUMBER const myString Order Number const result myString replace d g match gt if Number match gt return NUMBER return match result Order Number NUMBER NUMER As you may have noticed the first argument to the replacement function is the match which refers to each match in our case number found using the first argument to the replace method I hope this technique can reduce some complexity in your regular expressions Enjoy Enrol Now JavaScript DOM Crash CourseIf you re learning web development you can find a complete course on the JavaScript DOM at the link below |
2022-09-06 14:22:44 |
海外TECH |
DEV Community |
let & const | JavaScript ES6. |
https://dev.to/sujithvsuresh/let-const-javascript-es6-250k
|
let amp const JavaScript ES let and const are used to create variable in js let is same as var in old js let allows us to create variables where its values can be changed eg let myName Sujith myName Ajith The above code would give the result as Ajith because we have reassigned a new value to the variable myName const is used to create a variable where its value cannot be changed or reassigned after initial assignment const myName Sujith myName Ajith The above code would give us the following error TypeError Assignment to constant variable |
2022-09-06 14:06:01 |
Apple |
AppleInsider - Frontpage News |
Daily deals Sept 6: $115 Apple Magic Keyboard, $50 off Sony ZV-1 camera, $140 off Samsung M8, more! |
https://appleinsider.com/articles/22/09/06/daily-deals-sept-6-115-apple-magic-keyboard-50-off-sony-zv-1-camera-140-off-samsung-m8-more?utm_medium=rss
|
Daily deals Sept Apple Magic Keyboard off Sony ZV camera off Samsung M more Tuesday s best deals include off the Philips Hue White Ambiance Starter Kit a Apple Pencil and much more Best deals for September Every day AppleInsider searches online retailers to find offers and discounts on items including Apple hardware upgrades smart TVs and accessories We compile the best deals we find into our daily collection which can help our readers save money Read more |
2022-09-06 14:41:42 |
海外TECH |
Engadget |
Biden administration reveals details of its $50 billion chip investment plan |
https://www.engadget.com/chips-and-science-act-funding-plan-biden-administration-semiconductors-chips-144633914.html?src=rss
|
Biden administration reveals details of its billion chip investment planThe Biden administration has revealeddetails of how it plans to invest billion into kickstarting the US semiconductor industry a month after President Joe Biden signed the CHIPS and Science Act The Commerce Department says the funding will quot revitalize the domestic semiconductor industry and spur innovation while creating good paying jobs in communities across the country quot Over half roughly billion of the CHIPS for America Fund has been earmarked for boosting production of logic and memory chips in the US using the most advanced processes available The agency plans to disburse the funds through grants and loans which will be used to build and expand facilities for making testing assembling and packaging chips The government is looking to ramp up production of older chips as well Approximately billion will go toward building semiconductors for cars communications tech medical devices and defense as well as other critical commercial sectors On top of that the Commerce Department says billion of the funding will go into research and development The agency plans to start accepting applications by early February It says loans and grants will be provided on a rolling basis as soon as it can quot responsibly quot process evaluate and negotiate applications Commerce Secretary Gina Raimondo told The New York nbsp Times that the department could start releasing the funds as soon as next spring It will likely take a few years before domestic production of chips meaningfully increases as it will take some time to build or expand semiconductor fabs The impact of the CHIPS and Science Act which passed with bipartisan support could help mitigate any fallout from tensions between the US and China over Taiwan where more than two thirds of the most advanced semiconductors are built The Commerce Department notes that the US currently makes quot zero percent quot of the planet s supply of state of the art semiconductors even though many are designed in the country |
2022-09-06 14:46:33 |
海外TECH |
Engadget |
Samsung's 1TB T7 Touch SSD is cheaper than ever right now |
https://www.engadget.com/samsung-t7-touch-ssd-sale-142501424.html?src=rss
|
Samsung x s TB T Touch SSD is cheaper than ever right nowIf you re in the market for external storage Amazon has discounted a handful of Samsung SSD products Starting with the T Touch the TB model in black is currently down from its usual With the price cut the T Touch is currently at the lowest price it has ever hit on Amazon While there are faster external SSDs out on the market Samsung s portable drive hits the sweet spot between performance features and affordability Connected to a USB Gen compatible port it offers sequential write speeds of up to MB s It s also one of the more secure drives you can buy thanks to the inclusion of AES bit encryption and a built in fingerprint sensor Another nice thing about the T Touch is that it ships with both USB C and USB A cables Buy Samsung T Touch at Amazon Buy Samsung T Shield at Amazon The T Touch is sturdy but if you re worried about how it will hold up on trips and your daily commute Samsung also offers a ruggedized version The T Shield is just as fast as its Touch counterpart but it also comes with an elastomer layer that Samsung claims will protect the drive from foot drops It s also IP certified against water and dust At the moment you can buy the TB model for down from That s close to the lowest price we ve seen on the T Shield Amazon has also put the TB model on sale After a percent discount it s You can buy the T Shield in three colors blue black or beige and all three colorways are included in Amazon s promotion Buy Samsung Evo Select MicroSD at Amazon Lastly if all you need is a microSD card for your Nintendo Switch action camera or Android phone you re in luck Included in the sale are Samsung s Evo Select microSD cards The GB model is currently after a percent discount You can also get the GB model for percent off making it at the moment and just a few dollars more than the GB variant I haven t personally used an Evo Select memory card but Samsung s microSD has about all the features you would want in a mid range memory card It features a UHS interface with Class rated transfer speeds meaning it can move data at up to MB s Follow EngadgetDeals on Twitter and subscribe to the Engadget Deals newsletter for the latest tech deals and buying advice |
2022-09-06 14:25:01 |
ニュース |
BBC News - Home |
UK to borrow billions to cut energy bills |
https://www.bbc.co.uk/news/business-62801913?at_medium=RSS&at_campaign=KARANGA
|
details |
2022-09-06 14:53:58 |
ニュース |
BBC News - Home |
Ukraine war: North Korea supplying Russia with weapons, say US reports |
https://www.bbc.co.uk/news/world-europe-62804825?at_medium=RSS&at_campaign=KARANGA
|
ukraine |
2022-09-06 14:22:53 |
ニュース |
BBC News - Home |
Pakistan fights to stop biggest lake from bursting |
https://www.bbc.co.uk/news/world-asia-62764224?at_medium=RSS&at_campaign=KARANGA
|
flood |
2022-09-06 14:28:27 |
ニュース |
BBC News - Home |
Boris Johnson's leaving speech fact-checked |
https://www.bbc.co.uk/news/62806217?at_medium=RSS&at_campaign=KARANGA
|
brexit |
2022-09-06 14:34:53 |
ニュース |
BBC News - Home |
In pictures: Liz Truss becomes UK's 56th PM |
https://www.bbc.co.uk/news/in-pictures-62810557?at_medium=RSS&at_campaign=KARANGA
|
country |
2022-09-06 14:55:33 |
ニュース |
BBC News - Home |
Wolves to appeal after Diego Costa denied a work permit |
https://www.bbc.co.uk/sport/football/62811226?at_medium=RSS&at_campaign=KARANGA
|
costa |
2022-09-06 14:04:59 |
ニュース |
BBC News - Home |
Davis Cup: Neal Skupski added to Great Britain team |
https://www.bbc.co.uk/sport/tennis/62811875?at_medium=RSS&at_campaign=KARANGA
|
glasgow |
2022-09-06 14:30:54 |
北海道 |
北海道新聞 |
日高管内30人感染 新型コロナ |
https://www.hokkaido-np.co.jp/article/727310/
|
胆振管内 |
2022-09-06 23:23:00 |
北海道 |
北海道新聞 |
国内で11万2198人感染 新型コロナ、320人死亡 |
https://www.hokkaido-np.co.jp/article/727309/
|
新型コロナウイルス |
2022-09-06 23:22:00 |
コメント
コメントを投稿