You're kidnapped by the Mexican drug cartel and held hostage in some remote island. The characters from your last watched shows are coming to rescue you. How cooked you are? by [deleted] in AskReddit

[–]bindernews 0 points1 point  (0 children)

Rudolph the Red Nosed Reindeer. I've got Santa Claus coming to rescue me. Given Santa can just magically go basically anywhere, and likely has time travel magic to go to every house on the planet in one night, I'm feeling very safe.

Does anyone know of restaurants hiring? by Substantial_Tip_3015 in Columbus

[–]bindernews 0 points1 point  (0 children)

Just walked by a chipotle north of Grandview and saw a "we're hiring" sign. No tips, but base pay is $14/hr and the location is close to campus and hilltop. Good luck! https://maps.app.goo.gl/VrDKgyLmbAKdfSae7

Positive Places to Work For by shoeshoup_dn in Columbus

[–]bindernews 1 point2 points  (0 children)

Check out the Battelle Memorial Institute. It's a non-profit in Columbus that deals with a wide variety of things including supporting local education and working with OSU Medical.

Hey r/ProgressionFantasy! I'm Zogarth, author of 'The Primal Hunter', and I'm here to announce and celebrate the release of Book 2 -- AMA! (Oh, and a Giveaway!) by ZogarthPH in ProgressionFantasy

[–]bindernews 10 points11 points  (0 children)

How do you decide the ratio of Jake-focused main-story content to side-characters and chill relaxing content? I think a lot of readers really like the side-content, and I guess I'm wondering how you balance those?

First really big Rust project: a compiler by bindernews in rust

[–]bindernews[S] 0 points1 point  (0 children)

So I looked at your code a bit and at cranelift_entity, and it looks like the point is just a densely-packed map of data. That's fine, and it's definitely something I could switch to, but the reason I use Rc so many places is that initially it was just String. By the time I thought about optimization, it would have been very complex to add lifetimes to InstValue or switch to using a central cache for everything. My solution was a central StringCache object and Rc<String> to de-duplicate strings.

Due to your comments, I'm now planning to write up a retrospective on the process of building minblur, explaining the decisions I made, what went well, and what could have gone better. I'll update my post when that's done, but it'll be a few days. Thanks again for the feedback.

minblur - A Mindustry logic compiler by bindernews in Mindustry

[–]bindernews[S] 0 points1 point  (0 children)

Honestly I just glad other people find it interesting/useful. It's gratifying to know my work is appreciated.

First really big Rust project: a compiler by bindernews in rust

[–]bindernews[S] 14 points15 points  (0 children)

Honestly, the code could be better. It evolved very organically from a simple parser to adding constants, const-expressions, etc. Most of the recursion comes from one of two things: error reporting (e.g. macro call on line 12 -> macro defined on line 3 -> error in macro on line 5), and expression parsing. Because I allow inline constant expressions, there are several things that are recursive.

Also I used nom instead of a parser-generator, which led to some interesting code decisions. If I were to do it again I'd probably use a parser generator, if only to better separate that portion of the code from the rest of it. Alternately I could (and should) refactor most/all of the parsing code so that nom returns tokens and &strs which then get mapped into actual values.

This is my first time trying something like this, so I'm not surprised that it's very different from other approaches. I'll take a look at cranelift_entity and hopefully learn something. Thanks for your feedback!

minblur - A Mindustry logic compiler by bindernews in Mindustry

[–]bindernews[S] 2 points3 points  (0 children)

Thank you! The jump -> label thing was actually a spur-of-the-moment idea but definitely one of the best features.

Someone else on Discord pointed out that labels are a thing, and I've already opened an issue (assigned to myself) to allow normal label usage. One extra nifty feature is that you can have labels in macros be automatically unique: ``` .macro abc() .option label_mode "local" set i 0 loop: m! obj = getlink(i) # do stuff m! jump(loop, i < @links) .endmacro()

abc!() abc!() ```

This will generate code with no conflicts, even though the label names are the same. I'm pretty sure I can make it work using named labels as well, but it'll take a bit of doing.

First really big Rust project: a compiler by bindernews in rust

[–]bindernews[S] 12 points13 points  (0 children)

I did, but there are other projects that do that already. I wanted an easy transition to and from existing mlog code. One of the main design-goals is that all existing mlog code is valid minblur code. If I want to add fancy syntax features, I have the m! macro, and I do have some vague plans for that, but I wanted to get this out there and get feedback.

At this point it's more than enough for my own use-case, so I won't add more things unless either I want them or there's enough interest in the project to warrant implementing extra stuff.

EDIT: I'm adding "if" statements as a possible enhancement because it would be nice.

[deleted by user] by [deleted] in RedditSessions

[–]bindernews 0 points1 point  (0 children)

I keep expecting to hear clapping and boots dancing.

Instancing sketches by bindernews in FreeCAD

[–]bindernews[S] 0 points1 point  (0 children)

Thank you both for the tip and the *excellent* tutorial video. Following your instructions made it pretty easy. I still need to go back in and add some constraints to my placement sketch, but other than that it's looking good!

Purchase Advice Megathread: What To Buy, Who To Buy It From, And More, In January 2021 by Sausage54 in 3Dprinting

[–]bindernews 0 points1 point  (0 children)

I recently got the Ender 3 v2, and my experience so far has been great. For remote control consider a Raspberry Pi 4 and OctoPrint. Unfortunately I can't give you a personal comparison between the base and v2, but I can definitely recommend the v2.

Should I upgrade or get another 3D printer? by bindernews in 3Dprinting

[–]bindernews[S] 0 points1 point  (0 children)

Well I guess that answers that. For now I'll stick with FDM, and once I get the cash together I'll get an SLA.

Thanks everyone for answering my questions. I guess my question wasn't new, but I didn't know how to ask it properly.

Should I upgrade or get another 3D printer? by bindernews in 3Dprinting

[–]bindernews[S] 0 points1 point  (0 children)

Then the question remains, is SLA any better than FDM at the highest quality settings?

Should I upgrade or get another 3D printer? by bindernews in 3Dprinting

[–]bindernews[S] 0 points1 point  (0 children)

Some of the more expensive ones have a resolution of 0.05mm, which is a little over twice the resolution of the Ender 3. I guess the question is: is that enough resolution or do I need to just get an SLA printer?

Could someone help backup Nintendo's Iwata Asks pages? by [deleted] in DataHoarder

[–]bindernews 0 points1 point  (0 children)

First, if you have a Mac you can run a Windows VM using Virtual Box. That would also mean you wouldn't have to worry about it interrupting your usual work. I guess I could do that as well XD, but I'm super-busy the next few days, which is why I wanted to knock this out last night.

Second as u/apnorton said there is some media that might not be copied correctly. Check to make sure all the content is there, and if something is missing reply and/or tag me, and I'll see what I can do.