Better HN
topnewbestaskshowjobs
Log inSign up

Ao7bei3s

1,549 karma · joined Dec 5, 2012 (13y ago) · 595 submissions

Submissions

comment 10y ago · link · parent

If you love horrible banding effects...

comment 10y ago · link · parent

It's not about proving that you can serve HTTPS, it's about proving that you can legitimately serve HTTPS.

I'd find HTTP(S)-based validation ok if CAs wouldn't issue certificates with an expiration time past the expiration time of the DNS records.

Of course that would be fairly impractical. But then DNS-based validation exists and doesn't have these problems.

comment 10y ago · link · parent

Because A records don't mean complete control over domains.

There is a difference between "I can serve content under this domain (currently)" and "I control this domain (and can decide where it points)".

DNS domain validation is the right way to do domain validation. But it's slightly harder for users, which is why HTTP(s)- or E-Mail-based validation is being done more often.

comment 10y ago · link · parent

It's purpose was to make tweets fit into SMS.

It's past its purpose because noone uses Twitter via SMS and people routinely circumvent it with text in images and multi-part tweets anyway.

comment 10y ago · link · parent

Thanks for the name-calling. Unfortunately, it is you who is out of touch with reality: the switch to Python 3 is happening. Python 3 isn't going away, Python 2 is.

All important libraries support it by now.[1]

[1] https://python3wos.appspot.com/

All important Linux distributions ship Python 3, including typical "server distributions", even for old stable versions (like Centos 6, Debian Wheezy). They also ship most Python library packages for both versions.

Most desktop distributions have already switched their default/preferred version (e.g. Arch) or are in the process of it (e.g. Fedora[2], Ubuntu[3]).

[2] https://fedoraproject.org/wiki/Changes/Python_3_as_Default

[3] https://wiki.ubuntu.com/Python/3

The first libraries are beginning to drop Python support (e.g. pyKDE[5]).

[4] https://blogs.kde.org/2014/08/10/pykde5-status

New Python3-only libraries are popping up (at least according to the metadata on PyPi)[6].

[5] https://stackoverflow.com/questions/4948600

And in four years (2020), Python 2 will be unsupported.

Python 3 is the obvious choice for new Python projects today. And maintaining and deploying legacy codebases will become more and more annoying as support (bugfixes, packaging) for the libraries they use goes away.

So what the hell are you talking about?

comment 10y ago · link · parent

It's neither shortsighted nor pointless.

This way people will actually switch. Programmers won't change without being forced.

Also, Python 3 was their one chance to break backwards compatibility. And there are so many breaking changes in there that people will have to change their codebase to work with Py3k anyway. Your suggestion just delays breaking compatibility (or actually, causes a later release to break backwards compatibility when it wouldn't have been necessary otherwise) ...unless you're arguing for keeping the old print in indefinitely. Why deprecate it then? And old cruft with "oh, we have that but don't use it" labels attached is definitely confusing. And the label would be ignored by too many "that's-the-way-I've-learned-it-and-it-still-works-so-whats-the-problem" programmers.

This is one of the most trivial changes 2to3 makes; it can be done 100% reliably statically, it's very local and very mechanical, and if you don't get it right you get a syntax error on startup (instead of exceptions at runtime (e.g. unicode strings) or even different behavior (e.g. integer division)). The print statement->function change is just not that big of a problem when updating codebases to py3k. It's very visible (because everyone knows print), but the other changes will take much more work and be much harder to debug, so why get hung up over it?

comment 10y ago · link · parent

No, that's been tried and it doesn't work well for multicopters.

* They're only effective from quite some altitude, much higher than you typically fly multicopters

* They'll still just soften the landing somewhat anyway

* Multicopters are much more fragile than, say, EPP planes,

* You have to make sure they don't get caught up in the props

* Also you need to find a reliable way to trigger them -- for model aircraft in general and multicopters in particular, humans are way too slow and sudden high accelerations in arbitrary directions are common for multicopters.

comment 10y ago · link · parent

You misread my post. I was arguing for regulation and enforcement thereof.

> Why should people who didn't pass these tests be allowed to fly people around commercially?

By that I meant: people who didn't pass these tests should, not be allowed to fly people around commercially -- so I share the opinion of that US court.

> Also, why couldn't that company provide the certificate?

By that I meant: "cover their pilots cost of certification and do the other duties (e.g. ensure maintenance gets done, and be liable if it isnt) airlines have to do", not "just hand out certifications".

comment 10y ago · link · parent

Or modernize the applications. Throw out the ad-hoc formats and parsers, replace them with machine-readable equivalents.

For example, systemd finally provides a logging system that allows structured logging with key/value fields.

comment 10y ago · link · parent

> ... in the same /64 range for the most part, so as easy to block/filter/limit as one IPv4 address.

Possibly even easier, because of IPv4 deaggregation.

(Because of IPv4 address scarcity, many providers have discontinous IPv4 address space. This is mostly a problem for the core, because it leads to much larger BGP routing tables.)

comment 10y ago · link · parent

So?

Why should people who didn't pass these tests be allowed to fly people around commercially?

Also, why couldn't that company provide the certificate?

comment 10y ago · link · parent

With certificate transparency, at least we'll know about it - afterwards, at least.

comment 10y ago · link · parent

Bookmarks?

comment 10y ago · link · parent

Favorably.

Obviously, it's free and open source, with no board size / layer limitations. On the other hand, Eagle is still much more widely used in the DIY community, and most my-first-PCB-like tutorials are Eagle-based. Kicad has for years suffered from the binary release being really, really outdated. Kicad development feels pretty fast-paced.

It has most or all of Eagles features, and some nice advanced features Eagle doesn't have. Especially it's PCB routing support is much better. For example, it supports push shove routing[1] and automatic trace length matching. It also shows the netname on pads (in Eagle you have to use "show" all the time). On the schematic side, It has had hierarchical sheets for many years now, whereas Eagle only gained hierarchical design support earlier this year in version 7. Things like that.

There are minor workflow differences in some places. For example, it uses key combinations instead of typed commands. There's a netlist generation step between schematic editing and board editing, so going back and forth between the two isn't as straightforward as it is in Eagle.

[1] If you're used to Eagle, this may blow your mind: https://www.youtube.com/watch?v=C02D0_kNQeM

comment 11y ago · link · parent

+1 for copy/pasting your old comment[1] when the same discussion pops up yet again within 30 days. I suppose there's really nothing new to say here.

[1] https://news.ycombinator.com/item?id=10514904

comment 11y ago · link · parent

Private peerings are very cost-effective for DTAG because DTAG usually takes money for them.

comment 11y ago · link · parent

Vodafone doesn't just offer cable service but also DSL and VDSL, and that's rock solid.

The cable service slowdowns are technology inherent. But that's a last-mile problem and not a backbone problem. Also, these providers aren't trying to use their customer base to extort money from hosters.

comment 11y ago · link · parent

> Who are the providers that misbehave

The article is about T-Systems (AS-DTAG), which is the largest ISP in Germany and basically the company we mean when we talk about net neutrality violation here.

Look at the speeds of their exchange points: https://beta.peeringdb.com/net/196 - 34 Gbps total: 1x 20G, 1x 10G, 4x 1G. Seriously, 1Gbps!

Now compare with another ISP with only 25% the revenue: https://beta.peeringdb.com/net/997 - 890 GBps total.

comment 11y ago · link · parent

  systemctl enable serial-getty@ttyS0.service
  systemctl start serial-getty@ttyS0.service
Alternatively, add to kernel command line:

  console=ttyS0

comment 11y ago · link · parent

As long as airlines set prices in an unethical way (e.g. increase price the longer you look at an offer), there is no discussion to be had about the behavior of the buyers.

(Funny, so similar to the ad company / adblocking situation.)

comment 11y ago · link · parent

I always start with an empty commit[1] for two reasons:

1. It's slightly harder to edit the first commit afterwards (say, to replace a working title with the actual project title before publishing, or to fix authorship or whatever).

2. I create a lot of small repos, all the time, so I have a shell alias for "init, commit, add .gitignore, commit".

[1] git init && git commit --allow-empty -m 'Initial commit'

comment 11y ago · link · parent

- "SSL": use lets-encrypt, save 11$/yr. (there were other gratis CAs before that).

- "must use Mac or Ubuntu": what?

- "must use vim (with as many plugins as possibly)": what? Try a good IDE, like the ones from JetBrains, and you'll be amazed how much it does for you. Aren't you tired of doing refactorings like renaming variables with search/replace? (It even has an excellent VIM emulation, and I'm a heavy vim (real vim) user.)

- EV SSL cert: dubious advantages

- fail2ban, non-standard SSH port: Just disable password logins instead. fail2ban isn't all that useful for SSH. Non-standard SSH ports will keep your logs clean, but thats it.

- root login: just use "PermitRootLogin without-password" (prevents password login, allows ssh key login) and you're good. A modern Debian does this by default. "SSH access only"? What the hell are you talking about?

I stopped reading shortly after (80% due to lack of time, 20% lack of interest).

1
1617181920