HNHacker News
TopNewBestAskShowJobs

AlisdairO

2,006 karma · joined March 19, 2009

email: alisdair@zaltys.net web: www.zaltys.net, pgexercises.com
submissionscomments
AlisdairO··on Benefits of Not Using an IDE
For large codebases, the code exploration features are priceless. Call hierarchy is an absurd productivity booster.
AlisdairO··on Sometimes it is just a bad battery
seems like you could get a reasonable idea by performing a brief workload that should reliably trigger boosting, and see if boosting occurs?
AlisdairO··on 286 vs. 386SX
There was a nice easter egg in the installer there that i discovered. Much like how if you repeatedly click on one of your characters in the game they start to get annoyed, the sound card test did the same thing. "IT DOESN'T GET ANY BETTER THAN THIS"
AlisdairO··on Loom: Project Loom Early-Access Builds
...any very short lived concurrent task. A thread costs, what, 10 or 20us to create on a typical linux/x86 system? Perhaps it's more on the JVM?

Look, I'm looking forward to Loom as much as anyone. It is clearly going to be a big leap forward to the java ecosystem, and I'm looking forward to some threaded model being appropriate for any job rather than just most of them. It's just I see this terror of creating a thread or two out in the wider world and it seems a touch overwrought to me.

AlisdairO··on Loom: Project Loom Early-Access Builds
> On the JVM, native threads are really expensive, especially in terms of memory.

If you're running on Linux, this is rather less the case. People see 1MB Xss values and assume that 1MB of 'real' memory is required to spawn a thread. In reality, on a standard linux system with overcommit enabled, stack pages are only consumed as they're written to - the rest is just virtual.

Possibly you're talking about something else, but I commonly see this raised as a concern about creating threads in Java.

AlisdairO··on Is your son a computer hacker? (2001)
It definitely is, I vividly recall this from my university days.
AlisdairO··on Products purchased at Apple Store in India cannot be refunded or exchanged
I find it unethical because the net effect is that companies stop offering friendly return policies. When people treat return policies by the letter of the agreement rather than by its spirit, they create a world where companies won't offer relaxed return policies, and therefore make the world a bit worse for everyone else.

It's not illegal to use the agreement in this way, and I would never try to make it so. But I would absolutely look down on someone for behaving this way.

AlisdairO··on All my servers have an 8 GB empty file on disk
One other option is increasing the reserved block count ( https://ma.ttias.be/change-reserved-blocks-ext3-ext4-filesys... ). This has the nice side effect of increasing the space available for critical daemons.

If you haven't customised this, in a pinch you can still lower it down a bit to buy some time.

AlisdairO··on Facebook Indefinitely Suspends Trump
1. The evidence provided for election fraud was investigated, and no widespread fraud was found. 2. The Trump/Russia stuff was investigated because there were credible reasons to be concerned. The election fraud issue is entirely (and transparently) manufactured, and everyone in power knows it.
AlisdairO··on Why AWS loves Rust, and how we’d like to help
FWIW I expect you're getting downvoted for tone. In particular:

> I just have too much experience in the industry to throw away my time and play with toys.

Implication: Rust is just a toy, people who use it have too much time on their hands, and they're not experienced enough to have good judgement.

IMO if you're interested in a productive conversation you'd probably have better luck if you simply omitted content like the above: it doesn't add to the conversation, and is inevitably going to raise hackles among those who disagree with you.

AlisdairO··on Apple Agrees to Pay $113M to Settle 'Batterygate' Case over iPhone Slowdowns
Everyone here understands the behaviour of the battery. At issue is the way the customer experience is handled on top of that behaviour. Pretending otherwise is simple condescension.

Apple has already fixed the problem in a satisfactory way, so presumably it wasn’t impossible after all.

AlisdairO··on Apple Agrees to Pay $113M to Settle 'Batterygate' Case over iPhone Slowdowns
Your definition is not common to the market. Users can’t possibly anticipate whether the phone will provide acceptable performance when it reaches this ‘100%’ state. The devices are reviewed based on as new performance. The device provides adequate performance for some time, subsequently stops providing adequate performance, without notifying the user that there’s a way to restore acceptable performance. This is extremely user hostile behaviour.

I would literally rather my phone started randomly turning itself off at 30% power. At least that way I might take it for repair, have the reason diagnosed, and get it restored to acceptable performance, rather than simply assuming that software has moved on and I have to live with a slow device or purchase a new one.

AlisdairO··on Apple Agrees to Pay $113M to Settle 'Batterygate' Case over iPhone Slowdowns
The battery may not be defective, but the device is. It previously performed acceptably, then started performing poorly, with no indication to the user that there was an action needed to restore acceptable performance. Nobody expects a magic battery fix, but they do expect to be told that their device has been slowed down.
AlisdairO··on Moderna Covid vaccine candidate almost 95% effective, trials show
> Why would I want a vaccine that is actually less effective than my chances of surviving?

Well, the vaccine hopefully doesn't kill you if it's ineffective, so the numbers aren't exactly comparable.

The reasoning in this comment is wild. Let's take it back to the math a moment:

Let's take your 3% chance of death (actually the population survival rate is significantly higher IIRC, but OTOH there's long haul COVID to consider too). If the vaccine is 95% effective, all else being equal you have a 3% chance of death without the vaccine, and a 0.15% chance of death with the vaccine. So the question becomes: is there a greater than 2.85% chance of the vaccine killing you or doing you crippling injury? If not, you're probably better off taking the vaccine.

AlisdairO··on Biden wins White House, vowing new direction for divided U.S.
I'm not going to tell you that there aren't issues on the other channels, but the sheer volume of manipulation on Fox is utterly overwhelming. Imperfect as it is I don't really think MSNBC compares.
AlisdairO··on Biden wins White House, vowing new direction for divided U.S.
> I'm sorry, but you seem to absolutely refuse to keep the concept that Pelosi only wanted nothing less than her 2.2 trillion dollar bill.

Sure. And McConnell wants nothing more than his 1T bill. Why is it solely Pelosi's fault that an accord has not been reached?

> You can't complain about McConnell delaying it without complaining about Pelosi.

I wasn't? It's common during a negotiation for both sides to be at fault. I do think McConnell is more at fault given that the white house came to agreement, but it's obvious that Pelosi bears responsibility also.

I would also argue that if republicans hadn't spent the last 20 years playing hardball to a ridiculous extent, they wouldn't have inspired similar behavior in their democratic opposition.

AlisdairO··on Biden wins White House, vowing new direction for divided U.S.
I agree that this sort of stuff is awful, and I don't support it one bit. But the reality is that provisions like this aren't going to make it into the final bill, and there's no indication that this is some kind of red line - just a negotiating position. Similarly the republicans are also setting their demands up in a way they know democrats will never accept: a low relief figure, excessive corporate protection from liability towards employees.

I don't like it one bit (and I've always favored targeted bills), but there's also no real indication that this provision is what is holding things up - right now, all the talk is about the dollar amount. Senate republicans can't even pass the 1T amount for the HEALS act right now, and are facing severe internal division over the proposed amount.

AlisdairO··on Biden wins White House, vowing new direction for divided U.S.
Lieberman was a huge reason for the bill being as conservative as it was - for example: https://www.commonwealthfund.org/publications/newsletter-art... .

My point is, why is it that if Pelosi doesn't bend the knee, she bears sole responsibility for an agreement being reached? If she and the white house can agree, why can't McConnell be blamed? Your position seems to be that she should just take what she can get, but why shouldn't McConnell take what he can get? This is a negotiation. The idea that either side bears sole responsibility is crazy to me.

AlisdairO··on Biden wins White House, vowing new direction for divided U.S.
> the ACA was passed during a supermajority.

Nope. Lieberman was an independent and broke with the democrats on many issues, including the ACA: https://www.theguardian.com/world/2009/dec/16/joe-lieberman-... . Funnily enough, this kind of makes my point for me. Even during a near-supermajority, the Dems could barely pass some conservative healthcare reform, because the republicans threatened to filibuster almost everything. Historical report here: https://www.nbcnews.com/id/wbna35643530 . The filibuster has since been watered down to reduce that kind of abuse - and honestly I think the Democrats have learned that they need to play hardball, because Republicans sure as hell aren't interested in compromise.

In fairness to you, I did under-consider the effects of the use of the filibuster during Trump's term - appears that while the power of the filibuster has in general been watered down, the Democrats have been using it aggressively to block Trump's nominations. I wonder if the republicans regret kicking off this trend.

> Not a single republican voted for the bill

Sadly, we've reached a world where politicians largely vote as a block, not on their personal beliefs. I'd take this as indications of precisely nothing other than strategy. If you look at the bill itself, it's conservative, and a clear compromise from what the majority of Democrats want.

> It was Pelosi. Her position was my bill or nothing.

Patently untrue - she's already come down from an initial position of 3T.

So unless Pelosi caves to the Republicans' exact demands it's all on her? Let's imagine McConnell says that he'll approve a relief bill containing a trillion for the rich and a buck or two for the poor, is Pelosi solely responsible for delaying relief?

Pelosi is trying to get a level of relief that she views as appropriate. Of course the threat of walking away has to be there - otherwise the other side is free to offer something completely inadequate. If Pelosi and Trump of all people can get close to agreeing, it's worth considering pointing the blame at McConnell.

AlisdairO··on Biden wins White House, vowing new direction for divided U.S.
Thanks, I'll give it a look!
AlisdairO··on Biden wins White House, vowing new direction for divided U.S.
I agree. In general I identify as very progressive (especially by US standards), but I hold some opinions that are somewhat outside of the leftist norm, and I'm more or less completely unwilling to discuss them online as I don't trust that I will be treated in good faith.

The sad thing here is that I'm genuinely open to having my opinions changed, and have a history of changing my view in response to argument in the past. But can't have my view changed if I'm too scared to even have the discussion ;-).

AlisdairO··on Biden wins White House, vowing new direction for divided U.S.
More or less, yes. Take a look at the ACA. This is a piece of legislation that was essentially conservative in nature. It pleased very few on the democratic side, and bore plenty of similarities to some republican plans from the 90s. The Republicans reacted as if communism was coming to America.

It should be noted that this approach was an explicit plan that was noted by many at the time - some choice quotes in this article: https://swampland.time.com/2012/08/23/the-party-of-no-new-de...

> As opposed to the excellent state and not "unusually obstructive " form that democrats left the nation with after 4 years of never trump?

During the Trump administration, the Republicans had 2 years of controlling the house, the senate, AND the presidency. Not sure how much you think the Democrats could obstruct in that situation. In the following two years there's been just a democratic house, from which the Republican senate majority leader has been more or less unwilling to review legislation. And not just democratic-lead legislation - plenty of bipartisan legislation has been ignore too.

Really not sure why you're giving Pelosi sole blame for the failure to come to an agreement on stimulus. McConnell seems to be the clearest blocker here: seems there was hope for the White House and the House to come to an agreement, which McConnell scuppered: https://www.forbes.com/sites/sarahhansen/2020/10/15/mcconnel... .

AlisdairO··on Biden wins White House, vowing new direction for divided U.S.
The thing is, bipartisan support was impossible to achieve at the time. Obama crafted a conservative health bill, attempted to reach across the aisle and got stonewalled - it was noted at the time that the Republicans adopted an unusually obstructive approach during the Obama era. Bipartisan support was (by design) more or less impossible to achieve.
AlisdairO··on Biden wins White House, vowing new direction for divided U.S.
disclaimer: I'm not American, but I'm from the UK which has similar issues on a smaller scale.

The thing is, as a leftist I used to be able to have conversations with conservatives. We had different values, but a largely shared understanding of reality. That gave a common basis for contrast and discussion.

Now, that's gone. My biased perception is that the worst of it started on the right: a ways back Fox started creating a bubble of alternative reality, and that's been hugely amplified with the arrival of social media. I started struggling to communicate in meaningful ways. More recently I've found myself fact checking my own community more often than I used to - I wonder if Trump has sent leftists crazy in the same way that Obama did the right ;-).

AlisdairO··on Biden wins White House, vowing new direction for divided U.S.
There is, of course, actual smoke on the Russia issue.

- It's unambiguously true that Russia helped Trump get elected in 2016. Even the Republican Senate acknowledges this.

- Trump's campaign had various (documented) unsavoury links with Russia.

- Mueller didn't clear Trump of collusion with Russia, and indeed stated that the (clear) obstruction prevented a full investigation of the topic.

- Trump himself has been extraordinarily soft on Russia, while burning relationships with traditional allies.

- Trump is also pretty effusive in his praise of Putin - dictator of a geopolitical enemy and all-round bad dude.

None of this is speculative - it's all backed up by the facts. This is not to say that Trump is a KGB asset, but it's not hard to see why people might see indications in that direction and take it a step too far. Honestly my personal view is it's highly unlikely - if he was a Russian asset it's likely our intelligence agencies would have known in advance and done something about it. Personally my view is simply that Trump wishes to be an autocrat, and admires other autocrats.

The Q stuff, the Bill Gates microchip stuff, on the other hand, is just completely out of left field.

AlisdairO··on The polls messed up
The president himself has admitted that he wishes to starve the USPS to limit widespread mail in voting: https://www.businessinsider.com/trump-admits-he-wants-block-... . This in a pandemic where vote by mail is something any sane government should be supporting enthusiastically.

Potentially relatedly, right now there's 300,000 ballots missing/delayed: https://www.csmonitor.com/USA/Politics/2020/1103/USPS-won-t-... .

AlisdairO··on The polls messed up
In fairness, there's already clear evidence of attempts to subvert the election via manipulation of the USPS. It's not really an 'extraordinary' claim to suggest that Trump might attempt to manipulate the vote via other means - although I do agree that evidence is required to make the assertion.
AlisdairO··on Letsencrypt, the Good, the Bad and the Ugly
Do we have any real evidence that hobbyist servers are significant hitters when it comes to DDOSes? The idea that hobbyists shouldn't run a server is, IMO, misguided, and dangerous to the health of the internet.

A simple debian VM + nginx + $app_server with automatic updates turned on is not rocket science, and I struggle to see why one shouldn't run that as a hobbyist.

AlisdairO··on Single Page Applications using Rust
Well, yes, of course. The thing you could previously rely on being present can no longer be guaranteed to be present - that _should_ require code in the calling function to change.
AlisdairO··on Single Page Applications using Rust
Things like null safety aren't trivial for practical purposes IME.
← PreviousPage 2 of 26Next →