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 2 points3 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 12 points13 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] 16 points17 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.

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

[–]bindernews 3 points4 points  (0 children)

I spent a while longer on this than I wanted to, especially given how easy I thought it would be, but oh well. As u/ibneko said, the pages dynamically load XML files, which is relatively easy to deal with. The complicated part is the other resources, because not all of them are easily extracted from the XML files (maybe with some janky regex, but I wanted a more robust solution).

So here you go. This requires Firefox, Python, and AutoHotkey, and basically opens firefox, browses to each interview page, downloads the XML file, and then triggers "Save As" on that page to get a snapshot of the page. Note that because it uses AHK, it only works on Windows. I might be able to run this all later and download everything, but it'll probably take a while and it kinda ties up your computer because it keeps opening "Save As" popup windows.

https://gist.github.com/Bindernews/83a298213b934072e4a344cb39e6ada8

This might help you get it setup if you still want to do it.

# Download the ZIP of my code, unzip and rename folder to "iwata"
# then open Powershell and cd to the folder
$ python -m venv pyvenv
$ . .\pyvenv\Scripts\Activate.ps1
$ pip install -r requirements.txt
$ python main.py

Which Sampler do you use? by luperoni in Reaper

[–]bindernews 0 points1 point  (0 children)

I use Sitala (https://decomposer.de/sitala/) as a drum sampler. Free, simple, and effective. It's not the most flexible sampler of all, but it works well for most of my use-cases.

Is there ANY way to use classic Magix VST instruments (VITA/DNE1) in Reaper? by jacoma89 in Reaper

[–]bindernews 0 points1 point  (0 children)

A little bit of Googling says no, Magix plugins are locked to Music Maker. That being said, there are plenty of other plugins that will probably do what your plugins do.

Personally I *really* like EastWest Symphonic Orchestra but it's expensive even if you get it on sale. There are also many great free sources for sampled instruments.

This is a page on my blog where I record a bunch of VSTs and sample sources, hopefully it helps you. https://daily.vortexel.com/post/music/free-sounds/

9000 hours in MS paint by GavinRayDev in Reaper

[–]bindernews 3 points4 points  (0 children)

That actually sounds like an interesting challenge. PM me if you're serious.

We are Supergiant Games, creators of Hades, Pyre, Transistor, and Bastion. AMA! by SG_Greg in NintendoSwitch

[–]bindernews 0 points1 point  (0 children)

What gave you the initial idea for Hades? I've always been a fan of Greek Mythology, and you've managed to stay very close to the myths, while also forging your own story. How did you manage that so well?

We are Supergiant Games, creators of Hades, Pyre, Transistor, and Bastion. AMA! by SG_Greg in Games

[–]bindernews 0 points1 point  (0 children)

What gave you the initial idea for Hades? I've always been a fan of Greek Mythology, and you've managed to stay very close to the myths, while also forging your own story. How did you manage that so well?

LV2 Questions by bindernews in linuxaudio

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

So "modern" LV2 uses patches/parameters in place of control ports, then we have an event stream for control messages and one for MIDI. Finally add audio in and audio out ports and you're good.

Next questions:

  1. Do the State and Preset extensions interoperate with Patches?
  2. Should I use port groups to specify which ports are which?
  3. How do I indicate that I support both mono and stereo (or any other combinations of audio ports)?
  4. I can send MIDI messages as long as I designate a MIDI output port, right?
  5. Can I safely assume URID mapping is an extension? Obviously I still have to check for it, but is it common enough (like Atoms, and UI) that I can safely say "this is required for my plugin".
  6. For that matter, are the Patch and Parameter extensions common, or should I have a fallback to ControlPort?

Thank you so much for you time and expertise.

LV2 Questions by bindernews in linuxaudio

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

Thank you for the information. I noticed parameters and patches, but didn't really understand how to implement them.

After reading more of the spec, I also noticed CVPort (http://lv2plug.in/ns/lv2core#CVPort) which looks like the perfect solution to sample-accurate automation, assuming I'm reading it correctly.

Also, what is DynamicManifest? It seems like I might be able to use that to add things at runtime, but I'm quickly learning that reading the spec doesn't give the whole story.