YourGrace | 2 years ago | on: Controversial California bill would physically stop new cars from speeding
YourGrace's comments
YourGrace | 2 years ago | on: Ask HN: React Native vs. Flutter for iOS/Android apps in 2023?
Some things to consider.
1. You will have to deal with the iOS and Android respective build systems and updates. Apple likes to force updates on developers (new to update Xcode + MacOS to leverage newer SDKs). Adding React Native or Dart/Flutter adds one more build system to learn along with another set of dependencies (node.js, etc) to keep up to date.
2. Both SwiftUI and Jetpack Compose are defined using Declarative UI, which you will find similar to what you experienced in React+Typescript. A lot of the paradigms translate well and I believe Swift and Kotlin are somewhat similar.
Overall, if I had to choose between React Native vs Flutter, I would choose React Native. It is a proven solution deployed by lots of production apps. The documentation is extensive and examples are readily online along with 3P libraries. Facebook is committed to React and its development, React has a large developer community, and you will benefit from using Native UI widgets and re-using your Typescript background.
YourGrace | 2 years ago | on: Silicon Valley Bank vice president sentenced to 15 months in prison
I do believe a lot of people would trade a federal prison sentence if they were able to steal millions and were able to get it afterwards. Of course, the prison sentence to how much money was made will vary per individual.
Some quick links from google on the best federal prisons where it mentions there are "nicer" federal prisons.
[1] https://federalcriminaldefenseattorney.com/best-federal-pris... [2] https://www.cnbc.com/2012/01/19/The-Best-Places-to-Go-to-Pri... [3] https://www.forbes.com/2009/07/13/best-prisons-cushiest-mado...
YourGrace | 2 years ago | on: Silicon Valley Bank vice president sentenced to 15 months in prison
YourGrace | 2 years ago | on: Silicon Valley Bank vice president sentenced to 15 months in prison
[1] https://www.justice.gov/usao-ndca/pr/former-bank-vice-presid....
YourGrace | 2 years ago | on: Silicon Valley Bank vice president sentenced to 15 months in prison
White collar crime seems to pay well, and the consequences don't seem too harsh.
Edit: the $11.3K and 15 months is for falsifying documents. I don't know if he had a separate fine for the insider trading.
YourGrace | 3 years ago | on: 33% of Pakistan Land Currently Underwater
YourGrace | 3 years ago | on: Build Android apps without an Android SDK using PicoLisp
These types of solutions will always lag behind the official SDKs, and require ongoing maintenance from the authors as new features are added. This also requires individuals to learn something else in addition to the core SDK (I believe you will ultimately need to learn about the core SDK regardless of what you want to do).
In my opinion, working with the native SDKs is the best solution. You are as close to the SDK as possible and are able to do what you want. For Android in particular, it's important to minimize the layers between your code and drawing the UI.
With that said, kudos on building this as it's no easy feat to accomplish.
YourGrace | 3 years ago | on: Instagram can track anything you do on any website in their in-app browser
One thing about both webviews is that there are callbacks with these implementations that developers can choose to open a link in the embed webview or not. It might be useful for privacy/security for Apple/Android to force developers to allow-list a domain (like iOS's Associated Domains) or such that an embedded webview can load (besides local html and files). It might be something in addition to the developer's callback.
iOS WKWebview: https://developer.apple.com/documentation/webkit/wkwebview Android Webview: https://developer.android.com/guide/webapps/webview Associated Domains: https://developer.apple.com/documentation/Xcode/supporting-a...
YourGrace | 3 years ago | on: I Am a Programmer – No, I Don't Want to Be a Team Player
When I think of a team player, I think of someone who recognizes that a team is composed of people with various skill-sets and being a team player is helping to enable the other teammates to grow at their job. Being a team player is about contributing to the team outside of just your code such as teaching the strategies you use, and your mental model for solving problems you face. It sounds like the author expects everyone to discuss a spec, and then go into their cave and solve the problem by themselves which seems very individualistic to me.
Overall, if you don't want to contribute to the overall growth of your team, than I wouldn't expect those teams to want to work with you either.
Maybe off topic, this article seems like it's main purpose is to drive traffic as the author is selling an ebook.
YourGrace | 3 years ago | on: Ask HN: How to Improve Documentation?
For internal documentation, the most memorable/painful instances I've encountered has been that the code is overly complex and I would have liked documentation to help me understand why we have so many parameters and configurations and their impact. I believe having more explicitly defined methods help reduce ambiguity within the code. I've seen many examples of methods or objects where the goal is avoid as much repeated code as possible which create these burdensome solutions, so it drives the responsibility on the clients and developers to understand how to configure the input to get the desired behavior. Often times, we don't need the multiple layers of abstraction or configuration just to consolidate everything into a method, I think it's fine to have multiple methods with explicit use cases. That helps developers read the code easier, understand what is happening, and is less mentally challenging. In my opinion, making the code easier to read will help reduce the need for extensive internal documentation besides the required onboarding, dev setup, and overall architecture designs.
YourGrace | 3 years ago | on: Ask HN: What's Your Personal Motto?
YourGrace | 4 years ago | on: Setting Up 1.1.1.1 for Families on a Pi-Hole
YourGrace | 5 years ago | on: VS Code is now available in stable for Apple Silicon
I've been holding out on my Mid 2014 Macbook Pro, and lost some faith during the keyboard struggles. I was in the doubters section when the M1 was announced, and I haven't been more excited to be wrong. I definitely have the next version of Macbook Pros as a Day 1 purchase for me.
YourGrace | 6 years ago | on: Nebraska Furniture Mart
YourGrace | 8 years ago | on: Why I'm Putting All My Savings into Bitcoin (2011)
I was skeptical that if a country creates their CountryCoin (AmeriCoin/AmericaCoin, RussiaCoin, ChinaCoin), wouldn't it effectively cause bitcoin itself to go in freefall as people would convert to the coin backed/sanctioned by a government.
Likewise, Apple can create iCoin. For those reasons I was skeptical.
Looks like it doesn't really matter as long as you get off the ride before it starts to stop.
The only close thing I can relate this to is an Ignition Interlock Device to limit DUIs, but that seems more acceptable to me since it limits the starting of the car instead of interfering while the car is running and it's required after someone loses the community's trust by having DUIs.