Hacker Newsnew | past | comments | ask | show | jobs | submit | aleda145's commentslogin

Still working on https://kavla.dev

I have worked with data for a while. I feel like our tools could be much better when it comes to "flow". I want an experience where you don't need to alt+tab to slack/images/another query. What if we put it all on a canvas? That's what Kavla is all about!

Since last month I've done a lot of improvements to the editor to make the "flow" better.

I've also read up on HMAC, Nonces and fun encryption stuff to create read only boards.

Here's one where I look at stack overflow survey for databases: https://app.kavla.dev/v/mqhg54o319doya4.67dbfee1ccd6caf638d3...

Snowflake users apparently make the most money!


Really cool! During my university years I had a lot of fun with scheduling 200 interviews for different 20 companies for a career fair.

Created a problem statement and then solved it with Gurobi, repo here: (https://github.com/aleda145/interview-scheduling-kontaktsamt...)

Agents feel like the perfect fit for the whole rescheduling loop that happens in the real world!

Have you had to use an optimization solver yet? If so, which one?


Also "vela" means "to be undecided" or "to go back and forth" in Swedish, great fit!

wow what a wonderful coincidence

Very alarming. I feel like especially the West is regressing on climate change with the rise of the far right (https://www.politico.eu/article/robert-lambrou-alternative-f...)

I don't know what to do.


Work on local things to make your own city better. Plenty of stuff that's not too difficult, even if it won't fix everything:

* Multifamily housing is much more energy efficient. Is it legal to build throughout your city, or does zoning prevent it?

* Is there good bicycle infrastructure so people don't have to drive for everything?

* Does your city still have expensive parking mandates that lock in car dependency? Get rid of those. They also get in the way of places becoming more walkable.

* This one hurts, but: eat less beef.

* Advocate for good transit as another way for people to get around without driving a personal vehicle.

* What can be done in your city/region to electrify heating for homes and businesses?

* What can your region do to build more renewable energy capacity?

Those are all things where even a few voices can sometimes make a difference.


Individual habits will not be decisive in fighting climate change. Telling people to follow this advice will (a) inconvenience them in the short term (b) lull them to a false sense of security that they are fighting climate change (c) set them up for disappointment when climate change happens anyway, and (d) worst of all, these suggestions let the real perpetrators off the hook.

If you want to see real progress on the climate, a few thousand people changing their daily habits is not enough. Governments need to take action and hold industry to account. That looks to be an increasingly unlikely event, but that doesn't justify taking ineffective action instead as a placebo.

It reminds me of the '90s when we are all told that recycling was necessary for saving the environment. Decades later, we'll still spending time sorting our garbage, despite evidence that no one wants recyclable waste, it still ends up dumped somewhere, and it costs more money to handle. [1]

[1] https://www.youtube.com/watch?v=AyMs2xox_hE


But individual behavior is not about preventing climate change, it’s about doing what’s right. It’s wrong to pollute the environment, one way or another. A single person not stealing won’t reduce the crime rate in a country yet it is the right thing to do.


That's not a fair comparison. Everything we do affects the environment. The goal is to limit that effect where it matters. It's not ethical, it's practical.


Apart from eating less beef, every single suggestion in the post your are responding to is about infrastructure and advocacy, not individual habits.


And almost all of them have plenty of other benefits too:

Multifamily housing is generally cheaper in high land cost areas. It helps solve the housing shortage.

More bikes and transit and fewer cars means cleaner air and fewer traffic deaths.

Less fossil fuel usage in general means less pollution.

Cities that use land more efficiently tend to be more walkable, pleasant, and don't gobble up things like farmland or forests outside the city.

Come to think of it, less beef is probably better for your health, too.


> less beef is probably better for your health, too.

Won't matter when it's 120 degrees F every day.


My advice is to install air conditioning, and choose a place to live that will be affected as little as possible. Avoid the Maldives or New Orleans, perhaps choose somewhere a little hilly and cool with good connectivity.


Great suggestions. I will pass your advice on to literally all of humanity.


That's what will happen, you might as well get ahead of the rush.


> Apart from eating less beef, every single suggestion in the post your are responding to is about infrastructure and advocacy, not individual habits.

Exactly. That's why it's ineffective to evangelize this as individual effort. If you want to live in a multifamily home, they have to be zoned, funded, and built. That requires lobbying the government, moral rectitude.


I did not write 'individual habits' - you did. Things like zoning are not individual choices at all. But they are something that you and a few friends might be able to influence at city hall.


None of this "lulls" involved people, nor lets anyone off the hook.

These are things that ordinary people without a lot of money or power can work on today in a country like, say, the US, where the federal government is in the hands of evil people and is not going to be doing much in terms of climate change in the near future.

The federal government may be a lost cause for the moment, but your city or state might provide an avenue to get some things done. Those things won't fix the whole problem, but they're still progress, and the connections you make while doing those things will be useful in future, bigger fights.


> These are things that ordinary people without a lot of money or power can work on toda

I agree: people can work on this individually. And it won't make a lick of difference.

How many items on this list require government action? How many require corporations' cooperation. What am I going to do, build the bike lanes myself as a hobby?


The work is getting your local or state government to do the things. I thought that was quite obvious.


> these suggestions let the real perpetrators off the hook.

This can't be said enough. It simply cannot be said enough. It cuts right to the heart of how we view the world in the west: as autonomous, separate individuals, with no communal counterweight and certainly no model of power (some entities in the world have vastly more power than others) We assume that because our constitutions grant us equal rights or whatever, we all have equal responsibility and equal power.

But polluters, the biggest sources of emissions, have way more power and way, way less responsibility. And yet we continue to tell ourselves to focus on our own individual behaviors to combat global heating. The effects are real, but tiny, and our elites continue getting away with our annihilation.


Great list!

For those in the US, I'd add lobbying your congresspeople to support the revival of the Energy Permitting Reform Act. It's something that didn't make it across the line before the end of the last congress, but basically, making it easier to bring new generation capacity on the electrical grid disproportionately benefits renewables, because they make up the vast majority of wattage waiting in the queue. As we've seen by the explosion of deployment in less regulated grids (Texas, and most of the world), the economics now favor solar+storage and wind, we just have to let people build as much of it as they want to.


I would add:

* Plant more trees


> I feel like especially the West is regressing on climate change with the rise of the far right

Is it the "far right"? Or is it that technology and fertility have actually lowered the risks substantially?

Solar plus batteries, right now, seems to be the cheapest form of new energy. Given that, you would expect most of new energy to be "green". (And if you look at the stats, that seems to be coming true.)

Electrification of transportation is happening quickly. China is cranking out cheap electric cars that are generally better than ICE cars of yesterday. And the world seems to be transitioning.

And fertility rates are dropping everywhere. So the amount of people we will need to support in the future continues to decline.

I've mostly stopped worrying about climate change. Not because I don't think it is real. But because I think we are clearly on the path to mitigating the worse scenarios.


The far right leader of my country just created a new policy forcing the military to buy electricity from coal plants, even when it's more expensive


> I think we are clearly on the path to mitigating the worse scenarios.

This evidence based article published in one of the worlds top scientific journals comes to the opposite conclusion.


> Is it the "far right"?

Yes, it is. They're committed to "Every molecule of hydrocarbon will come out". [0]. They keep saying this to us, and we don't seem to believe them. I like your optimism, and I'm not denying a lot of what you're saying -- renewables fast becoming the cheapest energy. But that's not deterring people: the far right here in the US are about to dismantle the government's legal rationale for regulating emissions. They're laughing at us right now, doing victory laps. They're telling polluters to take the gloves off.

These people are terrorists, extremists, and they're in charge of the world's single most powerful economy and military. They're obsessed with domination, with doing violence to the weak and the poor and to nature. It's pure Freudian thanatos.

It's just hard to take your position.

[0] https://theecologist.org/2023/dec/05/every-molecule-hydrocar...


I'm not sure exactly what you mean by the "far-right", but you seem to be implying this 'every molecule' quote (or more charitably, the goal) is of the "far-right" in the U.S. In reality the quote is from Saudi energy minister Prince Abdulaziz bin Salman. I mean, I wouldn't be terribly surprised if Saudi Arabia is considered far-right governed but I doubt your wording is giving the correct impression to readers.


Yes, I know it's a Saudi quote. They're also far right. They're bosom buddies with the same right-wing (Democratic) and far-right (Republican) US economic and governmental elites for decades. I don't think anyone would dispute this. In fact, it's so humdrum a set of facts that I think the burden would be on someone else to show that "no, actually, US elites are not into the whole 'every molecule of hydrocarbon' thing". But their behavior doesn't indicate that they disagree.

It's thus, yes, the correct impression for readers.


This is all rational thinking if you don't know or care to know the actual scale of global warming


Yep, its the far right.

The Heritage Foundation (Project 2025, far-right, anti-climate) is working with the Heartland Institute (spreading climate science denial across UK / EU) / Alliance for Responsible Citizenship (ARC, Jordan Peterson)

They do not like EU rules that hold US firms accountable to climate laws.

https://www.desmog.com/2026/02/10/donald-trump-uk-eu-maga-sl...


Sorry, I'm not saying the far-right isn't (whatever) anti-climate change.

I just meant that I don't think the lack of concern is necessarily due to them. I think it may have more to do with the reality that we are already on a good path.

Bill Gates famously wrote a "note" about it last year: https://www.gatesnotes.com/work/accelerate-energy-innovation...


There are actions you can cheer on, like China's quick adoption of renewable energy. You can't make it happen yourself but you can bring peoples' attention to good things, encourage those within your circle of influence, and vote for representation that shares your views.

As for what "we" collectively can do... let's assume you are speaking of areas of research. We may need to focus on researching adaptation techniques for the areas that are going to be the hardest hit, or that have the fewest resources to cope. It's a sad topic but it may be needed. Assume the worst, hope for the best, and plan for what you can.


Significant emissions are from ground transportation. Advocate for walkable neighbourhoods, bike infrastructure and public transit.


Seems China is cooking atm. If solar power and battery tech continues at this speed and their nuclear ambitions pan out, fossil fuels will be economically non-competitive (if they aren’t already). China EV momentum is incredible.

So still some hope I think! And it’s possible the populist “dumb dumb bricks” crew will decline in popularity when the inevitable lack of tangible improvements continues. Though since we are dealing with dumb dumb it may take a while


The answer to that question is always the same. Join a party and become politically active. Or, if you really can't find any party that represents your views, join an NGO and become active in it. If you're too lazy for that, consider paying an NGO that does spectacular actions that have a public impact. And never vote for any parties that don't do anything for better climate control, of course.


What's most alarming IMO is that we're probably (still) systematically underestimating the effects of climate change.[0]

The idea that this current apocalyptic prediction is expected to be better than reality is... not comforting.

[0] https://news.ycombinator.com/item?id=46980353


this is like a tiktok rage bait way of thinking. western nations have largely peaked on carbon emissions. china is slowing down and will peak soon. there are a lot of countries that still are growing in emissions, sure, but you are not looking at this scientifically.


Scientifically according to the article, the world is on an emissions path to 2.8°C warming, not accounting for the extra rate of warming we've seen in recent years. And this puts us at greater risk of hitting tipping points into an even warmer planet. So the status quo isn't cutting it.


China is nowhere near peaking, nor is the world.

https://ourworldindata.org/profile/co2/china https://www.statista.com/statistics/276629/global-co2-emissi... https://ourworldindata.org/co2-emissions

It's true that the West did peak in 2007 (as did South America, India, and Africa), but Asia's emissions are so massive that they more than make up for all of the reductions of the rest of the world. That last link I posted makes clear how big the problem with China is.


> I don't know what to do.

As a 52 year old who never believed we would take climate change seriously (and who is more convinced than ever I was correct as society actually regresses on this issue) I did what I had to do -- I purposefully didn't have children.

Good luck to those of you who did.

This ain't my problem. I'll be dead (or close enough) when the shit fully hits the fan and won't have doomed any offspring to the upcoming migration/resources wars


You work in software, right? Then you can donate some money to enviro orgs.


Not an expert in any of that, but I think overall impact may be greater if people with sufficient means take a more hands-on approach that grants visibility of where money is going. I lean environmentalist be the truth is that there’s a good deal of well-marketed snake oil in the environmental space.


The issue with quibbling over impact is my experience is that people end up doing neither. I recently started a Master's in ecology so I don't have a good idea of what's cost effective right now but I know the field is pretty shockingly underfunded (both for general research and conservation projects). I learned the "fun" fact recently that bird populations in the US are down ~30% in the last 55 years.


A fair assessment. Doing nothing is not the answer to the risk of doing the wrong thing. It's probably worth some time spent on due diligence when selecting groups to donate to, regardless.


Die a horrible death while watching a group of hateful people scream that it’s all the immigrants fault and that they ate all the cats and dogs, I guess …


... immigrants, LGBT, women, another religion, the ones with no religion, communist, liberal,...

But never the zillionaires, they've worked haaaard and deserve everything!


Fear and egoism is probably causing the rise of the far-right, fear of not having enough, and egoism of "Why do I have to share?" (and being dumb enough to believe "make it great again" lies). And then the idiotic "center" who doesn't want to lose voters start moving to the right. With the decaying planet less capable of producing food, there'll be less, and there'll be more of that scarcity mindset (although do we even have scarcity, maybe it's just the uneven distribution, with billionaires eating cows that's been fed grass that's grown with the purest glacier water flown by helicopter from the Swiss alps...).

In one aspect, the autocratic rule of Xi Jinping has a positive: "We're going to cover the whole mountain with solar panels, and force electrification of cars." and there's no busybodies protesting and threatening to vote his party out of office.


Ever admitting the positives of autocrats for their apparent efficiency disqualifies surrounding suppositions. And that's not an ad hominen, that's just Bayesian.


Ok Smartypants, jog on...


If you are a US citizen, voting Trump out might be unironically the most significant decision your country could make for the next 100 years of mankind.

Not because the alternative is so great, but because Trump is so horrible that it's not even a question. We really don't need someone who doesn't even acknowledge climate change in charge of the world's biggest economy.


Trump is ineligible to run for a third term. The time to vote him out was 15 months ago.


I think there's someone that wrote about what is to be done, but I can't remember who. /s


the west is regressing on climate because, quite frankly, almost anything we do is pointless. we're not the ones who need to do anything to have an impact on the world. the entities that must do something don't want to


Cool!

This feels like it will very easily segway into corporate "spyware" if you ever start doing enterprise plans.

What's your take on that?


I built mine with all kinds of privacy features built in: from never storing raw data to always allowing to review before sharing anything to always offering to pause, excluding apps, deleting data, opt-in for social features, …

So spyware in the sense of getting information without the employee knowing would be impossible and not something I’d ever want to do.

It does enable transparency on a very abstracted level: your team could see a six bullet point summary of your day if you opt in. I believe this kind of transparency can actually help more teams go remote, cut down on sync meetings, etc.

I’m currently experimenting with a feature that shows relative time spent only, not absolute - so e.g. 30% on project X, 20% on admin, etc. That could be the sweet spot on visibility vs privacy.


https://kavla.dev/

It's an infinite canvas that runs SQL.

I've been working with data my entire career. I feel like we need to alt+tab so much. What if we just put it all on a canvas?

Currently very WIP, but there's a simple titanic demo available!

Built with tldraw and duckdb wasm, running on cloudflare durable objects


Look at count.co for a Figma-like approach to databases.

We were using it at work (transitioning to Metabase); it's great for exploring and debugging and prototyping but it ends up too much of a tangled spaghetti mess for anything long-term. Would not recommend for user-/other-company-departments-facing reports or dashboards.


That's super interesting!

With Kavla I want to lean into the exploring/debugging phase for analytics. "Embrace the mess", in a way.

My vision is that there will be an "export to dbt" button when you're ready to standardize a dashboard.

What made you pick count? Was spaghetti the major reason you left count, or something else?


The choice to use Count was made before I joined the company; IIRC they migrated to it from Tableau.

We wanted to migrate (to Streamlit, back then) to have the SQL not live locked in a tool, but inside our git repository; to be able to run tests on the logic etc. But the spaghetti mess was felt too, even if it wasn't the main reason to switch.

(But then, 1) some team changes happened that pushed us towards Metabase, and 2) we found that Streamlit managed by Snowflake is quite costly, compute-time wise. (The compute server that starts when you open a Streamlit report, stays live for tens of minutes, which was unexpected to us.)

----

Export to DBT sounds great. Count has "export to SQL" which walks the graph of the cell dependencies and collects them into a CTE. I can imagine there being a way to export into a ZIP of SQL+YML files, with one SQL file per cell.


Thank you so much for sharing, super helpful!

Great take on the SQL lock in, that's something that I need to think hard about. Ideally a git integration maybe?

Kavla also traverses the DAG, psuedo code:

  deps = getDeps() // recursive

  for dep in deps:
    if dep is query:
      run: "CREAT OR REPLACE VIEW {upstream} AS {upstream.text}
    if dep is source:
      done
A selected chain of Kavla nodes could probably be turned into a single dbt model using CTEs!

Thanks for making me think about this!


Somehow i had landed on your page sometime back and was just impressed with the quality of landing page and also the concept. Hope to use it in near time.


Thank you!


Really interesting idea! I've only seen stuff like that in ETL pipelines (which are a pain). This sits somehow between a python notebook and a ETL pipeline.

By the way, I just shared in my company's Slack and looks like there is no opengraph data for it. Not a complain, just pointing out in case you didn't notice/think of it :)

Best of luck!


The website is great and the examples (like getting distinct values of a table as a prerequisite investigation) really get the point across.

In my job I always end up with big notebooks of data exploration that get messy fast and are hard to share anything but the final result, having a canvas that embraces the non-linear nature is a great idea.


That has been my experience as well!

Aside from the non-linearity, what key features would make you use Kavla instead of a notebook?


Wow, this seems great for doing interviews with an analyst, or just demoing data generally. Cool product!


Interviewing is an interesting use case!

Is that something you're doing? What pain points do you have as interviewer with existing tools?


Love the brutalist style. Are the components all hand-rolled or something off the shelf?


I was inspired by https://www.neobrutalism.dev/ !


Looks very much like like a signature gemini ui.


Cool looking website! Is that an open source css library or did you style it yourself?


I was inspired by https://www.neobrutalism.dev/ !


it's so useful, specially to teach SQL, congrats, keep doing it!


as someone who loves sql and wants to transition into a DBA specialty from being more frontend, I am very inspired by this


Thank you!

What resource(s) are you using for learning SQL and DBA concepts?

I haven't really thought about Kavla as being a learning environment, maybe you are onto something!


I personally love this development. Sure, I find some pleasure in writing code. But what I love most is mapping out a gnarly problem on pen and paper. Then the code is "just" an implementation detail. Guess I'm an ideas guy as per the author?


I'd say nothing has beaten the association rules + graph search I did for my thesis about restocking an automated picking machine in a warehouse (https://github.com/aleda145/product_allocation_aframe)

code: https://github.com/aleda145/product_allocation_aframe/blob/m...

I'm not proud of this code, but it yielded 0.2% better result than the naive approach!


Cool! What canvas engine are you using?


We’re currently using TLDraw as the canvas engine, primarily as an interim solution while we focus on CAD compute and 3D. Longer term, we want to move toward a Figma-style multiplayer approach


Oh, are you seeing any issues with tldraw and their sync engine? I'm running it on durable objects and it's been delightful so far


Been having a custom domain on Proton for almost 10 years now. No issues and I'm happy my Google sceptisism is now paying dividends


I'm working on https://kavla.dev/

It's an infinite canvas for analytics teams, like Figma + data

I'm currently working on making a better landing page, it's really hard to make a good one!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: