HN user

dimeatree

44 karma
Posts1
Comments38
View on HN

State management seems a bit counter intuitive at a glance.

I found this statement to be confusing; https://vanjs.org/tutorial#state-val-is-immutable While you can update State objects by setting the val property, you should never mutate the underlying object of val itself.

Then beneath is an example of the following;

   const text = van.state("VanJS")
   ...
   input({type: "text", value: text, oninput: e => text.val = e.target.value})

Which looks like a mutation - after reading a bit more around it is clearer that .val has a setter; but at a glance it just isn't obvious what is happening which I feel isn't intuitive.

The burnout game is hard, you absolutely should tell your work about it. If they can't support you, you then need to decide what works best for you. But remember, you can always make money - health is fleeting.

Yes, I am in the same boat here. It feels like there is always a new iOS or Android version being released which always manages to break a feature on my app and sheds months off of my life.

If you want to live a healthier health style, you will naturally gravitate to it. Start off by trying to get your 10k steps in a day. After you have begun to shift your mindset you will start to find yourself naturally wanting to get into it.

I got into powerlifting over 2 years ago and I have not looked back since. I got myself a PT/Strength coach, and to meet my goals I had to expand my knowledge to fill my daily needs, fix my sleep habits and manage my stress.

Don't focus too hard on the exercise / food, you need to change your whole mindset. It's a journey!

My solution to burn out was to go down to part-time; I have been incredibly fortunate that my work place supported my decision to go down to 4 days a week, with the option to do 3 days for 3-6 months and keep my full pay - I was not expecting this.

I want to know why these folks won't LEAVE shitty redneck states and head to places with more opportunity.

Sometimes you just don't know any better, or you're stuck for what ever other reason. I am 100% certain if it was easier to walk away from situations, anyone really would.

Regardless, congratulations on being sober for 22 years.

I made the mistake of reading the comments before the article, and was stuck with the thought process of "but it's insecure"

Then I remembered my experience of working with an SQL-like based API, that was a pleasant surprise and joy to work with.

I do not see why we can't use it from a client-side perspective, and safely re-cast it server-side.

Good on them. I wish I could use K8 as effectively as the author, it is an incredibly overwhelming list and an impressive range of knowledge.

In my situation I am finding the lack of consistent environment a reoccuring issue, the developer environment does not match production. However I kept it simple with Google App Engine Standard and Flex environments, I found the deployment process simple and was enough for me (at the time) - however I am finding we are going to step into dockerland; however I feel like it is very over my head!

Well it is good that they seem to have back ups, and even if Witcher or CP2077 do end up being leaked - what is the legitimate threat of damage here? They are titles that are already released.

The real threat that I can see, is if the hackers end up releasing more personal details.

But regarding the source code, this will end up being a boon for the modding community.

The issue with this study is that it is pigeon holed on psychological issues, which is not really a great metric to go by as all of our mileage varies and it really is an individual journey - if the study were more focused on the physical health related issues then this discussion would have a different tone.

Best way to sum this article: correlation does not imply causation.

It is implying people who are regular users, are masking deeper psychological issues without going further into what the "harmful" effects are, of course if anyone is abusing anything it is because of a deeper problem.

Fan Death 6 years ago

Plants do release a bit of CO2 during the night due to respiration, they need sunlight for photosynthesis to occur.

When my start up spawned 8 years ago, our initial price included a $2000 setup and a monthly user-fee. We had managed to find a fair few willing to pay, which funded development and ensured we would survive. Within 6 months we were able to drop the setup fee completely and solely rely on a monthly fee.

At the time I was morally objected to it as I did not feel justified charging that amount of money for a product still in development, but I am glad my business partner had more sense.

Even with documentation, it is a lot to consume - someone on the project for a longer time can get more done definitely, but bringing on more people will lead to wildly different quality control. I find it do be a scaling problem if anything.

My project has no ORM, and now that other developers are coming on it is hard to work with - the readability of an ORM far surpasses writing your own queries and I can see that the benefits far outweigh the cons.

And what's not to say you can't write your own lightweight ORM to abstract the database if you can't find a tool that suits your goals - and as always it all depends on your use case.