Build script progress

I'm currently building a Cake build script with interaction to teamcity and I'd like to provide progress messages. I can easily report the task name, but I am unable to find out what the progress is within the build script. Think like ("executing task 1 of 5").
Is there any way to find the progress within the build script?

@Sebazzz You can certainly do this manually within the build script.  i.e. given that you are writing the build script, you would know the intended order of execution, and overall how many tasks you have, however, this approach would be very time consuming, and subject to change.
I don't think we have anything in Cake that would provide this overall visibility, but I would agree that this would be a benefit.
@cake-build/team thoughts?

@Sebazzz actually, just been speaking to the guys, and we think that something might be possible.  Would it be possible for you to raise this as a question on StackOverflow, and we can answer it there?  The GitHub issues are really intended for bugs and feature requests.  Thanks!

@Sebazzz if you could add a link to the SO question once you create it, that would be very helpful, thanks!

On StackOverflow: http://stackoverflow.com/q/38761827/646215

@Sebazzz perfect, thank you very much.  By putting these types of questions on StackOverflow, hopefully more people will be able to find and use the answers.

Thanks. Sorry for the trouble, each project has its own way of doing things :)

@Sebazzz said...
Thanks. Sorry for the trouble, each project has its own way of doing things :)

Honestly, no trouble at all!  Hope you are enjoying using Cake.

@Sebazzz FYI I've proposes an answer to your question on StackOverflow.

Are you open for accepting a pull request that implements this?
The changes I would make would include changing the signature of the graph builder to return an ICollection instead, and the task executer to then pass an count and current task number to the TaskSetup / TaskTearDown methods.

@Sebazzz Not wrong per se, but your suggested approach puts a solution for a very specific problem in the core library. A more general purpose approach (which would be more appropriate) would probably be to add a IReadOnlyCollection<ITaskInfo> to TaskSetup/TaskTeardown/Setup/Teardown contexts and let the implementor of the specific feature increase the number of executed tasks in the TaskTeardown method. This would allow similar problems to be solved without adding more and more parameters/properties to the contexts.
@cake-build/team, what do you think?


Device type wireless device: A9XMC1D3, to request support, please create a GitHub issue for this device

Describe the bug
I have a Powertag Link Gateway (A9XMWD20) at home, connected with a Powertag Control wireless device (A9XMC1D3).
I would like to control this wireless device from Home Assistant.
I can see in the logs that this wireless device is not supported :
"Unsupported wireless device: A9XMC1D3, to request support, please create a GitHub issue for this device"
Would it be possible to add support for it  ?
Thanks a lot for your reply,
Versions

HomeAssistant: 2024.08.0
Integration: v1.34.0

Logs
"Unsupported wireless device: A9XMC1D3, to request support, please create a GitHub issue for this device"

It's going to be tough for me to implement this one since writing to a device is something I haven't touched yet, and my Powertag Link Gateway is inoperable so I cannot test this during development. If a similar device for the Panel Server pops up, I may give this a shot in the future.


Exception when trying to run the new Dialogue Preview feature

What is the current behavior?
When trying to run the new Dialogue Preview feature on any yarn file from our game, VSCode simply shows an error message with exception.
Please provide the steps to reproduce, and if possible a minimal demo of the problem:

Create most minimalistic yarn file possible: Just a Start node with a single line.
Run "Yarn Spinner: Preview Dialogue"
See exception

What is the expected behavior?
Get the preview feature (I honestly don't know how it looks like).
Please tell us about your environment:

Extension Version: v2.2.36
VSCode Version: v1.69.2

Other information
I'm not sure where to get the full log, but the part of the exception that VSCode shows me is as below:

Fixed in YarnSpinnerTool/YarnSpinner@d8dba6f4762f09cedae412e1d565fb1b039384cf. The fix will be included in the next release of the extension. Thank you for the report!


node.js only returns 8-bit values, regardless of array type

https://nodejs.org/api/crypto.html#crypto_crypto_randombytes_size_callback
This is extremely dangerous for anyone who is porting browser code, and assumes that this library will provide an interface that matches the standardized browser behaviour.
In cryptographic applications, asking for 32 bits of randomness and receiving a value with only 8 bits of entropy is... fatal. (And since the whole point here is to avoid Math.random(), it should be assumed that this library is for applications that expect cryptographic strength.)

Browser JS:
> var array = new Uint32Array(2);
> window.crypto.getRandomValues(array)
[2746395125,<PHONE_NUMBER>]

Node:
> var getRandomValues = require('get-random-values');
undefined
> var array = new Uint32Array(2);
undefined
> getRandomValues(array);
undefined
> array
{ '0': 50,
  '1': 43,
  BYTES_PER_ELEMENT: 4,
  get: [Function: get],
  set: [Function: set],
  slice: [Function: slice],
  subarray: [Function: subarray],
  buffer:
   { '0': 50,
     '1': 0,
     '2': 0,
     '3': 0,
     '4': 43,
     '5': 0,
     '6': 0,
     '7': 0,
     slice: [Function: slice],
     byteLength: 8 },
  length: 2,
  byteOffset: 0,
  byteLength: 8 }
>

@lgarron You are completely correct, thanks for catching this! I think a TypeError should be thrown if a Uint8Array is not passed as the argument. This way, the behavior can be consistent :)

@lgarron I hope https://github.com/KenanY/get-random-values/commit/de4919b6c83bfdc8aa3d70f50048c626488fd2ee is an appropriate fix for this. I will let it sit for a bit while I decide whether to release this as a patch or as a major version.


Adding pre-commit hook

Description
Here's the pre-commit hook with Black & flake8. I also added some builtin checks from pre-commit and some basic checks on .rst files.
Fixes #84
Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] I have read the contribution guidelines and followed it as far as possible.
[x] I have performed a self-review of my own code (if applicable)
[x] I have commented my code, particularly in hard-to-understand areas (if applicable)
[x] I have made corresponding changes to the documentation (if applicable)
[x] My changes generate no new warnings
[x] Any dependent and pending changes have been merged and published

Sure, I'll add this to the github PR template.

Codecov Report

Merging #88 into master will increase coverage by 0.33%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #88      +/-   ##
==========================================
+ Coverage   59.93%   60.26%   +0.33%
==========================================
  Files           3        3
  Lines         302      302
  Branches       47       47
==========================================
+ Hits          181      182       +1
  Misses        113      113
+ Partials        8        7       -1

Flag
Coverage Δ

#unittests
60.26% <ø> (+0.33%)
:arrow_up:

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

Impacted Files
Coverage Δ

browser_history/generic.py
67.10% <0.00%> (+0.65%)
:arrow_up:

Continue to review full report at Codecov.

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

Would it be better to have this configuration in config files (like .flake8 for flake8) instead, so that they are used even when run outside of pre-commits?

Yes, makes sense. I removed black extra args and grouped all flake8 config related stuff in file .flake8.


how to change bundle directory to a different directory ?

Dear all, how to change the data bundle directory to a different directory ?

You need to define the ZIPLINE_ROOT environment variable

Closing for lack of activity.


Bump Plutus deps to 1.20

Description

Checklist

[ ] Commit sequence broadly makes sense and commits have useful messages
[ ] New tests are added if needed and existing tests are updated
[ ] When applicable, versions are updated in .cabal and CHANGELOG.md files according to the
versioning process.
[ ] The version bounds in .cabal files for all affected packages are updated. If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)
[ ] All visible changes are prepended to the latest section of a CHANGELOG.md for the affected packages. New section is never added with the code changes. (See RELEASING.md)
[x] Code is formatted with fourmolu (use scripts/fourmolize.sh)
[x] Cabal files are formatted (use scripts/cabal-format.sh)
[x] hie.yaml has been updated (use scripts/gen-hie.sh)
[ ] Self-reviewed the diff

That's OK, I've already done this bump and integration #3960


Add TagArbiter class

Can be used to manage tags in between activities and fragments

@slomo What do you think of this?

:+1: Shouldn't also a Singelton Factory be provided?

We are using android annotations to produce a singleton bean. Other than that there are two different ways to make singletons in Android, either the usual way with the factory or using the Application class. Reading about Application in Google's docs it seems that they also encourage the use of normal singletons:
There is normally no need to subclass Application. In most situation, static singletons can provide the same functionality in a more modular way. If your singleton needs a global context (for example to register broadcast receivers), the function to retrieve it can be given a Context which internally uses Context.getApplicationContext() when first constructing the singleton.
So I will add a normal singleton factory.

@slomo Added a singletong factory and used it in the Fidesmo App. Seems to work as well as the AA one. What do you think?

:+1:


[C++][IPC] Allow a more fine-grained column selection for reading data with nested fields

Describe the enhancement requested
Missing feature: fine-grained column selection/projection
Currently (Apache Arrow 13.0.0), when reading data from IPC via, e.g., RecordBatchStreamReader::Open, a list of top-level fields can be selected via the IpcReadOptions::included_fields member.
This is useful, however, in presence of nested fields, sometimes it's necessary to select only some leaf nodes of the nested columns.
Suggested Improvement
It would be nice to provide an additional way to select individual nested fields.
Implementation strategy
There are several ways how this could be achieved (assuming that changing the semantics of IpcReadOptions::included_fields is not an option):

extending the IpcReadOptions type to include a vector<int> included_flattened_fields member (indicating the index in the "flattened" schema), similar to how it is done for Parquet (see below)
similarly, extending the IpcReadOptions type to include a vector<vector<int>> included_field_paths member
similarly, extending the IpcReadOptions type to include a vector<arrow::FieldRef> included_field_refs member

Similar approaches in the code base
If I see this correctly, in the Apache Parquet implementation, this achieved by specifying the list of flattened field indices (e.g. in  GetFieldReaders, which is called in FileReader::GetRecordBatchReader).
Component(s)
C++

It is unclear to me how to handle the various types that have children. Are struct fields the only type where users would want to select only parts of the nested structure?
Anymore has more insights here?


USD to SDF: Added Sensors

Signed-off-by: ahcorde<EMAIL_ADDRESS>🎉 New feature
Closes #
Summary
SDF to USD: Added Sensors

Lidar
Camera

Checklist

[ ] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Codecov Report

Merging #900 (7a277cc) into sdf12 (a759c9a) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 7a277cc differs from pull request most recent head 3d7ba57. Consider uploading reports for the commit 3d7ba57 to get more accurate results

@@           Coverage Diff           @@
##            sdf12     #900   +/-   ##
=======================================
  Coverage   65.38%   65.38%
=======================================
  Files           2        2
  Lines          26       26
=======================================
  Hits           17       17
  Misses          9        9

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 b45fcd0...3d7ba57. Read the comment docs.


Attach Windows builds as release artifacts

It'd be helpful for a lot of esmBot selfhosters who are tech laypeople. There isn't much technical knowledge required to run esmBot on Windows other than actually compiling it. It'd save a lot of people the hassle of compiling and would encourage more people to selfhost. We already have esmBot building on every commit with Github's CI. Maybe another step after this could be to create a user-friendly GUI for setting up and running esmBot on Windows.

This would be a nice goal to work towards, however MSVC builds would probably have to be fixed up a bit so that the compiler doesn't complain about something every time. That, or maybe force the builds to run with MinGW?

Are the successful CI checks for Windows false positives? Does the bot run fine on windows

It should run fine for the most part, but I'd like to decrease the amount of warnings as much as possible.
(Sorry for closing btw - that was a mistake)

Does it spit out warnings during compile time or during runtime

Compile time

Hmmm, seems like libvips isn't properly packaged on Chocolatey or vcpkg, which could make this slightly more difficult since those are the only Windows package managers available on Actions. Might have to find a method around that.

Y'know what, let's also add macOS to the equation. It's similar enough to Linux anyways, and the bot mostly works at the moment on there; the only problem is that it can't properly link libvips from Homebrew during compile time.


Adding Usage Tracker to Graviton Pattern

Issue #, if available:
Description of changes:
Adding Usage Tracker to Graviton Pattern
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@shapirov103 I think i made the relevant changes, pls check


switch cardinality labels' positions

Issue
see #54
Summary
Cardinality labels on relationships labels are drawn in a different order compared to common ER schemes, which causes confusion when interpreting the diagram.
Solution
Flip cardinality labels for ForeignKey-type relations.
Before

After

In my opinion, this better represents the relationship:

One or more people can be born in the same location
A person has at most one known birth location

closes #54

+1

will this ever be merged?

It got merged! 😯


Step 8: Define which property to use for SWHID in DC

Morane: Which property should be used
Matteo: The standard Dublin Core doesn't have any indication of this. However  the two most common extension should be able to cover this case with datacite:relatedIdentifier (for OpenAIRE) and dc:relation or rioxx:ext_relation and https://rioxx.net/profiles/#dc:relation
I think we need to look into it a bit more and probably define internally what is the recommended way for exposing this, I'll prepare some examples so we can see how it looks
Morane: Could you add these options in text directly? we will refine for 2nd iteration.
Matteo: Yes, but I thought that HAL should have a ready made example for this? How does HAL includes SWID in the metadata? In any case, added my suggestions and examples. The examples assume that SWHID are URLs, in this way, we are still compliant to the metadata guidelines. If the SWHID is not a URL we will need to require some extensions to the application profiles to be fully compliant.
Morane: That's a good point. I'll look into HAL, but here the docs is higher level and might be a basis for a recommendations for multiple OAs. A SWHID can be a permalink, thus a URL

@moranegg do you have any progress? How is HAL exposing the SWHID in the metadata? And if there is no answer, is there any recommendation?

SWHID is not exposed in DC:
https://hal.science/hal-04335677v1/dcterms
It is exposed in TEI format and in CodeMeta terms:
https://hal.science/hal-04335677v1/tei
@mcancellieri

I think as one of the outputs of T3.2 and also as an input for T6.1 we would like to see the SWHID mentions exposed in the repository metadata. Even if it doesn't happen immediately it's probably something we should discuss how it should look like. What do you think?

I think this should be closed by #30


Fix: Cover named constructor

This PR

[x] covers a named constructor

Follows #656.

Thank you, @chartjes!


Add semantic-release as peerDependency

When running yarn install with yarn version 3.2.0, yarn complained:
@amanda-mitchell/semantic-release-npm-multiple@npm:3.2.0 doesn't provide semantic-release (p32ae4), requested by @semantic-release/npm
Explicitly adding semantic-release as peerDependency fixes this

Thanks!


Suggestion: Forward command

Can you add a command that allows a DJ to fast forward the music? For example, you can do (command prefix)forward 1:00, and the song will be fast forwarded by 1 minute.

This is already on the planned features list: https://github.com/jagrosh/MusicBot/projects/1

(closing because this is on the planned features list)


creating bam files for 6mA and 4mC

Dear,
I would like to use nanopolish to call methylation for 5mC, 6mA, and 4mC.
When I try it using following commands, it works and seems to produce a normal output:
nanopolish call-methylation -v -t 14 -q cpg -r /projects/methylation_work/isolates/Isolates/isolates_29_09_part_2/barcoded/reads/barcode17.fastq.gz -b barcode17_reads_nanopolish_sorted.bam -g /projects/methylation_work/isolates/Isolates/isolates_29_09_part_2/barcoded/assemblies/barcode17_trycycler.fasta > methylation_calls_nanopolish_bc17_29_09_5mC.tsv

nanopolish call-methylation -v -t 14 -q dam -r /projects/methylation_work/isolates/Isolates/isolates_29_09_part_2/barcoded/reads/barcode17.fastq.gz -b barcode17_reads_nanopolish_sorted.bam -g /projects/methylation_work/isolates/Isolates/isolates_29_09_part_2/barcoded/assemblies/barcode17_trycycler.fasta > methylation_calls_nanopolish_bc17_29_09_6mA.tsv

nanopolish call-methylation -v -t 14 -q dcm -r /projects/methylation_work/isolates/Isolates/isolates_29_09_part_2/barcoded/reads/barcode17.fastq.gz -b barcode17_reads_nanopolish_sorted.bam -g /projects/methylation_work/isolates/Isolates/isolates_29_09_part_2/barcoded/assemblies/barcode17_trycycler.fasta > methylation_calls_nanopolish_bc17_29_09_4mC.tsv

But when I add the --modbam-output-name tag, only 5mC works:
nanopolish call-methylation -v -t 14 -q cpg -r /projects/methylation_work/isolates/Isolates/isolates_29_09_part_2/barcoded/rea.gz -b barcode17_reads_nanopolish_sorted.bam -g /projects/methylation_work/isolates/Isolates/isolates_29_09_part_2/barcoded/assemblies/barcode17_trycycler.fasta --modbam-output-name  methyolish_bc17_29_09_5mC.bam
[post-run summary] total reads: 67258, unparseable: 0, qc fail: 58, could not calibrate: 67, no alignment: 2106, bad fast5: 0

nanopolish call-methylation -v -t 14 -q dam -r /projects/methylation_work/isolates/Isolates/isolates_29_09_part_2/barcoded/rea.gz -b barcode17_reads_nanopolish_sorted.bam -g /projects/methylation_work/isolates/Isolates/isolates_29_09_part_2/barcoded/assemblies/barcode17_trycycler.fasta --modbam-output-name  methyolish_bc17_29_09_6mA.bam
nanopolish: src/basemods/nanopolish_basemods.cpp:135: bam1_t* create_modbam_record(const bam1_t*, const std::map<int, ScoredSite>&, const MethylationCallingParameters&): Assertion `callinget->get_name() == "cpg"' failed.
Aborted

nanopolish call-methylation -v -t 14 -q dcm -r /projects/methylation_work/isolates/Isolates/isolates_29_09_part_2/barcoded/rea.gz -b barcode17_reads_nanopolish_sorted.bam -g /projects/methylation_work/isolates/Isolates/isolates_29_09_part_2/barcoded/assemblies/barcode17_trycycler.fasta --modbam-output-name  methyolish_bc17_29_09_4mC.bam
nanopolish: src/basemods/nanopolish_basemods.cpp:37: void get_modification_symbols(const Alphabet*, char&, char): Assertion `alphabet->num_recognition_sites() == 1' failed.
Aborted

Does to conversion to bam output only work for the cpg pattern?
Thanks in advance,
Quentin

Hi,
Yes, the modbam support only works for CpG methylation. If you need modbams for other modifications and contexts I recommend using ONT's callers (guppy/dorado/remora).
Jared


rage-mount-dir: OverlayFS that transparently decrypts age-encrypted files

Usage: rage-mount-dir -i IDENTITY [-i IDENTITY ..] DIRECTORY MOUNT_POINT

The caller provides a directory to be mounted, and some age identities.
The directory is transparently mounted at a provided destination.
Any *.age files inside the directory's subtree are checked for decryptability (by the given identities) on first interaction (when the directory containing the file is read).

If an age file can be decrypted, it is shown inside the mount point without its .age suffix, and with a filesize equivalent to the decrypted file.
If an age file cannot be decrypted, it is show unmodified inside the mount point.

On read, normal files and undecryptable age files are read as-normal, while decryptable age files are transparently decrypted.

Part of #188.

I think this looks awesome. What are your blockers? It looks like this is mainly stubs. Was it just lack of interest that stopped you from pursuing this change?
Also, I'm not sure why you have fuser and fuse_mt as deps; shouldn't one be sufficient?

If I recall correctly (and I probably don't), I ran into UX issues that I didn't have time to figure out a solution for at the time. And as this was not motivated by any personal use case (someone else suggested the idea, and I wanted to see what it would look like in practice), I ended up putting it aside as I worked on other things.
As of the time of this PR, fuser was single-threaded; fuse_mt was a wrapper around it that provides multi threading support. I don't believe that has changed in the intervening time, but I haven't checked recently.


Touchpad not showing up on c720p

Fresh install of ElementryOS for c720 worked flawlessly on on c720p but not my second machine.
I've tried both with kernal's 3.19 and 3.17. Nether kernal is results in the touchpad showing up in the xinput -list.
 What does dmesg say? What about
/var/log/Xorg.0.log?
On Wednesday, July 15, 2015, outofpapaer<EMAIL_ADDRESS>wrote:

Fresh install of ElementryOS for c720 worked flawlessly on on c720p but
not my second machine.
I've tried both with kernal's 3.19 and 3.17. Nether kernal is results in
the touchpad showing up in the xinput -list.

--
Hugh

Cyapa isn't loaded. Manually loading it with modprobe isn't of much help.

Neither dmesg nor /var/log/Xorg.0.log make any mention of the cyapa module.

Then your kernel probably doesn't have it. You need to configure your
kernel to build cyapa as a modulel.
Hugh
On Sat, Jul 18, 2015 at 11:35 AM, outofpapaer<EMAIL_ADDRESS>wrote:

Neither dmesg nor /var/log/Xorg.0.log make any mention of the cyapa module.
—
Reply to this email directly or view it on GitHub
https://github.com/hugegreenbug/xf86-input-cmt/issues/13#issuecomment-122555626
.

Odd.  I was using your elementary os release, and I don't get any errors
when I load the module.  After manually loading it,  it shows as loaded .
Do you think I should I rebuild it?
On Jul 18, 2015 7:23 PM, "Hugh Greenberg"<EMAIL_ADDRESS>wrote:

Then your kernel probably doesn't have it. You need to configure your
kernel to build cyapa as a modulel.
Hugh
On Sat, Jul 18, 2015 at 11:35 AM, outofpapaer<EMAIL_ADDRESS>wrote:

Neither dmesg nor /var/log/Xorg.0.log make any mention of the cyapa
module.
—
Reply to this email directly or view it on GitHub
<
https://github.com/hugegreenbug/xf86-input-cmt/issues/13#issuecomment-122555626
.

—
Reply to this email directly or view it on GitHub
https://github.com/hugegreenbug/xf86-input-cmt/issues/13#issuecomment-122604383
.

Hi, I'm having the same problem but in a Falco device, I'm using elementary (0.3) too, I tried with the kernel provided with the distribution and with another one, neither work. How can I configure the kernel to build cyapa as a module?

It should work with my elementary release. I don't know why it wouldn't.
Hugh
On Sat, Jul 18, 2015 at 6:19 PM, outofpapaer<EMAIL_ADDRESS>wrote:

Odd. I was using your elementary os release, and I don't get any errors
when I load the module. After manually loading it, it shows as loaded .
Do you think I should I rebuild it?
On Jul 18, 2015 7:23 PM, "Hugh Greenberg"<EMAIL_ADDRESS>wrote:

Then your kernel probably doesn't have it. You need to configure your
kernel to build cyapa as a modulel.
Hugh
On Sat, Jul 18, 2015 at 11:35 AM, outofpapaer<EMAIL_ADDRESS>wrote:

Neither dmesg nor /var/log/Xorg.0.log make any mention of the cyapa
module.
—
Reply to this email directly or view it on GitHub
<

https://github.com/hugegreenbug/xf86-input-cmt/issues/13#issuecomment-122555626

.

—
Reply to this email directly or view it on GitHub
<
https://github.com/hugegreenbug/xf86-input-cmt/issues/13#issuecomment-122604383
.

—
Reply to this email directly or view it on GitHub
https://github.com/hugegreenbug/xf86-input-cmt/issues/13#issuecomment-122608075
.

I was checking /var/log/Xorg.0.log and it says:
LoadModule: "cmt"
Loading /usr/lib/xorg/modules/input/cmt_drv.so
Module cmt: vendor="X.Org Foundation"
compiled for 1.15.1, module version = 0.0.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 20.0
module ABI major version (20) doesn't match the server's version (21)
UnloadModule: "cmt"
Unloading cmt
Failed to load module "cmt" (module requirement mismatch, 0)
No input driver matching `cmt'
config/udev: Adding input device Cypress APA Trackpad (cyapa) (/dev/input/mouse1)
No input driver specified, ignoring this device.

Oh, that is because elementary os is based on trusty, but it includes the
utopic xserver. You can edit the ppa sources.list file to use the utopic
package. The file is something like:
/etc/apt/sources.list.d/hugegreenbug... .Change trusty to utopic. Then:
sudo apt-get update && sudo apt-get --reinstall install xf86-input-cmt
Hugh
On Mon, Jul 20, 2015 at 2:24 PM, Nick Castle<EMAIL_ADDRESS>wrote:

I was checking /var/log/Xorg.0.log and it says:
LoadModule: "cmt"
Loading /usr/lib/xorg/modules/input/cmt_drv.so
Module cmt: vendor="X.Org Foundation"
compiled for 1.15.1, module version = 0.0.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 20.0
module ABI major version (20) doesn't match the server's version (21)
UnloadModule: "cmt"
Unloading cmt
Failed to load module "cmt" (module requirement mismatch, 0)
No input driver matching `cmt'
config/udev: Adding input device Cypress APA Trackpad (cyapa) (/dev/input/mouse1)
No input driver specified, ignoring this device.
—
Reply to this email directly or view it on GitHub
https://github.com/hugegreenbug/xf86-input-cmt/issues/13#issuecomment-123021528
.

Great, that worked, even though I had to purge the package instead of using --reinstall, sorry for hijacking this post, but maybe we got the same problem?


Collation confusion in the Symphony DB

Beginning with the Members extension, the Working Group started to explicitely set a character set (UTF-8) and a collation for newly created tables in the database by using:
DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci

Some extensions have followed this example, but the core fields (packaged with Symphony) have not. The latter don't explicitely set a collation for tables, so MySQL will use the default collation (which is utf8_general_ci for the utf8 character set). So now we find different collations on tables in the database.
This is, for example, a problem for the Email Newsletter Manager, which uses a temporary table for 'sent' email addresses. In order to find the next batch of addresses to send to, it must JOIN this table with the table containing the recipient addresses. Here comes the problem: A JOIN only works on tables with the same collation, otherwise MySQL will throw an error.
In the ENM forum thread I described how to "quick fix" this and get the ENM running.
Nevertheless we should do two things in the near future:

Clean up the "collation confusion" in Symphony (core fields, fields provided by extensions) and publish some "best practice" to tell people how DB tables should be created.
For the ENM, maybe find a way to get the collation of the current email address field table, then use the same collation for the temporary table.

Working Group started to explicitely set a character set (UTF-8) and a collation for newly created tables in the database by using:

Sorry for hijacking, but which one is better / more reliable / ... ? utf8_unicode_ci or utf8_general_ci ? I'm setting utf8_general_ci in my extensions atm.

I remember having discussed this with @brendo, but I don't find this discussion anymore. As far as I remember, utf8_unicode_ci may result in slightly slower queries, but has advantages when it comes to (especially language specific) "search operations". It will simply be better with special characters. I don't know how big this advantage is in practice, so I cann not promise that we won't revert this (and go for the MySQL default collation). So I suggest to not change any extensions at the moment. We have to define the "Symphony way" first.

The 2.3 codebase specifies the collation as utf8_unicode_ci for all core fields. From memory this was chosen as it was the right balance of speed and compatibility. Unless compelling evidence suggests otherwise, I suggest we stick with what we have set.
As for ENM, you can override collation in your SQL.

Thanks, I posted this in the ENM issue tracker.
Can you say if there might be any side effects if people try and change the collation for core fields' entries tables manually?

@brendo no, not really I can't.. The reason for this is that I use the query building in each of the fields, and I join that to my own query. Now, I can change that part, but that is already in my control - I created the table, and I could change the collation upon creation.
This means the only solution for now would be to look for the collation of the field used in the email part, and use that collation for the 'sent' table. This is not really something I would like to implement, for obvious reasons.

Right, so you use the buildSortingSQL etc. functions from the fields and then add these partially built SQL blocks to your own.
What does the failing query look like? How are you getting around this issue at the moment? It's a tricky one because all extensions may be specifying different encodings, so just hoping that all use the same one might be a little unrealistic.
It is curious that this issue hasn't arisen earlier, considering we never have specified an encoding until 2.2.x.

Above I linked to the workaround in the forum. Here is the esseence.

So what you can do at the moment is:
Either: For your email addresses, use a field which has the utf8_unicode_ci collation. (This will not be a "core field".) I am using the Members: Email field, for example.
Or: Manually set the collation of the entries table to utf8_unicode_ci. I don't know which side effects this might have, so do it at your own risk.

I'd really like to know if manually changing the collation on certain tables can be dangerous.

I'd really like to know if manually changing the collation on certain tables can be dangerous.

Well yes, I imagine in some cases if the default charset is set to latin1 then data may be corrupted. Changing from uft8_general_ci and utf8_unicode_ci there is probably less risk.

I am talking about the collation, not the character set, of course. :-)

Would there be any good reason for an extension developer to choose another collation?

Not to my knowledge.

A notice about adding the correct collation has been added to the migration guide.


Add text classification to inference client

Add  text-classification to HuggingFace🤗 Hub
References https://github.com/huggingface/huggingface_hub/issues/1539
This is an ongoing list of model tasks to implement in the Hugging Face Hub inference client. Each task is planned to be its own PR. The task for this is text-classification.
Key Features

Modifies _client.py to call a text classification model.
Modifies testing and documentation to reflect changes.

Hey @martinbrose, I'm starting to review all your inference-related PRs. Thanks a ton for the massive work, it's good quality for what I saw! 👏 🙏 I have left some comments on this PR that are also relevant to the other PRs (especially simplifying as much as possible the methods signature + the merge conflict issue). In the meantime, I'll take the time to thoroughly review the other PRs.
FYI, I'm off this Thursday/Friday and be fully back on the project starting from next week :)

Thanks for the review!
Apologies for this long list of separate PRs. I started with one... and then couldn't stop using them as bite-sized challenges at night.

I've merged the suggested changes (see above) and tried it locally. It works great! :)
Will merge the PR once CI is green.


chore: upgrade to node 9.0

This PR is for keeping up everyone involved updated.

Initial work done for upgrading to 9.0
Testings currently running, I'll ping you, when I'm done.

Keep into account that we still need the new Conway file to be fully ready for the Chang HF. @Kammerlo


Create subDAO With Funding

Overview
Creates Screen for SubDAO treasury Funding, Updates the create a DAO hook to handle funding
Changes

So did quite a refactor on DaoCreator and StepController

Refactor
This has been on my mind for a bit. and decided rather than adding to the complexity, I would spend the time to update the StepController and how

creates Context Provider to handle data and screen changing
updates Creation components to work with new provider
updates props for DaoCreator Component
Creates enum for steps
updates how Next Button is handled
adds custom hook to handle form validation for each screen.
removed all passed props
uses Dispatch to update form values

Screenshot

Realizing in the screenshots, I need to update the ' placeholder on funding screen. Also will remain a draft. Currently there is a bug when 'queue proposal is hit on SubDAO proposal.

For the morning, after some more testing.  I've narrowed it down to for sure be 'funding'.  Without funding subDAO is created normally. I've tried with both ETH and ERC20 gov Token. Looking through and the code it 'appears' to be pushed into the ExecuteData correctly.

I kinda just want to Approve it and let it run

@adamgall My apologies. Let me focus your review to the more important changes maybe?
components/DaoCreator Components
These Components in this directory have been updated to use the custom hook to retrieve and update form states with dispatch
alot of code was removed from the index.tsx and DisplayStepController and is now handled by the context provider
components/SubsidiaryFunding
These is the UI for the new Funding Form, that appears when using the plugin
components/Provider
The form was handled by several useStates and setters that were passed as props to each of the components. This is now all handled by a Context Provider that wraps the components.
Page Titles, Button  Navigation and Button disabling is handled by custom hooks that update (through the reducer's dispatch) depending on the screen and workflow (if it's a subDAO) * see hooks folder
components/UI
Added components for a 'table' UI using CSS Grid
contexts/daoData , pages/Fractalize and hooks
These updates handle changes needed to create the funding transaction and added it to the queue and execution workflows.

thank you for this additional context @Da-Colon! i'll continue my review


[Debugger] Expand warnings to include UI linting

A check pass should be done when in debug mode, and warn about unclickable buttons (culled out), invisible text (background is too similar to text), window elements that are too small, etc.

That's a great idea, good thing to add to the list 👍


Allow a custom env for more xcrun invocations

Basically a continuation of #1766

We shouldn't put the env in UserToolchain instead of getClangCompiler()

I was 🤔 about that, but decided that there might be a need to have a different environment for manifest parsing vs. building. I guess if someone really needs that customisability, they can create a custom Toolchain type though. I'll update the PR 🔨.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

This should be good to merge now.


Add qualx support for platform runtime variants

This PR follows #1414 to support variants of platform runtimes (e.g. photon) in the qualx models.
Model variants are delimited by the underscore character '', i.e. .
This PR also updates the models from the latest code and datasets, including the new databricks-aws_photon model.
Changes

adds sparkRuntime as a new expected_raw_feature.
uses the sparkRuntime column to detect datasets with mixed runtimes (i.e. more than one).
modifies the prediction loop to operate on input rows grouped by runtime variant.

Test
Following CMDs have been tested:
spark_rapids prediction

Internal Usage:
python qualx_main.py preprocess
python qualx_main.py train
python qualx_main.py evaluate

Thanks, @leewyang! This PR introduces Photon models for Databricks on AWS. Could we update the title to reflect “DB AWS”?
In the future, when we add support for DB Azure models, this will help provide clarity.

so DB AWS here is in the title because we use a model training on eventlogs from databricks aws?   What does it do on azure or gcp?  Are we expecting differences there?  I would expect the databricks code to the same but you have different machine types and possibly I/O characteristics so I'm wondering if we have seen differences from those.

so DB AWS here is in the title because we use a model training on eventlogs from databricks aws?

Yes, it adds a model trained on DB AWS Photon event logs.

What does it do on azure or gcp? Are we expecting differences there?

Model for Azure has been added in PR: https://github.com/NVIDIA/spark-rapids-tools/pull/1427
The code looks for a model named: <platform><runtime>
If the model file does not exist, it loads the default <platform> only model file.


Add London Overground

[x] Remove reference specifically to Tube
[x] Changes language to 'Lines'

Coverage remained the same at 100.0% when pulling 69d8127305709d8046f4d1ddad0f141d853c7c5e on add-london-overground into 048c51cca1f8bac77c5b05eee0dd557ea66131fa on master.


Fix FuturesUnordered

Currently, code using FuturesUnordered has a chance to cause Shuttle to erroneously report a deadlock.
For instance, if we take the following code:
  shuttle::future::block_on(async {
        let mut tasks = (0..100).map(|_| spawn(async move {})).collect::<FuturesUnordered<_>>();

        while let Some(result) = tasks.next().await {
            result.unwrap();
        }
    });

When we call next() on a task, that task gets dequeued from the ready_to_run_queue inside FuturesUnordered. If that task is Poll::Ready, then all is fine. If it is Poll::Pending (in the case where we call next() before the spawn has had a chance to execute) however, then the task is never polled again, as we don't wake the associated waker.
This PR seeks to solve this issue by waking the waker, which is stored together with the result in the Wrapper.
Currently the test suite is a bit lacking, and only contains three tests of common patterns with futures that don't do anything.  I have some more tests locally, but they are really just reskins of existing tests, so I am not entirely sure they check any interesting behaviour. I want to add some more interesting tests, so going to look at that next. If anyone has any suggestions, then I am all ears. Also putting this out here to get feedback on the solution in general.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Just a heads up that a fix with the double locking fixed and a test for the custom waker is coming.

Hmm, it can be reapproved and merged now. The behaviour the test is intended to cover is currently exercised by FuturesUnordered through the existing tests. Can add the test later as we don't want to rely on FuturesUnordered internals.


Clean up deprecated code from Pages

There's a bunch of pages listed that are no longer in use. Reference app/config/routes.rb to find the pages being routed to.
If any pages listed under app/pages are not located in this file, they're not being used. Pages should have their own views and controllers associated instead of housing all under one location unless they're static pages. Anything interactive needs to be split off.

SI'm working on this right now. For some reason, I cannot assign the task to myself :(.

@jdspringr07 Weird, lemme try

@jdspringr07 Added you as a collaborator and assigned you to this task.


AttributeError: 'NoneType' object has no attribute 'TF_NewStatus'

Hi,I have recently read your igreat work "Closing the Loop for Robotic Grasping: A Real-time, Generative Grasp Synthesis Approach" and have been trying to validate your results for a long time.However,I meet an error as below:
2019-05-02 11:10:37.457694: I tensorflow/core/common_runtime/gpu/gpu_device.cc:977] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 1050 Ti, pci bus id: 0000:01:00.0)
Traceback (most recent call last):
File "evaluate.py", line 196, in
run()
File "evaluate.py", line 173, in run
succeeded, failed = calculate_iou_matches(grasp_positions_out, grasp_angles_out, bbs_all, no_grasps=NO_GRASPS, grasp_width_out=grasp_width_out)
File "evaluate.py", line 102, in calculate_iou_matches
gt_bbs = BoundingBoxes.load_from_array(ground_truth_bbs[i, ].squeeze())
IndexError: index 0 is out of bounds for axis 0 with size 0
Exception ignored in: <bound method BaseSession.del of <tensorflow.python.client.session.Session object at 0x7f479f396a58>>
Traceback (most recent call last):
File "/home/robot/anaconda3/envs/weiwuhuhu/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 587, in del
AttributeError: 'NoneType' object has no attribute 'TF_NewStatus'
Firstly, I run the file evaluate.py,it occurs that:
File "/home/robot/anaconda3/envs/weiwuhuhu/lib/python3.5/site-packages/h5py/_hl/files.py", line 170, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 85, in h5py.h5f.open
OSError: Unable to open file (unable to open file: name = '/home/douglas/dev/ae_grasp_prediction/data/datasets/dataset_rotated_width_zoom_171219_1516.hdf5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
Sencondly,i replace the  'dataset_rotated_width_zoom_171219_1516.hdf5' with the 'dataset_190502_1033.hdf5'.
Finally, i run the evalute.py the, the obove wrong:
AttributeError: 'NoneType' object has no attribute 'TF_NewStatus' has occured .
How can i resolve it. Thank you very much

Hi,
So it looks like there's two different issues. The first is the missing hdf5 file (which I think you've resolved by creating your own and changing the path, is that correct?).
The second one looks like it's potentially an issue with your tensorflow/keras install, which I'm not so sure about, but seems to come up in a quick google, e.g. https://github.com/tensorflow/tensorflow/issues/8652

I didn't train with the train.py
Firstly, I run the download_pretrained_ggcnn.sh to generate the dataset_190502_2135.hdf5 in dataset file,
Secondly ,i run the evluate.py, then occur the error:
IOError: Unable to open file (unable to open file: name = '/home/douglas/dev/ae_grasp_prediction/data/datasets/dataset_rotated_width_zoom_171219_1516.hdf5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
So i modify the path and i dont't find the dataset_rotated_width_zoom_171219_1516.hdf5, so i replace it with the dataset_190502_2135.hdf5 in the _dataset.txt.
Finally, i run the evaluate.py, the error occur is that:
Traceback (most recent call last):
File "evaluate.py", line 196, in
run()
File "evaluate.py", line 173, in run
succeeded, failed = calculate_iou_matches(grasp_positions_out, grasp_angles_out, bbs_all, no_grasps=NO_GRASPS, grasp_width_out=grasp_width_out)
File "evaluate.py", line 102, in calculate_iou_matches
gt_bbs = BoundingBoxes.load_from_array(ground_truth_bbs[i, ].squeeze())
IndexError: index 0 is out of bounds for axis 0 with size 0
This is my step, i didn't run the train.py, can i run the evaluate.py directly? i can't get the result...
And my environment is :
tensorflow1.10
keras:2.0.6
Thank you very much!

Hi, I try run the train_ggcnn.py,the error is :
ValueError: Input 0 is incompatible with layer conv2d_1: expected ndim=4, found ndim=2
Could you please tell me some details about it?I am looing forward to your reply.

Hi,
So it looks like there's two different issues. The first is the missing hdf5 file (which I think you've resolved by creating your own and changing the path, is that correct?).
The second one looks like it's potentially an issue with your tensorflow/keras install, which I'm not so sure about, but seems to come up in a quick google, e.g. tensorflow/tensorflow#8652

Thank you very much for your help.And I solve this problem recently. You are right, and the path of my cornell dataset is wrong.And I run the evaluate.py , then i get the reult such as :
190503_1859__ggcnn_9_5_3__32_16_8	5	1051.0/1760.0	59.72%

Hi,
So it looks like there's two different issues. The first is the missing hdf5 file (which I think you've resolved by creating your own and changing the path, is that correct?).
The second one looks like it's potentially an issue with your tensorflow/keras install, which I'm not so sure about, but seems to come up in a quick google, e.g. tensorflow/tensorflow#8652

Thank you very much for your help.And I solve this problem recently. You are right, and the path of my cornell dataset is wrong.And I run the evaluate.py , then i get the reult such as :
190503_1859__ggcnn_9_5_3__32_16_8	5	1051.0/1760.0	59.72%
How can i input the image to get the result of your paper (bounding box)

I download the data from http://s.dougsm.com/ggcnn_rss/ just like' download_pretrained_ggcnn.sh' do.After I unzip it I can't find  'dataset_rotated_width_zoom_171219_1516.hdf5' or 'dataset_190502_1033.hdf5'. Is there something I done wrong?

Hello!
If you're still having trouble, have a look at the new version that I just pushed.  It will require a little bit of set-up (it uses PyTorch rather than Tensorflow), but should be a lot more user friendly.  There might still be some issues to work out, so let me know if there is problems.


[STORM-1175] State store for windowing operations

Added IStatefulBolt abstraction that can be implemented by bolts which requires
its state to be checkpointed periodically. State implementations based on
key-value mapping store are added. There is a default in-memory based implementation
and optional redis based implementation that provides state persistence. An internal
CheckpointSpout periodically emits checkpoint tuples which flows through the
topology DAG to take a consistent snapshot of the state across all components.
There is still pending work to capture the evaluated/expired state of the tuples
in the Window and use it to prune duplicate window evaluations during restart. This can
be built on top of the stateful bolt abstractions and will be done as part of STORM-1176

@arunmahadevan Thanks for the patch. I think the missing piece is the how-to-use guide. you can file a follow up jira for that. Overall looks good to me and once the comments are addressed , I am +1.

@Parth-Brahmbhatt @harshach refactored the state handling code to make it cleaner and addressed other review comments. Also added a followup task for documentation - https://issues.apache.org/jira/browse/STORM-1416

+1 as well. minor nit pick on the default value.

@harshach while addressing review comments I had added the config in defaults.yaml. I further refactored it to remove the constant and made sure that the value is not too less.

@harshach @Parth-Brahmbhatt whilde doing more tests found out a few issues around acking and failure handling and have addressed in https://github.com/apache/storm/commit/c075ffacdf1680ea3792c4e7979228e3a1d65f0c can you take a look?

@arunmahadevan I am still +1 but the up merge is failing for storm-core/src/jvm/org/apache/storm/topology/TopologyBuilder.java can you please upmerge the last time and I can merge this into master.

@Parth-Brahmbhatt Fixed the merge conflicts.
Also had to refactor most of the code since the package name changed from backtype.storm -> org.apache.storm in master. Ran the sample topologies after the package name refactoring and things look good.

+1

@kosii Thanks for reporting. Yes the keys in pendingPrepare should have priority. Typically this case does not happen since when a prepare fails, the txn is rolled-back and retried (i.e a fresh prepare).
Do you want to post a JIRA/Patch?

@arunmahadevan yes, I'm on it


TypeError: add_weight() got multiple values for argument -- FixedBatchNormalization.py

Dear kbardool:
While running the script of train_frcnn.py, the system raises the TypeError as follows.
TypeError: add_weight() got multiple values for argument 'name'
The TypeError is rleated to the script of FixedBatchNormalization.py.
1. Snippet of FixedBatchNormalization.py
def build(self, input_shape):
        self.input_spec = [InputSpec(shape=input_shape)]
        shape = (input_shape[self.axis],)

        self.gamma = self.add_weight(shape,
                                     initializer=self.gamma_init,
                                     regularizer=self.gamma_regularizer,
                                     name='{}_gamma'.format(self.name),
                                     trainable=False)
        self.beta = self.add_weight(shape,
                                    initializer=self.beta_init,
                                    regularizer=self.beta_regularizer,
                                    name='{}_beta'.format(self.name),
                                    trainable=False)
        self.running_mean = self.add_weight(shape, initializer='zero',
                                            name='{}_running_mean'.format(self.name),
                                            trainable=False)
        self.running_std = self.add_weight(shape, initializer='one',
                                           name='{}_running_std'.format(self.name),
                                           trainable=False)

        if self.initial_weights is not None:
            self.set_weights(self.initial_weights)
            del self.initial_weights

        self.built = True

2. TypeError Message
Traceback (most recent call last):
File "train_frcnn.py", line 125, in
shared_layers = nn.nn_base(img_input, trainable=True)
File "/home/mike/keras-frcnn/keras_frcnn/resnet.py", line 192, in nn_base
x = FixedBatchNormalization(axis=bn_axis, name='bn_conv1')(x)
File "/home/mike/miniconda3/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py", line 75, in symbolic_fn_wrapper
return func(*args, **kwargs)
File "/home/mike/miniconda3/lib/python3.7/site-packages/keras/engine/base_layer.py", line 463, in call
self.build(unpack_singleton(input_shapes))
File "/home/mike/keras-frcnn/keras_frcnn/FixedBatchNormalization.py", line 30, in build
trainable=False)
TypeError: add_weight() got multiple values for argument 'name'
Please help solve the issue at your convenience.
Best regards,
Mike

Hey,
@mikechen66 did you solve the problem? I'm facing the same one.

I have not yet solved the issue. It is a name scope conflict. Since add_weight() is the default function within TensorFLow, it is hard to custom the function to adapt to the multiple values for just one name.  I may try the RetinaNet to avoid such a name scope conflict.


runtime: floating point error panic

What version of Go are you using (go version)?
1.5.3
What operating system and processor architecture are you using (go env)?
plan9/386
What did you do?
I am building go 1.5.3 on plan9 (latest 9front) 386 bootstrapping it from a build of go 1.4 on the system. I set the GOROOT_BOOTSTRAP variable and run the make.rc script.
What did you expect to see?
I expected that the bootstrapping process would allow me to build go 1.5.3.
What did you see instead?
Part way through building go 1.5 there are floating point error panics thrown that stop the build. I see a virtually identical stack as mentioned in this email thread:
<EMAIL_ADDRESS>
Here are the results of my initial investigation so far:
I temporarily worked around that particular problem by changing the code and ran into another floating point error later on in the build process.
I managed to create and build a simple Go program that passes with the 1.4 compiler and fails with the 1.5 compiler (built enough to test it). The failure panic is very similar to what I saw in the link above ("floating point error").
http://play.golang.org/p/rtYF4uasa2
I modified the 1.5 compiler slightly to try to get a better idea of the note sent to the process that resulted in the internal _SIGFLOAT. Here is the full panic with the note text sent from the operating system:
sys: fp: precision loss fppc=0x1098 status=0x20 pc=0x00001098
PC=0x1098
groutine 1 [running]:
main.main()
/usr/glenda/tmp/test.go:7 +0x38 fp=0x102e9f88 sp=0x102e9f44
runtime.main()
/usr/glenda/go1.5/go/src/runtime/proc.go:111 +0x272 fp=0x102e9fb0 sp=0x102e9f88
runtime.goexit()
/usr/glenda/go1.5/go/src/runtime/asm_386.s:1662 +0x1 fp=0x102e9fb4 sp=0x102e9fb0
ax 0x102540e0
bx 0x0
cx 0x102540e0
dx 0x20
di 0x10252be4
si 0x10294068
bp 0x137ac0
sp 0x102e9f44
pc 0x1098
flags 0x10206
cs 0x23
fs 0x0
gs 0x0
I disassembled the main function in both the 1.4 version and the 1.5 version:
1.4:
runtime.text+0xf 0x0000102f JHI runtime.text+0x18(SB)
runtime.text+0x11 0x00001031    CALL    runtime.morestack_noctxt(SB)
runtime.text+0x16 0x00001036    JMP runtime.text(SB)
runtime.text+0x18 0x00001038    SUBL    $0x58,SP
runtime.text+0x1b 0x0000103b    FMOVD   $f64.4024000000000000(SB),F0
runtime.text+0x21 0x00001041    FMOVDP  F0,0x0(SP)
runtime.text+0x24 0x00001044    CALL    math.Log2(SB)
runtime.text+0x29 0x00001049    FMOVD   0x8(SP),F0
runtime.text+0x2d 0x0000104d    FMOVDP  F0,0x34(SP)
runtime.text+0x31 0x00001051    FMOVD   0x34(SP),F0
runtime.text+0x35 0x00001055  FDIVRD  $f64.4080000000000000(SB),F0
runtime.text+0x3b 0x0000105b    FMOVDP  F0,0x2c(SP)
runtime.text+0x3f 0x0000105f    FMOVD   0x2c(SP),F0
runtime.text+0x43 0x00001063    FSTCW   0x22(SP)
runtime.text+0x47 0x00001067    MOVW    $0xf7f,0x20(SP)
runtime.text+0x4e 0x0000106e    FLDCW   0x20(SP)
runtime.text+0x52 0x00001072    FMOVLP  F0,0x24(SP)
runtime.text+0x56 0x00001076    FLDCW   0x22(SP)
runtime.text+0x5a 0x0000107a    MOVL    0x24(SP),BX
runtime.text+0x5e 0x0000107e    MOVL    BX,0x28(SP)
runtime.text+0x62 0x00001082    LEAL    0x44(SP),BX
runtime.text+0x66 0x00001086    MOVL    $0x0,0x0(BX)
runtime.text+0x6c 0x0000108c    MOVL    $0x0,0x4(BX)
runtime.text+0x73 0x00001093    LEAL    0x44(SP),BX
runtime.text+0x77 0x00001097    CMPL    BX,$0x0
runtime.text+0x7a 0x0000109a    JEQ runtime.text+0x102(SB)
runtime.text+0x80 0x000010a0    MOVL    $0x1,0x24(SP)
1.5:
main.main 0x00001060    MOVL    _privates(SB),CX
main.main+0x6 0x00001066    MOVL    0x0(CX),CX
main.main+0xc 0x0000106c    CMPL    0x8(CX),SP
main.main+0xf 0x0000106f    JLS main.main+0xf6(SB)
main.main+0x15 0x00001075   SUBL    $0x40,SP
main.main+0x18 0x00001078   MOVSD   $f64.4024000000000000(SB),X0
main.main+0x20 0x00001080   MOVSD   X0,0x0(SP)
main.main+0x25 0x00001085   CALL    math.Log2(SB)
main.main+0x2a 0x0000108a   MOVSD   0x8(SP),X0
main.main+0x30 0x00001090   MOVSD   $f64.4080000000000000(SB),X1
main.main+0x38 0x00001098 DIVSD   X0,X1
main.main+0x3c 0x0000109c   CVTTSD2SL   X1,BX
main.main+0x40 0x000010a0   MOVL    BX,main.autotmp_0001+0x20(SP)
main.main+0x44 0x000010a4   XORL    BX,BX
main.main+0x46 0x000010a6   MOVL    BX,main.autotmp_0005+0x2c(SP)
main.main+0x4a 0x000010aa   MOVL    BX,0x30(SP)
main.main+0x4e 0x000010ae   LEAL    main.autotmp_0005+0x2c(SP),BX
main.main+0x52 0x000010b2   CMPL    BX,$0x0
main.main+0x55 0x000010b5   JEQ main.main+0xef(SB)
main.main+0x5b 0x000010bb   MOVL    $0x1,0x38(SP)
main.main+0x63 0x000010c3   MOVL    $0x1,0x3c(SP)
main.main+0x6b 0x000010cb   MOVL    BX,main.autotmp_0002+0x34(SP)
main.main+0x6f 0x000010cf   MOVL    $0xa3d40,0x0(SP)
main.main+0x76 0x000010d6   LEAL    main.autotmp_0001+0x20(SP),BX
main.main+0x7a 0x000010da   MOVL    BX,0x4(SP)
main.main+0x7e 0x000010de   MOVL    $0x0,0x8(SP)
main.main+0x86 0x000010e6   CALL    runtime.convT2E(SB)
main.main+0x8b 0x000010eb   MOVL    0xc(SP),CX
When I debug the 1.5 binary the floating point loss of precision occurs at the DIVSD X0,X1 instruction at main.main+0x38. It seems that the 1.4 version uses a different instruction to do the division (FDIVRD). I don't know enough about x86 instruction set to know why DIVSD could cause a loss of precision where FDIVRD would not.

I hope that there are the enough of the right kind of details in the report.

Sorry, the plan9 port of Go is buggy and incomplete. Try using a tip Go build for your bootstrap (e.g. https://storage.googleapis.com/go-builder-data/gobootstrap-plan9-386.tar.gz) and building Go 1.6 or Go tip instead of Go 1.5.3.
/cc @0intro

Thanks @bradfitz I will give that a try.

Feel free to file more issues if you find problems at tip. I closed this plan9 support is always very bleeding edge and bug reports against old versions aren't very interesting since they're probably fixed and there are probably new bugs.

I tried the version from the link you provided and even launching "go version" throws a floating point loss of precision error on a MULD instruction inside the go runtime. The rest of the plan9 install that I have seems stable and fine. I've tried some simple floating point in a C program and that seems to work ok too.
I'm thinking of trying to switch over to plan9/amd64 to see if I have better luck there. Is there a plan9 bootstrap tarball for amd64 so that I can try compiling at tip?
Thanks

I've never used plan9, so I'll defer to @0intro.

Thanks @bradfitz I'll try making a bootstrap from Mac/Linux.

Try setting GO386=387 when building the plan9/386 port?

Thanks @minux that resolved the problem for me.
It seems that something is wrong with the sse2 FP on my machine.

There is no plan9/amd64 binary package available, since you can easily cross-compile Go for plan9/amd64, as you figured out.
Can you reproduce this issue when building Go tip and bootstraping with Go tip on plan9/386?
If so, could you post a backtrace?
Also, which Plan 9 flavor are you running?

@0intro thank you. I am up and running now with the trick from @minux. I set GO386=387 to force the compiler to use 387 instructions instead of sse2. I'm assuming that will also work when bootstrapping from Linux/Mac but I haven't tried that yet.
I am still unsure why sse2 isn't working in this context for me. It could be the virtualbox is not emulating sse2 the way that the Go compiler expects. Perhaps, there is a legitimate bug in the Go compiler on 386. Although, I doubt that last one since I'm sure many people use linux/386 windows/386 and floating point is used in the Go runtime quite a bit.
I'm running the newest plan9 front (aka 9front) from a week or two ago. My understanding is that it is still compatible with plan9. Would you like me to try bootstrapping Go from tip without the GO386=387 variable? I believe that I am on the latest virtualbox (5.0.16).

Would you like me to try bootstrapping Go from tip without the GO386=387 variable?

Yes. This way we could know if Go is still affected by this issue or not.

@0intro I tested with tip, bootstrapped from Mac and run into the same kind of floating point problem when I try to run "go version" on my plan9 in virtualbox. It's a floating point precision loss on a MULD instruction in runtime.nextSample (determined by running acid).
Anything else you want me to try? I don't want to waste any more of your time.

I think we can reopen this issue, since the current Go tip seems to be affected as well.
I suspect the issue might be related to the 9front kernel. However, I don't know any difference
between the Plan 9 and 9front kernels regarding SSE. They both save the SSE states
when the fxsr flag is set.

given the lack of recent reports, i assume this is no longer a problem?


scaling problem

this is thorium

2 below is random other app

idk why url bar on thorium just so oversize like that, so weird
OS: lubuntu 22.04
kernal: 6.5
i just install it today so obviously it on the newest verstion: 123.0.6312.133 (05/05/2024)
just thanks for helping me first <3

@tloc241 Right click in the tabstrip, and select "Use system titlebar and borders".


Fix race in HTTP/2 stream abort drain timeout test

Fixes most recent failure reported in #2897.
[xUnit.net 00:00:47.13]     AbortedStream_ResetsAndDrainsRequest_RefusesFramesAfterCooldownExpires(finalFrameType: DATA) [FAIL]
2018-10-16T18:33:32.8755774Z   Failed   AbortedStream_ResetsAndDrainsRequest_RefusesFramesAfterCooldownExpires(finalFrameType: DATA)
2018-10-16T18:33:32.8813235Z   Error Message:
2018-10-16T18:33:32.8815566Z    System.TimeoutException : The operation at /_/test/shared/TaskTimeoutExtensions.cs:12 timed out after reaching the limit of 30000ms.
2018-10-16T18:33:32.8817542Z   Stack Trace:
2018-10-16T18:33:32.8820211Z      at Microsoft.AspNetCore.Testing.TaskExtensions.<TimeoutAfter>d__0`1.MoveNext()
2018-10-16T18:33:32.8822603Z   --- End of stack trace from previous location where exception was thrown ---
2018-10-16T18:33:32.8824590Z      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2018-10-16T18:33:32.8826444Z      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2018-10-16T18:33:32.8828404Z      at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2TestBase.<ReceiveFrameAsync>d__92.MoveNext() in /_/test/Kestrel.InMemory.FunctionalTests/Http2/Http2TestBase.cs:line 1044
2018-10-16T18:33:32.8830987Z   --- End of stack trace from previous location where exception was thrown ---
2018-10-16T18:33:32.8833656Z      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2018-10-16T18:33:32.8836065Z      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2018-10-16T18:33:32.8837806Z      at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2TestBase.<WaitForConnectionErrorAsync>d__97`1.MoveNext() in /_/test/Kestrel.InMemory.FunctionalTests/Http2/Http2TestBase.cs:line 1113
2018-10-16T18:33:32.8840364Z   --- End of stack trace from previous location where exception was thrown ---
2018-10-16T18:33:32.8842715Z      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2018-10-16T18:33:32.8844630Z      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2018-10-16T18:33:32.8846509Z      at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
2018-10-16T18:33:32.8848498Z      at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2TimeoutTests.<AbortedStream_ResetsAndDrainsRequest_RefusesFramesAfterCooldownExpires>d__5.MoveNext() in /_/test/Kestrel.InMemory.FunctionalTests/Http2/Http2TimeoutTests.cs:line 242
2018-10-16T18:33:32.8948416Z   --- End of stack trace from previous location where exception was thrown ---
2018-10-16T18:33:32.8952714Z      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2018-10-16T18:33:32.8954191Z      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2018-10-16T18:33:32.8956480Z   --- End of stack trace from previous location where exception was thrown ---
2018-10-16T18:33:32.8958385Z      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2018-10-16T18:33:32.8961256Z      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2018-10-16T18:33:32.8963698Z   --- End of stack trace from previous location where exception was thrown ---
2018-10-16T18:33:32.8966296Z      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2018-10-16T18:33:32.8968371Z      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2018-10-16T18:33:32.8970957Z   Standard Output Messages:
2018-10-16T18:33:32.8973301Z    | [0.001s] TestLifetime Information: Starting test AbortedStream_ResetsAndDrainsRequest_RefusesFramesAfterCooldownExpires-DATA at 2018-10-16T18:33:01
2018-10-16T18:33:32.8975806Z    | [0.010s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "(null)" sending SETTINGS frame for stream ID 0 with length 18 and flags NONE
2018-10-16T18:33:32.8977595Z    | [0.010s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "(null)" sending WINDOW_UPDATE frame for stream ID 0 with length 4 and flags 0x0
2018-10-16T18:33:32.8980259Z    | [0.010s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "(null)" received SETTINGS frame for stream ID 0 with length 0 and flags NONE
2018-10-16T18:33:32.8982576Z    | [0.011s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "(null)" sending SETTINGS frame for stream ID 0 with length 0 and flags ACK
2018-10-16T18:33:32.8985425Z    | [0.012s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "(null)" received HEADERS frame for stream ID 1 with length 37 and flags END_HEADERS
2018-10-16T18:33:32.8987856Z    | [0.017s] Microsoft.AspNetCore.Server.Kestrel Debug: Trace id ":00000001": HTTP/2 stream error "INTERNAL_ERROR". A Reset is being sent to the stream.
2018-10-16T18:33:32.8991342Z    | Microsoft.AspNetCore.Connections.ConnectionAbortedException: The connection was aborted by the application.
2018-10-16T18:33:32.8994465Z    | [0.019s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "(null)" sending RST_STREAM frame for stream ID 1 with length 4 and flags 0x0
2018-10-16T18:33:32.8998169Z    | [0.028s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "(null)" received DATA frame for stream ID 1 with length 100 and flags NONE
2018-10-16T18:33:32.9000701Z    | [0.028s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "(null)" received DATA frame for stream ID 1 with length 100 and flags NONE
2018-10-16T18:33:32.9003177Z    | [0.029s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "(null)" received DATA frame for stream ID 1 with length 100 and flags NONE
2018-10-16T18:33:32.9005034Z    | [0.029s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "(null)" received DATA frame for stream ID 1 with length 100 and flags NONE
2018-10-16T18:33:32.9006909Z    | [0.029s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "(null)" received DATA frame for stream ID 1 with length 100 and flags NONE
2018-10-16T18:33:32.9009256Z    | [0.029s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "(null)" received DATA frame for stream ID 1 with length 100 and flags NONE
2018-10-16T18:33:32.9011494Z    | [0.029s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "(null)" received DATA frame for stream ID 1 with length 100 and flags NONE
2018-10-16T18:33:32.9013619Z    | [0.029s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "(null)" received DATA frame for stream ID 1 with length 100 and flags NONE
2018-10-16T18:33:32.9015458Z    | [0.029s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "(null)" received DATA frame for stream ID 1 with length 100 and flags NONE
2018-10-16T18:33:32.9017129Z    | [0.029s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "(null)" received DATA frame for stream ID 1 with length 100 and flags NONE
2018-10-16T18:33:32.9019458Z    | [0.030s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "(null)" received DATA frame for stream ID 1 with length 100 and flags NONE
2018-10-16T18:33:32.9021485Z    | [0.030s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "(null)" received DATA frame for stream ID 1 with length 100 and flags END_STREAM
2018-10-16T18:33:32.9023995Z    | [0.053s] Microsoft.AspNetCore.Server.Kestrel Information: Connection id "(null)", Request id ":00000001": the application completed without reading the entire request body.
2018-10-16T18:33:32.9025747Z    | [30.040s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "(null)" sending GOAWAY frame for stream ID 0 with length 8 and flags 0x0
2018-10-16T18:33:32.9027912Z    | [30.040s] Microsoft.AspNetCore.Server.Kestrel Debug: Connection id "(null)" is closed. The last processed stream ID was 1.
2018-10-16T18:33:32.9030244Z    | [30.040s] TestLifetime Information: Finished test AbortedStream_ResetsAndDrainsRequest_RefusesFramesAfterCooldownExpires-DATA in 30.0399266s

Similar race:
https://ci3.dot.net/job/aspnet_KestrelHttpServer/job/master/job/windows-Configuration_Release_prtest/86/consoleFull
00:22:01.177   [xUnit.net 00:00:18.07]     AbortedStream_ResetsAndDrainsRequest_RefusesFramesAfterClientReset(finalFrameType: HEADERS) [FAIL]
00:22:01.177   Failed   AbortedStream_ResetsAndDrainsRequest_RefusesFramesAfterClientReset(finalFrameType: HEADERS)
00:22:01.177   Error Message:
00:22:01.177    Assert.Contains() Failure
00:22:01.177   Not found: The client sent a HEADERS frame to closed stream ID 1.
00:22:01.177   In value:  HTTP/2 connection error (STREAM_CLOSED): A frame of type HEADERS was received after stream 1 was reset or aborted.

What are we doing about this? More work to do on it? Close?


[#3680] Enabled SecurityManager results in ClassNotFoundError during io....

...netty.util.NetUtil initialization
Motivation:
When a SecurityManager is in place that preven reading the somaxconn file trying to bootstrap a channel later will result in a ClassNotFoundError.
Modifications:

Reading the file in a privileged block.

Result:
No more ClassNotFoundError when a SecurityManager is in place.

@Scottmitch @trustin Please check...
@spinscale this should fix your issue.

Cherry-picked into 4.0 (7cb9b9903de814acad99916099b0f452180622cd) , 4.1 (f67b14bf350abfda113da116e6c9a335aa60f649) and master (18ace807b89e58b0c10f1c42385163e895e2df57)

@normanmaurer Deleted your branch :)


PR: Fix shortcut reset error and add test

Description of Changes

[x] Wrote at least one-line docstrings (for any new functions)
[x] Added unit test(s) covering the changes (if testable)

Issue(s) Resolved

Related to #11132
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @goanpeca

This fixes part one of issue #11132. I'm solving part two (the shortcut conflcts) right now.


SAA-1824 split view out based on analysis

Codecov Report
Attention: Patch coverage is 84.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 84.14%. Comparing base (3f84f20) to head (bf57aee).

Files
Patch %
Lines

...ivitiesmanagementapi/service/AttendancesService.kt
84.00%
0 Missing and 4 partials :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #938      +/-   ##
============================================
- Coverage     84.18%   84.14%   -0.04%
  Complexity     3649     3649
============================================
  Files           377      377
  Lines         12062    12075      +13
  Branches       1051     1057       +6
============================================
+ Hits          10154    10161       +7
  Misses         1435     1435
- Partials        473      479       +6

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


Delay for CV, SUT and MUT not calculating correctly

It appears that the CV, MUT and SUT delay values in the scenario link file is showing minutes instead of hours. This is affecting several of the output files including the performance csv files and the VMT delay summary. See comparison in the attached.
master_links_chkDelay.xlsx

CC @lfhuntsinger
Hey Mike. Thanks for reporting this. The problem looks like I was just setting the wrong vector (flow) instead of delay. Here's the fix, which is now merged into dev for the next model:

Thank you Kyle!
On Tue, Oct 22, 2024 at 9:27 AM Kyle Ward @.***> wrote:

CC @lfhuntsinger https://github.com/lfhuntsinger
Hey Mike. Thanks for reporting this. The problem looks like I was just
setting the wrong vector (flow) instead of delay. Here's the fix, which is
now merged into dev for the next model:
image.png (view on web)
https://github.com/user-attachments/assets/d2dbab6e-20d7-41ed-ae66-09cba335ff35
—
Reply to this email directly, view it on GitHub
https://github.com/Triangle-Modeling-and-Analytics/TRMG2/issues/427#issuecomment-2429286462,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP57ZQPQ6ROKNELIZCDSTB3Z4ZHCRAVCNFSM6AAAAABQKRFNCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRZGI4DMNBWGI
.
You are receiving this because you were mentioned.Message ID:
@.***>


The search icon doesn't disappear after typing a letter to the filter by prefix box

Storage Explorer Version: 1.31.0-dev
Build Number: 20230802.3
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Ventura 13.5 (Apple M1 Pro)
Architecture: x64/x64/arm64
How Found: From running test cases
Regression From: Previous release (1.30.2)
Steps to Reproduce

Expand one storage account -> Blob Containers.
Open one blob container -> Open the view options panel.
Type a letter to the filter by prefix box.
Check whether the search icon disappears.

Expected Experience
The search icon disappears.

Actual Experience
The search icon doesn't disappear.

Additional Context
This issue doesn't reproduce for file shares/ADLS Gen2 blob containers.

Verified this issue on the build 20230803.5. Fixed. So, we are going to close it.


clock: canonical test data has been improved

The JSON file containing canonical inputs/outputs for the Clock exercise has gotten new data.
There are two situations that the original data didn't account for:

Sometimes people perform computation/mutation in the display method instead of in add. This means that you might have two copies of clock that are identical, and if you add 1440 minutes to one and 2880 minutes to the other, they display the same value but are not equal.
Sometimes people only account for one adjustment in either direction, meaning that if you add 1,000,000 minutes, then the clock would not end up with a valid display time.

If this track has a generator for the Clock exercise, go ahead and regenerate it now. If it doesn't, then please verify the implementation of the test suite against the new data. If any cases are missing, they should be added.
See https://github.com/exercism/x-common/issues/166

Looks like our tests are not synced up with the JSON. This is a good opportunity to overhaul and make sure we match.


Move deletion of successfully put chunks of a failed composite blob put to the BackgroundDeleter

Today, they are deleted as part of the same OperationController that does the Put. This can and should be moved to the BackgroundDeleter being introduced as part of issue #298.

This will be fixed after #497 is merged.

Fixed in #497


Desktop support?

Any ETA on when we might get desktop support for gamepads?

Unfortunately we don't have any plans for the near future.
Currently this package only supports Android, we still need to add iOS and Web support first.
But with all the work that we have been putting to finish the v1 of Flame, it may take some time until we have available time to work on this package again.
We would gladly accept PRs for this though.


no dbdev extension after running install script

Bug report
Describe the bug
after running the install script as outlined here:
https://database.dev/supabase/dbdev
on supabase cloud, i cant find the extension in the extensions overview. Script ran w/o problems though.
Of course i also cant do: select * from dbdev('kiwicopple-pg_idkit')
ERROR:  42883: function dbdev(unknown) does not exist
LINE 1: select * from dbdev('kiwicopple-pg_idkit');
                      ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.

I am also puzzled of the install script using pg_tle while tle is not being available in supabase cloud.
Expected behavior
a running package manager client.

Extensions installed using dbdev are not visible on the extensions page because they are trusted language extensions. You can view them with the following sql:
select * from pgtle.available_extensions();

The complete pg_tle api is documented here: https://github.com/aws/pg_tle/blob/main/docs/03_managing_extensions.md.
pg_tle is also not visible on the dashboard but is available. As per the installation instructions it needs to be set in shared_preload_libraries, so you can see it is set by running:
show shared_preload_libraries;

But can you comment on the real error then? Its nice to know that i cant see the extensions but this doesnt explain my error

as written in my bug report, i ran the install script as outlined https://database.dev/supabase/dbdev
According to the documentation i should be able to install extensions then. So i went ahaed and tried the docs outlined for idkit: https://github.com/kiwicopple/pg-extensions/tree/main/pg_idkit
Thats also the place where i got this command from:
select * from dbdev('kiwicopple-pg_idkit')
So your documentation seems of in various places...

It is available in the cloud, but something might be wrong with your project. Please raise a support ticket to get someone to take a look.


ncdu: Copy Path to Clipboard

What is your current rclone version (output from rclone version)?
rclone v1.48.0
- os/arch: linux/amd64
- go version: go1.12.6

What problem are you are trying to solve?
ncdu is really nice for browsing files on a remote but to perform operations on a file or folder found through ncdu you have to remember the path.
How do you think rclone should be changed to solve that?
Having a key to copy the path of the currently selected file or folder to the clipboard would make it easy to just paste the path to be able to perform operations.
If the idea is okay, I'll go ahead with a pull request.

Sounds like a great idea - please go ahead :-)
Not sure how easy it will be on 3 different platforms so maybe just displaying the full path on a key might be enough?

Displaying the path would be nice. As far as actually putting on the clipboard, github.com/atotto/clipboard seems to support the 3 main platforms. Would that work?

Displaying the path would be nice. As far as actually putting on the clipboard, github.com/atotto/clipboard seems to support the 3 main platforms. Would that work?

That looks like a small focussed library, so yes I think that would be fine.
We probably need to be a little careful with error handling as there may be times the clipboard doesn't work (eg running via ssh) or on plan9 etc, but yes, let's go for it!

I've merged this to master now which means it will be in the latest beta in 15-30 mins and released in v1.49
Thank you :-)


fix: properly set owners to Sqlatable.owners_data inside payload

SUMMARY

Updating the data payload to have owners = SqlaTable.owners_data, by accident removed this code and properly refactor and add it back to the core model
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

🏷 preset:2022.29


⚠ Spryr has degraded performance

In 7fa1fe8, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3140 ms

Resolved: Spryr performance has improved in 88f693c after 9 minutes.


converseen: init at <IP_ADDRESS>

Description of changes
Adds converseen, a Qt batch image converter.
Homepage: https://converseen.fasterland.net/
Fixes #272130.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg eval


Custom "Combo Not Found" page

In the eventual future where combos are managed in a control panel and backed by a database, deleting a combo will ask the deleter to choose an option for why it was deleted. Possibly something like:

Combo never worked
Rules Change Makes the Combo Not Work
Duplicate with x combo
Other - written explanation

This will have the benefit of keeping the combo in the database without exposing it to our users, so if a new proposed combo tries to propose the same cards, they'll get a rejection with an explanation for why it was deleted.
In the meantime, while we wait for the combo database control panel, we can simply have the 404 pages for combos say something like:
Oops. This combo no longer exists here. It was either non-functional, a duplicate of another combo, or was eaten by a Vizzerdrix. One of those three.

This issue has been superseded by https://github.com/SpaceCowMedia/commander-spellbook-backend/issues/254
I'll note the suggestion to append a message as to why some combo has been deleted


Storybook components

DO NOT MERGE
See issue: #1345
cc @SachaG @pahans
What i did
Begin Integration of work from https://github.com/shilman/nova-spike

Added package.json and various storybook files into packages/react-base-components
Added simple Loading component example

How to run

See README.md for instructions

What I need (for now)

[x] Agree on strategy for integrating CSS files (nova-spike just copies them into the components package)
[ ] Agree on strategy for package dependencies (nova-spike creates other NPM packages (nova-spike just creates other NPM packages for dependencies, e.g. nova-core, nova-users, nova-posts, etc.)

What needs to be done
After resolution of the above issues:

[x] Refactor components so that, e.g. Meteor.call is passed using context
[ ] Port existing stories over from nova-spike project
[ ] Help completing stories

Refactor components so that, e.g. Meteor.call is passed using context

That's already done :)

I'm closing this PR, we'll get back to this thread later on, based on what you did @shilman 🙏


Remove offline resolution CLI variable source

Description
Spliting #460 into smaller chunks. Related to #437
Reviewer Checklist

[ ] API Go Documentation
[ ] Tests: Unit Tests (and E2E Tests, if appropriate)
[ ] Comprehensive Commit Messages
[ ] Links to related GitHub Issue(s)

@stevekuznetsov I see that you enabled auto merge yesterday. Did you also mean to approve it? Or do you have further feedback?

Sorry, all the repos have different rules for merging and it's too easy to do the wrong dance ...

Sorry, all the repos have different rules for merging and it's too easy to do the wrong dance ...

No worries! Thanks for the update!


Added linear_regression_GradientDescent.py

Please Merge this Algorithm!

hi, regretfully, we are not seeking this type of contribution as it lies outside the curriculum design. Thank you, however!


Update AlizaBestFriend_en_GB.lang

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

Hiya, it looks like you updated the wrong file here.


Fix git ignore

The master branch contained files in the unity folder such as Library, Temp, and UserSettings which were supposed to be ignored by the gitignore. The associated files have been deleted and the gitignore updated. Along with that the .vscode folder has also been ignored.

One other thing was the .plastic folder which I wasn't sure whether it should be removed


Selection

Hi,
How could I remove text selection after Copy? In your example it's working good
Thanks in advance

have you tried the onSuccess callback for that? As being written here: https://sachinchoolur.github.io/ngclipboard/
// You can still access the clipboard.js event
$scope.onSuccess = function(e) {
console.info('Action:', e.action);
console.info('Text:', e.text);
console.info('Trigger:', e.trigger);
e.clearSelection();   // <== this sounds to me as it would do the job?

};


[DOCS] Reorganizes Overview and Installation chapters

Overview
This PR:

reorganizes the introduction section,
renames intro.asciidoc to introduction.asciidoc,
adds an installation section,
removes content from low-level and high-level and put it to installation,
removes [partintro] fromlow-level and high-level.

Preview
Table of Contents

Thanks for getting the ball rolling on this one @szabosteve
Our docs folder is readonly. These files also exists in under tests\Tests any asciidoc file there will be picked up.
Some of our docs are comments in *.cs files which go through a transformation.
Let me know if you feel comfertable doing the edits in this folder instead.


Check if a variable is set with the php function isset($var).

Because the stdClass is dynamic, a variable can be avialbe, but must not be. Insteand of just checking if aviable (by accessing it) it's much more better to aks if the variable is realy set. Why? In development mode on php, you will get thousends of warnings (ok, there are 4) that a var is not set in this content.
So the parser can easier check itself (bool-check) than type-check to null.

Because of the followed notices I changed the variable and index lookup. I didn't go trough the code in every detail, just in the notices below.
Notice: Undefined variable: response in [..]/sag/src/Sag.php on line 205
Notice: Undefined index: Cookie in [..]/sag/src/Sag.php on line 941
Notice: Undefined property: stdClass::$Transfer-Encoding in [..]//sag/src/Sag.php on line 1111
Notice: Undefined property: stdClass::$Connection in [..]//sag/src/Sag.php on line 1176
Notice: Undefined variable: response in [..]/sag/src/Sag.php on line 205
Notice: Undefined index: Cookie in [..]/sag/src/Sag.php on line 941
Notice: Undefined property: stdClass::$Connection in [..]/sag/src/Sag.php on line 1176

damit, wrong button. Sorry

Hi Swissbite,
First off, thank you for your patches. It's always great to see community contribution!
I tested your changes to see if there is a performance improvement. The test suite (make check) actually ran 1 second faster without your changes. I'm sure that if I ran both code sets enough times they would average out to the same execution time.
So since Sag does not support strict mode, which is what your patches are really about, and there is no performance gain, I am not going to merge your pull request in.
However, there is plenty more work to be done on Sag. Let me know if you are interested in contributing elsewhere - help is always appreciated! :)
Cheers,
Sam


Precommit

Summary

added pre-commit action and hook that will be run on every Pull Request to viadot
Importance

To add pre-commit checks on every PR in viadot
Checklist

This PR:

[] adds new tests (if appropriate)
[] updates docstrings for any new functions or function arguments (if appropriate)
[x] updates CHANGELOG.md with a summary of the changes

@fgoiriz pls also add documentation in CONTRIBUTING.md

Pushed changes, should we change also the destination of this PR from viadot:main to viadot:2.0 ?


storage is just not working (version fabric 1.19.2)

i entered nether and when i came back its just showing thats theres 0 slots even when its connected to barrels, like its not connected to anything.

I had this happen with an entire network (probably 30 chests and barrels, plus about 10 modded chests). Now I'm unable to get any network to form if I use cables, even if I just use a single barrel (and minimal connections). If I only use the inventory connector (no cables), I'm fine.
I had just gotten it working, and accidentally created a loop in the network while adding a second terminal. The server crashed (restart brought me to a point a few minutes before), and when I came back I couldn't get it to work at all.

Same here, no clue what happened


Footer

We need a footer on every page
Design
Invision Link: https://invis.io/UM12AT5562GS#/463497214_OCW_Footer_2022_V1
Acceptance criteria

[ ] MIT logo links to www.mit.edu
[ ] Open Learning logo links to openlearning.mit.edu
[ ] "Learn More" links to About page (same as header)
[ ] Accessibility links to accessibility.mit.edu
[ ] add a page to ocw-www for the Creative Commons License
[ ] add a page to ocw-www for Terms and Conditions
[ ] social links are the same as currently on ocw.mit.edu
[ ] Open Education Global logo should link to https://www.oeglobal.org/

updated inVision link in description

also updated some of the checkboxes


Is it possible to reverse composition to the original images ?

What are you trying to achieve?

I'm trying to use sharp composition feature to encode and decode PNG images
I need to reduce the images size on its way to the server.
The Idea is to take the original PNG images, encode it to WebP composition.
And then extract it to get the original images.

Have you searched for similar questions?

I did a research in general for such implementation

Are you able to provide a minimal, standalone code sample that demonstrates this question?

NA

Are you able to provide a sample image that helps explain the question?

NA

Hi, please can you provide some sample before and after images (and ideally the code to generate them) to help explain this question.

Hi,
You are right, I was not clear because in the back of my head I thought about encode \ decode and using composite it misleading.
My idea is to use stacked webp images to reduce network bandwidth.
I thought that maybe I can use your great project for this task.

I hope this information helped. Please feel free to re-open with more details if further assistance is required.


enable beam_search path for text-generation

What does this PR do?
as title

Fixes  #270
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Update test explorer beaker icon to match new UI

I believe right now this is the icon that is being used by VS Code: https://github.com/microsoft/vscode/blob/master/src/vs/workbench/api/browser/media/test.svg
It'd be great if that could be updated to match the new UI.

This should be fixed now and using the beaker icon:


Invisible status

Hello,
I have just a comment to documentation. api.listen(callback) event type "presence" returns not only "active", "idle", "offline" states, but also "invisible" state. May I ask you, is there any documentation what e.g. otherstatus or fbappstatus, etc. means or what influence it's "behavior".
Thanks.

Sorry, we're basically just exposing to you what facebook exposes to us so we don't really know what those values mean.  If you figure it out, let us know and we'll add it to the docs!


Julia fails to unwind Garbage Collection frames

While using ddprof in PID mode to profile a Julia program there are a number of frames that end up being in [Incomplete] frames. Like in the following example:

These frames seems to be (mostly at least if not exclusively) coming from GC which is using SIGSEGV to sync multiple threads. DDprof has a problem unwinding these frames since the stack unwinding falls into JITTED Julia code and it is not able to follow up. (It seems that the jitted julia code is not exported to the normal jit-dump in the corresponding file since this is jitted during Julia startup).
Using GDB to unwind the same stack frame results also i n a weird stack-frame:
Thread 7 "julia" received signal SIGSEGV, Segmentation fault.
0x00007ffff725dae4 in jl_gc_state_set (state=<optimized out>, old_state=<optimized out>, ptls=0x7fffc4000b70) at /home/user/profiling/julia/julia/src/julia_threads.h:349
349             jl_gc_safepoint_(ptls);
(gdb) bt
#0  0x00007ffff725dae4 in jl_gc_state_set (state=<optimized out>, old_state=<optimized out>, ptls=0x7fffc4000b70)
    at /home/user/profiling/julia/julia/src/julia_threads.h:349
#1  maybe_collect (ptls=0x7fffc4000b70) at /home/user/profiling/julia/julia/src/julia_threads.h:342
#2  ijl_gc_managed_malloc (sz=8000000) at /home/user/profiling/julia/julia/src/gc.c:3993
#3  0x00007ffff7224ca5 in _new_array_ (elsz=<optimized out>, zeroinit=0 '\000', isunion=0 '\000', hasptr=<optimized out>, isunboxed=1 '\001',
    dims=0x7fff9c3ffdc8, ndims=1, atype=0x7fffe3962b70 <jl_system_image_data+2193584>) at /home/user/profiling/julia/julia/src/array.c:141
#4  _new_array (dims=<optimized out>, ndims=<optimized out>, atype=<optimized out>) at /home/user/profiling/julia/julia/src/array.c:198
#5  ijl_alloc_array_1d (atype=0x7fffe3962b70 <jl_system_image_data+2193584>, nr=<optimized out>) at /home/user/profiling/julia/julia/src/array.c:436
#6  0x00007fffc8f01e38 in ?? ()
#7  0x41431384d01825fa in ?? ()
#8  0x00007fffed32cb68 in ?? ()
#9  0x0000000000000004 in ?? ()
#10 0x0000000000000000 in ?? ()

The 0x00007fffc8f01e38 is in the jitted mmaped area, and the next stackframe 0x41431384d01825fa is completely off (this address is not even mmaped looking into /proc/$pid/maps)
However GDB can use the jit listener interface (https://sourceware.org/gdb/onlinedocs/gdb/JIT-Interface.html#JIT-Interface) . This is enabled for Julia by setting the variable export ENABLE_GDBLISTENER=1 before executing Julia.
In this case unwinding the stack after the signal works as it is supposed to:
(gdb) bt
#0  0x00007ffff725dae4 in jl_gc_state_set (state=<optimized out>, old_state=<optimized out>, ptls=0x5555555bd2e0)
    at /home/user/profiling/julia/julia/src/julia_threads.h:349
#1  maybe_collect (ptls=0x5555555bd2e0) at /home/user/profiling/julia/julia/src/julia_threads.h:342
#2  ijl_gc_managed_malloc (sz=8000000) at /home/user/profiling/julia/julia/src/gc.c:3993
#3  0x00007ffff7224ca5 in _new_array_ (elsz=<optimized out>, zeroinit=0 '\000', isunion=0 '\000',
    hasptr=<optimized out>, isunboxed=1 '\001', dims=0x7fff9afffdc8, ndims=1,
    atype=0x7fffe3962b70 <jl_system_image_data+2193584>) at /home/user/profiling/julia/julia/src/array.c:141
#4  _new_array (dims=<optimized out>, ndims=<optimized out>, atype=<optimized out>)
    at /home/user/profiling/julia/julia/src/array.c:198
#5  ijl_alloc_array_1d (atype=0x7fffe3962b70 <jl_system_image_data+2193584>, nr=<optimized out>)
    at /home/user/profiling/julia/julia/src/array.c:436
#6  in Array () at boot.jl:477
#7  Array () at boot.jl:486
#8  Array () at boot.jl:494
#9  rand () at /home/user/profiling/julia/julia/usr/share/julia/stdlib/v1.9/Random/src/Random.jl:291
#10 rand () at /home/user/profiling/julia/julia/usr/share/julia/stdlib/v1.9/Random/src/Random.jl:292
#11 rand () at /home/user/profiling/julia/julia/usr/share/julia/stdlib/v1.9/Random/src/Random.jl:280
#12 macro expansion () at /home/user/profiling/ddprof/test.jl:5
#13 julia_#3_24 () at threadingconstructs.jl:404
#14 0x00007fffc4f01f50 in jfptr_#3_25 ()
#15 0x00007ffff72228d7 in jl_apply (nargs=1, args=<unavailable>)
    at /home/user/profiling/julia/julia/src/julia.h:1880
#16 start_task () at
/home/user/profiling/julia/julia/src/task.c:1092

GDB is able to continue because it is able to figure out that this is jitted code (probably looking up the symbols that exist in __jit_debug_descriptor or tracks them through __jit_debug_register_code and then stops the FP unwinding and uses jitted dwarf debug info (this last part is a bit of an educated guess)
Implementing the same mechanism right now might require a lot of effort but it would be great if there is a way for these frames to be detected and be reported something else instead of [Incomplete].
Although this was shown in Julia, I believe that this is relevant to all languages which use LLVM as a jit backend is tha same way.

I started looking into this working from @aristotelhs 's pointers.
I could not find dwarf information within the jitdump. It seems llvm does not emit it through jitdump.
It is not clear to me where debug information is coming from in gdb has some specific code to unwind jit information.
I will look more into this next week. A reproducer julia script would be great, if we can add this to the ticket.