Better HN
topnewbestaskshowjobs
Log inSign up

floatboth

5,763 karma · joined Oct 27, 2011 (15y ago) · 2,893 submissions

this website sucks
Submissions

comment 9y ago · link · parent

Yeah — 'mysql' wouldn't be installed either on FreeBSD if you just install php. So typically hosting providers install all the extensions.

comment 9y ago · link · parent

"an attacker would have to send a specially crafted HTTP request to the affected system"

"Disable IIS kernel caching"

That's definitely not client-side at all. IIS is the thing that uses http.sys, and classic ASP.NET apps (not the new Core stuff) are usually deployed with IIS.

comment 9y ago · link · parent

I know about Kestrel, I'm responding to that particular phrase in the comment :)

comment 9y ago · link · parent

What "default"? Compiled from source? Debian package?

Just checked, seems enabled by default on FreeBSD.

(Commented out in php.ini doesn't mean disabled — here it's enabled in separate files like /usr/local/etc/php/ext-30-pdo_mysql.ini)

MODX Revolution uses PDO exclusively, never had problems with it on any hosting service.

comment 9y ago · link · parent

Speaking of toasters, https://github.com/dotnet/coreclr/blob/6d1e688cb2bd37121c7de... :)

comment 9y ago · link · parent

> Http.sys also seems like a more secure product than openssl

How is a goddamn HTTP parser in THE KERNEL more secure than a crypto/TLS library?

http.sys is a fundamentally horrendous idea, see CVE-2015-1635 https://technet.microsoft.com/library/security/MS15-034 An exploited HTTP parser shouldn't lead to RCE "in the context of the System account".

comment 9y ago · link · parent

Shared Apache+mod_php+MySQL hosting turns out to be impossible to extinguish…

comment 9y ago · link · parent

Except… you don't?

> WordPress also works with PHP 5.2.4+ and MySQL 5.0+, but these versions have reached official End Of Life and as such may expose your site to security vulnerabilities

> PDO ships with PHP 5.1, and is available as a PECL extension for PHP 5.0

Unless you mean "hosts that disabled PDO"… I think they can safely be ignored.

comment 9y ago · link · parent

And Hack, their language for HHVM that's basically "static types bolted on to PHP".

http://hacklang.org

comment 9y ago · link · parent

Beating a 10 core doesn't sound real, but it sure kicks the Intel 8-core's ass

comment 9y ago · link · parent

Yeah, it wouldn't help if the attackers don't resolve the DNS hostname on ~every request :D But then, there are ways to find the origin anyway (when buttflare is enabled), someone in this thread posted the real IP address of Hacker News…

comment 9y ago · link · parent

Performance, performance, all the talk about performance. What about memory footprint?

Apparently Ignition helps a bit, but still… even the baseline memory usage of Node.js and Chromium is bad. Just open a node REPL, its resident set size is 2x the size of a ruby/python REPL, about 10x the size of luajit.

comment 9y ago · link · parent

Yeah, that's for the traditional CDN setup, where you upload files to a CDN that serves these files from their own domain — they don't MitM the entire site! The HTML page still comes from your servers. With that setup you can use Subresource Integrity, yes.

comment 9y ago · link · parent

It's still very safe. They do not rely on TLS for protection, they actually send already encrypted data over TLS.

comment 9y ago · link · parent

There's a difference between a MITM proxy in front of a huge portion of the web and a password manager that's running locally on a personal machine.

Also there's the 2-factor stuff to protect you when you somehow lose your manager's master password. What protects you when the proxy in front of you misbehaves and exposes your shit?

comment 9y ago · link · parent

However, I haven't seen people enable ButtFlare's proxy only when under DDoS. Most of their users enable the proxying just for the CDN performance or just in case or… you get the idea.

comment 9y ago · link · parent

Heh, RIPEMD-160, forever under peer review :)

comment 9y ago · link · parent

Because if you encrypt data before uploading it to a server, the server has no (zero) knowledge about what that data is?

comment 9y ago · link · parent

F-Droid does builds themselves!

comment 9y ago · link · parent

Intel's desktop (not X99) boards have some extra lanes on the chipset, Ryzen will be a similar setup. (Also graphics cards perform fine with 8 lanes, the performance difference from 16 is tiny)

Where I live, the price of a 256GB NVMe drive == 512GB SATA drive :(

comment 9y ago · link · parent

Yeah, Logitech seems to make the most reliable mice… My old MX510 still works, but I bought a SteelSeries Rival 100 and while I really like the design, there was an issue…

The little plastic piece under the left button that clicks the actual switch broke: http://imgur.com/a/FcYUH I had to superglue it back, works fine.

comment 9y ago · link · parent

The X240 (and probably X250/260, no way they changed much) is pretty easy to take apart. Just a few screws and there's just one board, with easy access to disk, RAM and mini-PCIe. I haven't seen the old ThinkPads in person, but I have seen e.g. big-ass HP Pavilions that look like a nightmare to disassemble.

comment 9y ago · link · parent

> date > /tmp/test_at.log will be executed at 9.26 PM on the same day

well that's not guaranteed on all systems :D On FreeBSD:

> at is implemented through the cron(8) daemon by calling atrun(8) every five minutes

comment 9y ago · link · parent

That's an interesting command! (note: on FreeBSD, just "hosts", there's no "ahosts")

I usually use drill(1) (from unbound, which is part of base on FreeBSD), or dig(1) on Linux boxes that don't have unbound.

Also turns out that that replace command is also part of MySQL. LOL WTF MYSQL?!

comment 9y ago · link · parent

I'm not sure what's the state of LTO in GHC…

By the way: using LLD helped massively with linking all these small Haskell function objects. It's really much faster than even gold!

comment 9y ago · link · parent

What I/O are you going to do with all these PCI-E lanes? 16 for a graphics card, 4 for an NVMe SSD if you have one (still 2x as expensive as a SATA SSD at the same capacity), a couple for a network card maybe… The only reason to have ~40 lanes is multi-GPU setups, which are absolutely not necessary to keep 8 cores busy.

comment 9y ago · link · parent

Bulldozer is just old at this point.

Why is single thread more important in development? Large project builds typically spawn as many compiler processes as there are CPU cores.

comment 9y ago · link · parent

Many more people care about core count than PCI-E lanes… Core count is the probably the most important thing about a CPU.

comment 9y ago · link · parent

Heh, speaking of linking individual functions, GHC Haskell has a flag to emit one object file per function and do that thing with a traditional linker.

It's horribly slow.

But it produces smaller binaries, I've got 2x smaller binaries on my projects with that option.

1
848586
97