Trading Page: Open Orders

When #721 is done:
Design Prototype: https://www.figma.com/file/bZh7tOiLm6Ls9Hl4RL6qMC5X/Augur-Redesign?node-id=342%3A34455
This task is referring to this section:

(Details in the screenshot above may differ from the design. Use the design as final guidance.)
Add the Open Orders section.

[x] Incorporate the code from #721 for the tabs.
[x] Add null state for when the user has no open orders.
[x] You should not need to set a height or a min-height on this module; it show already grow or shrink to the space available based on how the layout was coded. If there are more orders than space available to display, it should scroll internally (vertically).
[x] Open Orders should list all outcomes the user has an open order for, no matter what outcome is selected.
[x] All columns should grow or shrink as the browser width grows and shrinks. The outcome names should truncate into ellipses if needed. The numbers should never get cut off or wrap.
[x] Adjust table to use new styles.
[x] Add the "Type" column to show whether an order is Buy or Sell.
[x] Add the color bar on the left of each order to show whether it is a buy or sell.
[x] Show "Pending" tag when the user has signed a tx for opening an order but that tx hasn't been confirmed on chain yet. This is not clickable and has no hover state.
Ignore the "Cancel All Open Orders" button. We'll add this after the trading page is live.

@matt-bullock
need hover states for cancel button, tab modules, and the design for orphaned orders.

@phoebemirman Hover states for the tab modules and cancel button are available in Figma now.
Still waiting on the design for orphaned orders.

i've added the hover states

👍 Perfect. I've updated the task to reflect that orphaned orders and complete sets still needs to be done (currently blocked by design).


Adding python tests for resource and datasource

This helps to test any backwards incompatibilities in our code

Self merging this - this only adds more tests for Python to GCP


setFilter() throws ApiResponseException

I am performing a very simple database query. I am able to run it just fine without passing any filters, but when I try to pass set_cursor through to get the next batch of pages, it throws this error:
Fatal error:  Uncaught Brd6\NotionSdkPhp\Exception\ApiResponseException: body failed validation. Fix one:
body.filter.or should be defined, instead was undefined.
body.filter.and should be defined, instead was undefined.
body.filter.title should be defined, instead was undefined.
body.filter.rich_text should be defined, instead was undefined.
body.filter.number should be defined, instead was undefined.
body.filter.checkbox should be defined, instead was undefined.
body.filter.select should be defined, instead was undefined.
body.filter.multi_select should be defined, instead was undefined.
body.filter.status should be defined, instead was undefined.
body.filter.date should be defined, instead was undefined.
body.filter.people should be defined, instead was undefined.
body.filter.files should be defined, instead was undefined.
body.filter.url should be defined, instead was undefined.
body.filter.email should be defined, instead was undefined.
body.filter.phone_number should be defined, instead was undefined.
body.filter.relation should be defined, instead was undefined.
body.filter.created_by should be defined, instead was undefined.
body.filter.created_time should be defined, instead was undefined.
body.filter.last_edited_by should be defined, instead was undefined.
body.filter.last_edited_time should be defined, instead was undefined.
body.filter.formula should be defined, instead was undefined.
body.filter.rollup should be defined, instead was undefined.
This is the part of my code I'm running. It throws the exception in the second iteration when it passes through set_cursor.
$foodItemsArray = array();
$hasMore = true;
$nextCursor = "";
$i = 0;
while($hasMore) {
echo $i++;
$databaseRequest = new DatabaseRequest();
if($nextCursor != "") $databaseRequest->setFilter(['start_cursor' => $nextCursor]);
$foodItemsRequest = $notion->databases()->query($foodItemsDBID, $databaseRequest);
$currArray = $foodItemsRequest->toArray();
$hasMore = $currArray["has_more"];
$nextCursor = $currArray["next_cursor"];
$foodItemsArray = array_merge($foodItemsArray, $currArray["results"]);
}
I'm quite new to using the Notion API so I feel like there must be something very simple here I'm just missing!

To pass the set_cursor value in the query, you must use the paginationRequest argument.
Like this:
$paginationRequest = new PaginationRequest();
if ($nextCursor !== null) {
    $paginationRequest->setStartCursor($nextCursor);
}
$foodItemsRequest = $notion->databases()->query($foodItemsDBID, $databaseRequest, $paginationRequest);
}

I hope it helps you 🙂

That's it! I knew it had to be simple. Thank you!


Fix failing conda CI

What does this PR do?

Fixes master
conda isn't working sometimes, so removed it.
PR review

[x] Is this pull request ready for review? (if not, please submit in draft mode)

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

LGTM since those commands aren't needed. Still is there another way to get those outputs?

Yes, there is pip

Just for reference I assume this is the failing test: https://github.com/PyTorchLightning/pytorch-lightning/runs/1305924012. I assume it's failing because the reference to conda hasn't been correctly set? Just ensuring we're not breaking coverage of conda compatibility by removing these commands.

Just for reference I assume this is the failing test: https://github.com/PyTorchLightning/pytorch-lightning/runs/1305924012. I assume it's failing because the reference to conda hasn't been correctly set? Just ensuring we're not breaking coverage of conda compatibility by removing these commands.

Yes, those commands are just used to see info about envs, doesn't related to the tests and coverage.

also fixed in #3658

Closing it


Failed to Resolve com.afollestad.easyvideoplayer:0.3.0

I am having the following error in the gradle.
Failed to resolve : com.afollestad.easyvideoplayer:0.3.0

repositories {
jcenter()
maven { url "https://dl.bintray.com/drummer-aidan/maven" }
}
Add this in Module build.gradle rather than in project.

Works Like charm! Thanks!


Order Correction

Correcting order of service-manager-proxy so that it is installed after service catalog component.

Closing in agreement to @tobiscr comments.


Problem playing mp3 with irregular frequency

I'm having issues playing mp3's with irregular frequencies (eg 24000 instead of 44100 or 48000).
Is this a known issue? It works in the standard player but not with the OpenSL or Hybrid.
Thanks in advance.

Hi. Could you send me the MP3 file which can reproduce the same issue? (Send me an email if the MP3 cannot be uploaded on public places. =><EMAIL_ADDRESS>Also I need more details of your setup;

Version of OpenSLMediaPlayer library
Android OS version
Device model

Thanks.

Hi. Thanks for the super fast reply!

Using version 0.7.0 ( compile 'com.h6ah4i.android:openslmediaplayer:0.7.0')
Android version 5.1.1
Device is a Sony Xperia Z5 (E6653) but all other devices we have tested with have the same issue (Note 3, Galaxy S5).

Here are link to a couple of sample files (Github doesn't allow mp3's)
https://www.dropbox.com/s/zbvj84tt6o6zfq4/Aaj Din Chadheya-(Mr-Jatt.com).mp3?dl=0
https://www.dropbox.com/s/tu7ctl8yx3eqtbh/Chand Chupa Badal Mein-(Mr-Jatt.com).mp3?dl=0
Thanks.

Thanks, I found out the cause. The uploaded MP3s have 22kHz sample rate but this library does not handle them properly. I will try to fix the issue on this weekend.

Thank you. Very much appreciated!.

@blocke79 Hi. I have just released v0.7.1 and it includes the fix of this issue. Could you try it?

Its working great. Thanks for the quick fix!

😄


[bug] Rejected tx's via Rainbow don't throw

Is there an existing issue for this?

[X] I have searched the existing issues

RainbowKit Version
2.0.1
wagmi Version
2.5.7
Current Behavior
When connected to a Rainbow mobile wallet, rejected transaction signing requests don't throw, they just return null.
const wallet = useWalletClient()

const onClick = () => {
      const hash = await wallet.data.sendTransaction({
        to: '0x',
        chain,
        value: 1
      });
      // hash is null but typed strongly as `0x${String}`.
      // should throw
}

Expected Behavior
Rejected requests should throw. For context, MetaMask works correctly.
Steps To Reproduce
https://rainbowkit-example-git-changeset-release-main-rainbowdotme.vercel.app/
Connect with MetaMask, send transaction, see the error Error sending transaction
Connect with Rainbow via WalletConnect, send transaction, see Transaction: "null"
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response

The team is working on it. Here is a similar issue from viem: https://github.com/wevm/viem/issues/1893


Trigger 'MembershipConfirmed' missing data fields

MembershipConfirmed is missing the following fields, that were included in previous versions.

All member address fields are missing
Plan description
Plan price per cycle
Plan cancellation period
Phone number
Company name

Screenshot does not show all missing fields, examples only

@wetterkrank Perhaps you could pick this up?
The way this should be done is adding all the missing fields for MembershipApiResponse in types/api-responses.d.ts.
Then formatting the fields as we'd like to show in zapier or keep it as it is for MembershipOutput in types/output.d.ts
Then actually adding the missing output fields in utils/api-to.output.ts on apiResponseToMembershipOutput
Adjust tests too.

Done.
@langalex, I've tested the new version 2.4.2 (private) in Zapier -- the requested membership fields are pulled as expected.


License file

Hi, would you please add a license file?

Hi, would you please add a license file?

Thank you for your attention, I have already added it.


is editing possible when using L.Draw.Rectangle?

How to reproduce

Leaflet version I'm using: 1.5.1
Leaflet Draw version I'm using:1.0.4
Browser (with version) I'm using: Chrome

What behaviour I'm expecting and which behaviour I'm seeing
Here is my code
 var polygonDrawer = new L.Draw.Rectangle(this.map);
      polygonDrawer.setOptions({
        shapeOptions: {
          color: 'green'
        }
      })

      this.map.on('draw:created', (e) =>  {
          var type = e.layerType,
              layer = e.layer;

        layer.addTo(this.map);
      });

      polygonDrawer.enable();

The thing is when I start drawing and finish, sometimes I want to edit it. but it doesn't let me edit it at all.  I don't want to use drawcontrols or toolbars, because I only have 2 buttons with my custom designs and this seems to be easier for me. So how do I make editing possible with the above following code?

what buttons do you have on your custom design? from my experience we need to add a custom input such as button or keypress to trigger the layer.editing.enable() as shown in the edit_handler example on the docs. Here's what I do :
   L.DomEvent.on(button_edit, 'click', function(e) {         drawnItems.eachLayer(function (layer) {             if (layer instanceof L.Polygon){                 layer.editing.enable();             }         });     });


Are delimiters supported?

I'm using protobuf for streamed data so need a delimiter for each message sent. This seems to be implemented in most libs for other languages, e.g. Java. Does exprotobuf support this?

Check out https://github.com/bitwalker/exprotobuf/blob/master/lib/exprotobuf/delimited.ex and https://github.com/bitwalker/exprotobuf/blob/master/test/protobuf/delimited_test.exs


.cancel() can cause an infinite loop

It looks like there are certain situations where it's possible for ._cancel() to enter a tight infinite loop that basically locks up the execution context:
http://stackoverflow.com/questions/28811232/why-does-cancelling-a-bluebird-promise-in-a-callback-stop-setinterval/28815027#28815027
This can probably be chalked up to user error, but it seems like it would be possible to detect a cycle in the promise chain and avoid have everything come to a grinding halt.
It appears that there are talks about overhauling the cancellation system, but I wanted to make a note of this nonetheless, just in case safeguards could be added somewhere down the road.

Promises/A+ requires only immediate cycle checking and it's a relatively rare user error, so I rather avoid it. 2.x will only receive important bug fixes, have you checked what happens in 3.0?

Okay. Well, I feel silly. How are you meant to cancel a Promise?
The code in stackoverflow is how I understood it was to be done. I think the documentation needs better examples. I'm quite confused now.
Why doesn't this cancel, for instance:
p = Promise.resolve('value')
.cancellable()
.then (value) ->
  console.log('1st', value)
  p.cancel()
  return
.then (value) ->
  console.log 'I wasn\'t cancelled!'
.catch Promise.CancellationError, ->
  console.log('cancelled')

Well, what is there to cancel? There is no operation pending to cancel.

I thought it prevented the promise from propagating down the chain. I guess I've misinterpreted the purpose of cancellation?

The purpose of cancellation is not related to control-flow but to cancel operations. Say you made a http request to fetch data for some widget, but the user closes that widget before it arrives. So in that case you want to cancel the request because it would otherwise complicated the resulting code that needs to check if the request was relevant anymore. It also frees up resources faster but it's not really relevant in this example.

Ah. Okay. That makes more sense to me. I guess what I need is a custom exception type, rather than cancellation. I think I just got confused by the simplified toy examples I found online.


Admin account can add remove and validate any users timesheet

This action need to be added to the audit log

Admins can add and remove any users time entries except for their own. Another admin account can remove another admins entries.


data copy time fluctuating while concurrent NTT invokation

i am testing for gl64 NTT with log_n_size=17, under concurent environment.
i observed that the data copy from host to device ranges from 20us to 6ms. i think the underlying code does not utilise aync. the last line gpu.sync() will block CPU.
  gpu.select();
  size_t domain_size = (size_t)1 << lg_domain_size;
  dev_ptr_t<fr_t> d_inout{domain_size, gpu};
   gpu.HtoD(&d_inout[0], inout, domain_size);
    NTT_internal(&d_inout[0], lg_domain_size, order, direction, type, gpu,
                         coset_ext_pow);
   gpu.DtoH(inout, &d_inout[0], domain_size);
    gpu.sync();

or, it would be better to provide a batch NTT function

Here is the problem. For example 20us is obviously impossible, which indicates faulty methodology and misunderstanding of some basics. And, again, we don't have resources to correct that...


Non nearest-neighbor filtering for MipMapping

Currently the only working implementation for creating mipmaps is a PIL.resize() which uses a nearest-neighbor resampling filter.  Additional options for this filter or different methods (there is a placeholder for skimage.measure.block_reduce-based area downsampling) will allow downsampling tasks to fit diverse workflows.

Bumping per Stephan's suggestion that Nearest Neighbor screws everything up.


Guide mentions namespace "User1" instead of "workshop"

Several occurances, also in some instructions. Mentioning these, but there are more:
here it's assuming the parksmap application runs in a namespace called "User1".
On this page too.
And in this screenshot.
Another example: https://redhat-scholars.github.io/openshift-starter-guides/rhs-openshift-starter-guides/4.6/_images/nationalparks-databases-catalog-databases-mongodb-config.png

Looks like this has been fixed, sorry for the late response!


Code Review of Mikolov's code for Word2Vec

Derived tasks

[x] Word2Vec embedding implementation.
[ ] Code Review of archive/p/word2vec/source

Originally posted by @AlexisTercero55 in https://github.com/AlexisTercero55/AI-Research/issues/1#issuecomment-1913366521

[x] Clone repo.
[ ] build model.
[ ] test the model
[x] if needed publish to github

Build model linked tasks

Windows 10 + MinGW64 make compilation fails


Segfaults when using Function keys literals

Skhd segfaults when using function keys literals. Maybe I do not understand properly the syntax :(
Here's what happen:
❯❯❯ ~ skhd
skhd: using config '/Users/bigo/.skhdrc'
(#2) hotkey :: {
	mod: 'cmd'
	mod: 'alt'
	key: 'q' (12)
	cmd: 'brew services stop chunkwm'
}
(#5) hotkey :: {
	mod: 'cmd'
	mod: 'alt'
	key: 'r' (15)
	cmd: 'bash $HOME/.chunkwmrc'
}
(#8) hotkey :: {
	mod: 'cmd'
	mod: 'alt'
	key: 'k' (40)
	cmd: 'khd -e "reload"'
}
(#11) hotkey :: {
	mod: 'cmd'
	mod: 'alt'
	key: 'u' (32)
	cmd: 'bash -c "LPID=$(pgrep -f bersicht); kill $LPID; open -a Übersicht"'
}
(#14) hotkey :: {
	mod: 'ctrl'
	mod: 'shift'
	key: 'f' (3)
(#14:17) expected token 'Token_Command', but got '1'
[1]    9304 segmentation fault  skhd

And the config line causing the segfault is:
# block screen
ctrl + shift - f12                       :    m screensaver

I have other lines using Function keys and they all behave the same.

Oops, the lexer doesnt actually permit the format <char><digit> (e.g:f1) will return the token f. The parser does handle it properly though, so it should be a quick fix.
https://github.com/koekeishiya/skhd/blob/master/src/tokenize.c#L62
You can use the keycode for the function keys til this gets fixed.
See https://github.com/koekeishiya/khd/issues/1 or https://github.com/koekeishiya/cev for keycodes.

should be fixed, but not on a macbook so have not tested.

I will test it now. Thanks!

Tested and the segfault is gone.
There is still a problem with Function keys thou: they just do not work. All other shortcut works fine, the one with Function keys don't.
Running skhd from terminal and trying the Function keys shortcut prints stuff on the terminal and do no trigger the shortcut.
Example for cmd-f[1,2,3,4]:
...
(#117) hotkey :: {
	mod: 'cmd'
	mod: 'shift'
	mod: 'ctrl'
	mod: 'alt'
	key: '6' (22)
	cmd: 'chunkc tiling::window -d 12'
}
hotload: watching file '.skhdrc' in directory '/Users/bigo'
^[[17;2~^[[17;2~^[[17;2~^[[17;2~^[[17;2~^[OQ^[OQ^[OR^[[17;2~^C

Hm does the keycode we generate for the function keys correspond to the ones here: https://cloud.githubusercontent.com/assets/6175959/18551554/35137fc6-7b59-11e6-81a0-bef19ed5db5e.png (unsure if we print the keycode in hexadecimal or integers, but you'll notice that quickly).
I remember having the same problem in khd when experimenting with function key as binds, and I had to also hold fn when doing said key.

Holding FN nothing works.
Regarding the keycodes, it is weird.. They are not printing anything from the two keyboard type you posted.
Maybe it is worth to say I have setup to use Fn to for HW function keys.

The values we print is in decimal, not hexadecimal. Not sure why I opted to do it that way. Give me a sec.

Sure, no rush :D

Hopefully it should be more readable now.

Ok, now they are printed properly.
Mapping (i use from F1 to F5 and F18):
F1 - 0x7a
F2 - 0x7a
F3 - 0x7a
F4 - 0x7a
F5 - 0x7a
F18 - 0x6d

All of them apart from F18 (which is remapped on ESC via Karabiner-Elements) are 0x7a

Does khd properly run the function keys command? (just have khd load the skhd config)

Yes it does.

I believe it should be fixed now.

Testing!

Yayyyyy. Great job as usual!! All working fine and it is way more performant than khd.

Glad it worked.  I really should add a travis config at some point


Add install_requirements_macos CI workflow

We don't run macos in the nbval tests currently because there were often issues with notebooks that have many outputs (like 401/402). This test at least checks that the requirements install on macOS. It runs daily.
Also added macos to install_requirements.yml. That test does not run on a schedule or on changing requirements.txt, because nbval already does and that implicitly tests installing requirements. install_requirements.yml is used for manually testing that the requirements (still) install.
When the nbval tests are fixed for macos the install_requirements_macos.yml test can be deleted, everything is covered by nbval/install_requirements.yml then.

Closing in favor of https://github.com/openvinotoolkit/openvino_notebooks/pull/396


install OPCache ?

Hello, how install OPCache via scoop?

It's included in PHP for Windows.
Create opcache.ini in ~\scoop\persist\php\cli\conf.d and add this:
zend_extension=php_opcache.dll
opcache.enable=On
opcache.enable_cli=On

thank you) like scoop, it replace chocolaty and babun for me)

but how install some ext (ex imagick) if no dll in scoop\apps\php\current\ext ?

You can add this bucket to scoop https://github.com/nueko/php-ext-bucket and install it. But there is still a problem with the ImageMagick version. See: https://github.com/nueko/php-ext-bucket/pull/5 (it's possible to use this file locally to install php-imagick)

thank you


feat(tls): add support for https in actix web

Type of Change

[ ] Bugfix
[ ] New feature
[x] Enhancement
[ ] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description

Added support for TLS server within actix-web using rustls
Additional Changes

[ ] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context

Closes #3475.
How did you test it?

Test Parameters:

HTTP Server: 8080 (default)
HTTPS Server: 8081
Cert and Key generated using mkcert for localhost and <IP_ADDRESS>: mkcert -key-file key.pem -cert-file cert.pem <IP_ADDRESS> localhost

Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[x] I reviewed the submitted code
[ ] I added unit tests for my changes where possible

This PR closes #3475

Hey @noagbmn, you need not frequently merge the main branch into your PR branch. The merge queue handles that for us at the time of merging the PR.

@SanchithHegde I think the CI-pr / Run tests on stable toolchain (ubuntu-latest) (pull_request) is always failing, but for a different reason now

@SanchithHegde I think the CI-pr / Run tests on stable toolchain (ubuntu-latest) (pull_request) is always failing, but for a different reason now

@noagbmn could you merge the main branch into your PR, it should be addressed now.


Add CI for X11.zig

[x] Add a workflow to clone users and test the new release
[x] Add a cron workflow to fetch dependencies and make pull request
[x] Add protection rule for default branch
[x] Add it to CI toolbox workflow
[x] Add it to protection rule of toolbox default branch

Available here:

https://github.com/tiawl/X11.zig/blob/trunk/.github/workflows/bot.yml
https://github.com/tiawl/X11.zig/blob/trunk/.github/workflows/ci.yml


httpd pid directory always deleted on vagrant halt on Centos 7.2

Hello,
i install and start the httpd service with following cookbook recipe:
# Install Apache and start the service.
httpd_service 'default' do
  mpm 'prefork'
  action [:create, :start]
end

# Install the mod_php Apache module.
httpd_module 'php' do
  instance 'default'
end

# Install gd.
package 'gd' do
  action :install
end

# Install gd-devel.
package 'gd-devel' do
  action :install
end

# Install php-gd.
package 'php-gd' do
  action :install
end

# Install php-mysql.
package 'php-mysql' do
  action :install
  notifies :restart, 'httpd_service[default]'
end

# Create vhost directories
if node["streaming_evo"]["sites"]

  node["streaming_evo"]["sites"].each do |index, site|

    htdocs = defined?(site["vhost"]["document_root"]) ? site["vhost"]["document_root"] : index

    # Avoid potential duplicate slash in docroot path from config.json input.
    if htdocs.start_with?("/")
      htdocs = htdocs[1..-1]
    end

    # Create subidrectores, allow for multiple layers deep.
    htdocs = "var/www/" + htdocs + "/public_html"
    htdocs = htdocs.split(%r{\/\s*})
    folder = "/"
    for i in (0..htdocs.length - 1)
      folder = folder + htdocs[i] + "/"
      directory folder do
        owner node['streaming_evo']['user']
        group node['streaming_evo']['group']
        mode "0755"
        action :create
      end
    end
  end
end

# Write the home page.
template "#{node['streaming_evo']['document_root']}/index.php" do
  source 'index.php.erb'
  mode '0644'
  owner node['streaming_evo']['user']
  group node['streaming_evo']['group']
  variables(
    :database_password => node['streaming_evo']['mysql_admin_password']
  )
end

# Add the site configuration.
httpd_config 'default' do
  instance 'default'
  source 'vhost.conf.erb'
  notifies :restart, 'httpd_service[default]'
end

After a first vagrant.up and provisioning all works as intended, the local box is reachable via IP or domain names. That's great.
But after a vagrant.halt and vagrant.up the /var/run/httpd-default directory is missing and the httpd-default.pid file cannot be written so starting httpd-default.service quits with an error.
When i do a vagrant.provision on the box again, the directory is created and the httpd-default.pi file can be written.
This gives a systemctl status httpd-default.service
[vagrant@default-centos-72 ~]$ systemctl status httpd-default.service
â— httpd-default.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd-default.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2016-02-25 13:12:22 UTC; 47s ago
  Process: 1020 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 801 ExecStart=/usr/sbin/httpd-default -f /etc/httpd-default/conf/httpd.conf -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 801 (code=exited, status=1/FAILURE)

And the content of /var/log/httpd-default/error_log
[Thu Feb 25 12:26:41.747041 2016] [mpm_prefork:notice] [pid 5250] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Thu Feb 25 12:26:41.747095 2016] [core:notice] [pid 5250] AH00094: Command line: '/usr/sbin/httpd-default -f /etc/httpd-default/conf/httpd.conf -D FOREGROUND'
[Thu Feb 25 12:26:41.881516 2016] [mpm_prefork:notice] [pid 5250] AH00171: Graceful restart requested, doing restart
[Thu Feb 25 12:26:41.884327 2016] [mpm_prefork:notice] [pid 5250] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Thu Feb 25 12:26:41.884339 2016] [core:notice] [pid 5250] AH00094: Command line: '/usr/sbin/httpd-default -f /etc/httpd-default/conf/httpd.conf -D FOREGROUND'
[Thu Feb 25 12:28:04.732534 2016] [mpm_prefork:notice] [pid 5250] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Feb 25 12:28:05.777240 2016] [mpm_prefork:notice] [pid 6742] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Thu Feb 25 12:28:05.777269 2016] [core:notice] [pid 6742] AH00094: Command line: '/usr/sbin/httpd-default -f /etc/httpd-default/conf/httpd.conf -D FOREGROUND'
[Thu Feb 25 12:29:32.092324 2016] [mpm_prefork:notice] [pid 6742] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Feb 25 12:30:17.221041 2016] [core:error] [pid 799] (2)No such file or directory: AH00099: could not create /var/run/httpd-default/httpd.pid
[Thu Feb 25 12:30:17.238833 2016] [core:error] [pid 799] AH00100: httpd-default: could not log pid to file /var/run/httpd-default/httpd.pid
[Thu Feb 25 12:35:39.383811 2016] [mpm_prefork:notice] [pid 4982] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Thu Feb 25 12:35:39.383845 2016] [core:notice] [pid 4982] AH00094: Command line: '/usr/sbin/httpd-default -f /etc/httpd-default/conf/httpd.conf -D FOREGROUND'
[Thu Feb 25 12:44:43.161934 2016] [mpm_prefork:notice] [pid 4982] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Feb 25 12:45:22.251513 2016] [core:error] [pid 804] (2)No such file or directory: AH00099: could not create /var/run/httpd-default/httpd.pid
[Thu Feb 25 12:45:22.252146 2016] [core:error] [pid 804] AH00100: httpd-default: could not log pid to file /var/run/httpd-default/httpd.pid
[Thu Feb 25 12:54:12.238621 2016] [core:error] [pid 798] (2)No such file or directory: AH00099: could not create /var/run/httpd-default/httpd.pid
[Thu Feb 25 12:54:12.239090 2016] [core:error] [pid 798] AH00100: httpd-default: could not log pid to file /var/run/httpd-default/httpd.pid
[Thu Feb 25 12:56:34.223280 2016] [mpm_prefork:notice] [pid 4971] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Thu Feb 25 12:56:34.223313 2016] [core:notice] [pid 4971] AH00094: Command line: '/usr/sbin/httpd-default -f /etc/httpd-default/conf/httpd.conf -D FOREGROUND'
[Thu Feb 25 13:09:47.714565 2016] [mpm_prefork:notice] [pid 4971] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Feb 25 13:12:22.223056 2016] [core:error] [pid 801] (2)No such file or directory: AH00099: could not create /var/run/httpd-default/httpd.pid
[Thu Feb 25 13:12:22.248043 2016] [core:error] [pid 801] AH00100: httpd-default: could not log pid to file /var/run/httpd-default/httpd.pid

Is this an issue of the httpd cookbook?

sorry... i just found #61
implementing the patch first did not work either. I posted my fix in #61

Thanks @odoell, version 0.3.5 of the cookbook should resolve this issue.


[Buttons] Can't override background without crash hover background color

I'm working know with Orbit and i have to override .orbit-previous and .orbit-next button background because the Orbit background is white, but i can't get it.

As you can see, override the background-color for button element do that the background-color hover element will be unseeable.

@SalahAdDin I'm closing this issue because we don’t have a reproduceable case to test against. If this is still an issue, please reopen with the info requested here:
https://github.com/zurb/foundation-sites/blob/develop/.github/ISSUE_TEMPLATE.md

Ok, thanks :+1:


PyAutoGui slow calls to moveto() on Mac OS X

for y in range(landscapeRegion[1], landscapeRegion[1] + landscapeRegion[3], 40):
         for x in range(landscapeRegion[0], landscapeRegion[0] + landscapeRegion[2], 40):
             bot.moveTo(x, y, 0)
             bot.click(button='right')

The moveTo() takes about half a second between moves. The move is instant but it will sit at it's destination for half a second even though the moveTo is being called rapidly.

I don't know if you are still interested but the culprit is sleep(0.01) inside moveTo function. My suggestion is change that to 0.001 or something.

I have set my MINIMUM_DURATION, PAUSE and MINIMUM_SLEEP to 0.0. And I am also passing False for _pause in the moveTo function. In debug mode, I checked that the sleep function was not called.
I am passing the touch coordinates from my android phone to my laptop(Ubuntu 14.04) by opening a TCP socket. The moveTo function is called around 100 times a second. But the movement is quite jittery and laggy.
Any solution for this?

Hey, I tried a lot of different things but there was always a delay between actions. For rapid movements, I would suggest that you shift to Java and use the inbuilt java.awt.Robot class for mouse and keyboard, which is quite powerful and seamless. When rapid movements are not required, PyAutoGui is a great library.

I also experience PyAutoGui to be very slow. After every click there is a huge delay of some 100 ms. Also the moveTo command seems slow. Is this a known issue? I cannot imagine why it should be so slow.
I am testing PyAutoGui as a replacement for pynput because PyAutoGui has a more liberal license. With pynput I did not experience such issues. What is pynput doing different compared to PyAutoGui?
Using Java (introducing whole new platform) is hardly an option here.
Are there maybe built-in python commands to access mouse/keyboard stuff?

I also experience PyAutoGui to be very slow. After every click there is a huge delay of some 100 ms. Also the moveTo command seems slow. Is this a known issue? I cannot imagine why it should be so slow.
I am testing PyAutoGui as a replacement for pynput because PyAutoGui has a more liberal license. With pynput I did not experience such issues. What is pynput doing different compared to PyAutoGui?
Using Java (introducing whole new platform) is hardly an option here. Will try mouse lib next.
EDIT: The mouse lib works like a charm for me (on Windows) and is MIT licensed. Recommended!

just write
pyautogui.PAUSE = 0.00000001


Check if intel_pstate exists

I'm interested in running this locally, but I use Ryzen and this part fails.

Sorry I didn't respond earlier. I just made sure I get notifications on this repo.
Thanks for the PR @k0kubun. Please remember that YJIT is a work in progress. Lots of improvements to come.

Probably the closest thing for AMD is:
sudo sh -c 'echo 0 > /sys/devices/system/cpu/cpufreq/boost'
sudo cpupower frequency-set -g performance


[GLUTEN-2270][CH] fix decimal result errors in tpcds q49,q83,q90

What changes were proposed in this pull request?
adjust CH decimal type to Spark decimal type in plus/minus/multiply/divide
(Fixes: #2270)

LGTM


tr: enable ignored tests that have already been fixed

Specifically:

check_against_gnu_tr_tests_e: Yes, the test is about octal interpretation.
check_against_gnu_tr_tests_ross_0a: Yes, the [Y*] generates multiple Y's, which causes conflicting replacements, which is why the operation is rejected.
check_against_gnu_tr_tests_ross_0b: Same, plus a newline character was accidentally forgotten.
check_against_gnu_tr_tests_fowler_1: Apparently the problem was fixed at some point.

Inspired by #6737.

Sweet


Fix cobertura line coverage metric and do not delete coverage reports

Cobertura coverage metric was not counting all the lines properly before. Verified against existing reports where coverage was reported incorrectly before and ensured it is fixed now
Stop deleting coverage xml files on master as it messes with the cobertura jenkins plugin's ability to display reports post build

Coverage decreased (-0.01%) to 90.88% when pulling 4fc1537c32db7f8e7139c8c2a5cc659460a4de17 on cobertura_coverage into 341a0426f885c7894050d5f02a86af356117428c on master.


Array errors missing when minLength is set on content?

I've noticed that for a schema like this:
const arr = array(string([minLength(2)]), [minLength(2)]);
console.log(safeParse(arr, ['A']));

There is only one issue reported:
issues: [
  {
    reason: 'string',
    validation: 'min_length',
    origin: 'value',
    message: 'Invalid length',
    input: 'A',
    path: [Array],
    abortEarly: undefined,
    abortPipeEarly: undefined,
    skipPipe: undefined
  }
]

I'd expected that both the array and the string issue is reported? That's the behavior of Zod and Ajv, at least.

This should be fixed in v0.22.0

It is, thank you very much!


Add config_yaml samples

Add config_yaml samples , use new api to load config.yaml  #697

@YarBor 处理完给我留个消息，我再 review 下
I think it is done


Added NetKAN/sidosUraniaSystem.netkan per author's request

name, ksp_version, version, release_status and author will all be scraped from the kerbalstuff data and doesn't need to be included in the .netkan. In the specific cases of ksp_version and version it's actually problematic to have them hardcoded since every new release will all have the same information in CKAN.
x_netkan_license_ok should be swapped to a hardcoded license because the KerbalStuff page lists the license as MIT while the forum thread lists the license as CC-BY-NC-SA

@Olympic1
Part of KSP-CKAN/CKAN-meta/issues/588

Do you need me to change it ?
JBB
On 10/13/2015 6:03 PM, Matthew wrote:

|name|, |ksp_version|, |version|, |release_status| and |author| will
all be scraped from the kerbalstuff data and doesn't need to be
included in the .netkan. In the specific cases of |ksp_version| and
|version| it's actually problematic to have them hardcoded since every
new release will all have the same information in CKAN.
|x_netkan_license_ok| should be swapped to a hardcoded |license|
because the KerbalStuff page lists the license as |MIT| while the
forum thread lists the license as |CC-BY-NC-SA|
—
Reply to this email directly or view it on GitHub
https://github.com/KSP-CKAN/NetKAN/pull/2398#issuecomment-147866598.

Please note that I re-uploaded this .netkan after making changes per a
previous message from Matthew.
I had to do the re-upload (git add/commit/push) since I no longer had
the git repo, so had to reclone the repo.
The new merge is: #2407
JBB
On 10/13/2015 6:05 PM, Matthew wrote:

@Olympic1 https://github.com/Olympic1
Part of KSP-CKAN/CKAN-meta#588
https://github.com/KSP-CKAN/CKAN-meta/issues/588
—
Reply to this email directly or view it on GitHub
https://github.com/KSP-CKAN/NetKAN/pull/2398#issuecomment-147867004.

Closing in favour of #2407


Apple TV does not work, can you help me? I do not know why... it doest not work?

This is my fork... https://github.com/sowson/hackintosh Thank you because I think you are true Hacker... I can only dream to be on that level, to understand OC like you! Really!

Anyway, I prefer HBO / HBO GO and that works on Chrome... Apple TV: $49 Frozen? Just a joke once DVD cost is less than 40 PLN... sorry you may close the issue once IMHO Apple TV is too expensive...

I "follow the master" updated all (from you, but not yet on my fork) and TV is the only app that does not work (I put only each WLAN things)... pls help I am using macOS 10.15.4, should I roll back to 10.15.3 where TV was fine?

I "follow the master" updated all (from you, but not yet on my fork) and TV is the only app that does not work (I put only each WLAN things)... pls help I am using macOS 10.15.4, should I roll back to 10.15.3 where TV was fine?

I can watch AppleTV!!

Radeon RX 590

I am using 4k 15.4 inch panel from 'unperfect' company, this may be the case I order ’standard’ monitor and we gonna see how it works once I get it. Please keep till that time issue open. Thx!

On Apr 10, 2020, at 4:11 AM, miles<EMAIL_ADDRESS>wrote:
I "follow the master" updated all (from you, but not yet on my fork) and TV is the only app that does not work (I put only each WLAN things)... pls help I am using macOS 10.15.4, should I roll back to 10.15.3 where TV was fine?
I can watch AppleTV!!
Radeon RX 590
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/czombos/asus-rog-strix-z390-i-gaming-hackintosh/issues/14#issuecomment-611841802, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIC6NQEIHIJHRLUBCHPX2ETRLZ56BANCNFSM4MAJJOJA.

Thanks, I bought FullHD LG 24'' Monitor and rollback one DRM fix on my fork and Apple TV works great! Look on the last commit on the https://github.com/sowson/hackintosh I am closing this issue.


vsce create-publisher (publisher name)

Error: Invalid publisher name '(ndq-sao)'. Expected the identifier of a publisher, not its human-friendly name.
please.

You can't use parenthesis or -.


Clarify terminology with respect to unpaired/SE reads

References to unpaired reads in the CLI help and README are potentially ambiguous, possibly interpreted as reads lacking a mate for QC reasons or otherwise. It is intended to refer to single end (SE) short reads, for instance Illumina reads that have been merged. This should be reviewed and clarified. Highlighted by @jfy133 (https://github.com/bede/hostile/issues/46).

I think that would help future me yes, thank you @bede !


fix: Remove poseidonsponge_x5_254 from exclusion list

Related issue(s)
Related to #1262

Resolves #
Description
Summary of changes

Dependency additions / changes

Test additions / changes

Checklist

[ ] I have tested the changes locally.
[ ] I have formatted the changes with Prettier and/or cargo fmt with default settings.
[ ] I have linked this PR to the issue(s) that it resolves.
[ ] I have reviewed the changes on GitHub, line by line.
[ ] I have ensured all changes are covered in the description.

Documentation needs

[ ] This PR requires documentation updates when merged.

Additional context

Note: #1257 is still good because it shows poseidon failing and then passing once we fix the serialization


Fixed incorrect event name for delete

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ymesika
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: greghanson
If they are not already assigned, you can assign the PR to them by writing /assign @greghanson in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ymesika: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
2a7175deffb2075a5ca1bf5329c0a351f27a42a6
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


initial adoption of DocC based documentaiton

motivation: use DocC for docs
change:

add DocC catalog to NIO target, as the "landing page"
remove jazzy doc generation script
add Package.swift with tools-version 5.6 so that DocC can be used, and add a dependency on the DocC plugin
udpate soundness script

_

Flaky test: ChannelTests.testConnectWithECONNREFUSEDGetsTheRightError.

@swift-nio-bot test this please


Exponent

Completed exponent for variable base and real power and real base and real power. Addresses #1

Updated Add.cpp and Subtract.cpp


Improved UI of FAQ section

Related Issue

Update FAQ section with improved layout and transitions

Closes: #400
Describe the changes you've made

Added an appropriate margin between the main section and the header for better spacing and visual separation
Increase the width of the main section to enhance the readability of the FAQs, improving the overall user experience
Implement smoother transitions for expanding and collapsing FAQ accordion content, providing a more seamless interaction

Type of change
What sort of change have you made:

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update.
[ ] This change requires a documentation update

Checklist

[X] My code follows the guidelines of this project.
[X] I have performed a self-review of my own code.
[ ] I have commented on my code, particularly wherever it was hard to understand.
[ ] I have made corresponding changes to the documentation.
[X] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] Any dependent changes have been merged and published in downstream modules.

Screenshots (if applicable)

Before :

After :

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hey ! Please star this project :) @kirtiraj22

@amanjaiman1 done!😄


__When I am using add rule to add url say "https://e-skilling.tekstac.com/my" then after clicking save only default url is showing i.e. "https://e-skilling.tekstac.com".
So earlier 2 weeks back it was working fine but recently when we are using this site for copy paste then it is not allowing us to do so.
What am i doing is:
I am opening the tekstac site in chrome (normal mode)
Then opening another tekstac site from where i need to copy in chrome( incognito mode)
Then i am copying that incognito mode url and paste in fuck paste extension then click  add rule.

@john1007, while on https://e-skilling.tekstac.com, can you post an image of what appears when you option the extension's popup?
Such as:

@jswanner Thanks for the quick response.
I want to copy things from the same site but for different user login.
So when i am trying to save in this screenshot then only one link is saving(default).
1 ) Before save

2)after save

@john1007, your rule of “https://e-skilling.tekstac.com/my” won’t match that URL, which is why it’s not showing up in the popup after save (if you open the extension’s options from chrome://extensions”, you will see all your saved rules). Having the “x” button next to the “https://e-skilling.tekstac.com” means that it is saved, and the extension’s icon beings blue means it’s active.
It’s possible the site is blocking copying of text via other means, like intercepting the key events. Can you see if using “Copy” from the browser’s Edit menu works? The Edit -> Copy route, triggers a copy event that this extension prevents sites from blocking.

Closing due to inactivity, you can reopen if you have additional information to provide.

No using “Copy” from the browser’s Edit menu doesn't work

hello bro

No using “Copy” from the browser’s Edit menu doesn't work. But Paste works.

hello bro iam unable to use paste in the tekstac browser ,can u please help me

@Shubhamjha-sj & @Saiteja-boyapally,
I do not have access to tekstac, so I am not able to investigate what is going on. Therefore, I'm going to need to know a lot more information in order to be able to provide any help.
Can you be very specific about what's not working? Can you verify that the extension is active on the site? The more information you can provide, the more I can help.
That said, this is extension does not circumvent all the ways in which website authors can interfere with copy & paste. When the extension is active, it should allow you to at least use Copy & Paste from the Edit menu, but it's possible that text selection is being prevented on the site, making copying more difficult.

No using “Copy” from the browser’s Edit menu doesn't work. But Paste works.

how to do that??
can you help me

@dheerajreddy7 like i said in my last comment, I need more information in order to provide any help.
Can you confirm the extension active? Are you able to select text on the site?

@jswanner  here the thing Sir...in the tectask site copy and paste work for the comment box but it's not working in the code editor box. that's the place where we want to paste things and the don't f*** with paste is also not being able to paste in that specific box.

Is there any other way to copy-paste in tectask? Please help me

Following for updates on this

Since I don't have access to tekstac, and without additional information about what's going on, I think all I can really do is reference my earlier comment: https://github.com/jswanner/DontFuckWithPaste/issues/84#issuecomment-628822893
It seems the issue is mainly with the site's code text editor. It's possible they are using an open-source code editor, if that's the case and someone is able to figure out what it is, then I can look for other sites using the same editor to try to debug the problem that way.

Hey @jswanner, I can give you access to that site if you want.
Sent a connect request on Linkedin.
It'll be really helpful if the extension starts working on that site.

Hey @jswanner, I can give you access to that site if you want. Sent a connect request on Linkedin. It'll be really helpful if the extension starts working on that site.
Workaround to enable only PASTE on tekstac.com code editor:

Get this-a & this-b  extension
Add pattern in (a) and disable (b)
Reload the site
Ez direct pasting enabled in code editor.

Use another editor to solve problems and just paste it in the tekstac editor.

hey @abhishek-kr-01 can you help me
i was having the same problem


Events: Request to present an ASRG Webinar

Use Case: Someone would like to present at ASRG.  The interested party would then submit a form through the ASRG website.
Create Form that would allow for someone a request to give a presentation at ASRG Webinars.

@donald-king added a form as the first step.  When someone enters the information into the form, it goes into "entries" and sends an email to the admins.  We would like to have this one step further, that the form automatically starts a new event entry with the type "ASRG Webinar" and starts to fill the information directly into the event.
The idea is that this is the first part of the process.  After, we have reviewed the submission, we will look for the next open date, add the date and then an email will be automatically generated, "your submission has been accepted and planned for XXXX, please follow the link and add the additional required information".  When the user clicks on the link in the email he/she will see the next form with all the information needed for the ASRG Webinar Event.
Process:
First Form -> Event Started -> Reviewed by ASRG and Date Added -> Email Sent to Presenter (approve / deny) -> Fill out additional information in form -> Event Updated based on Form -> Manual Release -> Event Published -> Social Media posts sent out (Julian is working on this).

Need to fix the logo in the email sent to the submitter.

Current Implementation: Website Form -> WPForms -> WPForms Entry
Target Implementation: Website Form -> XXXXX -> A New Pending Event in the Events Calendar Plugin.

Community Events is also a possibility.

WP Forms can export submissions in a CSV file. It also uses the Action Schedule WP library. Need to check if exports can be done automatically.


Object is accepted as FutureOr<T> which results in runtime TypeError

import 'dart:async';

void complete_<T>(Completer<T> completer, T value) {
  print(T); // prints "Object"
  completer.complete(value);
}

void main(List<String> arguments) {
  final completer = Completer<int>();

  // completer.complete("foo");
  // Compilation error:
  // error: The argument type 'String' can't be assigned to the parameter type 'FutureOr<int>'. (argument_type_not_assignable at [HelloWorldDart] bin/main.dart:11)

  complete_(completer, 'foo');
  // Compilation success (no issues)
  // Runtime error:
  // type 'String' is not a subtype of type 'FutureOr<int>' of 'value'
}

▶ dart --version
Dart VM version: 2.8.4 (stable) (Wed Jun 3 12:26:04 2020 +0200) on "macos_x64"

REPL

While I believed that this issue is related with incorrect handling of FutureOr, I was pointed out that this is same for other generics like List:
void add_<T>(List<T> list, T value) {
  list.add(value);
}

void main(List<String> arguments) {
  final List<int> list = [];

  // list.add("foo");
  // Compilation error:
  // error: The argument type 'String' can't be assigned to the parameter type 'int'. (argument_type_not_assignable at [HelloWorldDart] bin/main.dart:9)

  add_(list, 'foo');
  // Compilation success (no issues)
  // Runtime error:
  //  type 'String' is not a subtype of type 'int' of 'value'
}

This is actually working as specified, and the dynamic error arises because completer is given the type Completer<Object> when the (inferred or specified) type argument to complete_ is Object, and then the invocation of completer.complete(value) fails at run-time: The statically known argument type is Object, but that parameter is "covariant by class" so it will be subject to a dynamic check, which fails.


Generate config file to configure the cli for the project scope

Description
As a programmer it becomes pain to add iterative flags while using CLI
For example:
If the user is trying to generate a component with lot of options to be appended, he needs to run something like the following
npx arclix g c [COMPONENT NAME] --flat --skipTest --addIndex ....

Something like this is time consuming and If this options are common for all the components that need to be generated then it becomes very irritating.
Suggested solution
Introducing a config file to configure options that are commonly needed within the project scope is the best solution for this problem
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

[ Triaged ] Good to start the development


PSF Scripts Requirements

To enable scripts to run, you need to set the PowerShell execution policy to RemoteSigned. You can do this by running this command:

Is this done on the "host machine"? Or while you're building a package? Does the setting "inside" the package need to match what's outside the package? How does a powershell script running "inside" the app choose its execution policy? This really needs to be made less vague.

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

ID: 6576833e-f6e5-de9e-e7b5-f0dccf047eb0
Version Independent ID: 7068b63b-3a4b-d6ef-796a-22ae615b4245
Content: Run scripts with the Package Support Framework - MSIX
Content Source: msix-src/psf/run-scripts-with-package-support-framework.md
Product: msix
GitHub Login: @dianmsft
Microsoft Alias: diahar

Thanks for providing feedback and question. The execution policy needs to be set on the computer that will be running the scripts.  This is usually the computer running the package because the package will run PowerShell to run the scripts. PSF and the script uses the execution policy set in PowerShell prior to the package execution.  PSF does not have any internal settings on the execution policy.  PSF uses the system’s powerhsell.exe to run scripts, and thus, the execution policy needs to be set prior to script execution. We will be updating the docs to provide this clarification.


Add support for pytorch

Instructions to build pytorch for jetsoon:
https://devtalk.nvidia.com/default/topic/1049071/jetson-nano/pytorch-for-jetson-nano/

Compiling/installing pytorch on rpi/tegra platform quite a bit more complicated.  For now, just support intel platform.

Installing pytorch installs a massive libtorch_cuda, which brings pytorch install to 1.5Gb+.  This should only be installed if needed, so turn off by default.


Http gap 3359 v5

Needs https://github.com/OISF/suricata/pull/5172 and https://github.com/OISF/libhtp/pull/297

Fixes http sticky server
There should be 29 alerts and not only 28 (as you can count in the pcap with grep -a Omniture http-sticky-server.pcap | wc -l
The missed alert is at packet 8363 (cf Wireshark filter tcp.port == 56401), due to missing first request packet
The fix is to remove the gaped flow from the pcap
Adds multiple tests with different HTTP GAP scenarios from https://github.com/OISF/suricata/pull/4951#issuecomment-630782701

gap within the body ✅
multiple different gaps in the same body ✅
gap that starts within body but extends beyond it ✅
gap that is exactly the body size ✅
gap after CL header but before end of headers? : not supported by suricata PR so far
methods: GET/HEAD, POST/PUT, etc : irrelevant ?
etc.

Modifies https://github.com/OISF/suricata-verify/pull/279 truly by changing the pcap with removing only one packet

Replaced by #317


Jira 7.11.2 and Service Desk 3.14.2

Description of the Change
Bump versions to:

Jira: 7.11.2
Service Desk: 3.14.2

Verification Process
docker build -t blacklabelops/jira .

Release notes

Jira: https://confluence.atlassian.com/jirasoftware/jira-software-7-11-x-release-notes-952600888.html
Service Desk: https://confluence.atlassian.com/servicedesk/jira-service-desk-3-14-x-release-notes-952618829.html

Thanks for the update!


Added a Simple Webpage for your organisation and making it more responsive

Created  a Simple webpage for your organisation and make it more responsive using javascript

Fixed the issue #19 for your organisation can you please assign me this issue under guidelines of hactoberfest2023 guidelines....Thank You @ietebitmesra !!!

Fixed the issue https://github.com/ietebitmesra/Hacktoberfest-23/issues/19 for your organisation can you please assign me this issue under guidelines of hactoberfest2023 guidelines....Thank You @ietebitmesra !!!


Migrate HVNC Terms of Reference to the website

The HVNC page at HUGO has a link to our terms of reference (as a word doc 👎🏼 ). Confirm with Johan that we can move it. Perhaps update the HUGO text at the same time.
https://mcusercontent.com/8b89ab9930fa0d9d5f17116d3/files/95e48a7f-dce5-bbf8-6cef-226a37436464/HVNC_ToR.01.doc

why do you want to move the document?  I agree the document should be on the HUGO site (not on mcusercontent.com) but that is easy to change.

I was hoping for at least two outcomes:

update content of the ToR. Eg, update URLs
incorporate as a page (rather than separate doc) to make it easier to
read.

I don't see any advantage to having it in the current form and location. Do
you?
On Mon, Jan 22, 2024, 05:18 Johan T. den Dunnen @.***>
wrote:

why do you want to move the document? I agree the document should be on
the HUGO site (not on mcusercontent.com) but that is easy to change.
—
Reply to this email directly, view it on GitHub
https://github.com/HGVSnomenclature/hgvs-nomenclature/issues/139#issuecomment-1903990677,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA2XDNOPE6MOOPPW3Z5QFTYPZRMBAVCNFSM6AAAAABCEGARD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBTHE4TANRXG4
.
You are receiving this because you authored the thread.Message ID:
@.***>


"Un-pinning" post in Blog breaks site

To recreate:

navigate to the Five Things To Look For When Watching San Yuan Li by U-thèque blog in CMS.
un-pin post and save the page.
observe results.

URL: http://api.plus.zakgroup.co.uk/admin/page/edit/?id=1470&s=1&c=3
Un-pinning the following post causes the entire site to return a "503" error:

I'm not able to replicate this. 503 would suggest it's a server error (e.g. server overloaded). Were you seeing the error on the front-end or back-end?

I can no longer replicate this either. It was appearing on the front-end of the site. The CMS was behaving as normal. I'll close this one for now but will keep an eye on it.


enabling language button change

Describe changes
Enabling changing language
Screenshots

@mrcnk Please review this PR

@mrcnk Please review

Changes done @mrcnk


Basic Example not working

Hello,
Trying to get basic example working.  After running through install scripts according to this.  I can see the "toggle recording" page on 3001 but nothing happens.
When I run
./licode/scripts/initLicode.sh
it seems to start fine. Then
./licode/scripts/initBasicExample.sh
throws an error
Error: failed to connect to [localhost:27017]
So I start mongo. Then try the command again, and get
Error: listen EADDRINUSE
Any help would be appreciated.

Turn on the mongodb
sudo mongod --config /etc/mongodb.conf &
and then try again

Thanks @mosfet1kg.

Killing processes and starting mongo first solved the errors about used resources.  Thanks @mosfet1kg   Suggest updating install document to include starting mongo.
I assume the basic example is supposed to show something more than a disabled 'Toggle Recording' button.  The server process gives this info
INFO: NuveAuthenticator - [Auth] Unknow service: 54e948cce39dd09ea9b79b16

Oh, come on...
It seems that you installed licode once again without removing it.
Licode saves its authentication tied up with NuVe info to mongodb.
Therefore, you should remove these info before you reinstall Licode.
mongo
use nuvedb
db.dropDatabase()
If you already installed licode, you don't need to install it all over again.
Please go to script folder and then excuted installNuve.sh.
After that, you will able to see licode is working

Thanks @mosfet1kg for the response.  Dropping the database and running installNuve.sh resolved the NuveAuthenticator error.  According to console, it created a room, which is didn't do previously.  However, the webpage still only shows a disabled 'Toggle Recording' button.
Re-installing is a reasonable troubleshooting step when something you have no knowledge of doesn't seem to be working.  That may not be the correct move in this case, but is reasonable to expect a newbie to try.  I would suggest more documentation on setup and troubleshooting.  Newcomers don't have skills to troubleshoot modules they are not familiar with.  That would help with adoption if the install and docs were more robust.  I would be happy to contribute to docs once I know my way around the app.  First I need help getting started.  Any idea how to enable the 'Toggle Recording' button, or show whatever the Basic Example is supposed to demonstrate?

Hi, have you granted access to your webcam in your browser? That should solve it. The recording button won't be active until you have any streams being published.

Thanks @nachoaguadoc.  That is probably the case.  However I am not able to get Chrome to allow access, more specifically to remember the selection.  I've read that remembering selection only works for https, so I opened https://localhost:3004 instead of the http://localhost:3001 referenced in the guide.  But that still doesn't seem to remember; possibly because the certificate is not trusted.  An issue for another forum.  And perhaps an amendment to the guide.  I'll spin up an EC2 instance and install everything and try from a public url.  Thanks for the support.

Continuing to have problems getting this working.  I tried installing on EC2 and the installation fails.  Or at least Licode doesn't start properly.  When running initLicode.sh it gives the usual INFO messages, but then gets stuck in a loop which continuously launches new ErizoJS instances every second...
...
2015-03-12 14:30:00.561  - INFO: AMQPER - Queue ErizoAgent is open
Running process
2015-03-12 14:30:00.696  - INFO: ErizoAgent - Launched new ErizoJS  05e7d...
Running process
2015-03-12 14:30:00.881  - INFO: ErizoAgent - Launched new ErizoJS  c2e47...
Running process
2015-03-12 14:30:01.066  - INFO: ErizoAgent - Launched new ErizoJS  fbe66...
Running process
2015-03-12 14:30:01.250  - INFO: ErizoAgent - Launched new ErizoJS  d1578...
Running process
2015-03-12 14:30:01.442  - INFO: ErizoAgent - Launched new ErizoJS  e9d4b...
Running process
...repeat...

Here are the logs from each step of the install.  Any help on why this install doesn't work, while the one on my laptop does (even though I can't test it because of the Chrome microphone access issue) would be appreciated.  I'd really like to see this project working.

any update on this problem of loop which continuously launches new ErizoJS instances every second.


debug: add a test case for timestamp issue

Towards b/139860901

Clarified that everything is working as expected. We need to pass String instead of long for subsecond TimeStamp precision.


论文实验中I1_Inst、I1_tool I1_cat，请问什么意思

你好，请问实验过程中的横坐标的数据区别是什么比如I1_Inst、I1_tool I1_cat

The meaning of I1, I2 and I3 is mentioned in 2.2 Instruction Generation in the paper.

Sampling Strategies for Different Scenarios As shown in Figure 3, for the single-tool instructions (I1), we iterate over each tool and generate instructions for its APIs. However, for the multi-tool setting, since the interconnections among different tools in RapidAPI are sparse, random sampling tool combinations from the whole tool set often leads to a series of irrelevant tools that cannot be covered by a single instruction in a natural way. To address the sparsity issue, we leverage the RapidAPI hierarchy information. Since tools belonging to the same RapidAPI category or collection are generally related to each other in the functionality and goals, we randomly select 2-5 tools from the same category / collection and sample at most 3 APIs from each tool to generate the instructions. We denote the generated instructions as intra-category multi-tool instructions (I2) and intra-collection multi-tool instructions (I3), respectively. Through rigorous human evaluation, we find that instructions generated in this way already have a high diversity that covers various practical scenarios. We also provide visualization for instructions using Atlas (link) to support our claim.

The meaning of Inst., Tool and Cat. is mentioned in 3.2 Main Experiments in the paper.

Settings Ideally, by scaling the number and diversity of instructions and unique tools in the training data, ToolLLaMA is expected to generalize to new instructions and APIs unseen during training. This is meaningful since users can define customized APIs and expect ToolLLaMA to adapt according to the documentation. To this end, we strive to evaluate the generalization ability of ToolLLaMA at three levels: (1) Inst.: unseen instructions for the same set of tools in the training data, (2) Tool: unseen tools that belong to the same (seen) category of the tools in the training data, and (3) Cat.: unseen tools that belong to a different (unseen) category of tools in the training data.


Fix --service-cluster-ip-range description

--service-cluster-ip-range can be specified without --allocate-node-cidrs=true.

/assign @vineethreddy02

Hi @ymmt2005 - this is generated documentation.
If the same change is already made upstream, please reference the PR where it's changed (as this makes reviewing easier). On the other hand, if the text in k/kubernetes is wrong then this needs to be fixed there first.

Thank you @sftim .
I made a PR for k/k to fix this: https://github.com/kubernetes/kubernetes/pull/91511

/close
The issue should be fixed upstream (already proposed). After the code is merged in upstream, we can regenerate the reference doc.


Update and Delete are just empty methods

Should return something

Pull request #3 fixes throws an appropriate error till we implement these methods


Introduce API GetCallPrefix()

closes #41

Pull Request Test Coverage Report for Build 112196985

8 of 8 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.7%) to 54.401%

Totals

Change from base Build 111765715:
0.7%

Covered Lines:
1335

Relevant Lines:
2454

💛  - Coveralls


Get Atum Context, by getting existing partitioning from DB - retrieve Measures and AdditionalData for a given partitioning

Background
It's needed that the endpoint returns actual data.
Feature
What the ticket says, see the endpoint related to create partitioning event.
Proposed Solution [Optional]
Solution Ideas:

Create Fa-DB classes for runs.get_partitioning_measures and runs.get_partitioning_additional_data DB functions
Call them in PartitioningController (PartitioningController.createPartitioningIfNotExists)

Depends on #169

This item depends on:

AbsaOSS/atum-service#169
By Dependent Issues.

This item depends on:

AbsaOSS/atum-service#169
By Dependent Issues.


Add getData methods to Key that populate ArrayByteSequence

This PR is meant to add overloaded methods to Key class which populate existing ArrayByteSequence objects with respective fields row, column family, and column qualifier. The methods are modeled after getColumnVisibilityData which was added in #4735.
The following files have been modified:

core/src/main/java/org/apache/accumulo/core/data/Key.java: Added overloaded getRowData, getColumnFamilyData, and getColumnQualifierData methods.

Fixes #4749 "Add methods to Key that populate existing ArrayByteSequence"

Changes look good. Could update the existing getColumnVisibilityData(ArrayByteSequence cv) javadoc to be consistent w/ these new methods.

Done.


Fixed #70 -- Added strict conventions on the URL and APIs for code consistency.

Closes #70
Refactored the code to make a standard for the APIs and URLs
Changes

Changes in the routes
Changes in the correct status code
Changes in consistency on reponses

Type of change

[ ] Bug fix
[ ] Feature update
[ ] Breaking change
[ ] Documentation update

Flags

test the routes and make sure it is working as expected
check for typo errors

How has this been tested?

running the frontend and making sure the application runs as expected and routes are correct

Author Checklist

[ ] Code has been commented, particularly in hard-to-understand areas
[x] Changes generate no new warnings
[ ] Vital changes have been captured in unit and/or integration tests
[ ] New and existing unit tests pass locally with my changes
[ ] Documentation has been extended, if necessary
[ ] Merging to main from issue_70

@DevilsAutumn please review and merge

Looks good!🚀
Thankyou! @ankanchanda @Saurabhsharma884


ROGER-1103: Update docker-registry role to deploy v2 registry and con…

…fig.

LGTM other than comments above.


CIP-24: Versioned Gas Scheduler Variables

Overview

@jcstein can we get this merged

yep @cmwaters and @ninabarbakadze -- reviewing now

:shipit:


Please publish 1.x to Maven central

This is because Bintray, which you relied on, is going away: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

e.g. we use 1.4.5 but it's not published in central: https://repo1.maven.org/maven2/com/apollographql/apollo/apollo-runtime/

I was expecting this one 😅 . We'll do that. If anybody has any pointers how to transfer artifacts, I'll take them!

Damn, the old versions poms do not match the MavenCentral requirements (project url and developer information missing...). I'll have to patch that manually.

Hi @ber4444 👋 . Version 1.4.5 should now be on mavenCentral. Can you check and confirm it's working for you? If it is, I'll move all the other versions.

perfect, thanks!

All versions should now be in, closing this


Support password protected stories

Feature Description
WordPress provides the ability to protect content with a (simple) password.
As per https://github.com/google/web-stories-wp/issues/87#issuecomment-577026598https://github.com/google/web-stories-wp/issues/87#issuecomment-577026598 and #405 we might want to enable this for stories too. Quote:

Password and privacy features make sense, but I wouldn't give them super high priority. If they're easy to implement, I'd say let's do it. Otherwise defer to later.

Implementing this would require showing the password page in the current theme, and un-hiding the password field in the document panel.
Alternatives Considered

Additional Context

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

Enable password field in packages/story-editor/src/components/panels/document/status/status.js
In \Google\Web_Stories\Renderer\Single::filter_template_include(), don't filter the template if post_password_required() returns true

I'll be the first to validate this as a feature is probably needed. It was actually the first thing I looked for when I installed beta and I came here to see if it was planned. Happy to see it up here!
Some Use Cases:

Writers (like me) who want to password protect some stories to make them only viewable after a purchase or donation has been made (the password would be sent in the receipt for the purchase)
High schools and other kinds of youth-based websites (sports clubs, etc) that might publish stories with photos of minors and can provide more privacy and protection by giving parents and kids the password to stories published.

You might not need to design a password page if the native WordPress password protection functionality that's used in posts works with stories (I'm not sure - not a developer).

Verified in QA (password protection as per 9502)


TypeError cannot read property 'scan' of undefined

I get the error 'TypeError cannot read property 'scan' of undefined' when calling the openalpr plugin as follows
cordova.plugins.OpenALPR.scan(filepath, { country: 'eu', amount: 3 }, function (results) {
     console.log(results);
 }, function (error) {
     console.log(error.code + ': ' + error.message)
 });

installed using cordova plugin add cordova-plugin-openalpr
<EMAIL_ADDRESS>

Which version of Ionic do you use?

Not using Ionic.
Problem stopped after building apk.


(Review third) Update FI profile - mail api integration

Part 3 of #222
Replace "simulated" submission with actual Mail API call

Changes

Formats form data for email submission
Triggers Mail API call upon submission

Planned improvements

[ ] Data submission (formatFinancialProfileObject): Do further comparison against defaultValues to determine which data was changed, so that we only send SBL Help the info they actually need to update.  This may also be resolved if we can address the forwardRef errors we've been seeing, which may fix the issue of changes to these fields not being registered in react-hook-form

How to test this PR

In console ensure routing is enabled: setIsRoutingEnabled(true)
Login as a user with an associated institution
Click on the Institution to View institution profile
Click on Update institution profile
Change some Institution data
Hit submit
Hopefully an email gets generated 🤞🏾
In console, you should also see the data that will be sent.

Notes

Submission data format (decoded)

{
     "tax_id": "tax_id",
     "rssd_id": "rss_id",
     "parent_legal_name": "parent-name",
     "parent_lei": "parent_lei",
     "parent_rssd_id": "parent-rssd",
     "top_holder_legal_name": "top-name",
     "top_holder_lei": "top-lei",
     "top_holder_rssd_id": "top-rssd",
     "sbl_institution_types": "bankSavings,minorityDepository,other",
     "sbl_institution_types_other": "Test SBL Type",
     "additional_details": "details"
}

Submission data format (encoded)

tax_id=tax_id&rssd_id=rss_id&parent_legal_name=parent-name&parent_lei=parent_lei&parent_rssd_id=parent-rssd&top_holder_legal_name=top-name&top_holder_lei=top-lei&top_holder_rssd_id=top-rssd&sbl_institution_types=bankSavings%2CminorityDepository%2Cother&sbl_institution_types_other=Test+SBL+Type&additional_details=details

Self-notes:

Institution types are always Objects, so we can remove any String checks


Unable to create new file/directory on Brackets Ubuntu (error NotReadable)

Hello
I'm using Brackets on Ubuntu 16.04 and when im trying to create a new file or directory within an existing project i keep getting "An error occurred when trying to create the file (error NotReadable)"
thou my server testing root folder and sub folders are owned by the current user
nabil@nabil-Vostro-1015:~$ ls -l /var/www/introductionphp/
total 44
drwxrwxrwx  5 nabil nabil 4096 Oct 10 22:19 ch01
drwxrwxrwx 12 nabil nabil 4096 Oct 10 22:19 ch02
drwxrwxrwx  9 nabil nabil 4096 Oct 10 22:19 ch03
drwxrwxrwx  7 nabil nabil 4096 Oct 10 22:19 ch04
drwxrwxrwx  8 nabil nabil 4096 Oct 10 22:19 ch05
drwxrwxrwx  8 nabil nabil 4096 Oct 10 22:19 ch06
drwxrwxrwx  7 nabil nabil 4096 Oct 10 22:19 ch07
drwxrwxrwx  9 nabil nabil 4096 Oct 10 22:19 ch08
drwxrwxrwx 12 nabil nabil 4096 Oct 10 22:19 ch09
drwxrwxrwx  8 nabil nabil 4096 Oct 10 22:19 ch10
drwxrwxrwx  2 nabil nabil 4096 Oct 10 22:19 introduction
Thanks for any help

If you use another editor what happen? Can you write the file?
Lately my usual advice for Linux user is to use braclets-electron: it has better support for Linux and maybe it will fix your problem

first of all thank you for taking the time to respond to my qst
i've tried Netbeans IDE 8.2 and im still getting the same result

I'm not really familiar with linux world, but it seems to me var/www folder needs a special treatment.
Looking around, maybe you could try something like chmod -R 774 /var/www/introductionphp/ (if you already didn't of course).
To workaround your issue you could try to move your project in your home folder and create a symbolic link inside var/www: ln -s ....

Problem fixed, i tried "sudo chown -R nabil:nabil introducingphp/" and it did the job.
Thank you so much for your assistance

Closing since #11182 is tracking a similar problem.


[WIP] Add gpu runner

Before submitting
Please complete the following checklist when submitting a PR:

[ ] All new features must include a unit test.
If you've fixed a bug or added code that should be tested, add a test to the
tests directory!

[ ] All new functions and code must be clearly commented and documented.
If you do make documentation changes, make sure that the docs build and
render correctly by running make docs.

[ ] Ensure that the test suite passes, by running make test.

[ ] Add a new entry to the .github/CHANGELOG.md file, summarizing the
change, and including a link back to the PR.

[ ] Ensure that code is properly formatted by running make format.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.

Context:
Description of the Change:
Benefits:
Possible Drawbacks:
Related GitHub Issues:

Need to removeinv()support before further testing this PR.


set prototype and fix ontrack

had to do that to make #175 work. This should make the 'trackEvent.track is an object' messages appear in travis

also fixed the receivers-contain test which failed in Firefox after some discussion with @jan-ivar

Thanks for this!

LGTM apart from the comment from @jan-ivar.

Before merging I want to fix that we currently require .ontrack to be set -- we should also support addEventListener('track', ...)

@fippo can we do that in a separate PR? It's broken right now...

hrm. I would need to add a variable so... i'll do that in the modularized stuff.

Ok, so this is OK to merge then? The follow up PR will be done in after #164 ? I will try to land it this week.

can you bump npm and update gh-pages please?

Done


[Task]: Remove redundant backend database call from tenants/current API

SubTasks
The tenants/current api is the slowest component of consolidated/view api. Reducing the latency of tenants/current api will reduce the latency of backend in view experience for all users.
Relevant Slack thread : https://theappsmith.slack.com/archives/C024GUDM0LT/p1713933688987279
In the diagram in the slack thread, the blue line just below the magenta line at the top is the contribution of tenants/current to consolidated api. The diagram shows that tenants/current is 90% contributor to consolidated view api.
Upon debugging the cause of latency from tenants/current, it is found that the api makes a DB call to fetch the tenant configuration every time. Also this db call is made twice, once by the CE implementation and the next time with EE implementation for EE codebase.
Caching the tenant config ID is already present in the codebase. Extending that approach, we can cache the whole tenant config and update it when a user changes admin settings.
Not making the DB call will reduce the latency of tenants/current api and decrease the latency of consolidated view api as well.
Corresponding EE Issue: https://github.com/appsmithorg/appsmith-ee/issues/4061

Completed with PRs.
https://github.com/appsmithorg/appsmith-ee/pull/4073
https://github.com/appsmithorg/appsmith/pull/33060


Think about the right behavior to support scalability of the async-controller

Currently async-controller replicas:1.

Think about the right behavior to support scalability of the async-controller.

Think about the right behavior to support scalability of the async-controller.

/kind performance

/kind performance

/kind enhancement

/kind enhancement

Freezing the async issues to preserve the "what's next"
/lifecycle frozen


Since updating to v3.3.0, site create messes up

Hey y'all,
I love EasyEngine, so keep it up. Just wanted to bring some stuff to your attention.
Right now, when I run sudo ee site create example.com --wp, I get the following error:
Unable to move file from /var/www/example.com/htdocs/wp-config.php to /var/www/example.com
It says "unable to move" but it doesn't even copy wp-config-sample.php in the first place. I looked at the permissions and everything is owned by root. Previously I think ownership was changed to www-data without a problem. It's like the whole process comes to a halt here, because nginx doesn't restart either.
Using Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-43-generic x86_64) with remote MySQL.
I don't know if this is a byproduct of this, but when I run ee site delete the database no longer gets dropped either.

https://github.com/rtCamp/easyengine/issues/590


Add possibility to add view zone inside deleted text zone in inline diff editor

first, create diffEditor
this.diffEditor = monaco.editor.createDiffEditor(dom, options);
second, get originalEditor
this.originalEditor = this.diffEditor.originalEditor;
third, addViewZone to originalEditor
this.originalEditor.changeViewZones((changeAccessor) => {
    const domNode = doucument.createElement('div');
    changeAccessor.addZone({afterLineNumber: 1, domNode});
})

in Chrom, it can work when i use side-by-side

but, when i switch to inline-diff, it can't work

View zones added to the original editor do not render when the diff editor is configured to be rendered inline. But view zones added to the modified editor will render in both cases.

Thank you for your answer. What should I do if I want to implement this feature? I am going to modify the source code, can you give me some suggestions? @alexdima

View zones added to the original editor do not render when the diff editor is configured to be rendered inline. But view zones added to the modified editor will render in both cases.

You can use this.diffEditor.modifiedEditor

View zones added to the original editor do not render when the diff editor is configured to be rendered inline. But view zones added to the modified editor will render in both cases.

You can use this.diffEditor.modifiedEditor

The feature I want to achieve is shown in the figure:

in inline-diff, removed line as view-zone(class name 'view-lines line-delete') render on modifiedEditor, like the figure:

in the case, removed line number is 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16
I want add custom dom under the line No.2, and the dom don't cover line No.3
'removed line number is 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16(class name 'view-lines line-delete')' is a viewZone added to modifiedEditor, i can add another viewZone to modifiedEditor, it can be render under line No.16 or above line No.1, like the figure:

but can't render under line No.2, like first figure

That is currently not possible. It is not possible to insert a view zone inside a deleted zone of text when the diff editor is rendered inline.

@alexdima
I thought of a very unsightly method:
step 1: assuming the height of removed-line-view-zone(the dom that class named 'view-lines line-delete') is 100px
step 2: assuming the height of my customized view-zone is 50px
step 3: add a view zone to modifiedEditor, set heightInPx to 50px, like the figure:

step 4: create a dom and set height to 150px, set innerHTML to the dom, make it look like the picture below:

step5: append the dom to my customized view-zone, it will render like the figure:

Do you think it's ok? Looking forward to your reply, thanks🥳

Wanted to know if it's ok to do that and what would be the best way to do that? Looking forward to your reply, thanks🥳 @alexdima

can't😩 because I can’t insert the zone where I want

Hello @alexdima, I'm willing to work on fixing this issue or to allow this behavior if some guidance is given, more or less, how much effort do you think this takes?
It's an inconsistency with how the split/unified view works and I'd like to help.

@alexdima Hey Alexandru! Following up on my colleagues message above, we're really eager to resolve this issue. We'd really appreciate your guidance here. Thanks!

Would also really appreciate a solution to this problem :crossed_fingers:


Part 2: Define the options and values for the new settings; #187 - subtask.

This subtask is for the enhancement #187 .
Define the options and values for the new settings
Make the necessary changes in src/main/res/values/settings.xml
After making the necessary changes ,merge it with the branch [187-update-default-units-in-settings_Group_8_C2]

The above changes are committed and pushed toe the mentioned branch.
Commit Link: https://github.com/rilling/OpenTracksConcordia/commit/9773c06bab404b293d48ca6e0f20e22355e6335d


Update jars, gitignore, and tests

Update code to use the latest jars and ignore unnecessary files.

This was an issue with my environment.  I've reverted the change.


ECR: support comments (<%# %>) and escapes (<%% %>)

WIP: it's still missing the transform specs (comments are dropped, escaped are transformed to strings, minus a %).
I don't make a difference between <%% and <%%= since we'd treat them exactly the same (output them as is minus a %).
closes #1999

Rebased with transfom specs.

Looks good!
Some questions:

Why do we need to distinguish a :COMMENT? Right now if you write <% # hello %> it outputs the comment to the generated code, and then it's ignored. I guess we are just missing making <%#hello%> do the same?
Maybe instead of having :ESCAPE we could make it be a :STRING with the escaped content?

With those changes, there won't be a need to handle two new token types.

I didn't about the comment, but had thought about having ESCAPE be a STRING. I'll try to make the changes.

@ysbaddaden Only if you think it's worth it. Your current PR works fine too :-)

I made the changes. It should be simpler now :)
Tell me what you think and I'll squash commits before merging.

@ysbaddaden Much simpler, looks really good :-)


Enhance  service map UI

In many cases, the service map can well meet the requirements. However, if the system has more nodes and more complex relationships, the automatically generated service map may be different from the expectation. Is it possible to provide the drag-and-drop function of the nodes in the service map to facilitate the rearrangement of the nodes in the service map, so as to better cope with various scenarios?

Can you share more details about your case? Also, it would be great if you could include some screenshots of the current map and the map you want to get

Thanks for your reply.
The current map is:

And I want to get is:

Thanks, I got your idea. However, I don't think we'll implement such customizations in the near future.

/


Documentation: Update example expressions to follow convention.

Based out of conversation on #7193
Signed-off-by: Harold Dost<EMAIL_ADDRESS>

Thanks!


Qol expo changes branch

1.) added linking to QA status pages if available
2.) added linking between nights' exposures-summary pages (next/prev links)
3.) renamed "nights" to "calendar" along the header

Works great.  Thanks.  Merging now.


tf_container.py modification for running GPU context

would like to start GPU session in container, and tried the following:
if (len(frozen_graph_exists) == 0):
with tf.Graph().as_default() as graph:
self.sess = tf.Session(graph=graph)
loader.load(self.sess, [tf.saved_model.tag_constants.SERVING],
os.path.join(path, "tfmodel"))
else:
self.sess = tf.Session(
'',
tf.Graph(),
config=tf.ConfigProto(
allow_soft_placement=True, log_device_placement=True))
metagraph_path = glob.glob(os.path.join(path, "tfmodel/*.meta"))[0]
checkpoint_path = metagraph_path.split(".meta")[0]
with tf.device("/gpu:0"):
with self.sess.graph.as_default():
saver = tf.train.import_meta_graph(
metagraph_path, clear_devices=True)
saver.restore(self.sess, checkpoint_path)

so during line 3, we might want to load it into GPU using with tf.device("/gpu:0"):

Not sure if this should be a separate issue for greater focus, but how might we control each model replica's per_process_gpu_memory_fraction?
For instance, if I want to stand up 3 replicas of my model on a specified GPU, how might I dynamically allocate it s.t. each replica gets ~33% GPU memory allocated? And would this be tough to do without breaking the functionality of set_num_replicas?