Readit News logoReadit News
truetuna commented on Apple tells employees to work at the office three times per week starting Sept   cnbc.com/2022/08/15/apple... · Posted by u/latchkey
rr808 · 3 years ago
Are there any big companies that you can still WFH? AWS team maybe?
truetuna · 3 years ago
truetuna commented on Terraform Provider for Spotify   github.com/conradludgate/... · Posted by u/marinesebastian
nikanj · 3 years ago
This is very much the spirit of 2022: You don't change anything, but a butterfly flaps their wings in Tokyo, and now your build is broken.
truetuna · 3 years ago
Indeed. If you don't like it, prepare to get into a lot of arguments. EKS/Helm providers in combination with controllers are wild. It forces you to understand every little facet your cluster if _anything_ goes wrong.
truetuna commented on Deploys at Slack   slack.engineering/deploys... · Posted by u/michaeldeng18
darkwater · 5 years ago
I wonder why they didn't evaluate at some point using an immutable infrastructure approach leveraging tools like Spinnaker to manage the deploy? They sure have the muscle and numbers to use it and even contribute to it actively, no? I mean, I know that deploying your software is usually something pretty tied to a specific engineering team but I really like the immutable approach and I was wondering why a company the size of Slack, born and grown in the "right" time, did not consider it.
truetuna · 5 years ago
I had similar thoughts when I read their article. Their atomic deploy problem completely disappears had they gone with an immutable approach.
truetuna commented on Goodbye Docker and Thanks for all the Fish   technodrone.blogspot.com/... · Posted by u/Corrado
fxfan · 6 years ago
I have an honest question- is docker even useful for most projects or is it just a preparation for solving imaginary scaling issues that most won't even reach?

I ask because I'm wondering if I should care about docker in the beginning of my project which will have very few concurrent users/requests and would run fine on a single machine.

EDIT: Thank you to all the kind answers!

truetuna · 6 years ago
Even if you don't use Docker in production, I think it's still very useful tool for local development, combined with docker-compose.

When I'm working on one service, I often depend on a few other services too. I usually need a storage layer, perhaps API calls to related services, it may even to talk some Amazon services like S3 or SQS. Having a simple way to spin up every dependency locally, even AWS (lots of great AWS API compatible images out there) is really useful if only for local development.

truetuna commented on Travis CI adds support for testing your projects on Windows   blog.travis-ci.com/2018-1... · Posted by u/cookiestack
rryan · 7 years ago
Travis has weird priorities. The Ubuntu environment has been stuck on Precise/Trusty for years now. And the only place you can upload artifacts is Amazon S3. I really hate to be that person who sees a new offering and is like "but when will you fix your busted junk?!" but.. when will you fix your busted junk?!
truetuna · 7 years ago
Yeah, this and a couple other reasons have caused me to jump ship (slow boot times, weird config, glitchy UI, plenty of deploy integrations but individually limited, too much downtime e.g. today Travis had trouble talking to S3 for a while). They're constantly improving which is great but after using them for 2+ years, it was time to leave. Plenty of great alternatives out there. Circle CI, Buildkite, Jenkins, Bamboo.
truetuna commented on Ask HN: Did you switch from React to Vue last year due to the licensing dilemma?    · Posted by u/tiuPapa
joshribakoff · 8 years ago
I'm switching from Vue to React because I find it really kludgy to have to call Vue.set to declare new reactive properties at runtime.

Its also a bit nicer in that React tends to follow ES standards like ES6 classes for components, instead of exporting a POJO for your component. In vue you often have to use function() instead of fat arrow syntax because of the context of "this". With react you used to have lots of .bind(this) boilerplate, but now we have shorthand property syntax. Vue also mixes props & state, where as React keeps them separate. React implements certain lifecycle methods like componentShouldUpdate() whereas Vue doesn't because the creator thinks it would complicate the API, meanwhile there's known issues like between Vue.js & HTML5 content editable due to this lack of lifecycle method.

Vue is easier to get going & much faster to develop in initially, lower learning curve, and friendlier API.

truetuna · 8 years ago
Could you expand a bit on shorthand property syntax or provide a link to somewhere I could read more? I'm still doing a lot of .bind(this) in many places and I'm looking for an alternative.
truetuna commented on Shoutem – A platform to build, publish, and manage React Native apps   shoutem.github.io/... · Posted by u/anatolinicolae
truetuna · 8 years ago
I've used Shoutem's standalone UI library[1] for my last project but haven't used their platform as a whole. During that time, I found it painful to get it working.

Their documentation[2] wasn't great. It was out of date (missing component attributes, icons etc.) and lacked good examples. Often I would have to dig into the source to figure out obscure errors. When I first starting using @shoutem/ui, I couldn't use the latest version of React Native because they locked themselves into an experimental feature[3] which even until now, seems like it hasn't properly resolved.

Again. I can't comment on their platform but I didn't have a good time using their UI library. Had I known this, I would have just gone with NativeBase[4].

[1] - https://github.com/shoutem/ui

[2] - https://shoutem.github.io/docs/ui-toolkit/components/typogra...

[3] - https://github.com/shoutem/ui/issues/241

[4] - https://nativebase.io/

truetuna commented on Async friendly transformation middleware for Redux   github.com/contrarian/red... · Posted by u/papapopper
zackify · 8 years ago
Do most people not have good control over the api’s they use?

I feel like I see many projects like this with the goal of transforming data or making more requests and things after each request (redux-saga).

If you have control over the api you are interacting with, most of these things aren’t needed. Plus, less work done on the client the better, right?

truetuna · 8 years ago
Based on my personal experience, sometimes even if the API is yours, making changes can be difficult. The example I first think of is my last company.

We had a backend and frontend team, both working on the same product but the two teams disagreed a lot and would take weeks to make a small change even if it wasn't a breaking change.

To add to it all, there wasn't a standard to deprecating APIs so even a simple key rename could cause everything to blow up. Things weren't fun so I can see the need for these kinds of tools.

truetuna commented on It is as if you were doing work   pippinbarr.github.io/itis... · Posted by u/throwaway1892
rjbwork · 8 years ago
Ditto. I had to open in incognito.
truetuna · 8 years ago
Opening it up in incognito mode on the iPhone doesn't seem to work.
truetuna commented on Django 1.11 Released   djangoproject.com/weblog/... · Posted by u/andrewingram
truetuna · 8 years ago
It's been a while since I've used Django but at the time (I think 1.6) I couldn't figure out a way to do a migration like adding a non null column to a decent sized relation 100M records without having the table lock up.

I use flyway now for db migrations and what's great is that I can perform migrations in multiple steps (because it's just SQL). So in this case, I can alter table and add a column with nullable, deploy my app to write to both, migrate data at a later time, deploy app again to stop writing to the old column, update column constraints and remove old column.

Does Django ORM have this kind of flexibility?

u/truetuna

KarmaCake day20August 10, 2015View Original