20000 forum users - Awesome Special Event!

Who approved the voice dubbing in this movie :stuck_out_tongue:
And that intro :rofl:

3 Likes

I’m not good at it, however, won’t this decrease the speed of the USB port, due to you’ve combined multiple ports into one?

Some USB hubs also have external power in case the one the USB port provides isn’t enough for the peripherals. If the customer doesn’t have any peripheral that consumes too much (and the hub is connected to an USB 3.0 port) it should be also fine to split the load in many USB devices.

5 Likes

I think Fengfengfengfeng was more concerned on data bandwidth of multiple devices sharing one port than the current

3 Likes

this is a strange use of a font

3 Likes

I already have Krita on my machine, but I’ve never tried painting with it - just sketching with a stylus, which didn’t work well. A pressure and tilt sensitive pen would change that, but I’ll probably need to work directly on a screen, so it’s going to be expensive. I can do everything I need to on paper for now, so it isn’t crucial anyway, but it would be good to open up more options.

1 Like

You don’t need any software - draw by hand on paper and let the AI ​​make something more modern out of it…like

1

4 Likes

So apparently if you put a return statement at the end of a PHP if statement, PHP decides to just not work and not return an error for some unknown reason.

I think you can guess how I know this

4 Likes

@Greenreader9
interesting, can you post an example of this PHP please
i would like to see the exact construction of this, thanks

3 Likes

A tiny test didn’t show me the issue you faced though


1 Like

Anything after the return statement, sorry, should have clarified.

I basically did:


php code 1

require_once ‘a.php’

php code 2

a.php has if(x==y){return x;}


only php code 1 and everything in a.php before the return statement gets executed.

3 Likes

The expected behaviour is that PHP code 2 also executes, and anything after the return in a.php doesn’t execute, which is the case for me.

Read more:

Issue is more likely to be within your code, not PHP.

2 Likes

I’ve recently figured out a way to identify whether a hosting review site writes junk paid reviews or possible genuine reviews.

The first and the most important step is to try your best to find a review in that site talking about hosting in China.

Then just look at the list below. 1 fail criterion and the site writes junk reviews.

FAIL CRITERIA

  • Mentions A2 Hosting. A2 Hosting is not a valid hosting solution in China, granted that their official site takes forever to load.
  • Mentions Hostinger. Hostinger is not a valid hosting solution in China, granted that their official site takes forever to become responsive.
  • Include Mumbai / Singapore / any other Asia locations as datacenter advantages. Due to the special topology of the Chinese Internet, distance is not the decisive factor here.
  • Include Hong Kong as a datacenter advantage without mentioning the connection type. Regular Hong Kong server is just as bad as any other server.

Then we have success criteria. Site that doesn’t meet with all criteria below should be taken with caution.

SUCCESS CRITERIA

  • Mentions Alibaba Cloud. No Chinese hosting list is complete without Alibaba Cloud. (Be aware of the fake alibabahost.)
  • Talks about ICP.

I find it kind of accurate. The biggest mistake those junk sites did was probably writing a Chinese hosting article :rofl:

3 Likes

Huh, interesting finding.

You would expect that PHP just returns x and continues in code 1. But if the return statement is only hit sometimes, maybe that confuses the compiler as to whether a.php should return any value, and ends up choosing the wrong behavior for the return statement?

3 Likes

Maybe?

The way the if statement is configured, it will always be hit unless the code before it in the calling file errors out in a certain way that creates a custom log entry (Which it did not do, as there is no error log).

What’s weird is that the docs say “If the current script file was included or required, then control is passed back to the calling file. Furthermore, if the current script file was included, then the value given to return will be returned as the value of the include call.”

Since the if statement is right at the end of the a.php file, all the variables that were defined should be passed back to the calling script. However, it seems as if everything just stops, as

  1. If the variables were not defined (Like the return statement is noticed before execution and cancels the include call), an error would be thrown and a custom error log entry would be created. That does not happen

  2. If the variables were returned, an action would be taken, which also did not happen (And I know the code of this action works since the action runs correctly once commenting out the return statement).

So I’m honestly not sure what is going on, although it’s also entirely possible I have something else setup / configured in a way that is overriding something.

2 Likes

Those AI pictures are horrific.


I did get this out of Microsoft’s AI though, which is closer to what I need for my book. I’ve been using it to get ideas about how to handle parts/aspects of pictures that I don’t know how to tackle, and in particular with pose when drawing people, so it’s a great tool for learning how to draw/paint.

2 Likes

I have to say admin is really clever. After a while I visited IF dashboard on Via browser which has adblocker built in, and im surprised, “why i still have ads?”


Looked at where the ads go to, “this looks sketchy.”
IMG-20240909-WA0000
Turning my attention to network log, “what the heck is html-load.com?”

Turns out it’s an anti adblock solution, where if you block that and css-load.com domain, the entire page will break. And there’s only 3 places mentioning it.

https://www.reddit.com/r/uBlockOrigin/comments/188khmu/site_breaks_with_error_unless_ad_domain_is/

Yikes.

5 Likes

Yeah I went down that rabbit hole myself, then dove into finding the company behind it and how blocking it works :joy:

4 Likes

Yes, the html-load.com is part of an anti-adblock solution.

Yes, it looks kinda sketchy. The thing is that the sole purpose is to fight ad blockers, who will try to go through great lengths to make sure it cannot serve ads. If it was more transparent, or less intrusive, it would be much easier to block.

And yes, ad blockers say it’s nefarious and it’s the anti adblock that’s breaking the page, and not them. But of course ad blockers just want to block ads at all costs, and any attempt by website operators to make the website work like the owner intended it to is evil and dangerous.

But the reality is that if you view the page with any unmodified browser, it works just fine. It’s only when you start adding content filtering in your browser, then it breaks. So I think it’s hard to argue that the anti adblock is breaking it when it’s not broken if ad blockers don’t start mucking about the code.

Saying the anti adblock is breaking the page makes about as much sense as installing Darkreader which rewrites all the CSS and then complain all text is unreadable.

3 Likes

I am now utterly lost and am going to waste the next 3 days on this issue. Apparently removing the return statement breaks the entire system without throwing an error message, and leaving it there breaks part of the system without throwing an error message.

I am in for a great time of debugging is the only thing I can say with confidence

2 Likes