HNHacker News
TopNewBestAskShowJobs

Wilya

2,587 karma · joined May 16, 2011

submissionscomments
Wilya··on Instant.io – Streaming file transfer over WebTorrent
This flag is Android-only. It seems that disabling WebRTC on the desktop versions of Chrome isn't easy.
Wilya··on Architecting Websites for the HTTP/2 Era
You could, but you wouldn't compress much.

Encrypted data is supposed to look random, and as a consequence, it tends to compress very poorly.

Wilya··on Debian: Transition plan to systemd by default
1/ Maintaining init scripts is a significant part of the work to be done in a distribution, and systemd makes this task easier.

2/ Gnome started requiring systemd (via the dependency of GDM on logind). So, if they want to keep supporting Gnome, they have a choice between switching to systemd or developping some shims. And it's probably safe to assume other major pieces of software (KDE?) will adopt similar requirements.

Wilya··on Announcing MongoDB 3.0
Random counter-examples: Python, PostgreSQL, RabbitMQ, Redis, ElasticSearch, zsh, grep, ssh, git, ...

There's "one lonely dude complaining on the internet", which you can safely ignore. And there's "half the audience has horror stories to tell", which should probably be a red flag.

Wilya··on Police raid Amazon's Tokyo offices
Comparing to everybody else doesn't really work. Non-pedophiles have a third possibility between porn and rape: sex with consenting partners. Pedophiles don't have that alternative. For them, it's either keeping their entire sexual desire repressed, or becoming a molester.
Wilya··on All the Technology but None of the Love
Half of the companies that are routinely called tech startups these days don't have much to do with technology and engineering.

They want to be called tech startups, because tech is cool, and they have an app, because apps are cool, but their core business has nothing to do with tech.

Wilya··on Source Code Similarities Between NSA Malware and 'Regin' Trojan
I have a hard time seeing how spying on European officials will help identify criminals and terrorists.
Wilya··on ArangoDB on Mesosphere Using Marathon and Docker
In a bit more practical terms:

Mesos is a generic cluster manager. Its job is to keep track of available resources (RAM/CPU/Disk space) on a group of machines, and to share these resources between "Frameworks", which are more or less specialized distributed applications.

Available framework include existing applications that have been ported to Mesos (Jenkins, Hadoop, Elasticsearch, ...), along with some that have been developed specifically for Mesos (Chronos for running cron-like tasks, Marathon for running long-running tasks).

For example, you can tell Marathon "I want to run 10 instances of ./my_code, with 512MB of RAM and 2 cores each", and the framework and Mesos will collaborate to figure out where to run them. As a bonus, Mesos has some Docker integration, so you can natively do things like "Start 20 instances of container my_organization/my_app".

The datacenter OS thing is a bit of a shaky metaphor, but the idea is that, like the OS does for a single computer, the role of Mesos is to view your cluster resources as a single pool, and to try to fairly allocate these resources between multiple (distributed) applications.

Wilya··on What makes Nim practical?
No experience with py2app, but I've used py2exe and pyinstaller in production.

They can be made to work, but you regularly stumble on some more or less obscure bugs. The short of it, is that you have no guarantee that the compilation step won't introduce bugs in your program, so you need a solid test suite for the compiled binary. It's feasible, but clunky, and you really get the feeling that the compilers aren't first-class citizens.

Wilya··on Interview: Lennart Poettering
Supervisor, god, monit, circus, etc.

And even though it can handle both init and process supervision, runit has a clear separation between the two tasks. The "runit" program handles init tasks. The "runsvdir" program handle process supervision. And each one is completely functional without the other.

Wilya··on The bad side of systemd: two recent systemd failures
My biggest problems were on Fedora, but it's not been really easy on Archlinux and Gentoo either...
Wilya··on The bad side of systemd: two recent systemd failures
That might be true today (I no longer have linux desktops, so I have no idea), but it took years of buggy (or extremely hard to configure) releases to reach that point.
Wilya··on Ewww, You Use PHP? [2010]
We’ve built a framework for developing applications in PHP specifically designed to allow for fast innovation in the high-load, high-performance environment we live in every day while still keeping the API extremely simple to deal with.

Why go with PHP and have to roll your own framework, when you can go with something else, and leverage all the great work that has been done by the Django/Rails/whatever folks? This post tells me all that they have accomplished, which is cool, but doesn't tell the most important thing: why did they choose PHP?

I have to take missions in PHP (Symfony2 and Zend Framework) from time to time, and it really makes me appreciate how much more advanced Rails is. And I don't mean advanced as giving me lots of options for doing obscure things. I mean advanced as doing for me all the repetitive stuff that I would have to do anyway, so that I have much less code to write, much less room to introduce bugs, and I can focus on what really matters. The PHP ecosystem is trying to replicate that, but so far, it's still quite far behind.

Wilya··on AWS Data Transfer Price Reduction
Bandwidth on EC2 VMs is crazily expensive, especially when you add the fact that you need to use the most expensive instances to get decent speeds.

On the other hand, if you have some heavy static files to serve, the scalability of S3 is hard to beat. It can serve the files more reliably than anything you can come up with.

Wilya··on Announcing Docker Machine, Swarm, and Compose for Orchestrating Distributed Apps
I think running a private registry server already fixes that.

You can build your docker image, push it to your registry, and all the production machines will only have to pull the new layers.

Wilya··on How we’re spending $55,930.08 a year on SaaS products
It's worth pointing out that, according to their team page [0], Sawhorse Media has zero dedicated backend engineers (apart from maybe their CTO). So, in their case, the alternative would be to hire someone just to manage these things (sysadmin, engineer, or whatever). In this case, I can see why they would make the choice of outsourcing everything.

But if you already have an in-house engineering team who is reasonably competent at maintaining services, the tradeoff is probably different.

[0] http://sawhorsemedia.com/team/

Wilya··on Ask HN: Can we talk about FreeBSD vs. Linux?
Actually, they had been generating ~weekly snapshots of built binary packages in the past, but for some reason I don't understand, they weren't used by default, and the setup to actually use them was... obscure and not really officially documented. You had to set the right environment variable to point to the remote HTTP repository.

The new pkg uses the up-to-date repository by default. It has fixed all this mess, and turned binary packages from something very clunky that nobody really used to something fairly solid that can be used in production. The only reason I use ports nowadays is when I need to set custom build options on a package.

Wilya··on Ask HN: Can we talk about FreeBSD vs. Linux?
It's worth pointing out that since FreeBSD 10, there is a new binary package manager, "pkg", which works pretty well and makes package management much less painful.

It makes the experience in this regard not much different from any apt-get based linux distribution. The old way of having to compile everything makes your system very configurable, but it gets brittle on systems where you have to make big upgrades.

Wilya··on Let's Encrypt: How It Works
CA also offer more expensive tiers of certificates, that include EV, or a warranty for commercial transactions.

I've never used those, and I don't know how relevant these are for companies, though.

Wilya··on Let's Encrypt: How It Works
Gandi offers three validation methods:

* DNS: you need to add a specific record to your DNS zone * File: you need to add a specific file to the root of a HTTP server listening on the domain name * Email: they send an email to admin@ on the domain

All three are pretty much ways to check that you are the person in control of the associated DNS.

Wilya··on Let's Encrypt: How It Works
Ownership verification is already done via DNS by existing CAs. If an attacker has full control over your DNS, he can already change the DNS records and trick a CA into delivering him a genuine certificate.

This isn't really a MITM attack.

Wilya··on OVH servers exploited through shellshock
Their anti-DDOS system is mostly designed to protect against external attacks. It works at the network level, probably at the connection between their network and the outside world. Because that's the most efficient way: detect them and block them where you have the most bandwidth available.

This is an internal attack, which requires different mitigation measures, and is seen less often in the wild (compromising 500 servers from a specific provider is more difficult than 500 random servers on the internet, and you're pretty much guaranteed that the provider will deactivate most of them after the first attack), so I guess their protection systems aren't as developped against it.

Wilya··on OVH servers exploited through shellshock
The linked issue isn't "we need to patch Shellshock". It's "we have 800 hacked machines on the network, they are DDoSing like crazy, and it's saturating the internal network". Their problem isn't that servers have been hacked. It's that it's overloading the network.

OVH isn't responsible for what people do with the servers. They provide the initial installation, networking, hardware monitoring and some management tools, but that's it. If they detect that a server is sending too much traffic, they can guess that it has been hacked, so what they usually do is disable it and notify the owner to fix it. But they don't do more, that's not their business. If you want a host that does more for you, it's managed hosting you want, not a dedicated server provider.

Wilya··on MacOS X 10.10 and FreeBSD 10 Ftp Remote Comand Execution
The wget-like utility present in the FreeBSD base system is fetch(1). It is a cli for the underlying libfetch, which provides HTTP/FTP client functions, and is used behind the scenes in a lot of places in the FreeBSD base, notably by all the package manager and ports systems.

The vulnerable ftp we're talking about here is a completely distinct piece of software, which is generally used only when you want to interactively browse a ftp server. But it doesn't seem to be related much to fetch(1). It has obviously common origins with the OpenBSD one, but I can't comment on how vulnerable the OpenBSD version is.

Wilya··on Uselessd
> So anyone who actually wants to use such security systems is screwed, then. Good thing Linux isn't about choice.

You're not screwed. If you need SMACK, IMA, or SELinux, you still have systemd. That's choice.

Wilya··on How to become a programmer, or the art of Googling well
Apart from HTML/Javascript, which is usually taught in a web development course, most of these aren't taught in usual computer science courses because they have nothing to do with computer science. They are software engineering concepts.
Wilya··on How to become a programmer, or the art of Googling well
If the Facebook code had stayed untestable and undocumented, it would never have worked at their current scale.

Testing and documentation make a difference in the long term. Unless your business model is "build a shiny tower and sell it before it crumbles", at some point, you'll have to fix the mess you made in the early days of the application.

Wilya··on What we give away when we log on to a public Wi-Fi network
Facebook seems to be doing some client sniffing to decide whether to set the headers..

In my browser (FF nightly), I see the HSTS header, with the value: "max-age=15552000; preload"

If I do a request with curl, no header... (which is probably what this app sees).

I don't have a clue why they are doing that, though. Not that curl would do something with the HSTS header anyway, but still...

Wilya··on Introducing GIFV
I managed to get a 302 response code in curl by passing both a Firefox user-agent and an accept header.

Neither the accept header alone nor the user-agent alone are sufficient. It seems they are testing for both.

  curl -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" -A "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0" -I http://i.imgur.com/zvATqgs.mp4
Wilya··on Lennart Poettering on the state of open source communities
Oh, come on.

Poettering wants to show how his community is nice and welcoming, and he does it by... making gratuitous attacks at Gentoo? Sounds legit.

← PreviousPage 3 of 18Next →