IT |
気になる、記になる… |
「Google Pixel 7 Pro」のGeekBench 5とAntutuのベンチマークスコアが明らかに |
https://taisy0.com/2022/10/05/163232.html
|
bench |
2022-10-05 11:53:58 |
IT |
気になる、記になる… |
「Google Pixel Watch」のケースサイズは41㎜で、厚さは12.3㎜ − 日本でもフライング掲載で情報が明らかに |
https://taisy0.com/2022/10/05/163223.html
|
google |
2022-10-05 11:32:40 |
IT |
気になる、記になる… |
Apple、AirPodsやBeats製品をインドで生産か − サプライヤーに要請 |
https://taisy0.com/2022/10/05/163220.html
|
airpods |
2022-10-05 11:18:33 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] バスの置き去り、AIが監視 各社から相次ぎ登場 「人の注意力だけでは限界」 |
https://www.itmedia.co.jp/news/articles/2210/05/news181.html
|
itmedia |
2022-10-05 20:24:00 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Spark のデータオブジェクト のメタデータ取得方法 |
https://qiita.com/manabian/items/ee6fc39a723c36131d5b
|
spark |
2022-10-05 21:00:06 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
PySpark によるデータ品質に関する処理の開発実践 |
https://qiita.com/manabian/items/f3d06151a9f72cc67d2b
|
pyspark |
2022-10-05 20:21:22 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
【Docker】Nginxコンテナを非特権ユーザーで起動する方法 |
https://qiita.com/P-man_Brown/items/2b64ae330e517337b853
|
fromnginxenvtzasiatokyoru |
2022-10-05 20:53:29 |
技術ブログ |
Developers.IO |
OpenAIリリースのWhisperをCPUだけで動かすために色々試した話 |
https://dev.classmethod.jp/articles/openai_whisper_only_local_cpu/
|
googlecolab |
2022-10-05 11:21:13 |
海外TECH |
MakeUseOf |
The Huawei MateBook 16s Is a Portable Productivity Powerhouse |
https://www.makeuseof.com/huawei-matebook-16s-review/
|
huawei |
2022-10-05 11:05:15 |
海外TECH |
DEV Community |
Alternative Sorting in Golang |
https://dev.to/mavensingh/alternative-sorting-in-golang-50be
|
Alternative Sorting in GolangIn this article we are going to solve a problem using go programming language and the supporting package we are going to use in the code is sort package of golang which is helpful for sorting strings arrays etc ProblemGiven an array of integers print the array in such a way that the first element is first maximum number and second element is first minimum number and so on ExamplesInput arr Output Input arr Output There are two ways we can print the number in the required order A simple solution is to first print maximum element then minimum then second maximum and so on Time complexity of this approach is O n An efficient solution involves following steps So we are going to implement the efficient solution in this ApproachSort input array using a O n Log n algorithm We maintain two pointers one from beginning and one from end in sorted array We alternatively print elements pointed by two pointers and move them toward each other Alternative sorting problemEXAMPLEInput arr Output Input arr Output package mainimport fmt sort func alternativeSorting arr int sort Ints arr fmt Println Sorted Array arr left right len arr for left lt right fmt Printf d d arr right arr left left right if len arr fmt Printf d arr left func main arr int fmt Println Before arr alternativeSorting arr fmt Println Output Before Sorted Array you can visit my personal blog for this type of content Thanks for Reading |
2022-10-05 11:41:53 |
海外TECH |
DEV Community |
Basic Load Balancing With Docker, NGINX & PHP |
https://dev.to/thexdev/basic-load-balancing-with-docker-nginx-php-2p08
|
Basic Load Balancing With Docker NGINX amp PHPThis article is a basic knowledge of how to create a load balancer using docker and PHP as its services In real world use cases it is more complex than we think and I prefer you to choose a cloud provider then setup your load balancer over there But before you go reading this article will help you to understand the mental model of load balancing and the purpose of that thing Let s start it out Introduction to Load BalancerIn computing load balancing is the process of distributing a set of tasks over a set of resources computing units with the aim of making their overall processing more efficient Load balancing can optimize the response time and avoid unevenly overloading some compute nodes while other compute nodes are left idle Wikipedia Load Balancing computing I know that fancy words are confusing so let s simplify that definition A load balancing is a technique in computer field where you have two or more servers to handle the user requests To make this thing more concrete let s imagine you have a delivery service Your business can receives packages to deliver in a day but you only have one currier where its max capacity is handling delivery in a day You realize that you need days to deliver those packages If one currier can handles delivery in a day by add more curriers your business can handles delivery in a day In real world case the curriers are act as a server to handle high traffic website like marketplace movie streaming etc nearest at a same time This technique is aimed to distribute high traffic workload to two or more servers So everyone can be handled by the servers Big Picture of Our GoalsAt the end of this article we should be able to create and running one nginx service and two php services We will create and configure Custom nginx docker imageCustom php docker imageCustom docker networkTake a look at the following image for better understanding Task Creating custom NGINX imageLet s start creating a custom nginx image using nginx alpine as the base image First create a directory called docker basic lb with a child proxy mkdir docker basic lb mkdir docker basic lb proxy Create a Dockerfile cd docker basic lb proxy touch Dockerfile Open the Dockerfile and put the codes below FROM nginx alpineRUN rm etc nginx conf d default confCOPY default conf etc nginx conf d default confCreate nginx configuration file touch default conf docker basic lb proxy default confupstream gateway server service server service server location proxy pass http gateway Here we create a custom nginx image and its configuration file Inside the configuration file we have two servers service and service with their own port Don t worry we will create those services later IMPORTANTIn production we should bind a directory to our custom nginx image for storing the configuration file It s important because when the configuration file changes we don t need to build the image over and over again But to simplify this article let s put it on inside the image Task Creating custom PHP docker imageLet s move to docker basic lb cd Create a directory inside docker basic lb called service mkdir service cd service Inside the service directory create a Dockerfile and put the following codes We will use php cli as the base image touch Dockerfile FROM php cliCOPY usr src appWORKDIR usr src appRUN chmod x start shCMD sh start sh Create the start sh scripts bin bashset e php S PORT server php Finally create a file called server php to returns a JSON data when user access our service lt phpheader Content Type application json message sprintf Hello from service s getenv SERVICE ID echo json encode compact message IMPORTANTIn production you should use something like php fpm But to simplify this article we just using php built in web server Task Creating custom docker networkTo be able to connect our things together we need a docker network Docker comes with some built in networks but we re going to create another one to isolate our services Create a network called docker basic lb network docker network create docker basic lb network Ensure the network is available docker network ls Connecting All Things Together Build All ImagesMove to docker basic lb proxy and build the proxy image docker build t proxy Now move to docker basic lb service and build the service image docker build t service Ensure the images are available docker image ls Running The containerWe need to run the service container first because our proxy is depends to the services in order to running correctly docker run name service e SERVICE ID e PORT network docker basic lb network d service docker run name service e SERVICE ID e PORT network docker basic lb network d service Here we run two php service with the name of each service is service and service Now let s run the proxy container docker run name proxy p network docker basic lb network d proxy TestingOpen Postman or install it first when you don t have Hit http localhost and you should see something like these Congrats Now we have created a load balancer for our services I hope it help and you can enjoy this article See ya |
2022-10-05 11:21:42 |
海外TECH |
Engadget |
Zipline drones will deliver medicine to communities in Utah |
https://www.engadget.com/zipline-drone-delivery-medicine-utah-114733625.html?src=rss
|
Zipline drones will deliver medicine to communities in UtahZipline has teamed up with a healthcare provider servicing the Intermountain Region in the US to deliver medicine to customers using its drones The company has started doing drone deliveries to select Intermountain Healthcare patients in the Salt Lake Valley area For now it can only do drops for local communities within several miles of its distribution center Zipline intends to add more centers over the next five years though so it can eventually expand beyond Salt Lake Valley and deliver medicine throughout Utah nbsp As TechCrunch notes Zipline has long been deploying drones for delivery in Africa and it wasn t until the pandemic that it started doing drops in the US In it teamed up with Novant Health to ferry personal protective gear and other types of medical equipment to frontline healthcare workers tending to COVID patients in North Carolina Later that year it signed a deal with Walmart to deliver health and wellness supplies to customers near the retailer s headquarters in northwest Arkansas In June this year the FAA authorized Zipline to conduct long range on demand commercial drone deliveries in the US The company said that the certification it received from the agency allows it to significantly expand its services in the country That means we ll see it expand its covered areas with current partners and perhaps see it sign agreements with more partner companies in the future nbsp Intermountain Healthcare patients in the Salt Lake Valley area can now sign up for Zipline deliveries The company will then evaluate their eligibility based on their location their yard size ーits target delivery area must be at least two parking spaces big ーand their surrounding airspace Zipline s drones are six foot gliders with a wingspan that s feet long These drones fly to feet above the ground though they drop down to an altitude of around to feet to deliver packages outfitted with a parachute Bijal Mehta head of global fulfillment operations at Zipline said in a statement quot Think back to the last time you had a doctor s visit and then had to trek to the pharmacy for your prescription making what can already be a time consuming experience that much more draining or the last time your child was ill and you had to pack the family in the car just to get cold medicine Zipline and Intermountain Healthcare are working together to eliminate the burdens that make it harder to get the care you need when you need it We believe instant delivery is a key element to the future of healthcare and we are excited to bring our service to the Salt Lake City area to make people s lives better easier and healthier quot |
2022-10-05 11:47:33 |
海外TECH |
Engadget |
The Morning After: Twitter says it will close deal with Elon Musk, again |
https://www.engadget.com/the-morning-after-twitter-says-it-will-close-deal-with-elon-musk-again-111501200.html?src=rss
|
The Morning After Twitter says it will close deal with Elon Musk againTwitter has agreed once again to Elon Musk s proposal to buy the company for a share In a statement Twitter confirmed it had received Musk s letter that “the intention of the Company is to close the transaction at per share The agreement follows months of legal drama after Musk tried to back out of his original agreement this spring to buy the company for billion The two sides were set to go to trial later this month But Musk abruptly reversed course on Tuesday telling Twitter he would proceed with the original terms of the deal In the letter filed with the SEC Musk s lawyers say they will go ahead with the agreement struck in April if Delaware Chancery Court will quot adjourn the trial and all other proceedings related quot to the ongoing lawsuit It s not yet clear when the acquisition could actually close Twitter s shareholders have already voted to approve the deal but both sides now need to wait for Delaware s Chancery Court s response The next question What will Musk do with Twitter Mat SmithThe biggest stories you might have missedApple s second generation AirPods fall to a new low of The EU will require USB C charging for all mobile devices by the end of The Matter smart home standard is finally availableGoogle s Nest WiFi Pro arrives with faster speeds and new high gloss design Xiaomi s new in robot vacuum can wash and dry its own mopsUS to impose more trade restrictions on Chinese AI and supercomputer companies Overwatch server attack prevented fans from playing the game on launch dayWe were stuck in a queue behind tens of thousands of other people Overwatch s early access launch has been marred by a massive DDoS attack preventing players from getting into the game Many gamers including me were stuck on the connection screen put in a queue behind tens of thousands of other players also trying to get in When the countdown finished I was booted from the server I was apparently not the only one Blizzard president Mike Ybarra tweeted that the game was quot experiencing a mass DDoS attack quot on its servers causing drop and connection issues Continue reading Xiaomi s T Pro packs a megapixel cameraBut without Leica branding EngadgetXiaomi s T Pro uses Samsung s ISOCELL HP sensor to capture epic megapixel stills The HP includes x in sensor zoom in pixel binning to mimic larger pixel sites for better sensitivity and in super pixel binning to simulate even bigger pixel sites for dark environments If you shoot megapixel images you can let the AI powered Xiaomi ProCut tool analyze those shots and suggest ideal compositions Oddly there s no Leica branding here Engadget reached out to Xiaomi on this matter and a rep replied quot While Leica is a partner in our strategic imagery upgrade it won t necessarily contribute to every device quot Continue reading The Onion filed a real brief with the Supreme Court supporting man jailed for making fun of copsA man was arrested for a Facebook page that parodied his local police department Satire and comedy news site The Onion filed an amicus brief with the Supreme Court in support of Anthony Novak who was arrested and jailed for four days after briefly running a Facebook page parodying the police department of Parma Ohio back in Parma s police department claimed back then that people were confusing his posts with real information from law enforcement Novak filed a civil suit against the city of Parma and the officers that arrested him arguing his constitutional rights were violated After federal appeals he eventually took the battle to the Supreme Court Continue reading CDPR is working on a Cyberpunk sequelAnd several new Witcher games CDPRThe game developer has shared a long term roadmap that elaborates on its plans for its big gaming franchises A project codenamed Orion is effectively a sequel to Cyberpunk to quot further develop the potential quot of the sci fi franchise We ve already heard of a new Unreal Engine based The Witcher game in the works but it s just the start of a new trilogy We might not have to wait long to see the story reach its conclusion either CDPR hopes to release all three games within a six year span with the first codenamed Polaris serving as a technology foundation for the remaining two Continue reading One person s quest for the perfect productivity mouseIs it time for an upgrade James Trew s mission for a mouse had several requirements Top of the list ergonomics The Magic Mouse is…fine but a little low profile for his palming style Given that some rough repetitive strain injury RSI was exclusively in his mousing arm that was crucial As was a reasonable degree of configurability So of course he tested mice Continue reading |
2022-10-05 11:15:01 |
海外科学 |
NYT > Science |
Nobel Prize in Chemistry Is Awarded to 3 Scientists for Work ‘Snapping Molecules Together’ |
https://www.nytimes.com/2022/10/05/science/nobel-prize-chemistry-winner.html
|
Nobel Prize in Chemistry Is Awarded to Scientists for Work Snapping Molecules Together Carolyn R Bertozzi Morten Meldal and K Barry Sharpless were honored for their advances in “click chemistry which could have important applications in treating and diagnosing illnesses |
2022-10-05 11:21:48 |
海外科学 |
BBC News - Science & Environment |
Three scientists win Nobel for chemistry 'lego' |
https://www.bbc.co.uk/news/science-environment-63121338?at_medium=RSS&at_campaign=KARANGA
|
cancer |
2022-10-05 11:36:26 |
医療系 |
医療介護 CBnews |
次の医療経済実態調査、23年6月開始-24年度診療報酬改定へ、中医協 |
https://www.cbnews.jp/news/entry/20221005201016
|
中央社会保険医療協議会 |
2022-10-05 20:25:00 |
医療系 |
医療介護 CBnews |
看護・介護の処遇改善を提言、民間議員-諮問会議で、継続的賃上げの具体策 |
https://www.cbnews.jp/news/entry/20221005194313
|
十倉雅和 |
2022-10-05 20:20:00 |
医療系 |
医療介護 CBnews |
調整幅見直しを主張、薬価改定で健保連-中医協、日医は反対姿勢 |
https://www.cbnews.jp/news/entry/20221005194919
|
中央社会保険医療協議会 |
2022-10-05 20:15:00 |
金融 |
RSS FILE - 日本証券業協会 |
協会員の異動状況等 |
https://www.jsda.or.jp/kyoukaiin/kyoukaiin/kanyuu/index.html
|
異動 |
2022-10-05 13:00:00 |
ニュース |
BBC News - Home |
Liz Truss speech: PM pledges to get country through 'stormy days' |
https://www.bbc.co.uk/news/uk-politics-63141831?at_medium=RSS&at_campaign=KARANGA
|
economic |
2022-10-05 11:49:48 |
ニュース |
BBC News - Home |
Moving On Up: M People founder angry song was used by PM |
https://www.bbc.co.uk/news/uk-england-manchester-63145566?at_medium=RSS&at_campaign=KARANGA
|
angry |
2022-10-05 11:43:46 |
ニュース |
BBC News - Home |
Rail strike: My 30-minute journey to work took two hours |
https://www.bbc.co.uk/news/business-63125652?at_medium=RSS&at_campaign=KARANGA
|
companies |
2022-10-05 11:30:33 |
ニュース |
BBC News - Home |
Former whisky shop worker returns to buy company |
https://www.bbc.co.uk/news/uk-scotland-scotland-business-63088985?at_medium=RSS&at_campaign=KARANGA
|
whiskies |
2022-10-05 11:02:08 |
ニュース |
BBC News - Home |
Benefits: Who receives them and how much do they cost? |
https://www.bbc.co.uk/news/explainers-63129705?at_medium=RSS&at_campaign=KARANGA
|
benefits |
2022-10-05 11:24:54 |
ニュース |
BBC News - Home |
Conor Benn in 'adverse' drug test before Chris Eubank Jr fight |
https://www.bbc.co.uk/sport/boxing/63146437?at_medium=RSS&at_campaign=KARANGA
|
Conor Benn in x adverse x drug test before Chris Eubank Jr fightConor Benn returns an adverse analytical finding for trace amounts of a fertility drug before Saturday s fight with Chris Eubank Jr promoters have said |
2022-10-05 11:52:54 |
ニュース |
BBC News - Home |
Worcester Warriors: WRFC Players Ltd wound up in High Court |
https://www.bbc.co.uk/sport/rugby-union/63142239?at_medium=RSS&at_campaign=KARANGA
|
court |
2022-10-05 11:29:02 |
北海道 |
北海道新聞 |
道庁赤れんが庁舎見学施設「早期復旧で公開目指す」 知事、火災受け |
https://www.hokkaido-np.co.jp/article/741246/
|
特別委員会 |
2022-10-05 20:13:00 |
北海道 |
北海道新聞 |
倶知安町と東急不動産が連携協定 通年型リゾートへ協力 |
https://www.hokkaido-np.co.jp/article/741243/
|
観光振興 |
2022-10-05 20:08:00 |
北海道 |
北海道新聞 |
札幌市南区で連日ヒグマ目撃 市が注意を呼び掛け |
https://www.hokkaido-np.co.jp/article/741236/
|
札幌市南区 |
2022-10-05 20:05:11 |
北海道 |
北海道新聞 |
サッカー場の暴動、責任者を処分 事故頻発、過去にも死者 |
https://www.hokkaido-np.co.jp/article/741240/
|
東ジャワ州 |
2022-10-05 20:01:00 |
IT |
週刊アスキー |
カイロソフト、惑星開拓SLG『アストロ探検隊』などを10月11日よりSteam向けに配信決定 |
https://weekly.ascii.jp/elem/000/004/107/4107943/
|
pcsteam |
2022-10-05 20:10:00 |
コメント
コメントを投稿