it + it ops aws s3 cloudfront [AWS] ๐ CloudFront ๊ฐ๋ ์๋ฆฌ & ์ฌ์ฉ ์ธํ ๐ฏ ์ ๋ฆฌCloudFront ํด๋ผ์ฐ๋ํ๋ก ํธ๋ ๊ฐ๋ฐ์ ์นํ์ ํ๊ฒฝ์์ ์งง์ ์ง์ฐ ์๊ฐ๊ณผ ๋น ๋ฅธ ์ ์ก ์๋๋ก ๋ฐ์ดํฐ, ๋์์, ์ ํ๋ฆฌ์ผ์ด์ ๋ฐ API๋ฅผ ์ ์ธ๊ณ ๊ณ ๊ฐ์๊ฒ ์์ ํ๊ฒ ์ ์กํ๋ ๊ณ ์ ์ฝํ ์ธ ์ ์ก ๋คํธ์ํฌ(CDN) ์๋น์ค์ด๋ค. CloudFront๋ CDN ์๋น์ค์ ์ด์ธ์๋ ๊ธฐ๋ณธ ๋ณด์ ๊ธฐ๋ฅ(Anti-DDoS)์ ์ ๊ณตํ๋ค. CDN ์ด๋? CDN(Content Delivery Network or Content Distribution Network, ์ฝํ ์ธ ์ ์ก ๋คํธ์ํฌ) ์ ์ฝํ ์ธ ๋ฅผ ํจ์จ์ ์ผ๋ก ์ ๋ฌํ๊ธฐ ์ํด ์ฌ๋ฌ ๋ ธ๋๋ฅผ ๊ฐ์ง ๋คํธ์ํฌ์ ๋ฐ์ดํฐ๋ฅผ ์ ์ฅํ์ฌ ์ ๊ณตํ๋ ์์คํ ์ด๋ค. ์ธํฐ๋ท ์๋น์ค ์ ๊ณต์(ISP,Internet Service Provider)์ ์ง์ ์ฐ๊ฒฐ๋์ด ๋ฐ์ดํฐ๋ฅผ ์ ์กํ๋ฏ๋ก, ์ฝํ ์ธ ๋ณ๋ชฉ์ ํผํ ์ ์๋ .. wono | discuss | tweet + it ops aws s3 cloudfront [AWS] S3 ํผ๋ธ๋ฆญ ์ก์ธ์ค ์ฐจ๋จ ์ ์งํ๋ฉฐ URL ํ์ฉ ๋ฐฉ๋ฒS3์ ์ด๋ฏธ์ง๋ฅผ ์ ๋ก๋ ํ ํ ํด๋น ์ด๋ฏธ์ง๋ฅผ ์ธ๋ค์ผ์ด๋, ์น์ ๋์ฐ๊ธฐ ์ํด ์ฌ๋ฌ๊ฐ์ง ์ค์ ์ด ๊ฐ๋ฅํ๋ค.๊ฐ์ฅ ์ฌ์ด ๋ฐฉ๋ฒ์ S3 ๋ฒํท ์์ฒด๋ฅผ ํผ๋ธ๋ฆญํ๊ฒ ์ด์ด์ฃผ๋ฉด ๋๋ค.ํ์ง๋ง ๋ง์ฝ ๋ด S3 ๋ฒํท์์ ๋ค์ด๊ฐ ์ด๋ฏธ์ง์ ๊ฐ์ธ์ ๋ณด๊ฐ ์๊ฑฐ๋ ํน์ ์ค์ํ ๊ณ์ฝ ์ ๋ณด๊ฐ ๋ด๊ฒจ ์๋ค๋ฉด S3 ๋ฒํท์ ๊ณต๊ฐ๋ก ์ด์ด๋๋ ๊ฒ์ ๋ณด์์ ๋งค์ฐ ์ทจ์ฝํ ํ๋์ด ๋ ๊ฒ์ด๋ค.ย ย ๊ทธ๋ ๋ค๋ฉด ์ด๋ค ๋ฐฉ๋ฒ์ผ๋ก S3๋ ๋นํ์ฑํ๋ฅผ ์ ์งํ๋ฉฐ URL์ ์คํํ ์ ์์๊น?ย 1. ๋ฏธ๋ฆฌ ์๋ช ๋ URL ๊ณต์ ์ด ๊ธฐ๋ฅ์ ๋ฒํท ๋ฐ ๊ฐ์ฒด๊ฐ ํ๋ผ์ด๋นํ๋ค๊ณ ํ๋๋ผ๋ ๋ฏธ๋ฆฌ ์๋ช ๋ URL์ ํตํด์ ์ธ๋ถ์์ ์ ๊ทผ์ ๊ฐ๋ฅํ๊ฒ ํ๋ ๊ฒ์ด๋ค.ํ์ง๋ง ์ด URL์ ์ ํด์ง ์๊ฐ์ด ์์ด ๊ทธ ์๊ฐ์ด ๋ง๋ฃ๋๋ฉด URL์ด ๋ง๋ฃ๊ฐ ๋๋ค.์ด ๊ธฐ๋ฅ์ ์ง์์ ์ผ๋ก ์ฐ๋ ค๊ณ ํ๋ค๋ฉด ๋๋ค๋ฅผ ํตํด์ ์ผ์ ์๊ฐ๋ง๋ค ๊ณ์ .. wono | discuss | tweet + it ops aws s3 presignedurl [AWS + Spring] S3 : ํ์ผ ์ ๋ก๋ & ๋ค์ด๋ก๋ (2) (Presigned URL, Multipart Upload)์ด์ ํฌ์คํ ์์๋ Spring ํ๋ก์ ํธ์์ ๋ก์ปฌ ๊ฐ๋ฐ ํ๊ฒฝ๊ณผ, EC2 ํ๋ก๋์ ํ๊ฒฝ์ ๋ฐ๋ฅธ S3 ์ฐ๋ ๋ฐฉ๋ฒ ๋ฐ ๊ธฐ๋ณธ์ ์ธ ์ ๋ก๋์ ๋ค์ด๋ก๋๋ฅผ ๊ตฌํํด ๋ณด์์๋ค.ย ์ด๋ฒ ํฌ์คํ ์์๋ S3 ์ ๋ก๋์ ๋ค์ด๋ก๋ ๋ฐฉ์์ ๊ณ ๋ํํ์ฌ Presigned URL์ ์ฌ์ฉํ๋ ๋ฐฉ๋ฒ์ ๋ํด์ ์ดํด๋ณด๊ณ , ์ ๋ก๋ ์ ์ฌ๋ฌ๊ฐ์ Chunk ๋จ์๋ก ๋ถํ ์ ๋ก๋ํ๋ ๋ฐฉ์์ธ S3 Multipart Upload์ ๋ํด์๋ ํจ๊ป ์ดํด๋ณด๋ ค๊ณ ํ๋ค.ย 1. Presigned URLย ย - ์ ๋ก๋ ๋ฐ ๋ค์ด๋ก๋ ๊ตฌํ (Spring + ๋ฐ๋๋ผ JS)2. Multipart ์ ๋ก๋ย ย - ์ ๋ก๋ ๋ฐ ๋ค์ด๋ก๋ ๊ตฌํ (Spring + ๋ฐ๋๋ผ JS)ย ย ย [AWSย +ย Spring]ย S3ย ํ์ฉย :ย ํ์ผย ์ ๋ก๋์ย ๋ค์ด๋ก๋ย (1)ย (๊ฐ๋ฐย ํ๊ฒฝย ๋ฐย ํ๋ก๋์ ย ํ๊ฒฝ์์์ย ๊ธฐ๋ณธ.. wono | discuss | tweet + it ops aws s3 presignedurl AWS S3 & Pre-signed URL ์ฌ์ฉ ํ ๋ฐ์ํ ๋ฌธ์ ๋ค (feat. CORS)์ด๋ฏธ์ง๋ฅผ ์ ๋ก๋ํ๊ฑฐ๋ ์ญ์ ํ๋ ํ์๋ ํด๋น ์๋น์ค์ ๊ถํ์ด ์๋ ์ฌ๋๋ง ํ ์ ์๋ค. ์ด๋ฅผ ์ํด ์๋ฒ์์ Pre-signed Url์ ๋ฐ์์ AWS S3์ ์ ๊ทผํ๋๋ก ๋ง๋ค์๋ค. ์ด๋ฐ ๊ตฌ์กฐ๊ฐ ๋๋ฉด์ ๋ช ๊ฐ์ง ๋ฌธ์ ๊ฐ ๋ฐ์ํ๋๋ฐ ๋ค์๊ณผ ๊ฐ๋ค. ์ฌ์ฉ์๊ฐ ์ด๋ฏธ์ง๋ฅผ ์ ์ถํ๋ฉด Client(React)๋ ์๋ฒ์๊ฒ Pre-signed URL์ ๋ฐ์์ AWS S3์ ๋ฐ๋กโฆ wono | discuss | tweet + it ops aws s3 presignedurl Pre-Signed URL๊ณผ Signed URL๋ก S3 ์์ ํ๊ฒ ์ฌ์ฉํ๊ธฐ๐ย ๋ค์ด๊ฐ๋ฉฐ wono | discuss | tweet + it dev java presignedurl cloudfront Presigned URL๊ณผ CDN์ผ๋ก ์ด๋ฏธ์ง ์ ๋ก๋ & ์กฐํ ๊ฐ์ ๋ค์ด๊ฐ๋ฉฐ์๋ ํ์ธ์! ์์ฆ ํ๋ฌํผ(Fluffy)๋ผ๋ ์จ๋ผ์ธ ์ํ ์ ์ ๋ฐ ๊ด๋ฆฌ ์๋น์ค๋ฅผ ๊ฐ๋ฐํ๊ณ ์์ต๋๋ค. ๋ณดํต ์ํ ๋ฌธ์ ์๋ ๋ค์ํ ์ด๋ฏธ์ง๋ค์ด ํฌํจ๋์ด ์์ต๋๋ค. ํ๋ฌํผ ์๋น์ค ๋ํ ์ํ ์ง๋ฌธ์ ์ด๋ฏธ์ง๋ฅผ ์ถ๊ฐํ ์ ์๋ ๊ธฐ๋ฅ์ ๋ง๋ค์์ต๋๋ค.ย ์ฒ์์๋ ํด๋ผ์ด์ธํธ์์ ์ด๋ฏธ์ง๋ฅผ ์๋ฒ๋ก ์ ์กํ๊ณ , ์๋ฒ์์ ๋ค์ AWS S3๋ก ์ ๋ก๋ํ๋ ๋ฐฉ์์ผ๋ก ์์ ํ์ต๋๋ค. ์ด ๋ฐฉ์์ด ๊ถ๊ธํ์ ๋ถ๋ค์, ์ด์ ์ ์์ฑํ ์คํ๋ง์์ AWS S3๋ฅผ ์ด์ฉํ ์ด๋ฏธ์ง ์ ๋ก๋ ๋ฐฉ๋ฒ ๊ธ์ ์ฐธ๊ณ ํด์ฃผ์ธ์.ย ํ์ง๋ง ์ด ๋ฐฉ์์๋ ๋ช ๊ฐ์ง ์์ฌ์ด ์ ์ด ์์์ต๋๋ค. ์ด๋ฏธ์ง ์ ๋ก๋์ ๊ฒฝ์ฐ, ์ด๋ฏธ์ง๊ฐ ์๋ฒ๋ฅผ ๊ฑฐ์ณ์ผ ํ๊ธฐ ๋๋ฌธ์ ์๋ฒ์ ๋ถํ๊ฐ ์ปค์ง๊ณ , ์ ๋ก๋ ์๋ ๋ํ ์๋์ ์ผ๋ก ๋๋ฆฝ๋๋ค. ์ด๋ฏธ์ง ์กฐํ์ ๊ฒฝ์ฐ, S3์์ ์ด๋ฏธ์ง๋ฅผ ์ง์ ๊ฐ์ ธ์ค๊ธฐ ๋๋ฌธ์ ์กฐํ ์.. wono | discuss | tweet + it dev n3xtjs shadcn pagination Epic Next JS 15 Tutorial Part 8Learn how to implement search and pagination functionalities in Next.js. wono | discuss | tweet + it dev nextjs shadcn How to create search in ui/shadcn?I try to use this https://ui.shadcn.com/docs/components/command for searching functionality but the problem is that it doesn't overlap the text. as you can see in the image. The dropdown doesn't o... wono | discuss | tweet + it ops db dbeaver erd Two ways to use ERD in DBeaverAn Entity Relationship (ER) Diagram is a type of flowchart that illustrates how entities relate to each other within a system. In terms of a database wono | discuss | tweet + it ops db dbeaver Rearrange columns in a simpler way ยท Issue #19042 ยท dbeaver/dbeaverIs your feature request related to a problem? Please describe. Its really hard to re-arrange the columns from the result set by drag and drop one by one or I have write the SQL according to the column arrange I required. Describe the sol... wono | discuss | tweet + it dev javascript foreach map throw JavaScript์์ forEach, map ํจ์ ๋ด์์ throw Error๊ฐ ๋์ง ์์ ๋ ํด๊ฒฐ ๋ฐฉ๋ฒ๋ง์ JavaScript ๊ฐ๋ฐ์๋ค์ด ๋ฐฐ์ด์ ์ฒ๋ฆฌํ ๋ map ํจ์๋ฅผ ์ฆ๊ฒจ ์ฌ์ฉํฉ๋๋ค. ๊ทธ๋ฌ๋ ๋๋๋ก ์์์น ๋ชปํ ๋ฌธ์ ์ ๋ถ๋ชํ ์ ์์ต๋๋ค. ์ด ๊ธ์์๋ map ํจ์ ๋ด์์ throw Error๊ฐ ์๋ํ์ง ์๋ ์ํฉ์ ํด๊ฒฐํ๋ ๋ฐฉ๋ฒ์ ๋ํด ์์๋ณด๊ฒ ์ต๋๋ค. 1. ๋ฌธ์ ์ํฉ ํ์ ์๋ฐ์คํฌ๋ฆฝํธ์ map/forEach ํจ์๋ ๋ฐฐ์ด์ ๊ฐ ์์์ ๋ํด ์ฃผ์ด์ง ํจ์๋ฅผ ํธ์ถํ๊ณ , ๊ทธ ๊ฒฐ๊ณผ๋ฅผ ๋ชจ์ wono | discuss | tweet + it ops db kysely cte kysely/site/docs/recipes/0010-extending-kysely.md at a43b270cb6c88208d1d3f79b958e774deebe63f2 ยท kysely-org/kyselyA type-safe typescript SQL query builder. Contribute to kysely-org/kysely development by creating an account on GitHub. wono | discuss | tweet + it ops db kysely cte vaylaopas/src/server/db/db.ts at 3a6c28047e5d23c5196344a6beb5c44c5f51c38f ยท arttuka/vaylaopasContribute to arttuka/vaylaopas development by creating an account on GitHub. wono | discuss | tweet + it ops db kysely How to write "SELECT 1 FROM tablename" - KyselyI want to create subquery for exists but don't know type select(1)...? should I use val or sql.lit or other way...? Thanks in advance https://kyse.link/?p=s&i=rF7gNapHXGQFdbmhVHJx wono | discuss | tweet + it ops db kysely Merge temp table as source table ยท Issue #959 ยท kysely-org/kyselyIs there a way to use temp table as the source table in merge statement something like this? await db.mergeInto('mainTable').using('tempData', 'mainTable.itemCode', 'tempData.itemCode').whenMatched()...... SQL Statement MERGE INTO MainTa... wono | discuss | tweet + it ops db kysely merge JSON utilities for `selectNoFrom` ยท Issue #1294 ยท kysely-org/kyselyDiscussed in https://discord.com/channels/890118421587578920/1315878442281209907/1315878442281209907 Currently, all the json utilities expect a column. While it is possible to use these utilities via CTEs: const exampleJson = { foo: { ba... wono | discuss | tweet + it ops db merge MERGE ๋ฌธ ์ฌ์ฉ๋ฒ (DUAL, UPDATE์ INSERT๋ฅผ ํ๋ฒ์)MERGE ๋ฌธ์ ์ฌ์ฉํ๋ฉด ๋ณ๊ฒฝํ ํ ์ด๋ธ์ ๋ฐ์ดํฐ๊ฐ ์กด์ฌํ๋์ง ์ฒดํฌํ๊ณ , UPDATE, DELETE, INSERT๋ฅผ ํ ๋ฒ์ ์์ ์ด ๊ฐ๋ฅํ๋ค. MERGE ๋ฌธ์ ์ฌ์ฉํ์ง ์์ ๊ฒฝ์ฐ ํด๋น ์กฐ๊ฑด์ผ๋ก ํ ์ด๋ธ์ SELECT ํ ํ IF ์กฐ๊ฑด์ ์ฌ์ฉํ์ฌ UPDATE๋ INSERT๋ก ๋ถ๊ธฐํ๋ ๋ก์ง์ ์์ฑํด์ผ ํ๋ ๋ฒ๊ฑฐ๋ก์์ด ์๋ค. MERGE ๋ฌธ์ ๊ฒฝ์ฐ ๋จ์ผ(ํ๊ฐ์) ํ ์ด๋ธ์ UPDATE ๋๋ INSERT๋ฅผ ํ๋ ๊ฒฝ์ฐ ๋ง์ด ์ฌ์ฉํ์ง๋ง, ๋๊ฐ์ ํ ์ด๋ธ์ ๋น๊ตํ๊ฑฐ๋ ์๋ธ ์ฟผ๋ฆฌ์ ๊ฒฐ๊ณผ์ ๋ฐ๋ผ์ UPDATE, INSERT ์์ ์ด ๊ฐ๋ฅํ๋ค. MSSQL MERGE ๋ฌธ ๋จ์ผ ํ ์ด๋ธ ์ฌ์ฉ๋ฒ (DUAL) ์ค๋ผํด์์๋ DUAL์ด๋ผ๋ dummy ํ ์ด๋ธ์ USING ์ ์ ์ฌ์ฉํ๋ฉด ๋จ์ผ ํ ์ด๋ธ ์์ ์ด ๊ฐ๋จํ์ง๋ง, MSSQL์์๋ DUAL ํ ์ด.. wono | discuss | tweet + it ops db postgresql merge PostgreSQL 15ใซMERGEๆUPSERTใใใฃใฆใใ | DevelopersIOPostgreSQL 15ใMERGEๆใไฝฟใฃใUPSERTใซๅฏพๅฟใใพใ wono | discuss | tweet + it dev nextjs shadcn Cannot set `Select` to an empty value. ยท Issue #2054 ยท shadcn-ui/uiMaybe this is something very obvious that I'm not understanding, but I've checked out the shadcn-ui and the radix/primitives docs and I can't figure this out. Here's my code: const SelectField: React.FunctionComponent<SelectFieldProps> =... wono | discuss | tweet + it dev javascript formdata [JavaScript] new FormData(form), Object.fromEntries(iterable), how to seriazlie form data* forms with multiple fields that have the same name * How to serialize form data with vanilla JS 1) FormData object FormData object provides an easy way to serialize form fields into key/value pairs. Form fields must have a name attribute to be includes object. Otherwise, they're skipped. Title Body Soak up the sun and swim in the ocean. Submit // Get the form let form = document.querySelector(.. wono | discuss | tweetNext
+ it ops aws s3 cloudfront [AWS] ๐ CloudFront ๊ฐ๋ ์๋ฆฌ & ์ฌ์ฉ ์ธํ ๐ฏ ์ ๋ฆฌCloudFront ํด๋ผ์ฐ๋ํ๋ก ํธ๋ ๊ฐ๋ฐ์ ์นํ์ ํ๊ฒฝ์์ ์งง์ ์ง์ฐ ์๊ฐ๊ณผ ๋น ๋ฅธ ์ ์ก ์๋๋ก ๋ฐ์ดํฐ, ๋์์, ์ ํ๋ฆฌ์ผ์ด์ ๋ฐ API๋ฅผ ์ ์ธ๊ณ ๊ณ ๊ฐ์๊ฒ ์์ ํ๊ฒ ์ ์กํ๋ ๊ณ ์ ์ฝํ ์ธ ์ ์ก ๋คํธ์ํฌ(CDN) ์๋น์ค์ด๋ค. CloudFront๋ CDN ์๋น์ค์ ์ด์ธ์๋ ๊ธฐ๋ณธ ๋ณด์ ๊ธฐ๋ฅ(Anti-DDoS)์ ์ ๊ณตํ๋ค. CDN ์ด๋? CDN(Content Delivery Network or Content Distribution Network, ์ฝํ ์ธ ์ ์ก ๋คํธ์ํฌ) ์ ์ฝํ ์ธ ๋ฅผ ํจ์จ์ ์ผ๋ก ์ ๋ฌํ๊ธฐ ์ํด ์ฌ๋ฌ ๋ ธ๋๋ฅผ ๊ฐ์ง ๋คํธ์ํฌ์ ๋ฐ์ดํฐ๋ฅผ ์ ์ฅํ์ฌ ์ ๊ณตํ๋ ์์คํ ์ด๋ค. ์ธํฐ๋ท ์๋น์ค ์ ๊ณต์(ISP,Internet Service Provider)์ ์ง์ ์ฐ๊ฒฐ๋์ด ๋ฐ์ดํฐ๋ฅผ ์ ์กํ๋ฏ๋ก, ์ฝํ ์ธ ๋ณ๋ชฉ์ ํผํ ์ ์๋ .. wono | discuss | tweet
+ it ops aws s3 cloudfront [AWS] S3 ํผ๋ธ๋ฆญ ์ก์ธ์ค ์ฐจ๋จ ์ ์งํ๋ฉฐ URL ํ์ฉ ๋ฐฉ๋ฒS3์ ์ด๋ฏธ์ง๋ฅผ ์ ๋ก๋ ํ ํ ํด๋น ์ด๋ฏธ์ง๋ฅผ ์ธ๋ค์ผ์ด๋, ์น์ ๋์ฐ๊ธฐ ์ํด ์ฌ๋ฌ๊ฐ์ง ์ค์ ์ด ๊ฐ๋ฅํ๋ค.๊ฐ์ฅ ์ฌ์ด ๋ฐฉ๋ฒ์ S3 ๋ฒํท ์์ฒด๋ฅผ ํผ๋ธ๋ฆญํ๊ฒ ์ด์ด์ฃผ๋ฉด ๋๋ค.ํ์ง๋ง ๋ง์ฝ ๋ด S3 ๋ฒํท์์ ๋ค์ด๊ฐ ์ด๋ฏธ์ง์ ๊ฐ์ธ์ ๋ณด๊ฐ ์๊ฑฐ๋ ํน์ ์ค์ํ ๊ณ์ฝ ์ ๋ณด๊ฐ ๋ด๊ฒจ ์๋ค๋ฉด S3 ๋ฒํท์ ๊ณต๊ฐ๋ก ์ด์ด๋๋ ๊ฒ์ ๋ณด์์ ๋งค์ฐ ์ทจ์ฝํ ํ๋์ด ๋ ๊ฒ์ด๋ค.ย ย ๊ทธ๋ ๋ค๋ฉด ์ด๋ค ๋ฐฉ๋ฒ์ผ๋ก S3๋ ๋นํ์ฑํ๋ฅผ ์ ์งํ๋ฉฐ URL์ ์คํํ ์ ์์๊น?ย 1. ๋ฏธ๋ฆฌ ์๋ช ๋ URL ๊ณต์ ์ด ๊ธฐ๋ฅ์ ๋ฒํท ๋ฐ ๊ฐ์ฒด๊ฐ ํ๋ผ์ด๋นํ๋ค๊ณ ํ๋๋ผ๋ ๋ฏธ๋ฆฌ ์๋ช ๋ URL์ ํตํด์ ์ธ๋ถ์์ ์ ๊ทผ์ ๊ฐ๋ฅํ๊ฒ ํ๋ ๊ฒ์ด๋ค.ํ์ง๋ง ์ด URL์ ์ ํด์ง ์๊ฐ์ด ์์ด ๊ทธ ์๊ฐ์ด ๋ง๋ฃ๋๋ฉด URL์ด ๋ง๋ฃ๊ฐ ๋๋ค.์ด ๊ธฐ๋ฅ์ ์ง์์ ์ผ๋ก ์ฐ๋ ค๊ณ ํ๋ค๋ฉด ๋๋ค๋ฅผ ํตํด์ ์ผ์ ์๊ฐ๋ง๋ค ๊ณ์ .. wono | discuss | tweet
+ it ops aws s3 presignedurl [AWS + Spring] S3 : ํ์ผ ์ ๋ก๋ & ๋ค์ด๋ก๋ (2) (Presigned URL, Multipart Upload)์ด์ ํฌ์คํ ์์๋ Spring ํ๋ก์ ํธ์์ ๋ก์ปฌ ๊ฐ๋ฐ ํ๊ฒฝ๊ณผ, EC2 ํ๋ก๋์ ํ๊ฒฝ์ ๋ฐ๋ฅธ S3 ์ฐ๋ ๋ฐฉ๋ฒ ๋ฐ ๊ธฐ๋ณธ์ ์ธ ์ ๋ก๋์ ๋ค์ด๋ก๋๋ฅผ ๊ตฌํํด ๋ณด์์๋ค.ย ์ด๋ฒ ํฌ์คํ ์์๋ S3 ์ ๋ก๋์ ๋ค์ด๋ก๋ ๋ฐฉ์์ ๊ณ ๋ํํ์ฌ Presigned URL์ ์ฌ์ฉํ๋ ๋ฐฉ๋ฒ์ ๋ํด์ ์ดํด๋ณด๊ณ , ์ ๋ก๋ ์ ์ฌ๋ฌ๊ฐ์ Chunk ๋จ์๋ก ๋ถํ ์ ๋ก๋ํ๋ ๋ฐฉ์์ธ S3 Multipart Upload์ ๋ํด์๋ ํจ๊ป ์ดํด๋ณด๋ ค๊ณ ํ๋ค.ย 1. Presigned URLย ย - ์ ๋ก๋ ๋ฐ ๋ค์ด๋ก๋ ๊ตฌํ (Spring + ๋ฐ๋๋ผ JS)2. Multipart ์ ๋ก๋ย ย - ์ ๋ก๋ ๋ฐ ๋ค์ด๋ก๋ ๊ตฌํ (Spring + ๋ฐ๋๋ผ JS)ย ย ย [AWSย +ย Spring]ย S3ย ํ์ฉย :ย ํ์ผย ์ ๋ก๋์ย ๋ค์ด๋ก๋ย (1)ย (๊ฐ๋ฐย ํ๊ฒฝย ๋ฐย ํ๋ก๋์ ย ํ๊ฒฝ์์์ย ๊ธฐ๋ณธ.. wono | discuss | tweet
+ it ops aws s3 presignedurl AWS S3 & Pre-signed URL ์ฌ์ฉ ํ ๋ฐ์ํ ๋ฌธ์ ๋ค (feat. CORS)์ด๋ฏธ์ง๋ฅผ ์ ๋ก๋ํ๊ฑฐ๋ ์ญ์ ํ๋ ํ์๋ ํด๋น ์๋น์ค์ ๊ถํ์ด ์๋ ์ฌ๋๋ง ํ ์ ์๋ค. ์ด๋ฅผ ์ํด ์๋ฒ์์ Pre-signed Url์ ๋ฐ์์ AWS S3์ ์ ๊ทผํ๋๋ก ๋ง๋ค์๋ค. ์ด๋ฐ ๊ตฌ์กฐ๊ฐ ๋๋ฉด์ ๋ช ๊ฐ์ง ๋ฌธ์ ๊ฐ ๋ฐ์ํ๋๋ฐ ๋ค์๊ณผ ๊ฐ๋ค. ์ฌ์ฉ์๊ฐ ์ด๋ฏธ์ง๋ฅผ ์ ์ถํ๋ฉด Client(React)๋ ์๋ฒ์๊ฒ Pre-signed URL์ ๋ฐ์์ AWS S3์ ๋ฐ๋กโฆ wono | discuss | tweet
+ it ops aws s3 presignedurl Pre-Signed URL๊ณผ Signed URL๋ก S3 ์์ ํ๊ฒ ์ฌ์ฉํ๊ธฐ๐ย ๋ค์ด๊ฐ๋ฉฐ wono | discuss | tweet
+ it dev java presignedurl cloudfront Presigned URL๊ณผ CDN์ผ๋ก ์ด๋ฏธ์ง ์ ๋ก๋ & ์กฐํ ๊ฐ์ ๋ค์ด๊ฐ๋ฉฐ์๋ ํ์ธ์! ์์ฆ ํ๋ฌํผ(Fluffy)๋ผ๋ ์จ๋ผ์ธ ์ํ ์ ์ ๋ฐ ๊ด๋ฆฌ ์๋น์ค๋ฅผ ๊ฐ๋ฐํ๊ณ ์์ต๋๋ค. ๋ณดํต ์ํ ๋ฌธ์ ์๋ ๋ค์ํ ์ด๋ฏธ์ง๋ค์ด ํฌํจ๋์ด ์์ต๋๋ค. ํ๋ฌํผ ์๋น์ค ๋ํ ์ํ ์ง๋ฌธ์ ์ด๋ฏธ์ง๋ฅผ ์ถ๊ฐํ ์ ์๋ ๊ธฐ๋ฅ์ ๋ง๋ค์์ต๋๋ค.ย ์ฒ์์๋ ํด๋ผ์ด์ธํธ์์ ์ด๋ฏธ์ง๋ฅผ ์๋ฒ๋ก ์ ์กํ๊ณ , ์๋ฒ์์ ๋ค์ AWS S3๋ก ์ ๋ก๋ํ๋ ๋ฐฉ์์ผ๋ก ์์ ํ์ต๋๋ค. ์ด ๋ฐฉ์์ด ๊ถ๊ธํ์ ๋ถ๋ค์, ์ด์ ์ ์์ฑํ ์คํ๋ง์์ AWS S3๋ฅผ ์ด์ฉํ ์ด๋ฏธ์ง ์ ๋ก๋ ๋ฐฉ๋ฒ ๊ธ์ ์ฐธ๊ณ ํด์ฃผ์ธ์.ย ํ์ง๋ง ์ด ๋ฐฉ์์๋ ๋ช ๊ฐ์ง ์์ฌ์ด ์ ์ด ์์์ต๋๋ค. ์ด๋ฏธ์ง ์ ๋ก๋์ ๊ฒฝ์ฐ, ์ด๋ฏธ์ง๊ฐ ์๋ฒ๋ฅผ ๊ฑฐ์ณ์ผ ํ๊ธฐ ๋๋ฌธ์ ์๋ฒ์ ๋ถํ๊ฐ ์ปค์ง๊ณ , ์ ๋ก๋ ์๋ ๋ํ ์๋์ ์ผ๋ก ๋๋ฆฝ๋๋ค. ์ด๋ฏธ์ง ์กฐํ์ ๊ฒฝ์ฐ, S3์์ ์ด๋ฏธ์ง๋ฅผ ์ง์ ๊ฐ์ ธ์ค๊ธฐ ๋๋ฌธ์ ์กฐํ ์.. wono | discuss | tweet
+ it dev n3xtjs shadcn pagination Epic Next JS 15 Tutorial Part 8Learn how to implement search and pagination functionalities in Next.js. wono | discuss | tweet
+ it dev nextjs shadcn How to create search in ui/shadcn?I try to use this https://ui.shadcn.com/docs/components/command for searching functionality but the problem is that it doesn't overlap the text. as you can see in the image. The dropdown doesn't o... wono | discuss | tweet
+ it ops db dbeaver erd Two ways to use ERD in DBeaverAn Entity Relationship (ER) Diagram is a type of flowchart that illustrates how entities relate to each other within a system. In terms of a database wono | discuss | tweet
+ it ops db dbeaver Rearrange columns in a simpler way ยท Issue #19042 ยท dbeaver/dbeaverIs your feature request related to a problem? Please describe. Its really hard to re-arrange the columns from the result set by drag and drop one by one or I have write the SQL according to the column arrange I required. Describe the sol... wono | discuss | tweet
+ it dev javascript foreach map throw JavaScript์์ forEach, map ํจ์ ๋ด์์ throw Error๊ฐ ๋์ง ์์ ๋ ํด๊ฒฐ ๋ฐฉ๋ฒ๋ง์ JavaScript ๊ฐ๋ฐ์๋ค์ด ๋ฐฐ์ด์ ์ฒ๋ฆฌํ ๋ map ํจ์๋ฅผ ์ฆ๊ฒจ ์ฌ์ฉํฉ๋๋ค. ๊ทธ๋ฌ๋ ๋๋๋ก ์์์น ๋ชปํ ๋ฌธ์ ์ ๋ถ๋ชํ ์ ์์ต๋๋ค. ์ด ๊ธ์์๋ map ํจ์ ๋ด์์ throw Error๊ฐ ์๋ํ์ง ์๋ ์ํฉ์ ํด๊ฒฐํ๋ ๋ฐฉ๋ฒ์ ๋ํด ์์๋ณด๊ฒ ์ต๋๋ค. 1. ๋ฌธ์ ์ํฉ ํ์ ์๋ฐ์คํฌ๋ฆฝํธ์ map/forEach ํจ์๋ ๋ฐฐ์ด์ ๊ฐ ์์์ ๋ํด ์ฃผ์ด์ง ํจ์๋ฅผ ํธ์ถํ๊ณ , ๊ทธ ๊ฒฐ๊ณผ๋ฅผ ๋ชจ์ wono | discuss | tweet
+ it ops db kysely cte kysely/site/docs/recipes/0010-extending-kysely.md at a43b270cb6c88208d1d3f79b958e774deebe63f2 ยท kysely-org/kyselyA type-safe typescript SQL query builder. Contribute to kysely-org/kysely development by creating an account on GitHub. wono | discuss | tweet
+ it ops db kysely cte vaylaopas/src/server/db/db.ts at 3a6c28047e5d23c5196344a6beb5c44c5f51c38f ยท arttuka/vaylaopasContribute to arttuka/vaylaopas development by creating an account on GitHub. wono | discuss | tweet
+ it ops db kysely How to write "SELECT 1 FROM tablename" - KyselyI want to create subquery for exists but don't know type select(1)...? should I use val or sql.lit or other way...? Thanks in advance https://kyse.link/?p=s&i=rF7gNapHXGQFdbmhVHJx wono | discuss | tweet
+ it ops db kysely Merge temp table as source table ยท Issue #959 ยท kysely-org/kyselyIs there a way to use temp table as the source table in merge statement something like this? await db.mergeInto('mainTable').using('tempData', 'mainTable.itemCode', 'tempData.itemCode').whenMatched()...... SQL Statement MERGE INTO MainTa... wono | discuss | tweet
+ it ops db kysely merge JSON utilities for `selectNoFrom` ยท Issue #1294 ยท kysely-org/kyselyDiscussed in https://discord.com/channels/890118421587578920/1315878442281209907/1315878442281209907 Currently, all the json utilities expect a column. While it is possible to use these utilities via CTEs: const exampleJson = { foo: { ba... wono | discuss | tweet
+ it ops db merge MERGE ๋ฌธ ์ฌ์ฉ๋ฒ (DUAL, UPDATE์ INSERT๋ฅผ ํ๋ฒ์)MERGE ๋ฌธ์ ์ฌ์ฉํ๋ฉด ๋ณ๊ฒฝํ ํ ์ด๋ธ์ ๋ฐ์ดํฐ๊ฐ ์กด์ฌํ๋์ง ์ฒดํฌํ๊ณ , UPDATE, DELETE, INSERT๋ฅผ ํ ๋ฒ์ ์์ ์ด ๊ฐ๋ฅํ๋ค. MERGE ๋ฌธ์ ์ฌ์ฉํ์ง ์์ ๊ฒฝ์ฐ ํด๋น ์กฐ๊ฑด์ผ๋ก ํ ์ด๋ธ์ SELECT ํ ํ IF ์กฐ๊ฑด์ ์ฌ์ฉํ์ฌ UPDATE๋ INSERT๋ก ๋ถ๊ธฐํ๋ ๋ก์ง์ ์์ฑํด์ผ ํ๋ ๋ฒ๊ฑฐ๋ก์์ด ์๋ค. MERGE ๋ฌธ์ ๊ฒฝ์ฐ ๋จ์ผ(ํ๊ฐ์) ํ ์ด๋ธ์ UPDATE ๋๋ INSERT๋ฅผ ํ๋ ๊ฒฝ์ฐ ๋ง์ด ์ฌ์ฉํ์ง๋ง, ๋๊ฐ์ ํ ์ด๋ธ์ ๋น๊ตํ๊ฑฐ๋ ์๋ธ ์ฟผ๋ฆฌ์ ๊ฒฐ๊ณผ์ ๋ฐ๋ผ์ UPDATE, INSERT ์์ ์ด ๊ฐ๋ฅํ๋ค. MSSQL MERGE ๋ฌธ ๋จ์ผ ํ ์ด๋ธ ์ฌ์ฉ๋ฒ (DUAL) ์ค๋ผํด์์๋ DUAL์ด๋ผ๋ dummy ํ ์ด๋ธ์ USING ์ ์ ์ฌ์ฉํ๋ฉด ๋จ์ผ ํ ์ด๋ธ ์์ ์ด ๊ฐ๋จํ์ง๋ง, MSSQL์์๋ DUAL ํ ์ด.. wono | discuss | tweet
+ it ops db postgresql merge PostgreSQL 15ใซMERGEๆUPSERTใใใฃใฆใใ | DevelopersIOPostgreSQL 15ใMERGEๆใไฝฟใฃใUPSERTใซๅฏพๅฟใใพใ wono | discuss | tweet
+ it dev nextjs shadcn Cannot set `Select` to an empty value. ยท Issue #2054 ยท shadcn-ui/uiMaybe this is something very obvious that I'm not understanding, but I've checked out the shadcn-ui and the radix/primitives docs and I can't figure this out. Here's my code: const SelectField: React.FunctionComponent<SelectFieldProps> =... wono | discuss | tweet
+ it dev javascript formdata [JavaScript] new FormData(form), Object.fromEntries(iterable), how to seriazlie form data* forms with multiple fields that have the same name * How to serialize form data with vanilla JS 1) FormData object FormData object provides an easy way to serialize form fields into key/value pairs. Form fields must have a name attribute to be includes object. Otherwise, they're skipped. Title Body Soak up the sun and swim in the ocean. Submit // Get the form let form = document.querySelector(.. wono | discuss | tweet