Hacker News new | past | comments | ask | show | jobs | submit | GiorgioG's comments login

I’ve never bothered to look at the energy star label before or after purchase.

"I'm a climate-change not-care-er."

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


Not even when buying a high power usage appliance with a large range of efficiency like a fridge, water heater, etc? That’s awfully odd - because the spread on efficiency for such items can be huge. Before energy Star it was even worse with just crazy bad efficiencies and no transparency.

My home has a tankless water heater, which I appreciate for the unlimited hot water supply…and it’s probably saving me money too. Americans (myself included) have enormous refrigerators compared to Europeans…if we really gave a shit, we’d have fridges half the size we have today. We’d also hang our clothes to dry and might not even have a dryer at all. Way better for the environment…

Do you really believe that there were no enablers and puppet masters before this administration? Serious question, and this has nothing to do with claims that Biden was mentally unfit for the office.

Project 2025 is called Project 2025 for a reason. It isn't Project 2017.

Even if there were, what is your point? It seems to me that lot of people have never heard of “two wrongs don’t make one right” and resort to whataboutism as if they are making some thoughtful comment. And no, “just asking questions” isn’t a great point either.

Who said it was 2? I'm suggesting this has been a problem a very long time.

Another fucking useless “AI” hype piece.


More AI hype from an AI "expert". AI in software development is still a junior developer that memorized "everything" and can learn nothing beyond that, he/she will happily lie to you and they'll never tell you the most important thing a developer can be comfortable saying: "I don't know".


Can I get one at home? Seriously - I just painted our bathroom and it's just disgusting how much splashing winds up splashing out of the bowl and onto other surfaces.


just sit down. nobody will know, except your bathroom will be cleaner, you will be cleaning less and gfs will consider you more civilized.

also, both hands free for phone.


Yeah. I joined the sit-to-pee club after I started having to clean my own bathroom and toilet. It really is a win-win-win


With an enlarged prostate, I find it much easier to pee standing up than sitting down.


that mileage varies


Agreed. I have a wife and two daughters. Out of respect for them I sit (or camp hover) and thus they don't have to wade through my piss splatter. Even if I lived by myself I'd still do it for the sake of not wanting my pee all over my own bathroom.


And... Try having a stool, like a one-step folding stool under the feet while sitting. Drastically changes the experience for the better while sitting. There was a post on HN long time ago on it with research on it. It aligns more with how the body is designed to preform the other need for elimination, and my suspicion is it applies to the first category of elimination too.


> just sit down. nobody will know...

People don't pee standing because of some sense of masculinity or something. It's just more convenient. Only those over 50 or so by now grew up with that stigma.


It's only more convenient if someone else does the cleaning.


Without being too crude, there's still cleaning to be done even after sitting down. Body hair doesn't pick itself up.


even in spring with my winter coat, i don't shed much, but your point is well taken


unless the flag of this enlightened masculinity you are flying means "real men leave the door open", it is still true, nobody will know.


There's no flag. Saying "nobody will know" in thus context implies that one would care if they did know. Thus, my response.


Standing is drastically more time efficient. You just have to look at the snaking queues at the women’s restroom compared to the men’s in any particularly busy public space.

Who wants to bother with undoing their pants just to pee?


I have a theory that it's much worse now in smartphone world. But I don't suppose anyone studied the queue lengths pre-smartphone.


also, both hands free for phone

That really depends on the design at both sides.

Edit: Otherwise, it's a civilized way to do it and nothing to be ashamed of. Men who think it's not manly can go clean their toilet again.


> just sit down. nobody will know...

People don't stand pee because of some sense of masculinity or something. It's just more convenient.


> The low quality of modern libraries is something that REALLY shocks me.

How could you be shocked? Everything that's happened in the software industry outside of medical/DoD has been about delivering features as fast as you can, quality be damned.


I am shocked because this was not always the reality.

I have qualified my statement with "modern".


Yes, as borked as Google search results have become, it doesn't make shit up like LLMs do.


For me, my discomfort with F# is due to not knowing if what I’m doing is the correct/idiomatic way of doing things. With C# I have learned all the ways I should not do things…so it’s easier/faster to just use C#.


As a 20+ year C# dev...where do I learn how to structure apps in F#? In C# my ASP.NET Controller might use a service (or a mediator) to execute some ___domain logic and that in turn will use a repository pattern (or EF DbContext) to update/query a database. How are dependencies injected in? It seems like there are multiple ways of going about it, but I don't have enough knowledge of F# to know 'the proper way' to do it.


The situation is a bit more complex in F# than C#, as there are multiple ways to do it. Scott Wlaschin has a good overview post about it here:

https://fsharpforfunandprofit.com/posts/dependencies/

FWIW you can do it exactly the same way you do it in C#; it’s not “wrong”, it might just feel a bit out of place.



Just start. Use whatever style you are used to. Use controllers. Adapt your style as F# pulls you deeper inside the pit of success. You'll struggle the first couple of features, but you'll reach a sweet spot between your current style and functions relatively fast.


I suspect you're right. I just have to get over the hump of being uncomfortable/fumbling my way through things that I would otherwise know how to do in C#. Thanks!


"pit of success" from the previous comment might refer to this video, which is long but good especially to adjust to a different mindset

https://youtu.be/US8QG9I1XW0?si=N07ZsYSYfA12mGVc


As a 20+ year C# developer I’ve tried several times to learn/use F#. Despite being interested in FP, my brain is having trouble figuring out how to structure my code in F#. In C# I’d either build a service (or use the mediator pattern) for the ___domain and a repository for data access. With F# it’s functions all the way down and it feels unnatural (as silly as that may sound).


along with what jcmontx said: F# is structured bottom from top. As in you can't reference something that is later defined earlier. I find that naturally leads to getting a decent enough structure "for free" because it forces you to have your basic functionality early on and build on that later.

That also, IMO, makes untangling/splitting up parts of the codebase easier as well.


The secret is currying. Replace your DI for currying and you'll start to see somewhat similar patterns


By the way, I consider https://www.bartoszsypytkowski.com/dealing-with-complex-depe... to be the canonically correct way to do DI when you want to inject more than like two dependencies.


Have you tried using a book or a tutorial to see how things can be done using idiomatic F#?


That makes sense when one is used to the Visual Studio organization of solutions and projects, with some main method somewhere being the entry point, unless it's a WCF service or somesuch that gets run via a service manager.

I only used F# at its command line, fsi.exe, to give me commandline access to .NET for exploration, testing, and munging data. Over time, I built up quite a library of usable functions that I'd have the fsi.exe program pre-load when I kicked it off, leaving me at the prompt with all .NET namespaces and my code ready and accessible.

Once you get access to your database's data, it's easy to write queries against it and then play with the data. I could then port the F# processing bits that worked into my C# projects as necessary, but it was far easier to do it that way than to write the logic deep within complex multi-project solution files, where the various classes are spread throughout the projects' files.

I also just really enjoyed using F#.


Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: