Pizza for RefreshOKC (June 28th)

Respectfully requesting pizza for approx 25ish people for the refreshOKC meeting on 28Jun16 @ the 404 around 630pm.
I had this thought since I've been educating myself on Js that I'd write some cool scripting but then I was sidetracked by beer and burgers. Next month though!

cool scripting of what?

More like a clever way of asking for pizza essentially.

Ahhh cool!  This is exactly how the ruby group orders their food and it is made really easy through the github api which is accommodating for many languages:   https://developer.github.com/libraries/
In ruby, it was incredibly simple to make our own little template :
require 'octokit'
repo = 'techlahoma/techlahoma'

client = Octokit::Client.new(:access_token => ENV['github_api_token'])

group = 'okcruby'
meeting_date = DateTime.new(meeting_date)
organizers = "hedrummer isalie"

title = "#{group} food for #{meeting_date.strftime("%B %d")} Meeting"
body = "group: #{group}
food type: ?
guest approximation: 15
meeting date: #{meeting_date.strftime("%A, %b %d %Y at %l:%M %p ")}

For visibility,
organizers: #{organizers}"

client.create_issue(repo, title, body, {labels: ['pizza']})

It looks like refreshokc is using meetup.com which isn't very good at letting you know, programmatically ,  when an event is actually going to happen...but not impossible.  The best I have found is, using your language of choice, download the ical  file they offer, and just start parsing its data to isolate calendar date in it.

🍕🍕🍕


add hypervisor volume example for runtime

For hypervisor runtime, mount hypervisor volume for
container is useful.
Signed-off-by: Gao feng<EMAIL_ADDRESS>

@wking patch updated. thanks.

On Wed, Sep 02, 2015 at 11:36:36PM -0700, Gao feng wrote:

@wking patch updated. thanks.

Looks good to me, thanks :).

@gao-feng Is there existing prior art for this stuff? For example kvm or something? I am not ecstatic about making up a serialization format like qcow2:/volumes/data.qcow2

@philips qemu uses samilar format qemu -m 1024 -drive format=rbd,file=rbd:{pool-name}/{image-name},cache=writeback  http://docs.ceph.com/docs/cuttlefish/rbd/qemu-rbd/#running-qemu-with-rbd,
If you think adding an extra source type field or even source option field(for configure rbd user, keyring, hosts so on) and  renaming the type filed to filesystem are good idea, I agree with you.

@gao-feng
[mrunal@dhcp-16-188 Images]$ file docker.qcow2
docker.qcow2: QEMU QCOW Image (v3),<PHONE_NUMBER>8 bytes

Does this not work for other types of hypervisor volumes?

@mrunalp  the source is not only the device path, but also the RADOS Block Devices (RBD) or something eles. had better to specify the volume type, this makes things simple.

@philips @wking @mrunalp  rebased, please check.

On Wed, Sep 09, 2015 at 11:20:51PM -0700, Gao feng wrote:

@philips @wking @mrunalp  rebased, please check.

What changed with 25c9f33 → e90fa6f?  It looks like your rebase picked
up #136 and #165, but didn't address whether or not we should be
overloading the ‘source’ field 1.

@wking Only rebase,  you can regard this as ping. :)

On Thu, Sep 10, 2015 at 07:28:05AM -0700, Gao feng wrote:

@wking Only rebase…

Ok.  e90fa6f still looks good to me (I'm agnostic on overloading
‘source’ vs. adding a ‘sourceType’ field).

I really like that virtual devices can suffice here, but this is so specific for VM and not kernel containers that it feels a bit like a one-off. I think something like this could be an annoations and use of life-cycle hooks.
I'm going to close this for the time being, until all minimal options are determined to not solve this.


k2 is leaking route53 zones

unsure when this happened, but k2 is now regularly leaking zones.  it only take a minute to clean them up but its a nuisance and a waste.

I'll look at this. I think I know why and have already fixed it.

This will be fixed with PR #172


Following the instructions, got errors

This is what I got after python3 files2rouge.py ../summary.txt ../ref.txt --verbose:
Counting lines...
Refs: 810 lines	Summaries: 6 lines
Process Process-7:
Traceback (most recent call last):
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap
    self.run()
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "files2rouge.py", line 137, in _producer
    q.put([line, ref, summ, get_rouge(ref, summ, score=self.score)])
  File "files2rouge.py", line 35, in get_rouge
    ROUGE_path=ROUGE_path, data_path=ROUGE_data_path)
  File "/Users/.../files2rouge/pythonrouge/pythonrouge.py", line 65, in pythonrouge
    output = subprocess.check_output([ROUGE_path, "-e", data_path, "-a", "-m", "-2", "4","-n", "3", abs_xml_path], stderr=subprocess.STDOUT)
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 336, in check_output
    **kwargs).stdout
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 418, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/.../files2rouge/pythonrouge/RELEASE-1.5.5/ROUGE-1.5.5.pl', '-e', '/Users/.../files2rouge/pythonrouge/RELEASE-1.5.5/data', '-a', '-m', '-2', '4', '-n', '3', '/var/folders/v4/vzt0mckn5zxgh70vbkx13pb80000gn/T/tmpeyd0wjw8/rouge.xml']' returned non-zero exit status 79.

Evaluated 0 ref/summary pairs in 0.295 seconds (0.000 lines/sec)
/usr/local/lib/python3.6/site-packages/numpy/core/fromnumeric.py:2889: RuntimeWarning: Mean of empty slice.
  out=out, **kwargs)
/usr/local/lib/python3.6/site-packages/numpy/core/_methods.py:80: RuntimeWarning: invalid value encountered in double_scalars
  ret = ret.dtype.type(ret / rcount)
ROUGE-1 (F): nan
ROUGE-2 (F): nan
ROUGE-3 (F): nan
ROUGE-L (F): nan
ROUGE-S4 (F): nan

Any idea?

Hey,
First, you don't have the same number of summaries & references
see at the begining of the log
Refs: 810 lines	Summaries: 6 lines

Also, you could try with python2. I'm not even sure if I tried with three because i set #!/usr/bin/python2


Raspberry Pi Emulation doesn't work

The raspberry pi 3b emulation in UTM is not available.
I try to boot it up , but it says 'libqemu-aarch64-softmmu.utm.dylib: Property 'raspi3b-machine.highmem' not found'
when I remove the 'highmem=off' from the config , it still can't boot up.

UTM Version: 2.0.28(28)
OS Version: macOS 11.2
Intel or Apple Silicon? Apple M1

config.plist.txt

I'm having this issue too with the same UTM version and macOS version but on an Intel Mac.

I'm having the same issue on my M1 Macbook with version 2.1.2 (31) On MacOS 11.4

I'm having the same issue on my M1 MacBook with version 2.2.4 (36) On macOS 11.6

Same here.

Me too.

+1

+1

+1


Why are you guys not adding targets from IT ARMY of Ukraine?

Question is in topic name.
I never see targets from https://t.me/itarmyofukraine2022 in your targets list. Please add targets from that telegram channel on every new message there!

Or give us ability to add targets ourselves

@opengs @Muronuch

Data with  sites is taken from here https://github.com/opengs/uashieldtargets/blob/v2/sites.json, I think you need to make suggestions there

Only 6 sites? wtf

Group of volunteers are working on targets. You are free to make suggestions. Please discuss this with "spotters" on our discord channel.
Also there are a lot of technical issues. Today they added targets <IP_ADDRESS> (21/tcp, 22/tcp, 80/tcp, 443/tcp, 67/udp) <IP_ADDRESS> (53/tcp, 53/udp, 67/udp) <IP_ADDRESS> (25/tcp, 53/tcp, 53/udp, 67/udp) <IP_ADDRESS> (113/tcp, 443/tcp, 500/udp) <IP_ADDRESS> (25/tcp, 53/tcp, 53/udp) <IP_ADDRESS> (113/tcp, 443/tcp) <IP_ADDRESS> (113/tcp, 443/tcp, 500/udp)  <IP_ADDRESS> (113/tcp, 443/tcp, 500/udp) <IP_ADDRESS> (22/tcp, 80/tcp, 113/tcp, 4443/tcp) <IP_ADDRESS> (80/tcp, 113/tcp, 443/tcp, 500/udp) <IP_ADDRESS> (113/tcp, 500/udp, 520/udp/, 1144/udp)
But we cant add them. We have big international community. And they will ask us "what we are attacking?"
There a LOT more issue related to targets.
Targets are changed by script every 20 mins. Script is modified by community.


plugin batch/record remove

Codecov Report

Merging #169 (a4c85ce) into master (f0994db) will decrease coverage by 0.95%.
The diff coverage is 63.63%.

@@            Coverage Diff             @@
##           master     #169      +/-   ##
==========================================
- Coverage   67.10%   66.14%   -0.96%
==========================================
  Files          75       72       -3
  Lines        4909     4694     -215
==========================================
- Hits         3294     3105     -189
+ Misses       1217     1203      -14
+ Partials      398      386      -12

Impacted Files
Coverage Δ

plugin/database/pki.go
91.66% <60.00%> (ø)

plugin/database/db.go
40.54% <66.66%> (-8.11%)
:arrow_down:

plugin/link/httplink/httplink.go
67.85% <0.00%> (-3.58%)
:arrow_down:

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 f0994db...a4c85ce. Read the comment docs.


atomicbool EOF in comment breaks VS

atomicbool.hpp EOF is in comment & MS products freak out

I have no idea what you are talking about.
If there is an issue, please put up a pull request to address it.

https://github.com/KjellKod/g3log/pull/229


[cppdap] new port

[X] Changes comply with the maintainer guide
[X] The name of the port matches an existing name for this component on https://repology.org/ if possible, and/or is strongly associated with that component on search engines.
[X] Optional dependencies are resolved in exactly one way. For example, if the component is built with CMake, all find_package calls are REQUIRED, are satisfied by vcpkg.json's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxx
[X] The versioning scheme in vcpkg.json matches what upstream says.
[X] The license declaration in vcpkg.json matches what upstream says.
[X] The installed as the "copyright" file matches what upstream says.
[X] The source code of the component installed comes from an authoritative source.
[X] The generated "usage text" is accurate. See adding-usage for context.
[X] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[X] Only one version is in the new port's versions file.
[X] Only one version is added to each modified port's versions file.

Thanks @dg0yt , I hope I addressed your feedback.  Let me know if there's anything else you need.

You said 'no' to "The generated "usage text" is accurate."; can you fix it to be correct? See https://learn.microsoft.com/en-us/vcpkg/maintainers/handling-usage-files for additional context

@BillyONeal

You said 'no' to "The generated "usage text" is accurate.";

I hadn't yet verified the generated usage text when I opened the PR, but I can confirm it is accurate.  I checked the check box now.

Thanks for the new port!


[astgen] A smattering of ASTGen fixes.

Based on #61811 (also to make merge conflicts fewer and easier)

@swift-ci please smoke test.


Exporter::svg_path() reported to not be closing paths

Exporter::svg_path() reported to not be closing paths. - "exporter.rb", line 151
REF: https://forums.sketchup.com/t/eneroth-svg-exporter/174017
I think that (contrary to what the OP said in post 3 of your forum topic,) line 169 should remain as is.
Line 155 should become ...
   end.join(" ") << " Z"

... so that each loop tells the SVG path to close as it is processing faces (which are a set of closed edges.)
Then d_inner should begin with a space if there are inner loops, so line 165 should insert a leading space like:
     d_inner[0] = " M"

And again, each inner loop should close it's corresponding SVG path, so line 164 should be:
     end.join(" ") << " Z"

Fixed. Awaiting EW review now.
Thanks for logging.


WIP: mutable user eval test

Motivation for this change
Another user  got locked out by setting mutableUsers to false... This extends the  check, and adds tests for it. Yikes!

Is this still WIP?

Currently this PR performs tests purely based on the state of configuration, without access to actual disk. This means it won't be able to work accurately for #4990 in a corner case if a users.extraUsers.<name>.passwordFile is pointing to a path which has a symlink in it. I think it means that a VM-based test for #4990 will still bring some value.


test

2

I very much like this! Can you clarify what's the difference between tvm-hexagon/branch vs tvm-hexagon/pr_head? My guess is that this exists only here because you're using a TVM branch instead of your fork?

The branch vs pr-head is happening since jenkins is seeing this PR from two sources, one for the branch in the driazati/tvm repo and one for the PR #38. For PRs from forks there is only the pr-head job, but there's not an easy way to get jenkins to skip scheduling the pr-head job altogether when an in-repo branch is used to make a PR. (this is the same as the current setup BTW, hopefully something we can eventually address since it is a bit confusing)


Unresolved dependency:  nl.thijsbroersen#scala-js-leaflet;0.2

Hi
I'm getting this error when adding " nl.thijsbroersen" %% "scala-js-leaflet" % "0.2" to the libraryDependencies.
Is your project available from one of the default sbt repositories?

Not really yet! I have it on jitpack but because I use a custom domain/organization it messes up the group name (it adds the project name to the group name). Haven't figured it out if this can be solved. I will try to publish it soon in sonatype, just need to setup Travis.
Meanwhile you can publish it locally with sbt publishLocal. Same goes for the '-plugins' project. Just don't forget to include the individual js-sources to your webapp manually. I always like to load resources with SRI instead of building one big js-app.

Great, I managed to import the dependency using publishLocal, thank you.
I've had to modify the declaration to "nl.thijsbroersen" %%% "scala-js-leaflet" % "0.1"  though.
Publishing this package could be very useful since there is no other up-to-date Leaflet facade available (cibotech/leaflet-facade is outdated and archived).

I must have forgotten to push a tag


Changes to improve documentation

[X] Custom Data Loader and Data Reader
[x] Nvidia DALI data loader support
[x] Validation to check core affinity
[x] Multi threaded workers to support data parallel training.
[x] Restructure the reader part. reader
[x] Added dlio_profiler support
[x] Changes in software packaging

@zhenghh04 I think there is a problem with our setup on read the docs. I am able to see the docs for PR on my other repos.

@hariharan-devarajan This is ready for review and merge?

Yes


6.0

d3-array

Add d3.group.
Add d3.groups.
Add d3.rollup.
Add d3.rollups.
Add d3.bin.
Add d3.count. Thanks, @Fil!
Add d3.least.
Add d3.leastIndex.
Add d3.maxIndex.
Add d3.minIndex.
Add d3.quickselect.
Rewrite d3.median to use quickselect.
Allow more than two iterables for d3.cross.
Deprecate d3.scan; use d3.leastIndex instead.
Deprecate d3.histogram; use d3.bin instead.

d3-collection [Removed!]

Remove d3.keys; use Object.keys.
Remove d3.values; use Object.values.
Remove d3.entries; use Object.entries.
Remove d3.map; use Map.
Remove d3.set; use Set.
Remove d3.nest; use d3.group, d3.rollup, etc.

d3-delaunay [Added!]

Add d3.Delaunay.

d3-force

Add support for iterables.

d3-hierarchy

Add node.find.
Add node[Symbol.iterator].
Add support for iterables.
Pass index to node.each and other traversal methods.

d3-random

Add d3.randomInt.
Add d3.randomBinomial.
Add d3.randomGeometric.
Add d3.randomPareto.
Add d3.randomBernoulli.
Don’t wrap Math.random in the default source.

d3-shape

Add support for iterables.

d3-scale

Add support for iterables.
…

d3-selection

Change selection.on to pass the event.
Remove d3.event!

d3-transition

Change d3-selection to be a peer dependency.

d3-voronoi [Removed!]

Remove d3.voronoi; use d3.Delaunay.

Upgrade:

[x] d3-array
[ ] d3-axis
[ ] d3-brush
[ ] d3-chord
[ ] d3-color
[ ] d3-contour
[ ] d3-dispatch
[ ] d3-drag
[ ] d3-dsv
[ ] d3-ease
[ ] d3-fetch
[x] d3-force
[ ] d3-format
[ ] d3-geo
[ ] d3-hierarchy
[ ] d3-interpolate
[ ] d3-path
[ ] d3-polygon
[ ] d3-quadtree
[ ] d3-random
[x] d3-scale
[ ] d3-scale-chromatic
[ ] d3-selection
[ ] d3-shape
[ ] d3-time
[ ] d3-time-format
[ ] d3-timer
[ ] d3-transition
[ ] d3-zoom

I’m thinking maybe we don’t need to do a major version bump across all the modules just for the sake of announcing ES2015 syntax adoption. We could bump those modules as necessary when we make changes that benefit from ES2015 syntax, and then the d3 package could use a version range (e.g., 1.1.0 - 2).

Really looking forward to 6.0!

I'd be interested in trying out a pre-release of 6.0, similar to the 5.0 prerelease.
Might this be in the realm of possibility? Anyone else interested?
Also noticed that d3-array quantileSorted is done and can be checked off.

We at dc.js are planning to switch to the individual D3 modules in order to test against 6.0 before it’s released. But I agree, a release candidate would give us more certainty that we’re testing the right thing.
For us, the d3-selection changes may have the biggest impact - iterators etc. I don’t think those changes have started yet.

There’s a two branch in d3-selection and d3-transition, but the removal of d3.event hasn’t been implemented yet which is blocking the release of those modules.

d3.event removal has been implemented, and 2.0.0-rc.1 releases for d3-selection and d3-transition if you want to try them out!
It looks like the major thing blocking this release is now just the adoption of iterables in d3-hierarchy and d3-shape. A major part of this release is the adoption of new ES language features including iterables, so d3-hierarchy and d3-shape should be upgraded before we release. The other relevant modules (d3-array, d3-selection and d3-scale) have already been upgraded.

I’ve implemented iterables for d3-hierarchy and d3-shape, so major releases of those modules should be imminent.
The last remaining step is to upgrade d3-brush, d3-drag and d3-zoom to the d3-selection changes, and specifically the removal of d3.event, d3.customEvent etc.

d3-hexbin has PR https://github.com/d3/d3-hexbin/pull/19 that does:

canvas support
incremental binning (add and remove points)
hexgrid rotation and translation
finding the bin from coordinates without adding the point

I think I want to give d3-hexbin a little more time to “bake” and we should consider deferring its addition to 6.1. I haven’t had a chance to review the proposed API changes yet. There is other blocking work for 6.0 that needs to be done first, as well, notably upgrading d3-brush, d3-drag and d3-zoom to d3-selection 2.0 (namely the removal of d3.event and related changes).

How long before 6.0 becomes available?

HI great work
this 6 version will have heavy breaking change ?
(little bit worry to change a lot of code ...)

https://github.com/d3/d3/releases/tag/v6.0.0


Set of visualization utilities

Tensorflow.js has tfjs-vis, this is a small set of visualization utilities.
A very handy way to set up graphs to see how well your training is going.
Demo here:
https://storage.googleapis.com/tfjs-vis/mnist/dist/index.html
It would be great to see Carrot support something similar.

On this vein, I thought this was something interesting to potentially model in the future: https://www.youtube.com/watch?v=3JQ3hYko51Y
...or some comparable CSS animation of network activations.

https://github.com/alexlenail/NN-SVG


feat: add peer bandwidth bundle

Not styled properly, just functionality. Ready for a review.
N.B. It could probably use some performance tweaking, but I think really what needs to happen is a better API. We can't do a single call to get a list of current bandwidth usage per peer so we have to update one by one, and for 800+ nodes that's a lot of API work. I'm open to suggestions!

👀

@olizilla is good for merge?


No card type configured.

Describe what is wrong
On Lovelace Card I got 'No card type configured.'
YAML configuration

- type: 'custom:battery-state-card'
  title: Custom color thresholds
  thresholds:
    - value: 35
      color: '#8fffe1'
  entities:
    - entity: sensor.bathroom_motion_battery_level
      name: Bathroom motion sensor

Screenshot
https://pasteboard.co/JeyPXdt.png
https://pasteboard.co/JeyQaRE.png
Version
1.4.0

When you use the UI editor you should not use dash and indent. Please try to below code:
type: 'custom:battery-state-card'
title: Custom color thresholds
thresholds:
  - value: 35
    color: '#8fffe1'
entities:
  - entity: sensor.bathroom_motion_battery_level
    name: Bathroom motion sensor

i'm so stupid. sorry, of course this is the solution


Make another local change

After making a change to the wiki using the GitHub UI, let's see what happens when we merge this and potentially cobbler it.

So in the Wiki repo, the local change was clobbered (which is fine?):
commit 220197204f078628697d10feda8a350b9fead614 (HEAD -> master, origin/master, origin/HEAD)
Author: github-actions[bot]<EMAIL_ADDRESS>Date:   Tue Jun 20 02:34:40 2023 +0000

    Update wiki 7b36a4f03dd303d76872d26e0e28f528521b18ce

diff --git a/Home.md b/Home.md
index 7417485..26878a6 100644
--- a/Home.md
+++ b/Home.md
@@ -7,4 +7,4 @@ wiki repo.

 What happens when someone uses the GitHub UI to edit a document?

-This sentence was added using the GitHub UI.
\ No newline at end of file
+This edit will probably overwrite the edit I made using the GitHub UI.


Export Box

Export our first primitive component Box so that users can use it to make simple containers with our token styles.
Evaluate if we would want to solve #1124 for Box as supporting correct callback types might be beneficial for this component.

Evaluate if we would want to solve https://github.com/digdir/designsystem/issues/1124 for Box as supporting correct callback types might be beneficial for this component.

@mimarz  I need some examples of when you'd use asChild on Box before evaluating if we should have callback types or not


I am transcribing stereo (2 channel) audio using streaming api but not seeing channel id in results

I am using the Streaming API from a C++ client and am sending two-channel stereo (ie interleaved) audio, ie:
auto format = AudioStreamFormat::GetWaveFormatPCM(8000, 16, 2);
...
m_recognizer->StartContinuousRecognitionAsync()

I seem to be getting transcripts from both channels, however without a channel identifier, e.g.:
{
	"Id": "b74e804cdb114431b4090c2e9ccf08e0",
	"RecognitionStatus": "Success",
	"Offset": 56100000,
	"Duration": 3000000,
	"DisplayText": "Hello.",
	"NBest": [{
		"Confidence": 0.961073,
		"Lexical": "hello",
		"ITN": "hello",
		"MaskedITN": "hello",
		"Display": "Hello."
	}, {
		"Confidence": 0.31735474,
		"Lexical": "helo",
		"ITN": "helo",
		"MaskedITN": "helo",
		"Display": "helo"
	}, {
		"Confidence": 0.66058266,
		"Lexical": "hello i",
		"ITN": "hello i",
		"MaskedITN": "hello i",
		"Display": "hello i"
	}, {
		"Confidence": 0.65485597,
		"Lexical": "hello do",
		"ITN": "hello do",
		"MaskedITN": "hello do",
		"Display": "hello do"
	}, {
		"Confidence": 0.68473476,
		"Lexical": "hello my",
		"ITN": "hello my",
		"MaskedITN": "hello my",
		"Display": "hello my"
	}]
}

Is there a property or configuration setting I am missing?

The streaming SDK API's don't split the recognition by channels. If you need that functionality, the Batch API's can do so.
You can find out more about them at https://docs.microsoft.com/azure/cognitive-services/speech-service/batch-transcription

ok, thanks.


Call for resources/application.wadl can hang

Call for resources/application.wadl can hang. Setting property  jersey.config.server.wadl.generatorConfig to any class implementing WadlGeneratorJAXBGrammarGenerator solve the issue.

This is a Jersey issue, so fixing it here is an enhancement :)


Implemented optimised versions of LengthFieldBasedFrameDecoder and FixedLengthFrameDecoder

Motivation:
According to performance tests, LengthFieldBasedFrameDecoder and FixedLengthFrameDecoder generate a lot of garbage as well as perform quite poorly in cases where clients send data at a very high-speed rate.
Modifications:

Introduce a base class which implements batching of all incoming ByteBuf messages as well as provides a convenient API for decoding the resulting chunk of data
Introduce an optimised version of LengthFieldBasedFrameDecoder - BulkLengthFieldBasedFrameDecoder
Introduce an optimised version of FixedLengthFrameDecoder - BulkFixedLengthFrameDecoder

Result:
BulkLengthFieldBasedFrameDecoder and BulkFixedLengthFrameDecoder will provide much better throughput and lower latency as compared to LengthFieldBasedFrameDecoder and FixedLengthFrameDecoder
This PR is related to #5280

That's weird. Netty resource leak detector keeps pointing at places where I write buffers to the channel. The thing is - those buffers are actually released in the decoder's channelRead method.

sorry for the delay... will check soon.

@normanmaurer ping.

Sorry had no time yet... will try to review today or you think its not a good idea anymore ?

@maseev is there a problem with the decoders?


Adding Tag is insane

Recommend to support to add 1 tag, or support JSON input for the --tags.
Here is the current script to add one tag.
NEW_TAGS=$(az storage account show -g "$resourceGroup" -n "$storageAccount" | jq -r "[.tags + {\"$key\": \"$value\"} | to_entries | .[] | if (.value | contains(\" \")) then .key + \"=\\\"\" + .value + \"\\\"\" else .key + \"=\" + .value end ] | join(\" \")")
CMD="az storage account update -g $resourceGroup -n $storageAccount --tags $NEW_TAGS"
eval $CMD

Do you have any recommendation?

Hi @robbiezhang the --tags option does replace tags entirely. What you are trying to do is certainly possible using the generic update commands... the problem is, storage account update doesn't expose those!  When it does, the command would be:
az storage account update -g {rg} -n {sa} --set tags.key=value
This will preserve your existing tags and simply add to them (or overwrite that key if it already exists).

Hi Travis, thank you for the quick answer! One more question: What's the syntax for value of --set? What if the 'key' is not a valid property name, e.g. my-tag-1. Can I use --set tags["my-tag-1"]=value?

For set, it should see that tags is a dictionary and you would still use --set tags.my-tag-1=value. If it doesn't, then that would be a bug.


⚠ Bofrost.de has degraded performance

In b33f328, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1852 ms

Resolved: Bofrost.de performance has improved in a0a4c66 after 305 days, 2 hours, 0 minutes.


enumerate institutions like EMSL

What are the permissible values?
Where are they being collected in the submission portal?
CC @SamuelPurvine @mslarae13

So, currently, the values that should be enumerated would be

Joint Genome Institute
University of California, San Diego
Environmental Molecular Sciences Laboratory

Montana and you would be the ones to know where in the submission portal it is, though your question implies we aren't collecting submitting institution as a value?
I didn't manage to capture the web link Chris put in the zoom chat the other day regarding where "we" might look to find the official names of institutions, but using such a list to populate the enumerations for the institutions would make the most sense to me...

src/schema/nmdc.yaml in https://github.com/microbiomedata/nmdc-schema/releases/tag/v5.0.4 contains some institution enums
still need to

[ ] set range of (omics processing).processing_institution.omics to processing_institution_enum
[ ] re-merge and release
[ ] do a change sheet to update MongoDB
[ ] write some tests (step 0!)

processing_institution_enum:
  name: processing_institution_enum
  comments:
  - This will become the range of processing_institution.omics processing
  - use ROR meanings like https://ror.org/0168r3w48 for UCSD
  from_schema: NMDC_enums_roundtrip
  permissible_values:
    University of California, San Diego:
      text: University of California, San Diego
      meaning: https://ror.org/0168r3w48
    Joint Genome Institute:
      text: Joint Genome Institute
      meaning: https://ror.org/04xm1d337
    Environmental Molecular Sciences Laboratory:
      text: Environmental Molecular Sciences Laboratory
      meaning: https://ror.org/04rc0xn13
      comments:
      - replaces Environmental Molecular Science Laboratory
      - replaces Environmental Molecular Sciences Lab


worspaces are not synced?

Visual Studio Code Version :  1.18.1
Code Settings Sync Version : 2.8.6
Operating System : macos
Occurs On: Upload
Proxy Enabled: No
GIst Id:
I cannot see how to make workspace-settings synced somehow or i did probably missunderstood the feature? I saved my workspace under ~/Documents/vs-workspaces/<>, but there is nothing about that in the syncs.
I have posted frequently asked questions on
http://shanalikhan.github.io/2016/11/07/visual-studio-code-frequently-asked-questions.html
so you may able to resolve the error quickly.
Please make sure to write the versions and console logged error picture or copied text

Settings Sync dont sync workspaces.

@shanalikhan

not sure how to understand that in the docs? could you shortly explain?

It means workspace storage folder inside User folder as written above all extension and complete User folder

could you put the difference between those in short words, google did not exactly help me on that. What is stored in the workspace_storage ?

It stores some internal settings for work spaces, u need to check them though.
Sure, i will put it, also i am always looking to improve documentation for users to understand in configuring and work of extension. Feel free to send a pull request where ever you need is possible.

@shanalikhan is there a way to sync workspace settings as well maybe if we can put all .code-workspace files in a specific location. vscode allows workspace files to be present anywhere not just inside the workspace. It would be awesome to sync workspace settings as well.

I came here looking for this..  I don't see how to do it..
what was the intent in this change from Workspaces to Workspaces Folder?
https://github.com/shanalikhan/code-settings-sync/commit/262d03c5ea8c03d9ecb9424d22658a118a7630b1#diff-04c6e90faac2675aa89e2176d2eec7d8R39


Add Microsoft VS Code OAS 3.0 extension

Thanks. The language column is intended to help users find projects written in particular languages (especially to find projects to collaborate on), so "Any" isn't really helpful, though I gather this project may be semi- closed-source (source available). Is TypeScript more appropriate?
I'm also hesitant to add projects which do not support OAS 3.0's requirement that both JSON and YAML forms be supported. I'm aware that this is on your roadmap.

Thanks, Mike! I've changed the language field as requested.
YAML support comes within days now - so feel free to wait a little. I will add a comment to this thread once the extension gets updated with the feature.

Hi, Mike, YAML support is in the extension now.

@MikeRalphson, anything else you need from me at this point to merge the pull request?
I have fixed the Language field, and we have added YAML support to the tool.

@MikeRalphson Is there anything preventing you from merging the PR now?
I can issue a new PR if that makes things easier. Just let me know.


Fix pedantic warnings

This PR fixes all warnings with -W clippy::pedantic except for the potential truncation/sign loss problems.

I squashed the three commits, it's still small and logically related enough AFAICT.

Thanks for your contribution!


Case sensitivity setting when extracting specific file

Given this code to extract ComicInfo.xml, from an archive, it is known that the filename will always be comicinfo.xml but the case is not known in advance.
// Read the archive file into a typedArray
const fileBuffer = await fse
    .readFile(filePath)
    .catch((err) => console.error("Failed to read file", err));
const extractor = await unrar.createExtractorFromData({
    data: fileBuffer,
});

const list = extractor.getFileList();
const listArcHeader = list.arcHeader; // archive header
const fileHeaders = [...list.fileHeaders]; // load the file headers

const extracted = extractor.extract({
    files: ["ComicInfo.xml"]
});
const files = [...extracted.files]; //load the files
console.log("asdas", files[0]);
return files[0].extraction;

How do I modify the code to extract all variations of comicinfo.xml (for e.g.: comicinfo.xml, ComicInfo.xml, comic_info.xml ?) Is there a regular expression I can use to match any variation?

@rishighan files can be a callback function to tell unrar Extractor if the file should be extracted, so you can do it in this way:
const extracted = extractor.extract({
  files: ({ name }) => name.toLowerCase() === 'comicinfo.xml',
});

Thanks @YuJianrong ! That was it!


Update and rename b1 submission space to submission

rejected:B1
It looks like you are trying to submit B1, however it seems like the following submission criteria are problematic:

Logs are missing
We’ve thus marked B1 as rejected, however if this is a mistake, please upload the log summary and we can re-review.


error auth api  and failed to send user verification

Hi, i have an auth problem every time i finish creating my account i can't log in.
I checked on the db also there is data.
Can you help me. thanks.

Hi @jams008, can you please show your config (with all sensitive information redacted)?

Hi,
Thank you for responding to me. i've found the cause after i use ENV flag from docker it can work fine.

but I encountered a new problem, I tried to send mail but it didn't work and the log status was error 500. I don't understand what that means? Is my account smtp the problem?

I would expect something with your SMTP config to be wrong. Maybe you have to switch TLS on / off? What is your mail provider?

okay, I'll try to recheck and I'll try to change the smtp provider for a trial.  currently i use self host mail server for smtp.
I am very grateful. I really appreciate your work

Hi, after I changed the SMTP account all went well. thank you


Con 4768

Coverage increased (+0.1%) to 34.38% when pulling 3a6a5fcf56d8b93d8b99c880c19271f1f372b3a0 on CON-4768 into d140fd4c287f3e3e84c621eb2b45d986cd69c24d on master.

Coverage increased (+0.1%) to 34.386% when pulling a5319b25af36a2276b45575ca7813304fcdb1bf1 on CON-4768 into d140fd4c287f3e3e84c621eb2b45d986cd69c24d on master.

Coverage increased (+0.1%) to 34.38% when pulling<PHONE_NUMBER>cabd568f06e9994e3d6fdd6fa14138 on CON-4768 into d140fd4c287f3e3e84c621eb2b45d986cd69c24d on master.

Coverage increased (+0.1%) to 34.38% when pulling 2765ebf1f265dc96f75f61ac771f4af7bb82ef88 on CON-4768 into d140fd4c287f3e3e84c621eb2b45d986cd69c24d on master.

Changes Unknown when pulling 21ab2be01546751f722382f44cd5c29cf2656496 on CON-4768 into ** on master**.

Coverage increased (+0.7%) to 35.351% when pulling 3a0973d0bec072283c4cf422bb44399199e5a60d on CON-4768 into cef9f4ef70d483d917a035eac07ac6ea7cc1da49 on master.


Bump to version 1.0

@homu r+

:pushpin: Commit 4ba1dce has been approved by badboy

:hourglass: Testing commit 4ba1dce with merge 1a2d676...

:sunny: Test successful - status


[DOC] Codebase walkthrough with Vector add example

The first stab at #2160.
@tqchen @yzhliu @merrymercy @Ravenwater please review.

@vinx13 Thanks. Fixed.

Would probably be good to port this to Relay soonish too. One of the Relay developers can probably manage that though, I will add a note to the tracking issue.


git-elegant-configure:37-37: Add usage message if mandatory...

The puzzle 9-dbf97594 (from #9) in src/main/git-elegant-configure (lines 37-37) has to be resolved: "Add usage message if mandatory argument is not set for git-elegant configure."
The puzzle was created by Dmytro Serdiuk on 23-Aug-17.
Estimate: 0 minutes, role: IMP.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

Irrelevant issue.


HA Registry / Distributed Storage Driver

Hello,
I have 100 bare-metal servers on an air-gapped network running Docker v1.10.3 and configured to use a local registry deployed on one of these servers. A lot of network strain is observed on this box when concurrently pulling images.
To alleviate this, I am pursuing a distributed deployment of the registry server. I only need to support a small set of images (<100) which requires a small amount of storage, ~10GB. What I want to do is run a registry container on every node, configure each docker daemon to only communicate with the local registry instance, and then set my storage backend replication factor to something high like 50 or maybe even 100. The distributed object store would also need to be containerized.
I see that Docker provides a handful of storage drivers, ranging from local filesystem to cloud storage. For my use case, swift looks like the only viable option, but I know nothing about this project. I've also considered a distributed file system, but finding a solution that can be containerized and provides tunable replication has proven difficult.
I haven't found much documentation on HA docker registry deployments, so I suppose my question is, am I on the right path? Are there any gotchas or special configuration required to make this design a reality?
Cross-posted on the distribution forum.

hi @LLParse .  You are on the right lines: generally registry instances scale out horizontally and lean on the backend for throughput along with storage redirects to offload data transfer to CDNs.
Swift is certainly an option.  It's an internally deployable distributed storage system with configurable replication and there are containerized versions of it (I use aerofs/swift for my testing).  However, it's a big dependency and should be investigated prior to use.  If you are changing your replication factor often or adding/removing nodes then there will be some amount of data copying as the hash ring is adjusted.
Given that you have a small (immutable?) data set I wonder if you could use the filesystem driver.  One way to do this is to use a data volume ) containing your data and accessed through the filesystem driver.  I would expect the linux page cache to fill up nicely for a performance boost, though on the downside you would be deploying a 10GB container per machine and your data replication rate would be non-configurable.   You would be paying the network cost at deployment time.

Hi @RichardScothern, thanks for the quick response! I have a better understanding of my options and what I might need to do.


Player Flying

When Ever I Press The Game Button My Rig Flys Like Its In 0 Grav Can Any1 Help??

also my blender imports don't have colliders if anybody can help with that lol


remind at a specific time

Suggested by @KobayashiRo at https://github.com/cg-cnu/vscode-remind-me/issues/1#issuecomment-336186981

may be you can add keyword like at .
e.g watch tv at 22:00
and it will remind me at 22:00

I 'm fork the code and add the specific time remind..
hahaha....
just only check the last word  indexof :

That's wonderful!  👏
Just a small suggestion. Let's use @10a or @10p as the convention rather than :. I feel its more natural 🙂  So, if the syntax is meeting @4p - set the reminder for 4pm. If meeting 4 - set the reminder for 4 mins from now
Let me know what you think 😄

er...  if i wanna remind me at  10:30  so  ... it's @10a30 ?

Alright this might become confusing real soon.... what you said make sense. I don't want to make this tedious for people, it should be a quick and easy to remember. Lets try to balance the features and a simple syntax to remember.
To register a reminder from now...
4.5h -> Remind me four and half hours from now
10m -> Remind 10 minutes from now
Only support hours and minutes ?
To register a reminder at a specific time...
4:30p -> Remind at 4.30 pm
11:45a -> Remind at 11.45 am
Only support 12 hour clock with am and pm ?

Hey @KobayashiRo are you still interested in working on this ?

The full useful of this extension will bw when i can quickly say to vscode remind me do something in HH:MM o'clock.
So i'm want this feature, even right now :)

Hey guys! Sorry for delay but the latest version of the extension is a complete rewrite which uses sherlockjs for even parsing. Now you can use natural language to event reminders. Let me know if you got any feedback!

There is bug. Right now local time is morning 10:53. I enter value "test at 10:59" and get response "test in 12 hours". Than I enter "test at 11:00" and get response "test in 6 minutes". Only last behavior is correct.
I play some another values to understand that is a really error.

Hey @EvgeniyMakhmudov I did checked it, looks like if you are not provide am or pm its getting confused based on the local time. This is an issue with the upstream sherlockjs module. I will talk to them and get it clarified. Thanks for your inputs!

Needed to understand that not all counties in a world used  AM/PM notation. For example i am from Russia ans we used 24 hours clock format.
It's will be good that can be possible used 24 hours. Even if will be needed setting for this.

Sure @EvgeniyMakhmudov That's a valid point! I am talking to the sherlock developer, will update once I have input from him. Thanks for your ideas and inputs! 😃

Hi @EvgeniyMakhmudov Sorry for no reply. I did couple of tests and its working as expected even with the 24 hours notation and AM/PM. Here are the samples..
current time is 05:30 pm

test at 5:35 > 'test' in 5 minutes
test at 17:35 >  'test' in 5 minutes
test at 22:15 > 'test' in about 5 hours

I am going to write some test cases for these. Thanks! Let me know if you are still having trouble with this.

Hello, i try to test it. And everything looks as worked.


Don't default to a timestamp with precision for Postgresql (or at least allow turning off behavior)

Is your feature request related to a problem? Please describe.
When declaring a Date column, mikro-orm generates a timestamptz(0) for postgresql. This is wrong and should not be the default. What's worse, there is no way to explicitly set this to null. In @Property, length can't be set to null, and if  undefined is passed in, it gets interpreted as 0.
Describe the solution you'd like
The default should be timestamptz without any precision. Only set a precision if the user passes in a length to column properties.
Describe alternatives you've considered
If there's some alternative opinions and folks feel that timestamptz(0) is an acceptable default, at the very least, setting length to null should be possible, and should result in a generated type of timestamptz. Always forcing the use of a precision seems to incorrect regardless of what the default is.
Additional context
I can submit a PR to implement the above. I'd switch the logic in https://github.com/mikro-orm/mikro-orm/blob/master/packages/postgresql/src/PostgreSqlPlatform.ts#L40 to the reverse (only set the precision if length is not null), and would change the logic here to to not default to 0 if platform == postgresql.

What's worse, there is no way to explicitly set this to null.

You can use columnType to override anything, it is always used as is (so length is not taken into account).
@Property({ columnType: 'timestamptz' })
date: Date;

Changing this is imho quite breaking, but v6 development already started, so we can do it there.

Oh, columnType works. thanks!
Do you want me to submit a PR against he v6 branch?

Sure, PR welcome

Closed via #3832


Some JS events are being dispatched as Royale events but received as native events

Examples are emulation IndexChangedEvent which has a 'change' type and is being sent via the browser dom. This is likely for all sub-classes that have event type names that mean they are routed through the browser dom.
If a Royale event is dispatched, that is what the listener should receive.

Maybe you should add a test that a browser event on an element remains a browser event?

Maybe you should add a test that a browser event on an element remains a browser event?

Not sure what you mean... how could it be otherwise? By browser event, you mean the native JS 'Event' or 'KeyboardEvent' etc, right? I don't think you can dispatch anything in dom that is not of these known types...

Not sure what I mean either, but what happens if it's supposed to on the element and not on the Royale component? Not sure if it makes a difference.

At the moment there are conversions from browser events into Royale events based on constructor name for things like MouseEvent, KeyboardEvent. These probably only work for browser/user generated events I think.
And for outbound events (dispatched manually from Royale code), if they have an event-type name that is also 'native' (like 'change' or 'mouseup' for example) they are created as native browser events (always 'Event', never anything specific like 'MouseEvent' in this case I think) and sent through the dom. I don't know whether this approach is needed in all cases to create expected behavior or state change in native browser components for example, but that is how it is done currently, and I assume that is the reason behind it. And I haven't changed this behavior. I just added the Royale event to tag along with the browser event so that it can be retrieved for its royale listeners in the listener override.


Static Order for Tooltips in XP/Gold Graph

fixes #1078
https://github.com/odota/ui/issues/1078
C3 has an internal tooltip order function that gets run unless defined via the order key. I'm open to suggestions on how to identify if it's a gold/xp graph since the function is in a closure without access to the drawGraphs props argument. For now, I think it's an ideal solution for something like this.

@howardchung Updated


Add doc for TestBinder

This resolves #451

Hi Ilaya - edited this a little bit, can merge if you agree: https://github.com/mbogoevici/spring-cloud-stream/commit/eb45e4daf47b2dd0c36f29342b6f3d6fea96e2e6

@mbogoevici  that looks great!

Closed via https://github.com/spring-cloud/spring-cloud-stream/commit/7893904e0147cb890e7e2a503618f8a6109601f6


Screenshots misleading?

In the example there are _img and _shared folders. However, they are not shown in the screenshots of the wiki. Are they somehow hidden? Or just not visible on the screenshot?
We would love the ability to hide certain folders!
Also are the icons in the wiki screenshots up to date?

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

ID: 172eecd7-1a6b-30d0-96c0-fa6ae56b521c
Version Independent ID: adc2c741-a41f-68d9-cdaf-dac696e68b9f
Content: Clone and update wiki content offline - Azure DevOps
Content Source: docs/project/wiki/wiki-update-offline.md
Product: devops
GitHub Login: @chcomley
Microsoft Alias: chcomley

Hi @dvdgutzmann, The _img and _shared folders just weren't visible in the screenshot, however I've just pushed a new replacement shot, which includes those folders. Thanks for the heads up on that, as well as the icons, as those screenshots have been replaced also. The updates should be live by sometime this afternoon or early morning tomorrow.
If you want to suggest a feature, please do so! Go here: https://developercommunity.visualstudio.com/spaces/8/index.html
Thanks again!


Refuse empty user answers

Current Behavior:

User can submit empty values and the app process them as empty strings.

Expected Behavior:

When entering prompted information, the app should reject empty values.

Possible Solution:

Add validation to the inquirer prompts.

Used inquirer's validate function to return false when the user input is empty for any given question, making inquirer ask the question again to the user.

Used inquirer's validate function to return false when the user input is empty for any given question, making inquirer ask the question again to the user.


fix #9 -  elements overrides were ignored

basic fix for #9. disclaimer: this was a quick fix, feel free to close if this has a larger impact than intended.

@aeroheim Sorry for late response here, I have published 3.1.2 with a fix here. Had to do it a little bit differently, but it should be working now :-)


CPU Frequency calculation is broken over 1GHz

I thought it was maybe overflowing so I made the types larger and it was still doing it, so not sure.

Fixed by https://github.com/Ryzee119/LithiumX/commit/5393c35c32bc11b7f46006c2fb646c4e3018ebca
Oversight by me in my hack to get decimals without %f. I just knocked off the decimals and its displayed as an integer now

Thanks!


Record multiple HTTP requests in one function

@vcr.use_cassette('responses/nearby_search.yaml')
def test_nearby_search():
    params = {
        "lat": 25.07663550005113,
        "lng":<PHONE_NUMBER>5096043,
        "radius": 1000,
        "type": "restaurant",
        "language": "zh-TW",
        "include_static_map": False,
        "include_interactive_map": False
    }

    res = gmaps.nearby_search(**params)
    assert res["message"] == "20 result(s) yielded."

gmaps.nearby_search here contains nested HTTP request and nearby_search.yaml also records all the requests.
But when I run pytest offline, the test failed.
Is there any other way to record multiple HTTP requests and replay them when testing offline? Many thanks!

Hi @NiCkWKT,

Is there any other way to record multiple HTTP requests and replay them when testing offline?

Recording multiple HTTP request in a single cassette is expected to work out of the box. I verified locally using this code:
import vcr
import urllib.request

with vcr.use_cassette('fixtures/vcr_cassettes/synopsis.yaml'):
    for _ in range(2):
        response = urllib.request.urlopen('http://www.iana.org/domains/reserved').read()
        assert b'Example domains' in response

This will record two requests and their responses:
# grep request: fixtures/vcr_cassettes/synopsis.yaml | wc -l
2

But when I run pytest offline, the test failed.

What is the backtrace, Python version, VCR.py version and operating system in this context?

I am testing under a conda environment
Python 3.9.16
vcrpy 4.3.1
OS: macOS 13.4 22F66 x86_64
There are 3 http requests when calling gmaps.nearby_search. For the first 2 requests, the info can be retrieved offline when I look at the log. But for the last one, here is the error log.

Relevant code:
  def get_place_details_n_photos_in_threads(self, thread_args: list, places: list, language: str):
      threads: List[threading.Thread] = []
      for i in range(len(thread_args)):
          place_id = thread_args[i][0]
          photo_reference = thread_args[i][1]
          t = threading.Thread(target=self.get_place_details_n_photos, args=(
              place_id, photo_reference, places, language, i))
          t.start()
          threads.append(t)
      for t in threads:
          t.join()

  def get_place_details_n_photos(self, place_id: str, photo_reference: str, result: List[dict], language: str, idx: int):
      # Google Place Details API by place_id for address, opening_hours, phone_number, google_map_url and website
      details = self.get_place_details(place_id, fields=[
                                       'formatted_address', 'international_phone_number', 'opening_hours', 'url', 'website', 'utc_offset'], language=language)
      phone_number = details.pop(
          'international_phone_number', '').replace(' ', '')
      details.update(
          {
              'address': details.pop('formatted_address', None),
              'google_map_url': details.pop('url', None),
              'phone_number': phone_number if phone_number else None
          }
      )
      result[idx].update(details)
      # Google Place Photos API by photo_reference for photo url
      photo_url = self.get_photo_url(photo_reference)
      result[idx].update({'photo': photo_url})

Is it because I do it in a multithreaded way? Is there any way to resolve this error?
Thanks a lot

Hi @NiCkWKT,
thanks for elaborating! My understanding is that:

to VCR.py order of request matters, and
use of multi-threading means that request order is by design not stable.

What I would personally do or consider is:

a) separate threading from the actual work and test get_place_details_n_photos in isolation or
b) make get_place_details_n_photos_in_threads work sequentially rather than with threads when under test
c) mock away the network access when testing for the threading aspects of get_place_details_n_photos_in_threads e.g. using unittest.mock.patch

What do you think?

So VCR.py will playback HTTP requests sequentially. right?
Probably I would go for removing threading under test
Thanks for your guidance!!!


layerdiffuse not generating transparent image. (reForge)

https://github.com/user-attachments/assets/7c5ef8ca-1745-4756-be5f-eefcacf929ff

It's a ReForge problem.


Initial release

Shjould work :-)
Copied another which does

So this is not supposed to install to GameData/ContractPacks/Spacetux like your other contract packs? Just making sure before merging :)

Ummmm, oops
Yes it is.  I must have make a typo.
Thanks for catching it
JBB
On 4/23/15 11:49 AM, Willhelm Rendahl wrote:

So this is not supposed to install to
|GameData/ContractPacks/Spacetux| like your other contract packs? Just
making sure before merging :)
—
Reply to this email directly or view it on GitHub
https://github.com/KSP-CKAN/NetKAN/pull/1001#issuecomment-95630983.

Fixed, thank you

This finished this morning, any idea when it will get into CKAN?

That something finishes just means that the bot found no errors. To get into CKAN someone has to merge it, something we do manually after making sure it works as it is supposed to. Like in this case I asked about the install stanza just to make sure that it was correct. Then I read the details of the bots build and shortly after writing this post I'll merge it into CKAN.

Ah, now I understand.
OK, thanks for the explanation.  I'll reduce my noise level :-)
and I did see that it finally got in, I saw it there last night.
Thanks
JBB
On 4/23/2015 7:27 PM, Willhelm Rendahl wrote:

That something finishes just means that the bot found no errors. To
get into CKAN someone has to merge it, something we do manually after
making sure it works as it is supposed to. Like in this case I asked
about the install stanza just to make sure that it was correct. Then I
read the details of the bots build and shortly after writing this post
I'll merge it into CKAN.
—
Reply to this email directly or view it on GitHub
https://github.com/KSP-CKAN/NetKAN/pull/1001#issuecomment-95746643.


141 create additional tests to increase code coverage to over 80

Added several tests for different methods in main to try to achieve 80% code coverage

82% coverage according to Jacoco report

82% coverage according to Jacoco report

Isn't that number for the total code coverage of the application while sonarcloud only reports coverage for any new code in this PR?

82% coverage according to Jacoco report

Isn't that number for the total code coverage of the application while sonarcloud only reports coverage for any new code in this PR?

Ah I missunderstood! I thought the issue about code coverage pointed to the overall point coverage.


Use application_version() to link back to repo

git_sha() is not necessary -- it's entirely possible to link back to Github using the application version.

Pull Request Test Coverage Report for Build 4f25475fb3368817312814e8d950025d54af1bdb-PR-1181

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

Totals

Change from base Build 28fe57154384261c60b608048e3ab43331f09880:
-0.02%

Covered Lines:
1199

Relevant Lines:
1808

💛  - Coveralls


Add change log file.

Hi, as I can see, you are carefully fill tags and labels for issues in your repo.
For such cases I create a github_changelog_generator, that generate change log file based on tags, issues and merged pull requests from :octocat: Issue Tracker.
This PR add change log file to your repo (generated by this script).
You can check, how it is look like here: Change Log
Some essential features, that has this script:

it exclude not-related to changelog issues (any issue, that has label question duplicate invalid wontfix )
Distinguish issues according labels:

Merged pull requests (all merged pull-requests)
Bug fixes (by label bug in issue)
Enhancements (by label enhancement in issue)
Issues (closed issues w/o any labels)

Generate neat Change Log file according basic change log guidelines.

You can easily update this file in future by simply run script: github_changelog_generator thoughtbot/factory_girl in your repo folder and it make your Change Log file up-to-date again!
Hope you find this commit as useful. :wink:

With the NEWS file, which provides an aggregated list of new features, and GitHub/Git providing the history captured here, I'm going to close this without merging.


Request: convert to Kotlin Multiplatform

Hi,
I'd like to use Parsus in a Kotlin/Native application (Windows/Linux/macOS). Since Parsus has 0 dependencies, I think this could be achieved with a minor code refactor, and updating the Gradle build config.
I've had a look at the codebase and from what I can see the only JVM specific dependencies are:

Matcher in RegexToken
https://github.com/alllex/parsus/blob/7185f7aec0871fe6241602997aebae064e151358/src/main/kotlin/me/alllex/parsus/token/RegexToken.kt#L5
The RegexOption flags (RegexOptions itself is multiplatform, but the COMMENTS and LITERAL options are JVM-only)
https://github.com/alllex/parsus/blob/7185f7aec0871fe6241602997aebae064e151358/src/main/kotlin/me/alllex/parsus/token/RegexToken.kt#L24-L26
AssertK is already multiplatform, so no changes are needed (except for changing the dependency)
https://github.com/alllex/parsus/blob/7185f7aec0871fe6241602997aebae064e151358/build.gradle.kts#L19
Replace org.junit.Test with kotlin.test.Test
https://github.com/alllex/parsus/blob/7185f7aec0871fe6241602997aebae064e151358/src/test/kotlin/me/alllex/parsus/Tests.kt#L13

I'm willing to make a PR, so if you're interested I can submit one and see what it looks like in practice.

Hey! Thank you for your interest!
I wanted to make Parsus multiplatform for a while, but never found the time. So please, go ahead with the PR!
After some recent refactoring, I've already changed testing annotations to kotlin.test.Test.
With regards to regex tokens, I think we can make the whole RegexToken an expected class and provide the implementations for each platform separately.


What's the purpose for the "half-budget" alarm?

We came across your module and implemented it. I'm now wondering what the purpose of the half-budget alert is, could you please elaborate?
I'll provide a PR to make the second (half-budget) alert optional.

It was for me to know when i was half way thru my budget


Fixed setup to be independent on the path of current virtualenv

I fixed the setup to be independent on your current path of virtualenv, with your username. If I reduced it too much then add again what is necessary for you please.
I expected that most of removed items are residues from experiments, until setup started to work for you.

Thanks!


Fix and enhance geometric node features

Reference Issues/PRs

Fixes https://github.com/a-r-j/graphein/issues/304
Fixes the case when beta-carbons or side chains are missing in non-glycine residues (for example in H:CYS:104 in 3SE8).
Fixes data types of geometric feature vectors. Now they are of type object, which breaks for example their smooth conversion to PyTorch tensors, when converting to PyG data.
Implements virtual beta-carbon vectors (used recently in ProteinMPNN and RFdiffusion). In the figure below real beta-carbon vectors are in green and the virtual ones are in red.

Minorly enhances the visualization of PyG data
Fixes add_k_nn_edges for the case when some residues were dropped before (e.g. when some alt_locs are removed). The code of add_k_nn_edges assumes the dataframe to have continuous index which is not true if some residues are dropped. For example the following line constructs continuous outgoing which are then used to index dataframe:
https://github.com/a-r-j/graphein/blob/371ce9a462b610529488e87a712484328a89de36/graphein/protein/edges/distance.py#L1127

I have also added the functionality to test whether a warning is raised by loguru according to https://github.com/Delgan/loguru/issues/59.
What does this implement/fix? Explain your changes
What testing did you do to verify the changes in this PR?
Pull Request Checklist

[x] Added a note about the modification or contribution to the ./CHANGELOG.md file (if applicable)
[x] Added appropriate unit test functions in the ./graphein/tests/* directories (if applicable)
[x] Modify documentation in the corresponding Jupyter Notebook under ./notebooks/ (if applicable)
[x] Ran python -m py.test tests/ and make sure that all unit tests pass (for small modifications, it might be sufficient to only run the specific test file, e.g., python -m py.test tests/protein/test_graphs.py)
[ ] Checked for style issues by running black . and isort .

Codecov Report
Patch coverage: 39.95% and project coverage change: +3.65 :tada:

Comparison is base (8123f42) 40.27% compared to head (1f46f8c) 43.92%.

:exclamation: Current head 1f46f8c differs from pull request most recent head b03389d. Consider uploading reports for the commit b03389d to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories.  Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Hi, @a-r-j! Can you take another look at this? It would be nice if you could merge this.

Hey @anton-bushuiev sorry for being slow on this. Recently started a new job & this PR slipped through the cracks. Appreciate the contribution, as always.


fix: reset context between tasks

Closes #399.
Suggesting to use the reset() method of the agent to solve this.
I chose not to reset the long term memory, with the thought it could be interesting for subsequent tasks. We may want to change this in the future.

This seems like it will probably work! I'll give it a try today

Seems to do the trick. Thank you!


Use session ID for each peer connection on Edge

We have seen that the adapter.js currently uses the same hardcoded session ID for all SDP.  This makes it a random session ID for each RTCPeerConnection which is like other browsers have been seen to do.
This change relies on changes in sdp.js which I have put in a PR for.  Let me know if you need any more details.

I signed it!

Let me know if you still have issues!   Thanks!

LGTM


Google's Journey TTS model not compatible.

The Google Journey models do not support SSML, pitch and rate, I got around this by just removing the SSML and replacing it by the text and removing the pitch and rate options.

As far as I know, using SSML and  tags is the only way to get word-level timestamps with Google TTS. Only Standard, Neural2, and Casual voice types support both. At least for now, the new Journey voices do not support either.
You can, of course, remove the SSML and  tags from the TalkingHead code, but this means you lose word-audio alignment information, which significantly decreases lip-sync accuracy.
Note also that the Journey voices are currently in the "Preview" stage, so hopefully Google will find a way to enable word timestamps for them before they become generally available (GA).

Added a list of currently supported Google voice types to the README's ttsVoice option description.


some requests options like proxies and verify does not pass to model_info

Describe the bug
https://github.com/huggingface/huggingface_hub/blob/2940a65b22e9552b0dd40f0b61f502f66896d46d/src/huggingface_hub/hf_api.py#L1692
some requests options like proxies and verify does not pass to get
We want
r = get_session().get(path, headers=headers, timeout=timeout, params=params,proxies=proxies,verify=False)

Reproduction
No response
Logs
No response
System info
{'huggingface_hub version': '0.16.4', 'Platform': 'Windows-10-10.0.19044-SP0', 'Python version': '3.10.9'}

Hi @wqh17101, I don't think this is really a bug, more like a feature request since model_info doesn't even take proxy/verify as input.
We don't want to add http options such as proxy and verify in each and every method of huggingface_hub, which would be time-consuming to maintain for both us and third-party libraries maintainers. The other way to do this is to configure globally the Session object used to make requests. You can do this using configure_http_backend.
For example, to setup a proxy for each and every calls:
import requests
from huggingface_hub import configure_http_backend, get_session

# Create a factory function that returns a Session with configured proxies
def backend_factory() -> requests.Session:
    session = requests.Session()
    session.proxies = {"http": "http://<IP_ADDRESS>:3128", "https": "https://<IP_ADDRESS>:1080"}
    return session

# Set it as the default session factory
configure_http_backend(backend_factory=backend_factory)

Once configure_http_backend is called, all the subsequent requests to the Hub will use your configuration :)

@Wauplin wow. It is really a good idea to use configure_http_backend. I will test it tomorrow. Thank you very much.

You're welcome :) Feel free to close the issue if everything works fine for you!

import requests
from huggingface_hub import configure_http_backend, snapshot_download, get_session

# Create a factory function that returns a Session with configured proxies
def backend_factory() -> requests.Session:
    session = requests.Session()
    session.proxies = {"http": "http://<IP_ADDRESS>:3128", "https": "https://<IP_ADDRESS>:1080"}
    session.verify = False
    return session

# Set it as the default session factory
configure_http_backend(backend_factory=backend_factory)
session = get_session()
snapshot_download(
    "meta-llama/Llama-2-13b-chat-hf",
    cache_dir="./cache1",
    local_dir="./Llama-2-13b-chat-hf1",
    token="xxxxx",
    proxies={"http": "http://<IP_ADDRESS>:3128", "https": "https://<IP_ADDRESS>:1080"}
)

it seems that nothing changed. Maybe my usage is wrong?

As i debug deeply, i found that the proxies in session will not affect the get.
Only r = get_session().get(path, headers=headers, timeout=timeout, params=params,proxies=proxies) can work.
I do not know whether this is a bug of requests?

https://github.com/psf/requests/issues/6488 You can see that this good idea above does not work well right now

@wqh17101 It seems that setting proxy on the Session object does work, or at least is meant to work since it's officially documented here. They do it this way:
proxies = {
  'http': 'http://<IP_ADDRESS>:3128',
  'https': 'http://<IP_ADDRESS>:1080',
}
session = requests.Session()
session.proxies.update(proxies) # instead of `session.proxies = proxies`

However your issue might come from the order of priority when resolving the proxies. Here is what is stated in the docs:

Warning
Setting session.proxies may behave differently than expected. Values provided will be overwritten by environmental proxies (those returned by urllib.request.getproxies). To ensure the use of proxies in the presence of environmental proxies, explicitly specify the proxies argument on all individual requests as initially explained above.

A workaround suggested in this stackoverflow thread is to set session.trust_env = False if you don't want your environment proxies to mess up with the ones you define. I guess this can have side effects on other configured values but I'm not knowledgeable on this.
Could you try that and keep me updated?

proxies = {
  'http': 'http://<IP_ADDRESS>:3128',
  'https': 'http://<IP_ADDRESS>:1080',
}
session = requests.Session()
session.proxies.update(proxies) # instead of `session.proxies = proxies`

can not work.
proxies = {
  'http': 'http://<IP_ADDRESS>:3128',
  'https': 'http://<IP_ADDRESS>:1080',
}
session = requests.Session()
session.trust_env = False
session.proxies.update(proxies) # instead of `session.proxies = proxies`

it worked!

Perfect, glad it solved your problem! I'll close this issue now but feel free to reopen if needed :)


[isPossible] A legend field clicked at startup

Is possibile to have a legend field deactivated at startup?
Thank you

This is not possible at the moment. How would you want this to work?

Closing because of inactivity, but feel free to add some examples and I'll look into it.


Send notification when reservation is being sent

The target user (who receives it) should have a more reliable way of knowing they’ve been assigned, other than not-that-reliable irc logging.
Options could be 1. Sending an email / 2. Make some notification tab or such on interface and make them display notifications.

Email notifications could probably be done in oldinternal, though there would be no way of opting out of these. It's verging on the larger of the things I'd want to add to oldinternal at this point though (due to difficulties merging it up to newinternal later)
A notifications tab thing I like the idea of, but that's definitely in newinternal territory as it's probably going to need quite some effort to deal with.
I'd like @FastLizard4 's opinion on this too, since anything we do potentially impacts newinternal's timescales.

+1 support this. I received a couple of reservations today in a queue I don't normally check, and the only reason I knew I had them was the warning that I had multiple requests reserved when I handled a normal request, and went looking for why.

Right, since we seem to be using the send reservation feature more and more, I think this is something we need to prioritise.
From a functional design standpoint, I think I want to do something like a stripped-down version of MediaWiki's Echo. Prior warning, this is very high-level and very... vague.
I would like certain events to trigger "notifications":

@username in the comments field
Sending a reservation to someone

Notifications will be shown to the user on the next page load, probably as banner notifications (bootstrap "alerts") until dismissed, pending a better UI. I don't expect notifications to be particularly frequent, so this is probably sufficient for a first iteration.
A new user preference should be added as a "CC" option on the alerts, to request a user log in. Alerts will be shown in the UI regardless. Again, first iteration UI, if we want to extend it later we can.
I'll also add a dependency on #44 here - something we really should have added years ago, but haven't yet. At the moment, email is pretty much only used for password reset and account status change notification IIRC.
Does this sound like a reasonable first iteration?


Fixed requested changes

Hello, I have fixed a couple of things that were requested for version v1.1.0 Rick.
Haven't tested this, but it should work as I follow the docs, right?

Looks good, thanks.
side note I too followed the docs

Let me know if I broke something 😳


refinements for build of presentation server

Initial presentation server code was added in #3085
This is currently standalone, but will need to be integrated into the maven build.
A few observations from the code PRs  so far

need to revisit how we handle nodejs build process, in particular how tools & modules are downloaded, and where these are placed in the build tree. This may impact how 'mvn clean' works, whether we can reach each phase correctly, use of .gitgnore & rat exclusions
Dependabot should be configured to point to the package.json so we can verify dependencies
need to review if our security scans are finding any issues (LF/nexus)
any node WARNings should be reviewed/fixed
ensure cross platform build ok (linux x86, macos, windows, pi)
ensure necessary artifacts added to assemblies
ensure we can run from assembly
ensure all works ok in container environments (ports, files etc)
users should be synchronized with full coco set used by original UI
certificates are included. Replacement/usage needs documenting -- see also #1403

And a few few functional issues

Security is being added to chassis in #1403 - this may impact

cc: @grahamwallis @davidradl - Adding these notes as a placeholder when we do the integration.

See also #3135 to address integration requirements around security

[ ] Initial maven driven build of existing node build
[ ] Add artifact (ie bundle.js) to assembly
[ ] Add/configure docker image
[ ] Update lab deployment to include node deployment
[ ] refactor/clean build paths to use maven-friendly paths

Initial PR created.
Note that I am not using the scripts in the package.json. Whilst it is possible to call these, they will need refactoring as must be platform independent. Initially the frontend plugin already has first class support for webpack. Finally by doing seperately in the pom, at least initially, it avoids any conflict with current dev activity - an easier transition

@planetf1  as discussed, I reviewed a previous pr https://github.com/odpi/egeria/pull/3152 and noticed some minor things. The presentation server pom name and description did not seem right. Also there is a TODO around maven clean in the pom file - that seems to have been left in - I am not sure there is anything left to do there.

See also #3231 which updates the assembly creation process to use moduleSets and correct dependencies.
This also brought up the question of what each maven artifact we 'build' should contain.

A maven module of packaging type 'pom' means little happens - we create an artifact with that pom definition but do not expect to find any other attachments - though these can be added if needed
jar based modules are handled nicely by maven by default -- we end up with the java code neatly packaged into a sources attachment, as well as the build jar as a binary
what does this all mean for a node based application? ....

should we collate all of the source files into the sources attachment?
Do we collate anything needed at runtime into a binary attachment?
Do we use non standard classifiers or types?

There are distinct benefits in ensuring our artifacts are 'complete' - we know some people will use them (from maven central etc) to create their runtime environment, so ad-hoc picking from the source tree itself is not a consistent approach with that (using sources from an attachment to the artifact would be ok though)
THEN we need to update the current assembly for presentation server, as well as the consuming docker image, to make use of these accordingly.
This needs some research into what best practice is. What do other maven based projects do when building node based components? If we can't find any examples we can certainly do something reasonable based on core principles around maven, but worth researching before jumping ahead.

I found the presentation server build wasn't actually invoked from the 'user-interface' module -- so though it could be built manually this wasn't done automatically . I enabled this in #3231 but unfortunately the build is now broken by recent changes in presentation server.
I've now reverted the change in #3231 so the UI is not built and we can fix here.
The errors from the last build are at https://dev.azure.com/ODPi/Egeria/_build/results?buildId=8541&view=logs&j=4dc6fbf2-95db-5f93-ea5a-117822a16d38&t=61dc2478-351e-57b7-3c49-54d8ca2911d9&l=23593
[INFO] --- frontend-maven-plugin:1.10.0:webpack (webpack-build) @ presentation-server ---
[INFO] Running 'webpack.js --mode development --devtool inline-source-map' in /home/vsts/work/1/s/open-metadata-implementation/user-interfaces/presentation-server/nodejs
[INFO] clean-webpack-plugin: /home/vsts/work/1/s/open-metadata-implementation/user-interfaces/presentation-server/nodejs/dist has been removed.
[INFO] Hash: ca7406fa6159c5d84400
[INFO] Version: webpack 4.43.0
[INFO] Time: 63932ms
[INFO] Built at: 07/16/2020 3:49:52 PM
[INFO]       Asset       Size  Chunks             Chunk Names
[INFO]   bundle.js   41.4 MiB    main  [emitted]  main
[INFO] favicon.ico   43.6 KiB          [emitted]
[INFO]  index.html  496 bytes          [emitted]
[INFO] Entrypoint main = bundle.js
[INFO] [0] multi babel-polyfill ./src/client/index.js 40 bytes {main} [built]
[INFO] [./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/client/app.scss] 397 bytes {main} [built]
[INFO] [./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/client/index.scss] 460 KiB {main} [built]
[INFO] [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 472 bytes {main} [built]
[INFO] [./src/client/App.js] 848 bytes {main} [built]
[INFO] [./src/client/Frame.js] 4.74 KiB {main} [built]
[INFO] [./src/client/app.scss] 1.19 KiB {main} [built]
[INFO] [./src/client/auth/Login.css] 1.08 KiB {main} [built]
[INFO] [./src/client/auth/login.js] 4.84 KiB {main} [built]
[INFO] [./src/client/contexts/IdentificationContext.js] 3.6 KiB {main} [built]
[INFO] [./src/client/images/Egeria_glossary_author_32.js] 363 bytes {main} [built]
[INFO] [./src/client/images/Egeria_logo_color.js] 415 bytes {main} [built]
[INFO] [./src/client/images/Egeria_logo_white_110.js] 351 bytes {main} [built]
[INFO] [./src/client/index.js] 304 bytes {main} [built]
[INFO] [./src/client/index.scss] 1.2 KiB {main} [built]
[INFO]     + 6153 hidden modules
[INFO]
[INFO] ERROR in ./src/client/images/Egeria_glossary_32.js

@davidradl @jmmadsen I suggest I'll assign you to own this so that when you are ready you can describe the process
for building the UI, and what you expect to achieve.
Then assign it back for any additional changes you need to the packaging, container build, charts, deployment etc so that we can end up with an easily usable UI fully incorporated into our demos, and standard approaches for deployment including docker

We are planning to move the UI build over to a new repo as per #4110 . As such I think it makes sense to close this for now & track ongoing enhancements in the new repo


wasm: Fix callback to NativeCallable methods

Fixes #6580. Previously when making the callback to a NativeCallable function, the wrong PInvoke method was used as described in #6580 .  This change fixes that, and also fixes a problem where the thread state was not being changed from Cooperative->Preemptive->Cooperative on managed->unmanaged->managed Pinvokes.  When calling back from unmanaged to the NativeCallable an asssert is made on the thread being in Preemptive mode, but the change from Cooperative->Preemptive was missing and hence the assert failed.  @morganbr I'm marking this as WIP because I needed to add some C++ function to get a simple test that exercised the callback, so I have this in a cpp file https://github.com/dotnet/corert/compare/master...yowl:callbackfromnative?expand=1#diff-380d7928db22ba701b6239aaf0c6d09c, but I'm not sure how to go about changing the build to get this included.  Do I just make the changes in https://github.com/dotnet/corert/blob/master/src/BuildIntegration/Microsoft.NETCore.Native.targets so that I can emcc the bitcode for the cpp and add it to the linker command?

but I'm not sure how to go about changing the build to get this included

It might be the easiest to just bypass the C++ and use something like this to test it:
internal class Program
{
    [System.Runtime.InteropServices.NativeCallable(EntryPoint = "CallMe")]
    private static void _CallMe(int x)
    {
        Console.WriteLine("X is " + x.ToString());
    }

    [System.Runtime.InteropServices.DllImport("*")]
    private static extern void CallMe(int x);

    private static void Main(string[] args)
    {
        CallMe(123);
    }
}

It will still do the managed -> unmanaged -> managed transition.

@dotnet-bot test OSX10.12 Release
@dotnet-bot test OSX10.12 Debug and CoreFX tests

@morganbr  The only thing that worries me is that locally the test don't return, and just timeout.  It runs in the browser without --headless and I see the CI passes, so could be just some problem I have locally.

@morganbr I uninstalled firefox nightly, and the tests now run, could be just coincidence and restarting firefox would have been enough.  Anyway I will remove the WIP

@MichalStrehovsky Thanks for the tests, I'd never have thought of that.

Thanks for the fix!


⚠ ClamAV has degraded performance

In 41ee676, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 89 ms

Resolved: ClamAV performance has improved in 147cf3e.


WIP: Building mbedtls 2.13.1

Closing in favor of #14 where I'm updating travis to hopefully fix the issue it had here


HDDS-6876. Migrate test with rules in hdds-common to JUnit5

What changes were proposed in this pull request?
Migrate following tests to JUnit 5:
hadoop-hdds/common/src/test/java/org/apache/hadoop/hdds/conf/TestOzoneConfiguration.java
hadoop-hdds/common/src/test/java/org/apache/hadoop/hdds/scm/net/TestNodeSchemaManager.java
hadoop-hdds/common/src/test/java/org/apache/hadoop/ozone/common/TestStateMachine.java
hadoop-hdds/common/src/test/java/org/apache/hadoop/ozone/lease/TestLeaseManager.java
hadoop-hdds/common/src/test/java/org/apache/hadoop/ozone/upgrade/TestAbstractLayoutVersionManager.java
hadoop-hdds/common/src/test/java/org/apache/hadoop/ozone/upgrade/TestUpgradeFinalizerActions.java

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6876
How was this patch tested?
Full CI: https://github.com/kaijchen/ozone/actions/runs/2539608584

Thanks @kaijchen for the improvement.

Thanks @adoroszlai for reviewing.


Metric get a value -0.000000

I got this error log while the rest interface invoked.
[2017-01-11T15:59:04,808][ERROR][RestPrometheusMetricsAction] Can not increment metric indices_merges_total_throttled_time_seconds with value -0.000000, skipping

versions :
elasticsearch: 5.0.2
elasticsearch-prometheus-exporter: 5.0.1
prometheus: 1.2.1

Hi,
How can you make ES 5.0.2 and plugin 5.0.1 make work together since versions are different ?
Vincent

I just modified the elasticsearch.version in the plugin-descriptor.properties .

I'll look at your problem, but you shouldn't upgrade version number like that.
ElasticSearch plugins must be compiled with according ES version. Imagine the case where classes implementations have changed between 2 versions.

By the way, I have added Vagrant support and it's now more easy to compile for a specific ES version.

Hi
same stuff
[2017-03-10 15:07:46,429][ERROR][RestPrometheusMetricsAction] Can not increment metric indices_querycache_cache_count with value -12.000000, skipping [2017-03-10 15:07:46,429][ERROR][RestPrometheusMetricsAction] Can not increment metric indices_querycache_hit_count with value -6412.000000, skipping
elasticsearch: 2.3.5
elasticsearch-prometheus-exporter: <IP_ADDRESS>
prometheus: 1.5.2

Same here Elasticsearch 2.4.1, plugin: <IP_ADDRESS>
[2017-04-18 12:47:56,250][ERROR][RestPrometheusMetricsAction] Can not increment metric indices_querycache_cache_count with value -24.000000, skipping
[2017-04-18 12:47:56,250][ERROR][RestPrometheusMetricsAction] Can not increment metric indices_querycache_evictions_count with value -32.000000, skipping
[2017-04-18 12:47:56,250][ERROR][RestPrometheusMetricsAction] Can not increment metric indices_querycache_hit_count with value -46.000000, skipping

I'm seeing this sometimes too:
[2017-05-22T14:17:00,906][ERROR][RestPrometheusMetricsAction] Can not increment metric index_get_time_seconds with value -0.000000, skipping

Looks like the code should convert negative zero values to positive zeros.

I also seeing this on ES + Plugin 5.3.0

[2017-09-13T12:29:32,796][ERROR][RestPrometheusMetricsAction] Can not increment metric indices_requestcache_miss_count with value -5.000000, skipping

I also see this every time，ES5.4.0 + plugin5.4.0.
[2017-04-18 12:47:56,250][ERROR][RestPrometheusMetricsAction] Can not increment metric indices_querycache_cache_count with value -24.000000, skipping
By the way, how to build the plugin，what IDE is recommended?

Any updates on this?  I'm getting the same error. with ES 5.4.0 and plugin 5.4.0 also.
`
[2018-04-17T23:48:28,338][ERROR][RestPrometheusMetricsAction] Can not increment metric index_warmer_time_seconds with value -160.000000, skipping
`


Styleguide Index

Closes #884
This is the barebones index for the style guide so we can start adding various styles/components.
The index is accessible via /styleguide, or by clicking the link I added to the footer:

Here's a screenshot of the basic layout for now:

Coverage decreased (-0.5%) to 86.694% when pulling f1e533c1879edd337a132e082cc8f39131784686 on mparke:styleguide into 08f26df78f52916ec6f6f45b99b2e9014b9d4264 on linode:master.

Coverage decreased (-0.5%) to 86.694% when pulling f1e533c1879edd337a132e082cc8f39131784686 on mparke:styleguide into 08f26df78f52916ec6f6f45b99b2e9014b9d4264 on linode:master.

Coverage decreased (-0.5%) to 86.712% when pulling 3323efb4727a9d7d760a7d2ffb049a185bfaec52 on mparke:styleguide into 08f26df78f52916ec6f6f45b99b2e9014b9d4264 on linode:master.

Coverage decreased (-0.5%) to 86.712% when pulling 5248882f12d0f4b67b681e557d25ee036173585c on mparke:styleguide into 08f26df78f52916ec6f6f45b99b2e9014b9d4264 on linode:master.

Coverage decreased (-0.5%) to 86.712% when pulling f27bd09312c59d9a28c7555b21d5b1267056b799 on mparke:styleguide into 08f26df78f52916ec6f6f45b99b2e9014b9d4264 on linode:master.

Coverage decreased (-0.8%) to 86.411% when pulling a99c775fecb44e1f5d59de73d90669350775c005 on mparke:styleguide into 08f26df78f52916ec6f6f45b99b2e9014b9d4264 on linode:master.

Coverage decreased (-0.8%) to 86.411% when pulling 9efe512cf7f63a0d9db5aa335c76f2d26393ee01 on mparke:styleguide into 08f26df78f52916ec6f6f45b99b2e9014b9d4264 on linode:master.

Coverage decreased (-0.8%) to 86.411% when pulling f87572e75b1b81b1d5827cf781eb20fc76becb8d on mparke:styleguide into 08f26df78f52916ec6f6f45b99b2e9014b9d4264 on linode:master.

Coverage decreased (-0.8%) to 86.411% when pulling f87572e75b1b81b1d5827cf781eb20fc76becb8d on mparke:styleguide into 08f26df78f52916ec6f6f45b99b2e9014b9d4264 on linode:master.


[bug] 'transparent: true' configured via the 'new WebviewWindow()' method is invalid

Describe the bug
1.Based on the WebviewWindow case（  WebviewWindow Example ）

2.On click the button ( create wind ) triggers the following method
const webview = new WebviewWindow(label, {
    title: title,
    url: '/exp',
    resizable: resizable,
    width: 600,
    height: 400,
    center: true,
    fullscreen: false,
    skipTaskbar: false,
    decorations: false,
    transparent: true, //! invalid
    dragDropEnabled: true,
})

3.Expected results:

4.The actual result:

Reproduction
Case address tauri-vue3-tmp
Expected behavior
No response
Full tauri info output
[✔] Environment
    - OS: Windows 10.0.19045 x86_64 (X64)
    ✔ WebView2: 129.0.2792.89
    ✔ MSVC: Visual Studio 生成工具 2022
    ✔ rustc: 1.81.0 (eeb90cda1 2024-09-04)
    ✔ cargo: 1.81.0 (2dbb1af80 2024-08-20)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 18.20.4
    - pnpm: 9.10.0
    - yarn: 1.22.22
    - npm: 10.7.0

[-] Packages
    - tauri 🦀: 2.0.6
    - tauri-build 🦀: 2.0.2
    - wry 🦀: 0.46.3
    - tao 🦀: 0.30.3
    - tauri-cli 🦀: 2.0.3
    - @tauri-apps/api : 2.0.3
    - @tauri-apps/cli : 2.0.5

[-] Plugins
    - tauri-plugin-log 🦀: 2.0.1
    - @tauri-apps/plugin-log : not installed!

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ..
    - devUrl: http://localhost:5173/
    - framework: Vue.js
    - bundler: Vite

Stack trace
No response
Additional context
No response

your html and body elements are not transparent.

Thank you .
I think I see what you mean, but I may have misunderstood. I thought that when I set the window transparent, the whole window would disappear, leaving only the CSS custom window displayed on the screen.

Question:
Can the newly created window be set to rounded corners by css  ?

you can disable shadows and then round the corners as you please


KYLIN-4935 Existing JobOutput's extend info will be lost when it is updated

…pdated
Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce to Kylin?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have create an issue on Kylin's jira, and have described the bug/feature there in detail
[x] Commit messages in my PR start with the related jira ID, like "KYLIN-0000 Make Kylin project open-source"
[x] Compiling and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If this change need a document change, I will prepare another pr against the document branch
[x] Any dependent changes have been merged

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

Should this patch be commit to master branch ?

This patch looks good to me and test passed.

Some job info will be lost before this patch

Job info can be displayed normally after fix

The master branch did not find this bug. But this patch still can be cherry-pick to the master branch to prevent this bug.

Should this patch be commit to master branch ?

I have not tested this in master branch, but after looking though the master code, i think it's better to commit to branch too.


keepass: 2.33 -> 2.34

Motivation for this change
Version bump
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

cc maintainers @obadz @jraygauthier

Tested a bit and works fine for me.

Thank you


Vagrant provision getting failed with post-provision scripts

Issue Type

Bug Report / Support Request

Your Environment

Vagrant - 2.0.1
VirtualBox - 5.1.22r115126
BLT - ^9.0.3
Drupal VM - ^4.8

Your OS

Windows (10 64bit)

Full console output
https://gist.github.com/arunavak111/d8ea65357f8ab68d2e3b791a158e9a85
Summary
I am using vagrant and virtual vox in my windows 10 64 bit machine. And trying to setup drupal vm without ubuntu bash. Hence, once the VM is ready I can run blt commands inside vm. I ran 'vagrant up' command using powershell.exe(with Admin rights) and it creates a new virtual machine and its in Running state. But when I run 'vagrant provision' command at the end of the process I am getting following error:

TASK [Run configured post-provision shell scripts.] ****************************
failed: [myproject] (item=../../../acquia/blt/scripts/drupal-vm/post-provision.php) => {"changed": true, "item": "../../../acquia/blt/scripts/drupal-vm/post-provision.php", "msg": "non-zero return code", "rc": 127, "stderr": "/usr/bin/env: 'php\r': No such file or directory\n", "stdout": "", "stdout_lines": []}
to retry, use: --limit @/vagrant/vendor/geerlingguy/drupal-vm/provisioning/playbook.retry

PLAY RECAP *********************************************************************
myproject                : ok=227  changed=0    unreachable=0    failed=1

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

As a result, local site is not loading and blt commands not working inside vm.

This is a BLT issue; Drupal VM doesn't ship with any enabled post provision scripts. I would recommend posting this issue to the Acquia BLT issue queue. Thanks!


Uploading to S3 having issues on some buckets

Having an issue uploading to S3 and can't figure out the issue. It's been working fine until recently.
I started looking for the issue and realized we were running v2.0.5(!!) so I updated and still running into the same issue.
Here's my function:
.factory('S3FileUploader', function($log, $q, Upload, FileUploader, Notifier) {
    var S3FileUploader = FileUploader.extend({
      uploadExternal: function(ecUploadResult) {
        return Upload.http({
          url: ecUploadResult.source_url,
          method: 'PUT',
          headers: {'Content-Type': this.file.type},
          data: this.fileContent
        }).progress(function(evt) {
          this.notifyProgress(this.externalUploadQuotient * (evt.loaded / evt.total));
        }.bind(this)).then(function(response) {
          if(response.statusText === 'OK') {
            return ecUploadResult;
          } else {
            Notifier.error("There was an error uploading the file. Please try again.");
            $log.error('There was a problem uploading to s3:', response);
            return $q.reject(response);
          }
        }, function(err) {
          Notifier.error("There was an error uploading the file. Please try again");
          $log.error('There was a problem uploading to s3:', err);
          return $q.reject(err);
        });
      }
    });
    return S3FileUploader;
  })

I think the only thing I changed here is Upload from $upload. We have 2 different buckets, one of them works fine. But one of our buckets will not work at all: SignatureDoesNotMatch, The request signature we calculated does not match the signature you provided. Check your key and signing method.
The crazy thing is that this still works fine on our 1 bucket on our live server, just not our dev server, even with the old version of the directive. Is there something that I can check that it doesn't like?
I setup a codepen and just wrote a quick test outside of Angular to test and I was able to upload to that bucket with no issues, so it's something in our app.

If you are signing the url it is probably not signed properly from the error I would say.
Anyway if you are able to upload it to a different bucket then there is no issue with the plugin, and you can try asking it on SO.


PEER TO PEER REVIEW

Project Approved 🙂👍
Hi, @juaryimami, This is @AdnanOlarmmi your colleague.
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights:

All linters passing
All requirements completed
Professional readme

Optional suggestions:
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you take them into account as they can make your code better.

NAN

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me [@AdnanOlarmmi ] in your question so I can receive the notification.

Your a nice code reveiwer bro
On Thu, 13 Oct 2022, 4:14 pm Adnan Is-haq Olamilekan, <
@.***> wrote:

Project Approved 🙂👍
Hi, @juaryimami https://github.com/juaryimami, This is @AdnanOlarmmi
https://github.com/AdnanOlarmmi your colleague.
Your project is complete! There is nothing else to say other than... it's
time to merge it [image: :shipit:]
Congratulations! 🎉
Highlights:

All linters passing
All requirements completed
Professional readme

[image: DiCaprion cheers]
https://user-images.githubusercontent.com/41163571/193562274-01e3c926-ee0f-432e-b55a-747f1f0e521f.gif
Optional suggestions:
Every comment with the [OPTIONAL] prefix is not crucial enough to stop
the approval of this PR. However, I strongly recommend you take them into
account as they can make your code better.

NAN

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something
is not 100% clear.
Please, remember to tag me @.***
https://github.com/AdnanOlarmmi ] in your question so I can receive the
notification.
—
Reply to this email directly, view it on GitHub
https://github.com/juaryimami/leaderboard-project/issues/6, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALX7MXVRUK5XBPO7S3QM3Y3WDADNBANCNFSM6AAAAAAREISYRI
.
You are receiving this because you were mentioned.Message ID:
@.***>


Create step-by-step instructions for running the witness

https://github.com/Revolution-Populi/revpop-core/wiki


Error while running UI

I am getting following error when I tried to run reach server:

Issue resolved in CommitID


Alerts create/backup/restore with JSON file

https://github.com/draios/python-sdc-client/issues/27 identified a desire to be able to create Alerts using full JSON objects in a file as opposed to the current create_alert() which requires specifying the separate Alert details in the call to the Python method. This PR tries to kill two birds with one stone by extending the list_alerts.py example to dump the full set of Alerts to a JSON file, and adds a new restore_alerts.py example that reads them back in from such a file. Now we have backup/restore examples, and at the same time someone could use the "restore" example to create wholly new Alerts as long as they follow the right JSON format.

At request of @adityakinifr, I also reverted a commit related to Dashboard restore, as the approach that we'd been using was stripping too much config out of the reverted Dashboard. The reverted version tested out fine, so I'm going to merge.