realgud/realgud 731
The Grand "Cathedral" Debugger rewrite
A Renderer for the marked project. Allowing you to render Markdown to print to your Terminal
ConnorAtherton/rb-readline 242
Pure-Ruby Readline Implementation
Let's document Emacs Lisp Bytecode (Lisp Assembly Program) instructions
0xfaded/eval 36
lldb module for realgud. LLDB is the LLVM project debugger using clang libraries
Arrange an array aligned in columns vertically or horizontally.
Relative loads for Emacs Lisp files. Adds functions __FILE__ and load-relative and require-relative.
Unit tests for GNU emacs that work interactively and in batch
Emacs Lisp Decompiler
issue commentMathics3/mathics-django
MathJax "math_object_xx" magic has stopped working
@rocky I'll give it a look after I finish solving the zoom problem.
comment created time in 12 minutes
push eventMathics3/mathics-django
commit sha 5e132f1113f2600b21c50c95a48f4854a3e4e541
Update createLink function
commit sha f7e2a870f1e56d484b27544c35949e65e2806b30
Merge pull request #83 from Mathics3/fix-share-button Fix share button
push time in 21 minutes
PR merged Mathics3/mathics-django
With the improve-polygon-drawing branch the share button stopped working, so this branch fix it by removing old code from createLink function.
(this branch doesn't need improve-polygon-drawing branch to work)
pr closed time in 21 minutes
PR opened Mathics3/mathics-django
With the improve-polygon-drawing branch the share button stopped working, so this branch fix it by removing old code from createLink function.
(this branch doesn't need improve-polygon-drawing branch to work)
pr created time in an hour
pull request commentMathics3/mathics-django
Lastly, I'll mention that there is a big cleanup effort I'd like to see before going off and doing too much additional stuff.
Ok, I'll focus in the bugs.
comment created time in 2 hours
pull request commentMathics3/mathics-django
@rocky do you want I implement the algorithm which checks if the shape has a hole?
I was wondering if it makes sense, as we won't implement polygons with holes, and polygons without holes are being drawn correctly.
comment created time in 3 hours
pull request commentMathics3/mathics-django
@rocky I'm searching by the algorithm that calculate where the holes are, but I didn't find it, do you know where is it?
I've searched in Polygon, PolygonBox, _Polyline, GraphicsBox (a big class but it doesn't look to be here) and BoxConstruct
comment created time in 3 hours
startedrocky/remake
started time in 4 hours
startedrocky/x-python
started time in 9 hours
pull request commentMathics3/mathics-django
@rocky yes, this is a better routine, I'll implement it. I'll look at the Mathics Core code that do it for 2d then translate to JavaScript.
comment created time in 15 hours
pull request commentMathics3/mathics-django
I wasn't thinking of the holes, but of the overall star shape. I took the 2D 5-sided star and added a z component with 0.
@rocky for me it has a hole in 2d.

comment created time in 15 hours
pull request commentMathics3/mathics-django
You keep pasting traceback (as one line line) which is output. And then want me to figure out what input you gave.
@rocky sorry. This output is the same for the following inputs:
Graphics3D[Cylinder[]]
Graphics3D[Cylinder[{0,0,0},{1,1,1}}]]
comment created time in 15 hours
pull request commentMathics3/mathics-django
@TiagoCavalcanteTrindade Thanks for undertaking this. I just tried
Graphics3D[Polygon[{{150,0, 0},{121,90, 0},{198,35, 0},{102,35, 0},{179,90, 0}}]]to see if there is a change here. Not yet.
In other news, it looks like I botched PieChart: when pulling out the formatting routines, I missed the formatting routine for ArcBox. (I still have a bit more work to do there as well)
No, to do it we need to calculate the holes.
comment created time in 16 hours
pull request commentMathics3/mathics-django
@rocky I'm wanting to implement the following:
The arrow can be done with the help of three.js' ArrowHelper.
All the others have a respective geometry in three.js.
Cylinder need to be rotated, and it [probably] can be done by a translate of the subtraction of the center and tip.
The current branch of Mathics Core is giving me the following error when I try to draw a cylinder:
System::exception:
Exception raised: Traceback (most recent call last): File "/home/tiago/mathics-django/mathics_django/web/views.py", line 245, in query result = evaluation.evaluate(expr, timeout=settings.TIMEOUT) File "/usr/lib/python3.9/site-packages/Mathics3-2.2.1.dev0-py3.9.egg/mathics/core/evaluation.py", line 355, in evaluate result = run_with_timeout_and_stack(evaluate, timeout, self) File "/usr/lib/python3.9/site-packages/Mathics3-2.2.1.dev0-py3.9.egg/mathics/core/evaluation.py", line 112, in run_with_timeout_and_stack return request() File "/usr/lib/python3.9/site-packages/Mathics3-2.2.1.dev0-py3.9.egg/mathics/core/evaluation.py", line 348, in evaluate return self.format_output(self.last_eval, format) File "/home/tiago/mathics-django/mathics_django/web/models.py", line 33, in <lambda> evaluation.format_output = lambda expr, format: format_output(evaluation, expr, format) File "/home/tiago/mathics-django/mathics_django/web/format.py", line 100, in format_output return eval_boxes(result, result.boxes_to_js, obj) File "/home/tiago/mathics-django/mathics_django/web/format.py", line 28, in eval_boxes boxes = fn(evaluation=obj, **options) File "/usr/lib/python3.9/site-packages/Mathics3-2.2.1.dev0-py3.9.egg/mathics/builtin/drawing/graphics3d.py", line 464, in boxes_to_js json_repr = self.boxes_to_json(leaves, **options) File "/usr/lib/python3.9/site-packages/Mathics3-2.2.1.dev0-py3.9.egg/mathics/builtin/drawing/graphics3d.py", line 485, in boxes_to_json ) = self._prepare_elements(leaves, options) File "/usr/lib/python3.9/site-packages/Mathics3-2.2.1.dev0-py3.9.egg/mathics/builtin/drawing/graphics3d.py", line 351, in _prepare_elements elements = Graphics3DElements(leaves[0], evaluation) File "/usr/lib/python3.9/site-packages/Mathics3-2.2.1.dev0-py3.9.egg/mathics/builtin/drawing/graphics3d.py", line 851, in __init__ super(Graphics3DElements, self).__init__(content, evaluation) File "/usr/lib/python3.9/site-packages/Mathics3-2.2.1.dev0-py3.9.egg/mathics/builtin/graphics.py", line 2425, in __init__ self.elements = list(convert(content, self.get_style_class()(self))) File "/usr/lib/python3.9/site-packages/Mathics3-2.2.1.dev0-py3.9.egg/mathics/builtin/graphics.py", line 2423, in convert raise BoxConstructError mathics.builtin.base.BoxConstructError</lambda>
About the zoom, I'm thinking in it. The problem is the following: when the formula is too long we need a scrollbar (just 1) because of the problem of MathJax doesn't respect the margin, but when we zoom, we want a scrollbar just at the zoomed formula (we want it overflow to be visible). An approach to solve this [maybe] is calculate the breaking formula width and re-calculating it on every resize. I'll try this approach.
comment created time in 16 hours
push eventMathics3/mathics-django
commit sha b28c2a71ae204f0a95147d712dd44795f55cab66
Improve 3d polygon drawing
push time in 17 hours
PR opened Mathics3/mathics-django
This branch implements non triangular 3d polygon drawing.
This branch increase the support for coplanar polygons (aka shapes).
This branch still doesn't implements coplanar polygons with holes.
pr created time in 17 hours
create barnchMathics3/mathics-django
branch : improve-polygon-drawing
created branch time in 17 hours
issue openedrocky/elisp-bytecode
The byte-code manual lists goto as having a stack effect of -1+0. However looking at the source this doesn't seem to correct. It does not pop at all. Unless I am missing something?
CASE (Bgoto):
op = FETCH2;
op_branch:
op -= pc - bytestr_data;
op_relative_branch:
if (BYTE_CODE_SAFE
&& ! (bytestr_data - pc <= op
&& op < bytestr_data + bytestr_length - pc))
emacs_abort ();
quitcounter += op < 0;
if (!quitcounter)
{
quitcounter = 1;
maybe_gc ();
maybe_quit ();
}
pc += op;
NEXT;
created time in a day
pull request commentMathics3/mathics-django
@rocky the PieChart is working to me:

comment created time in a day
issue openedrocky/python-decompile3
Unknown type 0 Traceback (most recent call last): File "/usr/local/bin/decompyle3", line 11, in <module> load_entry_point('decompyle3==3.3.2', 'console_scripts', 'decompyle3')() File "/usr/local/lib/python3.8/dist-packages/decompyle3-3.3.2-py3.8.egg/decompyle3/bin/decompile.py", line 189, in main_bin File "/usr/local/lib/python3.8/dist-packages/decompyle3-3.3.2-py3.8.egg/decompyle3/main.py", line 296, in main File "/usr/local/lib/python3.8/dist-packages/decompyle3-3.3.2-py3.8.egg/decompyle3/main.py", line 207, in decompile_file File "/usr/local/lib/python3.8/dist-packages/decompyle3-3.3.2-py3.8.egg/decompyle3/main.py", line 80, in decompile AssertionError
I got this error any idea ?
created time in a day
pull request commentMathics3/mathics-django
@rocky last but not least, the following isn't working:
LoadModule["pymathics.hello"]
PyMathics`Hello["World"]
The output:

I'm wanting to create a machine learning module, so I was starting from pymathics-hello...
comment created time in a day
pull request commentMathics3/mathics-django
@rocky yes, was this. A rm -rf solved it.
comment created time in a day
pull request commentMathics3/mathics-django
Also, @rocky another hint: in drawGraphics3D data.axes.ticks_style is undefined.
comment created time in a day
pull request commentMathics3/mathics-django
Input:
Graphics3D[Sphere[]]
Output:
System::exception:
Exception raised: 'Graphics3DBox' object has no attribute 'boxes_to_js' Traceback (most recent call last): File "/home/tiago/mathics-django/mathics_django/web/views.py", line 245, in query result = evaluation.evaluate(expr, timeout=settings.TIMEOUT) File "/home/tiago/.local/lib/python3.9/site-packages/mathics/core/evaluation.py", line 355, in evaluate result = run_with_timeout_and_stack(evaluate, timeout, self) File "/home/tiago/.local/lib/python3.9/site-packages/mathics/core/evaluation.py", line 112, in run_with_timeout_and_stack return request() File "/home/tiago/.local/lib/python3.9/site-packages/mathics/core/evaluation.py", line 348, in evaluate return self.format_output(self.last_eval, format) File "/home/tiago/mathics-django/mathics_django/web/models.py", line 33, in <lambda> evaluation.format_output = lambda expr, format: format_output(evaluation, expr, format) File "/home/tiago/mathics-django/mathics_django/web/format.py", line 100, in format_output return eval_boxes(result, result.boxes_to_js, obj) AttributeError: 'Graphics3DBox' object has no attribute 'boxes_to_js'</lambda>
comment created time in a day
pull request commentMathics3/mathics-django
@rocky it's ready to merge.
Graphics3D isn't working, it returns Exception raised: 'Graphics3DBox' object has no attribute 'boxes_to_js' Traceback (most recent call last). Maybe it be the same error than PieChart.
comment created time in a day
push eventMathics3/mathics-django
commit sha 4602f42ba264f8bc94ac03dc97d344997c77cadb
Implement Settings`$QuotedStrings
commit sha 8e13adcb4111f0fdf849d74975625a1af6e63b4c
Update .editorconfig
push time in a day
startedrocky/python-uncompyle6
started time in a day