floppydisc
floppydisc on Hacker News
To add to this, I've been a happy user of the trash-cli for forever. Can recommend.
Posted by
floppydisc on Friday September 15, 2023 @05:52PM
from the ask-hn dept.
Building a floorplan format which should be convertible to a visual SVG and back. Wondering if defining my own schema to represent the layout of a venue is a good idea or not or if I should simply embed everything into an SVG to maintain flexibility with minimal work.Are you using XML with XSD and XSLT and for which purpose?
It has, with services such as Apples Air Drop and sharedrop.io which are p2p, the ultimate decentralization.
Posted by
floppydisc on Friday June 09, 2023 @10:30AM
from the ask-hn dept.
Having stumbled upon Git Flow and the wonders of monorepos, I do wonder how to best implement a Git Flow like branching strategy for the monorepo. Branching fundamentally seems to fit better for polyrepos or repos with a single project. Have you come up with a branching strategy for monorepos and if so, what is it?
Why do you prefer Capybara style testing to the Gherkin style testing? Is it primarily the conciseness?
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?
Posted by
floppydisc on Wednesday June 07, 2023 @06:33PM
from the ask-hn dept.
Recently stumbled upon BDD and the process of describing software from behaviour. I know there are seriously prolific software engineers amongst the Hacker News crowd and I could use a second opinion from within the industry.What are your thoughts on BDD in general, with everything included (Gherkin, Cucumber etc.). What benefits have you yourself experienced (if any) or perhaps disadvantages...
Rclone is such an epic tool. Props to the creators. Thank you for making cloud storage easily accessible for linux users
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.
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.
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.
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.
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.
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.
What was the cause of the ban?
Why have you given up? Is there too much spam-bashing?
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?
no. 1 feature: goofier branding
Posted by
floppydisc on Saturday October 08, 2022 @04:35PM
from the self-post dept.
I tend to stumble upon math expressions to describe some problem. I find it very frustrating that I have no reference for the strange symbols (to my eyes).Is there a reference for math like there are for programming languages? What do you do?
Just out of curiosity; has anyone here contributed to Wikipedia?
Posted by
floppydisc on Thursday September 29, 2022 @06:56AM
from the ask-hn dept.
Google Analytics which has recently been made illegal in my country due to the GDPR data export rules, I'm having another look at how I can track usage of different features as well as user-traversals in my app.What analytics tools do you use, or would recommend to me, in order to get these insight?
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
Posted by
floppydisc on Wednesday June 29, 2022 @12:14PM
from the ask-hn dept.
If you've used validated learning or an experimental approach for your projects. How have you managed them and kept track of the learning learned along the way, without getting lost in the sheer amount of experiments and learning?I'm quickly getting lost in the experiments across multiple facets of my business, and would love some insights into how you guys are managing it.Cheers
I've never considered the tags approach, I'll give that a go, the folder approach is quite unwieldy.
Posted by
floppydisc on Thursday March 03, 2022 @09:08AM
from the ask-hn dept.
Having stumbled upon some great articles about marketing, software, funding and other interests I've realized that I have no great way of organizing these resources. The best I've got is a jumbled mess of bookmarks, with no notes, I rarely look through.I ideally want a system that is great for personal resources in which I can add notes, personal thoughts and findings and that is easily...
As a rule I generally keep most in the app layer after some annoying runins with too much logic at the database layer.
Simple validation, like describing that a price cannot be below 0, I keep in the database. Email validation I keep on the app level.
It allows for easier deployments, easier debugging and it is easier to migrate to a different database should the need arise.
However both works.
Posted by
floppydisc on Sunday February 13, 2022 @04:19AM
from the kalmarunionen.dk dept.
Why is the slashdash comment style an incredible idea?