sketchucation logo sketchucation
    • Login
    1. Home
    2. XorUnison
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    X
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 20
    • Groups 1

    XorUnison

    @XorUnison

    10
    Reputation
    1
    Profile views
    20
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    XorUnison Unfollow Follow
    registered-users

    Latest posts made by XorUnison

    • Trying to http contact a wrong address always takes 21s

      As the title says I'm struggling with web requests taking way longer to throw a timeout and move on than they should, 21 seconds. Here's what I'm working with currently:

      
      t=1
      puts Time.new
      begin
      response=Net;;HTTP.start(full_address.host,full_address.port,
      ;read_timeout=>t,;open_timeout=>t,;ssl_timeout=>t,;continue_timeout=>t,
      ;write_timeout=>t){|http|http.request(request)}
      rescue Exception => e
      puts "Rescue block end"
      puts e.message
      end
      puts Time.new
      
      

      Normally I would think I'd have to only set the open_timeout, as I expect that users might set incorrect variables for full_address. The two time outputs should be no more than a few seconds maximum apart, instead it's this:

      2019-02-05 02:32:10 +0100
      Rescue block end
      execution expired
      2019-02-05 02:32:31 +0100

      21 seconds, much, much to long for proper user experience.
      Now it's not like the t value is completely ignored, just kinda. Setting t to some really high value, something above 21 (or setting no timeout at all) changes the error message, but nothing else, it still takes the exact same amount of time.

      2019-02-05 02:41:12 +0100
      Rescue block end
      A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2) for "[IP]" port X
      2019-02-05 02:41:33 +0100

      I've tried multiple ways of rewriting the http request too, all giving me the same dreaded 21 seconds. Anyone have an idea what's going on?

      posted in Developers' Forum
      X
      XorUnison
    • RE: Are any of you guys interested in programming work?

      Totally. I'm not the most experienced developer out there but I did develop an entire toolbar for my previous company. I've made tools like immediate batch recoloring and renaming, tools to immediately create functional dynamic components from geometry and some other stuff like that.

      posted in Developers' Forum
      X
      XorUnison
    • RE: Are any of you guys interested in programming work?

      Another 2 years later I'd ask the same, does this still need to be here? If yes it'd be cool if that could be confirmed, if no I guess the sticky could be taken down.

      posted in Developers' Forum
      X
      XorUnison
    • RE: Component axis problem

      @pixero said:

      Not sure why I'm having such a hard time getting this right but following TIGs guide, the Components BoundingBox/selection box remains unrotated until I open the component to edit. After exiting out of the edit component mode, the selection box is properly rotated, even though I still have some work left to get the component axis where I want it... ๐Ÿ˜• Coding can be sooo frustrating...

      That's what I thought during my first month or so, but eventually it gets a lot easier as you learn how Sketchup and Ruby work.

      I don't know that phenomenon personally but I think it might be related to the component not being refreshed properly. You could try to redraw it:

         dcs = $dc_observers.get_latest_class
         dcs.redraw(entity,progress_bar_visible=false,is_recursive_call=false)
      
      posted in Developers' Forum
      X
      XorUnison
    • RE: The Adblock detection of SketchUcation seems faulty

      Indeed, it was a bug with the old version of ABP. Not sure why the update passed me though...
      Thanks for the help!

      posted in Ideas Box & Board Issues
      X
      XorUnison
    • RE: The Adblock detection of SketchUcation seems faulty

      I just realized what seems to cause the issue, though I'm not sure why. There are those specific ads on the top, above threads and under the board index. When I choose to unblock sketchucation they however are still blocked. Might be either an issue with weird linking, or ABP does something wrong.
      I can't seem to add a working exception for them either.

      posted in Ideas Box & Board Issues
      X
      XorUnison
    • RE: The Adblock detection of SketchUcation seems faulty

      You seem to be right about it working properly in Chrome, I just tried it out since I have many browsers for webdesign testing at hand anyway.

      So it probably is a Firefox specific issue. The filter lists don't seem to be at fault though, I've tried changing them.

      ABP offers me 3 options in Firefox:

      1. Deavtivate on domain
      2. Deactivate on current site only
      3. Deactivate everywhere

      The blocking check of SketchUcation doesn't notice the first 2 settings though, it only works with #3.
      When I use #1 or #2 the ads are displayed properly, but the images and links are still being removed.

      posted in Ideas Box & Board Issues
      X
      XorUnison
    • RE: The Adblock detection of SketchUcation seems faulty

      That's odd. This system uses Adblock Plus 2.6.3, and the normal Firefox [34.0.5], and I have not really modified anything either. I wouldn't know of anything that could be at fault on my end, any ideas?

      posted in Ideas Box & Board Issues
      X
      XorUnison
    • RE: How to obtain Sketchup Make 2014 free for hobby only

      Yes, Make is the free version of SketchUp. However every installation starts off with a pro trial period. After the pro period has run out, the next time you start SketchUp it will start as SketchUp make, and not pro.

      posted in Newbie Forum
      X
      XorUnison
    • The Adblock detection of SketchUcation seems faulty

      This is just a rather minor issue but it is somewhat annoying.
      This board doesn't display links and images when an Adblocker is installed and active, which is reasonable, I don't have any problem with that either as the ads here are both relevant and unobtrusive.

      The faulty behaviour here however is the way it checks whether ads are blocked or not. For example I use Adblock Plus, but whether I turn off the blocker for http://sketchucation.com or not doesn't make a difference. Instead I have to either turn it off for all sites or deactivate it completely which doesn't make any sense, unless the intent behind that is specifically to support ads on other totally unrelated websites as well.

      Would be cool if you could fix it so it only cares whether the ads on this site are blocked or not.

      posted in Ideas Box & Board Issues
      X
      XorUnison