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

Any plan to update the GUI for conditional logic inside of automations? It's really clumsy to do IF/THEN or switch style constructions. Too much visual space and clunky overall.


We are working on the automations UI as we speak!

(this can also be seen on our roadmap update https://www.home-assistant.io/blog/2024/11/15/roadmap-2024h2... )


Just dumping an idea here:

In the past I've had issues with forgetting to add triggers for states that are used somewhere as a condition or switch. This leads to lost updates and frustation.

React state hooks, which I'm deeply familiar with, will result in a linter warning if any of their dependencies are missing. I'd really like something similar for automations.


Cool, thanks! Great work!


Have you tried using the NodeRed plugin? That’s worked really well for me


NodeRed is awesome. I didn't even bother with anything beyond very, very simple automations until I installed that.

For me the flow design feels very natural and is easy to modify and monitor. And it's pluggable with custom nodes so if functionality is missing you can add it in. Like I installed a node that handles OAuth2 so I can have it log into a web service and check a status page.


There's no such thing as a low energy rich country. Making energy expensive risks dooming Europe to poverty and eventual conquest.


We can solve the problem by continuing to burn fossil fuels, then there'll be nothing left to conquer.


Shutting down life as we know it is not a realistic solution, no matter how much you whine about it. Everything except subsistence farming now requires fossil fuels. It is not strategically possible for everyone to go back to that without massive depopulation. If the elites really believed this was necessary to save the planet, they would murder most of the world's population. I can't say that isn't in the cards, but it isn't obviously happening. You should be glad that people with more information and power than us do not believe the worst-case scenario crap they push on the masses.


Apparently warming is compounded by the eruption, low sulphur shipping fuel rules, low amounts of Saharan dust and changes by El Niño according to this:

https://www.carbonbrief.org/analysis-how-low-sulphur-shippin...


It would seem then that this year is yet another early warning sign. Perhaps we got lucky to get a glimpse of what is coming and in a sane world, this would motivate us to finally take real and significant action. Unfortunately, the last few years have demonstrated that we clearly don't live in a sane world and of course, we'll ignore this warning too.


Back in the day I played a prank on a fellow sysadmin by adding an 'echo "sleep 1" >> .login'

Took him a week to figure it out, he was not pleased. :)


Regardless of POS changes, my algorithm has not changed:

if (Pay after eating || delivery of food) then tip else notip

Suck it POS vendors.


Charging network is the big one, the degree of which would vary based on your location.


5 over 1 construction. https://en.wikipedia.org/wiki/5-over-1

It's awesome, it should be everywhere.


I live in one, it isn't that awesome. Lots of noise from neighbours, but the worst thing is the big fire hazard. The risk of fire means there is a lot of sprinklers everywhere which regularly get damaged and leak everywhere. Usually every 2-3 years in our building a sprinkler pipe will get broken or leak will appear and destroy a few units.


There’s some massive variance in 4-over-1 and 5-over-1, with newer units very much built to a price.

I lived in one in Boston that was 4 total floors, actually all steel framed (so not really a 3-over-1), polished concrete floors in every unit, and built to the tune of $55M for ~150 units. Was intended to be condos, bottom fell out in 2007/2008, so it was rezoned to apartments. Dead silent in the over 8 years I was there. I must’nt of been the only one that thought it was good — there was a notable rapper as my next door neighbor, and a Stanley Cup winner in another hallway on my floor. I moved in when the market bottomed out, and paid like $1700/mo for years (moved out when it went up to $2450). I think it’d be ~$4000/mo now.

The newer ones though? I’ve heard of sub-$20M costs for similar number of units. They leak not because of the sprinklers, but because the general waterproofing and roofing is beyond awful, and just cost-cutting everywhere. I talked to some maintenance folks that had been to several new ones owned by the same company as the $55M one: “They don’t build them like that anymore. If they did, we wouldn’t be dealing with constant problems.”. Talk up your maintenance folk — they’ll be more than happy to vent about your building’s issues.

So the issue is building things to a price, knowing some people will pay because the vacancy rate is one of the tightest in the country.


It's also a matter of information asymmetry. Most potential renters or buyers don't have a good way to check for construction quality and interior noise levels. Even an independent pre-purchase inspection doesn't tell you much beyond really obvious problems. Customers aren't willing to pay more for higher quality because they can't easily determine quality, so most developers will go with the cheapest possible option and then slap on some granite countertops to make it look nice.

This could be addressed through stricter building codes. But that would drive up construction costs at a time when we already have a housing shortage in many areas.


Another fix would be to independently measure noise isolation and report that, so renters can actually make decisions based on it, and builders would have an incentive to include it, since they could more reliably charge more for it.


Someone should do that with good branding. Sorta like carfax. Call the Zillow Report or find a similar firm. License the standards and a saas interface to Inspectors to have another revenue stream (or maybe more broadly to contractors). Then it could become a defacto standard, especially if you get in with real estate agents.


I've lived in multiple of them, and they were often about the same or better than more "traditional" apartments in the area. Usually way lower energy costs than the traditional units. About the same amount of noise for a given build quality, it mostly depended on who lived in the neighboring units.

There were sprinklers in every apartment I've lived in. Building codes in my area require them in any structure with multiple households sharing the structure. Townhouses, apartments, commercial buildings, etc. all have sprinklers everywhere. It doesn't matter if its a high rise or a duplex, if it was built since like the early 90s its got sprinklers.


The issue with the modern apartment building noise, in my estimation, isn't wood construction (which is commonly blamed), but ducts. The double-loaded corridor requires extra ventilation per fire code. The demand for central air conditioning implies ducts. A properly designed double-stud wooden wall can have a Sound Transmission Class higher than 60, but a small hole in a wall can cut the STC by as much as 30. The presence of a large void in the wall (duct) could severely reduce the efficacy of the sound insulation.

http://en.wikipedia.org/wiki/Sound_Transmission_Class#Sound_...

The apartment buildings I've lived in without central A/C (in Atlanta and San Francisco) were consistently quieter than the ones with central A/C. Underfloor radiant heating and wall A/C units might be a better way to design apartment buildings. Removing climate control from the access corridor and letting it vent to the outside would reduce the need for sprinklers and complex ventilation. This is slightly less energy efficient, but apartment buildings are already way more energy efficient than houses, and anything that makes apartments more livable can increase the efficiency of the whole society by increasing people's willingness to live in apartments.


You shouldn't be sharing any air with you neighbors, so I doubt ducts are to blame. You can build highly sound-proof timber-framed walls, but most people don't because it's more expensive. Like everything in modern construction, the cheapest permissible option usually wins.

> The apartment buildings I've lived in without central A/C (in Atlanta and San Francisco) were consistently quieter than the ones with central A/C.

When were the units built?


> You can build highly sound-proof timber-framed walls, but most people don't because it's more expensive. Like everything in modern construction, the cheapest permissible option usually wins.

Especially when reduced cost is the reason mid-rise wood construction became popular in the first place.


I don't think it's about sharing air. It's about the duct being in the wall at all.


You can puts ducts in a soffit so they don't necessarily need to be inside the walls. I've lived in two apartments with ducts inside soffits. Both were still very loud.


A soffit must necessarily pass through the wall. Unless it is well-designed, it could cause the same problem.


It passes though a wall, but not necessarily a wall you'd share with a neighbor typically. For instance, in my apartment we had an in-unit air handler with soffits running long the ceiling. We could hear every step on neighbors made. Most building codes require fire separation between units, so you generally wouldn't have duct work running through walls like that as it'd be a path for fire to spread.


How old was the building? Currently I'm in a noisy building — it was built in 1890, before rock wool was invented, to say nothing of fiberglass. It definitely tracks that floors tend to be worse than walls (especially bad with Euclidean zoning that encourages low ceilings and thin platforms).


The building was built in the 90s. Ultimately, the construction was very cheap.


>When were the units built?

1962 (Atlanta) and 1978 (San Francisco).


Actually its a good thing about our condo is independent heat pumps per unit so everyone gets their own air handler and ducts. Its expensive to replace each one individuall though.


I think the issue is that the people building wood apartments aren’t the same people who care enough to ensure there are no small holes in the wall.


Likewise - I've lived in these 5 story things and in proper high rises, and there is no comparison. It's likely that the 5 story buildings could be built to the same standard as a high rise, but there is little incentive for the builders to do so, and instead they're absolute lowest bar of quality.

Just the elevator speed makes a huge difference: I could get to floor 18 of the most recent high rise I lived in quicker than floor 3 of the mid rise.


IIRC sprinkler systems are just code now for all residential construction. Even new build single family homes must have them.


California code requires this when the SFH is 3,600 sqft or larger.

https://library.qcode.us/lib/temecula_ca/pub/municipal_code/...


How new? I've never seen a sprinkler in a SFH, including one I was in built ~2018-2019.


https://www.dalkita.com/sprinklers-in-single-family-resident...

> Surprisingly enough, sprinklers have actually technically been a requirement in all single family homes per the International Residential Code, since 2006. Regardless of home size, location, or construction type. IRC 313.2 states:

    R313.2 One- and two-family dwellings automatic fire systems.
     An automatic residential fire sprinkler system shall be
     installed in one- and two-family dwellings.
> Period. It's just simply required. Only exception is for alterations or additions to existing building without sprinklers.


Your link seems to suggest the opposite above that quote.

> They base the need on distance to nearest fire house and nearest credible fire hydrant.

So there are obviously situations where SFHs do not need automatic sprinkler systems.

Most of my subdivision was built after 2006; none of the homes have sprinkler systems but there are also fire hydrants every 5 or 6 homes so I imagine that has something to do with it. The fire house is also a ~90 second drive down one street (at the speed they'd be going).


Possibly... and also the next bit:

> So, why don’t we see every newer house since 2006 with sprinklers? Because most jurisdictions amend their local codes to delete this requirement. Only CA, MD, & Washington DC now keep this requirement.

> Most jurisdictions delete this requirement for various reasons, but the obvious one is the uproar it causes from citizens, builders, etc , because with this new requirement, comes increased cost.

So while its in the building code, local codes may relax that.


yeah—I feel like this is something that can be solved by code modification to expect better. 5-over-1's are already min/max'ing code, so if they're fire hazards, then we should expect cities to rein it in. Safety shouldn't be what makes 5-over-1s fail.


I would like to live in one instead of my current situation but the noise is what is concerning. Newer units should be more quiet than past buildings. I don't know what modern building techniques they use, if any, for sound isolation. Are there airgaps? I'm guessing no concrete slabs between floors? To me it seems like it's the difference between a high rise hotel/apt where it's like a tomb in the room and a smaller building that uses less expensive/more robust material and you can hear much more from the outside and your neighbors.


I'm sure it varies a bit, but generally not good in my experience. Except between the ground floor (usually retail, lobby, parking, etc...) and above everything is wood, no concrete slabs. They typically use the cheapest, least sound isolating materials so neighbor noise, both through walls and floors, is very noticeable. It's a bit jarring because they are modern and not usually low cost, but isolation is much more like the smaller building since they share more construction techniques with a cheap two-story row apartment.


> and not usually low cost

> they share more construction techniques with a cheap two-story row apartment.

Low in cost, high in price, builders love it.

I discussed this issue a bit with someone who worked for a company that focused on affordable housing, and he told me a "joke": what's the difference between a regular condo and a luxury condo? The price.


Yeah I lived in one (in the Domain in Austin) and one thing that bothered me about the noise, was that I would hear it from the unit above me through my side wall. That is, if they played loud music or talked loudly, it sounded like it was coming from the side, not from above. (Specifically, the side that was the end of the building and didn’t adjoin another unit. I was on the first floor.)


I've seen multiple condos in San Francisco in 5 over 1 that have perfect sound insulation, generally they're on busy streets though (and thus you don't really want to live there).


In most buildings there is no concrete between walls but floors have a ~1 inch layer of lightweight-concrete, I think for fire resistance, its not solid so you hear every footprint.


The Seattle area is full of them. I've also been seeing 5 over 2 over 1 (?) where there are 2 floors of parking sandwiched between the housing and stores. One floor is for residents, while the other is for guests and shoppers.


It would be nice if they could make them look good. The examples in that article are hideous. Sad that beautiful towns will have to take in such awful architecture because it's relatively cheap to construct and will get the builder through warranty. But it isn't based in any historical standard, just a post-modern hellscape. Especially that one in NJ - it's just the worst thing I think I've ever seen.

They should at least make the facades respect a standard sort of like how they do in England and parts of Europe.


Personally I think they look pretty good.

The really ugly buildings, at least in San Francisco and Oakland that I'm familiar with, are where they take a single family house and chop it up into a bunch of little apartments. It's such an illogical abomination. From the outside you have a bunch of doors stuck in crazy places, kind of a "shanty town" vibe. From the inside all the rooms are weirdly shaped and extra plumbing is stuck in where it doesn't make sense.

It reminds me of the old joke about C++, that it's like designing an octopus by nailing extra legs onto a dog.

Anyway, I would like to see all of those replaced with something-over-1 apartment buildings.


Oh no I completely disagree. SF has some of the best dense architecture IMO. Duplex/triplex/etc townhomes give density without having big overwhelming buildings. It means you don’t have big stretches of road without variance or entrance in the building you’re walking against. It also often gives garages and small backyards which a lot of people want.

I will agree that it means there’s a lot more individual maintenance required with more facade space having more owners. So poorer neighborhoods look… poorer.


It's especially bad if affordances for green space aren't taken into account. New York City, for all its problems, has done an excellent job of ensuring that there are trees and parks basically everywhere, combined with generally wide sidewalks, which makes the endless rows of 3-5 story apartment buildings feel comfortable to inhabit.


I agree in part but it doesn't take much design-wise to make them blend in smoothly from what I'm seeing. At least when theres a lot of trees around maybe?

Anyway the real postmodern hellscape kinda seems like its the homelessness thing more than the too much housing in walkable mixed-use zoning thing.

But again, I hear you on the architecture.


Yeah the first one in Austin was nice to see the semi-mature trees. Makes a huge difference and one of the reasons living in an old town with mature trees (and a well financed program to plant and maintain) is so awesome. Walkable things are awesome. And it's even more awesome when you're walking into a denser part of town that actually has nice looking buildings that don't look ridiculous.

Build but build smart and build beautifully. A beautiful environment is super important to the mental health of a community. We should surround ourselves in beauty.


[flagged]


[flagged]


[flagged]


[flagged]


[flagged]


[flagged]


[flagged]


[flagged]


Yikes, this sort of tit-for-tat spat is definitely not ok on HN and both of you broke the site guidelines terribly. We ban accounts that do that, for reasons that should be obvious.

I'm not going to ban you right now because I realize that everyone gets snagged by the internet sometimes. But please review https://news.ycombinator.com/newsguidelines.html and please don't do this again!

Edit: you've been breaking the site guidelines repeatedly lately, e.g.

https://news.ycombinator.com/item?id=34995923

https://news.ycombinator.com/item?id=34952858

https://news.ycombinator.com/item?id=34952847

and we've warned you many times before:

https://news.ycombinator.com/item?id=30875199 (April 2022)

https://news.ycombinator.com/item?id=28375396 (Sept 2021)

https://news.ycombinator.com/item?id=26880561 (April 2021)

https://news.ycombinator.com/item?id=24947609 (Oct 2020)

https://news.ycombinator.com/item?id=21590070 (Nov 2019)

https://news.ycombinator.com/item?id=17895283 (Sept 2018)

https://news.ycombinator.com/item?id=9097980 (Feb 2015)

If you continue like that we're going to have to ban you, so please fix this.


[flagged]


Yikes, this sort of tit-for-tat spat is definitely not ok on HN and both of you broke the site guidelines terribly. We ban accounts that do that, for reasons that should be obvious.

I'm not going to ban you right now because I realize that everyone gets snagged by the internet sometimes. But please review https://news.ycombinator.com/newsguidelines.html and please don't do this again!


That's fantastic and yeah that's exactly what I'm seeing in Sacramento!


They are garbage, and ought to be banned.


Its one thing to not like a style yourself, its quite another to say nobody else should be allowed to have it either.


It's probably possible to build a quality 5-over-1, but I haven't seen it. Poor-quality insulation, cheap sheathing and poor sound insulation inevitably leads to fast depreciation.


Still, if 5-over-1s were banned, you'd just see the next cheapest option built to similar standards. The issue is quality control, not the architecture itself.


Yeah, I'd ban them by making quality standards high enough to eliminate them. Politically connected contractors working through YIMBYs will never let that happen.


Why do you assume to know best about what should be everywhere? This thread gives examples of how this is the only level of density that is even being allowed, but why cheer that? People, when left to their own devices, have generally preferred something like von Thunen rings, rather than a single level of density. Letting such decisions play out organically ought to be the default position, unless you have some very strong non-aesthetic reason to do otherwise.

https://en.wikipedia.org/wiki/Johann_Heinrich_von_Th%C3%BCne...

https://en.wikipedia.org/wiki/Concentric_zone_model


> People, when left to their own devices, have generally preferred something like von Thunen rings, rather than a single level of density.

Citation please. The US can’t be used as an example because zoning laws have enforced strict single use zones for many decade. When you look at Europe which never had such zone if laws, you don’t find clear cut zones, or such clear cut concentric rings of density.


Have you met my cousin Barry? He does pretty much the same thing, though in a less formal way.

Barry is still sentient and can perform quite a few tasks quite admirably. I still wouldn't use him as a sole source reference for obscure facts however.

(I don't actually have a cousin Barry, this is for illustration).


No, actual human beings don't generally lie to your face like this about whole sets of facts. That would be pathological behavior.

They usually just say they don't know, or they think it might be X but they're not totally sure.

People sometimes lie when it's in their self interest for various reasons, e.g. where they were last night, or when writing an Op-Ed or on the campaign trail, but not just lying willy-nilly about regular facts when asked a normal question.


They may not do it to your face (though some will). But on the internet there are a bunch of people that will lie to you. Even worse they often do it for financial or social gain.

ChatGPT's motivation is simply that it was trained to do so. Huamns usually have more nefarious motives for their lies.


You haven't met a bullshitter then. ChatGPT can be a bullshitter. We built a bullshitter.


Notice that we don’t have Barry fielding a public Q&A so that he can share his knowledge with the world.


Lots of Barry's out there, one of them even got elected president and shared his knowledge with the world quite widely. Half the people took him credulously.

Point being, yes the LLM loves to make shit up. Lots of people dismiss it as a result. It's still bloody impressive, we just need to be aware of its limitations.


> Half the people took him credulously.

I get that the current US president is senile. But that sets a low bar. Why do we need to pretend something is good if it’s as shitty at facts as some people? People want something that’s better and more trustworthy.


A low bar? You're saying if someone recreates an AI that imitates biden or trump perfectly that we failed to do anything impressive?

Talk about self denial. chatGPT literally passed the turing test and people are still literally just thinking it's just a probability word generator.

It's more then just a word generator.


I went to Twitter and read what ML scientists say. They don’t think it’s anything like a layperson imagines it to be(I’m also a layman when it comes to LLMs). But it’s an impressive technology IMO. I just think we don’t know all the limitations and strength yet because there’s a vocal majority that suffers from survivorship bias.


They're just telling you how LLMs work. Anyone can understand the underlying algorithm with a bit of study. It's trivial.

Nobody is understanding the high level emergent effects of LLMs plus training. What the ML scientists say has as much credibility as a lay person in this regard.


You think ChatGPT isn't good because it bullshits some times?


I think it’s a wrong question to ask. It’s an impressive piece of technology for which people are trying to find use cases. But the right questions are: 1. What are the tasks where LLMs out-perform humans, or, at least deliver similar performance? 2. Are LLMs more efficient in these tasks?


I'd rather a senile president than sub-100 IQ megalomaniacal sociopath, but YMMV.


The balloon last week could have easily been an order of magnitude more expensive than the AIM-9X. It was hundreds of feet in diameter with a suspended gantry with a multi-kw solar array. You don't put that much solar on to power nothing, so presumably there was a ton of military grade comms equipment on it.


Left out the last E there...


that is right, with open source there is no last E


That's why Edge's user agent lacks "e": Edg/111.0.1660.6


oh wow thats not a joke

Mozilla/5.0 (Macintosh; Intel Mac OS X 13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/109.0.1518.78


Oh? Were can I get the source and compile Edge myself? Perhaps you've mistaken open source for Free Software.


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

Search: