News for hackers. Stuff that matters.

oxplot

Re:WireGuard is now in Linus' tree on Tuesday January 28, 2020 @10:19PM (#22176991)
Wrote a little post some time ago on how to set it up on linux and use it on android. Super simple.

https://blog.oxplot.com/wireguard-vpn-on-android/

Re:City Roads – Draw all roads in a city at once on Wednesday January 22, 2020 @03:30PM (#22121683)
Export to svg as explained in another comment, open with inkscape and export to dwg.
Very cool.

For fun, I once verified the actual speed of a motorbike in a youtube video.

The video was a first person POV which also showed the speedometer clocking at 300km/h on a German autobahn. There were various comments on the video claiming it was fake. So I decided to verify it myself.

I went on Google satellite imagery and looked at a few autobahns to see how far apart the line markings were. I then measured how many lines the bike passed by going through the video frame by frame. Did the math and it turned out that the bike was actually moving at about 290 km/h. It was either measurement error on my part, measurement error on the bike's part, or that the bike's wheels were slipping at that speed (which was something I didn't know before this). I didn't look into it any further.

It was a fun experience.

Sure thing!
Awesome.

I've already started doing my own move to all things USB-C by making a custom made board [1] (which is also for sale [2]). I have so far converted 10 devices at home and gotten rid of their bulky bricks.

[1]: https://blog.oxplot.com/usb-pd-standalone-sink-controller/

[2]: https://www.tindie.com/products/oxplot/stusb4500-compact-bre...

Re:Ask HN: What are your best shell scripts that you use? on Tuesday December 31, 2019 @10:50AM (#21921799)
flashserve [1] to quickly share a file with my smart phone over WiFi.

sub [2] is a simple shell based template processor.

[1]: https://github.com/oxplot/gists/blob/master/flashserve

[2]: https://github.com/oxplot/gists/blob/master/sub

Re:Google Assistant Can Now Translate Languages on Your Phone on Sunday December 15, 2019 @06:34AM (#21795727)
This is different. I just tried it and the assistant translation isn't turn based. It auto detects the language after each pause and translates it to the other language. No chimes either. Just talk normally as you would.
Social games yes. For example, charades requires conversion of meaning to human movements. It's not to say it can't be done at the moment, but it's not something you would easily come across or that would provide the same experience as if you were playing with other people who are physically present. If you talk about actual physical robot doing the moves in front of you, then I'd say it's either cutting edge or not possible right now.

And it's certainly not accessible either way. With chess, and other games, you can simply download an app on your phone which you'll never be able to win against.

Re:Something Changed at Tesla on Wednesday November 27, 2019 @08:26PM (#21653899)
Tesla has always had somethings for those who do not care about environmental issues: looks (Tesla cars don't look like vacuum cleaners of the past), performance (fastest 0-100 of any sedan), technology (remote control, some self driving, OTA updates). In fact, the only way to appeal to general public is through these things. Environmental issues are just too hard to grasp in every day life, especially since their supposed effect are long into the future.
I personally lost interest in playing games that computers can play better than me or could in near future (I used to play video games and chess quite a bit). These days, I enjoy playing games that involve human interaction and improvisation, more than logical thinking and strategy. Every time I find myself in presence of a game like Cluedo, I can't shake off the thought that I could write a program in one hour to beat everyone, and so why am I wasting my time!
Re:Twitter lets you use 2FA without a phone number on Friday November 22, 2019 @03:06AM (#21603751)
You don't necessarily login to Twitter on the phone (I don't for instance). Even if you did, your login credentials are considered more sensitive data than the session cookie you get after you're signed in. As with the Twitter app, the window of time in which your login creds are in memory is short. With a TOTP app holding your private key around, you basically have half the credential available at all times (unless of course the TOTP app makes use of the mobile platform's hardware chip to encrypt the private key when app is not in use).
Re:Tesla Cybertruck on Friday November 22, 2019 @01:32AM (#21603318)
Re:Tesla Cybertruck on Friday November 22, 2019 @01:31AM (#21603316)
See people getting a ride in it: https://www.youtube.com/watch?v=BTDztHFa0_Q
Re:Tesla Cybertruck on Thursday November 21, 2019 @11:58PM (#21602743)
Didn't he start by saying the trucks in this category are number 1 sellers and to move everyone to sustainable energy, trucks need to go electric?
Re:Tesla Cybertruck on Thursday November 21, 2019 @11:43PM (#21602581)
You mean Tesla's chief designer Franz von Holzhausen? I'm not so sure. ;)
Re:Tesla Cybertruck on Thursday November 21, 2019 @11:37PM (#21602506)
ye, Elon was sweating like crazy right after the blunder. I also thought the presentation could have been rehearsed a little bit better as the slides seem to be off most of the time (I assume Elon is just way too busy to rehearse these things).
Re:Twitter lets you use 2FA without a phone number on Thursday November 21, 2019 @10:05PM (#21602085)
What is it with this bullshit practice of requiring TOTP/SMS setup first before using security keys! I've seen this all over the place, seemingly copied from all the existing ones. Basically they're saying, you must have a less secure 2FA before using a more secure one. Even github does this circus show but at least it lets you register two keys. So what I do is to setup TOTP, add two keys and then remove the TOTP on my phone.

As for limitation of one key, I use my Yubikeys with TOTP as well, so for services that don't support more than one security key, I store the same TOTP private key on both my security keys and get around it.

This! It's simple, performant depending on application and costs zero in extra development.
Re:NSW Digital Driver Licence on Thursday November 07, 2019 @10:57PM (#21479850)
The police would surely have that, but the app allows verifying anyone else's digital ID as well. Imagine the post office checking your address before handing over a parcel, etc.
Re:NSW Digital Driver Licence on Thursday November 07, 2019 @05:03PM (#21477799)
The crux of the issue is that the verification only tells you if the barcode is valid. However, there are no strong relationships between the barcode and the rest of the visual content (photo, numbers, dates, etc). Therefore, one can overlay malicious data around the barcode.

The fix would be to allow the verifier to independently retrieve the license details after scanning the barcode, instead of just seeing a valid/invalid message.

Older »