投稿時間:2023-04-03 00:13:47 RSSフィード2023-04-03 00:00 分まとめ(14件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
python Pythonタグが付けられた新着投稿 - Qiita WindowsでCondaのPathを通す https://qiita.com/GaneDev/items/7183362046dc5d557a22 conda 2023-04-02 23:27:02
js JavaScriptタグが付けられた新着投稿 - Qiita 【PCブラウザ(IEモード含む)】ブックマークレットでページのタイトルとURLをセットをクリップボードに貼り付け(ユニコードの文字も利用) https://qiita.com/youtoy/items/f1736cded33f2942ad27 chromeedgeedge 2023-04-02 23:27:52
技術ブログ Developers.IO CDKTF 유닛 테스트 작성하기 https://dev.classmethod.jp/articles/cdktf-unit-test-typescript/ CDKTF 유닛테스트작성하기이전블로그에서CDKTF로Amazon VPC를작성하였습니다 이스택에대해테스트를추가해보겠습니다 이전블로그 2023-04-02 14:06:08
海外TECH MakeUseOf The 6 Best 3D Printed Cases for Your Raspberry Pi 4B https://www.makeuseof.com/raspberry-pi-3d-printed-cases/ exact 2023-04-02 14:30:16
海外TECH MakeUseOf How to Enable the New Keyboard Layouts in Windows 11 https://www.makeuseof.com/enable-new-keyboard-layouts-windows-11/ windows 2023-04-02 14:15:16
海外TECH DEV Community Yet Another Newsletter LOL: 3 Lines of CSS https://dev.to/nickytonline/yet-another-newsletter-lol-3-lines-of-css-445g Yet Another Newsletter LOL Lines of CSSAnother week another newsletter Let s get to it Around the WebYour “periodic reminder that a Periodic Table of HTML Elements exists Ben Holmes live stream with Dan Abramov was amazing It s a long watch but it was so great to learn more about React Server Components RSC I love everything Andy Bell does and My favourite lines of CSS is another banger Fun StuffThis was a fun thread on the making of the Matrix Also I can t believe this movie came out years ago Words of Wisdom for the WeekDeliver be kind and the opportunities will follow Adam Elmore adamdotdev rare career advice PM Mar Shameless PlugsI got to hang with some of my favourite people this week Dan and Bekah from Virtual Coffee I was a surprise guest for the season finale Thanks again for having me on I also got to hang with Dan Jutan who works on the documentation for the Astro and SolidJS projects Loved the conversation Thanks for hanging Dan Remember to like and subscribe I also popped on JavaScript Jam Live this week Lots of great conversations Scott Steinlage steinlagescott This was such a great time Thank you ajcwebdev ianand tdotgg sabinthedev nickytonline RyanCarniato jessicasachs and anyone else who came up and spoke twitter com javascriptjam … PM Mar JavaScript Jam JavascriptJam And lastly I m hanging with Josh Goldberg early next week We re going to have some fun writing custom ESLint rules JobsSlack is looking for a frontend Senior and Staff remote I post jobs in the iamdeveloper com community plus all other kinds of content as do others If you re looking for another friendly nook of the internet head to discord iamdeveloper com If you liked this newsletter you can subscribe or if RSS is your jam you can also subscribe via RSS 2023-04-02 14:19:26
海外TECH DEV Community Typescript utility types that you must know https://dev.to/arafat4693/typescript-utility-types-that-you-must-know-4m6k Typescript utility types that you must knowHello everyone Today In this article we will go through some beneficial and essential utility types in Typescript that can make your life easier Utility types in Typescript are some predefined generic types that can be used to manipulate or create other new types These types are available globally in all Typescript projects so you don t need to add any dependencies to get these going Table of contentsPartialRequiredOmitPickMultiple utility types togetherReadonlyMutableExcludeExtractReturnTypeParametersNonNullableAwaitedAwaited and ReturnType combinedConclusion PartialThe first utility type we will look at is Partial which as It sounds makes everything optional or partial Here is an example of Partial utility type interface Person name string age number email string Define a new type called PartialPerson that is a partial version of Person type PartialPerson Partial lt Person gt Same as interface Person name string undefined age number undefined email string undefined RequiredThe opposite to Partial is Required utility type which makes everything required interface Person name string undefined age number undefined email string undefined Define a new type called RequiredPerson that is a required version of Person type RequiredPerson Required lt Person gt Same as interface Person name string age number email string OmitYou can use the Omit utility type to create a new type from an existing type however with some properties removed interface User id number name string email string age number type UserWithoutEmail Omit lt User email gt same as interface Person id string name string age number We can also remove multiple properties by passing an unioninterface User id number name string email string age number type UserWithoutEmailAndName Omit lt User email name gt same as interface Person id string age number PickThe opposite of Omit is the Pick utility type that allows you to create a new type that contains only a subset of properties from an existing type interface User id number name string email string age number type UserWithEmailAndName Pick lt User email name gt same as interface Person name string email string Multiple utility types togetherWe can even use multiple utility types together For example interface User id number name string email string age number type PartialPick Partial lt Pick lt User email name gt gt same as interface Person name string undefined email string undefined Another exmaple interface User id number name string email string age number type OmitPartialPick Omit lt Partial lt Pick lt User email name gt gt email gt same as interface Person name string undefined ReadonlyReadonly utility types allow you to create a new type from an existing type set as readonly which means we cannot modify any property after the initialization interface Person id number name string age number type ReadonlyPerson Readonly lt Person gt same as interface Person readonly id number readonly name string readonly age number const person ReadonlyPerson id name John age person name Mike Error Cannot assign to name because it is a read only property MutableYou can also create a Mutable type helper that allows you to convert all readonly types to mutable type interface Person readonly id number readonly name string readonly age number The syntax for Mutable is as follows type Mutable lt T gt readonly P in keyof T T P type MutablePerson Mutable lt Person gt same as interface Person id number name string age number const person MutablePerson id name John age person name Mike Okayperson id Okay ExcludeExclude utility type allows you to create a new type by removing members of an uniontype NumberOrString number string type OnlyNumber Exclude lt NumberOrString string gt same as type OnlyNumber number const num OnlyNumber const str OnlyNumber hello Error Type hello is not assignable to type number You can even exlude mulitple members of an union type NumberStringOrBoolean number string boolean type OnlyBoolean Exclude lt NumberStringOrBoolean string number gt same as type OnlyBoolean boolean ExtractThe opposite to Exclude is Extract utitlity type that allows you to pick a or multiple members from an union type NumberOrString number string boolean type OnlyNumber Extract lt NumberOrString number gt same as type OnlyNumber number ReturnTypeReturnType utility type lets you to extract the return type of a function type It takes a function type as an argument and returns the value type that the function returns function add a number b number number return a b type AddReturnType ReturnType lt typeof add gt type AddReturnType number function addStr a string b string string return a b type AddReturnType ReturnType lt typeof addStr gt type AddReturnType string ParametersThe Parameters utility type lets you extract the type of parameters from a function function add a number b string c boolean string return a b type AddReturnType Parameters lt typeof add gt type AddReturnType a number b string c boolean NonNullableNonNullable utility type lets you to create a new type by excluding null and undefined from a given type type NullableString string null undefined type NonNullableString NonNullable lt NullableString gt type NonNullableString string const str NullableString null const str NonNullableString hello const str NonNullableString null Error Type null is not assignable to type string AwaitedAwaited utility type allows you to extract the resolved type of a promise or other type that uses await type promiseNumber Promise lt number gt type justNumber Awaited lt Promise lt number gt gt type justNumber number Awaited and ReturnType combinedHere s an example of using ReturnType and Awaited together async function fetchData Promise lt string gt fetch data from API and return a string type ResolvedResult Awaited lt ReturnType lt typeof fetchData gt gt type ResolvedResult stringIn this example we define an async function that returns a Promise of a string Promise lt string gt We then use ReturnType to extract the return type of fetchData and pass it as an argument to Awaited to unwrap the promised s resolved type ConclusionThese are some of the most used typescript utility types that are heavily used by other developers worldwide It cleans your code and can be used to work with types more expressively and concisely I hope you will find this article helpful and if you think I missed any essential utility types please let me know in the comments Thanks for reading the article See you all in my next article 2023-04-02 14:05:22
Apple AppleInsider - Frontpage News Apple will make big interface changes in watchOS 10 https://appleinsider.com/articles/23/04/02/apple-will-make-big-interface-changes-in-watchos-10?utm_medium=rss Apple will make big interface changes in watchOS Apple s unveiling of watchOS at WWDC this summer can be a fairly extensive update to the mobile operating system a report insists with a user interface refresh anticipated to come Apple Watch UltraApple typically introduces its milestone operating system updates during WWDC which will commence on June As part of this Apple will show off upcoming changes to watchOS revealing things that Apple Watch wearers could expect to see in the fall public release Read more 2023-04-02 14:02:51
海外TECH Engadget Hitting the Books: Sputnik's radio tech launched a revolution in bird migration research https://www.engadget.com/hitting-the-books-flight-paths-rebecca-heisman-harper-publishing-143053788.html?src=rss Hitting the Books Sputnik x s radio tech launched a revolution in bird migration research Birds fly South for the winter and North for the summer has historically proven to be only slightly less reliable a maxim than the sun always rising in the East and setting in the West Humanity has been fascinated by the comings and goings of our avian neighbors for millennia but the why s and how s of their transitory travel habits have remained largely a mystery until recent years In Flight Paths science author Rebecca Heisman details the fascinating history of modern bird migration research and the pioneering ornithologists that helped the field take off In the excerpt below Heisman recalls the efforts of Dr Bill Cochran a trailblazer in radio tagging techniques to track his airborne and actively transmitting quarry across the Canadian border nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp HarperCollinsFrom Flight Paths Copyright By Rebecca Heisman Reprinted here with permission of Harper an imprint of HarperCollins PublishersFollow That BeepSwainson s thrush looks a bit like a small brown version of its familiar cousin the American robin Its gray brown back contrasts with a pale spotted chest and pale “spectacle markings around its eyes These thrushes are shy birds that forage for insects in the leaf litter on the forest floor where they blend in with the dappled light and deep shadows Birders know them by their fluting upward spiraling song which fills the woods of Canada and the northern United States with ethereal music in summer But they don t live there year round they spend the winters in Mexico and northern South America then return north to breed On the morning of May a Swainson s thrush pausing on its journey from its winter home to its summer home blundered into a mist net in east central Illinois The researchers who gently pulled it from the net went through all the usual ritualsーweighing and measuring it clasping a numbered metal band around its legーbut they added one unusual element a tiny radio transmitter weighing just five thousandths of an ounce They carefully trimmed the feathers from a small patch on the bird s back then used eyelash glue to cement the transmitter mounted on a bit of cloth in place against the bird s skin Generations of ornithologists have learned exactly where to find the eyelash glue at their local cosmetics store Designed to not irritate the delicate skin of the eyelids when attaching false eyelashes it doesn t irritate birds skin either and wears off after weeks or months nbsp When the thrush was released it probably shuffled its feathers a few times as it got used to its new accessory then returned to resting and foraging in preparation for continuing its trek At only around percent of the bird s total body weight the transmitter wouldn t have impeded the bird noticeably as it went about its daily routine Then around that evening after the sun had dipped far enough below the horizon that the evening light was beginning to dim the thrush launched itself into the air heading northwest It would have had no way of knowing that it was being followed Bill Cochran ーthe same engineer who a decade and a half earlier had rigged up a tape recorder with a bicycle axle and six thousand feet of tape so that Richard Graber could record a full night of nocturnal flight calls ーhad been waiting nearby in a converted Chevy station wagon with a large antenna poking out of a hole in the roof When the thrush set out into the evening sky Cochran and a student named Charles Welling were following on the roads below All they could see in the deepening night was the patch of highway illuminated by their headlights but the sound of the wavering “beep beep beep of the transmitter joined them to the thrush overhead as if by an invisible thread They would keep at it for seven madcap nights following the thrush for more than miles before losing the signal for good in rural southern Manitoba on the morning of May Along the way they would collect data on its altitude which varied from to feet air and ground speed eighteen to twenty seven and nine to fifty two miles per hour respectively with the ground speed depending on the presence of headwinds or tailwinds distance covered each night to miles and crucially its heading Because they were able to stick with the bird over such a long distance Cochran and Welling were able to track how the precise direction the bird set out in each night changed as its position changed relative to magnetic north The gradual changes they saw in its heading were consistent with the direction of magnetic north providing some of the first real world evidence that migrating songbirds use some sort of internal magnetic compass as one of their tools for navigation Today Bill Cochran is a legend among ornithologists for his pioneering work tracking radio tagged birds on their migratory odysseys But it wasn t birds that first drew him into the field of radio telemetry it was the space race From Sputnik to DucksIn October the Soviet Union launched the world s first artificial satellite into orbit Essentially just a metal sphere that beeped Sputnik transmitted a radio signal for three weeks before its battery died It burned up in the atmosphere in January That signal could be picked up by anyone with a good radio receiver and antenna and scientists and amateur radio enthusiasts alike tracked its progress around and around Earth It caused a sensation around the world ーincluding in Illinois where the University of Illinois radio astronomer George Swenson started following the signals of Sputnik and its successors to learn more about the properties of Earth s atmosphere Around Swenson got permission to design a radio beacon of his own to be incorporated into a Discoverer satellite the U S answer to the Sputnik program In need of locals with experience in electrical engineering to work on the project he recruited Bill Cochran who still had not officially finished his engineering degree ーhe wouldn t complete the last class until to assist Cochran as you may recall had spent the late s working at a television station in Illinois while studying engineering on the side and spending his nights helping Richard Graber perfect his system for recording nocturnal flight calls By no longer satisfied with flight calls alone as a means of learning about migration Graber had procured a small radar unit and gotten Cochran a part time job with the Illinois Natural History Survey helping operate it But along the way Cochran had apparently demonstrated “exceptional facility with transistor circuits which is what got him the job with Swenson It was the transistor invented in that ultimately made both the space race and wildlife telemetry possible The beating heart of a radio transmitter is the oscillator usually a tiny quartz crystal When voltage is applied to a crystal it changes shape ever so slightly at the molecular level and then snaps back over and over again This produces a tiny electric signal at a specific frequency but it needs to be amplified before being sent out into the world Sort of like how a lever lets you turn a small motion into a bigger one an amplifier in an electrical circuit turns a weak signal into a stronger one Before and during World War II amplifying a signal required controlling the flow of electrons through a circuit using a series of vacuum containing glass tubes Vacuum tubes got the job done but they were fragile bulky required a lot of power and tended to blow out regularly owners of early television sets had to be adept at replacing vacuum tubes to keep them working In a transistor the old fashioned vacuum tube is replaced by a “semiconductor material originally germanium and later silicon allowing the flow of electrons to be adjusted up or down by tweaking the material s conductivity Lightweight efficient and durable transistors quickly made vacuum tubes obsolete Today they re used in almost every kind of electric circuit Several billion of them are transisting away inside the laptop I m using to write this As transistors caught on in the s the U S Navy began to take a special interest in radio telemetry experimenting with systems to collect and transmit real time data on a jet pilot s vital signs and to study the effectiveness of cold water suits for sailors These efforts directly inspired some of the first uses of telemetry for wildlife research In scientists in Antarctica used the system from the cold water suit tests to monitor the temperature of a penguin egg during incubation while a group of researchers in Maryland borrowed some ideas from the jet pilot project and surgically implanted transmitters in woodchucks ed Although harnesses collars and the like are also commonly used for tracking wildlife today surgically implanting transmitters has its advantages such as eliminating the chance that an external transmitter will impede an animal s movements Their device had a range of only about twenty five yards but it was the first attempt to use radio telemetry to track animals movements The Office of Naval Research even directly funded some of the first wildlife telemetry experiments navy officials hoped that radio tracking “may help discover the bird s secret of migration which disclosure might in turn lead to new concepts for the development of advanced miniaturized navigation and detection systems Cochran didn t know any of this at the time Nor did he know that the Discoverer satellites he and Swenson were building radio beacons for were in fact the very first U S spy satellites he and Swenson knew only that the satellites main purpose was classified Working with a minimal budget a ten pound weight limit and almost no information about the rocket that would carry their creation they built a device they dubbed Nora Alice a reference to a popular comic strip of the time that launched in Cochran was continuing his side job with the Illinois Natural History Survey all the while and eventually someone there suggested trying to use a radio transmitter to track a duck in flight “A mallard duck was sent over from the research station on the Illinois River Swenson later wrote in a coda to his reminiscences about the satellite project “At our Urbana satellite monitoring station a tiny transistor oscillator was strapped around the bird s breast by a metal band The duck was disoriented from a week s captivity and sat calmly on the workbench while its signal was tuned in on the receiver As it breathed quietly the metal band periodically distorted and pulled the frequency causing a varying beat note from the receiver Swenson and Cochran recorded those distortions and variations on a chart and when the bird was released they found they could track its respiration and wing beats by the changes in the signal when the bird breathed faster or beat its wings more frequently the distortions sped up Without even meaning to they d gathered some of the very first data on the physiology of birds in flight An Achievement of Another KindBill Cochran enjoys messing with telemarketers So when he received a call from a phone number he didn t recognize he answered with a particularly facetious greeting “Animal shelter We re closed “Uh this is Rebecca Heisman calling for Bill Cochran “Who “Is this Bill Cochran “Yes who are you Once we established that he was in fact the radio telemetry legend Bill Cochran not the animal shelter janitor he was pretending to be and I was the writer whom he d invited via email to give him a call not a telemarketer he told me he was busy but that I could call him back at the same time the next day Cochran was nearly ninety when we first spoke in the spring of Almost five decades had passed since his thrush chasing odyssey but story after story from the trek came back to him as we talked He and Welling slept in the truck during the day when the thrush landed to rest and refuel unwilling to risk a motel in case the bird took off again unexpectedly While Welling drove Cochran controlled the antenna The base of the column that supported it extended down into the backseat of their vehicle and he could adjust the antenna by raising lowering and rotating it resembling a submarine crewman operating a periscope At one point Cochran recalled he and Welling got sick with “some kind of flu while in Minnesota and unable to find a doctor willing to see two eccentric out of towners on zero notice just “sweated it out and continued on At another point during their passage through Minnesota Welling spent a night in jail They were pulled over by a small town cop Cochran described it as a speed trap but was adamant that they weren t speeding claiming the cop was just suspicious of the weird appearance of their tracking vehicle but couldn t stop for long or they would lose the bird Welling stayed with the cop to sort things out while Cochran went on and after the bird set down for the day Cochran doubled back to pick him up “The bird got a big tailwind when it left Minnesota Cochran said “We could barely keep up we were driving over the speed limit on those empty roads ーthere aren t many people in North Dakota ーbut we got farther and farther behind it and finally by the time we caught up with it it had already flown into Canada Far from an official crossing point where they could legally enter Manitoba they were forced to listen at the border as the signal faded into the distance The next day they found a border crossing heaven knows what the border agents made of the giant antenna on top of the truck and miraculously picked up the signal again only to have their vehicle start to break down “It overheated and it wouldn t run so the next thing you know Charles is out there on the hood of the truck pouring gasoline into the carburetor to keep it running Cochran recalled “And every time we could find any place where there was a ditch with rainwater we improvised something to carry water out of the ditch and pour it into the radiator We finally managed to limp into a town to get repairs made Cochran recruited a local pilot to take him up in a plane in one last attempt to relocate the radio tagged bird and keep going but to no avail The chase was over The data they had collected would be immortalized in a terse three page scientific paper that doesn t hint at all the adventures behind the numbers That journey wasn t the first time Cochran and his colleagues had followed a radio tagged bird cross country nor was it the last After his first foray into wildlife telemetry at George Swenson s lab Cochran quickly became sought after by wildlife biologists throughout the region He first worked with the Illinois Natural History Survey biologist Rexford Lord who was looking for a more accurate way to survey the local cottontail rabbit population Although big engineering firms such as Honeywell had already tried to build radio tracking systems that could be used with wildlife Cochran succeeded where others had failed by literally thinking outside the box instead of putting the transmitter components into a metal box that had to be awkwardly strapped to an animal s back he favored designs that were as small simple and compact as possible dipping the assembly of components in plastic resin to seal them together and waterproof them Today as in Cochran s time designing a radio transmitter to be worn by an animal requires making trade offs among a long list of factors a longer antenna will give you a stronger signal and a bigger battery will give you a longer lasting tag but both add weight Cochran was arguably the first engineer to master this balancing act The transmitters Cochran created for Lord cost eight dollars to build weighed a third of an ounce and had a range of up to two miles Attaching them to animals via collars or harnesses Cochran and Lord used them to track the movements of skunks and raccoons as well as rabbits Cochran didn t initially realize the significance of what he d achieved but when Lord gave a presentation about their project at a mammalogy conference he suddenly found himself inundated with job offers from biologists Sharing his designs with anyone who asked instead of patenting them he even let biologists stay in his spare room when they visited to learn telemetry techniques from him When I asked him why he decided to go into a career in wildlife telemetry rather than sticking with satellites he told me he was simply more interested in birds than in a job “with some engineering company making a big salary and designing weapons that ll kill people This article originally appeared on Engadget at 2023-04-02 14:30:53
海外TECH CodeProject Latest Articles Understanding Windows Asynchronous Procedure Calls (APCs) https://www.codeproject.com/Articles/5355373/Understanding-Windows-Asynchronous-Procedure-Calls asynchronous 2023-04-02 14:49:00
ニュース BBC News - Home Dover delays: Long waits despite extra ferries overnight https://www.bbc.co.uk/news/uk-65151700?at_medium=RSS&at_campaign=KARANGA coach 2023-04-02 14:05:06
ニュース BBC News - Home Brendan Rodgers: Leicester City sack manager after four years in charge https://www.bbc.co.uk/sport/football/64278178?at_medium=RSS&at_campaign=KARANGA crystal 2023-04-02 14:48:14
ニュース BBC News - Home Heineken Champions Cup: Exeter Chiefs 33-33 Montpellier - Hosts win on try countback https://www.bbc.co.uk/sport/rugby-union/65155904?at_medium=RSS&at_campaign=KARANGA Heineken Champions Cup Exeter Chiefs Montpellier Hosts win on try countbackExeter reach the Champions Cup quarter finals after scoring more tries than man Montpellier in a thriller that finishes after extra time 2023-04-02 14:53:47
ニュース BBC News - Home Arsenal 2-1 Manchester City: Katie McCabe gives hosts comeback win in WSL title race https://www.bbc.co.uk/sport/football/65078709?at_medium=RSS&at_campaign=KARANGA Arsenal Manchester City Katie McCabe gives hosts comeback win in WSL title raceKatie McCabe scores a stunning winner as Arsenal come from behind to beat Manchester City and keep their WSL title hopes alive 2023-04-02 14:31:08

コメント

このブログの人気の投稿

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)