Wednesday, April 1, 2026
Home Blog

This star-forming galaxy is blowing out highly effective winds topping 2 million mph

0


NASA’s X-ray spacecraft XRISM, which stands for X-ray Imaging and Spectroscopy Mission, has clocked how briskly winds are ripping from a distant galaxy bursting with star formation.

It might seem these winds journey at an unimaginable 2 million miles per hour (3.21 million kilometers per hour).

Past Actual Knowledge: Artificial Knowledge by means of the Lens of Regularization

0


Artificial knowledge can enhance generalization when actual knowledge is scarce, however extreme reliance might introduce distributional mismatches that degrade efficiency. On this paper, we current a learning-theoretic framework to quantify the trade-off between artificial and actual knowledge. Our method leverages algorithmic stability to derive generalization error bounds, characterizing the optimum synthetic-to-real knowledge ratio that minimizes anticipated take a look at error as a perform of the Wasserstein distance between the actual and artificial distributions. We encourage our framework within the setting of kernel ridge regression with combined knowledge, providing an in depth evaluation that could be of impartial curiosity. Our concept predicts the existence of an optimum ratio, resulting in a U-shaped conduct of take a look at error with respect to the proportion of artificial knowledge. Empirically, we validate this prediction on CIFAR-10 and a scientific mind MRI dataset. Our concept extends to the vital state of affairs of area adaptation, displaying that rigorously mixing artificial goal knowledge with restricted supply knowledge can mitigate area shift and improve generalization. We conclude with sensible steerage for making use of our outcomes to each in-domain and out-of-domain situations.

CMF Headphone Professional is already top-of-the-line values in audio, and it is one other 32% OFF

0

What sort of headphones are you able to get for beneath $100? We have normalized spending a whole bunch on over-ear headphones, however CMF and Nothing make you assume twice if paying that a lot on a brand new pair of cans is value it. I examined the CMF Headphone Professional, a pair of over-ear ANC headphones that value simply $99 at full value. Regardless of coming from far more costly headphones, I switched to the CMF Headphone Professional and not using a hitch.

They’re arguably the most effective headphones you may get for beneath $100. Through the remaining minutes of Amazon’s Massive Spring Sale, it can save you one other $32 on the already-affordable headphones. That brings the price of a pair of CMF Headphone Professional headphones to simply $67, and you will be shocked at how a lot you get for that value.

paying for dearer choices just like the Bose QuietComfort Extremely Gen 2 headphones. Nonetheless, when you simply want the fundamentals, you will not discover extra for much less than the CMF Headphone Professional.

The right way to steer clear of PFAS

0


Per- and polyfluoroalkyl substances, also referred to as PFAS, are a gaggle of 9,000 completely different man-made chemical substances—all of them with equally unpronounceable and sophisticated names. However navigating this tongue-twister is the least of our issues: PFAS are poisonous they usually’re in all places. 

Biochemists have discovered them within the our bodies of 97 p.c of Individuals, in addition to in breast milk, and researchers consider publicity to those compounds could also be related to a number of well being issues, resembling immune system disruption, developmental points, impaired fertility, liver injury, and varied sorts of most cancers.

Many of the PFAS that make it into our our bodies do it by way of consuming water, however as a result of there’s not one single supply of publicity, you’ll be able to nonetheless curb a few of these chemical substances in your on a regular basis life.

No, however critically, what precisely are PFAS?

PFAS got here to notoriety within the Nineteen Forties, when producers began utilizing them in merchandise resembling non-stick cookware, stain-resistant materials, and water-repellent clothes. Nowadays, you can too discover these chemical substances in some varieties of grease-repelling meals packaging, waterproof cosmetics, carpets, furnishings, and take-out containers.

Apart from the truth that they’re ubiquitous, PFAS are particularly harmful as a result of they take greater than a thousand years to interrupt down into the surroundings. This enables them to accumulate within the meals chain over time by making their manner into the soil, air, and water we and different animals eat. Because of this these substances are also referred to as “without end chemical substances.” 

[Related: Earthworms can break down bioplastic, for better or for worse]

Communities residing near the place PFAS are used, manufactured, or disposed of are most susceptible to publicity. However different varieties of amenities may be harmful, too: Current knowledge from the Division of Protection reveals that at the very least 12 US navy bases contaminated native water provides with “extraordinarily excessive ranges” of PFAS throughout workouts and emergencies.

Governments across the globe have began to restrict or outright ban using PFAS in sure areas. The US has led a number of main efforts: the Environmental Safety Company has designated PFAS chemical substances as poisonous, and in April 2024, the EPA finalized the first-ever nationwide consuming water requirements for six PFAS compounds—essentially the most vital federal motion on without end chemical substances so far. The Meals and Drug Administration has additionally pushed producers to section out sure PFAS in meals packaging, and states together with New York, California, and Vermont now have energetic bans on PFAS in meals packaging and different shopper merchandise. 

Do your personal analysis

Most PFAS contamination occurs by way of the water and meals we eat, so your degree of publicity will extremely depend upon the place you reside. In case you get your water from a public system, the EPA recommends you attain out to your native water firm to study what they’re doing about PFAS and request details about the closest contaminated supply. 

However it’s possible you’ll run into an issue. Analysis on PFAS hasn’t bought sufficient media consideration, says Rebecca Fuoco, media officer on the Inexperienced Science Coverage Institute. She pored over 205 papers from the PFAS-Tox Database and located that solely 7.8 p.c of the authors issued a press launch and bought some consideration within the information. 

This not solely perpetuates a scarcity of common consciousness about without end chemical substances, but it surely additionally signifies that in attempting to get knowledgeable, residents involved about PFAS will principally discover tutorial papers stuffed with scientific jargon they in all probability gained’t have the ability to perceive. 

Put money into a water filter

G3P800 RO System


See It

“An analogy may be drawn to how the FDA permits some portions of insect elements in meals,” she says. “Chemical compounds, together with PFAS, are comparable.”

To be on the protected aspect, you’ll be able to additional scale back publicity by filtering your consuming water with a transportable filter, pitcher, or licensed filtering gadget linked on to your faucet. 

The Waterdrop G3P800 RO system pictured above is likely one of the most succesful in the marketplace for PFAS elimination. Its 9-stage filtration course of reduces PFOA, PFOS, fluoride, heavy metals, and over 1,000 different contaminants. A built-in UV sterilizing mild eliminates 99% of micro organism and viruses, and the compact, tankless design retains issues tidy below your sink.

[Related: Here’s how a faucet filter reduces contaminants in your tap water]

In keeping with Smith, reverse osmosis (RO) filters are among the only: they’re usually put in below your kitchen sink and drive water by way of small, semi-permeable membranes to eradicate contaminants. 

In case you want some steerage, the EPA has some slick suggestions to study extra about licensed in-home water filters, and what options you need to look out for when selecting one. However no matter system you get, be sure you maintain it working at its greatest by utilizing and sustaining it in accordance with the producer’s specs. 

Kind by way of your water- and stain-resistant gear

With regards to your garments, it’s not about PFAS stepping into your pores and skin if you put on them, as a lot as chemical substances making their manner into the surroundings if you wash them. 

Test the labels on no matter water- or weatherproof clothes you’re shopping for and keep away from supplies like Gore-Tex or Teflon, which often include PFAS. In case you search on-line you’ll discover helpful lists of PFAS-free merchandise together with outside gear, attire, furnishings, and cosmetics

“Consumables and outside gear are in all probability my largest threat to PFAS publicity,” says Susan Smith, a hydrogeologist at Dudek, an environmental consulting agency headquartered in California. “I’m at the moment sorting by way of my climbing and tenting gear to swap out for PFAS-free tools.” 

Keep away from non-stick pans

Water- and stain-resistant coatings can include PFAS, so it’s not stunning that non-stick cooking utensils might have them as effectively. 

The primary sort of PFAS in non-stick cookware is PFOA. In 2013, the EPA dominated for all producers to disclose their use of the compound, which resulted in most of them changing it with equally poisonous GenX chemical substances and labeling their merchandise as PFOA-free. However that’s not the identical as PFAS-free. 

In 2020, the Ecology Middle, an NGO based mostly in Michigan, examined 24 completely different items of PFOA-free non-stick cookware from completely different manufacturers and located that 20 p.c of the baking pans and 79 p.c of cooking pans have been coated with PTFE, one other sort of PFAS.

To keep away from each poisonous chemical substances and scrubbing cussed grease, go for ceramic, metal, or forged iron cookware.

“In cosmetics, by regulation, all elements needs to be labeled, however they will have very difficult names which make it onerous to work out what to keep away from,” says Julie Schneider, a geochemist on the environmental NGO, ChemTrust. 

One of the best ways to know if you happen to’re carrying poisonous chemical substances in your make-up bag is to test the elements checklist of each product. Any entry with “fluoro” in its title is a pink flag: The F in PFAS stands for fluorine, so any ingredient belonging to the household may be indicative of the presence of PFAS, Schneider explains.

If the total checklist of elements just isn’t listed in your cosmetics or the packaging is just too small to learn the tiny phrases, you will get some assist from the web. The Environmental Working Group, an NGO based mostly in Washington DC, put collectively Pores and skin Deep, an simply searchable on-line database of manufacturers and merchandise containing PFAS. The positioning additionally suggests merchandise vetted by the EWG, so if you happen to discover your favourite lipstick is definitely poisonous, Pores and skin Deep will offer you a more healthy various. 

It’s necessary to know that science continues to be determining what’s and isn’t protected, so merchandise utilizing PFAS replacements would possibly nonetheless include problematic chemical substances. Because of this PFAS-free doesn’t essentially imply protected or non-toxic. 

Strive the bead take a look at

The identical repellent powers PFAS present to waterproof materials assist some meals packaging keep away from your scrumptious takeout from changing into a greasy mess. However your well being is extra necessary, so you need to maintain your meals as removed from PFAS as attainable by utilizing the bead take a look at.  

Put a drop of olive oil on the floor of any packaging comprised of paper, molded fiber, or cardboard packaging, like pizza containers, paper baggage, and compostable takeout containers. Olive oil’s polarity is reverse to that of fluorinated molecules in PFAS, Schneider explains, so if the fats types an ideal bead that the fabric can’t take up, there may be a PFAS coating stopping it. 

“If it spreads slightly bit, then it’s one other coating—it’s not PFAS,” she says. 

The bead take a look at may not be sensible on the grocery retailer, however you should use this technique to check meals containers and packaging at residence so you’ll be able to keep away from them sooner or later.

Preventing PFAS looks as if a number of work and eliminating them solely continues to be doubtless unattainable—but it surely’s completely value it. Each measure we take in direction of eliminating poisonous chemical substances from our day-to-day lives helps us and our households keep wholesome and happier for longer.

 

2025 PopSci Better of What’s New

 

The Odd Couple Episode 4: Introducing Hannah

0


If the idea of a podcast the place two economists use Claude Code to do analysis collectively sounds absurd, nicely, you wouldn’t be fallacious. However that has not stopped Caitlin Myers and I from doing it. This podcast is in regards to the two of us utilizing Claude Code to do a analysis challenge collectively on abortion clinic closures and the impact it had on marriage utilizing a Texas pure experiment known as Home Invoice 2, and county degree marriage information we collected with Claude in an earlier episode. A few of you had requested to see the “stunning deck” that Claude made for us final week and so right here it’s!

And right here is the YouTube video in the event you’re wanting to look at us and meet Hannah.

The age of AI has shifted issues considerably for researchers the place we have now to herald verification of what we do sooner and sometimes. Determining how, when and the place to do this is one thing me and Caitlin, in addition to most listeners, try to determine too. Caitlin had the concept of embodying our personal verification strategies with an actual stay human being — a former pupil of hers, Hannah Sayre, a latest graduate of Middlebury School. On this episode, we meet Hannah, discuss along with her and listen to about her personal story and journey as a youngster aspiring to a PhD in economics, and the way what her job will likely be on this challenge to substantiate what we’re doing with Claude Code.

Plus a bit easter egg in the event you skip forward is within the video as a result of Caitlin goes to inform us about her new job!

Thanks once more on your listener and viewer help! This podcast, similar to the substack, is a labor of affection. So sit again and revel in!

Do not deploy OpenClaw with out securing it – Do that opensource resolution and hands-on lab

0


So that you put in OpenClaw

OpenClaw turns into highly effective the second it could join a mannequin to instruments, expertise, MCP servers, and a stay workspace. That can be the second safety stops being optionally available.

In case you are evaluating OpenClaw, or planning to run it in entrance of actual instruments and information, the primary query shouldn’t simply be what the agent can do. The primary query ought to be what occurs if it trusts the unsuitable element.

What OpenClaw Really Adjustments

OpenClaw is helpful as a result of it helps AI brokers do greater than reply remoted prompts.OpenClaw on ZAP-Hosting servers

It may well:

  • Connect with expertise
  • Use MCP servers
  • Name instruments and providers
  • Work with recordsdata and a workspace
  • Generate code that lands within the setting

That makes OpenClaw extra succesful.

It additionally creates extra belief boundaries.

When an agent can set up helpers, name exterior instruments, and act on a stay workspace, the danger is now not restricted to dangerous textual content technology. Now the system has to resolve what will get trusted, what will get executed, what reaches the mannequin, and what code will get written into the setting.

Why OpenClaw Safety Issues

This isn’t only a hypothetical design concern.OpenClaw security statsOpenClaw security stats

Koi Safety’s audit of two,857 ClawHub expertise discovered 341 malicious entries, or 11.9%.

A broadcast arXiv research discovered that 26.1% of analyzed expertise had a minimum of one vulnerability. The identical research reported 13.3% with data-exfiltration patterns and 11.8% with privilege-escalation patterns.

These numbers don’t imply each OpenClaw talent is malicious.

They do imply one thing extra sensible: there may be already sufficient dangerous conduct within the ecosystem that OpenClaw shouldn’t be run with out safety controls in entrance of it.

One dangerous talent with file-read permissions and a stay workspace may be sufficient to reveal information, run dangerous instructions, or harm the setting. Learn extra stats on this overview web page.

 

What DefenseClaw Gives

Do not deploy OpenClaw with out securing it – Do that opensource resolution and hands-on labDo not deploy OpenClaw with out securing it – Do that opensource resolution and hands-on lab

DefenseClaw is free, open-source safety resolution for OpenClaw.

It provides checks earlier than set up and whereas the system is operating. It offers safety by way of 4 functionality areas/engines:

  1. Guardrails – Inspects prompts and mannequin site visitors to catch immediate injection, unsafe requests, and delicate information publicity earlier than the mannequin acts on them
  2. Software inspection – Checks expertise, MCP servers and power requires dangerous behaviour reminiscent of secret entry, unsafe instructions, and inner system entry
  3. Set up scanning – Scans expertise, MCP servers, and plugins earlier than they’re trusted so malicious or unsafe elements may be blocked early
  4. CodeGuard – Evaluations AI-generated code for harmful patterns like command execution, embedded secrets and techniques, and unsafe queries earlier than it’s written or run

DefenseClaw modulesDefenseClaw modules

If you wish to see technical particulars, you possibly can assessment the full diagram.

The stay demo has examples that designate what every engine does.

 

1. Guardrails

The guardrail movement reveals how dangerous prompts and poisoned content material can change mannequin conduct as soon as the mannequin is linked to an actual workflow.

Guardrail demoGuardrail demo

Within the demo, a poisoned be aware or privacy-style request pushes the mannequin towards an unsafe path. DefenseClaw inspects that site visitors and blocks the unsafe final result earlier than it reaches the protected mannequin path.

2. Software Inspection

The MCP part is without doubt one of the clearest components of the walkthrough.

It reveals how a malicious MCP path can attempt to:

  • learn artificial AWS credentials
  • run a number command
  • fetch inner configuration

Within the protected path, these device requests are blocked by coverage earlier than they attain the ultimate device final result.

3. Set up Scanning

Safety has to start out earlier than belief.

The demo reveals what occurs when OpenClaw is requested to just accept:

  • a malicious talent
  • an unsafe MCP server

DefenseClaw scans these elements earlier than they’re trusted and may reject or quarantine them earlier than they turn into a part of the workflow.

4. CodeGuard

The ultimate path focuses on agent-written code.

That issues as a result of even when a immediate or device name appears innocent, the subsequent step could also be code technology that lands within the workspace.

The demo makes that concrete with examples reminiscent of:

  • shell execution
  • embedded personal key materials
  • unsafe SQL development

DefenseClaw scans these patterns earlier than the file write lands.

OpenClaw Safety Lab

OpenClaw LabOpenClaw Lab
OpenClaw Safety Lab

OpenClaw safety lab is a hands-on walkthrough the place you arrange your personal OpenClaw setting, take a look at malicious expertise, unsafe MCP servers, immediate assaults, and dangerous code paths, then apply DefenseClaw to examine or block them earlier than they trigger hurt.

You too can use it as a best-practice reference for deploying DefenseClaw and securing your personal setting.

Begin the lab right here: OpenClaw Safety hands-on lab

If you’d like extra, strive all of the hands-on labs within the AI Safety Studying Journey at cs.co/aj.

Have enjoyable exploring the labs, and be at liberty to succeed in out when you’ve got questions or suggestions.

 

Utilizing Azure Copilot for migration and modernization

0

That’s the intense finish of technical debt—software program archaeology relatively than software program engineering. Day-to-day technical debt is probably higher regarded as a drag on enterprise, code that doesn’t fairly match the present state of a enterprise course of, requiring handbook workarounds that sluggish issues down however permit the purposes to maintain working. There’s related compounding threat as purposes, working techniques, storage, and networks drift away from safety baselines, dropping out of assist, unpatched as a result of any updates may cease the enterprise from working.

Migrating to the cloud can assist, however too typically it’s a matter of merely replicating a bodily infrastructure in digital machines on an IaaS platform. Sure, hyperscale cloud PaaS options may resolve issues, in addition to utilizing automated updates and upgrades to deploy the most recent options and maintain purposes safer.

Automating cloud migrations

Microsoft has supplied a number of generations of instruments emigrate purposes to the cloud, principally targeted on discovering the right-size Azure digital machines and the correct digital community home equipment and topography, in addition to importing knowledge into cloud storage. Microsoft has offered helpful methods to maneuver purposes to the cloud, however the firm hasn’t helped you modernize code or infrastructure. Enterprises are simply replicating technical debt in Azure as an alternative of on their very own servers.

Zero Finances, Full Stack: Constructing with Solely Free LLMs



Picture by Creator

 

Introduction

 
Keep in mind when constructing a full-stack software required costly cloud credit, expensive API keys, and a group of engineers? These days are formally over. By 2026, builders can construct, deploy, and scale a production-ready software utilizing nothing however free instruments, together with the giant language fashions (LLMs) that energy its intelligence.

The panorama has shifted dramatically. Open-source fashions now problem their industrial counterparts. Free AI coding assistants have grown from easy autocomplete instruments to full coding brokers that may architect total options. And maybe most significantly, you’ll be able to run state-of-the-art fashions regionally or via beneficiant free tiers with out spending a dime.

On this complete article, we are going to construct a real-world software — an AI assembly notes summarizer. Customers will add voice recordings, and our app will transcribe them, extract key factors and motion gadgets, and show every thing in a clear dashboard, all utilizing utterly free instruments.

Whether or not you’re a scholar, a bootcamp graduate, or an skilled developer seeking to prototype an concept, this tutorial will present you tips on how to leverage the most effective free AI instruments out there. Start by understanding why free LLMs work so properly right this moment.

 

Understanding Why Free Giant Language Fashions Work Now

 
Simply two years in the past, constructing an AI-powered app meant budgeting for OpenAI API credit or renting costly GPU cases. The economics have basically shifted.

The hole between industrial and open-source LLMs has practically disappeared. Fashions like GLM-4.7-Flash from Zhipu AI show that open-source can obtain state-of-the-art efficiency whereas being utterly free to make use of. Equally, LFM2-2.6B-Transcript was particularly designed for assembly summarization and runs fully on-device with cloud-level high quality.

What this implies for you is that you’re not locked right into a single vendor. If one mannequin doesn’t work on your use case, you’ll be able to change to a different with out altering your infrastructure.

 

// Becoming a member of the Self-Hosted Motion

There’s a rising choice for native AI working fashions by yourself {hardware} slightly than sending knowledge to the cloud. This is not nearly value; it’s about privateness, latency, and management. With instruments like Ollama and LM Studio, you’ll be able to run highly effective fashions on a laptop computer.

 

// Adopting the “Deliver Your Personal Key” Mannequin

A brand new class of instruments has emerged: open-source purposes which can be free however require you to offer your personal API keys. This offers you final flexibility. You should utilize Google’s Gemini API (which affords tons of of free requests every day) or run fully native fashions with zero ongoing prices.

 

Selecting Your Free Synthetic Intelligence Stack

 
Breaking down the most effective free choices for every part of our software includes choosing instruments that stability efficiency with ease of use.

 

// Transcription Layers: Speech-to-Textual content

For changing audio to textual content, we’ve got glorious free speech-to-text (STT) instruments.

 

Device Sort Free Tier Greatest For
OpenAI Whisper Open-source mannequin Limitless (self-hosted) Accuracy, a number of languages
Whisper.cpp Privateness-focused implementation Limitless (open-source) Privateness-sensitive eventualities
Gemini API Cloud API 60 requests/minute Fast prototyping

 

For our venture, we are going to use Whisper, which you’ll run regionally or via free hosted choices. It helps over 100 languages and produces high-quality transcripts.

 

// Summarization and Evaluation: The Giant Language Mannequin

That is the place you might have probably the most selections. All choices under are utterly free:

 

Mannequin Supplier Sort Specialization
GLM-4.7-Flash Zhipu AI Cloud (free API) Basic goal, coding
LFM2-2.6B-Transcript Liquid AI Native/on-device Assembly summarization
Gemini 1.5 Flash Google Cloud API Lengthy context, free tier
GPT-OSS Swallow Tokyo Tech Native/self-hosted Japanese/English reasoning

 

For our assembly summarizer, the LFM2-2.6B-Transcript mannequin is especially fascinating; it was actually educated for this actual use case and runs in below 3GB of RAM.

 

// Accelerating Growth: Synthetic Intelligence Coding Assistants

Earlier than we write a single line of code, contemplate the instruments that assist us construct extra effectively throughout the built-in improvement atmosphere (IDE):

 

Device Free Tier Sort Key Function
Comate Full free VS Code extension SPEC-driven, multi-agent
Codeium Limitless free IDE extension 70+ languages, quick inference
Cline Free (BYOK) VS Code extension Autonomous file enhancing
Proceed Full open-source IDE extension Works with any LLM
bolt.diy Self-hosted Browser IDE Full-stack technology

 

Our suggestion: For this venture, we are going to use Codeium for its limitless free tier and pace, and we are going to maintain Proceed as a backup for when we have to change between completely different LLM suppliers.

 

// Reviewing the Conventional Free Stack

  • Frontend: React (free and open-source)
  • Backend: FastAPI (Python, free)
  • Database: SQLite (file-based, no server wanted)
  • Deployment: Vercel (beneficiant free tier) + Render (for backend)

 

Reviewing the Challenge Plan

 
Defining the applying workflow:

  1. Consumer uploads an audio file (assembly recording, voice memo, lecture)
  2. The backend receives the file and passes it to Whisper for transcription
  3. The transcribed textual content is shipped to an LLM for summarization
  4. The LLM extracts key dialogue factors, motion gadgets, and choices
  5. Outcomes are saved in SQLite
  6. The consumer sees a clear dashboard with transcript, abstract, and motion gadgets

 

Professional flowchart diagram with seven sequential steps
Skilled flowchart diagram with seven sequential steps | Picture by Creator

 

// Stipulations

  • Python 3.9+ put in
  • Node.js and npm put in
  • Fundamental familiarity with Python and React
  • A code editor (VS Code really helpful)

 

// Step 1: Setting Up the Backend with FastAPI

First, create our venture listing and arrange a digital atmosphere:

mkdir meeting-summarizer
cd meeting-summarizer
python -m venv venv

 

Activate the digital atmosphere:

# On Home windows 
venvScriptsactivate

# On Linux/macOS
supply venv/bin/activate

 

Set up the required packages:

pip set up fastapi uvicorn python-multipart openai-whisper transformers torch openai

 

Now, create the predominant.py file for our FastAPI software and add this code:

from fastapi import FastAPI, File, UploadFile, HTTPException
from fastapi.middleware.cors import CORSMiddleware
import whisper
import sqlite3
import json
import os
from datetime import datetime

app = FastAPI()

# Allow CORS for React frontend
app.add_middleware(
    CORSMiddleware,
    allow_origins=["http://localhost:3000"],
    allow_methods=["*"],
    allow_headers=["*"],
)

# Initialize Whisper mannequin - utilizing "tiny" for quicker CPU processing
print("Loading Whisper mannequin (tiny)...")
mannequin = whisper.load_model("tiny")
print("Whisper mannequin loaded!")

# Database setup
def init_db():
    conn = sqlite3.join('conferences.db')
    c = conn.cursor()
    c.execute('''CREATE TABLE IF NOT EXISTS conferences
                 (id INTEGER PRIMARY KEY AUTOINCREMENT,
                  filename TEXT,
                  transcript TEXT,
                  abstract TEXT,
                  action_items TEXT,
                  created_at TIMESTAMP)''')
    conn.commit()
    conn.shut()

init_db()

async def summarize_with_llm(transcript: str) -> dict:
    """Placeholder for LLM summarization logic"""
    # This will likely be applied in Step 2
    return {"abstract": "Abstract pending...", "action_items": []}

@app.put up("/add")
async def upload_audio(file: UploadFile = File(...)):
    file_path = f"temp_{file.filename}"
    with open(file_path, "wb") as buffer:
        content material = await file.learn()
        buffer.write(content material)
    
    strive:
        # Step 1: Transcribe with Whisper
        consequence = mannequin.transcribe(file_path, fp16=False)
        transcript = consequence["text"]
        
        # Step 2: Summarize (To be stuffed in Step 2)
        summary_result = await summarize_with_llm(transcript)
        
        # Step 3: Save to database
        conn = sqlite3.join('conferences.db')
        c = conn.cursor()
        c.execute(
            "INSERT INTO conferences (filename, transcript, abstract, action_items, created_at) VALUES (?, ?, ?, ?, ?)",
            (file.filename, transcript, summary_result["summary"],
             json.dumps(summary_result["action_items"]), datetime.now())
        )
        conn.commit()
        meeting_id = c.lastrowid
        conn.shut()
        
        os.take away(file_path)
        return {
            "id": meeting_id,
            "transcript": transcript,
            "abstract": summary_result["summary"],
            "action_items": summary_result["action_items"]
        }
    besides Exception as e:
        if os.path.exists(file_path):
            os.take away(file_path)
        elevate HTTPException(status_code=500, element=str(e))

 

// Step 2: Integrating the Free Giant Language Mannequin

Now, let’s implement the summarize_with_llm() perform. We’ll present two approaches:

Possibility A: Utilizing GLM-4.7-Flash API (Cloud, Free)

from openai import OpenAI

async def summarize_with_llm(transcript: str) -> dict:
    consumer = OpenAI(api_key="YOUR_FREE_ZHIPU_KEY", base_url="https://open.bigmodel.cn/api/paas/v4/")
    
    response = consumer.chat.completions.create(
        mannequin="glm-4-flash",
        messages=[
            {"role": "system", "content": "Summarize the following meeting transcript and extract action items in JSON format."},
            {"role": "user", "content": transcript}
        ],
        response_format={"sort": "json_object"}
    )
    
    return json.masses(response.selections[0].message.content material)

 

Possibility B: Utilizing Native LFM2-2.6B-Transcript (Native, Fully Free)

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

async def summarize_with_llm_local(transcript):
    model_name = "LiquidAI/LFM2-2.6B-Transcript"
    tokenizer = AutoTokenizer.from_pretrained(model_name)
    mannequin = AutoModelForCausalLM.from_pretrained(
        model_name,
        torch_dtype=torch.float16,
        device_map="auto"
    )
    
    immediate = f"Analyze this transcript and supply a abstract and motion gadgets:nn{transcript}"
    inputs = tokenizer(immediate, return_tensors="pt").to(mannequin.gadget)
    
    with torch.no_grad():
        outputs = mannequin.generate(**inputs, max_new_tokens=500)
    
    return tokenizer.decode(outputs[0], skip_special_tokens=True)

 

// Step 3: Creating the React Frontend

Construct a easy React frontend to work together with our API. In a brand new terminal, create a React app:

npx create-react-app frontend
cd frontend
npm set up axios

 

Change the contents of src/App.js with:

import React, { useState } from 'react';
import axios from 'axios';
import './App.css';

perform App() {
  const [file, setFile] = useState(null);
  const [uploading, setUploading] = useState(false);
  const [result, setResult] = useState(null);
  const [error, setError] = useState('');

  const handleUpload = async () => {
    if (!file) { setError('Please choose a file'); return; }
    setUploading(true);
    const formData = new FormData();
    formData.append('file', file);

    strive {
      const response = await axios.put up('http://localhost:8000/add', formData);
      setResult(response.knowledge);
    } catch (err)  lastly { setUploading(false); }
  };

  return (
    
{consequence && (

Abstract

{consequence.abstract}

Motion Objects

    {consequence.action_items.map((it, i) =>
  • {it}
  • )}
)}
); } export default App;

 

// Step 4: Working the Utility

  • Begin the backend: In the primary listing along with your digital atmosphere lively, run uvicorn predominant:app --reload
  • Begin the frontend: In a brand new terminal, within the frontend listing, run npm begin
  • Open http://localhost:3000 in your browser and add a take a look at audio file

 

Dashboard interface showing summary results
Dashboard interface exhibiting abstract outcomes | Picture by Creator

 

Deploying the Utility for Free

 
As soon as your app works regionally, it’s time to deploy it to the world — nonetheless at no cost. Render affords a beneficiant free tier for net companies. Push your code to a GitHub repository, create a brand new Net Service on Render, and use these settings:

  • Atmosphere: Python 3
  • Construct Command: pip set up -r necessities.txt
  • Begin Command: uvicorn predominant:app --host 0.0.0.0 --port $PORT

Create a necessities.txt file:

fastapi
uvicorn
python-multipart
openai-whisper
transformers
torch
openai

 

Observe: Whisper and Transformers require vital disk house. In case you hit free tier limits, think about using a cloud API for transcription as an alternative.

 

// Deploying the Frontend on Vercel

Vercel is the simplest technique to deploy React apps:

  • Set up Vercel CLI: npm i -g vercel
  • In your frontend listing, run vercel
  • Replace your API URL in App.js to level to your Render backend

 

// Exploring Native Deployment Options

If you wish to keep away from cloud internet hosting fully, you’ll be able to deploy each frontend and backend on a neighborhood server utilizing instruments like ngrok to reveal your native server briefly.

 

Conclusion

 
We have simply constructed a production-ready AI software utilizing nothing however free instruments. Let’s recap what we achieved:

  • Transcription: Used OpenAI’s Whisper (free, open-source)
  • Summarization: Leveraged GLM-4.7-Flash or LFM2-2.6B (each utterly free)
  • Backend: Constructed with FastAPI (free)
  • Frontend: Created with React (free)
  • Database: Used SQLite (free)
  • Deployment: Deployed on Vercel and Render (free tiers)
  • Growth: Accelerated with free AI coding assistants like Codeium

The panorama at no cost AI improvement has by no means been extra promising. Open-source fashions now compete with industrial choices. Native AI instruments give us privateness and management. And beneficiant free tiers from suppliers like Google and Zhipu AI allow us to prototype with out monetary threat.
 
 

Shittu Olumide is a software program engineer and technical author obsessed with leveraging cutting-edge applied sciences to craft compelling narratives, with a eager eye for element and a knack for simplifying advanced ideas. It’s also possible to discover Shittu on Twitter.



Google Images change tries to save lots of you from unintentional edits

0


TL;DR

  • Google Images is eradicating faucet, circle, and scribble shortcuts for modifying instruments on Android.
  • Instruments like Transfer, Erase, and Reimagine are actually accessed by means of menus or search as an alternative.
  • Google says the change ought to cut back unintentional edits and enhance efficiency.

Google Images and its editor have been in a near-constant state of change over the previous couple of years, and it doesn’t seem like issues are settling down simply but. The newest tweak adjustments the way you work together with a number of the app’s strongest instruments, and whereas it seems to be like a little bit of a regression in some respects, it goals to make the editor much less irritating to make use of.

Don’t wish to miss the perfect from Android Authority?

google preferred source badge dark@2x

In a new put up on its Assist pages, Google says it’s updating how customers entry modifying instruments on Android. Options like Transfer, Erase, and Reimagine will now not activate whenever you faucet, circle, or scribble instantly on a picture. As an alternative, you’ll must open the editor and choose them from the instruments menu or seek for them by title.

Is Magic Eraser working effectively for you in Google Images?

197 votes

In response to Google, the change is meant to scale back unintentional edits and enhance efficiency. Anybody who’s ever triggered an modifying software by mistake will most likely see the upside. On the identical time, it does take away one of many extra direct and intuitive methods to make fast edits.

Google’s Images editor has undergone a main redesign and even proven indicators of partial reversals over the past 12 months. This newest replace isn’t a dramatic overhaul, nevertheless it’s the sort of change you’ll discover fairly shortly in case you depend on these gesture-based shortcuts. Whether or not it seems like an enchancment will doubtless come all the way down to how typically you discovered your self making edits you didn’t imply to within the first place.

Thanks for being a part of our neighborhood. Learn our Remark Coverage earlier than posting.

Artemis II Countdown: How and When to Watch the Launch

0


After a number of delays, rocket repairs, and a restructuring of this system to return to the moon, the Artemis II mission is prepared for liftoff. If there aren’t any issues, 4 astronauts will inaugurate NASA’s new lunar marketing campaign on Wednesday, greater than 50 years after the Apollo period.

The Artemis II crew is not going to descend to the moon; that will not occur till Artemis IV. However their capsule will fly 6,000 to 9,000 kilometers over the floor of the hidden aspect of Earth’s satellite tv for pc, circle it, and make the return journey residence. The primary goal of the mission is to display that the area company has the technological functionality to ship individuals to the moon safely and with out mishap.

As soon as that is achieved, NASA will start preparations for brand new lunar landings throughout the next years, which is able to goal to consolidate the primary lunar bases in historical past and with it, the sustained and sustainable presence of human beings on the satellite tv for pc.

When and The place Can You Watch the Artemis II Liftoff?

The brand new launch window opens Wednesday, April 1 at 6:24 pm EDT and can final for 2 hours. Because of this as soon as all of the protocol assessments are performed, liftoff of the Artemis II mission might happen anytime between 6:24 pm and eight:24 pm EDT. There is no such thing as a actual time, as a result of the journey is cleared primarily based on technical, climate, and area visitors situations. If one thing prevents the launch this Wednesday, NASA has 5 extra days to attempt once more.

Monday, April 6, could be the final day of this launch window. If unsuccessful this time, the launch window could be pushed to April 30.

In keeping with NASA, the dwell broadcast shall be accessible on its YouTube channel. The stream will start at 7:45 am with protection of tank operations to load the booster. In the meantime, at 12:50 pm the official protection will start and stick with it till liftoff. Two hours after the launch, NASA will maintain a press convention.

Mission Particulars

The astronauts will take off in a NASA SLS rocket and journey contained in the Orion capsule, described as a spacecraft concerning the dimension of a giant van. They may orbit Earth for no less than two days to check the onboard devices. Then they may align the spacecraft to start its journey to the moon. By the fifth or sixth day of flight, the capsule is predicted to enter the moon’s sphere of affect, the place the satellite tv for pc’s gravity is stronger than Earth’s, and dock with its orbit.

When the spacecraft passes “behind” the moon, essentially the most harmful part will start. The crew shall be out of contact with Earth for about 50 minutes on account of interference from the moon itself. Throughout this important second, the crew should seize photographs and knowledge from the moon, benefiting from the far-more-advanced expertise they carry than was accessible throughout the Apollo period.

After finishing the return, the capsule will head residence, benefiting from the Earth-moon gravity discipline to save lots of gas. In keeping with NASA estimates, by the tenth day of flight the crew shall be near reaching the planet.