Better HN
topnewbestaskshowjobs
Log inSign up

pbsurf

237 karma · joined Mar 28, 2011 (15y ago) · 57 submissions

email: <HN username> at gmail.com
Submissions

comment 1y ago · link · parent

Another SVG website: https://styluslabs.com/

comment 1y ago · link · parent

No business, just me!

comment 1y ago · link · parent

Yes, you can download any region and set of layers for offline use.

comment 1y ago · link · parent

I've been building https://github.com/styluslabs/maps with support for 3D terrain, custom layers, and plugins for search and routing.

Vector tiles are generated and served on-demand by https://github.com/styluslabs/geodesk-tiles so there's no need to download an entire country or region first.

comment 1y ago · link · parent

This is great! I recently built a simple project to generate and serve vector tiles on demand from a GOL file: https://github.com/styluslabs/geodesk-tiles

comment 1y ago · link · parent

I'm working on https://github.com/styluslabs/maps/ including a new 3D map engine (based on Tangram-ES) and JS plugin support, so while there is no offline routing yet, support for additional online routing services can be added by users.

comment 1y ago · link · parent

I've built a server for generating OpenStreetMap vector tiles on demand from a GeoDesk database, which is barely larger than an .osm.pbf (100GB vs. 80GB for current planet.osm.pbf) - much smaller than a PostGIS instance: https://github.com/styluslabs/geodesk-tiles

comment 1y ago · link · parent

I'm working on https://github.com/styluslabs/maps - has Sentinel-2 imagery, slope angle shading and custom slope shading including slope aspect.

comment 2y ago · link · parent

https://github.com/styluslabs/maps - open-source maps app

comment 2y ago · link · parent

I believe QML ListView actually does support kinetic scrolling - Qt calls it "flicking". To get behavior closer to React Native, it might work to decrease the value of the Flickable flickDeceleration property [1].

That said, my troubles with Qt's performance and behavior on mobile led me to create my own cross-platform GUI library: https://github.com/styluslabs/ugui/

[1] https://doc.qt.io/qt-6/qml-qtquick-flickable.html

comment 3y ago · link · parent

Juries, perhaps?

comment 3y ago · link · parent

Excellent until the charging ports burn out, requiring a motherboard replacement: https://forums.lenovo.com/t5/ThinkPad-X-Series-Laptops/X1-Ca...

comment 4y ago · link · parent

GPU vector graphics library I released a few years ago: https://github.com/styluslabs/nanovgXC - basically a new backend for nanovg that supports arbitrary paths. Coverage calculation (for analytic antialiasing) is explained a bit here: https://github.com/styluslabs/nanovgXC/blob/master/src/nanov...

comment 4y ago · link · parent

Getting sufficient antialiasing quality for 2D graphics is difficult on GPUs. https://github.com/memononen/nanovg accomplishes this with GL2/GLES2 level hardware for most of the stuff one would want to render as part of a GUI. My project https://github.com/styluslabs/nanovgXC supports rendering arbitrary paths with exact coverage antialiasing, but requires GLES3.1 or GL4 level hardware for reasonable performance.

comment 4y ago · link · parent

Regarding aluminum vs. steel - I've had two aluminum frames crack after a couple years of normal riding (no crashes). Trek, to their credit, honored their warranty and replaced the bikes. Given enough time, aluminum will always fail; steel will not: https://en.wikipedia.org/wiki/Fatigue_limit

comment 4y ago · link · parent

I'm working on computational chemistry, with the very long-term (decades) goal of designing molecules (proteins/enzymes) for things like artificial photosynthesis and molecular computing (chips still rely on the bulk properties of semiconductors; for miniaturization to continue, at some point it will become necessary to design molecules to function as logic and interconnect).

See https://github.com/pbsurf/chem

comment 6y ago · link · parent

Take at look at https://github.com/styluslabs/stylusboard - no web client but native apps for all major platforms

comment 6y ago · link · parent

For my cross-platform app, I was originally using Qt for desktop platforms and Android. I was fairly happy with Qt on the desktop, but less so on Android, in part because I was using Qt Widgets - Qt Quick is the newer, preferred way to build GUIs in Qt, at least for mobile. Around 2016 I started looking into an iOS port - at the time, Qt for iOS was fairly immature and there was (is?) some uncertainty about licensing requirements for statically linking Qt on iOS. Having already spent more time than I wanted fighting various problems with Qt on Android, I decided to consider alternatives and ended up creating my own SVG-based GUI library that I now use across desktop and mobile:

https://github.com/styluslabs/ugui

comment 6y ago · link · parent

One way that SVG could be used for multipage documents is with a convention that the top-level <svg> tag is the document and child <svg> tags are the pages - this is what I do in my app. I also use the fact that gzip files can be created with independently decompressible blocks to create svgz files with page-level random read access [1].

But another barrier is that browsers refuse to support SVG fonts. One supposed reason for this, the lack of hinting support in SVG fonts, is less relevant now with high DPI displays - macOS no longer does hinting at all I believe. The additional effort to support SVG fonts is really minimal [2], so it seems strange that it's intentionally omitted.

[1] https://github.com/styluslabs/ulib/blob/master/miniz_gzip.h

[2] https://github.com/styluslabs/usvg

comment 6y ago · link · parent

I've just released a fork of nanovg that does GPU rendering a bit like Pathfinder, so it can support arbitrary paths - nanovg's antialiasing has some issues with thin filled paths. It also adds support for dashed lines.

https://github.com/styluslabs/nanovgXC

If you give it a try, let me know how it works for you.

comment 6y ago · link · parent

Seems to be the only one here with real stylus support - pressure sensitivity and draw with pen, pan with finger. Very nice!

comment 6y ago · link · parent

I've added shared whiteboarding to my handwriting app: http://styluslabs.com/share It is possible to deploy your own server.

comment 8y ago · link · parent

I'm hoping to add some rough OCR to allow searching in the future. In the meantime, if you turn off pressure sensitivity (Pen menu -> Custom Pen), you'll get raw strokes in the SVG instead of filled paths.

comment 8y ago · link · parent

Creator here. Although the site hasn't been updated in a while Write isn't dead - there will be a major update coming out in a few months.

comment 9y ago · link · parent

Fuel consumption works out to between 2 and 4 mpg, depending on payload.

comment 10y ago · link · parent

Three groups published essentially the same results in the same issue of Science:

Greiner group: https://arxiv.org/pdf/1605.02704.pdf

Zwierlein group: https://arxiv.org/pdf/1606.04089v1.pdf

Bloch group: https://arxiv.org/pdf/1605.05661v1.pdf

comment 11y ago · link · parent

at the next stop sign he just cruised to the stop sign in the 2 foot space between the cars and the curb and blocked slowed down even more cars

If the cyclist passed you and even more cars already at the stop sign, that implies that if, instead of passing him, you simply followed him as you would have any other vehicle, you would have ended up in the same place in the queue of motor vehicles at the stop sign. Thus you saved zero time by passing the cyclist.

In city traffic, the average speed of a cyclist can easily be greater than the average speed of motor vehicle, yet many motorists, perhaps not understanding the difference between maximum speed and average speed, insist on rushing past cyclists at the first opportunity, safe or not, just to stop and wait at the next intersection.

comment 12y ago · link · parent

Another option is http://www.zedboard.org The MicroZed has a Zynq 7010, 1 GB DDR3, gigabit Ethernet and USB 2 for $199.

comment 12y ago · link · parent

The Dart and nearly all other wall-plug AC to DC converters use a rectify-invert-rectify method. They first rectify the 50/60Hz mains AC to DC, then convert it back to AC at much higher frequencies in the kHz - MHz range, or in the case of the Dart, hundreds of MHz, and finally rectify it again to produce the final DC output. For a given amount of power output, at higher frequency less energy has to be stored in the circuit per cycle (i.e. stored in reactive elements like capacitors), which enables more compact components to be used.

comment 12y ago · link · parent

I'd like to see all taxes replaced by a wealth "tax" in the form of a voluntary--not coerced--payment to the state for the service of recognizing and protecting one's ownership of a piece of property. Payment would be encouraged by the fact that if an individual failed to pay the tax for some property, someone else could take it from them, pay the tax, and become the legally recognized owner, leaving the original possessor with no legal recourse.
12