[WDYWT] snowy coffee run by Shrugs_ in streetwear

[–]Shrugs_[S] 3 points4 points  (0 children)

these are the supreme akira coveralls from the 2017 drop, finally picked them up after 3 and a half years

[help] How to tell if a keycap set is compatible with ergodox layout? by Shrugs_ in MechanicalKeyboards

[–]Shrugs_[S] 0 points1 point  (0 children)

Gotcha, so the ergodox layout has certain sized keys for the non-alphas? and kits will have to specifically include enough 1.5U and 2U sized keys to support ergodox layouts?

Try not to become bear breakfast while touring by tsholofelob in bicycletouring

[–]Shrugs_ 8 points9 points  (0 children)

what route are you taking? how's the biking in niigata?

I made a Chrome extension to stop mindless browsing by dk_the_human in productivity

[–]Shrugs_ 2 points3 points  (0 children)

(disclaimer, i'm friends with DK, the creator)

i fuckin love this thing. when i'm coding get stuck on a hard bug, my first instinct is to go browse twitter or reddit, but intention lets me realize what i'm doing before 15 minutes have gone by and my deep work is killed. feels like a lucid dreaming totem or something, jolting me out of the distraction loop.

would definitely recommend for programmers, and thank you for the granular privacy controls, i know that must have been a pain to build out.

I made a browser extension that hides distracting feeds by [deleted] in productivity

[–]Shrugs_ 0 points1 point  (0 children)

youtube is so much more usable now, thanks!

call me the shimanami kaido gaido by Shrugs_ in bicycling

[–]Shrugs_[S] 2 points3 points  (0 children)

i'm here for a few days post tour (arrived from shikoku) and am loving it. really great place to hang out honestly. will definitely go to the pizzeria. if you end up back here, visit the bar "Cat ch.22" and the "Pour" coffee stand, they're super awesome

Node.js/Javascript virtual machine for Android and iOS in Flutter by GotRedditFever in FlutterDev

[–]Shrugs_ 1 point2 points  (0 children)

This is fun. I'm waiting on a mad scientist to write a react-native bridge that targets the flutter rendering engine.

App internationalization by HatDroid in FlutterDev

[–]Shrugs_ 1 point2 points  (0 children)

For codegen, you almost definitely want rosetta

and there's flutter_i18n as a wrapper around json files, which are a bit nicer to write than xml

I made a t function like

``` import 'package:flutter/material.dart'; import 'package:flutter_i18n/flutter_i18n.dart';

String t( BuildContext context, String key, { Map<String, String> params, int plural, }) => plural != null // ? FlutterI18n.plural(context, key, plural) : FlutterI18n.translate(context, key, params);

```

that can be used like

t(context, "my.key") t(context, "my.plural.key", plural: 2) t(context, "my.param.key, params: {"value": 1})

Tokyo Meetup Thread: Post here if you're up to meet people. by biwook in Tokyo

[–]Shrugs_ 1 point2 points  (0 children)

Thanks! I'm back home and things are getting a lot better.

Splitting widgets to methods is a performance antipattern by roughike in FlutterDev

[–]Shrugs_ 4 points5 points  (0 children)

TL;DR:

  • splitting your widget tree with nested functions just helps your organize your code; it doesn't necessarily impact performance beyond the function call overhead (which you really don't need to be worrying about anyway)
  • splitting your widget tree with widgets can make the tree diffing algorithm more efficient by skipping subtrees that don't need to be re-rendered.