Lecture 2 Q4

Question Description
Q4: Note the use of compareTo in the compare method of the LexiComp class. By referring to the String class in the Java API, what can you find out about the compareTo method?
Your contribution:
The compareTo method in the String class compares two strings lexicographically (in alphabetical/dictionary order). There is also a compareToIgnoreCase method, which compares two strings lexicographically, ignoring case differences.

Included in lecture 2 notes.


Remove the time?

Adding an option of removing the time would be very much useful.

Just curious, did you close this because Aerial doesn't show the time?

Nope. I closed it 'cuz i realized that there is a option of showing the time at the bottom of the screen saver menu and i just enabled it.
I wanted to remove the time, i thought it was the screensaver's problem

Okay cool, I've never even noticed that option. Thanks for replying back.

tbh, thank u for noticing my issue


Support serverless v4 only peerDependencies

For now, I'll just make peerDependencies compatible with v4 so that I can check that it works.

I will check that there are no problems with my forked repository.


Remove spurious set name from eventsource.sharedworker.js

Fix #15617
Signed-off-by: Andrew Thornton<EMAIL_ADDRESS>

Codecov Report

Merging #15643 (d2d49fb) into master (1e87761) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #15643   +/-   ##
=======================================
  Coverage   43.90%   43.91%
=======================================
  Files         678      678
  Lines       81742    81742
=======================================
+ Hits        35892    35900    +8
+ Misses      40002    39995    -7
+ Partials     5848     5847    -1

Impacted Files
Coverage Δ

models/repo_list.go
77.82% <0.00%> (+0.77%)
:arrow_up:

modules/git/repo_commit_nogogit.go
62.50% <0.00%> (+1.56%)
:arrow_up:

modules/git/command.go
89.42% <0.00%> (+1.92%)
:arrow_up:

modules/indexer/stats/db.go
60.71% <0.00%> (+10.71%)
:arrow_up:

Continue to review full report at Codecov.

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


Can it creat a ramachandran plots from pdb?

Hi. It's a great project. I am new here. I notice that there is no pdb file in your example. So, I want to know whether it can creat a ramachandran plots from pdb. If it can, please give a example.

Hi @city10th,
Unfortunately Ramaplot does not currently support this conveniently. I typically use it such that each plot corresponds to a single amino acid, for example the Φ/Ψ sampling of each residue over the course of a molecular dynamics simulation trajectory. Ramaplot doesn't currently have any functionality to calculate Φ/Ψ from a structure; it exclusively reads in Φ/Ψ values that have been previously calculated using another program. This is a feature I may implement in the future.
My recommendation is to use the program Visual Molecular Dynamics. VMD can load the PDB, and the Ramachandran plot plugin (accessible from Extensions > Analysis > Ramachandran Plot) gives a nice interface for looking at the overall Φ/Ψ of a single structure from a PDB.
Best,
Karl


133 | Clone Graph | C++

Title - Solution for 133. Clone Graph
What will change - Adding C++ code for leetcode problem 133
Type of Issue -

[x] Adding New Code

Programming Language

[x] C++

@SSKale1 Please assign me this issue.


possible regression to bug with hyphen in tag key

Related issues with hyphen in TAG KEY -
#3863
Demonstration -
> SHOW TAG VALUES WITH KEY =~ /.*/ LIMIT 2
name: measurement1
key          value
---          -----
tag-key1 tag-val1
tag-key1 tag-val2

name: power
key          value
---          -----
tag-key1 tag-val1
tag-key1 tag-val2

name: temperature
key          value
---          -----
tag-key1 tag-val1
tag-key1 tag-val2

name: volume-current
key          value
---          -----
tag-key1 tag-val1
tag-key1 tag-val2

> SHOW TAG VALUES WITH KEY =~ /tag-.*/
> SHOW TAG VALUES WITH KEY = "tag-key1"

@d3banjan what version of InfluxDB?


Node update

Current Situation
When I try to update node.js as explained, it asks for a password but it won't let me write anything and none of my passwords work.
Please help-me
Logs
homebridge@orangepizero:/var/lib/homebridge$ sudo hb-service update-node

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for homebridge:
Sorry, try again.
[sudo] password for homebridge:
Sorry, try again.
[sudo] password for homebridge:
sudo: 3 incorrect password attempts

Config
No response
Homebridge UI Version
v1.6.1
Homebridge Version
v4.50.6-test.4
Node.js Version
14.16.1
Environment Info

[ ] Using Docker?
[ ] Using Hyper-V?
[X] Using hb-service?

Raspberry Pi Model
None

Duplicate #1538


Youtube videos with silence cause read timeout

Description
Queueing a song with a large amount of silence causes read issues.
To Reproduce
Steps to reproduce the behavior:
Queue a song like cdjzVKCZWrA, MahfSwXkD4s, or other "1 hour of silence broken by" videos
Expected behavior
I expected Lavalink to play the whole thing.
Version info
Client used: Red-Lavalink (v3 Lavalink client)
Output of java -version:
Temurin/Adopt Java 11, 13, or 17
Lavalink Logs:
https://gist.githubusercontent.com/Cog-CreatorsBot/15db353c261de4bd4f672968789158b4/raw/a37afcda2a371a944545597e115c8b9902b16b1a/spring.log
https://gist.githubusercontent.com/aikaterna/cf68a80a2a64b8a563597d7195759694/raw/583a874346bb6ed58d2a71c2df967bb09829a06e/gistfile1.txt

This seems to be resolved with Lavaplayer 1.5.3 and 2.1.1 as these videos work now.


Remove handle input for Datadog user creation

TypeError: User._internal_init() got an unexpected keyword argument 'handle'
The only valid inputs are email, disabled, name,roles and send_user_invitation

Thanks so much for this @ericpardee
My apologies this happened


.twld files should include the full filename from the .wld file, not just the name before the extension

Hi, I recently was on the receiving end of a .twld file getting overwritten due to my server host being a bit dumb. Unfortunately, before I had realized it, I had accidentally overwritten both the .twld and the .twld.bak file -- and me being dumb at the time, I had just overwritten the only backups I had. :(
What had happened was that my hosting provider accidentally changed some additional text that got appended to the extension of the .wld file (in this case, they used to append  i386, so you'd get stuff like Terraria_Modded.wld i386; but then they added a  1 to the end by pure accident, so it'd be Terraria_Modded.wld i386 1; both still ran and loaded fine though). Whilst this wouldn't sound like an issue, that  1 at the end made terraria think we wanted to generate a new world, with that  1 appended to the end of the filename.
Okay, this is all normal procedure, but unfortunately TML uses only the bit before the .wld (or ".wld i386" or whatever) to name the associated .twld files. This meant that my old .twld file was overwritten. In other words, TML would always use Terraria_Modded.twld regardless of whether the world we're loading is Terraria_Modded.wld, Terraria_Modded.wld i386, or Terraria_Modded.wld i386 1.

What I'd like to suggest is using the full filename before the .twld extension. For example, if a world is named Blues_Clues.wld, TML would name it Blues_Clues.wld.twld. Or TMA.wld i386 would result in TMA.wld i386.twld. Or 3DS.wld i386 1 would become 3ds.wld i386 1.twld. You get the point.
I do get that this change might make filenames a bit messy though, and it might also be good to simply change .twld to something else, like .tmw (Terraria Mod World), but this would solve the issue I had above, and prevent worlds from being overwritten in the event of a server host's fuckup.
Additionally, I understand this is perhaps an isolated incident and that honestly this has a very very slim chance of happening to other users, but I'm still suggesting it because I feel it's something important we could do to prevent users from losing data by accident.

Sorry if I'm still supposed to put this in the usual format. If I must, please let me know and I'll reformat this all.

This sounds like quite a specific issue to me, and I wonder why we should worry much about it.

Yeah, sounds like your host is doing something extremely wrong and wonky. This is not standard behavior in any computer system I've ever experienced.
Sorry, gonna close.

Wasn't a complaint about an issue my host had -- I was suggesting a solution that TML could implement in the case that this happens elsewhere, whether because of the host or because of the user.

Sorry about this, while I agree with the decisions of my codevs, I think we could've handled this a little better.
While we'd like to make things as compatible and sensible as possible for everyone, the problem in this case, is that what your host is doing is rather arbitrary. For example, your host may make it TMA.wld i386 and be happy with TMA.wld i386.twld but another host might expect TMA.wld.twld i386 or something. It's difficult for us to justify what would be an unfortunately convoluted change, on the whims of one server host.
We apologise if this means you're unable to use tModLoader.

Nah, it's fine, it just means I'm having to be more careful with my worlds. I've been taking backups of the world every time before I turn the server on, it works fine.
I understand the logic, however. I will admit it was just the fault of my server host, though.
Thanks. :)


JOB-111 Migrated job submission to cluster-agent

What
Migrated all job submission (to sbatch) logic to the cluster-agent.
Why
This will allow users to submit jobs for execution through the API only (no need to be logged into a cluster)
Task: https://app.clickup.com/t/18022949/JOB-111

Peer Review
Please follow the upstream omnivector documentation concerning
peer-review guidelines.

One other comment concerning the new endpoints.....
For example,
"/job-submissions/agent/pending"
Is it possible that the agent send a request to /job-submissions with arguments that filter for the specific status instead of making separate endpoints specifically for the agent that return job submissions for each status?

One other comment concerning the new endpoints.....
For example, "/job-submissions/agent/pending"
Is it possible that the agent send a request to /job-submissions with arguments that filter for the specific status instead of making separate endpoints for the agent that return job submissions for each status?

We discussed this in a conversation a day or two ago. I noted that the agent endpoints combine data via a join so that the agent need only make a single request to get job-submission, job-script, and application info in one request.


Add Docker configuration, update README

Hi,
I was able to install your application on my machine with Docker and Docker Compose. I did it for development purposes, so that I can easily remove MongoDB or replace it with another database in the future.
I added the necessary files and updated the README, maybe other developers can benefit.

Nice! We're planning a big overhaul of the structure actually - looking at using Neo4j for the database to hold claims.

I probably would’ve used a relational database, with a schema like this one:
claims (id, content)
arguments (claim_id, argument_id, type)

argument_id would point to a claim, type would be either PRO or CON.
But I agree that for more complex argumentations, a graph database could be a better fit.
Anyway, thanks for the merge!


digeq-31-pull-down-list add drop down list with industry and countrie…

What
Create dropdown box for questionnaire author with the ability to add in options manually and from pre-defined json lists
How to test

Checkout this branch
Create a questionnaire and drag a dropdown into the dropzone, check it works
Go to the manual option add tab and add a couple of options, check it works and previews
Go to the import option tab and select one from the list hitting import, check it works and previews

N.B there are only 4 values in each json import
Who can test
Anyone but @LJBabbage

Unfortunately there seems to be an intermittent issues which stops this working :-1:

Works now :+1:


Allow changing order of columns

Is your feature request related to a problem? Please describe.
The ability to have the locations of the Released, Discontinued, Active Support and Security Support columns be relocatable per product would be appreciated.
Describe alternatives you've considered
The ability to create custom columns for a specific product (which a sortable order), this would be useful for https://github.com/endoflife-date/endoflife.date/pull/376 aswell that way we can track the security status of Windows and Linux.

Custom columns now available: #4002.

I am not convinced that the default column layout must be configurable, the order of those columns is important.
The only column I would like to convert to a custom column is the discontinued one. I not used a lot and only for a specific type of products: the devices.


created Own Blog Page

Fixes:  #874
Description
Convert the current static blog page into a dynamic platform that allows for creating and publishing content related to scholarships and job opportunities. This will enable fresh, relevant content and improve user engagement.
Key Specifications:

Blog Post Display:

Renders blog posts dynamically from local storage
Shows post title, author, date, category, and tags
Displays a truncated version of the post content
Includes a "Read More" link for each post

Full Post View:

Opens a modal with the full post content when "Read More" is clicked
Displays all comments for the post in the modal

Commenting System:

Allows users to add comments to posts
Displays the latest two comments on the main page
Shows all comments in the full post view modal

Filtering System:

Provides dropdown filters for categories and tags
Dynamically updates the post list based on selected filters

Content Management System (CMS):

New Post Creation:

Opens a modal with a form to create new blog posts
Allows input of title, content, author, category, and tags
Automatically adds new categories and tags to the system

Category Management:

Opens a modal to view all categories
Allows adding new categories
Enables deletion of existing categories

Tag Management:

Opens a modal to view all tags
Allows adding new tags
Enables deletion of existing tags

Data Persistence:

Uses localStorage to store and retrieve blog posts, categories, and tags
Initializes with sample data if localStorage is empty

Responsive Design:

Adapts layout for different screen sizes
Includes a hamburger menu for mobile view

UI Enhancements:

Smooth scrolling for anchor links
Fade-in effect for blog posts on scroll
Hover effects on blog posts (elevation and shadow change)
Parallax effect on the hero section background

Header Scroll Effect:

Changes header appearance when scrolling down the page

Social Media Integration:

Includes social media links in the footer

Navigation:

Provides links to other sections of the BuddyTrail website
Highlights the current "Blog" page in the navigation

Hero Section:

Displays a welcome message and brief description of the blog

Footer:

Shows company information, quick links, contact details, and social media links

Modals:

Used for full post view, new post creation, and management of categories and tags
Can be closed by clicking outside or on the close button

Error Handling:

Prevents duplicate categories and tags when adding new ones

Date Formatting:

Displays post dates in a readable format

Markdown Support:

Includes the marked library for potential Markdown rendering (though not explicitly used in the provided code)

Dynamic Updates:

Refreshes the post list, filters, and modals after adding new content or making changes

Accessibility:

Uses semantic HTML elements for better screen reader support

Performance Optimization:

Loads external resources (fonts, icons) from CDNs

Type of PR

[X] Feature enhancement

Screenshots:

Checklist:

[X] I have made this change from my own.
[X] I have taken help from some online resources.
[X] My code follows the style guidelines of this project.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] My changes generate no new warnings.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers and screenshots after making the changes.

@aditya-bhaumik  Kindly provide all the labels as per the task completion as i have worked on complete frontend and backend and created a new page from scratch so it would be helpful for me if you could provide level 3 to it.

@aditya-bhaumik Kindly provide all the labels as per the task completion as i have worked on complete frontend and backend and created a new page from scratch so it would be helpful for me if you could provide level 3 to it.

what did you use for backend ??

i cant see any backend ??

@aditya-bhaumik yes, it is locally stored whenever you use your web browser.


Fix getting $IP value

Hi, I not detailed investigate it issue, but in my setup (just redis-cluster 3.2.12 & 4.0.10) it fails on entrypoint on string echo "yes" | ruby /redis/src/redis-trib.rb create --replicas 1 ${IP}:7000 ${IP}:7001 ${IP}:7002 ${IP}:7003 ${IP}:7004 ${IP}:7005 because ${IP} was not set, so I change regexp which put value into it variable.

 And on what docker version and if, what compose version?

In this case I use in without compose.
Host:
└──╼ $cat /etc/issue
Ubuntu 16.04.5 LTS \n \l
└──╼ $docker -v
Docker version 18.06.1-ce, build e68fc7a

In container:
└──╼ $docker exec -it redis-cluster bash
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
root@redis-cluster:/data# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
        ether 02:42:ac:15:00:0f  txqueuelen 0  (Ethernet)
        RX packets 60197  bytes 5927538 (5.6 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 49741  bytes 3632547 (3.4 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 5817346  bytes<PHONE_NUMBER> (7.9 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5817346  bytes<PHONE_NUMBER> (7.9 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@redis-cluster:/data# cat /etc/issue
Debian GNU/Linux 9 \n \l

After googling I find better solution and update PR

@Grokzen host running on Ubuntu 16.04, local ifconfig looks like this:
└──╼ $ifconfig
br-a625704bf8f4 Link encap:Ethernet  HWaddr 02:42:5f:c8:61:3e
          inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
          inet6 addr: fe80::42:5fff:fec8:613e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:40536008 errors:0 dropped:0 overruns:0 frame:0
          TX packets:29716578 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3331190533 (3.3 GB)  TX bytes:3175970707 (3.1 GB)

docker0   Link encap:Ethernet  HWaddr 02:42:24:c4:28:e0
          inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

enp3s0    Link encap:Ethernet  HWaddr f0:79:59:6c:88:e3
          inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
          inet6 addr: fe80::15c3:c176:1385:fb7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8497010 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1840972 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9765246311 (9.7 GB)  TX bytes:220728957 (220.7 MB)

other virtual interfaces i skip from copy-paste.
And i'm too not able to test how it works in another setup, sry.

Yeah, i think i found the issue, i did a fresh pull of the base image and it looks like they upgraded that version to Debian 9 release that cause this error to present itself. I guess that only new people and fresh builds would see this error as people that use older incarnations of redis:3.2 base image do not have the issue.

I guess that only new people and fresh builds would see this error
You're right, without custom pull of existing image you will use locally-cached image.
In this case I may suggest fix FROM redis:3.2 to something like this FROM redis@sha256:<hash which you may see in docker inspect> to avoid unpredictable update base image.

That could work. Will look into that.

@c1rno Hardcoded the sha256 value in the Dockerfile. It should prevent this issue in the future hopefully


Feat plugin default configs

Signed-off-by: Meng JiaFeng<EMAIL_ADDRESS>Pre-Checklist
Note: please complete ALL items in the following checklist.

[x] I have read through the CONTRIBUTING.md documentation.
[x] My code has the necessary comments and documentation (if needed).
[ ] I have added relevant tests

Description

All helm plugins support the default value

Related Issues
#523 #526 #527 #513
New Behavior (screenshots if needed)
Current argocd config

https://github.com/devstream-io/devstream/blob/4a72c8f07355e8ae0d656a5c426e0fc73a9925e5/internal/pkg/show/config/plugins/harbor.yaml#L25
https://github.com/devstream-io/devstream/blob/da2368385ea9a0f618f6ef01af64935d4d206704/internal/pkg/show/config/plugins/hashicorp-vault.yaml#L20
https://github.com/devstream-io/devstream/blob/da2368385ea9a0f618f6ef01af64935d4d206704/internal/pkg/show/config/plugins/kube-prometheus.yaml#L23
https://github.com/devstream-io/devstream/blob/da2368385ea9a0f618f6ef01af64935d4d206704/internal/pkg/show/config/plugins/kube-prometheus.yaml#L25
https://github.com/devstream-io/devstream/blob/da2368385ea9a0f618f6ef01af64935d4d206704/internal/pkg/show/config/plugins/openldap.yaml#L24

The config files in these places are not consistent with the code.


A few errors/warnings

A few errors/warnings reported by Lintian while building on a Debian Stretch (LZK-2). I didn't investigate these, only reporting these here to share the knowledge.
Note that:

"P" means "pedantic"
"E" means error

P: adlplug source: source-contains-prebuilt-javascript-object thirdparty/fmt/doc/_static/bootstrap.min.js
N:
N:    The source tarball contains a prebuilt (minified) JavaScript object.
N:    They are usually left by mistake when generating the tarball by not
N:    cleaning the source directory first. You may want to report this as an
N:    upstream bug, in case there is no sign that this was intended.
N:
N:    Severity: pedantic, Certainty: possible
N:
N:    Check: cruft, Type: source

E: adlplug source: source-is-missing thirdparty/fmt/doc/_static/bootstrap.min.js
N:
N:    The source of the following file is missing. Lintian checked a few
N:    possible paths to find the source, and did not find it.
N:
N:    Please repack your package to include the source or add it to
N:    "debian/missing-sources" directory.
N:
N:    If this is a false-positive, please report a bug against Lintian.
N:
N:    Severity: serious, Certainty: possible
N:
N:    Check: cruft, Type: source

P: adlplug source: source-contains-prebuilt-binary thirdparty/libADLMIDI/fm_banks/op3_files/2x2patch/bytecmp
N:
N:    The source tarball contains a prebuilt ELF object. They are usually left
N:    by mistake when generating the tarball by not cleaning the source
N:    directory first. You may want to report this as an upstream bug, in case
N:    there is no sign that this was intended.
N:
N:    Severity: pedantic, Certainty: certain
N:
N:    Check: cruft, Type: source

P: adlplug source: source-contains-prebuilt-java-object thirdparty/JUCE/extras/Projucer/Source/BinaryData/gradle/gradle-wrapper.jar
N:
N:    The source tarball contains a prebuilt Java class file. These are often
N:    included by mistake when developers generate a tarball without cleaning
N:    the source directory first. If there is no sign this was intended,
N:    consider reporting it as an upstream bug.
N:
N:    Severity: pedantic, Certainty: possible
N:
N:    Check: cruft, Type: source

Same issue with:
P: adlplug source: source-contains-prebuilt-java-object thirdparty/JUCE/examples/DemoRunner/Builds/Android/gradle/wrapper/gradle-wrapper.jar
P: adlplug source: source-contains-prebuilt-java-object thirdparty/JUCE/extras/AudioPerformanceTest/Builds/Android/gradle/wrapper/gradle-wrapper.jar
P: adlplug source: source-contains-prebuilt-java-object thirdparty/JUCE/extras/AudioPluginHost/Builds/Android/gradle/wrapper/gradle-wrapper.jar
P: adlplug source: source-contains-prebuilt-java-object thirdparty/JUCE/extras/NetworkGraphicsDemo/Builds/Android/gradle/wrapper/gradle-wrapper.jar

Note that this doesn't prevent to technically build and package the software. But this is the proper way of building a proper deb package.

thirdparty/fmt

This is the project at https://github.com/fmtlib/fmt, it's more relevant to open an issue there as I don't do any significant development on this subproject myself beside the occasional contribution.

thirdparty/libADLMIDI

Definitely a problem here, it's needed to fix in libADLMIDI upstream.
It's a leftover of a 2016 work tagged as "Another experiment with OP3-files".

thirdparty/JUCE

I have control on this personal fork of JUCE but I avoid to make a big cleanup which is going to deviate it too much from upstream, because I update it to upstream somewhat regularly and I'm not looking to introduce any conflicts.
However, as I manually produce the tarball for every release, I delete some unnecessary parts of JUCE which would occupy a significant space in the archive, and part of that is the extras folder from which the problem is arised.
Here specifically, Gradle is a utility specific to Android which doesn't serve me for any purpose.


Color picker shows outside accessible area

We use the chrome-picker from react-color library for this. I have clue how the API works.
Feel free to create a PR for this if you know how it works. Otherwise I'll try to fix this when I find the time

I plan to open more PRs, but the dependency on Ruby (compass) has slowed me down a bit


Rocketship quickstart

The quick-start currently focuses on how a user might interact with all facets of SE2 which can be a bit misleading and/or downright confusing.
SE2's value prop lies within its ability to extend existing applications.
All other operations such as creating environments, managing access keys, etc while necessary are minutia.
Today our quick-start focuses on how to do everything, including obtaining editor tokens, plugin management and plugin  execution as an end-user which isn't really how we intend the product to be used.
Instead we should take an existing project,  rocketship, and walk the user through the process of extending it with SE2.
In doing so we show the reader both the big picture along with the small steps we took to get there.

Yay, I've been dying for this! 🥳 Do we have a timeline?


Hammer.js Examples page in wiki with links to manual/*.html

What do you think about adding a wiki page which links to all of the example pages in the manual/ directory?
It took me a while to discover all of the examples (not all of them are linked to from http://eightmedia.github.io/hammer.js/ ) and perhaps others are experiencing the same problem and this would save them time when learning hammer.js.
The links are listed below, however, if there's a way for me to do the work of adding a wiki page with this information please advise.
Many thanks, Eliot

Basic usage
Pinch zoom
Event listener log
Carousel
Pull-to-refresh
Events

the site was updated with v2 so im going to close this


[SPARK-42507][SQL][TESTS] Simplify ORC schema merging conflict error check

What changes were proposed in this pull request?
This PR aims to simplify ORC schema merging conflict error check.
Why are the changes needed?
Currently, branch-3.4 CI is broken because the order of partitions.

https://github.com/apache/spark/runs/11463120795
https://github.com/apache/spark/runs/11463886897
https://github.com/apache/spark/runs/11467827738
https://github.com/apache/spark/runs/11471484144
https://github.com/apache/spark/runs/11471507531
https://github.com/apache/spark/runs/11474764316

Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass the CIs.

Hi, @xinrong-meng , @HyukjinKwon , @cloud-fan
I decided to simply the test case to be robust in terms of the order of merged schema.
This will unblock Apache Spark 3.4.0 RC1.

or catch TestFailedException then check another set of parameters

LGTM. Thanks @dongjoon-hyun !

Thanks all, merged to master and branch-3.4

Thank you, @xinrong-meng , @HyukjinKwon , @LuciferYang .


Remove PR chat action

This action comes from upstream and is failing.  We can remove while deciding if we want to add it.

No longer needed since vscode merge reverted and we can fix in that PR


cesdb database not exist exception

Describe the bug
reCAPTCHA Site Key
6LdSZEwnAAAAAFvuD4TweCPpX0mMn5bhLx66ZxU9
Integration Method
Recaptcha.getClient()
Device: Android
SDK Version (e.g. 18.0.1):
To Reproduce
Expected behavior
init recaptcha android sdk
Screenshots

Device (please complete the following information):

Additional context
Add any other context about the problem here.

Thanks for the bug report.  We have identified where this can happen, I would guess this device is out of disk space or something else that prevents us from writing files.  We will add something to handle this in the next release of the SDK.
Thanks!

I also think so. How can I catch this crash before you release a new version?
I added try-catch code when initializing the sdk, but did not catch this exception

Unfortunately, you can't catch it as it is in a background thread.
If my theory about disk space is correct, you could check free disk space before initializing the SDK.  I imagine this user/device would be having other problems if this were the case.
We will have a fix in the next release of course.

Maybe it's not a disk space issue,

Perhaps not, but something is preventing writes.  How many devices are you seeing this on?

All are transsion devices, and android12

This was fixed in v18.4.0. Let us know if you run into it again.


Allow users to search for a document type

The list of document types can get very long. Users should be able to search / filter this list to speed up the flow.

This could be implemented as search tags.


Installing genomes seems to require rtg which is missing.

I've installed bcbio without genomes, using --nodata (and this seems to work),
but when I try and install a genome I get:
IOError: Could not prepare index rtg for GRCh37 by any method
Evidently https://s3.amazonaws.com/biodata/genomes/GRCh37-rtg.tar.xz is not found,
and in attempting to build an index using rtg, it doesn't find rtg either.
That's because I don't have rtg installed.
So...

does the documentation need to mention that I need rtg?
should bcbio install rtg itself as a tool?
should a pre-built version be available at https://s3.amazonaws.com/biodata/genomes/GRCh37-rtg.tar.xz?

For completeness, will attach log in next comment.

Logs for the command bcbio_nextgen.py upgrade --data --genomes GRCh37
upgrade_bcbio.sh.o463812.txt

David -- sorry about the issues. We do need to build the rtg indices locally but the failure is unexpected since bcbio does install rtg as part of the tools:
https://github.com/chapmanb/cloudbiolinux/blob/master/contrib/flavor/ngs_pipeline_minimal/packages-conda.yaml#L95
It should get linked into the same path as bcbio_nextgen.py, which looks like /usr/local/bin here (is that right?), and then cloudbiolinux tries to add this path to the command.
Is it possible it got removed or paths got changed somehow? Does updated with --tools ensure it's installed and available for the data update/install? Hope this helps.


fix(io): update arns interactions on registry contract

:tada: This PR is included in version 1.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Adding .gitignore files to filter Eclipse IDE bin directories

In  the case of "core" project, .gitignore includes .cache-main and .cache-tests from gradlew jar command.

These ignore rules should technically be included in your users .gitignore since they are more related to your environment than the project. That said to simplify things, overtime, some common environmental ignore rules have been added to the Kafka repo. I agree with adding them to the repository/root .gitignore file, but there definitely should not be a file for each module.
Please see my pull request and discussion with @ijuma on the topic here: #479. I think your case should be covered.

Thanks @granthenke
Agree.
I have add a global rules "gitignore" file and using recommendations from GitHub: https://help.github.com/articles/ignoring-files/


[WIP] Samplers

Changelog:

reworked tests for samplers: old tests always produced epochs with the size of 1 batch
removed batches_in_epochs from samplers and renamed few fields

Maybe we should force sampler to have n_labels, n_instances through interface if we are accounting for them in tests?

@b0nce don't think so because during the test we already know which kind of sampler we are testing since they behave in a different ways (so we have no generic tests when such an interface may be useful)


forknet: Cleans up forknet detach error logging and output

Also removes -f from stop command in physical nic tests as not needed.
Signed-off-by: Thomas Parrott<EMAIL_ADDRESS>

jenkins: test this please


Implement edit module & delete module by Preamble

After this is done, a new issue will be created to edit the UG


[Dev] Adding HTML interview questions

can you assign me this issue?

@SuryaCreatX This is for me, I have prepared the questions.


getting compile error about typed client when try to access generated clientset

I am trying to use code-generator to create a client to access a custom resource called Account.
I used code-generator to generate a clientset.  all the generated typed client and everything look ok and the same as k8s sample-controller example code.  However when i import my acctclientset like below to try to access the generated clientset, i get compile error for the account.go, which is the typed client code-gen created.  I am new to go and k8s, i have googled everywhere but still can't figure out how to fix the error.  has anyone encountered this issue or have any suggestion? thanks.
Here is how i added dep:
go get k8s.io/code-generator

my code:

import (
acctclientset "github.xxx.com/example/pkg/apis/client/clientset/versioned"
...
)
func getAccount() {
cfg, err1 := clientcmd.BuildConfigFromFlags("", "")
if err1 != nil {
glog.Fatalf("Can not get kubernetes config: %v", err1)
}
exampleClient, err := acctclientset.NewForConfig(cfg)
if err != nil {
	klog.Fatalf("Error building example clientset: %s", err.Error())
}
glog.Infof("The example client is: %v", exampleClient)

}

error i am getting:

CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o output/goexecutable .
pkg/apis/client/clientset/versioned/typed/acct/v1alpha1/account.go:71:5: too many arguments in call to c.client.Get().Resource("accounts").Name(name).VersionedParams(&options, scheme.ParameterCodec).Do
have (context.Context)
want ()
pkg/apis/client/clientset/versioned/typed/acct/v1alpha1/account.go:87:5: too many arguments in call to c.client.Get().Resource("accounts").VersionedParams(&opts, scheme.ParameterCodec).Timeout(timeout).Do
have (context.Context)
want ()
pkg/apis/client/clientset/versioned/typed/acct/v1alpha1/account.go:103:8: too many arguments in call to c.client.Get().Resource("accounts").VersionedParams(&opts, scheme.ParameterCodec).Timeout(timeout).Watch
have (context.Context)
want ()
pkg/apis/client/clientset/versioned/typed/acct/v1alpha1/account.go:113:5: too many arguments in call to c.client.Post().Resource("accounts").VersionedParams(&opts, scheme.ParameterCodec).Body(account).Do
have (context.Context)
want ()
...

How did you fix this? I am seeing the same issue.

i found two ways to fix the problem:

after code generated, manually modify the generated files for the compile errors.
for me, I found there were 2 files need to modify.

ex:  in sample-controller (https://github.com/kubernetes/sample-controller), you will need to manually remove every "ctx context.Context" in the following two files:
/pkg/generated/clientset/versioned/typed/samplecontroller/v1alpha1//foo.go
/pkg/generated/clientset/versioned/typed/samplecontroller/v1alpha1/fake/fake_foo.go
For example, change from:
Create(ctx context.Context, foo *v1alpha1.Foo, opts v1.CreateOptions) (*v1alpha1.Foo, error)
to:
Create(foo *v1alpha1.Foo, opts v1.CreateOptions) (*v1alpha1.Foo, error)

use an older version of k8s.io/code-generator to generate the code.  With an older version of code-generator, the generated files don't have "ctx context.Context" and there is no compile error for me.  I am currently using this method as a workaround.

@marghahay How did you fix this? I am seeing the same issue.

i found two ways to fix the problem:
after code generated, manually modify the generated files for the compile errors.
for me, I found there were 2 files need to modify.

ex: in sample-controller (https://github.com/kubernetes/sample-controller), you will need to manually remove every "ctx context.Context" in the following two files:
/pkg/generated/clientset/versioned/typed/samplecontroller/v1alpha1//foo.go
/pkg/generated/clientset/versioned/typed/samplecontroller/v1alpha1/fake/fake_foo.go
For example, change from:
Create(ctx context.Context, foo *v1alpha1.Foo, opts v1.CreateOptions) (*v1alpha1.Foo, error)
to:
Create(foo *v1alpha1.Foo, opts v1.CreateOptions) (*v1alpha1.Foo, error)
use an older version of k8s.io/code-generator to generate the code. With an older version of code-generator, the generated files don't have "ctx context.Context" and there is no compile error for me. I am currently using this method as a workaround.

@marghahay How did you fix this? I am seeing the same issue.


save_model and export categorical_column_with_vocabulary_file

Thank you for submitting a TensorFlow documentation issue. Per our GitHub
policy, we only address code/doc bugs, performance issues, feature requests, and
build/installation issues on GitHub.
The TensorFlow docs are open source! To get involved, read the documentation
contributor guide: https://www.tensorflow.org/community/contribute/docs
URL(s) with the issue:
Please provide a link to the documentation entry, for example:
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/feature_column/categorical_column_with_vocabulary_file?hl=zh_cn
Description of issue (what needs changing):
when i used tf.feature_column.categorical_column_with_vocabulary_file("column","/tmp/vocab.txt") to build a keras model, training is ok but when use tf.save_model.save(my_keras_model, "/target/"), my vocabulary file did no export to "/target/assets/" path.  So if I load this model again and do predict, model still read the origin path("/tmp/vocab.txt"), I want to know how to make sure the model does not depend on original files and can be moved to another path.
I tried this doc but not works(https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/saved_model/Asset?hl=zh_cn)
Clear description
For example, why should someone use this method? How is it useful?
Correct links
tf.version = 2.4.0
Parameters defined
Are all parameters defined and formatted correctly?
Returns defined
Are return values defined?
Raises listed and defined
Are the errors defined? For example,
https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/feature_column/categorical_column_with_vocabulary_file#raises
Usage example
Is there a usage example?
See the API guide: https://www.tensorflow.org/community/contribute/docs_ref
on how to write testable usage examples.
Request visuals, if applicable
Are there currently visuals? If not, will it clarify the content?
Submit a pull request?
Are you planning to also submit a pull request to fix the issue? See the docs
contributor guide: https://www.tensorflow.org/community/contribute/docs,
docs API guide: https://www.tensorflow.org/community/contribute/docs_ref and the
docs style guide: https://www.tensorflow.org/community/contribute/docs_style

@Linging ,
We see that the issue template has not been filled, could you please do so as it helps us analyse the issue.Thanks!


Load a new Vite config object for the vite-node compiler

Fixes #1313.
This is similar to the fix provided by @hi-ogawa in https://github.com/remix-run/remix/pull/7990.
I believe this is a better fix than #1300 and #1308.
Now that we load a new copy of the Vite config, we don't have to worry about filtering plugins before passing them to the vite-node compiler, since they don't share any state with the app's Vite config.

We still need to do something about Remix because we start Vite without a config file.


Help Needed - Venue

I've got a party of 30 - 40 people and finding a venue has been a nightmare. My parents said they were going to be away this weekend, but their trip got canceled because of a terrible hurricane, so my plans are ruined!
Anyone have any suggestions?
It would be great if we had:

[ ] a link to the address,
[ ] maybe a screenshot of the map,
[ ] and possible transport options to get there

Thanks! How am I going to be the coolest kid in school without a place to host this party! Ahhhh!
Contribute:

please add your contribution to the root directory of the repo
the file should be called VENUE.md
include images of the objects!
Gif's are encouraged!

Hey Joey!  I got this!

Hi @emefie - Super! looking forward.


Fix version consistency errors (take 2)

With package data scattered across setup.py, requirements.txt and pyproject.toml, there's a lot of ways for package info to become inconsistent.

All unit tests now pass.


ssltest doesn't work for OpenSSL 1.1.1

We used to use ssltest to verify a cert and a key are compatible. With the new OpenSSL 1.1.1, it doesn't work any more. The command we use is:
ssltest -cert a.crt -key b.key  -bio_pair
Is ssltest replaced by something else? Or it is broken? Thanks.

ssltest is an internal test application that is used in 1.0.2. Since this is internal its usage and even whether it appears in the distribution could change at any time. There are no stability guarantees regarding the presence or otherwise or the usage of test applications. You shouldn't be using it.
That said, it does still exist in the distribution - just under a different name. It is now called ssltest_old. Its parameters have also changed. What used to be called cert is now called s_cert and what used to be called key is now called s_key.


remove socialize:user-presence since it's not used anywhere

Fixes tests.

I didn't have workflows turned on in my branch. Tests were passing locally for me. Mind executing that to make sure we're all good?

Thank you!


🐛 [firebase_storage] [firebase_storage/unknown] An unknown error occurred, please check the server response.. Error thrown null.

Bug report
Describe the bug
I have an app in beta test and my users complained about a file upload that sometimes fails.
I have logged my upload methods to firebase_storage and i saw sometimes this error :

I have also noticed this kind of error but i have no clue where this comes from :
[firebase_storage/unknown] File at URL: file:///var/mobile/Containers/Data/Application/DABF3DC5-1ABC-4824-B072-DEAC0F37144D/Documents/myappdir/b42e210-62ed-11ec-9430-f940facba-temp_file.mp4 is not reachable. Ensure file URL is not a directory, symbolic link, or invalid url..

Is it linked ? I don't know, as i don't know when this error is raised (ie: before upload, after upload, before download...).
Steps to reproduce
It works fine 90% of the time i would say but all of my users are experiencing it.
If this is a "normal" error, how can I debug this please to know the underlying cause ?
Expected behavior
The error should not be unknown so we (developer) can know the real problem and fix it.
The fact that we should check the server response, you will agree with me, is unfortunately useless for a solution such as firebase_storage that is serverless for developers.
But i would actually like to see this server response or anything that has a real explanation.

Additional context
For the upload logic, i am simply uploading local files (a thumbnail of a file saved in a new file and the main file).
Before upload i am compressing files and check if the Files exist locally and do not start by http.
Then, i use the getDownloadUrl() method to get the URL and save it in my database.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-x64, locale fr-FR)
    • Flutter version 2.8.1 at /Users/foxtom/Desktop/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (10 days ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/foxtom/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.63.2)
    • VS Code at /Users/foxtom/Desktop/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • CPH1931 (mobile) • ee9b32b5 • android-arm64  • Android 10 (API 29)
    • macOS (desktop)  • macos    • darwin-x64     • macOS 12.1 21C52 darwin-x64
    • Chrome (web)     • chrome   • web-javascript • Google Chrome 96.0.4664.110

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.15.1
Flutter SDK 2.8.1
myappname 1.0.0+1

dependencies:
- app_settings 4.1.1 [flutter]
- app_tracking_transparency 2.0.2+1 [flutter]
- apple_maps_flutter 1.0.1 [flutter]
- auto_size_text 3.0.0 [flutter]
- badges 2.0.2 [flutter]
- cached_network_image 3.2.0 [flutter flutter_cache_manager octo_image cached_network_image_platform_interface cached_network_image_web]
- camera 0.9.4+5 [camera_platform_interface camera_web flutter pedantic quiver flutter_plugin_android_lifecycle]
- clipboard 0.1.3 [flutter]
- cloud_functions 3.2.4 [cloud_functions_platform_interface cloud_functions_web firebase_core firebase_core_platform_interface flutter]
- connectivity_plus 2.1.0 [flutter connectivity_plus_platform_interface connectivity_plus_linux connectivity_plus_macos connectivity_plus_web connectivity_plus_windows]
- country_code_picker 2.0.2 [flutter modal_bottom_sheet collection universal_platform]
- crypto 3.0.1 [collection typed_data]
- cupertino_back_gesture 0.1.0 [flutter]
- cupertino_icons 1.0.4
- disk_space 0.2.1 [flutter]
- emoji_picker_flutter 1.0.8 [flutter shared_preferences]
- extended_image 6.0.1 [extended_image_library flutter meta]
- extended_tabs 2.3.0 [flutter]
- firebase_analytics 9.0.4 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter]
- firebase_auth 3.3.4 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.10.6 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 2.4.4 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_database 9.0.4 [firebase_core firebase_core_platform_interface firebase_database_platform_interface firebase_database_web flutter]
- firebase_dynamic_links 4.0.3 [firebase_core firebase_core_platform_interface firebase_dynamic_links_platform_interface flutter meta plugin_platform_interface]
- firebase_messaging 11.2.4 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_performance 0.8.0+3 [firebase_core firebase_core_platform_interface firebase_performance_platform_interface firebase_performance_web flutter]
- firebase_storage 10.2.4 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_app_badger 1.3.0 [flutter]
- flutter_arc_text 0.5.0 [characters flutter]
- flutter_contacts 1.1.1+2 [flutter]
- flutter_facebook_auth 3.5.7 [flutter flutter_facebook_auth_platform_interface flutter_facebook_auth_web]
- flutter_ffmpeg 0.4.2 [flutter]
- flutter_image_compress 1.1.0 [flutter]
- flutter_interactive_keyboard 0.2.0 [flutter]
- flutter_localizations 0.0.0 [flutter intl characters clock collection meta path typed_data vector_math]
- flutter_native_text_input 1.2.2 [flutter]
- flutter_sound_lite 8.4.2 [path_provider recase uuid provider path synchronized logger flutter flutter_sound_platform_interface flutter_sound_web]
- flutter_staggered_grid_view 0.5.0-dev.4 [flutter]
- flutter_svg 1.0.0 [flutter meta path_drawing vector_math xml]
- geocoding 2.0.1 [flutter geocoding_platform_interface]
- geolocator 8.0.1 [flutter geolocator_platform_interface geolocator_android geolocator_apple geolocator_web]
- google_fonts 2.1.1 [flutter http path_provider crypto]
- google_maps_flutter 2.1.1 [flutter flutter_plugin_android_lifecycle google_maps_flutter_platform_interface]
- google_mobile_ads 1.0.1 [meta flutter]
- google_sign_in 5.2.1 [flutter google_sign_in_platform_interface google_sign_in_web meta]
- hive 2.0.5 [meta crypto]
- hive_flutter 1.1.0 [flutter hive path_provider path]
- http 0.13.4 [async http_parser meta path]
- image_editor 1.0.2 [flutter]
- in_app_purchase 2.0.1 [flutter in_app_purchase_platform_interface in_app_purchase_android in_app_purchase_storekit]
- in_app_review 2.0.3 [flutter in_app_review_platform_interface]
- intl 0.17.0 [clock path]
- logger 1.1.0
- native_admob_flutter 1.5.0 [flutter]
- package_info_plus 1.3.0 [flutter package_info_plus_platform_interface package_info_plus_linux package_info_plus_macos package_info_plus_windows package_info_plus_web]
- path 1.8.0
- path_provider 2.0.8 [flutter path_provider_android path_provider_ios path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows]
- percent_indicator 3.4.0 [flutter]
- perfect_volume_control 1.0.5 [flutter]
- permission_handler 8.3.0 [flutter meta permission_handler_platform_interface]
- photo_manager 1.3.10 [flutter]
- provider 6.0.1 [collection flutter nested]
- pull_to_refresh 2.0.0 [flutter]
- rive 0.8.1 [collection flutter graphs http meta]
- screen_capture_event 1.0.0+1 [flutter permission_handler]
- scrollable_positioned_list 0.2.3 [flutter collection]
- share_plus 3.0.4 [meta mime flutter share_plus_platform_interface share_plus_linux share_plus_macos share_plus_windows share_plus_web]
- shared_preferences 2.0.11 [flutter meta shared_preferences_android shared_preferences_ios shared_preferences_linux shared_preferences_macos shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- sign_in_with_apple 3.3.0 [flutter meta sign_in_with_apple_platform_interface sign_in_with_apple_web]
- sliver_tools 0.2.5 [flutter]
- sqflite 2.0.1 [flutter sqflite_common path]
- translator 0.1.7 [http]
- url_launcher 6.0.17 [flutter meta url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- uuid 3.0.5 [crypto]
- video_compress 3.1.1 [flutter]
- video_player 2.2.10 [flutter meta video_player_platform_interface video_player_web html]
- video_thumbnail 0.4.3 [flutter]
- visibility_detector 0.2.2 [flutter]

dev dependencies:
- build_runner 2.1.7 [args async analyzer build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- flutter_lints 1.0.4 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]
- hive_generator 1.1.1 [build source_gen hive analyzer source_helper]

transitive dependencies:
- _fe_analyzer_shared 31.0.0 [meta]
- analyzer 2.8.0 [_fe_analyzer_shared cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- args 2.3.0
- async 2.8.2 [collection meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- build 2.2.1 [analyzer async convert crypto glob logging meta path]
- build_config 1.0.0 [checked_yaml json_annotation path pubspec_parse yaml]
- build_daemon 3.0.1 [built_collection built_value http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.0.6 [analyzer async build crypto graphs logging path package_config pool pub_semver stream_transform yaml]
- build_runner_core 7.2.3 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pool timing watcher yaml]
- built_collection 5.1.1
- built_value 8.1.3 [built_collection collection fixnum meta]
- cached_network_image_platform_interface 1.0.0 [flutter flutter_cache_manager]
- cached_network_image_web 1.0.1 [flutter flutter_cache_manager cached_network_image_platform_interface]
- camera_platform_interface 2.1.1 [cross_file flutter meta plugin_platform_interface stream_transform]
- camera_web 0.2.1+1 [camera_platform_interface flutter flutter_web_plugins stream_transform]
- characters 1.2.0
- charcode 1.3.1
- checked_yaml 2.0.1 [json_annotation source_span yaml]
- cli_util 0.3.5 [meta path]
- clock 1.1.0
- cloud_functions_platform_interface 5.0.19 [firebase_core flutter meta plugin_platform_interface]
- cloud_functions_web 4.2.5 [cloud_functions_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- code_builder 4.1.0 [built_collection built_value collection matcher meta]
- collection 1.15.0
- connectivity_plus_linux 1.1.1 [flutter connectivity_plus_platform_interface meta nm]
- connectivity_plus_macos 1.2.1 [connectivity_plus_platform_interface flutter]
- connectivity_plus_platform_interface 1.1.1 [flutter meta plugin_platform_interface]
- connectivity_plus_web 1.1.0+1 [connectivity_plus_platform_interface flutter_web_plugins flutter]
- connectivity_plus_windows 1.2.0 [connectivity_plus_platform_interface flutter]
- convert 3.0.1 [typed_data]
- cross_file 0.3.2 [flutter js meta]
- csslib 0.17.1 [source_span]
- dart_style 2.2.1 [analyzer args path pub_semver source_span]
- dbus 0.6.6 [args ffi meta xml]
- extended_image_library 3.1.0 [crypto flutter http_client_helper path path_provider]
- fake_async 1.2.0 [clock collection]
- ffi 1.1.2
- file 6.1.2 [meta path]
- firebase 9.0.2 [http http_parser js]
- firebase_analytics_platform_interface 3.0.3 [firebase_core flutter meta plugin_platform_interface]
- firebase_analytics_web 0.4.0+4 [firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_auth_platform_interface 6.1.9 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 3.3.5 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.2.3 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.5.3 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.1.11 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_database_platform_interface 0.2.0+3 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_database_web 0.2.0+3 [firebase_core firebase_core_web firebase_database_platform_interface flutter flutter_web_plugins js]
- firebase_dynamic_links_platform_interface 0.2.0+3 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 3.1.4 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 2.2.5 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- firebase_performance_platform_interface 0.1.0+3 [firebase_core flutter plugin_platform_interface]
- firebase_performance_web 0.1.0+3 [firebase firebase_core firebase_core_web firebase_performance_platform_interface flutter flutter_web_plugins js]
- firebase_storage_platform_interface 4.0.11 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.2.5 [async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- fixnum 1.0.0
- flutter_blurhash 0.6.0 [flutter meta pedantic]
- flutter_cache_manager 3.3.0 [clock collection file flutter http path path_provider pedantic rxdart sqflite uuid]
- flutter_facebook_auth_platform_interface 2.7.1 [flutter plugin_platform_interface]
- flutter_facebook_auth_web 2.6.0+2 [flutter flutter_web_plugins js flutter_facebook_auth_platform_interface]
- flutter_plugin_android_lifecycle 2.0.5 [flutter]
- flutter_sound_platform_interface 8.4.2 [flutter meta plugin_platform_interface logger]
- flutter_sound_web 8.4.2 [flutter_sound_platform_interface flutter logger flutter_web_plugins meta js]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- frontend_server_client 2.1.2 [async path]
- geocoding_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- geolocator_android 3.0.1 [flutter geolocator_platform_interface]
- geolocator_apple 2.0.0+2 [flutter geolocator_platform_interface]
- geolocator_platform_interface 3.0.1 [flutter plugin_platform_interface vector_math meta]
- geolocator_web 2.1.1 [flutter flutter_web_plugins geolocator_platform_interface]
- glob 2.0.2 [async collection file path string_scanner]
- google_maps_flutter_platform_interface 2.1.3 [collection flutter meta plugin_platform_interface stream_transform]
- google_sign_in_platform_interface 2.1.0 [flutter meta quiver]
- google_sign_in_web 0.10.0+3 [flutter flutter_web_plugins google_sign_in_platform_interface js meta]
- graphs 2.1.0 [collection]
- html 0.15.0 [csslib source_span]
- http_client_helper 2.0.2 [http]
- http_multi_server 3.0.1 [async]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- in_app_purchase_android 0.2.2 [collection flutter in_app_purchase_platform_interface json_annotation meta]
- in_app_purchase_platform_interface 1.3.0 [flutter plugin_platform_interface]
- in_app_purchase_storekit 0.2.1 [collection flutter in_app_purchase_platform_interface json_annotation meta]
- in_app_review_platform_interface 2.0.2 [flutter url_launcher plugin_platform_interface platform]
- io 1.0.3 [meta path string_scanner]
- js 0.6.3
- json_annotation 4.4.0 [meta]
- lints 1.0.1
- logging 1.0.2
- matcher 0.12.11 [stack_trace]
- meta 1.7.0
- mime 1.0.1
- modal_bottom_sheet 2.0.0 [flutter]
- nested 1.0.0 [flutter]
- nm 0.4.2 [dbus]
- octo_image 1.0.1 [flutter flutter_blurhash]
- package_config 2.0.2 [path]
- package_info_plus_linux 1.0.3 [package_info_plus_platform_interface flutter path]
- package_info_plus_macos 1.3.0 [flutter]
- package_info_plus_platform_interface 1.0.2 [flutter meta plugin_platform_interface]
- package_info_plus_web 1.0.4 [flutter flutter_web_plugins http meta package_info_plus_platform_interface]
- package_info_plus_windows 1.0.4 [package_info_plus_platform_interface ffi flutter win32]
- path_drawing 1.0.0 [vector_math meta path_parsing flutter]
- path_parsing 1.0.0 [vector_math meta]
- path_provider_android 2.0.11 [flutter path_provider_platform_interface]
- path_provider_ios 2.0.7 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.4 [ffi flutter meta path path_provider_platform_interface xdg_directories]
- path_provider_macos 2.0.4 [flutter meta path_provider_platform_interface]
- path_provider_platform_interface 2.0.1 [flutter meta platform plugin_platform_interface]
- path_provider_windows 2.0.4 [ffi flutter meta path path_provider_platform_interface win32]
- pedantic 1.11.1
- permission_handler_platform_interface 3.7.0 [flutter meta plugin_platform_interface]
- petitparser 4.4.0 [meta]
- platform 3.1.0
- plugin_platform_interface 2.0.2 [meta]
- pool 1.5.0 [async stack_trace]
- process 4.2.4 [file path platform]
- pub_semver 2.1.0 [collection meta]
- pubspec_parse 1.2.0 [checked_yaml collection json_annotation pub_semver yaml]
- quiver 3.0.1+1 [matcher]
- recase 4.0.0
- rxdart 0.27.3
- share_plus_linux 2.0.4 [share_plus_platform_interface file flutter meta url_launcher]
- share_plus_macos 2.0.2 [share_plus_platform_interface flutter]
- share_plus_platform_interface 2.0.1 [flutter meta mime plugin_platform_interface]
- share_plus_web 2.0.4 [share_plus_platform_interface url_launcher flutter flutter_web_plugins meta]
- share_plus_windows 2.0.3 [share_plus_platform_interface flutter meta url_launcher]
- shared_preferences_android 2.0.9 [flutter meta shared_preferences_platform_interface]
- shared_preferences_ios 2.0.8 [flutter meta shared_preferences_platform_interface]
- shared_preferences_linux 2.0.3 [file flutter meta path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 2.0.2 [flutter shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.0.0 [flutter]
- shared_preferences_web 2.0.2 [flutter flutter_web_plugins meta shared_preferences_platform_interface]
- shared_preferences_windows 2.0.3 [file flutter meta path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- shelf 1.2.0 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 1.0.1 [shelf stream_channel web_socket_channel]
- sign_in_with_apple_platform_interface 1.0.0 [flutter plugin_platform_interface meta]
- sign_in_with_apple_web 1.0.1 [flutter flutter_web_plugins sign_in_with_apple_platform_interface js]
- sky_engine 0.0.99
- source_gen 1.2.1 [analyzer async build dart_style glob meta path source_span yaml]
- source_helper 1.3.1 [analyzer collection source_gen]
- source_span 1.8.1 [collection path term_glyph]
- sqflite_common 2.1.0 [synchronized path meta]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- stream_transform 2.0.0
- string_scanner 1.1.0 [charcode source_span]
- synchronized 3.0.0
- term_glyph 1.2.0
- test_api 0.4.3 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timing 1.0.0 [json_annotation]
- typed_data 1.3.0 [collection]
- universal_platform 1.0.0+1
- url_launcher_android 6.0.13 [flutter meta url_launcher_platform_interface]
- url_launcher_ios 6.0.13 [flutter meta url_launcher_platform_interface]
- url_launcher_linux 2.0.2 [flutter]
- url_launcher_macos 2.0.2 [flutter]
- url_launcher_platform_interface 2.0.4 [flutter plugin_platform_interface]
- url_launcher_web 2.0.5 [flutter flutter_web_plugins meta url_launcher_platform_interface]
- url_launcher_windows 2.0.2 [flutter]
- vector_math 2.1.1
- video_player_platform_interface 5.0.0 [flutter plugin_platform_interface]
- video_player_web 2.0.5 [flutter flutter_web_plugins meta pedantic video_player_platform_interface]
- watcher 1.0.1 [async path]
- web_socket_channel 2.1.0 [async crypto stream_channel]
- win32 2.3.3 [ffi]
- xdg_directories 0.2.0 [meta path process]
- xml 5.3.1 [collection meta petitparser]
- yaml 3.1.0 [collection source_span string_scanner]

@Tom3652
Can you provide the entire crash log in text format that includes the server response message ?
There was a similar issue reported and one of the issue comment is that the error could be coming from firebase-ios-sdk, but I couldn't find the original issue.

Actually there is no server response and that's the problem, it's a custom Crashlytics trace that i have made myself (using the catchError method on the UploadTask) so there is nothing else than this line...
I have seen these comments, so do you suggest i try on Android and see if i get a useful error ?
In any case, there is no way to get a useful error on iOS ? This is very hard to debug especially since the error doesn't occur all the time (a permission-denied would always return an error)

Well on Android i have this error :
E/StorageException(15225): StorageException has occurred.
E/StorageException(15225): An unknown error occurred, please check the HTTP result code and inner exception for server response.
E/StorageException(15225):  Code: -13000 HttpResult: 200
E/StorageException(15225): The server has terminated the upload session
E/StorageException(15225): java.io.IOException: The server has terminated the upload session
E/StorageException(15225): 	at com.google.firebase.storage.UploadTask.recoverStatus(UploadTask.java:373)
E/StorageException(15225): 	at com.google.firebase.storage.UploadTask.shouldContinue(UploadTask.java:325)
E/StorageException(15225): 	at com.google.firebase.storage.UploadTask.run(UploadTask.java:232)
E/StorageException(15225): 	at com.google.firebase.storage.StorageTask.lambda$getRunnable$7$StorageTask(StorageTask.java:1072)
E/StorageException(15225): 	at com.google.firebase.storage.-$$Lambda$StorageTask$q9YBoR_A8LB-JxTCx8JRQvabaZs.run(Unknown Source:2)
E/StorageException(15225): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/StorageException(15225): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/StorageException(15225): 	at java.lang.Thread.run(Thread.java:919)

The Android log is same as mentioned in the original issue and comment.
I'll keep it open and label for further investigation.
/cc @russellwheatley  @helenaford.  This was originally reported https://github.com/FirebaseExtended/flutterfire/issues/3791 but still seems to be happening.

Yes it's the same first part but there is no clause Caused by... so it's also not explicit in Android :/
I have no clue what this is about in both Android and iOS... Thanks for investigating.

All of my beta testers that have experienced an error during upload show this log in my crashlytics dashboard.
But they all said that it seems that the upload is always finished (100% according to my UI in app) and only then it throws this error, never before uploading.

The same with me on iOS device. For Android and Web works fine.
version: firebase_storage: ^10.2.9

I have reduced a lot this error by using putData instead of putFile method.
It seems that there is an issue with how Firebase iOS SDK tries to validate Flutter files

Nice, I tried a couple times use putData  and the error did not appear so far (For now).

putData gives me the error every time on a MBPro M1 Max. The file does get uploaded though. I did merge #4358
and can verify that the file is also correctly exported and loaded from export.

I'm facing the same issue while trying to interact with Firebase Storage Emulator. The picture is uploaded but it fails with this same error.

@ggirotto The emulator bug has an issue raised on the firebase-tools here which occurs only on iOS.


Add fetlang to github linguist

More of a meta-issue than anything to do with the language. But you can add languages to the github language detection (called linguist) here: https://github.com/github/linguist
I think you can even assign a colour value to it (otherwise it's just grey) but I'm not 100% sure about that.
Could be cool to have github recognise the .fet files correctly :smile:

It's only possible if the file extension is used in "hundreds of repositories before supporting them in Linguist." (source). Guess we have to start coding in fet :)


Update service.go

Prevent double space

I added this change in another cleanup commit. Thanks for the hint


Can't use VSCode with CMake

Describe the bug
CMake from VSCode isn't working anymore.
Exception or Stack Trace
The cmake extension doesn't work (previously working fine) in Windows.
(original stack/error fixed - see comments for reference).
To Reproduce
On Windows + cmake version 3.17.2 + Powershell (Windows Terminal) or cmd.exe:
Steps to reproduce the behavior:

follow instructions in https://github.com/Azure/azure-sdk-for-c#development-environment.
follow instructions in https://github.com/Azure/azure-sdk-for-c#vscode

Code Snippet

Set all required environment variables.

In Windows I do this with Invoke-BatchScript, on Linux I dot-source a bash script.

Follow the cmake steps in command-prompt. In the \build folder:

cmake .. or cmake-gui .. or ccmake ..

Build using your preferred tool-chain

msbuild /m ./az.sln or make -j

Open Visual Studio Code (with the CMake plugin installed) from the same command-prompt. (code.exe will inherit the command-line environment, still in \build).

code ..

Select "Configure All Projects".

(Make sure to select an x64 toolset on Windows - autodetect will select the x86 toolset instead.)
Expected behavior
VSCode auto-detects and uses the configuration I've specified in command-line.
Actual behavior:
VSCode replaces the configuration specified in command-line.
Screenshots
CMake-Gui option-buttons are broken by VSCode, configuration is replaced by something else:
My configuration:

After VSCode configured cmake:

None of the samples are getting built or can be debugged.
Setup (please complete the following information):

OS: [e.g. iOS] Windows, PWSH command-line, cmake-gui
IDE : [e.g. IntelliJ] Visual Studio Code.
Version of the Library used: master branch

Additional context
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[X] Bug Description Added
[X] Repro Steps Added
[X] Setup information Added

CMakeOutput.log
Cmake from Windows Terminal / Powershell works fine.

hmm I was just able to run it fine. Are you able to post what your settings.json file looks like?

@danewalton the settings.json that is checked in.
To be clear I was able to do the following in the past:

Go through the prerequisites (which expect setting environment variables for Visual Studio compilers and VCPkg).
In the same command prompt use cmake and cmake-gui to configure the project.
Open Visual Studio Code then do "configure" - this will detect my configuration from the previous step.
I would be able to continue to use cmake-gui and VSCode interchangeable.

I can do this for our other repo at https://github.com/Azure/azure-iot-sdk-c.
I've already tried to remove the .vscode folder from master. Even if I do that, VSCode won't pick up my cmake/cmake-gui configuration for some reason.

The settings.json from master won't work either. I think this has something to do with how VSCode vs cmake is configuring the project.
Here's settings.json with my changes:
{
  "cmake.configureEnvironment": {
    "VCPKG_ROOT": "s:\vcpkg",
    "VCPKG_DEFAULT_TRIPLET": "x64-windows-static"
  },
  "cmake.configureSettings": {
    "WARNINGS_AS_ERRORS" : "ON",
    "TRANSPORT_CURL" : "OFF",
    "UNIT_TESTING" : "ON",
    "UNIT_TESTING_MOCKS" : "OFF",
    "TRANSPORT_PAHO" : "ON",
    "PRECONDITIONS" : "ON",
    "LOGGING" : "ON"
  },
  "cmake.debugConfig": {
    "env": {
      "AZ_IOT_DEVICE_ID": "",
      "AZ_IOT_HUB_HOSTNAME": "",

      "AZ_IOT_ID_SCOPE": "",
      "AZ_IOT_REGISTRATION_ID": "",

      "AZ_IOT_DEVICE_X509_CERT_PEM_FILE": "",
      "AZ_IOT_DEVICE_X509_TRUST_PEM_FILE": "",

      "AZ_IOT_HUB_DEVICE_SAS_KEY": "",
      "AZ_IOT_HUB_DEVICE_SAS_KEY_DURATION": ""
    }
  }
}

This fails with
[main] Configuring folder: c
[proc] Executing command: "c:\Program Files\CMake\bin\cmake.EXE" --no-warn-unused-cli -DWARNINGS_AS_ERRORS:STRING=ON -DTRANSPORT_CURL:STRING=OFF -DUNIT_TESTING:STRING=ON -DUNIT_TESTING_MOCKS:STRING=OFF -DTRANSPORT_PAHO:STRING=ON -DPRECONDITIONS:STRING=ON -DLOGGING:STRING=ON -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -Hs:/c -Bs:/c/build -G Ninja
[cmake] Not searching for unused variables given on the command line.
[cmake] CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/CMakeDetermineSystem.cmake:99 (message):
[cmake]   Could not find toolchain file: s:cpkg/scripts/buildsystems/vcpkg.cmake
[cmake] Call Stack (most recent call first):
[cmake]   CMakeLists.txt:47 (project)
[cmake] -- Configuring incomplete, errors occurred!
[cmake]
[cmake]
[cmake] CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
[cmake] CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage

Seems at least part of the problem was mismatched compiler version. I updated the instructions in #920 to hopefully call that out and prevent the same in the future.

#920 is a workaround but the existence of the .vscode folder is interfering when working in a mixed command-line vs VSCode mode.
If I do cmake .. or ccmake .. in command line, I expect that VSCode will not alter the configuration.

Closed incorrectly (I missed my comment in the PR).

Original issue was fixed and docs updated by @danewalton :
[variant] Loaded new set of variants
[kit] Successfully loaded 4 kits from C:\Users\crist\AppData\Local\CMakeTools\cmake-tools-kits.json
[main] Configuring folder: c
[cmakefileapi-driver] Removing s:/c/build/CMakeCache.txt
[proc] Executing command: "c:\Program Files\CMake\bin\cmake.EXE" --no-warn-unused-cli -DWARNINGS_AS_ERRORS:STRING=ON -DTRANSPORT_CURL:STRING=OFF -DUNIT_TESTING:STRING=OFF -DUNIT_TESTING_MOCKS:STRING=OFF -DTRANSPORT_PAHO:STRING=OFF -DPRECONDITIONS:STRING=ON -DLOGGING:STRING=ON -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -Hs:/c -Bs:/c/build -G Ninja
[cmake] Not searching for unused variables given on the command line.
[cmake] CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/CMakeDetermineSystem.cmake:99 (message):
[cmake]   Could not find toolchain file: /scripts/buildsystems/vcpkg.cmake
[cmake] Call Stack (most recent call first):
[cmake]   CMakeLists.txt:47 (project)
[cmake]
[cmake]
[cmake] -- Configuring incomplete, errors occurred!
[cmake] See also "S:/c/build/CMakeFiles/CMakeOutput.log".
[cmake] CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
[cmake] CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage

To fix this, ensure that VSCode selects an x64 cmake toolset. Auto-detect (or not specifying one) will end up using x86 which causes the error above.

@danewalton my original proposal is to rename/remove .vscode to avoid interference with cmake as well as personal settings.
I think the checked-in files are only templates and cannot be ported between Win/Lin/Mac configurations as they are defining VCPKG root and triplet.
The issues with the current .vscode/settings.json are that:

It interferes with the cmd-line build system and our own prerequisite documentation, creating a confusion between cmd-line and IDE builds.
Require modification to configure and run samples. Modifications will be marked as tracked changes:

git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   ../.vscode/settings.json

It may interfere/overwrite with other VSCode personalization for this repo.
Breaks cmake-gui / ccmake enable/disable feature for options.


Index: reorganizing tax, adding Blåhaj

As Furry Tech grows, we need to seriously consider and formalize the taxing process. You know, for running expenses.
As a diligent taxpayer myself, I am happy to see that the flourishing community built from the ground up, representing the ideals of peace, freedom, justice, security, degeneracy, and love in our empire group.
Therefore, I propose to add Blåhaj to the list of taxes, and also reforming the taxable items presentation to a list, so that we could easily include more items in the future, should we choose so.

Spits in bucket, ye old voice sounds about right

The website will update in <5min.

Sorry but this PR is invalid.
No reviews and doesn't passes Rust Clippy.

Sorry but this PR is invalid.
No reviews and doesn't passes Rust Clippy.

It did pass clippy after doing the following:
- cargo clippy
+ echo success # cargo clippy


New maintenance.timezone config requires IANA Time Zone database

Describe the bug
The official Gatus container image is missing the required timezone data to be able to properly interpret timezone values.
When e.g. setting maintenance.timezone = "Europe/Zurich", Gatus panics with:
panic: invalid timezone specified or format not supported. Use IANA timezone format (e.g. America/Sao_Paulo): unknown time zone Europe/Zurich

According to the docs of time.LoadLocation:

LoadLocation looks for the IANA Time Zone database in the following locations in order:

the directory or uncompressed zip file named by the ZONEINFO environment variable
on a Unix system, the system standard installation location
$GOROOT/lib/time/zoneinfo.zip
the time/tzdata package, if it was imported

A simple apk install tzdata fixes the panic. But importing the time/tzdata would also solve the issue.
What do you see?
panic: invalid timezone specified or format not supported. Use IANA timezone format (e.g. America/Sao_Paulo): unknown time zone Europe/Zurich

What do you expect to see?
No panic.
List the steps that must be taken to reproduce this issue
Set maintenance.timezone = "Europe/Zurich".
Version
5.12.0
Additional information
No response

I think I'd prefer going the import route if it does fix the issue

@salim-b could you give it a try with the new latest image?

@TwiN latest image works fine without manual tzdata install. 👌


ref(*): Unfify all osm control pane pod names as one constant

Description:
Remove duplicate references of osm control plane pod names by creating a
constant and updating all code to use this.
Signed-off-by: Sneha Chhabria<EMAIL_ADDRESS>Affected area:

Functional Area

New Functionality
[ ]

CI System
[ ]

CLI Tool
[ ]

Certificate Management
[ ]

Control Plane
[ ]

Demo
[ ]

Documentation
[ ]

Egress
[ ]

Ingress
[ ]

Install
[ ]

Networking
[ ]

Observability
[ ]

Performance
[ ]

SMI Policy
[ ]

Security
[ ]

Sidecar Injection
[ ]

Tests
[ ]

Upgrade
[ ]

Other
[X]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? no

Did you notify the maintainers and provide attribution?

Is this a breaking change? no

Codecov Report

Merging #4172 (46a852e) into main (9574661) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #4172      +/-   ##
==========================================
- Coverage   69.86%   69.82%   -0.04%
==========================================
  Files         212      212
  Lines       11583    11583
==========================================
- Hits         8092     8088       -4
- Misses       3438     3442       +4
  Partials       53       53

Flag
Coverage Δ

unittests
69.82% <100.00%> (-0.04%)
:arrow_down:

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

Impacted Files
Coverage Δ

cmd/osm-bootstrap/osm-bootstrap.go
32.20% <ø> (ø)

pkg/k8s/events/events.go
66.17% <ø> (ø)

pkg/crdconversion/crdconversion.go
71.42% <100.00%> (-4.09%)
:arrow_down:

Continue to review full report at Codecov.

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


Update Travis CI to test latest node LTS versions.

This library is only running tests in older node.js version. We might want to update the docs and readme to only support Node.js and greater going forward. @ErisDS I can update this PR to make those changes as well if you would like.

Closing and just putting this in one PR with a few other fixes


[eCBIS] Add the CarePlan Generation for CHILD family members.

Is your feature request related to a problem? Please describe.

If a family member who is  is < 5yrs old is registered then generate a Child Routine visit CarePlan and the routine visit Tasks

Describe the solution you'd like

[ ] If a family member who is < 5yrs is registered generate a Child Routine Visit CarePlan off the base CarePlan defined here.
[ ] Also define Child routine visit tasks based on the CarePlan above. The Tasks base can be found here.
[ ] The task generation should follow the following rules.

[ ] A task should be generated for every month starting from the 1st day after the month of registration i.e if a child is born on the 20th of March the task generation should be generated starting the 1st of April. The total number of tasks should be 60.

All the tasks at this point should have the status Requested

[ ] Each task should last 30days before it expires i.e the start & end date should be 30days apart.
[ ] On clicking each task the form linked using the reasonReference attribute should be opened
[ ] A task should only become Ready  and activated on the `start date of the task.
[ ] The tasks should remain Ready  and open until it's due if this is before its end date.
[ ] If a Task is 1 day past its end date then the Task status should be updated to failed
[ ] Once a task is completed the status should change to Completed

Status summary

Requested : Immediately the tasks are generated. They move from this state only when the date today is == the start date.
Ready : This is a task that has both it start date & end date with in the 30days and hasn't been completed.
failed : This is a tasks whose end date is -1 of the date today.
Completed : This is a task that has been completed.

This tasks are to be displayed in the UI here

@dubdabasoduba Kindly add to the checklist items the action that should be performed to complete the task.

Actions checklist

[ ] Generate a CarePlan for each patient < 5yrs old

[ ] The count attributte here should be a calculation of patient_date_of_registration - patient_date_ofbirth in month then 60 (total_number_of visits) - (patient_date_of_registration - patient_date_ofbirth)

[ ] The outcomeReference should be a JSONArray referencing the Tasks generated fr each visit.  The number of Tasks generated should and the count calculated above.
[ ] The CarePlan active status should be marked as complete if no referenced Tasks have the status = Requested or status = Ready
[ ] The Tasks lastModified should change when a Tasks changes status.
[ ] The Tasks completed should be set after the Questionnaires provided here are filled.

@ellykits @dubdabasoduba the PR https://github.com/opensrp/fhircore/pull/1174 fixes part the ticket where it generates CarePlan and tasks via StrutureMap. A StrcureMap/105121 is created on server as well.
Fhir allows CQL/StrctureMap  as scripting language for dynamic data generation and considering the urgency, I have used structure-map approach instead cql. The https://hl7.org/fhir/plandefinition.html transfom part allows this, and the library allows cql. We can add cql handling once we are done with demo.
Some changes to give model into files

identifier -> not added as it is uuid and 'id' is serving this purpose
description in task is not needed and can not be made dynamic via fhir-path(would look into it again)
authoredOn -> date when it is running instead of picking patient registration date from patient

TASK

requester and owner -> do we need both, added although
scheduledTiming ->  date when it is running instead of picking patient registration date from patient
timing.event is not added as we do not have specific dates rather it is dynamically generated

description in task is not needed and can not be made dynamic via fhir-path(would look into it again)

We need this because this is what we show as the task name on the tasks display.

Is the CarePlan created on registration?

Yes, @pld Sorry I missed this before.

This is already on the configuration refactor PR @dubdabasoduba to link the PR


Use only secure protocols for SSH

Issue #, if available: It is noticed that the SSH server supports the following weak KEX algorithm(s):
KEX algorithm                                        | Reason
diffie-hellman-group-exchange-sha1 | Using SHA-1
diffie-hellman-group1-sha1                  | Using Oakley Group 2 (a 1024-bit MODP group) and SHA-1
Impact: An attacker can quickly break individual connections.
A nation-state can break a 1024-bit prime.
Millions of HTTPS, SSH, and VPN servers all use the same prime numbers for Diffie-Hellman key
exchange. Practitioners believed this was safe as long as new key exchange messages were generated
for every connection. However, the first step in the number field sieve-the most efficient
algorithm for breaking a Diffie-Hellman connection-is dependent only on this prime.
Description of changes: Specify sha256 for KEX Algorithms
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Hi @ravisinha0506 ,
which would be the amount of time interval for reviews?
KR,
Sorin

Change seems reasonable, but I don't think we should configure this sort of thing separately from Amazon Linux. It's easy enough for users to do in their user data if it's necessary for their use case; but I'd probably recommend SSM over SSH anyway.


Chrome Cast Detection Issue

Changes Done By Me:-
Using UndetectedChromeDriver Version 3.0.3
Remaining things are still the same.
Reason for upgrade to 3.0.3 was getting issue that chrome driver version is only supported for chrome 85 with 2.2.7
Problem:-
After video loads , the chrome is able to detect option to cast videos.
Note:- I am on a vpn and also using proxy. But how is chrome managing to detect it.
Anything am missing here?

I'm not sure if I understand clearly what you are saying. And I am using undetected chrome driver v2.2.7 without any problem with v92 chrome. Also script use v1 undetected chrome driver just to modify chrome driver nothing else. Their v1 code is unchanged between v2 2.7 and v3.0.3

What i wanted to say was that am using the python script as mentioned in description with only change being the version of chrome driver.
Now the isssue i am facing is this , I am connected to a vpn. I run the script with few no of proxies defined , chrome launches and videos start playing. But chrome starts showing option to cast those videos and also shows the devices available.
So i am worried that chrome/yt is somehow detecting me,considering am on a vpn ideally chromecast devices shouldn't have shown.
Or is it ok that chromecast thing coming up?

are you on wifi ?
read this page:
https://www.google.com/chrome/privacy/
and how do you managed to use uc 3.0.3 without getting kicked by selenium upgrade ?

@ignisc4t  Yes am on wifi.
I just went did pip uninstall / install of latest undetected chrome driver that's it.I don't know why it didnt ask for selenium upgrade.
The link you shared is a huge generic doc of google, do you have something specific to which i should read in it.
Considering you have understood my issue , any idea why it happens and do you face it to.
Also any solution for it,if any?

@ignisc4t Yes am on wifi.
I just went did pip uninstall / install of latest undetected chrome driver that's it.I don't know why it didnt ask for selenium upgrade.
The link you shared is a huge generic doc of google, do you have something specific to which i should read in it.
Considering you have understood my issue , any idea why it happens and do you face it to.
Also any solution for it,if any?

hmmm, gotta bump this one up again. I was going t sleep, but this one make me grab another up of coffee, again.
try find someting about tracking, etc on that page. I just went down to solved #47 and wannna add some test again.

this is what I'm talking about:
ERROR: Cannot install -r requirements.txt (line 23) and selenium==3.141.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested selenium==3.141.0
    undetected-chromedriver 3.0.3 depends on selenium==4.0.0b4

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
(t2) PS D:\z>

check these articles :
ref 1 : https://securityaffairs.co/wordpress/117933/digital-id/fingerprinting-technique-scheme-flooding.html
ref 2 : https://fingerprintjs.com/blog/external-protocol-flooding/
ref 3 : https://github.com/fingerprintjs/external-protocol-flooding
test page https://schemeflood.com/

@Scool786 hi, if you use python version, try add this
chrome_options.add_argument("--disable-cast")
chrome_options.add_argument("--disable-cast-streaming-hw-encoding")

maybe it will fix your cast problem.

Thanks @ignisc4t  for the solution ,have added the arguments suggested for disabling the flags in crhome instances


Tags from note body are overided when tags field exists in frontmatter

When tags exist in frontmatter, body, and dataview fields

HTML at this time
Unity (game engine)

When frontmatter is removed

HTML at this time
Unity (game engine)

SuperchargedLinks version is 0.3.1, Obsidian version is 0.12.15
Target attributes are tags, Parents, Topics, Status and all settings are turned on
Thanks for taking a look at this!

That's a good point, I wasn't aware it did the same with tag. I'll think about it


Adjust amount of spans in resolvers

I want to merge this change because of adjusting the amount of spans in resolvers.

[ ]  Accounts
[ ]  App
[ ]  Attribute
[ ]  Channel
[ ]  Checkout
[ ]  Core
[ ]  Csv
[ ]  Discount
[ ]  Giftcard
[ ]  Menu
[ ]  Meta
[ ]  Order
[ ]  Page
[ ]  Payment
[ ]  Plugins
[ ]  Product
[ ]  Shipping
[ ]  Shop
[ ]  Translations
[ ]  Warehouse
[ ]  Webhook

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-2980 OpenTracing - Adjust amount of spans generated


[Question] Setting up SSL to work with the API

Hi all,
Appreciate all the hard work ya'll have done to resurrect these things. Is there any documentation or guidance on working with the SSL certs for this API? I have another Pi running a python flask server and I'd like for that Pi to be able to hit the feeder service API but I'm having issues figuring out how to set up the SSL certs. When trying to talk to the feeder service API I get an error due to the self signed certificate:
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate
I'm not very familiar working with these SSL certs and Python is not the language I typically work in.
Thanks!

Yah, unfortunately FastAPI only supports serving itself on a single port and the feeder only communicates when it can do a TLS handshake. The handshake doesn’t have to contain a trusted certificate… but some certificate does have to be there. For this reason we just default to generating a self-signed certificate.
You can configure your own certificates if you want and FeederNet will gladly use them. Otherwise, your only other options would be to grab your self-signed public key and explicitly trust it in your client or disable SSL validation in the client.
If you want to share more specifics about how your client wants to call our API, I can probably give you more practical advice.


[CP][beta channel] Fix for possible heap corruption

commit(s) to merge: 1e114a88d069d2bd7101ad3f5f68e4bd4612bc17
merge instructions: Clean merge.
What is the issue: C++ code that uses a SafepointRwLocker in a scope that contains a return statement (and the function returns a raw object pointer) can cause heap corruption if the destructor is forced into a slow path and GC happens.
What is the fix: Refactor SafepointRwLocker to guarantee no safepoint transition can happen in the destructor.
Why cherrypick: It can cause heap corruption and therefore undefined behavior.
Risk: Low.
Link to original  issue(s):

b/176441206
https://github.com/dart-lang/sdk/issues/44998

/cc @kevmoo @mit-mit @whesse @athomas @vsmenon @franklinyow @mraleph

I support cherry pick due to severity of the issue. Flutter users will experience it as random crashes in development and testing.

lgtm

lgtm

@whesse
Please start a new build with this new CP

Beta build started with this cherry pick.

in .15


In Edit mode, add a new button 'Back'. When a user click on this button it will redirect to List page

finished


vmservice should not ignore exceptions when writing to the devfs

We've recently spent some time diagnosing a hot reload error on fuchsia. The underlying problem was: OS: ERROR 28 no space left on device. However, the devfs does not return a status code or error message indicating the failure. To verify this, we had to rebuild the vm_service with logging and print statements to confirm the issue.
For example, regardless of exceptions we respond with 200 OK.
https://github.com/dart-lang/sdk/blob/master/runtime/bin/vmservice/server.dart#L285
The actual failing call was in addStream from the devfs, but it wasn't caught or handled in anyway, leading to an unresponsive app.
https://github.com/dart-lang/sdk/blob/master/runtime/bin/vmservice/vmservice_io.dart#L153
https://github.com/dart-lang/sdk/blob/5721d8af6d8755fa6f70f3951de2c451c57bf12f/sdk/lib/vmservice/devfs.dart#L128

cc @chingjun

devfs should be removed. It has nothing to do with introspecting the VM, and it does not belong in the VM service.

devfs should be removed. It has nothing to do with introspecting the VM, and it does not belong in the VM service.

@rmacnak-google should we consider removal of DevFS from the VM service rather than spend time on a fix here? What exactly relies on DevFS currently?

Friendly bump, @rmacnak-google

Do we just want to response with a generic error code and the exception message or do we want to actually return specific error codes (e.g., 507 for insufficient storage)?

I strongly suspect we would treat all non-200 error codes the same (toolExit), but would probably display the response text (if provided) in an error message.


Add WorkerStateManager for RedisStateManager

Description
Implements WorkerStateManager trait for RedisStateManager. Adds API hooks for worker-driven updates to operation state.
Requires: #1020 #1021
Type of change

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

Checklist

[x] Updated documentation if needed
[x] Tests added/amended
[x] bazel test //...  passes locally
[x] PR is contained in a single commit, using git amend see some docs

This change is

Changes merged in #1023


Signature assignability doesn't check for Function-conflicting properties

declare const f: { (): number, length: string, call: number };
function useF(g: () => number) {
  g.call(g.length)
}

Expected behavior:
f is not assignable to g because its length and call properties are not assignable to Function.length and Function.call.
Actual behavior:
No error. Typescript's signature assignability check ignores Function properties.

Looks like no one has really hit this.


fix: Fixed inconsistent text and remove extra padding in the home buttons

fix issue #251
Made both text  in a same consistent format and removed the extra left-right padding present in the buttons
before:

after:

kindly consider my PR. Thanks

@Its-Aman-Yadav resolved the merge conflicts . kindly consider accepting the PR.

Thank you once again @souvik-maity