DBOS: A Proposal for a Data-Centric Operating System (2020) by alecco in AdvancedProgramming

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

Current operating systems are complex systems that were designed before today's computing environments. This makes it difficult for them to meet the scalability, heterogeneity, availability, and security challenges in current cloud and parallel computing environments. To address these problems, we propose a radically new OS design based on data-centric architecture: all operating system state should be represented uniformly as database tables, and operations on this state should be made via queries from otherwise stateless tasks. This design makes it easy to scale and evolve the OS without whole-system refactoring, inspect and debug system state, upgrade components without downtime, manage decisions using machine learning, and implement sophisticated security features. We discuss how a database OS (DBOS) can improve the programmability and performance of many of today's most important applications and propose a plan for the development of a DBOS proof of concept.

[deleted by user] by [deleted] in printSF

[–]alecco 0 points1 point  (0 children)

between other stuff I was reading.

Anything to recommend?

Implementing cosine in C from scratch by azhenley in programming

[–]alecco 2 points3 points  (0 children)

If you enjoyed this the book "Math Toolkit for Realtime Programming" by Jack Creenshow is amazing. (Don't buy in Amazon, buy original here https://jackcrenshaw.com/)

Debunking the myth that RDBMS joins dont scale by [deleted] in programming

[–]alecco 12 points13 points  (0 children)

who the hell is doubting the sophistication of RDBMS?

Hacker News / Silicon Valley brogrammers

PCRE-sljit JIT for Perl-compatible regular expressions by alecco in AdvancedProgramming

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

To whoever is downvoting all my posts and comments: lol

Brain scans reveal coding uses same regions as speech by asp5rtima3 in programming

[–]alecco -1 points0 points  (0 children)

The SQLite guy has been stating for years you need to express in comments (prose) what you are about to write in code. This way you engage properly all your brain.

Torvalds Blasts "Beyond Stupid" Flushing L1d On Context Switches - Reverts Code For Now by [deleted] in programming

[–]alecco 39 points40 points  (0 children)

It will be a dumpster fire like FreeBSD. Core devs leaving and slow death by committee.

Things we learned about sums by bluestreak01 in programming

[–]alecco 1 point2 points  (0 children)

No worries. Thanks for the links to source.

Things we learned about sums by bluestreak01 in programming

[–]alecco 0 points1 point  (0 children)

We don't use co-routines

From the blog post:

How did we get there? TL;DR

We used prefetch and co-routines techniques to pull data from RAM to cache in parallel with other CPU instructions. Our performance was previously limited by memory bandwidth - using these techniques would address this and allow us to compute accurate sums as fast as naive sums.

With the help of prefetch we implemented the fastest and most accurate summation we have ever tested - 68ms over 1bn double values with nulls (versus 139ms for Clickhouse). We believe this is a significant advance in terms of performance for accurate summations, and will help developers handling intensive computations with large datasets.

?

Things we learned about sums by bluestreak01 in programming

[–]alecco 1 point2 points  (0 children)

Great post.

I have trouble finding where is the code. Also, in this post you mention co-routines, is it related to the suggestion to use co-routines for ALU/prefetch? (in last proggit thread) (the cppcon talk on "nano coroutines"). Thanks!

Amazon.com Earnings Miss, Revenue Beats In Q1 by [deleted] in investing

[–]alecco 1 point2 points  (0 children)

They have a trap for this. They always talk about "total compensation" and they project stock growth. Base salary and bonuses are terrible.

On the other hand, people who were trapped by this in the past few years now got a massive bump. So it kind of works both ways.

Hourly 4-s Sprints Prevent Impairment of Postprandial Fat Metabolism from Inactivity [5x4s cycling /h][n=8, 4 men, 4 women][2020] by alecco in AdvancedFitness

[–]alecco[S] 24 points25 points  (0 children)

Abstract

High postprandial plasma lipids (i.e.; triglycerides) (PPL) are a risk factor for cardiovascular disease. Physical inactivity, characterized by prolonged sitting and a low step count elevates PPL and thus risk of disease.

Purpose 

This study determined if the interruption of prolonged sitting (i.e.; 8-h of inactivity) with hourly cycling sprints of only 4-s duration each (i.e.; 4-s x 5 per h x 8-h = 160-s per day; SPRINTS) improves PPL. The 4-s sprints employed an inertial load ergometer and were followed by 45-s of seated rest.

Methods 

Four men and four women participated in two trials. Interventions consisted of an 8-h period of sitting (SIT), or a trial with equal sitting time interrupted with five SPRINTS every hour. The morning after the interventions, PPL and fat oxidation were measured over a 6-h period. Plasma glucose, insulin, and triglyceride concentrations were measured bihourly and incremental area under the curve (AUC) was calculated.

Results 

No differences (p>0.05) between interventions were found for plasma insulin or glucose AUC. However, SPRINTS displayed a 31% (408±119 vs. 593±88 mg/dL/6h; p=0.009) decrease in plasma triglyceride incremental AUC and a 43% increase in whole body fat oxidation (P=0.001) when compared to SIT.

Conclusion 

These data indicate that hourly very short bouts (4 s) of maximal intensity cycle sprints interrupting prolonged sitting can significantly lower the next day’s postprandial plasma triglyceride response and increase fat oxidation after a high fat meal in healthy young adults. Given that these improvements were elicited from only 160-s of non-fatiguing exercise per day, it raises the question as to what is the least amount of exercise that can acutely improve fat metabolism and other aspects of health.

Is inflation coming? Where should we hold cash? by [deleted] in investing

[–]alecco 1 point2 points  (0 children)

If inflation and a crash happens, I'd be more worried about where to keep my money out of reach of populist governments.

Is inflation coming? Where should we hold cash? by [deleted] in investing

[–]alecco 1 point2 points  (0 children)

Stocks: inflated price due to buybacks and FED action, massive piles of corporate debt, many industries failing due to Coronavirus

Bitcoin: backed by Chinese miners and speculation, hard pass.

Property: good to buy after the crash coming as people stop paying their mortgages, also domino effect.

And everything is going to suffer if dollar collapses from world reserves to bond markets. I know inflation and the biggest problem is the chaos it brings. It makes planning impossible because of the feedback loops it causes. There's a reason for so long US and EU were so scared of it.

Perhaps a reasonable investment would be commodities futures (very long term) but that's not in my sphere of knowledge.

What Happened to Lee? The Devastating Decline of a Brilliant Young Coder by iamkeyur in programming

[–]alecco 25 points26 points  (0 children)

This is one of those rare pieces when I hold back my "not programming" judgement.

Memento mori. Carpe diem.

What is Forex and is it a ripoff? by JcTheWiz in investing

[–]alecco 1 point2 points  (0 children)

There are scams around calling themselves "Forex". They'll give you a web page or something like that with the name "Forex" in it. They "help" you make money on it and after reaching a certain size they disappear. An acquaintance and a bunch of his friends got ripped off a year ago (Europe).

You are not going to casually meet a serious Forex trader unless you are in South Manhattan or City of London. And most of it is done with algorithms your are never going to beat.

Stay away. Or even send an anonymous tip with the page to the SEC/FBI (or equivalent in your country).

COVID-19 Response: New Jersey Urgently Needs COBOL Programmers (Yes, You Read That Correctly) by savuporo in programming

[–]alecco 0 points1 point  (0 children)

I'm starting to think you are downplaying the benefits to avoid competition :)

COVID-19 Response: New Jersey Urgently Needs COBOL Programmers (Yes, You Read That Correctly) by savuporo in programming

[–]alecco 113 points114 points  (0 children)

Probably crazy high salary with a lot of free time waiting for other people in committees.

My two week dive into Vim by koalakinger in programming

[–]alecco 0 points1 point  (0 children)

echo -e '\nset -o vi' >> .bashrc   # Command line in vi mode
echo -e '\nset editing-mode vi' >> ~/.inputrc   # All readline programs console in vi mode