pharo
MonkeyType
pharo | MonkeyType | |
---|---|---|
21 | 9 | |
10 | 4,540 | |
- | 0.6% | |
0.0 | 5.4 | |
12 days ago | 16 days ago | |
Smalltalk | Python | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pharo
-
I am concerned I am too lazy to be a professional programmer
Smalltalk (https://pharo.org/)
-
Snakeware – Linux distro with Python userspace inspired by Commodore 64
Smalltalk also did this. These days my impression is the most active tendril is https://pharo.org/.
What I find especially interesting about that relative to this Python distro is that the Pharo executable runs in a host OS (e.g. whatever your daily driver is) and can maintain different image files for different Pharo system states. So not only do you have the integrated language/OS (which is very cool on its own), but you also have something that feels like Docker containers.
And it even goes beyond containers because those image files really are the state of the system at the time they're saved, which means you can ask for that file in a bug report and get guaranteed bug reproduction, which is pretty incredible.
-
Dr. Geo 22.09-alpha release
It is the initial alpha release end-user can test. It is a complete port from Pharo to Cuis-Smalltalk. Likely bugs will be find.
-
Ask HN: What are peoples opinions on Smalltalk and its derivatives?
I've recently started learning Pharo^1 and I think there is a lot to like about it. It hurts to say as a Lisp and Emacs fan, but using the Pharo IDE feels like using Emacs/extending Emacs with Emacs Lisp, but somehow with a more tightly integrated language and environment. Being able to easily inspect the code related to the UI widgets, modify it and make changes on the fly are unlike anything I've experienced in other languages. I think a whole OS built on top of Smalltalk would be so cool and really play into the strengths of Smalltalk. I'm also amazed that SmallTalk had a lot of these IDE like features since before the 80s^2. I know there are a lot of issues with image based languages, and I admit I haven't been using one long enough to have experienced all the Gotcha, so what does HN think of Smalltalks and it's derivatives, and what are you all doing with them?
1. https://pharo.org/
2. https://youtu.be/uknEhXyZgsg?t=2366
-
50 years Smalltalk anniversary celebration at Computer History Museum
Cool! I program for around 7 months in Pharo now at Yesplan [0]. We're hiring a devops engineer and a software engineer. While the Pharo website [1] avoids mentioning it, it's a Smalltalk descendant.
What I like about Pharo:
1. Programming in the debugger makes things feel much quicker
2. Evaluating expressions inside your code editor makes programming feel much quicker
3. The ability to quickly browse classes and methods makes programming feel much quicker (e.g. I type Date somewhere, select it, press CMD+B and now I browse the Date class).
Don't get me wrong, Pharo has downsides, especially when it comes to using it in production (IMO). With that said, the language feels fun to use! I definitely like it now as my first language for side projects as it is more graphical, more playful, and feels quicker for iterative development (e.g. when consuming APIs). It's why I wanted to learn it in the first place, it has shown me a different philosophy on how programmers interact with a programming language and IDE.
[0] https://yesplan.be/en/vacancies
[1] https://pharo.org
- Programming Breakthroughs We Need
-
What are examples of humanity discovering something amazing and then just moving on and ignoring it?
Of course, Alan Kay's Smalltalk 80 is for many the quintessential lost paradise of personal computing. Some modern descendants are Squeak, Pharo and Cuis. Then there's Lisp machines, or for something more Unix-like, there's Plan 9.. so many cool systems deprived of mass adoption for no good reason.
-
Launching Version 13.1 of Wolfram Language and Mathematica
> You know, that "assembling things live in the sky" Lisp feeling (Yegge's phrase, not mine). The only other computation environment that is right there en par in flexibility and conveyance of the same trippy feeling is, of course, Emacs.
Do you know Pharo? The experience you describe is also typical in the Smalltalk family. See https://pharo.org/
-
Code vs. No-Code
Smalltalk could be used as the "ideal" tool (balance between Code & No-Code). It starts out with a simple graphical interface for doing everything, but it also encourages you to customize everything by modifying the underlying code. Of course, the disadvantage is that it's quite niche - very few people actually use it nowadays.
-
4coder editor is now fully open source
In Smalltalk there is no such thing as source files. Your program is an image which can be freely modified and dumped. Look at Pharo[1] which is a modern Smalltalk environment. You start it up and create classes in the IDE, but never do you create "source files".
[1] https://pharo.org/
MonkeyType
-
Enhance Your Project Quality with These Top Python Libraries
MonkeyType collects runtime types of function arguments and return values, and can automatically generate stub files or add type annotations directly to your Python code based on the types collected at runtime.
-
A Tale of Two Kitchens - Hypermodernizing Your Python Code Base
To alleviate the burden of manual annotation, MonkeyType offers a clever solution. It dynamically observes the types entering and leaving functions during code execution. Based on this observation, it generates a preliminary draft of type annotations. This significantly reduces the effort needed to add type hints to legacy code.
- Do you know any library that automatically detects unused files / functions inside a project folder?
-
Programming Breakthroughs We Need
https://github.com/instagram/MonkeyType can perform the call logging, and can export a static typing file which is used by mypy, but also e.g. PyCharm. It doesn't expose such fine grained types, but you could build that based on the logged data.
-
Gradually introduce type checking to an existing typed codebase.
Which introduces MonkeyType, a python library that generatics static type annotations by collecting runtime types.
- Call me naive, but would it not be possible to create a tool for python the auto adds type hints at run time?
- Is there any language that is as similar as possible to Python in syntax, readability, and features, but is statically typed?
-
Typehole – Create TypeScript interfaces from JS runtime values automatically
Not sure if you're joking but there is something similar for python developed by a rather well known company https://github.com/Instagram/MonkeyType
- Cinder: Instagram's performance oriented fork of CPython
What are some alternatives?
Cuis-Smalltalk-Dev - Active development of Cuis Smalltalk
PythonBuddy - 1st Online Python Editor With Live Syntax Checking and Execution
SqueakJS - A Squeak Smalltalk VM in Javascript
unimport - :rocket: The ultimate linter and formatter for removing unused import statements in your code.
iceberg - Iceberg is the main toolset for handling VCS in Pharo.
Cinder - Cinder is a community-developed, free and open source library for professional-quality creative coding in C++.
squeak.org - Squeak/Smalltalk Website
typehole - TypeScript development tool for Visual Studio Code that helps you automate creating the initial static typing for runtime values
teliva - Fork of Lua 5.1 to encourage end-user programming
cinder - Cinder is Meta's internal performance-oriented production version of CPython.
Rebol3 - Source code for the Rebol [R3] interpreter
plum - Multiple dispatch in Python