Add support for .nvmrc

If projects support .nvmrc make sure travis use it during setup. Instead of maintaining multiple manifests for nodejs/iojs projects.
if node_js property is specified in .travis.yml use that version.
if .nvmrc file is present use that version
fallback to nvm install stable
This enhancement has been discussed here and accepted: https://github.com/travis-ci/travis-ci/issues/3644 - but it was never added :-(
cc: @BanzaiMan

Thanks for the PR. I think this is a bit confusing, though, since .nvmrc now overrides what's in the config.
node_js:
  - 0.12
  - 0.10

would now execute the same build twice if .nvmrc exists, without meaningful feedback. Presumably, the user knows what they are doing if they add .nvmrc, s I think that the presence of this file should be prominently announced, very much like we do now with .ruby-version file. (https://github.com/travis-ci/travis-build/blob/838eaad86e1651ed7bcceaeb22445058a60c7284/lib/travis/build/script/shared/rvm.rb#L86)

Just like .ruby-version, if node_js has been specified in the .travis.yml, we will use that, if nothing is specified we will use the .nvmrc, does that sound fair?

@BanzaiMan thanks for feedback - I agree. Was not 100% what solution would be, it could easily add confusion.

@joshk would you mind taking a look at it? :-)

@BanzaiMan can you help? :-)

Guys don't leave me hanging :-)
:+1: / :-1:  ?

Hi @hkjorgensen
I'm sorry but I'm not able to help with this. I lead Product Management here at Travis and rely on the awesomeness of others to help make this happen.
I am in support of this feature, but right now @BanzaiMan is busy with some improvements we are making to caching.
That said, you have changed a few extra things which it would be good to change back, I will leave comments shortly.
Thanks a bundle
Josh

Thanks for the feedback @joshk

bump! @BanzaiMan

Thanks for feedback @BanzaiMan - appreciate it.
If your not ready to move from 0.10 yet, I'll add a version const for nodejs v0.10.
Will update PR asap

@BanzaiMan can you help me with the final tests, then it should be ready to go :-)

I think our insistence to reinstate the DEFAULTS hash is the source of the spec failures in https://travis-ci.org/travis-ci/travis-build/builds/70773325.
In the case of RVM and Ruby, we set the version in the DEFAULTS hash to be default, which RVM accepts; if that is the Ruby version we see in travis-build & the file .ruby-version exists, we use it to set the Ruby version.
Removing DEFAULTS will make the failing specs in https://travis-ci.org/travis-ci/travis-build/builds/70773325 pass.
The problem here is that, without the DEFAULT hash and the node_js value present in .travis.yml, the environment variable $TRAVIS_NODE_VERSION will not be set. And the spec checking that will fail. I am not sure yet how we can reconcile all of these issues.
(Incidentally, $TRAVIS_RUBY_VERSION will be set to default if .travis.yml does not define the Ruby version for Ruby builds. This, too, is a problem.)

@hkjorgensen Thanks for all your work on this. I would be fine with merging this into a branch and making any of the required changes, if you prefer?

That would be @joshk - thanks.

@BanzaiMan would you mind taking care of this?

@hkjorgensen This has been deployed to staging.
We will need a repo set up on https://staging.travis-ci.org. If you have one set up on production (https://travis-ci.org), you can switch it to staging, too (and switch it back to production when we are done testing).

@BanzaiMan I don't have a public repository with this atm.
There should just be a .nvmrc with a node or iojs version to test :-)
echo node v0.12 > .nvmrc

With https://github.com/travis-ci/travis-build/commit/2e824511bff3803543ec3cf5509378c8b830104e and the correct .nvmrc format ("v0.12"), we install Node.js 0.12.x correctly, but $TRAVIS_NODE_VERSION is unset: https://staging.travis-ci.org/BanzaiMan/travis_staging_test/builds/433815
Everything is working as expected. The question is, what is the desired behavior?

Everything is working as expected. The question is, what is the desired behavior?

If node version is defined in .travis.yml use that

If node version isn't defined in .travis.yml but there is a .nvmrc use that

If node version isn't defined in .travis.yml and there aren't any .nvmrc fall back to travis default. In this case node v0.10

See https://github.com/travis-ci/travis-build/commit/7a5396a1540adf6e90f8c6ce43acbf2986b76682

The above commit reads the content of .nvmrc verbatim, which is probably not a good idea. We need to fix that.

Actually, there is no need, since nvm will fail to install if the user puts extra stuff in .nvmrc.

Deployed and documented. http://docs.travis-ci.com/user/languages/javascript-with-nodejs/#Using-.nvmrc

Thanks guys!


Punjabi i18n translations

[ ] @pratul and @saket will fill in strings.xml when they next touch it
[ ] grab https://github.com/resolvetosavelives/redapp/blob/master/app/src/main/res/values/strings.xml
[ ] provide all english values to Punjabi Healthcare Professional for translation

List of all strings to translate: https://www.dropbox.com/sh/oihzg8atk2sjuc1/AADdOAmXFctEib7Q3qRvjyIfa?dl=0


Is there a way to associate a Renderer with a MediaItem?

Hey everyone, this is a more conceptual question about exoplayer. I'm trying to understand where I can find the relationship between a media file (e.g. a mp3 file / MediaItem) and the renderer within the code itself.
My use case has me downloading several mp3 files from my server, each with specific file names, and loading them into several renderers, one for each file, for playback. The goal is to be able to access a renderer for a given file--for example: sending a MSG_SET_VOLUME message to a renderer given the filename. I can create the renderers just fine using a custom RenderersFactory, but beyond this I'm having some trouble tracing the relationship between a renderer and the source of its data.
I've looked at TrackSelection and LoadControl, but each have TrackGroups and TrackSelections within their purview, not a direct relationship to a MediaItem. In other words, I don't believe I can tell which file the TrackSelection or TrackGroup is associated with. I've also looked at setting custom metadata for the MediaItems I'm giving my player via setting MediaMetadata on the MediaItem.Builder in the hopes of retrieving it somewhere like LoadControl, but I cannot seem to access the metadata I set, only the ID3 metadata.
For example, here's how I tried to see the metadata I set on a singular MediaItem. I attempted to put the filename as the track title:
//In our activity when we are setting up the player
private String PrepareDebugFiles(){/* ...Ensure our debug files are properly downloaded and present on the device for testing */}

MediaMetadata metadata = new MediaMetadata.Builder().setTitle("MyCustomFileName").build();
MediaItem myFile = new MediaItem.Builder().setMediaMetadata(metadata).setUri(PrepareDebugFiles()).build();

ExoPlayer player = new ExoPlayer.Builder(context)
                    .setLoadControl(myCustomLoadControl)
                    .build();
player.setMediaItem(myFile);
player.prepare();
player.play();

//In a custom load control object
public void onTracksSelected(Timeline timeline, MediaSource.MediaPeriodId mediaPeriodId, Renderer[] renderers, TrackGroupArray trackGroups, ExoTrackSelection[] trackSelections){

	for(int i = 0; i < trackGroups.length; i++) {
		Metadata metadata = trackGroups.get(i).getFormat(0).metadata;
		if (metadata != null) {
                        //Returns some values but not "MyCustomFileName"
			Log.d("CustomLoadControl", "Metadata " + metadata.get(0));
		}
	}

	for(int i = 0; i < trackSelections.length; i++){
		if (trackSelections[i] != null) {
			Metadata metadata = trackSelections[i].getSelectedFormat().metadata;
			if (metadata != null) {
                                //Returns some values but not "MyCustomFileName"
				Log.d("CustomLoadControl", "Metadata " + metadata.get(0));
			}
		}
	}
}

Based on the diagram in the glossary, it seems like everything has a one-way relationship when loading from a file and I cannot really walk back up the chain easily.
Any help pointing me in the correct direction would really be appreciated. I'm hoping I missed something obvious.
Thanks.

Stepping back slightly: Would your use-case be served with effects or custom audio processors, rather than needing a whole separate renderer instance for each item (presumably these items are in a playlist?)? I only suggest this because the example you give is about adjusting the volume, which should be possible with effects/processors. Manually creating a separate renderer for each media item sounds a little unusual.

To answer what you actually asked: I think @christosts  was discussing recently how to access the currently playing MediaItem from the renderer part of the pipeline - so he might have some thoughts.

It's funny you mention processors because that would be the next step beyond this. I need to control each piece of media individually before mixing them down into a single output buffer and sending it off to the audio track for consumption (which, from what I understand, can be achieved via custom audio sinks and processors). The example was just to show that I want to interact with the renderer in some way given the information I receive from the server (the filename).

To answer the very specific question asked:

find the relationship between a media file (e.g. a mp3 file / MediaItem) and the renderer

As of version 1.2.0, there are two changes in Renderer:

We added Renderer.setTimeline(). ExoPlayer updates the timeline on the renderers every time there is a timeline change, so the timeline is always updated.
If you're re-using existing renderers classes, or you implemented your own renderers but still extend BaseRenderer, then the timeline instance is available via the protected method BaseRenderer.getTimeline().
We added a MediaPeriodId argument in Renderer.replaceStream().
If you're re-using existing renderers classes, or you implemented your own renderers but still extend BaseRenderer, then the MediaPeriodId is available in BaseRenderer.onStreamChanged().

With a Timeline and a MediaPeriodId, you can get the MediaItem currently played, eg with
Timeline.Period period =  getTimeline().getPeriodByUid(mediaPeriodId, new Timeline.Period());
MediaItem mediaItem = getTimeline().getWindow(period.windowIndex, new Timeline.Window()).mediaItem;

That said, on your overall plans for mixing mp3 files together:

Do you plan to do it using one ExoPlayer instance?
Is the one player instance playing the 4 mp3 files in parallel or are you playing them one after the other?
Do you need to play them to the use in real-time as the mp3 files are being loaded, or it is OK if you pre-process the entire operation, store the result in a separate file and then play out the new file?

The ability to play multiple videos and audios together, apply visual and audio effects, and preview the result in real-time is something we are working on. But for your immediate needs, you might be able to use Transformer to first mix the audios and produce an intermediate file.

Oh interesting. I tried to find the MediaItem relationship on the Timeline and MediaPeriodId in the LoadControl object I set up as they are exposed there but had no luck since onTracksSelected only exposes a Renderer array and it seems I need a BaseRenderer. I was hoping to set it in LoadControl as I only really need to set this relationship once during initialization as the tracks will never change.

Do you plan to do it using one ExoPlayer instance?
Yes, that was my intention. I tried using several ExoPlayer instances but found that it was too out of sync with one another to get the results I needed.

Is the one player instance playing the 4 mp3 files in parallel or are you playing them one after the other?
The goal is to get up to 16 tracks mixed down and played back simultaneously. The average may be less, but that's the most extreme case I'm preparing for. I don't really know what the upper-bound is for simultaneous playback using ExoPlayer, but I rolled by own mixing solution using AudioTrack, MediaCodec, and MediaExtractor and got 12 to work fairly well, only bottlenecked by I/O. I saw the ExoPlayer has a more elaborate solution for loading files so I wanted to get a prototype working using something more established and tested.

Do you need to play them to the use in real-time as the mp3 files are being loaded, or it is OK if you pre-process the entire operation, store the result in a separate file and then play out the new file?
I do need the operation to happen in real-time as I won't be working with a singular set of mp3 files (they will be determined by the user) and the sets of mp3 files will change as the app is used and new sets of files are downloaded. As a first step, I intend to tear down the ExoPlayer instance and set it up for each new set of files loaded to the device for simplicity's sake. So, one set may have 5 files while another has 10 and yet another has 16, each being mapped to a renderer for playback and real-time manipulation.

The goal is to get up to 16 tracks mixed down and played back simultaneously.

How are the media items given to player? As a Listm with setMediaItems()? If multiple media items are played simultaneously, I'm not sure the Timeline/MediaPeriod abstractions will give you what you need - only one MediaItem plays at the time.
Aside:

If you're using one ExoPlayer, it will be interesting to see if the single-thread that feeds and drains MediaCodec instances will be able to iterate all 16 codecs fast enough.
On the other hand, 16 individual ExoPlayer instances means 16 threads, so that may also not scale.

How are the media items given to player? As a List with setMediaItems()? If multiple media items are played simultaneously, I'm not sure the Timeline/MediaPeriod abstractions will give you what you need - only one MediaItem plays at the time.

That could be an issue. Would a MergingMediaSource solve this? I'm assuming if this is the case that the MergingMediaSource would have tracks rather than individual MediaItems and I'd need to create an association a different way between the Renderers and the files for which they are responsible.

You'd need to do the association on track level when using MergingMediaSource. We already mark the TrackGroup instances with unique id prefixes corresponding to the index of the source. But unfortunately, we don't pass down the group to the Renderer. Would it be helpful to also prefix Format.id (which is available in the renderers)?

I tried to experiment with your suggestion, but it seems I've hit a bit of a snag. I've created a MergingMediaSource and loaded it into the player using the setMediaSource function but it seems like trying to get the format of the selected tracks from both the TrackGroup and TrackSelection later down the pipeline returns null. For example, in my CustomLoadControl class where I override onTracksSelected:
//CustomLoadControl
public void onTracksSelected(Timeline timeline, MediaSource.MediaPeriodId mediaPeriodId, Renderer[] renderers, TrackGroupArray trackGroups, ExoTrackSelection[] trackSelections){

        for(int i = 0; i < trackGroups.length; i++) {
            Log.d("CustomLoadControl", "Format ID?  " + trackGroups.get(i).getFormat(0).id); //null
        }

        for(int i = 0; i < trackSelections.length; i++){
            if (trackSelections[i] != null) {
                Log.d("CustomLoadControl", "Format ID? " + trackSelections[i].getSelectedFormat().id); //null
            }
        }

I'm guessing that I need to override the TrackSelector and create a custom implementation rather than using the DefaultTrackSelector? Otherwise, I'm not sure why I do not get the Format.id at this point from the groups. I think prepending the id to my map of the filename to renderer reference could work, but I'd need to really see how the pieces fit before I can say for sure.

This was just a suggestion that isn't implemented it :)
You probably find that all trackGroups.get(i).id start with "0:", "1:" etc depending on which source they are from. The suggestion was to use the same pattern for the Format.id fields too, so that you can identify which source a Format is from even from within a Renderer for example.

We now made the change suggested above and the Format.id now also starts with "0:", "1:" etc. to identify the source.


feat: star algebra homomorphisms between non-unital C⋆-algebras are contractive

This generalizes the existing results for unital algebras to non-unital algebras by passing to the unitization within the proof.
We have to add a StarModule hypothesis to recover the unital case, but this is minor.

Thanks!
bors r+


Anito: Defend a Land Enraged

The game crashes on modern Windows versions unless you use dgVoodoo in WARP/software rendering mode. I was hoping d8vk would come to the rescue but alas.
Since this game isn't that well-known, a free demo of the game is available here: https://download.cnet.com/Anito-Defend-a-Land-Enraged-demo/3000-7536_4-10255734.html
Software information
Anito: Defend a Land Enraged
System information

GPU: AMD Radeon RX 570
Driver: Adrenalin 22.11.1
Wine version: N/A
DXVK version: 0.1.0

Apitrace file(s)

Anito.zip

For instructions on how to use apitrace, see: https://github.com/doitsujin/dxvk/wiki/Using-Apitrace
Log files

d3d9.log: Anito_d3d9.log

I haven't checked out your trace or the demo yet, but remember to use the CI artifacts og the latest master if you aren't already as the release build is heavily outdated.
You can find the latest builds here 🙂
https://github.com/AlpyneDreams/d8vk/actions/workflows/artifacts.yml?query=branch%3Amaster

I haven't checked out your trace or the demo yet, but remember to use the CI artifacts of latest master if you aren't already as the release build is heavily outdated. You can find the latest builds here 🙂 https://github.com/AlpyneDreams/d8vk/actions/workflows/artifacts.yml?query=branch%3Amaster

Still no dice tho, the game still crashes to the desktop with the following log: Anito_d3d9.log

Still no dice tho, the game still crashes to the desktop with the following log: Anito_d3d9.log

Can you try capturing a d3d8 apitrace with this version? Thanks.

Hello?

Should just be the d3d8 dll

Should just be the d3d8 dll

Alright, let me try again.

Here's the trace you requested:
Anito.zip

Has anyone looked into said trace?

Not yet. Alpyne has been busy with school.
Development should resume soon afaik

Not yet. Alpyne has been busy with school. Development should resume soon afaik

I presume he'll look into it now though?

Yes when he's got the time i assume.

Yes when he's got the time i assume.

Hope he'll tend to this soon, but it's no biggie as I am not in a rush.

Re-opening this as I am somehow getting this error log upon trying the latest artefact:
info:  Game: Anito.exe info:  DXVK: d8vk-v0.10-9-g6162ce42 info:  Found built-in config: info:    d3d9.maxAvailableMemory = 1024 info:    d3d9.memoryTrackTest = True info:  Effective configuration: info:    d3d9.memoryTrackTest = True info:    d3d9.maxAvailableMemory = 1024 info:  Built-in extension providers: info:    Win32 WSI info:    OpenVR info:    OpenXR info:  OpenVR: could not open registry key, status 2 info:  OpenVR: Failed to locate module info:  Enabled instance extensions: info:    VK_KHR_get_surface_capabilities2 info:    VK_KHR_surface info:    VK_KHR_win32_surface info:  D3D9: VK_FORMAT_D24_UNORM_S8_UINT -> VK_FORMAT_D32_SFLOAT_S8_UINT info:  Radeon RX 570 Series: info:    Driver: 2.0.233 info:    Vulkan: 1.3.217 info:    Memory Heap[0]:  info:      Size: 3840 MiB info:      Flags: 0x3 info:      Memory Type[0]: Property Flags = 0x1 info:    Memory Heap[1]:  info:      Size: 7892 MiB info:      Flags: 0x0 info:      Memory Type[1]: Property Flags = 0x6 info:      Memory Type[3]: Property Flags = 0xe info:    Memory Heap[2]:  info:      Size: 256 MiB info:      Flags: 0x3 info:      Memory Type[2]: Property Flags = 0x7 info:  Process set as DPI aware
Both demo and retail versions show the exact same error and crash silently.

Sorry to hear that. I fixed it for Linux and can confirm it now works in Wine, but I guess Windows still has problems of its own. @AlpyneDreams Guess we can reopen this and add the Windows label.

Sorry to hear that. I fixed it for Linux and can confirm it now works in Wine, but I guess Windows still has problems of its own. @AlpyneDreams Guess we can reopen this and add the Windows label.

Could it be a driver issue of some kind?

Could it be a driver issue of some kind?

It's most likely a d8vk issue that's specific to Windows. There are other games that have been confirmed to work on Linux and silently crash on Windows, such as Advent Rising.
The somewhat good news is that everything works fine in Wine, including the features that the game lists as hardware accelerated (shadows and transparency IIRC).

Could it be a driver issue of some kind?

It's most likely a d8vk issue that's specific to Windows. There are other games that have been confirmed to work on Linux and silently crash on Windows, such as Advent Rising.
The somewhat good news is that everything works fine in Wine, including the features that the game lists as hardware accelerated (shadows and transparency IIRC).

I see. I'll look forward to the fix soon.

@huckleberrypie Could you please retest the game with the latest artifacts? d8vk has switched to linking d3d9 statically recently, so this means you'll only have d3d8.dll to worry about now. This may have improved the situation on Windows, hopefully.

@huckleberrypie Could you please retest the game with the latest artifacts? d8vk has switched to linking d3d9 statically recently, so this means you'll only have d3d8.dll to worry about now. This may have improved the situation on Windows, hopefully.

How do I download the artefacts again?

Great, happy to hear that it's working now :tada:. @AlpyneDreams The issue can be (re-)closed.


Race Condition Between highlight.js and mermaid.js

Describe the bug
When enable syntax highlight and mermaid both, mermaid could not rendered correctly.
To Reproduce
Steps to reproduce the behavior:

Enable Syntax Highlight
Enable Mermaid
Use Code Blocks with Mermaid
See error, Mermaid Rendered as Normal Code

Expected behavior
Expected to be rendered correctly

Well, after I updated to the latest version, I found that problem solved.


[tlul_sram_byte] Fix width mismatch

Signed-off-by: Michael Schaffner<EMAIL_ADDRESS>

I took another look and matched this with how the FIFO sets the signal width.
the signal needs to be able to accommodate all numbers 0...N (inclusive), hence it should be vbits(Outstanding+1)-1...


feat: Implement cloud wallets for platform

Implement APIs related to cloud wallet

PR: https://github.com/credebl/platform/pull/852

Due to a recent patch, the flow was breaking, and it needs to be retested.


SC4S image report contained vulnerabilities component

Customer tried deploying the new image (From v2.32.8 (2022-08-10) to v2.35.2 (2022-10-04)), and noticed that the image are contained various vulnerabilities based on the AquaDTAScan.
Please find the attached screenshot for the same.
Could you end kindly verify whether the components in the image could contain old or vulnerabilities rpm.

Suspect the latest 2.37.0 contained the same.

=======================
Customer has mentioned below as steps to reproduce
Your end could verify the components in the image whether contained vulnerabilities version
Example:
RHSA-2022:6878
CVE-2021-3999
CVE-2019-9169
CVE-2022-23218
CVE-2022-23219

We were not able to find any of the mentioned vulnerability in the mentioned scans, we used aqua trivy for the same.

We are sending the assessment image of v2.32.8 (2022-08-10) & v2.35.2 (2022-10-04)), but you are use on image of v2.37.2 (2022-10-25). Can you reassess image v2.32.8 and 2.35.2, except your end already addressed it on new image?
From your screenshot, it indicated "ONLY Show Fixed Vulnerabilities", hence it only showing fixed but NON Fix is not showed? Please confirm.

The screenshot shared is showing vulnerablity related to syslog-ng packages under the hood, let me take some time to check all of this, we will upgrade the version of syslog-ng as well to see if it stays the same , in case of exception we need to raise this issue with Syslog-ng.

Any update on this?

The latest image of syslog-ng has a bug which was reported and fixed for us, we need to wait for official release to address this.
I will be releasing a new version today to address ubi vulnerability.

Hi, the latest 2.45.6 still contained vulnerabilities. When this will be address?
/bin/sh -c rm -f /tmp/tls-ca-bundle.pem  0 Critical 1 High 9 Medium 15 Low 0 Negligible
RUN /bin/sh -c cd /tmp ; dnf install 'dnf-command(copr)' -y ; dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y ; dnf copr enable czanik/syslog-ng336 -y ; dnf install -y tzdata curl wget nc socat openssl syslog-ng syslog-ng-python syslog-ng-http syslog-ng-kafka python39-pip python39-devel procps-ng net-tools less; dnf update -y ; dnf clean all # buildkit  0 Critical 0 High 2 Medium 1 Low 0 Negligible

we are updating soon the package to 338 and it will be gone, the base ng package had some bugs which prevented us to upgrade.
Right now @bparmar-splunk is working on testing it with latest version

2.46.0 still impact. Prevent us use the image into Production
► RUN /bin/sh -c cd /tmp ; dnf install 'dnf-command(copr)' -y ; dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y ; dnf copr enable czanik/syslog-ng336 -y ; dnf install -y tzdata curl wget nc socat openssl syslog-ng syslog-ng-python syslog-ng-http syslog-ng-kafka python39-pip python39-devel procps-ng net-tools less; dnf update -y ; dnf clean all # buildkit
0 Critical 0 High 6 Medium 1 Low 0 Negligible
► RUN /bin/sh -c curl -fsSL https://goss.rocks/install | GOSS_VER=v0.3.21 sh # buildkit
0 Critical 0 High 2 Medium 0 Low 0 Negligible
► /bin/sh -c rm -f /tmp/tls-ca-bundle.pem
0 Critical 1 High 10 Medium 15 Low 0 Negligible

90+% of CVEs was fixed on version 3.22.1


Can't create dataset without torch

I am playing with master and found out that it's impossible to create dataset without torch configured. It just get stucked at some point.

What makes you think that the torch configuration is related?

It works if I setup path to torch, in logs I have this:
2016-09-20 19:44:06 [20160920-194404-e162] [WARNING] Create train_db DB unrecognized output: warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
2016-09-20 19:44:06 [20160920-194404-e162] [WARNING] Create val_db DB unrecognized output: /usr/local/lib/python2.7/dist-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
2016-09-20 19:44:06 [20160920-194404-e162] [WARNING] Create val_db DB unrecognized output: warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
2016-09-20 19:44:08 [20160920-194404-e162] [WARNING] Create val_db DB unrecognized output: Default value for torch_root "" invalid:
2016-09-20 19:44:08 [20160920-194404-e162] [WARNING] Create val_db DB unrecognized output: torch binary not found in PATH
2016-09-20 19:44:08 [20160920-194404-e162] [WARNING] Create train_db DB unrecognized output: Default value for torch_root "" invalid:
2016-09-20 19:44:08 [20160920-194404-e162] [WARNING] Create train_db DB unrecognized output: torch binary not found in PATH
2016-09-20 19:44:24 [20160920-194404-e162] [WARNING] Create val_db DB unrecognized output: 2016-09-20 19:44:24 [INFO ] Generic DB creation Done
2016-09-20 19:45:00 [20160920-194404-e162] [WARNING] Create train_db DB unrecognized output: 2016-09-20 19:45:00 [INFO ] Generic DB creation Done

Those are just warnings. If your database creation is hanging, it's not related to Torch.

My database creation is also hanging:
2016-09-29 11:26:00 [INFO ] Loaded 0 jobs. [2016-09-29 11:28:09 +0000] [28765] [INFO] Handling signal: winch [2016-09-29 11:28:09 +0000] [28765] [DEBUG] SIGWINCH ignored. Not daemonized 2016-09-29 11:31:44 [20160929-113143-6063] [INFO ] Parse Folder (train/val) task started. 2016-09-29 11:31:44 [20160929-113143-6063] [INFO ] Task subprocess args: "/home/enoon/anaconda2/envs/digits/bin/python2 /home/enoon/libs/DIGITS/digits/tools/parse_folder.py /home/enoon/mnist/train /home/enoon/libs/DIGITS/digits/jobs/20160929-113143-6063/labels.txt --min=2 --train_file=/home/enoon/libs/DIGITS/digits/jobs/20160929-113143-6063/train.txt --val_file=/home/enoon/libs/DIGITS/digits/jobs/20160929-113143-6063/val.txt --percent_val=25.0" [2016-09-29 11:32:14 +0000] [28765] [INFO] Handling signal: winch [2016-09-29 11:32:14 +0000] [28765] [DEBUG] SIGWINCH ignored. Not daemonized
Parse folder is at 100% and all the other tabs are yellow 'initialized' and not moving

Last try was using digits-server - I tried again with digits-devserver and it worked

Thanks for reporting back @enoonIT. I'm not sure why you were having problems with gunicorn, but fortunately we've removed it entirely (https://github.com/NVIDIA/DIGITS/commit/cebb66d8711a96a5256983622045e935d294dcbc) so you shouldn't have a problem anymore :smiley:.


Problems fetching Jetson reference code

I am trying to fetch the Jetson reference code as described in https://github.com/projectara/Android-wiki/wiki/Build-and-Boot-Instructions-for-Jetson-reference-platform.
However, there seems to be some repositories that are not available so I cannot get the code.
Full log here: https://gist.github.com/perkristian/3d85f67d5146a569a080
Please advise.

The manifest has been fixed. Can you please do a repo sync and try to build the code.

I am still having problems with the sync. I get a number of permission denied messages.
For instance:
Permission denied (publickey).
fatal: repository 'http://git-ara-mdk.linaro.org/platform/external/chromium_org/third_party/brotli/src/' not found
Full log:
https://gist.github.com/perkristian/03b018c3500f79dcf32c

Hi, working through the wiki just now, I found a similar error with the repo sync -j8 step:
fatal: repository 'http://git-ara-mdk.linaro.org/platform/external/chromium_org/third_party/libaddressinput/src/' not found`

Full log:
https://gist.github.com/gkielian/aeec59e68ae458bb2e2e

Hi ,
Anybody could be please help me..
I have download the project ara complete folder name [mydroid-ara] .
user@User:~/mydroid-ara$ source build/envsetup.sh
including device/ara/pxa1928/vendorsetup.sh
including device/lge/hammerhead/vendorsetup.sh
including device/lge/mako/vendorsetup.sh
including device/nvidia/jetson/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/moto/shamu/vendorsetup.sh
including device/asus/grouper/vendorsetup.sh
including device/asus/tilapia/vendorsetup.sh
including device/asus/fugu/vendorsetup.sh
including device/asus/deb/vendorsetup.sh
including device/asus/flo/vendorsetup.sh
including device/samsung/manta/vendorsetup.sh
including device/htc/flounder/vendorsetup.sh
including sdk/bash_completion/adb.bash
user@User:~/mydroid-ara$ lunch jetson-eng|ara_pxa1928-eng
ara_pxa1928-eng: command not found

Are you sure you have the needed packages installed in order to be able to build the android toolchain?  Please consult the android documentation for how to do that, if you can successfully build the Android public release, and you still have problems building this tree, please let us know in a new issue, not this one as it's different.

Hi Greg Kroah-Hartman,
I have install all the packages in order but still am facing same issue. Could be please help me..
Thanks & Regards
Balaji Babu


Added Nut widget

This is an (opinionated) widget for the Nut UPS plugin.

This is my first contribution, so I am happy to adjust or get any feedback.

@Monviech Thanks for your feedback. I'm not primarily a FE person, so it's useful! One issue since replacing the ajaxGet with the function from the Basewidget is that it's not returning any data. I know the UPS diagnostics can be a little slow, but I've tried it with some retries. Is there something obvious I am doing wrong here? I'll poke at it some more when I have a free minute.

Can you give me the json output of /api/nut/diagnostics/upsstatus then I can test the widget sometime later.
Also how long does the response take, longer than a second?

{"response":"battery.charge: 100\nbattery.charge.low: 10\nbattery.charge.warning: 20\nbattery.mfr.date: CPS\nbattery.runtime: 17475\nbattery.runtime.low: 300\nbattery.type: PbAcid\nbattery.voltage: 26.2\nbattery.voltage.nominal: 24\ndevice.mfr: CPS\ndevice.model: CP1500AVRLCD3\ndevice.serial: BHPNY7002755\ndevice.type: ups\ndriver.debug: 0\ndriver.flag.allow_killpower: 0\ndriver.name: usbhid-ups\ndriver.parameter.pollfreq: 30\ndriver.parameter.pollinterval: 2\ndriver.parameter.port: auto\ndriver.paramer.synchronous: auto\ndriver.state: quiet\ndriver.version: 2.8.2\ndriver.version.data: CyberPower HID 0.80\ndriver.version.internal: 0.53\ndriver.version.usb: libusb-1.0.0 (API: 0x1000102)\ninput.voltage: 121.0\ninput.voltage.nominal: 120\noutput.voltage: 121.0\nups.beeper.status: enabled\nups.delay.shutdown: 20\nups.delay.start: 30\nups.load: 0\nups.mfr: CPS\nups.model: CP1500AVRLCD3\nups.productid: 0601\nups.realpower.nominal: 900\nups.serial: BHPNY7002755\nups.status: OL\nups.test.result: No test initiated\nups.timer.shutdown: -60\nups.timer.start: -60\nups.vendorid: 0764\n\n\n"}```

Maybe try to set a cache_ttl here as linked in my prior post. Maybe 30s and see if it gets better. Unsure though.
https://github.com/opnsense/plugins/blob/64a38846959331313ac3b13a8484d267bf177c16/sysutils/nut/src/opnsense/service/conf/actions.d/actions_nut.conf#L25

Any updates on when this will be merged to production?
Thanks

I haven't had a chance to look at this again. I'll try to take a look this w/e.

@Monviech @fichtner @mimugmail This should now be ready for another review. I refactored it to be more like the other UPS plugin and that resolved the issues.

And I noticed someone else wrote another plugin. shrugs Choose whichever suits you.

@jamtur01 - How do i use this in my opnsense?

It would be nice if this calculated the estimated load in watts

calculated the estimated load in watts

Sure. Done.

After internal discussion we merged #4188 -- it was a fifty fifty but a choice had to be made. Thanks for your contribution in any case. ❤


Bug(?) in trigger node

Hi,
If my reading and testing correct (I'm very new to nodejs) then 89-trigger.js has a bug that means that new messages do not reset the timeout. this.extend on get compared to string values but it looks like the value it gets passed from the interface is a boolean and hence the test to see if it should extend the timeout always fails

Is this not the same as already noted and fixed here ? 06731374a4f7e5a22aceda49cc0e1b9e9f475c75
and discussed here
https://mail.google.com/mail/u/0/#inbox/14e2bf7a0bcb2637

Hmm, yes - sorry. I'm not sure what I missed but I didn't (and still can't find an issue for this on github and the gmail link doesn't look like a google groups one)
Did I miss looking somewhere I should have ?
cheers

Race condition, I pulled the code down minutes before the fix was applied - sorry

Hi - I have corrected the link to google groups above...
Thanks for raising it. Not a problem - better safe than sorry !
(I guess technically we ought to raise and close an issue here also to document these sort of fixes)

On Fri, Jun 26, 2015 at 7:12 PM, Dave Conway-Jones<EMAIL_ADDRESS>
wrote:

Hi - I have corrected the link to google groups above...

Thanks, I'll start watching the group
cheers

Thanks for raising it. Not a problem - better safe than sorry !
(I guess technically we ought to raise and close an issue here also to
document these sort of fixes)
—
Reply to this email directly or view it on GitHub
https://github.com/node-red/node-red/issues/688#issuecomment-115594068.

--
Franc


ij_kotlin_imports_layout with | generates multiple line breaks

Expected Behavior
I'm currently using the import-ordering rule with the following config:
ij_kotlin_imports_layout = *, |, javax.**, java.**, |, kotlinx.**, kotlin.**

I'd expect one of my files to be formatted like:
package test

import java.nio.file.Files
import java.nio.file.Paths
import java.util.Objects

object TestData {
    fun loadString(dataset: String): String {
        val path = Paths.get(Objects.requireNonNull(TestData::class.java.getResource(dataset)).toURI())
        return String(Files.readAllBytes(path))
    }
}

Observed Behavior
For some reason (I assume because of the two | in the layout config and not having any imports that match *), I got two extra line breaks in the file:
package test

import java.nio.file.Files
import java.nio.file.Paths
import java.util.Objects

object TestData {
    fun loadString(dataset: String): String {
        val path = Paths.get(Objects.requireNonNull(TestData::class.java.getResource(dataset)).toURI())
        return String(Files.readAllBytes(path))
    }
}

It seems that the number of extra line breaks is equals the number of | in the config, but if I remove the extra line breaks, I have to run ktlint -F twice until it stabilises, which makes the issue even worse.
Steps to Reproduce
Use the configuration and file above.
Your Environment

Version of ktlint used: 0.48.2
Relevant parts of the .editorconfig settings: (mentioned above)

This seems to be a regression bug in 0.48.2. It works fine with 0.48.1.


PostgreSQL testcase + fixes for #459

Workaround PostgreSQL testcase and fix #459

Coverage decreased (-2.1%) to 91.211% when pulling f0ce583c9ffcdc1bd8141934f50dd776227c4b60 on im-kulikov:postgresql_testcase into e348d685a569849216d87cf3c4f028d49db10194 on 75team:master.

Coverage decreased (-0.9%) to 92.431% when pulling 753783ef6413cbebd831d62b4df78f2de3500f56 on im-kulikov:postgresql_testcase into e348d685a569849216d87cf3c4f028d49db10194 on 75team:master.


Add training mode for OLL and PLL

I am learning OLL and PLL, so I thought that it would be very useful if the timer had an option to show which algorithms should be used after completing F2L. The 2-Look method should suffice.

The PLL training has already been implemented. use 3x3x3 -> PLL, and click the gear nearby to select which PLL cases will occur.
For OLL training, is there any well-known name for each case Instead of OLL1 to OLL57?

Yes, the idea was for it to show the complete algorithm. But I didn't realize until now that it actually already shows the name of the algorithm to use after completing F2L.

Hmm, true. The timer needs a database of the most common algorithms for each OLL and PLL. The timer should have a default but also let the user pick other algorithms for each OLL and PLL in a settings menu. This is quickly becoming a bigger feature than I expected. ;)

And another question is, after F2L, the orientation of the cube is not determined. How does the timer knows the orientation of the physical cube?

Yes, this also occurred to me. The timer would need to indicate the color of the face that you're supposed to be looking at, so you can do a cube rotation.


[rss] Add tests

Add tests for the RSS plugin, to make sure nothing breaks on changes.

[x] I added a CHANGELOG entry for this change.
[ ] I adjusted the corresponding documentation for this change.
[ ] I adjusted the values.yaml file and the documentation for all values.

Codecov Report

Merging #258 (8266cfe) into main (d962c41) will increase coverage by 1.57%.
The diff coverage is 77.77%.

@@           Coverage Diff            @@
##            main    #258      +/-   ##
========================================
+ Coverage   7.06%   8.63%   +1.57%
========================================
  Files         88      88
  Lines       7417    7420       +3
========================================
+ Hits         524     641     +117
+ Misses      6881    6767     -114
  Partials      12      12

Impacted Files
Coverage Δ

cmd/kobs/plugins/plugins.go
0.00% <0.00%> (ø)

plugins/markdown/markdown.go
100.00% <100.00%> (+100.00%)
:arrow_up:

plugins/rss/rss.go
100.00% <100.00%> (+100.00%)
:arrow_up:

plugins/rss/pkg/feed/feed.go
100.00% <0.00%> (+100.00%)
: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 d962c41...8266cfe. Read the comment docs.


License Failure issues

Severity 1 Issue:
Hello Db2 team, We are running into license failure errors, the workaround provided was to reboot the nodes/system which would be feasible for a development system but not for a customer production environment.
could you please investigate this and let us know if there is a workaround/resolution for this issue.
oc logs -f db2u-release-db2u-0:
[680788.946193] db2u_root_entrypoint.sh[21]: + [[ ! -e /opt/ibm/db2/V<IP_ADDRESS>/license/db2trlic ]]
[680788.946371] db2u_root_entrypoint.sh[21]: + sudo /opt/ibm/db2/V<IP_ADDRESS>/adm/db2licm -a /db2u/license/db2u-lic
[680789.052086] db2u_root_entrypoint.sh[21]: LIC1416N The license could not be added automatically. Return code: "-100".
[680789.056384] db2u_root_entrypoint.sh[21]: + [[ 156 -ne 0 ]]
[680789.056594] db2u_root_entrypoint.sh[21]: + echo '() Unable to apply db2 license.'
[680789.056664] db2u_root_entrypoint.sh[21]: () Unable to apply db2 license.
[680789.056724] db2u_root_entrypoint.sh[21]: + exit 1

I have reached out to the Db2 development team via slack about this issue, could you please mark it as a priority since it stops deployment of our core components.


Update Cargo.toml

Updates dependency to the patch version of 0.7.7
Advisory
fix

Merged.
Thank you.


[WFCORE-3083] Removing a resource should result in its cap being trac…

…ked as reload-required
https://issues.jboss.org/browse/WFCORE-3083

I added the 'hold' label because I intend to add some tests to this. But I wanted to see what effect this had on the testsuite (i.e. any tests that inadvertently rely on the old broken behavior) so I submitted it early to get the CI run.


Cow: Watch watercode.in

Cow requests the watch of the watch_keyword watercode\.in. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

watercode\.in has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


Add initial support for Markdown

Markdown files are accepted as input, and html links in Markdown links are converted to html links. Closes #7

I try this

and get

could you fix it? thanks

I try this  and get
could you fix it? thanks

I fixed this bug by updating the regex used to search for links

LGTM!


bind c to ellipse

Is there any reason not to bind the c key to the ellipse tool? With the addition of the eraser, ellipses can no longer be created using the mnemonic e key. It's very nice that excalidraw uses mnemonic keyboard shortcuts all on the left side of a qwerty keyboard. The use of o for oval is fine but o is on the right side of the keyboard. Why not let users use c for circle since it's mnemonic, easy to remember, and on the left side of a qwerty keyboard.
I understand the ellipse tool does not draw circles by default but does it really matter? we're not teaching users the difference between circles and ovals we're providing mnemonic left-handed keyboard shortcuts so that users can switch tools without taking their hands off of the mouse.

We're actually trying to adhere to standards of tools like Figma, Miro and other similar tools if a there's a set precedent, which for many of our tools there are. Just trying to be a good citizen so that users don't have to relearn shortcuts for every app.
For other things like colors we could come up with our own.
c is reserved for the comments tool.

But, we will be adding support for customizing shortcuts at some point for people who disagree :).

got it thanks, that's a reasonable enough reason not to do this!


Intellisense error when using clone function.

VSCode Version: 1.23.1
OS Version: Windows 10

Steps to Reproduce:
class Foo {
	clone() { return new Foo() }
}

class Bar {
	/** @param {Foo} foo */
	constructor(foo) {
		this.foo = foo
		this.foo = this.foo.clone()
	}
}

Intellisense thinks the type of this.foo is any.  If you remove the line this.foo = this.foo.clone() or change it to this.foo = foo.clone() intellisense correctly detects the type for this.foo.
I suspect the issue is that when intellisense is doing its first pass to determine the type of this.foo it assumes this.foo is any during evaluation.  This results in it detecting that this.foo is being assigned to any.clone() which of course returns any.
Does this issue occur when all extensions are disabled?: Yes/No
Yes.

Workaround for future readers, you can annotate the type of this.foo explicitly with /** @type Foo */.

It would seem my choice of the variable name foo triggered the dupe bot.  Next time I'll use more obscure names.  😛

This issue was moved to Microsoft/TypeScript#24253


The solution to add persistant custom commad line flags to Supermium, forexmple comand to disable dangerous webassembly, increase or disable cache.....

Hi, I like to increase the cache because the Supermium web browser freezes on startup and is a bit heavy, while Firefox which has 1GB of cache is very fast to start, Chromium has a small cache 300MB maximum so on startup, I suppose Chromium does heavy calculation operations to sort which pages to keep or keep in the small cache which slows down the startup, we are talking about a difference of 10 seconds or more between Supermium and r3dfox on startup....
to test the disable cache effect, especially concerning the download video with extensions and also to test speed since I have an old HDD, I added: --disk-cache-size=1 --media-cache-size=1 or other command in right click / settings to the Supermium shortcut, but the cache size does not change....in addition to such commands if they work added to the browser shortcut are not persistent if we use desktop url shortcuts to start the web navigaru.....
so today I have an idea, I have already been able to enable support for microsoft edge store extensions in catsxp browser (the version of famous extension "stream recorder" on edge store is more powerful than the version on chrome store), by doing this:
catsxp settings/first steps/boot settings
--enabled-microsoft-brand
so in catsxp settings/first steps/boot settings, I add --disk-cache-size=1 --media-cache-size=1 , and I restart catsxp and there, finally I can see the cache size =1 in the clear history option!
We hope please Supermium of Mr Shane @win32ss will introduce such important feature so that we can freely do tests and enable/disable features, flags, command line persistently, thank you!

Earlier win32ss already mentioned that the --media-cache-size parameter is no longer supported.
As for the --disk-cache-size key, from my observations it works, but it is far from the entire cache, but only a couple of folders from the user folder..., and there are already many such folders with different caches and with each new version of Chrome they are added or deleted. You can pass =1, then these two folders will not exceed ~1mb. But, as I recalled, it will not be possible to make a cache that is too large, only ~300mb.
You can't fit many flags into a shortcut, the input line size is limited. But you can get around this, for example, by creating a .cmd or .bat file in which you can write all the necessary flags. An example of such a file: Supermium (Classic Ungoogled).cmd, which is located in the Supermium folder next to chrome.exe
Based on this file, you can create the same one with the keys you need. But the .cmd file is next to chrome.exe. But you can make a shortcut for the .cmd file on the desktop :)

Interesting ! @billi857 Thanks for sharing these important informations :) 💯 👍


local test failure in "Deploy should create a gh-pages branch in the upstream repo and publish files to it"

@marco-c After merging #165, locally I'm seeing a test failure:
57 passing (21s)
1 failing

1) Deploy should create a gh-pages branch in the upstream repo and publish files to it:

    AssertionError: Deploy's promise should be resolved
    + expected - actual

    -false
    +true

    at test/testDeploy.js:83:11

This doesn't show up on Travis, though.

Have you installed the custom gh-pages version contained in package.json?

I hadn't! And that appears to have been the problem.


ankle orientation seems to actually be a missing "heel" joint

I have evidence that suggests the K4ABT_JOINT_ANKLE_LEFT and K4ABT_JOINT_ANKLE_RIGHT joints output incorrect rotations. They appear to actually be rotations pointing towards a missing heel joint.
Reproduced using both the k4abt_simple_3d_viewer.exe tool in k4abt sdk, and in my own code,
Perhaps when the models were trained on (synthetic) data or later processing, the team used, or dropped, a heel joint.

Setup

Microsoft Windows [Version 10.0.19043.1055]
k4a sdk v1.4.1
k4abt sdk v1.1.0
RGB camera firmware:      1.6.110
Depth camera firmware:    1.6.79

Repro

Wear tight clothing on waist, legs, and no shoes. This is to maximize the detection of joints.
Position the Kinect sensor ~30cm above the floor.

Rotate the sensor slightly up and towards you in a sitting position.
Sit in the chair
Run from the k4abt sdk install location tools\k4abt_simple_3d_viewer.exe
Maximize the main window and press b on your keyboard to display axes
Lift your right foot as depicted in the above screenshot.
Slowly pivot your ankle by lifting and lowering your right forefoot
Watch closely the rotation axes on the right ankle and the bone connecting the right ankle -> toes

Result
None of the 3 rotation axes on the right ankle align with any bone. Kinect Azure typically aligns local X axis with bones.
Instead, the ankle rotation appears to form a right angle with the foot rotation with both their X axis meeting at a "heel". This missing "heel" then aligns the X (red) axis on this missing ankle->heel bone.
Expected
Ankle rotation to align its X (red) axis on the bone from ankle -> foot.
I am not expecting a new joint "heel" to be created.
Notes
This issue is also on the left side. It also reproduces on my own code. In the following picture you can see a rendering of the left foot raised and you can see the bone from foot -> ankle is instead rotated from foot -> missing heal.

In the attached picture, angle (1) will always be 90°, despite you moving your foot to (2)nd or (3)rd direction. Which means that there is "imaginary" joint, where the 90° angle is created.


[Feature] Add Travel Packing Calculator

Description
Assists in planning the number and types of clothing and items to pack based on destination weather, trip length, and activities.
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

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

@techbire will this tell you the weather along with the response? also will it tell if you need a raincoat, etc?

Here are the features of the travel packing calculator website:

User Input Fields:

Destination: Users can enter the destination of their trip.
Number of Days: Users can specify the length of their trip in days.
Weather: Users can input the type of weather expected at the destination (e.g., Hot, Cold, Moderate).
Activities: Users can list the activities they plan to do (e.g., Beach, Hiking, Business, Casual).

Results Display:

An area to display the results of the packing calculation.
The packing list includes the number and types of clothing and items to pack, tailored to the user's trip details.

No point of we are asking for the weather as an input.

NOPE,
YOU GET WRONG
LET ME CLEARIFY
The key features of the travel packing calculator project summarized in five bullet points:

Destination and Activity-Based Packing Lists: Generates tailored packing lists based on the specified destination and up to 10 selected activities, ensuring comprehensive preparation for various plans.

Weather Integration: Fetches real-time weather data for the destination to provide appropriate packing suggestions based on the forecast by OpenWeatherMap.

Smart Packing Tips: Offers detailed packing tips tailored up to 10 tips per activity along with general packing advice for efficient packing.

Dynamic List Generation: Creates a dynamic and interactive packing list that updates based on user inputs and weather conditions.

User-Friendly Interface: Provides a simple and intuitive interface for entering trip details, selecting activities, and viewing the generated packing list and tips.

Okay.
@Rakesh9100 this issue can be assigned

Go ahead @techbire

Status of your PR @techbire

Status of your PR @techbire

Adding Little bit styling and animation!


Alexa Not Finding Raspberry Pi

I was able to get ha-bridge installed, my two harmony hubs discovered, and setup to start on boot. However my echo can't find the devices. Below are my logs.
`04-02-2016 17:13:16.564	INFO	HA Bridge (v1.4.3) starting.... com.bwssystems.HABridge.HABridge
04-02-2016 17:13:16.729	INFO	reading from config file: data/habridge.config	com.bwssystems.HABridge.BridgeSettings
04-02-2016 17:13:17.123	INFO	HA Bridge (v1.4.3) initializing....	com.bwssystems.HABridge.HABridge
04-02-2016 17:13:17.249	INFO	System control service started....	com.bwssystems.HABridge.SystemControl
04-02-2016 17:13:36.981	INFO	== Spark has ignited ...	spark.webserver.JettySparkServer
04-02-2016 17:13:36.990	INFO	>> Listening on <IP_ADDRESS>:8080	spark.webserver.JettySparkServer
04-02-2016 17:13:37.757	INFO	setup initiated ....	com.bwssystems.harmony.HarmonyServer
04-02-2016 17:13:42.102	INFO	activity changed: [-1] PowerOff	com.bwssystems.harmony.HarmonyServer
04-02-2016 17:13:42.109	INFO	setup initiated ....	com.bwssystems.harmony.HarmonyServer
04-02-2016 17:13:44.245	INFO	activity changed: [19384030] Watch TV	com.bwssystems.harmony.HarmonyServer
04-02-2016 17:13:44.309	INFO	HABridge device management service started....	com.bwssystems.HABridge.devicemanagmeent.DeviceResource
04-02-2016 17:13:44.732	INFO	Hue emulator service started....	com.bwssystems.HABridge.hue.HueMulator
04-02-2016 17:13:44.751	INFO	Hue description service started....	com.bwssystems.HABridge.upnp.UpnpSettingsResource
04-02-2016 17:13:44.756	INFO	UPNP Discovery Listener starting....	com.bwssystems.HABridge.upnp.UpnpListener
04-02-2016 17:13:44.791	INFO	UPNP Discovery Listener running and ready....	com.bwssystems.HABridge.upnp.UpnpListener
`

I will need you to turn on trace upnp in the settings as that will log what is happening when you try to do a discover from the echo. Also, sometimes the router upnp config has issues if the router upnp is turned on.

I have an airport extreme, I can't find a trace upnp option. After waiting about 24 hours the echo found the bridge and found my harmony activities but it won't turn them on/off

@lessphiling Apple routers do not have UPnP. They use a different method: NAT-PNP. https://en.wikipedia.org/wiki/NAT_Port_Mapping_Protocol
I'm running Echo, Fire TV, Logitech Harmony hub and ha-bridge running on a Linux VM with no issues; with a network with two Apple routers (one is a Router and another is an access point).
Note that on the Linux VM running ha-brigde, disabled the firewall, SELinux and enabled Avahi.
Avahi is the UPnP service for Linux. I'm running CentOS 7.2
Never had any noticeable delay detecting or responding to commands with ha-bridge.

So, you have the discovery done, but no contact to the bridge from the echo.... I got an email from another who is experiencing this issue but it only started 2 days ago. Turn on DEBUG for com.bwssystems.HABridge.hue.HueMulator in the Logs page and post any output from an on/off call from the echo...if there is any.

So the echo was able to control my living room harmony hub but not the bedroom. I did test on/off with the bedroom from the bridge webpage but saying "Alexa, turn on the bedroom TV" didn't work. Here's how the device is setup in the bridge and i've attached the logs for asking from the echo and the test from the bridge page.
Row ID 			Name 		Type 	Target Actions
1	639834684	Bedroom TV	activity	Bedroom
habridgelog.txt

So, for turning on debug, do not use ROOT, lick the show all loggers and set only this one com.bwssystems.HABridge.hue.HueMulator to DEBUG, make sure anything else is set to INFO.

I am the guy the had the similar issue. My "device" was found on my alexa app after discover but wasnt communicating. I was able to test that the device was working from the ha bridge configuration page, but  I'd get a "no device" sound from the echo whenever I issued a verbal command. After 3 days of scratching my head I figured out how to fix it on my end. I set up a "dummy" device as recommended, reinitialized the bridge, and re-discovered on the echo. Afterwards, I gave it some verbal commands and realized that it was communicating to the new device. So, I deleted all of my devices from the ha bridge and from the echo (discovered devices), added them again on ha bridge, and re-ran discovery on the echo. It now works. Somehow the echo must have been getting confused. Hope this helps anyone that comes across this issue. Thank you bwssystems for the help and quick responses to emails!!

I haven't tried deleting everything and starting over again but I did change the log settings and when I tried triggering the bridge from my echo I didn't get anything new in the logs.

I would try deleting all, adding devices, reinitialize, and rediscover on the echo. Also make sure to use a simple recognizable name as your device name. I previously had mine as "my highlander" but now only "car or truck" seem to work.

Make sure to delete the old discovered devices in your alexa app too

Now we're back to square one where the echo doesn't see the bridge. Here are the logs
hue lights list requested: hm3JnxYjJAKVDx8OkGQZwk1UKTwslVGKn0or5N29 from <IP_ADDRESS>	com.bwssystems.HABridge.hue.HueMulator
04-07-2016 14:28:23.832	DEBUG	hue lights list requested: hm3JnxYjJAKVDx8OkGQZwk1UKTwslVGKn0or5N29 from <IP_ADDRESS>

If you change any device parameters (ie..name), make sure you re-initialize the bridge?

Yup, did that

If the echo doesn't see the bridge, we need to use the trace upnp setting to see those log messages

For issues with calling devices, I just went into my amazon developer account and looked at all the updates to the Amazon Skill Set and they have updated it with new capabilities last week and specifically to the SmartHome area. So, now it will be a new thing to figure out how to name your devices so that the Echo responds properly. IT is nothing that I can change on the bridge as this is all Amazon services in the Cloud.
Modify message

An update, I tried getting the echo to recognize the bridge today and it found it. I'm not sure if the commands are working with the hub that was having a problem before I need to troubleshoot some more. But at least it found it, not sure why it took a couple days to be found.

So, I am going to close this. Amazon Echo software update is the issue it seems.


Drone Image Stitch Install README

This is the installation instructions. Need to get it up so we can link it on the website. Full workshop materials will come later today.

Oh looks like I have permission to handle this.

Opps, guess I don't have permission.


Refactor exercise to eliminate SonarQube code duplication errors

…ate domain validations

https://docs.sonarqube.org/latest/project-administration/narrowing-the-focus/


Resolve import issues for FAISS

@okhat resolves last comments in #12

Thank you! Do we still have a similar issue for init.py of modules/?

As for now, FAISS or sentence_transformers imports won't be called unless you use the exact classes with the same purpose (build an index or use a transformer as a vectorizer).


add go tour thai version

What does this PR do?
Add resource
For resources
Description
Go tour Thai Language
Why is this valuable (or not)?
For an understanding of Golang
How do we know it's really free?
it's public access with permission
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Thanks, and welcome to free-programming-books!


how to set max & min dates for DatePicker by using CustomView concept

I want to set min & max dates for date picker using custom view.
what is approach to fulfill of my requirement?
thanks in advance.

i got an solution through override the showListener method.
thank you


Update README.md

making it more clear that need to popup() to set back to main tab of the browser, especially when popup("https://example.com")

Thanks @lookang !! Merged (I made some editing). You should show up as contributor after a couple of days here https://github.com/tebelorg/RPA-Python/graphs/contributors and at the main page.


Add Snazzy theme by Sindre Sorhus

Add Snazzy them by Sindre Sorhus.
Note: This may be an updated version of current chalk theme, as the screenshot from which the chalk theme was derived from was also made by Sindre.

Cool!


MapView not generating TouchEnd events

With the following snippet I only get a touch start and a single touch move and no touch end events. If I delete the MapView my View gets the expects 1 start, N move, and 1 end events. Is there a better way to know when a touch interaction is complete?
      <View
        onTouchMove={() => {
          console.log("VIEW TOUCH MOVE");
        }}
        onTouchEnd={() => {
          console.log("VIEW TOUCH END");
        }}
        onTouchStart={() => {
          console.log("VIEW TOUCH START");
        }}
        style={{
          height: '100%',
          width: '100%',
        }}>
        <MapboxGL.MapView
          style={{
              flex: 1,
            }}
          onTouchMove={() => {
            console.log("MAPBOX TOUCH MOVE");
          }}
          onTouchEnd={() => {
            console.log("MAPBOX TOUCH END");
          }}
          onTouchStart={() => {
            console.log("MAPBOX TOUCH START");
          }}>
        </MapboxGL.MapView>
      </View>

The Mapview has an "onRegionDidChange" event which is fired when you drag and release, if that's what you're looking for? https://github.com/rnmapbox/maps/blob/main/docs/MapView.md

I'm closing this. If it's still an issue explain, please explain the use case in more details

I am also experiencing these same issues but on iOS only. The use case is to add drawing capabilities to to mapbox. I can not use onRegionDidChange since I want to lock the map while moving an edge of a polygon.


Make file names consistent for the runner binary, its task definition file and server TES task.

Problem:
The runner’s binary file name is tRunner, while the node task definition file name is TesTask.json. These file names follow inconsistent naming conventions. Also, TesTask is an inaccurate name because it suggests that it is the task sent to the TES server. The TES server also uploads a serialized version of the TesTask model using the file name  ServerTesTask.json.
Solution:
Rename files following Linux style naming convention and using descripted names.
AC:

Runner's binary file name: tes-runner,
Node task definition file name: runner-task.json
Server TES task model: server-tes-task.json

@giventocode can we link this issue to the TES runner https://github.com/microsoft/ga4gh-tes/issues/148? Or should this be separate from the runner implementation?


FoundationDB is closed by Apple, please go with Sqlite3

FoundationDB is closed by Apple.
Please, support Sqlite3.

@OsvaldoTCF utron supports sqlite too.

Just merged support for sqlite3 see #52


Recirculation duration?

In Settings, Recirculation Duration is set at 15 minutes. When creating HomeKit automation, I set a time to start, and use the option to turn off after 2 hours. I was expecting the recirculation to go on for the full two hours, but it turns off after the 15 minutes. I could change the duration in settings to match or something longer than my longest automation duration, but It would be nice to keep the “manual” toggle to a shorter duration. Anyway to implement separate durations? Or some other way to make my use case work?

How would you like to see this work? A recirculation switch for each configured duration? I can't think of many clean approaches.

I hadn’t really thought it through, but maybe a switch for each pre-defined duration, and then the option to hide a switch that you wouldn’t normally trigger manually. Is it possible to have a switch hidden but still have it update the status?

Within the Control-R app (which is terribly crappy) you can do scheduled re-circulation events AND separately, a point in time re-circulation.  This is fine, but not very fine grained.  I'm very excited to have this plug-in, where I can tell Siri to do a point in time re-circulation.  Knowing it will be 15 minutes per my configuration is fine.  From a scheduling perspective I would like to try something like 10 minutes of re-circulation every 30 minutes, during a time frame.  I could do this via homekit automation I believe.. right?

I think what you want is built into the Control-R App and further according to the Control-R users guild and Rinnai support, what you are trying to do may not be possible, based on time frames.  It is very dependaant on if you have a dedicated loop(Highly recomentded) or or cross over.  From the guide - PG-5
4 .If the water heater accepts the request to start recirculation, the pump turns on and runs for 5 min(Designated time) OR until the water temp is reached(Whichever occurs first).
5. After recircul;ation completes, the pump enters intpo a Mandatory dormant (inactive) state. During this time, the pump will not turn on for ANY reason, even if the push button or motion sensor is activated.
For example with dedicated loop and temp set to 130F max the inactive state in Economy mode is 22 minutes and in Comfort mode it is 11 minutes Mandatory incactive.  It changes with the Max temp setting.  @ 140 it is 18min and 9 min.
It also changes if you have an internal pump model or external pump model.
The Control-R user guide spells this all out very clearly.  I think that it is possible that people expect the Control-r to do things that it has been programed not to do.  That interpace is a standalone interphace that has built in saftey features.  It was not designed to be a gateway.
That being said....It is desigend to do what you want it do, by default with out complex control of HA.....
If you set the system as indicated above to 130 in comfort mode for 1hr @7am it will heat your dedicated loop to 130 and then go dormant for 11 min in comfort mode and then will check the temp to see if it needs to reheat the loop.
The users guild is very helpful and you may find that your tast is a lot easier than you think.
BTW....All this changes when they introduce the new model Control-R comming around end of Oct 2022, I am told.

Closing this out since this is currently a limitation in ControlR. In general, I think scheduling use cases are probably better suited for the manufacturer-provided app. I don't just mean in water heaters, think thermostats, pool equipment, etc. Managing scheduled automations across platforms is both more difficult to manage and less reliable. Devices should follow the schedule even if Wi-Fi goes down, and HomeKit can't do that.


Prepare for 2.0 roadmap announcement

This change prepares for the 2.0 roadmap announcement by adjusting some of the content, adding a new 2.0 blog entry, and changing the announcement alert to refer to it.

@joeduffy, unfortunately, I just merged some changes that conflict with some of the changes here. Mainly, it introduces a new content/docs/get-started/policy-as-code/awsguard.md page that will have to be moved to the new directory (and links updated), and some page weights readjusted.

Ok, @justinvp, do you mind pushing merge changes to my branch? If you can't, I'll try to merge in the morning before publishing the main announcement.

do you mind pushing merge changes to my branch

@joeduffy, No problem. I rebased against master, addressed conflicts, and force pushed. I also added aliases to the two other moved pages that needed them.


Update and refactor repo

Lets dust this off and get going again, with fresh pair of new eyes (and brains).
Will perform full refactor of all code, introduce breaking changes.
But I think it is needed to restructure the repo if we want to continue developing alloy.

this is done over at https://github.com/firelink-data/alloy/tree/main instead, closing.


fix(docs): update news repo prep instructions

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Related to https://github.com/freeCodeCamp/news/pull/656.
This should not be merged until https://github.com/freeCodeCamp/news/pull/656 has been reviewed and merged.

Awesome, thanks for taking a look at this @huyenltnguyen, and for adding that blocked label. Totally slipped my mind earlier!

Thanks again for taking a look at this @moT01 and @huyenltnguyen.
I'll go ahead and merge this now that https://github.com/freeCodeCamp/news/pull/656 has been merged.


Implement Authz for CanaryBank API via AWS policy

You must be a member of specific role(s) have authorization via AWS IAM Policies to access pages in the canary bank application

Login to https://canarybank-aws.hexademo.org with Cognito
Try to access any page and you should get the "you do not have permissions" page.
Add a policy to AWS DynamoDB granting your cognito userId GET /developer
Access the developer page, and it should succeed.
You can repeat above two steps for /profile, /analytics, /humanresources
Notes:
Only GET action is currently supported
Wildcards are not yet supported (e.g. /humanresources/*)


🌿 update: add 174th CatchUp Summary

This PR adds 174th CatchUp Summary.

Why does this PR have the 167th CatchUp summary commit as well, @PranavDani?

I forgot to sync my main fork with the latest updated commits. The content doesn't seem to have changed though.
Will take care of this next time.


Updates to Accesschk, Sigcheck, Sysmon and Whois

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/accesschk.md
:white_check_mark:Succeeded
View

sysinternals/downloads/index.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sigcheck.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/downloads/whois.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/accesschk.md
:white_check_mark:Succeeded
View

sysinternals/downloads/index.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sigcheck.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/downloads/whois.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Error: setup Error: TypeError: Cannot read properties of undefined (reading 'mountpoint')

solv@ssdnodes:~$ solv setup
Updated /home/solv/solv.config.json with new values.
Setting up Solana Validator ...
? Which solv types do you want to setup? MAINNET_VALIDATOR
? Which mainnet mode do you want to setup? JitoMev
JITO MEV Setup Mode on!
? Enter commission bps 1000
? Select region Amsterdam
? What is your commission rate? You can change it later (default: 10%) 7
Setting up MAINNET_VALIDATOR...
Error: setup Error: TypeError: Cannot read properties of undefined (reading 'mountpoint')
at setup (/home/solv/.nodenv/versions/20.10.0/lib/node_modules/@epics-dao/solv/dist/index.js:288:1496)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async r. (/home/solv/.nodenv/versions/20.10.0/lib/node_modules/@epics-dao/solv/dist/index.js:288:3626)
at async r.parseAsync (/home/solv/.nodenv/versions/20.10.0/lib/node_modules/@epics-dao/solv/dist/index.js:16:3980)
at async main (/home/solv/.nodenv/versions/20.10.0/lib/node_modules/@epics-dao/solv/dist/index.js:336:831)

Could you try with v3.3.5?

3.3.5 installed, same error. Installing RPC NODE & Validator.

sh -c "$(curl -sSfL "https://storage.googleapis.com/epics-bucket/resource/solv/v3.3/install")"
I tried this install script and worked.
Please let me know if you still have an error!

Hello,
Same error here! It may be due to using a virtual machine (VirtualBox, Ubuntu live server 22.04.4 amd 64)?

Any solutions to this.  I am getting this also on Ubuntu 22.04 x64.  Thx.

same error,Is it because my computer hardware configuration is too low? For example, the configuration cannot reach epyc 7743 and 512G ram?
,and logs is:

solv@HL:~$ solv setup
Updated /home/solv/solv.config.json with new values.
Setting up Solana Validator ...
? Which solv types do you want to setup? RPC_NODE
? Enter your IP address to allow access to RPC NODE: <IP_ADDRESS>
[sudo] password for solv:
✔ Firewall updated!
Setting up RPC_NODE...
Error: setup Error: TypeError: Cannot read properties of undefined (reading 'mountpoint')
    at setup (/home/solv/.local/share/pnpm/global/5/.pnpm/@epics-dao+solv@3.3.13/node_modules/@epics-dao/solv/dist/index.js:294:1613)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async t. (/home/solv/.local/share/pnpm/global/5/.pnpm/@epics-dao+solv@3.3.13/node_modules/@epics-dao/solv/dist/index.js:294:3291)
    at async t.parseAsync (/home/solv/.local/share/pnpm/global/5/.pnpm/@epics-dao+solv@3.3.13/node_modules/@epics-dao/solv/dist/index.js:16:3980)
    at async main (/home/solv/.local/share/pnpm/global/5/.pnpm/@epics-dao+solv@3.3.13/node_modules/@epics-dao/solv/dist/index.js:351:819)

Are you guys using VirtualBox?
If so, it is not recommended!
Could you please share what server instance is facing this problem?

I am using AWS :  m6i.12xlarge

Same thing happenning running this in a clean ubuntu docker image:
Setting up MAINNET_VALIDATOR...
Error: setup Error: TypeError: Cannot read properties of undefined (reading 'mountpoint')
at setup (/home/solv/.local/share/pnpm/global/5/.pnpm/@epics-dao+solv@3.3.15/node_modules/@epics-dao/solv/dist/index.js:299:1627)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async t. (/home/solv/.local/share/pnpm/global/5/.pnpm/@epics-dao+solv@3.3.15/node_modules/@epics-dao/solv/dist/index.js:299:3356)
at async t.parseAsync (/home/solv/.local/share/pnpm/global/5/.pnpm/@epics-dao+solv@3.3.15/node_modules/@epics-dao/solv/dist/index.js:16:3980)
at async main (/home/solv/.local/share/pnpm/global/5/.pnpm/@epics-dao+solv@3.3.15/node_modules/@epics-dao/solv/dist/index.js:356:819)

It looks like AWS has some problems.
Can you guys come to solv discord to fix this?
https://discord.gg/J6qRD4KX
I think AWS's lsblk -l might be different from other instances.

same here. Does anyone know how to solve it?
NAME  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
loop0   7:0    0 61.9M  1 loop /snap/core20/1405
loop1   7:1    0 63.9M  1 loop /snap/core20/2264
loop2   7:2    0 79.9M  1 loop /snap/lxd/22923
loop3   7:3    0 44.7M  1 loop /snap/snapd/15534
loop4   7:4    0   87M  1 loop /snap/lxd/27948
sda     8:0    0   64G  0 disk
sda1    8:1    0    1M  0 part
sda2    8:2    0   64G  0 part /

Hey guys, so i'm having the same issue with a really large VM on VMware. The Problem seems to be the .disks array which is not getting populated.
I've just added a console.log(is().disks) right before the error, and it returns [] (empty array).
So there seems to be something wrong with the hdd detection i guess.
Updated /home/solv/solv.config.json with new values.
Setting up Solana Validator ...
? Which solv types do you want to setup? RPC_NODE
? Enter your IP address to allow access to RPC NODE: <IP_ADDRESS>
[sudo] password for solv:
✔ Firewall updated!
Setting up RPC_NODE...
[]
Error: setup Error: TypeError: Cannot read properties of undefined (reading 'mountpoint')
    at setup (/home/solv/.local/share/pnpm/global/5/.pnpm/@epics-dao+solv@3.3.19/node_modules/@epics-dao/solv/dist/index.js:299:1727)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async t.<anonymous> (/home/solv/.local/share/pnpm/global/5/.pnpm/@epics-dao+solv@3.3.19/node_modules/@epics-dao/solv/dist/index.js:299:3456)
    at async t.parseAsync (/home/solv/.local/share/pnpm/global/5/.pnpm/@epics-dao+solv@3.3.19/node_modules/@epics-dao/solv/dist/index.js:16:3980)
    at async main (/home/solv/.local/share/pnpm/global/5/.pnpm/@epics-dao+solv@3.3.19/node_modules/@epics-dao/solv/dist/index.js:356:819)

since is is the value of yve(), and that gets defined as
function yve(){let e=(0,sk.execSync)("lsblk -l -b -o NAME,SIZE,MOUNTPOINT",{encoding:"utf8"}).split(`....

Now running that returns normal output:
solv@ubuntu-2004-lts:~$ lsblk -l -b -o NAME,SIZE,MOUNTPOINT
NAME                          SIZE MOUNTPOINT
loop0                     58314752 /snap/core18/2721
loop1                     58363904 /snap/core18/2812
loop2                     40996864 /snap/snapd/21184
loop3                     67014656
loop4                     73728000 /snap/lxd/21029
loop5                     96292864 /snap/lxd/24061
loop6                     42393600
loop7                     67051520 /snap/core20/2264
loop8                     67010560 /snap/core20/2182
loop9                     40615936 /snap/snapd/21465
sda<PHONE_NUMBER>00
sda1                       1048576
sda2<PHONE_NUMBER> /boot
sda3<PHONE_NUMBER>48
sr0<PHONE_NUMBER>
ubuntu--vg-ubuntu--lv<PHONE_NUMBER>72 /

I'm guessing the following javascript magic boggles the array and thus misses the disk.

I got it working by making my main volume with OS 800 GB.
But I tried very power and expensive AWS server and was unable to catch-up.

aaah, this could probably be the size check that follows if the disk is > 400gb or 850gb depending on what you're setting up.

I got it working by making my main volume with OS 800 GB.
But I tried very power and expensive AWS server and was unable to catch-up.

we came to the same conclusian  :) mine is now working too.

I got it working by making my main volume with OS 800 GB.
But I tried very power and expensive AWS server and was unable to catch-up.

we came to the same conclusion :) mine is now working too.

Were you able to catch-up yet?

not yet
[2024-04-19T12:18:31.090839013Z INFO  solana_download_utils] downloaded<PHONE_NUMBER>2 bytes 64.4% 21319186.0 bytes/s
[2024-04-19T12:18:37.091242308Z INFO  solana_download_utils] downloaded<PHONE_NUMBER>0 bytes 64.6% 21420356.0 bytes/s
[2024-04-19T12:18:43.091653848Z INFO  solana_download_utils] downloaded<PHONE_NUMBER>2 bytes 64.8% 21414214.0 bytes/s
[2024-04-19T12:18:49.091876916Z INFO  solana_download_utils] downloaded<PHONE_NUMBER>8 bytes 65.0% 21414758.0 bytes/s

After it reaches 100% run  'solv get catchup'  it will then show you if you are staying up to date or falling behind.  I was always falling behind.  Thx.

i'll keep you posted, currently at 95%, my guess is the disks are too slow (even tho i have sata ssd only storage)

ah yeah, i need to add more cpus to the VM.
[2024-04-19T12:53:47.414092964Z ERROR solana_validator] Failed to start validator: "PoH is slower than cluster target tick rate! mine: 767312631 cluster: 400000000."

ah yeah, i need to add more cpus to the VM.
[2024-04-19T12:53:47.414092964Z ERROR solana_validator] Failed to start validator: "PoH is slower than cluster target tick rate! mine: 767312631 cluster: 400000000."

I went as high as 98 and still had trouble catching up

apparently it's just a missing log line. there is also no log line for 0 % :)

Hello, sorry, i'm not sure to understand..
I have the same issue. We need a disk with 800 go minimum? Where can i find the prerequisites to start my validator with solv please?

I'm scared to buy a VPS at 250$ for nothing x)

Then operating a validator node might not be for you. it's a financial risk and 250$ is going to be the least of it.

Operating validator nodes is not a scheme to make money. It's a way of supporting the Solana Ecosystem. Yes you get rewarded, but there are risks as there are with anything where you have to go money-first.

I was able to install my jit-mev valdiator and read / send tx.
But now i dont understand how to use the jito/mev-bot, they ask a geyser access_token, i don't know where to find it.
And, i'm not sure : the jito/mev-bot allow us to run a mev bot on it or no please?


Schemar and Sadder for working with self-addressing schema.

This PR contains:

Schemar class for serializing and verifying schema of type JSON Schema (for now) with self-addressing identifiers.

Generic Sadder class for verifying self-addressing identifiers of JSON documents.

Signed-off-by: Phil Feairheller<EMAIL_ADDRESS>

The Saider class looks good.  The Schemer class seems OK although there is only one serialization type currently supported but I suppose more might be in the offing and using the same protocol as Serder makes it easier on the message stream parser.

The Schemage named tuple seemed odd. It looks likes the values are function references. Usually this would be a class with methods. Its not very pythonic to use a named tuple that way.  Might want to revisit Schemage.  The idea of a named tuple is that is multi-valued data i.e. a data structure and the named tuple allows one to access the data fields by name instead of offset.  As soon as you start using functions as values though it crosses the line into just use a class with methods and attributes.  Likewise a dataclass is just a more powerful named tuple, its a way to have data structures in python that are simpler than a class to define.

The Schemage named tuple seemed odd. It looks likes the values are function references. Usually this would be a class with methods. Its not very pythonic to use a named tuple that way. Might want to revisit Schemage. The idea of a named tuple is that is multi-valued data i.e. a data structure and the named tuple allows one to access the data fields by name instead of offset. As soon as you start using functions as values though it crosses the line into just use a class with methods and attributes. Likewise a dataclass is just a more powerful named tuple, its a way to have data structures in python that are simpler than a class to define.

I was most concerned with the Schemage namedtuple.  I will revisit.

Under the hood everything in python is an object (i.e. has a class and is an instance of a class)  Special classes have syntactic sugarr to make them easier to use in the special cases they are meant for. So it can be tempting to use them in cases that they are not meant for.  Tuples are immutable lists so they are lighter weight than a list and good for little snippets of multivalued data that can be tuple packed and upacked (syntactic suger).  A named tuple is just more syntactic sugarr to allow named reference when the tuple is not unpacked.  But as soon as you are using the values of a tuple to call functions and not for packing unpacking then its looks abusive.  Under the hood a named tuple is just an immutable instance of a class with named attributes.  In many cases a dataclass would  be a better fit than a named tuple.  I used both because I am more familiar with named tuples and dataclasses are relatively new to python. Both work well as enums  in fact for non numeric values better than python's enum class. What I ended up deciding is that for simple data that was very homogeneous that a namedtuple is easier to code up vs a dataclass   but for bigger tables that the dataclass definition allows for  more structure with comments etc that make is more self-documenting in spite of being harder to code.  So Tierage is a namedtuple and MatterCodex is a frozen dataclass that iterates as a tuple. The latter is because the of complexity of the codes of different lengths etc and its just reads better to see them structured that way.  But in neither case are there methods of functionality that are not native to dataclasses and named tuples. At that point I would always create a class.  I hope that helps.  Dataclasses can do much more than named tuples so as in the Komer we use them not as an alternative to a nemedtuple but as a schema for a database structure.  Python is getting more complex which can be a bad thing because they are now multiple ways to do the same thing which is unpythonic.

Schemage has been rewritten as a class.  I'm going to merge this PR now and add Serder like protocol support to Schemer in my next PR since I want to do the exact same thing to a new Credentialer class for the CESR Proof Format.


Climate ID case sensitivity

Right now the climate ID input is case sensitive. Need to remove the sensitivity.

Resolved


Manually linking is missing from docs :(

I have some problem in automatic linking, it will greate this feature to add how to link this library manually to react native project. Almost every library has its guide to link packages manually.
Thanks in advance :)

I can follow these guidelines here, only replace react-native-library-sample by react-native-background-task


Feature/esckan-43 - connect Summary Filters

Jira link - https://metacell.atlassian.net/browse/ESCKAN-43
Task description

Connect summary filters - phenotypes and nerves (note - these are vias that are in major nerves).

Video demo
https://github.com/MetaCell/sckan-explorer/assets/59233227/698463f1-7f8d-4daa-b3a8-75f310fbce6e

NOTE: As I mentioned in slack, this PR doesn't render the phenotype colors in Tooltip. To my understanding - we do not get enough information from the heatmap library to render colors in tooltip.


Add support for multiple encryption providers

Since the encrypt and decrypt functions have grown in complexity, it was starting to get a bit difficult for someone to provide their own functions while also properly handling errors, input size and emitters.
This PR adds support for rage and gpg by allowing the user to specify the provider in their resurrect.set_encryption() config like:
local resurrect = wezterm.plugin.require("https://github.com/MLFlexer/resurrect.wezterm")
resurrect.set_encryption({
  enable = true,
  method = "age" -- "age" is the default encryption method, but you can also specify "rage" or "gpg"
  private_key = "/path/to/private/key.txt", -- if using "gpg", you can omit this
  public_key = "age1ql3z7hjy54pw3hyww5ayyfg7zqgvc7w3j2elw8zmrj2kg5sfn9aqmcac8p",
})

It doesn't remove the ability for someone to provide their own functions for an advanced user. I noticed this PR kind of negated the need for a separate encryption.md so I pulled some of its content into the main README.md.

I would think this covers the majority of use cases but I'm not that familiar with other encryption providers that would fit well with our use case.
This doesn't cover some of the more advanced scenarios like if someone wants to use a passphrase or symmetrical encryption, or if someone is using a hardware token (like a yubikey), but I think this keeps us with a sane default and alternatives.
The simplified encrypt and decrypt functions in https://github.com/MLFlexer/resurrect.wezterm/pull/35 will also make it easier for someone to provide their own functions or to create a PR if more features are desired.


[ADP-2523] fix json encoding of StakePool to drop Null's

A patch to recover the old behavior.
This was a breaking change that broke Daedalus client. Maybe encoding is always a problem.

[x] reencode Nothing as missing fields in StakePool instance
[x] bring back old golden tests with missing fields to verify the encoding. They were probably abandoned by mistake by renaming the ApiStakePool type to ApiTStakePool type in the code. A new ApiTStakePool.json instead was placed there that had no missing fields, so roundtrip tests missed the breaking change.
[x] add e2e test verifying there are no null values in the GET /stake-pools response

Issue Number
[ADP-2523]

bors try

bors r+


Linking with GCC GCs DEFMT_LOG_STATEMENT symbols

rustc 1.48.0-nightly (ef663a8a4 2020-09-30)
gcc version 9.3.1 20200408 (release) (GNU Arm Embedded Toolchain 9-2020-q2-update)
When running with probe-run --defmt I always see   (HOST) WARN  insufficient DWARF info; compile your program with `debug = 2` to enable location info and no messages are printed. However I am configured to produce debuginfo and I can see the debuginfo and defmt sections in the binary.
My .cargo/Config.toml:
[target.thumbv7em-none-eabihf]
runner = "probe-run --chip stm32h743bi --defmt"

[build]
target = "thumbv7em-none-eabihf" # Cortex-M4F and Cortex-M7F (with FPU)
rustflags = [
  "-C", "linker=arm-none-eabi-gcc",
  "-C", "link-arg=-Wl,-Tlink.x",
  "-C", "link-arg=-nostartfiles",
  "-C", "link-arg=-specs=nano.specs",
  "-C", "link-arg=-lc",
  "-C", "link-arg=-mcpu=cortex-m7",
  "-C", "link-arg=-mfpu=fpv5-d16",
  "-C", "link-arg=-mfloat-abi=hard",
  "-C", "link-arg=-mthumb",
  "-C", "link-arg=-Wl,-Tdefmt.x",
  "-C", "link-arg=-g",
  "-C", "inline-threshold=225",
]

[unstable]
features = ["host_dep"]

My Cargo.toml:
[features]
default = ["defmt-default"]
defmt-default = []
defmt-trace = []
defmt-debug = []
defmt-info = []
defmt-warn = []
defmt-error = []

[profile.release]
codegen-units = 1 # better optimizations
opt-level = 3
debug = 2 # symbols are nice and they don't increase the size on Flash
lto = true # better optimizations

[profile.dev.package."*"]
opt-level = "s"

Adding logging to defmt_elf2table I can see that all of the DEFMT_LOG_STATEMENT symbols have been GCd.
Any suggestions?

The same problem occurs when linking by arm-none-eabi-ld

This probably means that LLD will at some point try to match behavior of GNU LD and also break

linking a minimal application with GNU LD (or GCC) was not working for me but it's working with PRs #215 and PRs #216 . GNU LD / GCC may want to try again after those PRs have been merged.

hi @mattico , @nosense-cz  could you check if it works for you now?

Currently I am getting version mismatch:
probe-run --chip STM32F103C8 --defmt target\thumbv7m-none-eabi\debug\app
Error: defmt version mismatch (firmware is using 148009e3bb1d99b5a1938a1a816ad0b0b6423aeb, host is using 28c1afb4d3bad747ef47737a83f5c8b13928cb8a); are you using the same git version of defmt and related tools
Project is up to date by running "cargo update" and probe-run by running "cargo install --git https://github.com/knurling-rs/probe-run --branch main --features defmt  --force".

@nosense-cz You need to use 28c1afb on the firmware, cargo update -p defmt --precise 28c1afb might to the job.

I rebuild probe-run with updated cargo.toml to point to current defmt "main" branch. With that I can successfully see the log messages when linking by arm-none-eabi-ld and also by by arm-none-eabi-gcc. I consider this fixed.

Great! Closing then.


Clarification on #[verifier(publish)]

Hi Verus team, I was writing some spec predicates like
pub struct ClusterState {
    ...
}

impl ClusterState {
    #[spec]
    pub fn empty(&self) -> bool {
        ... // check some fields in self
    }

    #[spec]
    pub fn well_formed(&self) -> bool {
        ... // check some fields in self
    }

    #[spec]
    pub fn trivially_true(&self) -> bool {
        true
    }
}

and I find that both empty and well_formed are always evaluated as false if I call them in another rust file, while trivially_true is sometimes true and sometimes false.
I find that #[verifier(publish)] is used in pervasive and guess that this might help. After adding this macro to each predicate they start to work properly in different rust files.
I am just wondering what is exactly the meaning of #[verifier(publish)]? And what will happen if we do not have this macro for a spec function?

publish means that the definition of the function will be visible to proofs defined in other modules. (Note that this is stronger than being pub, which only means that the function's name and signature are visible, as in ordinary Rust.) If the definition isn't visible, then other modules will treat the function as uninterpreted, meaning they can only reason about the function via lemmas exported by that module.
If you use the new syntax, publish has been replaced by open. Also in the new syntax, the user is required to explicitly mark any pub function as open or closed - our hope is that it will minimize this kind of confusion.


Refactored to use js-ipfs

Great work on this @danielhumgon!
I made a few formatting changes to squash some linting errors. I need to create a video to show you how I have auto-linting set up.
The output is super noisy when it's downloading files:
Retrieving and serving this IPFS hash: Qmbmy721nwzFTiLoYU1VZxKiHmFrxvaJ8WXFH3UwLgc63C
{ hash: 'Qmbmy721nwzFTiLoYU1VZxKiHmFrxvaJ8WXFH3UwLgc63C',
  path: 'Qmbmy721nwzFTiLoYU1VZxKiHmFrxvaJ8WXFH3UwLgc63C',
  name: 'Qmbmy721nwzFTiLoYU1VZxKiHmFrxvaJ8WXFH3UwLgc63C',
  depth: 1,
  size: 0,
  type: 'dir' }
{ hash: 'QmXJt13BVyvrmxWU8DDcgtQLYxEX4Rx2zqwU3N4g4TEM4A',
  path: 'Qmbmy721nwzFTiLoYU1VZxKiHmFrxvaJ8WXFH3UwLgc63C/404',
  name: '404',
  depth: 2,
  size: 0,
  type: 'dir' }
...

Is there any way we can suppress the output to the console while it's downloading the files?


Animation doesn't work if calling programatically?

Please provide you version information :

Dependency
Version

ionic3
3.7.1

angular
4.4.3

ionic-img-viewer
2.6.1

Have you checked...

[x] That npm install returns no warning ?
[x] Doing a purge of your node_modules folder ?

First of all, this plugin is fantastic!
I'm using it to display full res images on this project: http://app.mywayapp.io
Eg: Obras -> (click an image) -> (click the top image)
It shows the image as expected, but I noticed it's not applying the cool "intro/end" animation. I'm using it in other projects and it works good when using the directive to call preview (with "imageViewer" attribute in the img element), but here I'm doing it programatically:
this._imageViewerCtrl.create(img).present();

Taking a quick view to your component, I think it's not applying these styles:
...
 29         imgElement.style[css.transformOrigin] = '0 0';
 30         image.fromTo('translateY', flipY + "px", '0px')
 31             .fromTo('translateX', flipX + "px", '0px')
 32             .fromTo('scale', flipS, '1')
 33             .afterClearStyles([css.transformOrigin]);
 34         backdrop.fromTo('opacity', '0.01', '1');
...

Am I doing something wrong or do I need to do something else?
Thanks!

Any help would be really appreciated @Riron
Thanks.

Hi,
Sorry i have been very busy those days and didn't have time to look at the issues. Triggering the viewer programatically should animate the image.
How exactly is the img variable passed to this._imageViewerCtrl.create() method ? From the template ? Or with a @ViewChild decorator ?

I'm passing the object from a directive, that is the equivalent to do it from the template.

All right, I just tested your app and the way you pass the element seems fine. I think I found the problem, it has something to do with the way I do my animation with very big pictures as the ones you have.
I'll release a fix in the next version. It should be very soon.

Thanks man! I'll be waiting for it. Nice job BTW!!

It should be fixed now !
Please try 2.8.0 or 2.9.0 depending on you Ionic version

@Riron I appreciate the gesture man. Sadly it didn't work. You can test it in http://app.mywayapp.io (I've updated to 2.8.0 since I didn't update ionic-angular to 3.9.0 yet).

Replace
if (el.srcHigh) {
  var img = new Image();
  img.src = el.srcHigh;
  this._imageViewerCtrl.create(img).present();
}

with something like
if (el.srcHigh) {
  this._imageViewerCtrl.create(el, { fullResImage: el.srcHigh }).present();
}

If you create a new image element, the library has no way of knowing where the page is in the page and how to transition from it.

Thanks man! That worked :smiley:
Sorry I didn't answer before but I've been out of the city these days.
Have a nice week!