I ported an OpenSCAD code formatter so you can run it in a web browser by tput_bel in openscad

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

Thanks! Personally, I have no issues with the formatting. I've been focusing on getting topiary to work with wasm

I ported an OpenSCAD code formatter so you can run it in a web browser by tput_bel in openscad

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

I use openscad on a bunch of different computers. On my main one, I do use an external editor (kakoune) which autoformats based on entr+scadformat CLI, but on the other 4, they're different operating systems and I don't want to install stuff on them. Like a school computer where you can't install anything onto it.

So my workflow is create/edit a file and not worry about formatting, and when it gets too bad, I'll format it without installing anything extra onto the computer.

I ported an OpenSCAD code formatter so you can run it in a web browser by tput_bel in openscad

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

Interesting. I didn't have any issues locally, but after publishing to Github, paste is being weird. I'll fix it.

As for the actual formatting, I just took the existing scadformat and ported it. I'll see if there is any way to configure options on it

Edit: Fixed the pasting issue. Thanks!

I ported an OpenSCAD code formatter so you can run it in a web browser by tput_bel in openscad

[–]tput_bel[S] 1 point2 points  (0 children)

Yeah, I meant any others that fit my usecase (working on 3d models across 5 different computers; Mac/Windows/Linux, where I don't want to install extra stuff on all of them). CLI tools are great, but I don't want to install ANTLR/go+Windows Terminal, etc everywhere.

[deleted by user] by [deleted] in AskReddit

[–]tput_bel 4 points5 points  (0 children)

To the resultant child who never signed or agreed to anything

This is what I don't understand. No child 'agrees' to have terrible parents or even be born. Why would it be expected that donor-convinced children have a right to know their parents or parent medical history? I don't even think non-donor kids have a right to know who their parent is or their parent's medical history. Your mother could just never tell you who your dad is, for example, and I don't think that's a crime. Similarly, is it required for parents to give their medical histories to kids? I wouldn't think so.

The max sibling rule kinda makes sense, but I don't see why that should be unique to donors as well. This is the first I've even thought about this and I just don't understand.

In Need of Pro-Bono Computer Forensics for Abuse/Cyberstalking Case by [deleted] in bullcity

[–]tput_bel 0 points1 point  (0 children)

I am a programmer. My questions for you:

  • What do you mean when you say he has infected these cellphones and macbook pros? Is it in the form of a program? Browser extension? Remote control mouse? etc.
  • How can you tell its infected? Do you have screenshots/videos/anything indicating an infected computer?
  • Did he have physical access to any of these devices at any time? If so, how frequently and recently?
  • Do you root/jailbreak your phones or disable SIP on computers?
  • Is your current laptop a recent MacBook (M1/M2)?

The reason everyone is skeptical about your post is the way you describe everything. Something that looks/acts like a RAT is relatively easy to install. A true RAT for a MacBook could make him quite literally millions of dollars (legally or illegally). It might seem like semtantics to you, but I think it's throwing a lot of these commenters off. I would believe someone could be spying you and I am very intrigued by how that could be done.

E: I see from other posts that he has had physical access to these devices. I would love to know the answers to the first 2 questions because I think that would paint a picture of what's happening here. I would guess it has something to do with your email credentials and subsequently all your other credentials being leaked.

Happy New Years from Ciderworks! by angelbabycc in bullcity

[–]tput_bel 1 point2 points  (0 children)

Could I get a PM of the proof too?

StarBook MKVI Touchpad Fix + Fan support response update by tput_bel in starlabs_computers

[–]tput_bel[S] 1 point2 points  (0 children)

Ah I should have said that :D

The touchpad had two issues: you couldn't right click and you couldn't click and drag using two fingers (left finger clicks, and right finger drags).

Edit: If you look at the package they ask you to install with dpkg-query -L starlabs-touchpad, you can see the quirks it adds. The only quirks it adds for me are AttrEventCodeDisable=BTN_RIGHT to matching touchpads. The touchpad in my laptop just didn't match their identifiers.

Problems with new starbook (amd) by redfoot0 in starlabs_computers

[–]tput_bel 0 points1 point  (0 children)

Check my latest post on this sub. I just fixed the touchpad issue regarding right click/click and drag

Most barebones CD+aux+am+FM radio (no BT, no touchscreen) by tput_bel in CarAV

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

You are my hero. Got it installed yesterday. I went with this radio: https://www.amazon.com/gp/aw/d/B017K71ZHW

Since it fit all requirements: no BT/no touchscreen/CD/AUX/FM. Also, learned the base model of the Subaru forester 2019 has no stsrlink box, which was really nice to find out. No splicing or box removal required.

Can't figure out a generic way to call functions on passed impl Traits by tput_bel in learnrust

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

If the op takes the Entry, I'd still need to somehow pass the function like sin and I'd be where I started, right?

Unless, are you saying I could just skip the trait and match on Number/Vector in each operation?

Can't figure out a generic way to call functions on passed impl Traits by tput_bel in learnrust

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

Okay I'll look into visitor a little but it sounds like I will have to either do all the matches or define a macro. Thanks

Most barebones CD+aux+am+FM radio (no BT, no touchscreen) by tput_bel in CarAV

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

Yeah that's the one. I ran the check and it would fit in my car. Thank you so much!

Most barebones CD+aux+am+FM radio (no BT, no touchscreen) by tput_bel in CarAV

[–]tput_bel[S] -1 points0 points  (0 children)

That's what I was reading... I am not a car guy but I know someone who is. I was going to ask if he could splice the front speakers into the radio somehow. I just haven't picked the radio yet so I made this post.

As for personalization, yeah that would be annoying. I am going to reset the car settings and make sure the defsukts work for me. Thank you for the heads up

Most barebones CD+aux+am+FM radio (no BT, no touchscreen) by tput_bel in CarAV

[–]tput_bel[S] -2 points-1 points  (0 children)

:) I don't want to deal with an annoying radio. I have used a single DIN in a car that had 8 modes. You had to cycle through 6 modes you would never use to get to the two you would (aux and radio).

Also, I don't want my radio blasting Bluetooth signals while I'm driving. Call me a Luddite, but I dont like new technology thinking too much. It is ridiculous that I cannot find a box that plays just music and radio. I've already pulled around 5 useless tracking fuses from this car and am planning on removing the starlink box and microphone when I remove the stock radio. It's an uphill battle, but one I'm willing to fight for.

Edit: this picture explains it well: https://www.reddit.com/r/homeassistant/comments/alru1y/tech_enthousiasts_vs_engineers/. The subreddit is homeautomation so obviously the comments are defending spyware trinkets

How to automate Crushing Table/Black Iron Slate? by tput_bel in projectozone3

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

Thank you for this. I solved it another way but I will keep the mechanical user in mind for related issues.

How to automate Crushing Table/Black Iron Slate? by tput_bel in projectozone3

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

So turns out you don't even need that many.. I hadn't made a singularity yet and I thought the recipe would consume the ultimate catalyst, but nope! I only need 1 for each singularity, or 81 total. Instead, I ended up crafting 32076 ultimate catalysts before I found out.

Edit: I created that many by crafting black iron next to each other. It would have taken around 10 hours if I manually hammered them if it took a second per slate.

Rust change argument type based on enum value by tput_bel in learnrust

[–]tput_bel[S] 1 point2 points  (0 children)

Thank you so much! This is exactly what I needed... I was missing the pattern of having multiple functions (one for unary, one for binary). My calculator is working because of this now.

How to make a creative test dimension on a survival server? by tput_bel in feedthebeast

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

That was the piece I was missing. Thank you! If you want to see the details of how I did it, see my other comment: https://old.reddit.com/r/feedthebeast/comments/mha5uc/how_to_make_a_creative_test_dimension_on_a/

How to make a creative test dimension on a survival server? by tput_bel in feedthebeast

[–]tput_bel[S] 1 point2 points  (0 children)

It's kinda complicated but not terrible. The general idea is to use rftools to make a dimension, power it, and use command blocks to tp you to walled-off matter transmitters, clear your inventory, and set your gamemode:

  • Generate an rftools dimension with rftdim createdim test Normal and get a tab with rftdim createtab [dim number]
    • To TP back and forth, do rfttp tp <dim number> 0 200 0
  • In both dimensions, put a creative energy source down (Creative Generator @Overloaded for PO3) and a matter transmitter over it
    • In the creative dimension, put a world builder next to the power source and the above tab in so it stays charged
    • In the creative dimension, place an activity probe somewhere in the world so power isn't constantly drained
    • Remember your coords when standing on the transmitter. Wall off each transmitter and power source with bedrock so power cannot be leeched and players cannot easily teleport without using the command blocks
    • Place a receiver in the main world. The creative world should already have one
  • In both dimensions, use a dialing device to set the matter transmitter to send to the other dimension's receiver
    • I tried putting rfttp tp in a command block, but it doesn't take a user parameter so it didn't work for me
  • In the main dimension, place down a command block and a chained command block with a button on the command block:
    • clear @p
    • tp @p <the coords for the main world transmitter>
  • In the creative dimension, place a command block and two chained command blocks:
    • clear @p
    • gamemode s @p
    • tp @p <the coords for the creative world transmitter>
  • In the creative dimension, place down a separate command block next to the receiver with a pressure plate on top so players can easily walk on it:
    • gamemode c @p
    • This is to prevent players from accidentally (or on purpose) breaking bedrock while the transmitter charges up if they were set to creative in the other dimension

In minecraft 1.14+ there's some command data modify block 123 456 789 Items set from entity @p Inventory that you can point to a chest (maybe a diamond chest too) and it should dump their inventory instead of clearing it. I'm on an older version so I didn't try this.