JSON output missing additional /string fields

While using this Python MI wrapper I've noticed that one of the useful fields (nicely formatted display aspect ratio 16:9 instead of 1.778) was missing when requesting JSON output from your library.
As far as I understand, this line "DisplayAspectRatio/String;;;Y NT;;;Display Aspect ratio\n" is responsible since Y NT without one last Y flag ( Y NTY) means that the show in XML option is not activated and the field is not shown in the JSON output. (I've also noticed that this seems to be true for all Parameter**/String** variants.)
Given this, I have a few questions:

Why is JSON output "less rich" and missing the values that are present in the "regular" output?
Is there a toggle option somewhere that would allow to match the level of details in the JSON output by including all the fields there?
And if not, would you be willing to add such a "All JSON" option?
Thanks!

P.S.
I understand that the Python MI wrapper allows to extract all the fields, but then it creates new tag names in the process, which is a bummer since I'm already using MI internal ones

Why is JSON output "less rich" and missing the values that are present in the "regular" output?

The content is same, only "human readable" data is not in the JSON / XML / etc, because the formatting can be done elsewhere based on the JSON content. We try to limit the size of the JSON output so we put only 1 instance of the representation of the data, not all of them.

Is there a toggle option somewhere that would allow to match the level of details in the JSON output by including all the fields there?

Not yet.

And if not, would you be willing to add such a "All JSON" option

There is already a "Complete" option for that, but it was not enabled for JSON (and XML).
quick and dirty fix.

I understand that the Python MI wrapper allows to extract all the fields, but then it creates new tag names in the process, which is a bummer since I'm already using MI internal ones

I didn't get the issue, which "new tag names"? JSON output is based on MI API.

because the formatting can be done elsewhere based on the JSON content.

Yeah, that's what I ended up doing via a copy&paste (with a minor conversion to Py) of this:
         if (DAR>=(float)1.23 && DAR<(float)1.27)   DARS=__T("5:4");
    else if (DAR>=(float)1.30 && DAR<(float)1.37)   DARS=__T("4:3");
    else if (DAR>=(float)1.45 && DAR<(float)1.55)   DARS=__T("3:2");
    else if (DAR>=(float)1.55 && DAR<(float)1.65)   DARS=__T("16:10");
    else if (DAR>=(float)1.65 && DAR<(float)1.70)   DARS=__T("5:3");
    else if (DAR>=(float)1.74 && DAR<(float)1.82)   DARS=__T("16:9");
    else if (DAR>=(float)1.82 && DAR<(float)1.88)   DARS=__T("1.85:1");
    else if (DAR>=(float)2.15 && DAR<(float)2.22)   DARS=__T("2.2:1");
    else if (DAR>=(float)2.23 && DAR<(float)2.30)   DARS=__T("2.25:1");
    else if (DAR>=(float)2.30 && DAR<(float)2.37)   DARS=__T("2.35:1");
    else if (DAR>=(float)2.37 && DAR<(float)2.45)   DARS=__T("2.40:1");

but I'd like not to do that since your awesome library already has all those conversions! :)

There is already a "Complete" option for that, but it was not enabled for JSON (and XML).
quick and dirty fix.

Nice, will check it out ("Complete" is already enabled by default in the pymediainfo library), so I'd only need to wait till it's incorporated into the next version of the dll!

I didn't get the issue, which "new tag names"? JSON output is based on MI API.

What I meant is this:
DisplayAspectRatio/String MI internal tag
Display Aspect ratio Human readable output (when not in JSON format)
other_display_aspect_ratio pymediainfo converted tag (added other_)
I'd like to retain the MI internal tags without any of the reformatting, but just get all of them, including the /String variants!
Hopefully your fix will alllow that

There is already a "Complete" option for that, but it was not enabled for JSON (and XML).
quick and dirty fix.

I've built a dll with this fix on Windows and it's working, I do indeed get a DisplayAspectRatio_String field back when opening a file with the JSON option!
Pity the build is failing for some reason in other CI tests...


add free tickets as members with role ATTENDEE

Fix the export email for events https://github.com/opencollective/opencollective/issues/562

Coverage increased (+0.005%) to 76.093% when pulling 4b856162bc3c5da0d2367034edbe10eeda14bc2c on fix562 into 1d1dddf8c9f6a375469e2e7496a645fbdda952c7 on master.


[Bug] Examples: Vue Block v7.3.5 has a problem where the block hides when the width of the editor changes

Initial checklist

[X] I agree to follow the code of conduct
[X] I searched issues and discussions and couldn’t find anything (or linked relevant results below)

Affected packages and versions
7.3.5
Link to runnable example
https://stackblitz.com/edit/github-ybtsh2?file=package.json
Steps to reproduce
When the width of the editor is stretched, the custom block cursor-grab is hidden and not shown.
The tooltipBlock is not showing up

Expected behavior
Changes to the editor width also require the display of the block cursor grab
Actual behavior
For now, the block is hidden.
Runtime
No response
OS
No response
Build and bundle tools
No response

same behavior here... seems it works only on specific window width range (see screen recording)
https://share.cleanshot.com/8Dshw4W5


add midday app

name: "feat: Add midday app"
about: "Add a new awesome thing related to shadcn/ui"
labels:

feature

Describe the awesome thing you want to add
What is it? An all-in-one tool to manage finances, track projects, store files, and send invoices.
What category does it belong to? Apps
Anything else? (optional)

Checklist

[x] I checked that it is in alphabetical order.
[x] I have checked that the awesome thing is not already listed.
[x] I have provided a clear and concise description of the awesome thing.
[x] I have provided a link to the awesome thing.
[x] I have assigned the correct category to the awesome thing.

Please note: If you are adding a new category, you will need to create a new section in the README.md file. Please make sure to update the table of contents as well.
Important: The idea of this repository is to bring together free projects for open-source contributions. If the proposed addition is an entirely paid project, the PR will be closed.

I changed the link to midday components,


Crash on quantile() of merged TDigest after compress()

The following test case reproduces the problem:
TEST_F(TDigestTest, CrashAfterMerge) {
  tdigest::TDigest digest(1000);
  std::uniform_real_distribution<> reals(0.0, 1.0);
  std::random_device gen;
  for (int i = 0; i < 100000; i++) {
    digest.add(reals(gen));
  }
  digest.compress();

  tdigest::TDigest digest2(1000);
  digest2.merge(&digest);
  digest2.quantile(0.5);
}

From my debugging, it seems the crash happens in line 338, because the cumulative_ structure is empty after the merge. Adding a call to updateCumulative() at the end of merge() fixes the crash.
Some background: I was using your implementation in a distributed setting, were partial results are serialized, and sent to a central node, where they are deserialized and merged into one result. The above test case simulates this and also triggers the crash (so the serialization is not the problem). Maybe the call to compress() is just wrong, but it instinctively seemed correct to compress before serialization ;-)

You are correct. Big is fixed.
Derrick
On May 22, 2017, 12:42 PM -0700, Julian Eberius<EMAIL_ADDRESS>wrote:

The following test case reproduces the problem:
TEST_F(TDigestTest, CrashAfterMerge) { tdigest::TDigest digest(1000); std::uniform_real_distribution<> reals(0.0, 1.0); std::random_device gen; for (int i = 0; i < 100000; i++) { digest.add(reals(gen)); } digest.compress(); tdigest::TDigest digest2(1000); digest2.merge(&digest); digest2.quantile(0.5); }
From my debugging, it seems the crash happens in line 338, because the cumulative_ structure is empty after the merge. Adding a call to updateCumulative() at the end of merge() fixes the crash.
Some background: I was using your implementation in a distributed setting, were partial results are serialized, and sent to a central node, where they are deserialized and merged into one result. The above test case simulates this and also triggers the crash (so the serialization is not the problem). Maybe the call to compress() is just wrong, but it instinctively seemed correct to compress before serialization ;-)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (https://github.com/derrickburns/tdigest/issues/1), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAjo-oigymjyDoh4iUOk9HdLHY0OVJbCks5r8eUngaJpZM4NizAw).

Bug is fixed. :)
Derrick
On May 22, 2017, 12:42 PM -0700, Julian Eberius<EMAIL_ADDRESS>wrote:

The following test case reproduces the problem:
TEST_F(TDigestTest, CrashAfterMerge) { tdigest::TDigest digest(1000); std::uniform_real_distribution<> reals(0.0, 1.0); std::random_device gen; for (int i = 0; i < 100000; i++) { digest.add(reals(gen)); } digest.compress(); tdigest::TDigest digest2(1000); digest2.merge(&digest); digest2.quantile(0.5); }
From my debugging, it seems the crash happens in line 338, because the cumulative_ structure is empty after the merge. Adding a call to updateCumulative() at the end of merge() fixes the crash.
Some background: I was using your implementation in a distributed setting, were partial results are serialized, and sent to a central node, where they are deserialized and merged into one result. The above test case simulates this and also triggers the crash (so the serialization is not the problem). Maybe the call to compress() is just wrong, but it instinctively seemed correct to compress before serialization ;-)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (https://github.com/derrickburns/tdigest/issues/1), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAjo-oigymjyDoh4iUOk9HdLHY0OVJbCks5r8eUngaJpZM4NizAw).


pandas hdf5 file can not be read.

When calling
	klaas_apply_cuts sst_selection.yml train.csv some_training_subset.hdf --hdf-style pandas -k events

then trying to train a model on that new file using
klaas_train_energy_regressor config_regressor.yaml some_training_subset.hdf predictions_sst.hdf model_sst.pkl

yields
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/fact/io.py", line 204, in read_data
    df = pd.read_hdf(file_path, key=key, columns=columns, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pandas/io/pytables.py", line 372, in read_hdf
    return store.select(key, auto_close=auto_close, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pandas/io/pytables.py", line 742, in select
    return it.get_result()
  File "/usr/local/lib/python3.6/site-packages/pandas/io/pytables.py", line 1449, in get_result
    results = self.func(self.start, self.stop, where)
  File "/usr/local/lib/python3.6/site-packages/pandas/io/pytables.py", line 735, in func
    columns=columns, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pandas/io/pytables.py", line 2871, in read
    kwargs = self.validate_read(kwargs)
  File "/usr/local/lib/python3.6/site-packages/pandas/io/pytables.py", line 2405, in validate_read
    raise TypeError("cannot pass a column specification when reading "
TypeError: cannot pass a column specification when reading a Fixed format store. this store must be selected in its entirety

So are pandas hdfs still supported or not?
And do we event want to support these?

Pandas hdf5 needs to be stored using format=tables for column selection to work. But maybe we should catch that exception and try again without Columns.

should this be the default maybe? any disadvantages?

From the docs:

The examples above show storing using put, which write the HDF5 to PyTables in a fixed array format, called the fixed format. These types of stores are not appendable once written (though you can simply remove them and rewrite). Nor are they queryable; they must be retrieved in their entirety. They also do not support dataframes with non-unique column names. The fixed format stores offer very fast writing and slightly faster reading than table stores. This format is specified by default when using put or to_hdf or by format='fixed' or format='f'

So? Do we keep supporting pandas HDF or not?

So I think that maybe we shouldn't. We have a definition of how the hdf5 files should look for our event representation. No need to support pandas hdf5 in my opinion..

I tend to agree

We decided to not support this anymore


How to open two browser windows using separate context?

I would like to open two windows that do not share session between them, e.g. I expect that using the following code opening github.com each window would be assigned different session IDs.
I would like to have some method to communicate between two windows.
var app = require('app'),
    BrowserWindow = require('browser-window');

app.on('window-all-closed', function () {
    if (process.platform !== 'darwin') {
        app.quit();
    }
});

app.on('ready', function () {
    var mainWindow;

    mainWindow = new BrowserWindow({width: 800, height: 600, frame: false, x: 100, y: 100, resizable: false});
    mainWindow.loadUrl('https://github.com/login');

    mainWindow.on('closed', function () {
        mainWindow = null;
    });
});

app.on('ready', function () {
    var mainWindow;

    mainWindow = new BrowserWindow({width: 800, height: 600, frame: false, x: 200, y: 200, resizable: false});
    mainWindow.loadUrl('https://github.com/login');

    mainWindow.on('closed', function () {
        mainWindow = null;
    });
});

It is currently tracked at #959.

@zcbenz I don't agree. While the title of the issue is somewhat relevant, the body of the issue is completely irrelevant:

When I use a webview and log in to a website (let's say github) it appears the session/cookie information is lost after restarting the application. Is there a way to enable this on the webview?


[Lua][Improvement] Consider processing all init.lua before other scripts

Shouldn't init.lua been processed before all other scripts?
Asscending depth order of folder structure and priority to init.lua before other script.

I'm running a project which contain an api folder, all dependecy have been handled and server starts without complains. After I deleted the api folder, some of the global variable and global functions are now missing, which affect to other modules.
Current the compling order will look like this.

class.agent
class.init
class.table
game.agent
game.init
game.table
init

It should be like this, in case of breaking the dependency between.

init
class.init
game.init
class.agent
class.table
game.agent
game.table

I could provide a PR if needed.


AdvancedSecurity-Codeql-Init@1 ignores parameter codeqlpathstoignore

There appears to be bugs in the codeqlpathstoignore parameter of AdvancedSecurity-Codeql-Init@1. It is ignored for javascript/typescript code with direct path assignment e.g.: c:/a/1/s/dist or blob paths: c:/a/1/s/dist/**. No error is produced, but I still get flagged for bundled and minified code in the dist folder. In additon this path c:\a\1\s\dist breaks with the error: contains an "\" character. These are not allowed in filters. If running on windows we recommend using "/" instead for path filters. even on Windows. This does not seem to affect any other task type.

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

ID: 79c8a0e6-b103-3c06-ec0e-20c665fbab87
Version Independent ID: 79c8a0e6-b103-3c06-ec0e-20c665fbab87
Content: AdvancedSecurity-Dependency-Scanning@1 - Advanced Security Dependency Scanning v1 task
Content Source: task-reference/advanced-security-dependency-scanning-v1.md
Service: azure-devops-pipelines
Sub-service: azure-devops-pipelines-tasks
GitHub Login: @steved0x
Microsoft Alias: sdanie

@rudfoss -- Thomas, thank you for your well-researched feedback.  Please consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

If you feel this is a product bug, please add it here:

Developer Community

@steved0x -- Steve, please look into this potential documentation issue.

Thanks @WilliamAntonRohm! I was not sure where to post a bug, but I'll move it to the Developer Community and close this.


Revise mod compatibility checker code so Labs doesn't unsub Stable

Currently the recently added mod compatibility checker code will try and unsub the 'stable' LinuxFan workshop version of the mod (as we thought it was dead).
That code will need updating ASAP otherwise if it gets in to stable branch the stable version will decide it's not compatible with itself, which will be quite amusing actually lol.
The PR where code was added: https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/pull/106

@VictorPhilipp disabled compatibility checker in stable branch 😉

Since this appears to have been solved, should we unpin the issue?


How to reduce the number of generated files?

Is it possible to reduce the number of generated files like UnrealEngineSDKGenerator?

Absolutely, you can filter out files you don't want


Keep AI panel open when workspace chooser opens

After closing the last card on the stack, the AI panel now stays open.
https://github.com/user-attachments/assets/54c2bd27-5b81-401e-bda7-a92066ee0ab4

On staging and prod previews, I came across this strange behavior when I open the ai assistant and send a message, everything slides up. When I refresh it, it looks fine but then open the chat and everything slides up again. Are you able to replicate this?

ive seen this kind of thing in the past when we are using visibility:none instead of display:none. the AI panel has a scrollTo to scroll to the bottom of the chat when new messages are received. scrollTo acts really wonky when visbility:none's starts affecting the geometry of the page. In teh page we used to see this when because the search results was using a visibility:none. there is a chance something else was added to the DOM that had nothing to do with AI chat, but still effected the page geometry by using a hidden item

@FadhlanR perhaps the title of this PR is misleading - the intended behaviour is that the AI panel is opened in the workspace chooser only if it was opened prior to opening the workspace chooser. This can happen only in interact mode but not in code mode. So I think this is expected behavior.

@FadhlanR perhaps the title of this PR is misleading - the intended behaviour is that the AI panel is opened in the workspace chooser only if it was opened prior to opening the workspace chooser. This can currently happen only in interact mode but not in code mode. So I think this is expected behavior.

How about this button to open AI panel ? It appears when I first time open the preview app.

@burieberry I was able to reproduce. It's actually easy to reproduce -  it happens when you are in the chooser and try to open the AI panel and then everything falls apart. But if you hide the ai panel element in the console and show it again, then it's displayed correctly. So I think this really has something to do with calculations as @habdelra pointed out. Maybe the chooser should be displayed absolutely on the top so that it doesn't interfere with what is under it. Will try something here.

@FadhlanR let's ask @lukemelia: does it make sense to have the AI panel button in the workspace chooser? I think it probably because if you are able to close it then it makes sense to also be able to open it back again

@burieberry are you able to reproduce the problems in the pr preview link (make sure to hard refresh the page)?

@FadhlanR let's ask @lukemelia: does it make sense to have the AI panel button in the workspace chooser? I think it probably does because if you are able to close it then it makes sense to also be able to open it back again

I agree

@burieberry I was able to reproduce now. It's actually easy to reproduce - it happens when you are in the chooser and try to open the AI panel and then the layout breaks in ways you described. But if you hide the ai panel element in the console and show it again, then it's displayed correctly. So I think this really has something to do with calculations as @habdelra pointed out. Maybe the chooser should be displayed absolutely on the top so that it doesn't interfere with what is under it. Will try something here.

ah, I hadn't thought about that. yeah, likely the geometry of the workspace shooser is effecting the scrollTo calculation. Specifically if the workspace chooser has elements that overflow. scrollTo is really annoying in that overflow:hidden has not effect on the height that scrollTo determines is the bottom of the window. So you need to be really careful with the geometry. Turn off any overflow:hidden in the workspace chooser to see the world like scrollTo sees is.


Enhancement request: text formatting access in vscode.window.showInformationMessage

I'd like the ability to format information messages that my extension shows possibly via markdown. For example, I'd like the following input to be rendered as markdown when the alert is presented to the user:
vscode.window.showInformationMessage('Hi. I think *this* is really important.');

Just thought I'd see if this makes sense to anyone else. Thanks for your consideration and for your hard work on VS Code!

thanks for reporting this issue. It's dup of #6087. Let's track it there.

Sorry about that! Thanks.
On Tue, Nov 1, 2016 at 1:06 PM Peng Lyu<EMAIL_ADDRESS>wrote:

thanks for reporting this issue. It's dup of #6087
https://github.com/Microsoft/vscode/issues/6087. Let's track it there.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/14807#issuecomment-257625780,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASEYgeDjysAurArAISC_JjRGP4QPAwxks5q53GpgaJpZM4KmJi5
.


No sound

Exactly what the title says. Fresh Raspbian install, fresh Raspotify install.
omxplayer example.mp3 -o local works just fine.
I had it running before, but at some point the music became distorted, and after a reboot it stopped playing at all. I then reimaged my Pi. Only other two things that are running are dnsmasq and hostapd. Tried PulseAudio with no luck.
Please help.

Today I had a similar issue, working raspotiy stop working from one day to next (seems working fine but no sound). Reinstall raspotify fixed the issue.

I tried reinstalling it, and reinstalling Raspbian, but it did nothing. Still no audio.

Same

Since a week I am having issues that raspotify won't play anything, while the progressbar in Spotify just continues. I tried recompile with newest librespot, but it's not working. Also tried restart etc.

Will look at this today. Thanks for the report.

For me it seems to be the same songs on a playlist, the last few. Everytime it reaches there, it will stop and I need to restart Raspotify.

I might be having a similar issue - I still have sound, but it could be described as "distorted", as OP says. It's actually like it's inserting a large number of tiny gaps per second into the audio, so the song is playing slowly because it's stretched out by the gaps.
Tried apt update, reinstalling package, reducing/increasing memory split - no effect. omxplayer example.mp3 works fine

try command 'pkill pulseaudio'

I tried to kill pulseaudio and then restarted it. I change the audio source to raspotify and it started playing, however it stopped after 2-3 seconds.

I eventually removed pulseaudio, rebooted and everything works like a charm.

I also had some issues after trying raspotify after long time of not using it. Not sure what exactly fixed it at this point. Tried updating and reinstalling but that didn't seem to help. It seemed to run. Spotify connected with no issue. speaker-test worked. No errors in systemctl status raspotify.
One of these things probably helped:

Restart device without hdmi cable (My speakers are using analog aoutput. My Hdmi device didn't make any noise previous to this)
Restart raspotify with sudo: sudo systemctl restart raspotify

It seems that my problem was hdmi and 3.5-mm headphone jack output fighting it out. It looks like I found a permanent solution by setting headphone jack as default device:
In /etc/asound.conf:
pcm.!default {
    type hw
    card 1
}

ctl.!default {
    type hw
    card 1
}

From: https://superuser.com/a/630048/117486


Improve container promotion performance

This speeds up container promotion for all images from ~1 hour to ~15 minutes.
Depends-On: https://github.com/stackhpc/ansible-collection-pulp/pull/60/files

Checks failing due to stackhpc.pulp 0.5.1 not released yet.


chore: bump @interslavic/utils

Nouns

declension of words "obuv" and "žolv" repaired (https://github.com/medzuslovjansky/js-utils/pull/44)
fleeting vowel in some nouns (https://github.com/medzuslovjansky/js-utils/pull/54)
ljj → ĺj, njj → ńj in instrumental (https://github.com/medzuslovjansky/js-utils/pull/57)

Verbs

fixed conjugation of verb pasti (https://github.com/medzuslovjansky/js-utils/pull/41)
imperative mood in lj/nj verbs (https://github.com/medzuslovjansky/js-utils/pull/50)
verb conjugation for imati, iměti (https://github.com/medzuslovjansky/js-utils/pull/51)
disable impossible participles (https://github.com/medzuslovjansky/js-utils/pull/52)
negated and reflexive verbs (https://github.com/medzuslovjansky/js-utils/pull/53)
past active participles in reflexive verbs (https://github.com/medzuslovjansky/js-utils/pull/55)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 5.787%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
159

Relevant Lines:
3055

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 3 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 5.787%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/components/Modals/DetailModal/DetailModal.tsx
0
3
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
159

Relevant Lines:
3055

💛  - Coveralls


cmd/link: ppc64le internal linking does not handle TOC correctly

The tests in misc/cgo/test fail with -linkmode=internal on ppc64le.  From https://build.golang.org/log/a5a334010e62ae540ec0ec4916a8615cae0472d7:
fatal error: unexpected signal during runtime execution
[signal 0xb code=0x1 addr=0x0 pc=0x0]

runtime stack:
runtime.throw(0x20095a, 0x2a)
    /tmp/workdir/go/src/runtime/panic.go:566 +0x8c fp=0x3fffe2aaac68 sp=0x3fffe2aaac38
runtime.sigpanic()
    /tmp/workdir/go/src/runtime/sigpanic_unix.go:12 +0x64 fp=0x3fffe2aaacd0 sp=0x3fffe2aaac68
invalid spdelta _cgo_wait_runtime_init_done 0x176870 0x1768a0 0x0 -1
invalid spdelta _cgo_wait_runtime_init_done 0x176870 0x1768a0 0x0 -1
_cgo_wait_runtime_init_done()
    ?:0 +0x30 fp=0x3fffe2aaacef sp=0x3fffe2aaacf0

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x173b80, 0xc820045e60, 0xc800000000)
    /tmp/workdir/go/src/runtime/cgocall.go:130 +0x170 fp=0xc820045e00 sp=0xc820045db0
_/tmp/workdir/go/misc/cgo/test._Cfunc_lockOSThreadC()
    ??:0 +0x40 fp=0xc820045e40 sp=0xc820045e00
_/tmp/workdir/go/misc/cgo/test.init.1()
    /tmp/workdir/go/misc/cgo/test/issue3775.go:23 +0x24 fp=0xc820045e60 sp=0xc820045e40
_/tmp/workdir/go/misc/cgo/test.init()
    _/tmp/workdir/go/misc/cgo/test/_test/_obj_test/_cgo_import.go:53 +0x470 fp=0xc820045ef8 sp=0xc820045e60
main.init()
    _/tmp/workdir/go/misc/cgo/test/_test/_testmain.go:192 +0x88 fp=0xc820045f18 sp=0xc820045ef8
runtime.main()
    /tmp/workdir/go/src/runtime/proc.go:177 +0x2d4 fp=0xc820045f80 sp=0xc820045f18
runtime.goexit()
    /tmp/workdir/go/src/runtime/asm_ppc64x.s:1090 +0x4 fp=0xc820045f80 sp=0xc820045f80

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
    /tmp/workdir/go/src/runtime/asm_ppc64x.s:1090 +0x4 fp=0xc820034fb0 sp=0xc820034fb0

goroutine 2 [force gc (idle)]:
runtime.gopark(0x20e9f8, 0x2e9890, 0x1fa910, 0xf, 0x14, 0x1)
    /tmp/workdir/go/src/runtime/proc.go:264 +0x19c fp=0xc820020708 sp=0xc8200206c8
runtime.goparkunlock(0x2e9890, 0x1fa910, 0xf, 0xc820000114, 0x1)
    /tmp/workdir/go/src/runtime/proc.go:270 +0x58 fp=0xc820020758 sp=0xc820020708
runtime.forcegchelper()
    /tmp/workdir/go/src/runtime/proc.go:229 +0xdc fp=0xc8200207a0 sp=0xc820020758
runtime.goexit()
    /tmp/workdir/go/src/runtime/asm_ppc64x.s:1090 +0x4 fp=0xc8200207a0 sp=0xc8200207a0
created by runtime.init.4
    /tmp/workdir/go/src/runtime/proc.go:218 +0x38

goroutine 3 [GC sweep wait]:
runtime.gopark(0x20e9f8, 0x2e9a60, 0x1fa13f, 0xd, 0x32e14, 0x1)
    /tmp/workdir/go/src/runtime/proc.go:264 +0x19c fp=0xc820020ef8 sp=0xc820020eb8
runtime.goparkunlock(0x2e9a60, 0x1fa13f, 0xd, 0x14, 0x1)
    /tmp/workdir/go/src/runtime/proc.go:270 +0x58 fp=0xc820020f48 sp=0xc820020ef8
runtime.bgsweep(0xc820052000)
    /tmp/workdir/go/src/runtime/mgcsweep.go:63 +0xbc fp=0xc820020f98 sp=0xc820020f48
runtime.goexit()
    /tmp/workdir/go/src/runtime/asm_ppc64x.s:1090 +0x4 fp=0xc820020f98 sp=0xc820020f98
created by runtime.gcenable
    /tmp/workdir/go/src/runtime/mgc.go:195 +0x5c

goroutine 18 [finalizer wait]:
runtime.gopark(0x20e9f8, 0x304988, 0x1fa545, 0xe, 0x14, 0x1)
    /tmp/workdir/go/src/runtime/proc.go:264 +0x19c fp=0xc82001c6c8 sp=0xc82001c688
runtime.goparkunlock(0x304988, 0x1fa545, 0xe, 0x14, 0x1)
    /tmp/workdir/go/src/runtime/proc.go:270 +0x58 fp=0xc82001c718 sp=0xc82001c6c8
runtime.runfinq()
    /tmp/workdir/go/src/runtime/mfinal.go:158 +0xc0 fp=0xc82001c7a0 sp=0xc82001c718
runtime.goexit()
    /tmp/workdir/go/src/runtime/asm_ppc64x.s:1090 +0x4 fp=0xc82001c7a0 sp=0xc82001c7a0
created by runtime.createfing
    /tmp/workdir/go/src/runtime/mfinal.go:139 +0x84

goroutine 19 [syscall]:
runtime.notetsleepg(0x304c00, 0xffffffffffffffff, 0x1)
    /tmp/workdir/go/src/runtime/lock_futex.go:205 +0x60 fp=0xc82001cf00 sp=0xc82001cec0
os/signal.signal_recv(0x0)
    /tmp/workdir/go/src/runtime/sigqueue.go:116 +0x270 fp=0xc82001cf50 sp=0xc82001cf00
os/signal.loop()
    /tmp/workdir/go/src/os/signal/signal_unix.go:22 +0x24 fp=0xc82001cfa0 sp=0xc82001cf50
runtime.goexit()
    /tmp/workdir/go/src/runtime/asm_ppc64x.s:1090 +0x4 fp=0xc82001cfa0 sp=0xc82001cfa0
created by os/signal.init.1
    /tmp/workdir/go/src/os/signal/signal_unix.go:28 +0x44
exit status 2
FAIL    _/tmp/workdir/go/misc/cgo/test  0.009s

I believe that the problem is this: the PPC ELF v2 ABI requires that every function start with a small prologue that computes the TOC pointer in r2 from the function address in r12. This computation is two instructions; in normal PPC assembler it looks like this:
0: addis 2,12,.TOC.-0b@ha
addi 2,2,.TOC.-0b@l

The symbol .TOC. is not defined in an object file, and is magically defined by the linker. The linker must arrange that every function in the same module (shared library or executable) compute the same value for r2.
The problem is that cmd/link is using a different value for .TOC. for functions defined in different object files. I haven't sorted it all out, but cmd/link seems to use a different .TOC. symbol for each object file, and to give them different values. This may be correct for the ELF v1 ABI; I'm not sure. It's not correct for the ELF v2 ABI used on PPC64le.

FWIW I think if we fix this we could always generate ELFv2-style PIC for
ppc64 in the compiler. Also I don't think we have cgo for ELFv1 at all,
internally or externally linked, so that can't be the excuse for this :-)
On 23/04/2016 6:00 am, "GopherBot"<EMAIL_ADDRESS>wrote:
CL https://golang.org/cl/22379 mentions this issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/15409#issuecomment-213530906

Actually, according the the ABI it is not invalid to have multiple TOCs in a module:

The link editor may create multiple TOCs. In such a case, the constituent .got, .toc, .sdata, and .sbss
sections are conceptually repeated as necessary, with each TOC typically using a TOC pointer value
of its base plus 0x8000. Any constituent section of type SHT_NOBITS in any TOC but the last is
converted to type SHT_PROGBITS filled with zeros.

I think this is what the code is trying to do. It doesn't handle .sdata or .sbss sections at all, but I get the impression they are not present with default compiler options?
However:

When multiple TOCs are present, linking must take care to save, initialize, and restore TOC pointers
within a single module when calling from one function to a second function using a different TOC
pointer value. Many of the same issues associated with a cross-module call apply also to calls within
a module but using different TOC pointers.

I guess this is where things are going wrong. I don't entirely get how we end up with calls between functions using different TOC pointer values though.
It still seems likely to me that moving to a model with a single TOC would make life easier overall.


RADAR like detection ability instead of knowing everything

Give ships the ability to scan space using RADAR/LIDAR.
Simplest form would be that the minimap doesn't show enemy ships per default. But at any point in time the player can press a key to scan the surrounding area. Then, all ships, in some large radius that aren't behind a planet or asteroid, are marked on the minimap.
But they all also know where you are.
If we implement this feature, it should also be integrated into the enemy AI #10. So, they only know where the player is once they are close or have used their radar/the player used his radar.
These seem like good resources
https://www.projectrho.com/public_html/rocket/spacewardetect.php
https://toughsf.blogspot.com/2018/04/permanent-and-perfect-stealth-in-space.html

Rather than having the player press a key, could we just have it running the entire time? That'd be less annoying.
We could add a radar that periodically sweeps the surrounding area, yeah. For a lower-hanging fruit, we could just make the minimap cover a smaller area than the entire universe.

yeah, just having a smaller minimap, or enemies just being shown on the minimap if they are in a certain radius of the player seems good enough.


Zend\Authentication\Validator\Authentication messages translation

It seems the authentication validator messages are not being translated anywhere. This PR adds these messages to the en translation and also the pt_BR translation.

@Maks3w Please merge to develop as well.

It's merged, bug GH does not display the commit in the PR


⛱ HTTP/2 Session Refactoring

Overview
Change Http2Session and Http2Stream to have appropriate states as Continuation Handler instead of having a bunch of flags.
Motivation
For a long time, we've been struggling bunch of issues with the HTTP/2 subsystem. IMO, one of the root causes is Http2Session and Http2Stream are handling every event on only main_event_handler and handling many corner cases with flags.
Now, we're going to support the HTTP/2 Session on the origin server side too, this might make the situation worse.
/cc #7622

Below is the first idea of states (v0.1).
HTTP/2 Session

https://gist.github.com/masaori335/f16a851b50bec2f69e4034844a40ab59#file-http2ssn-uml
#7845 has piece of code for this

HTTP/2 Transaction

https://gist.github.com/masaori335/f16a851b50bec2f69e4034844a40ab59#file-http2txn-uml
We might want a state after signaling EOS or ERROR to the HttpSM with this.

Please keep #5675 in mind, although it doesn't need to be done on the first step of this.


Add option to flag a plate as complete

Log the user who signed off
Log the version of the document

this is now possible since a while back


add intercom

some configuration is still needed around the name, notification settings, etc. but it's there!


added TimeInterval class

Adding the TimeInterval class back to gistCore

@kchastain703 We need a release note for this change. I've already merged this PR, so will create another issue for a release note. Since you're away I'll assign it to myself.


Update Support Responsibility Matrix to make clear removal of devices is Tier 1

Add a line at the end of the bullet list for Example tasks that say:

Disabling and removal nodes, clusters and related configuration (e.g. routes) when no longer needed

This already got done.  Something about how it was done didn't close the issue

Gotcha, disregarding then.
Working on updating the docs with Boris to detail the upgrade process next.
-Xavier J Herrera
On Wed, Apr 26, 2023, 10:05 AM Marquis Calmes @.***>
wrote:

Closed #265 https://github.com/trustgrid/docs/issues/265 as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/trustgrid/docs/issues/265#event-9104745704, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AYZ3BHQL2MSS5VC6FVYIXWDXDE2R7ANCNFSM6AAAAAAXFXEMMU
.
You are receiving this because you were assigned.Message ID:
@.***>


ORC-1477: Remove unused imports from Test classes

What changes were proposed in this pull request?
The PR aims to remove unused imports from following Test classes

java/tools/src/test/org/apache/orc/tools/TestJsonFileDump.java
java/mapreduce/src/test/org/apache/orc/mapreduce/TestMapreduceOrcOutputFormat.java
java/core/src/test/org/apache/orc/TestMinSeekSize.java
java/mapreduce/src/test/org/apache/orc/mapreduce/TestMrUnit.java
java/core/src/test/org/apache/orc/TestOrcFilterContext.java
java/mapreduce/src/test/org/apache/orc/mapred/TestOrcOutputFormat.java
java/core/src/test/org/apache/orc/impl/filter/TestPluginFilters.java
java/core/src/test/org/apache/orc/impl/filter/TestPluginFilterService.java
java/core/src/test/org/apache/orc/impl/TestWriterImpl.java

NOTE - TestWriterImpl had * import, which was updated to use specific import
Why are the changes needed?
Removing unused imports reduces clutter in code and make is easier to read, possibly avoiding unintended dependencies
How was this patch tested?
Build and Test cases pass successfully

https://github.com/apache/orc/blob/857cf7cce075407d611bdcdce69f9547b2ef4f29/java/pom.xml#L439-L445
I think it's because the configuration doesn't specify checking the test code.

Thank you, @guiyanakuang .
To make it sure that this PR fixes all test cases, let's enable it for test/java directories too, @mystic-lama , in this PR.

I added following line, as mentioned above
     <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-checkstyle-plugin</artifactId>
          <version>3.3.0</version>
          <configuration>
            <sourceDirectories>
              <directory>${basedir}/src/java</directory>
              <directory>${basedir}/src/test</directory>
            </sourceDirectories>`
....

To validate that it works, added an unused import in test class, but unfortunately the build didn't fail. Used the usual package command. Am I missing something?

https://github.com/apache/orc/blob/b347df0d0254635f8e2b2bf310e959e84c36b133/java/pom.xml#L788-L815
These plugins are defined in the analyze profile, and we need to specify the profile to use them.
./mvnw package -Panalyze

Thanks @guiyanakuang I completely forgot about profiles.
The results shows 1188 error's. Should create another JIRA to tackle this?
cc @dongjoon-hyun
bash-5.1$ ./mvnw package -Panalyze
....
[ERROR] src/test/org/apache/orc/TestRowFilteringComplexTypes.java:[324,9] (indentation) Indentation: 'try rcurly' has incorrect indentation level 8, expected level should be 4.
[ERROR] src/test/org/apache/orc/TestRowFilteringComplexTypes.java:[325,5] (indentation) Indentation: 'method def rcurly' has incorrect indentation level 4, expected level should be 2.
[ERROR] src/test/org/apache/orc/TestOrcConf.java:[27,1] (imports) CustomImportOrder: Wrong lexicographical order for 'org.junit.jupiter.api.Assertions.assertEquals' import. Should be before 'org.junit.jupiter.api.Assertions.assertFalse'.
[ERROR] src/test/org/apache/orc/TestUnicode.java:[147] (sizes) LineLength: Line is longer than 100 characters (found 109).
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache ORC 2.0.0-SNAPSHOT:
[INFO]
[INFO] Apache ORC ......................................... SUCCESS [  2.733 s]
[INFO] ORC Shims .......................................... SUCCESS [  3.672 s]
[INFO] ORC Core ........................................... FAILURE [01:48 min]
[INFO] ORC MapReduce ...................................... SKIPPED
[INFO] ORC Tools .......................................... SKIPPED
[INFO] ORC Examples ....................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:54 min
[INFO] Finished at: 2023-08-16T20:17:16-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:check (default) on project orc-core: You have 1188 Checkstyle violations. -> [Help 1]

Fixing the test code style takes a lot of effort, so I would suggest fixing different types of code style issues in multiple pr's.

Agree, this would mean we won't be able to enable checkstyle for test folders.
Let's wait for @dongjoon-hyun opinion on this, since he brought this up.

@dongjoon-hyun As of now there are no further unused imports, ran the inspection from IntelliJ and verified.
Perfectly fine refining the title, open to suggestions :)
I personally feel that we should enforce this on test classes too. I rely a lot on test code to understand things within ORC.
I do not know how much effort is involved right now, however I am happy to take a tab at it, one module at a time. Let me create a JIRA for this.

@dongjoon-hyun Agree. Got your point now.
Let me close this PR 😄

@dongjoon-hyun now that we have regression in place, shall we rework on this? I am asking coz, this change is trivial and there effort to backport changes to maintenance branches.
If we agree to work on this
Should we create a new PR for this or we reuse this (trying to understand how things work here).
Change Management Process is a way more organized in ORC :)

To be clear, I don't say there is a regression when we didn't change anything. IIRC, we didn't delete any real code during refactoring. It means we didn't introduce any Unused Imports newly. In other words, you cannot call it the existing code as a regression.

now that we have regression in place, shall we rework on this?

BTW, thank you for the proposal, @mystic-lama. As you know, Apache ORC is an open source project and every contributor can propose everything. We are not blocking anything. However, to protect Apache ORC project, the committers are able to give +1 for a few selected proposals. For this category, I decided to exclude all Import rules like the following because there is no real business logic in Java import statement. To simply put, although I understand your passion, let's call it a day by ignoring these import rules for now at 2.0.0 because we changed a lot already. We may want to re-try to introduce more cleaner environment at Apache ORC 2.1.0.
https://github.com/apache/orc/blob/81769064dc0e14aee0bc086a03e72d7a67047543/java/checkstyle-suppressions.xml#L45-L47

Change Management Process is a way more organized in ORC and it's really good :)

@dongjoon-hyun Thanks for the detailed explanation. I agree that this doesn't bring much value, hence I asked. Now that we are on same page, this task has been addressed :)


Changelog crash fix (macOS)

Pull request checklist:

[ ] CHANGELOG.md was updated, if applicable

Description
On macOS, trying to display a dialog before showing the main window (like when starting minimized) leads to a crash. The dialog will now show before the main window is opened, preventing this issue.
As far as I know, this issue only existed on macOS.

@gempir pong could you pls test this?

Thought I'd add some steps to replicate:

In window-layout.json: Add the property "state": "minimized" to the main window.
In settings.json: Change the value of "misc" -> "currentVersion" to something obviously old, i.e. "1.0.0" to prompt the changelog popup.
Start Chatterino

Chatterino will briefly appear before being minimized into the dock. Upon clicking to maximize the window, observe the crash.

@alazymeme I'll check it out when I have time

The artifact isn't coming, I don't wanna setup the mac build env again.

@dnsge You should have an option to re-run the checks, can you look for that option here?

latest nightly cbcd5f3863b6edf22b6d6ffb625bd338f3ea112d crashes and this PR does not! So LGTM 👍
Tested on macOS Catalina 10.15.6

Thank you for the contribution @dnsge and for double testing it @gempir


HttpHeaders won't let me put/set "accept"

The HttpHeaders class won't let me change the "accept" header with either the #put() or #set() methods. This seems to be because it's a special field with its own setter. I'm in a situation where I'm overriding a bunch of headers defined for me in a Map, so it's not at all convenient to be forced to call #setAccept() since I don't know for sure which of the things in that Map have their own special setters, and even if I did I'd have no easy way to convert a map key into a particular method name.
The problem lives in GenericData#put() and GenericData#set(). They both call .getClassInfo().getFieldInfo(keyName) to figure out if the thing being set is a special field on the object, and if so it tries to change the value of the field via reflection instead of putting it into the internal unknownFields map. This is all well and good, but I want to set just one accept header, and that field is a list of them. The result is that my attempt to set the header results in an exception:
java.lang.IllegalArgumentException: Can not set java.util.List field com.google.api.client.http.HttpHeaders.accept to java.lang.String
	at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:167)
	at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:171)
	at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:81)
	at java.lang.reflect.Field.set(Field.java:764)
	at com.google.api.client.util.FieldInfo.setFieldValue(FieldInfo.java:245)
	at com.google.api.client.util.FieldInfo.setValue(FieldInfo.java:206)
	at com.google.api.client.util.GenericData.set(GenericData.java:125)
	at com.google.api.client.http.HttpHeaders.set(HttpHeaders.java:175)
<snip>

This is easily worked around for the purpose of HttpHeaders with this if statement:
// This FieldInfo nonsense is to deal with a bug in HttpHeaders.
FieldInfo fieldInfo = httpHeaders.getClassInfo().getFieldInfo(headerName);
if (fieldInfo != null) {
    httpHeaders.set(headerName, Lists.newArrayList(headerValue));
} else {
    httpHeaders.set(headerName, headerValue);
}

That won't work more generically however, because in the case of HttpHeaders all the fields are guaranteed to be lists (RFC 2616). I don't know what the more generic way to fix this is, but it's was pretty frustrating to me to have to deal with this.

+1
I ran into this as well, with the Authorization header. My use case is the same: I'm copying some headers over from a Map<String, String>.
Nowhere in the documentation does it say that some headers are "reserved" and cannot be overridden with the set() method.


Codable Support

Currently the library depends on SwiftyJSON and it would be nice to use native Codable

Hey! Thanks for bringing this up! I actually started to write a new version of the SDK almost from scratch using Codable, Generics and removing the SwiftyJSON dependency. You can find the progress of the work on my local repo (2.0.0 branch):
https://github.com/alnacle/amadeus-ios/tree/2.0.0
The response is now handled like:
response.data[0].itineraries[0].segments[0].arrival.iataCode
Feel free to send me your feedback :)


WebSocket message handlers on the same thread?

Is it possible to route all WebSocket message handlers on the same thread? (if multiple threads are running on the same machine)
Sometimes you may need to handle some operations concurrently such as shared buffer on the user data,Does uWebSockets handle this situation? or it needs an explicit mutex, etc to be used ?

How you handle events on different threads is up to you. You can lock, you can postpone, you can drop, whatever. Best would be to not need synchronization at all and keep things isolated to their own thread.


No console

i have a bat file to run my custom commands for scrcpy. But how can i make it no console? I only want the device window to be displayed

Call scrcpy-no-console.exe instead of scrcpy.exe?

I loaded the V1.12.1 but calling "scrcpy-noconsole.exe" still show the command prompt console...

Out of curiosity, if you just click on scrcpy-noconsole.exe, it does not open a console, right?
Show your .bat content.

It is correct.
scrcpy-noconsole.exe  --bit-rate 12M --render-expired-frames
I guess the "INFO" come from Android Server side, right ?  Any way not showing it when using batch file ?

I did run noconsole.exe without any bat. It stilll shows the console.

I did run noconsole.exe without any bat. It stilll shows the console.

Updated the scrcpy its working now, but still not working on bat command

My bat command:
scrcpy-noconsole.exe -m 1010 --always-on-top -S
Log on cmd just like usual scrcpy log:
D:\Programverse\Apps\scrcpy-win64-v1.12.1>scrcpy-noconsole.exe -m 1010 --always-on-top -S
INFO: scrcpy 1.12.1 https://github.com/Genymobile/scrcpy
INFO: Initial texture: 464x1008

The console is opened to execute a .bat.
Try adding start in your script to start scrcpy and continue:
start scrcpy-noconsole.exe ...

The console is opened to execute a .bat.
Try adding start in your script to start scrcpy and continue:
start scrcpy-noconsole.exe ...

OK that's works just fine. Thanks

I'm alwayes using  Scrcpy With Screen off - Stay awak and and no  Command Prompt for this i use
scrcpy-noconsole --turn-screen-off --stay-awake

or
scrcpy-noconsole -Sw


add more invalid boolean values

This recently came up in tomlkit version 0.8.0, see this issue
I've added a PR with tests that reproduce this there too, but thought it might be a nice small addition to this test suite :)

Thanks!


🐛 Bug Report: Uncaught Error: Minified React error with HTTPS

👟 Reproduction steps
I go through a reverse proxy (Nginx Proxy Manager) and forward to the backend on LXC container where Pingvin is.
I use a proxmox helper script https://tteck.github.io/Proxmox/
I'll do test on docker in the future too
All is fine if the reverse proxy is on HTTP only trough the backend in HTTP too.
The problem arise when I enable HTTPS on the reverse proxy I catch the following error in my browser debuger.
I'm not sure HTTPS introduce issue by itself as it just serve through SSL to HTTP backend
A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred [main-b1cc30c22480787c.js:1:17425](https://upload.dev.bitiso.net/_next/static/chunks/main-b1cc30c22480787c.js)
Uncaught Error: Minified React error #418; visit https://reactjs.org/docs/error-decoder.html?invariant=418 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

👍 Expected behavior
Works like in HTTP
👎 Actual Behavior
On browser:
Application error: a client-side exception has occurred (see the browser console for more information).
🌐 Browser
Firefox

This is a duplicate of #362. Please participate in the discussion there.


Coq multiple window UI from Proof General combined with ui/tabs has unusable performance

What did you expect to happen?
I expected Proof General (the package that gives Coq support) to continue to work.
What actually happened?
Some background on Proof General and Coq: Coq is an interactive proof assistant, which supports interactively writing proofs with feedback from Coq about the current status of the proof. It also supports interactive queries while writing code, with responses about type and definitions and such.
PG, the Coq Emacs package, implements a UI for Coq within Emacs. It splits the frame into three windows, the editor, *goals* (displaying interactive state for the current proof), and *response* (displaying responses to interactive queries). These goals and response windows are read-only output from Coq.
Proof General now has terrible performance. Emacs seems to be navigating through the three windows in PG rapidly on every keystroke or Coq interaction, resulting in flickering and high CPU usage. This might be a general problem with multiple windows, and is probably due to a misconfiguration. One important difference I noticed is that each of these windows now has centaur tabs. This is great for the editor window, but wrong for the other two, which are more like popups in other languages (although they're persistent and there's no sense in hiding them).
Additional details:

My private config is at https://github.com/tchajed/dotfiles/tree/master/emacs/doom
Here's a screen recording of the issue: https://www.dropbox.com/s/eb9bz9qj2muyfec/doom-PG-issue-2436.mov?dl=0

Steps to reproduce:

Enable the coq language.
Open a Coq file and start stepping through it.

System information:

((emacs
  (version . "26.2")
  (features . "NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS")
  (build . "Apr 12, 2019")
  (buildopts "--with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules")
  (windowsys . batch)
  (daemonp))
 (doom
  (version . "2.0.9")
  (build . "HEAD -> develop 26e0e9dd2 2020-01-27 03:06:14 -0500")
  (dir . "~/.dotfiles/emacs/doom/"))
 (system
  (type . darwin)
  (config . "x86_64-apple-darwin18.2.0")
  (shell . "/bin/bash")
  (uname . "Darwin 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64")
  (path "~/code/sw/coq/_build/install/default/bin/" "." "~/.opam/4.07.1/bin" "~/doom-emacs.d/bin" "~/.gem/bin" "~/.dotfiles/bin" "~/code/sw/latexrun" "~/.cargo/bin" "~/go/bin" "~/.local/bin" "/usr/local/bin" "/usr/local/sbin" "~/.fzf/bin" "/usr/local/bin" "/usr/bin" "/bin" "/usr/sbin" "/sbin" "/opt/X11/bin" "/Applications/VMware Fusion.app/Contents/Public" "/usr/local/MacGPG2/bin" "/Library/TeX/texbin" "." "/Applications/Wireshark.app/Contents/MacOS" "/Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_14" "/Applications/Emacs.app/Contents/MacOS/libexec-x86_64-10_14" "/Applications/Emacs.app/Contents/MacOS/libexec" "/Applications/Emacs.app/Contents/MacOS/bin"))
 (config
  (envfile . envvar-file)
  (elc-files . 0)
  (modules :completion company ivy :ui doom doom-dashboard doom-quit fill-column hydra hl-todo modeline nav-flash ophints (popup +all +defaults) tabs treemacs vc-gutter vi-tilde-fringe window-select workspaces :editor (evil +everywhere) file-templates fold (format +onsave) multiple-cursors rotate-text snippets :emacs dired electric vc :tools editorconfig eval :checkers syntax :tools lookup lsp magit pdf :lang coq data emacs-lisp go (haskell +intero) latex lua markdown ocaml (org +export +present +protocol) python racket rust (sh +fish) web :config (default +bindings +smartparens))
  (packages default-text-scale math-symbol-lists "(frame-fns :recipe (:host github :repo \"emacsmirror/frame-fns\"))" "(frame-cmds :recipe (:host github :repo \"emacsmirror/frame-cmds\"))" "(zoom-frm :recipe (:host github :repo \"emacsmirror/zoom-frm\"))" keyfreq)
  (elpa "n/a")
  (unpin "n/a")))

This is a known and elusive issue with centaur-tabs-mode (in the :ui tabs module) -- seems you've already realized this. It appears to send window focus hooks into a tailspin and I'm not entirely sure how.
As of ad8c685 I've bumped centaur-tabs to its latest version, which may address it. Let me know if it does.

As of eb69073 the performance of centaur-tabs-mode should be much better, which should resolve this issue. Let me know if that isn't the case and I'll reopen the issue. Thanks for bringing it to my attention!


Added SEO to list of spam words

Coverage remained the same at 100.0% when pulling 2b6cf298ef0e933d00d1ebf5c2f8a54ac71ad951 on added_more_spam_filters into 8f050fc725868aea9d73f4206ab200af5083abbc on master.


Outdated recommendation

Although this may have matched Microsoft's customer messaging and culture in 2017, there are no Microsoft professionals I'm aware of who recommend using this. This should only be used on advice of company counsel, it's not Microsoft's role to recommend legal language or warnings. Especially since it breaks 1-step biometric Windows Hello.
Recommend changing wording to describe feature and discourage use.

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

ID: 8897b50b-10e9-5d0b-6150-c1834a296a20
Version Independent ID: bed1c6d9-91c3-02f2-12c9-58229886118a
Content: Interactive Logon Message text (Windows 10) - Windows security
Content Source: windows/security/threat-protection/security-policy-settings/interactive-logon-message-text-for-users-attempting-to-log-on.md
Product: w10
Technology: windows
GitHub Login: @Dansimp
Microsoft Alias: dansimp

Hello @SwiftOnSecurity - Thank you for your feedback here. Please note that are just examples that Microsoft shared. These are not recommended and you can use based on your company's internal policy.
Thanks.
Imran.


Reorder boot and verify informer cache sync

Before this change the operator would hang at random on "waiting for
informer caches to sync", without anything else happening or it timing
out.
After an extensive search in recently merged PRs, this seems to be
related to an change of order in #1906, where the informer would be
initialized before the operator had registered its event handlers.
In addition to reverting this change and ensuring the informer cache is
synced before it is used, reorder everything so that the operator is
started before anything else that may depend on it, so it can start
processing changes from the queue as soon as possible.

@squaremo @2opremio added 30 builds to be 100% sure this is a permanent fix, but my previous tests on CircleCI and on my own machine (about 100 cycles all together) did not run into any issues. https://circleci.com/gh/weaveworks/workflows/flux/tree/helm%2Finformer-sync

LGTM, but again, I am not super familiar with the operator.


Main

Added Love_Calculator game

Please check ! I added the love calculator game

solve conflict and make proper pr with description as well as which issue are u solving


Create a 1.0 release candidate

Done via https://github.com/plugblockchain/plug-blockchain/tree/1.0.0-rc1


[WIP][SPARK-48435][SQL] UNICODE collation should not support binary equality

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Was this patch authored or co-authored using generative AI tooling?

another note for future reference: as per ICU docs, we've decided to stick with TERTIARY collation strength for UNICODE

As noted in one of the resolved comments - there's no loss of coverage. However, some tests have been (temporarily) removed because StringTrim no longer supports UNICODE collation given the new UNICODE definition in CollationFactory
At this time, StringTrim expression only supports UTF8_BINARY & UTF8_BINARY_LCASE, but not ICU collations. This work is in progress, so we'll make sure to have appropriate test coverage at that point!

As noted in one of the resolved comments - there's no loss of coverage. However, some tests have been (temporarily) removed because StringTrim no longer supports UNICODE collation given the new UNICODE definition in CollationFactory
At this time, StringTrim expression only supports UTF8_BINARY & UTF8_BINARY_LCASE, but not ICU collations. This work is in progress, so we'll make sure to have appropriate test coverage at that point!

This explanation would fit very nicely in the PR description (explaining what are the changes in the PR). Your call.

updated PR title and description
@cloud-fan please review

thanks, merging to master!


chore: Update version and contributors for 0.1.0 release

[test]

[test]

@mathur07 @dvandra Ideally your name should have been added into the contributors list.


python: support for size_t args (default value)

resolves a problem when passing size_t as argument , currently, they're treated as "Object" ('O') and don't get proper initialization

currently, this code gets generated:

static PyObject* pyopencv_cv_structured_light_structured_light_GrayCodePattern_setWhiteThreshold(PyObject* self, PyObject* args, PyObject* kw)
{
    using namespace cv::structured_light;

    if(!PyObject_TypeCheck(self, &pyopencv_structured_light_GrayCodePattern_Type))
        return failmsgp("Incorrect type of self (must be 'structured_light_GrayCodePattern' or its derivative)");
    cv::structured_light::GrayCodePattern* _self_ = dynamic_cast<cv::structured_light::GrayCodePattern*>(((pyopencv_structured_light_GrayCodePattern_t*)self)->v.get());
    size_t value; //// should be initialized to 0

    const char* keywords[] = { "value", NULL };
    //// 'O' should be 'I':
    if( PyArg_ParseTupleAndKeywords(args, kw, "O:structured_light_GrayCodePattern.setWhiteThreshold", (char**)keywords, &value) )
    {
        //// value should be initialized
        ERRWRAP2(_self_->setWhiteThreshold(value));

:+1:


Create 0000-01-02-srihari795.md

created a branch, created a file and made a commit, and opened a pull request

created a branch, created a file and made a commit, and opened a pull request


Save state of Sagas

Design and implement a set of interfaces that a Saga can use to store and retrieve state information pertaining to business flows involving multiple aggregate roots.
Implement an in memory version for testing purposes.
Implement a doctrine ORM version in cqorms module

Kinda done - Processes capture events which they have responded to allowing state to be rebuilt from their event stream.


Suggestion Dropdown should support down and up key functionality

Affected module
Does it impact the UI, backend or Ingestion Framework?
UI
Describe the bug
A clear and concise description of what the bug is.
The search suggestion dropdown does not support up and down arrow key functionality.
To Reproduce

Expected behavior
A clear and concise description of what you expected to happen.
The search suggestion dropdown should support up and down arrow key functionality.
Version:

OS: [e.g. iOS]
Python version:
OpenMetadata version: [e.g. 0.8]
OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ]

Additional context
Add any other context about the problem here.

@aniketkatkar97 any updates cc @chirag-madlani


docker/tls-download-mutinynet.sh script fails on Pulling xmpp

after #3453 was merged it seems the deployment script gets stuck due to a missing manifest
ERROR: manifest for fedimint/xmpp-prosody-chat-server:latest not found: manifest unknown: manifest unknown

@douglaz


Amazing library and community

Amazing library, I really love the community and that makes python functional really easy, starting to use right now, I was wondering if there is any plan for docs update and support for Python3.11

Hi all, I'm Robohie from DRC and have recently found this community.
I think, I can find interesting ideas which are going to grow up my skills in Python programming.


double-beep: Watch kate\W*robinson

double-beep requests the watch of the watch_keyword kate\W*robinson. See the MS search here and the Stack Exchange search here.

kate\W*robinson has been seen in 2 true positives, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


SSR

Main page - SimpleScreenRecorder - Maarten Baert's website https://www.maartenbaert.be/simplescreenrecorder/

Hi @LiVanJam , may I know how Outline relates to the website you pasted here?

It seems not to be related to outline-client.


Open repo_button nav link in a new tab/window

Is this a BUG REPORT or FEATURE REQUEST?:
feature
What happened: repo_button links open in the same tab.
What you expected to happen: It would be nice to be able to specify if they should be opened in a new tab/window (i.e. target=_blank).
How to reproduce it (as minimally and precisely as possible):
Configure a repo_button on a "nav" fragment, then click it.
Environment:

Syna Theme version: Tested in 0.17.4

Generally I think this might be something to use an edited "nav" fragment as a custom fragment.
There are already quite a few configuration options and enabling link target for all links seems too open.
Happy to discuss this so.

enabling link target for all links seems too open

I'm not sure I fully understand; would this mean all non-content/markdown links would be configurable with a target? In fact, I think this would be a good thing, as long as the default is leaving it unset.
For the repo link in particular, one could even argue to make it target="_blank" altogether, but obviously this would be a change in behavior and certainly some people would disagree.

Adding that option multiplies the varieties of the options and complicates the code as well. Currently my stance is that the complexity for that specific feature isn't warranted especially as once can duplicate the navigation fragment and add it in as a custom fragment instead.
See:
https://about.okkur.org/syna/docs/fragments/#custom-fragments


pull: Add deprecated SPDX identifiers

These identifiers are deprecated, but they haven't yet been dropped from the SPDX spec.  That means that, although they're not recommended, they're still valid identifiers to use where you can use other License List 3.0 identifiers.  Listing them here makes it easy for folks using the deprecated identifiers to look up the associated FSF metadata.
An alternative approach would be to stick with only non-deprecated SPDX identifiers here and have users hit the SPDX API to resolve those before coming to this API.  But the SPDX API does not currently expose obsoletedBy migration recommendations (spdx/LicenseListPublisher#12).
CC @goneall.

Agree with adding the deprecated ID's as a solution.  We can pick these up on the next update of the license list data.


adds missing id for country select in conferences page

This PR fixes the conference page, where the country select lacked an ID, making the label for="country-select" invalid as it could not be linked to the input.
Caught in https://rocketvalidator.com/s/624562a6-bdbe-4411-9c28-3652a4887982/i/112979562

This Rocket Validator tool is pretty handy 😉

It really is! That's why I want to be sure we recognize that and highlight how useful it has been in a blog post. I think many websites could use these kind of improvements.

Hey thanks for the kind words, guys!
I too think that Rocket Validator has a lot of cool tools. I also think that it could be improved, specially for working with teams, so I'll be delighted to hear your ideas on improving the tool while keeping it simple! 🚀


On mergin feature/k8s-ui  on merge/k8s-ui branch none of the Pods want to come up

Seems lie there is some DNS issue setting now none of the Pods come up and then there is a cascading failure. Does anyone know why this entry is not available in DSN
Apr 27 16:19:28 mantl-dev1-control-01 journal: I0427 16:19:28.064734       1 podmaster.go:73] key already exists, we are the master (<IP_ADDRESS>)
Apr 27 16:19:28 mantl-dev1-control-01 kubelet: W0427 16:19:28.370823    4064 manager.go:408] Failed to update status for pod "_()": Get https://kubernetes.service.consul:6443/api/v1/namespaces/kube-system/pods/kube-podmaster-ip-10-1-1-26.ec2.internal: dial tcp: lookup kubernetes.service.consul: no such host
Apr 27 16:19:28 mantl-dev1-control-01 kubelet: W0427 16:19:28.372067    4064 manager.go:408] Failed to update status for pod "_()": Get https://kubernetes.service.consul:6443/api/v1/namespaces/kube-system/pods/kube-controller-manager-ip-10-1-1-26.ec2.internal: dial tcp: lookup kubernetes.service.consul: no such host
Apr 27 16:19:28 mantl-dev1-control-01 kubelet: W0427 16:19:28.372959    4064 manager.go:408] Failed to update status for pod "_()": Get https://kubernetes.service.consul:6443/api/v1/namespaces/kube-system/pods/kube-scheduler-ip-10-1-1-26.ec2.internal: dial tcp: lookup kubernetes.service.consul: no such host
Apr 27 16:19:28 mantl-dev1-control-01 kubelet: W0427 16:19:28.373885    4064 manager.go:408] Failed to update status for pod "_()": Get https://kubernetes.service.consul:6443/api/v1/namespaces/kube-system/pods/kube-apiserver-ip-10-1-1-26.ec2.internal: dial tcp: lookup kubernetes.service.consul: no such host
Apr 27 16:19:28 mantl-dev1-control-01 kubelet: W0427 16:19:28.374714    4064 manager.go:408] Failed to update status for pod "_()": Get https://kubernetes.service.consul:6443/api/v1/namespaces/kube-system/pods/kube-proxy-ip-10-1-1-26.ec2.internal: dial tcp: lookup kubernetes.service.consul: no such host
Apr 27 16:19:29 mantl-dev1-control-01 kubelet: E0427 16:19:29.371067    4064 kubelet.go:1764] Failed creating a mirror pod for "kube-controller-manager-ip-10-1-1-26.ec2.internal_kube-system(1c04587bfd1b1a0eed4d62c68ded52fd)": Post https://kubernetes.service.consul:6443/api/v1/namespaces/kube-system/pods: dial tcp: lookup kubernetes.service.consul: no such host
Apr 27 16:19:29 mantl-dev1-control-01 kubelet: I0427 16:19:29.372296    4064 manager.go:2047] Back-off 5m0s restarting failed container=kube-controller-manager pod=kube-controller-manager-ip-10-1-1-26.ec2.internal_kube-system(1c04587bfd1b1a0eed4d62c68ded52fd)
Apr 27 16:19:29 mantl-dev1-control-01 kubelet: E0427 16:19:29.372351    4064 pod_workers.go:138] Error syncing pod 1c04587bfd1b1a0eed4d62c68ded52fd, skipping: failed to "StartContainer" for "kube-controller-manager" with CrashLoopBackOff: "Back-off 5m0s restarting failed container=kube-controller-manager pod=kube-controller-manager-ip-10-1-1-26.ec2.internal_kube-system(1c04587bfd1b1a0eed4d62c68ded52fd)"
Apr 27 16:19:30 mantl-dev1-control-01 journal: I0427 16:19:30.676769       1 podmaster.go:73] key already exists, we are the master (<IP_ADDRESS>)
Apr 27 16:19:33 mantl-dev1-control-01 journal: I0427 16:19:33.065692       1 podmaster.go:73] key already exists, we are the master (<IP_ADDRESS>)
Apr 27 16:19:33 mantl-dev1-control-01 kubelet: E0427 16:19:33.371112    4064 kubelet.go:1764] Failed creating a mirror pod for "kube-scheduler-ip-10-1-1-26.ec2.internal_kube-system(f44f1c702b27ff17802572d764303c39)": Post https://kubernetes.service.consul:6443/api/v1/namespaces/kube-system/pods: dial tcp: lookup kubernetes.service.consul: no such host
Apr 27 16:19:33 mantl-dev1-control-01 kubelet: I0427 16:19:33.388203    4064 kubelet.go:1086] Adding node label from cloud provider: beta.kubernetes.io/instance-type=t2.medium
Apr 27 16:19:33 mantl-dev1-control-01 kubelet: I0427 16:19:33.388221    4064 kubelet.go:1097] Adding node label from cloud provider: failure-domain.beta.kubernetes.io/zone=us-east-1a
Apr 27 16:19:33 mantl-dev1-control-01 kubelet: I0427 16:19:33.388227    4064 kubelet.go:1101] Adding node label from cloud provider: failure-domain.beta.kubernetes.io/region=us-east-1
Apr 27 16:19:33 mantl-dev1-control-01 kubelet: E0427 16:19:33.688338    4064 event.go:202] Unable to write event: 'dial tcp: lookup kubernetes.service.consul: no such host' (may retry after sleeping)
Apr 27 16:19:35 mantl-dev1-control-01 journal: I0427 16:19:35.678151       1 podmaster.go:73] key already exists, we are the master (<IP_ADDRESS>)
Apr 27 16:19:36 mantl-dev1-control-01 consul: 2017/04/27 16:19:36 [WARN] agent: http request failed 'http://localhost:8085/healthz': Get http://localhost:8085/healthz: dial tcp <IP_ADDRESS>:8085: getsockopt: connection refused
Apr 27 16:19:37 mantl-dev1-control-01 journal: <IP_ADDRESS> - - [27/Apr/2017:16:19:37 +0000] "GET /v1/kv/secure/service/nginx/auth/users?index=258&recurse=&token=51ee2e35-3b06-4926-ab0d-dc3dda497404&wait=60000ms HTTP/1.1" 200 200 "http://consul.service.consul:8500/v1/kv/secure/service/nginx/auth/users?index=258&recurse=&token=51ee2e35-3b06-4926-ab0d-dc3dda497404&wait=60000ms" "Go 1.1 package http"
Apr 27 16:19:38 mantl-dev1-control-01 journal: I0427 16:19:38.066606       1 podmaster.go:73] key already exists, we are the master (<IP_ADDRESS>)
Apr 27 16:19:38 mantl-dev1-control-01 kubelet: W0427 16:19:38.370632    4064 manager.go:408] Failed to update status for pod "_()": Get https://kubernetes.service.consul:6443/api/v1/namespaces/kube-system/pods/kube-apiserver-ip-10-1-1-26.ec2.internal: dial tcp: lookup kubernetes.service.consul: no such host
Apr 27 16:19:38 mantl-dev1-control-01 kubelet: E0427 16:19:38.370668    4064 kubelet.go:1764] Failed creating a mirror pod for "kube-proxy-ip-10-1-1-26.ec2.internal_kube-system(3d56e0ee654f01a4b3b911ad9c7177e5)": Post https://kubernetes.service.consul:6443/api/v1/namespaces/kube-system/pods: dial tcp: lookup kubernetes.service.consul: no such host
Apr 27 16:19:38 mantl-dev1-control-01 kubelet: E0427 16:19:38.370640    4064 kubelet.go:1764] Failed creating a mirror pod for "kube-apiserver-ip-10-1-1-26.ec2.internal_kube-system(61a1773dd72882467e69490bbb9897c1)": Post https://kubernetes.service.consul:6443/api/v1/namespaces/kube-system/pods: dial tcp: lookup kubernetes.service.consul: no such host
Apr 27 16:19:38 mantl-dev1-control-01 kubelet: W0427 16:19:38.371431    4064 manager.go:408] Failed to update status for pod "_()": Get https://kubernetes.service.consul:6443/api/v1/namespaces/kube-system/pods/kube-proxy-ip-10-1-1-26.ec2.internal: dial tcp: lookup kubernetes.service.consul: no such host
Apr 27 16:19:38 mantl-dev1-control-01 kubelet: W0427 16:19:38.372156    4064 manager.go:408] Failed to update status for pod "_()": Get https://kubernetes.service.consul:6443/api/v1/namespaces/kube-system/pods/kube-podmaster-ip-10-1-1-26.ec2.internal: dial tcp: lookup kubernetes.service.consul: no such host
Apr 27 16:19:38 mantl-dev1-control-01 kubelet: I0427 16:19:38.372816    4064 manager.go:2047] Back-off 5m0s restarting failed container=kube-apiserver pod=kube-apiserver-ip-10-1-1-26.ec2.internal_kube-system(61a1773dd72882467e69490bbb9897c1)
Apr 27 16:19:38 mantl-dev1-control-01 kubelet: E0427 16:19:38.372842    4064 pod_workers.go:138] Error syncing pod 61a1773dd72882467e69490bbb9897c1, skipping: failed to "StartContainer" for "kube-apiserver" with CrashLoopBackOff: "Back-off 5m0s restarting failed container=kube-apiserver pod=kube-apiserver-ip-10-1-1-26.ec2.internal_kube-system(61a1773dd72882467e69490bbb9897c1)"
Apr 27 16:19:38 mantl-dev1-control-01 kubelet: I0427 16:19:38.373266    4064 manager.go:2047] Back-off 5m0s restarting failed container=kube-proxy pod=kube-proxy-ip-10-1-1-26.ec2.internal_kube-system(3d56e0ee654f01a4b3b911ad9c7177e5)
Apr 27 16:19:38 mantl-dev1-control-01 kubelet: E0427 16:19:38.373312    4064 pod_workers.go:138] Error syncing pod 3d56e0ee654f01a4b3b911ad9c7177e5, skipping: failed to "StartContainer" for "kube-proxy" with CrashLoopBackOff: "Back-off 5m0s restarting failed container=kube-proxy pod=kube-proxy-ip-10-1-1-26.ec2.internal_kube-system(3d56e0ee654f01a4b3b911ad9c7177e5)"
Apr 27 16:19:38 mantl-dev1-control-01 kubelet: W0427 16:19:38.374070    4064 manager.go:408] Failed to update status for pod "_()": Get https://kubernetes.service.consul:6443/api/v1/namespaces/kube-system/pods/kube-controller-manager-ip-10-1-1-26.ec2.internal: dial tcp: lookup kubernetes.service.consul: no such host
Apr 27 16:19:38 mantl-dev1-control-01 kubelet: W0427 16:19:38.374920    4064 manager.go:408] Failed to update status for pod "_()": Get https://kubernetes.service.consul:6443/api/v1/namespaces/kube-system/pods/kube-scheduler-ip-10-1-1-26.ec2.internal: dial tcp: lookup kubernetes.service.consul: no such host

smarple.yml: Has changes in to integrate roles for vanilla k8. Also has k8 addons but never get past apiserver role
Ansible version (ansible --version): ansible 1.9.6
Python version (python --version): Python 2.7.12
Git commit hash or branch: merge/k8s-ui
Cloud Environment: aws
Terraform version (terraform version): Terraform v0.9.3

There is also this:
Apr 27 16:19:18 mantl-dev1-control-01 dhclient[22775]: DHCPREQUEST on eth0 to <IP_ADDRESS> port 67 (xid=0x5f1ffe10)
Apr 27 16:19:18 mantl-dev1-control-01 dhclient[22775]: DHCPACK from <IP_ADDRESS> (xid=0x5f1ffe10)
Apr 27 16:19:18 mantl-dev1-control-01 NetworkManager[22750]: <info>  [1493309958.9037] dhcp4 (eth0):   address <IP_ADDRESS>
Apr 27 16:19:18 mantl-dev1-control-01 NetworkManager[22750]: <info>  [1493309958.9040] dhcp4 (eth0):   plen 24 (<IP_ADDRESS>)
Apr 27 16:19:18 mantl-dev1-control-01 NetworkManager[22750]: <info>  [1493309958.9040] dhcp4 (eth0):   gateway <IP_ADDRESS>
Apr 27 16:19:18 mantl-dev1-control-01 NetworkManager[22750]: <info>  [1493309958.9040] dhcp4 (eth0):   server identifier <IP_ADDRESS>
Apr 27 16:19:18 mantl-dev1-control-01 NetworkManager[22750]: <info>  [1493309958.9040] dhcp4 (eth0):   lease time 3600
Apr 27 16:19:18 mantl-dev1-control-01 NetworkManager[22750]: <info>  [1493309958.9040] dhcp4 (eth0):   hostname 'ip-10-1-1-26'
Apr 27 16:19:18 mantl-dev1-control-01 NetworkManager[22750]: <info>  [1493309958.9040] dhcp4 (eth0):   nameserver '<IP_ADDRESS>'
Apr 27 16:19:18 mantl-dev1-control-01 NetworkManager[22750]: <info>  [1493309958.9040] dhcp4 (eth0):   domain name 'ec2.internal'
Apr 27 16:19:18 mantl-dev1-control-01 NetworkManager[22750]: <info>  [1493309958.9040] dhcp4 (eth0): state changed bound -> bound
Apr 27 16:19:18 mantl-dev1-control-01 dbus-daemon: dbus[464]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Apr 27 16:19:18 mantl-dev1-control-01 dbus[464]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Apr 27 16:19:18 mantl-dev1-control-01 dhclient[22775]: bound to <IP_ADDRESS> -- renewal in 1633 seconds.
Apr 27 16:19:18 mantl-dev1-control-01 systemd: Starting Network Manager Script Dispatcher Service...
Apr 27 16:19:18 mantl-dev1-control-01 dbus[464]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Apr 27 16:19:18 mantl-dev1-control-01 dbus-daemon: dbus[464]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Apr 27 16:19:18 mantl-dev1-control-01 systemd: Started Network Manager Script Dispatcher Service.
Apr 27 16:19:18 mantl-dev1-control-01 nm-dispatcher: req:1 'dhcp4-change' [eth0]: new request (3 scripts)
Apr 27 16:19:18 mantl-dev1-control-01 nm-dispatcher: req:1 'dhcp4-change' [eth0]: start running ordered scripts...
Apr 27 16:19:19 mantl-dev1-control-01 kubelet: E0427 16:19:19.371370    4064 kubelet.go:1764] Failed creating a mirror pod for "kube-podmaster-ip-10-1-1-26.ec2.internal_kube-system(5e4ef4d004ec130f00cc02fb5bde8454)": Post https://kubernetes.service.consul:6443/api/v1/namespaces/kube-system/pods: dial tcp: lookup kubernetes.service.consul: no such host
Apr 27 16:19:19 mantl-dev1-control-01 kubelet: I0427 16:19:19.377317    4064 kubelet.go:1086] Adding node label from cloud provider: beta.kubernetes.io/instance-type=t2.medium
Apr 27 16:19:19 mantl-dev1-control-01 kubelet: I0427 16:19:19.377337    4064 kubelet.go:1097] Adding node label from cloud provider: failure-domain.beta.kubernetes.io/zone=us-east-1a
Apr 27 16:19:19 mantl-dev1-control-01 kubelet: I0427 16:19:19.377343    4064 kubelet.go:1101] Adding node label from cloud provider: failure-domain.beta.kubernetes.io/region=us-east-1
Apr 27 16:19:20 mantl-dev1-control-01 journal: I0427 16:19:20.670114       1 podmaster.go:73] key already exists, we are the master (<IP_ADDRESS>)
Apr 27 16:19:23 mantl-dev1-control-01 journal: I0427 16:19:23.060404       1 podmaster.go:73] key already exists, we are the master (<IP_ADDRESS>)
Apr 27 16:19:23 mantl-dev1-control-01 kubelet: E0427 16:19:23.687074    4064 event.go:202] Unable to write event: 'dial tcp: lookup kubernetes.service.consul: no such host' (may retry after sleeping)

You are testing the merge/k8s_ui branch right? The kube-apiserver.yml manifest is different from the one in the feature/k8s-ui branch. Especially it uses unsupported options for that specific hypercube image.

Yeah figured it is that I just blended them removing all the non hypercube ones now

Have made sure the apiserver config is correct now as per master but still get this for all calls:
 mantl-dev1-control-01 kubelet: E0428 19:59:21.988136    1080 reflector.go:205] pkg/kubelet/kubelet.go:262: Failed to list *api.Service: Get https://kubernetes.service.consul:6443/api/v1/services?resourceVersion=0: dial tcp: lookup kubernetes.service.consul on <IP_ADDRESS>:53: no such host
Have pushed it of merge/k8s-ui if someone wants to eysball it as well. Crashes at TASK: [kubernetes-master | wait for apiserver to come up] *********************
It is wherever it is checking for kubernetes.service.consul(guess etcd) it does not find the entry

Basically the problem is still the same (have a look at my previous commnet). This hypercube image doesn't support the --storage-backend=consul option. So the container won't come up and it fails with the error:
Unable to find storage destination for { podTemplates}, due to unknown storage type: consul

Double checked the top ones left the bottom ones will now check them all :/.
Thanks for pointing this out :)

Above change makes it built. Need flannel rpm in mantl repo then I think it will be close to operational :)

I'll work on the Flannel RPM

Question, are we using Calico and Flannel? If so, how are we integrating these networks?

You're right, you'd probably want an adapter so you can use calico OR flannel.  But now that you mentioned, why not both?  They could be made to talk with each other.  This would help if anything can't be adapted for one or the other, (or in cases where the adapter is incomplete)

Yeah, that's what I was getting at. We just have to add a virtual router in the mix and I think we may be able to do that with Calico.

We're currently using Calico for everything, however flannel seems to be the de-facto choice for k8 networks.

@Theaxiom @KaGeN101 Seems that flannel role was removed from master https://github.com/mantl/mantl/issues/1614 . There is also project Canal which combines Calico+Flannel networking which might be worth looking at.

@dpavlos correct, but Flannel is present in the feature/k8s-ui branch and that is why I asked.

@KaGeN101 wants me to build a Flannel RPM

I still need this will make them play together. They should work fine across the same subnet in theory. Should be possible to bridge the calico and flannel network

Weave gets a great review from me for being the easiest CNI plugin to configure (there was zero configuration in my case, just apply the yaml file and go.)  This is probably irrelevant, but, $0.02

Flannel keeps on throwing this error even thou etcd is perfectly accessible and the value it is looking for is in it. Can find it with etcdctl
```network.go:53] Failed to retrieve network config: client: etcd cluster is unavailable or misconfigured``
The endpoints used for access is -etcd-endpoints="http://etcd.service.consul:2379"
All etcdctl checks for the etcd cluster is good so don't know why flannel cant get its config from it

This command works fine :/
ETCDCTL_ENDPOINT=http://etcd.service.consul:2379 etcdctl get cluster.local/network/config
Found this don't know if it is related?
https://github.com/coreos/flannel/issues/472


(feature) OpenTelemetry exporter

Requirement
As of Today, we have a bunch of data exporter to export at different location, but the format is owned by GO Feature Flag.
To integrate better with other tools it will be great to have a OpenTelemetry data exporter that will add a span for each evaluation.

[ ] Develop a new exporter in the exporter folder.
[ ] Create a span for each evaluation.
[ ] Let user configure this exporter in the relay proxy.
[ ] Update the documentation with this exporter.

I haven't contributed before, I can grab this if thats okay.

Hey @bearrito feel free to take it.

Just so I can confirm scope

I see that the other exporters all take a featureEvents []exporter.FeatureEvent. This needs to be converted into a span. I need to learn more about Features and Evaluations. But would each FeatureEvent correspond to a trace within the span?
OpenTelemetry itself supports exporters. I assume you want support for all these? Is there one to prioritize?
Do I need to worry about context propagation? (I don't think so)
Do you want resources (metadata) included. ( I think so)

Hello @bearrito let me try to answer your questions.

I see that the other exporters all take a featureEvents []exporter.FeatureEvent. This needs to be converted into a trace. I need to learn more about Features and Evaluations. But would each FeatureEvent correspond to a span within the trace?

Yes, you can emit 1 span for each featureEvent, but since this can be a synchronous exporter I recommend to set the IsBulk function at false (like in the example below), this will ensure that you will never have more than 1 event in the array for each call.
https://github.com/thomaspoignant/go-feature-flag/blob/add723282ad1668be2b21a815bc00d705b21e85d/exporter/sqsexporter/exporter.go#L73-L75

OpenTelemetry itself supports exporters. I assume you want support for all these? Is there one to prioritize?

Since this is meant to be used by anyone, I would say that we should export to OTLP so the users can decide on their side which one to use.

Do I need to worry about context propagation? (I don't think so)

No, we can start without that for now.

Do you want resources (metadata) included. ( I think so)

Yes, ideally we should have them.


Cannot have htpasswd secret created in provisioning cluster

I have followed this guide to create syncidentityprovider, but the htpasswd secret cannot be created in target cluster. Here is my syncidentityprovider file content:
---
apiVersion: hive.openshift.io/v1alpha1
kind: SyncIdentityProvider
metadata:
  name: allowall-identity-provider
spec:
  identityProviders:
  - name: htpasswd
    challenge: true
    login: true
    mappingMethod: claim
    type: HTPasswd
    htpasswd:
      fileData:
        name: htpasswd-zzl2r
  clusterDeploymentRefs:
  - name: "mycluster"

Am I missed anything? I just tried to create htpasswd-zzl2r secret in openshift-config namespace, everything is working now. Thanks.

Hi @clyang82, regarding your last sentence, you can create a secret in openshift-config, but your SyncIdentityProvider is not working?
Some ideas to debug:

Do you have a ClusterDeployment named "mycluster" in the same namespace where you created the SyncIdentityProvider?
Do you have a SyncSet named "identity-providers" in this namespace?
Do you have a SyncSetInstance named  mycluster-identity-providers-syncset in this namespace? Does it have any status conditions?
Does your hive-controllers pod log show any information for this mycluster-identity-providers-syncset?

The SyncIdentityProvider controllers should create a SyncSet for this to deliver the actual content.

Hi @dgoodwin , here are information of my cluster.

I have cd in default namespace.

[root@bunnies-inf aws]# oc get cd
NAME        CLUSTERNAME         CLUSTERTYPE   BASEDOMAIN   INSTALLED   INFRAID                   AGE
mycluster   clyang-oc-cluster                 xxx    true        clyang-oc-cluster-l4gzr   2d1h
[

I have SyncSet generated in default namespace as well.

[root@bunnies-inf aws]# oc get SyncSet
NAME            AGE
mycluster-idp   30h

the SyncSetInstance generated as well.

[root@bunnies-inf aws]# oc get SyncSetInstance
NAME                              AGE
mycluster-mycluster-idp-syncset   30h

[root@bunnies-inf aws]# oc get SyncSetInstance -oyaml mycluster-mycluster-idp-syncset
apiVersion: hive.openshift.io/v1alpha1
kind: SyncSetInstance
metadata:
  creationTimestamp: "2019-10-16T01:39:04Z"
  finalizers:
  - hive.openshift.io/syncsetinstance
  generation: 5
  name: mycluster-mycluster-idp-syncset
  namespace: default
  ownerReferences:
  - apiVersion: hive.openshift.io/v1alpha1
    blockOwnerDeletion: true
    controller: true
    kind: ClusterDeployment
    name: mycluster
    uid: b95fc55f-ef10-11e9-8f70-00000a100191
  resourceVersion: "2958618"
  selfLink: /apis/hive.openshift.io/v1alpha1/namespaces/default/syncsetinstances/mycluster-mycluster-idp-syncset
  uid: bce05187-efb5-11e9-8f70-00000a100191
spec:
  clusterDeployment:
    name: mycluster
  syncSet:
    name: mycluster-idp
  syncSetHash: 99b7650f5d511b629684f70b44d39de8
status:
  patches:
  - apiVersion: config.openshift.io/v1
    conditions:
    - lastProbeTime: "2019-10-17T05:51:59Z"
      lastTransitionTime: "2019-10-16T01:39:57Z"
      message: Apply successful
      reason: ApplySucceeded
      status: "False"
      type: ApplyFailure
    - lastProbeTime: "2019-10-17T05:51:59Z"
      lastTransitionTime: "2019-10-16T01:39:57Z"
      message: Apply successful
      reason: ApplySucceeded
      status: "True"
      type: ApplySuccess
    hash: d312ddc807305dfdff0850a801a3b519
    kind: OAuth
    name: cluster
    namespace: ""

from the status of SyncSetInstance, the apply is successful.
In my aws openshift environment, there is no htpasswd-zzl2r secret created in openshift-config.

@twiest can you help clarify here, it looks like we may not support automatically transferring a htpasswd secret for an IDP of that type. Is this expected and the recommended solution would be to distribute your htpasswd secret manually with an explicit SyncSet?
i.e. SyncIdentityProvider is only for delivering identity provider configuration, if that identity provider requires additional resources they would need to be delivered out of band?

closing per last comment


Minor Error in Command Prompt Appearance Setting in New UI

 The ""Underscore" settings shows a double underscore, and the "Double Underscore" setting shows a single underscore. They should be reversed.
Environment
Windows build number: Microsoft Windows [Version 10.0.19042.746]
Windows Terminal version (if applicable): Windows Terminal Preview Version: 1.6.10272.0

Any other software?

Steps to reproduce

Cntl-Shift-, to bring up the new UI. Click on "Command Prompt" or "Base layer".  Select the "Appearance" tabl. Scroll down to "Cursor". Notice the "Underscore" and "Double Underscore" settings.
Expected behavior

The "Underscore" setting should show a single underscore, and the "Double Underscore" setting should show a double underscore.
Actual behavior

What system language are you using? Maybe one of the localizations got messed up?

What system language are you using? Maybe one of the localizations got messed up?

On 1/28/2021 1:11 PM, Mike Griese wrote:

image
https://user-images.githubusercontent.com/18356694/106199318-e1f89080-617a-11eb-86b8-1caaf7e75dc2.png
What system language are you using? Maybe one of the localizations got
messed up?

No, it's more embarrassing than that.
I have a 28" 4K monitor. Because the pixels are so fine, I didn't see
the double underscore as 2 underscores, 1 on top of the other. I just
saw 1 underscore that was twice as short horizontally than the other.
In other words, I thought that "double" was referring to the horizontal
dimension, not the vertical dimension.
It would be nice if both underscores were the same length, but I don't
know if there's a character for that.
You can close this issue.
Thanks for the quick reply.
Jon

On 1/28/2021 1:11 PM, Mike Griese wrote:

image
https://user-images.githubusercontent.com/18356694/106199318-e1f89080-617a-11eb-86b8-1caaf7e75dc2.png
What system language are you using? Maybe one of the localizations got
messed up?

No, it's more embarrassing than that.
I have a 28" 4K monitor. Because the pixels are so fine, I didn't see
the double underscore as 2 underscores, 1 on top of the other. I just
saw 1 underscore that was twice as short horizontally than the other.
In other words, I thought that "double" was referring to the horizontal
dimension, not the vertical dimension.
It would be nice if both underscores were the same length, but I don't
know if there's a character for that.
You can close this issue.
Thanks for the quick reply.
Jon

Don't worry about it! Thanks for following up. I think we're tracking "fix the characters in that menu" somewhere in the Setting UI project. It's definitely something on our radar ☺

Don't worry about it! Thanks for following up. I think we're tracking "fix the characters in that menu" somewhere in the Setting UI project. It's definitely something on our radar ☺


Deposit form upload SWH ID

The "Files"-section of the deposit form will add support for uploading/regsitering files from multiple sources include "from Software Heritage".
Choosing "from Software Heritage", will enable users to provide a SWH ID of software source code already registered in SWH. Also, this feature can detect if a SWH is already deposited in the repository.

https://wiki.eduuni.fi/display/cscRDIcollaboration/InvenioRDM+-+SWH+SPECS

In terms of UI, this is a complicated case.
The suggested above might be hard to understand for users who are not depositing software (which are the majority of users).
HAL chose to do this in the Identifiers section using the type SWHID.
Old HAL version is displayed here:
https://youtu.be/j9eMCkJOSxs?si=diyoQdIyfCS-mtCk&t=60

One option would be to separate with a new button from external ID where it opens the menu shown above with Software Heritage or SWHID.
#OR2024


Add 9.5

9.5 is not yet in Debian stable, so hold off on bumping tests from 9.4 to 9.5 until then...

This has been superseded by #369, which adds 9.5 and 9.6 but also addresses some issues with this pull request:

Double quotes have since changed to single quotes.
Fedora 24 has since been released.
Support for older systems since has been dropped.
There is no 9.5 RPM for Amazon 2014.
Oracle 7 and Scientific 7 were missing.
Amazon and Oracle package strings were wrong.

#369 is merged so this can be closed now.


v4 .form-inline doesn't work and documentation incorrect

the v4 documentation for an inline form has the class .inline-form while the example below as .form-inline. also when using either class, my form is still display: block.

Using .form-inline works fine for me. Maybe you could show your example when it does not work for you?

Looks like #17553 was merged to fix this.


Does Foreignkey lower the database performance？

DBFlow Version:3.0.1
Issue Kind (Bug, Question, Feature):Question
Description:
I instert 1000 records
use SaveQueue
without Foreignkey about 4s
has Foreignkey about 10s
is it Normal？

It is likely that it is trying to validate the foreign key constraint as it inserts them. In which case this seems plausible. If it has to do 1 or more read for every write it could slow down quite a bit.

potentially. ensure your @ForeignKey reference has saveForeignKeyModel = false.


Feature Request: Add ELF support.

Please add ELF loader to simplify development. This code might be useful: https://github.com/ProbablyNotArtyom/G-DOS/blob/master/src/elf.c

Thanks, daschewie. My intention is for ELF to be supported in this kernel, since the 68000 compilers all seem to have ELF as a target format.

ELF support was added.


Exiting the app from the Study Cards Sets frame messes up the JSON file.

Do not save JSON file if exit from Study Cards Sets frame

Done


URL-encode spaces in links

In markserv 1.17.4, it seems that a link like [my link](./foo/bar baz) is rendered as plain text rather than being converted into an HTML link such as my link. Would it be possible to change this behavior to URL-encode links/paths with spaces and render working links with them?

Never mind - I see that markdown-it can correctly render spaces if the link is enclosed in angle brackets.


Prediction Hitsplat Not Centered

Hey its me the OG :) still using the plugin and its awesome the amount of things you've added.
I use the 'attach to player' settings and recently started using predicted hit with the 'Hitsplats' icon option. If you enable the hitsplat icon it becomes off-centered the number is perfect without any icons but once an icon is added it doesn't accommodate the new length like adding a 'prefix' does but instead goes to the left and looks "off centered".
Setting with xp drop for comparison
https://i.imgur.com/aJvP0go.jpg
Setting with using prediction alone
https://i.imgur.com/zKY73D1.png
Image shows what I mean. The number lines up perfectly but not with the Hitsplats icon. Again I am nitpicking here but just throwing this out there if its fixable awesome if no no big deal :D

See https://github.com/l2-/template-plugin/issues/4#issuecomment-902917452. I think is best and most consistent.

See https://github.com/l2-/template-plugin/issues/4#issuecomment-902917452. I think is best and most consistent.

yes for sure i wrote that thread haha text centered is great thanks

See https://github.com/l2-/template-plugin/issues/4#issuecomment-902917452. I think is best and most consistent.

Yes for sure I wrote that thread haha text centered is great but ya if changing for icon is going to ruin the rest of it its no big deal thanks you can close this issue.


Expired pokemon still show

Checklist

[x] I have read the FAQ
[x] I have checked if this issue already exists (both open and closed issues)
[x] I am using the most recent version of pogom from the master branch
[ ] If this is an installation issue, I am posting my OS, OS version, python version, pip version
[ ] I'm posting the complete log
[x] I'm using a descriptive title for this issue

My Issue
Some expired Pokemon remain on the map.
I capture all output of the script but I can't find anything.
I'm just using a default setup. These pokemon have expired hours ago.
Does anybody have an idea?
What kind of information would be usefull?

When's the last time you did a git pull

delete the db or remove those pokemon manually using sql

I have checked if this issue already exists (both open and closed issues)

I don't think so @janw-oostendorp:

#278
#274
#271
#260
#262

@TheHippo Let's not tease 😜


Will there be any support for LLaMa2 in the future?

This is not necessarily an issue, just a question regarding LLaMa2 and if it will ever be supported. I think this would be a great addition to the library.

It is already supported: https://hexdocs.pm/bumblebee/llama.html

Alright, thanks.