Better HN
topnewbestaskshowjobs
Log inSign up

usernam33

98 karma · joined Jan 6, 2018 (8y ago) · 39 submissions

Submissions

comment 1w ago · link · parent

Free Software for Free Riders!

Since the OEM software for my bike was a closed and stale ecosystem, split among several apps and subscription models, I have started building my own app.

mySPIN is a Bosch infotainment system used in some models by Kawasaki, Suzuki, Ducati, BRP and Jaguar Land Rover. It includes a whitelabel android app that connects to a compatible vehicles dash via bluetooth & wifi or usb receives telemetry and inputs. It sends its own content as stream of frames to the dash.

My app uses the same mechanism to replace the orignal app and deliver some improvements over the OEM experience:

- always on ride log without a second app that needs to run while logging and stops when switching apps - in app ride replay with telemetry display - track timer - automatic performance timing (0-60, 1/4mile, breaking, …) - ride log export in common formats - race box / gps module support - display google maps turn by turn hints & google maps route import with pins - in app navigation (Valhalla, OSRM, BRouter) - rpm & boost gauges on the dash with infotainment open - recovers automatically from connection drops and crashes instead of needing a restart - automatically connects even from the background - video player (while parked) - faster onscreen keyboard - fault codes - no extra app to change bike settings - speed trap warnings (where legal) - dynamic road hazards, highway alerts (tailbacks etc.), from sources relevant to my region - last parked position

It currently is tailored to the H2 SX but I am planning a rewrite to make it modular so that versions for other mySPIN vehicles can be built easily and to support IOS.

While working on this I also discovered multiple recent projects working on Kawasakis without mySPIN, using Rideology, which can only show turn-by-turn arrows. Some projects have still improved the phone side, e.g. adding Google Maps as the nav source. https://github.com/Darthbob/kawa-nav

The original work started years ago by patching the whitelabel apps whitelist for third party apps it can launch. Trying to patch e.g. google maps to deliver frames the way the app expects. But with AI just doing what would have been a year of work for a small team was possible in weeks. And most kinks have been found withing a few test rides (I hope).

Using it is of course a risk and common sense should be used to not ride while looking at the dash for longer than a glance unless the situation allows. I am in no way affiliated with Bosch, Kawasaki or other Brands using mySPIN.

2.

Open Source Motorcycle Infotainment(gitlab.com ↗)

2 points · by usernam33 · 1w ago · 1 comment

comment 4mo ago · link · parent

Web games moved way beyong these style of games. Complex 3D using three.js and rigid body physics engines in wasm workers like rapier is feasible now. We can do full multiplayer pipelines with server authority, client prediction and reconciliation and still run at 60fps. Its really amazing what can be pressed into a single html these days.

4.

Minesweeper in 83 Lines

1 points · by usernam33 · 5y ago · discuss

5.

Half Life Text to Speech(github.com ↗)

38 points · by usernam33 · 7y ago · 2 comments

comment 7y ago · link · parent

This reminds me of something I read about memristors. Once they get cheap and fast enough to be sold in gb or tb sticks they might replace ram and ssd's/hdd's for some computers. This would allow a computer to boot once (at the factory) and then just return to the state it was when powered on again.

comment 7y ago · link · parent

Nobody knows until the real world benchmarks arrive. But this is already a nice indicator for the next gen Ryzen's being powerfull.

comment 7y ago · link · parent

The post made it to the frontpage, no surprise new visitors get greeted with "Server busy" now.

comment 7y ago · link · parent

There will always be a performance loss unless you go the extra mile and passthrough the gpu. It already works great, but is not a breeze to set up.

comment 7y ago · link · parent

I have written a "guide" for myself to replicate my setup. It is by no means perfect, but maybe it helps: https://gitlab.com/snippets/1678554

comment 7y ago · link · parent

Running linux as Host and optionally starting my gaming vm. With KVM and various hardware passthroughs (pci network card, usb devices, gpu, etc.) it is as fast a native installation and sometimes even faster compared to my old bloated windows host. Ofcourse it was not easy to setup and some games needed tweaking (e.g. Just Cause 2 wanted to use unsupported cpu features and therefore needed an extra flag). But if one has the time and patience this is awesome.

comment 7y ago · link · parent

"...the median time to discovery for a key leaked to GitHub is 20 seconds..." https://news.ycombinator.com/item?id=19602279

comment 7y ago · link · parent

Some details: https://securelist.com/project-tajmahal/90240/

14.

TajMahal Apt Attack Uncovered(kaspersky.com ↗)

3 points · by usernam33 · 7y ago · 1 comment

comment 7y ago · link · parent

Software on Linux is not always better. IntelliJ for example took focus two times on startup for a long time.

comment 7y ago · link · parent

And companies.

comment 7y ago · link · parent

It wont work with password managers or devices without keyboards. Unless a comma (or other char) separated string form is accepted by the implementation. I could also think of solutions for screen keyboards, but my goal is not to replace normal passwords but rather to offer an alternative where high security is needed and compatibility granted.

comment 7y ago · link · parent

Actually I register groups when a key is lifted. You probably typed fast and had P still pressed when A was pressed. I do not yet have a solution to compensate for varying swiftness. These typos could be prevented with a some effort I guess. The groupings need to happen client side, timing data is not involved at all, only keyDown and keyUp events are used.

Keyboard Layouts should be no problem (except I missed something) since I use key codes rather than values.

Maybe the source also helps answering some questions: https://gitlab.com/FalkF/combopassword/blob/master/app/compo...

A Combo Password should offer more security but I still got to wrap my head around the math. I got a formula from someone helpful with a master degree in math in the stackexchange post: https://math.stackexchange.com/questions/3133516/number-of-p...

comment 7y ago · link · parent

Even though it turned out to be perfectly explainable why this seemingingly random password is used so often, I find it a great opporturnity to self promote my more secure version of passwords:

https://news.ycombinator.com/item?id=19290613

comment 7y ago · link · parent

I did open a post on Stackexchange about this: https://math.stackexchange.com/questions/3133516/number-of-p...

comment 7y ago · link · parent

The comma is just there to visually separate the key combinations, I did not implement a better solution for visualizing a combination yet.

A normal alphanumeric (36 characters) password with 5 chars has 36^5 possible combinations: "12345"

A combo password also has this 36^5 combinations since you can enter a normal password (it is just 5 single key combinations): "1,2,3,4,5"

But there are even more combinations since you can press keys simultaneously: "12,3,4,5" or "1,23,45," etc.

The checkSequence flag toggles the password checks strictness. When false you can set the password "12,3,4,5" and entering "21,3,4,5" will still be valid since "21" is the same two keys pressed as "12". When set to true only "12,3,4,5" would be accepted.

comment 7y ago · link · parent

Hi, I was wondering about use cases for n key rollover (apart from gaming) when I thought of using key combinations as a password. This is a small demo login to demonstrate my idea. There should be more combinations in a combo password than in a normal password of the same length.

23.

Show HN: Combo Password: A (hopefully) new type of password(92.60.36.247 ↗)

2 points · by usernam33 · 7y ago · 8 comments

comment 8y ago · link · parent

I dream of a bright Future where my PC will have no ram, hdd or ssd but only memristor memory. No need for booting or shutdown, I just add power and everything will be the same as it was when last used.

Since I first read about them years ago this is still what I am waiting for even if it does not seem to be at grasp.

comment 8y ago · link · parent

The linked video states they could recognize obstacles years later, so I think there was no reading of signs etc. involved. It must have been only lane mark recognition that was used to steer.

The van from the vid came years after the two mercedes s cars. I think there was no breaking for obstacles, exiting the highway, or even using interchanges. It was simply holding a lane (maybe change it when told to) and holding a set speed.

Correct me if I am wrong, as I did not read into the experiment.

https://www.youtube.com/watch?v=I39sxwYKlEE

comment 8y ago · link · parent

Imagine it being 8pm, you sit in a operating room of germanys largest internet knot with up to 6,027 Tbit/s throughput and then the power goes down.

I am concerned that this even happened in a place important like this.

pic related: http://img.pr0gramm.com/2018/04/09/9286baa4b2261184.jpg

The article states internet was down for users at around 10pm (I expirenced it live). So they might have been on generators for two hours (speculation).

Shouldn't we decentralize more?

27.

DE-Cix – Power failure leads to Downtime in germany(heimatzeitung.de ↗)

18 points · by usernam33 · 8y ago · 11 comments

comment 8y ago · link · parent

If the numbers of other places detections are simmilar high I can now partly understand the negative backlash.

comment 8y ago · link · parent

People use it to do bad things, so this thing must be fundamentally evil. It is so evil, it does steal your processing power, that is worse than loss of personal data like credit cards and deserves to be the most evil malware of the millennium.

/s

comment 8y ago · link · parent

This is so right. Userbases can not be boiled down to some core attributes everybody shares.
12