TECH |
Techable(テッカブル) |
録音した音声を一瞬で翻訳・文字起こし! 高さわずか6cmのAI翻訳ボイスレコーダーが一般発売 |
https://techable.jp/archives/187052
|
一般発売 |
2022-12-05 08:33:56 |
TECH |
Techable(テッカブル) |
多重下請け構造がここにも。インフルエンサーマーケが抱える問題とは? |
https://techable.jp/archives/187020
|
多重下請け構造 |
2022-12-05 08:00:53 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
[VSCode] Pythonのisort拡張機能がいつの間にか使えなくなってた話 |
https://qiita.com/tnakazato/items/cdba2b91c13fe2ffe4b7
|
isort |
2022-12-05 17:47:26 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
今話題のChatGPTにPythonデスクトップアプリ作らせてみた |
https://qiita.com/yoshiki495/items/c9c629d6d8e7941da3c1
|
chatgpt |
2022-12-05 17:34:47 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
svelte/storeについてのまとめ - 後編 |
https://qiita.com/doyaseizin/items/3b34aa1c8c090adbeacb
|
vitesveltetypescripts |
2022-12-05 17:44:42 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
複数のvideoタグを各々制御したい |
https://qiita.com/dori_san/items/d2e47840201f11b45cf2
|
video |
2022-12-05 17:15:45 |
Linux |
Ubuntuタグが付けられた新着投稿 - Qiita |
GCPの無料枠サーバーを借りて、毎晩自分のスプラのデイリー戦績をツイートする仕組みを用意したい(鯖立てるまで) |
https://qiita.com/kft12/items/64ec0b6e17074fa7969e
|
ikawidget |
2022-12-05 17:50:27 |
GCP |
gcpタグが付けられた新着投稿 - Qiita |
GCPの無料枠サーバーを借りて、毎晩自分のスプラのデイリー戦績をツイートする仕組みを用意したい(鯖立てるまで) |
https://qiita.com/kft12/items/64ec0b6e17074fa7969e
|
ikawidget |
2022-12-05 17:50:27 |
技術ブログ |
Developers.IO |
[SwiftUI] ZStackとCircleを組み合わせて円形のプログレスバーを作る |
https://dev.classmethod.jp/articles/ios-circular-progress-bar-with-swiftui/
|
macosmontereyxcodeversion |
2022-12-05 08:46:35 |
技術ブログ |
Developers.IO |
Zendesk SupportでSave as Draftについてまとめてみた |
https://dev.classmethod.jp/articles/subaru-zendesk10/
|
saveasdraft |
2022-12-05 08:44:24 |
技術ブログ |
Developers.IO |
TrivyでAMIやEBSスナップショットをセキュリティスキャンできるようになりました #reinvent |
https://dev.classmethod.jp/articles/trivy-now-scans-amazon-machine-images-amis/
|
withaw |
2022-12-05 08:09:17 |
海外TECH |
DEV Community |
Li Auto’s practice of migrating data from HDFS to JuiceFS |
https://dev.to/daswu/li-autos-practice-of-migrating-data-from-hdfs-to-juicefs-8m8
|
Li Auto s practice of migrating data from HDFS to JuiceFSLi Auto is a leading Chinese NEV manufacturer that designs develops manufactures and sells premium smart NEVs And it debuted on the Nasdaq in The company started volume production of its first model Li One in November The model is a six seater large premium plug in electric SUV equipped with a range extension system and advanced smart vehicle solutions It sold over EVs in accounting for about of China s passenger new energy vehicle market Li Auto s big data platform is built based on the Hadoop stack With the maturity of cloud computing Li Auto is gradually migrating its big data platform from Hadoop to cloud native stack Problems with HDFSFirst the coupled design of HDFS storage and computing is poorly scalable and not suitable for cloud environments Hadoop tends to encourage companies to build their own data centers while various cloud service providers are shipping their own EMR systems which are usually built on top of Hadoop These EMR systems have been phasing out Hadoop over the last year or two Second Object storage is not well adapted to the HDFS API and the performance is much worse than the local disk due to network and other reasons and the metadata operations such as ls are also very slow Third In HDFS when the NameNode is under pressure or Full GC there will be read failures Our solution is to add as much memory as possible but it is difficult to completely solve the problem of HDFS in this case because it is written in Java and there is no way to completely avoid the GC problem Fourth HDFS does not have a disaster recovery strategy At present we use a large number of physical machines to deploy HDFS From HDFS to JuiceFSBased on these problems we researched some storage products and learned about JuiceFS a distributed file system based on object storage which can be well adapted to object storage On the issue of disaster recovery object storage is usually deployed across regions There will be at least three copies within one region The cloud vendor helped us to do the backup In terms of performance from the test results of JuiceFS it is basically comparable to local disk with cache Thus we quickly switch the current data on HDFS to JuiceFS directly We used DistCp to start the synchronization and it was very easy to synchronize the data with JuiceFS Hadoop SDK and the overall migration was smooth After the migration the platform level file sharing was achieved All the shared files of our current scheduling system real time system and development platform were used to be stored on HDFS The current solution is to use JuiceFS to connect to the object storage and mount them all in POSIX way through the application layer service so that each system can access the files in JuiceFS without modifying code JuiceFS provides several types of clients and as you can see from the architecture diagram of the overall solution below we use three of them in different scenarios CSI Driver as shown in the left half of the figure above we have separate Spark and Flink clusters and we mount JuiceFS directly to the whole cluster by CSI Driver so that when users start Spark and Flink read and write tasks are all done transparently through JuiceFS This scenario currently has a problem related to shuffle Spark requires a large amount of data to be dropped during the shuffle phase the large number of read and write requests generated during this time which requires high performance of the underlying storage Flink is relatively better because it is streaming and does not require a lot of disk flushes In the future we hope that JuiceFS can write directly to Lustre but then we need to make some modifications in JuiceFS through integration of client Thus the performance of read and write in the shuffle phase can be improved in a way that s transparent to users S gateway there are two scenarios in the right half of the above figure One is a simple query of JuiceFS data such as data preview through Hive JDBC This scenario can be accessed through the S gateway to JuiceFS FUSE the scenario of linking data platform and AI platform For example colleagues in AI platform need to read sample data and feature data frequently in their daily work and these data are usually generated by Spark or Flink tasks on big data platform which have been stored in JuiceFS In order to share data between different platforms JuiceFS is directly mounted to the pod of AI platform through FUSE when the pod is started so that colleagues of AI platform can directly access the data in JuiceFS for model training through Jupyter instead of repeatedly copying data between different platforms as in traditional architecture which improves the efficiency of cross team collaboration JuiceFS uses POSIX standard users and user groups for permission control but containers use root by default it is not easy to control the permission Therefore we made a modification to JuiceFS to mount the file system with an authentication token which contains the connection information of the metadata engine and some other permission control policies In some scenarios where multiple JuiceFS file systems need to be accessed at the same time we use the JuiceFS S gateway and combine it with IAM policies for unified privilege management Innovation Scenario JuiceFS Lustre Distributed Cache AccelerationWe are now using bare metal machines and physical disks can be used to cache data However because computing tasks are executed on multiple nodes the cache hit rate is not too high The JuiceFS community edition does not support distributed caching only local caching for a single node where each node may read a lot of data This situation also puts some disk pressure on the compute nodes as the cache takes up some disk space To solve this problem we are testing a solution to use Lustre as a read cache for JuiceFS We use Lustre s cache to help JuiceFS improve read speed and cache hit ratio Specifically depending on the size of the data to be cached a Lustre file system with a capacity of about TB is mounted locally on the compute node and then this Lustre mount point is used as the cache directory of JuiceFS In this case JuiceFS can asynchronously cache the data into Lustre after reading This solution can effectively solve the problem of poor cache hit rate and significantly improve the read performance When we write data directly to the object storage in Spark there are bandwidth and QPS limitations and if the write is too slow the upstream tasks may experience jitter In this case you can use the write cache feature of JuiceFS to write the data to Lustre first and then asynchronously to the object storage However one problem is that Lustre is not a cloud native solution When users start the pod they need to write an extra command to mount it Therefore we also want to make some modifications to JuiceFS to automatically identify object storage and Lustre and then automatically implement some cache mechanisms so that Lustre becomes transparent to users At present the PoC of this solution has been completed and passed the basic tests next we will do a lot of pressure testing in the production environment and it is expected that we should be able to ship this to some online applications officially soon From Juicedata JuiceFS ᴗ✿ |
2022-12-05 08:48:59 |
海外TECH |
DEV Community |
Laravel vs. Symfony: Which Framework is right for your project? |
https://dev.to/ionos/laravel-vs-symfony-which-framework-is-right-for-your-project-2bpj
|
Laravel vs Symfony Which Framework is right for your project Many web developers choose PHP frameworks because they are reliable and efficient Although there are several PHP frameworks available Laravel and Symfony are two of the most popular frameworks Both frameworks have pros and cons so how can you decide which framework is suitable for your project In this article we ll compare Laravel vs Symfony and help provide some guidance so you can pick the framework that s right for your project What is Laravel Laravel is a PHP Framework that aids with creating web apps by combining components from several different frameworks In fact Laravel uses several Symfony components Released in Laravel is known for its easy to use coding style and features that save time during the development process Laravel is often used by small to medium sized businesses or startups who need to get their product off the ground quickly What is Symfony Symfony is both an Application Framework and a set of reusable components Released in Symfony is a reliable and mature framework with robust components that create a stable foundation for even large scale projects Symfony is also highly modular and flexible allowing developers to customize their applications depending on the needs of each individual project It is mainly used for complex enterprise projects Laravel and Symfony SimilaritiesBoth Laravel and Symfony are open source PHP frameworks and share many features including Object Relational Mapping ORM MVC Model View Controller ArchitectureCross Platform supportCLI Code GenerationMulti user SupportInternationalization SupportTemplate Engines Laravel and Symfony DifferencesWhile the two frameworks share many similarities there are also significant differences We ll discuss some of the most striking differences between the two frameworks PerformanceAccording to benchmarking tests conducted by ThinkMobile the average loading time for websites built using Laravel is around milliseconds while websites built using Symfony loaded in milliseconds Laravel sites load faster because Laravel offers a set of unified APIs for caching views which means the developer can take advantage of faster performance with no extra coding Symfony can be tweaked to provide faster load times which takes more time to set up but can be customized to your project ScalabilitySymfony shines when it comes to scalability Symfony s modular system means that applications can be tailored to each specific project allowing developers to scale their projects as needed Laravel projects can be scaled with load balancing and route caching with its Artisan command line tool Still you ll need to plan your Laravel project carefully if you need to scale it to support an extensive enterprise software system Database SupportLaravel supports five databases MariaDB MySQL PostgreSQL SQLite SQL Server With its Doctrine tool Symfony supports relational databases like MySQL and PostgreSQL and also NoSQL databases like MongoDB Both Laravel and Symfony allow for easy data access through the use of object relational mapping ORM Laravel relies on Eloquent which is based on ActiveRecord while Symfony uses Doctrine which follows the DataMapper pattern In Eloquent Models are class extensions that contain all the logic for database access Doctrine entities are created as Plain old PHP Objects POPO This means that they can be used for various use cases not just in the ORM context Because Doctrine uses the DataMapper pattern database operations can be optimized by queueing them instead of immediately running them Both Laravel and Symfony provide support for database scaffolding which creates an Entity Framework model from an existing database Templating EngineBoth Laravel and Symfony provide a templating engine A templating engine allows server side data to populate an application quickly Laravel uses Blade a simple but powerful templating engine The Blade templating system compiles all templates into basic PHP code so there is minimal performance impact on your project Symfony uses Twig a fast secure and flexible templating engine Twig allows the developer to define custom tags and filters and create Domain Specific Languages DSL SecuritySymfony offers robust security features but they must be explicitly defined which can sometimes be challenging Laravel offers more basic security features but these features are generally more than enough to cover most security issues Learning CurveLaravel is designed to be easy to learn and use It provides an intuitive API that makes it easier to get up and running quickly They also offer extensive documentation and community help via their GitHub Symfony is more complex but its modular design allows developers to choose which components they want to use This allows for more flexibility but also requires a steeper learning curve Symfony also provides documentation and community help via GitHub PopularityAlthough you shouldn t solely pick a framework based on its popularity it s useful to see how others have put these frameworks to work A more popular framework also means more developers are available to support your project and a larger community from which to seek help This chart summarizes the popularity of each framework Laravel Symfony Number of websites using the framework G Rating Stars Stars GitHub Stars K K Source Source SummaryUltimately the decision of which framework to use will boil down to which framework is best suited for your project Laravel tends to be the choice of developers who want to develop a web app quickly and easily while Symfony is used most often by developers who are looking to create large scale customized enterprise solutions This chart summarizes all the points we ve discussed in this article Laravel Symfony Common Features Object Relational Mapping ORM MVC Model View Controller ArchitectureCross Platform supportCLI Code GenerationMulti user SupportInternationalization SupportTemplate Engines Performance Average Page Load Speed milliseconds milliseconds Scalability Modular system allows developers to scale their projects as needed Scalable with load balancing and route caching Database Support MariaDB MySQL PostgreSQL SQLite SQL Server Supports relational databases and NoSQL databases Templating Engine Blade simple but powerful Twig fast secure amp flexible Security Robust security Must be explicitly defined Automatic security for most basic use cases Learning Curve Easy to LearnExtensive DocumentationLarge GitHub Community More difficult to learnBasic DocumentationSmaller Github Community Automatically Deploy Your Project with Deploy NowWhether you use Laravel or Symfony as your framework Deploy Now offers a convenient toolset to automate builds and deployments for dynamic PHP applications Deploy Now can automatically create a deployment workflow with GitHub actions and then easily deploy your project to Ionos secure infrastructure Find out more about deploying your PHP projects via GitHub with Deploy Now or get started with a sample project for Laravel or Symfony |
2022-12-05 08:42:57 |
海外ニュース |
Japan Times latest articles |
After doom and gloom, China’s propaganda shifts gears on COVID-19 |
https://www.japantimes.co.jp/news/2022/12/05/asia-pacific/china-covid-propaganda-shifts-gears/
|
After doom and gloom China s propaganda shifts gears on COVID Experts say Beijing is laying the groundwork for a loosening of COVID rules ーas well as putting in place convenient scapegoats to blame for |
2022-12-05 17:43:23 |
海外ニュース |
Japan Times latest articles |
Kylian Mbappe obsessed with leading France to second straight World Cup title |
https://www.japantimes.co.jp/sports/2022/12/05/soccer/world-cup/kylian-mbappe-world-cup-obsession/
|
Kylian Mbappe obsessed with leading France to second straight World Cup titleKylian Mbappe said he dreamed of winning the World Cup for a second time after his brace helped France to a win over Poland |
2022-12-05 17:17:31 |
海外ニュース |
Japan Times latest articles |
Climate change costs are eating up the money to avert it |
https://www.japantimes.co.jp/opinion/2022/12/05/commentary/world-commentary/climate-change-costs/
|
avert |
2022-12-05 17:00:59 |
海外ニュース |
Japan Times latest articles |
The Indian diaspora has arrived |
https://www.japantimes.co.jp/opinion/2022/12/05/commentary/world-commentary/indian-diaspora-thrive/
|
rishi |
2022-12-05 17:00:50 |
ニュース |
BBC News - Home |
Strep A: Penarth family traumatised by daughter's death |
https://www.bbc.co.uk/news/uk-wales-63853197?at_medium=RSS&at_campaign=KARANGA
|
hanna |
2022-12-05 08:23:38 |
ニュース |
BBC News - Home |
Jude Bellingham's former coach praises England star's desire |
https://www.bbc.co.uk/news/uk-england-birmingham-63856119?at_medium=RSS&at_campaign=KARANGA
|
football |
2022-12-05 08:45:24 |
サブカルネタ |
ラーブロ |
武蔵野アブラ學会 代々木店@代々木(クアトロ油そば) |
http://ra-blog.net/modules/rssc/single_feed.php?fid=205467
|
訪問日時 |
2022-12-05 09:12:59 |
北海道 |
北海道新聞 |
自民、被害者救済新法の修正提示 配慮義務、勧告公表が対象 |
https://www.hokkaido-np.co.jp/article/770284/
|
岡田克也 |
2022-12-05 17:03:00 |
マーケティング |
MarkeZine |
AtoOne、月額定額制でインフルエンサーへのPR依頼を可能にする「MCasting」を提供開始 |
http://markezine.jp/article/detail/40750
|
提供開始 |
2022-12-05 17:15:00 |
IT |
週刊アスキー |
柚子の華やかな香りのビール! サンクトガーレンの「賀正ビール 柚子 2023 干支ラベル 卯」を京王百貨店 新宿店などで販売 |
https://weekly.ascii.jp/elem/000/004/116/4116039/
|
京王百貨店 |
2022-12-05 17:10:00 |
ニュース |
THE BRIDGE |
そしてドーハへ、インターネット放送の幕開けーーJリーグ元社長・小西氏/KONAMI・小林常務ロングインタビュー(2) |
https://thebridge.jp/2022/12/interview-w-takao-konishi-and-koji-kobayashi-01booster-the-second-part
|
そしてドーハへ、インターネット放送の幕開けーJリーグ元社長・小西氏KONAMI・小林常務ロングインタビュー地上波から衛星放送へ、新たな挑戦本稿はコーポレートアクセラレーターを運営するゼロワンブースターが運営するオウンドメディア「Channel」からの転載記事前回からの続きこのアイデアで財政的にも安定をみた日本サッカー協会は、その視点を徐々に世界の檜舞台、ワールドカップに向けるようになります。 |
2022-12-05 08:03:47 |
ニュース |
THE BRIDGE |
サッカーの視聴体験を変えた「4つの転換点」ーーJリーグ元社長・小西氏/KONAMI・小林常務ロングインタビュー(1) |
https://thebridge.jp/2022/12/interview-w-takao-konishi-and-koji-kobayashi-01booster-the-first-part
|
サッカーの視聴体験を変えた「つの転換点」ーJリーグ元社長・小西氏KONAMI・小林常務ロングインタビュー本稿はコーポレートアクセラレーターを運営するゼロワンブースターが運営するオウンドメディア「Channel」からの転載記事サッカー・ワールドカップで世界中が湧き立つ中、その体験が大きく変わったー。 |
2022-12-05 08:03:37 |
コメント
コメントを投稿