HNHacker News
TopNewBestAskShowJobs

aexaey

789 karma · joined July 21, 2015

submissionscomments
aexaey··on The Return of the Command Line Interface
A good double-tab auto-completion in a CLI gives explicit boundaries and flattens learning curve almost to the GUI level, while letting you retain full flexibility and expressive power of a CLI.

This work wonders in systems where complete set of commands is (semi-)fixed, like Cisco IOS CLI. *nix CLI is somewhat behind on this front, unfortunately.

aexaey··on Skype Is Down. What Next?
Technically, XMPP is federated (like SMTP) rather than decentralized (like Kademlia).

Point about single-server downtime still stands, of course.

aexaey··on Ask HN: Any good Asterisk client open source projects for looking at their code?
https://en.wikipedia.org/wiki/CSipSimple (Android SIP client)

For a more low-level stuff, it might worth having a look at http://www.pjsip.org/ (a really good SIP library written in C with among others, Java bindings; CSipSimple is based on it).

aexaey··on Sslip.io: A Valid SSL Certificate for Every IP Address
Typical way to tackle sub-domains would be to issue a wildcard certificate.
aexaey··on Cisco advisory: Ethernet cable may press factory reset switch
General idea here is that when you have a problematic piece of gear in somebody else's DC across the country, it is usually easier and faster to ask "remote hands" to press and hold the button, compared to asking to get a laptop, serial cable, fire up a terminal, join webex with his laptop and only then try to send break or whatever.
aexaey··on Premium Android hits the wall
> bought a second-hand (...) Potential sale for Samsung lost.

Not necessarily a bad thing in a grand scheme of things. Apple's hardware for example is famous for commanding rather high price on a second-hand market. This trend helps a lot in justifying high price point for a new unit, further strengthening margins.

aexaey··on Detecting an asymmetric Curve25519 backdoor in RSA key generation algorithms
Well, that's the version that samvartaka linked to. ;-)
aexaey··on Detecting an asymmetric Curve25519 backdoor in RSA key generation algorithms
Actually, you don't need the master password to recover. Reusing master hash (MASTER_PUB_HEX) works just fine.

https://gist.github.com/aexaey/3646bb438f8712cbadf5/revision...

Scroll to the third change from the top - stupid github doesn't allow (an obvious) way to make a direct link to a particular gist's revision.

aexaey··on Systemd Absorbs “su” Command Functionality
Lennart's basic premise for doing this is quite wrong. Not completely groundless, but still substantially wrong. He writes:

> [su] will given you kind of a shell, and it’s fine to use it for that, but it’s not a full login, and shouldn’t be mistaken for one.

Well, yes, by default. But... that's what "su -" is for. Gives you new root shell as a treat, complete with env clean-up and running root's preferred shell interpreter.

Granted, having to type two extra characters each time is mildly annoying, but hardly a good reason to produce grand claims like "su is really a broken concept".

aexaey··on How the Dutch got their cycling infrastructure (2011)
> It's no wonder that the Netherlands has a larger number of sold bicycles than it has citizens.

Many people in NL have two bikes per person if a daily commute's too long to be comfortably done by cycling alone:

- one bicycle at home to cycle to the train station near the place of residence;

- second bicycle parked overnight (and over weekend) near the train station of the city one work in, to continue the trip to the office.

...and in the afternoon - same exercise in reverse.

This practice is so widespread in fact that a year or so ago, it was a matter of public debate - who is due to pay for those huge bicycle parking places next to the train station: Municipalities (because those bike parking places are on municipal ground), or NS, the Dutch train operator (because it is NS' customers who make use of those bike parking).

aexaey··on How the Dutch got their cycling infrastructure (2011)
BTW, photo in the linked article was made from the top of this 2500-place 3-story-high bicycle parking structure at the Amsterdam Central train station:

https://nl.wikipedia.org/wiki/Fietsflat

edit: grammar

aexaey··on Jungle – Simple CLI for AWS operations
Thanks for introducing me to boto3. Being able to write compact and powerful stuff like:

print [i.console_output()['Output'] for i in boto3.resource('ec2').instances.filter(Filters=[{'Name': 'tag:Name', 'Values': ['frontend17']}])][0]

...is pretty awsesome!

aexaey··on Receiving Weather Satellite Images With An £8 Dongle
Linear monopole antennas are very easy to reason about.

Imagine (or actually draw) a sine wave graph, and then fit your antenna along the X axis of the graph. Now look at "signal" amplitude at the antenna's extremities. You'll notice that 1/4 wavelength antenna will give you the strongest signal, while 1/2 and full wavelength will apparently give no signal at all. The only reason that full-wavelength piece of wire picks up anything at all are build imperfections - wire length not perfectly matched to wavelength, not perfectly straight, not perfectly aligned with signal source, signal reflections hitting it from different angle, etc. Thats why olympus refers to performance of full-wavelength piece of wire as "random piece of wire"-kind of performance.

On the other hand, linear dipole would be 1/2-wavelength (or 2 times 1/4-wavelength), as it is just two 1/4-monopoles put together.

aexaey··on [dead]
Link is broken (getting "The page isn't redirecting properly" in Firefox)
aexaey··on A Tiny NTP client
Isn't that what htpd does?

http://freecode.com/projects/htpd http://ostatic.com/htpd

← PreviousPage 8 of 8