Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rkwz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
181.
▲
by
rkwz
6y ago
It's definitely possible but we need to spend sometime to make sure the changes are backwards compatible and gradually rollout the destructive change. Here's a really good guide on how to do this - https://docs.gitlab.c
182.
▲
by
rkwz
6y ago
You can use any normal DB migration tool. For k8s, I put the app's readiness probe to false, run the migrations and then toggle the probe back to true. Here are some migration libraries: Go - https://github.com/golang-m
183.
▲
by
rkwz
6y ago
> hash(daily_salt + website_domain + ip_address + user_agent) That's a pretty interesting technique! I built a privacy friendly analytics project https://github.com/sheshbabu/freshlytics and I've been wond
184.
▲
by
rkwz
6y ago
> jmeter - classic, true and tested, works well but config format is a hassle to deal with You can use Taurus [1] to write scenarios in yaml files instead of using JMeter's JMX. [1] https://gettaurus.org/kb/Basi
185.
▲
by
rkwz
6y ago
You can try https://www.goatcounter.com if price is an issue :)
186.
▲
by
rkwz
6y ago
For beginners who are struggling with Rust's error handling, I wrote a post that goes through common use cases such as: * Ignoring the error * Terminating the program * Using a fallback value * Bubble up the error * Bubble up multiple
187.
▲
Singapore and Apple partner on national health initiative using Apple Watch
(apple.com)
3 points
by
rkwz
6y ago
|
0 comments
188.
▲
by
rkwz
6y ago
Yes, that would be awesome! I wonder how they render the components - I see that the the component previews [1] are rendered inside an iframe, maybe they render the component to string and insert it into an iframe? If so, should be straight
189.
▲
by
rkwz
6y ago
Can you elaborate on the workflow you use? The web storybooks can be hosted which makes it easily shareable with anyone but the RN version cannot be shared easily - we need to build the storybook and run it inside the simulator.
190.
▲
by
rkwz
6y ago
Storybook is a tool for organizing UI components. It displays the different components and their variants in a easy to glance UI. Highly recommended if you're working with React, Vue etc Here's a post I wrote about how my team use
191.
▲
by
rkwz
6y ago
Thank you! The sharing common types and logic is pretty easy using cargo workspaces, will include this in future posts :)
192.
▲
Single Page Applications using Rust
(sheshbabu.com)
886 points
by
rkwz
6y ago
|
482 comments
193.
▲
by
rkwz
6y ago
I wrote a simple webapp using Rust (Wasm, Yew) and the payload is 130KB gzipped - https://rustmart-yew.netlify.app/ Repo: https://github.com/sheshbabu/rustmart-yew-example
194.
▲
Beginner's Guide to Error Handling in Rust
(sheshbabu.com)
4 points
by
rkwz
6y ago
|
0 comments
195.
▲
by
rkwz
6y ago
> There is a mistake in the screenshots: filesystem view doesn't show `mod.rs`. Yes, didn't realize it would be confusing. I've fixed the diagrams in examples 2 & 3 to include mod.rs in filesystem tree :)
196.
▲
Clear explanation of Rust’s module system
(sheshbabu.com)
155 points
by
rkwz
6y ago
|
49 comments
197.
▲
Rust for JavaScript Developers – Pattern Matching and Enums
(sheshbabu.com)
109 points
by
rkwz
6y ago
|
39 comments
198.
▲
by
rkwz
6y ago
Love the analogy! I think there's value in mixing Rust with languages with mature libraries like JS/Python/etc to optimize performance critical code paths - basically for things we've been using C/C++ so far. There&
199.
▲
by
rkwz
6y ago
> Webassembly Is Faster Than Javascript Just curious, how's the OP measuring this? Also, would be very interested in the stack - is OP using Yew/Seed/etc or server rendered pages with Rust?
200.
▲
by
rkwz
6y ago
Thanks for reading! Will mention this in future chapters :)
201.
▲
by
rkwz
6y ago
This SO answer explains the reasoning - https://stackoverflow.com/questions/54100030/why-do-i-need-t... :) Edit: On hindsight, I should've picked a simpler example that doesn't deal with references.
202.
▲
Rust for JavaScript Developers – Functions and Control Flow
(sheshbabu.com)
187 points
by
rkwz
6y ago
|
76 comments
203.
▲
Rust for JavaScript Developers – Functions and Control Flow
(sheshbabu.com)
1 points
by
rkwz
6y ago
|
0 comments
204.
▲
Rust for JavaScript Developers – Variables and Data Types
(sheshbabu.com)
1 points
by
rkwz
6y ago
|
0 comments
205.
▲
Rust for JavaScript Developers – Variables and Data Types
(sheshbabu.com)
1 points
by
rkwz
6y ago
|
0 comments
206.
▲
by
rkwz
6y ago
Cargo Watch is something similar in the Rust ecosystem - https://github.com/passcod/cargo-watch
207.
▲
Rust for JavaScript Developers – Tooling Ecosystem Overview
(sheshbabu.com)
2 points
by
rkwz
6y ago
|
0 comments
208.
▲
by
rkwz
6y ago
You can look at https://github.com/sheshbabu/freshlytics for database migrations :)
209.
▲
Visual Explanation of SAML Authentication
(sheshbabu.com)
3 points
by
rkwz
6y ago
|
0 comments
210.
▲
Visual Explanation of SAML Authentication
(sheshbabu.com)
4 points
by
rkwz
6y ago
|
0 comments
More ›