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

This shows a new open source VSCode extension called Stagewise that allows changing UIs directly in the app by selecting an element and adding a prompt: https://stagewise.io/

I've tried it with one of my apps and it works quite well.


I guess there are currently three decent alternatives: - Astro - React Router 7 (former Remix) - Tanstack Start

Astro has more focus on content based sites whereas the other two may also be used for web apps.


I guess Tanstack Start is also a very good alternative to check out https://tanstack.com/start/latest


Looks like a pretty good option thank you


Most heat pumps fall back to electric heating when it's too cold. So, on these few days you will need the same amount of electricity a typical electric heating will need.


This is untrue. Mitsubishi hyper heat units do not have this feature, and they’re the gold standard. I wish they did, though


Hyper Heat is a tech that is on multiple different models of Mitsubishi. All of the SVZ (ducted air handlers attachable to Hyper Heat or H2i mini-splits) do support (optional) electric resistance heater kits.


That’s correct, air handlers for ducted systems can absolutely have heat strips. That’s actually pretty standard. I have never seen one for a mini split though — can you share a link?


https://ces.mitsubishielectric.com/wp-content/themes/melco/a... documents the SVZ indoor unit's ability to have electric resistance heat and be connected to Hyper Heat SUZ outdoor units.

Whether you call that mini-split or not is up to you, but it's definitely a heat pump system that is Hyper Heat and supplemental electric heat capable, and getting down to one-ton units seems "mini" to me.

Mini-split means "smaller than conventional system ["mini"], condensor and evaporator are connected by long refrigerant lines ["split"]". It doesn't necessarily mean "wall/floor/ceiling indoor unit that has no ducts", though a "ductless mini-split" is the most common configuration of mini-split (because of the cheapness and ease of installation). https://zeroenergyproject.com/2022/03/09/what-is-a-mini-spli...


which spikes the electricity demand from the grid and puts it under the most strain when its most critical for the grid to stay up, which means the grid has to be overdesigned, which means that the air based heat pumps are a poor choice for a reliable grid.


I don't think this conclusion follows. It is true that variability is a challenge for grids, but it is not clear that it is better to trade more total energy usage (per useful unit of work) for less variability. Variability is certainly a challenge, but not an insurmountable one, and also one that must be faced regardless nearly everywhere, as solar power has become too cost-effective to be ignored.


The demand comes at the coldest part of the day, which is typically overnight, which is far off peek demand times.


The UK is rolling out smart meters to every property. In the past 2 winters (following on the Russian gas crisis), they have run programs that pay £3 per kWh reduced demand. This is a nice way to balance the grid during extreme demand.


> programs that pay £3 per kWh reduced demand.

That much? How do I get in on that?

My energy supplier's demand reduction scheme only pays £10/month total.


It's called the National Grid ESO scheme and you sign up through your supplier when it's open. However, some suppliers take a cut of the ESO payment. Alternatively, you can sign up to Uswitch Utrack (https://www.uswitch.com/mobile-app/), which passes 100% onto the customer. (Disclaimer: I used to work at Uswitch.)


octopus energy seems to be the best for energy i have seen so far in the uk alongside their smart tariffs https://share.octopus.energy/umber-squid-619


It depends on where you are. In many places worldwide, extreme cold is also generally quite clear from clouds unless you're literally in a storm, in which case, the high winds are just as likely to cause problems. Rooftop solar should be more than enough to offset your own usage.


In nearly all places extreme code means dark! Sure there are less clouds, but the latitude is high and so there are not only few hours of daylight, the earth's angle is also working against solar.


Isn’t electricity demand always going to be highest on the coldest days?


Just tried it and it's really fast. Have to run some benchmarking...

Helidon seems to have really little adoption. Anybody using it in production? What's your experience?


I've got like one API running it. It works pretty well. Developing with it was fun because of the novelty.


One of the most common web frameworks used is Spring Boot - here is their quickstart: https://spring.io/quickstart

Newer alternatives are: https://micronaut.io/ and https://quarkus.io/

If you want to have something really simple look at Javalin: https://javalin.io/


Seems like someone has already done that: https://github.com/withastro/astro.build/pull/730


And its been merged now haha. You can see the change too on https://astro.build/

It's awesome just how quickly this got addressed.


Seems like now, predators due to some padding with the number text, the bar chart is still not proportional (but in the other direction. 98 should be further out)


This page barely scrolls on my i7 MBP and Firefox.


Happy to help


Have you checked it on mobile? Now it’s skewed the other way due to the space reserved for the label.


I'm aware, this was actually an issue prior to my PR as well, but less obvious. I think this would need some more defensive CSS to maybe shift the label around to the inside of the bar? Or perhaps the labels are unnecessary (it is a p90 of an average of a ton of lighthouse scores after all, not like the number quantifies to much)

Edit: https://github.com/withastro/astro.build/pull/731


It seems to work around 25% of the time - seems like some mirrors have not all the files. It's quite strange that the same IP returns the file and then doesn't.

     wget https://nodejs.org/dist/v18.14.2/node-v18.14.2-linux-x64.tar.gz
    --2023-03-16 17:04:03--  https://nodejs.org/dist/v18.14.2/node-v18.14.2-linux-x64.tar.gz
    Resolving nodejs.org (nodejs.org)... 104.20.23.46, 104.20.22.46, 2606:4700:10::6814:162e, ...
    Connecting to nodejs.org (nodejs.org)|104.20.23.46|:443... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2023-03-16 17:04:04 ERROR 404: Not Found.

     wget https://nodejs.org/dist/v18.14.2/node-v18.14.2-linux-x64.tar.gz
    --2023-03-16 17:04:46--  https://nodejs.org/dist/v18.14.2/node-v18.14.2-linux-x64.tar.gz
    Resolving nodejs.org (nodejs.org)... 104.20.23.46, 104.20.22.46, 2606:4700:10::6814:162e, ...
    Connecting to nodejs.org (nodejs.org)|104.20.23.46|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 44201520 (42M) [application/gzip]
    Saving to: ‘node-v18.14.2-linux-x64.tar.gz.4’

    node-v18.14.2-linux-x64.tar.gz.4                      19%[=====================>


The issue seems to be resolved now


The C4 model (https://c4model.com/) is great for architecture diagrams. You can use different tools to generate them. Here are the ones I've been using:

- https://github.com/plantuml-stdlib/C4-PlantUML - https://structurizr.com/ (by Simon Brown, the creator of the C4 model)


It's okay, for software architecture. Really you should just have lots of different types of diagrams until you have enough to understand the system. There's no single type or form that will suffice.


I've looked at mermaid & planetuml before. structurizr is new to me and looks interesting.

PlanetUML has the advantage of gitlab support, iirc -- allowing rendering of diagrams in README files. I'd like to see more options for that.

edit: interestingly, the author of structurizr (Simon Brown) was recently linked in another HN thread.

HN thread - https://news.ycombinator.com/item?id=34338995

YT link - https://www.youtube.com/watch?v=x2-rSnhpw0g


Can definitely recommend at least trying structurizr. I'd recommend starting with structurizr-lite, which runs locally on docker and version controlling your work as you go.

Just starting to use it myself to document an existing system that few people understand and there is not a lot of existing reliable knowledge of. Doing this sort of task has so many benefits long term but can be painful in terms of getting started.

The combination of C4 approach, structurizr for diagrams, embedded markdown for detailed notes and version control is feeling like a great combination.

Having it version controlled helps a lot with collaboration and communication. I'm using PRs in order to get insights and corrections from others without the need for constant meetings/discussions.


If you missed it, the article does talk about C4


https://impress.js.org/ uses this extensively to create impressive presentations.


The experience on mobile is really jumpy if you try to swipe or pinch zoom.


Those animations are extremely janky on iOS (unsurprisingly)


It doesn’t matter if your slides are plain or not. No one ever thought a talk was good because of how nice the slides’ design was. What matters is having something actually worth giving a presentation about and presenting it effectively, which is all about your delivery and what you put on your slides (good: pictures, diagrams, etc… bad: walls o’ text).


Walls of text too often come with the monotone recital of that very text. But if you’re lucky, the speaker mixes up the order of bullet points or even forgets one which helps you keep your mind engaged and stay awake.


Nah we are animals and flashy movement draws our attention. It has a function.


Flashy movement draws our attention... away from the speaker and the content of the talk. Doesn't help.

Animation can be useful in very small doses if it helps to understand something that is dynamic in nature, but that's it.


That's impressive


Just like overused Powerpoint transitions, I can see this getting old quickly.


I've never seen this before, so not sure how it's normally used. But I like it a lot. Instead of randomly using transforms to add "flair" to your presentation, it looks useful for presenting multiple scales of diagrams in an intuitive way. It's like powerpoint + https://c4model.com/.


it looks like the opening credit sequence to some movie i've seen. maybe a tv show, but the point is that i saw it, it's recognizable, but did not make me remember the name of the show. so will using something like this make people remember your presentation content or just the fact you used some gimmicky effect


Doesn't it look a bit like the opening credits to "Last Week Tonight"?


Goodbye back button


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

Search: