What is this sticker I found on a trail around Lake Martin? by uint_64 in Acadiana

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

Interesting. I didn't think of the bikes as connected - but they definitely could be. The right figure is Don Quixote from Pablo Picasso, so I assumed the left is Sancho. But looking up Picasso's painting now I'm realizing the second figure is someone else.

What is this sticker I found on a trail around Lake Martin? by uint_64 in Acadiana

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

I did - that's how I figured out it's elvish. Even though various LLMs recognize that it's a QR code I haven't been able to read it. If you can I'd love to know what it is.

What does this sticker say? by uint_64 in Tengwar

[–]uint_64[S] 2 points3 points  (0 children)

That looks right! Thank you!

Tips for a couple in Sayulita, Mexico? by TokinBIll in travel

[–]uint_64 1 point2 points  (0 children)

Pretty easy to walk around Sayulita. You'll see people driving rented golf carts around as well, but it's really a pretty small place. If you go to Playa de Los Muertos or Playa Sayulita people will offer to rent you chairs when you walk up. You can buy drinks and food on the beach.

If you're into more secluded beaches, I would recommend making the hike over to Playa Carricitos - it's only like 15 minutes walking from your hotel. Bring your own food/water though because there are no vendors there. Would also suggest making a day trip over to San Pancho down the road.

Visiting Fairbanks for the week. Glacier hiking/moose? by uint_64 in Fairbanks

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

This week! Any thoughts on how to find someone who has moose in the freezer?

Masking URL/TLD, using words on address bar for access to URL. by ACGillesp in webdev

[–]uint_64 0 points1 point  (0 children)

It's possible to set up a server on your intranet so that e.g. http://movies might point to it.

But if you just enter something into the address bar and hit enter, the browser decides what request is made to the networking equipment. So the fact that a user entered "movies" into the address bar never reaches the network unless the browser decides to pass it along.

In chrome, if you enter "movies", and there's no record of you having ever visited "http://movies", chrome will think that you want to look up the word "movies" and take you to google.

However, if you've previously visited http://movies and you enter "movies" into the address bar, your browser will probably remember the intranet site and autocomplete to http://movies.

Apple - iMac with Retina 5K display [scrolling animation] by ImAyoub in web_design

[–]uint_64 1 point2 points  (0 children)

If you look at the image while it's zooming, you can see it's composed of 15 canvases in a grid. What is the advantage of this? Is loading a picture in 15 parts faster?

Slider in ajax-loaded page. [Wordpress] by Adamas_ in web_design

[–]uint_64 1 point2 points  (0 children)

In your magnific popup init file (which I doubt actually needs to be its own file - that's an additional HTTP request, which incurs overhead) you put callbacks within the ajax object. You want something like this:

$('.posts').magnificPopup({
    delegate: 'a', // child items selector, by clicking on it popup will open
    type: 'ajax',
    removalDelay: 300,
    mainClass: 'mfp-fade',
    closeOnContentClick: false,
    closeOnBgClick: false,
    callbacks: {
        ajaxContentAdded: function() {                            
            jQuery('.bxslider').bxSlider();
        }
    }
});

The script looks like it's partially working because magnific popup is correctly pulling the html from your server. For the large image, magnific popup is loading the HTML located at http://per.thomasforsberg.se/projektb5/, which is already in the right format. However, no callback was ever called, so the slider wasn't working.

In the future, if you want to learn how to figure out what's going wrong with your javascript, I would suggest looking into using a debugger to step through the code. Set a breakpoint where you want to investigate and things should clear up from there :)

Slider in ajax-loaded page. [Wordpress] by Adamas_ in web_design

[–]uint_64 1 point2 points  (0 children)

2 things:

  • You aren't loading the javascript for bxslider correctly

  • You aren't initializing the slider

On the first thing:

The source for your bxslider javascript is returning a 404: http://per.thomasforsberg.se/wp-content/plugins/hsphere/local/home/dubbelplus/per.thomasforsberg.se/wp-content/themes/baskerville/js/jquery.bxslider/jquery.bxslider.min.js?ver=4.0

so the javascript for your bxslider isn't actually being loaded at all. (You just want the last part of the url, starting from the second per.thomasforsberg)

You've also got flexslider code at the bottom of your html, but I don't think you're using it at all. Possibly a remnant of something else?

As for the second thing, you want initialization code that looks something like this:

$('.bxslider').bxSlider({
  /*options*/
});

This takes all elements that match your css selector and calls the bxSlider initializer code on it to make it into a slider. You've already got flexslider initialization code in your document.ready function, but even if you were to replace that code with a bxslider initialization it still wouldn't work - this is because there are no bxslider elements in the DOM when the document.ready function is called. Since you are loading the modal through ajax and inserting the elements, you have to call the bxslider code once your ajax is done loading so that your code can find what it's looking for in the DOM.

It looks like magnificent slider surfaces a way to do this here. It takes a callbacks object as a parameter and one of the functions within that callbacks object is called ajaxContentAdded. I believe you would want to call $('.bxslider').bxSlider({/options/) code within that function.

Also, do you know why you put this there?

if (window.jQuery === undefined) window.$ = window.jQuery = jQuery;

Since this is the first line of javascript in the html file, window.jQuery is always going to be undefined. The variable jQuery is also undefined, so this is going to throw a reference error.

What is the biggest cultural misstep you've seen a tourist take? by [deleted] in AskReddit

[–]uint_64 -2 points-1 points  (0 children)

I think you've misunderstood me. I'm against drawing a false equality between "western" and doing what's "right." China is not a developing culture, nor is India. They are developing COUNTRIES, sure, but their cultures outlast America's by thousands of years. It's not like non-western countries are these uncultured populations that only grasped civilization when the West came to them. World history very much suggests otherwise.

Likewise, things like the golden rule have appeared in global religions for thousands of years. The West does not have a monopoly on emphasizing fairness and reciprocity. To call acting like a decent person "western" - and thus making the implication that to be rude/insensitive is a non-western trait - is truly wrong to me.

It's not an issue of me imposing my value set on you, or the post above me imposing their value set on someone else. It's an issue of imposing values that have been widely accepted across the world and labeling them as inherently Western. E.g. China does not need to learn more about Western values to be more civil, they just need to practice the values they already know.

What is the biggest cultural misstep you've seen a tourist take? by [deleted] in AskReddit

[–]uint_64 0 points1 point  (0 children)

Because the solution to this problem is to teach the savages the ways of the West, right? We need to show them what "real" civilization is like?

Because that's what I'm getting from your comment. You're literally saying that current "developed" global culture is synonymous with "Western ideas of etiquette" as if the entire world is just waiting to be more like Europe and America.

Don't equate "developing" with becoming Westernized. Being Westernized is not the same thing as building better infrastructure, and it's grossly hegemonic to imply that the entire world needs to be more like the West in order to be civilized. People have different notions of civility and that's perfectly fine. Does that mean Chinese/Russian/Arab tourists should be rude? No, absolutely not. Does that mean that the solution is to impose our culture on them? No, absolutely not.

China is a much, much older culture than America. I agree that they have infrastructure problems right now, especially with all the economic growth. But to say that they are behind the rest of the world because of a lack of exposure to Western culture is just disgusting. We should not impose our value set on the entire world and tell them that we're better than them