Finite diff for sirf

This PR includes changes for python2.7 support (hence all the files have changed).
Adds type check for SIRF objects, in BlockDataContainer.
This is not very nice and possibly it isn't necessary as one could just rely on the fact that SIRF and CIL DataContainer present the same interface.

references to SIRF objects is removed. It now doesn't check for type, but just assumes it can do what requested. It'll crash if passed an object without the required algebra methods.


thpp fails to build as google moved gtest repo to other place

to here: https://github.com/google/googletest/archive/release-1.7.0.zip
Please change the build script properly.

Or you can edit out the Cmakelists to remove building test directory


Predicted tokens?

Hello everyone,
I was wondering which is the fastest way to retrieve the predicted token when predicting.
Basically, I want to analyze what's going on when the predicted token is wrong from a qualitative standpoint.
I really appreciate any help you can provide.

Hi,
It might help to clarify what you mean by "fastest". Both the command-line and the code API have a predict mode that emits a probability distribution over next token candidates and can write those to file. See the Wiki examples or the example folder for some demonstrations. The latter mostly has entropy-based examples, but the switch to getting predictions is very minor (just switch a call like modelFile to predictFile, see the ModelRunner API).
Both of those generate one word at the time, but neither will provide much insight into the exact reason for their prediction -- that comes down to the mix of (many) language models' counts and weights. If you want rich insights there, it's probably best to fork the project and inject custom code logging those intermediate computations.

Vincent

Thanks a lot, @VHellendoorn .
I was using the jar with the command line, but as you suggested, the only way to get more information is to put some logging messages here and there while using the ModelRunner API, that BTW is what I'm doing right now.
The last thing I'd like to task is the following: let's assume I've already trained a model ( I have the .counts file), and I want to use it to generate some predictions alongside the cache mechanism.
Are the following lines enough to plug in the cache mechanism when testing?
Model model = new JMModel(3, counter);
model = MixModel.standard(model, new CacheModel()); //adding cache for testing
ModelRunner modelRunner = new ModelRunner(model, lexerRunner, vocabulary);
Stream<Pair<File, List<List<Double>>>> modeledFiles = modelRunner.modelDirectory(new File(test_dir));

--Antonio

Hi! Yes, I'd say that looks correct.
Though TBH, it's been quite a while since I last used this toolkit :) A quick sanity check would be to look at the entropy/prediction quality with vs. without the cache; if there's at all a locality effect, this current version should be a lot better than the one without cache.
-Vincent


Add ability to set Generator as a content item.

$items = ['blue', 'green', 'red'];

echo Div::tag()->content(
    'Collors',
    '<br>',
    (static function() use ($items): Generator
    {
        foreach ($items as $item) {
            yield Div::tag()->content($item);
        }
    })()
    );

See an example https://3v4l.org/brubX

Looks interesting. What do you want to achieve with it? The ability itself or performance/lower memory usage?


Remove country names from topic tags for old/archived news (if possible)

We see that some of the old/archived news have some countries listed as topic tags. Understand that this is done by editors, but is it possible to remove the tags (without changing the published dates)? In addition we would also like to delete the "Performance" tag, which is only used once. This goes for both English and Norwegian.

@meols  I removed the tags manually from algolia.

Thanks @padms - great that they now are gone :smile:
Approved


Fix: Add .profile to config_files for bash

Adds the missing the .profile config file for bash

Thanks!


Feature request: simple HTTP proxy handler

Currently, the class HttpProxyHandler supports only proxy-ing through a TCP tunnel, established by a CONNECT command.
This implementation would make it hard to cache the results, since the actual request and response are being transferred within the established TCP tunnel.
This means that well known proxy servers, such as Squid, might not function at all as proxies (they might refuse to establish the connection) or might not be able to cache the results.
I suggest that a new proxy handler would be developed, so that it won't have the CONNECT scenario, and would just issue the HTTP request against the proxy server, rather than the actual host of the HTTP request.

@kleinron we love contributions...

@normanmaurer as a newcomer, this is not a trivial task, especially when the project is quite complex. Maybe I'm wrong and it is a trivial task?

@kleinron I'm not sure I follow your reasoning. What would a proxy handler you propose do? If you don't need a CONNECT semantic (usually you want it for SSL/TLS connections), you can just omit HttpProxyHandler and talk directly to a proxy server, which will forward your requests based on what in the Host header.

@kleinron You should be able to keep the original HTTP request unchanged assuming you're adding a HOST header, which you normally include anyway.

@vkostyukov IIUC, what you say is that I can do it myself using Netty.
Even if this is true, I think that the proxy related classes are somewhat missing the "regular" and quite common proxy pattern.
This is why I suggest this new feature.
Please don't get me wrong about it, I totally respect Netty project, I just thought it would be nice to recommend on a new feature.

So if I well understand you want a simple HTTPProxyHandler that adds the HOST header ?

@SharpMan no, that's not what I mean.
I assume that the request already has a Host header (and even if it doesn't, it can be easily extracted).
All I want is a proxy handler, which would hold an endpoint: a combination of {host|ip} + port.
So that it would execute the original http request against this endpoint, regardless of the host declared in the original http request.

Closing as we do not plan to add something like this

@SharpMan are you able to resolve this issue when using netty in Spring WebClient, I have exact the same issue with our proxy, which don't allow CONNECT for http endpoints.

@alvinbush I ran into the same issue where a back-end system did not support the HTTP CONNECT verb (405.) The following hack appears to work:
WebClient.builder()
  .baseUrl("http://" + proxyHost + ":" + proxyPort)
  .defaultHeader(HttpHeaders.HOST, destinationHost + ":" destinationPort)
  .…

@alvinbush @jensgram @kleinron
I also met issue in my project and the proxy returned 403 Forbidden, May I know is there any progress in your side for deal with such issue? Is there any solution or workaround?
Thank you in advance.

Hi 👋 yes the trick from @jensgram helped me to resolve my issue. Thank you so much.
The following worked for me.
url: "http://proxy:port/"
this.header(HttpHeaders.HOST, < Host and Port Part of the actual server address
Now the trick, add the proxy itself into the bypass list of URL’s so that there is no round trips.
If you’re proxy needs username and password you need add the below
httpHeader.set(HttpHeaders.AUTHORIZATION, "Basic ${Base64Utils.encodeToString(it.toByteArray())}")
This works lika a charm.

Hi 👋 yes the trick from @jensgram helped me to resolve my issue. Thank you so much.
The following worked for me.
url: "http://proxy:port/urlpath"
this.header(HttpHeaders.HOST, < Host and Port Part of the actual server address
Now the trick, add the proxy itself into the bypass list of URL’s so that there is no round trips.
If you’re proxy needs username and password you need add the below
httpHeader.set(HttpHeaders.AUTHORIZATION, "Basic ${Base64Utils.encodeToString(it.toByteArray())}")
This works lika a charm.

Thank you for responding me so quickly, actually I already tried this solution, but it didn't work for me. Please see below code, sorry I can't put the real server information here as it's confidential.
Assuming I want to GET http://stg-dest.com:7105/testuri/xxxxxxx through proxy http://dev-proxy.com:9502, and I confirmed there is no authorization required, the code looks like below,
`
@Test
public void test3() {
    final String destHost = "stg-dest.com";
    final Integer destPort = 7105;

    final String proxyHost = "dev-proxy.com";
    final Integer proxyPort = 9502;

    final WebClient wc = WebClient.builder().baseUrl("http://" + proxyHost + ":" + proxyPort)
                                  .defaultHeader(HttpHeaders.HOST, destHost + ":" + destPort)
                                  .build();
    final Mono<String> response = wc.get()
                                    .uri("/testuri/xxxxxxx")
                                    .retrieve()
                                    .bodyToMono(String.class);

    log.info("response: {}", response.block());

}

`
And I get the error saying,
org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://dev-proxy.com:9502/itesturi/xxxxxxx
I'm not sure if I totally understood your solution, but above URI works good if I test it by using postman and Spring RestTemplate. Please check it out.
Thank you!

I think had this issue as well. Let me check your code and get back to you.
Alvin
Von meinem iPhone gesendet

Am 21.11.2019 um 14:32 schrieb Daniel.Di<EMAIL_ADDRESS>
Hi 👋 yes the trick from @jensgram helped me to resolve my issue. Thank you so much.
The following worked for me.
url: "http://proxy:port/urlpath"
this.header(HttpHeaders.HOST, < Host and Port Part of the actual server address
Now the trick, add the proxy itself into the bypass list of URL’s so that there is no round trips.
If you’re proxy needs username and password you need add the below
httpHeader.set(HttpHeaders.AUTHORIZATION, "Basic ${Base64Utils.encodeToString(it.toByteArray())}")
This works lika a charm.
Thank you for responding me so quickly, actually I already tried this solution, but it didn't work for me. Please see below code, sorry I can't put the real server information here as it's confidential.
Assuming I want to GET http://stg-dest.com:7105/testuri/xxxxxxx through proxy http://dev-proxy.com:9502, and I confirmed there is no authorization required, the code looks like below,
`
@test
public void test3() {
final String destHost = "stg-dest.com";
final Integer destPort = 7105;

final String proxyHost = "dev-proxy.com";
final Integer proxyPort = 9502;

final WebClient wc = WebClient.builder().baseUrl("http://" + proxyHost + ":" + proxyPort)
                              .defaultHeader(HttpHeaders.HOST, destHost + ":" + destPort)
                              .build();
final Mono<String> response = wc.get()
                                .uri("/testuri/xxxxxxx")
                                .retrieve()
                                .bodyToMono(String.class);

log.info("response: {}", response.block());

}
`
And I get the error saying,
org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://dev-proxy.com:9502/itesturi/xxxxxxx
I'm not sure if I totally understood your solution, but above URI works good if I test it by using postman and Spring RestTemplate. Please check it out.
Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

public void test3() {
final String destHost = "stg-dest.com";
final Integer destPort = 7105;

final String proxyHost = "dev-proxy.com";
final Integer proxyPort = 9502;

final WebClient wc = WebClient.builder()
                              .build();
wc.header(HttpHeader.HOST, destHost + ":" + destPort )
final Mono<String> response = wc.get()
                                .uri("http://dev-proxy.com:9502/testuri/xxxxxxx")
                                .retrieve()
                                .bodyToMono(String.class);

log.info("response: {}", response.block());

}
was working for me. And if you are sharing the web client for other services with https as well, you need to put the proxy host into the bypass of tcpCleint.proxy config

public void test3() {
final String destHost = "stg-dest.com";
final Integer destPort = 7105;

final String proxyHost = "dev-proxy.com";
final Integer proxyPort = 9502;

final WebClient wc = WebClient.builder()
                              .build();
wc.header(HttpHeader.HOST, destHost + ":" + destPort )
final Mono<String> response = wc.get()
                                .uri("http://dev-proxy.com:9502/testuri/xxxxxxx")
                                .retrieve()
                                .bodyToMono(String.class);

log.info("response: {}", response.block());

}
was working for me. And if you are sharing the web client for other services with https as well, you need to put the proxy host into the bypass of tcpCleint.proxy config

Thank you a lot, let me have a try!

Hi, Tried the above solution. Please let me know if the proxy host & port and destination host & port are the same.


added polynomial diffrential

Issue #98 -
I have worked on the Polynomial Integral Calculator issue which is #98
Program logic -
So here in the equation ax^n turns into (a*n)x^n-1 where n>0 and constants like c become 0
Screenshots

By raising this PR I affirm that -

[x] My code follows the guidelines of this project.

[x] I have performed a self-review of my own code.

[x] I have commented my code.

[x] My code gives the correct output.

[x] I affirm that I strictly follow contributing guidelines and code of conduct.

Please review this code @SarthakKeshari

Kindly revert the changes in App.js and update the PR after taking the lastest pull.


Logging not working?

I've used this library in L4 without any issues regarding logging.
        \DB::listen(function($sql, $bindings, $time) {
            \Log::info($sql);
        });

Would simply log all the queries to the log file. However, I'm running it on L5 right now and I don't see any of the mongo queries. I do see all my mysql queries though.
Any clue on what I could've missed?

I wondered the same thing, and I dug into the source code.  Unfortunately there does not seem to be any logging.
This is a disappointment for me.  I am new to Mongo (and NoSQL in general), and being able to see what exactly is going into my queries would help immensely for learning it, and for understanding why they're returning unexpected results or errors.

This may be related.... I was attempting to use clockwork/debug bar to show all my database queries.  I noticed that I wasn't getting anything in the listen callback, or was DB::getQueryLog() yielding anything.  I found that the log was disabled and I just needed to enable it.
DB::enableQueryLog();
Both the callback and the query log array are working after this.

Hi @ohmance -- You're getting Mongo queries in the logfile now too?  Or just MySQL queries logged?  I ask because when I dug into the code for laravel-mongodb, it did not appear that there was any logging-related code at all. But I might have missed something.

Yes, I am only using a mongo db connection in this site.  I assume that since Moloquent is a superclass of Eloquent, logging is probably being handled in the Eloquent code since many of the Moloquent methods build off of the Eloquent ones.

To those using multiple database connections (mysql + mongodb in my case), you just need to enable the query log on the specific mongodb connection you want to use, i.e. in boot method of my app service provider:
DB::connection('mongodb')->enableQueryLog();
DB::connection('mongodb')->listen(function ($sql, $bindings, $time) {
	Log::info($sql . var_export($bindings, true));
});

\DB::listen(function($sql) {
\Log::info($sql->sql);
\Log::info($sql->bindings);
\Log::info($sql->time);
});

\DB::listen(function($sql) {     \Log::info($sql->sql);     \Log::info($sql->bindings);     \Log::info($sql->time); });

\DB::listen(function($sql) {
    \Log::info($sql->sql);
    \Log::info($sql->bindings);
    \Log::info($sql->time);
});


Fix typos discovered by codespell

Description

% codespell --ignore-words-list=ans,crate,inout,ratatui,ser,stayin,swarmin,worl

https://github.com/codespell-project/codespell

Breaking Changes

Notes & open questions

Change checklist

[x] Self-review.
[ ] Documentation updates following the style guide, if relevant.
[ ] Tests if relevant.
[ ] All breaking changes documented.

thanks for this @cclauss! others, should we add codespell as a CI step? It's helped us on the website repo


Fix port-mapping cleanup for HTTP services

This PR fixes the port-mapping cleanup method so it doesn't print a warning when cleaning up an HTTP service.
The service mode (http or tcp) wasn't checked. The TCP state table, being used only for TCP, when an HTTP service was cleaned up, a warning was displayed saying we couldn't remove a port mapping. This PR makes sure we are doing this only for TCP services. No cleanup is required on HTTP services.

This appears to be stuck on broken netlify checks


Linux?

Could this be easily ported to Linux? I've not yet explored the codebase other than to ascertain whether it was multi-OS already: it appears to be Windows only at the moment.
Alternatively, could an already established Linux-based server fill the shoes or is there use-case specific code involved?  If so, what's the high-level description of said code?

The code should already be mostly cross platform ready. It just may need some cake tweaks.

Cmake not cake. Dammit autocorrect

lol.  From looking around the codebase further I find that it may be that
the majority of the code is ready, but simply that there's (no main() for
the other platforms)[
https://github.com/InWorldz/aperture/search?utf8=✓&q=main(]: the
only place, other than tests, that I find one is in win_main.cpp - which
has #if defined(_WIN32) inclusion guards surrounding it.
As Aperture and OpenJPEG are the next things slowing down getting my Linux
region online I think I'll attempt this when I can: I'm open to any
pointers, gotchas, and advice.
On Mon, Sep 28, 2015 at 1:31 PM, David Daeschler<EMAIL_ADDRESS>wrote:

Cmake not cake. Dammit autocorrect
—
Reply to this email directly or view it on GitHub
https://github.com/InWorldz/aperture/issues/2#issuecomment-143865554.


v1.7 backport 2020 04 24

While doing backports into v1.7 we hit a handful of verification errors that related to master branch running clang-11 where v1.7 branch is running clang-7. These were non-trivial to fix without moving code around and creating volatile types, marking a few things READ_ONCE/WRITE_ONCE, etc.
At this point it seems easier to update clang used in v1.7 to clang-10 (a stable clang version) then to create subtle divergent branches. We borrow Dockerfile.runtime from master with some modifications to use clang-10 instead of specific commit. Then bpf code drops stdio.h, stddef,h and stdbool.h usage and instead uses our bpf stddef.h which only creates defines needed by BPF code.
As an example of a verifier error generated on clang-7,
1530: (07) r1 += 8"
1531: (47) r2 |= 3840"
1532: (63) *(u32 *)(r1 +0) = r2"
resulting in a verifier error "dereference of modified ctx ptr R1 off=8 disallowed" clang-10 however generates the code,
r3 |= r2
*(u32 *)(r1 + 8) = r3
where the ctx pointer r1 is not modified by the addition and instead the +8 is included in the load.
Hopefully after this going forward we will get code generation closer between the branches.

wip while new runtime image is being built.

test-me-please

test-me-please

looks like we also need to drop -g option now due to iproute support.

We will also need to clamp at v2 or at least -alu32

test-me-please

Error with clang10 retrying with same clang version used in master.
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="+ cilium-map-migrate -s bpf_overlay.o" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="+ set +e" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="+ tc filter replace dev cilium_vxlan ingress prio 1 handle 1 bpf da obj bpf_overlay.o sec from-overlay" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="Prog section 'from-overlay' rejected: Invalid argument (22)!" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg=" - Type:         3" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg=" - Attach Type:  0" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg=" - Instructions: 139 (0 over limit)" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg=" - License:      GPL" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="Verifier analysis:" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="0: (bf) r6 = r1" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="1: (b7) r7 = 0" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="2: (63) *(u32 *)(r6 +60) = r7" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="3: (63) *(u32 *)(r6 +56) = r7" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="4: (63) *(u32 *)(r6 +52) = r7" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="5: (63) *(u32 *)(r6 +48) = r7" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="6: (63) *(u32 *)(r6 +64) = r7" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="7: (61) r2 = *(u32 *)(r6 +80)" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="8: (61) r1 = *(u32 *)(r6 +76)" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="9: (bf) r3 = r1" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="10: (07) r3 += 14" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="11: (2d) if r3 > r2 goto pc+125" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg=" R1=pkt(id=0,off=0,r=14) R2=pkt_end R3=pkt(id=0,off=14,r=14) R6=ctx R7=imm0,min_value=0,max_value=0 R10=fp" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="12: (71) r2 = *(u8 *)(r1 +12)" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="13: (71) r8 = *(u8 *)(r1 +13)" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="14: (67) r8 <<= 8" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="15: (4f) r8 |= r2" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="16: (bf) r1 = r8" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="17: (67) r1 <<= 8" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="18: (57) r1 &= 65280" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="19: (a5) if r1 (null) 0x600 goto pc+117" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="invalid BPF_JMP opcode a0" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runti
15:38:27      runtime: me cilium-agent[17095]: level=warning msg="Error fetching program/map!" subsys=datapath-loader
15:38:27      runtime: Apr 26 22:38:27 runtime cilium-agent[17095]: level=warning msg="Unable to load program" subsys=datapath-loader

test-me-please

test-me-please

07:49:48  Stderr: VBoxManage: error: Failed to create the VirtualBox object!
VM provisioning error? retry...

test-me-please

closing clang7->clang10 transition caused a series of failures on 5.4 that we are investigating. For now backports were resolved with inline asm.


Cover page logo not displayed on Windows

I am running mkdocs-with-pdf 0.9.3 on Windows 10. The cover page logo (cover_logo) does not appear in the PDF. All other images work fine.
In the debug HTML, the image URL shows up as file://C:\dir1\dir2\dir3\pdf_cover.png, which does not even work in the browser (I use Chrome).
The only way I was able to work around this problem was by manually modifying the mkdocs_with_pdf\templates\filters\url.py file where I changed the following line:
return 'file://' + path
to the following:
return 'file:///' + path.replace("\\", "/")
Then the image appears correctly in the PDF.
Anything I am missing or is this indeed a bug in the plugin?

I am having the same issue. I used several approaches to solve issues with weasyprint.
So i also started to try it inside WSL with ubuntu. So it am not sure this is a problem related to just windows.
I downloaded the samples and tried to render those. no success either. The cover page image is missing.
Just did an experiment and used a weblink to an image. That is being rendered perfectly. just not the local files.

I have the same problem. It works on Linux but not Windows.

I worked around it by adding a pdf_event_hook.py with the following content:
import logging, re, os.path
from urllib.parse import urlparse, urlunparse
from bs4 import BeautifulSoup

def normalize_url(str_url):
    url = urlparse(str_url)
    if url.scheme == 'file' and '\\' in url.netloc:
        return urlunparse((url.scheme, url.netloc.replace('\\', '/'), url.path, url.params, url.query, url.fragment))
    elif not url.scheme:
        return urlunparse(('file', url.netloc, os.path.abspath(url.path).replace('\\', '/'), url.params, url.query, url.fragment))
    return str_url

def fix_urls(match):
    quote, str_url = match.groups()
    return f'url({quote}{normalize_url(str_url)}{quote})'

def pre_pdf_render(soup: BeautifulSoup, logger: logging) -> BeautifulSoup:
    logger.info('(hook on pre_pdf_render)')
    url_re = re.compile(r'\burl\(([\'"]?)(.*?)\1\)')
    logger.info('Replacing relative url links with absolute and Windows-style paths in CSS')
    for tag in soup.find_all(lambda t: 'style' in t.attrs or t.name == 'style'):
        if tag.name == 'style':
            for child in tag.children:
                child.replace_with(url_re.sub(fix_urls, child))
        else:
            tag['style'] = url_re.sub(fix_urls, tag['style'])
    logger.info('Replacing img src tags')
    for tag in soup('img'):
        src = tag.get('src')
        if src:
            tag['src'] = normalize_url(src)
    return soup


Split the application container into two: for the application and for the API service

Now two services run in one container app (FireHOL-IP-Aggregator/app/entrypoint.sh):
#!/bin/sh

python3 firehol_sync.py &

gunicorn --bind=<IP_ADDRESS>:8000 --workers=4 --timeout 3600 api:__hug_wsgi__

That is not good.

Developed in 7ce65c4368e3ec9d63346f7d9462c48c3353b8a9


Limit Speed

User Story
As a user, I want to be able to limit the car’s speed so i don't get a speeding ticket.
Aceptable Criteria:

The speed limit of the car should be updated immediately after changing it.

This has been moved to sprint 2

This is moved to sprint 3 because we plan on implementing registration which means it'll be different for each user.

This is moved to sprint 3 because we plan on implementing registration which means it'll have to be implemented in the user's settings.

We decided to put it in the home screen since it's more convenient for the user to change it on the spot


Files do not appear in the folder.

Hello. Files do not hidden, but when I open folder it looks empty. When I explore empty dir, files displayed (right column on attached image). After reloading vim files are displayed.

Update: This only happens after I press "x" on folder.

+1
same issue

+1 the same problem

+1 Same problem

+1 Same problem

Duplicate:  #519
Same issue.

The problem still exists.

I experience this bug when I go up twice from a directory that is a single item in its parent directory.
For example (as shown on OP's screenshot), I open vim from directory controllers/admin. Then I press 'u'. And then I press 'u' again. At this step I see the directory structure like on the screenshot (>controllers/admin). And I'm not able to view the contents of controllers/admin even if I press 'R' or 'r'.
#519 is a bit different issue. I have updated to the latest version at the moment.

mkdir ttt
mkdir ttt/ttt/
touch ttt/ttt/test
cd ttt/ttt/
vim test
Inside vim:
:NERDTreeToggle
u
u
And now you're not able to view the folder ttt/ttt.

I can now replicate this bug, and I believe it to be confirmed. Replicate by...

Point the NERDTree root to a directory that will cascade beneath its parent.
Press u twice.
Note that the cascaded directory will no longer open.

You can do this in the NERDTree repository itself by making the root nerdtree/lib/nerdtree/ pressing u twice, and then trying to open lib/nerdtree/ again.
Bug confirmed.

Look at the NERDTreeCascadeSingleChildDir option. When set to 1, the default, I see the behavior described in this issue. A workaround is to set it to 0.

Hey, @PhilRunninger, I think I've got this one. A possible duplicate is issue #547. I also have a fix in progress. I believe the problem can be captured in a few words as follows:
When you make a directory that belongs to a cascade the NERDTree root, pressing u repeatedly will close every directory in the chain along the way up. Then, when you try to open the cascaded node with o, the mapping opens the lowest directory node in the cascade while leaving the ancestor nodes closed. That is, the mappings are operating on the tail of the cascade, not the immediate child of the current root node.
The rendering logic never reaches open node at the bottom of the cascade, and the children there aren't displayed because their ancestors are "closed" from the point of view of the NERDTree. This also explains why the open/closed status indicator (+ or ~ on Windows) changes while the children never render.

ANNOUNCEMENT: Everyone experiencing this bug can try the fix in pull request #720. It should repair this problem without any side effects. The code is currently under review.

Works for me, thx.


CEC Code warnings  dev branch

hi @cdeline ~ getting this warnings with our new fancy python :) just saw you're poking around on warnings, in case you can fix this it would clear a lot of nonsense warnings :D

Which example notebook is this happening on?  I'm not able to replicate it, and your proposed fix in development is breaking.  I'm reverting this back and we can take it off into side branch 516


Rails.application.assets is nil if config.assets.compile = false

Deploying with config.assets.compile = false leads to an error since Rails.application.assets is nil then.
A check is added, and assets_manifest is used when necessary.

Looks good, thanks


Implement RFC 39: Change semantics of no-argument m.Case().

Do you think you could prepare a backport as well?

I'm blocking the backport (or rather a different warning PR) on actually having a v0.4.x branch with the prereq commits (#1030 plus the ones already included in your backport PR) that I can use as a base

Done: https://github.com/amaranth-lang/amaranth/pull/1029

Still needs #1030

Pushed that too


TLS configuration doesn't work in v5.5.0

Describe the bug
Using TLS certificates, and the config
web:
port: 443
tls:
certificate-file: /config/certificate.crt
private-key-file: /config/certificate.key
with version 5.4.0 works fine.
Upgraded to version 5.5.0 and the log line
2023/07/20 16:10:57 [controller][Handle] tls: provide a valid cert or key path
shows up. This line did not show up with 5.4.0.
The certificates did not change, and the certificates are valid.
What do you see?
Gatus won't show anything in the browser
What do you expect to see?
Normal gatus output in browser.
List the steps that must be taken to reproduce this issue
See above.
Version
5.5.0
Additional information
No response

@szinn Thanks for the heads up.
#531 should fix your issue, could you give v5.5.1 a try?

5.5.1 fixed the issue! Sweet and thanks


Configure unit test for all platforms

Configure to run unite test cases in latest version of

chrome
firefox
edge
phantomjs

Already unit tests are running for phantomJS and chrome


make initWithStyle public

As I've mention you should consider make method
override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
public
The reason people need it that is subclassing your cell to make custom UI. I simply cannot see this method from framework.

I'll take a look at implementing this 👍


Add LicenseTemplate.cshtml

🤖 AutoRest automatic publish job 🤖
> will publish once PR gets merged

The only reason at this point is so that I won't accidentally modify the LICENSE.txt files of older Node.js SDK packages. I'm sure we'll turn this on by default in the near future, at which point I can remove the parameter, but for now I'd like to keep it behind a parameter.

🤖 AutoRest automatic feature coverage report 🤖
feature set version 2.4.2
❌ General: 0%
no tests were run for this category
✔ Azure: 100%

🤖 AutoRest automatic feature coverage report 🤖
feature set version 2.4.2
❌ General: 0%
no tests were run for this category
✔ Azure: 100%


Fix segfault when there's no http{} block in nginx.conf

Should fix https://github.com/pagespeed/ngx_pagespeed/issues/1220

LGTM


upgrade github-actions

Use pinned versions for github actions.

Coverage remained the same at 69.252% when pulling 73691bb945ba66e486c8ca37946ed39124741464 on cdoxsey/github-actions into fea1a55040ea68975e860a823f3a4327919e90f6 on main.


Sound Flower problem

Well it did download, but it still thinks that it's not installed (with no icon in the Applications folder or topbar), though it shows the sound channels in System Settings.
There were also no prompts to restart the system.

This might help
file:///Applications/Audacity/help/manual/man/tutorial_recording_computer_playback_on_mac.html

Can't access download

Read the manual.audacity link....


Add vi like navigation

After doing <Ctrl> + <Space> you can navigate through the results with the up/down keys.
It would be great to use the j/k keys. fzffor example uses <Ctrl> + P & <Ctrl> + N for navigation. This is very intuitive.

Yes, it would be awesome to configure these key-bindings. So <Ctrl> + j/<Ctrl> + k are also quite popular. It's quite annoying to move the hands so far to the arrow keys. 🙊
Not sure how this is working here. 🤔

Added support for Ctrl+J/K and submitted pull request to @pindexis.
https://github.com/pindexis/marker/pull/71


Applet fails under Debian

Apparently the applet requires a python-appindicator package, which isn't available for Debian.
miranda$ ./fluxgui
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/fluxgui/fluxgui.py", line 2, in <module>
    import appindicator
ImportError: No module named appindicator

Yes, it's written specifically to be an ubuntu appindicator. the xflux binary is available on other distributions. http://stereopsis.com/flux/

For reference in case anyone wants to get this working on Debian. python-appindicator is now available in Debian. If you follow this guide to create the package from source (https://wiki.debian.org/CreatePackageFromPPA) you can install fluxgui. For reference I am running Debian Testing (Stretch) currently but looks like it should work from wheezy upwards.


OnNewTradeOffer not being called

Hey,
Whenever I send my bot a trade offer, my OnNewTradeOffer method isn't even being called. Only after I cancel my trade offer, this pops up in the log: [Bot 2016-06-06 18:25:20] INFO: Trade offer<PHONE_NUMBER> failed
Any help is appreciated. :)

Are you using the latest version?  I thought this was fixed a few weeks ago.

Never mind, I found out I was using an outdated version of the bot.


Add support loadLogic for *.teal program and SCParams

Is your feature request related to a problem? Please describe.
I'm writing a *.teal lsig program with SCParams. But algo-builder does not support to loadLogic for *.teal & SCParams
https://github.com/scale-it/algo-builder/blob/master/packages/runtime/src/runtime.ts#L678

@param scTmplParams: Smart contract template parameters (used only when compiling PyTEAL to TEAL)

Describe the solution you'd like

Can you support this?

Additional context

Thank you for your proposal! I think we shouldn't not support ScParams for teal because it make teal program unportable.

I found a workaround, but it is better if there is official support.
    const pyOp = new PyCompileOp()

    let lsigProg = getProgram('lsigProg.teal')
    const [replaceParams, param] = pyOp.parseScTmplParam({
      TMPL_a: a,
      TMPL_b b,
      TMPL_c: c,
    }, true);
    lsigProg = pyOp.replaceTempValues(lsigProg, replaceParams)

    const lsigAcc = runtime.createLsigAccount(lsigProg, [])

@huybuidac This has been taken care of and will be available in the next release. Thanks


VXLAN layer:  moved parsing into a DecodeFromBytes function and added NextLayerType…

Made layer compatible with DecodingLayer by:

moved packet parsing into DecodeFromBytes function (no parsing changed)
used DecodeFromBytes in layer decode function
added CanDecode and NextLayerType functions as well

@googlebot I fixed it.

@googlebot I signed it!

@googlebot I fixed it.

@gconnell: I tested this and it worked on some VXLAN-tagged PCAP that I have, can we merge it?

Sorry for the delay on this, merged!

great!  Thanks so much!
cheers,
Dan
On Mon, Jun 8, 2020 at 11:51 AM Graeme Connell<EMAIL_ADDRESS>wrote:

Sorry for the delay on this, merged!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/gopacket/pull/742#issuecomment-640714601, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5HUXUIWD7EFH45GCVDRUDRVUCGLANCNFSM4KA6W4NQ
.


OAuth2 Support

Description
Update API to support OAuth Server-to-Server client credentials approach to Authentication.
Related Issue
#155
Motivation and Context
Updates library to prepare for removal of deprecated JWT solution.
How Has This Been Tested?
Update existing unit tests, and added new ones.
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.

@bstopp
I scanned this PR quickly today... it's looking really good , thanks !
I need to test this change further in my own little projects ... I'll get back to you by the end of the week

Ok, now it should be good to go.


Ability to draw multiple target lines on one map.

I'm trying to create a line graph that has 7 lines along the y axis at various points that change depending on calculations I do however a function gets the value for the line. I was able to get a single target line to work but when doing multiple it just takes the last one declared. Hopefully there is some sort of work around that I can use because I really like these charts.

Hello @marci2t 👋
Chartist has recently been updated to version 1.0 with some new exciting changes like ESM and TypeScript support. The migration guide can be found right here.
Please let me know if the question is still relevant to you so we can further look into it!


Organization permissions

Currently, members of the org have permissions to delete/edit stuff, but not to block users. Is this what we want?
I'm creating this issue mostly to get discussion away from #559. Since I don't think this is important, I'll be unsubscribing from this thread, so if you need me please mention me.

The caveat here is in order to block, members would need to be granted full admin privs to the organization settings.  We can do that if it's desired, but just want to make sure everyone knows what the new privs will entail.

It's a shame the permissions can't be more fined tune.

Yea I've been waiting for fined tune permissions for GitHub orgs for a long time, but they've never gotten to it :(

kindly please  release  the blocks

@edpz What blocks are you referring to?


CLI Error - const program = require('commander')

Hi, I found this in npmjs and I think it's an amazing tool for making gifs. 😁
But when I try to run it in my terminal I get this:
/usr/local/lib/node_modules/silence/bin/silence:4
const program = require('commander')
^^^^^
SyntaxError: Use of const in strict mode.
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3

Any help? Thank you!

are you using iojs?

@jonathanong Hi, no.
I'm trying to run it in my terminal in OS X Yosemite.
I have NodeJS v0.12.7
Do I need iojs?
Thanks for replying.

yes, sorry! try it with iojs


[OTHER] Website README.md

Description
I want to add README.md file inside website folder.
Application Version
v1.1.0
Additional information
Please assign this issue to me

@kb-s Please specify the reason.

@SaptarshiSarkar12 reason for what?

@SaptarshiSarkar12 as you know README.md file makes a good impact on our project, reading is amazing (what is the website folder doing, is there any info)

No, there isn't any. Ok @kb-s. Assigning you with the task.
Please link this issue to your PR.

Ok @SaptarshiSarkar12 , thanks for assigning this to me :)

Welcome @kb-s


Don't let the declaration file break compilation

Suggestion
Don't let the declaration file break compilation.
if you write a declaration file that use  --nolib, and others has duplicate global class name,
or a package depends on  package depA,  then package depA  interface name has been renamed , then your app won't compile.
The unknowed type in .d.ts should map to any,  and show a warning instead of error
Use Cases
@types/libraryA from npm :
///<reference no-default-lib />
declare console:MyConsole

and @types/libraryB from npm
///<reference lib="dom" />

I create a  git repo to show how this happend, and I can not find a way to solve the problem in your own source code.
Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[ ] This feature would agree with the rest of TypeScript's Design Goals.

This would mean misspelled type names would resolve to unknown or any or whatever, which is undesirable. Consider adding a :+1: to #31894 which would allow you to state that some type name exists without knowing specifics about the implementation.

@DanielRosenwasser  I think #31894 is not for this case ,
What I want to  avoid is  declaration file error , declaration file normally from third party, and thire some case you app compile fine ,  your used third party declaration is compiled file,  but it'll error when you add the declaration to your app.
yes I can edit the downloaded declaration but it's from npm so next time you download from network  it won't compile again.
I think Typescipt should distinguish between source file and declaration file .  source file can not have error , but declaration file  can be tread like js （as long as it won't contains syntext error）

@DanielRosenwasser  I added a demo to show how this happend ,  it does not happend in your own source code , it happend when  multiple declarion library been merge to your project.
should this  be reopen ?

Have you tried --skipLibCheck?

@fatcerberus   cool,  it solve my problem 😜 . Thanks.
I never notice this options before


Please add LG AeroTower Air Purifying Fan

It has Air Purifying and Heating.
Please, i need your help. Thank you.

You must attach integration diagnostics.

You must attach integration diagnostics.

config_entry-smartthinq_sensors-ac04b66f03530b973951ca337b690a44.json (1).txt
Here it is!
I appreciate your help very much.


Dropdown menu doesn't open up

Issue description
The toggle method correctly sets the dropdownOpen state but the dropdown menu doesn't open up on dropdown click.

version 4.0.0-alpha.2 & 4.0.0-alpha.3
components: Dropdowns

Steps to reproduce issue
Just use the dropdowns example found in the docs.

@DerrickJames in the latest bootstrap v4 branch (potentially the alpha v6 release), the classes we're changed from .in to .active. It's documented in the v4 branches changelog. We don't have versioned docs yet. I've got an issue to track that. For now, the bare minimum is having this prerelease version.
I'm not sure what version of css you're using. For Bootstrap alpha 5, the latest release, reactstrap 3.9.3 should be used. To use what's in the Bootstrap v4-dev branch, or latest, use the reactstrap 4.0.0-alpha releases.
To test out in this repo, try installing the latest commit from master in bootstrap. For reactstrap repo this would be:
npm install twbs/bootstrap#d9ab97b2d0f8e16c46415ef4a8eeb53f0ebf6c93 --save

I'm having this issue right now with the Bootstrap alpha 6 and reactstrap 4.0.1 by following the documentation.

@albertkim I just used this last night with the latest versions without any issues. Can you post your component code or use something like webpackbin, jsfiddle, or  codependent to showcase this issue?

Working for me in latest tagged releases.

Here is the simplest code for this scenario
import * as React from 'react'
import {ButtonDropdown, DropdownToggle, DropdownMenu, DropdownItem} from 'reactstrap'

export class Test extends React.Component {

  constructor() {
    super()
    this.state = {
      dropdownOpen: false
    }
  }

  render() {
    return (
      <ButtonDropdown isOpen={this.state.dropdownOpen} toggle={() => {
        this.setState({dropdownOpen: !this.state.dropdownOpen})
      }}>
        <DropdownToggle caret>
          Button Dropdown
        </DropdownToggle>
        <DropdownMenu>
          <DropdownItem header>Header</DropdownItem>
          <DropdownItem disabled>Action</DropdownItem>
          <DropdownItem>Another Action</DropdownItem>
          <DropdownItem divider />
          <DropdownItem>Another Action</DropdownItem>
        </DropdownMenu>
      </ButtonDropdown>
    )
  }

}

With the following package.json entries:
"bootstrap": "^4.0.0-alpha.6",
"reactstrap": "^4.0.1"

The wrapping div seems to go from btn-group to btn-group show, and the actual button goes from dropdown-toggle btn btn-secondary to dropdown-toggle active btn btn-secondary. Is this correct?

I am getting this same behavior with basic Dropdown inside a Navbar . (The 'active' class is being added/removed from the div containing the dropdown items themselves but the .dropdown-menu 'display' is 'none' and thus the items never become visible)
"bootstrap": "4.0.0-alpha.6",
"reactstrap": "^4.8.0",

Code Snippet
export default class Menu extends React.Component {
    constructor(props) {
        super(props);

        this.toggle = this.toggle.bind(this);
        this.state = {
            dropdownOpen: false
        };
    }

    toggle() {
        this.setState({
            dropdownOpen: !this.state.dropdownOpen
        });
    }

    render(){
        return (
            <div key={this.props.index} >
                  <Nav navbar>
                    <Dropdown isOpen={this.state.dropdownOpen} toggle={this.toggle} nav>
                      <DropdownToggle color="primary" nav caret data-toggle="NavDropdown">
                        Dropdown
                      </DropdownToggle>
                      <DropdownMenu>
                        <DropdownItem header>Header</DropdownItem>
                        <DropdownItem disabled>Action</DropdownItem>
                        <DropdownItem>Another Action</DropdownItem>
                        <DropdownItem divider />
                        <DropdownItem>Another Action</DropdownItem>
                      </DropdownMenu>
                  </Dropdown>
                  </Nav>
            </div>
        )
    }

I am hoping I just missed something in the documentation.


Revert "chore: update terser-webpack-plugin"

Revert to terser-webpack-plugin 2 because of min node.js version issues with cacache.

What kind of change does this PR introduce?
Revert

Did you add tests for your changes?
N/A

Does this PR introduce a breaking change?
It reverts one

What needs to be documented once your changes are merged?
Nothing

No need, WIP on new release with fixed problem


moved OpenAPI into postinit

After the Kitura sample refactor the webpages would not load from other folders (e.g. Views) although direct routes such as hello still worked. This only happened when the app was pushed to the cloud and not while running locally.
After some trial and error I found that adding the openAPI routes caused this to happen and it could be fixed by moving them into the postinit function instead of the init function.

Me too, it must be something to do with the OpenAPI routes being registered with the router either first or last.


Report failed to load, check report parameters

I'm very new to this, Strictly followed your sample and end up with above error and in
console: http://localhost:3000/Report/ViewReportPage/?reportPath=%2FMoney.ReportServer%2FSalesOrder&page=1&  404 not found
what I'm missing here I need to host SSRS project in to server ?  it can't deal with local .rdl files ? or may I missing something?. Please provide documentation or else guide me to complete my job.

@deanilvincent I don't need to send any parameters right now, still I'm getting this issue, did I misunderstand any thing?

Can you post your exact codes? @AlwaysAbhl001

public class ReportController : AlanJuden.MvcReportViewer.ReportController
    {
        protected override ICredentials NetworkCredentials
        {
            get
            {
                return System.Net.CredentialCache.DefaultNetworkCredentials;
            }
        }

        protected override string ReportServerUrl
        {
            get
            {

                return "http://localhost/ReportServer";
            }
        }
        [HttpGet]
        public ActionResult MyReport()
        {
            var model = this.GetReportViewerModel(Request);
            model.ReportPath = "/Money.ReportServer/SalesOrder";

            return View("ReportViewer", model);

        }

    }

And ReportViewer.cshtml view looks same as author mention.  Url of my SSRS project looks like http://localhost/ReportServer/Pages/ReportViewer.aspx?%2fMoney360.ReportServer%2fSalesOrder&rs:Command=Render
@deanilvincent  let me know, for any further information.

@AlwaysAbhl001, do you have a directory on your report server called "Money.ReportServer" as indicated by your ReportPath?

Yes.  -> Money.ReportServer/SalesOrder. If I deploy my SSRS project firstly it shows directory -Money.ReportServer after click on it moves to childtree  - SalesOrder.

If I mention wrong Directory it throwing
FaultException: System.Web.Services.Protocols.SoapException: The item '/Reports/SalesOrder' cannot be found. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ItemNotFoundException: The item '/Reports/SalesOrder' cannot be found.
at Microsoft.ReportingServices.Library.ReportingService2005Impl.GetReportParameters(String Report, String HistoryID, Boolean ForRendering, ParameterValue[] Values, DataSourceCredentials[] Credentials, ParameterInfoCollection& Parameters)
at Microsoft.ReportingServices.WebServer.ReportingService2005.GetReportParameters(String Report, String HistoryID, Boolean ForRendering, ParameterValue[] Values, DataSourceCredentials[] Credentials, ReportParameter[]& Parameters)

so  mentioned Report Path is absolutely right one then what else stopping me @alanjuden ?
FYI: AdventuresWorks2008R2 db and my web application is aspnetcore2.0 webappMVC.

I have exactly the same issue like this, do you have any update on solutions?

You can check if the library is also looking at internal parameters not only the ones the user sends.  In my case, I saw that if I manually removed the internal parameters, the viewer worked like a charm.

yep I don't have any internal parameters. I tried many time with different report, it's not even work with the sample. Do you mean that I need to update the code inside the library also?

Yes, this does make you do changes to the library. :(

I have came across the same error "Report failed to load. check "Report parameters... ". in my case, I have two reports in Report Server (SQL Server 2012 R2), both with two parameters.. 1. Report with local/static content and the two parameters which takes values from user (asp.net  web core 2.2 MVC) and display them on report which works fine, but the other one, 2. Report with its Dataset (stored procedure) which takes two parameter and pass it on to SP to fetch data from database. No matter how the Params are configured (hidden, visible) in the report the error noted above keeps showing.

I am having this issue on a remote server. And it comes down to how the report URL is returned. In our case the MVC app is hosted under URL that's similar to "company.org/ReportViewer", but when the report comes back the url is "company.org/Report/Some-Report-Name" which is why we're getting 404.  Is there a way to change the model URL to match the site?


Take the Router Challenge

The Router Challenge aims to be to Routers what TodoMVC is to MV* frameworks. It offers the same Music Catalog application built in React using different Routers. For it to be successful I need the help of Router writers like you. Will you take the Router Challenge and implement the Music Catalog application using router5, please?

I don't have the time right now. I am working on a new package that I am going to publish soon, in combination with any router would make that challenge a walk in the park. Maybe then 😄

Nope, it's not, I just don't have a few hours to dedicate to it.


Namespace wrong in the readme

Hi, when installed through composer and then tried to use like stated in the readme:
use josantonius\Session\Session;
$session = new Session();

It will not find the class, since the namespace is capitalized and should read:
use Josantonius\Session\Session;

Otherwise great work

Thanks! :wink:


Advancement Error

Issue Description:
I have made a very small modpack for me and my friends and we get some weird lag spikes on our server it might be just our pc or the server we do not know exactly but we saw this error on the server's console and we think that this might be the issue of our lag.
What happens:
This error appears on the console nothing visual is happening in the game
What you expected to happen:
We expected to not see this error and if it actually causes those lag spikes we also expected to not have them.
Steps to reproduce:
This error appears when the server is loading up we don't know if it is a specific mod that causes this error to happen

Affected Versions (Do not use "latest"):

EnderIO: EnderIO-1.12.2-5.0.26
EnderCore: EnderCore-1.12.2-0.5.31
Minecraft: 1.12.2
Forge: 1.12.2-forge1.12.2-<IP_ADDRESS>55

Your most recent log file where the issue was present:
https://images2.imgbox.com/13/a0/iNGmjacx_o.png
unfortunately we can't copy paste it so we took a picture of it i hope that you can read it

thats just a generic warning that an advancement name was changed and we are still using the wrong name.. That by itself would not cause lag.


Reverting Bedrock TF template modules to using relative paths

As a:
Operator
I want:
terraform modules to be using relative paths
So that:
the Bedrock terraform templates are not tied to a specific branch of a repo
Describe the solution you'd like:
Change the module sources for Bedrock terraform templates to using relative paths. For example,
module "aks-gitops" {
  source = "github.com/microsoft/bedrock?ref=0.12.0//cluster/azure/aks-gitops"

to
module "aks-gitops" {
  source = "../../azure/aks-gitops"

Acceptance Criteria:
This should be done for all Bedrock TF environments.
Does this require updates to documentation?:
No

@yradsmikham do you still think this is small effort? Keep in mind we need to validate with the existing TF tests
cc @NathanielRose

@andrebriggs @yradsmikham This is a relatively Medium / Large effort in respect to modifying the Bedrock templates, updating the Bedrock integration tests, and verifying the spk integration tests.
Is there a document/thread detailing the reasoning for this shift? (Apologies if I may have missed it :slightly_smiling_face: )

@NathanielRose @andrebriggs Factoring integration tests, I think a size medium fits this task.

@yradsmikham @NathanielRose this seem like an epic story to me. Right now we have 7 TF environments.
We have automated tests for 4 of those environments. I'm fine with making sure the 4 automated tests continue to work. Is this something we can do in stages? Are you ok with 1 of 7 working then 2 of 7 working etc?

@andrebriggs @yradsmikham This also may be a subtask of the refactoring that will occur within #1068 and we might want to create another epic around migrating our terraform templates outside to a separate repo.

@andrebriggs @NathanielRose I think it makes more sense to create a new epic for this and not have it be grouped with #1068. We can definitely link the two epics together since they are somewhat related.
Yes, we can break this up into stages, with each stage ensuring stability in the integration tests.

@NathanielRose can you adjust the task list in the description to split up environments that are tested vs those that are not?

@andrebriggs Updated

This issue https://github.com/microsoft/bedrock/issues/1149 may potentially be added to this epic.

Relative URLs will fail because we only clone the environment template, not the entirety of the bedrock repo.  So if I clone cluster/environments/azure-single-keyvaule, any reference to a relative path out side of that will not be cloned and thus a terraform init will fail.  @timfpark saw this while using spk.
So before we can go to relative paths, we need to figure out how spk handles such.

Revising Epic to reflect latest progress:

Issue to change Bedrock Path: #1116
Issue for Design Document #1194
Issue for SPK Solution TBD

Completed. Closing


Add MQTT libraries to core

Closes #119

Thank you for this, @andypiper! I've merged this and it'll be part of the next release.


Post-Build Event/Additional files to copy mixes up local and remote paths in path mappings

The text for Post-Build Event/Additional files to copy says (my highlight):

Specifies additional files to copy to the remote system. Optionally the list can be provided as a local to remote mapping pairs using a syntax like this: fulllocalpath1:=fullremotepath1;fulllocalpath2:=fullremotepath2, where a local file can be copied to the specified remote location on the remote system.

The local and remote paths are switched and it actually copies from the right path (Linux) to the left path (Windows). So, for this path mapping:
my-proj/abc/xyz.cpp:=abc\xyz.cpp

, it copies the file /home/me/my-proj/abc/xyz.cpp to C:\projects\my-proj\abc\xyz.cpp, which is opposite to what the docs say.
Also, relative paths do work, but they are not reciprocal between left and right parts of the mapping, as you can see above - on Linux it includes the project directory, but on Windows it is relative to where vcxproj is. You may want to run this by developers - it is likely relative to Remote Built Root Directory and Remote Project Relative Directory, which in my case are ~ and my-proj for this example, so on Linux it requires my-proj.

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

ID: a7591f5a-5c39-7327-019d-bb74a43d9e6c
Version Independent ID: 9cc083ee-2aed-ab34-496d-accc838da4dd
Content: General Properties (Linux C++ Makefile Project)
Content Source: docs/linux/prop-pages/makefile-linux.md
Product: visual-cpp
Technology: cpp-linux
GitHub Login: @TylerMSFT
Microsoft Alias: twhitney

I must apologize for mixing up Post Build Event and Remote Post-Build Event in my description and creating an erroneous issue. Please go ahead and close it. My bad.


Errors in Diags::set_std_output() ignored, which can result in a crash.

I ran a stress test that exhausts the available file descriptors for the traffic_server process.  This caused the Diags::stdout_log member of Diags to be set to nullptr by this line:  https://github.com/apache/trafficserver/blob/1426a069efc54f8096159473e3e4aafc3f23a0b4/src/tscore/Diags.cc#L791 , which then resulted in  a segment violation.  set_std_output() returns true/false to indicate whether a this or other errors occurred, but this return value is ignore.  Maybe the errors in this function should simply cause a FATAL TS error

Still an issue.


runtimeCaching: urlPattern in json config not properly converted to regex

My json config has the following:
  "runtimeCaching": [{
    "urlPattern": "/users\\.json/",
    "handler": "networkFirst",
    "options": {
      "cache": {
        "name": "api"
      }
    }
  }]

which produces:
toolbox.router.get("/users\\.json/", toolbox.networkFirst, {"cache":{"name":"api"}});
It should produce the following, right?
toolbox.router.get(/users\.json/, toolbox.networkFirst, {"cache":{"name":"api"}});

I ran into this same issue when trying to get setup via CLI and ended up fixing it by converting my config .json into a .js file using module.exports.  This allowed the urlPattern field to use an actual RegExp rather than being forced to use a string.
Looking at the cli.js code it seems the file specified as a config is just brought in via require, making this possible.

Thanks for bringing this up. I was toying with the idea of looking at any strings that begin and end with / and implicitly converting them to RegExp objects, but the idea of just promoting JavaScript configuration via module.exports is really a better approach, and should be backwards compatible with people who pass in JSON.
As @mactookmyname mentions, there's no code change needed to the sw-precache command line interface to support this, but I'm going to update the documentation and sample external configuration file to make it clear that the module.exports approach is preferred to JSON.


Indicate when limit reached?

Hi, is there any way to register a handler for rate limit reached? e.g. so clients could log a warning/error or clear the queue.

I looked at the source and didn't see anything, I agree that this would be useful.

+1 here, we had to monkey patch the limit class. Seems like #24 offers an ability to extend and adding logging also.


Associations

Hi
Is there any way to get associations created from the CLI?

Not yet. This is related to #48 and can very well be implemented. If you have some time we could talk over the feature and a PR would be highly appreciated.

@wayne-o Any chance for you to submit a PR for this? Would be really appreciated.


Correct em dash in OOP challenge plus formatting

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[ ] Closes currently open issue (replace XXXX with an issue no): Closes #XXXX

Description

Before:

...

After:

...

@Greenheart hope you'll be able to forgive me 😄  I made another PR about the same thing here https://github.com/freeCodeCamp/freeCodeCamp/pull/13296. Small cosmetic change.


Clarify OIDC connection instructions

I cannot determine the difference between steps 2 and 3 of the OIDC dex connection example. I'm trying to follow: https://thenewstack.io/single-sign-on-for-kubernetes-dashboard-experience/
Though use a second OIDC provider instead of gsuite as the authorization mechanism.
Step 2:

Setup oauth2_proxy with the correct provider and using the default ports and callbacks.

I would assume by the end of this step oauth2_proxy is already running.
Step 3:

Login with the fixture use in the dex guide and run the oauth2_proxy with the following args:
-provider oidc -client-id oauth2_proxy -client-secret proxy -redirect-url http://<IP_ADDRESS>:4180/oauth2/callback -oidc-issuer-url http://<IP_ADDRESS>:5556 -cookie-secure=false -email-domain example.com

Though here it seems to say to start oauth2_proxy. When do I wire oauth2_proxy to the upstream OIDC provider, which has generated client/secrets of it's own? Any clarification would be greatly appreciated. I can provide additional information if needed, and if there's anything I can do to help update the docs I would be happy to, but as you can see I am currently lost myself.

It also references a "fixture use" (I assume that should say user?) from the dex getting started guide that is not referenced there at all (searching "fixture" yields nothing on that page).

Whoops I think I'm actually supposed to be setting up the second provider in dex, so things are starting to make sense. I'll keep working on this. I'm still confused about needing to login to dex to start the oauth2_proxy though.


Post initial tenant_size issues

Initial PR: #2714, condensing the review comments and remaining TODO's, observations here.

Incremental size update ideas for both:

libs/tenant_size_model
pageserver::tenant::size::calculate_logical_size

Current panicking vs. fallible operations in libs/tenant_size_model
Wrongly calculated and poorly tested retention_period parameter
Behaviour below tenant's gc_horizon (currently just zero)
Behaviour with regards to next_gc_cutoff being on the ancestor_timeline (currently filtered out)
Branching increments the size by gc_horizon in the multiple_branches test
Added and removed test in which timeline is attempted to be broken by deleting it's layer file start and stop raised questions

Size remained the same, but data was lost in postgres
Timeline was not broken in pageserver's view, because of degenerate local only test case

Interaction with on-demand downloads (comment, #2029)

Another related point tied to on-demand download. In current on-demand model we need to download significant amount of layers to calculate size. Would be good if we can make incremental calculation reliable through restarts, and if not we'll probably need some tweaking to place sizes in one layer (or metadata) so it is cheaper to obtain it on startup

On the #2755 my selection of next_gc_cutoff to represent the non-disk_consistent_lsn oldest retained Lsn raised questions, also the _cutoff name. Originally Heikki proposed last_retain_lsn for this, but I went with next_gc_cutoff because it's calculated so much similarly. My interpretation of how it should be calculated could be equally wrong.


Make structs and function public

This PR aims to make a lot of structs and function accessible from the outside world (outside of the crate), in order for them to be used in the upcoming subgraph unit testing framework.

@arthas168 Could you rebase this now that #2558 has landed? Then I'll be able to review.

This was merged


Transition from Heapster to metrics-server.

PR handling the transition as discussed. This PR closes #109.
Heapster has reached EOL with Kubernetes 1.13 and metrics-server has become the new standard. This commit fixes the incompatibilities between them, for keeping demo mode working,  like the METRICS_PATH and the use of nanocores instead of milicores.
Also, all past references to Heapster have been modified and the test suite has been adapted.
Signed-off-by: dgzlopes<EMAIL_ADDRESS>

Awesome, thanks so much for taking your time to send this through !
I'll test it out as soon as I get some bandwidth.


cleanup: fixed some west -> east consts

This change was pair-programmed with @dbolduc

This change is

SURPRISE! The check-api-pr build works now in our new custom worker pool. :man_shrugging:


Use NULL for default host in grpc_channel_call_create() in Python

#2635 will introduce a mechanism whereby the default host can be correctly determined by core. Since this can (almost) never be correctly determined automatically by wrapped languages without massive code duplication, wrapped languages are encouraged to use this facility once it's available.

Does this mean that I needn't expose to applications any means of additionally setting the host? If I should still expose such a facility, should it be something that applications set on a stub at stub creation time or should it be settable per-RPC?

You should still have a way of setting host - some servers we know of
require it to frequently change.
Generally, if creating stubs in your wrapping is cheap, exposing host
customization only at a stub level should be fine.
If creating stubs is expensive, you probably want a per-call override.
My view is that the host field is logically more closely tied to the stub
than a particular call, and we'll likely be moving to provide a stub-level
C++ override soon.
On Mon, Aug 3, 2015 at 8:58 AM Nathaniel Manista<EMAIL_ADDRESS>wrote:

Does this mean that I needn't expose to applications any means of
additionally setting the host? If I should still expose such a facility,
should it be something that applications set on a stub at stub creation
time or should it be settable per-RPC?
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/2636#issuecomment-127287066.

(taking this to change the wrapper to allow the string arg passed to grpc_channel_create_call  to be NULL, then will pass back to @nathanielmanistaatgoogle)

This was fixed in 9e4d0610ea5e2bb3.


Absolute imports break typeof app for rpc client.

What version of Hono are you using?
3.10.2
What runtime/platform is your app running on?
bun
What steps can reproduce the bug?
I have a separate file that has a single test route in it
// test-route.ts
import { Hono } from 'hono';

export const route = new Hono().get('/', async (c) => c.text('Hello World!'));

in the below code notice import { route } from 'test-route'; is an absolute import which breaks the type (see screenshot)
// index.ts
import { Hono } from 'hono';
import { route } from 'test-route';

const app = new Hono().route('/test', route);

export type AppType = typeof app;

export default app;

in the below code, notice that import { route } from './test-route'; is a relative import which works (see screenshot)
import { Hono } from 'hono';
import { route } from './test-route';

const app = new Hono().route('/test', route);

export type AppType = typeof app;

export default app;

What is the expected behavior?
I get strong types with relative imports. I would expect the same behavior with absolute imports.

What do you see instead?
I have a broken type with absolute imports.

Additional information
No response

I have found that this also happens when using path aliases.
Version 4.0.10

this also happen when I using mono repos, in this case, the api was move to api-package and the client side - react app import the api-package

I am not ignoring the issue because I don't see a good solution. If anyone knows of a better way, please let me know.

I think add the test-route module from node_modules to paths mapping can help this to work @yusukebe
This is not something that must be handled by Hono.
// Path mapping
"paths": {
  "@lib/*": ["lib/*"],
  "test-route": ["node_modules/test-route-lib"] // Maps all imports starting with "~/" to "./lib/"
},

Also check: https://github.com/zerkalica/zerollup/tree/master/packages/ts-transform-paths#typescript-transform-paths-plugin, basically the idea is to transform absolute imports to relative imports.

Any ides how to approach this in the monorepo setup with separate client/server folders?
I got the similar problem...

I've finally fixed the issue, it was related to tsconfig in my monorepo...
I had to enable composite: true in the server subrepo and add path reference in the client pointing to tsconfig in the server

I'll close this issue since it's stale. Thanks.


⚠ AnimeBytes has degraded performance

In b2aa2ef, AnimeBytes ($AB) experienced degraded performance:

HTTP code: 200
Response time: 1109 ms

Resolved: AnimeBytes performance has improved in 22498ea after 6 minutes.


Csv upload endpoint added (beta, subject to minor changes); Club-member relation added.

Per the stakeholders meeting, it is convenient for use to have club-member relation, which might have usage in admin/cd dashboard. Additionally, this relation mirrors the csv format of clubname+memberid fields.
csv can be uploaded via endpoint at POST /csv/upload?file={path_to_file}

supports first line being the field names as clubname,memberid or memberid,clubname
or without the first line defining the fields, if each line follows the data shape of  clubname,memberid

The file upload isn't correct (currently works on localhost to localhost), update is en route.


Could not able overwrite LOG_MODE as LOG_MODE_IMMEDIATE using kconfig choice choice.

@ulfalizer  @carlescufi @nashif
I am writing code to redirecting logs to ram console, So I used select LOG in my Kconfig to enable the Logging subsystem. And I am trying to select LOG_MODE as LOG_MODE_IMMEDIATE instead of LOG_MODE_DEFERRED.
Because of default log mode is LOG_MODE_DEFERRED zephyr/scripts/kconfig/kconfiglib.py is not overwriting LOG_MODE to LOG_MODE_IMMEDIATE.
In my Simple example also not worked. Below is my simple example.
choice MY_MODE
prompt "Mode"
default CHOICE_SYM_A
config CHOICE_SYM_A
bool "A"
config CHOICE_SYM_B
bool "B"
endchoice
choice MY_MODE
default  @CHOICE_SYM_B
endchoice
**> **But it is working when we didn’t add any default value to choice

choice MY_MODE
prompt "Mode"
config CHOICE_SYM_A
bool "A"
config CHOICE_SYM_B
bool "B"
endchoice
choice MY_MODE
default CHOICE_SYM_B
endchoice**
**

Please use our bug template when reporting bugs. You need to edit this issue to include the information requested in https://github.com/zephyrproject-rtos/zephyr/blob/main/.github/ISSUE_TEMPLATE/001_bug_report.md


Accept guest tokens at login.

Fixed on branch multi-job
Will close issue when merging into master.


Update scala3-library to 3.3.3

About this PR
📦 Updates org.scala-lang:scala3-library from 3.3.1 to 3.3.3
📜 GitHub Release Notes - Version Diff - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang", artifactId = "scala3-library" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-lang", artifactId = "scala3-library" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, version-scheme:semver-spec, commit-count:n:2

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-6.1%) to 93.939%

Totals

Change from base Build<PHONE_NUMBER>:
-6.1%

Covered Lines:
93

Relevant Lines:
99

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-6.1%) to 93.939%

Totals

Change from base Build<PHONE_NUMBER>:
-6.1%

Covered Lines:
93

Relevant Lines:
99

💛  - Coveralls


Spindump crashes upon an empty PCAP file, giving assertion failure

Assertion failure is reported in spindump_main_loop.c line 378. This can be repeated by running the test/trace_empty.pcap test case under src/spindump_testtraces.sh script.

Corrected in commit d72211e, closing the issue


Make a partial ordering struct

A problem we face right now is that BeginBlock, EndBlock, and Upgrades require specification of a total ordering of modules in an upgrade.
This causes a number of problems:

It is hard to understand where to put a new module
Listing every module obscures the important before/after relations
A lot of code bloat

Ideally we should just specify the relevant partial orderings, and it can then derive a satisfying total ordering.
e.g.
BeginBlockOrdering := osmoutils.NewPartialOrdering(AllModuleNames)
BeginBlockOrdering.AfterRelation(Staking.ModuleName, Bank.ModuleName) // Staking upgrade has to come after bank
BeginBlockOrdering.BeforeRelation(Auth.ModuleName, Bank.ModuleName) // Auth has to come before bank
// can also have a First or Last method if we want

App.SetBeginBlockOrdering(BeginBlockOrdering.TotalOrdering())

(We then use this to replace https://github.com/osmosis-labs/osmosis/blob/44099c5d3ee70791b44d5beb5404f3108516aa17/app/modules.go#L188 )
This should be relatively simple to add, by wrapping a topological sort library, e.g. https://github.com/stevenle/topsort . See topological sorting / partial ordering -> total ordering posts for more details: https://en.wikipedia.org/wiki/Topological_sorting#Relation_to_partial_orders

Closed by #1329, not sure why this wasn't automatically closed


Continue searching

See https://github.com/ryanfox/bktree/issues/3

Sorry, don't have time to update it, closing.