HNHacker News
TopNewBestAskShowJobs

bradleyland

7,786 karma · joined April 26, 2010

http://www.bradlanders.com
submissionscomments
bradleyland··on Realtempo – online rehearsal rooms to make music together in real time
Fiber has great throughput, but doesn't guarantee lower latency. Distance, number of hops, and contention (for shared infrastructure transport) are more relevant when it comes to latency, and these are much, much more difficult to overcome than throughput challenges.

There are other solutions, however. Just have a look at any FPS (first person shooter) game. These types of games are extremely latency sensitive, because a win/loss in any direct engagement comes down to milliseconds. There are entire areas of study dedicated to working around latency in games. I wouldn't be surprised if some of the techniques could be applied to this type of real-time collaboration.

bradleyland··on The Almost Muscle Car: Chevy Monza, 1975-1980
This is the first thing that came to mind... Well, second. The first was "almost, my ass!"
bradleyland··on Create your own MailChimp clone for $5 a month with Sendy
Amazon's own emails regularly get caught in our mail's (Google Apps) spam filter, so I'm skeptical of SES's ability to match MailChimp's level of deliverability.
bradleyland··on From a Ruby monolith to microservices in Go
This is a nitpick, but this isn't entirely accurate:

"This is a function of how Rails does concurrency, which is by using multiple processes."

Multi-process vs multi-threaded is an application server architecture matter, not a Rails matter. Yes, your application must be thread safe, but this has been available in some form for Rails apps since a long time now [1]. The biggest problem in recent history has been Gems and their thread-safetyness (is that a word). The number of threaded Ruby application servers has been on the rise for a long while now, and even Passenger (traditionally the multi-process front-runner) is going threaded in version 4.0.

1: An interesting blurg post related to Config.threadsafe! (which was a huge source of confusion): http://tenderlovemaking.com/2012/06/18/removing-config-threa...

bradleyland··on Hacking S-expressions into Ruby
That version only works with 1.8. There is an updated fork though, sexp_processor:

https://github.com/seattlerb/sexp_processor

bradleyland··on My ISP has a poor service record. I made a tool to test how shitty it is
It's not pretty, but I use Routers2, which is a layer on top of MRTG. We have TimeWarner's commercial cable internet service, and our latency spikes to ~800ms at a regular and consistent interval. I've been 10 rounds with TimeWarner over the issue, but they refuse to acknowledge that it's an issue because they have no latency SLA. We ended up bringing in a second Windstream Ethernet over copper circuit for our VoIP application because the TW circuit latency was so bad.

I have a local VM with Routers2 installed, which pings our LAN router, the TW modem, the first TW hop, and one of our VMs at Linode. The latency spikes start at the first TW hop. Routers2 provides great insight in to how TW is performing.

You can get Routers2 here: http://www.steveshipway.org/software/

bradleyland··on Meet the fast-charging, affordable ‘future’ car that Elon Musk hates
What a ridiculous characterization.

Elon Musk doesn't hate hydrogen fuel cells; he sees their very obvious physics-based limitations and calls them out for it. This is a very disappointing piece coming from the Washington Post. It's plainly anti-intellectual. They quote some very matter-of-fact statements from Musk, but their rebuttal is composed entirely of non-sequiturs.

Musk: Best-case hydrogen fuel-cells fail to meet the specs of current-case batteries.

WP: Hand-wavy quote from Toyota SVP alleging that you can't take Musk's statements at face value because he has a dog in the hunt.

Utterly ridiculous. Musk's statements are based in fact. Later in the article, WP glosses over what should be a real eye-opener for anyone looking at the matter with a critical eye:

"Though its emissions are greener, hydrogen is now mostly sourced from natural gas, which carries its own environmental impacts."

Granted, battery technology isn't exactly clean either, but hydrogen sourced from natural gas is a complete smokescreen. It is impossible to recover 100% of the energy available in natural gas when extracting hydrogen. The only reason to do it is so that you can feel good about the fact that your hydrogen end-user device is zero emission. It also has the down side of funneling dollars to the existing oil-based incumbents. It might seem irrational to base ones belief on what appears to be a vendetta, but the oil industry incumbents haven't exactly been good stewards of the resources they trade in.

bradleyland··on Your job is not to tell us how to do our job
The parent poster said nothing deserving of this rebuttal.
bradleyland··on On the Pricing of Apple Watch
It's definitely one of the more salient counterpoints, but I think it's more the kind of thing that will limit the market size, rather than kill it altogether. The observation that Rolex sells $20,000 watches with the same internals as a $6,000 watch is where you'll find the counterpoint to the problem of obsolescence.

Yes, the Apple Edition watch will likely suffer from the same obsolescence issues as iPhones, but as others have pointed out, that will only matter for certain types of buyers. The market for $20,000 watches is pretty small, and it's composed of different types of buyers. The smallest of the market is the group who can fork over $20,000 annually for a fashion accessory, rather than buying something as a milestone that will become an heirloom.

However, Apple can absolutely afford to build a very small number of Edition watches when selling at this price point, because the cost of materials is so low, and they'll sell tons of them at lower price points, which gives them the scale they need to justify production. This is where the correlation to the ubiquity of Rolex movements come in. Apple is using the same strategy. They have one "movement" (a computer in this case), which they're packaging to suit a very broad set of price points.

I think Apple will succeed in this endeavor because they have the brand. Rolex is, again, a very good comparison. In really uppity horology[1] circles Rolex watches are considered pedestrian because they are mass-produced, and they don't include a lot of hand finishing like the more prestigious brands. That doesn't appear to matter to the broad market though, because Rolex enjoys two logic-defying distinctions: 1) they sell many more watches than any of their upper-crusty close-kin, and 2) their watches hold their value in a way that defies their mass-production status. Sound familiar?

Apple products are often lampooned for selling at a price-premium when compared to similarly specified commodity alternatives, and Apple devices fetch strong pricing on the secondary market. IMO, Apple & Rolex are as close as we've seen to companies who have deconstructed and are in the process of perfecting the formula required to bring to market products that uphold these attributes. If Apple can do this successfully with watches, they will have upped the ante significantly by jumping from one vertical to another; a feat for which I cannot think of another example.

1: Technically, the science of timekeeping, but often used to refer to the community of people interested in timekeeping devices (watches).

bradleyland··on On superfish and cloudflare
This article misses the point entirely. Anyone running a load balancer in their production environment is "MITM" their SSL. The difference between CloudFare and Superfish is that A) as the site operator, I'm electing (opt-in) to use CloudFares service, and B) and configuring CloudFare to use SSL is something that is very apparent during the setup process. There's a huge green button.

In the case of Superfish, the software is opt-out. It comes pre-installed, and there's no giant green button that says "enable SSL through this service".

The two couldn't be more different.

bradleyland··on The rise of fake engine noise
Ultimately it comes down to opinion, but for me, it matters for reasons of authenticity. I want the sound I'm hearing to be the actual sounds the engine in my car is making, even if there is no sound at all. Am I a fool for wanting authenticity?
bradleyland··on Web scraping with Ruby
Because then you're running an entire browser when all you really need is an HTTP library and a parser.
bradleyland··on Attacks on 'Insecure' Progressive Insurace Dongle Could Spawn Road Carnage
Insurance is basically a game of profiling. The entire concept of insurance starts from a basis of a large, single class of people who cooperate to distribute the costs of improbable incidents over the group. Insurance companies don't treat everyone as one large, single class though. They break people down by age, gender, miles driven on average, geographic region, and tons of other metrics that are used to assess your risk level. Higher risk level? Hire risk class. Higher premium.

Also, you're not really insuring yourself. At least not in the way you think. In most cases, you're insuring yourself against liability, which means you're really insuring the other guy. If you get in to an accident, your insurance pays the other guy's medical bills, not yours. You can usually get some small amount of coverage for yourself, but it's a fraction of the liability coverage.

bradleyland··on Why the Much-Hyped Post-PC Era Never Arrived
There is nothing a pundit likes more than a false dichotomy. By pushing your opponent to the edge, you makes your counter argument much easier.
bradleyland··on Ntopng: High-Speed Web-based Traffic Analysis and Flow Collection
They're completely different tools with different purposes. Ntop is a tool you run on your network to introspect network flows between various hosts. The iftop utility provides a look in to what is flowing on an interface on your local machine. With ntop, you can aggregate collectors from many locations in order to develop a detailed understanding of how data flows in and out of your network.
bradleyland··on Scroll Slow. Have Fun
Setting the scroll increment to 5px diminishes the lenticular effect; it's like skipping frames in film. Your mind interpolates the result, but it's not as smooth as scrolling by 1px and reducing the time interval to speed things up instead.

Try this one instead to see the difference. This will scroll at approximately the same rate as your example:

setInterval(function() { window.scrollTo(0, document.body.scrollTop + 1) }, 12);

I prefer it a bit slower though:

setInterval(function() { window.scrollTo(0, document.body.scrollTop + 1) }, 30);

bradleyland··on Earth closest to sun for 2015 on January 4
We're about 93 million miles from the Sun. The eccentricity of Earth's orbit results in a variance in that distance of around 3 million miles. In very round numbers, that's about a 3% variance, but the effect on temperature is vastly outweighed by the effect of the seasons (resulting from Earth's tilt on its axis), local climate variables, and the land/ocean ratio in a given region.
bradleyland··on Confessions of a Car Salesman (2001)
The question I'd ask is, why do I need the salesperson at all? I know exactly what I want when I buy a car. For my last two cars, I sourced and specified the manufacturer option codes for my order.

The role of a salesperson is to convince someone to buy a product. If I am already convinced, why should I have to involve this person in my transactions?

bradleyland··on Why Lefties Make Less
The plural of anecdote is not data. The results of the research conducted do not dictate that left-handed people must be inferior, it only presents the findings that statistically, those traits were present in the sample.

It is entirely possible for you to have had great experiences with lefties, and the findings stated in the article to be true. The findings in the article are also not a good reason to discriminate against left-handed people.

bradleyland··on Please Offer an Excel Export Option
We do a ton of Excel import/export in our web app. The day we moved to XLSX, every one of our users cheered because the reliability of our Excel related features improved dramatically.

The problem with XLS is that its internal format (called BIFF8) has no official specification. It has been reverse engineered to a great degree, but every implementation I've used outside of actual "excel.exe" has show stopping bugs that you will encounter at some point.

XLSX, on the other hand, has an actual published spec (OOXML). There is plenty of political strife surrounding OOXML, but at least we have a spec we can develop against. It has also been my experience that "simple" XLSX files can be constructed more reliably than their BIFF8 counterparts. Because XLSX files are XML internally, there are a great number of libraries that can be used to construct the required XML structures, while avoiding edge-case errors in composition that are inherent to reverse-engineered binary formats. At a bare minimum, software authors can use something like libxml to construct valid XML, rather than some ad hoc BIFF8 serializer.

FWIW, we use the axlsx gem for our Ruby app, and it hasn't let us down yet. It even supports some pretty eccentric Excel features like data validations.

bradleyland··on Show HN: PSequel – a free PostgreSQL GUI Tool for Mac OS X
For anyone else fervently googling "valenta studio", it's actually Valentina Studio:

http://www.valentina-db.com/valentina-studio-overview

bradleyland··on How electric superchargers went from fantasy to feasibility
This is very different than the systems used in an F1 car. Mercedes' innovation of splitting the hod/cold parts of the turbo was ingenious, but it really has nothing to do with Volvo's system.

In an F1 car, the system is far more advanced. The MGU-H is a combination motor/generator that is attached to the primary shaft of the single turbocharger used in the F1 engine system. This is the most direct way to use electric power to assist in turbocharging, but my understanding is that the MGU-H involves some pretty exotic construction in order to withstand the environment in which it operates. Basically, they're far to expensive to use in a road car.

Volvo's system is entirely different. Volvo uses two normal turbochargers that are attached to the engine's exhaust, just like you'd normally expect. Based on the descriptions I've read, and details aren't exactly bountiful, the Volvo system actually uses the electric supercharger to force air in to the turbine side of the turbochargers, not the compressor as I originally expected.

This is in stark contrast to the F1 system where the electric motor/generator is an integral part of the actual turbocharger. I'm pretty puzzled by Volvo's system. I would have expected them to use the electric supercharger to generate intake pressure directly, which would require the e-supercharger to be plumbed in to the compressor circuit of the turbochargers.

The problem with this setup would be that it would create back pressure on the compressors attached to the turbochargers, which isn't optimal. It's not the end of the world, but it's counter productive, so Volvo's approach is pretty inventive. I wonder how efficient it will be though. They're literally going to use an e-supercharger to drive the turbochargers through the exhaust circuit. Pretty nutty, but I like it!

bradleyland··on How electric superchargers went from fantasy to feasibility
I'm a total gear head, and I love the sound of a V8. I drive an S65 (4.0L V8 with an 8,300 RPM redline) powered M3 because I love the sound of its engine at 7,000+ RPM.

I also cannot wait for super-performance electrics, and I'm a huge Tesla fan. I even dedicated a portion of my investment portfolio to TSLA, in spite of all the analysts warnings that it's overpriced. I believe electric is the future, and I can't wait.

I like anything with four wheels that goes fast! I don't care if its powered by a petrol engine, a diesel engine, or an electric motor.

However, the parent poster has mischaracterized the current circumstances in a pretty bad way:

> Or you save yourself the effort for all these widgets, use a proper battery and purebred electric motors and get the fastest sedan in the world pretty much effortlessly.

There is a difference between fastest and quickest. The Model S P85D is crazy fast to 60 MPH, but if you're interested in the whole truth, you don't stop looking at 60 MPH. You also ask why the P85D is so fast to 60. First, it has a ton of torque available at a full stop, and secondly, it has AWD, which is just about the only way you move a car this weight to 60 MPH that quickly.

Once you go beyond 60 MPH, the P85D doesn't shine nearly as brightly. I'll use Motor Trend's numbers for comparison here, in an effort to be consistent. Quarter-mile elapsed-time and trap speed are great indicators of a cars overall acceleration and speed performance, because you have to accelerate quickly and continue to generate power in order to achieve a high trap speed..

Model S P85D: 11.6s @ 115 MPH [1]

Mercedes E63 AMG: 11.6s @ 121.8 MPH [2]

BMW M5: 11.9s @ 122.2 MPH [2]

It's worth noting that the Mercedes is AWD, but the BMW is not. The P85D is extremely quick, but by the time it reaches the 1/4 mile mark, it is losing ground to both of its petrol powered competitors in a big way. A difference of 7 MPH in trap speed is a really big difference.

So, if we look at the super-sedan market, we can see that there's more to it than 0-60 times. Yes, theres a very sound argument that none of this matters for the street, because you'd be a lunatic to unleash any of these cars' capabilities on a public roadway. But that's not what we're talking about. We're talking about the current state of performance, and electric still has a ways to go if you're talking about the entire performance spectrum, not just 0-60 (which is a very limited metric).

I do believe that all-electric is the ultimate destination, but I'm not certain chemical batteries will be with us for the long haul. I also believe the good ol' ICE (internal combustion engine) still has some legs. Turbocharging small displacement ICEs is a very effective way to generate lots of power without adding a lot of weight (batteries are extremely heavy, btw).

The problem with turbocharging a small ICE with insane levels of boost is that they're not very tractable. To generate lots of boost, you need a big turbo. A big turbo takes a lot of exhaust energy to spin up, and that means you get poor low-RPM power and responsiveness. Electric superchargers are a great way to solve this problem... As is a smallish battery and a supplementary electric motor (vis a vis BMW i8, Porsche 918, McLaren P1, etc). And round and round we go.

1: http://www.motortrend.com/roadtests/alternative/1411_2015_te... 2: http://www.motortrend.com/roadtests/sedans/1311_2014_mercede...

bradleyland··on How electric superchargers went from fantasy to feasibility
The canonical use of the term "supercharger" in the automotive context is to describe a compressor that is driven directly from a reciprocating engine's drive output. They date back to the very late 1800s and early 1900s in various applications on internal combustion engines, and made it in to production automobile engines in the 20s.

A turbocharger, by contrast, uses waste exhaust energy to drive a compressor. A turbocharger is actually considered a type of supercharger. The full name -- although rarely used -- is actually turbosupercharger.

Not to detract from your clarification, but I think it's important that any interested readers understand that Tesla hijacked the term to describe their electric charging stations.

bradleyland··on Does your webapp really need network access?
This is really great advice. Servers should implement a policy of default deny wherever possible. While it might not block the attacks directly, but it can significantly inhibit the attacker's ability to quickly pivot to a useful pwned box. For example, most scripted attacks leverage an exploit, then immediately download a payload, execute, and phone home to "register" the box on the attacker's network of owned machines. Having a solid set of firewall rules based on a base policy of default deny will stop these scripted attacks, which constitutes the vast majority of the attacks you'll see knocking on your door in the wild.
bradleyland··on Ask HN: How did Microsoft hold back the Internet for 6-7 years?
Another aspect that is often overlooked is Microsoft's decision to closely couple IE with Windows. On Windows, the installed IE version was used within third-party applications as part of the standard application SDKs provided by Microsoft. For example, any QuickBooks user can tell you stories about IE security settings affecting their accounting software in a negative fashion. This made it difficult for Microsoft to iterate IE, because so many applications relied on proprietary aspects of IE's rendering engine.
bradleyland··on World’s Largest Containership Also Sets Record for Largest Engine Ever
At the full-rated (as opposed to down-rated operational) output specification provided, that translates (for used to US units) to:

93,496 HP @ 84 RPM

5,845,726 lb-ft @ 84 RPM

The most mind boggling number for me is the torque figure. Almost six million lb-ft of torque. Power is an important figure when determining how much work you can do, but torque is important when engineering the components that will go in to your drive line. For example, transmissions typically specify a maximum torque input, as well as a maximum rotational speed. Independently, neither can be exceeded, regardless of power input. For example, the transmission in my car is good for about 450 lb ft and 9,000 RPM. I'd love to read over some of the engineering specs for the driveline components attached to this thing.

bradleyland··on Tiny Engine Could Make Leaf Blowers Sound Less Like Jets
The article fails to explain how this will make leaf blowers sound less like jet engines. Has the author ever heard a Wankel rotary at 15,000 RPM? Not to mention, the reason leaf blowers sound like a jet is because of the giant shrouded fan that is used to generate airflow. Electric leaf blowers sound like jet engines too, and their motors are extremely quiet in comparison.
bradleyland··on The Move from Linux to FreeBSD
Well, you can't have it both ways. If you (in the general sense, not you specifically) do a project for your own reasons, great. The problem is when you try to make an ROI case that only represents one side of the equation. If you don't want people to poke holes in your ROI argument, then avoid framing your projects in a way that creates opportunities for that discussion.
bradleyland··on How we’ve made Raptor fast
Ruby uses a specification called Rack.

http://rack.github.io

← PreviousPage 5 of 34Next →