You can use other frameworks the way you use vue but it's not advertised much.
E.G: I teach reactjs by first starting with a simple script tag like you can do with vue. No webpack. No JSX. Suddenly students get it. No magic. It just makes sense.
But this approach is not common nor first class citizen.
What I like with vue is that the authors understand the value of scaling up, as well as scaling __down__. You can feel it in the doc, the API, the community...
So yes, all in all, vuejs will be lighter to use, not because the others can't be, but because it doesn't judge you for wanting to.
i am not a frontend person but i had tried multiple times to learn react and angular. every time, i became frustrated in the tooling phase and gave up. like... geez, i'm having this much trouble already and i haven't even learned the first thing about syntax or reactivity.
then i learned vue, and was able to build something in an afternoon. and, at the end of the afternoon, i had the tooling too. but the vue learning path doesn't teach tooling until after you get a feel for why and how vue can solve your problems.
how it is taught is 100% of the reason vue found a place in my life. HUGE missed opportunity by the other frameworks, which are so eager to prove that they have the bells and whistles that they trip over their own feet trying to get people started.
had i learned from you rather than from docs, i would be using react in my personal projects and never would have looked at vue.
While I confirm that writing is a powerful medium for thinking, anybody writer with a shower to take or a hike to walk will tell you that thinking takes place in many ways.
Parts like "If you want to learn and remember something long-term, you have to write it down" depends so much of context. Again, writing down does help me to commit things in memory, but for some information, audio is better. For others, repeating in my head is better.
Good advice all in all, but the definitive tone of the article is not needed IMO.
There is this tendency to reduce everything to simple rules that are simply wrong. Nuance takes more effort to put into words and to understand. And so we end up with these 'soundbite' bits of wisdom that are worse than nothing at all.
Writing something down requires clarity, and clarity can be gained in many ways. Writing something down that isn't clear yet will result in (hopefully) spotting that lack of clarity before you press 'send' or 'publish'. But that doesn't mean that all for stuff that ends up written is happening while writing it down and without a very good idea of what you are trying to communicate beforehand you'll end up with bad writing.
This is an interesting point because it could help explain why scientists enjoy programming, even when we sometimes do it to our own detriment. Nothing clarifies a quantitative thought process better than having to write it down in the form of code. And the code either runs or it doesn't, so you know that at least it has some level of self consistency before you walk away from it.
> While I confirm that writing is a powerful medium for thinking, anybody writer with a shower to take or a hike to walk will tell you that thinking takes place in many ways.
This is an article about note taking, not taking showers or going on hikes, or thinking in general, so I think trying to interpret its points outside that context is unreasonable. I think you’re imposing an unreasonably literal an exclusive interpretation of the point. The author doesn’t say it’s the _only_ medium.
On definitive tone, would the article really be clearer if it constantly went off on digressions about non-note taking contexts to every single point? I see criticisms of articles like this here all the time and it’s really tiresome. If every article linked here was full of caveats and digressions on every last point, they would be unreadable. I’ll take a succinct, opinionated expression of someone’s experience and point of view over a rambling exploration of every last facet of a topic any time.
"Completing these tasks is exceedingly difficult inside the confines of our heads. We need an external medium in which to perform this elaboration, and writing is the most effective and convenient one ever invented."
Which is not even close to saying that writing is the only medium, and in fact confirms that there are other mediums to think, including just keeping stuff in your head.
We reason symbolically and in an alphabetic culture such as our its entirely forgivable to name paper and the scribbles you put on it in order to think 'writing'.
Keeping stuff in your head while thinking with the stuff in your head changes it. The same with memories. If you have not noticed this, please challenge the statement: Keeping stuff in your head does not work; you need to externalize in order to use your differential engine, aka brain in order to 'think.'
Having said all this, I think because I am. not the other way 'round! everything else that you may think is thinking, maybe emotional/felt or aesthetic judging, would come from deeper down the stack.
Anyway, tell me about these other media.. and show me how you're not driving complex symbolic insights with them!
I come in peace, but look, say I'm exploring things in martial arts. Then I'm only listening to the kinesthetic domain, sinking into it if you will by dismissing ratio in order to learn through another mode.
I can learn like that, without any thinking at all!
We can only learn anchored in feedback, and if you can give yourself the feedback while writing, talking out loud alone, or better yet, with a listener, then you get feedback that keeps you thinking.
Verbalization and conversation maybe media, but writing, coding, sketching definitely are places where I notice my thinking.. What other 'media' did you have in mind?
I feel a tension that I'll lose an idea unless I write it down. After it is written down, I'm able to work with it in a relxaed manner.
I think recording it with audio might be ok too, because you won't lose the idea. But the next step after that is to work with it, and audio doesn't easily give you immediate playback.
With writing there's sort of a feedback loop where you look at what you wrote and turn it over and figure out what's wrong with it and rewrite it or expound on it.
That said, it's your call on "lists of 10 things" because there are some trite internet ones, and some 10-commandment ones.
While I'm excited by such news, let's not jump from "things we don't understand" to "god/magic/aliens".
For now, it's "cool event we don't know how to explain". Good enough. Life is full of that and if we try to force label on it, we miss the fun of figuring out what's going on seriously.
I certainly can’t explain exactly what it is. However, a few facts stand out:
1. Detected object moves erratically at high speeds, with exceptionally high acceleration. Controlled translational and angular acceleration of the object occur in the footage.
2. Navy pilots in both encounters reported that the object was not visible at close range but only showed up on radar, in particular only on radar that was recently updated from a version released in the 1980s.
3. Testimonies were confirmed by multiple independent pilots, cleared by the U.S. Navy, and pilots were deemed to be mentally fit as they were later deployed to active duty in the Middle East.
Those are just facts from the case. Feel free to draw your own hypotheses or conclusions. I certainly had fun doing so. :)
There's no hard evidence that it was an actual physical (massive) object. There is evidence (mostly testimonial) that it was visible to radar, infrared and visible light sensors and the human eye.
Is there anything that has those characteristics and is not an object ? Yes, plasma phenomena are one example.
If a OS is actively sabotaging you, then yes, the only real solution is to replace it with something else. That's the simple and obvious solution.
The simplest way to do this is to not buy a phone with shitty OS in the first place. As in "Don't buy a phone from Xiaomi".
And when users complain about it you tell them that the problem is their phone manufacturer. If you can, of course, give them a work around so the app will work. But eventually they'll plug all the holes that allow for a functional phone. So it may not always be a option.
> tell them that the problem is their phone manufacturer
Despite this being true many will see is as an excuse, or worse just a plain lie, and leave you a 1* (or 0* if possible) review ranting about your attitude and bad coding. How dare you criticize their choice of device?!
I dislike a lot of black decisions and still use it for everything.
My aesthetic taste is less important than getting things done.
If you are not using it, stop arguing and nit picking about your preferences, we, as a community, have more important things to do. It will hurt only a little, I promise.
My team has a handful of junior data scientists that really don't have a lot of experience of coding "well". Black was super helpful in 1, getting people used to decent coding format and 2, removing any effort or discussion around formatting in PRs. I added the formatting to pre-commit and the rest is effortless.
I live in the Python bubble, so I haven't realized until this post that so few people knew about that.
This post is massively popular despite talking about a feature we had since Python 3.6, in 2016, that was posted on HN at the time and that is featured in most popular tutorials.
A good reminder that most of the world doesn't revolve about my favorite language. And that information is not that fast to spread.
> about a feature we had since Python 3.6, in 2016
No, you had that feature in one implementation. Now it's in the language specification. That's vastly different because only now you can rely on it without fearing it can go away with the next release.
First, cPython is 99% of Python deployments. So much that if a script works on it but not on another implementation, people often consider the later broken.
As this post proves that most people don't even know about this feature, you can be pretty sure the vast majority of people don't know about pypy, micropython, etc.
Secondly, even if you want to nit pick, Python 3.7 made it official more than one year ago. We are currently in the 3.9 alpha.
In fact, 3.7 didn't touch the implementation, just merely declared "yep, good idea, let's keep it that way".
There's also the indication that this is official, and not just an implementation quirk. I still used OrderedDict in 3.6 because there was no guarantee 3.7 (or later) wouldn't silently break ordering on the standard dict. At least now it's unlikely to change because it will be considered a breaking change.
BDFL declared Python dict to be ordered in 2017 — It can't be more official than that for Python https://mail.python.org/pipermail/python-dev/2017-December/1...
i.e., Python 3.7 (whatever implementation must keep the insertion order). CPython keeps the order since Python 3.6. Pypy even before that.
I knew about it, because everyone was talking about it.
The origination of the actual information is irrelevant. It was basically interesting gossip for a few weeks.
There's a great talk by David Beazley[0], which I don't remember its title right now, where he bashes all previous python versions except the latest at the time[1], which was 3.6. And he says "since I'm not a core developer, I can tell you this: rely on dicts being ordered so much that eventually they'll make it official". Guess he "won" in the end ;)
[0] Well, he usually gives great talks anyway
[1] Alright, he literally started many talks doing that
Raymond Hettinger does or did a few talks on dictionaries too. He covers the history of dictionaries in python and how they evolved. It was mentioned in the article's comment section.
I have lived in Python ~80% of my career (~50% now) currently), although a large chunk of my career was writing 2.7 compatible with 2.6 (thanks RHEL). For the last year and a half I have written 3.6+ exclusively and I didn't realize that regular dicts were now ordered.
I don't use dicts if I require ordering, but if I did I would probably still reach for collections.OrderedDict...
I wonder what the implications are of dict ordering with the "new" (new for me...) function args and *kwargs...from the hip it sounds pretty handy.
The implications are that now you get to see the order in which keyword args were specified by the caller. And in classes, you get to see the order in which attributes were defined. Both can come in very handy.
If there are no security problems affecting your project, and you don't benefit from new features, there is no urge to update. And even then, it's a cost/benefit ratio.
Updating is a constraint, one you follow either because it solves a problem or avoid a pitfall, not a goal.
I migrated most of my stuff to Python 3 years ago, but for some of my clients, despite that 2.7 is not supported anymore, I advice to just download a copy of everything they need offline as a safety measure and keep the system running as-is forever.
Raw HTML + jQuery + Django 1.x + VPS still deliver fine. Just because I can do react + microservices does not mean it should be a default response.
There are servers running barely touched from one or two decades ago and they do their job perfectly.
So yes, some client side libs are going to be there for years and years. If the UI works, it's alright.
Software is not an end, it's a tool. Being passionate about it, it's easy to forget that, but we use software to help the real world, not the other way around.
Not saying of course you should never update nor use modern technology when appropriate: technical debt must be paid. But it's important to recognize when you need to do it, and when you just want a shiny toy or to look good.
E.G: I teach reactjs by first starting with a simple script tag like you can do with vue. No webpack. No JSX. Suddenly students get it. No magic. It just makes sense.
But this approach is not common nor first class citizen.
What I like with vue is that the authors understand the value of scaling up, as well as scaling __down__. You can feel it in the doc, the API, the community...
So yes, all in all, vuejs will be lighter to use, not because the others can't be, but because it doesn't judge you for wanting to.