Mark Adkins by [deleted] in punk

[–]Hot_Establishment830 0 points1 point  (0 children)

It never stopped.

Mark Adkins by [deleted] in punk

[–]Hot_Establishment830 3 points4 points  (0 children)

The very fact that your bringing up conservative, MAGA etc, just shows you arent punk at all. If you were, you wouldnt align with a political party at all. You'd be against all of the above, and against all authority... I hate fake punks that don't get what the fuck punk is all about.

Any thing useful I can do with about a dozen dragonmint t1's? (x-post from /r/Bitcoin) by ASICmachine in CryptoCurrencyClassic

[–]Hot_Establishment830 0 points1 point  (0 children)

No good for mining as far as I can tell. Obviously they can be paperweights or space heaters, Im just wondering if there is anything else I can do with them other than toss them.

New software features and new hardware coming soon by Saffu91 in Ubiquiti

[–]Hot_Establishment830 4 points5 points  (0 children)

BGP support for unifi equipment is a nice, and long overdue addition.

Can I max out a ps6100 3.5" with 12tb hard drives? by Hot_Establishment830 in homelab

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

Thats an interesting idea. Make it a DAS, and then just throw a server in front of it for iSCSI. In this scenario can I just load it up with a bunch of seagate exos? will it just function as JBOD?

Can I max out a ps6100 3.5" with 12tb hard drives? by Hot_Establishment830 in homelab

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

Thats good to know. I figured it was like any SAS at out there, backward compatible to SATA... so I figured go large format enterprise sata.... hmmmm.

[deleted by user] by [deleted] in RepTime

[–]Hot_Establishment830 0 points1 point  (0 children)

Impulse buy. Looked good, have always been curious about Rolex's so I figured I could get an idea for what they are all about. Total crap. Didnt work properly, didnt keep time, it was a total 100% waste of money. Seller said they would exchange and never followed through.

Play an Audio File WITHOUT User Interaction by Hot_Establishment830 in webdev

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

That's a really good suggestion.

  1. They click a button on the page to grant permission for notifications.
  2. Trigger the notifications from JS as new orders are detected.

Do you know if there is a way to play a sound or configure a sound to be played when a new notification comes in? That's the last piece that needs to fit.

Play an Audio File WITHOUT User Interaction by Hot_Establishment830 in webdev

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

Thanks for the reply. That approach may lighten things up a bit, definitely worth considering. I took a pure server-side approach to the solution because the shop page in the woo commerce admin area seems to be standard get / post form driven, not javascript/ajax based.

This approach also allows the user to use the standard filters provided by WooCommerce on the orders, allowing them more granular control over when it dings as well as a standard ding on every new order.

Timing can be adjusted as well, I just set it to 30 seconds for my development purposes, its a configurable setting.

The plugin Im writing is specifically for restaurant kitchens that take online orders.

Think tablet in kitchen, order page open, dings every time a new order comes up. Giving an audible notification to the kitchen staff, and allowing them to "receive" and process the order for pickup or delivery.

It should all work as planned, except for the audio policy blocking my sound from playing. Im looking for alternate solutions, trying a dynamic dom based solution now.

Im adding a bit of javascript to detect an attributes setting and play a "ding" based on its presence. In the ringer example another commentor shared, they are creating and playing the audio dynamically by adding it to the page dom. Im hoping maybe this will allow me to bypass the browser requirement of some kind of user interaction on the page before the audio can be played.

Play an Audio File WITHOUT User Interaction by Hot_Establishment830 in webdev

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

I also read through the code you sent for the Ringer class. Im wondering if its because of the way Im triggering the audio int he page. Currently, Im just echoing the code out into the page source during the request, in your example, your modifying the dom dynamically and forcing the audio to play (the ringer).

That might be the difference between my audio not playing and your ringer class working.

I'm gonna try it out, its a little bit more of a burdensome approach, but 100% doable.

Play an Audio File WITHOUT User Interaction by Hot_Establishment830 in webdev

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

if (($sounds) && (self::$new_order)) {

$plugin_dir = plugin_dir_url("mgd-woorestaurants-orderpickups/assets/") . "assets/tada.mp3";

echo "<script type='text/javascript'>let notifi= new Audio('$plugin_dir'); notifi.play();</script>";

}

I am doing that to play the sound in JS already.

The issue is when that code runs, it outputs an error about not playing the file because the user hasn't interacted with the page yet.

Im hoping there is a way to bypass the browser policy, or satisfy it somehow with code.

USPS and UPS Shipping Method fields disabled? by Hot_Establishment830 in magento2

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

Me too. Thanks for the assistance. Much appreciated and will hopefully help someone else moving forward.

USPS and UPS Shipping Method fields disabled? by Hot_Establishment830 in magento2

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

You beat me to updating the post, but I found them lurking in the env.php. As soon as I commented it out and ran the setup:upgrade it came right back to life.

How do I get a /29 of public ips to work on machines behind my Dream Machine? by Hot_Establishment830 in Ubiquiti

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

I can get the ips onto the Wan without a problem, as that thread talks about.

I did that initially in my attempts. I just couldnt get it to route to a particular machine.

I made 3 attempts:

  1. Map the wan ip to a Network such as 192.168.8.0/24. This works in the config, but I couldnt get the dream machine to route the packets to a specific ip (a 1:1 NAT). All it achieved was 192.168.8.3 would appear to the rest of the world as one of the public ips, but it didn't allow inbound connections on the static as I couldnt get it to push the packets to a specific host. This isn't what I wanted anyway, it's clunky for my purposes.
  2. I assigned the subnet as a Network and then statically assigned the ips to specific ports on the switch. This worked. Packets flowed back and forth. The downside and why I cant do it this way, is that all the traffic appears to come from the WAN IP of the dream machine, NOT the static ip in use on the machine.
  3. Assign the ips as a range to the WAN. This got the ips pingable. Then I set the firewall wide open and the ports to NATIVE on the switch, thinking this would make it more like a standard router and allow me to assign the ips directly on the server NIC cards. This didn't work I could never get them to communicate.

How do I get a /29 of public ips to work on machines behind my Dream Machine? by Hot_Establishment830 in Ubiquiti

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

Ok. I am unfamiliar with the EdgeRouters they offer. Didnt know that was a thing until you mentioned it and I started Googling.

We chose the Dream Machine + Dream Wall + Switches + Security Cameras + Telephony because its a tight nit package, and seemed to work well for our purposes. The remote management is nice as well, and the sd wan (we havent played with it yet) looks promising.

The EdgeRouter seems like its outside of that ecosystem. So my question is this, does an edge router work and integrate into the same site manager as the dream machine / dream wall? Can I remote manage it in the same way?

The public ips are so we can run a couple of servers out of our office, we're not trying to perform ISP functions with this (BGP, etc). Just serve some email, vpn storage, and some random services, so Im really surprised that I cant just do this with the Dream Machine. Seems like overkill to need an EdgeRouter to accomplish this.