IT |
気になる、記になる… |
Appleが「iOS 16.4.1」をまもなくリリースとの情報 ー 天気アプリやWi-Fiの問題を修正か |
https://taisy0.com/2023/04/04/170352.html
|
apple |
2023-04-04 13:54:55 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 楽天、三木谷社長の「反社交際」疑惑報道に抗議 「事実ではない」 |
https://www.itmedia.co.jp/business/articles/2304/04/news185.html
|
itmedia |
2023-04-04 22:03:00 |
AWS |
AWS Government, Education, and Nonprofits Blog |
How the Think Big for Small Business program helps small businesses win big contracts |
https://aws.amazon.com/blogs/publicsector/think-big-for-small-business-program-helps-small-businesses-win-big-contracts/
|
How the Think Big for Small Business program helps small businesses win big contractsThe Think Big for Small Business TBSB program provides AWS Partners with access to AWS Partner Programs financial incentives and additional visibility with customers and AWS teams Since March more than partners from countries have participated in the TBSB program and have launched more than opportunities with public sector customers Learn how four TBSB partners supported public sector customers through their digital transformation in the TBSB program |
2023-04-04 14:00:04 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
CodonをJupyterLabで使う |
https://qiita.com/amenashi/items/8c2a594edf47fca5eea4
|
codon |
2023-04-04 22:16:29 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
「プログラマー脳」のchapter2「コードを速読する」 |
https://qiita.com/kosuke-17/items/645babd7445203f4734a
|
chapter |
2023-04-04 22:59:52 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
JavaScriptの基礎的な文法とメソッド一覧 |
https://qiita.com/_linkin/items/89b77c62ac2a36e5a8fe
|
numberifnumbergtconsolel |
2023-04-04 22:28:56 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
ruby モジュール |
https://qiita.com/umekisimaru/items/d8d16f515fa305b32011
|
名前空間 |
2023-04-04 22:35:28 |
Linux |
Ubuntuタグが付けられた新着投稿 - Qiita |
ChatGPT API で C# でコマンドラインで会話する (AI の二人が会話) |
https://qiita.com/fsdg-adachi_h/items/14dbee1cd9821ac182eb
|
ubuntu |
2023-04-04 22:19:05 |
golang |
Goタグが付けられた新着投稿 - Qiita |
Go言語の「Print、Printf、Println」の使い分け |
https://qiita.com/atsutama/items/466e71e79ba876f0d666
|
fmtprintfmtprint |
2023-04-04 22:07:17 |
技術ブログ |
Developers.IO |
[アップデート]Amazon Connect Agent Workspaceで顧客の課題解決を提示する「ステップバイステップガイド」が利用できるようになりました! |
https://dev.classmethod.jp/articles/amazon-connect-agent-workspace-step-by-step-guides/
|
agentworksapce |
2023-04-04 13:50:10 |
海外TECH |
MakeUseOf |
What Is the ROG Ally, ASUS's Steam Deck Competitor? |
https://www.makeuseof.com/what-is-asus-rog-ally/
|
competitor |
2023-04-04 13:51:13 |
海外TECH |
MakeUseOf |
How Apple Uses the Decoy Effect to Make You Buy Expensive Products |
https://www.makeuseof.com/how-apple-uses-the-decoy-effect/
|
How Apple Uses the Decoy Effect to Make You Buy Expensive ProductsApple prices its products in a way that you re tempted to buy its most expensive offering Here we ll discuss this marketing strategy in detail |
2023-04-04 13:45:16 |
海外TECH |
MakeUseOf |
Build a To-Do Application Using Python |
https://www.makeuseof.com/python-to-do-application-build/
|
tkinter |
2023-04-04 13:30:17 |
海外TECH |
MakeUseOf |
Get The Best Samsung Galaxy S23+ Deals: $150 Off, No Strings Attached |
https://www.makeuseof.com/best-samsung-galaxy-s23-deals/
|
great |
2023-04-04 13:27:20 |
海外TECH |
MakeUseOf |
What Is Printing With Alexa and Why Would You Want to Use It? |
https://www.makeuseof.com/what-is-printing-with-alexa/
|
variety |
2023-04-04 13:15:16 |
海外TECH |
DEV Community |
Boldness in Refactoring |
https://dev.to/codenameone/boldness-in-refactoring-2h4g
|
Boldness in RefactoringThe old engineering adage “don t touch it it works Is terrible Don t listen to it It might be OK at a small scale but as time goes by the bit rot spreads through your code and servers polluting everything Large swaths of your system become “no man s land As you re developing a new system you must always “touch it and make sure we hire engineers who aren t afraid to do so Yes I get it I said that sentence frequently in the past I understand the motivation Management doesn t care about the bit rot in our future They care about the here and now Why are you wasting time on this feature It s working Don t you have enough on your plate already Are you the Marie Kondo of coding Does this code not spark joy It s more like a bad apple in a barrel Bad code and forbidden zones tend to grow and metastasize A living project needs to be fully accessible by the current team It can keep working without that but that makes every future step painful When we have a flexible team with a relatively small and familiar code base touching everything isn t challenging It s easy in that case The Legacy ProjectThe hard part is touching code in legacy projects As a consultant I had to do that often How do you enter a project with a million lines of code and start refactoring The nice thing is that we re all alike The engineers that built the project were trained with similar books and similar thought processes Once you understand their logic you can understand why they did something But a large part of the difficulty is in the tooling Projects that were built years ago used tools that are no longer available The code might no longer compile on a modern IDE Our immediate reflex would be to try to use an old IDE and old tooling That might be a mistake Old tools keep the stale bit rot This is an opportunity Revisit the project and update the tools A few years ago I did some work for an older C codebase I didn t understand the code base but the original developers built it in an older version of Visual Studio Getting it to work on my Mac with LLVM and VS Code helped me visualize the moving pieces more clearly Once I had a debugger up and running fixing the bugs and weird issues became trivial I can t say I fully understood that codebase But the process of porting and updating the tools exposed me to many nuances and issues When You Can tThe flip side of that were cases where an existing legacy system is a customer requirement I had to implement integrations with legacy systems that were external black boxes We didn t need to touch their code but we needed to interface with these systems and rely on their behaviors This is a very challenging situation Our solution in those cases was to create a mock of the system so we can simulate and test various scenarios In one such situation we wrote an app that sent requests and saved responses from such a “black box to create a simple recorder We then used the recordings as the basis for tests in our implementation This might not be an option since sometimes the black box is directly wired to production directly to the stock market in one case My rules for dealing with such a black box are A single isolated module handles all the connections that way we can build uniform workarounds for failures We can use a physically isolated microservice which is ideal for this specific case Expose results using asynchronous calls this prevents deadlocks and overloading a legacy system We can use a queue to map causes of failure and error handling is simpler since a failure just won t invoke the result callback We need to Code defensively Use circuit breakers logging and general observability tooling Expect failure in every corner since this will be the most contentious part of the project Once we wrap that legacy we need to trigger alerts on the failures Some failures might not bubble up to the user interface and might trigger retries that succeed This can be a serious problem E g in a case of a stock market purchase command that fails a trader might press retry which will issue a new successful command But the original command might retry implicitly in the legacy system and we can end up with two purchases Such mistakes can be very costly and originate from that black box Without reviewing the legacy code fully and understanding it we can make no guarantee What we can do is respond promptly and accurately to failures of this type Debuggability is important in these situations hence the importance of observability and isolation in such a black box Confidence Through ObservabilityIn the past we used to watch the server logs whenever we pushed a new release Waiting for user complaints to pour in Thanks to observability we re the first to know about a problem in our production Observability flipped the script Unfortunately there s a wide chasm between knowing about a problem and understanding it fixing it and noticing it If we look at the observability console we might notice an anomaly that highlights a problem but it might not trigger an alert even though a regression occurs A good example of that would be a miscalculation A change to the application logic can report wrong results and this is very unlikely to show in the observability data In theory tests should have found that issue but tests are very good at verifying that things we predicted didn t happen They don t check against unexpected bugs E g We might allocate a field size for financial calculations and it worked great for our developers based in the USA However a customer in Japan working in Yen might have a far larger number and experience a regression because of that limit We can debug such issues with developer observability tools but when we deeply integrate legacy systems we must apply the fail fast principles deeply that way the observability layer will know of the problem We need to assert expectations and check for conditions not in the test but in the production code Here an actual error will be better than a stealthy bug A lot of focus has been given in languages to the non null capabilities of languages But the concepts pioneered in languages like Eiffel of design by contract have gone out of fashion This is understandable it s hard and awkward to write that sort of code Checked exceptions are often the most hated feature of the Java language Imagine having to write all the constraints you expect for every input Not to mention dependencies on the environmental state This isn t tenable and enforcing this check in runtime would be even more expensive However this is something we can consciously do in entry points to our module or microservice The fail fast principle is essential when integrating with legacy systems because of the unpredictable nature of the result SummaryIn the s I used to take a bus to my job Every day as I walked to the office I would pass by a bank machine and every time it would reboot as I came close This was probably part of their cycling policy banks have a culture of rebooting machines on a schedule to avoid potential issues One morning I went by the machine and it didn t reboot I did what every good programmer hacker would do I pulled out my card and tried to use it It instantly rebooted and wouldn t take my card but the fact that my instinct was to “try is good Even if it isn t the smartest thing in the world we need to keep code accessible and fresh Legacy code isn t a haunted house and we shouldn t be afraid |
2023-04-04 13:44:27 |
海外TECH |
DEV Community |
Extending Vendure's functionality with custom plugins |
https://dev.to/prasmalla/extending-vendures-functionality-with-custom-plugins-3l5c
|
Extending Vendure x s functionality with custom pluginsTL DR monkey patch is monkey business use plugin architecture instead Monkey patching is a way to change extend or modify software locally While this may be done as a workaround to a bug or a feature a better approach is to contribute to the project if it is open source to help the community and or if you are writing a new feature extend it as a custom plugin when where supported Vendure is a modern open source headless commerce framework built with TypeScript amp Nodejs with an awesome plugin architecture to keep the monkey business at bay Use case product inventory goes out of stock this is a good thing but when a potential customer sees out of stock is when it s not Wish case let the customer know when the product is back in stock Let s build a custom Back In Stock plugin Here is quick intro to writing a Vendure plugin to get you started with the basics We will be using the starter plugin template provided by Vendure for reference to start our journey Here is the initial plugin setup that includes the entity GraphQL api extensions resolver for it and the service that talks to the database We will be adding email notification here later src plugins vendure plugin back in stock back in stock plugin tsimport PluginCommonModule VendurePlugin from vendure core import PLUGIN INIT OPTIONS from constants import commonApiExtensions from api api extensions import BackInStockResolver from api back in stock resolver import BackInStock from entity back in stock entity import BackInStockService from service back in stock service export interface BackInStockOptions enabled boolean VendurePlugin imports PluginCommonModule entities BackInStock providers provide PLUGIN INIT OPTIONS useFactory gt BackInStockPlugin options BackInStockService shopApiExtensions schema commonApiExtensions resolvers BackInStockResolver export class BackInStockPlugin static options BackInStockOptions static init options BackInStockOptions this options options return BackInStockPlugin Define the custom enum type that will be used as status in the entity src plugins vendure plugin back in stock types tsexport enum BackInStockSubscriptionStatus Created Created Notified Notified Entity is a class that maps to a database table You can create an entity by defining a new class and mark it with Entity src plugins vendure plugin back in stock entity back in stock entity tsimport DeepPartial from vendure common lib shared types import Channel Customer ProductVariant VendureEntity from vendure core import Column Entity ManyToOne from typeorm import BackInStockSubscriptionStatus from types description A back in stock notification is subscribed to by a link Customer or an user with email address Entity export class BackInStock extends VendureEntity constructor input DeepPartial lt BackInStock gt super input Column enum nullable false enum BackInStockSubscriptionStatus status BackInStockSubscriptionStatus ManyToOne type gt ProductVariant nullable false productVariant ProductVariant ManyToOne type gt Channel nullable false channel Channel ManyToOne type gt Customer nullable true customer Customer Column varchar nullable false email string After defining a new database entity we expose the entity in GraphQL API We add our types queries and mutations here and will use GraphQL codegen to generate our types later src plugins vendure plugin back in stock api api extensions tsimport gql from graphql tag export const commonApiExtensions gql type BackInStock implements Node id ID createdAt DateTime updatedAt DateTime status BackInStockSubscriptionStatus productVariant ProductVariant channel Channel customer Customer email String enum BackInStockSubscriptionStatus Created Notified Converted input CreateBackInStockEmailInput email String productVariantId ID input ProductVariantInput productVariantId ID type BackInStockList implements PaginatedList items BackInStock totalItems Int extend type Query backInStockSubscriptions BackInStockList activeBackInStockSubscriptionsForProductVariant input ProductVariantInput BackInStockList extend type Mutation createBackInStockSubscription input CreateBackInStockInput BackInStock export const shopApiExtensions gql commonApiExtensions export const adminApiExtensions gql commonApiExtensions Resolver for the GraphQL query to find all subscriptions src plugins vendure plugin back in stock api back in stock resolver tsimport Inject from nestjs common import Args Resolver Query from nestjs graphql import RequestContext Ctx PaginatedList from vendure core import loggerCtx PLUGIN INIT OPTIONS from constants import BackInStockOptions from back in stock plugin import BackInStock from entity back in stock entity import BackInStockService from service back in stock service Resolver export class BackInStockResolver constructor Inject PLUGIN INIT OPTIONS private options BackInStockOptions private backInStockService BackInStockService Query async backInStockSubscriptions Ctx ctx RequestContext Args args any Promise lt PaginatedList lt BackInStock gt gt return this backInStockService findAll ctx args options Service uses methods functions to perform operations with the model entity Here we find all subscriptions and return a paginated list src plugins vendure plugin back in stock service back in stock service tsimport Injectable from nestjs common import PaginatedList from vendure common lib shared types import ListQueryBuilder RequestContext ListQueryOptions RelationPaths Channel Customer ProductVariant from vendure core import BackInStock from entity back in stock entity description Contains methods relating to link BackInStock entities Injectable export class BackInStockService private readonly relations productVariant channel customer constructor private listQueryBuilder ListQueryBuilder async findAll ctx RequestContext options ListQueryOptions lt BackInStock gt relations RelationPaths lt ProductVariant gt RelationPaths lt Channel gt RelationPaths lt Customer gt Promise lt PaginatedList lt BackInStock gt gt return this listQueryBuilder build BackInStock options relations relations this relations ctx getManyAndCount then async items totalItems gt return items totalItems The following is boilerplate setup common to all plugins src plugins vendure plugin back in stock constants tsexport const loggerCtx BackInStockPlugin export const PLUGIN INIT OPTIONS Symbol PLUGIN INIT OPTIONS src plugins vendure plugin back in stock index tsexport from back in stock plugin Finally the vendure config ts for an example dev server a starter app created with vendure create using Postgres for database defined in an env file at the root of the project src vendure config tsrequire dotenv config import dummyPaymentHandler DefaultJobQueuePlugin DefaultSearchPlugin VendureConfig from vendure core import defaultEmailHandlers EmailPlugin from vendure email plugin import AssetServerPlugin from vendure asset server plugin import AdminUiPlugin from vendure admin ui plugin import path from path import BackInStockPlugin from plugins back in stock plugin const IS DEV process env APP ENV dev export const config VendureConfig apiOptions port adminApiPath admin api shopApiPath shop api The following options are useful in development mode but are best turned off for production for security reasons IS DEV adminApiPlayground settings request credentials include as any adminApiDebug true shopApiPlayground settings request credentials include as any shopApiDebug true authOptions tokenMethod bearer cookie superadminCredentials identifier process env SUPERADMIN USERNAME password process env SUPERADMIN PASSWORD cookieOptions secret process env COOKIE SECRET dbConnectionOptions type postgres See the README md Migrations section for an explanation of the synchronize and migrations options synchronize true migrations path join dirname migrations js ts logging false database process env DB NAME schema process env DB SCHEMA host process env DB HOST port process env DB PORT username process env DB USERNAME password process env DB PASSWORD paymentOptions paymentMethodHandlers dummyPaymentHandler When adding or altering custom field definitions the database will need to be updated See the Migrations section in README md customFields plugins AssetServerPlugin init route assets assetUploadDir path join dirname static assets For local dev the correct value for assetUrlPrefix should be guessed correctly but for production it will usually need to be set manually to match your production url assetUrlPrefix IS DEV undefined DefaultJobQueuePlugin init useDatabaseForBuffer true DefaultSearchPlugin init bufferUpdates false indexStockStatus true EmailPlugin init devMode true outputPath path join dirname static email test emails route mailbox handlers defaultEmailHandlers templatePath path join dirname static email templates globalTemplateVars The following variables will change depending on your storefront implementation Here we are assuming a storefront running at http localhost fromAddress example lt noreply example com gt verifyEmailAddressUrl http localhost verify passwordResetUrl http localhost password reset changeEmailAddressUrl http localhost verify email address change AdminUiPlugin init route admin port ADD CUSTOM PLUGINS HERE BackInStockPlugin init enabled true Notice BackInStockPlugin added to the plugins array towards the end Start the server with yarn dev and go to the GraphQL playground at http localhost shop api to find backInStockSubscriptions query Now let s setup codegen to generate types from the schema Create the following json file in the root of your project Install it withyarn add D graphql codegen cli and run it with yarn graphql codegen config codegen json codegen json overwrite true config strict true namingConvention enumValues keep scalars ID string number maybeValue T generates generated generated admin types ts schema http localhost admin api plugins add content eslint disable typescript typescript compatibility generated generated shop types ts schema http localhost shop api plugins add content eslint disable typescript typescript compatibility Next we need to add the mutation so we can create some back in stock subscriptions Add the following changes to the resolver and service and remember to import everything missing your IDE should guide you here resolver Mutation async createBackInStockSubscription Ctx ctx RequestContext Args args MutationCreateBackInStockSubscriptionArgs Promise lt BackInStock gt return this backInStockService create ctx args input serviceconstructor private connection TransactionalConnection private listQueryBuilder ListQueryBuilder private channelService ChannelService private customerService CustomerService private productVariantService ProductVariantService async findAll This is unchangedasync create ctx RequestContext input CreateBackInStockInput Promise lt BackInStock gt const email productVariantId input const channel await this channelService getChannelFromToken ctx channel token const customer await this customerService findOneByUserId ctx ctx activeUserId as ID const productVariant await this productVariantService findOne ctx productVariantId const backInStockSubscription new BackInStock email productVariant channel customer status BackInStockSubscriptionStatus Created return await this connection getRepository ctx BackInStock save backInStockSubscription Create a subscription in the shop api playgroundNext make changes to resolver and service to find active subscriptions resolver Query async activeBackInStockSubscriptionsForProductVariant Ctx ctx RequestContext Args args QueryCreatedBackInStockWithProductVariantArgs Promise lt PaginatedList lt BackInStock gt gt return this backInStockService findActiveForProductVariant ctx args input productVariantId serviceasync findActiveForProductVariant ctx RequestContext productVariantId ID options ListQueryOptions lt BackInStock gt relations RelationPaths lt Channel gt RelationPaths lt Customer gt Promise lt PaginatedList lt BackInStock gt gt const productVariant await this productVariantService findOne ctx productVariantId return this listQueryBuilder build BackInStock options relations relations this relations ctx where productVariant status BackInStockSubscriptionStatus Created getManyAndCount then async items totalItems gt return items totalItems Finally we have all the pieces to make the actual use case work which is to send an email notification when a subscribed out of stock product is replenished We will leverage the EventBus in Vendure to achieve this src plugins vendure plugin back in stock events back in stock event tsimport ProductVariant RequestContext VendureEvent from vendure core import BackInStock from entity back in stock entity description This event is fired when a link BackInStock is updated export class BackInStockEvent extends VendureEvent constructor public ctx RequestContext public entity BackInStock public productVariant ProductVariant public type created updated deleted public emailAddress string super Now update the plugin to listen for events and setup the email handler remember to import it to vendure config tshandlers defaultEmailHandlers backInStockEmailHandler back in stock plugin tsconstructor private eventBus EventBus private backInStockService BackInStockService private productVariantService ProductVariantService description Subscribes to link ProductVariantEvent inventory changes and sends FIFO BackInStock link BackInStock notifications to the amount of saleable stock async onApplicationBootstrap this eventBus ofType ProductVariantEvent subscribe async event gt for const productVariant of event entity const saleableStock await this productVariantService getSaleableStockLevel event ctx productVariant const backInStockSubscriptions await this backInStockService findActiveForProductVariant event ctx productVariant id take saleableStock sort createdAt SortOrder ASC if saleableStock gt amp amp backInStockSubscriptions totalItems gt for const subscription of backInStockSubscriptions items this eventBus publish new BackInStockEvent event ctx subscription productVariant updated subscription email this backInStockService update event ctx id subscription id status BackInStockSubscriptionStatus Notified email handlerexport const backInStockEmailHandler new EmailEventListener back in stock on BackInStockEvent setRecipient event gt event emailAddress setFrom fromAddress setSubject productVariant name Back in Stock loadData async event injector gt const hydrator injector get EntityHydrator await hydrator hydrate event ctx event productVariant relations product return productVariant event productVariant setTemplateVars event gt productVariant event productVariant url http localhost products We are using loadData to hydrate the product variant here so we can use the product s slug in the email template static email templates back in stock body hbs gt header title productVariant name Back In Stock lt mj section background color fafafa gt lt mj column gt lt mj text color gt productVariant name is now back in stock lt mj text gt lt mj button font family Helvetica background color fe color white href url productVariant product slug gt View Product lt mj button gt lt mj column gt lt mj section gt gt footer Finally finally replenish an out of stock variant with active back in stock subscription at http localhost admin and verify the email is being sent at http localhost mailboxI have previously written about getting started with Vendure and contributing to this awesome community of open source developers For further questions you can slack me outside D Happy coding |
2023-04-04 13:36:44 |
海外TECH |
DEV Community |
Vector Databases |
https://dev.to/josethz00/vector-databases-5df1
|
Vector DatabasesWith the rise of AI vector databases are becoming more popular But what exactly is a vector database and when should you use it What is a vector database Traditional search engines use full text search but NLPs like ChatGPT and Bing AI use semantic search or similarity search a type of search that considers not only the characters match but also the meaning of the words This feature of semantic search is powered by vector databases Recently Google also started using semantic search Full text search VS Semantic searchLet s compare these two types of search Full text searchSearch for a word or phrase in large amounts of textThe search engine returns a list of documents that contain the search termSELECT title contentFROM documentsWHERE search vector plainto tsquery english example search Semantic searchSearch for a word or phrase in large amounts of textThe search engine will return a list of documents that contain the search term or have a similar meaning How does vectorization work Vectorization is the fundamental of vector databases so first we need to understand this technique and its advantages NLP ExampleA NLP receives a text as input and returns another text as output This involves several processing steps one of them is vectorization In the vectorization process the tokens of the input text are converted into vectors using linear algebra operations Simplifying A text becomes an array with numeric values for example learning NLP and AI gt The result of this translation is called a vector embedding The vector embedding is a numerical representation of the input text It works not only for text but also for images audio and video Each of these types of data use a different algorithm to generate the vector embedding Vectorization algorithms Images vgg resnet inception mobilenet googlenet etc Text wordvec glove fasttext BERT nodevec etc Audio wavvec mxnet etc Finally the vector database Now we have a lot of vectors but these vectors are basically numbers matrices they don t mean anything by themselves So the vector database is used to index these vectors The vector database will index the vectors leaving the vectors with similar values close to each other this makes it possible to perform a similarity search in the database How the vector database knows which vectors are similar Querying the database using math formulas to find the closest vectors in a high dimensional spaceEuclidean distanceCosine similarityMachine learning algorithmsK nearest neighbors KNN Approximate nearest neighbors ANN Indexing Examples Example with football players Let s suppose you want to search for the following text Best football player in the world You will very likely get results talking about Messi because currently he was elected the best football player in the world But you will also get results talking about Cristiano Ronaldo Mbappé Neymar etc as they are also very good football players and considered the best by many fans Performing a semantic search in a dataset Load the dataset first articlesdataset load dataset openwebtext split train Preprocess the datasettexts simple preprocess article text for article in dataset Train a WordVec modelmodel WordVec texts vector size window min count workers Find the most similar words to politics global and economysimilar words model wv most similar positive politics global economy topn print similar words In this code we are performing a semantic search on the terms politics global and economy As result we get the most semantically close terms with the term and the numerical proximity coefficient gt gt gt most similar results to politics global economy debt industry conflict labor scientific investment capitalism participation society crisis Complete code Most popular vector databasesFaiss by Meta PineconeMilvusPostgres pg vector Weaviate |
2023-04-04 13:19:09 |
Apple |
AppleInsider - Frontpage News |
Samsung invests $3.1B into OLED production for iPad and MacBook Pro |
https://appleinsider.com/articles/23/04/04/samsung-invests-31b-into-oled-production-for-ipad-and-macbook-pro?utm_medium=rss
|
Samsung invests B into OLED production for iPad and MacBook ProSamsung Display is seeking to invest another billion into its OLED display panel production an investment that is likely to help its manufacturing for the Apple supply chain iPad ProSamsung Display is a major supplier to Apple creating screens for both the iPhone and iPad lines To help bolster its capabilities in production the company intends to throw billions of dollars at its Asan South Korea facility Read more |
2023-04-04 13:55:45 |
Apple |
AppleInsider - Frontpage News |
Daily Deals: $300 off M2 Max MacBook Pro, 33% off Ring Indoor Cam, up to $300 off M2 Air, more |
https://appleinsider.com/articles/23/04/04/daily-deals-300-off-m2-max-macbook-pro-33-off-ring-indoor-cam-up-to-300-off-m2-air-more?utm_medium=rss
|
Daily Deals off M Max MacBook Pro off Ring Indoor Cam up to off M Air moreTop deals we discovered today include off an LG Class K Smart TV a pack of solar torch flame lights for off a Samsung wireless soundbar and up to off Skullcandy tech items Save on a M Max MacBook ProThe AppleInsider staff scours the web for amazing deals at online retailers to create a list of can t miss discounts on popular tech items including discounts on Apple products TVs accessories and other gadgets We share the top bargains to help you put money back in your wallet Read more |
2023-04-04 13:46:34 |
Apple |
AppleInsider - Frontpage News |
Drama series 'Drops of God' comes to Apple TV+ on April 21 |
https://appleinsider.com/articles/23/04/04/drama-series-drops-of-god-comes-to-apple-tv-on-april-21?utm_medium=rss
|
Drama series x Drops of God x comes to Apple TV on April Apple has revealed the first trailer for Drops of God a new drama series for Apple TV about wine based on a manga series Drops of God comes to Apple TV in AprilThe series of eight episodes premieres April and stars Fleur Geffrier Das Boat as Camille Leger and Tomohisa Yamashita Alice in Borderland as Issei Tomine The series of eight episodes is a multilingual French Japanese drama from Legendary Entertainment adapted from the New York Times bestselling Japanese manga series of the same name Read more |
2023-04-04 13:27:34 |
海外TECH |
Engadget |
Apple's Weather app is broken for many users |
https://www.engadget.com/apples-weather-app-is-broken-for-many-users-135409192.html?src=rss
|
Apple x s Weather app is broken for many usersYou might not want to rely on Apple s built in Weather app to see if you need a jacket today As Apple s status page confirms many users are reporting that the app isn t loading information on all of the company s platforms including iOS and macOS We ve asked Apple for comment but the alert pins the issue initially limited to Alaska on a data provider outage The company noted the problem late Monday but it s still ongoing as of this writing Apple hasn t provided an estimated time for restoring weather data MacRumors says some users have had intermittent problems with the Weather app since the release of iOS last week The outage comes a few months after Apple shut down Dark Sky for iOS but years after the company started integrating Dark Sky s info into its Weather app The transition and the glitch aren t necessarily connected but this isn t great news for Dark Sky users who ve had to use Apple s software to get the fine grained forecasts they re used to For now you ll have to rely on third party apps or the web to know if you should carry your umbrella This article originally appeared on Engadget at |
2023-04-04 13:54:09 |
海外TECH |
Engadget |
The best wireless headphones for 2023 |
https://www.engadget.com/best-headphones-150030794.html?src=rss
|
The best wireless headphones for Over ear noise canceling headphones typically offer the most comprehensive set of features we want for our listening pleasure The best of these wireless options combine stellar audio with powerful active noise cancellation ANC and other handy tools to create as complete a package as possible Of course some companies do this better than others For Engadget s best wireless headphones guide we tested out a number of different models with a variety of features including noise cancellation and sound quality Plus our favorites span a range of prices so you can decide how much you re comfortable spending Best overall Sony WH XMSony s X line has been our top pick for best wireless headphone for a long time now Until another company can pack in as many features as Sony and do so with a stellar mix of sound and effective ANC the crown is safe With the WH XM Sony redesigned its flagship headphones making them way more comfortable to wear for long periods of time The company also made noticeable improvements to the active noise cancellation adding a separate V chip in addition to the QN that was inside the M There are now eight total ANC mics as well the previous model only had four This all combines to better block background noise and high frequencies including human voices The XM still has all of the features that typically make Sony s top of the line headphones showstoppers That includes hour battery life and crisp clear sound with balanced tuning and punchy bass A combo of touch controls and physical buttons give you on board access to music calls and noise modes without reaching for your phone Speak to Chat automatically pauses audio when you begin talking and like previous Sony headphones the M can change noise modes based on your activity or location Plus this model offers better call quality than most of the competition The only real downside is that they re more than the WH XM at full price Runner up Bowers amp Wilkins Px SI ll admit I didn t expect Bowers amp Wilkins to make the year s best headphones list or even be in contention for a spot However the company s revised Px headphones impressed me during my review The Px S are pricey at but Bowers amp Wilkins pair impressive audio quality with solid ANC performance In fact the Px S are my favorite headphones right now in terms of sound There s also a more refined design that doesn t look overly plasticky and the headphones fit comfortably even after hours of use Call quality ambient sound and automatic pausing aren t the best here but they get the job done At the end of the day the design sound quality and noise cancellation make the Px S a strong pick in the current true wireless headphone field Best budget Audio Technica ATH MxBTAudio Technica has introduced affordable wireless headphones in the past and while they didn t offer active noise cancellation they re still worth considering The company s latest is the MxBT a Bluetooth version of the A T s popular Mx wired cans For just you can expect a comfy fit and up to hours of battery life Bluetooth multipoint connectivity allows you to connect to multiple devices at once and physical buttons provide reliable on board control The design isn t as refined as the company s pricer models like the MxBT but you get the bulk of what makes Audio Technica s cheaper options so good Another solid option Bose QuietComfort The Bose was one of our top wireless Bluetooth headphones last time around but the company recently revived a workhorse with the QuietComfort The design is mostly unchanged from the previous QC models which could be a deal breaker for some Once you get past that though the QC combines Bose s excellent active noise cancellation with clear and balanced audio You can expect up to hours of battery life on a charge and a comfortable fit that doesn t get tiresome during long listening sessions We ve already seen them on sale for less than full price which makes the QuietComfort even more compelling Another solid option Technics EAH ABack at CES Panasonic announced the EAH A a new set of active noise canceling headphones under the iconic Technics brand While most of the features are what you see on any number of wireless headphones one figure stood out The company says you can expect up to hours of battery life on the A and that s with active noise cancellation enabled These are currently in my stable of review units for detailed analysis but I have already tested them on a long flight The ANC is impressive and they re comfortable enough to avoid becoming a burden after several hours Sound quality is also quite good there s LDAC support too and there are enough features here to justify the premium price tag Another solid option Master amp Dynamic MWWhile Master amp Dynamic is known for its design prowess the company s over ear headphones were due for a refresh With the MW that debuted in June the company opted for a look that takes cues from its MG gaming headset and mixes them with a combo of aluminum leather and tempered glass The company s trademark sound quality returns with multiple ANC modes and ambient sound options for a range of situations At the high end looks don t come cheap but if you re looking for something beyond the pure plastic fashion of most headphones M amp D has you covered Another solid option Sennheiser Momentum I ll be honest I had a hard time choosing between the Px S and the Momentum for the runner up spot this time around However Bowers amp Wilkins gets the edge in terms of design even though the Px S and the Momentum are very evenly matched on sound quality They re the two best sounding sets of Bluetooth headphones I ve tested this year and it s not even close Sennheiser does have an impressive hour battery life in its favor and improved ANC performance Those two items alone might be enough for you to overlook the very generic design FAQsHow can you tell the quality of headphones I typically look at three factors design sound quality and features In terms of design I m usually looking to see if headphones feel cheap and plasticky Plenty of companies use plastic but they can do so in a way that doesn t look or feel like budget models For sound quality I want to hear a nice even tuning where highs mids and lows are all well represented No overly boomy bass or scooped out mids I also want good clarity where you can pick up fine details and an open immersive soundstage Features is typically a distant third but if a company doesn t cover basic functionality automatic pausing transparency mode multipoint Bluetooth etc it can be an indication of overall quality nbsp How do I choose the best quality headphones “Best can be pretty subjective but I always recommend going to a place where you can listen to the headphones you re thinking about buying before you commit Sometimes this isn t possible so you ll want to check return policies I also recommend doing some research to determine what your priorities are in a new set Do you want the best sound quality Is powerful active noise cancellation ANC the most important Would you rather have conveniences like automatic pausing Which brand has the best headphones Sony consistently tops our list with its X line This is mostly due to the combination of sound quality ANC performance and the truckload of features these headphones pack in I ll be the first to tell you that there are better sounding options and other companies like Bose offer more effective noise cancellation But when you add everything up no one comes close to the full slate of tools Sony puts in its premium headphone line Do expensive headphones sound better Exorbitant price tags don t mean better audio quality Bowers amp Wilkins headphones are on the high end for wireless noise canceling models and they sound amazing However Audio Technica s MxBT is much more affordable and doesn t have ANC but these headphones have a warm natural sound profile that I find very inviting At the end of the day it will come down to personal preference but you don t need to spend a lot to find great headphones This article originally appeared on Engadget at |
2023-04-04 13:49:55 |
海外TECH |
Engadget |
OnePlus launches $60 Nord Buds 2 with ANC |
https://www.engadget.com/oneplus-launches-60-nord-buds-2-with-anc-134531414.html?src=rss
|
OnePlus launches Nord Buds with ANCOnePlus launched a second generation of its budget earbuds today The Nord Buds cost percent more than last year s original but they offer several upgrades in return The Nord Buds still have mm titanium drivers but they add active noise cancelation ーup to dB according to OnePlus ーto help shut out the world around you Like most ANC earphones they also offer a transparency mode and you can quickly switch between the two Additionally the company says the Buds use AI Big Tech s favorite buzzword to accentuate bass without losing clarity or adding distortion Call clarity was one of our criticisms of the Nord Buds and OnePlus claims it addressed that in the new model The company says “an AI algorithm pairs with its dual mic system to amplify your voice blur background voices and improve call quality Like their predecessors the Nord Buds use the AAC codec and support Dolby Atmos and you can tune their sound with the earbuds pre defined equalizer profiles In addition they include IP water and dust resistance and have customizable touch controls OnePlusThe company says the earbuds battery will provide up to seven hours per charge and hours total with ANC off with its charging case reserve You can also allegedly add five hours of battery life also with ANC off with only minutes of charging The OnePlus Nord Buds are available today in white and gray for You can order them from the OnePlus website or Amazon This article originally appeared on Engadget at |
2023-04-04 13:45:31 |
海外TECH |
Engadget |
Apple's third-gen AirPods are back on sale for $150 |
https://www.engadget.com/apples-third-gen-airpods-are-back-on-sale-for-150-131553863.html?src=rss
|
Apple x s third gen AirPods are back on sale for Now that spring is making outdoor walks more of a pleasure you might want some wireless earbuds ーand thankfully Amazon is making them more affordable The retailer is again selling Apple s third generation AirPods for or off That s a record low price and may make the decision easy if you re looking for a reliable option If that s still pricey the second gen AirPods are also on sale for just The third gen AirPods are considered an iPhone user s default wireless earbuds for good reason They don t have active noise cancellation ANC but they sound better than their predecessors while offering a more comfortable fit and longer battery life They re sweat resistant for moderate workouts and the tight integration with Apple gear may be appealing if you also have an Apple Watch iPad or Mac You can sometimes find ANC equipped earbuds for less such as Jabra s Elite Active And if you want to stick to Apple buds you may want to keep an eye out for sales on the second gen AirPods Pro They sometimes drop to and pack ANC as well as better sound and a workout ready fit The standard AirPods represent a safe pick at this price though and their lack of ANC might even be preferable if you want to hear more of the outside world Follow EngadgetDeals on Twitter and subscribe to the Engadget Deals newsletter for the latest tech deals and buying advice This article originally appeared on Engadget at |
2023-04-04 13:15:53 |
海外TECH |
CodeProject Latest Articles |
Revisiting Borland Turbo C/C++, a great IDE back in the 90s |
https://www.codeproject.com/Articles/5358258/Revisiting-Borland-Turbo-C-Cplusplus-a-great-IDE-b
|
turbo |
2023-04-04 13:15:00 |
海外TECH |
CodeProject Latest Articles |
Open 16-bit Windows applications natively on 64-bit Windows using OTVDM/winevdm |
https://www.codeproject.com/Articles/5358254/Open-16-bit-Windows-applications-natively-on-64-bi
|
ntvdmx |
2023-04-04 13:14:00 |
海外TECH |
CodeProject Latest Articles |
Open 16-bit DOS applications natively on 64-bit Windows using NTVDMx64 |
https://www.codeproject.com/Articles/5358255/Open-16-bit-DOS-applications-natively-on-64-bit-Wi
|
dosbox |
2023-04-04 13:14:00 |
海外TECH |
CodeProject Latest Articles |
Emulating dual Hercules+CGA monitors setup with DOSBox |
https://www.codeproject.com/Articles/5358256/Emulating-dual-HerculesplusCGA-monitors-setup-with
|
turbo |
2023-04-04 13:14:00 |
海外TECH |
CodeProject Latest Articles |
Extending Visual Studio Code - The Universally Identifiable Way |
https://www.codeproject.com/Articles/5357762/Extending-Visual-Studio-Code-The-Universally-Ident
|
Extending Visual Studio Code The Universally Identifiable WayWe re going to walk through the process that we need to follow to create a Visual Studio Code extension that interacts with the editor window |
2023-04-04 13:06:00 |
海外科学 |
NYT > Science |
Highlights From NASA’s Reveal of the Artemis II Moon Astronauts |
https://www.nytimes.com/live/2023/04/03/science/artemis-nasa-news
|
artemis |
2023-04-04 13:45:50 |
金融 |
金融庁ホームページ |
つみたてNISA対象商品届出一覧を更新しました。 |
https://www.fsa.go.jp/policy/nisa2/about/tsumitate/target/index.html
|
対象商品 |
2023-04-04 15:00:00 |
金融 |
金融庁ホームページ |
「FX取引・暗号資産投資の勧誘」にご注意!! |
https://www.fsa.go.jp/ordinary/chuui/husyouseikanyuu.html
|
資産 |
2023-04-04 15:00:00 |
金融 |
金融庁ホームページ |
金融庁の名を利用した投資勧誘等にご注意ください! |
https://www.fsa.go.jp/ordinary/chuui/kinnyuuchounona.html
|
金融庁 |
2023-04-04 15:00:00 |
ニュース |
BBC News - Home |
TikTok let 1.4 million under 13s use app without parental consent |
https://www.bbc.co.uk/news/uk-65175902?at_medium=RSS&at_campaign=KARANGA
|
tiktok |
2023-04-04 13:00:57 |
ニュース |
BBC News - Home |
Nato's border with Russia doubles as Finland joins |
https://www.bbc.co.uk/news/world-europe-65173043?at_medium=RSS&at_campaign=KARANGA
|
putin |
2023-04-04 13:01:53 |
ニュース |
BBC News - Home |
Thomas Cashman: Renewed call to force criminals to attend sentencing |
https://www.bbc.co.uk/news/uk-england-merseyside-65173499?at_medium=RSS&at_campaign=KARANGA
|
punish |
2023-04-04 13:08:41 |
ニュース |
BBC News - Home |
Lola James: Mother and partner guilty over toddler's death |
https://www.bbc.co.uk/news/uk-wales-65123593?at_medium=RSS&at_campaign=KARANGA
|
bevan |
2023-04-04 13:31:23 |
ニュース |
BBC News - Home |
Met Police: Former officer found guilty of rape |
https://www.bbc.co.uk/news/uk-england-london-65177995?at_medium=RSS&at_campaign=KARANGA
|
atrocious |
2023-04-04 13:02:04 |
ニュース |
BBC News - Home |
Community sentence for man who raped girl, 13, 'extraordinary' |
https://www.bbc.co.uk/news/uk-scotland-edinburgh-east-fife-65173054?at_medium=RSS&at_campaign=KARANGA
|
community |
2023-04-04 13:11:44 |
コメント
コメントを投稿