RHEL8/9: Adjust prerequisites system_lib.check_target_version und nework_lib.get_local_interfaces for branch_10.0.0.X

To ensure best support please mention the version of the application you are refering to, as well as the XynaFactory version you are using

Please write every issues in english so it can be easily accessed by the most users

Remember not to include any external ticket systems since they can't be reached by every user

Do not include sensitive information like projekt names of your or other companies that are not openly available to the public

done


mesh importer: at least one method to offset the origin should become a permanent non-breakable standard

When importing a mesh, the center of coordinate is automatically changed to the geometric center of the mesh. However it makes sense to have it differently, for instance that a rotating door has its center in the hinge (which simplifies scripting).
There are currently four possibilities to "cheat" and obtain this result:
1 Add extra unconnected vertices. This works, since the geometric center is calculated with vertices info only.
2 Add extra unconnected edges. Same as 1, but allow to draw a "bounding box" around the object (in Collada), much more visible (in Blender) than isolated vertices.
3 Add extra triangles. If they are small enough (0.1mm) they raise red errors in the importer, but in fact they are ignored and not accounted in the bounding box, which is good. But I recently found out that they cause some errors in the physical shape, even if the later is imported as a separate file (having the same vertices). It is as if they still formed extra physics faces, not visible in the build window. (I have a reproducible demo of this bug)
4 Use the collada origin. This is what should be done from the start, and everybody else does.
Solution 1 and 2 need no action.
Debugging 3 is not estimated.
Solution 4 probably needs rewriting of the whole importer thing.
But still 1 and 2 arise a problem: if in the future the importer removes "unused" vertices or edges, breaking collada files relying on them. (it would make sense to remove unused vertices which are often inadvertently left in meshes, unintentionally offsetting the center)
So my request is
To be warranted that one of these methods (unused vertices, edges or triangles in the calculation of the mesh center) becomes a non-changeable standard. (at least for one method, preferably 2. This was the solution preferred by Mike Chase)
This just needs that this rule is written somewhere, including in the code, so that future developers find this rule and know why it exists. (yes I request to add comments in the code, lol)

Of the options above only option 3 will likely work reliably.   The uploader (the viewer) removes isolated verts and edges and only retains faces.  So the current way to do what you're discussing is to add a single tri which isnt visible but sets the center and hence the origin of the object.
It might have been nice to preserve the origin in the collada file but in truth the receiving system (SL) sets the origin for all objects to the object center.
So since the viewer and the target system its built for are forcing origin to object center we're left with option 3.  I dont see an easy way to implement different behavior in OpenSim/Halcyon.

1 is currently working well, and probably 2. So my point is that at least one of these ways is preserved in the future.

Added: checking in the Collada spec, there are edges. But they are not imported in Halcyon. Adding an edge awareness to the importer would solve the problem, by providing a way to distinguish edges from lone vertices. But we have the same problem as with solution 1: in the future a non-informed dev may decide to cull unused edges.

See:  https://github.com/HalcyonGrid/halcyon/issues/111
Regards,
Ana Green

This issue raises a concern with SL compat. Though ATM I don't know whether or not it's the VIEWER or the SERVER that converts the mesh from collada to the asset format.  If it's the viewer, then that is currently out of scope.  It'd be good if someone could locate which does which.

The viewer does the conversion from the Collada/DAE format to the internal SL asset format.  To implement this suggestion would require changes to the viewer's conversion process which I suspect is unlikely. Regardless it should be a feature request there.

Thank you for that detail, I suspected that was the case, but I've never dug into that area of the code in either.

ok if I understand well this is a feature request for firestorm, which will likely send us to the SL Jira.


Original SIXAXIS PS3 controller disconnects after few seconds

Original sixaxis ps3 controller the one without rumble  in clear case and without dualshock branding disconnect after few seconds. It workfs fine with PS3 console and other DS3 controllers working fine with BlueRetro.
# BT_HCI_EVT_INQUIRY_COMPLETE
# BT_HCI_EVT_INQUIRY_COMPLETE
# BT_HCI_EVT_CONN_REQUEST
# bt_hci_cmd_accept_conn_req
# Page dev: 0 type: 0 bdaddr: 00:19:C1:5F:71:AD
# BT_HCI_EVT_CMD_STATUS
# BT_HCI_EVT_ROLE_CHANGE
# BT_HCI_EVT_CONN_COMPLETE
# dev: 0 acl_handle: 0x0080
# bt_hci_cmd_le_set_adv_disable
# bt_hci_cmd_remote_name_request
# BT_HCI_EVT_CMD_COMPLETE
# BT_HCI_EVT_CMD_STATUS
# BT_L2CAP_CONN_REQ
# BT_HCI_EVT_REMOTE_NAME_REQ_COMPLETE:
# dev: 0 type: 1 PLAYSTATION(R)3 Controller
# BT_L2CAP_CONF_REQ
# BT_L2CAP_CONF_RSP
# BT_L2CAP_CONN_REQ
# BT_L2CAP_CONF_REQ
# BT_L2CAP_CONF_RSP
# bt_hid_ps3_init
# bt_hid_ps3_init_callback
# BT_HCI_EVT_INQUIRY_COMPLETE
# BT_L2CAP_DISCONN_REQ
# BT_L2CAP_DISCONN_REQ
# BT_HCI_EVT_DISCONN_COMPLETE
# DISCONN from dev: 0
# bt_hci_cmd_periodic_inquiry
# bt_hci_cmd_le_set_adv_enable
# BT_HCI_EVT_CMD_COMPLETE
# opcode: 0x0403 error: 0x0C retry: 0
# BT_HCI_EVT_CMD_COMPLETE
ERR
# BT_HCI_EVT_INQUIRY_COMPLETE
# BT_HCI_EVT_INQUIRY_COMPLETE
# BT_HCI_EVT_INQUIRY_COMPLETE

I ordered a couple "Sixaxis only" and will take a look. Thanks!

Thanks

I don't know if it could help but http://downloads.arduino.cc/libraries/github.com/jvpernis/PS3_Controller_Host-1.0.0.zip arduino based library working fine with DS3 and Sixaxis PS3 controllers.

Also if the ramble feature is not enabled in BlueRetro config (Tested on nintendo GameCube) any DS3 gamepad not receiving port number indication. It Keep blinking all 4 leds as if it is not connected. But if ramble feature is enabled after first ramble executed it set port number.

In sources BlueRetro/main/bluetooth/hidp_ps3.c there is function  bt_hid_ps3_init_callback which i belive have to init gamepad and set gamepad port number but it never set it.
https://github.com/darthcloud/BlueRetro/blob/master/main/bluetooth/hidp_ps3.c
static void bt_hid_ps3_init_callback(void *arg) {
    struct bt_dev *device = (struct bt_dev *)arg;
    struct bt_hidp_ps3_set_conf set_conf;
    memcpy((void *)&set_conf, ps3_config, sizeof(set_conf));
    set_conf.leds = (bt_hid_led_dev_id_map[device->id] << 1);

    printf("# %s\n", __FUNCTION__);

    esp_timer_delete(ps3_timer_hdl);
    ps3_timer_hdl = NULL;

    bt_hid_cmd_ps3_bt_init(device);
    bt_hid_cmd_ps3_set_conf(device, (void *)&set_conf);
}

I've found found a solution. If i connect DS3 to USB port right after BT pairing process and disconnect USB after 10 seconds gamepad stays connected.

Maybe something wrong with my gamepad.I do not have other sixaxis to test it more.

It works exactly the same if I connect it to my PC, it is definitely a defective gamepad. Sorry to bother you.


Att. do meu curriculo

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


Fix "Similar code" issue in multizab/static/js/app.js

Similar code found in 1 other location (mass = 176)
https://codeclimate.com/github/Jeremmm/multizab/multizab/static/js/app.js#issue_56bfc29a96af2100010580d8

hide issue


Custom listView adapter

Is it possible (and how) to create a custom adapter for a listview, with a custom layout? ArrayAdapter constructor requires an id of the layout, like here:
        listView {
            adapter = ArrayAdapter(ctx, android.R.layout.simple_list_item_1, listOf("a", "b"))
        }

I also tried to subclass the ArrayAdapter:
        listView {
            adapter = object : ArrayAdapter<String>(ctx, 0, listOf("a", "b")) {
                override fun getView(position: Int, convertView: View?, parent: ViewGroup): View? {
                    val view = with(parent) {
                        textView {
                            text = "abc"
                        }
                    }
                    return view
                }
            }
        }

However, this raises an exception: addView(View) is not supported in AdapterView. As I understand it's because the DSL calls addView on parent after creating the view.

Koan currently has not special DSL for custom adapters yet.
However, it's quite simple to make your own adapters with Koan. I will modify a koan-demo-gradle project tomorrow and add some ListView-related code.

There was a bug in Koan which made List adapter handling not obvious in the past. With Koan 0.3 there's no problem! Here's the example:
https://github.com/yanex/koan-demo-gradle/blob/master/app/src/main/kotlin/org/example/koandemo/CountriesActivity.kt

the link to Koan does not work


Disallow timestamp w/ tz values that fall in DST gap or are ambiguous

Operations that result in timestamp w/ tz values that fall in the DST gap or that are ambiguous because of DST transitions should fail with an error.

Example of an ambiguous value due to DST backwards transition
presto> SELECT from_unixtime(1603589478, 'UTC') AT TIME ZONE 'Europe/Warsaw';
                 _col0
---------------------------------------
 2020-10-25 02:31:18.000 Europe/Warsaw

but:
presto> SELECT from_unixtime(1603589478, 'UTC') AT TIME ZONE 'Europe/Warsaw' = TIMESTAMP '2020-10-25 02:31:18.000 Europe/Warsaw';
 _col0
-------
 false

I thought we decided we were using the "lax" rules everywhere in Presto.  In that case, gaps get pushed +1 hr, and I don't remember what is chosen for double.  If we are changing this, I expect it will be a big deal to implement this everywhere.

I don't remember ever deciding that, but it's very problematic. It screws up with optimizations the engine could do and produces surprising (incorrect) results, as in the example above.


Transforma hook usePagarme em um serviço

Transforma hook usePagarme em um serviço
Adiciona check do eslint no lint-staged

Codecov Report

Merging #18 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #18   +/-   ##
=======================================
  Coverage   94.09%   94.09%
=======================================
  Files          18       18
  Lines         220      220
  Branches       57       57
=======================================
  Hits          207      207
  Misses         12       12
  Partials        1        1

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1ce2a6e...ccb1808. Read the comment docs.


When switching buffer writing a file, the previous buffer directory will be written too.

Just like below:
https://user-images.githubusercontent.com/57939102/169734716-14b63651-5d9a-48f0-b135-53d1ca675530.mov

neovim 0.7
MacOS 12.3
incline.nvim commit: a43a25047f267b9526f17d7fcde176dfb5f872bd

My config is default, and it works fine when I disable incline.nvim in my init.lua.

This is very strange. Incline never modifies the CWD or does anything with the filesystem, so I'm not sure why this would be happening. I tried to reproduce this issue, but I'm having trouble. Is your full config available on GitHub for me to test with?

YES. full dotfiles here.
Maybe too much plugins. 😅
Thank you!

It's very strange. I don't know what's wrong.
I use minimal configuration, with nvim-tree, bufferline and incline, and it works fine.
Maybe incline conflict with other plugins? I'm very confused.

I haven't tested your dotfiles yet. However I just noticed something in your video example. You did things differently in the first part versus the second part.
In the first run (with Incline enabled), you:

opened main.go
opened nvim-tree
opened shortener/repository.go in a new tab
ran command :w
navigated back to tab containing main.go
ran command :w

In the second run (with Incline disabled), you:

opened main.go
opened nvim-tree
opened shortener/repository.go in a new tab
ran command :w <---- you skipped this step
navigated back to tab containing main.go
ran command :w

If you re-try the second run again and do it exactly how you did the first run, does the issue still happen?

@b0o Thank you for your reply!
It's same.
I have tried several times before. But this video I forgot to do that.
:echo expand('%:p') output:

when I close Incline, the output is, and this is the correct path:

I think it should be a conflict with some other plugin, I will try it myself.

It's the fault of the wilder.nvim  plugin....😂
" call wilder#setup({'modes': [':', '/', '?']})


Refactor source for the newly added HF IndoBERT model

Refactor source for the newly added HF IndoBERT model
Fixes #
Refactor source for the newly added HF IndoBERT model
Proposed Changes

Refactor main.py | remove unused kfold
Refactor utils.args_helper | fix file path
Refactor utils.functions | remove unused models & add indobert
Update runner script | add indobert training & remove if on run_all_tasks
Remove unused files

Thanks for the help!


Backout RgGen?

#1534 merged in adding RgGen.  (@tgorochowik @taichi-ishitani)
While I appreciate adding more examples this added code fails on every tool supported.  As general policy I'd suggest sv-tests not allow merging new code unless: it either passes on every tool, or explains for each fail that the failure is an issue with the tool.  (As opposed to a configuration problem in sv-tests, which is what is wrong here.)
I'd like to see this change backed out until the code is resubmitted with proper configuration for the tools.
Why does this matter?  I don't think the tool developer's should have to debug new submissions to make them work - this should be the job of the submitter.
Thanks for considering.

FWIW I agree with this; it's very annoying when nobody bothers to make sure new tests work with even one single tool. Whether intended or not, it comes across as pure laziness.
I don't know that you have to provide explanations for literally every tool that fails; sv-tests has a number of tools that have very minimal support for the language and/or fail on a huge number of tests, but for those that pass most tests it seems reasonable to check newly added failures to see if they're the fault of the new test or the tool itself.

https://github.com/chipsalliance/sv-tests/blob/572e3913b8fc45cc1172c6b3827f9c280caf3b4b/generators/rggen#L27
The top module is based on the previous sample RgGen module but the sample module and dependent moodules are the latest.
I think it causes the error.
I will fix the top module.

This is my fault. I misinterpreted the test changes table due to broken headers seen in https://github.com/chipsalliance/sv-tests/pull/1534#issuecomment-1620037553 (the headers have been fixed since then), and then failed to check the actual results due to the limited time I can devote to sv-tests.
#4777 reverts this, @taichi-ishitani feel free to contribute your change, either as a fix or as a new PR if #4777 finishes more quickly.
Thanks and sorry about this

Nice, thanks for the quick response!

I've create PR #4778 to fix this error.
Could you please review this PR?


Compare page and it's functionality

Describe the bug
no compare page. the Compare button is one of the top features on a website features list. Compare functionality helps customers make a complicated purchase decision collating numerous features of two or more items. This e-commerce feature reduces a bounce rate making the process of product choice more straightforward, and as a result improves e-commerce conversions. we have to add compare page and it's functionality. compare page have to show the compare data for products present in wishlist. So user can add the product they want to the cart.
Priority
High

@MAVRICK-1 can you please assign this to me.

@Hemu21 go ahead


Use a procedural macro instead a local copy of arg_enum

Make cargo doc happier and make crav1e not depend on compiler
unstable feature.

Coverage increased (+0.07%) to 82.168% when pulling a339d0ab6e4d9fd6d203be6c3b5700272b1906c3 on rust-av:arg_enum_proc_macro into 97fc520bf6c65cd8a2fb8e0a3333d3e658faccf3 on xiph:master.

Looks prettier, OK with me.


Support coverage 7.0

For some reason, coveralls has an upper boundary that prevents it from installing together with coverage 7.0.0. Could this restriction be removed?

The reason for this request is that currently pip install coverage[toml] coveralls results in coveralls 1.8.0 being installed which fails due to compatibility issues.

Upd. Also gain that fil when tryed to install it.

To use coverage 7.0, a workaround I found was to swap from this library to the coveralls.io-maintained github action:

https://docs.coveralls.io/integrations#official-integrations
https://github.com/marketplace/actions/coveralls-github-action

Though I don't think the action natively supports reading from .coverage files, so I had to add an extra step to my CI to generate coverage.xml then tell the action to upload that file: https://github.com/romgar/django-dirtyfields/commit/572823e8beb98fb1dc6cda94988ec49265561a85

Unfortunately that doesn't seem to work on macOS runners:


Bugfix/uitest race condition fix

Turns out the failing tests were the result of reading the machete file right when it was being overwritten by the UiTestSuite which made the file empty for a short period of time. Code reacts to empty machete file by doing a rediscover thus the rest of the test fails.

Also:

[ ] pls check if there's anything in docs/features.md to update
[ ] an entry in CHANGE_NOTES.md might make sense for this change


Issue-917: Introduced the ksp plugin in project dagger and hilt depen…

…dencies now use ksp instead of kapt. Removed kapt plugin and use overall in project. Changed kotlin version from '1.8.0' to '1.9.10'. Changed hilt version from 2.44.2 to 2.48 as it is the version that supports ksp. Had to change compose-compiler version to 1.5.3 as a result of upgrading kotlin version to '1.9.10'.
Issue-917: Introduced the ksp plugin in project dagger and hilt dependencies now use ksp instead of kapt. Removed kapt plugin and use overall in project. Changed kotlin version from '1.8.0' to '1.9.10'. Changed hilt version from 2.44.2 to 2.48 as it is the version that supports ksp. Had to change compose-compiler version to 1.5.3 as a result of upgrading kotlin version to '1.9.10'.

Fixes #917


The tangential velocity for 2wd is doubled

I have a 2WD platform on the caterpillar tracks. Angular velocity shows 2 times more.
It is possible that the radius is incorrectly specified when calculating the tangential velocity.

Thanks for reporting the bug.
This has been resolved: https://github.com/linorobot/linorobot/commit/6c00dce0bbc637d8f64026d0eb9d0dea6b5efdac
Putting the thread's link here as well for reference: https://groups.google.com/forum/#!topic/linorobot/Jf2X4OHWAzY


Error display

There's a lot of weird warnings which I don't really understand, can you somehow fix them?

Sorry, forgot to run linter, i'll fix it


Always log if error occurred

Coverage decreased (-1.5%) when pulling 598e85b26fec1ebf1856af83095d3246bcc7e163 on log into 9e4f54783bcd70ff68f7ebfef5df797e1f68595e on master.


How to add shared calendar group  by EWS API? Thanks

Version (e.g. 1.0, dev-master):
PHP version:
Microsoft Exchange version:
Description of problem:
Example request:
// Formatted example request.

Example response:
// Formatted example response.

Additional details:

I tried to created one shared group based on MS doc https://msdn.microsoft.com/en-us/library/ee217241(v=exchg.80).aspx


add mongo note to changelog

added a note to the changelog regarding mongo 4.0 for EL7 and U16

@armab Updated.

@armab I'll merge after all of ci/cd runs for removing a new line


CacheFilter: Handle "Pragma: no-cache" request header

If a request lacks a Cache-Control header, but has a "Pragma: no-cache" header, treat it as if it had "Cache-Control: no-cache".
Required by RFC7234§5.4

Currently, we don't cache responses without cache-control headers, but when we start caching responses with cacheable-be-default status codes and no cache-control headers, we need to make sure "pragma: no-cache" is treated the same as "cache-control: no-cache". Note that any other "pragma" headers should be ignored.

Needs to be implemented after #9833 , as currently cache-control request headers are not checked.


Fixed some grammatical and spelling errors

Fixed some grammatical and spelling errors
@baskaryan, @eyurtsev.

One thing to note is that "convenience methods" is not a typo for "convenient methods". A convenience method/function is another term for a helper function.


Missing field warning should indicate which template file

It would be useful to know from the warning which template file contains the problem; e.g.
[?] [cards.csv:#51.1~62] The template contains a field that is not present for this card, or could not be resolved: 'icon_dungeon:small'

It's fine that it shows the datasource, but even better would be that it also showed the contents of the @template column for the specific row.

What's more, though, is that the warning is actually incorrect. The problem is in the datasource, not the template; it just ends up in the template.


change: arpeng -> nihiitono

What's in this PR
Change arpeng to it's actual name: nihiitono

Codecov Report

Merging #1052 (fe6c888) into main (eb59d95) will increase coverage by 0.01%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             main    #1052      +/-   ##
==========================================
+ Coverage   78.21%   78.23%   +0.01%
==========================================
  Files         151      151
  Lines        5394     5394
  Branches      865      865
==========================================
+ Hits         4219     4220       +1
  Misses       1043     1043
+ Partials      132      131       -1

Impacted Files
Coverage Δ

...ctionary/phrase_translate/definition_processing.py
100.00% <ø> (ø)

src/arpeng/site/settings.py
0.00% <0.00%> (ø)

src/CreeDictionary/CreeDictionary/test_views.py
94.23% <100.00%> (ø)

src/CreeDictionary/CreeDictionary/views.py
59.53% <0.00%> (+0.57%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b433b96...fe6c888. Read the comment docs.


Template Usecase - A bare bones example

One user request that came up at the summit was to supply a bare-bones Plutus script. One that acted as a skeleton to get started, but contained as little code (and as many comments) as possible. ie. Like the Game, but with even less code and domain logic in. Just, "You're going to need a Validator, whose skeleton looks like this. You're going to need a Redeemer, whose skeleton looks like this. Here's the recipe for creating a simple shared type. Here's the signature for a single endpoint."
It seemed like a very good idea to me. I will assign it to me and @j-mueller, and whoever gets there first can do it. :-)

Isn't this kind of like saying that they need a better tutorial?

@raduom  Yeah there should probably be some comments saying "these are the on-chain bits, these are the off-chain bits", etc.. But it shouldn't actually implement a specific contract, it should just be a template. Check out plutus-playground-server/usecases, that's where the other tutorial contracts are located.


Building previous commits when using $GIT_COMMIT on Source Control Version

I'm having and issue when setting the Build step to 'Use Project Source' and setting the Source Control Version to $GIT COMMIT.
Jenkins fetches the right commit but on the build step it builds the previous commit on the branch.
I'm using 'Use Jenkins Source' now, but I need to go back using 'Use Project Source'.
Thanks,
Andre

That's certainly unexpected behavior. Have you confirmed that your CodeBuild project's source is the same as your Jenkins source? When using Jenkins source, the plugin uploads whatever is checked out in Jenkins to S3 and tells your CodeBuild project to build that specific S3 object version. For the project source option, the plugin just triggers a build with your project's configured source (and an optional source version).
And you are using $GIT_COMMIT as your optional source version, correct? The variable you mentioned is missing an underscore.


McAfee threat - selenium-manager.exe

When I try to run "chrome = Chrome(headless=False)" the McAfee antivirus identifies the file "\Lib\site-packages\selenium\webdriver\common\windows\selenium-manager.exe" as the threat "cached!2c18a3df" and does not let me run the script, even after restoring the file.
Is it really a threat?

I think this is an issue with the selenium base package. See open issue #14008 and #12935 in selenium package manager.
The gist of the issue is: every-time the selenium-manager.exe, it needs to be digitally signed. They are currently working on the issue to streamline this process.
I wouldn't consider it a threat, and will add the folder as an exclusion from scanning in McAfee. Delete the virtual environment and reinstall.


runtime: fatal error: m changed unexpectedly in cgocallbackg on 386

#!watchflakes
post <- log ~ `fatal error: m changed unexpectedly in cgocallbackg`

2023-08-02 15:24 linux-386 go@0f1491de cmd/cgo/internal/test.TestCallbackStack (log)
2023-08-07 06:58 linux-386 go@088f953f cmd/cgo/internal/test.TestCallbackStack (log)
2023-08-14 19:23 linux-386 go@02b548e5 cmd/cgo/internal/test.TestCallbackStack (log)

@cherrymui this is happening quite consistently on linux-386. I fear that this is another issue with https://go.dev/cl/495855.

Yeah, probably related. I'll take a look.

Interestingly, this seems to happen more frequently with -buildmode=pie, which is the 5th run of cmd/cgo/internal/test, although not all of the failures above are from this. Running stress test on gomote it is also more likely to fail with -buildmode=pie.

cgocallbackg1 calls unlockOSThread as seemingly the very last step, in a deferred call https://cs.opensource.google/go/go/+/master:src/runtime/cgocall.go;l=349 . Then in the caller cgocallbackg it immediately set m.incgo to true to prevent the scheduler moving it to another M. There is seemingly no preemption point before the two operations. However, on 386, in PIE buildmode, it does not use open coded defers https://cs.opensource.google/go/go/+/master:src/cmd/compile/internal/ssagen/ssa.go;l=403 , therefore unlockOSThread is called via deferreturn, and there is actually preemption point, e.g. p.nextDefer in deferreturn https://cs.opensource.google/go/go/+/master:src/runtime/panic.go;l=591 (on the next iteration after unlockOSThread is called), which is not nosplit. Therefore the G can be preempted and rescheduled to a different M.

Ouch, nice catch.  I think I wrote that code (https://go.dev/cl/64070) before we had asynchronous preemption, and I assumed that no preemption was possible.

I think this is synchronous preemption (e.g. in function prologues). We don't yet preempt runtime code asynchronously (for now).
I'm working on a fix.

Thanks.


Youtube Viewers

Hi, your bot is pretty good, I'll say you're one of the best developper from what I've tested until now. But the main issue is that after using it for a few hours the software close down by itself, which is quite annoying. Could you please resolve this ?
I'll donate.
Thank you for your amazing work !

Hi, your bot is pretty good, I'll say you're one of the best developper from what I've tested until now. But the main issue is that after using it for a few hours the software close down by itself, which is quite annoying. Could you please resolve this ?
I'll donate.
Thank you for your amazing work !

bro it is a good bot but i have a problem my views go up to 150 in one second then it goes down to 40 30 in few seconds it keeps doing that is there anyfix for it like i dont even know what thread number to put on lol i appreciate if you answer

What did you select for

Hi, your bot is pretty good, I'll say you're one of the best developper from what I've tested until now. But the main issue is that after using it for a few hours the software close down by itself, which is quite annoying. Could you please resolve this ?
I'll donate.
Thank you for your amazing work !

What did you enter in for selecting public proxy https ??


Provide Back to edit button on preview page

After previewing I would like to easily go back to the main record, like it is done with the export page and the back to details button.

closed via https://github.com/inveniosoftware/invenio-app-rdm/pull/907


Problem after windows update 2021-04-15

Describe the bug
We have created ribbon add-in for Excel, Word and Power point for ver 16 (customUI14.xml).
After windows updated today we started to get problems through out our company.
Word and Excel are failing, they are crashing with our addin enabled.
If we disable the add-in everything works fine.
We have tried to completely re-install the office suite but now difference.
I created also the most simple add-in, a ribbon with one group, one tab, one control, and still have this problem.
Additional context
MS office 365 ver  16.0.14007.2

OK, I googled around a bit and found hints that the OSF.DLL file could cause such problems.
The suggested solution were to delete the file and use your add-ins.
This solution worked for me, but I have no idea what that file were supposed to do, and if I'm missing some vital part of office now.

Hi jassel,
I'm afraid I can't be of much help with an issue like that. This tool doesn't do anything very special: it just unzips your Office document, puts the customUI14.xml file inside and zips it back. It shouldn't cause any changes to any of your existing dlls, or programs in general. To double-check, you could also do the process of adding the Custom UI file manually instead of relying on this tool, and see if Office still crashes with the resulting add-in.
It sounds like something got corrupted during that Windows update which was needed by Microsoft Office in order to make the add-ins work. Hence, I think you might have better luck asking for help with either Windows or Microsoft Office itself, either in their official support sites or in some community sites (e.g. /r/excel).


Need search to look up node by ip address and port

Could even be /endpoints/search type of thing. Or both.
Note that this already exists in the v1 API:
https://seiso.test.expedia.com/v1/nodes/search/find-by-ip-address-and-port?ip-address={ipAddress}&port={port}
So we just need to carry it over to v2.

Done (exists in v3 API).


Unit tests need better coverage of JSONWriter exceptions

This will need to be addressed before https://github.com/stleary/JSON-java/pull/259 can be included in a release.

Not a priority at this time.


[help]

true
Originally posted by @Moskalnazar in https://github.com/Moskalnazar/github-slideshow/pull/12#issuecomment-870089055

true
Originally posted by @Moskalnazar in https://github.com/Moskalnazar/github-slideshow/pull/12#issuecomment-870089055


Add download link to a csv file for each table in the documentation

Should be easy to do.

Done for the most important tables - maybe the smaller tables could have one too


Switch to different, stable hash algorithm in Bag

In #6640, it was pointed out that groupby() doesn't work on non-numerics. The issue: hash() is used to group, hash() gives different responses for different Python processes. The solution was to set a hash seed.
Unfortunately, Distributed has the same issue (https://github.com/dask/distributed/issues/4141) and it's harder to solve. E.g. distributed-worker without a nanny doesn't have a good way to set a consistent seed.
Given that:

Until now groupby was broken for non-numerics and no one noticed. So probably not a huge use case.
It's hard to solve this with hash().

A better approach might be a different hash algorithm. For example, https://deepdiff.readthedocs.io/en/latest/deephash.html.
deephash seems promising:
from deepdiff import DeepHash
from pprint import pprint

class CustomObj:

    def __init__(self, x):
        self.x = x

    def __repr__(self):
        return f"CustomObj({self.x})"

objects = [
    125,
    "lalala",
    (12, 17),
    CustomObj(17),
    CustomObj(17),
    CustomObj(25),
]

for o in objects:
    print(repr(o), "has hash", DeepHash(o)[o])

Results in:
$ python example.py
125 has hash 08823c686054787db6befb006d6846453fd5a3cbdaa8d1c4d2f0052a227ef204
'lalala' has hash 2307d4a08f50b743ec806101fe5fc4664e0b83c6c948647436f932ab38daadd3
(12, 17) has hash c7129efa5c7d19b0efabda722ae4cd8d022540b31e8160f9c181d163ce4f1bf6
CustomObj(17) has hash 477631cfc0315644152933579c23ed0c9f27743d632613e86eb7e271f6fc86e4
CustomObj(17) has hash 477631cfc0315644152933579c23ed0c9f27743d632613e86eb7e271f6fc86e4
CustomObj(25) has hash 8fa8427d493399d6aac3166331d78e9e2a2ba608c2b3c92a131ef0cf8882be14

Downsides:

This hashing approach, serializing the object to a string and then hashing the string, is probably much more expensive than hash().
Custom __hash__ won't work.

That being said, bag has used hash() this way for 4 years, maybe more, it's been broken with Distributed the whole time I assume, so probably that second downside is less relevant. Not sure about the performance aspect, though.

cc @eriknw @jcrist who might have experience here

Another, faster approach: don't support arbitrary objects, just explicitly supported specific types. I.e. enums/int/float/string/tuple/bytes and presumably numpy numeric types. And probably 5 other types I'm forgetting about.

A different option would be to hijack the pickle infrastructure with a hash function. This has the benefit of supporting arbitrary python types as long as they're pickleable (which should be all python types), while also being ok on perf for large objects. The overhead here is mostly on setup of the pickler per-call, so small objects (ints, small strings) would be slower while nested objects should be the same. There are faster hashing algorithms out there than those in hashlib (and we don't need a cryptographic hash here), but this was quick to write up.
In [16]: import cloudpickle, hashlib

In [17]: class HashFil:
    ...:     def __init__(self):
    ...:         self.hash = hashlib.sha1()
    ...:     def write(self, buf):
    ...:         self.hash.update(buf)
    ...:         return len(buf)
    ...:     def buffer_callback(self, buf):
    ...:         self.write(buf.raw())
    ...:

In [18]: def custom_hash(x):
    ...:     fil = HashFil()
    ...:     pickler = cloudpickle.CloudPickler(fil, protocol=5, buffer_callback=fil.buffer_callback)
    ...:     pickler.dump(x)
    ...:     return fil.hash.hexdigest()
    ...:

In [19]: %timeit custom_hash([1, 2, 3, "hello"])
3.56 µs ± 18.1 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)

Perf could be further improved by special casing a few common types (str, int, float, bytes, ...) and having a fast path for those.

The worry about pickle is that some implementations might use non-deterministic iteration. E.g. if it's just iterating over an internal dict... and then we're back to the same problem, albeit in a much smaller set of cases.

Although... dict iteration is actually deterministic these days, isn't it. So maybe it's fine.

Some existing solutions:
https://github.com/QUVA-Lab/artemis/blob/master/artemis/general/hashing.py
https://github.com/joblib/joblib/blob/master/joblib/hashing.py

The joblib solution seems like a good one. There is also some discussion of hashing going on in https://github.com/dask/dask/pull/6844 and https://github.com/dask/dask/pull/6843.

Thanks all for your work on this so far! Reviving this thread as today @TheNeuralBit discovered that it is the root cause of https://github.com/apache/beam/issues/29365 (thanks Brian!). To summarize the context there, and my motivations:

Apache Beam is a framework for embarrassingly-parallel data processing, which flexibly deploys to various "runners"
Pangeo Forge leverages Beam for cloud-optimization of scientific data (I am a core developer on this project)
Beam can currently deploy to a minimal DaskRunner. This runner is implemented with Dask Bag, however, so the groupby issues discussed here prevent it from grouping with string or other non-numeric keys. [^1]
From my perspective (along with many other Pangoe Forgeans), if this DaskRunner were to be developed into a fully-functional state, it would serve as an ideal onramp for supporting both (a) existing Dask users to run Beam pipelines; and (b) existing Beam users (of which there are a lot!) to become Dask cluster enthusiasts![^2]

So with that background out of the way, I'd love to re-open the discussion here as to what folks see as the most viable path forward:

Something like https://github.com/dask/dask/issues/6723#issuecomment-707225679
https://github.com/QUVA-Lab/artemis/blob/master/artemis/general/hashing.py
https://github.com/joblib/joblib/blob/master/joblib/hashing.py
Ask users to BYO hashing function (defaulting to built-in hash), and raise an error if they do not while also using a key type that's unsupported by built-in hash (as suggested in https://github.com/dask/distributed/issues/4141#issuecomment-1429806805)
Another option that hasn't been mentioned yet

?
I would gladly contribute or lead a PR on this topic (or defer to someone else who is motivated to do so), but of course looks like the first step is developing a bit more consensus about the path forward.
P.S. @jacobtomlinson and I plan to present a bit on the DaskRunner at the upcoming Dask Demo Day, and I will update our draft presentation to include a mention of this issue.
[^1]: String keys are used in Beam's groupby tutorial, and other non-numeric keys are also used internally throughout Beam, so this is a non-negotiable if the DaskRunner is to mature into a fully-fledged Beam deployment target.
[^2]: Beam currently lacks any comparable easy-to-deploy, performant target for running Python-based pipelines on a single machine (their single-machine runner is explicitly described as being for testing data serialization only, and does not scale), HPC, or frankly even AWS. (The next-best AWS option is Apache Spark or Flink, but these come with significant, ahem Java, overhead and are not-trivial for even highly competent Pangeo/Python users to navigate.)

Notes on joblib.hashing
joblib implements the recursive python object traversal using Pickle with a special-case for NumPy: https://github.com/joblib/joblib/blob/master/joblib/hashing.py . Some problems:

There is no guarantee that two semantically identical objects will pickle to the same bytes. They have special-cased code for dict and hash but you can imagine a custom map or set type to pickle itself inconsistently as regards to order.
The ordering they do for dicts sometimes depends on hash() :cry: https://github.com/joblib/joblib/blob/6310841f66352bbf958cc190a973adcca611f4c7/joblib/hashing.py#L144

Notes on the hash algorithm (separate from the traversal method)
joblib uses md5/sha and those are likely somewhat slower (they're cryptographic, which isn't necessary here), but also might be fast enough. There are hash algorithms specifically designed for stability across machines and time, often designed for very fast hashing larger amounts of data where the output will be used as a key in persistent storage or distributed systems. HighwayHash is a good example: https://github.com/google/highwayhash#versioning-and-stability ("input -> hash mapping will not change"); not sure if there's a seed but  if so just need to set a fixed seed. There are other alternatives as well.
Another, perhaps unworkable option: convert Python hash() to a stable hash
Given the seed, which you can extract from CPython internals, it might be possible mathematically to take the output of hash(obj) and turn it into a stable value by mathematically undoing the impact of the seed.
Another option: a deterministic/canonical serialization format.
Some serialization formats are specifically designed to be deterministic on inputs, in order to allow for cryptographic hashing/signatures for comparison. E.g. https://borsh.io/ is one, with wrapper in Python at https://pypi.org/project/borsh-python/. Unfortunately it requires a schema... so you'd need to find a self-describing (i.e. messages don't require scheme) deterministic serialization format. Deterministic CBOR is in a draft spec, and has at least a Rust implementation: https://docs.rs/dcbor/latest/dcbor/ so that might be a possibility. For best performance what you really want is a streaming self-describing deterministic serializer, dcbor at least isn't streaming.
Given a deterministic serialization, you can then just use a hash function of your choice (md5, HighwayHash, whatever) to get the hash.

The deterministic serialization approach could be a workaround for the beam
runner. Beam has a library of coders for this.
On Sat, Dec 9, 2023, 07:07 Itamar Turner-Trauring @.***>
wrote:

Notes on joblib.hashing
joblib implements the recursive python object traversal using Pickle with
a special-case for NumPy:
https://github.com/joblib/joblib/blob/master/joblib/hashing.py . Some
problems:

There is no guarantee that two semantically identical objects will
pickle to the same bytes. They have special-cased code for dict and hash
but you can imagine a custom map or set type to pickle itself
inconsistently as regards to order.
The ordering they do for dicts sometimes depends on hash() 😢
https://github.com/joblib/joblib/blob/6310841f66352bbf958cc190a973adcca611f4c7/joblib/hashing.py#L144

Notes on the hash algorithm (separate from the traversal method)
joblib uses md5/sha and those are likely somewhat slower (they're
cryptographic, which isn't necessary here), but also might be fast enough.
There are hash algorithms specifically designed for stability across
machines and time, often designed for very fast hashing larger amounts of
data where the output will be used as a key in persistent storage or
distributed systems. HighwayHash is a good example:
https://github.com/google/highwayhash#versioning-and-stability ("input ->
hash mapping will not change"); not sure if there's a seed but if so just
need to set a fixed seed. There are other alternatives as well.
Another, perhaps unworkable option: convert Python hash() to a stable hash
Given the seed, which you can extract from CPython internals, it might
be possible mathematically to take the output of hash(obj) and turn it
into a stable value by mathematically undoing the impact of the seed.
Another option: a deterministic/canonical serialization format.
Some serialization formats are specifically designed to be deterministic
on inputs, in order to allow for cryptographic hashing/signatures for
comparison. E.g. https://borsh.io/ is one, with wrapper in Python at
https://pypi.org/project/borsh-python/. Unfortunately it requires a
schema... so you'd need to find a self-describing (i.e. messages don't
require scheme) deterministic serialization format. Deterministic CBOR is
in a draft spec, and has at least a Rust implementation:
https://docs.rs/dcbor/latest/dcbor/ so that might be a possibility. For
best performance what you really want is a streaming self-describing
deterministic serializer, dcbor at least isn't streaming.
Given a deterministic serialization, you can then just use a hash function
of your choice (md5, HighwayHash, whatever) to get the hash.
—
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/6723#issuecomment-1848434578, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFEZ3ZQGPNWD342SIHPXSDYIR5DPAVCNFSM4SKLAYWKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBUHA2DGNBVG44A
.
You are receiving this because you were mentioned.Message ID:
@.***>

Finding a solution here is still worthwhile IMO, though will presumably unfold over a somewhat longer timescale.
In the meantime, please to report that https://github.com/dask/distributed/pull/8400 does unblock many use cases, including the linked Beam issue.

Thanks Charles!
On Fri, Dec 15, 2023 at 2:39 PM Charles Stern @.***>
wrote:

Finding a solution here is still worthwhile IMO, though will presumably
unfold over a somewhat longer timescale.
In the meantime, please to report that dask/distributed#8400
https://github.com/dask/distributed/pull/8400 does unblock many use
cases, including the linked Beam issue.
—
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/6723#issuecomment-1858573206, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACKZTAGYCYUFSWKF6HBQ3TYJTGRDAVCNFSM4SKLAYWKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBVHA2TOMZSGA3A
.
You are receiving this because you commented.Message ID:
@.***>

https://github.com/dask/distributed/pull/8400 does unblock many use cases, including the linked Beam issue

I spoke a bit too soon here.
As described at the bottom of https://github.com/apache/beam/pull/29802#issuecomment-1863683005, while https://github.com/dask/distributed/pull/8400 did resolve non-deterministic hashing of strings, I subsequently came to understand that it does not resolve non-deterministic hashing of None. hash(None) is deterministic  in Python 3.12, but AFAICT there is no way to make it deterministic in Python < 3.12.
hash(None) being non-deterministic in < Python 3.12 means that any otherwise-hashable container type that contains None, will also hash non-deterministically between Python processes, and therefore be unusable as a key for Bag.groupby in a distributed context. This would include, in the simplest case, (None,), but also extends to frozen dataclasses, etc.
This happens to be the next blocker for me on my motivating Beam issue, but apart from that specific case, I believe this is sufficiently problematic as to warrant moving forward with a fix for this issue.
In terms of a specific proposal, I am curious about others' thoughts on leveraging Dask's existing tokenize function? This would seem to have many advantages:

Minimal code changes: implementation could be as simple as replacing hash(k) with int(tokenize(k), 16) in two places in dask.bag.core (draft PR forthcoming for reference)
No additional external dependencies
Supports extensibility for using custom serializers, as described in https://docs.dask.org/en/stable/custom-collections.html#implementing-deterministic-hashing

There would also be an opportunity to fast-path types that are known to deterministically hash (e.g. ints). I'll open a draft PR now that sketches out this idea.

Ping for those following here, I've just opened my proposed fix for this issue, https://github.com/dask/dask/pull/10734, for review.


fixed typo which caused cargo not to run

Travis is failling with a DNS error (could not resolve github.com), I am restarting it


Update locale pt.yml

I noticed that some translations were missing while I was testing my website.
Decided to translate it myself and now I'm giving it back so anyone can use.

I've tried to remain gender neutral in some phrases.
Because the translation in this file didn't respect "Acordo Ortográfico" - I decided to follow the style, especially because this is a controversial matter and although it should be used, there are many, many people that oppose this.
Went for consistency: using only "palavra-passe" for password. I replaced occurrences of "senha" (whichs is basically a synonym) with "palavra-passe" so that all dialog uses the same terminology.
Added one: & others: to mimic the en.yml translation file.
UPDATE:

Fixed multiple typos.
"Token" translated to "Código".
Abide by "Acordo Ortográfico" - follows the newest portuguese language revision.

Hope the translation is good for your standards and let me know if anything needs modification to be merged.

bump @JasonBarnabe

Obrigado!


13887 Added "replace proprietor" feature

Issue #: bcgov/entity#13887
Description of changes:

handled Replaced (Changed) state separately
separated actions by item state (replaced, added, removed, etc)
deleted obsolete class actions-dropdown_item
added Replace action button
added canReplace method
added emitReplace method
added documents confirm checkbox, rules, etc
fixed some whitespace issues
updated showAddFirmOrgComponents() for replaced item
added replace event handling
don't show replaced-removed item in list
updated add/reset/undo actions to handle replaced items
deleted obsolete computeAction method
updated OrgPersonIF
added wasReplaced method
updated Business Search to support "all" statuses (for future)
updated shared enum package + others
added components.d.ts (per Volar extension usage notes)
deleted shims-tsx.d.ts (per Volar extension usage notes)
deleted shims-vue.d.ts (per Volar extension usage notes)
app version = 3.9.0

I will add more unit tests in a separate PR, so that testing can begin now in Dev.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

LGTM should we add some tests for all the changes?

Yes, I'm adding some now and will add more in a separate PR, so that this PR can be merged and UX Assurance can begin in Dev.


panic when secretReader is disabled

Hi we're using AWS ECR and not using image pull secrets, just IAM restrictions with IRSA. We have chart 1.0.1 with appVersion 1.1.0 installed and it is frequently dumping panics in the following form. Because we have the secretReader option disabled, its not creating a ClusterRole or ClusterRoleBinding so its not surprising it gets permission denied. It is however surprising that it is trying to access the 'default' serviceAccount in a different namespace when its not configured to do so.
7:35PM ERR error fetching referenced service account, continue without service account imagePullSecrets error="serviceaccounts "default" is forbidden: User "system:serviceaccount:image-swapper:image-swapper" cannot get resource "serviceaccounts" in API group "" in the namespace "myappnamespace""
Worker exits from a panic: runtime error: invalid memory address or nil pointer dereference
Stack trace: goroutine 198 [running]:
runtime/debug.Stack()
runtime/debug/stack.go:24 +0x65
github.com/alitto/pond.defaultPanicHandler({0x1946000, 0x2c8fa20})
github.com/alitto/pond@v1.5.1/pond.go:19 +0x27
github.com/alitto/pond.(*WorkerPool).executeTask.func1()
github.com/alitto/pond@v1.5.1/pond.go:364 +0x45
panic({0x1946000, 0x2c8fa20})
runtime/panic.go:1038 +0x215
os.(*File).Name(...)
os/file.go:57
github.com/estahn/k8s-image-swapper/pkg/webhook.(*ImageSwapper).Mutate.func1()
github.com/estahn/k8s-image-swapper@v1.1.0/pkg/webhook/image_swapper.go:219 +0x317
github.com/alitto/pond.(*WorkerPool).executeTask(0xc00073d3b0, 0x1ebce10)
github.com/alitto/pond@v1.5.1/pond.go:371 +0x69
github.com/alitto/pond.worker(0xc000199200, 0x1ea74e8, 0xc00073d3ec, 0x0, 0xc0007e7d80)
github.com/alitto/pond@v1.5.1/pond.go:427 +0x79
created by github.com/alitto/pond.(*WorkerPool).maybeStartWorker

@zswanson Thanks for the detailed error description. Will have a look soon.

Actually we just set secretReader.enabled: true in the values and redeployed (left the secretReader.secretNames: [] as empty) and its still producing this error.


Alanren/integration setup

save the credentials to Azure key valut
Automate environment variable set up step to make it easy for local dev environment.

I am working on a more secure way to achieve what we need, I will make another commit shortly, there won't be a file involved.


Linear Search

Write a java program for most basic search - Linear Search

Linear Search - A very basic search missing from the repo

Hi @chandrauns
I am a beginner and want to learn most basic programs, if you assign this to me I would like to make this little contribution.
Thanks


VPS: stringer accepts connections, but doesn't handle them

I have a couple instances of stringer running on my VPS. Things used to work fine, but with a recent upgrade, I'm seeing that when I start stringer, everything seems to work fine, but then after a while it stops responding to http requests.
Nothing obviously wrong looking at the foreman console:
$ foreman start
...
04:32:15 console.1 | Rack::Shell v1.0.0 started in production environment.
[1] pry(main)>

Everything works fine, but after a while, incoming connections are just hanging:
carabiner$ telnet localhost 5000
Trying <IP_ADDRESS>...
Connected to localhost.localdomain.
Escape character is '^]'.
GET /

Just hangs.

I did discover that if I do anything in the console when this happens, like typing '?', it seems to unblock and process more requests for a while. Then hangs again.
Makes me think there's some sort of buffer filling it. Is there a way I can just disable the console?

Sure - how about running foreman start -c console=0. That should not start the console process.

And if you want the nuclear option, just remove the console line from the Procfile :)

If I try the -c option, it doesn't seem to keep the web server running?
On Tue, Mar 10, 2015 at 1:57 PM matt swanson<EMAIL_ADDRESS>wrote:

And if you want the nuclear option, just remove the console line from the
Procfile :)
—
Reply to this email directly or view it on GitHub
https://github.com/swanson/stringer/issues/370#issuecomment-78047385.

Does foreman start -c console=0,web=1 make it work?

Yes!
So that's a valid workaround (assuming it doesn't hang in 30 minutes). Any
idea why it would hang with the console open? It didn't use to until
recently.
On Tue, Mar 10, 2015 at 2:08 PM matt swanson<EMAIL_ADDRESS>wrote:

Does foreman start -c console=0,web=1 make it work?
—
Reply to this email directly or view it on GitHub
https://github.com/swanson/stringer/issues/370#issuecomment-78049024.

Thanks for this workaround, I just upgraded the other day and was getting frustrated with the exact same bug!

Closing due to staleness, feel free to re-open if you are still having this issue.


Enable multi language GUI

@goobta
Could be possible to enable multi language GUI?
Thanks.

Hi @bovirus!
Unfortunately this was a project for a college class and is no longer maintained. Adding a GUI probably wouldn't do anyone any good as the field has matured so much. In fact, AI-based Super Resolution is so common that Nvidia ships it with their graphics cards!
https://www.nvidia.com/en-us/geforce/technologies/dlss/
If you'd be interested in learning more about Super Resolution, I'd recommend checking out the models & associated papers here:
https://paperswithcode.com/task/image-super-resolution
Sorry for the sad update, but best of luck on your super resolution journey!!

@goobta
I didn't understand if you are the author of installer that I found on inernet (1.27)
Thanks.

Hey @bovirus! Yeah, I don't think that's us. This project was for a college class.
Sorry for the confusion!
Ankur


set indent width to 2, convert js and less to it

This updates indentation width to 2 across the code base:

*.go and Makefile will continue to use tabs but render at width of 2. This should help when working on deeply nested code like templates
all other files are set to use space indenation (no change here)

Also fixed various discovered indentation and whitespace related issues.

Codecov Report

Merging #7308 into master will increase coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #7308      +/-   ##
==========================================
+ Coverage   41.24%   41.24%   +<.01%
==========================================
  Files         464      464
  Lines       62841    62840       -1
==========================================
  Hits        25917    25917
+ Misses      33533    33532       -1
  Partials     3391     3391

Impacted Files
Coverage Δ

routers/user/auth_openid.go
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update edc94c7...d4f46cb. Read the comment docs.

Updated to 2-space indent now and converted all js and less files to it. This will also make tabs in golang code render as 2-space in editors supporting editorconfig.

Rebased and updated PR description.

When viewing the diff here, set GitHub to hide whitespace-only changes to get a sane view on the actual changes.

Doesn't look like there's much interest in a churn-only commit, so I'll close this.


{RDBMS} az postgres flexible-server update: Fix bug not able to enable password authentication during update

Related command
az postgres flexible-server update
Description
If you create a server with password authentication disabled and AAD enabled:
az postgres flexible-server create --resource-group rg-test --name testpostgresqlserver --password-auth Disabled --active-directory-auth Enabled --location eastus --version 16 --high-availability Disabled --tier GeneralPurpose --public-access Enabled
And then try to enable it using the update command:
_az postgres flexible-server update --resource-group rg-test --name testpostgresqlserver --password-auth Enabled
It fails with this error:
(EngineCredentialsNotProvided) The admin credentials are required for creating admin role while enabling Password Authentication and must be provided.
Code: EngineCredentialsNotProvided
Message: The admin credentials are required for creating admin role while enabling Password Authentication and must be provided.
Fix:
Allow "--password-auth Enabled" to work during update. Generate password for user if "--admin-login-password" parameter was not passed in. Also generate username.
Testing Guide
az postgres flexible-server update --resource-group rg --name test-1027-721 --password-auth Enabled
Make a note of password "LSssssssssssssssseeee". You can reset your password with "az postgres flexible-server update -n test-1027-721 -g rg -p ".
{
"administratorLogin": "gleefuloil1",
"administratorLoginPassword": null,
"authConfig": {
"activeDirectoryAuth": "Enabled",
"passwordAuth": "Enabled",
"tenantId": "xxxxxxxxxxxxxxxxxxxxxxxx"
}
History Notes
{RDBMS} az postgres flexible-server update: Fix bug not able to enable password authentication during update

Thank you for your contribution!


Error registering controllers: no matches for kind "Certificate" in version "cert-manager.io/v1alpha2

Describe the bug
The cert-manager-cainjector pod reports the following error when it is started
I1129 14:12:25.476834       1 start.go:82] starting ca-injector v0.12.0 (revision 0e384f5d0)
  | I1129 14:12:26.085526       1 controller.go:121] cert-manager/controller-runtime/controller "level"=0 "msg"="Starting EventSource"  "controller"="mutatingwebhookconfiguration" "source"={"Type":{"metadata":{"creationTimestamp":null}}}
...
I1129 14:12:26.095504       1 controller.go:121] cert-manager/controller-runtime/controller "level"=0 "msg"="Starting EventSource"  "controller"="customresourcedefinition" "source"={"Type":{"metadata":{"creationTimestamp":null}}}
I1129 14:12:26.095597       1 leaderelection.go:241] attempting to acquire leader lease  kube-system/cert-manager-cainjector-leader-election-core...
E1129 14:12:28.182666       1 source.go:88] cert-manager/controller-runtime/source "msg"="if kind is a CRD, it should be installed before calling Start" "error"="no matches for kind \"Certificate\" in version \"cert-manager.io/v1alpha2\""  "kind"={"Group":"cert-manager.io","Kind":"Certificate"}
F1129 14:12:28.182734       1 start.go:123] error registering controllers: no matches for kind "Certificate" in version "cert-manager.io/v1alpha2"

Steps to reproduce the bug:

oc login -u system:admin
oc new-project cert-manager
oc apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v0.12.0/cert-manager-openshift.yaml

Anything else we need to know?:
The 3 CRDs of the cert manager have not been installed as some errors are reported
https://gist.githubusercontent.com/cmoulliard/fcc024ead0853ff992448f4123214d84/raw/26f58919d807acd86c77369897ff39a4cbf62a10/gistfile1.txt
Environment details::

Kubernetes & openshift version

oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://<IP_ADDRESS>:8443
kubernetes v1.11.0+d4cacc0

cert-manager version : v0.12.0
Install method : static manifests

/kind bug

The minimum supported Kubernetes version in cert-manager is v1.12, and from your output it appears you are attempting to deploy to OpenShift built with Kubernetes 1.11.
I'm not too familiar with OpenShift's release process or versioning, but you'll need to upgrade to a compatible version in order to continue using cert-manager.
It's worth noting that Kubernetes 1.11 is officially EoL now, and no new security patches will be provided for it.

It's worth noting that Kubernetes 1.11 is officially EoL now, and no new security patches will be provided for it.

Can you then add a warning within the doc to mention that installation will fail for ocp 3.11 and that a new version of ocp4 should be then used ?

#2609 has added support for OpenShift 3.11 back to cert-manager. It will be included as part of the upcoming v0.14 release :)

had the issue with 1.15 -- it works in 1.16
any help or suggestion?
kubectl apply -f /root/ssl-cert.yaml
error: unable to recognize "/etc/rook/object-ssl-cert.yaml": no matches for kind "Certificate" in version "cert-manager.io/v1alpha2"
kubectl version
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.4", GitCommit:"67d2fcf276fcd9cf743ad4be9a9ef5828adc082f", GitTreeState:"clean", BuildDate:"2019-09-18T14:51:13Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.4", GitCommit:"67d2fcf276fcd9cf743ad4be9a9ef5828adc082f", GitTreeState:"clean", BuildDate:"2019-09-18T14:41:55Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}

I found the issue,

in 1.15 --  apiVersion: certmanager.k8s.io/v1alpha1 works

In 1.16 -- it's  apiVersion: cert-manager.io/v1alpha2
apiVersion: certmanager.k8s.io/v1alpha1 doesn't work in 1.16

@amgads the issue you're seeing is not related to what Kubernetes version you are running, rather, it sounds like in your 1.15 cluster you have CRDs installed from a pre-0.11 version of cert-manager. Please make sure to upgrade your installation. More information on how to do this can be found here: https://cert-manager.io/docs/installation/upgrading/
Hope that helps!


After updating to HEAD, shadows are re-added upon changing the monitor

As the title says, after moving an applications window between monitors, the shadows re-appear on the window.
macOS version: 10.14.4

Able to reproduce, but not completely sure what can be done about this. As I don't consider the purify plugin an official part of the publicly supported functionality I will refrain from marking this as a bug.

Any chance you have an ultrawide? I doubt it has anything to do with it, but when I switched to a different monitor it went away.


[Doc] (Show) add doc for show create repository statement

Proposed changes
Add Doc for "show create repository for repo_name"
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Add store_csv_line method for File

Closes #23656
I also edited the parameter of "get_csv_line" to be consistent with the other methods.

Thanks for the review ! I've implemented the changes you suggested.