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

same here. still running on the previous version on all devices. Gonna sit this out ...


Nice. This looks way better than this one written in Go: https://github.com/vdobler/ht it uses hjson.

We used it very often a couple of years ago. Will try hurl.


Yes that is the SBB in Switzerland but they do not turn the lights, instead they turn on the heaters for the track switches. Not sure if that is all rumours.


I did build my own solar system too. In Switzerland.

Took me 1-2 month planning and then 3 month building it alone nearly each day. Sept 2023 til Xmas 2023. Got all the hardware from a PV dealer friend on his purchase price level. Even 24 panels I have put myself alone onto the roof. With two persons it was a bit better.

I've got: 420w x 71 Trina solar panels and two SolarEdge inverters. SE10K Hybrid and a SE17k. Also a 24kWh BYD LFP battery.

All prices without state funding: Offers from local installers for 56*410W Panels without battery were around 65k CHF.

I've paid now 44k CHF including every kind of cost associated with building it.

Should write a blog post about it :-)

Next project is a solar fence with 6kWp.


What do you do with that much electricity? Was it necessary to over-dimension for winter?


Of course it is a bit oversized.

We’re living in a big river valley where we have fog from October until March. On some days in November the fog is so dense that the whole system does not produce any kind of energy. On the other days the produced kWh are enough to charge the battery.

We have a heat pump (extrem efficient), servers, one electric car, etc which consumes all together around 13MWh per year. The solar system produces around 27.5MWh. Most of the energy gets fed back into the grid.

We’re currently investigating to connect the neighbour houses physically to us. But that takes even more time here :-(


FYI: Neighborhood-level connections are changing starting next January (look up RCP and CEL).


They're in Switzerland.


Yes, how neighborhood-level connections are setup in Switzerland is changing next year.

See eg https://www.swissolar.ch/fr/connaissances/nouvelle-loi-sur-l... (post written in French)


I would also be interested in the reasoning here!

Just for comparisons sake, our 8.6kwP setup with a 10kwH battery cost us (after subsidies from governemnt) appr. ~€11.5k. Haven't received all the subsidies yet, so the total will be lower by about 1.5k (I think). Everything was done through installers, we didn't lift a finger (also couldn't, because when it comes to electricity I have as much experience as the dog next door).

If I had more due diligence before I would have scaled up the panels up to at least 10kwP, for future proofing probably to 12kwP. This is mostly just to make sure winter is covered better, as our production is really low as we have a 10° flat roof installation.


If you have an EV that can be charged only at night, a big battery is required.


For solar excess charging I use evcc.io

When I charge the car via battery then only down to ~75% for now. The remaining energy is needed by the house during winter months.


How much did you pay for the panels, and what's your capacity factor? (Kilowatt hours produced on average per nominal peak kilowatt.)



I looked at your exporter for migrating my personal website. Like most other exporters, it gets the basics right but misses out on a lot of subtle features listed here https://github.com/ashishb/wp2hugo#goals-of-wp2hugo


I successfully exported small blogs using the wordpress-to-hugo-exporter plugin, but it times out on big blogs, even increasing max PHP runtime for scripts to several hours. I had no choice but to rely on an offline, desktop variant and wp2hugo is super fast.


Location: Greater Zurich Area, Switzerland

Remote: Yes, occasional travel within CH,DE to the office possible

Willing to relocate: nope

Technologies: 25 years in e-commerce, Golang, PHP, JavaScript & TypeScript, Kubernetes, MySQL, MongoDB, Magento, SolarEdge(ModBus). Does not need to be a dev job, can also be consulting/team lead.

Résumé/CV: on request / confidential

Email: kontaktcjs at gmail dot com


I've did this all and currently installing a ~29kWp solar roof myself here in Switzerland. I will pay less than one third of the costs as when it gets installed via a company.


well written post!

one minor thing: I've skipped using build tags for integration tests because those tests will be out of sync one day with your main code, even with Goland (?).

Instead I use the usual test and check if an environment variable is set, if not, then

    t.Skipf("env var %q not set, skipping integration test",envVarName)
or you can use an additional CLI flag, e.g. in `feature_test.go` write

    func init() { flagIntegration := flag.Bool("test.integration",false,"run int tests") }
then

    $ go test -v -test.integration


I usually make use of the long and short testmodes that are supported https://stackoverflow.com/questions/55180613/how-do-i-write-...

I used to use buildflags before this, but my linter ignored those files so they were hard to maintain


> integration tests because those tests will be out of sync one day with your main code

What do you mean here? What would be out of sync, and what would happen if it were?


additionally, if it's an integration test, you may want to always run with `-count=1` at least. e.g. if you use a DB, you certainly want to not skip any cached tests when the schema changes, etc.



using it for years. much better than gofmt. thanks for all the work!


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

Search: