MurphyA/hacker-news huggingface dataset:
Show HN: Penpot MCP Server
by jmrobles | 2025-06-01 17:41:09+00:00
Hey HN!

Excited to introduce Penpot MCP—a server designed to bridge the gap between design and development. Seamlessly integrate AI models with Penpot to automate the design-to-code process.

Penpot is awesome, a true Figma open-source alternative with interesting features such as W3C standards and design tokens in the core.

Configure Cursor IDE: Add to your Cursor config: { "mcpServers": { "penpot": { "command": "uvx", "args": ["penpot-mcp"], "env": { "PENPOT_API_URL": "https://design.penpot.app/api", "PENPOT_USERNAME": "your_penpot_username", "PENPOT_PASSWORD": "your_penpot_password" } } } }

Requesting Your Feedback!

I’d love to know how Penpot MCP fits into your design-to-code workflow. Share any feedback or improvement suggestions you might have!

Looking forward to your insights and comments!
by cubefox | 2025-06-01 17:41:38+00:00
Modern optimized path tracers in games (probably not Blender) also use rasterization for primary visibility, which is O(n_triangles), but is somehow even faster than doing pure path tracing. I guess because is reduces the number of samples required to resolve high frequency texture details. Global illumination by itself tends to produce very soft (low frequency) shadows and highlights, so not a lot of samples are required in theory, when the denoiser can avoid artifacts at low sample counts.

But yeah, no way RenderFormer in its current state can compete with modern ray tracing algorithms. Though the machine learning approach to rendering is still in its infancy.
by troupo | 2025-06-01 17:42:01+00:00
> Should I really try Andor after all the bad stuff Disney made?

Andor (at least Season 1) is very slow, boring, suffers from "static heads talking at each other" cinematography of modern movies [1], main character is just not a great actor.

All that said, it's definitely worth a watch:

- most, if not all, major characters (apart from the protagonist) are very compelling, chew through every scene they are in, and are great matches for their parts

- Empire is finally shown as a proper huge, relentless, uncaring bureaucratic machine it must have been. Run mostly by efficient ruthless bureaucrats.

- Rebels are not angels, are not a single conformist mass of do-gooders

- The dialog is mostly great

It's a much better show than Mandalorian. It's arguably the best Star Wars after the original trilogy.

[1] Most modern productions are incapable of shooting "walking and talking at the same time". Most modern movies and TV shows have actors placed against each other rigidly, with not a hint of motion, as they say their lines at each other
by B1FF_PSUVM | 2025-06-01 17:42:36+00:00
> if your kids aren't very interested or ready for that kind of knowledge now

Roger that. I showed some Python magic to a pair of 10 year (or so) olds, they weren't too thrilled. Also Lego (my childhood magic) didn't do much for them. But they liked Minecraft well enough...

One of them is now an engineer, slinging C and Python as needed.
by karthikb | 2025-06-01 17:43:05+00:00
> As an FYI, we _do_ use Figma Slides internally for pretty much everything

I think this is part of the issue. How much of the internal use stays within the editor view? Do you have any internal stakeholders who won’t click a Figma link and instead want a PPT or PDF? Because those are normal requests for presentations - but not ones that you’d find with internal use.

For example, there needs to be a way to export to PDF that’s less than several hundred MB. And the PPT export is hopelessly broken - the outputs look like a clipped ransom letter.
by primitivesuave | 2025-06-01 17:43:09+00:00
I taught kids how to code for several years, both in person and through a website that taught Python to ~500k kids. My eternal advice with teaching CS is to delay abstractions as long as possible. Teach them how to draw a circle on a canvas, then get them to move the circle to different parts of the canvas, then get them to draw multiple overlapping circles/rectangles/etc. Once you've got that down, make a bouncing ball animation, simple games, and so on. Most kids don't really care for leetcode problems these days, so it's best to stick to things that are visual, creative, and instant-feedback (i.e. games).

This was a really useful realization when I was teaching kids to code in person for ~5 years. I started off teaching Java with an abstraction layer (https://www.bluej.org/), but I found that many students would be intimidated by anything that ventured outside of the abstraction (e.g. just run `javac` on your computer with a `.java` file). My most successful students intuitively understood how to turn a text file on their computer into a useful piece of compiled code, or into a JAR bundle that they could share with others. They also used the various abstractions that were thoughtfully introduced over time - e.g. an IDE that gives you a run button, libraries like Firebase which enable some exciting multiplayer game options, and so on.
by SoftTalker | 2025-06-01 17:44:43+00:00
Who guided you? If you're like me, nobody. I was exposed to BASIC as my first programming language, and I just started doing stuff that seemed interesting. My school offered a few "computer math" classes as they were called at the time, which I elected to take, but nobody pushed me into it.

Give the kid some programming tools and leave him alone. Be there for questions, and brainstorming if he wants it. Otherwise let him figure it out. He'll shoot himself in the foot, and maybe get discouraged but if his interest is deep enough he'll persist.
by v64 | 2025-06-01 17:45:00+00:00
Formalization of many of the ideas from HoTT are currently happening in the Agda community. [1] It's out of my wheelhouse, so I don't know the exact motivations, but Agda is apparently a better way to formalize those ideas than in Lean.

Also, there's a new textbook coming out later this year that's a more modern update to the original HoTT book [2] which also has an Agda formalization. [3]

[1] https://martinescardo.github.io/HoTT-UF-in-Agda-Lecture-Note...

[2] https://www.cambridge.org/core/books/introduction-to-homotop...

[3] https://github.com/HoTT-Intro/Agda
by parpfish | 2025-06-01 17:45:31+00:00
When people say that consciousness is “an illusion”, I think they mean to say that the illusion is that consciousness has the ability to direct our actions and the consciousness is an epiphenomenon. Our body processes sensory inputs and convert them into look actions (including speech) all on its own without a conscious decision maker directing anything or making decisions. the experience of consciousness is us just going along for the ride like a Maggie Simpson playing with her toy steering wheel in the simpsons intro
by atoav | 2025-06-01 17:45:43+00:00
This is btw. what I hate with so many modern RPGs, you are a nobody but within 5 minutes of playing you are already extremely awesome and look like a shiny knight on a white horse.

Let me run around with a rock and a stick for the first hour. Then give me a sword that looks cheap but I will cherish it. Then take it away. Let me earn it when I am awesome in the end.

To many games treat you like a toddler that wants shiny things. Yeah I want shiny things, but I want them when I deserved them. Similarily, yeah, I want powerful heros, but they have to earn it as well.
by ALLTaken | 2025-06-01 17:46:13+00:00
Exactly my experience too and it's soo annoying. It doesn't matter how you prompt it or what your system prompt is. It tries to end the session as early as possible, claiming to have fulfilled everything. Although it just causes more work for the user, less for itself. The tokens saved are easily multiplied by the amount you have to prompt it again.

This I experienced partially in DeepSeek since their recent update too, not as aggresively as in Gemini 2.5 Pro, but similar lazyness or cleverness, if you may call that clever.
by lucumo | 2025-06-01 17:46:24+00:00
Yeah, recordings are fine for those who missed it. And with video conferencing recording is so easy that you might as well do it, living the motto "better to have it and not need it, than to need it and not have it".

But when someone specifically asks for slides, it just feels like a dick move to say "you don't want the slides, rewatch the whole presentation instead".

Sometimes you're just looking for the link on slide 45, the pithy problem description on slide 5, or, y'know, you just want to quickly go through the main points again.
by twoodfin | 2025-06-01 17:48:05+00:00
My main (mild) criticism of the now-complete Andor->Rogue One arc is that it only put its toe into the waters of the Death Star.

Giving that concept a thematic heft well beyond its Flash-Gordon-supervillain origins appeared “fully armed and operational” in the story, but in the end it barely rises to subtext.
by mrandish | 2025-06-01 17:49:40+00:00
> a failure of young people to study history

The good news is that not only was almost all of it preserved, teenagers today are really interested in retro gaming. My 15 year-old daughter, who's not into computers more than any other 15 year-old girl, just asked if she could go with me to the vintage computer festival this Summer. She tells me her friends at school are all interested in running emulators to play classic games from arcade to SNES to PS2 and N64.

I guess the 'dark lining' to that silver cloud is that this interest from teens in retro gaming is partly thanks to the increasing downsides of modern gaming (cost, DLC, ads, hour-long download/installs, etc). While game graphics continue to get more and more impressive, stuff like real-time path tracing doesn't seem to excite teens as much as does me. Ultimately, it's about game play more than visuals. Lately I've been exploring the immense back catalog of N64, PS2, PS3 and x360 games via emulation and there are some incredible gems I never even heard about back in the day. It's especially great now thanks to the huge variety of mods, enhancements, texture packs, decompilations/recompilations and fan translations. And current emulators can upscale and anti-alias those games even on a potato desktop or laptop with a low-end discrete GPU.
by ALLTaken | 2025-06-01 17:49:42+00:00
I met a Googler when I was in Dubai for an event and he shared that he and others had access to LLMs internally for many years before it was made popular by OpenAI.

I know Google has an internal AI everything policy, maybe they internally have awesome tools to rearchitect everything based on diffs and in the typical google way they adapted it to their own internal tools. You know, Google.. like they don't give a damn about the user, the product design or actually anything other than profit/roi.

So many great discontinued products.. I think they killed RSS.
by reynoldsbd | 2025-06-01 17:50:08+00:00
I’ve found that good logging/tracing discipline can play an important role here. For example, my team has a guideline to put a debug! message before blocks of code that are likely to fail. Then if something goes wrong, we can dial up the logging level and zero in on the problem fairly efficiently. With this model, we don’t find the need to use any third party error framework at all.

In the abstract, we are basically treating the error as a “separate thing” from the context in which it occurred. Both are of course strongly related, however the way some of these error libraries try to squash the concepts together can be quite opinionated and doesn’t always facilitate smooth interop.

Not saying this is the only way to deal with errors, but it’s just one way of thinking of the problem that I’ve had pretty good success with.
by jpease | 2025-06-01 17:50:24+00:00
I would’ve expected better sarcasm detection from this audience.

But, since jokes are best explained:

The opening assertion is one that mimics the toilet hygiene practices of many, but recasts it in a scenario that the reader is likely to find repugnant and evoke a reaction.

The second statement draws the reader’s attention back to the topic at hand, with that fresh strong feeling.

The reader may then make the connection that if “a few wipes with paper towel” is not good enough in scenario A, then the argument is that it is not enough in scenario B.

Others would downvote.
by neilv | 2025-06-01 17:50:31+00:00
> Knowing fundamentals is always useful, but learning to collaborate with an AI is probably the more important long-term skill.

How difficult a skill is "collaborate with an AI" that it can't be picked up quickly at any time (and will be changing rapidly)?

And how permanently stunted is a person who always "collaborated" and never had to think.

> I’ve been focusing on fundamentals like logic, structure, and problem-solving.

These are good. And exploration, and having fun.

> CS fundamentals

You can gently drop CS-ish ideas, or more sophisticated programming ideas, as the kid is ready. For example, they're blocked on something they're building, and can't go any further, because they're trying to do everything as code with not enough data. So you show them what could be data, and what language feature enables that, and suddenly their code looks a little more sophisticated, and a lot less repetitive.

If they keep going, eventually they will want to frontload learn all the CS things. Not for Leetcode interviews, nor for whatever job-gatekeeping atrocity is made up next for people who also have to interview-prep to fake "passion".
by giantg2 | 2025-06-01 17:51:25+00:00
I think the even more hidden thing is that taxes are more about policy than revenue. If it was just about revenue, then they would tax it at the source - income tax on people and companies. But just imagine the reaction people would have when 50% of their paycheck was gone. They even hid the cost of social security and Medicare by making the employer pay half so it doesn't show on the paycheck. Break it up and people don't add it up and you can use it to control their behavior on different subjects.
by kens | 2025-06-01 17:51:56+00:00
Yes, some comments make me wonder about other people; I have three hypotheses: a) Some people experience consciousness very differently, similar to how some people have no mental imagery (aphantasia). b) The confusion is due to ill-defined terms. c) People are semi-trolling/debating/devils-advocating. The most interesting would be if people have widely different internal experiences, but I don't know how you could tell.

I read an interesting book recently, "Determined", which argues that free will doesn't exist. It was more convincing than I expected. However, the chapters on chaos and quantum mechanics were a mess and made me skeptical of the rest of the book.
by ThunderSizzle | 2025-06-01 17:52:49+00:00
Everyone is a monster, that is true. And I agree that anyone can _kill_ in the right circumstance (e.g. self defense, etc), but I strongly disagree that any disciplined moral character will easily become a murderer overnight.

However, the part you miss is the keyword discipline. To be discipline in morality means that you are aware you can be a monster and you actively choose not to be, even if it means what appears to be a negative outcome for you, relatively speaking.

Morality isn't free. It's not easy, and it requires diligent practice, aka it's a discipline.

By the time your in college, you should have enough discipline to not cheat. If you don't, you have a very untrained conscience.
by ALLTaken | 2025-06-01 17:53:39+00:00
I made a video of it with a friend. The repository is of a large corporate automative industry company. I also have my own private repositories which were always private and OpenAI printed my files in the first prompt. When I prompted again it acted as if it didn't know. But my friend tried on his account and could access the Corp and my private repository without ever being linked.

The Corporate repository was of Volkswagen. It's quite serious of a breach. I only gave it the name of the repository and it printed the files, which shouldn't be possible.

Maybe OpenAI exploits Microsoft to access GitHub fully to train their AI on all of humanity's code for free, violating privacy, security, IP and copyright.
by lucumo | 2025-06-01 17:54:18+00:00
> Your argument could just as easily be phrased: "What do you expect people to do with that? Click through and read every slide?"

I've had considerable practice at reading. Learned it at a young age, and I got to be pretty good at it over the years. I can get through a slide deck much faster reading it than watching a presentation.

Thank you for pointing out that watching the presentation and clicking through the slides takes you just as long. I assumed most people were at my level of reading speed. It must've been hard coming forward like that. I'm sorry I made you go through that. In the future I will check my privilege.
by _DeadFred_ | 2025-06-01 17:54:30+00:00
This is such a current era comment.

Vast conspiracies? Check. Ignore that creators now are audience captured in a way worse, way more manipulative of the outcome, and way less free for the creators then previous capture, check. Ignore that 'unpopular manufactured' previous mass culture was popular, mass culture, check. People literally talked around the water cooler about 'did you watch XYZ'? Did you got see XYZ movie yet?

Your argument makes sense if you had no experience with the past and sounds plausible. It would be perfect for a Youtube video, especially one for someone audience captured by a 'we know the truth' type audience. They would eat it up.
by AndrewKemendo | 2025-06-01 17:54:58+00:00
Father of three here (ages 11-15)

I teach them the following:

1. Goal determination - what do you want to do?

2. Context mapping - What is the environment and action space we’re operating in?

3. Problem decomposition - Given The previous how can I chunk the overall space of action into measurable and manageable parts to solve

4. Tool selection - what effector systems can I access and can they solve the subproblems?

5. Structured solution exploration - Now that I know my goal, context, problem heirarchy and tools, how do I create experimental system to progressively solve each subproblem and the intersection between them

Then it’s just running that until you have a solution

This transcends “coding” to more important thing which is holistic alignment of goal (direction) and action capabilities (magnitude) that results in a measured action vector which is discrete and bounded.
by ninetyninenine | 2025-06-01 17:55:45+00:00
> So the definition of causes for clinical trials and medicine hinges on more than just turning on and off, it relies on effect size and population size in the experiment.

Of course. Because the clinical trial is statistical so the basis of the trial is trying to come to a conclusion about a population of people via a sample. That fact applies to both correlation or causation. Statistics is like an extension from person to people… rather then coming to a conclusion about something for one person you can do it for a sample of the population.

Causality is independent of the extension. You can measure causality against a sample of a population or even a single thing. The property of inserting yourself into an experiment still exists in both cases. This is basic and a simple thought experiment can determine this.

You have two switches two lights and two people. Both people turn each of their respective switches on and off and the light turns on and off in the expected pattern exactly like the state of the switch.

You know one of the switches is hooked to the light and “causes” the light to turn on and off. The other switch is BS and is turning on and off on some predetermined pattern and the person that’s flipping the related switch memorized the pattern and is making it look like the switch is causative to turning on or off the light.

How do you determine which one is the switch that is causative to the light turning on and off and which switch isn’t?

Can you do it through observation alone? Can you just watch the people flip the switch? Or do you have to insert yourself into the experiment and flip both switches randomly yourself to see which one is causal to the light turning on or off?

The answer is obvious. I’m sort of anticipating a pedantic response where you just “observe” the wiring of the switch and the light to that I would say I’m obviously not talking about that. You can assume all the wiring is identical and the actual mechanism is a perfect black box. We never actually try to determine causality or correlation unless we are dealing with a black or semi black box so please do not go down that pedantic road.

You should walk away from this conversation with new intuition on how reality works.

You shouldn’t be getting to involved in mathematical definitions and details of what involves a clinical trial or pedantic details and formal definitions.

Gain deep understanding of why causality must be determined this way and then that helps you see why the specific detailed protocols of clinical trials were designed that way in the first place.
by deepsun | 2025-06-01 17:55:58+00:00
My experience also shown that Python, being considered "simple", is actually harder for students to learn. Things I took as obvious are not for first time coders:

Ok, so spaces and indentation matter. How many spaces exactly there should be around `=`?

`a[1]` -- does it fetch something or does it modify something?

`for k, v in a.items():` or `for i in range(10):` -- waaa? How many spaces there should be?

What do you mean my Python script doesn't run, you see I clicked it and it runs. What do you mean "interpreter"?

And the main issue -- types. I'm 100% convinced now that the first language must be strictly-typed, like Java, and don't use `var`, always use explicit types. Otherwise students don't think in terms of types, but "what I put there" like it can hold anything.
by ALLTaken | 2025-06-01 17:56:15+00:00
I like your thinking. Nobody can use ChatGPT offline or retrain it, but DeepSeek is fully opensource. It's technology, I don't care which country made it, if it's high quality engineering, it's just that. The data it was trained on doesn't matter if you can train a wholly new model using the exact same principles and stack they opensourced with your own data. Which is really awesome.

I use openrouter.ai to have no timeouts and offtimes, since DeepSeek seems to get DDoS attacks somehow, or there are too many users, idk.
by burger_moon | 2025-06-01 17:56:33+00:00
This is awesome. My partner runs events in Seattle and has talked about how there is a big need to do classes on teaching basic household handyman things but also her thing is turning events into social mixers for singles.

I just think it’d be great to teach people how to hang a shelf or clean the filter in a mini split, fix a flat tire on a car, etc. All the stuff I have to regularly do for people now. I may sign up to do some instructor led classes.

I love the idea of a tool library, I own more tools than I can use at this point.

However I think if I could get paid a monthly service fee to list my tools I’d do it, otherwise the replacement costs for people misusing or losing the tools would make it not worth it. A single socket goes missing and suddenly it’s $30 to replace, wipes out the sharing incentive.
by airstrike | 2025-06-01 17:57:26+00:00
I think the problem here is less about Figma Slides and more about the pervasive belief that things should be online-first, when reality is by definition offline-first.

That's why I'm building a slideshow editor that is fast, cross-platform, offline-first but also viewable online. I can't wait to share it with HN....soon