HNHacker News
TopNewBestAskShowJobs

larelli

972 karma · joined April 17, 2010

submissionscomments
larelli··on My practical approach to surfing the web safely
This sounds interesting and useful. How do you set something like this up? Are there good tutorials to follow?
larelli··on The Ambition Project
I think it's one thing to do this for yourself or subject others to it in a somewhat mild form (e.g. have them listen to bad karaoke) but "2. The Impossible Day Project" goes too far for me. If I was one of those people who are asked, thought about what we could do together, and then get rejected as part of some game or experiment, I'd be upset.
larelli··on Every new car sold in the European Union must include a driver monitoring camera
The only time our 2025 Kia warned me about being distracted was about 30 minutes into a highway drive in Europe during heavy snowfall. The roads were covered in snow, people were generally cautious but traffic was still flowing and I was checking mirrors more frequently than usually to make sure lanes around me were clear and I was aware of everything going on. I guess staring straight ahead without situational awareness is the way the car prefers. :|
larelli··on Show HN: I made open source, zero power PCB hackathon badges
This sounds really neat. Is it a commercial product or did you build them yourself?
larelli··on Tapping Morse code on a wall
The only Morse code message I know is SOS which is ...---... and I imagine it's reasonably easy to understand when being tapped in an emergency situation. It would tell rescuers that someone is still alive and to continue their search.
larelli··on The unsung hero of the Apple Watch is its hidden buttons
The article goes to great lengths to describe the difficulties in manufacturing and assembling the mechanism in the band itself but then also mentions that there a large ecosystem of third-party bands available. How do all those get made? Does every manufacturer have to use the same high-precision machines?
larelli··on Europe Is Guaranteeing Citizens the Right to Repair
I'm in the same boat. What kept me from replacing the battery is that the device is EOL and won't receive any software updates, including security fixes. Did you also change the firmware?
larelli··on How to properly manage SSH keys for server access
I think I understand how signing keys removes the need to update every server when adding a user to the system, but it seems like that comes at the price of having to update them all when someone leaves to revoke their certificates. What is the benefit of pulling revoked certificates to all servers periodically vs pulling authorized_keys files? Is it possible to work around this at all, e.g. conceive a system that eliminates all needs to push to servers? Is an online lookup like LDAP the way to go there?
larelli··on Secretive military spaceplane lands in Florida after record-long orbital flight
The Reaction Control System (RCS) [1] uses hypergolic fuels [2] which are highly toxic. Such fuels are desirable in this application because they combust whenever the fuel and oxidizer are brought in contact. There's no need to an ignition system, which reduces the chance for failure.

[1] https://en.wikipedia.org/wiki/Reaction_control_system

[2] https://en.wikipedia.org/wiki/Hypergolic_propellant

larelli··on That New Memory Smell: Tech Can Tell If Your Flash Is New or Recycled
From the headline I assumed that technicians were literally able to smell whether a chip is new, possibly by it releasing gases shortly after production. It reminded me of the distinct smell of new hard drives when you open the factory sealed pouch.

I was slightly disappointed when I found that the article describes software based testing instead.

larelli··on Machine Learning for Systems and Systems for Machine Learning [pdf]
It looks like this paper has more information: https://arxiv.org/pdf/1712.01208v1.pdf
larelli··on Show HN: A New, Clean Geolocation API
I tried "curl ipdata.co" and got a 301 page. It'd be great to get the same json back that's shown on the webpage.
larelli··on Some Internet Archive employees to receive some of their pay in Bitcoin in April
Here's a very funny rant about the overuse of QR codes: http://www.youtube.com/watch?v=V2rVYvylvZc
larelli··on Some Internet Archive employees to receive some of their pay in Bitcoin in April
I found the title of this post to be misleading or at least stressing its point. The article says

"Some Internet Archive employees have elected to receive some of their pay in Bitcoin in April."

so it's not all employees, not all of their pay and not all of the time, as I expected from the headline.

larelli··on Things I found on GitHub: shell history
I could memorize it from the moment I realized that it works exactly like 'cp', i.e.

  cp <orig> <copy>
Hence I think of it as

  ln <orig> <link>
(edit: formatting)
larelli··on Python.org Wiki has been Attacked
Couldn't someone at Google provide a dump of the wiki. Assuming that they have it in their page cache they might be willing to help, given they seem to be one of the largest organizations using Python.
larelli··on So you think you can tell Arial from Helvetica?
This misled me on the Mattel example. Could this have been a mistake be the quiz designers?
larelli··on Alias.sh: for finding, sharing and storing bash aliases
Are you the benjy from the site? Thanks for the help.
larelli··on Alias.sh: for finding, sharing and storing bash aliases
I really like the idea, but I'd do even more so if I could install a cronjob to automatically download a file with all aliases I previously added to my online profile. Of course this comes with security implications you'd have to sort out. Please do this (or let me help you with it).

Edit: I just found the feature on the site and am happy now. (:

larelli··on Math Puzzle: Pizza Paradox Puzzle
I think in each round the king plays the 2 coin flip for each of the selected candidates, one after the other, with the game ending as soon as the first contestant wins. This will result in 4 coin tosses for the seconds round, 8 in the third and so on. Hence allowed question regarding the round number.
larelli··on Out of control Java processes when dealing with a leap second?
On a localized box, I had to run "unset LANG" first, because otherwise date doesn't seem to understand its own output.
larelli··on NoPlainText: One time, browser-encrypted messaging
I noticed that the generated links default to non-SSL even though SSL seems to work and even when the site itself has been accessed via SSL.
larelli··on Codestre.am: streaming your code to the masses
Also, there is Playterm [1], which does the same thing for shell recordings made with the 'script' command. 'script' and the player 'scriptreplay' are shipping with most modern distributions, e.g. they come in the package bsdutils on Ubuntu.

[1] http://www.playterm.org

larelli··on SSH Key Audit on Github (required)
I mailed them as soon as I received their notification to check my keys, that any kind of help on how to actually view the fingerprint would be useful. Also I suggested as a bonus, that they detect the OS from the browser and display the appropriate information. I assume, that I wasn't the only one asking for more detailed guidance. Funny enough, four hours later, they did the exact thing and notified me again via E-Mail. What a great response!
larelli··on Pot.js is a utility library that can execute JavaScript without burdening CPU.
Note, that you can change the language using the little link titled "en" in the upper right corner.
larelli··on Don't write on the whiteboard
At first glance I don't think you can achieve O(document size) without some form of preprocessing. Each word in the vocabulary has to be looked at, so a natural lower boundary seems to be O(document size + vocabulary size).

Also it is unclear what will count as an atomic operation. Although the description reads as if word comparisons were counted, this makes for another simplification, as words could be of arbitrary size.

Also: I only checked the HN comment section to see if someone got the solution and I am amazed that others stuck to that part as well.

larelli··on Gitdocs: Open-source Dropbox using Ruby + Git
For me the biggest misssing feature of all approaches to online folder synchronisation (including Dropbox, in a sad way) is secure backend encryption. For me, this includes an open source client and a free choice, where to store my files. Ideally I could have several decrypting clients to work with my files, while an arbitrary amount of encrypted clients would store my files on various backends, one of which could be a company offering this as service.
larelli··on The answer is 2011. The question can be brute force.
(1+1+1)! = 3! = 6 as the parent comment suggested.
larelli··on HTML5 (plugin free) web-based terminal emulator and SSH client
There is FireSSH, a SSH client entirely written in javascript. I did not try it out, but it looks as if it should not be that much work to embed it into an own page.

http://firessh.mozdev.org/

Edit: Apparently FireSSH uses a javascript port of the paramiko ssh library. The port can be found here: http://www.mozdev.org/source/browse/fireftp/src/content/js/c...

Edit: From the paramikojs library: Q: Can I use FireSSH on a webpage? A: It's not possible at this time. The web at large currently doesn't allow javascript the same amount of permissions like addons have. The main issue is basically making socket connections. No, websockets don't cut it :-/

larelli··on HTML5 (plugin free) web-based terminal emulator and SSH client
This looks like an impressive, feature-rich version of escape from the web (https://launchpad.net/eftw). Both use tornado on the backend and there seem to be some similarities in the multiplex classes. Escape from the web in turn shares code with ajaxterm.

Both (gateone and eftw) render terminal output on the server side using a python terminal emulator, while shellinabox mentioned in another comment uses a Javascript terminal emulator on the client side.

Edit: The docs say, the terminal class was written from scratch.

Page 1 of 2Next →