502 Bad Gateway

Setup
Dokku instance running on Ubuntu 14.04.1 LTS.
Running inside Dokku is a simple php app that is served with php-fpm & Nginx.
When I turn pagespeed on, I get a 502 bad gateway.
Configuration
pagespeed on;
pagespeed FileCachePath "/tmp/";

I've tried to debug this but have come unstuck. i have compiled Nginx with --with-debug and added error_log /tmp/nginx_error.log debug; to my nginx config.
Version
nginx version: nginx/1.6.2
built by gcc 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
configure arguments: --with-debug .... --add-module=ngx_pagespeed-release-<IP_ADDRESS>-beta

Error log (debug switched on)
http://pastebin.com/buip42jN
Any help or guidance would be much appreciated.

@MozMorris Could you post more lines of error.log?

Hello @oschaaf. Here's more of it.
http://pastebin.com/EmRguEHF

@MozMorris Thanks. Unfortunately, I'm not able to figure out what is wrong from that either.
It would help if I could try to reproduce by replicating a similar setup.  Could you post or email me the  nginx and php-fpm configuration files (stripped from sensitive information)? If there is a proxy running in front, details on that would be good to have as well.

@oschaaf thanks for looking. I coudn't find much from those logs either.
You're probably familiar with Dokku, but if you're not it's a mini-Heroku powered by Docker.
An instance of Nginx sits in front of apps running in Dokku and requests are proxied to them. In this case, the php app is running on port 5000. So, sounds crazy, but there's two nginx's at play here.
The php app uses my own fork of Heroku's php buildpack https://github.com/MozMorris/heroku-buildpack-php/tree/pagespeed
Nginx conf
https://github.com/MozMorris/heroku-buildpack-php/blob/pagespeed/conf/nginx/heroku.conf.php
Local config
pagespeed on;
pagespeed FileCachePath "/tmp/";

location / {
  index  index.php index.html index.htm;
}

This local config is included into the base config here: https://github.com/MozMorris/heroku-buildpack-php/blob/pagespeed/conf/nginx/heroku.conf.php#L58
Php-fpm config
https://github.com/MozMorris/heroku-buildpack-php/blob/pagespeed/conf/php/php-fpm.conf

https://github.com/MozMorris/phpapp
Here is the simple php app. It's simply calls phpinfo(); It can easily be deployed to Heroku, and like my own version running in Dokku, it also fails.
Commenting out https://github.com/MozMorris/phpapp/blob/master/nginx.conf#L1-L4 and deploying, it works as expected.

And this is the log from Heroku http://pastebin.com/HnbD5Mfv

@MozMorris It looks like a segmentation fault:
2015-01-20T23:45:19.953719+00:00 app[web.1]: 2015/01/20 23:45:19 [alert] 82#0: worker process 84 exited on signal 11 (core dumped)

Adding this line to nginx.conf might log a backtrace when that happens, could you try that and post it?
pagespeed InstallCrashHandler on;

Do I need to set that in a http block? Here is the output:
http://pastebin.com/ypmxAPVQ

@MozMorris Sorry - yes, you would need to set that in a http{} block

Give me 5 mins :+1:

http://pastebin.com/8pXfny0v

Not much there, hey? Perhaps I should try an older build (both Nginx & Pagespeed)
What about this line?
https://github.com/MozMorris/heroku-buildpack-php/blob/master/conf/nginx/heroku.conf.php#L24
I was reading through past issues (#511 for example) and perhaps pagespeed doesn't work with this config?

@MozMorris There's not much in the latest log you posted indeed.
Using a unix domain socket at that point in configuration seems fine to me, I don't think this is related to #511 (which was about the native fetcher). A quick test confirms this.
It would really speed up figuring this out if we can hook up gdb to nginx to catch the segmantation fault and have a look at what was occurring at the time. If you want, we could schedule a screen sharing session to do that?


It doesn't support Angular 2

Hi,
I was going to add it to my angular 2 project, but I am not sure it supports Angular 2.
I have used systemjs in the project, but it has an issue while integrating this library.
Please let me know how I can add it to angular 2 project.
Sincerely,
Thomas

Wavesurfer.js is a framework-independent library. As such it can be used with any frontend framework you want. It isn't specifically geared towards Angular 2 and so you will need to write a component/service which interfaces with it (like http://github.com/mspae/react-wavesurfer does for React) in order to use it.
Regarding your systemjs difficulties: Can you describe the steps you took to integrate wavesurfer.js – which versions are you using? – What error message do you get?

no feedback.

hi guys need further steps to integrating with angular 2.  Any help..?

Fairly simple. Just install it like this:
   npm install --save wavesurfer.js

I'm using 2.0.0-beta02.
Then put the following code on top of the .ts file where you want to use it:
import * as WaveSurfer from 'wavesurfer.js';

Make sure you put your API call inside of requestAnimationFrame()
    requestAnimationFrame(() => {

        const wavesurfer = WaveSurfer.create({
          container: '#myContainer',
          waveColor: 'violet',
          progressColor: 'purple'
        });
      });

...especially if you are working with dynamically generated HTML inside of a template.
Your template must contain an element with the id references, like hat:

Do not forget to call the .load() method:
wavesurfer.load('audio.wav');

Sure. Go ahead. :) (BTW container can also be a rendered HTMLElement, that way you don't need unique IDs)

Hi all. Having the hardest time implementing this thing in an Ionic 3 project. I keep getting Uncaught Error: Can't resolve all parameters for n: (?).
`import { Component, AfterViewInit } from '@angular/core';
import * as WaveSurfer from 'wavesurfer.js';
/**

Generated class for the WavesurferComponent component.

See https://angular.io/api/core/Component for more info on Angular
Components.
*/
@Component({
selector: 'wavesurfer',
templateUrl: 'wavesurfer.html',
providers: [WaveSurfer]
})
export class Wavesurfer implements AfterViewInit {

constructor(/WaveSurfer: WaveSurfer/) {
}
ngAfterViewInit() {
    requestAnimationFrame(() => {

        const wavesurfer = WaveSurfer.create({
            container: '#waveform',
            waveColor: 'violet',
            progressColor: 'purple'
        });
        wavesurfer.load('');
    });

}

}
`

For those interested, simple player component with Material Components
wavesurfer-material.component.ts
import { AfterViewInit, ChangeDetectorRef, Component, ElementRef, Input, OnInit, ViewChild } from '@angular/core';
import * as WaveSurfer from 'wavesurfer.js';

@Component({
  selector: 'wavesurfer-material',
  templateUrl: './wavesurfer-material.component.html',
  styleUrls: ['./wavesurfer-material.component.scss'],
})
export class WavesurferMaterialComponent implements OnInit, AfterViewInit {

  wavesurfer;
  @Input() url: string;
  @ViewChild('wavesurfer') ws: ElementRef;
  @Input() waveColor = '#0F0';
  @Input() progressColor = '#00F';
  @Input() cursorColor = '#CCC';
  progress = 0;
  playing = false;

  constructor(private ref: ChangeDetectorRef) {

  }

  ngOnInit() {
  }
  ngAfterViewInit() {

    requestAnimationFrame(() => {
      this.wavesurfer = WaveSurfer.create({
        container: this.ws.nativeElement,
        waveColor: this.waveColor,
        progressColor: this.progressColor,
        cursorColor: this.cursorColor,
        height: '40'
      });
      console.warn('WAVE SURFER', this.url, this.wavesurfer);
      this.wavesurfer.load(this.url);
      this.wavesurfer.on('play', () => {
        this.playing = true;
      });
      this.wavesurfer.on('pause', () => {
        this.playing = false;
      });
      this.wavesurfer.on('finish', () => {
        this.playing = false;
        this.wavesurfer.seekTo(0);
        this.progress = 0;
        this.ref.markForCheck();
      });
      this.wavesurfer.on('audioprocess', () => {
        this.progress = this.wavesurfer.getCurrentTime() / this.wavesurfer.getDuration() * 100;
        this.ref.markForCheck();
      });
    });
  }

  playPause() {
    if (this.wavesurfer && this.wavesurfer.isReady) {
      this.wavesurfer.playPause();
    }
  }

}

wavesurfer-material.component.html
<mat-toolbar class="material-wavesurfer" [ngClass]="{'playing':playing}">
  <button mat-icon-button (click)="playPause()">
    <mat-icon >{{playing ?'pause':'play_arrow'}}</mat-icon>
  </button>

    <mat-progress-bar
      mode="determinate" [value]="progress"></mat-progress-bar>

</mat-toolbar>

wavesurfer-material.component.scss
:host /deep/ .material-wavesurfer {

  .mat-icon { color: #00F;}
  .ws { height: 100%; flex: 1; position:relative;
    .mat-progress-bar{
      position: absolute;
      height: 100%;
      width: 100%;
      top: 0;
      bottom:0;
      left: 0;
      right: 0;
      .mat-progress-bar-fill {
        transition: none;
        &::after{
          background-color: rgba(#00F,0.2);
        }
      }
      .mat-progress-bar-background{
        fill: transparent;

      }
      .mat-progress-bar-buffer {
        background: transparent;
      }
    }
  }
  padding-right: 0;
  padding-left: 0;
  height: 40px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;

  &.playing {
    .mat-icon { color: #00F;}
  }
}


continue_last_filter or repeat_last_filter

Currently the option exists to continue_last_search or repeat_last_search:
https://github.com/ibhagwan/fzf-lua/blob/7a144f81da3a8d7362134355872c295de77136ab/lua/fzf-lua/providers/grep.lua#L106
It would be nice if fzf-lua could remember the last filter prompt that was entered. My workflow involves

Hitting <leader>fg to run live_grep
Filtering down by typing text in the prompt
Selecting files and hitting enter to open them
Sometimes I realize I need to open one additional file
Hitting <leader>fg to run live_grep again, and filtering down by typing the same text that I did in step 2.

It would be nice if there was an option that allowed the previously entered text to be prefilled in the prompt.

Currently it’s not possible as the command is managed internally by fzf, it’s a good idea and I also have the same workflow and get annoyed when I can’t continue from the last search, let me see if I can solve it.

Try the latest commit, live_grep() now saves the typed query by default, you can continue either with regular grep or with live grep by supplying:
:lua require('fzf-lua').grep({ continue_last_search = true })
:lua require('fzf-lua').live_grep({ continue_last_search = true })

Alternatively, if you wish for live grep to not pollute your last search use:
:lua require('fzf-lua').live_grep({ do_not_save_last_search = true })

Let me know what you think @kdheepak?
@vijaymarupudi, I had to implement a small hack to the raw_async_action and replace {+} with {q} as it's geared towards preview actions and not reload events, seems to work very nice nonetheless but perhaps you'd like to address this in the code and documentation?
https://github.com/ibhagwan/fzf-lua/commit/62024ecf9a31faabdd61daee71f19aaa774af9c4

FYI, added a "convenience" function live_grep_resume() so it's easier to find with the builtin provider (equal to running live_grep with continue_last_search = true).

Sorry, I didn't notice the mention, fzf-lua's prolific development kinda made this get lost in the flurry of emails. I've unwatched fzf-lua (weirdly so that I can follow it better), so now when you mention me, I should be able to respond promptly. I believe we've addressed the library issue in a different thread :)

@ibhagwan works great! Thanks for making these features available in such a short turn around!

The same thing doesn't work for require"fzf-lua".files({continue_last_search = true}) btw.

The same thing doesn't work for require"fzf-lua".files({continue_last_search = true}) btw.

That’s because it wasn’t implemented for files - that would require hooking the reload event and adding  more flags and tests and what not just to be able to save the file query, not sure if the added complexity is worth it for files?

Possibly. I think for repositories where there's a large number of files it might be worth it?
I would certainly find it useful even on smaller repos. I end up doing the same searches quite often even on smaller repositories, since often times I'm searching for a folder and then I open a file in it. If I want to open another file in the same folder, I have to redo the search.

I can probably add it for fzf but that will create an inconsistency with skim, the reason is skim doesn’t support change events, it’s not an issue with live_grep as it uses something called “skim interactive mode”. Using either change:reload with fzf or interactive with skim disables the fuzzy search functionality, rg is essentially executed with a new query for every keystroke, the fuzzy search is disabled.
Therefore implementing this for files (or any provider that requires the fuzzy search and isn’t “live”) is going to have inconsistent functionality between the binaries (and lots of ugly conditionals in the code).

I see. That makes sense. I can try to implement it locally for use in my config.

I see. That makes sense. I can try to implement it locally for use in my config.

You can actually do it quite simply, even with the existing files provider, just create a raw_action (you don’t need raw_async_action) from nvim-fzf (make sure to set fzf_field_expression to {q}), and send additional fzf args —bind=change:<raw_action_string>, this way your action function will get called every keystroke (at args[1]), save the query in a local variable and if it’s not empty send it to fzf with —query.
You can add any flags you want to fzf by supplying fzf_cli_args.

Implemented it for you ~15 lines of code, files_resume(), it's a bit hacky and doesn't have fancy options and supported only by fzf.
The way it works is that you have to basically use that instead of files() all the time, it always saves queries and always starts from the last input (regardless of cwd or other options), use at your own discretion.
https://github.com/ibhagwan/fzf-lua/blob/07288898afd83339dcbd02268a98fc79329055cd/lua/fzf-lua/providers/files.lua#L53-L77

Thanks for implementing it! There's some weird flickering going on on my end when I use this though. Maybe this is because the action function is called at every keystroke and there's no way around this?

Thanks for implementing it! There's some weird flickering going on on my end when I use this though. Maybe this is because the action function is called at every keystroke and there's no way around this?

I’m not sure, the command is run in the background, it shouldn’t cause flickering, does the same flickering happen with live grep?

Here's a screencast of what it looks like:
https://user-images.githubusercontent.com/1813121/132252707-a0b5e9c8-26f1-4969-adcb-5fe62a3e399b.mov
No the flickering doesn't happen when using livegrep.

Should work nicely now, had to change the fzf flag from change:execute to change:execute-silent

Nice! That resolves it for me!

FYI, I found an issue with the live_grep with resume, I changed the default live grep back to native, if you want to continue using it while I work on the issue you need to call live_grep_resume directly.

Thanks for letting me know. I’m not experiencing any issue. I’m curious what the problem is.

I'm not sure yet what causes this but it seems that when typing too fast or initializing with queries that return long result sets the async function completes before the entire result set is populated so you end up with partial results.
I wanted to change the function anyways and add a cancellation of the async function to speed things up when live grep'ing on a huge codebase and make it even more responsive, so I look at this as an opportunity.
On the bright side, I optimized the live_grep_native (which is currently linked by live_grep) and it's working really well, special chars, continuation from regular grep, etc, so it's not that bad, the only thing missing right now is the "resume" functionality which you can manually opt into by using the _resume version.
I'll keep this thread updated when I figure it out.

Should be working now, had a fun race condition bug, love those :-)
Default live_grep restored to the resume version.

@kdheepak since I know you’re interested, here’s a description of what happened and the solution.


Bump actions version

We're getting a lot of deprecation warnings on builds, this should fix that.

The tests for this PR have run using the updated actions:

Thanks !


simpleVCFClient.py needs refactoring

simpleVCFClient.py has similar problems as run.py and batchRequestClient.py (fixed in #2).

reference genome is int, instead of str
has batching implemented which doesn't play well with the client, which itself batches by default
inconsistent line length, longest line is 144 char

also, uses tabs for indentation, which goes against PEP8 (not so important) and is inconsistent with client.py, run.py, and  batchRequestClient.py (more important)

These utils are being rewritten and will be available shortly alongside a
wrapper class for the response.
Thanks...
Στις Σάβ, 30 Δεκ 2017, 15:19 ο χρήστης Leopold Seckendorff <
<EMAIL_ADDRESS>έγραψε:

also, uses tabs for indentation, which goes against PEP8 (not so
important) and is inconsistent with client.py, run.py, and
batchRequestClient.py (more important)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/saphetor/variant-api-client-python/issues/3#issuecomment-354545940,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AApDAj9X4vI5XeyprF0-HCjGEn6pt08Vks5tFjh8gaJpZM4RPmL3
.

--
Christos Kopanos
RedMob Applications
0030 2431 100 302
www.redmob.gr

is there a development branch for them? I issued a pull request with a number of fixes. I did not change the VCF Client because there is a branch for that specifically.

Dear Leopold,
(cc Christos, who heads our API development)
Thank you so much for contributing your updates.
These client utils are being rewritten and will be available shortly alongside a wrapper class for the response.
We will review your updates and try to incorporate them into our code.
Best regards
Andreas

On 30 Dec 2017, at 22:42, Leopold Seckendorff<EMAIL_ADDRESS>wrote:
is there a development branch for them? I issued a pull request with a number of fixes. I did not change the VCF Client because there is a branch for that specifically.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/saphetor/variant-api-client-python/issues/3#issuecomment-354567231, or mute the thread https://github.com/notifications/unsubscribe-auth/AHENusOqIXsc-1WYbRtn2NP1dp07wqIpks5tFqAdgaJpZM4RPmL3.


Atresplayer: Login error

Checklist

[y] I'm reporting a broken site support issue
[y] I've verified that I'm running youtube-dl version 2020.12.14
[y] I've checked that all provided URLs are alive and playable in a browser
[y] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[y] I've searched the bugtracker for similar bug reports including closed ones
[y] I've read bugs section in FAQ

Verbose log

Traceback (most recent call last):
File "c:\python39\lib\runpy.py", line 197, in _run_module_as_main
return run_code(code, main_globals, None,
File "c:\python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Python39\Scripts\youtube-dl.exe_main.py", line 7, in
File "c:\python39\lib\site-packages\youtube_dl_init.py", line 474, in main
real_main(argv)
File "c:\python39\lib\site-packages\youtube_dl_init.py", line 464, in _real_main
retcode = ydl.download(all_urls)
File "c:\python39\lib\site-packages\youtube_dl\YoutubeDL.py", line 2028, in download
res = self.extract_info(
File "c:\python39\lib\site-packages\youtube_dl\YoutubeDL.py", line 796, in extract_info
return self.__extract_info(url, ie, download, extra_info, process)
File "c:\python39\lib\site-packages\youtube_dl\YoutubeDL.py", line 803, in wrapper
return func(self, *args, **kwargs)
File "c:\python39\lib\site-packages\youtube_dl\YoutubeDL.py", line 824, in __extract_info
ie_result = ie.extract(url)
File "c:\python39\lib\site-packages\youtube_dl\extractor\common.py", line 531, in extract
self.initialize()
File "c:\python39\lib\site-packages\youtube_dl\extractor\common.py", line 435, in initialize
self._real_initialize()
File "c:\python39\lib\site-packages\youtube_dl\extractor\atresplayer.py", line 45, in _real_initialize
self._login()
File "c:\python39\lib\site-packages\youtube_dl\extractor\atresplayer.py", line 75, in _login
self._request_webpage(target_url, None, 'Following Target URL')
File "c:\python39\lib\site-packages\youtube_dl\extractor\common.py", line 632, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "c:\python39\lib\site-packages\youtube_dl\YoutubeDL.py", line 2247, in urlopen
req = sanitized_Request(req)
File "c:\python39\lib\site-packages\youtube_dl\utils.py", line 2157, in sanitized_Request
return compat_urllib_request.Request(sanitize_url(url), *args, **kwargs)
File "c:\python39\lib\urllib\request.py", line 320, in init
self.full_url = url
File "c:\python39\lib\urllib\request.py", line 346, in full_url
self._parse()
File "c:\python39\lib\urllib\request.py", line 375, in _parse
raise ValueError("unknown url type: %r" % self.full_url)
ValueError: unknown url type: '/api/oauth/authorize?client_id=atresplayer&redirect_uri=https%3A%2F%2Fapi.atresplayer.com%2FauthCallback&response_type=code&scope=openid&state=4G06VP'
PASTE VERBOSE LOG HERE

Description

WRITE DESCRIPTION HERE

It still happens with version 2021.03.14.

Duplicate of #24462.


Samsung smart tv(Tizen) file:// instead https://

locally the library resolve file://pagead2.googlesyndication.com instead of https://pagead2.googlesyndication.com

@arnaudcasame Hi,
I have seen the IMA SDK compatibility so I have created a example. Ad's shown when run localhost on Browser but not shown on real Tizen TV.
Please let me know IMA has supported Tizen and WebOS at the moment?


fix(pci.projects.new): pay credit with hipay after adding new method

CDS Report vrack#2596.1 ■

Stage 1

Build CA ✔
Build EU ■
Build US ✔

CDS Report pci#2596.1 ■

Stage 1

Build CA ✔
Build EU ✔
Build US ■

CDS Report sms#2596.1 ■

Stage 1

Build CA ■
Build EU ✔
Build US ■

CDS Report public-cloud#2596.1 ■

Stage 1

Build CA ■
Build EU ■
Build US ■

CDS Report telecom-task#2596.1 ■

Stage 1

Build CA ✔
Build EU ■
Build US ■

@Jisay Could you please provide internal ticket reference in comment?
Thanks!


Typo in FSimGate documentation

In the actual code the docstring is correct,  but at https://quantumai.google/reference/python/cirq/ops/FSimGate the description for phi says that a full CZ is at pi/2, instead of pi.

Hey @Dripto, I'm going to close this issue on the basis that my previous comment solved your problem. Please re-open this if it didn't.


Add some combinators on MonoidAggregator

Don't merge this until we release 0.10.0. It breaks binary compatibility (adding methods to a trait). I tried to do it with an enrichment, but it hit a scala 2.10 compiler bug.

Doesn't need to be this PR, but I guess we could also have something like
Preparer[Either[A,B]].either{case (a,b) => (a.size, b.sum)}

@avibryant I don't follow your code, but I did add collect which is somewhat related:
Preparer[Either[A, B]].collect {
  case Left(a) => (a, 0)
  case Right(b) => (0, b)
}

@johnynek yeah the code I proposed would be as shorthand for,eg,
Preparer[Either[A, B]].split{p =>
   (p.collect{case Left(a) => a}.size,
  p.collect{case Right(b) => b}.sum)
}

@avibryant got it. That is nice actually. +1 for split3, split4 (need numbers in the names because of type erasure, I think).

@ianoc can we merge this before 0.10?

LGTM


refactor slice

incomplete shape for broadcast

@yajiedesign @howard0su You need this for keras

@piiswrong mxnet @  252ac62 gives the following compilation error which is not there in df9f612.  Do you think this error is somehow related to this commit?  I'm still investigating...
g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -O3 -I/home/piyush/Downloads/GitHub/mxnet/mshadow/ -I/home/piyush/Downloads/GitHub/mxnet/dmlc-core/include -fPIC -I/home/piyush/Downloads/GitHub/mxnet/nnvm/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/local/cuda/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSDHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=0  -I/home/piyush/Downloads/GitHub/mxnet/cub -DMXNET_USE_NVRTC=0 -MMD -c src/operator/tensor/matrix_op.cc -o build/src/operator/tensor/matrix_op.o
In file included from include/mxnet/./base.h:16:0,
                 from include/mxnet/operator_util.h:24,
                 from src/operator/tensor/./matrix_op-inl.h:9,
                 from src/operator/tensor/matrix_op.cc:7:
/home/piyush/Downloads/GitHub/mxnet/nnvm/include/nnvm/tuple.h: In instantiation of ‘class nnvm::Tuple<dmlc::optional<int> >’:
src/operator/tensor/./matrix_op-inl.h:687:37:   required from here
/home/piyush/Downloads/GitHub/mxnet/nnvm/include/nnvm/tuple.h:35:3: error: static assertion failed: Tuple only support simple data type like int
   static_assert(std::is_pod<ValueType>::value,
   ^
In file included from /home/piyush/Downloads/GitHub/mxnet/dmlc-core/include/dmlc/registry.h:13:0,
                 from include/mxnet/operator_util.h:18,
                 from src/operator/tensor/./matrix_op-inl.h:9,
                 from src/operator/tensor/matrix_op.cc:7:

Do this:
git submodule update && make clean && make

fixed now, thanks.


Added support for TD JSON_CHECK function

Reviewed. Looks good to me.
As discussed with @Kowsikraja , changes for JSON_CHECK are included in https://github.com/datametica/calcite/pull/675 and will we merge through this consolidated MR.


Add support for new custom fighting styles including restrictions for…

… when they're valid.

ok with changes but also asking @PhilPJL to take a look as this is when I hit a wall at Solasta modding

What's meant by "The ModAPI doesn't handle adding extensions of things that aren't feature definitions well.". Do you have an example of what's not working? AddToDB may need to be regenerated/rebuilt.

So this builder is building type: CustomizableFightingStyle
When the BaseDefinitionBuilder in ModAPI tries to add that to the db it tries to get a db of type CustomizableFightingStyle which doesn't exist and then the ModAPI throws an error. I was able to previously add a custom class feature definition because FeatureDefinitions are checked for if they are a specific type of feature and then added to that specific FeatureType db, which is the support needed for custom class feature definitions.
I see two possible solutions here

add support for specifying the db to get added to which would in this case let me say yeah the class is CustomizableFightingStyle but really this is a FightingStyleDefinition add it to that db. If we do this we should still check that the provided object does extend the provided database class.
Instead of attempting to add to one db most of the time, check if the provided object is a valid type for every db the game has and add it to all of the appropriate dbs.

Is there any case in the game where 2) would be useful?

Is there any case in the game where 2) would be useful?

Short answer is yes. There are several things that go into multiple databases currently. The most common of them is FeatureDefinitions go into the FeatureDefinition db and the specific feature definition type db.


UnrealCamera should use LookTransform up value

Unreal camera does not behave correctly when using Z as up, the controller is currently hardcoded with Y as up.  This PR changes that to use the LookTransform Up value instead.
Solves #28

Thanks!


Improve Coverage for javaslang.control

Add Coverage for Success class
Add Coverage for Failure.NonFatal class
Cannot access Fatal.equals(), Fatal.toString(), Fatal.hashCode()

@danieldietrich
What the purpose of Try.filterTry(CheckedPredicate) ?
    default Try<T> filterTry(CheckedPredicate<? super T> predicate) {
        if (isFailure()) {
            return this;
        } else {
            return Try.of(() -> predicate.test(get())).flatMap(b -> filter(ignored -> b));
        }
    }

Many methods have currently zero usage because of missing unit-tests. We provide an API but don't use it ourself so far. It's ok!
The methods map, flatMap and filter are inherited from Value - the mother of most of Javaslang's types. (Side note: I decided to take the name 'value' because it reflects the core meaning of functional programming: thinking in (immutable) values and transformations of values.) Because our Try deals with exceptions by capturing failure state, it is great to have convenience methods if something goes wrong while (flat-)mapping or filtering results. The methods mapTry, filterTry and flatMapTry take checked functional interfaces, i.e. functional interfaces that throw checked exceptions.
Unfortunately Java does not allow us to change the parameter type of map, ... to checked functions, so the best we can come up with is adding new methods mapTry, ...

Here is an example of how to access Failure.Fatal:
// import static ...Assertions.fail ...

try {
    Try.of(() -> {
        throw new UnknownError();
    });
    fail("Exception expected");
} catch(Failure.Fatal x) {
    assertThat(x.toString()).isEqualTo("Fatal(java.lang.UnknownError)");
    // TODO: equals & hashCode
}

Nice work! Coverage is one of the last gaps towards a release 2.0.0. I like to go into the code again and rethink API from another perspective - like we've done it with mapTry, ...
I can merge if you want - or wait until you commit the Fatal.toString equals hashCode tests. Just give me a signal! :-)

@danieldietrich now i use javaslang idea setting, now it nicer :D
I'll work on Fatal.toString and Fatal.hashCode, then you can merge it.

@danieldietrich Ready to go!

Awesome!


Download links NOT working............

Hello
Links for vs_pro and vs_ent don't work. They take you to a landing page saying thanks for downloading which then flips into an Ad page for MS Surface. Link below.
https://www.microsoft.com/en-gb/
What is going on............MSDN saying it's exe version is 15.0..........why is this so Hard..........???????????????

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 228076d1-94bf-c502-c018-08f7c0faf377
Version Independent ID: c64a5cd5-6236-4192-2bfc-923aa20c94da
Content: Create an offline installation - Visual Studio
Content Source: docs/install/create-an-offline-installation-of-visual-studio.md
Product: visual-studio-windows
GitHub Login: @TerryGLee
Microsoft Alias: tglee

@Jonathan811 Thanks for letting us know! I have reproduced the experience that you describe. For some reason, these links are no longer working as intended. They have worked correctly in the past and so I will investigate why they aren't working now. More, soon.

Root download page links work just fine.

https://visualstudio.microsoft.com/downloads/

@vbjay Thanks for verifying that the root download page is working, and for offering it as an alternative. :)
On the Create an offline installation of Visual Studio 2017 page, we have links to specific SKUs because we thought that those would work better, in context. An internal investigation is still ongoing as to why that experience is not working as intended.

No problem.

I want to confirm whether Visual Studio bootstrapper  exe and root page exe(v-professional) are same?@vbay and @TerryGlee

Of course they are.

@Jonathan811 If you need the links now for offline use here there are:
Credit to @jberezanski. I got them from the chocolatey packages in his repo
ChocolateyPackages

Community
Professional
Enterprise

Or you could just go to https://visualstudio.microsoft.com/downloads/

The downloads from the download site work just fine.

Yes they do except in my case I am just trying to download the bootstrapper programmatically in which case it just downloads the HTML of the 'Download' page, at least from PowerShell. Is there another way? Probably. Am I possibly doing something wrong? More than likely.
The problem here is that the links in the article for the individual bootstrappers are broken.

The download link issue is now fixed; thanks again @Jonathan811 for reporting the problem.


(PDB-3832) Update permissions for ini files to match puppetlabs-puppetdb module

blocked on https://github.com/puppetlabs/ezbake/pull/571

CLA signed by all contributors.

wow, this fell off my radar for way too long, but just ran a test and it seems to work
[root@dilute-datum ~]# ll /etc/puppetlabs/puppetdb/conf.d/config.ini
-rw------- 1 puppetdb puppetdb 472 Jan 29 18:48 /etc/puppetlabs/puppetdb/conf.d/config.ini

wow, this fell off my radar for way too long, but just ran a test and it seems to work
[root@dilute-datum ~]# ll /etc/puppetlabs/puppetdb/conf.d/config.ini
-rw------- 1 puppetdb puppetdb 472 Jan 29 18:48 /etc/puppetlabs/puppetdb/conf.d/config.ini

We just added a file named auth.conf, so we might want to update the command to change that as well

We just added a file named auth.conf, so we might want to update the command to change that as well

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Is there an update on this?  I noticed the same thing still occurring during every update cycle, permissions are getting reset to match what the module is expecting
notice | /Stage[main]/Puppetdb::Server::Global/File[/etc/puppetlabs/puppetdb/conf.d/config.ini]/owner | current_value 'root', should be 'puppetdb' (noop) (corrective)
-- | -- | --
notice | /Stage[main]/Puppetdb::Server::Global/File[/etc/puppetlabs/puppetdb/conf.d/config.ini]/group | current_value 'root', should be 'puppetdb' (noop) (corrective)
notice | /Stage[main]/Puppetdb::Server::Global/File[/etc/puppetlabs/puppetdb/conf.d/config.ini]/mode | current_value '0644', should be '0600' (noop) (corrective)

Can one of the admins verify this patch?


Add Configuration File Support for Overriding mockgen_cmd in gomockhandler

When using gomockhandler in a team setting, it is essential to standardize the version of mockgen. Currently, each team member needs to manually align their local version of mockgen.
By allowing the override of mockgen, we can specify the version as follows:
go run<EMAIL_ADDRESS>
However, specifying the mockgen_cmd through gomockhandler options presents an issue because the go:generate directive does not support options with spaces (quotation will be ignored).
As a temporary workaround, I propose adding a setting to the configuration file that allows the override of the mockgen_cmd. This will enable team-wide consistency without the need for manual version alignment on each developer's machine.

If you have any advice on effectively standardizing the mockgen version across a team, it would be greatly appreciated.

Actually, not sure we should support it.
If you just want to fix the version, cannot you script -
go install<EMAIL_ADDRESS>gomockhandler -config=/path/to/gomockhandler.json mockgen

in your Makefile or whatever?

Using go install sets the version of mockgen globally on the machine. This can lead to conflicts when developing multiple projects on a single machine.
While it's true that running go install for each project during execution can fix the gomock version, it would be preferable to have a solution that is confined to each project and does not interfere with other projects.

Using go install sets the version of mockgen globally on the machine.

There are some known tricks for that specific problem.
The one I often do is like -
https://github.com/mercari/grpc-federation/blob/main/Makefile#L3-L5

Certainly, I can overwrite the PATH in the Makefile, so this approach will work! Thank you!
It seems like the issue I'm facing can be resolved with the method you taught me.

Cool, let's close the PR then.
/close


interface 'wl_surface' has no event 2 (Arch linux + hyprland, window failing to stay open)

On arch linux with hyprland and wayland. Running the helloworld example outputs:
❯ cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.03s
     Running `target/debug/speedy_2d_interface`
ERROR [speedy2d::window_internal_glutin] Couldn't find primary monitor. Using first available monitor.
DEBUG [speedy2d::window_internal_glutin] Monitor #0 (primary): 0x07CB (BOE)
INFO [speedy2d::window_internal_glutin] Trying vsync=true, multisampling=16...
INFO [speedy2d::window_internal_glutin] Context created
INFO [speedy2d::window_internal_glutin] Centering window. Monitor size: PhysicalSize { width: 1920, height: 1080 }. Window outer size: PhysicalSize { width: 640, height: 240 }.
INFO [speedy2d::window_internal_glutin] Centering window. Monitor size: PhysicalSize { width: 1920, height: 1080 }. Window outer size: PhysicalSize { width: 640, height: 240 }.
INFO [speedy2d::window_internal_glutin] Using OpenGL version: 4.6 (Compatibility Profile) Mesa 24.0.3-arch1.1
INFO [speedy2d::glbackend] GL debug log enabled for glow backend
INFO [speedy2d::glwrapper] GL context manager created
INFO [speedy2d::renderer2d] Creating vertex shader
INFO [speedy2d::renderer2d] Using OpenGL 2.0 shaders
INFO [speedy2d::renderer2d] Creating fragment shader
INFO [speedy2d::renderer2d] Compiling program
INFO [speedy2d::glwrapper] Setting viewport size to 640x240
INFO [speedy2d::window_internal_glutin] Resized: PhysicalSize { width: 960, height: 1030 }
INFO [speedy2d::glwrapper] Setting viewport size to 960x1030
INFO [speedy2d::font_cache] No more space in existing textures (0). Creating new.
interface 'wl_surface' has no event 2
INFO [speedy2d::glwrapper] GL context manager is now inactive

The window opens for 1 frame and closes.

Thanks for the report -- the example works for me in Weston on Arch.
Does it work after a cargo update? If not, could you give details on which GPU and driver you're using please?

After 'cargo update' to update from 2.0.0 to 2.1.0 nothing has changed.
My CPU is 11th Gen i3-1115G4 and i have no GPU. The example worked on the same laptop on windows 11 if that helps narrow it down.

I am having the same issue, and have been having it for a long time. I am on latest hyprland installed, and latest Speedy 2d version, just installed it with cargo add speedy2d. I also checked the winit crate, and the current latest version works perfectly, but not sure where this error is comming from

I have some bad news! :smile: I think this crate needs to be updated up to lates glutin (which is rewritten from scratch) for this issue to go away. Good luck

Digression:  The other side of that bad news is that glutin dropped support for iOS in that rewrite.  Speedy2D doesn't support iOS yet anyway, but still...

For anyone struggling with this, you can set WINIT_UNIX_BACKEND=x11 and run the app in x11 mode, still works
(Still hoping the update to new glutin is possible)

Thanks for the details everyone. I've gone ahead and rewritten Speedy2D's window handling code to use the latest version of Glutin!
https://github.com/QuantumBadger/Speedy2D/commit/3159dd1d92bd6d3771b94c7eede0295359ed6372
@JustLinuxUser / @CrazieNewb Could you try the latest version of Speedy2D from the master branch please, to check if this resolves the issue?
speedy2d = { git = "https://github.com/QuantumBadger/Speedy2D.git" }

I am so sorry, but no, still having this issue! Here is the backtrace:
thread 'main' panicked at /home/andriy/.cargo/git/checkouts/speedy2d-f61a7bd07eee4969/ba5abfc/src/window_internal_glutin.rs:696:20:
called `Option::unwrap()` on a `None` value
stack backtrace:
   0: rust_begin_unwind
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/std/src/panicking.rs:645:5
   1: core::panicking::panic_fmt
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/panicking.rs:72:14
   2: core::panicking::panic
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/panicking.rs:145:5
   3: core::option::unwrap_failed
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/option.rs:1985:5
   4: core::option::Option<T>::unwrap
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/option.rs:933:21
   5: speedy2d::window_internal_glutin::gl_config_picker
             at /home/andriy/.cargo/git/checkouts/speedy2d-f61a7bd07eee4969/ba5abfc/src/window_internal_glutin.rs:696:5
   6: core::ops::function::FnOnce::call_once
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/ops/function.rs:250:5
   7: glutin_winit::DisplayBuilder::build
             at /home/andriy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/glutin-winit-0.4.2/src/lib.rs:126:13
   8: speedy2d::window_internal_glutin::create_best_context
             at /home/andriy/.cargo/git/checkouts/speedy2d-f61a7bd07eee4969/ba5abfc/src/window_internal_glutin.rs:718:22
   9: speedy2d::window_internal_glutin::WindowGlutin<UserEventType>::new
             at /home/andriy/.cargo/git/checkouts/speedy2d-f61a7bd07eee4969/ba5abfc/src/window_internal_glutin.rs:386:13
  10: speedy2d::Window<UserEventType>::new_with_user_events
             at /home/andriy/.cargo/git/checkouts/speedy2d-f61a7bd07eee4969/ba5abfc/src/lib.rs:1433:27
  11: speedy2d::Window::new_with_options
             at /home/andriy/.cargo/git/checkouts/speedy2d-f61a7bd07eee4969/ba5abfc/src/lib.rs:1419:9
  12: speedy2d::Window::new_centered
             at /home/andriy/.cargo/git/checkouts/speedy2d-f61a7bd07eee4969/ba5abfc/src/lib.rs:1390:9
  13: day17_2::main
             at ./src/main.rs:240:18
  14: core::ops::function::FnOnce::call_once
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

and WINIT_UNIX_BACKEND=x11 cargo run doesn't work either now. Same error


check for null and undefined explicitly.

Hi @amarzavery, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Amar Zavery). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


better default validation messages

https://github.com/revel/revel/blob/master/validators.go
It would be much more useful if we included the name of the field that failed validation.
Eg: instead of "Required" we should say "firstName is required".
We could have a convention to separate bumpy case variable names so that firstName becomes "First name". We could also take advantage of Go's struct field tagging to define custom labels (eg: type User struct {firstName string "label:Your first name"}).

TODO

[ ] add context-based error messages


How to define a new operator to support Factorization Machine?

I find it is very easy to write FM using TensorFlow, but I am not   familiar with mxnet, how to define a new  operator in mxnet to support Factorization Machine?

@yxzf it's not necessary to define a new operator.
you can refer to https://github.com/moveforever/mxnet-project/blob/master/src/model.py

It's not the appropriate time to add fm op until sparse tensor support has been done.  https://github.com/dmlc/mxnet/issues/5498#issuecomment-291352163

This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks!


Make me translator on translate.multimc.org

I will finish Turkish translation.
I have experience with this it would be fast if you give me translator permission.

You should be able to add suggestions for now. I'll have to find out how to set things up differently.

ok thanks :)

I made 80 translation you need to approve them
please change my user level to translator so I dont need to bother you :)
Thanks.

I am sorry. Managing a translation server on top of everything else I do is a bit too much. I'm looking for an alternative solution that matches the MultiMC development model a bit better (crowdin.com). I'll try to preserve all the suggestions from the current server. It will take some time to set up though.
I don't see any unaccepted Turkish suggestions... you could have completed the translation ;)
Anyway, I am removing the issue tracking on this repository. If you need anything, use the main repository.


Section 1-cgnutools/6a-libexecinfo - why cc small (not a CC)

1-cgnutools/6a-libexecinfo
Please look over line 10-11 - there defined compiler, correct?
But cc != CC for Linux, so command may be mis-interpreted.
Please, check and fix as well. Thanks!

It was a mistake. Correct version is CC, of course

Fixed in commit 69520734c207ee9e76cb52f32f57c98eb323054f