Water could help lose weight faster than diet drinks | #Health Minute
Someone took the time to study this?
Water could help lose weight faster than diet drinks | Health Minute
In a recent study, experts in diet and metabolism find that replacing low calorie ‘diet’ drinks with water can help increase the rate of weight loss in obese women with type 2 diabetes. The University of Nottingham and Tehran University of Medical Sciences conducted the research. The results are published in the journal Diabetes, Obesity …
Stop treating open source like a product you purchased and start treating it like a team you belong to.— Jon Kuperman (@jkup) September 18, 2017
Could lab-grown fish and meat feed the world – without killing a single animal?
An open letter to the #W3C Director, CEO, team and membership | Electronic Frontier Foundation
An open letter to the W3C Director, CEO, team and membership
Dear Jeff, Tim, and colleagues, In 2013, EFF was disappointed to learn that the W3C had taken on the project of standardizing “Encrypted Media Extensions,” an API whose sole function was to provide a first-class role for DRM within the Web browser ecosystem. By doing so, the organization offered...
Käärmeenpoikaseksi Andersille! | aTalent Recruiting – Nuorten ammattilaisten rekrytointi
Back to #work! Almost 3 months away from work on holiday + parental leave. This will get some time adjusting to again.
“The good thing about science is that it's true whether or not you believe in it.” - Neil deGrasse Tyson pic.twitter.com/7GKPdnmnl2— World and Science (@WorldAndScience) September 17, 2017
Why is #Python Growing So Quickly?
tl/dr, data science is pushing the numbers but growth is throughout the field.
5 year old boy at daycare pointed at my shirt and said to his dad "Look, a Poké Ball!". And his dad said nothing.
What kind of parents do we have these days? Sad!
My reply was of course: "That's no Poké Ball!". Possibly a bit too defensively 😁
Backport of f-strings from #Python 3.6
Tempting... But kinda hacky:
Include the following encoding cookie at the top of your file (this replaces the utf-8 cookie if you already have it): # -*- coding: future_fstrings -*-
And the author themselves has tagged it as such :D
#Linux Phone Crowdfunder Hits $200k, Is 'Ahead of Trend Line to Succeed' - OMG! Ubuntu!
Linux Phone Crowdfunder Hits $200k, Is 'Ahead of Trend Line to Succeed' - OMG! Ubuntu!
Crowdfunding for theÂ Purism 5 Linux phone has soared past $200,000 â and is on course to succeed.
#Mastodon launches their #ActivityPub support, and a new CR! -- ActivityPub Rocks!
The #Brexit vote simulator. Flipping a coin was a good way to decide what happens to a generation!
Just simulated this with a few lines of code and tossing 1000 coins 10 times. pic.twitter.com/EVlS8KCAFf— Rob Manuel (@robmanuel) September 11, 2017
My advice on learning Python:— Jake VanderPlas (@jakevdp) September 10, 2017
Don't set out to "learn Python". Choose a problem you're interested in and learn to solve it with Python.
Kalasatamassa juhlittiin omaa uutta puistoa
If physical illnesses were treated like mental illnesses... pic.twitter.com/JMYF85oEaS— World and Science (@WorldAndScience) September 11, 2017
Still don't know what caused the weird network incoming peak and then climbing of RAM usage on my server. The process seems to of died off before the OOM killer got to it. Can't find any good pointers in logs to what app could have caused it.
At least I finally had a reason to enhance my monitoring. Previously I've already had CPU, memory, disk, network etc basic graphs coming out, but nothing application specific. Now I've added a second collection of graphs to my Facette monitoring system with application specific graphs. Now I get CPU, memory and process counts for each application, database or interpreter (like Python, Node, etc) separately, and also #PostgreSQL database size for each application I have. These are all collected by collectd (processes and postgresql plugins).
These should give better weapons to start narrowing down what exactly misbehaved in a similar situation in the future.
Woah, funky server happenings. *goes investigate* ...
#Climatechange denial should be a #crime | The Outline
For public office holders. Please read the article before bashing the clickbatish headline.
Climate change denial should be a crime
In the wake of Harvey, it’s time to treat science denial as gross negligence—and hold those who do the denying accountable.
- On save -> push to a Redis ordered set for each user for each stream the content ID
- On stream load, pull out X items from the ordered set in reverse order
- If we have enough items -> fetch objects from DB and render
- If we need more items, collect enough using normal queryset filters (slow, current method) -> fetch objects from DB and render
I tried using a Redis List at first, but I couldn't figure out how to make "load more" work with that. If the client says "I want all after item X" then I have to pull out X items from the Redis list after that item. But ordered sets are perfect since they have unique members and items can be neatly pulled out in order from either direction.
Actually the Socialhome streams are not even slow at the moment. But doing this pre-caching allows for any kind of complex calculations to be made for custom streams. A custom stream could for example be "all by content + content with tags #foo or #bar + content in French language + content with images". All the calculation happens on write time, keeping reads super fast.
I have a method called
I've typoed it twice already as