wakatime / wakatime-blog Goto Github PK
View Code? Open in Web Editor NEWMarkdown post content for the WakaTime blog
Home Page: https://wakatime.com/blog
Markdown post content for the WakaTime blog
Home Page: https://wakatime.com/blog
--- 32-flask-part-1-sqlalchemy-models-as-json.md 2021-07-24 12:05:20.659390219 -0300
+++ 32-flask-part-1-sqlalchemy-models-as-json_correct.md 2021-07-24 12:05:58.179811300 -0300
@@ -135,8 +135,8 @@
if hasattr(val, "to_dict"):
ret_data[key] = val.to_dict(
show=list(show),
- _hide=list(_hide), _path=("%s.%s" % (_path, key.lower()))
- _path=('%s.%s' % (path, key.lower())),
+ _hide=list(_hide),
+ _path=('%s.%s' % (_path, key.lower())),
)
else:
try:
Hey mate.
First, thanks a lot for the effort to put this together and publish it. It's amazing how hard it is to find good content on a topic that 'should' be simple for begginers such as myself.
That being said, I was wondering with the "relationship" feature would work when instead of declaring relationships with db.relationship
the models are declared with datacol = db.Column(INTEGER(11), db.ForeingKey('parent.id'))
.
Thanks a lot.
I want to know what is u in the function cache.
it's beautiful,i want to share. example https://wakatime.com/share/embed. how can i do
Hey guys,
According to the stats "Top operating systems used" (from here):
Windows 16,007,283 (+36%)
Mac 15,716,243 (-43%)
Linux 7,672,866 (+18%)
The total is 39,396,392 hours
It means the previous numbers were:
Windows 11,770,061
Mac 27,572,356
Linux 6,502,428
The total is 45,844,845 hours, am I right?
So, I noticed a couple of weird things here:
-- you're loosing users (14% drop in the total usage time y/y), right?
-- something wrong with the Mac stat. I'd expect increasing numbers in the Mac usage (especially after the M1 processor was introduced), but you're saying that the Mac usage dropped almost twice as much. How is it possible? Maybe a bug in the stat collector (it can't determine an OS version in case a user has an M1 Mac)?
Thanks
A user who is granting a tool to 1. read all their emails, and 2. send emails on their behalf,
acts in stark contrast to their intention of protecting their data.
I think it is safe to assume that a big part of such tools is a scam.
Isn't opening and answering such data request emails even a potential thread?
The first sentence "In 2020, more than 250k developers spent a combined 36 million hours programming"
would calculated as roughly 150hr per developer/year
This does not match the second sentence "The average person spent 51 minutes per day programming."
Which is more related to https://wakatime.com/a-look-back-at-2020 , stated as 313hr per developer / year
Also, the first graph shows Dart as +0.9% compared with last year, but there's not stat on Dart in last year's blog https://wakatime.com/blog/40-wakatime-2019-programming-stats
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.