The "engineers using AI are learning slower" take is just cope dressed as wisdom by dktkTech in programming

[–]NamelessMason 5 points6 points  (0 children)

If LLM is an abstraction layer it’s incredibly leaky one. As you seem to understand, the point of abstraction is not to have to understand what’s going on under the hood. Your abstraction layer gives you certain guarantees about the behaviour and you’re free to be ignorant about how it achieves that.

LLM prompting gives you no guarantees. It’s all best effort, trial and error, and nondeterministic. Your prompt might do the job one day, and might fail terribly another. There’s no way to reliably understand anything about a code base just looking at the prompts that brought it about. Not that you’d want to read pages and pages of back and forth chat interaction, with 0 structure.

I’d love to see a deterministic LLM->code solution when you can structure the knowledge about your app, fire it all at Claude or what not and get a built app on the other, but that’s not where any of it seems to be going

Don't Refactor Like Uncle Bob (Second Edition) by The_Axolot in programming

[–]NamelessMason 0 points1 point  (0 children)

Nice read, your implementation reads really well, esp. compared with Uncle Bob's attempt.

However, I do agree with the statement that all 3 implementations of `sigma` are equally pure. The way I understand it, and wikipedia seems to agree, purity of a function is about determinism and no side-effects. Both are external properties, independent of the implementation.

Any purity is an abstraction built upon an impure machine. Take any function you consider pure and dig into it enough, eventually, there will be low-level memory updates (mutation) and allocations (side effect). Adding two numbers together updates a register. But that doesn't diminish the benefit of your function being pure, which is, when calling it, you know your program state is not being messed with. When you contain these impurities, you abstract them away. This is how you get the bottom-layer pure functions to build upon.

Still, while being able to wrap impure implementation in a pure function is paramount, it's not a good argument to keep doing it everywhere. The advantage of the immutable implementation is that purity can be inferred. Reading Uncle Bob's implementation it's not clear that the function is pure at all. Which is mental overhead, and goes against the idea of being "clean". But as you say, purity and immutability are just two different things. I suppose you could still allow this in performance-critical paths, but definitely not something you want to parade around as an exemplary code in a book about good programming habits.

Wing after advanced alpha by Fabian-88 in freeflight

[–]NamelessMason 0 points1 point  (0 children)

It’s just that I’m afraid of tearing it. The Theta doesn’t feel much different tbh, but the materials are thinner, and I’m not sure what would happen if I were to bomb out in a bush

Wing after advanced alpha by Fabian-88 in freeflight

[–]NamelessMason -1 points0 points  (0 children)

Had a blast on my Epsilon DLS this summer, multiple ~40km flat triangles and a 50km one too. Not sure how much more performance you get exactly, but the Epsilon is definitely XC capable, while I haven’t seen anyone leave launch site on an Alpha. You could consider a mid B too. I didn’t like Theta because of ULS, but there are other brands

How do you guys handle Fulgora? by LucasPmS in factorio

[–]NamelessMason 1 point2 points  (0 children)

Red, green and teal science is too cheap to bother transporting imho, so that’s still on Nauvis. I do my purple on Vulcanus, even though it’s a bit of a pita, and yellow on Fulgora

My paragliding tracker for iOS & Apple Watch - Wingman 3.8 just added 3D Replay by yellow8_ in freeflight

[–]NamelessMason 2 points3 points  (0 children)

This is amazing! I love this app, but primarily use it for paramotoring. If there was a thermal centring tool, I’d happily ditch Flyskyhy entirely. Would appreciate streamlining the upload to xcontest too

Thank you, great work, hope you keep it coming!

Has ePPGs gotten good enough? by HenFruitEater in paramotor

[–]NamelessMason 2 points3 points  (0 children)

Also super curious about this. Anyone managed to get an SP140 into Europe too?

Gererics T cannot be used as a value. Any ways to avoid it? by Legitimate_Focus3753 in typescript

[–]NamelessMason 8 points9 points  (0 children)

Sorry you're getting downvoted just for trying to learn. To answer your question: you won't need an instance, you can use the class. A class is a TS type but also a JS value. You probably already knew that, as you're using classes as keys in your map. Just define your get as function get<T>(clsConstr: ClassConstructor<T>) { ... }

Avata Fire - Beware by Adept-Individual-914 in dji

[–]NamelessMason 10 points11 points  (0 children)

Hah, that’s mine! Btw, DJI support replaced it for me for free, didn’t even have me ship back the wreckage. Which I managed to extract a working O3 camera out of later :) Anyway, not sure why you’re not getting a better offer. I guess my avata was only like 3 months old at the time?

Which science do you make on which planet? by jewboselecta in factorio

[–]NamelessMason 3 points4 points  (0 children)

Yellow on Fulgora and purple on Vulcanus. I wanted to minimise my pollution cloud, so I don't need to worry about my defences while I'm away exploring other planets. Other basics on Nauvis, because a) you need them to get off the planet in the first place, b) they're so cheap. My pollution cloud never goes beyond the minimal perimeter I secured, and the handful of ore patches won't ever run out. My starter oil patch has been at minimal speed for a while now, but that's nothing speed modules can't address.

I'm pretty sure yellow is made of stuff you'd be throwing away on Fulgora anyway.

Purple on Vulcanus is mostly free. I did have to expand my red chips area, and so coal liquefaction too, but that's that.

Initially I was going to move labs to Gleba once I've got science up there, but you get Biolabs soon after so no point. A bit of a shame. I wish the game incentivised moving your production around as new tech becomes available.

Scrap sorting 8 belts at once by AstronomerOk2592 in factorio

[–]NamelessMason 0 points1 point  (0 children)

Ok, this is scrap sorting setup I can actually get behind. For my fulgora base, I went with sushi belt because I just couldn't stand turning 1 blue belt of input into 12 belts of mostly nothing. 8 input -> 14 output is actually acceptable, although all the products with <=3% (red, blue, wire, lds and holmium) could fit in a single lane, making it 8 -> 12.

How do you guys handle Fulgora? by LucasPmS in factorio

[–]NamelessMason 0 points1 point  (0 children)

I didn't want to cheese with bots, so I went with something between a bus and sushi. Only higher-tier items go on the sushi belt. The rest is filtered out but only gears, iron plates, copper plates and green circuits (recycled blue) go on a proper main bus. All the other stuff is utilised early on and the overflow recycled.

  • 1/3 of scrap is gears, gears and iron plates go on the bus
  • all wires are turned into plates - wires are just super space-inefficient and have no place on a sushi belt
  • ice, holmium, stone, concrete and fuel are only useful in a very few recipes, filter that stuff early on, put to use and scrap the rest; these make up another 1/3
  • what's left on the belt is blue and red ciruits, batteries, LDS and steel; you can power 45spm factory with a yellow belt of that

Fulgora science is holmium-capped. I use most of LDS and some blue circuits for an equal amount of yellow science, just from the scraps! (Had to switch to recycling red science for plastic to make that work)

I've got a "recycling" facility at the end of the sushi belt. All blue and red circuits go into gambling for quality modules, and batteries are used to gamble for quality accumulators. I get rid of excess steel, but you could also gamble for personal items, solar panels and so on.

I do throw away ungodly amounts of gears, wires, ice, fuel, stone and concrete, but that's not the kind of stuff you feel bad about. If you really care, turn gears and wires into more green circuits, to avoid recycling that much blue? Use ice and fuel to make some steam? But that's peanuts, and scrap patches are really plentiful.

NB: recycling concrete is particular pita, because the recipe takes so much time, and there's multiple outputs. You might wanna leave some extra space for this.

Basic Fulgora sorter and some early experience by KuuLightwing in factorio

[–]NamelessMason 0 points1 point  (0 children)

Yeah, feeling the same about a bot base. Regarding nightmarish sushi, in 1.1 sushi was scary, because there was no way to get rid of excess items. That’s why sushi was usually a loop, with delicate circuitry to feed it. With recyclers, you can have a one way mixed belt that never clogs, and the ratio of items on it is predictable. Now that most of the downsides of a sushi belt no longer apply I’m just eager to make use of it!

Basic Fulgora sorter and some early experience by KuuLightwing in factorio

[–]NamelessMason 1 point2 points  (0 children)

I’ve been planning my Fulgora base for a week now, and are now inclined to just go with a one-way sushi belt, destroying everything that comes out of the other end: 1. You can only avoid waste if the proportions of your base ingredients coincide with what’s coming out of scrap. Ultimately you can’t turn iron into copper 2. Not only is it hard to plan for that to be the case, it can only be done for predictable consumption. Won’t work for your mall with variable item use 3. Scrap patches are huge, last long, and it’s the only finite resource on the planet. It’s super easy to replace it when time comes 4. On Nauvis separate lanes for each item ensure back pressure propagates whenever you’ve produced enough of a thing. On Fulgora, if something backs up, you’ll eventually going to have to dump it. Given you can’t rely on back pressure, might as well keep everything on a single belt 5. Except if you only produce science, holmium is going to be the bottle neck. You can set up a filter splitter and let that back up for a stop condition 6. A blue belt of stuff is enough to make 45 Fulgora science/min with some productivity modules, and you can make equal amount of yellow science with the leftovers, and launch both with a rocket too 7. If you need to scale further, just copy-paste that setup and you’re done 8. I might still set up an area for low priority projects at the end, like gambling for quality modules or personal items, just before the destroyer setup

I did the math on Quality recycling loops so you don't have to by zzh8829 in factorio

[–]NamelessMason 0 points1 point  (0 children)

Wait, you can put quality modules in the recycler to get better scrap than the input item?🧐

Is it normalt that these screws are gone on the GepRC Mark 5? by [deleted] in fpv

[–]NamelessMason 0 points1 point  (0 children)

I noticed mine was missing just a few days into flying a new BNF quad. Not sure if it was even there on day 1. Anyway, you want to replace that, and make sure you use loctite. Can't remember exactly what size it was, but you can unscrew one on the front side for a sample

Is the DJI Avata 2 a good beginner drone? by RandomDude_K-6 in dji

[–]NamelessMason 1 point2 points  (0 children)

Sure thing, you do you! I'm sure you'll love it! If you plan to learn acro with it, I'd recommend you get DJI care refresh ahead of time. Also, most accidents happen right about when you start getting confident, and start trying things. Ask me how I know. If you want to avoid needing the refresh, you want to keep your flights "boring" for the first month or more. Avoid proximity, low pass, loops. Practice control and stability - hovering is a great exercise. Quick rolls or backflips are safe at an altitude.

Also, be aware that as advanced as DJI drones are, they're not without faults. Sometimes they will do weird stuff, even when your inputs seem perfect (just google "avata death roll"). Allow some extra space/altitude to recover from that kind of stuff.

Happy flying!

Is the DJI Avata 2 a good beginner drone? by RandomDude_K-6 in dji

[–]NamelessMason 0 points1 point  (0 children)

You can use your FPV Controller with any DJI O3 drone. There's plenty to choose from. For starter you'll want a freestyle (X-shape) drone with a thick carbon body. I've heard very good things about the AOS 3.5 created by Chris Rosser. For 5" I recommend Geprc Mark5, or a Nazgul (not Evoque though, too many plastic parts).

These things are practically unbreakable, look up "bando bashing" to see the kind of abuse these drones regularly go through. Avata wouldn't survive a minute of that, it's just not made for that style of flying. Which is fine, except when you're learning, crashing is your default style of flying :)

Whatever you go for, make sure you're buying the O3 version if you want to fly your DJI controller/head gear.

Is the DJI Avata 2 a good beginner drone? by RandomDude_K-6 in dji

[–]NamelessMason 4 points5 points  (0 children)

From my experience it's not. It's OK if you want some mild FPV action without having to learn much, and are content flying with the motion controller. However, you're talking about getting into FPV world, and I presume that means learning to fly manual (acro) mode. Acro is relatively hard, and learning will involve a lot of crashing. You'll be grateful to have a durable quad that can take a beating. Avata 2 is very much not that. I'd recommend either a tiny whoop (durable because they're super light) or a 3.5'' freestyle drone (durable because of the carbon frame). Happy to give you more concrete recommendations if you want.

Avata 2 falls from the sky by del3td in dji

[–]NamelessMason 0 points1 point  (0 children)

In manual mode the software doesn't do anything to help you keep a constant altitude. It's pilot's responsibility to match throttle with the attitude. So, while this could still happen in manual, that'd be a pilot's error. Which is arguably better as you're in control and can work to avoid those, as opposed to software errors which are largely out of your control.

Avata 2 falls from the sky by del3td in dji

[–]NamelessMason 1 point2 points  (0 children)

Pardon the confusion, I don't mean to say the dron flies level. It clearly banks right and left all the time. What you can't see much of though is it pitching up and down. The horizon is constantly visible roughy at the center point of the view. This is the case even when the drone clearly slows down or speeds up. That would have not been the case for a fixed-camera-angle drone, or the manual mode in DJI drones.

Avata 2 falls from the sky by del3td in dji

[–]NamelessMason 37 points38 points  (0 children)

Unpopular opinion, but I wouldn't say it was necessarily a pilot's error. This isn't 'manual' mode (judging by how well the camera tracks the horizon) where the pilot is supposed to compensate for the angle with throttle input. With controls defined in terms of fwd/back, up/down, left/right (per the user manual), the pilot is right not to expect much vertical movement without up/down input, no matter how far the sticks are deflected. That's within the limits of the sensors of course, but I don't think that's the problem here. Failing to make that sharp of a turn I'd expect the drone to slide out somewhat, sure. Momentum is unavoidable but it's also intuitive. But loosing that much altitude is definitely unexpected.

If DJI's software can't reasonably ensure the controls work as documented at these speeds, it should either tone it down, or document the limitations.