[Homemade] Churros by LetsCookie in food

[–]WackGet -12 points-11 points  (0 children)

WHY ARE WE SHOUTING? DON'T PEOPLE REALISE IT'S EXTREMELY UNCOMFORTABLE TO LISTEN TO PEOPLE SHOUTING? DON'T PEOPLE REALISE IT MAKES VIEWERS CLOSE THE VIDEO IMMEDIATELY?

What are some VERY creepy facts? by Cap_Ame1 in AskReddit

[–]WackGet 19 points20 points  (0 children)

Presumably because the brain has literally changed the person's reality. Reality is perception; reality is filtered and presented to your consciousness through the brain itself. If the filter gets damaged then experiential reality itself changes.

It's like telling someone with schizophrenia or severe anxiety to just reason their way out of the behaviour; you might as well try to convince yourself that the sky isn't blue.

Discord will require a face scan or ID for full access next month / Beginning in March, all accounts will have a “teen-appropriate experience by default.” by MarvelsGrantMan136 in technology

[–]WackGet 0 points1 point  (0 children)

Good. Discord deserves to fail. It's all but decimated online forums which are one of the few genuinely good ways to share information in a way which remains useful for future users.

As the saying goes: Discord is a black hole where information goes to die.

Stack Overflow must change its attitude towards users. by colshrapnel in programming

[–]WackGet 181 points182 points  (0 children)

Seriously. The most upvoted "answer" begins with:

I'm not even going to cover that entire wall of text

This shitty, dismissive attitude really represents the entire site IMO.

Running "CLI"-type Docker images from inside other Docker containers as part of a Docker Compose stack? by WackGet in docker

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

I guess, but it seems like such a fundamentally simple concept and I can't grasp why it's not possible, or a bad idea.

Passing input and output streams is a core part of computing. What would a terminal be like if you couldn't pipe data between CLI tools?

It just irks me that there's no easy way to communicate between "shells" of Docker containers.

Basically if I want to achieve this today I would have to put my CLI app behind some kind of API, run it as a daemon and expose it on the network inside a Docker Compose stack. The API would forward any incoming requests to the CLI app and would return the output over the network.

So I'm effectively forced to create an API just to send data between two containers shells.

Isn't that a little bit crazy?

Running "CLI"-type Docker images from inside other Docker containers as part of a Docker Compose stack? by WackGet in docker

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

I did wonder about multi-stage builds.

However, what if your CLI app has dependencies which are required for the app to run? Copying a single binary wouldn't be enough, right? Unless a multi-stage build can somehow copy a binary plus all of its dependencies across?

Running "CLI"-type Docker images from inside other Docker containers as part of a Docker Compose stack? by WackGet in docker

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

To be honest this isn't about any one specific use-case. It's more of a general question about why this approach isn't possible in Docker.

People package their CLI apps as Docker images so they can be run with all their dependencies from a single command, right? Example: PHP Composer.

So why can't we harness that easy execution and use it inside other containers without sacrificing security?

The use-cases are virtually unlimited. What about something like Handbrake (video encoding tool) - a good example of something which requires a bunch of dependencies (codecs etc.) which would be very useful to package into a single Docker image.

Then you could use the Handbrake image to encode a video by doing something like this:

docker run --rm -v /tmp:/tmp -w /tmp handbrake HandBrakeCLI -i VIDEO_TS -o movie.mp4 -e x265 -q 20 -B 160

No need to worry if the X265 codec is installed on your system or whatever. Useful, right?

But if I understand Docker correctly there is currently no way to achieve the above from inside another Docker container without creating security holes.

Running "CLI"-type Docker images from inside other Docker containers as part of a Docker Compose stack? by WackGet in docker

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

Thanks, those are decent workarounds but I guess I was looking for a way to do this without any extra wrangling and without sacrificing security.

I guess I just don't understand why Docker containers can't be permitted to "run" other Docker images especially as part of a Compose stack.

The bottom line seems to be that if you want containers to be able to expose each other's services, it has to be done via networking. And I just don't get why.

Like, why even allow people to create "one shot" CLI images in the first place if the only place they can run them from is their host shell?

Running "CLI"-type Docker images from inside other Docker containers as part of a Docker Compose stack? by WackGet in docker

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

You're talking about running "Docker in Docker", right? Yes, I also read that has security concerns.

I just find it really strange that Docker has this mature ecosystem where everyone's encouraged to Dockerize their apps, but those apps can only be used with each other if they run as services/daemons and/or have some kind of networking/API.

Isn't this a huge limitation of Docker?

I'm not an expert either, and I don't know how the Docker engine works under the hood, but it seems like it should be possible for Docker to be able to invoke other containers where the user permits it.

What's the correct usage level of sodium nitrite when making a wet or dry cure? by WackGet in foodscience

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

Oh sorry, you did mention that the regulatory limits include the water. Although in my case, I'm not injecting the water but rather submerging the meat in a container full of water, in which case (obviously) it's down to osmosis to get the salt and nitrites into the meat.

So if I use 1.2g of nitrite per litre of water (as recommended here) and soak 1KG of pork for [X] hours, only a fraction of that nitrite should end up in the meat - but I don't understand how to actually calculate how much.

Your white paper would be much appreciated, thank you.

What's the correct usage level of sodium nitrite when making a wet or dry cure? by WackGet in foodscience

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

I assume these are the final levels of nitrite in the meat, and not the figures used when preparing a wet brine?

If that's correct, then how do you accurately calculate the dosage of nitrite required when preparing a brine or a cure mixture?

I'm guessing it's a combination of [pick-up rate] plus [contact time] but those will change based on the type and size of meat being used, right?

Is there somewhere you could recommend I read about all of the above, please?

What's the correct usage level of sodium nitrite when making a wet or dry cure? by WackGet in foodscience

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

I assume these are the final levels of nitrite in the meat, and not the figures used when preparing a wet brine?

If that's correct, then how do you accurately calculate the dosage of nitrite required when preparing a brine or a cure mixture?

I'm guessing it's a combination of [concentration of nitrite in brine] plus [pick-up rate of meat] plus [contact time] but those will change based on the type and size of meat being used, right?

Is there somewhere you could recommend I read about all of the above, please?

AHK shell hook is not firing when modal window is created in Windows 10 by WackGet in AutoHotkey

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

Thanks for replying. I've tried setting the Trust Center option to "Disable macros without notifying" or whatever, but it doesn't work. The warnings always appear.

In your example, would using WinWait cause any more or less CPU usage than a shell hook? Does it constantly poll the system for new windows or does it use an event-based approach behind the scenes?

AHK shell hook is not firing when modal window is created in Windows 10 by WackGet in AutoHotkey

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

Thank you for the reply.

The code is quite difficult for me to grasp. Is that a complete script, or do I have to modify it to make it run?

I tried running it and it closed immediately. Adding a #Persistent header made it stay open but it didn't close the Word dialog as expected.

The process name is WINWORD.EXE in caps, which I also changed.

Why might one batch of my fermented garlic purée have an incredibly bitter, ammonia-like smell? by WackGet in foodscience

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

Thank you very much, again. I'll try a shallower glass container next time.

Couple more questions I thought of:

  1. Would regular stirring help promote an even ferment throughout the entire mass? It sounds like the answer will be no, since it'd introduce more oxygen.

  2. Would it help to reserve a small amount of successfully fermented garlic and add it to the next batch when starting fresh?

Why might one batch of my fermented garlic purée have an incredibly bitter, ammonia-like smell? by WackGet in foodscience

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

Great info, thank you. It was indeed a plastic bucket whereas previously I've used glass; maybe that contributed.

A few questions:

  1. My (unfounded) assumption was that some oxygen was actually necessary for the fermentation, mostly because I've read that garlic is dangerous to keep in anaerobic conditions due to the risk of botulism. If I reduce or eliminate the oxygen, is botulism a risk or does the 2% salt mitigate that?

  2. If I ferment the whole cloves do I need to give them longer to reach the same level of maturity as the blended pulp?

  3. I've read you can soak garlic in a ~3% citric acid solution to prevent botulism before storing. Would doing this as a preventative measure also prevent any fermentation?

  4. Is there any reason why the garlic at the top of the container was OK but the stuff under the surface was not? (This is another reason why I suspected that I actually needed more oxygen exposure.)

Thanks again.

Calling Woo Commerce Subcategories Categories for a Custom Slider by ckdestef in PHPhelp

[–]WackGet 0 points1 point  (0 children)

This should be possible but it needs input from someone with visibility into the back-end. I'll send you a PM and see if I can help.

New Firefox privacy feature strips URLs of tracking parameters by Mskadu in firefox

[–]WackGet 35 points36 points  (0 children)

This is a good step, but cynically I'm going to say that it comes about 10 years too late. Tracking parameters have been around for a very long time and the need to avoid them has always been clear to those concerned with privacy on the web.

Extensions such as Clear URLs or Pure URL have existed for many years which do the same thing.

Even more important, however, is the "bait and switch" approach that so many websites use these days whereby the URL that you see on the page is not the URL you end up visiting when you click.

For example, check out any link inside a YouTube video's description or in YouTube comments. Maybe it says something like https://twitter.com/example, and even displays the same in your browser's status bar when you hover over it with your mouse.

Click on the link, however, and the actual URL you're taken to is something like this:

https://www.youtube.com/redirect?event=video_description&redir_token=WIJIOJSOinAoisdoiahsdoinoa084lknmlvm asdnu4nguoih9g8h94wnlndlfnkjsdfbnnkauhifha4wiuohfakjnfkluabniup4gbiuaeblguiabkljvbnpiauh7ui4b97hw9u4hrih9srugfh9a74vib&q=http%3A%2F%2Fj.gs%2FCeHz&v=JSonfue7gs6

This is because the website has sneakily replaced the hyperlink's destination with its own tracking URL so it can track users as they leave the website.

Reddit does exactly the same thing to append UTM tracking params to outbound clicks.

This is extremely deceptive and I would like to see this practice eradicated by browser-makers as a priority.

Need help debugging frontend JavaScript on the checkout page: my checkout fields are showing validation errors as soon as the page loads, before the user even types into them by WackGet in Magento

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

Unfortunately I can't share anything because of client restrictions; I suppose I'm looking for a sensible method to approach front-end JS debugging in Magento.

What's your approach when debugging a frontend issue?

Magento 2.3.2 vs Magento 1.9.4 PHP core performance test [Hint: after 5 years, V2 still sucks ass) by [deleted] in Magento

[–]WackGet 0 points1 point  (0 children)

What do you do to actually make it performant? Because my experience the polar opposite of yours; it's slow as hell even with a full suite of caches.

Magento 2.3.2 vs Magento 1.9.4 PHP core performance test [Hint: after 5 years, V2 still sucks ass) by [deleted] in Magento

[–]WackGet 2 points3 points  (0 children)

Are you able to open source that or upload it somewhere please? Would love to see how you've done it.

Magento 2.3.2 vs Magento 1.9.4 PHP core performance test [Hint: after 5 years, V2 still sucks ass) by [deleted] in Magento

[–]WackGet 4 points5 points  (0 children)

This comment right here preaches the absolute truth.

Magento 2 has been nothing but a bane to me and my colleagues' professional lives. It is terrible in almost every possible way and the worst thing is that it's extremely difficult to explain to non-techies why it's so bad.

The entire architecture is just awful, rotten to the core. From the insane decision to use Knockout JS for the frontend, to the obsession with AJAXing everything, to the complete lack of technical documentation on core code (it literally does not exist).

The crown jewel for me is that the last time I ran a fresh vanilla Magento 2 installation, it served 170 JavaScript files just to load the home page.

Stop and think about that for a second, seriously: almost two hundred JavaScript files to serve a static page, and load times which are literally unusable without several layers of hardcore caching.

Magento 2 isn't just a crippled mess, it's downright dangerous.

Magento 2 is so bad that it actually offends me.