Jump to content

Garacesh

Members
  • Posts

    16,316
  • Joined

  • Last visited

Everything posted by Garacesh

  1. Ah that's OK then @Knil92 - then I was making it way more complicated than needed to be on the assumption it needed to be sequential rotation. As a rule, random's always easier, 'cause it doesn't need to track where you're at currently.
  2. Ah, but isn't that a random url, not sequential rotation?
  3. Nonono. From my (very limited) knowledge of PHP, it works like this: You set up a webserver server to use PHP. You make a page with a link (Click me!) When a user clicks it, their web browser loads the PHP script. The PHP script does as its told, and generates a the next link in the sequence (how you do that, I don't know, but I know it's possible) The PHP script then presents its finished HTML to the browser and the browser loads it like a normal web page. This page would, if you viewed its source, just say , because that's how PHP works. They wouldn't see the script, they only see the result of the script.
  4. Basic idea: Have a static HTML page that points to another page, such as url/subdir/HREFrotator.php, which has a PHP script to rotate the redirect. The HTML to redirect is: (Where ## is after how many seconds) So if you make the PHP script generate a different line of code each time, you're golden. It just has to pick from Etcetera Then it serves that line of code as its own HTML page (possibly with some thrown in for good measure) and redirects them to where you want them to go. This solves your issue of 'every time the link is clicked' because it then you don't have to worry about the what if the page is loaded, it moves to the next url, but then the link isn't clicked, since the script is only called when the link is clicked. Does that make sense?
  5. Then yes it's possible. I'm not very good with it personally (I'm more of a CSS guy, I never really put in the time to learn PHP..), but yes, that's definitely possible with PHP. In fact, it's the very way a lot of static ads on websites are generated. Probably worth starting your search there, see if you can find some random-ad scripts and adapt them.
  6. If you want each link to constantly be the same for each user (User A always gets Site 1, user B always gets Site 2 etc), you're going to need some kind of challenge-and-authentication mechanic to determine who they are first, and then I'd suggest you'd be right in thinking you can use PHP to make it happen. If you want a link to rotate between fixed urls each time the page is loaded independent of who loads the page, that's probably possible with just PHP on its own. Sounds like you're over-complicating things, though. What is it that makes something like a bookmark/favourite/shortcut unacceptable to these users?
  7. Especially if you've got small SSD's, rapr was a lifesaver for me. Turns out RealTek installs loooots of versions of their audio drivers, about 5 different versions. I used it to delete all of the older versions (which came to about 22 gig!!)
  8. Garacesh

    Gaming Chat

    Never 'eard of it, but hey it's a free alpha, so might as well give it a bash.
  9. Garacesh

    Gaming Chat

    Picked up Black Desert Online (8 quid, worth a punt.) along with @bushby and @Mewdewgooboofoo Seems alright so far, but the dialogue menu is pretty rubbish.
  10. Ditto. How did I not know this was a thing?! ty @Mic_Impero
  11. Fair point, but, she didn't fall in love with a black guy, she fell in love with him. A relationship between her and some other joe-bloggs-black-guy would've been fine (she still would've been lower-class just for being dark-skinned though), but the heart wants what the heart wants. Well he did hold her hand, then let go when other people (judgemental white folk) saw. Maybe she just didn't feel he would've stuck by it, or maybe it was the loving-sacrifice type of thing ("If you love it, let it go" type thing, like "I love him, but if he's with me he'll be reduced to scum and I couldn't forgive myself for doing that to him.") Covert and overt sociological demands of conformity can be an incredibly powerful influence over people.
  12. Correct, the real P.T. Barnum treated his acts incredibly poorly. I got the impression that it was more to do with the fact that he was white and she wasn't. I figured it was a racism thing.
  13. Reimaging a faulty AppleTV that stopped showing up on the AirPlay menu, it happens every now and again, no big deal, just Restore, reconfigure, job done. But this one's deciding to play funny buggers with me. If I try to Prepare the device1, or add a Blueprint2, I get the following error: Edit: It appears that attempting to add a profile is what triggers the error Launching iTunes does absolutely nothing, just displays the U2 album Apple decided everyone had to own a while back. No "Hey there's a device plugged in" etc you usually expect (or that I've come to expect from iPads) If I plug the AppleTV into a monitor, I can play around in the settings and I don't see any kind of mention of a previous account (whereas for example with iPads it won't let you do anything until it's been unlocked by the old account. I'd expect similar functionality here if it were actually activation locked.) The thing is, these AppleTV's have never had an account associated with them, and they've always been set up via Configurator 2, so they shouldn't be activation locked at all. Is this some quirk of the latest tvOS? Or has someone mucked about with it and tried to associate an account with it? 1: I don't recall if I'm supposed to prepare these or not, it's been a while since I've had to do it, but.. 2: I definitely know I always use the Blueprint, so that should work regardless.
  14. Garacesh

    sea of thieves

    I'm finding out that you gotta sign up on the Sea of Thieves site to be an insider, and then download the XBox Insider app from the Windows store and a bunch of other faff. Instructions here: https://support.seaofthieves.com/hc/en-gb/articles/360000081387-Scale-Test-Install-Instructions-PC-and-Xbox-
  15. Garacesh

    sea of thieves

    A friend of mine just messaged me on Facebook, apparently there's another beta coming up. There's another Sea of Thieves beta-style Scale Test happening this weekend • Eurogamer.net
  16. Garacesh

    Hunt Showdown?

    Never played any Red Dead Redemption, but I was quite fond of The Division, y'know, up until it got infested with hackers and poorly optimised code... Gonna have to give this one a look-see.
  17. I don't think I've seen somebody in a mackintosh since my grandparents when I was about six.. Also X just stinks of 'We needed an X, and Xylophone was too obvious.' lmao. We could go with 'Xenophobia'? We've always been pretty good at that. I, O and Y are pretty poor, too. But overall I like the idea. If we were going to go with the things we're known for worldwide, it'd probably be Asbos, Boris Johnson, Chavs, Drinking excessively in Magaluf....
  18. In short, I think it mostly stems from 3 causes that all add up. It costs too much There's barely any games Most people don't actually care It costing too much is a humongous barrier to entry. Not only does the Oculus Rift cost £400 (and the Vive around £650 last I checked), the price of GPU's are still sky-high because of the Cryptocurrency boom. The cost to actually build a VR-capable PC is huge right now, probably about 2K minimum (assuming you need to buy monitor/peripherals too). That's a lot of money for, let's be honest, not a lot. Which brings me to my second point of there being no games. There's some, yeah. Elite has VR which is cool. The guys behind Serious Sam gave the VR edition away for free on Steam. There's VRChat. There's Euro Truck Simulator. And then there's.. well, that's about it. To the average gamer who doesn't actively follow VR, VR just doesn't really offer them much. Which marries nicely in with my third point: Nobody cares. Which sounds harsh, because the technology is incredible and I think it's awesome that VR at home is a thing.. But it's still basically just a gimmick. A lot of houses don't have the room for a VR setup because houses are tiny and people own furniture. VR is passive-cool. The kind of cool where you go "Huh, neat." and then move on. Mass-adoption will require considerably more advancement of the tech itself, and a considerably lower dent in the wallet to get involved. And those two things are polar opposites for now.
  19. I've just tested it with Google's own regex test, and it turns out it does accept .*? (?i)(^((ABC-Students-)(.*?)@yourdomain.gtld)) works. Literally matches abc-students-ANYTHINGEHGIWEHG£W(T"£HTG"W([email protected]
  20. Is it not more like a Highway?
  21. I've found - with G Suite mailing rules at least - that you don't need to escape periods. Perhaps this means .*? won't work, as they might just ignore that as a special character. Edit: Ignore the previous. According to regex101, [ ] only matches one character.
  22. Garacesh

    Gaming Chat

    Is the casino the one with the walking ATM's? I was watching my housemate as she first entered that one and we both just burst out laughing.
  23. I guess we are. Does it Break Your Little Heart?
  24. Oh yeah I completely get that. My point is there's probably no reason to actually upload the class-list groups if you get Salamander to sort out all the Classroom stuff itself. Just blocking year group lists is easy, you can either just add them individually with something like (?i)(^([email protected])) or by a broader regex if you can get them all using the same naming convention, such as (?i)(^(year(7|8|9|10|11)@yourschool.gtld) When setting mailing list rules I'd recommend you use the Caret (^) for matching emails, as it denotes the start of a string. Probably not so useful in this context, but a bit more useful when you might be doing [email protected] and then you've got a user like TannerE
  25. Not really. You only need to add those mail rules if you upload the groups to Google, which you don't need to do. Salamander creates the class/form/etc groups in our AD and adds the relevant pupil accounts (MemberOf) to those groups, but those AD groups don't get matching Google groups created for them. Nobody can email them because the (Google) group doesn't exist. There's no mailing list to send email to. You can control which groups get synced with the cloud via your Google sync tool of choice (I use Google Cloud Directory Sync) and LDAP filters. We have Salamander append all the groups they create with s-, so for example, the LDAP query (&(objectCategory=group)(cn=s-Year*Students)) uploads the Year 7, Year 8, etc groups, but the class groups (eg, s-102-CS1, which I think is Year 10 Computer Studies) don't get matched. Salamander still does all the Google Classroom stuff without the groups getting pushed to the cloud.
×
×
  • Create New...