frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: I'm 75, building an OSS Virtual Protest Protocol for digital activism

https://github.com/voice-of-japan/Virtual-Protest-Protocol/blob/main/README.md
4•sakanakana00•12m ago•0 comments

Show HN: I built Divvy to split restaurant bills from a photo

https://divvyai.app/
3•pieterdy•14m ago•0 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
235•isitcontent•15h ago•25 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
332•vecti•17h ago•145 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
293•eljojo•17h ago•182 comments

Show HN: R3forth, a ColorForth-inspired language with a tiny VM

https://github.com/phreda4/r3
73•phreda4•14h ago•14 comments

Show HN: Smooth CLI – Token-efficient browser for AI agents

https://docs.smooth.sh/cli/overview
91•antves•1d ago•66 comments

Show HN: I Hacked My Family's Meal Planning with an App

https://mealjar.app
2•melvinzammit•2h ago•0 comments

Show HN: ARM64 Android Dev Kit

https://github.com/denuoweb/ARM64-ADK
17•denuoweb•1d ago•2 comments

Show HN: I built a free UCP checker – see if AI agents can find your store

https://ucphub.ai/ucp-store-check/
2•vladeta•2h ago•1 comments

Show HN: BioTradingArena – Benchmark for LLMs to predict biotech stock movements

https://www.biotradingarena.com/hn
25•dchu17•19h ago•12 comments

Show HN: Slack CLI for Agents

https://github.com/stablyai/agent-slack
47•nwparker•1d ago•11 comments

Show HN: Artifact Keeper – Open-Source Artifactory/Nexus Alternative in Rust

https://github.com/artifact-keeper
151•bsgeraci•1d ago•63 comments

Show HN: Compile-Time Vibe Coding

https://github.com/Michael-JB/vibecode
10•michaelchicory•4h ago•1 comments

Show HN: Gigacode – Use OpenCode's UI with Claude Code/Codex/Amp

https://github.com/rivet-dev/sandbox-agent/tree/main/gigacode
17•NathanFlurry•23h ago•9 comments

Show HN: Slop News – HN front page now, but it's all slop

https://dosaygo-studio.github.io/hn-front-page-2035/slop-news
13•keepamovin•5h ago•5 comments

Show HN: Horizons – OSS agent execution engine

https://github.com/synth-laboratories/Horizons
23•JoshPurtell•1d ago•5 comments

Show HN: Daily-updated database of malicious browser extensions

https://github.com/toborrm9/malicious_extension_sentry
14•toborrm9•20h ago•7 comments

Show HN: Micropolis/SimCity Clone in Emacs Lisp

https://github.com/vkazanov/elcity
172•vkazanov•2d ago•49 comments

Show HN: Fitspire – a simple 5-minute workout app for busy people (iOS)

https://apps.apple.com/us/app/fitspire-5-minute-workout/id6758784938
2•devavinoth12•8h ago•0 comments

Show HN: I built a RAG engine to search Singaporean laws

https://github.com/adityaprasad-sudo/Explore-Singapore
4•ambitious_potat•8h ago•4 comments

Show HN: Sem – Semantic diffs and patches for Git

https://ataraxy-labs.github.io/sem/
2•rs545837•9h ago•1 comments

Show HN: Falcon's Eye (isometric NetHack) running in the browser via WebAssembly

https://rahuljaguste.github.io/Nethack_Falcons_Eye/
4•rahuljaguste•14h ago•1 comments

Show HN: Local task classifier and dispatcher on RTX 3080

https://github.com/resilientworkflowsentinel/resilient-workflow-sentinel
25•Shubham_Amb•1d ago•2 comments

Show HN: FastLog: 1.4 GB/s text file analyzer with AVX2 SIMD

https://github.com/AGDNoob/FastLog
5•AGDNoob•11h ago•1 comments

Show HN: A password system with no database, no sync, and nothing to breach

https://bastion-enclave.vercel.app
12•KevinChasse•20h ago•16 comments

Show HN: Gohpts tproxy with arp spoofing and sniffing got a new update

https://github.com/shadowy-pycoder/go-http-proxy-to-socks
2•shadowy-pycoder•11h ago•0 comments

Show HN: GitClaw – An AI assistant that runs in GitHub Actions

https://github.com/SawyerHood/gitclaw
9•sawyerjhood•20h ago•0 comments

Show HN: I built a directory of $1M+ in free credits for startups

https://startupperks.directory
4•osmansiddique•12h ago•0 comments

Show HN: A Kubernetes Operator to Validate Jupyter Notebooks in MLOps

https://github.com/tosin2013/jupyter-notebook-validator-operator
2•takinosh•12h ago•0 comments
Open in hackernews

Show HN: Rocket Launch and Orbit Simulator

https://www.donutthejedi.com/
166•donutthejedi•4w ago
I (17y/o) have been developing a rocket launch simulation that allows the user to explore what it's like launching a rocket from earth and putting it into orbit. This idea originally started as an educational simulation but as i've gone more down the rabbit hole the more i've wanted to make it realistic. The problem is that I've never had a formal orbital mechanics class or anything like that so I don't know what I'm missing, what I currently have implemented is:

  Variable gravity
  Variable Atmospheric drag (US Standard Atmosphere 1976)
  Multi-stage rockets
  Closed-loop guidance / pitch programs (works well within ranges 350km to 600km)
  Orbital prediction and thrusting options to change your orbit.
The feedback I'm looking for is: UI improvements and possible future physics implementations that I can work on.

Current code and physics can be found at: https://github.com/donutTheJedi/Rocket-Launch-Simulation

Comments

tgig•4w ago
Did you do all the math yourself?
donutthejedi•4w ago
yup, derived most of the equations myself then double checked them before implementing them. That being said all of the positining is done through time steps and not so much equations
seabass-labrax•4w ago
Nice work! Had a "blast" playing it ;)
mstank•4w ago
This is awesome, great work! There’s a huge audience for something like this based on the popularity of Kerbal Space Program.

Biggest low-hanging fruit UI improvement would be mobile responsiveness. It was a bit challenging testing on my phone.

donutthejedi•4w ago
Awesome, thanks alot, thats a great idea to work on
brookman64k•4w ago
Why is it launching with a horizontal velocity? It initially moves to the right even when pointing up perfectly.
donutthejedi•4w ago
Thats due to the rotation of the earth, for the purposes of the simulation the earth is rotating at 408 m/s (earths rotation at cape canaveral) so thats why It appears its going sideways
DetroitThrow•4w ago
But the rotational velocity of the rocket is going to be very similar to Earth's at the launch site. Eventually the rotational velocity between ground and the rocket will begin to noticeably differ, but the launch trajectory starting at 408 m/s would look terrifying if it were that way in real life.
donutthejedi•4w ago
Good point, I implemented that very early and hadn't really thought about it, let me look into the true solution, thanks
donutthejedi•4w ago
I found the problem, It appears that I had the earth staying stationary but gave its rotational velocity to the rocket, What i think needs to happen is I need to also be rotating the earth so the inertial frame stays the same. Thanks for bringing this up
sfblah•4w ago
I was able to fiddle with the settings so it launches in the air a bit and then hits the city. All by just going vertically. Pretty funny.
mholt•4w ago
Don't rockets also start with the same horizontal velocity though, since nothing canceled it out when it got off the launch pad?

It would be like jumping, and finding yourself ~250-400 meters away from where you lept by the time you landed.

That said, neat project, and way fun learning experience. Good job.

brookman64k•4w ago
When the rocket launches it already moves with earth's rotation at that latitude (and is stationary with respect to the ground). That's in fact the reason why many rocket launch sites are near the equator: Free velocity.
arnonejoe•4w ago
Looks super awesome. Strong work! It showed the karman line at 98-99km. Maybe a tiny tweak needed.
fartfeatures•4w ago
Much better than KSP2
headcanon•4w ago
I'm sure that city just *loves* being downrange of the launch site :)

JK, nicely done! lots of fun to watch.

TeMPOraL•4w ago
Fortunately for it, that city is mounted on some antigrav sled and moves around to always stay ahead of the launch vehicle, safe from my totally not intentional attempts at crashing into it.

Completely unrelated bug: pitch control can go down only to -5 degrees.

donutthejedi•4w ago
Took the anti grav sleds off, might be possible to crash into now idk
Teever•4w ago
This is really neat.

I've been toying with the idea of building something similiar but with a bunch of different space stuff, like a calculator for different rotating space station geometries, mars/lunar cycler orbits, or solar shade sizes/distances.

It's been many years since I've done this kind of stuff in school and it's great to be able to refresh yourself on this stuff. The kind of UI you're using makes it really friendly and approachable, like a game.

caetris24•4w ago
I think it's a good start, but the user experience and the color theme make the simulation cumbersome to absorb. Maybe you can do a theming exercise with an AI. The zoom feature is highly sensitive. It's not intuitive at first on what the user should do or take away from the simulation. The events feature is great, and essential.

Looking forward to seeing the next iteration. Nice work.

MeetingsBrowser•4w ago
This is really neat and pretty fun to play around with!

How accurate are the simulations? I'm able to get orbit by turning 45 degrees as soon as I launch and then doing some minor burns at the height of the initial trajectory.

I don't feel like this strategy would work in real life.

GalaxyNova•4w ago
I think it would, given that there is no air resistance.
donutthejedi•4w ago
Its fairly accurate as far as I can tell. Your right about the fact that It wouldnt work in real life due to the dynamic pressure your exerting on your rocket, using your method you get to about 150 kPa, Falcon 9 usually maxes out around 35 kPa so it would explode. Also it is a fairly fuel inneficent way of getting into orbit, but yes it is possible
Intralexical•4w ago
Subtracting gravity losses, the largest effect of your 45 degree thrust vector would be sideways acceleration. Which is generally what you want, to get up to speed as quickly as possible, instead of wasting energy ascending vertically.

We just don't do it on Earth because we need to get out of the atmosphere first for efficiency and structural reasons. But on the moon or another vacuum body, "diagonal kick followed by minor circularization burns at apogee" is pretty close to the optimal strategy. Even on Earth, it's similar to the trajectories proposed by SpinLaunch and other "space cannon" concepts.

zamadatix•4w ago
How much AI was used vs manual lines?
donutthejedi•4w ago
Around 90% AI for syntax, I did alot of debugging manually. For implementing new features I would design them and do the reasearch then have a AI write lines for me and verify the work
zamadatix•4w ago
It's a quick path to having something to play with but I'd encourage folks specifically wanting to learn something new or create something for a portfolio to try to have it be more the other way around: write 90% by hand, implement the features yourself, and have AI help you with the research and debugging (but not try to automatically write the code to fix the bugs). AI is really great at all of the things listed, but I guarantee if you were in an interview and someone asked you about this project your responses about how and why everything works would be 2x-3x stronger.

If this was your 3rd time implementing an orbit simulator and you just wanted to get the bulk done quick so you could move on to work on new stuff then that's when having AI write the bulk & doing checking really works best as you're already an expert in what needs to be done rather than trying to learn about what needs to be done from someone/something else doing it for you.

I say this as an orbital dynamics simulator in C++ having been one of my first big projects I put in a portfolio myself :). And I also like to use AI often, I'm not an AI hater in general, just I like to use in certain specific ways sometimes.

Feedback on the UI side: It'd be cool if the stars used more random positions rather than sine/cosine looking patterns. There are lots of different approaches one could try (from simple random positions to very complex types of clustered randomness and brightness variation to realistic star maps). My suggestion would be to ask AI what types of approaches could be taken and try implementing whichever approach sounds the most fun!

shireham•4w ago
Curious what age bracket you’re in? I understand where you’re coming from, but I don’t think it will be the paradigm for the future. My own experience is that you actually learn a lot by having AI write piecemeal code and then do overall review.
tgig•4w ago
He is 17
zamadatix•3w ago
Author 17, me 31. Having AI write your physics code by telling it what to do is a relatively poor way to learn either physics or code, but I agree there are ways to use AI to learn things - just not necessarily this particular way here.

The main thing is the author did normal research and then gave it to AI to make it happen and verified it seemed to match what they asked for. In that, AI helps build the demo but it's not really adding anything to the understanding of the physics than reading about it in the first place did (akin to reading a post of someone else doing something, reviewing their code, and putting it in your project rather than trying to work with the new ideas yourself). Similarly, having AI write 90% of the code is not really helping you get familiar with the code any more than telling it which physics formulas to implement helps you get more familiar with the formulas.

OTOH, asking AI to help validate your research and understanding before going in to write the code helps you learn things like "the rocket shouldn't be flying right at takeoff just because the planet is spinning". Having AI help debug code issues you can't figure out in the code you wrote yourself (but not having it fix them for you directly) helps you really test 100% of the understanding you're trying to demonstrate instead of testing if you can say another's implementation seems reasonable.

If the only goal is to get to generate output instead of learn, then the calculus of course changes. E.g. yesterday I wanted to run an optical flow method for heart rate posted here in my browser. I wasn't really seeking to learn about it, I just didn't have python set up on my machine with the good webcam and wanted to play with the author's demo live. So I copied the article into AI and told it to make it into a single page HTML app. I didn't learn much of anything more than the article already covered in doing so, however I did achieve my goal of having some output to mess with instead of learning.

zamadatix•3w ago
Perhaps worth adding I just completed my first college degree last year (figured it'd be fun to get one), so perhaps a bit more recent experience with the learning eras they may be about to enter than a typical 30-40 year old range.
donutthejedi•4w ago
I completely agree with what your saying, with one caveat. If I understand how the underlying physics and dynamics are working but don't know how to write the code then theres no world where I could make something like this. The way that I see it is that AI is a tool that really depends on the person.

If I were to be someone who just tells AI "implement drag" and lets it do it then sure, im not learning, but if I do my research outside and just use AI to translate what I give it into the language of computers I feel like im not only building something cool but im understanding whats happening because AI is just translating.

So basically while yes I do believe that AI can be harmful if you approach it inproperly, it helps novice programers implement cool things by just using english.

forgotpwd16•4w ago
>If I understand how the underlying physics and dynamics are working but don't know how to write the code then theres no world where I could make something like this.

You could learn coding same way as you learned the physics and dynamics. Programming and physics aren't mutually exclusive. Actually every physicist is (was?) required to know (multiple) programming (languages).

>If I were to be someone who just tells AI "implement drag"

That'll mean at least you understand drag. Could do even worse, regards to learning at least rather result, prompting something like "make a cool-looking physically-realistic 2d rocket launch simulator", which we're at point that will most certainly return a functional app.

>but im understanding whats happening

Do you though? You depend on AI correctly translating your natural language input to code. Though arguably this is something LLMs excel at, since math (logic) also plays role you've to be able to at least read and review the resulting code for correctness. (Assuming you actually care about the physical accuracy that is.)

pwndByDeath•4w ago
This breaks my heart, software modeling orbital mechanics is something I do for fun from time to time.
MadnessASAP•4w ago
What did you use for closed loop guidance? If you aren't aware of it NASA has a lovely paper called UPFG "Unified Powered Flight Guidance" [1] used for the space shuttle. This was implemented and made more universal for KSP (of course) by Przemysław "Noiredd" Dolata as PEGAS "Powered Explicit Guidance Ascent System" [2]

If it's your thing you could try implementing it and getting a single continuous burn to final orbit.

Awesome work BTW!

[1] https://ntrs.nasa.gov/citations/19740004402

[2] https://github.com/Noiredd/PEGAS

Edit: I now see it's on your roadmap, so I guess it is your thing.

lamontcg•4w ago
I've got another kos-PEG implementation here as well, along with a really extensive bibliography:

https://github.com/lamont-granquist/KSP-KOS-PEG/blob/main/li...

donutthejedi•4w ago
For this model I kinda just made up my own system to play around with it, while it wasn't very effective it was pretty fun. That being said thanks a lot for the recommendations, I wasn't very aware of the options I had for it.
aardvarkdriver•3w ago
Impresive work OP!

Regarding other comments about AI use, I tend to agree but can maybe add some context.

I finished my ME degree this fall and found dynamics to be the most enlightening course for me by far. The ability to build a reasonable approximation of real-world systems from a set of reference frames and ODEs is incredible, and I find that it has affected the way I see the world in a meaningful way.

That said, a well-defined set of reference frames in particular are the "unsexy" backbone of modeling & sim work, and I acknowledge that the barrier for entry is somewhat high (cumbersome notation, some linear algebra/ODE prerequisites). It seems like you may already have run into a reference frame issue based on some of the other comments. I still think that this is worth learning unassisted by AI! If you're a textbook guy, Kasdin and Paley's Introduction to Engineering Dynamics is how I learned. If not, I'm sure many other online sources are useful.

And once again, great work here. I have no doubt that this will be useful for your college search, especially with a well-understood dynamics foundation. Best of luck!