Check whether Kth bit is set or not

Problem: Given a number N and a bit number K, check if the Kth bit of N is set or not. Position of set bit '1' should be indexed starting with 0 from the LSB side in the binary representation of the number.
Example
Input: N = 4, K = 0
Output: No
Please assign me this problem as DevIncept Contributor. I will solve in C++

Also this question was asked in Microsoft

Sure @ishikasinha-d, you can go ahead


ensure that yaml properties are strongly ordered [noisy diffs]

The yaml properties are bucketed into groups, but the specific order within a bucket is not canonical.
this is technically not breaking, but will lead to noisy diffs.

Today: (random order)
Screen1 As screen:
    Height: =Max(App.Height, App.DesignHeight)
    Width: =Max(App.Width, App.DesignWidth)

    Label1 As label:
        Text: =MSNWeather.CurrentWeather("redmond", "Imperial").responses.weather.current.temp
        X: =40
        Y: =40
        Width: =560
        Height: =70
        ZIndex: =1
        Size: =21

    Label2 As label:
        Text: ="Hello"
        X: =40
        Y: =130
        Width: =560
        Height: =70
        ZIndex: =2
        Size: =21

If we order via a sort on identifier:
Screen1 As screen:
    Height: =Max(App.Height, App.DesignHeight)
    Width: =Max(App.Width, App.DesignWidth)

    Label1 As label:
        Height: =70
        Size: =21
        Text: =MSNWeather.CurrentWeather("redmond", "Imperial").responses.weather.current.temp
        Width: =560
        X: =40
        Y: =40
        ZIndex: =1

    Label2 As label:
        Height: =70
        Size: =21
        Text: ="Hello"
        Width: =560
        X: =40
        Y: =130
        ZIndex: =2


ng serve with --aot does not reload template changes

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.
####Ubuntu 16.04 LTS
@angular/cli: 1.0.3
node: 7.10.0
os: linux x64 (Ubuntu 16.04 LTS)
@angular/common: 4.1.2
@angular/compiler: 4.1.2
@angular/core: 4.1.2
@angular/forms: 4.1.2
@angular/http: 4.1.2
@angular/platform-browser: 4.1.2
@angular/platform-browser-dynamic: 4.1.2
@angular/router: 4.1.2
@angular/cli: 1.0.3
@angular/compiler-cli: 4.1.2
####Windows 10 Home
@angular/cli: 1.0.2
node: 6.9.2
os: win32 x64
Repro steps.
ng new
ng serve --aot
modify app.component.html
save app.component.html
The log given by the failure.
Template change not shown by live reload in browser. Also if the browser is refreshed the template change is not shown. It appears a template only change is not causing a recompile even though the terminal output shows a build occurred. If a .ts file is modified saved the template modification will then display.
Desired functionality.
Live reload browser with template change when --aot flag is set.
Mention any other details that might be useful.

This may be related to https://github.com/angular/angular-cli/issues/6238, which is the issue that changes are reloaded too quickly. Do the changes to the template show up if you make a second change? That is, do they lag one change behind?

No they do not even after refreshing the browser manually. When the --aot flag is passed it requires a change to a .ts file or a restart of the server.

@zmad5306 I tried to replicate the issue and seems to be working fine. Is there a repo I can take a look? It happens on every time or sometimes only?

git clone https://github.com/zmad5306/angular-cli-aot-bug.git
cd into folder you cloned it into
npm install
npm start
Run localhost:4200 in browser (Chrome in my case)
Modify
Hello world
 in app.component.html and save.
Reload will not show change even if the browser is refreshed. If you change a .ts file or restart npm start then the change will appear.

I am experiencing a very similar issue. For me, template changes occur one compilation cycle delayed:

ng new repro; cd repro
ng serve --aot --open
Browser opens, shows "app works!"
Change app.component.html to "app works 2"
Browser refreshes, however still shows "app works!"
Change app.component.html to "app works 3"
Browser refreshes and shows "app works 2" (the change made in step 4 and not in step 6)
after another change, the browser shows "app works 3" and so on

My versions:
Windows 10 Enterprise 1607
@angular/cli: 1.0.4
node: 6.10.3
os: win32 x64
@angular/common: 4.1.3
@angular/compiler: 4.1.3
@angular/core: 4.1.3
@angular/forms: 4.1.3
@angular/http: 4.1.3
@angular/platform-browser: 4.1.3
@angular/platform-browser-dynamic: 4.1.3
@angular/router: 4.1.3
@angular/cli: 1.0.4
@angular/compiler-cli: 4.1.3

@oliverhanappi Just checked seems to be an issue in the case of aot and prod builds only. There is already an issue logged for this https://github.com/angular/angular-cli/issues/1610 Closing this in favor of that.

I have found that changes are not detected when the compiler fails the first time you run ng serve if you are using AOT. But if the first time the compilation is successful, then it refreshes well. #1610 doesn't solve this problem.
I have created a repository with minimal code to shown it, The README contains step by step to reproduce. https://github.com/isthar13/angular-cli-aot-bug
If the first time you run ng serve using AOT there is any compilation error, all changes made are not detected and the server not reloaded.
If the first time you run ng serve using AOT there are no compilation error and while the server is running you add some error, the error is shown but if you make some changes they are detected and the server is reloaded properly.
When no using AOT, although the first time you run ng serve there is some compilation error, it will reload and detect changes fine.


WSL2 broken by Cumulative Update for Windows 11 Insider Preview (10.0.22635.4367) (KB5044373)

Windows Version
Microsoft Windows [Version 10.0.22635.4367]
WSL Version
WSL version: <IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[x] WSL 2
[ ] WSL 1

Kernel Version
Unable to run wsl.exe --status
Distro Version
All distributions / instances fail - Ubuntu 20.04 / Ubuntu 22.04 / Ubuntu 24.04 / Ubuntu 24.04.1 LTS
Other Software
No response
Repro Steps
WSL2 and all distributions / instances were working perfectly.
Windows Update installed and rebooted - Cumulative Update for Windows 11 Insider Preview (10.0.22635.4367) (KB5044373).
WSL2 no longer runs. Unresponsible to any wsl.exe commands.
Expected Behavior
Expected WSL2 to run as expected.
Actual Behavior
Doesn't run at all.
Have tried uninstalling / reinstalling by first removing:

Docker Desktop <IP_ADDRESS>107
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Disable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform
Disable-WindowsOptionalFeature -Online -FeatureName HypervisorPlatform
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All

[restarted]
Reinstalled in reverse order and up until Microsoft-Windows-Subsystem-Linux.
Will retry and capture the logs.
Diagnostic Logs
No response

WslLogs-2024-10-14_00-02-35.zip
WslLogs-2024-10-14_00-07-36.zip
WslLogs-2024-10-14_00-13-46.zip
Repeated the uninstall and reinstall, logging each step between reboots and now it works again!


Added etcd proxy for use with existing clusters

@csabapalfi This is the PR with the updated code for the demo. Start a Clocker instance like this:
% ./bin/clocker.sh jclouds:softlayer:ams01 $(pwd)/blueprints/dockercon/docker-cloud-calico-openstack.yaml

Thanks! Didn't realise it was this branch.

Rebased with master to fix Travis CI build failure (looked like a Java 7 issue) and merge latest commits from @csabapalfi


[Web] Add Font Rendering Support

Font

Add CFont Component
Test failure due to lacking shader-loading support, maybe we have to remove support of font rendering in headless mode.

Packaing

Add example folder

Font の headless 対応、後日整備します！


Update html-minifier

For security reasons, we need to update this dependency.

GitHub Advisory Database / GitHub Reviewed / CVE-2022-37620
kangax html-minifier REDoS vulnerability
High severity GitHub Reviewed

Published Oct 31, 2022 to the GitHub Advisory Database • Updated Apr 22, 2024

Package : html-minifier (npm)
Affected versions : <= 4.0.0
Patched versions : None
Description
A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 via the candidate variable in htmlminifier.js.
References

https://nvd.nist.gov/vuln/detail/CVE-2022-37620
kangax/html-minifier#1135
https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L1338
https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L294

I suggest reading my comments and especially https://github.com/kangax/html-minifier/issues/1135#issuecomment-2453437884 - because switching to html-minifier-terser will not fix this.


[semantic-arc-opts] Abstract out the check if a value is consumed int…

…o a utility called isConsumed().
I am doing this for two reasons:

I want to use this in a different optimization where we optimize load [copy]
=> load_borrow.
This will ensure that if/when the ownership APIs change to use isConsume/etc
instead of the current operand ownership map, the optimization will be easy to
update.

This is just a manual refactor. I am going to use this in a follow on commit.

@swift-ci smoke test and merge


Moves fuzz-tests into modules

This PR removes the special OrbitFuzzing target and also make the fuzz-tests non-optional.
They are now always compiled, just like regular unit-tests. Thus they are protected from accidentally breaking them,
when compiling in a non-fuzzing configuration.
In non-fuzzing configurations, the fuzz-tests are compiled to static libraries, since they don't provide a main-function.
All fuzz-tests files are named after the scheme <ClassName><MethodName>Fuzzer.cpp.

I'm going to merge that as soon the currently running check_dependencies.sh has done its job.


'Manual start' fails when a addblocker is installed

Like the title says, trying to access the application that uses manual start with an addblocker activated, I get the following error:

I'm also having a hard time configuring my application with the docs, for someone who's not really pro with react there's a lot of context missing in the examples.

I have the same problem, same error :(

do you only use adblocker? or even an antivirus?

I have not any adblockers or antivirus on my system. I have windows 7 and I use chrome last version.
but...
I disabled all my chrome's addons and then enabled them again, now it works without error. thanks

do you only use adblocker? or even an antivirus?

It's only adblocker, disabling it fixes the issue.

We are suffering from a generic issue like this as well, and getting repeated errors in Sentry.
GA4React intialization failed
{"type":"error"}

There's basically nothing more. Users seem to enter our application from all directions. This error might not even be related to this library since we had errors before installing ga-4-react. There seems to be some type of TypeError in gtag/js which gets triggered by random users.
TypeError
Illegal invocation

On line 495:
{snip} ))}}},vq=function(a,b,c){var d=a+"?"+b;c?dd.sendBeacon&&dd.sendBeacon(d,c):rd(d)};var Aq=window,Bq=document,Cq=function(a){var b=Aq._gaUserP {snip}

We haven't found anything on our searches as to what might cause this issue. I tried replicating this with AdBlocker plus but Analytics works just fine. Can't pinpoint the cause. Any help would be appreciated.

I reproduced also the issue with Ghostery

I solved this issue in a similar way to @noofreuuuh, but on render:
ga4react.initialize()
  .then(() => config.GA_TRACKING_BLOCKED = false)
  .catch(() => config.GA_TRACKING_BLOCKED = true)
  // eslint-disable-next-line react/no-render-return-value
  .finally(() => ReactDOM.render(<App />, document.getElementById('root')));

I use the config variable later to decide if I can set up the tags:
const ga = useGA4React();
if (!config.GA_TRACKING_BLOCKED && !!ga) {
  history.listen(location => {
    ga.pageview(location.pathname);
    ga.gtag('event', 'pageview', 'path');
  });
}


Normalize path separators from Windows

Related issue: .keras models saved in linux don't load in windows (inconsistent path separators in .h5 weights file!) #18528
This PR simply standardizes the path separator to forward slash "/".

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (a108358) 78.08% compared to head (8bab7fb) 57.54%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #18579       +/-   ##
===========================================
- Coverage   78.08%   57.54%   -20.54%
===========================================
  Files         334      334
  Lines       32411    32411
  Branches     6324     6324
===========================================
- Hits        25307    18652     -6655
- Misses       5537    12352     +6815
+ Partials     1567     1407      -160

Flag
Coverage Δ

keras
57.54% <100.00%> (-20.45%)
:arrow_down:

keras-jax
?

keras-numpy
57.54% <100.00%> (ø)

keras-tensorflow
?

keras-torch
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

keras/utils/file_utils.py
66.06% <100.00%> (ø)

... and 180 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


flaky TestSharesAvailable_Full

A simple while loop and dumping the shares when the test fails (e.g. by temporarily introducing a global var for that) could get the job done (in a hacky way). I'm currently running while go test -v -test.run TestSharesAvailable_Full; end for this. Will dump any test-vector here. It's easier to reproduce with a 32x32 square but that yields a massive test-vector.

These shares are used in one faileing test: https://gist.github.com/liamsi/34bb1269e311392184581c0191c1cfab

Yeah, there's no way to pinpoint any bugs without shares to repro

Yeah, the problem is that even with the shares above (with which the test failed), I can not repro the failure. So the bug must either really be in the decoding of rsmt2d (unlikely), or, in the Retrieve method itself (more likely because go-routines are almost the only source of non-determinism here).

So if I ran my modified test with the same testvector it also passes +99% of the time. But also fails rarely with:
2022-06-02T02:41:52.420+0200	ERROR	share	share/full_availability.go:35	availability validation failed	{"root": "cXf4EqqtzHAJxmfZmEG91DaH+4mtJ6SppB2A3kq2/iQ=", "err": "byzantine error. isRow:false, Index:16"}
    full_availability_test.go:39:
        	Error Trace:	full_availability_test.go:39
        	Error:      	Received unexpected error:
        	            	byzantine error. isRow:false, Index:16
        	Test:       	TestSharesAvailable_Full_TC

So it is not really reproducible via the input. The only interesting thing about this is that it is also the same Index, namely 16 as in Hlib's screenshot. Maybe additionally a stack trace whenever we encounter an unexpected byzantine error could help here.

@Wondertan how do I print out the debug logs during tests? Specifically this one:
https://github.com/celestiaorg/celestia-node/blob/1c45a6659733b00efcc5b0f47f8ae64f30363e33/ipld/retriever.go#L151

My hypothesis is that the bug is somewhere in https://github.com/celestiaorg/celestia-node/blob/1c45a6659733b00efcc5b0f47f8ae64f30363e33/ipld/retriever.go#L60 and not in rsmt2d
It could also simply have to do sth with the last quadrant but then I would expect we would see this more often.

Also, when I always fetch from the 1st quadrant by commenting out this line:
https://github.com/celestiaorg/celestia-node/blob/e8751aa194b850bbb0ce71b48a38d6b50f0946d2/ipld/retriever_quadrant.go#L74-L75
It also works more reliably. Do I use the last quadrant  (by not shuffling and explicitly using it) and with width 32, the test reliably fails.

@liamsi, I also believe this is something with retrieval logic and not with rsmt2d. I am able to reproduce the issue in my reconstruction tests in https://github.com/celestiaorg/celestia-node/pull/702 now. Moreover, they always fail with the same error which was not the case before.
Now I am trying to understand which PR caused the regression. My first suspect was https://github.com/celestiaorg/celestia-node/pull/738, but it was merged after the issue appeared, so it is not it. Continue investigation

Some alpha https://github.com/celestiaorg/rsmt2d/issues/83 fixes the bug completely.

The current workaround is to reimport the square each reconstruction attempt.

Mainly we need the share to be set like this, so it's set into axis slice.

I was able to deflake the test and reproduce the issue with 100% chance. Then to see how reimporting fixes it.

What is the bug specifically?


Create Update Script

Create script so existing milestones, labels, and issues can be updated. Currently, they are skipped. An if/else area has been added to git-mover.py to make room for this on Line 65.
Will utilize milestone.edit() found in the PyGithub library, most likely.

You can check out a possible update here: https://github.com/vaibhavAP/gitprojects/tree/optimization


How to modify parameters while using Quanergy M8?

Anyone using LeGo-LOAM with Quanergy M8? Who can tell me how to modify Utility.h and Imageprojection.cpp file? Thanks.

You need to know the details of image projection, so that you can adapt to M8


How to build this project with Maven？

Event is built with gradle, can you provide a Maven version？

The project will continue to use Gradle for dependency management for a considerable period of time, with no plans to accommodate Maven compatibility at the moment.


Mock adding third random parameter

Environment

Operating System: Linux
Node Version:     v20.10.0
Nuxt Version:     3.9.3
CLI Version:      3.10.0
Nitro Version:    2.8.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, modules, devServer, srcDir, css, postcss, i18n, runtimeConfig
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://stackblitz.com/edit/spy-use-fetch-is-not-working?file=src%2FuseLogin.nuxt.test.ts
Describe the bug
I'm trying to create a spy for nuxt's composable useFetch and validate what is being passed as a parameter in the call, but for some reason a third random parameter is added

Additional context
No response
Logs
No response

I can confirm I have the same problem when spying the useFetch method. However, the third parameter on my side is $dk08ZMi4Ri …!

@antoinezanardi I discovered here https://github.com/nuxt/test-utils/issues/567#issuecomment-1836958045 that we need to use registerEndpoint to mock the useFetch response, it worked for me, but it is limited, you can't change the responses based on each test, you would need to create a test file to validate an error response and another for success, this suggestion was said here by someone else https://github.com/nuxt/test-utils/issues/551 #issuecomment-1836958018

@antoinezanardi I discovered here #567 (comment) that we need to use registerEndpoint to mock the useFetch response, it worked for me, but it is limited, you can't change the responses based on each test, you would need to create a test file to validate an error response and another for success, this suggestion was said here by someone else #551 (comment)

Sweet technique, I missed that! I actually was also able to change the response, even within a test, in the following way:
// usual imports...
const { responseMock } = vi.hoisted(() => {
  return {
    responseMock: vi.fn().mockImplementation(() => {
      console.log("called base!");
      return { testDataOfResponse: "baseline" };
    }),
  };
});
registerEndpoint("/test/", () => responseMock())

Then in the test:
// it("test name", () => {
      responseMock.mockImplementation(() => {
          console.log("called modified!");
          return { testDataOfResponse: "test-related response" };
      });
// });

You can call the .mockImplementation method as many times as you want within a test :)


feat(before-deserialize-decorator): Add BeforeDeserialize decorator

Information

Type
Breaking change

Feature
No

Description
Closes #1336.

Great Job @xCryzed ;)

:tada: This PR is included in version 6.39.0 :tada:
The release is available on:

v6.39.0
GitHub release

Your semantic-release bot :package::rocket:


[defog] Postgres table names should be passed along with their respective schemas

I was trying to generate postgre schema
from defog import Defog

defog = Defog()

schema = defog.generate_postgres_schema(tables=['demos.restaurants','demos.restaurant_menu'],  upload=False)

But was getting an empty schema
Connection details found. Reading connection details from file...
Connection details saved to C:\Users\admin6996\.defog\connection.json.
Retrieved the following tables:
        demos.restaurants
        demos.restaurant_menu
Getting schema for each table in your database...
Getting foreign keys for each table in your database...
Getting indexes for each table in your database...
Sending the schema to the defog servers and generating a Google Sheet. This might take up to 2 minutes...
{'demos.restaurants': [], 'demos.restaurant_menu': []}

And if I pass the tables without the schema prefix I would get the below error
from defog import Defog

defog = Defog()

print(defog.generate_postgres_schema(tables=['restaurants','restaurant_menu'],  upload=False))

(venv) PS D:\> & "d:/work/venv/Scripts/python.exe" "d:/work/degog_poc.py"
Connection details found. Reading connection details from file...
Connection details saved to C:\Users\admin6996\.defog\connection.json.
Retrieved the following tables:
        restaurants
        restaurant_menu
Getting schema for each table in your database...
Getting foreign keys for each table in your database...
Traceback (most recent call last):
  File "d:\work\degog_poc.py", line 23, in <module>
    print(defog.generate_postgres_schema(tables=['restaurants','restaurant_menu'],  upload=False))
  File "D:\work\venv\lib\site-packages\defog\__init__.py", line 260, in generate_postgres_schema
    cur.execute(query)
psycopg2.errors.UndefinedTable: relation "restaurants" does not exist
LINE 6:                 AND conrelid::regclass IN ('restaurants'::re...

Hi @JeevansSP , just checking if you could share your ~/.defog/connection.json (with the credentials redacted)? I believe that the schema/db details should be in that file already and you shouldn't need to specify the schema/database when using the python library.

{
    "api_key": "key",
    "db_type": "postgres",
    "db_creds": {
        "host": "url",
        "port": "5432",
        "database": "db",
        "user": "postgres",
        "password": "pass"
    }
}

Even during the defog init I would get the error where tables had empty schema generated  hence it was failing

Thanks for the clarification and the connection.json file. To check my understanding: the database name here is db, the schema is demos and the tables of interest are restaurants and restaurant_menu?

Yes you are right


JavaScript: Using division in if condition across multiple lines mis-reported as error

VSCode Version: 1.11.2
OS Version: macOS 10.12.2

Steps to Reproduce

Create new JavaScript file
Enter the following code:function test(x, y) {
  if ((x / y) < 1 &&
      (x > 0)) {
    return 'a';
  }
}

The following problems are reported:

[js] '=' expected. (2, 10)
[js] Unterminated regular expression literal. (2, 11)
[js] '=>' expected. (3, 16)
[js] ')' expected. (6, 1)

Expected behaviour
The code executes correctly and doesn't appear to have any issues according to other linters and syntax validators

Thanks! This looks like an issue with TypeScript which also powers our JavaScript language features. I've opened https://github.com/Microsoft/TypeScript/issues/15411 to track this


Adds configuration for One

Description
Adds configuration for One
Describe the changes or additions included in this PR.
Test plan
How did you test the new or updated feature?

Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

[ ] Protocol:
[ ] Nodes (Validators and Full nodes):
[ ] Indexer:
[ ] JSON-RPC:
[ ] GraphQL:
[ ] CLI:
[ ] Rust SDK:
[ ] REST API:

a quick sanity test you can do is to run a sui localnet and observe the jwk for One is indeed pulled. see test plan here: https://github.com/MystenLabs/sui/pull/19311


Fixed 'Title' of this application customizer.

Q
A

Bug fix?
no

New feature?
no

New sample?
no

Documentation fix?
yes

What's in this Pull Request?

Fixed the title of this application customizer from "Tenant Global NavBar Application Customizer" to "Site Page Core Metadata Application Customizer" as title was incorrect.

 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.:x: rahulsuryawanshi sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Hi @rahulsuryawanshi ,
Has the change contained in the _config.yml ended up in this PR by accident? Could you exclude that? Thanks!
Laura

@LauraKokkarinen
I have only updated readme.md file of this project and I don't see that file in my local checkout or in Pull request. am I missing something here?

Hi @LauraKokkarinen,
Looks like the file  _config.yml  was changed by @hugoabernier.
@hugoabernier  - can you please help here?
Thanks
Rahul

Oh boy, sorry about that. It must've made the changes to _config.yml when I created the GitHub pages for aka.ms/spfx-extensions.
Feel free to omit that change.

Hi @LauraKokkarinen,
Looks like the file _config.yml was changed by @hugoabernier.
@hugoabernier - can you please help here?
Thanks
Rahul

@rahulsuryawanshi It looks like I made the changes the day before you submitted your PR, so I suspect that your PR didn't include my changes, which is why it treats shows in your PR as a delete.
The changes to the _config.yml was necessary for the aka.ms/spfx-extensions site.
If you exclude the changes from the _config.yml in your PR, there should be no more conflicts.
Sorry that this is more complicated than it should be. I guess that's the joy of contributing in a repo that has many active contributors :-)

@LauraKokkarinen , @hugoabernier
I am sorry for delayed response. I have submitted another pull request to remove config.yml file. I am not sure that is right approach. Please let me know if that is right approach or not.
Thanks again for your patience.
Rahul


Unit test MutationObserver.

I'm working on this at the moment.
I might have been getting issues with the observer missing some mutations (children getting appended), gonna unit test it to see if that's the case.

I've been considering a redesign of how MutationObserver is implemented to instead bubble up mutations to the nearest observer, rather than trying to maintain 100% accurate listener bindings for subtrees as they change. That's how it currently works and it's fraught with corner cases.
If there's a failing case, refactoring to that approach might be the fix, or at least make it more debuggable.


Compatibility with eclipse milo

Hi,
I would like to know how to use the parser and if it is compatible with the eclipse milo ?
In fact I would need the DI schema (https://opcfoundation.org/UA/schemas/DI/1.1/Opc.Ua.Di.NodeSet2.xml) in my milo server...
Thanks

The intention is to be compatible, yes. I have another project that uses this and implements makes loading the companion namespaces easy but it's not quite ready yet. You shouldn't have to use this project directly. I'll try to mention loading external models when I put together the simple roadmap for Milo.

Hi @kevinherron,
is there any update on the integration of the nodeset-parser for Milo, or is there already an example somewhere?
I would also need to load the DI into Milo...

Huh, didn't realize this was still public.
It's not quite ready yet. No documentation, API stability, or examples. Right now this thing changes as I need it to change for the code generator (also private right now) that uses it.

FWIW, once the code generator stabilizes, this can stabilize, at which point I will publish various companion spec models such as DI as add-on libraries. I want these libraries to include code-generated instances of all the ObjectTypes, VariableTypes, and Methods from whatever UANodeSet it's modeling.


Debian installation

There is a typo in the debian part of the installation:
https://releases.hashicorp.com/vagrant/2.2.5/vagrant_2.2.6_x86_64.deb
Thats not a valid link (different vagrant versions)

Fixed this on the latest push.
Thanks!


CAISO historical load giving parser error

Hey, seeing a parser error when trying to pull some caiso load data...

gridstatus.CAISO().get_historical_load(start=pd.Timestamp("1/1/2018").normalize(), end=pd.Timestamp("1/1/2019").normalize())

ParserError: Error tokenizing data. C error: Expected 1 fields in line 21, saw 2

I am trying to push a branch called tests with the following test but dont have those privileges. Can you enable them please?
import pytest
import pandas as pd
import gridstatus

@pytest.mark.parametrize(
    "start, end",
    [
    (
        pd.Timestamp("01/01/2018").normalize(),
        pd.Timestamp("01/01/2019").normalize()
    ),

    (
        "01/01/2018",
        "01/01/2019"
    )
])
def test_historical_load(start,end):
    caiso = gridstatus.CAISO()
    caiso.get_historical_load(start=start,
                              end=end
                              )

just gave you access.
in this, case the data isn't available.
I'm using urls like this https://www.caiso.com/outlook/SP/History/20180101/demand.csv to get data and you can see that data is return a 404 page.
The earliest data that is available appears to be April 10, 2018 https://www.caiso.com/outlook/SP/History/20180410/demand.csv.


Error: Bot crashes once a message is sent

Whenever a message is sent to the bot, it always throws an error in the console suggesting I'm registering more listeners in the bot.
Here's the error message it returns:
Error occurred while processing request 550 | but you did not specify them in \`allowed_updates\`

Above is the complete error on my console
Here's the implementation I did in my code

I've tried checking for help online but failed to get any related to my problem. I will really appreciate it if I get a response real quick.

The error message explains the problem very well. Here is what your code does:

you first start your bot on long polling by calling bot.start
you then add a request handler for the route /bot
every time a request is received, you add a new start command handler to the bot via bot.command("start")

This means that if you handle 1000 requests, your bot will now have 1000 identical start commands handlers registered. That's not what you meant to do, and grammY detects this and throws an error.
Note that your code:

doesn't actually run on webhooks
never receives any of the updates from your web server

You should probably take a second (first?) look at how to use webhooks. https://grammy.dev/guide/deployment-types#how-to-use-webhooks

Thank you so much for that. Will read through the guide you sent. But I have one question pls. does this mean the bot start command is supposed to be written outside the route?

does this mean the bot start command is supposed to be written outside the route?

Yep, exactly! First set up your bot with all handlers, then turn it into a callback function using webhookCallback, then set up your routes which call this function.

Thank you so much. I read about the concurrency with grammY runner docs and I got to understand it better. I migrated to the long polling instead. It's working perfectly now.
Thank you so much 😁
I would get back to learning about the webhook. As soon as I perfectly understand it I will get my hands working on it.
Thank you so much for your support.


google-drive-ocamlfuse command not found during auth in headless mode

opam says its installed and Ive tried removing it and reinstalling it using opam, Ive tried type google-drive-ocamlfuse and still no luck.
A reboot fixed this

Do you have these lines in ~/.profile?
# OPAM configuration
. $HOME/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true

What's the content of file ~/.opam/opam-init/variables.sh?

On ~/.profile im getting file not found
and the contents of ~/.opam/opam-init/variables.sh is:
CAML_LD_LIBRARY_PATH=/home/Bertie/.opam/4.01.0/lib/stublibs; export CAML_LD_LIBRARY_PATH;
MANPATH=$MANPATH:/home/Bertie/.opam/4.01.0/man; export MANPATH;
MAKELEVEL=; export MAKELEVEL;
MAKEFLAGS=; export MAKEFLAGS;
PERL5LIB=/home/Bertie/.opam/4.01.0/lib/perl5:$PERL5LIB; export PERL5LIB;
OCAML_TOPLEVEL_PATH=/home/Bertie/.opam/4.01.0/lib/toplevel; export OCAML_TOPLEVEL_PATH;
PATH=/home/Bertie/.opam/4.01.0/bin:$PATH; export PATH;

Then OPAM will build your executables in /home/Bertie/.opam/4.01.0/bin. Check that, in the folder, you find google-drive-ocamlfuse executable. Then check that your $PATH environment variable contains OPAM bin dir (running echo $PATH).

All of them are in the right places and the $PATH files are correct

What's the output of command:
$ which google-drive-ocamlfuse

~/.opam/4.01.0/bin/google-drive-ocamlfuse

And when you run:
$ google-drive-ocamlfuse

gives you "command not found"?

No thats fixed but now its not syncing. Sorry I edited my first post to say a reboot fixed it.

Sorry, but what do you mean when you say that it's not syncing?

I run google-drive-ocamlfuse and nothing happens, It worked originally after a restart but I had to restart again and I stopped being able to access gdrive

Have you tried running the command with -debug command line option, and then check the log files?


Restricting URI scheme  reading only to debug mode

Restricting URI scheme  reading only to debug mode

@aaustin Adding Changes  to restrict Reading URI scheme only while debugging

This is a hard one to read, but it looks like the the few lines related to URI scheme reading are good :+1:


Resolved Go race condition

Added pooMutex locks into newConn to resolve a race condition reported by the Go race condition tester.

+1


Refactor flaky e2e-tests in pipelines

fix timing related issues in pipeline, where sometimes pods take time to get into running state, here we can increase the delay timeouts.

test-cases:

multiple application login, cstor-csi https://github.com/openebs/cstor-operators/pull/419

/closed


Fire Validator only if the field is populate

I have a vuelidate custom validator for validate the mobile number.
const mobile_number_validator = value => {
  let mobileRegx = /^\+94[0-9]{9}$/;
  return mobileRegx.test(value);
};

In my validation object
validations: {
    contact_number: { mobile_number_validator },
  },

I disable the create customer button if something wrong in the validations.
<v-btn
:disabled="$v.$invalid">
	create customer
</v-btn>

contact_number is not a must to create a customer. But the problem here is $v.$invalid is
always true if I leave the contact_number field empty.
What I want is
If(You enter a contact number){
	fire `mobile_number_validator`
}
else{
	do nothing
}

If I further explain I want to validate mobile number only if the your provide a number. Otherwise my custom validatetor mobile_number_validator   should not involve in the validation process.
Is this possible to achieve?

Maybe update mobileRegx, so it allows empty string/null/undefined?
I am not so good at regex, so not sure what mobileRegx currently doing, but maybe its test return false if contact_number is empty?


Added two pages angular defer loading and control flow in angular

Thank you @pawanpatil08 I will review this, I need to check why build is failed

Thank you both I am trying to figure out the build issue, I will soon review the PR

ing the Signals RFC,

Hi @pawanpatil08 thank you for PR. Let me know once you take care of comments from @ajitzero, also if you can update the branch from main that would be greatt.


release: v3.13.5

[v3.13.5] (Apr 5, 2024)
Fixes

Add a logger to the GroupChannelProvider for failing get channel
Reduce the OGTag height in the mobile layout
Prevent force refreshing of the ChannelSettings
Keep context menu when failing the member operations (register/unregister operator, mute/unmute)
Keep profile image during member operations on the MembersModal

/bot create ticket

[Creating Ticket] 🔖 Done https://sendbird.atlassian.net/browse/SDKRLSD-1217


LDAP group map multiline support

Feature Description
With more than one group mapping, the single-line text field can quickly become very confusing. How about replacing the input text field with a multiline textarea?
This would make it easier to deal with many LDAP groups.
Screenshots
text input (actual)

textarea (idea)

-> Minor UI improvements: logo alignment, auth map editor, auth name display #25043


Dbeaver randomly segfaults on linux

Description
Hi, as the title says, I'm experiencing random segfaults while working with dbeaver... It seems to me that the segfault is triggered on a mouse hover event, although I'm not sure about this.
Tried with both JDK 17 and JDK 20 (Temurin), the crash happens using both JVMs for dbeaver.
DBeaver Version
Community Edition <IP_ADDRESS>304091457
Operating System
Manjaro Linux Cinnamon Edition
Database and driver

Db: Postgresql 15.2
Driver: Postgresql JDBC driver 42.5.0

Steps to reproduce
The crash appears to be random, no exact way to reproduce it
Additional context
content of hs_Err_pid file after crashing using JDK 20 can be seen here:
https://pastebin.com/BwvbNgYu

Hi, and I'm having the exact same issue since the update to version 23. DBeaver keeps crashing almost every time. And it has to do something with mouse hover, especially after opening a database table. Never had any similar issues in the last 4 years that I've been using dbeaver.
specs:
DBeaver Community Edition <IP_ADDRESS>303262217
Manjaro Linux Cinnamon
PostgreSQL 15.2
PostgreSQL JDBC Driver 42.2.5
And here the hs_err_pid file contents:
https://pastebin.com/4WurU9qz

@pgp Unfortunately I tried to reproduce it in Cinnamon, and I didn't get the mentioned error. How often this error happens?

@Destrolaric very frequently... it seems to happen mostly when I open the data view of the first or the second table I click on after starting dbeaver.
Are you using Cinnamon under Manjaro like me, or under Linux Mint? If you are using the latter and everything seems to work fine, might this crash be related to different gtk system libraries versions between the two linux distros?

I don't know how to help then. The only option I changed from defaults is the one to restore on app start the currently open tree position in the side browser (in order to avoid doing 4 or 5 clicks every time in order to reach my tables of interest). I can try disabling that option and see whether the crash disappears.

@pgp You could try to record the footage, maybe there is some specific action which causes DBeaver crash.

with a screen recorder app, you mean? Ok

@Destrolaric here is the screen recording of the crash, if it may help:
https://ibb.co/0ydW2Z7

Hello @pgp, in order to better assist you, can you please provide more information about your system? It would be very helpful if you could share the screenfetch result. Thank you.

I was unable to identify any significant system variances between the test VM and the one provided. May I ask which distribution of DBeaver was utilized for installation?

I used the portable version of DBEaver (i.e. in the github release page, the file with name ending in linux.gtx.x86_64.tar.gz... I also tried different versions: 23.0.1, 22.3.3, and also the last minor version 7.x.x... All ones present this problem.
By making different "brute-force" tests, it seems to me that the program crashes mostly when I click on/open the Data view of a table, and then I immediately change view (for example, I click on Properties tab of that table) while the background query for populating Data view is still running.
If you want to reproduce better my scenario, I'm using tables with several columns, almost all being postgres multidimensional arrays of floats (essentially, matrices), and this clearly slows down the loading of the data view.

@pgp Could you try executing
echo $XDG_SESSION_TYPE
And seeing if x11 or wayland is returned

I have x11

I have had the same issue ever since version 23 came out. I'm using the flatpak version provided in Linux Mint. Version 22 that comes as an apt package works fine.
I ran the application from the command like (flatpak run io.dbeaver.DBeaverCommunity) and it crashed as soon as I opened a data view of a table. Here is the crash log:
https://pastebin.com/NT4zfDtx
I'm not a Java developer, but it seems like it might be a NullPointerException:
Internal exceptions (20 events):
Event: 195,358 Thread 0x00007fef80015660 Exception <a 'java/lang/NullPointerException'{0x00000000c4561160}> (0x00000000c4561160)
thrown [src/hotspot/share/interpreter/linkResolver.cpp, line 1433]
Event: 195,360 Thread 0x00007fef80015660 Exception <a 'java/lang/NullPointerException'{0x00000000c4571020}> (0x00000000c4571020)
thrown [src/hotspot/share/interpreter/linkResolver.cpp, line 1433]
Event: 195,417 Thread 0x00007fef80015660 Implicit null exception at 0x00007fef7120fdcb to 0x00007fef71214bb8
Event: 214,418 Thread 0x00007fef80015660 Implicit null exception at 0x00007fef7155b1ab to 0x00007fef7155d5e4
Event: 214,902 Thread 0x00007fef80015660 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c46e6160}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.newInvokeSpecial(java.lang.Object, java.lang.Object, long, int)'> (0x00000000c46e6160)
thrown [src/hotspot/share/interpreter/linkResolver.cpp, line 758]
Event: 214,902 Thread 0x00007fef80015660 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c46ea4d0}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.invokeSpecial(java.lang.Object, java.lang.Object, java.lang.Object, long, int)'> (0x00000000c46ea4d0)
thrown [src/hotspot/share/interpreter/linkResolver.cpp, line 758]
Event: 386,210 Thread 0x00007fee90000fe0 Exception <a 'java/io/FileNotFoundException'{0x00000000c3b94c38}> (0x00000000c3b94c38)
thrown [src/hotspot/share/prims/jni.cpp, line 516]
Event: 386,215 Thread 0x00007fee90000fe0 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c3bb4678}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.newInvokeSpecial(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)'> (0x00000000c3bb4678)
thrown [src/hotspot/share/interpreter/linkResolver.cpp, line 758]
Event: 386,216 Thread 0x00007fee90000fe0 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c3bbaa30}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.invokeSpecial(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)'> (0x00000000c3bbaa30)
thrown [src/hotspot/share/interpreter/linkResolver.cpp, line 758]
Event: 386,216 Thread 0x00007fee90000fe0 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c3bbfec0}: 'java.lang.Object java.lang.invoke.Invokers$Holder.linkToTargetMethod(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)'> (0x00000000c3bbfec0)
thrown [src/hotspot/share/interpreter/linkResolver.cpp, line 758]
Event: 542,479 Thread 0x00007fef80015660 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c3bcb180}: 'void java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(java.lang.Object, java.lang.Object, java.lang.Object, int)'> (0x00000000c3bcb180)
thrown [src/hotspot/share/interpreter/linkResolver.cpp, line 758]
Event: 547,652 Thread 0x00007fef80015660 Exception <a 'java/lang/NoSuchMethodError'{0x00000000c46570b0}: 'void java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(java.lang.Object, java.lang.Object, java.lang.Object, int, java.lang.Object)'> (0x00000000c46570b0)
thrown [src/hotspot/share/interpreter/linkResolver.cpp, line 758]
Event: 547,695 Thread 0x00007fef80015660 Exception <a 'sun/nio/fs/UnixException'{0x00000000c4513cd0}> (0x00000000c4513cd0)
thrown [src/hotspot/share/prims/jni.cpp, line 516]
Event: 547,709 Thread 0x00007fef0423c5a0 Exception <a 'java/lang/IncompatibleClassChangeError'{0x00000000c45d8fc0}: Found class java.lang.Object, but interface was expected> (0x00000000c45d8fc0)
thrown [src/hotspot/share/interpreter/linkResolver.cpp, line 826]
Event: 568,443 Thread 0x00007fef80015660 Implicit null exception at 0x00007fef715d9a50 to 0x00007fef715d9dbe
Event: 2101,042 Thread 0x00007fef80015660 Implicit null exception at 0x00007fef7112ba40 to 0x00007fef7112c210
Event: 2101,043 Thread 0x00007fef80015660 Implicit null exception at 0x00007fef7114e060 to 0x00007fef7114eac0
Event: 2101,051 Thread 0x00007fef80015660 Implicit null exception at 0x00007fef71157660 to 0x00007fef71158108
Event: 6020,714 Thread 0x00007fef80015660 Implicit null exception at 0x00007fef70fdb7ed to 0x00007fef70fdb9dc
Event: 6038,996 Thread 0x00007fef80015660 Implicit null exception at 0x00007fef7173126f to 0x00007fef71731760

I have the same problem in fedora 38 with cinnamon.

I'm also experiencing random crashes, mint 21.1 cinnamon, installed via flatpak, running in debug shows:
`#
A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007ffabfb910f5, pid=25, tid=26

JRE version: OpenJDK Runtime Environment 21.9 (17.0.7+7) (build 17.0.7+7)
Java VM: OpenJDK 64-Bit Server VM 21.9 (17.0.7+7, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
Problematic frame:
C  [libgtk-3.so.0+0x3800f5]  gtk_widget_is_sensitive+0x25

Core dump will be written. Default location: Core dumps may be processed with "/lib/systemd/systemd-coredump %P %u %g %s %t<PHONE_NUMBER>854775808 %h" (or dumping to /home/mare/core.25)

An error report file with more information is saved as:
/home/mare/hs_err_pid25.log

If you would like to submit a bug report, please visit:
https://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.

`

I wanted to git bisect this because it started happening between 23.1.0 GOOD and 23.1.0 BAD.
But this project gives me a really hard time.
Every commit it broken.

Missing requirement: org.jkiss.dbeaver.erd.ui 3.0.68.qualifier requires 'osgi.bundle; org.eclipse.gef3 0.0.0' but it could not be found

[ERROR]   Missing requirement: org.jkiss.dbeaver.erd.ui 3.0.67.qualifier requires 'osgi.bundle; org.eclipse.gef3 0.0.0' but it could not be found

can someone explain me why there are always unresolved dependencies?
maybe I am just used to have versioned code available if it is a lib/plugin ?
I already tried maven 3.6.0, 3.8.7
https://github.com/dbeaver/dbeaver/issues/6115
Nothing helps

@romanstingler I have a suspicion what the gef3 lib were removed from our maven repositories due to us migrating to the official gef classic.

anyone of @dbeaver-devops  interested in fixing a crashing bug?

I've got the same issue, mainly when openeing a new table view.

still present in 23.2

23.2.1 still crashing

thanks @bnku ,
Exporting export NO_AT_BRIDGE=1 fixes the problem for me as well - the app starts without crashing.
Running on Debian 12 using flatpak:
flatpak info io.dbeaver.DBeaverCommunity

DBeaver Community - Universal Database Manager

         ID: io.dbeaver.DBeaverCommunity
        Ref: app/io.dbeaver.DBeaverCommunity/x86_64/stable
Arhitectură: x86_64
     Ramura: stable
   Versiune: 23.2.3
    Licență: Apache-2.0
    Origine: flathub
   Colecție: org.flathub.Stable
  Instalare: system
   Instalat: 284,8 MB
  Executare: org.gnome.Platform/x86_64/45
        Sdk: org.gnome.Sdk/x86_64/45

      Comit: a4db584a647919bc29991b24fe40a0d03ce0588a0d3181729b8b30ea813708de
   Superior: 3bac4a449b5d58732657ffea291ce687e57f40b3a975c37f1d17f4769ab2a659
    Subiect: No debuginfo for module stages (8318bc83)
       Data: 2023-10-23 11:36:10 +0000

       _,met$$$$$gg.
    ,g$$$$$$$$$$$$$$$P.       ---------------
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 12 (bookworm) x86_64
 ,$$P'              `$$$.     Host: 20NJCTO1WW ThinkPad T495
',$$P       ,ggs.     `$$b:   Kernel: 6.1.0-13-amd64
`d$$'     ,$P"'   .    $$$    Uptime: 1 day, 15 hours, 55 mins
 $$P      d$'     ,    $$P    Packages: 5367 (dpkg), 37 (guix-user), 188 (flatpak)
 $$:      $$.   -    ,d$$'    Shell: bash 5.2.15
 $$;      Y$b._   _,d$P'      Resolution: 1920x1080, 1920x1080
 Y$$.    `.`"Y$$$$P"'         DE: GNOME
 `$$b      "-.__              WM: Mutter
  `Y$$                        WM Theme: Adwaita
   `Y$$.                      Theme: Adwaita [GTK2/3]
     `$$b.                    Icons: Adwaita [GTK2/3]
       `Y$$b.                 Terminal: tilix
          `"Y$b._             CPU: AMD Ryzen 7 PRO 3700U w/ Radeon Vega Mobile Gfx (8) @ 2.300GHz
              `"""            GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series
                              Memory: 9223MiB / 37972MiB

Example on how to set the ENV as @bnku suggested.
sudo flatpak override io.dbeaver.DBeaverCommunity --env=NO_AT_BRIDGE=1

Example on how to set the ENV as @bnku suggested. sudo flatpak override io.dbeaver.DBeaverCommunity --env=NO_AT_BRIDGE=1

This fixed the issue for me. Thanks!


Travis CI failing on master and all PRs

This may be related: https://github.com/bundler/bundler/pull/3559
Which was merged in April of 2015. Seems like it should be available and in use by Travis. I'll investigate further.
In case we need to, it seems we might be able to configure bundler version: https://docs.travis-ci.com/user/languages/ruby#Custom-Bundler-arguments-and-Gemfile-locations

Closing old issues. We've since migrated to CircleCI with a fairly custom setup.


helm/hooks fail on OpenShift 4.1: failed install perform step: unknown (get configmaps)

We are currently failing to deploy helm charts on OpenShift 4.1, using hooks. We can verify the issue using helm 2.11.0 and 2.14.1:
>helm version
Client: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
>helm version
Client: &version.Version{SemVer:"v2.14.1", GitCommit:"5270352a09c7e8b6e8c9593002a73535276507c0", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.14.1", GitCommit:"5270352a09c7e8b6e8c9593002a73535276507c0", GitTreeState:"clean"}

>kubectl version
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.4", GitCommit:"c27b913fddd1a6c480c229191a087698aa92f0b1", GitTreeState:"clean", BuildDate:"2019-02-28T13:37:52Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.4+d4417a7", GitCommit:"d4417a7", GitTreeState:"clean", BuildDate:"2019-06-12T15:47:30Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}

If we remove all hooks, the helm chart is working fine, but if there is any hook in place, it fails hard:
[kube] 2019/06/19 12:09:08 Starting delete for "hook-issue-config-map-hook" ConfigMap
[kube] 2019/06/19 12:09:08 configmaps "hook-issue-config-map-hook" not found
[kube] 2019/06/19 12:09:08 building resources from manifest
[kube] 2019/06/19 12:09:08 creating 1 resource(s)
[tiller] 2019/06/19 12:09:08 warning: Release hook-issue pre-install hook-issue/templates/hook-issue-config-map-hook.yaml could not complete: unknown (get configmaps)
[tiller] 2019/06/19 12:09:08 failed install perform step: unknown (get configmaps)

So we created a very simple example haveing a hook config map and a normal config map and try to deploy it:
>helm package hook-issue -d ./
Successfully packaged chart and saved it to: hook-issue-0.0.1.tgz

>helm upgrade --install --namespace my-namespace hook-issue hook-issue-0.0.1.tgz
Release "hook-issue" does not exist. Installing it now.
Error: unknown (get configmaps)

>oc get pods
NAME                                      READY   STATUS        RESTARTS   AGE
tiller-75c7dd5dc4-w5wtm                   1/1     Running       0          6m45s
tiller-deploy-86f5c9487d-9w4hn            1/1     Terminating   0          11m
tiller-deploy-86f5c9487d-dt7fg            1/1     Running       0          2m21s

>oc logs tiller-deploy-86f5c9487d-dt7fg
[main] 2019/06/19 12:07:34 Starting Tiller v2.14.1 (tls=false)
[main] 2019/06/19 12:07:34 GRPC listening on :44134
[main] 2019/06/19 12:07:34 Probes listening on :44135
[main] 2019/06/19 12:07:34 Storage driver is ConfigMap
[main] 2019/06/19 12:07:34 Max history per release is 0

>oc logs tiller-75c7dd5dc4-w5wtm
[main] 2019/06/19 12:02:45 Starting Tiller v2.14.1 (tls=false)
[main] 2019/06/19 12:02:45 GRPC listening on :44134
[main] 2019/06/19 12:02:45 Probes listening on :44135
[main] 2019/06/19 12:02:45 Storage driver is ConfigMap
[main] 2019/06/19 12:02:45 Max history per release is 0
[tiller] 2019/06/19 12:09:08 getting history for release hook-issue
[storage] 2019/06/19 12:09:08 getting release history for "hook-issue"
[tiller] 2019/06/19 12:09:08 preparing install for hook-issue
[storage] 2019/06/19 12:09:08 getting release history for "hook-issue"
[tiller] 2019/06/19 12:09:08 rendering hook-issue chart using values
[tiller] 2019/06/19 12:09:08 performing install for hook-issue
[tiller] 2019/06/19 12:09:08 executing 1 crd-install hooks for hook-issue
[tiller] 2019/06/19 12:09:08 hooks complete for crd-install hook-issue
[tiller] 2019/06/19 12:09:08 executing 1 pre-install hooks for hook-issue
[tiller] 2019/06/19 12:09:08 deleting pre-install hook hook-issue-config-map-hook for release hook-issue due to "before-hook-creation" policy
[kube] 2019/06/19 12:09:08 Starting delete for "hook-issue-config-map-hook" ConfigMap
[kube] 2019/06/19 12:09:08 configmaps "hook-issue-config-map-hook" not found
[kube] 2019/06/19 12:09:08 building resources from manifest
[kube] 2019/06/19 12:09:08 creating 1 resource(s)
[tiller] 2019/06/19 12:09:08 warning: Release hook-issue pre-install hook-issue/templates/hook-issue-config-map-hook.yaml could not complete: unknown (get configmaps)
[tiller] 2019/06/19 12:09:08 failed install perform step: unknown (get configmaps)

>oc get cm
NAME                         DATA   AGE
hook-issue-config-map-hook   1      98s

So as you can, it fails after it created the config map
If we try the same without hook, it works fine:
>helm package cm-sample -d ./
Successfully packaged chart and saved it to: cm-sample-0.0.1.tgz

>helm upgrade --install --namespace my-namespace cm-sample cm-sample-0.0.1.tgz
Release "cm-sample" does not exist. Installing it now.
NAME:   cm-sample
LAST DEPLOYED: Wed Jun 19 14:12:07 2019
NAMESPACE: my-namespace
STATUS: DEPLOYED

RESOURCES:
==> v1/ConfigMap
NAME       DATA  AGE
cm-sample  1     1s

>oc get pods
NAME                                      READY   STATUS    RESTARTS   AGE
tiller-75c7dd5dc4-w5wtm                   1/1     Running   0          9m35s
tiller-deploy-86f5c9487d-dt7fg            1/1     Running   0          5m11s

>oc logs tiller-deploy-86f5c9487d-dt7fg
[main] 2019/06/19 12:07:34 Starting Tiller v2.14.1 (tls=false)
[main] 2019/06/19 12:07:34 GRPC listening on :44134
[main] 2019/06/19 12:07:34 Probes listening on :44135
[main] 2019/06/19 12:07:34 Storage driver is ConfigMap
[main] 2019/06/19 12:07:34 Max history per release is 0

>oc logs tiller-75c7dd5dc4-w5wtm
[main] 2019/06/19 12:02:45 Starting Tiller v2.14.1 (tls=false)
...
[tiller] 2019/06/19 12:09:08 failed install perform step: unknown (get configmaps)
[tiller] 2019/06/19 12:12:07 getting history for release cm-sample
[storage] 2019/06/19 12:12:07 getting release history for "cm-sample"
[tiller] 2019/06/19 12:12:07 preparing install for cm-sample
[storage] 2019/06/19 12:12:07 getting release history for "cm-sample"
[tiller] 2019/06/19 12:12:07 rendering cm-sample chart using values
[tiller] 2019/06/19 12:12:07 performing install for cm-sample
[tiller] 2019/06/19 12:12:07 executing 0 crd-install hooks for cm-sample
[tiller] 2019/06/19 12:12:07 hooks complete for crd-install cm-sample
[tiller] 2019/06/19 12:12:07 executing 0 pre-install hooks for cm-sample
[tiller] 2019/06/19 12:12:07 hooks complete for pre-install cm-sample
[storage] 2019/06/19 12:12:07 getting release history for "cm-sample"
[storage] 2019/06/19 12:12:07 creating release "cm-sample.v1"
[kube] 2019/06/19 12:12:07 building resources from manifest
[kube] 2019/06/19 12:12:07 creating 1 resource(s)
[tiller] 2019/06/19 12:12:08 executing 0 post-install hooks for cm-sample
[tiller] 2019/06/19 12:12:08 hooks complete for post-install cm-sample
[storage] 2019/06/19 12:12:08 updating release "cm-sample.v1"
[storage] 2019/06/19 12:12:08 getting last revision of "cm-sample"
[storage] 2019/06/19 12:12:08 getting release history for "cm-sample"
[kube] 2019/06/19 12:12:08 Doing get for ConfigMap: "cm-sample"
[kube] 2019/06/19 12:12:08 get relation pod of object: my-namespace/ConfigMap/cm-sample

>oc get cm
NAME                                      DATA   AGE
cm-sample                                 1      6m49s
cm-sample.v1                              1      6m49s
hook-issue-config-map-hook                1      9m48s

The error
[tiller] 2019/06/19 12:09:08 failed install perform step: unknown (get configmaps)

is not very selfexplaining.
Also we didn't find any thing similar, so we wonder, if we can help.
The examples are:

cm-sample.zip
hook-issue.zip

To troubleshoot this we may have to use the openshift starter (see here). OpenShift origin/OKD appears to be on version 3.11.

@mattfarina Is there any chance, that we could increase any log outputs?

I met the same issue when we used the pre-install hook to install the secrets. [tiller] 2020/02/10 22:50:00 failed install perform step: unknown (get secrets)

I'm going to close this ticket due to inactivity, but please re-open if this still needs to be addressed. Thanks!


Update sbt-scalajs, scalajs-compiler, ... to 1.8.0

Updates

org.scala-js:sbt-scalajs
org.scala-js:scalajs-compiler
org.scala-js:scalajs-library
org.scala-js:scalajs-test-bridge

from 1.6.0 to 1.8.0.
GitHub Release Notes - Version Diff
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!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-js" } ]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #129.


PR for: prune away some of the annotations before the release that are not useful for users #4346

Updates
- Create: src/ontology/config/: Created this directory and initialized with a config file to be used by new makefile command for special annotations removal.
- Update: Updated makefile: New command: filtered2.owl: Extends filtered.owl and runs an annotation removal command. ```

(still working on this; i will attach some files w/ diffs)

This PR works for "excluded_from_qc_check" and "confidence", but not for the other two things. We need to add SPARQL DELETE commands for that, lets discuss at call.

Should I merge this in so the two things are fixed for the Feb release (tomorrow) or should I hold off?
@matentzn

This does not work yet.. Sorry. We need to push the Mondo release a few days, maybe to Friday.

sure, can do

It sucks that my internet was down last Friday. I was hoping to discuss this PR at that time.
Nico wrote:

Looks great. Can you please provide a diff of filtered.owl owl with and without your change? any diff is fine, including command line, but robot diff is preferred.

@matentzn : You can find the diff at the bottom of my length report in the issue thread.
Nico wrote:

This PR works for "excluded_from_qc_check" and "confidence", but not for the other two things. We need to add SPARQL DELETE commands for that, lets discuss at call.

@matentzn Darn. Do you think that is a bug in robot remove? Perhaps something that would need to be updated in robot? If so, I can create a new GitHub issue for that if you like. But in any case, it sounds like I need to update my makefile recipe to somehow run a SPARQL query after the 'robot remove' bit. I think maybe you can instruct me on the best way to do this.

@joeflack4 Yeah I found your diff on the issue later, thank you!

Do you think that is a bug in robot remove? Perhaps something that would need to be updated in robot? If so, I can create a new GitHub issue for that if you like. But in any case, it sounds like I need to update my makefile recipe to somehow run a SPARQL query after the 'robot remove' bit. I think maybe you can instruct me on the best way to do this.

This is not strictly speaking a problem with ROBOT remove. Its a missing feature which I requested a long while back: https://github.com/ontodev/robot/issues/886.
The way you solve it is using an update query like this:
https://github.com/monarch-initiative/mondo/blob/master/src/sparql/update/rm-related-exact-synonym-annotations.ru
As we have to make a release on Friday, we need to get this done beforehand. I can do it, but I do not want to deprive you of the learning experience. Do you want to:

[ ] Add an update query like the one linked above that specifically selects axiom annotations involving "http://purl.obolibrary.org/obo/mondo#clingen_preferred and "MONDO:preferredExternal".
[ ] Add this query to src/sparql/update
[ ] Run the following:

cd src/ontology
sh run.sh make update-merge-normalise-joes-update-query

[ ] Push resulting changes to mondo-edit.obo to this branch

@matentzn Thanks for the explanation. I later on saw your comments on the diff, etc. I feel like I'm being pulled in a lot of directions this week (from within my team; not you). I'll try my best to stave off too many requests for my time and see if I can make this change on Thursday.

@joeflack4 if you feel lile you are drowning, just ping me and I will do this for you so that @nicolevasilevsky can do her release. That is what teams are for :P You have done most of what is needed anyways.

@matentzn I do feel like I'm drowning this week; and I haven't even put any effort into Mondo/monarch stuff this week. Just a lot of demands from other grants this week. Sorry, and thanks!

I have combined @joeflack4 solution now with a SPARQL delete query that will get rid of the MONDO:preferredExternal and CLINGEN_PREFERRED annotations. @nicolevasilevsky I did test it but I would take a note to make sure these are really removed in mondo.owl after the first step (make all) of the release.

Just dont let @cmungall see this! Quickly @nicolevasilevsky, quickly merge this!! Faster!

Ok, I'm merging!


Hard deletes

Currently the only way to hard delete a model setup for soft delete is to use executeRaw.
Add a custom method to the model, something like deleteHard or hardDelete, or maybe even deleteUnsafeHard

any update?


Disable letters in Rate under Track Distance

Details
Keyboard type changed to prevent to type letters in Rate under Track Distance
Fixed Issues

$ https://github.com/Expensify/App/issues/7712
Tests

[x] Verify that no errors appear in the JS console

PR Review Checklist

Contributor (PR Author) Checklist

[x] I made sure to pull main before submitting my PR for review
[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[ ] I clearly indicated the environment tests should be run in (Staging vs Production)

[ ] I wrote testing steps that cover success & fail scenarios (if applicable)
[x] I ran the tests & they passed on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified there are no console errors related to changes in this PR
[x] I followed proper code patterns (see Reviewing the code)

[x] I added comments when the code was not self explanatory
[ ] I put all copy / text shown in the product in all src/languages/* files (if applicable)
[ ] I followed proper naming convention for platform-specific files (if applicable)
[ ] I followed style guidelines (in Styling.md) for all style edits I made

[x] I followed the guidelines as stated in the Review Guidelines

PR Reviewer Checklist

[ ] I verified the Author pulled main before submitting the PR
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the testing environment is mentioned in the test steps

[ ] I verified testing steps cover success & fail scenarios (if applicable)
[ ] I verified tests pass on all platforms & I tested again on all platforms
[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I verified there are no console errors related to changes in this PR
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified comments were added when the code was not self explanatory
[ ] I verified any copy / text shown in the product was added in all src/languages/* files (if applicable)
[ ] I verified proper naming convention for platform-specific files was followed (if applicable)
[ ] I verified style guidelines were followed

[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines

QA Steps

Launch the app and log in with any account
Go to Setting
Tap on any Workspace you have in your account
Go to Reimburse expenses
Verify you can not type letters

[x] Verify that no errors appear in the JS console

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Web
https://user-images.githubusercontent.com/11542415/155932271-f4bda239-db99-4e7a-99a1-a5275d38f81c.mov
Mobile Web
No visual changes, same as web
Desktop
No visual changes, same as web
iOS
https://user-images.githubusercontent.com/11542415/155931901-4561cc21-fa78-4996-a7d8-b714d23b37c0.mov
Android

https://user-images.githubusercontent.com/11542415/155933123-ccaf7c89-1a5b-4bff-a527-a7ad5249e56a.mov

There are a couple of things on the checklist.
Please complete those which are required. (not marked with if applicable).

There are things that I didn't modify, Styles for example, should I still mark it?

Please add screenshots /videos of al platforms and tick the box

I am not able to reproduce the issue on staging. Could you please test it @kakajann on prod or staging?

So this should pick up invalid extra decimals [0-9]+\.[0-9]+\., but I am not sure how we could incorporate it, if that regex is detected should we return and not update the value and leave it as it was?

Yup, I think so Just don't update the state. Thanks should work. Right?

That's good idea. I'll update the code tomorrow

🚀 Deployed to staging by @pecanoro in version: 1.1.43-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

👋 @kakajann @parasharrajat @pecanoro - I think this PR has caused a regression that prevents users from entering three decimal places. Can we look into fixing that, please? The default IRS rate is 0.585, so it's pretty important!

Issue for the decimal place rounding down to two instead of three https://github.com/Expensify/Expensify/issues/202283

I thought we should round the value down to 2 decimal places. I can make it 3 if it's what has to be done

Yes please! The IRS rate is 3 decimal places and since we must follow their rules, we need 3 :)


Strange issue on clean install Error: write EPROTO ... :unknown protocol:../../vendor/node/deps/openssl/openssl/ssl/s23_clnt.c:797

Expected behavior
Kitematic up and running
Actual behavior
Error: write EPROTO<PHONE_NUMBER>:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../../vendor/node/deps/openssl/openssl/ssl/s23_clnt.c:797:,

Information about the Issue
Made a clean install on MacOs Catalina via brew
docker: <IP_ADDRESS>,43472 (auto_updates)
kitematic: 0.17.11
virtualbox: 6.1.4,136177
Tried to remove vm and install again, doesn't work
Steps to reproduce the behavior
Install kitematic and docker
brew cask install docker kitematic virtualbox

Having the same problem! Any solution for this issue here?

Same issue for me

Any solution? Anyone?

I uninstalled and installed again Docker, that works for me


Script for releasing from CI.

This PR depends on #1455. After landing we would get this fun release button:

It currently, intentionally, has a commented out load of the turbobot npm token so that it's assured harmless until reviewed.

I have no reason to believe that this won't work, you can see two test runs:

Stops just before publishing.
Skips publishing, but commits the changes.

The actual publishing is the one thing I can't test until doing it live. npm publish --dry-run doesn't actually run through all of the checks which trolled me hard last month when I moved us to GoReleaser in the first place.
Given that publishing is working locally on our build boxes I am very confident that it will work.

Thanks for your comments, I've gone back and added commentary into the files to make sure that the information is not lost.


Crash unable to load publicsuffixes.gz resource from the classpath.

We see a crash in the logs crashlytics:
Fatal Exception: java.lang.IllegalStateException
Unable to load publicsuffixes.gz resource from the classpath.
okhttp3.internal.publicsuffix.PublicSuffixDatabase.findMatchingRule (PublicSuffixDatabase.kt:110)
okhttp3.internal.publicsuffix.PublicSuffixDatabase.getEffectiveTldPlusOne (PublicSuffixDatabase.kt:72)
okhttp3.Cookie$Companion.parse$okhttp (Cookie.java:469)
okhttp3.Cookie$Companion.parse (Cookie.java:368)
okhttp3.Cookie$Companion.parseAll (Cookie.java:601)
okhttp3.internal.http.HttpHeaders.receiveHeaders (HttpHeaders.kt:204)
okhttp3.internal.http.BridgeInterceptor.intercept (BridgeInterceptor.kt:85)
okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt:109)
okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept (RetryAndFollowUpInterceptor.kt:76)
okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt:109)
com.myapp.auth.AuthInterceptor$intercept$response$1.invokeSuspend (AuthInterceptor.kt:45)

We use okhttp version 4.10.0
Crash occurs more often on Xiaomi devices with api level 33. In crashlytics statistics 15k in 90 days, that’s a lot.
We assume that the initialization of the publicSuffixListBytes field of the PublicSuffixDatabase class in one thread is not visible in others.
The following code in Application class solves the problem, but we would like without it
CoroutineScope(Dispatchers.IO + Job()).launch {
     try {
           PublicSuffixDatabase.get().getEffectiveTldPlusOne("google.com")
     } catch (exception: Exception) {
     }
 }

I think our proguard rules improved in 4.11.0
https://square.github.io/okhttp/changelogs/changelog_4x/#version-4110
Now https://github.com/square/okhttp/blob/okhttp_4x/okhttp/src/main/resources/META-INF/proguard/okhttp3.pro
Please reopen if still happening with 4.12.0.

We use okhttp version 4.12.0 and also reported this issue
Fatal Exception: java.lang.IllegalStateException: Unable to load publicsuffixes.gz resource from the classpath.
at okhttp3.internal.publicsuffix.PublicSuffixDatabase.findMatchingRule(PublicSuffixDatabase.kt:110)
at okhttp3.internal.publicsuffix.PublicSuffixDatabase.getEffectiveTldPlusOne(PublicSuffixDatabase.kt:72)


New version: evilmartians.lefthook version 1.7.17

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-09-26 02:15:05.492 [FAIL] Installer failed security check. Url: https://github.com/evilmartians/lefthook/releases/download/v1.7.17/lefthook_1.7.17_Windows_i386.exe Result: 0x80004005

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 896.)

@wingetbot run


.net core support

Hi,
are there roadmap for making tesseract support .Net Core?

Not yet, I'm inclined to wait till .Net Core's tooling and .Net standard has stabilised.

Just a shout out for .Net Standard - we've made the shift to that.

I have successfully ported the code to compile under DotNet Core.  There are a few minor changes that need to be done but it all seems to work OK.

How did you do it @Brumawen ??

Any updates guys? Net Standard 2.0 has been released months ago.
@Brumawen can you share the steps/process on how you ported the code to .net core?

The question is... will it be ever done?

any updates on that? @Brumawen can you share this changes with us?

Yes, was working on this over the weekend actually. The main projects been
ported just need to get the tests up and running.
Shouldn't be much longer now...
On Tue., 20 Mar. 2018, 05:05 Antonio Correia<EMAIL_ADDRESS>wrote:

any updates on that? @Brumawen https://github.com/brumawen can you
share this changes with us?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/charlesw/tesseract/issues/298#issuecomment-374310256,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPzyNqe6pq4DKuaSgHEECMjhca9UNZ6ks5tf_OGgaJpZM4Kvf3c
.

awesome, thanks!
For those who are in a hurry I successfully adapted it to run with a .NET Core project, you can see a sample here

Done, complete rewrite of existing project structure to support multi-targeting and testing the major supported targets and generating nuget packages via visual studio's pack feature (or just use dotnet pack). However because of this a fully up-to date version of Visual Studio 2017 is required to build the project.

@charlesw are this changes made in any nuget package?

I want to ask. Any update?

This should have been working for a while now (all packages target .net
standard)
On Fri, 25 Mar 2022, 00:23 msavara, @.***> wrote:

I want to ask. Any update?
—
Reply to this email directly, view it on GitHub
https://github.com/charlesw/tesseract/issues/298#issuecomment-1077623277,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB7HSFKJGXLYEZXEEVU373VBRUERANCNFSM4CV57XOA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Getting JSON errors for ide-purescript

I'm trying to use the same config for both my regular build and for ide-purescript. I can't figure out a way to get the loader to output just the output JSON from psc. Is there a flag that could enable this that I could conditionally enable?

In the options you can pass pscArgs; e.g., pscArgs: { jsonErrors: true }. Does this allow you to get the JSON output for you use-case?

I tried that but Webpack still gives back other output. After digging in some more I realize this is not really a purescript-loader issue but a more general webpack issue.

Thanks for digging into this and for the update.
On Wednesday, 3 August 2016, David Koontz<EMAIL_ADDRESS>wrote:

Closed #65 https://github.com/ethul/purs-loader/issues/65.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ethul/purs-loader/issues/65#event-743453083, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAVYy_XFqFDFK8zRyyAKQ7Gt9YEgSYcvks5qcEDQgaJpZM4JUwHa
.


Add CesiumTileExcluder tutorial

We get a lot of questions about how to exclude tiles, and always direct users to #248. It'd be great to turn the contents of the PR description into an official tutorial.

I'd like to see this as well


Karma not given when tagged in an edit

Editing a message to tag the @karma bot does not give karma.

From what I can find, this is impossible. https://stackoverflow.com/questions/40976069/microsoft-bot-framework-message-edit-event
Will reopen if you can prove it's possible.


Show Fake

The game crashes after activate this
static void __stdcall drawModelExecute :
static void __stdcall drawModelExecute(void* ctx, void* state, const ModelRenderInfo& info, matrix3x4* customBoneToWorld) noexcept
{

    hooks.modelRender.callOriginal<void, 21>(ctx, state, std::cref(info), customBoneToWorld);

    auto localPlayer = interfaces.entityList->getEntity(interfaces.engine->getLocalPlayer());

    interfaces.modelRender->forceMaterialOverride(nullptr);
    auto fake = localPlayer->eyeAngles();
    localPlayer->viewPunchAngle() = fake;
    localPlayer->drawModel(0x1, 255);
    interfaces.modelRender->forceMaterialOverride(nullptr);
}

DRAW MODEL :

    void drawModel(int flags, char alpha)
    {
        return callVirtualMethod<void(__thiscall*)(void*, int, unsigned char)>(this + 4, 9)(this + 4, flags, alpha);
    }

yeah i have the same problem i think there is no solution

dont use char  for alpha use int

if you do that maybe it wont crash, but maybe it wont show the chams but show the shadows(happend to me if i remember)

Without the drawmodel function it shows the shadows and with the client crashes

dont use char for alpha use int

try this and tell me how it goes

i think hes pc exploded lol

int = crash!

check this post maybe it can help you, he refers that he called original sceneend, i dont understand him, but maybe you do
https://www.unknowncheats.me/forum/counterstrike-global-offensive/322882-crashing-calling-function-drawmodel-chams.html

sorry dude i dont get anything.

try replacing drawmodrl with hooks.modelRender.calloriginal blahblah

Bruh u cslling endscene chams stuff in dme
Great job :facepalm:

wtf osiris calling chams in drawModelExecute too

wtf osiris calling chams in drawModelExecute too

what do u mean?

could you tell us where it crashes?
also osiris does use DME for chams, not EndScene.
bool Chams::render(void* ctx, void* state, const ModelRenderInfo& info, matrix3x4* customBoneToWorld) const noexcept
^ DME calling convention
also Entity doesn't have a method called drawModel?

also Entity doesn't have a method called drawModel?

no it doesnt, you have to do this + 4 to get clientrenderable, just like getmodel

Have anyone a smart idea to show fake antiaim?

Have anyone a smart idea to show fake antiaim?

do getoriginal idk if it changes anything but i think it does, since drawmodelexecute is a void func it will work perfectly(correct me if i am wrong)


Documentation skip links

Mostly usability improvements — at least some tries:

new skip-link to the main navigation, in documentation page;
new skip-link to search form (on pages that display it);
refactored skip-links pattern, mainly to ease their use for screen magnifiers users (which can't see them appearing since when using it, they are likely to be on the top left corner of the document).

This is more convenient to use, and also simplify both markup and styles — however maybe opinionated?
Each of these is a separate commit so let me know if I should revert one of those.
Ping @patrickhlauke again :)

@ysds what's your take on this?

Is this a common practice? I haven't seen this many tabs in front of my ability to get to a clearly focusable element. Also, tabbing to the search form applies the focus style, but it's not focused with my cursor—at least in Safari, I cannot type in the field with tab-tab-tab-enter. Feels like an incomplete implementation with that.
I'd also echo the feedback of this being a little tough to see given the colors. It matches, yes, but it could be more obvious.

I agree with the search focus comment. I too would expect it to focus the search input.
I like the change in the skip to main content part but only for desktop. For mobile it hides the logo. Not a big deal, and TBH, this might be a better approach since the page does not jump when the links show up?

You're right about the search input, I guess it's somehow related to Algolia. I'll investigate on this.
About the design thing, let me know if you have any ideas: FYI I didn't change anything on the design part, except links being above the header instead of making it jumppy (and this is still easy to revert).
I seriously think it's more common to have skip links fixed above the header than moving around. Above the logo is not a concern to me, since people got to your page and saw it… I guess their comfortable usage of the page is more important than always see your logo :D
The main goals of this PR are:

get skip links left aligned, since people using a screen magnifier start on the top left, whatever their screen resolution is;
add other skip links to ease navigating: to the search input, and to the documentation subnav.

Styling skip links wasn't to my mind so please elt me know if you think I can improve this too.
For now it's at least missing a correct behaviour for the search input getting focus.

Hi there,
I'm getting very different and disappointing behaviours on this. It seems to work fine in Chrome, but not at all in Firefox — and I only tested those two, I guess trying with Edge, Safari, or mobile browsers would get things worse. I made a reduced test case on CodePen.
At this point, the skip to search input link would require some JavaScript to properly get the focus :/ I found several posts mentionning this kind of issues with skip links / anchors, all of them ending up with a JavaScript patch…
Since there's not so much tabs to get through before reaching the search input, I'm not sure it's worth it.
I'd recommend to simply remove the skip to search link (and still standing by for the design part) — do you have any opinion on this?

I'm still not sure if the second skip to main nav has any value since the nav it's in the content already.
/CC @mdo @patrickhlauke for your final words

i think the additional skip link is quite useful for kbd users as, when navigating through the docs, it allows for reasonably quick access to the side navigation there without needing to constantly tab through the top navigation stuff.
i wonder though if rather than "main navigation", it should say "docs navigation" (i.e. "skip to docs navigation") as arguably the main navigation throughout the site is the one at the top? (though i see the <nav> itself also has an aria-label="Main Navigation", so it's consistent with that i guess)
also, a complete aside - is there any issue opened about the disclosure widgets in the side navigation there not having aria-expanded and not having a button role?

also, a complete aside - is there any issue opened about the disclosure widgets in the side navigation there not having aria-expanded and not having a button role?

The thing is that the docs don't use our core collapse plugin for the sidebar (I didn't implement this and it must got merged without noticing it). So, it's very basic and obviously lacks some stuff. I tried to switch to the collapse plugin for the sidebar, but I gave up since it didn't work properly.

@XhmikosR @patrickhlauke I think I managed to make collapse work on sidenav: could you please check?

@ffoodd please try to keep your PRs clean, simple and short. Squash any patches when possible, don't make more than 1 core change. Please move the discussion about the sidebar to a new PR.

there seems to be some slight delay now between activating the disclosure control and the submenu appearing.
additional complication/consideration: when in smaller screen view, where the secondary navigation is collapsed behind the hamburger menu, the "skip to docs navigation" won't work as expected when the hamburger is currently closed.

@patrickhlauke Collapse behaviour is handled in #30230 from now on.
For skip to docs nav, maybe could we simply hide it on smaller screen with utility classes?

For skip to docs nav, maybe could we simply hide it on smaller screen with utility classes?

i guess that would be the least bad alternative, yes

This is done. :)

@mdo @patrickhlauke: do you think this is ready to land in v5?

@XhmikosR @ffoodd this looks good, yes.
on a completely separate note...the hamburger button on small screen lacks any kind of focus indication. is that already noted/addressed somewhere?

on a completely separate note...the hamburger button on small screen lacks any kind of focus indication. is that already noted/addressed somewhere?

Nope, we should fix it in a separate PR targeting master, good catch!
@ffoodd please rebase and clean up your patches when you have some time :)
Still wondering if we should backport this. Thoughts?

Nope, we should fix it in a separate PR targeting master, good catch!

i'll file a fresh issue

Still wondering if we should backport this. Thoughts?

would be nice if we could, but not a deal-breaker if we'd rather concentrate on more pressing matters

I added in the 4.4.2 project to track this and we can backport it later

@XhmikosR Rebased!

@MartijnCuppens @ffoodd so what's it going to be with this? Currently we have the patch on master, and I'm tracking in v4-next, but I recall we had some second thoughts?

Indeed, I'll try something else today.


Align keyboard shortcuts with Jupyter Notebook/JupyterLab

Environment
Docker
Current behavior
Livebook is so awesome! As a longtime user of Jupyter notebooks, however, it would be great if the keyboard shortcuts aligned. I suspect a lot of folks coming to Livebook/Nx might already be very familiar with Jupyter Notebook/JupyterLab and their corresponding keyboard shortcuts.
Expected behavior
Same keyboard shortcuts as Jupyter Notebook/JupyterLab.
Links:
https://towardsdatascience.com/jypyter-notebook-shortcuts-bf0101a98330
https://gist.github.com/discdiver/9e00618756d120a8c9fa344ac1c375ac

Hi @ggiill! We don’t plan to fully mirror Jupyter, as that is not really a goal for us, but we should definitely incorporate some of those. I absolutely love 00 to restart the runtime and I think using Enter to go into insert mode would be neat too. It is up to @jonatanklosko to decide which ones are best.

Oh, we should also document the indent, decent, and toggle comment shortcuts work for us.
The option to split an active cell in two is also really cool. I would even say we should generalize to something that moves a selection to a separate cell?

I agree that this is a nice inspiration :) In some cases the shortcuts are the same, and otherwise I think there's a reason for using different combinations. For example with Jupyter there's a shortcut to insert a cell above/below, while we want separate shortcuts for code and markdown cells. For collapsing sidebar we also have multiple shortcuts, because we have multiple sidebars. Then for edit mode shortcuts, we use the defaults from Monaco editor, and consequently VSCode, while Jupyter uses CodeMirror with it's own set of shortcuts (though the differences shouldn't be significant for the basic operations).

Thanks for the quick and thoughtful responses @josevalim and @jonatanklosko.
Totally makes sense re: the default edit mode shortcuts in Monaco vs CodeMirror - I actually remember @jonatanklosko mentioning using Monaco in his Thinking Elixir podcast episode.
Anyway, glad there was some inspiration to be gleaned from the Jupyter Notebook/Lab keyboard shortcuts/functionality.
Keep up the amazing work - this is so cool.

Took some inspirations and documented the editor shortcuts. That's it for now, although we may revisit some of the features in the future. Thanks for the references @ggiill!


forward to localhost returns 404

Do you know why my localhost is returning 404?
Here's the code:
// broken.go
package main

import (
  "fmt"
  "html"
  "net/http"
  "github.com/vulcand/oxy/forward"
  "github.com/vulcand/oxy/testutils"
  "github.com/urfave/negroni"
)

func main() {

  // Forwards incoming requests to whatever location URL points to,
  // adds proper forwarding headers
  fwd, _ := forward.New()

  redirect := func(w http.ResponseWriter, r *http.Request) {
    url := testutils.ParseURI("http://localhost:3838/sample-apps/hello")
    r.URL = url
    r.Host = url.Host
    fwd.ServeHTTP(w, r)
  }

  mux := http.NewServeMux()

  mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
    fmt.Fprintf(w, "Hello, %q", html.EscapeString(r.URL.Path))
  })

  mux.HandleFunc("/myapp", redirect)

  n := negroni.Classic() // Includes some default middlewares
  n.UseHandler(mux)

  http.ListenAndServe(":8011", n)
}

go run broken.go

[negroni] 2018-01-31T01:52:23Z | 200 |   97.89µs | localhost:8011 | GET /shiny
INFO[0006] vulcand/oxy/forward/http: Round trip: http://localhost:3838/sample-apps/hello, code: 404, Length: 849, duration: 6.862264ms
[negroni] 2018-01-31T01:52:27Z | 404 |   6.946216ms | localhost:3838 | GET /sample-apps/hello
^Csignal: interrupt

In contrast, this works perfectly well and the localhost app loads as it is supposed to:
// works.go
package main

import (
  "net/http"
  "github.com/vulcand/oxy/forward"
  "github.com/vulcand/oxy/testutils"
)

func main() {
  fwd, _ := forward.New()

  redirect := http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
    req.URL = testutils.ParseURI("http://localhost:3838/sample-apps/hello")
    fwd.ServeHTTP(w, req)
  })

  s := &http.Server{
      Addr:           ":8011",
      Handler:        redirect,
  }
  s.ListenAndServe()
}

I don't know how to inspect the HTTP headers, but I think that may be one way to solve this problem.
I guess that the Forwarded header is not set correctly, or perhaps some other header needs to be changed.
If I understand HTTP correctly, then there are 4 HTTP headers to inspect:

User request to Proxy server

Proxy server request to Backend application

Backend application response to Proxy server

Proxy server response to User

It might be useful to directly compare the set of 4 headers in two scenarios:

The golang proxy (as shown above), where behavior is not correct. So, the headers are probably not correct.

A similar Apache or nginx proxy, where behavior is correct. These headers should be correct, and could provide a hint about what to change in the golang proxy.

A correct Apache proxy setup looks like this:
# /etc/apache2/sites-available/example.com.conf
<VirtualHost *:80>
  ServerName example.com
  Redirect /app /app/
  ProxyPass /app/ http://localhost:3838/
  ProxyPassReverse /app/ http://localhost:3838/
  ProxyPreserveHost On
</VirtualHost>

If you'd like to share any ideas or tips, I'd greatly appreciate it!


Session->Run (c++) not working if launched in a thread

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):source
TensorFlow version (use command below):1.15.2
Python version:3.8
Bazel version (if compiling from source):0.26.1
GCC/Compiler version (if compiling from source):5.5
CUDA/cuDNN version:10.1/7.5
GPU model and memory:Jetson Xavier

Describe the current behavior
I'm working on creating an object detection script using Tensorflow in C++. For this, I've used https://github.com/lysukhin/tensorflow-object-detection-cpp as a start and after some changes to make it faster, I'm able to run it at a very good speed on the Jetson Xavier. But today, I would like to separate the capture and inference task to let them run by themself as threads. The problem is that my "session ->run" instruction is not giving me any information about what is going on. The only thing that I know is that my session->run is not working properly because it should output a tensorflow::Status and I'm getting nothing (neither an error). Since there is no error, It is pretty hard for me to find why my run instruction is not doing anything.
Describe the expected behavior
Described above.
Thanks for the futur help !

@Kmarconi
I think this is more related to models repo.Please, raise an issue in models repo by filling issue template from here.Also, please share related code so it helps us in localizing the issue faster.Thanks!


#1127: Docs - fix busted icons

@joseegm  try clearing your cache. and if the page is still not right try - bundle exec jekyll build from docs folder to rebuild the site.

@saadmhybris
Rebuilding the website worked.

@joseegm pls merge if this looks good. this will not hold up the release though.

@joseegm pls merge if this looks good. this will not hold up the release though.

Done


[PDI-15138] Synchronize after merge step: commit size can't be set fr…

…om variable
This PR complements #6001. Please review and merge. @mbatchelor @pentaho/tatooine

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -f 'pom.xml' -pl 'ui,engine' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'ui,engine' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/trans/steps/synchronizeaftermerge/SynchronizeAfterMerge.java
  engine/src/main/java/org/pentaho/di/trans/steps/synchronizeaftermerge/SynchronizeAfterMergeMeta.java
  engine/src/test/java/org/pentaho/di/trans/steps/synchronizeaftermerge/SynchronizeAfterMergeMetaInjectionTest.java
  engine/src/test/java/org/pentaho/di/trans/steps/synchronizeaftermerge/SynchronizeAfterMergeTest.java
  ui/src/main/java/org/pentaho/di/ui/trans/steps/synchronizeaftermerge/SynchronizeAfterMergeDialog.java

Newly Fixed Tests:
org.pentaho.di.trans.step.mqtt.MQTTStreamSourceTest.testMultipleTopics:
:large_blue_circle: junit.framework.AssertionFailedError
junit.framework.AssertionFailedError
	at org.pentaho.di.trans.step.mqtt.MQTTStreamSourceTest.getQuickly(MQTTStreamSourceTest.java:253)
	at org.pentaho.di.trans.step.mqtt.MQTTStreamSourceTest.testMultipleTopics(MQTTStreamSourceTest.java:141)

Still Broken Tests:
org.pentaho.di.trans.steps.jsoninput.analyzer.JsonInputAnalyzerTest.testJsonInputExternalResourceConsumer:
:red_circle: java.lang.AssertionError
java.lang.AssertionError
	at org.pentaho.di.trans.steps.jsoninput.analyzer.JsonInputAnalyzerTest.testJsonInputExternalResourceConsumer(JsonInputAnalyzerTest.java:184)

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.job.entries.evalfilesmetrics.JobEntryEvalFilesMetrics

Branch Change: -0.4% :small_red_triangle_down:
Complexity Change: -0.5% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.job.entries.evaluatetablecontent.JobEntryEvalTableContent

Branch Change: -1.1% :small_red_triangle_down:
Complexity Change: -1.1% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.job.entries.waitforsql.JobEntryWaitForSQL

Branch Change: -1.5% :small_red_triangle_down:
Complexity Change: -2% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.ifnull.IfNullMeta

Branch Change: -2% :small_red_triangle_down:
Complexity Change: -1.9% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.ldapoutput.LDAPOutputMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change: -3.3% :small_red_triangle_down:
Complexity Change: -3.9% :small_red_triangle_down:

org.pentaho.di.trans.steps.sort.SortRowsMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.synchronizeaftermerge.SynchronizeAfterMergeMeta

Complexity Change: -0.3% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.2% :small_red_triangle_down:
Method Change: -1.4% :small_red_triangle_down:

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.webservices.WebServiceMeta

Branch Change: -1.7% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupsert.SalesforceUpsertMeta

Instruction Change: -0.1% :small_red_triangle_down:


 Does it work if you start with --disable-extensions?

Do you get an error message?

Since upgrading to 1.11.0, the ctrl-` shortcut to open the integrated terminal doesn't work anymore for me. Starting with --disable-extensions doesn't fix the problem. Opening the terminal from the View > Integrated Terminal menu does still work.

VSCode Version: Code 1.11.0 (9122ec4b1068bd391e41974f46a4b54c1b9c90f9, 2017-04-05T20:52:01.201Z)
OS Version: Darwin x64 16.5.0

I fixed the problem by editing the shortcut in the Keyboard Shortcuts window. Weirdly, typing ctrl-` shows up as ctrl+[IntlBackslash], which displays as ctrl-§. I use a Dutch keyboard.

@bluecrowbar Can you please open a separate issue. Keyboard handling goes through entirely different strategies on OSX vs. Windows. A somewhat in-depth explanation is at https://github.com/Microsoft/vscode/wiki/Keybindings
Once I'm on a mac, I will happily investigate what's going on. Most likely, it is due to the fact that we don't ship with keyboard layout specific default keybindings (e.g. we don't ship with keybindings optimized for the Dutch keyboard layout). That is something you can upvote in #1240.

@tkmine Can you please try pressing F1 and typing "terminal". What does the list show? What keybinding appears next to the open terminal. Does pressing the keybinding printed there open the terminal? Does selecting the action via arrow keys + running it via Enter open the terminal?

@alexandrudima I've opened #24178 for the ctrl-` issue.


Update childprocess gem to 1.x

PR Summary
Update childprocess gem to 1.x to keep the guard-jasmine dependencies updated.

thanks @alejandroperea !

Released as 3.1.0

You're welcome @nathanstitt !