Readit News logoReadit News
daniel_rh commented on SFUSD's delay of algebra 1 has created a nightmare of workarounds   sfexaminer.com/forum/put-... · Posted by u/hnburnsy
ocbyc · 3 years ago
YouTube is probably the best source of education delivered by passionate teachers at this point.
daniel_rh · 3 years ago
I've been looking for a really engaging solid intro to number theory course on youtube, including rings, Abelian groups, etc for early teens.

Does anyone have a recommendation here?

daniel_rh commented on SFUSD's delay of algebra 1 has created a nightmare of workarounds   sfexaminer.com/forum/put-... · Posted by u/hnburnsy
anonymouskimmer · 3 years ago
If you find it too tedious to self-study on your own (there are books for this purpose), then you can consider taking a trig or calc course at a local community college. Just think of it as a temporary hobby.
daniel_rh · 3 years ago
Or go for one of these gamified math tutorials.

For instance: this one teaches geometric proofs without mentioning the formalism, just letting you "unlock" the tools from a few "axiom" starter tools.

https://www.euclidea.xyz/

daniel_rh commented on Using Mypy in Production   notes.crmarsh.com/using-m... · Posted by u/charliermarsh
daniel_rh · 4 years ago
This article mentions the woes of circular imports. I thought MyPy let you work around that by doing if False: around your imports

eg a.py: import c

  if False:
     import b

  class X:

   def x(self):
       #type: () -> b.Y
       from b import something_that_returns_y

       return something_that_returns_y(self)
b.py:

  from a import X

  class Y:

    pass

  def something_that_returns_y(x : X) -> Y:

    return Y()
per https://github.com/asottile/flake8-typing-imports

daniel_rh commented on Rust is actually portable   ahgamut.github.io/2022/07... · Posted by u/ahgamut
mihaigalos · 4 years ago
> I’d like a bit more flexibility in specifying what I want cargo to do.

Check out Bazel for Rust.

It allows:

* caching of artifacts.

* shareable caches between {developers, build jobs} based on hashes.

* remote distributed builds (on very many cores).

https://github.com/google/cargo-raze

daniel_rh · 4 years ago
I think the newer version of this is https://github.com/bazelbuild/rules_rust which lets you either vendor the dependencies or pull them from your Cargo.toml directly every time.

Per the article: bazel + rules_rust should have the flexibility to override the linker flags that Cargo may take as required since that would be a property of the bazel toolchain used.

It's a nice amalgamation of how cargo works and how bazel works.

In general bazel supports hermetic builds, multiple toolchains, cross complilation, and ways to compile multi-language projects.

I still wish that Cargo.toml didn't support build.rs as it can cause a lot of system-dependent problems that bazel sidesteps entirely by being hermetic.

daniel_rh commented on eBPF: A curated list of projects related to eBPF   github.com/zoidbergwill/a... · Posted by u/GordonS
daniel_rh · 5 years ago
Does anyone have experience with eBPF on aarch64? How well is it supported? On what kernel revisions was it phased in and well tested there?
daniel_rh commented on eBPF: A curated list of projects related to eBPF   github.com/zoidbergwill/a... · Posted by u/GordonS
daniel_rh · 5 years ago
I was just experimenting with eBPF and ran into a limitation: Is there a way to load the source IP into a register when working in userspace? When I SO_ATTACH_BPF to a SOCK_DGRAM it only makes the udp header accessible, per https://github.com/danielrh/bpf_buffer_per_source/blob/main/... I would love to be able to run logic based on both IP and port rather than being limited to port alone. Yet it's not worth the inconvenience/danger of running as root to operate with RAW sockets.
daniel_rh commented on Vega Strike   vega-strike.org/... · Posted by u/marcodiego
paulryanrogers · 5 years ago
There are a few Privateer fan remakes based on this engine. Too rough for my taste but still better flight controls than the original. Here's hoping they can polish this game
daniel_rh · 5 years ago
Highly recommend http://privateer.sourceforge.net/ Gemini gold
daniel_rh commented on Vega Strike   vega-strike.org/... · Posted by u/marcodiego
malloreon · 5 years ago
Blast from the past!

My good friend Daniel Horn started developing this right around when I met him in high school.

daniel_rh · 5 years ago
Hi! Just noticed this post :-) I started the game in the late 90’s and open sourced it in 2001 The previous versions were win Mac Linux but the current dev team has been focusing on Linux right now.

At the time there were some mod communities like privateer Gemini gold with a polished release and Vega Trek; those also had windows builds that also work on wine. You might need to install into a folder with read/write permissions.

u/daniel_rh

KarmaCake day394June 29, 2016View Original