Sign Up Now!

Sign up and get personalized intelligence briefing delivered daily.


Sign Up

Stored Procedures as a Back End

  • Spoiler alert: It was GREAT idea.
  • I will not outline the positives of this approach.
  • Too many — from excellent permissions per user (rows, columns) up to performance gain and everything in between.
  • Instead, let me address few elephants in the rather small room.
  • It needs to follow the flow, but you need to do the same using ORM models, at least in Django.
  • You cant just randomly import models between applications within the same project.
  • Section 2 — Junctions is an equivalent of ManyToMany and let us avoid ALTER TABLE to insert references to tables that weren’t created yet during rebuilding.
  • This forces some discipline but makes entire codebase really easy to understand and follow.

save | comments | report | share on


Futures explained in 200 lines of Rust

  • This book aims to explain Futures in Rust using an example driven approach, exploring why they're designed the way they are, and how they work.
  • Going into the level of detail I do in this book is not needed to use futures or async/await in Rust.
  • This book will try to explain everything you might wonder about up until the topic of different types of executors and runtimes.
  • Stjepan Glavina has made an excellent series of articles about async runtimes and executors, and if the rumors are right there is more to come from him in the near future.
  • In the last chapter I've taken the liberty to suggest some small exercises if you want to explore a little further.
  • A special thanks to jonhoo who was kind enough to give me some valuable feedback on a very early draft of this book.

save | comments | report | share on


Preactjs/wmr: The tiny all-in-one development tool for modern web apps

  • The tiny all-in-one development tool for modern web apps, in a single 2mb file with no dependencies.
  • While it's best to use the quickstart method above, WMR caters to folks who want to start from scratch too.
  • There isn't really anything WMR-specific to set up - the steps here are essentially the what you would do to use a simple HTTP server.
  • See the full list of options.

save | comments | report | share on


Vitamin D metabolites and the gut microbiome in older men

  • In multiple linear regression analyses adjusted for age, BMI, race, site, antibiotic use, antidepressant use, physical activity score, season of visit, and total starch intake, there was greater α-diversity with higher 1,25(OH)2D levels (p = 7.23 × 10−7) (Fig. 3).
  • Forward stepwise redundancy analysis (RDA) of non-redundant variables explaining variation in α-diversity (a) and β-diversity (b) among candidate covariates that included age, site, race, body mass index, vitamin D metabolites, vitamin D activation/catabolism ratios, health behaviors, medications, and dietary intake of resistant starches.
  • In contrast, differences in serum levels of 1,25(OH)2D (q = 0.004), 24,25(OH)2D (q = 0.011), the vitamin D activation ratio (q = 0.004), and the vitamin D catabolism ratio (q = 0.004) separated subjects into statistically significant clusters within the β-diversity distribution (Fig. 5).

save | comments | report | share on


Montaigne Fled the Plague, and Found Himself

  • Known today as the author of the “Essays,” the classic of self-reflection and self-knowing, Montaigne was better perhaps known in his own lifetime as a man of politics.
  • As both mayor and diplomat, Montaigne tried several times to broker accords between the two sides.
  • As the classical scholar Pierre Hadot has argued, Stoicism and Epicureanism offered not airy abstractions but real-world “spiritual exercises.” Though the methods of these school varied, their mission was the same: to teach students how to master physics and ethics not as an end, but as the means to master their own selves and so better deal with life’s daily challenges, no less than its sudden catastrophes.
  • For many critics, Montaigne was, if not clearly a coward, less than a hero: Imagine if Mayor Bill De Blasio, learning that New York City had been struck by the coronavirus while he was vacationing in the Berkshires, had emailed the City Council to wish them good luck.

save | comments | report | share on


Unreal Engine 4.26 now available

  • We've added a new cloud rendering system for large scale cloudscapes and atmospheric fog that offers a fully dynamic, material-driven workflow for cloud creation with scalable quality across console and desktop platforms.
  • Sky lighting now supports real-time scene capture for atmosphere, clouds, height fog, and opaque meshes (using an Unlit Material with Is Sky enabled), which improves on, and is faster than, the Blueprint node.
  • We have a new, fully-featured water rendering and meshing system that supports large, open worlds enabling you to quickly create rivers, lakes, and oceans using spline-based workflows.
  • The water system represents two functional components of world building, building and editing the rivers, lakes and oceans to seamlessly blend with your world, and a rendering and shading pipeline that uses materials and post processing to define the look and feel.

save | comments | report | share on


Colombia Is Considering Legalizing Its Cocaine Industry

  • MEDELLÍN, Colombia - VICE World News sat down with Senator Iván Marulanda to talk about his cocaine legalization bill, which is currently moving through Colombia’s congress.
  • - backed anti-drug policy that criminalizes the coca leaf, Marulanda and a group of members of congress want to change tack.
  • Anti-drug policy doesn’t have the same effect for a country like the United States or a European country as it does for Colombia.
  • But I don’t rule out the possibility that other countries want to implement a public health policy that would supply cocaine from the state to their consumers.
  • In our upcoming presidential elections in 2022, I hope that candidates get asked by the public: ‘What do you think about the legalization of cocaine?” Because that’s never happened before in Colombia.

save | comments | report | share on


Google fired employees for union activity, says US agency

  • A complaint filed by the US National Labor Relations Board (NLRB) alleged that Google unlawfully monitored and questioned its employees about their union activity.
  • It fired a number of staff for violating data security - but the NLRB said the rules were applied only to those engaging in union activity.
  • It comes as another prominent Google employee, a leading figure in AI ethics, said she was fired for an email she sent to employees.
  • But the NLRB said the rules in question were only applied to those employees who were engaged in worker organisation.
  • The complaint, on behalf of two of the workers, said the employees accessed basic tools like employee calendars and meeting rooms for the purposes of organising union-related activities.
  • Google "interrogated" its employees about accessing such information, which the NLRB said were protected activities under labour organising rules.

save | comments | report | share on


Computer input latency from 1977-2017

  • Low-latency gaming desktops and the ipad pro can get into the same range as quick machines from thirty to forty years ago, but most off-the-shelf devices aren’t even close.
  • Modern OSes let programmers write generic code that can deal with having other programs simultaneously running on the same machine, and do so with pretty reasonable general performance, but we pay a huge complexity cost for this and the handoffs involved in making this easy result in a significant latency penalty.
  • It’s a bit absurd that a modern gaming machine running at 4,000x the speed of an apple 2, with a CPU that has 500,000x as many transistors (with a GPU that has 2,000,000x as many transistors) can maybe manage the same latency as an apple 2 in very carefully coded applications if we have a monitor with nearly 3x the refresh rate.

save | comments | report | share on


Jupiter and Saturn will look like a double planet later this month

  • On the night of December 21, the winter solstice, Jupiter and Saturn will appear so closely aligned in our sky that they will look like a double planet.
  • Look for the Jupiter-Saturn conjunction low in the western sky for about an hour after sunset each evening during this time.
  • Waiting an hour after the sun sets will only put the planets closer to the horizon, making them more difficult to spot.
  • The best conditions to see this astronomical event will include a clear southwestern horizon and no low clouds in the distance, Hartigan said.
  • Between 0 and 3000 CE, or Common Era, only seven conjunction were or will be closer than this one -- and two of those were too close to the sun to be seen without a telescope, according to Hartigan.

save | comments | report | share on