solvespace
Phoenix
solvespace | Phoenix | |
---|---|---|
69 | 111 | |
3,008 | 20,579 | |
0.8% | 0.3% | |
7.2 | 9.3 | |
11 days ago | 7 days ago | |
C++ | Elixir | |
GNU General Public License v3.0 only | MIT License |
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.
solvespace
-
Ask HN: What rabbit hole(s) did you dive into recently?
Can second this!
However, I would recommend https://solvespace.com! It hits a sweet spot between features vs complexity/learning effort.
- My favorite code comment/rant
-
Why large companies and fast-moving startups are banning merge commits
We use rebase on solvespace, along with sensible squashing so most commits along master are pretty self contained. You can see the clean history here:
https://github.com/solvespace/solvespace/commits/master/
-
A one line code change inside iOS made me waste 5 minutes
I changed a behavior to the "more standard" one because it felt obviously right. This was a 3 line change. But the was enough backlash right there in the pull request. So I spent a couple hours remembering how to add a configuration option to keep the old way for those guys:
https://github.com/solvespace/solvespace/pull/1425
-
RattleCAD
> If you like Linkage, you might also like Solvespace.
No, I mean Brent Curry's Linkage[1] bicycle design software, not David Rector's Linkage Mechanism Designer and Simulator[2].
You should read Wikipedia article.[0]
N.B. About SolveSpace, as I'm its experienced user[youtube,patreon], I may say next: yes, it could be used for bike mockup, as any other CAD, but it still has a lot of limitations and even does not export correct STEP files yet[3], and in FreeCAD such STEP could fixed only partially.[video]
So, for serious 3D CAD work I highly recommend use FreeCAD (and LibreCAD for 2D CAD work) instead of SolveSpace, and use SolveSpace only as a helper tool like a calc or as a notepad for noting ideas.
About Linkage Mechanism Designer and Simulator, it is only useful for planar (2D) kinematics analyze, and if You are looking an alternative for it take a look on Pyslvs[4], that is in part based on SolveSpace's solver.
[0] https://en.wikipedia.org/wiki/rattleCAD#History
[1] https://bikechecker.com/
[2] https://blog.rectorsquid.com/linkage-mechanism-designer-and-...
[3] https://github.com/solvespace/solvespace/issues/206
[4] https://github.com/KmolYuan/Pyslvs-UI
[video] https://www.youtube.com/watch?v=F3LJMeqUDrU
[youtube] https://www.youtube.com/@appsoft
[patreon] https://patreon.com/app4soft
- SolveSpace has been ported to Qt
-
Ask HN: What are some of the most elegant codebases in your favorite language?
C++ this file covers all the math for working with NURBS curves and surfaces:
https://github.com/solvespace/solvespace/blob/master/src/srf...
There is a lot more in other files - triangulation, booleans, creation - but the core math functions are there in very readable form.
- My favorite rant in a code comment (on OpenGL compatibility)
-
The Great CPU Stagnation
>> Maybe somebody has statistical survey of how much of the existing deployed CPU core count is typically used?
My guess is very few cores are used on average. I did some testing with Solvespace to see which build options contributed most to performance:
https://github.com/solvespace/solvespace/issues/972
Obviously using OpenMP for multi-core was the big win. But what's not shown is that in typical usage (not the test I ran) if you're dragging some geometry around it will use all cores (in my case 4 cores / 8 threads) at about 50 percent utilization. That percentage probably drops as more cores are thrown at it due to Amdahl's Law. In other words, throwing double the cores at it will give a good boost to a lot of code that is already taking less than half the time (wall clock time, not CPU time).
We added OpenMP to a number of functions for significant performance gains. And in fact, any remining single-thread operation that gets the parallel treatment is likely to have a significant impact on overall performance since that is where most of the time is spent now. At this point we're more focused on features and bugs.
Algorithmic improvements are possible and I'd like to do those in the future, but they are much harder to do than sprinkling some #pragmas around critical loops. That will improve the scalability though, where multithreading really did not.
- Free, mac compatible, relatively easy CAD/CAM software?
Phoenix
-
Idempotent seeds in Elixir
A standard Phoenix app contains a priv/repo/seeds.exs script file, which populates a database when it is run, so that developers can work with a conveniently prepared environment.
-
Ask HN: Did you encounter any Leap Year bugs today? How bad was it?
There was one in the Phoenix Framework (Elixir) about issuing certificates with an invalid end date: https://github.com/phoenixframework/phoenix/issues/5737
Interestingly, Azure had this bug some years ago too leading to an outage. https://azure.microsoft.com/en-us/blog/summary-of-windows-az...
-
Aplicando MVVM en Phoenix LiveView
Official website: https://www.phoenixframework.org/
-
Things I like about Gleam's Syntax
Since you mention Rails, have you seen https://www.phoenixframework.org/
-
Building Apps with Tauri and Elixir
Thus, we set out to build a desktop application using a LiveView from the Phoenix Framework in Elixir. For the uninitiated, a LiveView is a process that receives events, updates its state, and renders updates to a page as diffs. The LiveView programming model is declarative: instead of saying “once event X happens, change Y on the page”, events in LiveView are regular messages which may cause changes to its state.
-
Has anybody compared Phoenix Framwork vs. Blazor?
It seems though like Phoenix is similar like Blazor Server (using web socket), but Phoenix is: SEO friendly (first render is plain html) Light weight, scales well and concurrency is first class Easy to develop (runs a local server so you see live updates) Compiled With auth out of the box https://www.phoenixframework.org/
-
Ask HN: Why isn't Phoenix/Elixir more mainstream?
Sorry to hear this. Phoenix v1.7 changed how it structures files in disk and that broke quite some of the getting started material. However, the guides are always kept up to date, so you can give it a try: https://hexdocs.pm/phoenix/overview.html
You can also see the resources on this page listed by year: https://github.com/phoenixframework/phoenix/blob/main/guides... - the recent launched ones are most likely up to date.
-
Emoji Generator with AI
Yes! I love Elixir :) [Phoenix LiveView](https://www.phoenixframework.org/) is really amazing. I feel so fast working in it. I got hooked after watching Chris McCord's ['Build a real-time Twitter clone in 15 minutes'](https://www.youtube.com/watch?v=MZvmYaFkNJI&embeds_referring...), and things have improved a lot since then.
-
Ask HN: What's the best modern back end?
I still work on a lot of Java projects. As of JDK 17 Java has most of "ML the good parts" and has the same scalable, reliable and high-performance threading Java is famous for. JAX-RS provides a Sinatra style framework that makes it easy to write JSON API back ends. JDK 21 is just about to come out as a long term supported version and it will be even better.
I do my side projects in Python with aiohttp and think it is a lot of fun even though people tell me it is suicide (I guess if you block the thread you are in trouble)
I think "Next.js" really wants a node.js backend which has the big advantage that you can share code with the front end and back end. It's basically single-threaded but I know people who are happy with it.
The system I'd most like to try is
https://www.phoenixframework.org/
which is just great if you want to do stuff with websockets that is more interactive than what most people are doing.
- Ask HN: Leetcode for Back End and Server Development
What are some alternatives?
cadquery - A python parametric CAD scripting framework based on OCCT
Django - The Web framework for perfectionists with deadlines.
Autodesk-Fusion-360-for-Linux - This is a project, where I give you a way to use Autodesk Fusion 360 on Linux!
sugar - Modular web framework for Elixir
blender-cad-tools - a collection of Blender addons to make CAD design with Blender even more enjoyable
hotwire-rails - Use Hotwire in your Ruby on Rails app
FreeCAD_assembly3 - Experimental attempt for the next generation assembly workbench for FreeCAD
kitto - Kitto is a framework for interactive dashboards written in Elixir
LibreCAD - LibreCAD is a cross-platform 2D CAD program written in C++17. It can read DXF/DWG files and can write DXF/PDF/SVG files. It supports point/line/circle/ellipse/parabola/spline primitives. The user interface is highly customizable, and has dozens of translations.
trot - An Elixir web micro-framework.
DesignSpark-Mechanical-for-Linux
RIG - Create low-latency, interactive user experiences for stateless microservices.