Better HN
topnewbestaskshowjobs
Log inSign up

PascalW

1,028 karma · joined Jan 14, 2011 (15y ago) · 161 submissions

Submissions

comment 9y ago · link · parent

Very excited to see AsteroidsOS getting it's first hardware product. Hopefully this will stir AsteroidsOS adoption in general.

I like having an open source, free smartwatch OS as alternative to Wear.

92.

Connect Watch: first AsteroidsOS powered smartwatch(connect-watch.com ↗)

1 points · by PascalW · 9y ago · 1 comment

comment 9y ago · link · parent

Yes that works in most cases but I strive not to use preact-compat - like to keep things lightweight.

comment 9y ago · link · parent

Nice to see compatibility with Preact and Inferno too. I use Preact a lot and only downside I experience really is lack of library support.

comment 9y ago · link · parent

This is exactly the setup I'm using too. Works well, though the whole setup is a little less polished than 1Password which I was using before.

On the desktop I'm using Browsers [1] and QTPass [2].

[1] https://github.com/dannyvankooten/browserpass

[2] https://qtpass.org/

comment 9y ago · link · parent

I'm using Quiver [1] for this since some time and really love it. It's like the Evernote client but supports Markdown.

Unfortunately the client is proprietary, but the note format is open. 3rd party clients also exist, like an Android app.

[1] http://happenapps.com/

comment 9y ago · link · parent

Good point. I develop all my apps using Cordova and it really is a big win that I can run these apps right in the browser with little to no effort. It's pretty trivial now to develop a Progress Web App and package it up with Cordova for some visiblity in the App/Play store.

comment 9y ago · link · parent

I didn't say it can not be done, but it is just harder.

I develop a lot of cross platform apps using Cordova. While this works pretty well, and indeed in recent years support for this is only becoming better, it remains that Webview based apps always feel just a tad off.

comment 9y ago · link · parent

Are you sure that QT is not using native widgets? I always thought QT used native widgets and a quick search [1] seems to confirm this:

> Recent versions of Qt use the native style APIs of the different platforms, on platforms that have a native widget set, to query metrics and draw most controls.

[1] https://en.wikipedia.org/wiki/Qt_%28software%29

comment 9y ago · link · parent

Material or not I do think that mobile UI's on Android and iOS are starting to converge more and more. Lot's of apps look very similar on iOS and Android and it doesn't have to fail alien at all, if well executed.

comment 9y ago · link · parent

This looks pretty neat, Dart is a nice language.

Flutter looks pretty different from React Native on one side and Cordova/webview based frameworks on the other side. Flutter is not based on webviews, but is also not using the native widgets but instead rendering custom widgets.

To me, this is a little weird. One of the downsides of Webview based apps is that it's harder to align with the native OS look and feel. React Native solves this problem, but Flutter clearly has the same problem.

comment 9y ago · link · parent

Great to see a few new web frameworks popping up.

It seems that the older frameworks like Iron and Nickel.rs are not (yet) catching the async train.

comment 9y ago · link · parent

I haven't tried but I think you might be able to add this to your config to fix that:

  [i18n]
  LANGS = en-US
  NAMES = English
https://gogs.io/docs/features/i18n

Edit: tried and indeed it seems to work.

comment 9y ago · link · parent

* Changelog https://changelog.com - centers around OSS. Programming language agnostic

* Giant Robots http://giantrobots.fm - Bit of tech but mostly stuff about running a (small) SAAS business. Great host.

* Bikeshed http://bikeshed.fm - Ruby, Elixir, Rust.

* Full stack radio http://www.fullstackradio.com - misc programming topics, interview style.

105.

Saving the internet 2000 terabytes a day: fixing Font Awesome(pixelambacht.nl ↗)

5 points · by PascalW · 9y ago · discuss

comment 10y ago · link · parent

Happy user here :-) has been running smoothly for over 2 years already.

comment 10y ago · link · parent

Nice to see some competition for Postman. Even though Postman works quite well I never really liked it. Lot's of common actions are pretty tedious, like changing an environment variable and lot's of small annoyances like it automatically following redirects etc.

A while ago I took a stab at building my own Postman alternative, Pragma [1]. What I found was that getting the basic functionality going is obviously not that hard, but building a good and useful UI requires quite a bit of effort.

https://github.com/pascalw/pragma

comment 10y ago · link · parent

Any specific reason for using Homebrew? Rustup [1] works great.

https://www.rustup.rs

comment 10y ago · link · parent

Think before you anything.

comment 10y ago · link · parent

The Wileyfox Swift [1] meets your requirements and is pretty decent and very affordable.

[1] https://www.amazon.co.uk/Wileyfox-Swift-Dual-SIM-Free-Smartp...

comment 10y ago · link · parent

Better tooling will definitely help but I think it will mainly come to focus and priority.

Some packages like Serde for example do provide higher level docs located with the API docs which can work fine.

comment 10y ago · link · parent

My experience exactly. Nickel.rs has a fairly good set of clear examples on its website and then some more on Github.

Unfortunately it seems to be a common trend that Rust projects only provide API docs. While that can be useful I find more 'high level' docs much more helpful especially when you're new to the language and/or framework.

comment 10y ago · link · parent

When I tried Kotlin some time ago on a side project I wasn't very impressed. To me the problems Kotlin is addressing are not that huge. It feels like having to switch to another language (albeit very similar to Java) just to fix some annoyances is just not worth it.

Maybe prior to Java 8 this would've been more interesting. I also wonder how much time it will take Kotlin to start benefiting from Java 9 features when that gets released.

comment 10y ago · link · parent

Interesting. Wonder how it compares to Helix [1].

https://github.com/rustbridge/helix

comment 10y ago · link · parent

Couldn't agree more! There's some work ongoing on a third party Rust plugin for InteliJ but it still has a long way to come.

comment 10y ago · link · parent

At my work we're running all Jenkins jobs in Docker containers using some simple scripting [1].

Works really great. Jobs can run on any slave, no snowflakes, full CI config is versioned in the repo along with the code. Jenkins job only point to a single script and that's it.

[1] https://github.com/kabisa/jenkins-docker

117.

Deploy a Spring Boot app on your own server in less than 15 minutes(theguild.nl ↗)

1 points · by PascalW · 10y ago · discuss

comment 11y ago · link · parent

I'm running it on 2GB but it really depends on your apps how much memory you'll need.

Dokku itself has no running processes, it's just Docker and nginx which are both pretty light on resources.

comment 11y ago · link · parent

Heroku indeed used to be very generous. I totally get why they are making these changes, it's hard to sustain this in the long run.

That said; for hobby stuff I've switched to a cheap VPS plus Dokku [0] and haven't looked back. Works with Heroku buildpacks and even runs custom Dockerfiles if you need anything fancy. Hardly requires any maintenance.

There's a couple of alternatives like Deis [1] and Flynn [2] that offer more advanced features, but they're much more complex and way overkill for my pet projects.

[0] http://progrium.viewdocs.io/dokku/ [1] http://deis.io/ [2] https://flynn.io/

comment 11y ago · link · parent

I'm surprised I haven't seen anybody mention the "public final fields" approach yet. I use this myself for immutable objects and I quite like it. Granted, you still need to implement equals and hashcode, but these can be generated easily and verified with tools like EqualsVerifier [2].

[1]

  public class MyImmutable {
    public final String field1;
    public final int field2;

    public MyImmutable(String field1, int field2) {
        // assign
    }

     // equals, hashcode, toString
  }
[2] https://github.com/jqno/equalsverifier
123456