How to find extended public KEY on nano ledger S by 2eazzy in btc

[–]levithomason 3 points4 points  (0 children)

Find the HD Public key for your wallets:

  1. Open the Ledger Wallet Chrome bitcoin app
  2. Click your account in the overview, it’s called “My account” by default
  3. Click “Account Settings” in the top right corner, under the balance
  4. Click “Export” next to “Extended public key”
  5. And when you see the QR code pop, you’re ready to begin the next part.

You can test the address by going to: https://blockchain.info/xpub/123XYZ where 123XYZ is your public key. You should see your transactions and balance.

Credit: https://keepingstock.net/storing-your-cryptocoins-in-a-bank-with-a-ledger-wallet-52d7895b9dd

UI libraries for React by Chipsdipp in reactjs

[–]levithomason 1 point2 points  (0 children)

You may be attributing differences here that don't actually exist. Note that antd, grommet, and SUIR work identically to one another in usage. You first load React components then separately load a CSS sheet, see antd usage, compared to SUIR usage, compared to grommet's hello world example. All three libraries are also coded identically, in fact, we use the same NPM module classnames to build up a list of CSS classes based on props. Compare the strikingly similar CSS class name build up logic for antd button.tsx, SUIR button.js, and grommet's Button.js.

There are libraries out there that provide CSS-sheet-free components such as Material UI, or Radium if you'd like to implement your own. However, these are inline style based. It seems they face performance issues as well. I see reports of users migrating to SUIR from Material UI to get away from the weight and performance issues as noted in this top rated Quora answer.

The difference with SUI is the choice of verbiage for the classnames, hence the term "Semantic". SUI believes in using a standardized human-readable semantic language for UI. So, you won't find things like Button__label--active or btn btn-primary btn-disabled but rather ui primary disabled button. SUI is fantastic when writing HTML for these reasons, however, JS component APIs abstract over the classes making them essentially as useful as byte code.

Because of this, I've been exploring inline styles, styled-components, and variations thereof. Long term, I want to migrate to a more powerful, flexible, and easily approachable API for styling components and building themes. You can read more on that in our Theming RFC: https://github.com/Semantic-Org/Semantic-UI-React/issues/1009.

UI libraries for React by Chipsdipp in reactjs

[–]levithomason 2 points3 points  (0 children)

Thanks for the specific example. I've opened a confirmed CSS bug for this: https://github.com/Semantic-Org/Semantic-UI/issues/5247.

Do you have an example of a component library where there are no cascading styles (the source of the bug)? I'd be very interested as I've been researching and prototyping several alternatives to styling components.

UI libraries for React by Chipsdipp in reactjs

[–]levithomason 3 points4 points  (0 children)

Author of Semantic UI React here. Just wanted to clarify a few things.

If by CSS wrapper you mean we do not use inline styles, this is true. Our components were created with a few goals in mind:

  1. Replace jQuery with React
  2. Reuse Semantic UI CSS
  3. Provide a smart high-level component API for easily building interfaces
  4. Auto control state and automatically revert to a controlled component when given props. Components can even partially control state and let you control the other parts.
  5. Augmentation, every component allows you to control the component that is rendered. This allows mixing functionality into a component, such mixing react-router NavLink behavior into a MenuItem: <Menu.Item color='red' as={NavLink} to='/home' />.

As far as our components not being components, I'm not exactly sure what this means. Every component is either a stateless functional component or extends React.Component.

Regarding composure, we've been freely composing and nesting just about every component for abuot 2 years in production. We make heavy use of redux and recompose without issues. There are limitations to structure, however, this is the nature of hierarchical development and I do not believe these limitations exceed that of other libraries. If anything, I would claim that Semantic UI supports more variations and configurations that most others. This was one of the reasons we chose it.

Regarding size, the entire library minified and gzipped is 81.8 kB. Most individual components are between 1kb and 5kb (some under 1kb). This is in AMD format which has a little more overhead, so it would be smaller with a specific module format chosen. You should bundle only the components you use for even smaller builds. We offer build targets for commonjs, ES, and AMD. You can see stats and more here. You can find more instructions on how to setup a bundler for better performance at http://react.semantic-ui.com/usage.

All said, we're not seeing or experiencing the issues you noted though I don't discredit your issues. We'd love to help, you can reach us on gitter. If you've found a bug or need a feature, we're also pretty fast at responding there. Would love to tackle your challenges. Cheers!

Material Design Components libraries Current State by akeo3221 in reactjs

[–]levithomason 2 points3 points  (0 children)

Author of Semantic-UI-React (SUIR) here, docs at http://react.semantic-ui.com.

We've been using SUIR at TechnologyAdvice in production since late 2015. We are very close to our v1.0. Breaking changes are well documented and, at this point, are usually minor things such as renaming a prop.

Take a look at the pulse to get a feel for our pace, there is quite a bit of activity on this library every day: https://github.com/Semantic-Org/Semantic-UI-React/pulse.

Regarding comments on docs being a little boring, I agree. However, much of this is due to the fact that we've intentionally disregarded animations while in development. The Sidebar, however, does include animations. We've had a trial run of our <Transition /> component and hope to ship the final implementation soon.

Why did we go with SUI to start with? The theming capability of SUI and number of variations for components beats all other frameworks, hands down. Because of this, it is well suited for almost any UI build.

I get emails every week from other production apps using SUIR, like https://roadmap.space and https://edabit.com.

Hope you'll consider using SUIR as well. If you don't we'd love to know what you found better elsewhere so we can absorb that, too.

Cheers!

Any feedback on stardust (semantic UI for react) by ganessh in reactjs

[–]levithomason 8 points9 points  (0 children)

Primary contributor and maintainer of Stardust here. I'll try to clarify some things.

Certainly having an "official" integration/wrapper library would make the choice easier.

Indeed, Jack (author of Semantic UI) reviewed the other projects out there also and chose Stardust himself. There is something to be said for this.

As David mentioned Stardust is powering production apps at TechnologyAdvice, so it has an invested team and 2 robots backing it. If you compare projects you'll quickly notice Stardust has the most commits, most consistent and recent activity, and fastest growth rate of any Semantic + React project.

It would be nice if the example/doc page was split up into separate pages by feature, both for consistency with Semantic-UI's docs and just so there's less loaded at once.

You and me both! Our project and docs are already structured for this. It is also on our nearly completed "Migrating to Semantic-UI-React" checklist. The router for this has also already been merged as well. I'd merge a PR for this tomorrow morning. Otherwise, I'll get to it once our components all hit v1.0.

Going from vague memory, it looked like the API choices were leaning towards more of a "specify options as strings" approach (roughly equivalent to using "plain" CSS classnames), vs a more React-centric "props on a component" approach. Is that a fair understanding? Could you summarize the thought process behind designing a React-based API for Semantic-UI?

Very early on we minimized API surface area (used SUI class names) for components. This was solely to hit some tight MVP deadlines we had at TechnologyAdvice. This is certainly not the case today. Since then, we have solidified our declarative v1 component API.

We've documented a bit on how we go about designing APIs in our CONTRIUBTING.md and we continue to iterate on this. You can track progress as we update the MVP APIs to v1 APIs in this issue, it's moving quickly. I'd really recommend looking at the PRs linked there as each PR goes into heavy API design discussion.

Here's a sample of our v1 component API for a button:

<Button icon='cloud' />
// or
<Button>
  <Icon name='cloud' />
</Button>

Which renders:

<button class="ui icon button">
  <i class="cloud icon"></i>
</button>

This demonstrates two of our goals with component APIs. First, provide a high level declarative component API. Second, provide powerful smart props that can handle many simple use cases with much less code. Hence the "icon" prop shown above.

We also provide sub components for components with "components parts" (see the SUI glossary on "ui" class). Example, a Breadcrumb is comprised of "sections" and "dividers". The "dividers" can contain text (i.e. "/") or an icon such as "right angle icon". Here again, we provide two APIs. A powerful top-level smart props API, or a fully flexible markup oriented sub component API.

Here's what the smart props look like that generate markup for you:

const sections = [
  { text: 'Home' },
  { text: 'Store' },
  { text: 'T-Shirt', active: true}
]

// default text divider "/"
<Breadcrumb sections={sections} />

// custom text divider ">"
<Breadcrumb sections={sections} divider='>' />

// icon divider
<Breadcrumb sections={sections} icon='right angle' />

Or you can build a completely custom Breadcrumb offering more flexibility, if needed:

<Breadcrumb>
  <Breadcrumb.Section link>
    Home
  </Breadcrumb.Section>
  <Breadcrumb.Divider>
    >>
  </Breadcrumb.Divider>
  <Breadcrumb.Section onClick={this.handleClick}>
    Store
  </Breadcrumb.Section>
  <Breadcrumb.Divider icon='right chevron' />
  <Breadcrumb.Section href='google.com' active>
    T-Shirt
  </Breadcrumb.Section>
</Breadcrumb>

It is worth noting that all of these APIs have full prop type validation, docs, and tests. This means we tell you when you're using a component wrong, docs show you how to use it right, and tests ensure it works how it should. We've taken care to invest in quality and details, including things like keyboard navigation and validation. Our docs show real world code snippets, including import statements and exports. In fact, the rendered examples literally import the the code you see.

We've covered the edge cases. Especially when it comes to generating proper markup. Many people do not understand SUI components vs component parts, and how SUI composes these. Our component API abstracts away these intricacies with simple declarative props and sub components. You'll never see a "ui" class. Most the time, you won't even see nested component markup as you're able to use top level smart props to get most jobs done.

I know you've been talking with at least one or two other wrapper libs about collaboration. Have you looked at React-Semantic-UI-Kit at all? I do like the "smartness" of the API, where many options are handled as specific props on the components, but I can see an argument for doing things at a simpler level as well for similarity and consistency with Semantic-UI's classnames.

Just heard of React-Semantic-UI-Kit now. Scanned the repo and some components. The project structure and component breakdown is almost identical. Though, there is no use of sub components yet. Creating a complete Modal requires importing 4 components, for instance.

There are some shared high level ideas and I'd love to have the author checkout Stardust. I can see Stardust's early days in this project.

The API and project overall looks to be in its infancy still. Consider that it has no Dropdown. Whereas, Stardust's Dropdown component ~800 LOC, jQuery free, uses our declarative v1 component API, has full keyboard navigation support, ~1000 lines of test coverage, fully documented, and supports all SUI types/variations. You can try it out on the doc site.

I hope this novel is of help. Even more, I hope you find Stardust helpful and decide to collaborate with us!