Skip to main content

Posts

Showing posts with the label Git

Snowflake の新エディタ: プライベートワークスペースと共有ワークスペース)

Snowflake では、ワークスペースと呼ばれる新しいファイルエディタが導入されました。 これにより、フォルダによるファイル整理が容易になります。データベースエクスプローラーとクエリ履歴ペインも搭載されているため、データベースオブジェクトの探索やクエリの検査も容易になります。 ワークスペースには、(プライベート) ワークスペースと共有ワークスペースの 2 種類があります。 (プライベート) ワークスペース ワークスペース所有者専用(所有者のみがワークスペースファイルを表示およびアクセスできます)。 ワークスペースは、自動的に作成されるユーザー固有のデータベースに保存されます。このデータベースには、プライベートワークスペースのみが保存され、それ以外のファイルは保存されません。 あらゆる種類のファイル(SQL ファイル、Python ファイル、JavaScript、シェルファイルなど)を作成できます。 フォルダの作成とネストが可能です。ファイルのドラッグ&ドロップも可能です。 AI Copilot が有効になっています。 バージョン管理(git、github)を使用してバージョン履歴を管理できます。 まもなく、ワークスペースはSnowflakeのデフォルトエディターになります。 共有ワークスペース プライベートワークスペースと同じですが、2つの違いがあります。 共有ワークスペースは、テーブルなどの他のオブジェクトも保存する通常のデータベース上に作成できます。 ワークスペースの作成者は、ワークスペースを作成するデータベースとスキーマを選択できます。 共有ワークスペースには複数のユーザーがアクセスできます。アクセスはロールによって管理されます。 あるユーザーが共有ワークスペースのファイルを変更すると、他のユーザーもそれを閲覧できます。 ユーザーは、自分のプライベートワークスペースからファイルを共有ワークスペースに持ち込むことができます。 使用方法 共有ワークスペースエディターは、リアルタイムのマルチユーザー編集をサポートしていません。 あるユーザーがファイルの編集を開始すると、そのファイルのコピーが下書きとして取得されます。変更内容はそのユーザーのみに表示されます。変更されたファイルを公開すると、他のユーザーにも...

Snowflake's New Editor: Private and Shared Workspaces

Snowflake introduced a new file editor called workspaces. It makes the file organization easier via folders. Since it also includes the Database explorer and Query history panes, it also makes the database object exploration and query inspection easier. There are two types of workspaces: (private) workspaces and shared workspaces. (Private) Workspaces Private to a workspace owner (only owner can see and access the workspace files). Workspaces are stored in an automatically created, user-specific database. This database stores the private workspaces only, nothing else. It is possible to create all types of files (sql files, python files, javascript, shell files etc.) It is possible to create folders, and nest folders. Drag and dropping files is possible. AI Copilot is enabled. It is possible to use version control (git, github) to manage version history. Soon workspaces will be a default editor in Snowflake. Shared Workspaces The same as private workspace, but has two ...

Version Control Systems (Part I):
Local Version Control Systems

(9 minute read) When you hear “version control” or “version control systems”, you might immediately think of git. You may be already using Git and GitHub since they are now de facto industry standards. But do you know other version control systems exists too, how about the history of version control systems? Alternatively, you may have almost no idea what version control is. You might have come across words like Version Control, Source Control, Git, GitHub, SVN, and all the other terms. You might have wondered what they all meant. Throughout this multi-part post you will learn what version control is, version control systems, popular platforms built on the top of the version control systems and much more. Then, let’s get started! In part one of this multi-part version control series post, we will learn below concepts: Table of contents: What is Version Control Version Control Systems Local Version Control Systems What is Version control Version Control (also known as R...

Git squash merge explained

There are many ways to integrate changes in git: regular / normal git merge, git squash merge, git rebase etc. This article explains git squash merge by comparing it to regular merge. Let’s use below example: In the repository with default main branch, after two commits, a new feature branch is created. Some work happened in feature branch. feature branch now has 2 commits that it shares with main branch, and three exclusive commits (exists only in feature branch). In the meantime, others worked on main branch and added two new commits (exists only in main branch). git log output of the main branch: c72d4a9 ( HEAD - > main ) fourth commit on main 2c3dd61 third commit on main 0c2eec3 second commit on main 9b968e8 first commit on main git log output of the feature branch: 786650f ( HEAD - > feature ) third commit on feature 21cbaf1 second commit on feature 677bc7f first commit on feature 0c2eec3 second commit on main 9b968e8 first commit on mai...

Free AI chatbots' comparison

As of November 2024 there are many LLM powered chatbots, such as ChatGPT by OpenAI, Gemini (formerly Bard) by Google, Claude (family of LLMs) by Anthropic and more. Majority of these chatbots have paid and free tiers. Although there are many review and comparisons of these chatbots, they mainly focus on the premium (paid) versions of these chatbots. However, not everyone is willing to shell out $20 per month. I, being broke, have been using free version of chatbots since they came out. Based on my actual use, not the benchmark results, I decided to write a comparison review of free tier of AI chatbots. I know that I can’t just say “based on my experience XY chatbot is the best, end of story”. I need to show some material so that you as a reader can confirm the results. On later section of the post, I will discuss the prompts I used in detail. Little heads-up, I tried to use prompts that have less to do with factual accuracy. I have never seen or heard of a large language model...