HackerTrans
TopNewTrendsCommentsPastAskShowJobs

floppydisc

no profile record

Submissions

Ask HN: Do you use XML with XSD and/or XSLT, if so for what purpose?

1 points·by floppydisc·3 lata temu·0 comments

Ask HN: Branching strategies for monorepos, what is your approach?

2 points·by floppydisc·3 lata temu·4 comments

Ask HN: BDD and Gherkin tests, do they provide value in the real world?

2 points·by floppydisc·3 lata temu·5 comments

Is there a syntax reference for math, like for programming languages?

3 points·by floppydisc·4 lata temu·2 comments

Ask HN: How do you run analytics for iOS and Android apps?

1 points·by floppydisc·4 lata temu·0 comments

comments

floppydisc
·3 lata temu·discuss
To add to this, I've been a happy user of the trash-cli for forever. Can recommend.
floppydisc
·3 lata temu·discuss
It has, with services such as Apples Air Drop and sharedrop.io which are p2p, the ultimate decentralization.
floppydisc
·3 lata temu·discuss
Why do you prefer Capybara style testing to the Gherkin style testing? Is it primarily the conciseness?
floppydisc
·3 lata temu·discuss
Interesting, I'll check it out.

One of the arguments, as far as I understand for the BDD verbosity is that fact that the requirements are easy to communicate with customers and so therefore would be more precise in going from defining requirements to actually building the right thing. How true do you find this?
floppydisc
·4 lata temu·discuss
doubt.
floppydisc
·4 lata temu·discuss
Rclone is such an epic tool. Props to the creators. Thank you for making cloud storage easily accessible for linux users
floppydisc
·4 lata temu·discuss
Even further. Can we ditch the goddamn pdf format. It's such a stupid limit to put on papers. I hope the future of journals and articles will become interactive much like Jupyter Notebooks. Jupyter Journal/Article pls.
floppydisc
·4 lata temu·discuss
I usually run into issues at the boundaries in the system.

Usually moving from primitives into complex types does not account for serialization and deserialization between db and the client. This can be very annoying to work with in something like C#.

Usually it ends up resulting in alot more types and a lot more mapping between types.

However this has its own benefits, but is very boilerplate-y and is sluggish to work with when your domain changes.

Luckily, for C#, https://github.com/SteveDunn/Vogen now exists thanks to source code generators which soothes some of the issues.
floppydisc
·4 lata temu·discuss
Sleep truly is a miracle cure for most things. We really, seriously, take it for granted. Which is probably because it's difficult to sell sleep, since it's free of charge to get sleep.

Did you discover if pot had any effect on your "body battery" or not? I'm curious if it increases or decreases the quality.
floppydisc
·4 lata temu·discuss
Goddamn, what an amazing insight you gained.

I was under the illusion, for most of my life, that alcohol helped with sleep, until I did some research and found out it practically does the opposite. Or honestly, listened to the book "Why do we sleep" by Matthew Walker https://www.goodreads.com/book/show/34466963-why-we-sleep. It is absolutely fascinating and worth a read/listen for anyone wondering what we know about sleep so far.

An interesting point from the book: For people that drink regularly for long stretches, they can end up with dreams literally spilling into reality because their brains never reaches deep REM due to the alcohol. It's fascinating. I've never reached that level personally. However I've heard anecdotes of people getting insanely vivid dreams after stretches of drinking.
floppydisc
·4 lata temu·discuss
The most disturbing part of drinking to your mental faculties is how it effects your sleep. It leaves you in a haze and that accumulates. Once you stop, sleep will help you get back on track again. You still have time to recover.

My father did the same thing as you are doing. He's recently stopped. He's sharp as a knife again after a very short amount of time after years of being, which I can best describe as, out-of-sync with everything.
floppydisc
·4 lata temu·discuss
Functional programming, the idea of state machines and finally how Rust extends structs with functionality. Also experiencing an overengineered internal system that was microserviced, really made me reconsider the whole "microservices are epic" mantra. 'Cause, oh boy was that annoying and difficult to debug.

When I learned functional programming, in my head, classes suddenly became slightly worse versions of partially applied functions.

When I learned about state machines classes also now seems like a failed attempt at achieving the same thing.
floppydisc
·4 lata temu·discuss
What was the cause of the ban?
floppydisc
·4 lata temu·discuss
Why have you given up? Is there too much spam-bashing?
floppydisc
·4 lata temu·discuss
It seems that the only way such social media can survive is through ads. Have you put any thought into how to monetize and stay afloat?
floppydisc
·4 lata temu·discuss
no. 1 feature: goofier branding
floppydisc
·4 lata temu·discuss
Just out of curiosity; has anyone here contributed to Wikipedia?
floppydisc
·4 lata temu·discuss
This is very reasonable
floppydisc
·4 lata temu·discuss
Yes, but it definitely depends on the model I'm putting into the database.

Specifically I hadn't thought through an Order model and the OrderLines ended up being dependent directly on the product meaning through an FK. The orders wouldn't "settle" once they had been completed, since the product could be updated and change the values of the orderline and order. Dumb dumb. It was one of the cases where denormalizing data, very much, makes sense