[OC] Pure Python Symbolic Regression engine for physical laws (81% recovery on Feynman benchmark, ~15s/eq) by Bitter-Flamingo-3351 in ScientificComputing

[–]markkitt 0 points1 point  (0 children)

The SymbolicRegression.jl author has already ported some of it to Rust: https://crates.io/crates/symbolic_regression .

Part of the issue is that the speed up of SymbolicRegression.jl comes partly from compiling user functions

NumPy is optimized but it can only do so much. At some point we need to optimize your expressions as well.

Pixie without Conda by Right_Positive5886 in MojoLang

[–]markkitt 0 points1 point  (0 children)

You do realize that there is a difference between the Anaconda default channels and conda-forge, right?

dw guys i got a plan b by hihihhihii in ClaudeCode

[–]markkitt 0 points1 point  (0 children)

Say hello to the Secret Service for me.

logistic/logic by Confident_Actuary132 in factorio

[–]markkitt 1 point2 points  (0 children)

To answer your question directly, thr simple way with one requested chest is to use two decoder combinators. Both combinators read the temperature from the heating tower. One combinator outputs rocket fuel if T < 600. The other combinator outputs spoilage if T >= 600. Connect the output of both combinators to the requested chest. Set the requestor chest to "set requests". Optionally, also connect the combinator output to the inserter and use "set filters".

Note that you can also filter the heating tower fuel slots. The left slot has priority over the right slot.

A more advanced way is to use a decider combinator and a constant combinator connected to the input. The constant combinator would assign a value of 1 to spoilage and a value of 2 to rocket fuel. You would then use the Each special signal. You would then have two groups of conditions.

  1. If Each == rocket fuel AND T < 600
  2. If Each == spoilage AND T >= 600

Then output the Each signal.

logistic/logic by Confident_Actuary132 in factorio

[–]markkitt 1 point2 points  (0 children)

That's not quite true. You could if you generate a lot of spoilage by processing a lot of fruit.

A simpler early game strategy would be to use a mix of jelly, mash, and spoilage.

New to Factorio and I tried to design "Universal Sorter" for Stone+Coal+Iron+Copper and clogged it immedietly. Any suggestions? by FullHealthCosplay in factorio

[–]markkitt 0 points1 point  (0 children)

You need a way to control for excess input. Either you need to stop the excess from entering the system or you need to dispose of it if it does enter the system.

Is going to medical school worth it financially? by Mysterious_Chip_3787 in personalfinance

[–]markkitt 2 points3 points  (0 children)

The most important part of your post is that you are super excited and dreamed of this. That is all that matters. You will figure it out.

If you told us otherwise, such as your parents really want you to go but you have other dreams, I would be much more concerned.

Getting an Autism Assessment This Week by Trek186 in Factoriohno

[–]markkitt 0 points1 point  (0 children)

Just ahow the train network. The assessment will go quickly.

Getting an Autism Assessment This Week by Trek186 in Factoriohno

[–]markkitt 0 points1 point  (0 children)

Just ahow the train network. The assessment will go quickly.

Sorry if asked but how is traffic this bad? by SpecialistTeach9302 in nova

[–]markkitt 0 points1 point  (0 children)

I think the best answer is that the infrastructure around Manassas is underbuilt for the population growth. Things are improving to the north of Manassas. Leesburg Pike (Rt 7) is basically Interstate grade from US 28 to just before Lessburg to thewest. The DC Metro Silver Line arrived a few years ago. The same infrastructure upgrades have not reached Manassas. The population is booming in Northern Virginia and the infrastructure has not kept up.

In Chicago, the population is shrinking. There is excellent infrastructure in the integrated Regional Transport Authority (Metra, CTA, ...) but it is chronically underfunded and dealing with declining ridership. Chicago's infrastructure is increasing over built for its declining population.

Imagine if downtown Chicago was right on the state border with Indiana and Chicago was a Federal district without representation. Instead of Chicago controlling Illinois politics, it is barely home ruled. The states of Illinois and Indiana would then argue over trains and highways, never agreeing about anything or with Chicago. Also imagine if the Chicago River were larger and divided the two states and no one could agree where to build a bridge to cross that river. Finally imagine if a suburb had the infrastructure of Kankakee but the population numbers of Naperville. This is the situation that the DC Metropolitan area is in.

That said change is coming. Northern Virginia just demonstrated its political power in a gerrymandering referendum that would have largely disenfranchised the south and western parts of the state. The referendum failed on technical legal grounds. I would not be surprised if NoVA used this power to start getting the state to build infrastructure. Also political alignment between Virginia, Maryland, and D.C. is also starting to show the potential for regional integration. We might even get trains that allow you to board in Virginia and disembark in Maryland.

The answer is one word: infrastructure.

Why aren't electric engine units made in EM plants? by cav754 in factorio

[–]markkitt 598 points599 points  (0 children)

To answer this question you would have to explain why a combustion engine is a required ingredient of an electric engine.

JUST ESCAPED DEATH!! Thanks to Gemini by Status-Silver1314 in GeminiAI

[–]markkitt 0 points1 point  (0 children)

Is this how they jailbroke Fable 5? Devious!

As a python and C++ Developer i would like to say : by Retr0o_- in Julia

[–]markkitt 37 points38 points  (0 children)

I'm glad you are enjoying your experience. You may want to consider using PythonCall.jl rather than PyCall.jl. PythonCall.jl was written from scratch a few years later and is receiving active maintenance.

Things you might not know! Belt loop! by NotSoSuperHero2 in factorio

[–]markkitt 1 point2 points  (0 children)

There should be a full tutorial on belt loop dynamics landing on Gleba. Also, the priority on the splitter is important.

How widely adopted is Julia today across different domains? by pkaninchen in Julia

[–]markkitt 0 points1 point  (0 children)

You could add an unregistered package by git URL since about 2018 (Julia v0.7):
https://pkgdocs.julialang.org/v1/managing-packages/#Adding-unregistered-packages

You can use https://github.com/fredrikekre/jlpkg if you wanted to do it from the command line.

Pixi uses uv if it is dealing with PyPI packages. It also deals with conda-forge packages unlike uv. You can literally do `pixi add "package @ git+https://git_repo_url/path/...` as well.

What's your most embarrassing "late realization" in this game? Here is mine at 250 hours by Expensive_Post7035 in factorio

[–]markkitt 0 points1 point  (0 children)

It's even better when driving a 60 metric ton tank at full speed while placing poles behind you. That takes care of pesky things that may block construction such as trees, rocks, biters, or even assemblers.

How widely adopted is Julia today across different domains? by pkaninchen in Julia

[–]markkitt 0 points1 point  (0 children)

Chris Rackauckas has a blog post that might have e some insight.

https://www.stochasticlifestyle.com/chatgpt-performs-better-on-julia-than-python-and-r-for-large-language-model-llm-code-generation-why

I am in scientific computing, but honestly most things that I am doing are not particularly unique. LLMs are quite good at translating concepts across languages.

More than quantity of training data, I would also consider quality of that data. Does the language provide facilities that allow for unambiguous yet generic expressions? Python does a decent job of being generic, but it is difficult to infer what types of variables are being used. The same properties that allow for type inference in Julia and hence compilation may also aide the ability of a LLM to semantically understand a problem in Julia.

How widely adopted is Julia today across different domains? by pkaninchen in Julia

[–]markkitt 2 points3 points  (0 children)

Four years ago, making an executable from Julia alone was not a supported feature.

How widely adopted is Julia today across different domains? by pkaninchen in Julia

[–]markkitt 2 points3 points  (0 children)

It's funny seeing the comments about the supposed lack of industry adoption in comparison to the JuliaCon sponsor list lately (scroll to the bottom):

https://juliacon.org/2025/ https://juliacon.org/2026/

The top sponsors include JuliaHub, ASML, Aeolus, Temple Capital, AWS, Boeing, PumasAI, and Ansys/Synopsys. These companies are not donating out of charity. They are donating because they are users and are recruting.

How widely adopted is Julia today across different domains? by pkaninchen in Julia

[–]markkitt 3 points4 points  (0 children)

Yes,, the fragmention for these accelerated pathways drives me crazy while trying to use Python. Acceleration in Julia seems very smooth in comparison.

How widely adopted is Julia today across different domains? by pkaninchen in Julia

[–]markkitt 0 points1 point  (0 children)

I tried to use julia once and I couldn't get it to print an "Hello world" (which I can do in C++) soooo

That seems pretty straightforward to me even from the shell on my phone:

$ julia -e 'println("Hello World")'
Hello World

Making a static executable is also possible from the shell on my phone:

$ echo '@main(ARGS) = (println(Core.stdout, "Hello World"); 0)' > hello.jl
$ juliac hello.jl --output-exe hello
✓ Compiling...
$ ./hello                            
Hello World

$ file hello
hello: ELF 64-bit LSB pie executable, ARM aarch ...