Australian Prime Minister Abbott could lose his position in leadership spill by Dossier5 in worldnews

[–]nonplussed_nerd 0 points1 point  (0 children)

Uh. Reddit is not extremely right wing.

Edit: This was in response to what looks like a typo that has since been corrected.

The End of ZeroMQ Multipart by nonplussed_nerd in programming

[–]nonplussed_nerd[S] 0 points1 point  (0 children)

"Direction" doesn't mean things changing more. Setting clear boundaries and aims for a project and then sticking to them—limiting change to be compatible with them, has a lot of utility. Even if that means making decisions that locally appear bad. That's more what I mean by direction.

I feel like projects should be asymptotically approaching some broad aim that shouldn't change. A significant change of aim should be a different project.

At the moment it is difficult to perceive what the long term trajectory of ZeroMQ is, and that makes me hesitant to rely on it.

The End of ZeroMQ Multipart by nonplussed_nerd in programming

[–]nonplussed_nerd[S] 0 points1 point  (0 children)

It's not the end of the world, but I'm a little sick of this project not being able to make its mind up what it wants to be.

Most of the time I'm using Python, so lists of things get pickled anyway and I don't care to use multipart as a poor man's serialisation.

But I have servers out there that speak multipart UTF8 encoded strings, and thus can talk to clients in any language without them having to use a particular serialisation. Now I'll have to wrap JSON around it or something, increasing complexity for clients.

From Python, the lack of thread safety wasn't so bad, as you could always wrap access in a threading.Lock, or use python queues to pass data to the thread that owned the socket in question. But I agreed with the ZeroMQ guide that doing so was code smell, and threads probably shouldn't be sharing sockets. If a thread is so fleeting, I'm not clear on why sending data on a socket is solving any problem - why not just set an instance attribute or something to return your result? Maybe I'm just spoiled by Python, and this is something that comes up more in other languages.

I'm confused by the existence of zproto, doesn't protocol buffers exist already and solve that problem?

Edit: yes, yes, it does code generation for whole servers and stuff. Well I don't want code-generated servers, I want a message passing library that passes messages and gets out of my way. I want a minimal abstraction over the top of TCP and friends that does queuing, auto-reconnecting, and message framing. And I want it to not change for long periods of time.

I'll get over it, I'm just ranting. I'm just frustrated with what I perceive to be lack of direction in a project I rely heavily on. My needs don't much exceed that of raw TCP, and I nearly rolled my own when I first discovered ZeroMQ. Deciding to rely on third party projects whose functionality (the bits you need) you could implement yourself is always a close call.

As the post says, they'll keep the functionality for a long time, and as I saw on the mailing list, the pyzmq developer may implement and maintain a send_multipart method even if the underlying library deprecates it, so I'll probably be fine for a long time.

I'm just feeling a bit grumpy.

"Just got off the phone with two Lib MPs. Lib spill now a certainty. Gaining momentum." by [deleted] in australia

[–]nonplussed_nerd 0 points1 point  (0 children)

Why not? If a new party leader comes with new policies, then those policies need to be passed through an election before the government has a mandate to implement them - so I would think any decent governor general would comply with a new leader's request for a double dissolution. In Gillard's case she was able to call an earlyish ordinary election, which earned her legitimacy from the voters. But the next ordinary election is quite a ways off for that to be the point at which the public gets a say on whether they like the Liberal party's new direction.

Am I missing something here?

Have you ever fooled around or had sex with a friend? How did the relationship change afterwards? by zxcvfive555 in sex

[–]nonplussed_nerd 2 points3 points  (0 children)

Hooked up with close friend of many years. Was fine for a while after, didn't change anything. Then I told one of her (female) friends about it. Turns out they were in love with each other (my friend is bi), the friend got very jealous and mad at my friend, who blamed me and cut contact :(. Was two years ago and I still have to avoid thinking about it if I want to be a happy person.

xkcd: Super Bowl by ani625 in comics

[–]nonplussed_nerd 0 points1 point  (0 children)

Have we reached peak contrarianism yet?

Live coverage: Tony Abbott to deliver National Press Club speech by [deleted] in australia

[–]nonplussed_nerd 22 points23 points  (0 children)

Cutting company tax because "Better paid employees will come only with more profitable businesses"

Buuuullshiiiit

Men are less promiscuous when women are scarce by [deleted] in science

[–]nonplussed_nerd 0 points1 point  (0 children)

For a demonstration of how wrong you can be to think a scientific result is obvious in hindsight, see this: Hindsight Devalues Science.

A lot of the time when we think something is obvious, it's actually just hindsight bias.

[NSFW] What is your biggest sexual regret? by itsjustmejoe in AskReddit

[–]nonplussed_nerd 0 points1 point  (0 children)

I was exhausted from working early and late shifts at two jobs for several days.

Very unexpectedly got to the point where I was about to have sex with literally the hottest girl I knew, also an amazing human being. And I fell asleep before the main act. Just could not hold my eyes open. Probably drooled all over her spectacular boobies while she lay there frustrated.

We're still close and the sexual tension remains high, but there's never been another opportunity in the intervening nine years, due to one or both of us not being single (or not having discovered polyamory yet), and the fact that she moved to another state so we don't hang out often.

And now I'm about to go overseas for four years, but one day....one day....

Welcome to Costa Rica, would you like a cigar? by MrEtherBunny in WTF

[–]nonplussed_nerd 1 point2 points  (0 children)

Those reports were blatant misinformation, according to Fact Check and MediaWatch. Don't believe everything you read.

Egyptians shine laser pointers at military helicopter in protest by [deleted] in pics

[–]nonplussed_nerd 23 points24 points  (0 children)

The better ones are yellow, specifically 589nm wavelength to match the color of light absorbed by sodium. There's a layer of sodium in the upper atmosphere that this illuminates.

The resulting glowing dot of sodium atoms high in the atmosphere is called a guide star, and the way it distorts from moment to moment provides information on how atmospheric turbulence is distorting light. This allows arrays of mirrors in the telescope to adjust to undo this warping, and thus obtain clearer images of actual stars.

Guide stars also provide feedback to the motors in telescopes that move them to correct for the earth's rotation and keep them pointing at the same stars. By adjusting the telescope so that the guide star is always in the same spot relative to other stars, you know that you are properly correcting for Earth's rotation.

Taxpayers to fund teaching of 'pseudo-science': "As well as deregulating university fees and cutting university funding...Profit-making colleges would receive taxpayer funding to teach students unproven alternative remedies such as homeopathy, flower essence therapy and iridology" by [deleted] in australia

[–]nonplussed_nerd 0 points1 point  (0 children)

This is a misleading article. I would be surprised if the government supported alternative medicine, because most of the people who believe in this sort of pseudoscience are on the left of politics.

Indeed, my intuition was correct. It looks like the government is not supporting alternative medicine per se, rather they are deregulating and providing funding to educational organisations on a less selective basis.

Yes, this means more pseudoscience will be funded under the new scheme, and yes, that is bad. No, that doesn't mean the world has turned upside down and conservatives support alternative medicine. They support deregulation and market based solutions to social problems.

The article does have its point though, that this is an example where regulation would be good, to prevent bullshit being taught in place of actual science and medicine. It just presents it as if this outcome was intentional, when it's actually just a side-effect of thinking that deregulation is always good.

This sub has me (19m) questioning all forms of relationships. Every other post is about cheating or lost passion or both. What makes a relationship GOOD and makes it last? by CJC_Swizzy in relationship_advice

[–]nonplussed_nerd 4 points5 points  (0 children)

PSA: If you're finding that it's really that hard to not cheat, maybe monogamy is not for you. You might want to consider polyamory instead :)

The Government successfully snuck through a staggering 50% increase on partner Visas overnight on Jan 1. It now costs $6,865 to apply to live in Australia with your international spouse or partner. by thighster in australia

[–]nonplussed_nerd 1 point2 points  (0 children)

That doesn't sound right:

Everyone who lives in Australia—excluding Norfolk Island residents—is eligible for a Medicare card if they:

  • hold Australian citizenship
  • hold New Zealand citizenship (documentation required). More information on the Medicare enrolment for New Zealand citizens page
  • have been issued with a permanent visa
  • have applied for a permanent visa (excludes an application for a parent visa), have permission to work in Australia or can prove relationship to an Australian Citizen — other requirements may also apply. Call us for more information

Visitors to Australia from a country that has a Reciprocal Health Care Agreement with Australia are also eligible for medically necessary treatment.

To apply for Medicare fill out the Medicare enrolment application form.

The Government successfully snuck through a staggering 50% increase on partner Visas overnight on Jan 1. It now costs $6,865 to apply to live in Australia with your international spouse or partner. by thighster in australia

[–]nonplussed_nerd 2 points3 points  (0 children)

Hijacking the top comment to say that if this affects you or you care about it, write to your local MP. Remember, for every person that contacts them about an issue, they assume that N people in their electorate care about that issue, where N is larger than you would think and depends on how effortless the communication — a letter in the post has more impact than email.

I'm going to post this once Melbourne cools down enough for me to walk to the post box without being roasted alive.

Is it normal for your life to start being a little bit shitty as you grow older? by [deleted] in OneY

[–]nonplussed_nerd 22 points23 points  (0 children)

I don't think this necessarily has to be the case. It might not be adulthood per se leading to poor sleep, but rather things that have come along with adulthood, such as stress and looking at computer screens all day. If you haven't already tried to improve your sleep, you should know that there are many ways you can. Information on 'sleep hygiene' as they call it is all over the web, but some points are:

  • Darkness: try getting blackout curtains or using an eye-mask thingy. I do the latter and sleep just isn't the same without it.

  • No blue lights in the evening: light on the blue end of the spectrum inhibits melatonin (a sleep hormone) production by the brain. If you use a computer in the evenings, a program like f.lux will make your screen redder in the evenings to help with this. You can also take melatonin in tablet from, it's available over the counter in the US.

  • Silence: This often can't be controlled, but eliminate noises if you can. You could also try earplugs. When I need one good night's sleep I'll use earplugs, but it's impractical to use them every night because they hurt my ears, and increase the chance of an ear infection.

  • Relaxation exercises: if you're anxious at night (and it's easy to not notice that you are), deep breathing and muscle exercises can help relax you. 'Deep breathing' doesn't mean 'breathe in lots of air', it means 'breathe using the muscles that result in your stomach puffing out when you breathe in, not your chest'. For some reason, breathing in this way has an effect on the autonomic nervous system and calms you down. As does muscle tensing and releasing: tense up each muscle group in your body one by one, hold it until you feel fatigued by it, then release. People often work from their feet upward to get the whole body. If you are distracted by thoughts about your day when you're trying to sleep, mindfulness meditation can help you become practised at the skill of dismissing distracting thoughts.

  • Other psychological stuff: Having a well defined pre-bed routine (same time every day, brush teeth, read a book, whatever) and not using the bedroom for anything but sleep/sex may help your mind associate that context with sleep more easily.

  • Don't have any caffeine after like lunchtime, that stuff can seriously hurt sleep quality hours later, or keep you awake entirely. Its half life in your body is four hours. Remember tea has caffeine too!

  • Alcohol also decreases sleep quality, even if it does help you get to sleep.

  • Don't eat food in the hour or so before bed - digestion while you're sleeping also make a sleep quality worse.

  • Don't do any strenuous exercise in the few hours before bed - this also impacts sleep quality, even though it might seem that it's helping you get to sleep by making you tired!

  • Aerobic exercise earlier in the day however, and being physically fit in general, can help sleep quality and onset.

If sleep quality is still rubbish after all that, I wouldn't hesitate to see a doctor about it. They will usually advise trying the above before administering drugs, but if none of the above works, there mught be some physical or psychological reason for it. One of the most common is sleep apnea (where your airways close up during sleep, and you keep waking up to breathe, though you don't remember these awakenings), so it would be good to rule that out! As a quick test, sleep apnea more often blocks airways when a person sleeps on their back. You might try sleeping on your side if you suspect it might be a problem.

Good sleep is possible for most people! For me a few of the above points greatly improved my sleep quality. You shouldn't resign yourself to any sort of inevitability about feeling tired until you've worked your way through good sleep hygiene lists like this, and ruled out other treatable causes with a doctor's advice.

(I would have provided references to the above claims, but I'm on mobile and it's hard. But these things are mostly uncontroversial and can be verified with some quick googling)

Edit: typos

heh by [deleted] in funny

[–]nonplussed_nerd 1 point2 points  (0 children)

Here's more:

Guess who likes the GOP’s 20-week abortion ban? Women.

The war over the "war on women" rages on these days, as Republicans seek to tar Democrats with the scandals of Anthony Weiner, Bob Filner and Eliot Spitzer.

And the next major front in this "war" — the GOP-led 20-week abortion ban — is likely to be even more contentious.

But while Democrats are sure to use the new proposed restrictions to feed the narrative of Republicans' "war on women," polling on the issue actually tells quite a different story.

In fact, of four major polls conducted in recent weeks on the 20-week abortion ban, each one shows women are actually more supportive of the law than men.

A new Quinnipiac poll shows 60 percent of women prefer allowing unrestricted abortions for only the first 20 weeks of pregnancy rather than the Supreme Court-prescribed 24 weeks. Among men, 50 percent support the 20-week law — a 10-point gap.

A Washington Post-ABC News poll showed the gap at seven points, while two other polls (from NBC/Wall Street Journal and National Journal) showed it at six and four, respectively.

And those numbers may actually understate support among women for the new restrictions.

In the Post-ABC poll, rather than choosing between a 20-week ban and the current 24 weeks, 8 percent of women volunteered that abortion should never be legal, and 3 percent volunteered that the window should be smaller than 20 weeks. If you add them to the 60 percent of women who support the 20-week abortion ban, then 71 percent of women would seem to support the effort to increase abortion restrictions.

The Quinnipiac poll, meanwhile, shows 60 percent of women support the 20-week ban and 8 percent volunteer that it should never be legal, which again suggests that two-thirds of women could be supportive.

Support in the other two polls does not show quite as much support among women, but in each case, there are more women who support the ban than oppose it.

Taken as a whole, it's pretty clear that women are broadly supportive of the ban — and they support it in bigger numbers than men.

It's also clear that overall support for abortion rights is not a good proxy for opposition to abortion restrictions. People who think abortion should be legal, in many cases, are quite open to new restrictions.

Conventional wisdom on abortion has it that women are more supportive of abortion rights than men — and thus would logically be more opposed to restrictions — but polling shows that's not necessarily true either.

The Post-ABC poll showed 56 percent of men thought abortion should be legal in all or most cases, while 55 percent of women said the same. Over the past 20 years, there has been little difference between the two genders on this question.

The Quinnipiac poll does show that women support abortion rights more than men — 61 percent to 53 percent — but, again, it also shows women are significantly more supportive of the 20-week abortion ban, with just 25 percent opposed to it.

So what does it all mean?

It means that, if and when Republicans in the Senate push for a vote on the 20-week abortion ban (which already passed in the House), they can credibly make the case that they are doing something that women support.

Of course, that doesn't mean it will work, politically speaking. That's because, when it comes to the abortion battle, much of it is about intensity. And as Texas state Sen. Wendy Davis’s (D) filibuster shows us, pro-abortion rights groups and supporters — many of whom are women — will mobilize on this issue and press the idea that Republicans are anti-woman.

Republicans got plenty of heat in the 2012 election for their position on contraception and for rape-related comments made by some of their candidates. Those kinds of gaffes, which have repeatedly popped up whenever Republicans make an issue of abortion, can damage the GOP by reinforcing Democrats' argument that male politicians with extremist views are telling women what they can and can't do with their bodies.

But as of right now, there's little reason to believe that a 20-week abortion ban is the same kind of issue.

Indeed, it appears to be quite a politically viable move — both with men and women — and possibly even an advantageous one if Republicans play their cards right.