Skip to main content

harry palmer

harry palmer's Public Library

  • Abstract

    This study evaluated the effects of flurazepam 30 mg, lorazepam 4 mg, triazolam 0.5 mg, and placebo upon sleep and memory in eleven normal male subjects continuously monitored for nighttime EEG, EOG, and EMG recording. Subjects received each drug or placebo for two consecutive nights per week for 4 weeks in a repeated measures, double-blind, Latin Square design. Three hours post-administration, subjects were awakened and presented with a series of tasks. Recall was assessed immediately following task presentation and after the final morning awakening. The results showed that every drug significantly decreased stage 1, increased stage 2, and produced no change in stage 3--4 sleep in comparison to placebo. Only lorazepam significantly decreased REM percent. Post-drug recall was significantly decreased in comparison to placebo at night and was further decreased in the morning. Morning recall was significantly poorer when the return to sleep was 2.5 min or less than when the return to sleep was greater than 5 min following the nighttime awakening in all drug conditions. These results indicate that 1. failure of memory consolidation rather than failure of retrieval is the most likely explanation for the morning memory loss and 2. hypnotic drug properties, measured by latency to fall back asleep, affect memory consolidation.

  • Email confirmation

     

    When a new user gives us their email, we generally want to confirm that they gave us the right one. Once we’ve made that confirmation, we can confidently send password reset links and other sensitive information to our users without wondering who is on the receiving end.

     

    One of the most common patterns for confirming emails is to send a password reset link with a unique URL that, when visited, confirms that user’s email address. For example, john@gmail.com signs up at our application. We register him in the database with an email_confirmed column set to False and fire off an email to john@gmail.com with a unique URL. This URL usually contains a unique token, e.g. http://myapp.com/accounts/confirm-/Q2hhZCBDYXRsZXR0IHJvY2tzIG15IHNvY2tz. When John gets that email, he clicks the link. Our app sees the token, knows which email to confirm and sets John’s email_confirmed column to True.

     

    How do we know which email to confirm with a given token? One way would be to store the token in the database when it is created and check that table when we receive the confirmation request. That’s a lot of overhead and, lucky for us, it’s unnecessary.

     

    We’re going to encode the email address in the token. The token will also contain a timestamp to let us set a time limit on how long it’s valid. To do this, we’ll use the itsdangerous package. This package gives us tools to send sensitive data into untrusted environments (like sending an email confirmation token to an unconfirmed email). In this case, we’re going to use an instance of the URLSafeTimedSerializer class.

  • The ideal way to go about getting pretty much any Python object into a JavaScript object is to use JSON. JSON is great as a format for transfer between systems, but sometimes we forget that it stands for JavaScript Object Notation. This means that injecting JSON into the template is the same as injecting JavaScript code that describes the object.

      

    Flask provides a Jinja filter for this: tojson dumps the structure to a JSON string and marks it safe so that Jinja does not autoescape it.

  • Bruce: Actually yeah, I'm kinda keen on formal methods for writing. But I don't stick to one in particular; I like to use them like fuzz tone boxes or wah-wah pedals. If you're big on this, you ought to read about the Oulipo Group, the "Workshop for Potential Literature." Italo Calvino used to work with them. They had all kinds of off-the-wall stunts, like writing novels without the letter "e" in them.

     I've used a lot of software tools for writing. Outside of a basic work processor to help with the brute labor of typing, a lot of these "tools" just get in the way. Way too many value-add bells and whistles. Lately I'm thinking that turning off the wifi signal is a pretty good idea in writing.

      Search engines are a major research aid for writers, but in the past few years, they've all been turning into surveillance-marketing engines. Now it's like trying to get some fiction done, while Google is all like, "So! Finish that Coke yet? Hey, how about a six-pack?" It's like Larry and Sergei are right in the room now, staring with Google Glass, and holding their breath.

    • <form action="#" onsubmit="return post_form(this, 'editusertext')" id="form-t1_czqaasczxu" class="usertext">

      "North Vietnam" and "South Vietnam" were an invention of 1954 which only persisted for two decades, because the Americans supported the southern puppet ruler Diem in breaking the original agreement of holding national elections in 1956 which Ho Chi Minh would easily have won which would have re-united the country after just two years of artificial division.

        

      The "Vietcong" were just the same as the "Vietminh" of pre-1954 times, a national movement for liberation that was as present and locally rooted in the south as it was in the north (though due to the foreign-backed Diem government in the South, it remained underground there).

        

      The renewed revolt in the south that started in earnest in the late 1950s and turned into the American war was actually instigated by the local Vietminh cadres, not the northern leadership, though the latter quickly seized on it and took direction. Either way, it was always a national movement for liberation from foreign powers in a long Vietnamese tradition that fought the Chinese, the Cambodians, the French and finally the Americans.

        

      To try and equate the Americans and their pathetic, venal, disgusting southern puppets who had virtually no popular support, with the Vietminh/Vietcong forces and the northern national government is, I am sorry, just completely wrong-headed. The terrible tragedy of the entire affair was how pointless the war was as the Vietnamese in the 1950s could have turned into a quasi-ally of the United States as they had much more to fear from China than the US (Ho Chi Minh actively approached the US on a number of occasions for a settlement in the 1940s/50s, but was rebuffed, because US Policymakers just couldn't wrap their head around the idea that communism may not just be a single block, and Ho may be an Asian Tito).

        

      Give another viewpoint a chance and read "A bright shining lie" (or listen to the audio-book), it's a really great biography of one of the most prominent American soldiers in Vietnam and describes well how it all went wrong due to this central misperception.

       
       
      </form>
Feb 03, 16

"A rhythmic, deeply compassionate portrait of two neighbouring towns on opposite sides of the US-Mexico border, Western immerses viewers in the day-to-day lives of residents and lawmakers alike, so that by the time gangland violence begins to encroach upon their existence, our understanding of the threat posed is informed by our understanding of the people most affected, rather than the other way around. While fiction films such as Sicario offer glossy, morally indifferent depictions of life at the border, Western zeroes in on the delicate patterns of life in any small town, to underline the absurdity of the steel and paperwork that divides these two communities.

If the film was always an unlikely prospect for UK distribution, maybe that’s because documentary discourse in Britain so brazenly favours provocative subjects and worthy causes over artistry and execution, a bias that damages an understated film like Western and rewards a bombastic alternative like Cartel Land. The latter film’s sensational title betrays its flashier, hollower treatment of US-Mexico relations, but still it garnered a UK cinema release last September and a Bafta nomination earlier this month, in a category dominated by worthy but inelegant docs."

  • Bruce Sterling's Idea of What Every Well-Appointed "Cyberpunk SF" Library Collection
    Should Possess (circa June 92)

    The Canon:

    BURNING CHROME William Gibson
    Gibson's short stories.

    NEUROMANCER, COUNT ZERO, MONA LISA OVERDRIVE William Gibson
    The "Cyberspace Trilogy."

    MIRRORSHADES THE CYBERPUNK ANTHOLOGY Bruce Sterling ed.
    Useful pointer to actual no-kidding Movement Cyberpunks.

    MINDPLAYERS Pat Cadigan
    Her best novel. An absolute must-have.

    HEATSEEKER John Shirley
    Shirley's short-stories. His most significant and influential work.

  • Abstract

    Over the last decade there has been a rapid expansion in the use of peptides as drugs. Nowadays, they are being used therapeutically in such diverse areas as endocrinology, neurology, haematology and some types of allergies. In the field of autoimmunity, a few candidates have emerged. Thus, in the pipeline of novel strategies designed to treat patients with systemic lupus erythematosus, the 21-mer peptide P140/Lupuzor raises hopes for the generation of an efficient, specific and safe treatment. This phosphopeptide has successfully completed a phase IIb clinical trial and will enter into a multi-centre, double-blind, placebo-controlled phase III clinical trial. The phase IIb trial showed that after three months of therapy (three subcutaneous injections of 200 µg peptide/patient in addition to standard of care), Lupuzor improved Systemic Lupus Erythematosus Disease Activity Index score of lupus patients under active treatment by 67.6% versus 41.5% in the placebo group (p < 0.025). After three additional months of follow-up, the improvement rate was 84.2% versus 45.8% (p < 0.025). The side-effect profile was unproblematic and the drug was well tolerated as evidenced by a very low drop-out rate. P140 does not behave as an immunosuppressant, it acts primarily as a fine immunomodulator of autoreactive CD4(+) T cells. Its underlying mechanism of action involves autophagy, a cellular process that implicates lysosomal-dependent recycling of intracellular components and controls the pool of major histocompatibility complex class II-displayed peptides that is presented to CD4(+) T cells.

  • I've also read this somewhere "tip for primaloft jackets - wash in tech wash at 30 degrees, hang up outside and spray liberally with Graingers XT. Let it drip for a few minutes then tumble dry on a cool setting for 2 hours. Makes them waterproof in all but the heaviest downpour, but they still retain the breathability."

  • With the nights drawing in and the weather getting cooler and wetter, getting out running can feel more of a challenge than usual. With the right kit you can stay warm and have fun, and it’s often even more rewarding than fine-weather running too. We’ve been lucky enough to have spent the past few months testing out and reviewing lots of different items of running kit. Here Sim shares his top items of running clothing for winter. You can read Jen’s round up here.

     

  • We are so grateful to have met Mr. Francis Chu and directly experience the lab tests on the masks! Now we understand much better what are the important parameters to choose an effective pollution mask, and how to correctly wear it.
    At the end of our visit to Totobobo's headquarters, we were happy to support their products not only because they are effective, but also because we believe in Mr Francis mission and we liked a lot his approach of doing business, not putting money and success as the main priority if it's colliding with higher purposes.

    •   
          

      Re: Bluetooth audio not working

       

      Postby krige on Fri Feb 21, 2014 7:06 am

           
      I had a similar problem with my Sennheiser MM 450-X bluetooth headset, they were correctly paired with my computer but no audio was coming out from them; they did not appear in the "Play sound through" list of the Sound Settings panel. I managed to have them appear in the list by following hunternet93 solution and running:

      Code: Select all
      sudo apt-get install pulseaudio pulseaudio-module-bluetooth pavucontrol
      pulseaudio -k; pulseaudio --start


      I did not need to edit the /etc/bluetooth.d/audio.conf file (the file doesn't actually exist).

      The audio comes very badly from the headphones though, and it is probably due to the fact that it's currently working in "Telephony Duplex (HSP/HFP)" mode. The other mode, "High Fidelity Playback (A2DP)", appears in the list, I can select it but it doesn't seem to be "activated": if I close the Sound Settings panel and open it again, the "Telephony Duplex (HSP/HFP)" mode appears selected again.
           
          
       
        User avatar
        krige 
        
      Level 1
      Level 1
        
       
        
      Posts: 19
      Joined: Wed Sep 18, 2013 8:36 am
       
         
          
             
       
        
         
       

  • Dr Hugdahl's research group has made use of a variety of neuroimaging techniques, including functional magnetic resonance imaging technology (fMRI) to enable them quite literally to see what happens inside the brain when the inner voices make their presence known. The project received funding under the NevroNor national initiative on neuroscientific research administered under the auspices of the Research Council of Norway

  • Having spent the majority of my career in the Microsoft stack, lately I’ve decided to step out of my comfort zone and to dive into the world of open source software. The project I’m currently working on at my day job is a RESTful service. The service will be running on a commodity hardware, that should be able to scale horizontally as needed. To do the job I’ve decided to use Flask and Nginx. Flask is a lightweight Python web framework, and nginx is a highly stable web server, that works great on cheap hardware.

      

    In this post I will guide you through the process of installing and configuring nginx server to host Flask based applications. The OS I’ll be using is Ubuntu 13.04.

  • *I have been getting severe headaches since I started flaring a couple months ago. I never used to get headaches. I have had 2 severe/mind blowing/can not function/almost go to the ER headaches in the last 6 days. They last for days at a time. My pain pills don't help and I have gotten nauseated both times. Both were probably the worst headaches of my life. Horrible pain that extended down my spine. Light and noise made them worse. It feels like my head is swelling and pulsating and movemant makes it unbearable.
     
     *Also, earlier this week I had numbness/weakness down my right arm the whole day. The next day it was normal again.
     
     *Last night after headache #2 subsided, I suddenly had painful pins and needles down my arms and legs that lasted several hours. It felt like electricity under my skin and caused itching. It literally went from the top of my arms/shoulders all the way down into my hands. Throughout the night it was less intense, but I have been getting pins and needles all over my body in random places since last night. Arms, legs, hands, feet mainly.
     
     *Today, although my headache is gone (THANK GOD) I have been on the verge of fainting all day. I have not fainted, but I am weak, lightheaded and feel as though I will faint at any point unless I sit or lie down. Have also had random numbness patches on arms and legs throughout the day. Fleeting. They don't last long. My left forearm is tingling and numb right now and my thumb.
     
     *I have had vertigo, horrible dizziness, ringing in my ears, pressure & fullness in ears where my hearing temporarily goes, and tingling on my lips. All of this off and on since my flare started. Going to see neuro asap....freaked out a little.
     
     ***DOES THIS SOUND NORMAL? DO ANY OF YOU HAVE THESE SYMPTOMS?? PLEASE SHARE ANY INFO IF YOU HAVE THIS OR ADVICE***
     
     Also when I go back and try and read this I keep thinking everything is mis spelled. The words
1 - 20 of 8656 Next › Last »
20 items/page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo