Better HN
topnewbestaskshowjobs
Log inSign up

touchpadder

36 karma · joined Apr 13, 2017 (9y ago) · 84 submissions

javascript
Submissions

comment 5mo ago · link · parent

It works on mobile too. https://x.com/DVLPLONDON/status/2064195964953313741

comment 5mo ago · link · parent

The game uses DEM data and OSM maps to generate in a worker: 3D roads, intersections and tunnels. Everything is created in real time around you as you drive. The link takes you straight to a high speed race on a motorway in France. You can create your own races anywhere in the world and share the link with your friends. Press X to reset the car, long press X to return to the road. Press J for Nitro and long press to jump with the car.

3.

Hop.Earth – Google Maps and Need For Speed. World around created while driving(hop.earth ↗)

5 points · by touchpadder · 5mo ago · 4 comments

comment 5mo ago · link · parent

Hop Earth combines DEM data with OpenStreetMap to generate roads, intersections, tunnels, bridges and their physical meshes. It creates 1:1 scale world where you can drive anywhere on the planet. It's all generated in real time on your device as you drive. Early Access is now live.

5.

Hop.Earth – Google Maps and Need for Speed – Drive Anywhere on Earth in Browser(hop.earth ↗)

4 points · by touchpadder · 5mo ago · 2 comments

6.

Show HN: Multistate – Save and restore WebGL state like in a 2D canvas(github.com ↗)

2 points · by touchpadder · 2y ago · discuss

comment 2y ago · link · parent

This one is actually an SVG not a font. There was no such font but I really wanted to make this flaming Diablo logo. As a side effect now any SVG can be dragged and dropped onto the editor and all paths and shapes will be automatically extracted and flattened.

8.

Original Diablo 1 logo reacreated in WebGL(font.skin ↗)

4 points · by touchpadder · 2y ago · 1 comment

comment 3y ago · link · parent

Until now such rich text effects required manual animation in programs like After Effects and exporting to videos.

Font.skin connects GPU shaders with webfonts to allow creating real-time, browser-based animated text effects never seen before on the web.

Global uniforms are compatible with Shadertoy i.e. iTime, iResolution etc. to allow pasting parts of shaders from ST.

Font skins can be exported to pure HTML or React and have no dependencies. Text transitions are scriptable in GLSL which is transpiled to JS. This is to allow exporting to game engines in the nearest future as transpiling from GLSL to other strongly typed languages is simpler than from arbitrary JS. The resulting code together with all required glyphs, gzipped often takes less space than a screenshot of itself or the font it's based on i.e. 30KB

10.

Font.Skin – No more average CSS text effects, time for awesome GPU ones!(font.skin ↗)

2 points · by touchpadder · 3y ago · 1 comment

comment 3y ago · link · parent

The premiere was just last night so you can't find these anywhere else!

This is all very random but also fun to watch. I like the song in demo 33. Some demos are very high-effort and others....no effort at all :)

12.

Demoscene not dead Revision 2023 – 41 cool new demos, last one is the winner(youtube.com ↗)

2 points · by touchpadder · 3y ago · 1 comment

comment 3y ago · link · parent

For simple devices like IOT etc to be able to keep using the short 32bit date format. Also for databases that may store dates as integers to save the space. There are plenty of cases that may want to keep using a short 32bit date format. After 2038 anyone will be able to count 32bit time from any arbitrary point of time so before that happens I'm simply suggesting a standardized way of reliably restarting it for centuries to come

comment 3y ago · link · parent

Using negative values would only complicate things and the goal is to have a simple solution for not losing convenience of having a unix timestamp that fits in 32bits and is very straightforward.

In 99.9% cases there will be no need to keep track of the epoch just like the current computers don't look before 1970. In rare cases if its required the epoch can obviously be stored in another byte.

comment 3y ago · link · parent

How does it require less implementation? It's just another arbitrary point in time and 2106 is too late.

comment 3y ago · link · parent

There's nothing ambiguous when the epoch is known and the previous one is long gone. So you're confused about restarting a timer every 50 years, ok.

It's not true that it's much simpler to work with two 32bit words for a date than working with simply restarted clock. Basic arithmetics cannot be used reliably so every operation must go through a library like i.e. bigint used to require. This complicates the system and the goal of having a reliable 32bit date format in the future is for simplicity.

comment 3y ago · link · parent

For purposes that require looking far into the future or the past we already have ubiquitous 64 bit computers. The goal is to be able to fit the measure of time in 32bits in a standard way even after year 38 to have an alternative to using only 64bit time. 32 bits can only fit so many seconds so the clock must be restarted from time to time. The idea is to have a new 32 bit epoch every 50 years.

comment 3y ago · link · parent

By assuming which epoch it is and it will be clearly a separate data type from the old unix epoch. Currently the assumption is the epoch which started in 1970. 50 years is long enough period of time to keep a standard and 18 years is long enough to switch to a new standard. With the updated standard it is simply epoch 2 now that is ignorant about any epochs before or after.

comment 3y ago · link · parent

Sure and it will be used widely. What I'm proposing is how to measure the time with only 32 bit used and the solution could be a new epoch every 50 years.

comment 3y ago · link · parent

Sure, using 64bits is one way but many devices i.e. IOT don't need 64bit support. 64 bit will definitely be a standard, but a concurrent standard can be implemented to allow keeping the time in 32 bits. Starting a new epoch every 50 years could be one. So starting from 1 Jan 2020 we're in epoch 2 now

comment 3y ago · link · parent

Starting a new epoch every 50 years is kind of round and leaves plenty of space in between. 1970 is epoch 1, so this one will be epoch 2 and the next one in 2070 will be epoch 3 etc. It will be easy in a few hundred years to know which epoch is the current one. 2020 not 2000 for backwards compatibility to keep the intervals even for the new epochs, because the first one is already baked everywhere so we can't switch it to 1950.

comment 3y ago · link · parent

We're slowly running out of time in 32 bits. It would be good to have another standard measure of time that fits in 32 bits and is agreed upon long before the old one expires

23.

Let's restart counting Unix timestamp to from 2020

2 points · by touchpadder · 3y ago · 21 comments

24.

Fin3D – S&P 500 market data visualized in 3D(fin3d.com ↗)

2 points · by touchpadder · 3y ago · discuss

comment 3y ago · link · parent

Thanks for the link, pretty cool tool. So it seems like the risk of a conflict is pretty low and if it happens then a solution is to use "npx ntop" instead of just "ntop"

comment 3y ago · link · parent

although its functionality is different looks like it's a name collision, at some point I may change it if the old one is still being used

27.

NTOP – Linux “top” for Node.js part 2, now working directly from CLI-only

7 points · by touchpadder · 3y ago · 4 comments

comment 3y ago · link · parent

After digging into .cpuprofile format I managed to recreate "Bottom-Up" view directly in CLI

29.

Ntop – Linux-like “top” CLI tool for Node allowing easy runtime CPU profiling(github.com ↗)

5 points · by touchpadder · 3y ago · 1 comment

123