Old Style Builds: Nightlies & Release Builds?

The "Old Style Builds" via https://libgdx.badlogicgames.com/download.html haven't been created in a while now. I am fine with the release-builds not being available, but now the nighlies are not updated anymore as well. Is there a way to get those back? I am aware that Gradle is the big new thing and I am partly using it for Android/iOS builds. However, it's dead slow to build besides the constant IDE freezes & the under the hood magic that make it difficult to impossible to customize.
I guess I'll build it from source myself. If I am the only one still reluctant to fully make the switch to Gradle and all the "magic" that comes with it? Anyhow, if that's the case, feel free to close this issue :)

You can download the snapshots from here: https://oss.sonatype.org/content/repositories/snapshots/com/badlogicgames/. Perhaps we should remove the old releases on that page and instead tell people to get it from the repo.

The nightlies are still built, we just havent had a build in a few days.  This means the mavenized snapshots are also not built.
As for Gradle, you don't have to build with it (you can simply use it to bring in your dependencies), or use it at all. You can get the artifacts release and snapshots from sonatype or maven central, and you can use another build tool such as maven.
I've never had such problems with performance in the IDE, even on old hardware, but it does vary from build to build.  It is definitely slower though, so for that reason I personally don't use gradle integration in the IDE itself to run, I just use it for the dependency management, and for deploying. We should official deprecate those old style builds.


Add Elements from LDAP default theory to defeasibility library

The defeasibility library does not include all the features of LDAP's default argumentation theory. It does not do rebuttal, or disqualification, it doesn't understand defeated defeaters, and it has no way of addressing defeat cycles. These things should have some default method of handling them in the default argumentation theory.

Need to check out https://www.researchgate.net/publication/367161414_Defeasible_Semantics_for_L4 from SMUCCLaw to see if it can be adjusted for use in s(CASP), perhaps disregarding the deontic elements at first.

Current work in New defeasibility mostly abandons the higher order approach used in LDAP for a first order default logic approach. It addresses defeating defeaters, but cannot handle cycles and doesn't have the other features. But the LDAP approach seems to lead to not-terminating queries in sCASP, so I'm going to close this issue as as-done-as-possible when we make the switch.

Implemented as far as I'm going to in 1.5.0-alpha


Any way to auto discover server?

Hi, first - really great project! Huge congrats!
Question - is there a chance for SSDP or other way for nodes to auto discover server IP address in the local network?

Thanks a lot!
I would go for mDNS as the built-in library for mDNS supports querying whereas the SSDP one does not. What about, in the JSON configuration file, a new mdns field in both the mqtt and ota that, if set to true, would query for the mDNS service defined in a new service field (making host and port optional). I hope I was clear!
Does it sound good to you?

It sounds even more than good! :)

Great! I'll implement it as soon as I can. ;)

Arduino:1.6.8 (Linux), 开发板："Generic ESP8266 Module, Serial, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck"
/home/esp/Arduino/libraries/homie-esp8266-1.1.0/src/Homie/Boot/BootOta.cpp: In member function 'virtual void HomieInternals::BootOta::setup()':
/home/esp/Arduino/libraries/homie-esp8266-1.1.0/src/Homie/Boot/BootOta.cpp:46:188: error: no matching function for call to 'ESP8266HTTPUpdate::update(char [64], uint16_t&, char [64], String&, bool&, char [60], bool)'
t_httpUpdate_return ret = ESPhttpUpdate.update(Config.get().ota.host, Config.get().ota.port, Config.get().ota.path, dataToPass, Config.get().ota.ssl, Config.get().ota.fingerprint, false);
^
/home/esp/Arduino/libraries/homie-esp8266-1.1.0/src/Homie/Boot/BootOta.cpp:46:188: note: candidates are:
In file included from /home/esp/Arduino/libraries/homie-esp8266-1.1.0/src/Homie/Boot/BootOta.hpp:5:0,
from /home/esp/Arduino/libraries/homie-esp8266-1.1.0/src/Homie/Boot/BootOta.cpp:1:
/opt/arduino-1.6.8/hardware/esp8266com/esp8266/libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.h:52:29: note: t_httpUpdate_return ESP8266HTTPUpdate::update(const char*, const char*, const char*)
t_httpUpdate_return update(const char * url, const char * current_version = "", const char * httpsFingerprint = "");
                         ^

/opt/arduino-1.6.8/hardware/esp8266com/esp8266/libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.h:52:29: note:   candidate expects 3 arguments, 7 provided
/opt/arduino-1.6.8/hardware/esp8266com/esp8266/libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.h:53:29: note: t_httpUpdate_return ESP8266HTTPUpdate::update(const char*, uint16_t, const char*, const char*, bool, const char*)
t_httpUpdate_return update(const char * host, uint16_t port, const char * url = "/", const char * current_version = "", bool https = false, const char * httpsFingerprint = "");
                         ^

/opt/arduino-1.6.8/hardware/esp8266com/esp8266/libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.h:53:29: note:   candidate expects 6 arguments, 7 provided
In file included from /home/esp/Arduino/libraries/homie-esp8266-1.1.0/src/Homie/Boot/BootOta.hpp:5:0,
from /home/esp/Arduino/libraries/homie-esp8266-1.1.0/src/Homie/Boot/BootOta.cpp:1:
/opt/arduino-1.6.8/hardware/esp8266com/esp8266/libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.h:54:29: note: t_httpUpdate_return ESP8266HTTPUpdate::update(String, uint16_t, String, String, bool, String)
t_httpUpdate_return update(String host, uint16_t port, String url = "/", String current_version = "", bool https = false, String httpsFingerprint = "");
                         ^

/opt/arduino-1.6.8/hardware/esp8266com/esp8266/libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.h:54:29: note:   candidate expects 6 arguments, 7 provided
exit status 1
Error compiling for board Generic ESP8266 Module

I WANT USE HOMEI ，BUT COMPILE ERROR ,CAN YOU HELP ME?

I bet you are using the 2.0.0 version of the Arduino for ESP8266, you need >= 2.1.0.
By the way, please fill a new issue if you have a problem, instead of pulluting this one. Thanks!

Unfortunately, this will have to wait the next Arduino for ESP8266 as mDNS query support has been added after the 2.1.0 release.

BTW, as far as I know there ahould be installed mDNS/bonjour servers on the Node.js side in order to work. I mean, the solution is not purely node, but we rely on external daemon/service for different OS. Is this the case?

It seems like there is a pure JS implementation : https://github.com/mdns-js/node-mdns-js

Will land in next version!

Released!


Fix the ArtifactDeploy task failing in release management tasks.

The JFrogArtifactoryDeployer task is failing in Release Management with the following error:

System.UnauthorizedAccessException: Access to the path 'F:\jfrog.exe' is denied.

This happens because the environment variable AGENT_BUILDDIRECTORY was intended to use for Builds and does not exist in Release Management.
This PR changes the use of the environment variable AGENT_BUILDDIRECTORY to SYSTEM_ARTIFACTSDIRECTORY which is designed to point to AGENT_BUILDDIRECTORY for build and AGENT_RELEASEDIRECTORY in case of Release.

@jroquelaure any news?

Sorry for missing your first message but as we moved this project to https://github.com/JFrogDev/jfrog-vso-extension
If you don't mind can you add your pull request to the official repo and I'll try to incorporate it asap (after testing it)
Thanks

Alright, created PR JFrogDev/jfrog-vso-extension#3 as requested.


Add support for psr/cache ^3.0

Environment details

OS: Ubuntu 20.04
PHP version: PHP 8.1
Package name and version: cloud-vision (any version)

Steps to reproduce
I am in composer dependency hell as I have packages that require psr/cache:^3 (in my case: symfony/cache-contracts:3.0.0) but google/auth:v1.19.0 still requires psr/cache ^1.0|^2.0. This is preventing me from installing google/cloud-vision.
The only change with psr/cache:^3.0 is adding return types, so you can support it as an option as it does not introduce any other changes.

This support has been added in the upstream google/auth library, and so is now supported in this library as well.


Integrate React Hot Loader

Similar boilerplates like https://github.com/krasevych/react-redux-styled-hot-universal have React Hot Loading.
This allows you to keep your redux state in between hot-module replacement of your React Components/ Smart Containers, and speeds up development when you have to build up state.
Is there any plan to implement similar functionality for this project?

Hi, sorry, but It's already existed. webpack_config/server.js - you can find it here.

That's webpack hot middleware - for swapping out components "hot".
I'm talking about having the redux state persist - 2 different things.

Take a look at this line, please.

Thanks! Didn't notice that.
I must be having some issue then - I lose state every time I update my code. I'll play around with it some more, I must be doing something wrong.
Thanks for your help!

Thanks for your interest to this starter, I really appreciate it😉


[floatplane] New version of the Floatplane extractor

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

A much better version of the Floatplane extractor. Compared to the previous one (pull request 20535), now it:

logs in with login/password (.netrc machine "floatplane"), no longer requiring cookie exporting
fetches all available qualities
adds safety from API changes for optional fields
has nicer, more informative output (in place of several "Downloading JSON metadata" messages)
So it's now actually ready for use by normal people :)

Current problems/to-dos:

I've tried added a test (some short video like https://www.floatplane.com/video/Eid2CalB2N), but test_download.py doesn't support getting login info (from .netrc or -u/-p) or --cookies. Again: Floatplane is currently subscriber-only, there's no unpaid content and hence, no way to test without subscribing.
Floatplane has 2FA app that people can use, that generates a new token for each login - my extractor doesn't support that (and I don't think anyone watching videos through youtube-dl would want to enter a token each time).

I've seen other extractors for subscription-only services, so this shouldn't be a problem.
I guess I can privately share my account with you if you want to see if it works - how would we facilitate that?

BTW, highlighting @gary-kim - I've seen your comment the last time, but I see no playlists anywhere on the site (I only subscribe to LTT though, maybe other creators use them?)

BTW, highlighting @gary-kim - I've seen your comment the last time, but I see no playlists anywhere on the site (I only subscribe to LTT though, maybe other creators use them?)

I was referring to being able to download entire channels. Sorry if I worded that weirdly.

Okay then, I'm going to merge this into my youtube-dl until it gets merged into the official version. Thanks @Lamieur.

Guess the merge broke everything :/
Why can't we just go back to unified diffs? :(

Now that I learned how to rebase instead of merging, hopefully it should be easier to push forward? :)
(Still works just fine.)

This may be a system-based issue and not an issue with your branch, but I built your version and upon downloading a floatplane video I am greeted with the following error (at the bottom). You may want to check this error out.
Type account password and press [Return]:
[Floatplane] 6hK1dJYa4J: Logging in
[Floatplane] Logged in as ATMPlays.
[Floatplane] 6hK1dJYa4J: Downloading video info
[Floatplane] 6hK1dJYa4J: Downloading url for 360p
[Floatplane] 6hK1dJYa4J: Downloading url for 480p
[Floatplane] 6hK1dJYa4J: Downloading url for 720p
[Floatplane] 6hK1dJYa4J: Downloading url for 1080p
[download] Destination: TL - Yay, 'new' processors...-6hK1dJYa4J.m3u8
ffmpeg version 4.1.4-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100

ERROR: ffmpeg exited with code -11```

@atm0915
Works here with ffmpeg 4.2.2 (I tried the same video to make sure), but I was using 4.1.4 last year and it worked back then.
Exit code -11 is your ffmpeg crashing with SIGSEGV, which should never happen of course. But again, I have been using ffmpeg 4.1.4 and it never crashed, not just downloading Floatplane videos :) But of course you're on Debian with archaic gcc and all that good stuff [1], so who knows ;)
You can start with youtube-dl -v - that also automatically runs ffmpeg with -loglevel verbose, so you'll see more info from both programs. If that doesn't say anything useful, try to upgrade or something? Otherwise, go chasing core dumps :/
[1] I noticed mine is compiled with gcc 9 and has other build flags, for example mine has --enable-gcrypt, no idea if that's useful for hls crypto, just looked the least unrelated ;) I don't want to derail your debugging with useless speculation about stuff I have no idea about, so maybe best to ignore me.

I'm on arch so I'm also on ffmpeg 4.2.2. Somehow a much older version of ffmpeg showed up in a random place in my path. I removed it and now everything works fine.


Press to send a new request

I had Google assistant on my Ubuntu before. But now that I passed to zorin os, the Google assistant doesn't have the OK Google recognition. It says "press enter to send a new request" but I just want to have the OK Google

Adding for those who are trying to enable hotword feature and avoid push enter to talk you can do these steps:
// upgrade google-assistant-library
$ python3 -m pip install --upgrade google-assistant-library
//Run the demo
google-assistant-demo --project-id PROJECT_ID --device-model-id DEVICE_MODEL
and then you can use "hey google or OK google" hotword, no keyentries needed.
You can also make it run at system startup which makes it great ;)


[FEAT] Add searchbar for maps

Is your feature request related to a problem? Please describe.
Add searchbar to filter maps

Title > description > author

+: Add Card "Add Map"(link to https://geoguess.games/guide/dev/maps.html#maps-list)

Redesign the Home page
Idea :

Remove slider Area


Add opt-in autocomplete for emoji

Why not use a block component and yeild the textarea instead of placing it next to it and just look for child that is textarea or input?

@areese159: Because I am a super dummy and didn't think about using it as a block.

😄

What's the status of this PR? We have been waiting for over two years now for its completion....

What's the status of this PR? We have been waiting for over two years now for its completion....

Soon.


Adding logger package based on zerolog that implements logr

Description
This PR changes the ion-log module to package inside this repo that use zerolog to implement logr interface.

Thanks!
What are the advantages of logr

There is a couple advantages:

Logr provides interface for structured logging (easy to query), no need to printf with custom format.
It's simple - just need to create logger instance and pass it into the modules and packages
V-levels (-v, -vv, ...) instead of "string"-levels. However - it's still can be used along with "string" levels like "trace", "debug"
When creating in a proper way (one logger instance that will be called from other methods, or one logger instance per module/lib with different settings) - concurrently safe.

However, current implementation support old way to make logs - initiate logger one time in main func.

@bshihr Okay, but what about tests packages? Should test code import the logr implementation?

@bshihr Okay, but what about tests packages? Should test code import the logr implementation?

Seems reasonable to me.

I was trying to implement different V-levels, like described here - https://github.com/go-logr/logr#what-if-my-v-levels-differ-between-libraries. That works almost fine.
But then I realised, that V level for logger should be additive. And it breaks my implementation.
Still working on it.

@bshihr  Could you please review after the changes?


fix: stop generating invalid service module names

closes: https://github.com/MarcoMuellner/openapi-python-generator/issues/33
I had the same issue but with " ", so I fixed it :+1:
Thanks for the generator!

Thanks for you contribution :) I'll merge this.


Channel import version compatibility

My hub is down atm and i tried to revive my channel with an cca 4MB big channel export from about half year ago. I succeded to import it at another hub (current dev). I did not make it primary.
I got a Warning: Database versions differ by 5 updates. The channel does not seem to be functional. Magic auth (or remote auth) does not work, connecting with new channels does not work and comunication with existing channels also seems broken.
My question is if old exports are compatible with newer versions at all or are we having issues with cloning since the switch to owa?

I suspect this is due to servers timing out...

The DB version warning is only a warning which we do not act on.  There are no incompatibilities that I'm currently aware of, however something clearly went wrong with the import. OWA should not be an issue as it does not depend on any database changes.

Just some data points. I've looked back 5+ updates and found nothing that should cause a problem with the current importer. I've visually checked each of these for import conflicts. I'm not able to generate an older import file currently, but import works from a current dev site (so the import code itself probably isn't buggered). Given the things you mentioned as broken, the probability is highest that the channel store failed, with xchan/hubloc less likely and abook at an even lower probability.


How to edit style of text in moment-timezone ?

I created a time of zone by moment.tz(id_zone).hour(v).format('hh:mm:ss a') .I want to handle this time , for example , the hour displayed on a big size and minute on small size . Please is it possible with moment and moment-timezone ?

Hello, I think you'll find you get a faster response to this type of question at stackoverflow.
github issues are normally used for people to report and discuss bugs and feature requests, not as a general advice forum.


Status of the project?

The project looks interesting, but 10 commits over 2 years doesn't give high hopes. Was it just open-sourced recently? Is it still "ongoing research support by ..."? What's working currently, what's not, what's roadmap? All in all, if it's a typical student project being "open-sourced" a year or so after graduation, of the feeling of nostalgia, before former student completely dissolves in real-life (exciting things like paying bills, work, family, little kids), please tell so, to set everyone's expectations right ;-).

Hi @pfalcon
This project was open-sourced after a paper was written a couple of years ago: http://dl.acm.org/citation.cfm?id=2554891
My interest in the project has not decreased, and some work has been done privately. I have new code to push once tested better, but my life has been very busy in the past months (I know this is not a good excuse, but true nonetheless). The last two years have also been spent working on IonDB, https://github.com/iondbproject/iondb which was designed and implemented by me and a couple others in part to address some weakness in LittleD.
In terms of roadmap, well there is a lot in the air. I am still figuring out my career focus but graduate studies holds a lot of interest, especially on this topic. I am sort of in a transitory time right now trying to make some cash ATM, so not much time has been spent except for a few days a week splitting between this and IonDB during the summers.
In terms of what works, more or less SELECT-FROM-WHERE, CREATE TABLE, INSERT, in short. INT and fixed STRING(n) types. Very limited indexing. Soon pushing work on query compiling/serialization, depending on results of latest submitted paper.
In terms of a rough roadmap, I would like to attempt what I think of as "query registration" which kind of blends the power of ad-hoc query specification with query compilation. Hopefully will integrate IonDB for better indexing/storage. Add support for sorting, aggregation, grouping, etc. Of course, this all depends on my future, though others at UBC are interested in continuing this project on.
Thanks for your interest, and hopefully this answers your questions, at least at a high level. We'll see what the future holds indeed.

@graemedouglas : I much appreciate the detailed response. The references are also very insightful - I watch the embedded databases space, and can't believe I missed so cool things. They also help to understand motivation and design choices behind LittleD.
So, I wish LittleD project to develop further and be very successful. Of course, for open source, that depends not only on project maintainers, but on community and contributors, so making it easier for them to get acquainted with the project is helpful (and was a topic of my tickets). So, I'd suggest to at least keep this ticket open, so it was easy to discover, if not make gradual changes here and there with the above aim.
I also posted link on HackerNews: https://news.ycombinator.com/item?id=10621337 in the hope to bring more attention to the project.

I also posted link on HackerNews

It worked (doesn't work every time, you know ;-) ) - you now have 10x times more stars and will get more. Which of course shows that people care. So, please kindly use that as a motivation to make project more friendlier and easier to start with - it shouldn't take much effort, and you can be back to real life stuff, while in the meantime community will build up around your project, to help in future achieve your dreams for it. Thanks.

I owe you a lot of thanks @pfalcon. I hope I didn't come off too strong! :)

Hi @graemedouglas ,
I am now choosing between projects that I might be interested and able to contribute to. LittleD and IonDB grabbed my attention. I am primarily interested in IoT-related projects as I feel this is the future. I think as the world is facing the IoT and Big Data era it is a good idea to have tools for storing and retrieving huge arrays of data within a constrained physical system. In this respect your projects seem to be a way forward.
 It is a bit difficult in nature, however. I am moving to another country and am forced to find a job there. The point I am trying to make by this is that it is difficult for me to estimate when I will be available to contribute. Anyway, I will be watching the projects to  have an idea what's going on here.
Apologies if you feel my post falls into a different discussion topic.
All the best,
Andrew

Hi Andrew,
I totally understand. I sincerely wish you the best of luck whilst moving countries! Hopefully you find a good job, and if/when you want to contribute, just let me know! Maybe I'll open an issue for contributors discussion (until I figure out a better way).

Hello @graemedouglas,
I read your recently published paper, "Efficient SQL Querying on Embedded Devices using Pre-Compilation".
In this paper you implemented a compiler-separated version of LittleD.
I'm very interested in it but it seems that the feature is not released yet.
Please comment your plan for releasing the improved version.
I'd like to try once it is released.
Thanks.

Hello @tima-m,
I have the code in a separate repository, and it is ready to be pushed, I am just a little back-logged with paid work and my non-professional life to move it over. I will try and find some time soon to make the code public one way or another.


How to change style?

I tried
cht.sh python reversed a list style=xcode
cht.sh> python reverse a list style=xcode

They are clearly not xcode. Thanks!

You have to start the options list with ?
python reverse a list ?style=xcode

Is there a way to change the style once and for all?
When I type cht.sh QUERY_OPTIONS="style=xcode" in normal mode or  QUERY_OPTIONS="style=xcode in shell mode,
I get
 Unknown topic.
Do you mean one of these topics maybe?

Thank you for your good work,chubin!


fix: Fix capitalization for YouTube

The word should be YouTube, not Youtube (the letter t should be uppercase after the word You), also made the same mistake in this file
PR Checklist
Please check to confirm your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/angular/angular-cli/blob/main/CONTRIBUTING.md#-commit-message-guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[x] Other... Please describe: Fix capitalization for YouTube

What is the current behavior?
YouTube has current capitalization, but Youtube is wrong capitalization.

Issue Number: N/A
What is the new behavior?
Fix capitalization mistake

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Thank you for your contribution. We are closing this as the CLA has not been signed.


Inconsistent answers in Azure HUB faq

🛑 IMPORTANT: You can get your feedback addressed faster if you use the comment section for the article in which you encountered a problem.
Link to article:
https://azure.microsoft.com/en-us/pricing/hybrid-benefit/faq/
Problem:
There's some inconsistency in the Windows Server products that are eligible for Azure HUB. In the 'Which products are eligible for the Azure Hybrid Benefit?' section it states Windows Server Datacenter with Software Assurance is eligible.
Further down the page under 'Do I need to use Azure Marketplace gallery images or Azure portal images for virtual machines that match my Windows Server Standard edition and Datacenter edition licenses?' It states that you can use your Windows Server Standard edition. This isn't consistent with the first statement that you can only apply HUB to the Datacenter edition with Software Assurance.

@LilacBrandy Please submit this feedback to the azure general feedback


Sonar security vulnerabilities

Sonar suggests not to throw an IOException from a servlet method because the stack trace could be exposed. Would it be correct to catch these exceptions and just log their messages?
If the exceptions are really intended, we could suppress the Sonar warnings with @SuppressWarnings("java:S1989").

Hi @zUniQueX , I am interested to know more about this issue and would love to work on it.

Hi @saraswathy-krish. In the Sonar report there are security issues because IOExceptions are thrown from servlet methods. I just wanted to discuss, how we should handle these warnings.
If we catch those exceptions and log them, we would modify public APIs and therefore introduce a breaking change.
If we don't do anything about this, Sonar describes the possibility of denial-of-service attacks or information exposure.
I think, that both alternatives are not optimal, but I'd prefer being secure and therefore would catch the exceptions.


DataSet Format Question

When I look at the meta file for the yfcc100M dataset I can only get the first two values as the number of nodes and the number of labels,
For the description of the latter data format I guess it is the sparse matrix format but I can't tell for sure
Please tell me where should I get more information from
Thx!!!!!!!!

Hi @Coien-rr
Are you using get_dataset_metadata()? It returns a standard CSR matrix.
We use it in this baseline: https://github.com/harsha-simhadri/big-ann-benchmarks/blob/main/neurips23/filter/faiss/faiss.py

got it, i will try it. Thank you !

Hi @Coien-rr
Are you using get_dataset_metadata()? It returns a standard CSR matrix.
We use it in this baseline: https://github.com/harsha-simhadri/big-ann-benchmarks/blob/main/neurips23/filter/faiss/faiss.p

Hi @Coien-rr
Are you using get_dataset_metadata()? It returns a standard CSR matrix.
We use it in this baseline: https://github.com/harsha-simhadri/big-ann-benchmarks/blob/main/neurips23/filter/faiss/faiss.py

I have obtained the sparse matrix representation of the label information, thank you very much, but I would like to ask how to obtain the categorical representation of the labels, as expressed on the first page of the contest

we associate with each image a "bag" of tags: words extracted from the description, the camera model, the year the picture was taken and the country. The tags are from a vocabulary of 200386 possible tags.

Or the semantic representation of the word before it was encoded

Adding @mdouze because he worked on the preparation code.
The process to obtain the metadata is detailed here: https://github.com/harsha-simhadri/big-ann-benchmarks/blob/main/dataset_preparation/prepare_yfcc100m.py It is not exactly reproducible at this point and requires some manual changes if you want to run it yourself.
For the challenge, you don't need to worry about the metadata. The individual tags are the integers that you find in the sparse matrix. I'm not sure if the integer -> tag mapping is available, but @mdouze certainly knows.

Right, for the curious, the integer -> tag mapping is available here:
https://dl.fbaipublicfiles.com/billion-scale-ann-benchmarks/yfcc100M/words.txt
but as @maumueller mentions, it is not necessary to have this mapping to perform the task.
The file format for sparse matrices is described here:
https://github.com/harsha-simhadri/big-ann-benchmarks/blob/main/benchmark/dataset_io.py#L191
Or, in plain text:
int64   nrow: number of rows of the matrix
int64   ncol: number of columns of the matrix
int64   nnz:  number of non-0 elements in the matrix
int64[nrow + 1] indptr:  pointers to the beginning of each row
int32[nnz]      indices: row indices of each entry
int32[nnz]      data:    corresponding non-zero matrix values

It is a sparse CSR representation, so the non-0 entries of row i=0..nrow-1 are in columns
indices[indptr[i]] to indices[indptr[i+1]-1]
With matrix entries
data[indptr[i]] to data[indptr[i+1]-1]
In the case of filtered search, the data entries will not be used, so maybe we can make that optional.


Reopen #992, disable stale bot

Can we have the following issue reopened as it wasn't really resolved:
https://github.com/wix/Detox/issues/992
Is there any benefit of using Stale bot apart of ignoring issues? Can we have stale bot disabled/removed?

No.

See discussion here:
https://github.com/wix/Detox/issues/1227

Regarding the bots we use and our rationale, see #1305


Struggles with iOS and answers.

Im struggeling to get iOS and answers to work with cocapods and swift setup. Im not sure what it might be, I have set fabric like fabric.io tells us, and I have imported this lib with cocapods. But when calling a method on the answers lib i get these error messages:
https://gist.github.com/vongohren/ace1fa40639ebb75b43e465bad51a3bd
Any idea @corymsmith, seen it before?

@vongohren No I've never seen those errors before. I've also never imported this lib with CocoaPods so I'm not much help unfortunately.

I figured out a solution to this. I ended up making a hardcoded reference,(drag and drop the files into the project), on the node modules folder. It actually works, but is not optimal. Got the idea from airbnb - point 3 - https://github.com/airbnb/react-native-maps/blob/master/docs/installation.md#ios

So works for now, when I have time i might look at this, or maybe fabric comes with default react native support.


Add quick tour

@xgui3783 Could you please look at the new commit? I've made some major changes after our discussion.


Simplify YAML generation

Avoid relying on excluding certain template files when generating the merged YAML files. Instead, require to list all templates that need to be included.

This change is

test-me-please

Coverage increased (+0.04%) to 43.793% when pulling 14e7d0d24880511098e3a1ce0d777b6cf8b16702 on pr/tgraf/simplify-yaml-generation into faada83c4cb700d4b897ef701e55dc1a7963f2ca on master.

test-me-please


Additional DfTx to be included in /transactions

This is only available after 2.0.0 upgrade. Estimated block time for the upgrade is 15 Nov.

What would you like to be added:
Implement the additional DeFi transaction types that can be found in https://github.com/DeFiCh/jellyfish/issues/532

Additional DfTxs

[ ] createLoanScheme
[ ] updateLoanScheme
[ ] setDefaultLoanScheme
[ ] destroyLoanScheme
[ ] setCollateralToken
[ ] setLoanToken
[ ] updateLoanToken
[ ] createVault
[ ] updateVault
[ ] depositToVault
[ ] withdrawfromvault
[ ] auctionBid
[ ] takeLoan
[ ] loanPayBack
[ ] closeVault
[ ] setGovVariableHeight
[ ] compositeswap


Foxx App keeps asking for password

ArangoDB 2.4.3 on Ubuntu
I am trying to follow this cookbook: https://docs.arangodb.com/cookbook/FoxxFirstSteps.html
The server is set up with authentication being enabled. I have enabled the dev-app mode via the config file, restarted the server.
I log in to the web interface as a non-root user, go to the Applications tab and creat a new one. The application then lists up on the page.
I go to the provided directory, create the todos.js file inside the controllers directory and adjust the manifest file accordingly.
Then (still logged in as that user), click on the new application. The application page tries to load but I am asked for Basic Auth credentials.
The problem is that neither that user's credentials work, nor the root's. So, in practice, I can't really access the app. Am I missing something or is it a bug?

Hi @rotatingJazz
i am not able to reproduce this bug, i am pretty sure you do not miss something but it is some strange browser behaviour we do not react to yet. (All browsers handle Authentication differently ;( )
So i could need a bit more information:

Which browser are you using to access the WebInterface
Which Operating System are you using? (Windows, Mac or any Linux?)
Are you working inside the _system database or have you switched to another one?

Hi @mchacki
Thank you for looking into this!

Opera Next (I will try with another browser and update the issue)
It's another database, not _system, owned by the non-rot user
Yes but I had also tried it by opening the web interface in "private mode" with one tab

One other thing that may (or not) be relevant, because I host multiple versions on the same machine using Docker, I make them bind to localhost and use nginx to as a reverse proxy to have the interface served under subdomains. To eliminate the possibility of nginx doing anything funky, I will create a new instance, bind it to the public ip and test it directly (so there would be nothing in between the browser and arangodb). I 'll have it done tonight and update the issue.

Hi @rotatingJazz ,
i managed to reproduce your behaviour, it seems nginx is not doing anything funky.
We have alrady fixed this issue in 2.4 branch, as a side effect of sth. else (the documentation was loaded from _system always).
It will be included in 2.4.4 and 2.5
If you want to patch your own arangodb edit the file:
js/apps/system/aardvark/frontend/js/templates/applicationDetailView.ejs
and change the line 41:
<iframe src="/_db/<%= app.attributes.db%>/_admin/aardvark/standalone.html#application/documentation/<%= app.attributes._key %>" name="Documentation">
to
<iframe src="/_db/<%=db%>/_admin/aardvark/standalone.html#application/documentation/<%= app.attributes._key %>" name="Documentation">

@mchacki Superb! :beer: It works perfectly, thank you very much!


Plug in icon is not hidden, but not displayed

VSCode Version: 1.46.0 (user setup)
提交: a5d1cc28bb5da32ec67e86cc50f84c67cc690321
日期: 2020-06-10T09:03:20.462Z
Electron: 7.3.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS Version: Windows_NT x64 10.0.19041

Steps to Reproduce:
1.wsl中使用win10子系统开发。插件不显示

Maybe the same problem as in #92323?
Can you use the network tab on the developer tools and see if the svg icon is correctly loaded?
Check the response header like seen in #92323 (comment)

duplicate of https://github.com/microsoft/vscode/issues/97564


Adding animation

@TejasNasre
I would like to add animation to this like this

https://github.com/user-attachments/assets/0b3585a0-2a44-4e3b-aaeb-e66d6c78be0d

as of now no need


Contributors Addition

Happy Hacktoberfest

@huntleyreep, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I merged it?
We’ve added a tweet feature to our web app recently. Can you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.

Your tutorial was great. The most thorough out of all the Hacktoberfest ones I had been on today. I’m a CS student but haven’t had to use Git before (although I have set it up per FCC). The only issue I had was that I used the Github desktop client instead of terminal. It made it easier in the fact that the UI is very understandable, but more difficult since all of the hacktoberfest tutorials are using terminal. I bridged the gap quickly however, and it feels great to have completed four PR’s that were all merged!
Thanks!

On Oct 19, 2017, at 2:13 PM, Roshan Jossey<EMAIL_ADDRESS>wrote:
@huntleyreep https://github.com/huntleyreep, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I merged it?
> We’ve added a tweet feature to our web app recently. Can you please go to https://roshanjossey.github.io/first-contributions/#social-share https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
> Also, check out projects with easy issues while you’re there.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Roshanjossey/first-contributions/pull/1054#issuecomment-337992015, or mute the thread https://github.com/notifications/unsubscribe-auth/AZdX-ItnEojkXGSQtq0zSShasQ35nbV4ks5st5E3gaJpZM4P_oEw.

@huntleyreep, Thank you for sharing your thoughts. This project is not about hacktoberfest. I'm really keen on helping people to start their journey in open source world. That's my goal. I'm just using hacktoberfest as a way to reach out to more people.
I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://firstcontributions.herokuapp.com


add progress component that works cleanly with Live

Type of changes

[ ] Bug fix
[x] New feature
[ ] Documentation / docstrings
[ ] Tests
[ ] Other

Checklist

[x] I've run the latest black with default args on new code.
[x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
[x] I've added tests for new code.
[x] I accept that @willmcgugan may be pedantic in the code review.

Description
Creation of a ProgressComponent that extends Progress to work nicely with Live. As detailed in #482.
Renaming the class may be useful as it feels a bit lengthy.

Ok I think this is now at a reasonable setup, where it is convenient to call by the user.

You may want to add a note in the Live documentation page as well, liking to the Combining with Live section in the Progress page.

You may want to add a note in the Live documentation page as well, liking to the Combining with Live section in the Progress page.

Hi @nathanrpage97
I see the need for this, bit I'm not keen on this RenderProgress class with stubs for start() etc.
Could we factor out a ProgressRenderable that handles the state and rendering, and extend that with the refresh thread etc to create the Progress class.
In psuedo-code...
class ProgressRenderable:
    def add_task(self, ...):
        ...
    def __rich_console__(self,...):
        ...

class Progress(ProgressRenderable):
    def start(self):
        ...

Essentially adding functionality to the renderable to create a Progress class, rather than subtracting from Progress to create a renderable -- if that makes sense!

Hi @nathanrpage97
I see the need for this, bit I'm not keen on this RenderProgress class with stubs for start() etc.
Could we factor out a ProgressRenderable that handles the state and rendering, and extend that with the refresh thread etc to create the Progress class.
In psuedo-code...
class ProgressRenderable:
    def add_task(self, ...):
        ...
    def __rich_console__(self,...):
        ...

class Progress(ProgressRenderable):
    def start(self):
        ...

Essentially adding functionality to the renderable to create a Progress class, rather than subtracting from Progress to create a renderable -- if that makes sense!

I was going to do it that way, the issue I had is that it would imply to a users IDE that the Progress component is RichRenderable  when it is not. Even if you were to add a NotImplemented exception to the __rich_console__ of Progress in this case. Thoughts?

I was going to do it that way, the issue I had is that it would imply to a users IDE that the Progress component is RichRenderable  when it is not. Even if you were to add a NotImplemented exception to the __rich_console__ of Progress in this case. Thoughts?

I was going to do it that way, the issue I had is that it would imply to a users IDE that the Progress component is RichRenderable when it is not.

I think it would be Rich renderable. It wouldn't be the recommended way to use Progress, but I don't see any harm in being able to do console.print(progress).

I was going to do it that way, the issue I had is that it would imply to a users IDE that the Progress component is RichRenderable when it is not.

I think it would be Rich renderable. It wouldn't be the recommended way to use Progress, but I don't see any harm in being able to do console.print(progress).

Alright sounds good, I will refactor it tonight. I still want to keep the static renderable() method on Progress to keep it as 1 import that users will realistically  need from rich.progress.

Alright sounds good, I will refactor it tonight. I still want to keep the static renderable() method on Progress to keep it as 1 import that users will realistically  need from rich.progress.

@nathanrpage97 You might want to hold off. I'd like to refactor Progress so that it uses the functionality in Live. I'm also thinking about ways to supported nested Live / Progress.

Alright all good. That makes a lot of sense. Should this pr be closed?


Remaining work around investment value

Format data for humans in value view
Add average salary dropdown field
Add infostrips for empty value and requiremetns

Am slightly worried about test coverage slipping for these features. Should make sure we follow up with tests within the investment app.

Definitely. I'm aware of missing tests and am planning to add them as soon as I can.


[BUG] Unable to Use Tailwind CSS in Liveblocks Starter Template

Description:
I tried to use Tailwind CSS in Liveblocks' Starter Template, but I encountered an issue. When I added the Tailwind classes to the HTML elements in the template, they didn't get applied to the page. I checked the console for any errors and found none. I also verified that the Tailwind CSS file was loaded correctly in the template.
Steps to Reproduce:
Create a new project on Liveblocks using the Starter Template.
Install Tailwind CSS using npm or yarn.
Add the Tailwind classes to the HTML elements in the template.
Preview the page in the browser.
Expected Results:
The Tailwind classes should be applied to the HTML elements, and the page should display with the correct styles.
Actual Results:
The Tailwind classes are not applied to the HTML elements, and the page displays with the default styles.
Environment:
Operating System: [Linux(ubuntu 22)]
Browser: [Chrome, Firefox, Edge]
Tailwind CSS
Workaround:
There is currently no known workaround for this issue.
Additional Information:
I have tried adding the Tailwind classes to a blank HTML file outside of the Liveblocks environment, and they work correctly. This issue only occurs when using the Liveblocks Starter Template.

Hey @CodeWizarz! I've identified the source of the issue, it's being caused by an existing postcss.config.js file that has no Tailwind config inside it.
Here's how to fix it in the starter kit:

Delete postcss.config.js in the starter kit
Run npx tailwindcss init -p

If this doesn't work, delete the .next directory and try it again.
Could you let me know if that works for you?

No i guess i tried all the possible solutions and the above you provided
although ill provide my configs
postcss.config     module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
tailwind.config      /** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src//*.{html,js,ts,jsx,tsx}", "./components//.{html,js,ts,jsx,tsx}", "./pages/**/.{html,js,ts,jsx,tsx}"],
theme: {
extend: {},
},
plugins: [],
}

Yeah It works just fine thank you. I'm gonna see what's wrong with my config files.

Yeah It works just fine thank you. I'm gonna see what's wrong with my config files. And by the way i tried to replicate the on hover dropdown component in liveblocks official webpage using tailwind and pure css too, it feels more complicated than it looks. Is it possible you can help me any way ? thanks in advance :)

Great, glad it works @CodeWizarz!
Have you seen this? 😄
https://twitter.com/brentarcane/status/1651007781481357312
Someone recently replicated the header and made it open-source!

@CTNicholas thanks Nick i was desperate to replicate the header. :)


Setup PEP8Speaks

PEP8Speaks is a smell checker for python and we can implement it to maintain a smell-free code.

Fixed.


Fix modal dialog - 100% CPU core usage

The problem:
Dialogs are kept open in a loop using g_main_context_iteration that allows us to validate the data provided by the user in the dialog once it is closed. However, this causes a CPU core to have a usage of 100%, as the loop is continuously running until the dialog closes.
The solution:
Validate data as soon as the Adw.EntryRows and other controls are updated, instead of when the dialog is closed. This will remove the need for a g_main_context_iteration loop

FYI @Suork

https://github.com/nlogozzo/NickvisionMoney/releases/tag/2023.1.0


flex importing issues

am trying to add flexes to a simple cube as a test since I had problems with my own model
but I seem to not even be-able to get any flexes to work despite my best effort.
idk if am just exporting it wrong or if it's a different issue.
but it seems to either load fine in model viewer and not crash but no flexes work or it just crashes on load.
Blender 3.6, blender source tools, smd, .vta (same results with BST 3.0 on blender 2.8)
2 flexes one basis flex(which apparently counts)
studiomdl settings -l -q
example:
cube.zip

to note I imported harrison's head and then re-exported it and it also worked fine so am very confused at this point.

Let me take a look at the data you provided, I'll try to compile it from my side and see what's happening, then I'll come back to you.

hmm, I'll try again with my main model again then. I am curious what the crash is that I get with my main model so I'll debug that if I run into that again.

I've pushed an immediate fox for this issue. Can you please check from your end also?

textures_2.zip
example2.zip
I was able to fix the cube example eventually with the current fixes pushed but it still seems something is causing a crash with my main test model, when you have the time you can look at it your self.

So I finally got to checking this issue out, and it seems that it is caused by studiomdl not properly accounting for the max number of flex vertexes supported. Your model has too many animated vertexes for the Pathos Model Viewer to process, which is causing the crash due to a buffer overrun, and there are further issues with tying flex vertex data to triangle vertices during model compile. I'm working on a full fix right now, and the permanent fix will drop as part of the next big update.

it seems the pmlviewer code isn't too happy being updated to 2022
I'm also going to release an updated version of the PMDLViewer that now compiles fine with VS 2022.

@AnthonyPython The fix for the issues you mentioned had just dropped. Can you please try again from your side?


Error: LatentDiffusion.optimizer_step

Hello,
Thanks a lot for making this repository public.
I am trying to run train_genforecast.py example. It is throwing following error with LatentDiffusion.optimizer_step() function.
File "/home/######/ldcast/scripts/train_genforecast.py", line 119, in train
trainer.fit(model, datamodule=datamodule, ckpt_path=ckpt_path)
File "/home/######/lib/python3.11/site-packages/pytorch_lightning/trainer/trainer.py", line 532, in fit
call._call_and_handle_interrupt(
File "/home/######/lib/python3.11/site-packages/pytorch_lightning/trainer/call.py", line 43, in _call_and_handle_interrupt
return trainer_fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/######/lib/python3.11/site-packages/pytorch_lightning/trainer/trainer.py", line 571, in _fit_impl
self._run(model, ckpt_path=ckpt_path)
File "/home/######/lib/python3.11/site-packages/pytorch_lightning/trainer/trainer.py", line 980, in _run
results = self._run_stage()
^^^^^^^^^^^^^^^^^
File "/home/######/lib/python3.11/site-packages/pytorch_lightning/trainer/trainer.py", line 1023, in _run_stage
self.fit_loop.run()
File "/home/######/lib/python3.11/site-packages/pytorch_lightning/loops/fit_loop.py", line 202, in run
self.advance()
File "/home/######/lib/python3.11/site-packages/pytorch_lightning/loops/fit_loop.py", line 355, in advance
self.epoch_loop.run(self._data_fetcher)
File "/home/######/lib/python3.11/site-packages/pytorch_lightning/loops/training_epoch_loop.py", line 133, in run
self.advance(data_fetcher)
File "/home/######/lib/python3.11/site-packages/pytorch_lightning/loops/training_epoch_loop.py", line 219, in advance
batch_output = self.automatic_optimization.run(trainer.optimizers[0], kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/######/lib/python3.11/site-packages/pytorch_lightning/loops/optimization/automatic.py", line 188, in run
self._optimizer_step(kwargs.get("batch_idx", 0), closure)
File "/home/######/lib/python3.11/site-packages/pytorch_lightning/loops/optimization/automatic.py", line 266, in _optimizer_step
call._call_lightning_module_hook(
File "/home/######/lib/python3.11/site-packages/pytorch_lightning/trainer/call.py", line 145, in _call_lightning_module_hook
output = fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
TypeError: LatentDiffusion.optimizer_step() missing 1 required positional argument: 'optimizer_closure'
I have been able to run forecast_demo.py and train_autoenc.py successfully. Any suggestions how to fix it.
OS: Ubuntu 22.04
Python: 3.11.4
Single gpu
Thanks,
Ajitabh.

Hi @ajikmr,
my 2 cents is that this is due to the use of different pytorch lightning versions.
I believe the solution is to remove optimizer_idx in the optimizer_step (both in the class method and the super method.
Regards,
Tomas


Aspects how to hook instance method for all concrete class instances?

If I’m not mistaking that’s method-swizzling, not isa-swizzling. Aspects is about isa-swizzling AFAIK, method-swizzling.

try to use like
[UIViewController aspect_hookSelector:@selector(viewWillLayoutSubviews) withOptions:0 usingBlock:^{             NSLog(@"Controller is layouting!");         } error:NULL];

您好，邮件已收到


Commands exporting

Hi there,
is there any way to export all the executed commands..?
I need only executed commands to be exported to some file, not the state.

You can use code like this:
var commands = [];
$('body').terminal(function() {}, {
    onAfterCommand: function(command) {
        commands.push(command);
    }
});

the same will work in onBeforeCommand but with this you can prevent evaluation of the command and probably you will also get command that throw exception.

But in this, we can get only commands right,,,!
I want the responses of those commands also. Sorry, I missed that point in the previous question.

In this case use:
term.get_output();

it's list of lines that get echoed into terminal (each echo command will include prompt like on terminal).
the only issue you may have is when user use clear, you will lost the output so for this you need:
var safe_output = [];

$('....').terminal({
   clear: function() {
      safe_output = safe_output.concat(this.get_output());
      this.clear();
   }
}, {
  clear: false
});

and to get real output without worry about clear you can use:
safe_output.concat(term.get_output());


[Snyk] Security upgrade org.apache.jena:jena-arq from 4.9.0-SNAPSHOT to 4.10.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `maven` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

jena-rdfconnection/pom.xml

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

509/1000  Why? Has a fix available, CVSS 5.9
Improper Input Validation SNYK-JAVA-ORGAPACHECOMMONS-5901530
org.apache.jena:jena-arq:  4.9.0-SNAPSHOT -> 4.10.0
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Improper Input Validation

Checkmarx One – Scan Summary & Details – 93b8efac-0df6-489f-b27d-ca1f66eb64d4
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

CVE-2023-36478
Maven-org.eclipse.jetty:jetty-http-10.0.15
Vulnerable Package

CVE-2023-43646
Npm-get-func-name-2.0.0
Vulnerable Package

CVE-2023-45133
<EMAIL_ADDRESS>Vulnerable Package

Missing User Instruction
/DEPENDENCIES: 1
A user should be specified in the dockerfile, otherwise the image will run as root

CVE-2023-36479
Maven-org.eclipse.jetty:jetty-servlets-10.0.15
Vulnerable Package

CVE-2023-40167
Maven-org.eclipse.jetty:jetty-http-10.0.15
Vulnerable Package

CVE-2023-42503
Maven-org.apache.commons:commons-compress-1.23.0
Vulnerable Package

CVE-2023-44270
Npm-postcss-8.4.21
Vulnerable Package

Healthcheck Instruction Missing
/DEPENDENCIES: 1
Ensure that HEALTHCHECK is being used. The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working


Does it support server-side blazor?

I have use this package to my project which is a server side blazor project. but It show nothing.
Does it support server-side blazor? Did you test on it?

I set the Width and Height, and it shows up.


Setting defaults through ~/.config/fish/fish.config not working

Env
Pure
echo $pure_version
3.3.5

Fish
fish --version
fish, version 3.1.2

OS/distribution
uname -a
Darwin olympus.local 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec  2 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101 arm64

~/.config/fish
❯ cat config.fish
_pure_set_default pure_separate_prompt_on_error true
_pure_set_default pure_threshold_command_duration 5
_pure_set_default pure_show_system_time true⏎
~/.config/fish
❯ fish
~/.config/fish
❯
~/.config/fish
❯
~/.config/fish
❯ set --universal pure_show_system_time true
~/.config/fish
21:12:32 ❯

a restart fixed it i checked everything for almost 3 hours to figure this out

@tharindus609 So, if I understand this right, you opened your config.fish file and set some Pure variables. Then you close the file and expected changes to apply to your prompt automatically? Is that correct?

@tharindus609 So, if I understand this right, you opened your config.fish file and set some Pure variables. Then closed the file and expected changes to apply to your prompt ¥automatically? Is that correct?

@tharindus609 thanks for the feedback, I believe the README need some live especially the part about customization.
In your case it's related to how universal variables, the order in which configuration files are initialized and how we leverage both via our conf.d/pure.fish

@jorgebucaran once i added configs to the file i reloaded the fish session. i tried just running fish command and also tried closing my terminal and starting again none seem to work
@edouard-lopez i assumed that ~/.config/fish/config.fish is sourced each time a new fish session is started similar to .bashrc am i wrong to assume that?

@tharindus609 You are not wrong, that's exactly what happens.


Non-clearable Selects can be cleared (with backspace)

I'm not sure if this is intentional, but it was certainly very unexpected for me. Selects with clearable={false} can be cleared by hitting backspace while the input is focused. This can easily be reproduced on the demo page by unchecking clearable on the first example.

Yes, clearable only means that the "x" icon is shown. You can control the backspace behavior with the backspaceRemoves prop.
This API is from react-select, so we don't intend to change it.


Use sql for storing

As discussed, rollcall should use sql. Please post on the database structure here.

@mafiya69 @sumitsahrawat

Should I use previously made functions for json, or create my own?

If there is a function that can be used. Use it. I don't think you will find anything useful in func_json. But main might have some.

Also please explain the database structure you sent in #17

It creates a db, and name of tables is name of subjects, Table contains three columns, class_no, class_tag and class_date, We daily add class_tag to subjects as needed. class_no increased by default from 1 and is a primary key. class_date is by default the date when the record is added.

Tag seems uninformative, I think it would be better if we named it something else, like status or something.
Another good idea would be to keep class no. unique across all tables. This can be done my recording the date, and period no. within that day. We then use these to generate a unique id for each period. This would provide more flexibility to further changes.

+1

On some thinking. This can cause some problem, incase, say a user decides to delete a period. Say user added by mistake. How will this query be handled then? Will every period number will be changed? Moreover, say I want to add a period that happened few days ago? How is this handled?

@mafiya69

I think adding insert_period And delete_period will do this. insert_period will simply insert row according to date after increasing value of class_tag of each row whose date is greater than that. And delete_period will delete period and decrease the value of class_tag of each row following it. Any problem with this idea?

That would do it. But I was thinking this will involve going through each subject table. A lot of calls. @sumitsahrawat

SQL increasing testing Time!

I'm still in favor of having a flat data scheme. Let's talk about it later on gitter.


Adding console arguments to RPI tangram

Hi there! this is the first attempt in a line of pulls to use tangram ES in a RaspberrPi to get thumbnails of tangram .yaml scenes.
This pull essentially adds arguments to tangram so can load custom scene files, place (lat, lon, zoom) with specify tilt and rotation at a given width and height

After this is merge I'll speak to @blair1618 about the possibility of using https://github.com/nothings/stb/blob/master/stb_image_write.h to save the pixels on the frame buffer to an image (and add the arguments to make that possible)

Looks like you committed old versions of the submodules for alfons and geojson-vt-cpp, let's remove those changes from the PR.

While you are there, Could you add this lines https://github.com/tangrams/paparazzi/blob/master/src/context.cpp#L46-L49

Yep, added!
Can you give the code a try now and see if the continuous rendering is working as expected?

Working smoothly!

Hi! can we merge this to master? only affect rpi code


[FEAT] Make it display the audio server on GNU/Linux

Wanted features:
Make fastfetch display audio server on GNU/Linux (Pipewire/PulseAudio) by default
(I know I said by default but that being said I don't know if this can be done via a conf if it is possible please let me know)

Motivation:

Fastfetch does display the user's session type (Wayland/xorg) & GPU by default I think this is also needed.

It's easy to know wether Pipewire server is running.
However, Pipewire also provides a PulseAudio server. How can you know wether it's a real PulseAudio server, or a Pipewire server wrapper?

afaik "pactl info" does specify which one the user is using


whisper error

I have downloaded whisper and kept it in the folder but it still gives me this error
File "/home/nabeel/GlaD0OS/glados.py", line 21, in <module>
from glados import asr, tts, vad
File "/home/nabeel/GlaDOS/glados/asr.py", line 5, in <module>
from . import whisper_cpp_wrapper
File "/home/nabeel/GlaDOS/glados/whisper_cpp_wrapper.py", line 861, in <module
>
_libs["whisper"] = load_library("whisper")
AAAAAAANAANANANANANAANANANAANAAAAN
File "/home/nabeel/GlaD0S/glados/whisper_cpp_wrapper.py", line 547, in __call_
" raise ImportError("Could not load %s."  Make generates Libwhisper.so which must be in the GLaDOS/submodules/whisper.cpp directory, or you get this error.


Keeping custom shape and structure together in panComponentDrag and rotateComponentDrag

Let's say I have two structures and in one of them I have a bond that I added with:
var cyl = NGL.Shape( "myBond", ... ).addCylinder(...);
stage.addComponentFromObject( cyl ).addRepresentation( "buffer");

If I drag-ctrl+shift and pan (right) or rotate (left) the cylinder and structure will pan/rotate independently. This is not the proper behavior as the cylinder bond should be tied to the structure. I have an example on CodePen. If you ctrl+shift and drag the shape and structures will move independently, which I don't want.
How can I best implement this? Some ideas come to mind:

Add the shape to the structure component rather than create a new one. I tried o.addRepresentation( "buffer", shape); but am getting an error message: "makeRepresentation: representation type buffer unknown".
Disable drag-ctrl+shift isn't really an option, I'd like to be able to rotate structures independently
Derive new actions from MouseActions.panComponentDrag and MouseActions.rotateComponentDrag that are aware of the custom shapes and rotating them too?

What is the best way to go?

Custom shapes can't be moved around like atoms.
Alternatively, can you use the Distance representation with useCylinder: true instead of a custom shape?


Whitelisting our projects for the Search API

@jgeewax When beginning work on gcloud.search (2015-10-01), I requested that my project be whitelisted for the Search API via the form.  Today, working on a system test for the API, I see the following:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "gcloud/search/document.py", line 321, in exists
    client.connection.api_request(method='GET', path=self.path)
  File "gcloud/connection.py", line 337, in api_request
    error_info=method + ' ' + url)
gcloud.exceptions.Forbidden: 403 The caller does not have permission (GET https://cloudsearch.googleapis.com/v1/projects/citric-celerity-697/indexes/system-tests/documents/aaa)

I do not see "Cloud Search" as an available API from my developer console.  We need to get expedited access:  I just re-submitted the form with @jgeewax as the "project owner".

Which project IDs do you need ? Just precise-truck-742 ?

@jgeewax Mine is citric-celerity-697.  I'm sure @dhermes will need his, along with the project used when running system tests on Travis.

omega-moonlight-697

OK, requesting whitelisting for all 3 projects. Will update this list once it's done.

FYI @tseaver to access using your personal account follow http://gcloud-python.readthedocs.org/en/latest/gcloud-auth.html#user-accounts-3-legged-oauth-2-0-with-a-refresh-token
Most importantly, download the gcloud CLI tool and run
$ gcloud auth login

then we'll grab the user credentials.
You probably have GOOGLE_APPLICATION_CREDENTIALS set. I did. So I ran
import os
os.environ.pop('GOOGLE_APPLICATION_CREDENTIALS')
from gcloud.search import client
c = client.Client(project='foo')
print c.connection.credentials.to_json()  # To verify it is a user account
print c.list_indexes()

This actually caused a KeyError. I got {} as the response but the code assumes the indexes key is present.

Project-based access is still not working.

@jgeewax we can close this out right? API removed in #1750

Yep. This is fine.


Add text support to Image

Add text support to Image with reference to the commented out code.

Looks good. Thanks!


Add big icon to the top of README

This is how cool kids show their coolness today I guess. Examples:

https://github.com/syl20bnr/spacemacs
https://github.com/tonsky/rum
https://github.com/catberry/catberry

Also chat-linker!


Early WIP of tooling improvements

This is a very early WIP Of some tooling improvements.
I am planning to continue developing these and will split them into separate PRs when they are more ready for review.
High level changes:

Refactor Makefiles so we can selectively disable $(shell ...) commands when we are running in --dry-run mode (aka when computing targets for tab-completion in the shell, etc.) by adding the shell_real_build_only function.
Move all toolchain RPMs to live excusively in ./build/toolchain_rpms to fix the need for copy-toolchain-rpms extra command to resolve cycles, and fix the constant undesirable rebuilding of the worker chroot.

Update specreader to know about the toolchain manifest and accurately point package RPM paths to this folder.
Add a new local repo which targets this location (in addition to .build/rpm_cache and ./out/RPMS for use with the rpmcloner package.
Prioritize pulling from this directory over other sources
When REBUILD_TOOLS=y copy these packages into ./out/RPMS as well to maintain current functionality.

Fix the fetchers so they actually check if they have already pulled a package into the cache. Currently this flow only works for the Docker based reusable chroots (which look to cacheRepoID = "upstream-cache-repo") while the normal build flow only enables the existing cache (fetcherRepoID = "fetcher-cloned-repo") when we enable "*". tdnf tends to prefer contancting PMC instead of looking to the local repo (unclear why). This massively  improves performance of the fetches when the cache is already hydrated from a previous build.

Part 1: https://github.com/microsoft/CBL-Mariner/pull/4181

Part 2: https://github.com/microsoft/CBL-Mariner/pull/4210


Fix saving cupsJobPassword in PPD cache

It seems there are typos in saving/reading PPD cache file, therefore "job-password-supported" attribute can't be fetched correctly.

OK, so the proposed changes are exactly correct, and it looks like there are also issues with JobAccountingId and JobAccountUserId...
Will be pushing a slightly different set of changes shortly...

[master d88008a0e] Fix PPD caching and IPP Everywhere PPDs (Issue #5535)
[branch-2.2 dc792541e] Fix PPD caching and IPP Everywhere PPDs (Issue #5535)


Fix: test returned eval errors

fix #38

That was fast! Thanks for your PR.
@oranja @edouard-lopez I'm gonna merge and release it as v1.0.1 tonight 👍

Awesome! Just switched to default until this fix is released.

@james2doyle Just published the new release, sorry for the delay.
@ponko2 Thanks again for your PR 👍

Just updated. Works wonderfully. Thanks!

@james2doyle Just pushed a new version with tweaks: https://github.com/rafaelrinaldi/pure/releases/tag/v1.1.0


How do you know the naturalSlideHeight  and naturalSlideWidth for elements?

Hello,
How do you calculate the naturalSlideHeight and Width if I can add any element type inside my slider.
Let's say I have 5 div elements, how do I know what to pass to the ?
Thank you!

Hello, please reopen this using the provided issue templates. If the reason you didn’t use a template is that this is a question, please use the suggested approaches in the question template. As stated in that template, issues opened that are questions will be closed since this is intended to be an issue tracker, not


Release patch to fix typings?

Hey @KevinEdry I'm looking to try out this package. I found it after reading through this thread: https://github.com/trpc/trpc/discussions/1504 and searching NPM for nest trpc.
Right now I'm seeing an issue with the typings not mapping. Looks like you've already fixed this in this commit: https://github.com/trpc/trpc/discussions/1504
Can you bump the package to release that change?
Also, I highly suggest posting on that thread (https://github.com/trpc/trpc/discussions/1504) to advertise this package, it looks like it's exactly what everyone there wants.

Hey @NickBolles, Thanks for opening an issue!
This package is about ready to be published, but there are some issues with the monorepo that I need to address. Thats why I haven't published it yet.
I will try and find some time to update everything tomorrow so you can start tinker with it.
I'd love to hear your feedback!

Hey @NickBolles, sorry it took a week (work gets in the way of our hobbies sometime).
I got the monorepo and the package to a good working condition with version 1.3.0.
https://www.npmjs.com/package/nestjs-trpc
Try it out, i'd love to get your feedback on it!


The !primo command is broke

Describe the bug
When you make use of the !primo command it can be broked
To Reproduce
Send the message !primo Text`outcuote
Expected behavior
Put the ` charter by first putting a backslash
Screenshots

Additional context
Its on the server Message

@danirod Sorry for the mispell i used gogle translade and it have a good problem

Sure, it is a legit and understandable confusion, but it is clearly not the same a prime number and a cousin number ;)
Enviado desde mi iPad

El 7 jun 2020, a las 17:02, Julian Marcos<EMAIL_ADDRESS>escribió:

@danirod Sorry for the mispell i used gogle translade and it have a good problem
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Sure, it is a legit and understandable confusion, but it is clearly not the same a prime number and a cousin number ;) Enviado desde mi iPad
…
El 7 jun 2020, a las 17:02, Julian Marcos @.***> escribió:  @danirod Sorry for the mispell i used gogle translade and it have a good problem — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Yes for the translade tanks is wat im thinking


How to calibrate a camera as  fisheye62 or fisheye624 model? can anyone  share calibration  tool

OCamCalib can calibrate all kinds of cameras. Maybe you can use it and convert the resulting parameters to work with OpenSfM.


Feature: Component draft version

Following up on the discussion: https://github.com/NearSocial/viewer/discussions/133
Overview
Component draft version is a feature that enables a user to save a draft version of a component to blockchain without publishing it.   A draft version may be reviewed by peers.
UI Implementation
Instead of the Save Widget button, there are two buttons:

Publish Widget - it should have the functionality of the Save Widget button
Save Draft  - clicking on it opens a modal similar to the Publish Widget button but with a textfield for an optional commit message

Flow

User forks a widget.
User works on it.
User saves a draft: the code is saved to a default draft branch, the state is set as DRAFT, the empty bracket code is missing.
User decides to publish: state is set to PUBLISHED, the code is published under empty brackets (as is in the current implementation)

The state=DRAFT indicates that there is no published version yet. Saving a draft of a published widget does not change the state in any way.
The state field may be used for filtering the published widgets from unpublished.
Schema for Saving a Draft
The initial implementation may encompass saving a draft version of just one component and may look like this:
{
  "post":{
    "commit": {
      "text": "Initial commit.",
      "type": "md",
      "keys": ["user.near/widget/Component1/branch/draft", "user.near/widget/Component2/branch/draft"]
    }
  },
  "widget": {
    "Component1": {
      "state": "DRAFT",
      "branch": {
        "draft": "return \"Hello from draft branch Component1\";",
      }
    },
  }
}

Schema for Publishing a Widget
The code publishing involves setting the state to PUBLISHED.
{
  "widget": {
    "Component1": {
      "state": "PUBLISHED",
      "": "return \"Hello from published version\";",
    },
  }
}

Full Schema for Saving Draft
Eventually saving a draft may involve choosing from all the files in the editor (saved in the local storage) that should be included in the draft commit. The schema may look as follows:
{
  "post":{
    "commit": {
      "text": "Initial commit.",
      "type": "md",
      "keys": ["user.near/widget/Component1/branch/draft", "user.near/widget/Component2/branch/draft"]
    }
  },
  "widget": {
    "Component1": {
      "state": "DRAFT",
      "branch": {
        "draft": "return \"Hello from draft branch Component1\";",
      }
    },
    "Component2": {
      "state": "DRAFT",
      "branch": {
        "draft": "return \"Hello from draft branch Component2\";",
      }
    }
  }
}

Possible Extensions
This initial implementation may extend to encompass a system where a user may save a code to different branches, load and view those branches.

Does state serve any purpose other than making explicit the existing expressions of the presence of an empty key string which indicates PUBLISHED: "": {...}   and the absence of an empty key string indicating DRAFT?

Agree, we don't need state. We also don't need the branch. It's complicating schema unnecessarily.
The solution I proposed here is simpler:
https://github.com/NearSocial/viewer/discussions/133#discussioncomment-4923256
With drafts, we would use only one branch and call it draft, the schema will look like this:
{
  "widget": {
    "Genie": {
      "": {
        "": "..."
      },
      "draft": {
        "": "..."
      },
    },
    "GenieQuestionList": {
      "": {
        "": "..."
      },
      "draft": {
        "": "..."
      }
    },
  },
}

It's simpler and can be extended easily if we decide to use branches or something similar.
"" is main/published version - draft is keeping the draft version.
If there is no draft, then we know there is no draft version. If "" is empty, then there is no published version yet.

@charleslavon No, and as such the state is redundant. I was thinking rather of an ease of filtering and a bit more explicit labelling of what this object is. It could also possibly be extended in the future to encompass other state type (deprecated?). However, after giving it some thought I think that it should be omitted at this point.
@marcinbodnar In my opinion the branch is necessary. The most important argument here is the fact that if there is no branch and branches are stored directly in the component root, there might be a naming conflict between the branch name and other objects stored in the widget. Another argument is grouping the branches together under one object branch for the ease of listing them (then the explicit list of all branches is not needed). Finally, since other objects are/might be stored under a component root, not having branch might result in a lot of chaos.

@milenakrawczyk

The most important argument here is the fact that if there is no branch and branches are stored directly in the component root, there might be a naming conflict between the branch name and other objects stored in the widget.

No, every key of the object "widget" is a separate component.
Every, key of the component object (for example "Genie") is a branch (or published if "").
And then every branch has a full component object.

Another argument is grouping the branches together under one object branch for the ease of listing them (then the explicit list of all branches is not needed).

In my proposition, if you would like to list all branches you just list all widget keys - nothing more is necessary - from my example, you just list the keys for "Genie".

Finally, since other objects are/might be stored under a component root, not having branch might result in a lot of chaos.

No, the whole widget object is stored separately for every branch ("draft") and published version (""):
"Genie": {
      "": {
        "": "...",
        metadata: {}
      },
      "draft": {
        "": "...",
        metadata: {}
      },
    },

No, every key of the object "widget" is a separate component.
Every, key of the component object (for example "Genie") is a branch (or published if "").
And then every branch has a full component object.

By widget here I didn't mean the widget key but a component (aka widget) e.g. Genie. What I meant is that we may store other keys in the component, not only branches and this could lead to a naming conflict. Unless you assume that metadata will contain ALL possible/future keys related to the component.

In my proposition, if you would like to list all branches you just list all widget keys - nothing more is necessary - from my example, you just list the keys for "Genie".

As far as I understand there would be also a metadata key which is not a branch. Is this correct?

No, the whole widget object is stored separately for every branch ("draft") and published version (""):

What I meant here is that we may store some other keys under the component e.g. Genie.

closed in alpha.near.org viewer by above mentioned PR. If this is desired on Social we can have a more generic effort to port editor improvements


Refactor for testing

This is a temporary pull request tracking the refactoring branch. It exists solely to run tests and generate a Docker build for integration testing. It will be replaced with individual pull requests for incremental changes and then closed.

All changes on this branch have now been merged.


Add GitHub Actions Workflow for the Project

This pull request introduces a GitHub Actions workflow to automate the compilation of ESP-IDF sketches for versions 5.0 and 5.1, targeting both ESP32 and ESP32-S3. The workflow will be triggered on pull requests and pushes to relevant files, ensuring that code changes are validated through continuous integration.
Details

Workflow Name: Compile ESP-IDF Sketches for v5.1
Trigger Events:

Pull requests and pushes to the following paths:

.github/workflows/espidf-compile-*.yml
main/**
components/**
CMakeLists.txt
Kconfig
partitions.csv
sdkconfig.defaults

Manual dispatch via workflow_dispatch and repository_dispatch

I have tested the GitHub Actions workflow on my branch before opening this PR. The actions work as expected and successfully compile the ESP-IDF sketches for the specified versions and targets.
Please review the workflow configuration and provide feedback or suggestions for improvement.

Why is this the only target?
        idf_target:
          - esp32
          - esp32s3

Thanks for the reminder. Let me add more targets to the Actions.

In the latest commit, the matrix will create 20 ( $= 5 \times 4$ ) distinct tests, each one compiling the application for a different combination of ESP-IDF version and target. I have chosen four most popular chips.
If we add even more hardware targets to the test, it would make our testing matrix extremely large.
 idf_ver:
          - release-v4.4
          - release-v5.0
          - release-v5.1
          - release-v5.2
          - release-v5.3
        idf_target:
          - esp32
          - esp32s2
          - esp32c3
          - esp32s3

This repository supports all ESP32 and all versions since 4.4.

In my testing, all the following version builds in success except release-v4.4.

release-v4.4
release-v5.0
release-v5.1
release-v5.2
release-v5.3

Here is the error:
/app/hayschan/esp-idf-serial/components/serial/serial.c: In function 'serial_begin':
/app/hayschan/esp-idf-serial/components/serial/serial.c:89:17: error: 'UART_SCLK_DEFAULT' undeclared (first use in this function); did you mean 'UART_SCLK_REF_TICK'?
   .source_clk = UART_SCLK_DEFAULT,
                 ^~~~~~~~~~~~~~~~~
                 UART_SCLK_REF_TICK
/app/hayschan/esp-idf-serial/components/serial/serial.c:89:17: note: each undeclared identifier is reported only once for each function it appears in
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
Error: Process completed with exit code 2.

I have chosen four most popular chips.

I think that is fine.

all the following version builds in success except release-v4.4

This PR was immediately helpful.
thank you.


bypassDNA generated duplicate characters - uniqueness check doesn't work?

Hello, I noticed that having bypassDNA set to true causes engine to generate duplicate images (with different background).
I used freshly cloned repository and changed just layers configuration:
Without bypassDNA:
const layerConfigurations = [
  {
    growEditionSizeTo: 100,
    namePrefix: "Series 2", // Use to add a name to Metadata `name:`
    layersOrder: [
      { name: "Background" },
      {
        name: "Back Accessory",
        // options: {
        //   bypassDNA: true,
        // },
      },
      { name: "Head" },
      // { name: "Clothes" },
      { name: "Eyes" },
      { name: "Hair" },
      // { name: "Head Accessory" },
      // { name: "Shirt Accessories" },
    ],
  },
  // {
  //   growEditionSizeTo: 10,
  //   namePrefix: "Lion",
  //   resetNameIndex: true, // this will start the Lion count at #1 instead of #6
  //   layersOrder: [
  //     { name: "Background" },
  //     { name: "Hats" },
  //     { name: "Male Hair" },
  //   ],
  // },
];

npm run build ends with "You need more layers or elements to grow your edition to 100 artworks!" and generates only 23 images
$ ls  build/json/| wc -l
      24 (24th file is _metadata.json)

When I set bypassDNA: true for background layer
const layerConfigurations = [
  {
    growEditionSizeTo: 100,
    namePrefix: "Series 2", // Use to add a name to Metadata `name:`
    layersOrder: [
      { name: "Background", options: { bypassDNA: true, } },
      {
        name: "Back Accessory",
        // options: {
        //   bypassDNA: true,
        // },
      },
      { name: "Head" },
      // { name: "Clothes" },
      { name: "Eyes" },
      { name: "Hair" },
      // { name: "Head Accessory" },
      // { name: "Shirt Accessories" },
    ],
  },
  // {
  //   growEditionSizeTo: 10,
  //   namePrefix: "Lion",
  //   resetNameIndex: true, // this will start the Lion count at #1 instead of #6
  //   layersOrder: [
  //     { name: "Background" },
  //     { name: "Hats" },
  //     { name: "Male Hair" },
  //   ],
  // },
];

and run npm run build; 100 images are generated with duplicate characters (and different background, of course);
$ ls  build/json/| wc -l
     101 (101st file is _metadata.json)

Duplicate characters are here (character 16 and 17):
$ cat build/json/16.json
{
  "dna": "73e73b624246b4db1a48c99acf111dac8c50fec4965650b1563170f7bd612d94",
  "name": "Series 2 #16",
  "description": "This is the description of your NFT project, remember to replace this",
  "image": "ipfs://NewUriToReplace/16.png",
  "imageHash": "84a365ff615808c2ffd7449ecdbe0cbf759a6600f08d65ccf5204d4660489c45",
  "edition": 16,
  "date":<PHONE_NUMBER>899,
  "attributes": [
    {
      "trait_type": "Background",
      "value": "stars"
    },
    {
      "trait_type": "Back Accessory",
      "value": "Backpack"
    },
    {
      "trait_type": "Head",
      "value": "faceB"
    },
    {
      "trait_type": "Eyes",
      "value": "eyesa"
    },
    {
      "trait_type": "Hair",
      "value": "Clippingexample_0002_bluehair"
    }
  ],
  "compiler": "HashLips Art Engine - NFTChef fork"
}

cat build/json/17.json
{
 "dna": "32776b81f81b4d75971681c704b9a60c8a0ebc94a597189d0b7e725f699578a0",
 "name": "Series 2 #17",
 "description": "This is the description of your NFT project, remember to replace this",
 "image": "ipfs://NewUriToReplace/17.png",
 "imageHash": "9092196e3e8418f7f54831dac5af625340c747dad1ea25762b29eaf934f34999",
 "edition": 17,
 "date":<PHONE_NUMBER>033,
 "attributes": [
   {
     "trait_type": "Background",
     "value": "coulds"
   },
   {
     "trait_type": "Back Accessory",
     "value": "Backpack"
   },
   {
     "trait_type": "Head",
     "value": "faceB"
   },
   {
     "trait_type": "Eyes",
     "value": "eyesa"
   },
   {
     "trait_type": "Hair",
     "value": "Clippingexample_0002_bluehair"
   }
 ],
 "compiler": "HashLips Art Engine - NFTChef fork"
}

Although the Background layer should be excluded from DNA calculation, the DNA generated for character 16 and 17 are different.
My goal is to ensure 100% of generated characters are unique no matter what background is used. Is there a way to achieve this? Thank you!

I need the same solution

Hello guys, same case.
@rakuscinec did you manage to resolve this issue?

Improvements/fixes were made to fix bypassDNA in 1ebc82c36dd2b39306fc617e4530d407e9f9cf61
This should no longer be an issue.
If something comes up, please open a new issue


Update support data for touch-action property

Addresses #3325

There are 2 separate files for touch-action level 1 and touch-action level 2 but caniuse.com only shows the information for touch-action level 1. Is this because touch-action level 2 is still in WD status?

@lpd-au thank you for reviewing. You are absolutely right, I forgot that IE11 does NOT support feature queries to begin with so that was a false negative. I've updated the pull request accordingly, as well as for the Safari data.

LGTM now, thanks :)
Fyi, I added the file for the spec level 2 values in a pull request that's still labelled needs data review, I'm not 100% sure who's trusted to conduct that though. The spec status shouldn't matter, afaik it's all about data integrity.

@huijing Thanks!
@lpd-au I will review the data, eventually.


SignOnChain Age (less then 2002/01/01) - sig   opens list of wallets to generate prrof

Test device: iOS(16.4.1)

How to produce this screen?
What is the flow? I chose Metamask it just opened the app and nothing happened.

Hi @bibash28 , on-chain verification integration with Wallet connect is only implemented on the polygon id app, this is not in the scope of the SDK.

Can you explain the process? Wallet connect is already implemented in our app.
@sanketsaagar @rauljareno


Import the bikereg lwt example + add eio, async, etc. versions as well

This example is here:
https://github.com/paurkedal/ocaml-caqti/blob/master/examples/bikereg.ml
Idea mentionned here
https://github.com/paurkedal/ocaml-caqti/issues/114
Ideally, it should be easily runnable via the existing db scripts

Yes.  Since we need to change the license, I'll do the import.


ARROW-5514: [C++] Fix pretty-printing uint64 values

uint64 values above 2**63 would be printed as negative.

Codecov Report

Merging #4545 into master will increase coverage by 0.49%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #4545      +/-   ##
==========================================
+ Coverage   88.55%   89.05%   +0.49%
==========================================
  Files         796      702      -94
  Lines      103239    94613    -8626
  Branches     1253        0    -1253
==========================================
- Hits        91425    84254    -7171
+ Misses      11569    10359    -1210
+ Partials      245        0     -245

Impacted Files
Coverage Δ

cpp/src/arrow/pretty_print-test.cc
100% <100%> (ø)
:arrow_up:

cpp/src/arrow/pretty_print.cc
83.18% <100%> (ø)
:arrow_up:

cpp/src/arrow/util/int-util.h
100% <100%> (ø)
:arrow_up:

cpp/src/arrow/util/thread-pool-test.cc
97.66% <0%> (-0.94%)
:arrow_down:

go/arrow/ipc/writer.go

go/arrow/math/uint64_amd64.go

go/arrow/memory/memory_avx2_amd64.go

go/arrow/ipc/file_reader.go

js/src/enum.ts

go/arrow/array/builder.go

... and 200 more

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 25b4a46...b0c8f69. Read the comment docs.


Map Up and Down keys to explorer

Works perfectly. Now it feels like total commander!

Great, instant merge!


Uncaught Error: ENOENT: no such file or directory, lstat '~/AppData\Local\GitHubDesktop\app-2.6.0...

[Enter steps to reproduce:]

...
...

Atom: 1.52.0 x64
Electron: 6.1.12
OS: PC-MAIN
Thrown From: Atom Core
Stack Trace
Uncaught Error: ENOENT: no such file or directory, lstat 'C:\Users\Nutzer\AppData\Local\GitHubDesktop\app-2.6.0\app'
At fs.js:126

Error: ENOENT: no such file or directory, lstat 'C:\Users\Nutzer\AppData\Local\GitHubDesktop\app-2.6.0\app'
    at Proxy.realpathSync (fs.js:1470:7)
    at Proxy.fs.realpathSync (electron/js2c/asar.js:300:40)
    at Proxy.fs.realpathSync (electron/js2c/asar.js:300:40)
    at TreeView.moveEntry (~/AppData/Local/atom/app-1.52.0/resources/app/static/<embedded>:14:969209)
    at TreeView.onDrop (~/AppData/Local/atom/app-1.52.0/resources/app/static/<embedded>:14:976382)
    at HTMLDivElement.<anonymous> (~/AppData/Local/atom/app-1.52.0/resources/app/static/<embedded>:14:949769)

Commands
     -0:58.3.0 core:undo (div.tool-panel.tree-view)
  3x -0:53.2.0 tree-view:remove (div.tool-panel.tree-view)
     -0:22 tree-view:copy (div.header.list-item.project-root-header)
     -0:20 tree-view:remove (div.header.list-item.project-root-header)

Non-Core Packages

Hi, this has been resolved in verion 1.53, you can get it here


Inform user to restart VS Code after it has been updated on Linux

VSCode Version: 1.0.0
OS Version: 14.4 UBUNTU

Steps to Reproduce:

i just open the VS

i dont see any color on my codes and i see this warning : http://i.hizliresim.com/o31jQ2.png
http://i.hizliresim.com/o31jQ2.png

Never seen this error before. Almost seems to me the spawning via Electron just fails with this error.

Ok. i have last question. How can i fix that problem ? when i open Visual Studio i see this problem and i cant edit any code. Right now i just open and close visual studio few times and problem solved but its
temporary solution.

does it reproduce with our latest insider build?
You can give it a try from our insiders release today: http://code.visualstudio.com/Download#insiders

I am seeing this after updating to 1.1

Can confirm I had the same issue
Error from the extension host: spawn /usr/share/code/code (deleted) ENOENT
It went away when I killed any already running processes. Probably should force a killall when a user restarts from an update.

same here, ubuntu 16.04
just updated vscode today

Same here, just updated Ubuntu 14.04 to the June release.  Went away after full close and reopen.

Got the same error today after upgrading from 1.3 to 1.3.1 and opening a new window.
Ubuntu 14.04

same here.
Distributor ID:	elementary OS
Description:	elementary OS Freya
Release:	0.3.2
Codename:	freya

Error from the extension host: spawn /usr/share/code/code (deleted) ENOENT

+1 Error from the extension host: spawn /usr/share/code/code (deleted) ENOENT
I am on 1.5.1 using Ubuntu 16.04

I solved the problem by re-installing vscode completely.

The fix would be for the installer to do a killall code as part of the install scripts in the deb. Basically, it's getting sad because things are linking to old binaries/libs that have been replaced.
By all means, respawn code after installing but that would fix the issue.

I got this error on code 1.5.2 after installing extensions Ruby 0.5.6 and Ruby Language Colorization 0.0.6.  My OS is Ubuntu 16.04.

Moving to @Tyriar based on the last comments that this could be a problem with the update from a package. Could it be the update leaves the old running instance around including the extension host and thus the new instance fails to create it?

If anyone reproduces this again can you check which processes are still running after you exit VS Code?
ps aux | grep code

OK never mind, I just reproduced this:
Error from the extension host: spawn /usr/share/code-insiders/code-insiders (deleted) ENOENT

These are my repro steps:

Open vscode insiders
Update vscode insiders to latest
Open a new folder

I fixed the issue by simply exiting and reopening vscode. This is as designed, you must exit VS Code after updating or you will get a mish-mash of the current and old version which is not designed to work. A possible improvement that could be made is to somehow catch this in a reliable way and present a more useful message indicating to restart vscode

Error occurs when you have VSCode open whilst installing an update. Simply close all VSCode windows and open them again.

Accepting PRs for this, to fix this I think you'll need to search for where the exception is happening in the code base (somewhere related to reloading the window?) and handle ENOENT by giving a nicer error message. If you get ENOENT and then stat the file and it exists and we're on Linux, it's probably safe to assume this is the case.

The snap package would handle this when the snap is updated: https://github.com/Microsoft/vscode/issues/5458

Some solutions/problems discussed in https://github.com/Microsoft/vscode/issues/45569

I don't think this is a problem anymore.


Speech Input Handler UI breaks after playmode

Overview
The speech input handler component losses most of its editor ui after entering playmode and leaving it again. Selecting the mrtk object in the scene tree 'resets' the behaviour until next playmode.
Seems to be only visual as speech commands keep working.
Expected Behavior
Component should still be configurable after leaving playmode once.
Actual Behavior
It is not
Perfore playmode

In playmode

After playmode

Unity Editor Version
2018.4.2f1
Mixed Reality Toolkit Release Version
Mixed Reality Toolkit 2.0.0-RC2.1

It's just a visual issue. This has been largely fixed by #4661 which is beyond


Clicking on .md link causes error

I get this error when I click on a link to local Markdown document such as this link [file1.md](file1.md)
Uncaught Exception:
Error: ENOENT: no such file or directory, open 'file:/markdown%20file%20tests/test2.md'
    at Error (native)

Thanks for your report :+1:

Awesome. Thanks for fixing it.


Wrong path to autologon registry key

The reg key for autologon HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon should be HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon, notice the space in Windows NT.

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

ID: 5cd1e023-65ae-0e1d-b031-c02f5fb1daf8
Version Independent ID: 8053b30a-82b6-404e-5daa-2110fb56c20b
Content: Prepare a device for kiosk configuration (Windows 10)
Content Source: windows/configuration/kiosk-prepare.md
Product: w10
Technology: windows
GitHub Login: @Dansimp
Microsoft Alias: dansimp

I concur. There are several keys under Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
which contain 1 space in their name, \Windows NT\ being one of them.
Should be easy to fix. Do you want to do it yourself, or would you like me to create the PR?

I'll take it. Thanks!

@dacabdi - Thank you for submitting this feedback and for creating the PR.
I will get this PR to the doc owner for review, approval and merging.
Thank you and we appreciate your contribution to make the docs better!

@dacabdi - From our understanding, the issue has been resolved. If you feel it hasn't been resolved, please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!