6,535 karma · joined Mar 8, 2019 (7y ago) · 1,560 submissions
comment 3y ago · link · parent
Some part of me wonders how is this even news? I guess "some person was blocked temporarily and that's all we really know" is not going to make it to the top of HN.
comment 3y ago · link · parent
> It splits the application into two distinct parts, a Core built in Rust, (...) and a Shell, built in the platform native language (Swift, Kotlin, TypeScript), which provides all interfaces with the external world.
The "external world" includes hardware features, camera, notifications, payment APIs, NFC, gyroscope, etc. The way I imagine it is: as long as the Rust part can talk to the native part, "everything is possible" and you can send commands from the Rust part and send the results back from the native part (or vice versa) or probably even set up streams of data (e.g. live updates to gyroscope).
Flutter has platform channels that is a similar idea. I expect it's even easier in Crux because in Flutter almost everything is written in Dart, and Crux leaves more to platform specific stuff
https://docs.flutter.dev/platform-integration/platform-chann...
comment 3y ago · link · parent
I try to use my keyboard whenever possible, but sometimes reaching to my mouse is just easier. Moving my hand 5 inches is already bad, but having to move it 10-15 inches every time I want to use the mouse is terrible.
And all for what? For having to enter a phone number or credit card number once a month into some form? The tradeoff is not worth it for most people.
As a programmer, I don't need a numpad very often, having long strings of numbers are not very common in my field. Sure, sometimes I need to write numbers, but they are one or two character long, and having them above the keys is better experience as I don't need to move my hand so far.
comment 3y ago · link · parent
Do you by any chance have your hx config open source? Would love to browse it and maybe steal some of your config!
1025.
Tell HN: Google says “AdBlock for YouTube” contains malware
7 points · by serial_dev · 3y ago · 5 comments
comment 3y ago · link · parent
I am not nervous when they measure my blood pressure, but I might have been late to my doctors appointment, so of my 25 min walk to the doctor, I was running half of it. I had non-optimal blood pressure values at the doctor, because I was running not to miss the appointment, and as I arrived, I had to immediately go get my BP checked.
After the incident, I religiously measured my BP at home various times a day for a week and my numbers looked okay.
1027.
Jarred Sumner has been doing 90 hr weeks(twitter.com ↗)
1 points · by serial_dev · 3y ago · discuss
comment 3y ago · link · parent
https://news.ycombinator.com/item?id=34780579
There's also a "HN for Golang", that site also has practically no traffic and discussions.
The challenge with all these sites is always the same, how can you attract enough people so that there's a healthy discussion on at least some of the top items and how will you make people's attention worth it over HN / Reddit / Twitter.
So far, only seen it working out partly for lobste.rs, there, at least there's some discussion, but TBH I still ask myself how is that better than just going to HN or even Reddit, as the conversation is practically the same as here.
comment 3y ago · link · parent
When I have a question, I give it a go in ChatGPT, read the answer, if it sounds reasonable, try it out. Even if it doesn't work, it might "hallucinate in the right direction" and give me some phrases that improve my Google search term.
Most of the times, I can guess how it will be wrong, so I can judge the answer quickly.
Sometimes, even just writing a prompt in plain English helps me understand my problem better and by the time I finish my prompt, I don't even send it as I found out which direction I want to go in.
I also use it for writing, though I usually have to add to my prompt to be concise and casual, as the default answer is longwinded, formal and the "AI taste" is easily detectable.
Unfortunately, I still feel like every week it gets worse, though to be honest, Google feels the same.
comment 3y ago · link · parent
I learned to notice when I interrupted my deep work, for example while waiting for the build to finish I'd browse HN, or watch YouTube videos while working, listening to podcasts in the background, etc. I no longer forced myself to work with the pomodoro technique as it intentionally interrupts your focus (it's still good if you struggle to get anything done at all).
I also learned that the relatively small work needed to uplevel from being average to good (so that people in my field know me) is worth it, so organized meetups, gave talks and had a podcast.
Another important point of his book (so good they can't ignore you) was that, paraphrasing, passion is BS, so I learned to push through the initial phase of learning something new and work hard enough to enjoy basically anything as I got better and better.
It's not perfect, I'm not perfect, but it really helped me to stop being a scatterbrain, slightly below average developer.
comment 3y ago · link · parent
Though I didn't become the Taylor Swift of coding, I think that I ended up in a good place in part thanks to his books.
Another reason why this article probably resonated with many is that they see the issue in their own or their friends life. Some can't just simply work, or be with their loved ones, they constantly need something, YouTube in the background, minutes of scrolling through Twitter/HN/Facebook/Instagram, some addicted to porn, etc, and some started to pinpoint this issue to "overstimulation".
comment 3y ago · link · parent
Yes, I get it, for most usecases, most people today prefer TS, but in the end, the team weighed their options and they made a decision they are happy with.
Open source, as strange as it sounds, doesn't mean that the maintainers need to ask for the approval of everybody who read some tweets and join the pile on.
For those who disagree with their decision and are actually affected, vote with your feet, and don't rely on anything hey or dhh related. If you don't have a choice but to keep using them and you hate this change, I feel your pain.
I don't know enough about turbo to know if it's a bad decision or not, but I don't mind people going against the grain. If people like that wouldn't exist, I'd still need to work with Scrum (in the end, how dare you challenge the collective wisdom that scrum is the greatest thing since slice bread).
They may succeed or fail, but at least they fail in their own terms and enjoy their work on their product with the language they like.
comment 3y ago · link · parent
In all seriousness, it's not a new issue, if you search for it, there are complaints about it going back years.
Now, I'm sure there is a "non-evil" explanation, such as "oh we just test more with Chrome so we optimized for that, but we will try to convince an intern to install Firefox", "Chrome is just better", "Firefox doesn't have x and y features, so it's slow, but it they implement it, it will be fast, too"...
... and there are the "evil" explanation, "let's make one of our most popular products slightly slower on a competing browser to nudge people into using our browser".
1036.
Slack’s migration to a cellular architecture(slack.engineering ↗)
395 points · by serial_dev · 3y ago · 237 comments
comment 3y ago · link · parent
For each delivered feature, there could be an overview, e.g.
"Users can now print reports easier. On our user request tracking platform, this issue had 321 upvotes, and 5 Premium clients requested this as well. We placed the print button THERE because amongst the three designs, this performed 23% better according to METRIC. For more info on the experiments, see link or ask on #mobile-team. The feature was released for two weeks behind a feature flag, it performed great, and we made it available for all since last Monday. 5%, of users who visited the report page used this feature and we generated already 5000 PDF reports. Big client A already complimented the feature, and it unblocked the sales process with Client B."
At the end of each email, there could be an analytics overview of the product with overall useful metrics, significant changes etc.
This format also helps with people being on holidays, sick, etc.
comment 3y ago · link · parent
We won't know it while this thread is active, but if you go to the beach in a week, and exclaim "wow, this feyli thing is pretty nice", then you'll know that your senses for feeling the "sand between your toes as waves recede on a beach" is heightened.
1039.
Madison “Suop” quit her role at Linus Tech Tips(twitter.com ↗)
22 points · by serial_dev · 3y ago · 14 comments
comment 3y ago · link · parent
We always needed to be able to have different rollout percentages based on build version and environment: e.g release feature A to 10% for app version v1.2.34 on production, 100% on staging.
Another nice to have is have a feature enabled for all users who are logged in with email that end with @myexamplecompany.com.
Change history is convenient, e.g Tom changed the flag on Friday. Quite often, the UI need to be usable for both developers and non-devs (product owners, designers).
I used Firebase AB testing and Split.io for it.
Good luck, looking forward to seeing what you build.
comment 3y ago · link · parent
Just goes to show how we are (or at least, I am) used to $PROG_LANG conferences, or Agile/SysAdmin/SRE/Mobile confs. Could be cool to have linting conf, code editor summit, etc.
comment 3y ago · link · parent
You are not the first that noticed the overly political nature of the Rust "community", not a coincidence that we see a blue haired individual in this skit https://youtu.be/TGfQu0bQTKc
I didn't downvote you, but you might be downvoted not because you are wrong, but because it derails the conversation. Turning every Rust thread into a "The Foundation is too woke" can be annoying.
comment 3y ago · link · parent
The US (and basically every other country, too) always find a way to strike a deal with the most corrupted and backwards countries if needed.
Then, when they plan a coup, the propaganda machine revs up, and everybody is suddenly worried about democracy, women's rights, gay rights, religious freedom, radical left or right in that country and that country only.