|
Chorex is a brand-new Elixir library for choreographic programming [ 3 ]: Chorex provides a macro-based DSL that lets you describe how processes communicate to perform a computation. This top-down description of interacting processes is called a choreography . From this choreography, Chorex creates modules for each process that handle all the message-passing in the system. The interactions performed by the generated code will never dead....
|
|
To Chunk or Not to Chunk With the Long Context Single Embedding Models
-
saeedesmaili.com
-
2 years ago
-
eng
In his excellent write up on state of the art embedding models, Aapo Tanskanen compares the retrieval score for when the source documents are split into chunks and when they’re not: Transformer-based single embedding models have traditionally had 512 token context windows because of the usage of the original BERT encoder. Newer models, like the BGE-M3, have expanded the token window to much larger scales. It could be tempting to forget ..
|
|
To Chunk or Not to Chunk With the Long Context Single Embedding Models
-
saeedesmaili.com
-
2 years ago
-
eng
In his excellent write up on state of the art embedding models, Aapo Tanskanen compares the retrieval score for when the source documents are split into chunks and when they’re not: Transformer-based single embedding models have traditionally had 512 token context windows because of the usage of the original BERT encoder. Newer models, like the BGE-M3, have expanded the token window to much larger scales. It could be tempting to forget ....
|
|
To Chunk or Not to Chunk With the Long Context Single Embedding Models
-
saeedesmaili.com
-
2 years ago
-
eng
In his excellent write up on state of the art embedding models, Aapo Tanskanen compares the retrieval score for when the source documents are split into chunks and when they’re not: Transformer-based single embedding models have traditionally had 512 token context windows because of the usage of the original BERT encoder. Newer models, like the BGE-M3, have expanded the token window to much larger scales. It could be tempting to forget ..
|
|
I went on a motorcycle and hiking trip yesterday. It was a glorious day, albeit windy, which helped keep the temperature chill. Mixing hiking with motorcycling is something I love, as it combines two of my hobbies. However, it requires some careful planning. I still want to wear full safety gear on the bike but not take any of that with me as I walk in the wilderness, where I’ll be in hiking gear instead.
|
|
I’ve been a licensed ham radio operator for five years now, so I thought I’d reflect on my progress and how I am doing ham radio today in 2024. Microelectronics Were the Gateway My path to ham radio began in 2017. I was working on some Arduino projects. That turned out to be my “gateway drug”. At the time, I wanted build and deploy some low power wireless sensors in my apartment. We had a loft area that would heat up in the summer, and I ....
|
This was a great read. Attia is my kind of doctor, one that challenges the establishment and received wisdom (he was so disillusioned with the medical profession that he left after he graduated, then came back). He explains why & how we must move from treatment-focused care to prevention-focused care. This was a good complement […]
|
|
Vibes, the Economy, Blogging and Freedom (Issue #166) 2024-06-01 12:45:00 +07:00 by Mark Smith This week’s newsletter is out! In this week’s edition: BTC for the oppressed, AI security & dystopia, iPadOS vs MacOS, fake gov phone companies, Saylor, webdevs & the economy, Indian prosperity, human memory, Argentina inflation, science societal issues Issue details: Title: Vibes, the Economy, Blogging and Freedom Issue: 166 Pag..
|
Something you can do for the people you love is prepare a letter of instruction . Like other elements of estate planning, it makes mourning a bit easier. No one has to guess what you want if you tell them. In my experience, one of the worst aspects of mourning is fighting about the deceased person’s values. (Thanks, predatory family members!) A self-directed eulogy can serve a similar purpose. If something happens to you, it helps the pe....
|
|
Here's my monthly newsletter (a couple of weeks late!) about what I'm up to, which I send in place of social media. What I did in May - Summer weather has hit NYC - it's great to be back outside - Pu...
|
|
How to handle custom claims in an Open ID Connect-authenticated ASP.NET Core app
-
nicolaiarocci.com
-
2 years ago
-
eng
Today, I learned how to handle custom claims in an Open ID Connect authenticated ASP.NET Core app. The scenario goes like this. I have an ASP.NET Core app that authenticates with Open Id Connect. It receives a bearer token from the authentication server. Besides OIDC claims, this token has been forged with additional custom claims for use in the app. However, only ODIC claims exist when I parse HttpContext.User.Identity.Claims in my middl..
|
|
Building Python Unit Tests & Exploring a Data Visualization Gallery
-
realpython.com
-
2 years ago
-
eng
How do you start adding unit tests to your Python code? Can the built-in unittest framework cover most or all of your needs? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly articles and projects.
|
|
An easy way to gain credibility in my eyes is by voicing harsh truths about your ingroup: Religious? 👉🏽 Criticize your religionAcademic? 👉🏽 Criticize academiaIndian? 👉🏽 Criticize Indiaetc.. The reverse also holds; Those who only talk positively of their ingroup look dumb as hell. Furthermore, criticizing your ingroup conditions you to think more freely about […]
|
|
Two years after its launch, Kagi, the pay-per-use search engine is profitable . We are also thrilled to report that we have achieved profitability. This significant milestone is a testament to our sustainable growth and fiscal responsibility. It demonstrates that our approach of offering a premium, ad-free search experience resonates with users who support a service aligning with their values. Becoming profitable allows us to reinvest ..
|
A loss function, also known as a cost function or objective function, is a critical component in training machine learning models, particularly in neural networks and deep learning…
|
A loss function, also known as a cost function or objective function, is a critical component in training machine learning models, particularly in neural networks and deep learning…
|
|
The Last 100+ Days The NVD posted the notice below on its webpage in mid-February. Since then, nearly 13,000 CVEs have not been enriched with CWE, CVSS, and CPE data. The vulnerability management community was told that it would be addressed at Vulncon this year. At the conference, we were told the enrichment would restart “in the next couple of days” and that a “consortium was being founded” to help guide the NVD. I left hopeful about the....
|
|
Introduction In March, the official Elixir client for Google APIs received an accidental commit for internal non-public APIs . The commit added support for Google’s Content Warehouse API, which includes Google’s 14,000+ search ranking factors. Oops! Some people noticed this after its redaction earlier this month, and the news broke on May 28. You can read through the Content Warehouse API reference on HexDocs . I skimmed through these an....
|
|
Five actionable tips for using AI code assistants securely and integrating security checks for AI-generated code throughout the software lifecycle.
|
|
If you, like me, release your projects to the Snap Store using GoReleaser , you might need to eventually update the secret.
|
|
I've been running software book clubs almost continuously since last summer, about 12 months ago. We read through Designing Data-Intensive Applications , Database Internals , Systems Performance , and we just started Understanding Software Dynamics . The DDIA discussions were in-person in NYC with about 5-8 consistent attendees. The rest have been over email with 300, 500, and 600 attendees. This post is for folks who are interested....
|
|
If you ask anyone what the best Emacs packages are, you’ll almost definitely hear Magit (the only Git porcelain worth using) and Org Mode (a way to organize anything and everything in plain text) listed as #1 and #2. And they’re right! I use those packages extensively every day. Besides those two powerhouses, there are a handful of packages that make using Emacs a delight. If I had to ever use something else, I would miss these packag....
|
|
This morning, I added a new feature to Booklet. I used OpenAI to suggest new posts to write, to make it easier for members to post. It looks like this: Inspired by a podcast I was listening to on the ...
|
|
If you ask anyone what the best Emacs packages are, you’ll almost definitely hear Magit (the only Git porcelain worth using) and Org Mode (a way to organize anything and everything in plain text) listed as #1 and #2. And they’re right! I use those packages extensively every day. Besides those two powerhouses, there are a handful of packages that make using Emacs a delight. If I had to ever use something else, I would miss these packag....
|
|
Simon Willison has a new article explaining an important and often ununderstood aspect of LLMs. There’s a remarkable difference between chatting with an LLM, as we users do, and training it. Short version: ChatGPT and other similar tools do not directly learn from and memorize everything that you say to them. Every time you start a new chat conversation, you clear the slate. Each conversation is an entirely new sequence, carried ou..
|
|
For an electro-mechanical designer, motors are a key component. Being able to move stuff in the physical world at high speed and precision makes modern products feasible. For a long time brushed, DC Motors were the only viable option, sometimes … Continue reading →
|
|
In 2021, in Russian courts, the fate of 783000 people was decided. There were 2190 acquittals. Two thousand one hundred and ninety. The probability of being acquitted is 0.28 per cent. – Elena Kostyuchenko in I Love Russia , which I’m currently reading.
|
|
Assumed Audience : Programmers interested in GUIs. Discuss on Hacker News and Reddit . Epistemic Status : Fairly confident, but these ideas are not implemented. Introduction As I mentioned in my previous post , I am losing my motivation to continue programming as a hobby. I am also losing my free time; the economy is too poor to spend labor on things that cannot provide income. And that is discouraging by itself; I have s..
|
|
Assumed Audience : Programmers interested in GUIs. Discuss on Hacker News and Reddit . Epistemic Status : Fairly confident, but these ideas are not implemented. Introduction As I mentioned in my previous post , I am losing my motivation to continue programming as a hobby. I am also losing my free time; the economy is too poor to spend labor on things that cannot provide income. And that is discouraging by itself; I have s..
|
|
Assumed Audience : Programmers interested in GUIs. Discuss on Hacker News and Reddit . Epistemic Status : Fairly confident, but these ideas are not implemented. Introduction As I mentioned in my previous post , I am losing my motivation to continue programming as a hobby. I am also losing my free time; the economy is too poor to spend labor on things that cannot provide income. And that is discouraging by itself; I have s..
|
|
Assumed Audience : Programmers interested in GUIs. Discuss on Hacker News and Reddit . Epistemic Status : Fairly confident, but these ideas are not implemented. Introduction As I mentioned in my previous post , I am losing my motivation to continue programming as a hobby. I am also losing my free time; the economy is too poor to spend labor on things that cannot provide income. And that is discouraging by itself; I have s..
|
|
Assumed Audience : Programmers interested in GUIs. Discuss on Hacker News and Reddit . Epistemic Status : Fairly confident, but these ideas are not implemented. Introduction As I mentioned in my previous post , I am losing my motivation to continue programming as a hobby. I am also losing my free time; the economy is too poor to spend labor on things that cannot provide income. And that is discouraging by itself; I have s..
|
|
Assumed Audience : Programmers interested in GUIs. Discuss on Hacker News and Reddit . Epistemic Status : Fairly confident, but these ideas are not implemented. Introduction As I mentioned in my previous post , I am losing my motivation to continue programming as a hobby. I am also losing my free time; the economy is too poor to spend labor on things that cannot provide income. And that is discouraging by itself; I have s..
|
|
Assumed Audience : Programmers interested in GUIs. Discuss on Hacker News and Reddit . Epistemic Status : Fairly confident, but these ideas are not implemented. Introduction As I mentioned in my previous post , I am losing my motivation to continue programming as a hobby. I am also losing my free time; the economy is too poor to spend labor on things that cannot provide income. And that is discouraging by itself; I have s..
|