Better HN
topnewbestaskshowjobs
Log inSign up

LnxPrgr3

585 karma · joined Jan 16, 2012 (14y ago) · 243 submissions

Author of http://codeanarchy.com/. You've probably never heard of it.
Submissions

comment 9y ago · link · parent

I don't know about that: https://www.cvedetails.com/vulnerability-list/vendor_id-1224...

comment 9y ago · link · parent

The objection is generally landlords have to show damages to collect compensation from renters. They collect deposits to ensure at least some of the bill gets paid should you damage the place beyond normal wear and tear, but if you leave your home in the condition it was in when you moved in the landlord owes you your deposit back. That makes sense.

What justifies pet deposits being different? What justifies pet rent but not, say, charging extra rent or an extra non-refundable deposit because you have a toddler?

(Is pet rent even collected and applied to the cost of repairing any damage your pet causes? I should find out what's common here.)

As an aside: I've also had a landlord charge almost $5 for a paper statement, or just under $1 to e-mail me a statement instead. (No statement was no option.) They're clearly not above nickel-and-diming their customers—which I found weird because $1 on top of, say, $800 (plausible rent for a two-bedroom unit in not-SF) is nothing—about 0.1% of rent. Which makes it a minor annoyance at worst, but… why bother? $400 (common pet deposit amount in not-SF) + $10/mo (common pet rent, when pet rent is charged) is also nothing—just over 5% of one year's rent. But it's more of a something than a $1 fee for them telling you what you owe this month, which they felt the need to do regardless.

comment 9y ago · link · parent

Because I'm buying the service of them paying my liability, and also my own damages if I opt for it, if suddenly I crash. They sell the service of protecting you from financial risk.

A car insurance policy that costs $400 once but only pays for $400 worth of damage ever, and isn't refundable, is a bad deal. No one would buy this unless forced to.

False equivalence.

comment 9y ago · link · parent

Leases are pretty clear about the non-refundable nature of the deposit/fee/whatever, and it isn't exactly a rare practice.

comment 9y ago · link · parent

If I have a serious wreck in my car, I win the insurance bet—that is, it may well pay out more than I've paid in. Even crappy health insurance policies have cases where they do the same.

Not so with pet deposits in any lease I've seen. They take your money, which is usually non-refundable, and will still charge you for any cleaning and repair not covered by the deposits you paid.

Perhaps it's insurance from the landlord's perspective, but it's an added cost the tenant bears that offers them no financial protection at all.

comment 9y ago · link · parent

Non-refundable deposits are.

If you really do have a model pet that damages nothing, why does the landlord get to keep your deposit anyway?

I can grant, say, compulsory carpet replacement—but even then, what if you live there 10 years and the carpet really ought to be replaced whether you had a pet or not? And do two pets double the cost of replacing the carpet?

(Also I know for a fact scroogier landlords will leave the old carpet in when they really shouldn't—when it's 10 years old, the last tenant's cat peed all over it, and also the last tenant chainsmoked indoors. But they'll still collect a non-refundable pet deposit, and probably bill for cleaning in excess of deposits even when that cleaning did not happen.)

Why is that reasonable risk management and not gouging?

comment 9y ago · link · parent

They could even do this without preventing the machine from squeezing improperly-ordained-by-DRM bags.

"If we recognize the bag, and it's recalled, we'll stop you—or at least yell at you. If you use someone else's bag you're on your own, but we won't stop you."

Surely they were capable of having this thought. That they didn't or chose to ignore it hints at ulterior motives—most obvious is overcharging for the bags, since not buying them makes you the proud owner of a $400 paperweight.

But a prediction: almost everyone who attempts to block consumers from consuming bad food with technology will do it to overcharge for the food. Safety will be the excuse, not the purpose.

comment 9y ago · link · parent

The Linux kernel seems to have a centisecond obsession too. Probably from way back when HZ was 100 and your computer woke up once every centiseecond to make sure it still had nothing to do.

comment 9y ago · link · parent

Recent surprise: exponentiation by squaring. Not by name, but by being the correct answer to the question. (This is in the list of 500, by the way.)

It's trivial to explain:

    x^n = x(x^2)^((n-1)/2), if n is odd
        = (x^2)^(n/2)     , if n is even
Knowing that (or having figured that out yourself if an interview was your first exposure to this problem), it's even more trivial to implement, making it a math quiz far more than a programming exercise. (Though I later turned it into a programming exercise entirely to exploit an arbitrary eye bleedecution bug in the human brain: https://gist.github.com/LnxPrgr3/7154873d3eb8b1e5960851628c7...)

Maybe that's what they intended. It's certainly legit if the job will have you actually doing, rather than applying, math. Except that it concludes you can math if you're smart enough to pretend to derive the answer you memorized after encountering it before. You might accidentally hire a bunch of crypto nerds.

comment 9y ago · link · parent

For functional purposes, I consider myself to know something if I could page in the details well enough to implement it in 5 minutes with Wikipedia or less.

How this plays in interviews is interesting for just how inconsistent it is. Sometimes I win the algorithm lottery and have had reason to implement the obvious solution myself at least once, and the interviewer learns my memory works. Sometimes I don't know what they're going for but come up with a reasonable answer anyway and the interviewer is thrilled I managed to have an independent thought. Sometimes I lose and the interviewer is clearly trying to guide me to the answer they want to see and I have no idea what they're getting at.

Though not quite as bad as a friend failing an interview for not using a hash table, even though the answer he described was a hash table—just with the identity function as the hash.

(Though maybe about as absurd as one interviewer digging for any formal training I might have had in C++. Like you can teach that language in a semester—please. There are maybe 4 proper experts on the planet.)

comment 9y ago · link · parent

Fair enough. But people will decide not caring even slightly about binary size is admirable (move fast and make users buy new phones, I guess) and eventually everything will be huge. Already the number of sub-60MB apps is dwindling and the 100-and-up club is growing, if my recent updates list is any indication.

comment 9y ago · link · parent

I did not buy 64GB of flash storage so Facebook could be lazy. I bought 64GB of flash storage to store media that gets noticeably better, to a point, when you throw more bits at it.

Things that are smaller than Facebook's iOS app:

- Windows, through at least Windows 95, if you count stuff written to disk during install

- The Java Runtime Environment

- Eclipse IDE

- Google Chrome for OS X (beware—updater leaves old versions in the app bundle)

- Firefox for OS X

- Pokémon Go

- A two-disc set encoded in 256kbps AAC

And to add insult to injury, Messenger is another 155MB, and is a separate app for some reason, probably with a second copy of that bigger-than-the-JRE-by-itself FBSharedFramework.

And while the sudden almost 300MB is new, the "I can't believe this is a Web service front-end and not an experimental operating system" bloat has been with us for a while.

comment 9y ago · link · parent

Did you read the article? People add the structure they think they need to interviews, but are clearly able to troll themselves into worsening their judgments by requiring steps that not only don't help, but actively hurt.

And this is a near universal phenomenon. Almost everyone wants to "get to know the candidate."

comment 9y ago · link · parent

Counterexample: I did not apply to, nor interview for, my current gig, and I'm not cheating by working for myself.

And I bet almost everyone reading this has worked with at least one person they think shouldn't have survived the interview, and that person was making a boatload because they convinced the boss they're brilliant. Meanwhile 90% of their day was spent talking about how great they are, and 10% creating new bugs, and no one dared say anything because the thought of them being more "productive" was horrifying.

'It' mostly successfully matches employees to employers, but the quality of those matches may vary wildly.

Interview processes also vary wildly—you can't really say that it works without defining 'it.' Are we talking multiple technical screens that require writing code or a single fluffy buzzword-laden conversation with a C-level? Both have failure modes, but those failure modes sure are different.

comment 9y ago · link · parent

When users of code I've written complain that something sucks to use, I don't demand they come up with a better solution. Probably I don't even want to know what they think the answer is—unless they design user interfaces for a living, odds are their answer will be terrible and they won't even be happy with it if I build it.

This is as it should be—I'm paid to solve problems.

Why is this different?

The more I read about interviewing, the more I realize too many people think they have this problem solved—their amateur psychology is impeccable and their technical screens test for exactly the right things, no more and no less. Did they do a bunch of controlled studies to convince themselves of this, or are they taking sounding good, or intuition about the statistical outcomes of different techniques, to be equivalent to truth?

Maybe the first step is to collectively realize we have close to no clue what we're doing, and are being asked to solve a hard problem: individually, to talk to someone for an hour and make a hiring recommendation. In aggregate, to make the decision based on a handful of these one-hour conversations.

Maybe the first step is to realize this is a problem worth trying to solve.

Maybe the first step is vocal non-acceptance.

comment 9y ago · link · parent

Nothing makes people more interested in freedom of speech than the fear their own ideas will be suppressed. Precious few people are willing to defend both Milo and Anita's right to speak freely. Don't you think that's strange?

It's almost as if hardly anyone cares about free speech beyond using it as a shield against meaningful opposition.

> At the end of the day nobody gets anything done, but at least you can show your friends on Facebook how virtuous you are.

For such a useless and thus non-threatening group, they sure get a lot of blowback. Let's be real—I couldn't have possibly cared less what Alex Jones had to say until people started parroting his unsubstantiated conspiracy theories en masse.

And there's something way deeper going on with fierce opposition to social justice movements than a burning desire to prevent people from continuing to be wrong on the Internet.

comment 9y ago · link · parent

I am not an expert, but since no one has answered I'll give what I know and hope somebody corrects me if I'm terribly wrong.

Substrate: the thing that's supposed to bind to something normally. SERT: transporter that pulls serotonin out of synapses back into the neuron that put them there in the first place. DAT: similar, but for dopamine and to some degree norepinephrine. Competitive inhibition: inhibition depends on whether the intended substrate for a site is present—the drug and substrate interfere with each other competitively. Non-competitive inhibition: the drug inhibits the function of a site even if the intended substrate is already bound to it.

As to how any of this explains or refutes claims ibogaine short-circuits withdrawal, I dunno. Feels a bit like trying to explain JavaScript in terms of quantum mechanics. Both these papers are evaluating the drug's interaction with neurons, not the drug's effect or non-effect on addiction.

comment 9y ago · link · parent

I understand the need to defend unpopular speech, but this is such a weird hill to die on when so many other things have unjustified stigmas attached to them. It'd be nice to hear people yelling about how it's supposed to be a free country when a gay or trans person has offended someone by existing.

Richard Spencer is still on Twitter, and still definitely has an audience—though the video of him being attacked is now very well known. Alex Jones has the President's ear. Steve Bannon is an advisor to the President with access to classified information. The President is, well, the President, despite plenty of material that could be and was used to accuse him as a pedophile. (I realize this is pedantically incorrect—I also realize the general public doesn't really care.)

Milo fared less well, but apparently appearing to advocate pederasty was a bridge too far even for many of his fans. Directing a harassment mob towards a celebrity was a bridge too far for Twitter, despite years of spewing the same not-exacty-PC views.

And espousing supposedly PC views isn't exactly safe either. Remember that time Anita Sarkeesian received multiple bomb threats for threatening to say unpopular words in public? What was THAT about, and why weren't the freedom lovers jumping to her defense in droves?

comment 9y ago · link · parent

This is true. Compilers even sometimes act vaguely like JIT—see also speculative devirtualization. If your code really needs runtime profiling information to optimize well, we have profile-guided optimization too.

In theory your could still benefit from JIT if, say, you have a Java application that's half written in XML config files and always heavily customized for each deployment. But probably that application also needs 8 modern cores and 16GB RAM to start for reasons that aren't even Java's fault.

But I try not to write code like that.

comment 9y ago · link · parent

In theory Java can be more optimized than C—machine code generation benefits from knowledge of how the program actually executes. Just let the JIT figure out where you should've used C++ templates instead of dynamic runtime behavior.

In practice, it rarely happens even in micro-benchmarks like these. Though pointer aliasing rules are a special pain point. If you're sure you know what you're doing, restrict exists as a band-aid over this. Yay archaic language baggage!

LLVM's optimizer also doesn't help, as the post mentions—I have real-world code that runs at 1/3rd the speed just from compiling with clang instead of gcc. I love LLVM for what it's let people build on top of it, but it isn't remotely state-of-the-art in this department.

comment 9y ago · link · parent

Sure, but its products help keep those populists alive—or at least give them a fighting chance.

I bet everyone in Alabama at the time remembers April 27, 2011: https://en.wikipedia.org/wiki/2011_Super_Outbreak

comment 9y ago · link · parent

The law did grant them powers to run pieces of this scheme that a judge decided they took way too far. And they got to run it for years before a judge stopped it.

And AFAIK no one running Macy's went to jail, so the penalty isn't the same as I'd get if I, say, imprisoned my neighbors and stole their credit cards to get payment for packages I think they stole from the porch.

comment 9y ago · link · parent

https://www.theguardian.com/business/2016/jul/01/macys-shopl...

Not killing, but taking of liberty and property through their own extrajudicial system of justice.

comment 9y ago · link · parent

I know exactly zero developers senior enough to have gotten over writing bugs. I know I've written bugs that happened to pass all my tests only to blow up in somebody else's face, sometimes after surviving years of production use.

Code review would've at least had a chance to catch them early—so long as you treat it as critical analysis of program logic and not just a screen for generic goodness.

IMO if your code reviews are glorified manual style checking, you're doing it wrong.

comment 9y ago · link · parent

The former stopped working in iOS 9.

comment 9y ago · link · parent

It's… complicated.

On one hand, instantaneous mpg is seriously misleading. To me, accelerating efficiently means maximizing the amount of acceleration I get per unit of fuel—doing that does NOT maximize instantaneous mpg, but ideally finds the optimal point on the fuel-consumption-rate*time graph that you actually care about.

On the other hand, real-time feedback is probably better for the not-exactly-scientifically-rigorous way people learn, and it can be useful for noticing unexpected behavior not covered by intentional experiments.

A realtime unit-less fuel efficiency gauge in a U-Haul clued me into non-ideal behavior from the automatic transmission climbing hills. Feedback from this dumb gauge caused me to adjust my driving, which meant only my first tank of gas lasted way less time than expected.

comment 10y ago · link · parent

Depends: does the first option shrug off failures and keep at it, or become suicidally depressed and die?

comment 10y ago · link · parent

1080p60 is gradually happening, which is what's making my 2009 laptop suck at YouTube.

…that and a depressingly inefficient playback path. (It is not necessary to spin up my fans to play 1080p30, but it is from a Web browser.)

comment 10y ago · link · parent

Browsing the Web from a Raspberry Pi (3) was an interesting experience. Browsing supposedly static content like news sites was often surprisingly painful, yet Google Docs was at least usable—alongside Roll20, which is also not exactly the lightest weight thing I use.

(I also came to loathe even more videos I didn't ask for playing.)

12345
9