Readit News logoReadit News
sswastioyono18 commented on Memory leaks are crippling my M1 MacBook Pro   macworld.com/article/5497... · Posted by u/miles
dschuler · 4 years ago
I've been having some sort of severe performance issue in one form or another since Mojave/Catalina or so with a 2017 MBP and a 2020 M1 Mac Mini.

The symptoms is always generally poor performance after the system has been running a while (4h to a week, varies), usually with WindowServer using CPU cycles non-stop and UI that felt choppy across all programs.

This seemed to happen frequently after "opening many files", like doing some recompiling with Xcode for a few hours, or indexing a large volume with Spotlight. Rebooting helps temporarily.

Today I realized that data read/written since boot was about 1TB in a few hours on a brand new OS install, and I traced this back to the com.apple.Safari.History process. Somehow having bookmarks and previously using Safari 15.x caused a huge amount of I/O that wouldn't stop - the solution was to remove all bookmarks and reading list items. Performance was immediately back to normal, no reboot needed.

So just logging in with your iCloud id, you could be "importing" whatever performance problem you're having on a new install.

I recommend you reboot and take a look at your disk I/O stats - maybe this will help someone!

sswastioyono18 · 4 years ago
Yes, noticed this some time ago with WindowServer taking all my CPU usage but only twice so far for this year I think so it was okay. When it occurs every day then I will start to worry then
sswastioyono18 commented on Stop Making Students Use Eclipse (2020)   nora.codes/post/stop-maki... · Posted by u/ducaale
sswastioyono18 · 4 years ago
yes, stop making students to use eclipse, or blueJ or whatever it is. They can choose whatever they want. In real world, very rarely a workplace force you to use specific IDE. Most of the time they use eclipse because no one knows how to setup their project in other IDE so they stuck with it even though it sucks. I remember a project which I have to setup linking each project manually inside eclipse. I asked myself "this is ridiculous, if I switch my PC, I have to re-do all this again?"

Switched to Intellij and use other jetbrains product, never looked back

sswastioyono18 commented on Never update anything   blog.kronis.dev/articles/... · Posted by u/cesarb
secondaryacct · 4 years ago
Yeah so the dev machine shit specs is something we fight SO HARD against in my bank. There s not many thing we can fight, but our 10 core SMT xeon with 128G of RAM for everyone in the team was a fight worth fighting. Yes, it took 2 years of them putting us on a new VM cloud systems after another before they gave up, us spamming them every say "intellij freezes", "I cant build in less than 10 minutes and the traders are getting nervous we spend our time daydreaming while it compiles" and other such trolls making the budget monkeys sweat.

Other than that, there s probably a way for you to propose a change, ive worked on the same nightmare you describe and, well, I was lucky enough I guess I could make enough changes to both stack it was possible to get either a light java subset running just the frontend to test, or make the js independent for testing, yes with a yarn soup lol, which is how I learned it in the first place I guess.

sswastioyono18 · 4 years ago
I remember 6 years ago working on financial company. We have to deploy our app into weblogic and everytime we have to change something, we have to recompile it again and restart the app server. It took almost 5 - 10 minutes from start to ready to test. I thought that's because of the code but turns out all of our notebooks are using shit HDD. When I use my own PC with SSD, it flies with less than 3 minutes and after that I proposed something like hot reload which make the dev experience a lot nicer (in some cases, you do need to restart)

I don't know about them right now but before I resign, I told them "have you ever calculate how much time and money wasted by just restarting our app server for local dev? you probably should be worry about that because I believe you pay us to wait for app server comes online more than we develop a feature"

sswastioyono18 commented on Ask HN: How were video games from the 90s so efficient?    · Posted by u/eezurr
sswastioyono18 · 4 years ago
If you wanna know about it, you should watch in youtube about making crash bandicoot. They were trying to make the gameplay as efficient as possible and making sure that user experience is not affected by it. For example, you only need to load data per level, in case big data needs to be loaded once per level, they will load it from the disc.

Another big problem they have to solve is how to make the crash character fits into the system with too many "models"

sswastioyono18 commented on The growing complexity of modern software systems   infoworld.com/article/363... · Posted by u/tut-urut-utut
sswastioyono18 · 4 years ago
some mention it about microservices but no one mention about the emerge of cloud?

when we are still using monolith and using old deploy to one server, that would be easy. Then there is scaling issue and that's where the cloud came because really, when you have to manage a lot of things at once, it's better to let someone manage it for you and you can focus on your business logic.

Obviously, the practice wasn't perfect. A lot of "micronization" comes up instead domain driven problem but that's the problem on mostly people not the tech

sswastioyono18 commented on Ask HN: Best Alternative to Homebrew in 2021?    · Posted by u/pchm
sswastioyono18 · 4 years ago
I'm surprised people still use postgresql from homebrew. Like honestly, I use brew for any CLI command only like zsh and git. Well maybe some programming language as well but I would never, ever install database with it unless I'm desperate. Anything that can be dockerized, just use docker.
sswastioyono18 commented on Willingness to look stupid   danluu.com/look-stupid/... · Posted by u/ZephyrBlu
lowercased · 4 years ago
Similar here. Was pumped in an RCA with "why?" multiple times. The 'root cause' was I fucked up and missed something. But that was because "prod was broken right then, fix ASAP!" and no one else understands the problem, and we're understaffed, and people 'reviewed' the code without understanding what it was doing (or why) and one 'fix' led to another problem, and that 'fix' led to a third, and trying to explain this in an 'RCA' meeting confused the heck out of everyone because there were 3 different days/times people saw the problem, and could not understand it was one original thing that triggered, with cascading problems in the 'fixes', etc.

You keep asking "why?" and only want one 'thing' to be 'actionable'... you will raise my frustration level. The root cause is an emergent property of understaffing, poor communication practices and a belief that everything can be reduced to a jira card providing sufficient context and understanding for a diverse audience with different skills and needs.

sswastioyono18 · 4 years ago
In a japanese company that I worked at previously, answering RCA must be clear and in detail way. I got used to it so when I explain something to people, I want them to NOT ask any further question again because I compiled all the information they needed, including prevention. Their next response should be "got it understood" or clarifying their action. Other than that, I think I failed to explain things in a very basic way
sswastioyono18 commented on Apple Delays Rollout of Child Safety Features   macrumors.com/2021/09/03/... · Posted by u/nycdatasci
ubermonkey · 5 years ago
Ironically, I suspect Apple is the reason end-user Linux isn't dramatically farther along on the adoption curve.

I feel like story of my move the Mac is not at all uncommon: in the very late 90s, when I was doing mostly consulting and not really any coding, my work life revolved around emails and office docs. Windows on laptops of the era was AWFUL -- long boot times, unstable/unusable device sleep, frequent crashes, etc.

I had a coworker using a G3 PowerBook, and his actual user experience was drastically better than mine by every metric (except, I guess, in that his Powerbook was significantly heavier than my super-sleek ThinkPad). Crashes were rare. Boot time was fast, but it mattered less because sleep actually worked.

I switched. Then the dot-com crash happened, and our company failed, and I hung my own shingle out -- and right about that moment, OS X happened.

My Mac went from being difficult to work on (for a LAMP-stack person) to being the IDEAL platform. I had a real bash prompt, on a machine that shipped with all the tools I wanted, and on which I could easily install most anything else (even if, early on, I had to build from source) -- and this same machine ran true Office, and had a host of really well-designed other applications and utilities that made my more productive and happier. It was a total win. And now, 20+ years later, I'm still here, typing on a Mac.

If OS X hadn't happened, then the work I had after the dot-com crash would've pushed me and a lot of other people like me to full-time Linux.

sswastioyono18 · 5 years ago
same with me. Tried mac once 7 years ago, didnt work out so I sold my macbook pro. 4 years later, my new workplace gave me mac and topd me windows laptop is moatly only for QA. Then I realized its actually a good thing and I learnt a lot by just using mac and get myself familiar with linux as well.

u/sswastioyono18

KarmaCake day15September 3, 2021View Original