NEW FUNCTION: Send_Alerts.py - Send_All_Messages()

See workflow 2 - While Loop
This function(s?) should take in messages, record_ids_to_text, pg_connection_dict, and redCap_token_signUp & both Twilio tokens
then it will query REDCap for the record_ids' (from record_ids_to_text) phone numbers, message them their respective messages, and update our internal database with +1 to messages_sent and last_messaged = CURRENT_TIMESTAMP <- make sure it's in Central time

Incorporated REDCap into script b6e2e5d

Notebook created to test Twilio functions. Minor tweaks (not yet added to scripts) but everything works
f14a8a5
Need to verify toll-free number to send URL

blackhat-hemsworth finished up version 1 798f90d9cb6485674efdc8bed26a7de655808ee8
RwHendrickson cleaned up and incorporated into main 8aedffd
Will let it run for a day to see if we encounter any errors

The toll-free number is a bit of a headache. Waiting on verification, but they say that these numbers are not really for developers. The number works now so long as a URL is not sent, so worst case we can do this without linking to PurpleAir/the report.
Twilio doesn't really offer any other options for developers at the moment, so we will just have to wait and see.
Putting links here for future reference:
https://www.twilio.com/blog/developer-guide-to-toll-free-verification

Toll-Free Verification Approved!
Whoa, wish I would've documented what I wrote. From memory, I remember I just put in my personal information and said we would be making brief Public Safety Announcements with a URL...
@blackhat-hemsworth do you think we're good to close this issue? Most of the other Twilio stuff I can think of probably condone creating a new issue, but would love to hear your thoughts!

let's go!!
I would say close this one, open a new one if any bugs come up & open a new one/two/three/etc. for those weirder functions like if we need to delete / scrub messages after people unsubscribe, or end up doing something with scheduled messages

Whoo!! Alright sounds good! Thanks so much again for your help
The Twilio scrub function is actually already written (I snuck it in sometime last week) but the new issues I can think of (besides scheduling messages) are: webhook for responding to calls, personalized unsubscribed message, and applying for the impact access program as an Unregistered social impact initiative.
Non essential, tho. Yes, I think focus on some of the other stuff until an issue arises!
Go team!!


.NET Core May Update

.NET Core May Update is available. This release includes:

ASP.NET Core 2.0.8
.NET Core SDK 2.1.200

Included fixes address CVE-2018-0765: .NET Core Denial Of Service Vulnerability
Please report any issues you find with this release, either responding to this issue, creating a new issue or creating a new issue in one of the following repos:

dotnet/cli - for CLI tools and questions
dotnet/corefx - for API issues and questions
dotnet/coreclr - for runtime issues
dotnet/core-setup - for installer issues
nuget/home - for NuGet questions and issues

Closing in favor of the latest updates: https://github.com/dotnet/core/issues/1765


Add PID_ID2 to YCM include path.

Commits in this PR

Add PID_ID2 to YCM include path.


Self referential link?

https://github.com/NCATSTranslator/TranslatorTechnicalDocumentation/blob/e006d5106916be105327ea5cd7d1bab180ba1ddb/docs/development-guide/index.md?plain=1#L20
It appears that the "Architecture overview page" link just directs to the page that link is on. Was it intended that it link somewhere else?

Resolved by commit #ca63516c5c


Request to allow start, scheduled and due dates on tasks to support ranges

⚠ Please check that this feature request hasn't been suggested before.

[X] I searched previous Ideas in Discussions didn't find any similar feature requests.
[X] I searched previous Issues didn't find any similar feature requests.

🔖 Feature description
From the original multi-topic #1582

It takes too much cognitive load to choose a specific day and set a date for it. When you don't know if you want to do it exactly on this day. Also you get overdue pretty quickly, when you just want to tackle 20 tasks this week, but you don't know on which day you do most.

✔ Solution
Allow the date values in individual tasks (start, scheduled, due) to be ranges.
So users are able to write something like "2023-W04" into due, scheduled or start dates instead of "2023-01-25". They are now ranges, or more like I want to set it to this week.
❓ Alternatives
No response
📝 Additional Context
This originated from #1582.

There is a counterpart to this - #1613 - which is about enabling date searches to support searching inclusive date ranges.
That feature has been requested mutliple times, in different ways, and so is a much higher priority than this one.
Working out how this would interact with searching for date ranges would also need a lot of care and thought, and require a lot of effort on documentation to make it clear.

An alternative approach might be to make it easier to defer tasks.

There is a counterpart to this - #1613 - which is about enabling date searches to support searching inclusive date ranges.

I guess the counterpart for this is #1621...
Counterpart for #1613 would be setting dates in the fields like this month. Do you think it is worth doing that? Separate issue?

From me in https://github.com/obsidian-tasks-group/obsidian-tasks/issues/1582#issuecomment-1411634694:

On reflection, I think the design of this plugin for scheduling to work on a task over a date range, like a week, was to use start and due dates.

I have mulled this over, and I feel that making the start, scheduled and due dates support ranges would be a bad idea for several reasons:

Partly it's major complication for the documentation, explaining the interaction between ranges on tasks and in queries
I am pretty familiar with a lot of the requests for this plugin, and this is certainly not something that has any significant demand for
It's a significant complication in the Tasks code that we will keep paying for, forever, in more complicated code to maintain. This alone would clinch it for me.
But mainly, other task-related plugins have been adding support for reading Tasks emoji format. If we make Tasks support date-ranges on fields, we are adding yet more work for others who want to support the same format. And then expecting them to also support properly date ranges on fields.

I feel strongly that the right answer is to spend the time that this would take on instead making it easier to rescheduled the existing Start, Scheduled and Due date fields - for which there have been many requests.

Very clear, thanks!


Adds an override flag to allow for evaluation of items on page load

Currently if a trigger point is within view on page load it will not execute until the user scrolls. Adding this flag allows the user to call scrollfire like:
Materialize.scrollFire(options, true);
This way if they know a trigger point may possibly appear above the fold it will still get fired.

+1


Add a “Save for Later” feature

I think the save for later feature is actually just adding a secondary Micropub endpoint and token.
My current thinking outlined hypothetically using Aperture’s Microsub features is the following:
~Configuration and Saving~

~I go to the settings screen and I configure “Save for Later”~
~I enter a Micropub endpoint and an access token for that endpoint. In this case, the Micropub endpoint is built into Aperture and targets a specific channel, in my case one called “Saved”.~
~I enter the Micropub endpoint that I want to log in to for Save functionality. The IndieAuth flow authenticates and fetches the authentication details and saves them to be used with IndiePaper (or other future read parsing services in the future, including a private IndiePaper instance if someone has one).~
~I’m on a URL and I click “Save for Later”.~
~Indigenous parses the url for Data~
~Indigenous creates a Micropub request~
~Indigenous sends the Micropub request to the save for later endpoint~
~Indigenous sends the save for later authentication along with the url to save to IndiePaper~
~Aperture creates the new post entry in the “Saved” channel.~

Configuration and Saving options are replaced by the IndiePaper iOS app.
Reading

I open the “Saved” Channel, and read Saved posts.
I can configure the "Saved" channel to cache posts for offline reading. (https://github.com/EdwardHinkle/indigenous-ios/issues/64)
The Saved channel has a filter that only displays posts that are marked as “Unread”. (https://github.com/EdwardHinkle/indigenous-ios/issues/90)
When I finish reading a post, it will be marked as unread and thus disappear because of my filters.

(Ideas unrelated to Indigenous itself: Other services can also use the Saved channel and the read/unread status to do smart things like sending a digest of my most recent unread posts from the Saved channel to Kindle, etc.)

This is a really cool idea. I think there's some good potential here, gonna need to think about this some. I'm hoping to make some more progress on this this week.

@aaronpk @cleverdevil I'm not sure that adding native support in Indigenous for IndiePaper is the right step now. With https://github.com/cleverdevil/Indiepaper-macOS/pull/3 and the fact that every url in Indigenous allows you to open a ShareSheet, it doesn't make as much sense to me to bundle IndiePaper when IndiePaper (and other future services) can just have their own app in the Share Sheet.
Any thoughts for or against that train of thinking?
I think the only real outcome of this item would be being able to select a channel to have offline caching of posts.

I like the idea of just relying on the share sheet. Less hardcoding of apps!

I'm going to close this issue and consider it done based on the notes above.
The remaining issues are tracked in the following issues:
Caching Timeline Posts for Offline Reading (https://github.com/EdwardHinkle/indigenous-ios/issues/64)
Filtering a channel to only show unread posts (https://github.com/EdwardHinkle/indigenous-ios/issues/90)

I totally agree! Share sheet via a native app extension is actually better than hardcoding it into Indigenous!

On Jul 11, 2018, at 6:39 PM, Edward Hinkle<EMAIL_ADDRESS>wrote:
@aaronpk @cleverdevil I'm not sure that adding native support in Indigenous for IndiePaper is the right step now. With cleverdevil/Indiepaper-macOS#3 and the fact that every url in Indigenous allows you to open a ShareSheet, it doesn't make as much sense to me to bundle IndiePaper when IndiePaper (and other future services) can just have their own app in the Share Sheet.
Any thoughts for or against that train of thinking?
I think the only real outcome of this item would be being able to select a channel to have offline caching of posts.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


added version 2.4.2

Dear maintainer,
This PR adds a Dockerfile for GDAL version 2.4.2. I am currently building the file on my machine and will test it locally and manually.

Thanks @tssmits It looks good to me. Did you test it locally? I can merge this PR but I can not upload to Docker Hub until the end of August because I'm on holidays and with a proper computer.

I've done ogrinfo --version and a simple test of ogr2ogr locally, and everything seems to function normally. Enjoy your holidays! :)

Thanks!


第一章简介#数据结构链接404

这里^Tag点进去404

Thank you @collabH!
Dear @cooper-lzy,
could you help check this?
https://docs.nebula-graph.com.cn/2.0.1/1.introduction/2.data-model/
Does it seem the hyperlink is not intended?
Thanks!

update: It's already fixed thanks @cooper-lzy :-).
Thank you @collabH  again!


[CoinView] steps needed for core way of syncing activation

Following changes are required for the activation:

Ensure rewind data is not aggregated (1 block per rewind data) while still saving those in batches.
Rewind method should accept blocks being disconnected.
Remove some fields from rewind data that we can get from the block being disconnected.
Change signaling from Block to ChainedHeaderBlock.
Signal on block disconnected in ConsensusManager when block is disconnected and use new Rewind method that accepts blocks that are being disconnected.
Update CM tests to test the new logic.

This means no backwards compatibility to existing store right?


Stop package-lock from changing when workspace starts up.

The package-lock.json file changed again in #187 even though the --no-save flag is used. The reason is because the package.json allows for any version higher than the stated version, so once a new version of a package becomes available, running npm install --no-save will still result in generating a new package-lock.json file with the new version.
More details in this StackOverflow post.
We could fix this by updating all of our versions to not allow higher versions...


Refactoring

Checklist
Common

[ ] I am ran the app before creating PR
[ ] I am ran all tests before creating PR

UI

[ ] I am ran the app for visual checks.

Logic

[ ] I am tested basic app functionality.

Changes
Describe all changes here:

First;
Second;
Third;
...

Comments
Describe all additional information here.

I don't have time to support the application, so the edits are unfortunately not relevant.


utils.py issue line 303 list index out of range

i run train.py follow your readme.txt ,and the dataset are conll2003 shared,it has two columns , the element are words and BIOtags. And then run the train.py ,there is an error called IndexError: list index out of range.  Is it because the columns of my dataset is 2,and the eng,train that you shared is 4?Can you tell me the reason?Thank you very much.

@PCR11 I had a similar problem. Can you debug and confirm that eval_lines is empty? And check which of the evaluation files is empty. I was getting this problem with the scores file being empty because the conlleval script was throwing an exception. In my case the exception was due to, for some lines, there were more tokens in a single line than it was expected. For an example, if you have only BIO tags, then you would have only a token and a tag for each line. You may have a tokenization problem and have more than one token per line. This was my problem.

Thank you very much for answering my question,this problem has been solved. it is because my conlleval permission is denied. and then i get another problem,FileNotFoundError: [Errno 2] No such file or directory: './evaluation/temp/eval.XXX.scores',it always lose a score file, but this file is automatic generated.
Because there always error,so the follow is my best score:
accuracy:  87.61%; precision:  45.42%; recall:  32.18%; FB1:  37.67
LOC: precision:  46.43%; recall:  46.05%; FB1:  46.24  1822
MISC: precision:   0.00%; recall:   0.00%; FB1:   0.00  0
ORG: precision:   0.00%; recall:   0.00%; FB1:   0.00  2
PER: precision:  44.68%; recall:  57.87%; FB1:  50.43  2386
Dataset i used were the author shared,eng,train,eng,testa,eng.testb
Can you help me ? Thank you very much!

@glample
@pvcastro

@PCR11 , when are you getting this score? Is this only for the first batch of the first epoch? Did you check if you got a XXX.score and XXX.output for both dev and test sets? Try debugging to see when exactly you are getting this error, and inform here, please.


Writer failures causes table to become unqueryable

Bug Description
When the writer fails, the table is no longer queryable.
How To Reproduce
-- Trigger writer error
CREATE TABLE t (a numeric(30,30)) USING parquet;
insert into t values (0.01);
ERROR:  Precommit callback failed: Delta(Arrow { source: ParseError("parse decimal overflow") })

-- Now try to query table
SELECT * FROM t;
ERROR:  Failed to get public.t

Proposed Fix

Closing these as we're archiving this repository for good


Can't load search results

Hello,
I am trying to implement the Google Places Autocomplete API sometimes I am able to get location list but sometimes I get "can't load search results" message. Even I tried the demo app there also I have the same issue. Can you please help whether I am missing any configurations or what I am doing wrong.
Thank you

Please post debugging questions to our StackOverflow tag. Thanks!
https://stackoverflow.com/questions/tagged/google-maps

I am having the same problem. Can anybody share a solution

you must have a billing account in google play console ..

you must have a billing account in google play console ..

For testing the places api should we need to add billing account ?
For me in the onerror method of setOnPlaceSelectedListener the status message is null and status code 16.

I am getting the same error but I am having billing account.

Go to Google Cloud Platform -> Credentials and restrict API key


Develop contributing guidelines

To comply with community best practices we should provide a clear and comprehensive contributing guidelines.

@kool-dev/core-members - should we add in a Contributor License Agreement? https://cla-assistant.io/ helps with that.

Contributing guidelines have been loosely defined in a new file on #55 and #249
Closing this for now.


Change audio preset encoding to m4a

Not sure about this, so please feel free to close if ByDesign, but when passing a preset of 'audio', the resulting file definitely has only the audio stream, but is currently still saved as .mp4.  I'm assuming it's still a legal mp4 file even without a video stream in it, but having it still named .mp4 can cause a bit of confusion, where either saving it as .m4a or supporting a 'mp3' preset that saves it as .mp3 (since it already requires ffmpeg) might be a more user-friendly result?
VLC's 'codec' description of the file in case it's of any use:

Thanks for such a great program!  Can't wait for playlist support!

Hey @jamesmanning, thanks for the feedback! I actually do not have a particular preference as to which encoding it uses. The reason I have audio as mp4 is because that's exactly what YouTube provides, so audio is really the raw audio from their servers. There is however a self-titled preset for mp3 that does exactly what you want.
I'm open to changing the encoding of the audio preset, I can try m4a later today and will get back to you!

I'm in the process of updating the presets to use videoIn,audioIn,videoOut, and audioOut instead.  Check out the new presets.json for the mp3 example. It's not yet implemented, but it should allow us to have more control over post-download manipulation.

FYI this will soon be resolved after I implement the CLI feature of Pully 2.0!

This is now closing in favor of #3 (which is also now implemented)

@jamesmanning If you are still interested in using pully the mp3 preset should be right up your alley! Also regarding playlist support, pully will always be just a downloader, but pully-server will watch and download new videos added to channels/playlists. I'm currently doing some smoke tests with un-committed code at the moment. It should be out by the end of the week!


Feat: Caching options for stateless environments

" The tricky part is usually persisting the Dagger Engine's cache when it runs in ephemeral worker machines - which is usually the case in CI. Buildkit supports a variety of backends for this: docker registry, S3, etc. In Dagger 0.2 you can control these settings. See https://docs.dagger.io/1237/persistent-cache-with-dagger
In cloak (aka future Dagger 0.3), these configuration settings are not yet available, but we plan to. It's just waiting on a few core design decisions. "  - https://discord.com/channels/707636530424053791/1030539780297072710/1031813176582492171
Context:
User request from https://github.com/dagger/dagger/discussions/3359 and https://discord.com/channels/707636530424053791/1030539780297072710/1030539780297072710
User Time-sensitive Context:
davidwallacejackson would like this for their hackaton starting on Oct 24th since the company would really like to see this as part of the POC that they are working on.

Going to close since we are moving to a solution proposal in #3965


Feeds are not removed

So basicly feeds are not removed from db nor from disk. FEED_SIZE option takes not effect at all. I achived some success to remove them from db, maybe will add to next pull request. But its still a problem that they are not removing from disk. Ive already tried to change data folder in compose file to default seems no effect. Its not about r/w rights.

Hmm, a bit busy in the coming days but will try to take a look over the weekend or next week. Thanks for the report!

I think I got it! 🙂 But Ive also noticed that number of inital fetched feeds are not the same as in INITIAL_FEED_SIZE. Thet are lower. Need to dig in a little bit. Will create another issue and if have some time research it!

Fantastic work! Merged and released https://github.com/aigoncharov/telegram-to-rss/releases/tag/v0.4.1


Stuck on Queued

I have installed TRAM locally, and have uploaded three different reports to be analyzed. It has been almost 2 hours for the newest one of them and they all still have the status of Queued as shown below:

I've been monitoring logs of the container with no indication of progress or errors.

Hi @ralghamdi sorry for the delay in replying. When you run TRAM locally, you need to run this command in a separate tab:
tram pipeline run --model bert --run-forever &

That will run a background job that processes the reports. Please note that the BERT model is a bit slow when running on CPU (a few minutes per report) but the background process will display something in the logs when it starts processing a report.

Hello @mehaase.
When you run the program and upload the documents, their statuses are in the queue:

But when you run the tram pipeline run --model bert --run-forever & in the new terminal, the files show the Error status.

Error from the terminal:

Hi @hAnguyen1517. Are you running this locally? Did you download the BERT model? Step 9 in these instructions: https://github.com/center-for-threat-informed-defense/tram/wiki/Developers#developer-setup

Hello @mehaase . Thank you so much for taking the time to respond to my question.
Yes, I am running tram locally using VS Code. I downloaded the BERT model and completed everything in step 9 as well. But it still won't work, and we are having issues loading and processing in the queue; I wonder if others are having the same issues.

Can you please check that the following files exist in your installation and are approximately correct file size?
$ ls -lah data/ml-models/bert_model/
total 886352
drwxr-xr-x  5 mhaase  staff   160B Dec 19 15:34 ./
drwxr-xr-x  4 mhaase  staff   128B Aug 31  2023 ../
-rw-r--r--@ 1 mhaase  staff   395B Aug 31  2023 classes.txt
-rw-r--r--  1 mhaase  staff   2.7K Dec 19 15:34 config.json
-rw-r--r--  1 mhaase  staff   420M Dec 19 15:35 pytorch_model.bin


sbatch has to be run with the --nodes argment

if it is not given inside the jinja template or the process section of the yaml file we end up in a situation where sbatch might be run without nodes. In the best case this will cause a batch script script to fail. In the worst case a batch is submitted that does allocate the right number of nodes but the environment does not set set the correct number of nodes.

Also, right now, the only way to run with sbatch is actually to set the number of nodes in an sbatch job is via the process/sbatch/nodes configuration inside the campaign file. This would however force all sbatch jobs to have the same number of nodes. For running on different uc's this will not work very well.

Actually.. this is something that we had already thought of - it should be implemented through a special "sbatch" key inside the benchmarks section in campaign.yaml under a tag. The implementation is missing though.

this is done


Live-coding app

Goal
Demonstrate the simplicity of developing apps for the Q platform (RAD).
Not intended to be pushed as the primary way of developing apps.
Implementation
Split-screen app. Code on LHS, preview on RHS. Similar to tour.py.
Saving code reloads/re-runs app and updates preview.

Closing as resolved by Wave Studio.


Plex Cloud Connection

tasks:
  watchlist:
    priority: 1
    plex:
      section: F1
      server: '***.ric.plex.services'
      selection: all
      token: ***
#      username: ***
#      password: ****
    accept_all: yes
    seen: local
    list_add:
      - movie_list: watchlist

i just get

root@vps****:~/flexget# flexget execute
2017-03-18 19:14 WARNING  manager                       Your locale declares ascii as the filesystem encoding. Any plugins reading filenames from disk will not work properly for filenames containing non-ascii characters. Make sure your locale env variables are set up correctly for the environment which is launching FlexGet.
2017-03-18 19:14 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2017-03-18 19:15 WARNING  requests.packages.urllib3.connectionpool                 Retrying (Retry(total=0, connect=None, read=None, redirect=0)) after connection broken by 'ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x7f416494dc50>, 'Connection to .ric.plex.services timed out. (connect timeout=30)')': /library/sections/?X-Plex-Token=*
2017-03-18 19:15 CRITICAL plugin        watchlist       Error retrieving source: HTTPConnectionPool(host='*****.ric.plex.services', port=32400): Max retries exceeded with url: /library/sections/?X-Plex-Token=**** (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x7f416494dd50>, 'Connection to ******.ric.plex.services timed out. (connect timeout=30)'))
2017-03-18 19:15 WARNING  task          watchlist       Aborting task (plugin: plex)

flexget -V
2.10.17
anyone know some help?

ok, got it, have to add
port: 80

Any chance you could update the wiki with that?

@liiight
https://flexget.com/Plugins/plex
edited

but pls take a look into
https://github.com/Flexget/Flexget/issues/1744


WIP: eh_frame: Full table generation

Some outstanding issues:

PCs (Locs) are wrong
$rbp offsets are missing
probably more 😬
- Crash on libc (/lib64/libc.so.6)

Signed-off-by: Francisco Javier Honduvilla Coto<EMAIL_ADDRESS>

Merging it and will send the investigation changes on top of it. :laughing:


Iterator implementations doesn't adhere the standard iterator patterns

I found that current iterator implementations don't adhere the standard iterator patterns:

const_iterator::reference and const_iterator::pointer should be const T& and const T*, rather than T& and T*.

Also, member types const_iterator::const_reference and const_iterator::const_pointer aren't needed at all, they don't exist on standard iterators.

iterator::operator*() const and iterator::operator->() const should return T& and T*, rather than const T& and const T*.

Also, non-const operators for these (i.e. iterator::operator*() and iterator::operator->()) aren't needed at all, since they don't update the iterator itself.

These make current implementations fails check with the standard iterator concepts.
// static assertion fails for these and more
static_assert(std::bidirectional_iterator<bn::list<int, 3>::iterator>);
static_assert(std::bidirectional_iterator<bn::list<int, 3>::const_iterator>);
static_assert(std::bidirectional_iterator<bn::intrusive_list<int>::iterator>);
static_assert(std::bidirectional_iterator<bn::intrusive_list<int>::const_iterator>);
static_assert(std::bidirectional_iterator<bn::unordered_map<int, int, 3>::iterator>);
static_assert(std::bidirectional_iterator<bn::unordered_map<int, int, 3>::const_iterator>);
static_assert(std::random_access_iterator<bn::deque<int, 3>::iterator>);
static_assert(std::random_access_iterator<bn::deque<int, 3>::const_iterator>);
...

Most of the time, current implementation work without issues, but when wrapped with std::reverse_iterator, some things start to break.
For example, you can't use some of the member functions in the reverse iterators:
#include <bn_core.h>
#include <bn_list.h>
#include <bn_log.h>
struct Int {
    int num;
    Int(int num_) : num(num_) {};
};
int main() {
    bn::core::init();
    bn::list<Int, 5> list;
    for (int i = 0; i < list.max_size(); ++i)
        list.emplace_back(i);
    for (auto it = list.crbegin(); it != list.crend(); ++it)
        BN_LOG(it->num); // `->` expects `const_iterator::pointer` to `const Int*`, but it's defined as `Int*`
    while (true)
        bn::core::update();
}

In file included from ../devkitPro/devkitARM/arm-none-eabi/include/c++/14.1.0/bits/stl_algobase.h:67,
                 from ../devkitPro/devkitARM/arm-none-eabi/include/c++/14.1.0/algorithm:60,
                 from ../butano/butano/include/bn_algorithm.h:16,
                 from ../butano/butano/include/bn_istring_base.h:16,
                 from ../butano/butano/include/bn_assert.h:133,
                 from ../butano/butano/include/bn_array.h:16,
                 from ../butano/butano/include/bn_span.h:16,
                 from ../butano/butano/include/bn_core.h:16,
                 from ../butano/test2/src/main.cpp:1:
../devkitPro/devkitARM/arm-none-eabi/include/c++/14.1.0/bits/stl_iterator.h: In instantiation of 'static constexpr std::reverse_iterator<_Iterator>::pointer std::reverse_iterator<_Iterator>::_S_to_pointer(_Tp) [with _Tp = bn::ilist<In
t>::const_iterator; _Iterator = bn::ilist<Int>::const_iterator; pointer = Int*]':
../devkitPro/devkitARM/arm-none-eabi/include/c++/14.1.0/bits/stl_iterator.h:280:22:   required from 'constexpr std::reverse_iterator<_Iterator>::pointer std::reverse_iterator<_Iterator>::operator->() const requires (is_pointer_v<_Iter
ator>) || requires(const _Iterator __i) {__i.operator->();} [with _Iterator = bn::ilist<Int>::const_iterator; pointer = Int*]'
  280 |         return _S_to_pointer(__tmp);
      |                ~~~~~~~~~~~~~^~~~~~~
../butano/test2/src/main.cpp:14:9:   required from here
   14 |         BN_LOG(it->num);
      |                  ^~
../devkitPro/devkitARM/arm-none-eabi/include/c++/14.1.0/bits/stl_iterator.h:424:32: error: invalid conversion from 'bn::ilist<Int>::const_iterator::const_pointer' {aka 'const Int*'} to 'std::reverse_iterator<bn::ilist<Int>::const_iter
ator>::pointer' {aka 'Int*'} [-fpermissive]
  424 |         { return __t.operator->(); }
      |                  ~~~~~~~~~~~~~~^~
      |                                |
      |                                bn::ilist<Int>::const_iterator::const_pointer {aka const Int*}
make[2]: *** [/opt/devkitpro/devkitARM/base_rules:34: main.o] Error 1
make[1]: *** [../butano/butano/tools/common_setup.mak:80: build] Error 2
make: *** [../butano/butano/tools/common_setup.mak:75: all] Error 2

Standard map and set iterators aren't bidirectional either, these asserts fail:
    static_assert(std::bidirectional_iterator<std::unordered_map<int, int>::iterator>);
    static_assert(std::bidirectional_iterator<std::unordered_map<int, int>::const_iterator>);
    static_assert(std::bidirectional_iterator<std::unordered_set<int>::iterator>);
    static_assert(std::bidirectional_iterator<std::unordered_set<int>::const_iterator>);

bn::list, bn::intrusive_list and bn::deque iterators need to be fixed, though.

However, I guess I can/should make bn::unordered_map and bn::unordered_set iterators bidirectional too.

After https://github.com/GValiente/butano/commit/c2b15b0230bc5f3b30372e22ee44f08b83d1180c, iterators comply with the mentioned standard concepts, but the example code still doesn't work:
    for (auto it = list.rbegin(); it != list.rend(); ++it)
        BN_LOG(it->num); // works

    for (auto it = list.crbegin(); it != list.crend(); ++it)
    {
        BN_LOG((*it).num); // works
        BN_LOG(it->num); // doesn't work
    }

With https://github.com/GValiente/butano/commit/a0ea493669b44c915bd263b2f4cafc7bd4d44b6e it should work.

It appears to be working now. :)
Also, I'm not sure whether the current forward iterators might cause issues, but it might be good to update these too, just in case.
static_assert(std::forward_iterator<bn::forward_list<int, 3>::iterator>);
static_assert(std::forward_iterator<bn::intrusive_forward_list<int>::iterator>);

Good catch, thanks.


SHIRO-701 - Update logback

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Shiro-pr/111/


Fix HTML escaping in playground.

HTML escaping the query string creates additional ampersand characters, so it has to be done after splitting on ampersand, not before.

Thanks!


Fixing a problem with Maxwell eqn qfluct. This seems to be a serious issue!

This is an issue with many complicated problems in which the EM field has all terms active. I have to revert back to the pre-MP-XX qfluct till I figure out why the Maxima generated code is not working.
Maxwell MP-XX will NOT WORK at present. Need to figure this out slowly and properly.

I believe I know what the issue is. The problem is that rescaled speeds need to be used in qfluct. At present it is impossible to do this. Hence things are failing. A bit scary and need to check all qflucts to ensure we do not have this issue everywhere.


ByteBuffer extension, prevent naming conflicts

Motivation
We currently extend ByteBuffer with non prefixed utility methods. This may lead to breaking code, if NIO introduces those utilities itself. As potentially planned here: https://github.com/apple/swift-nio/pull/1990
Changes
Prefix all ByteBuffer utility methods
Result
Chances reduced of breaking code.

Codecov Report

Merging #204 (8933a2e) into main (87cfca5) will increase coverage by 3.72%.
The diff coverage is 73.49%.

@@            Coverage Diff             @@
##             main     #204      +/-   ##
==========================================
+ Coverage   36.13%   39.85%   +3.72%
==========================================
  Files         115      115
  Lines        7788     7795       +7
==========================================
+ Hits         2814     3107     +293
+ Misses       4974     4688     -286

Flag
Coverage Δ

unittests
39.85% <73.49%> (+3.72%)
:arrow_up:

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

Impacted Files
Coverage Δ

Sources/PostgresNIO/Data/PostgresData+Double.swift
0.00% <0.00%> (ø)

Sources/PostgresNIO/Data/PostgresData+Float.swift
0.00% <0.00%> (ø)

...esNIO/Message/PostgresMessage+Authentication.swift
0.00% <0.00%> (ø)

...ces/PostgresNIO/Message/PostgresMessage+Bind.swift
0.00% <0.00%> (ø)

...es/PostgresNIO/Message/PostgresMessage+Close.swift
0.00% <0.00%> (ø)

...sNIO/Message/PostgresMessage+CommandComplete.swift
0.00% <0.00%> (ø)

...PostgresNIO/Message/PostgresMessage+Describe.swift
0.00% <0.00%> (ø)

...es/PostgresNIO/Message/PostgresMessage+Error.swift
0.00% <0.00%> (ø)

.../PostgresNIO/Message/PostgresMessage+Execute.swift
0.00% <0.00%> (ø)

...Message/PostgresMessage+NotificationResponse.swift
0.00% <0.00%> (ø)

... and 49 more

Continue to review full report at Codecov.

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

These changes are now available in 1.6.5


Error Installation

apex-music v0.1.0 (/var/tmp/pamac-build-alex/apex-tux-git/src/apex-tux/apex-music)
error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:74:31
|
74 |     type MetadataFuture<'a> = impl Future<Output = ResultSelf::Metadata> + 'a
|                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 https://github.com/rust-lang/rust/issues/63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable
error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:77:27
|
77 |     type NameFuture<'a> = impl Future<Output = String>
|                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 https://github.com/rust-lang/rust/issues/63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable
error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:80:37
|
80 |     type PlaybackStatusFuture<'a> = impl Future<Output = Result>
|                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 https://github.com/rust-lang/rust/issues/63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable
error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:83:31
|
83 |     type PositionFuture<'a> = impl Future<Output = Result>
|                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 https://github.com/rust-lang/rust/issues/63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable
error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:135:30
|
135 |     type ArtistsFuture<'a> = impl Future<Output = Result> + 'a
|                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 https://github.com/rust-lang/rust/issues/63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable
error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:138:29
|
138 |     type LengthFuture<'a> = impl Future<Output = Result> + 'a
|                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 https://github.com/rust-lang/rust/issues/63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable
error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:141:28
|
141 |     type TitleFuture<'a> = impl Future<Output = Result> + 'a
|                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 https://github.com/rust-lang/rust/issues/63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable
For more information about this error, try rustc --explain E0658.
error: could not compile apex-music (lib) due to 7 previous errors
warning: build failed, waiting for other jobs to finish...
==> FEHLER: Ein Fehler geschah in build().
Breche ab...

Hi, I think this issue is related to #23

Hi, I think this issue is related to #23, you might want to compile from source instead, as pamac doesn't seem to have the latest commit yet (?)

Yeah this seems to be the case. Please check in with the maintainer of the AUR package to have this fixed.

Hi, sorry in advance. My English is not the best, but I'll try.
I followed the advice and cloned apex-tux-1.0 and tried to compile it. Unfortunately without success.
The error message here is:``apex-tux-1.0]$ cargo build --release
Updating crates.io index
error: failed to select a version for the requirement funty = "~1.2"
candidate versions found which didn't match: 2.0.0, 1.1.0, 1.0.1, ...
location searched: crates.io index
required by package bitvec v0.22.3
... which satisfies dependency bitvec = "^0.22.3" of package apex-hardware v0.1.0 (/home/user/Downloads/apex-tux-1.0/apex-hardware)
... which satisfies path dependency apex-hardware of package `apex-ctl v0.1.0 (/home/user/Downloads/apex-tux-1.0/apex-ctl)
I use Manjaro as distribution, the system is freshly set up. And I am quite fresh in Manjaro. But I love the keyboard and am happy that I should be able to use the display under Linux.
It would be nice to get some help.
Thanks in advance

Hi, I think this is related to #16

And how do I solve the problem now? Sorry for the question, but I do not understand it. apparently my knowledge is not enough there

I think the repository you downloaded is outdated, please delete what you downloaded (maybe the release version, which was last updated in 2021 I think, instead clone this repo :
git clone git@github.com:not-jan/apex-tux.git
and then follow the "normal" instructions
(should be :
cd apex-tux
cargo build --release

)

Finally!
Thank you very much! Still had to compile the settings, but now it works!
Thanks

you had to compile the settings ? Do you mean you had to move the settings.toml file ? if so, this is normal don't worry


Fixes DF-1599 - rsvp/livestream gap

Adds 1/2/1 ratio proportioned gap between items in the RSVP/livestream aside on the event details page.
Additions

Adds .event-status_rsvp and .event-status_rsvp classes.
Wraps top-two and bottom-two paragraphs in divs.
Adjusts line-height and margin of text in aside to map a visually approximate 15px/30px/15px horizontal gaps.

Testing

Visit /events/two-years-of-standing-up-for-consumers/

Review

@duelj
@jimmynotjim
@sebworks

Preview

Notes

I adjusted the margin amounts to compensate for the line-height of the font. Is this the appropriate approach?

I think the 10px on the p is fine, but you may want to add a note so that no one tries to change it to 15px later. Other than that, this looks good to me.

I have this comment a little further up, will that do? https://github.com/cfpb/cfgov-refresh/pull/342/files#diff-fa565f0e47b46f5f61b2d051095880f4R139

I saw that but looking at it I wouldn't immediately know which one was manually adjusted. Figured you could shorten that and put it above the p:first-child to make it clearer.

Comment updated in https://github.com/cfpb/cfgov-refresh/commit/b46e2a787fe225a2fb43d58b39e709dfe1efabe0

:+1:


Implement Urdu part for the app.

Changed Chanakya encoding with Urdu in wordWindow_level.tsv

Change Chanakya encoding with Urdu in eggquizliteracy.tsv and Generate a build.

Change Chanakya encoding with Urdu in eggquizmath_level.tsv and Generate a build.

Validate the Main app Build


Remeha thermostaat - maximum retries exceeded

Hi, installed Remeha plugin on Domoticz. Worked fine, but after some requests I get below error in log:
Error: Remeha thermostaat: Error making GET request: HTTPSConnectionPool(host='api.bdrthermea.net', port=443): Max retries exceeded with url: /Mobile/api/homes/dashboard (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x3746AA10>: Failed to resolve 'api.bdrthermea.net' ([Errno 11001] getaddrinfo failed)"))
when changing poll interval to 5 minutes i get below errors in log and plugin does not work at all anymore:
2024-02-25 12:35:16.202 Error: Remeha thermostaat: (RemehaHome) failed to load 'plugin.py', Python Path used was 'C:\Program Files (x86)\Domoticz\plugins\RemehaHome-Domoticz;C:\Program Files (x86)\Python37-32\python37.zip;C:\Program Files (x86)\Python37-32\Lib;C:\Program Files (x86)\Python37-32\DLLs;C:\Program Files (x86)\Domoticz;C:\Program Files (x86)\Python37-32;C:\Program Files (x86)\Python37-32\lib\site-packages'.
2024-02-25 12:35:16.213 Error: Remeha thermostaat: Traceback (most recent call last):
2024-02-25 12:35:16.228 Error: Remeha thermostaat: File "C:\Program Files (x86)\Domoticz\plugins\RemehaHome-Domoticz\plugin.py", line 23, in
2024-02-25 12:35:16.228 Error: Remeha thermostaat: import requests
2024-02-25 12:35:16.228 Error: Remeha thermostaat: File "C:\Program Files (x86)\Python37-32\lib\site-packages\requests_init_.py", line 48, in
2024-02-25 12:35:16.229 Error: Remeha thermostaat: from charset_normalizer import version as charset_normalizer_version
2024-02-25 12:35:16.229 Error: Remeha thermostaat: File "C:\Program Files (x86)\Python37-32\lib\site-packages\charset_normalizer_init_.py", line 24, in
2024-02-25 12:35:16.229 Error: Remeha thermostaat: from .api import from_bytes, from_fp, from_path, is_binary
2024-02-25 12:35:16.229 Error: Remeha thermostaat: File "C:\Program Files (x86)\Python37-32\lib\site-packages\charset_normalizer\api.py", line 5, in
2024-02-25 12:35:16.229 Error: Remeha thermostaat: from .cd import (
2024-02-25 12:35:16.229 Error: Remeha thermostaat: File "C:\Program Files (x86)\Python37-32\lib\site-packages\charset_normalizer\cd.py", line 14, in
2024-02-25 12:35:16.230 Error: Remeha thermostaat: from .md import is_suspiciously_successive_range
2024-02-25 12:35:16.230 Error: Remeha thermostaat: SystemError: initialization of md__mypyc did not return an extension module
what I'm I doing wrong? what is max number of requests that can be done towards api.bdrthermea.net'?
Domoticz is running on Windows in my case.
Kind regards
Tom

Ps. Are you in the newest version?

Version of the plugin


Merge hangs

Great job on SpaCy, it is really impressive!
I'm pos tagging news articles and merging the tags for the named entities. Many thousands of the articles are fine. Merge hangs up on the text here though.
from future import unicode_literals
import spacy.en
from spacy.en import English
nlp = English()
doc = nlp('text', tag=True, parse=True)
text = '"But there is no telling what the hurricane damage will be," Anderson said, in reference to Hurricane Fran which swept through North and South Carolina last week. Some industry sources said the hurricane may have brought beneficial rains while others predicted losses and damage to open bolls. "Fran changes the picture considerably but it is too soon (to determine losses)," said Jarral Neeper, an analyst with Calcot Ltd. He pegged the estimate at 18.717 million bales. Smith Barney analyst David Brandon compared the effect of Hurricane Fran to that of Hurricane Hugo in 1989, which he said buoyed yields in North and South Carolina.'
doc = nlp(text, tag=True)
for ent in doc.ents:
if len(ent.orth_.split()) > 1:
start = text.index(ent.orth_)
end = start+len(ent.orth_)

print ent.orth_ + ' start: ' + str(start) + ' ' + 'end: ' + str(end) + ' ' + 'entity: ' + ent.label_

doc.merge(start, end, '', '', ent.label_)

for token in doc:
print token.orth_
Here's the output I get:
Hurricane Fran start: 92 end: 106 entity: EVENT
South Carolina start: 137 end: 151 entity: GPE
last week start: 152 end: 161 entity: DATE
Jarral Neeper start: 381 end: 394 entity: PERSON
Calcot Ltd. start: 412 end: 423 entity: ORG
18.717 million bales start: 450 end: 470 entity: QUANTITY
Smith Barney start: 472 end: 484 entity: ORG
David Brandon start: 493 end: 506 entity: PERSON
Hurricane Fran start: 92 end: 106 entity: EVENT
Hurricane Hugo start: 556 end: 570 entity: EVENT
North and South Carolina start: 127 end: 151 entity: GPE

I think I've found the problem here. Spacy's NER adds the 1st 'North' to the entities list, then adds the 1st 'South Carolina'. Later Spacy adds the entire 2nd 'North and South Carolina' to the entities list. When I iterate through the list and try to merge the 1st 'North and South Carolina' merge never returns, most likely because 'South Carolina' was already merged.
Is there something that could be done so that Spacy's NER is consistent with both instances of 'North and South Carolina' i.e. multiple instances of the same substring? Also, could you add a check and error code to merge so that if tokens have already been merged an error code is returned rather than the function hang?
Thanks.

Hey,
Thanks a lot for this. We've been a bit unresponsive on the tracker lately, compared to normal. I've been busy porting the machine learning model to a neural network, which will decrease load times and help us use the latest research. Henning has implemented an awesome testing framework, and redesigned the build process.
We had problems with these sub-matches in a previous ticket, and it looks like my patch has caused this problem. We need to do something more clever here.

Working on this.
Have the local issue sorted no problem. But the deeper thing is we shouldn't be entering an infinite loop, under any circumstances. So I located that, which is due to a cycle in the parse tree, created during a previous merge. Tracking that down now.

Great, thanks for working on this.
On Jan 15, 2016, at 12:36 PM, Matthew Honnibal <notifications<EMAIL_ADDRESS>wrote:
Working on this.
Have the local issue sorted no problem. But the deeper thing is we shouldn't be entering an infinite loop, under any circumstances. So I located that, which is due to a cycle in the parse tree, created during a previous merge. Tracking that down now.
—
Reply to this email directly or view it on GitHubhttps://github.com/honnibal/spaCy/issues/214#issuecomment-172062871.

Okay, this was a really nice case. Thanks for the report, it fixed a subtle but significant bug.
The underlying issue was with the way Span objects were determining their "root" word --- the word by which they're attached to the rest of the parse tree. This was being done by looking for the first word in the Span that had its head outside the Span.
This was incorrect for cases like North and South Carolina, where the head of South is North, and the head of North is Carolina. Regarding South as the root of the Span implies a parse tree with a cycle. This cycle eventually caused the infinite loop, when combined with another defect in the Span.root method: it assumed but didn't check that the parse was in a consistent state.
I've now rewritten Span.root so that root is determined by counting the path-length up the tree, and doing an arg min over the measure. This is not O(n), and a Span might be a sentence, which is quite long. To make sure we don't have a problem for that case, the code first loops through the Span, and if a word is the root of a sentence, it simply returns it.


Readme

edite README.md
Close #16

I delete the flake8 file and make squash.

@ohadrevach  please make approve.


updated to TypeScript and added acr policy propagation

Updated the pseudo code to use proper TypeScript.
Added pseudo code for ACR resource manipulation.
There are a number of classes used that are utility and therefore not provided.
The imports are also not provided.
The purpose is not to use this as an implementation but to use it as a way
to express the logic for ACP

I think we have to revert the chanages to be able to apply @TallTed's helpful fixes.


Mapping of TU and Partitions - Where is this mentioned?

[Enter feedback here]
When testing EH performance (both standard & premium) I have a few queries regarding the maximum throughput per partition. I was under the assumption that the namespace is limited to the number of TUs defined by the customer and that each partition can only achieve the maximum of 1 throughput, however according to our documentation we don't have a throughput limit on the partitions.
There's no specific throughput limit on a partition, however the aggregate throughput in your namespace is limited by the number of throughput units
https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-faq#how-many-partitions-do-i-need-
Can you please let me know the throughput limit that each partition can achieve, and the correlation between TUs and partitions? Can this be documented on this page?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3b3b4536-dac7-52f8-c469-c88c11039f4a
Version Independent ID: 32d2d122-5558-c091-0e20-693c98142783
Content: Scalability - Azure Event Hubs - Azure Event Hubs
Content Source: articles/event-hubs/event-hubs-scalability.md
Service: event-hubs
GitHub Login: @spelluru
Microsoft Alias: spelluru

Thanks for the feedback! We have assigned the issue to the content author to further review this and update the document as appropriate.
@spelluru - Could you please review the above feedback and help loop the relevant feature owner to provide the requested info and also enhance the doc content accordingly. - Thank you

@kasun04 - could you please review and respond when you get a chance? Thanks!

The "Number of partitions" section has been updated. Please see the last 2 paragraphs in particular.
#please-close


UnsatisfiedLinkError on starting podman image

I built the podman image and started as mentioned in the documentation, and ended up getting following logs:
2023-03-26 13:25:56.664 [main] INFO  Application - Autoreload is disabled because the development mode is off.
Exception in thread "main" java.lang.UnsatisfiedLinkError: /lib/x86_64-linux-gnu/li
bm.so.6: version `GLIBC_2.29' not found (required by /home/tatooine/.cache/JNA/temp/jna2242497406172792894.tmp)
        at com.sun.jna.Native.open(Native Method)
        at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:277)
        at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:461)
        at com.sun.jna.Library$Handler.<init>(Library.java:192)
        at com.sun.jna.Native.load(Native.java:596)
        at com.sun.jna.Native.load(Native.java:570)
        at org.bitcoindevkit._UniFFILib$Companion$INSTANCE$2.invoke(bdk.kt:3541)
        at org.bitcoindevkit._UniFFILib$Companion$INSTANCE$2.invoke(bdk.kt:258)
        at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
        at org.bitcoindevkit._UniFFILib$Companion.getINSTANCE$lib(bdk.kt:258)
        at org.bitcoindevkit.Blockchain.<init>(bdk.kt:988)
        at com.goldenraven.tatooine.FaucetWallet.<clinit>(FaucetWallet.kt:20)
        at com.goldenraven.tatooine.ApplicationKt.module(Application.kt:27)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.createApplication(ApplicationEngineEnvironmentReloading.kt:150)
        at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.start(ApplicationEngineEnvironmentReloading.kt:276)

I saw similar issue in the padawan-wallet repo as well, and it was something about the 32-bit emulator and a 64-bit emulator. Is the same case here?
How can we fix the issue in this case?
Any suggestions?

Facing the same issue.

Ok so what I think is happening here is probably that you're missing the Java Native Interface on your classpath. It's highly dependent on your OS/Docker/Podman image, so I forgot to add it to the readme here. You'll find info on how to fix it here.
You basically need to add JNA to your dependencies:
dependencies {
    // ...
    implementation("net.java.dev.jna:jna:5.12.1")
}

Also note that you don't need the Podman image to get it working/testing locally. You can just fire it up like any Gradle based application.
Note that you have special local/testing credentials when you run it with the default settings, so you'll need to use those if you want to try to issue requests to the server.

@thunderbiscuit I installed the dependency, still gives the same error.

This issue which I am facing is described below.
 Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'bdkffi':
The specified module could not be found.

The specified module could not be found.

The specified module could not be found.

Native library (win32-x86-64/bdkffi.dll) not found in resource path (C:\Users\91966\Android Studio\Git Projects\tatooine\app\build\classes\java\main;C:\Users\9196
6

Oh I see. I bet you both are using a Windows operating system. The bdk-jvm library doesn't support Windows at the moment, but if you're interested in looking into that, we would definitely like the help! No one on the team has access to a Windows machine to test and develop the workflow, but it shouldn't be too different than what we have for Linux/macOS.
See this issue for details. Feel free to expand there or ask questions. Also, note that depending on your experience with Rust this might be a bit far of an ask, so don't feel obliged to work on this! I'm just pointing it out in case there is interest.

Interesting. I was dying to get my hands dirty in rust. But I would be needing some guidance on getting started with the project 😛.
Is there any IRC related to bdk ?? Because I can't see one in SoB server

@thunderbiscuit Actully I want to run and server to test out the transaction filter in padawan wallet. So is there any other way?
Apart from this I also want to study the code of faucet because it seems intresting to me and I would love to extend its capablites as SOB.
Regarding the Contributing to bdk library to fix the above issue. I will definetly checkout the issue and update you there if I can help the team in resolving issue.


Issue with k8s.io/docs/tasks/administer-cluster/configure-upgrade-etcd/

This is a Bug Report
Problem:
etcd backup command is missing required flags: --cacert=/etc/kubernetes/pki/etcd/ca.crt, --cert=/etc/kubernetes/pki/etcd/server.crt and --key=/etc/kubernetes/pki/etcd/server.key
Proposed Solution:
Expected result:
$ ETCDCTL_API=3 etcdctl --endpoints $ENDPOINT snapshot save snapshotdb
# exit 0

Actual result:
$ ETCDCTL_API=3 etcdctl --endpoints <IP_ADDRESS>:2379 snapshot save snapshotdb
Error: rpc error: code = Unavailable desc = transport is closing

Proposed Solution:
$ ETCDCTL_API=3 etcdctl --endpoints=https://[<IP_ADDRESS>]:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/server.crt --key=/etc/kubernetes/pki/etcd/server.key snapshot save snapshotdb

Page to Update:
https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/#backing-up-an-etcd-cluster

@janehojy are these extra flags always required, or does that depend on exactly how you're running etcdctl?
(it's OK to answer “I'm not sure”)

I suppose it would be better to update the doc to use etcd with SSL/TLS.
https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/security.md

Hey can I close this or we left it as it is?
/remove-lifecycle rotten


Match overload based on usertype

I have two user types registered and I want to pass them to C++ and match an overload based on their type. Is that possible?
This is an example, but it doesn't work. Always goes to the first overload.
https://godbolt.org/z/8cW9ovWY7

Ah, on the type.
You can't do that right now because I didn't write a checker for this. This just grabs the table that repesents the usertype, not specifically that usertype. I could probably add a discriminator for this case in particular.

IF you're looking just for the value, that should work fine:
https://godbolt.org/z/vMnobvEzo

Yeah the value works fine, but I'm actually interested in the user type itself. Would be nice if that would be possible.


Unexpected token

Type: Bug
when trying to do anything like ctrl+I for editor support , or trying to communicate with github chat ,
Extension version: 0.21.2
VS Code version: Code 1.94.2 (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-10310U CPU @ 1.70GHz (8 x 2208)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
undefined

Memory (System)
15.76GB (2.88GB free)

Process Argv

Screen Reader
no

VM
0%

This issue does not satisfy the minimal quality standards for an issue that we would like to see in this repository.
Reproducible steps using English with latest VS Code are what helps us a lot. So please feel free to open a new issue with steps.
Thus I will go ahead and close this one.
Thank you


⚠ Cioos National CKAN Sitemap has degraded performance

In dcf5f6a, Cioos National CKAN Sitemap (https://catalogue.cioos.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 8284 ms

Resolved: Cioos National CKAN Sitemap performance has improved in 1ea747f after 4 minutes.


Example for Re-occurance Type Once needed

Please add an example were the occurrence type is set to once.

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

ID: c2083273-b3ba-6507-f038-b55d0b90f753
Version Independent ID: 12395969-8d39-0889-05b2-5717adc221b8
Content: az monitor action-rule
Content Source: latest/docs-ref-autogen/ext/alertsmanagement/monitor/action-rule.yml
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

monitor


Predict should show log output during setup() and predict()

I found that print-based logs don't appear when calling the setup() function right now. If it takes a long time to try to set up and then setup fails, then I see the prints, but I have to wait until things take a long time to crash before getting to see any logs at all. Is there some buffering going on that's not letting me see things in the Replicate web ui?


feat: Add support for internal load balancer, upgraded ALB module

Fixes https://github.com/terraform-aws-modules/terraform-aws-atlantis/issues/69
Add a bool variable internal that defaults to false and is used in the alb module.
The name matches the rename in terraform-aws-alb 5.0,
https://github.com/terraform-aws-modules/terraform-aws-alb/blob/master/UPGRADE-5.0.md
and is consistent with the name variable.

Thanks @martinmosegaard for your PR!
I have also added some code to this PR at the same time to use the latest version of an ALB module. For some users, this change may require some ALB resource recreation described in ALB upgrade guide 5.0.
v2.9.0 has been just released.


Queue:work failed job not being pushed to failed jobs table

Laravel Version: 5.4.23
PHP Version: 7.1.0
Database Driver & Version:

Description:
When I use laravel Queue:work with a limited amount of tries, with a failing job, it does not write to the failed jobs table. The CLI shows Processing of the job x amount of times.
Steps To Reproduce:
1.run php artisan queue:work --env=queue --tries=10 --memory=512
2. Queue an event listener.
3.Throw an exception on the event.
4. Dispatch the event

Sorry but my worker seems to work as expected, you need to debug further into your application error logs to see why it failed to write to the database table.

When i changed the static::events()->fire to static::events()->dispatch inside lluminate\Queue\FailingJob, this seemed to solve my issue.

fire() is just an alias for dispatch(), it doesn't make any sense.


spring-cloud-netflix eureka server duplicate instance

We're running a 2-node spring-cloud-netflix eureka server cluster on Edgware.SR3 (working on migrating to spring-boot 2 and Finchley). We deploy our eureka server cluster to ECS on AWS, and we're using DNS + EIP binding.
Occasionally, we get into a weird state where we start seeing connection refused exceptions from ribbon clients referencing an IP address for a service instance that's registered in eureka but is not running. Under these circumstances when I go to the spring-cloud-netflix eureka server dashboard, I get a freemarker template error:
2018-12-03 21:22:33.799 ERROR 1 --- [io-8761-exec-16] freemarker.runtime : Error executing FreeMarker template
freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> amiCount.key [in template "eureka/status.ftl" at line 35, column 26]
----
Tip: It's the step after the last dot that caused this error, not those before it.

/eureka/apps/eureka-server shows the following (IPs and other identifying info removed):
<application>
  <name>EUREKA-SERVER</name>
  <instance>
    <hostName>ec2-##-##-##-##.us-west-2.compute.amazonaws.com</hostName>
    <app>EUREKA-SERVER</app>
    <ipAddr>##.##.##.##</ipAddr>
    <status>UP</status>
    <overriddenstatus>UNKNOWN</overriddenstatus>
    <port enabled="true">8761</port>
    <securePort enabled="false">443</securePort>
    <countryId>1</countryId>
    <dataCenterInfo class="com.netflix.appinfo.AmazonInfo">
      <name>Amazon</name>
      <metadata>
        <public-ipv4>##.##.##.##</public-ipv4>
        <accountId>accountId</accountId>
        <local-hostname>ip-##-##-##-##.us-west-2.compute.internal</local-hostname>
        <public-hostname>ec2-##-##-##-##.us-west-2.compute.amazonaws.com</public-hostname>
        <instance-id>instance-id</instance-id>
        <local-ipv4>##.##.##.##</local-ipv4>
        <instance-type>t2.micro</instance-type>
        <vpc-id>vpc-id</vpc-id>
        <ami-id>ami-id</ami-id>
        <mac>mac</mac>
        <availability-zone>us-west-2b</availability-zone>
      </metadata>
    </dataCenterInfo>
    <leaseInfo>
      <renewalIntervalInSecs>30</renewalIntervalInSecs>
      <durationInSecs>90</durationInSecs>
      <registrationTimestamp>1543872397981</registrationTimestamp>
      <lastRenewalTimestamp>1543872397981</lastRenewalTimestamp>
      <evictionTimestamp>0</evictionTimestamp>
      <serviceUpTimestamp>1543872397981</serviceUpTimestamp>
    </leaseInfo>
    <metadata class="java.util.Collections$EmptyMap"/>
    <homePageUrl>http://ec2-##-##-##-##.us-west-2.compute.amazonaws.com:8761/</homePageUrl>
    <statusPageUrl>http://ec2-##-##-##-##.us-west-2.compute.amazonaws.com:8761/info</statusPageUrl>
    <healthCheckUrl>http://ec2-##-##-##-##.us-west-2.compute.amazonaws.com:8761/health</healthCheckUrl>
    <vipAddress>eureka-server</vipAddress>
    <secureVipAddress>eureka-server</secureVipAddress>
    <isCoordinatingDiscoveryServer>false</isCoordinatingDiscoveryServer>
    <lastUpdatedTimestamp>1543872397981</lastUpdatedTimestamp>
    <lastDirtyTimestamp>1539062818237</lastDirtyTimestamp>
    <actionType>ADDED</actionType>
  </instance>
  <instance>
    <hostName>ec2-##-##-##-##.us-west-2.compute.amazonaws.com</hostName>
    <app>EUREKA-SERVER</app>
    <ipAddr>##.##.##.##</ipAddr>
    <status>UP</status>
    <overriddenstatus>UNKNOWN</overriddenstatus>
    <port enabled="true">8761</port>
    <securePort enabled="false">443</securePort>
    <countryId>1</countryId>
    <dataCenterInfo class="com.netflix.appinfo.AmazonInfo">
      <name>Amazon</name>
      <metadata>
        <instance-id>ec2-##-##-##-##.us-west-2.compute.amazonaws.com</instance-id>
      </metadata>
    </dataCenterInfo>
    <leaseInfo>
      <renewalIntervalInSecs>30</renewalIntervalInSecs>
      <durationInSecs>90</durationInSecs>
      <registrationTimestamp>1543872397981</registrationTimestamp>
      <lastRenewalTimestamp>1543872491462</lastRenewalTimestamp>
      <evictionTimestamp>0</evictionTimestamp>
      <serviceUpTimestamp>1543872397981</serviceUpTimestamp>
    </leaseInfo>
    <metadata class="java.util.Collections$EmptyMap"/>
    <homePageUrl>http://ec2-##-##-##-##.us-west-2.compute.amazonaws.com:8761/</homePageUrl>
    <statusPageUrl>http://ec2-##-##-##-##.us-west-2.compute.amazonaws.com:8761/info</statusPageUrl>
    <healthCheckUrl>http://ec2-##-##-##-##.us-west-2.compute.amazonaws.com:8761/health</healthCheckUrl>
    <vipAddress>eureka-server</vipAddress>
    <secureVipAddress>eureka-server</secureVipAddress>
    <isCoordinatingDiscoveryServer>true</isCoordinatingDiscoveryServer>
    <lastUpdatedTimestamp>1543872397981</lastUpdatedTimestamp>
    <lastDirtyTimestamp>1542951300064</lastDirtyTimestamp>
    <actionType>ADDED</actionType>
  </instance>
  <instance>
    <hostName>ec2-##-##-##-##.us-west-2.compute.amazonaws.com</hostName>
    <app>EUREKA-SERVER</app>
    <ipAddr>##.##.##.##</ipAddr>
    <status>UP</status>
    <overriddenstatus>UNKNOWN</overriddenstatus>
    <port enabled="true">8761</port>
    <securePort enabled="false">443</securePort>
    <countryId>1</countryId>
    <dataCenterInfo class="com.netflix.appinfo.AmazonInfo">
      <name>Amazon</name>
      <metadata>
        <public-ipv4>##.##.##.##</public-ipv4>
        <accountId>accountId</accountId>
        <local-hostname>ip-##-##-##-##.us-west-2.compute.internal</local-hostname>
        <public-hostname>ec2-##-##-##-##.us-west-2.compute.amazonaws.com</public-hostname>
        <instance-id>instance-id</instance-id>
        <local-ipv4>##.##.##.##</local-ipv4>
        <instance-type>t2.micro</instance-type>
        <vpc-id>vpc-id</vpc-id>
        <ami-id>ami-id</ami-id>
        <mac>mac</mac>
        <availability-zone>us-west-2a</availability-zone>
      </metadata>
    </dataCenterInfo>
    <leaseInfo>
      <renewalIntervalInSecs>30</renewalIntervalInSecs>
      <durationInSecs>90</durationInSecs>
      <registrationTimestamp>1543872397981</registrationTimestamp>
      <lastRenewalTimestamp>1543872397981</lastRenewalTimestamp>
      <evictionTimestamp>0</evictionTimestamp>
      <serviceUpTimestamp>1543872397981</serviceUpTimestamp>
    </leaseInfo>
    <metadata class="java.util.Collections$EmptyMap"/>
    <homePageUrl>http://ec2-##-##-##-##.us-west-2.compute.amazonaws.com:8761/</homePageUrl>
    <statusPageUrl>http://ec2-##-##-##-##.us-west-2.compute.amazonaws.com:8761/info</statusPageUrl>
    <healthCheckUrl>http://ec2-##-##-##-##.us-west-2.compute.amazonaws.com:8761/health</healthCheckUrl>
    <vipAddress>eureka-server</vipAddress>
    <secureVipAddress>eureka-server</secureVipAddress>
    <isCoordinatingDiscoveryServer>false</isCoordinatingDiscoveryServer>
    <lastUpdatedTimestamp>1543872397981</lastUpdatedTimestamp>
    <lastDirtyTimestamp>1539062926785</lastDirtyTimestamp>
    <actionType>ADDED</actionType>
  </instance>
</application>

You can't tell because I removed IPs, but the hostname of the 2nd and 3rd instance elements here are the same. The second instance has metadata that only contains instance-id, which is an ec2-...region.compute.amazonaws.com address. The third instance looks normal and contains a normal ec2 instance id in instance-id, and a bunch of other metadata fields.
My EurekaServerApplication config class has the following EurekaInstanceConfigBean defined:
@Bean
	@Autowired
	@Profile("aws")
	public EurekaInstanceConfigBean eurekaInstanceConfigBean(InetUtils inetUtils) {

		EurekaInstanceConfigBean config = new EurekaInstanceConfigBean(inetUtils) {

			@Scheduled(initialDelay = 30000L, fixedRate = 30000L)
			public void refreshInfo() {
				AmazonInfo newInfo = AmazonInfo.Builder.newBuilder().autoBuild("eureka");
				if (!this.getDataCenterInfo().equals(newInfo)) {
					((AmazonInfo) this.getDataCenterInfo()).setMetadata(newInfo.getMetadata());
					this.setHostname(newInfo.get(AmazonInfo.MetaDataKey.publicHostname));
					this.setIpAddress(newInfo.get(AmazonInfo.MetaDataKey.publicIpv4));
					this.setDataCenterInfo(newInfo);
					this.setNonSecurePort(nonSecurePort);
				}
			}
		};
		AmazonInfo info = AmazonInfo.Builder.newBuilder().autoBuild("eureka");
		config.setHostname(info.get(AmazonInfo.MetaDataKey.publicHostname));
		config.setIpAddress(info.get(AmazonInfo.MetaDataKey.publicIpv4));
		config.setDataCenterInfo(info);
		config.setNonSecurePort(nonSecurePort);
		return config;
	}

The scheduled task is based on https://github.com/spring-cloud/spring-cloud-netflix/issues/1321, I was fighting the same problems mentioned in that issue where freshly-created ecs container instances weren't updating their instance info after binding to eips and the scheduled task workaround fixed that.
Did my scheduled task hit some problem with AmazonInfo.Builder, where it returns incomplete/incorrect metadata, which the scheduled task registered with peers? It seems that heartbeats update leases for both instances in the registry, the one with missing metadata and the one with correct metadata, so the bad eureka-server instance sticks around in the registry forever, or at least until I restart each eureka server instance and wait a few minutes, after which the bad eureka-server instance goes away and other service instances that remain in eureka despite not running anymore (the ones causing the connection refused issues mentioned before) go away as well.

Did my scheduled task hit some problem with AmazonInfo.Builder, where it returns incomplete/incorrect metadata, which the scheduled task registered with peers?

Impossible to tell, maybe add some logging?

I'll do that.

It seems that heartbeats update leases for both instances in the registry, the one with missing metadata and the one with correct metadata, so the bad eureka-server instance sticks around in the registry forever, or at least until I restart each eureka server instance and wait a few minutes, after which the bad eureka-server instance goes away and other service instances that remain in eureka despite not running anymore (the ones causing the connection refused issues mentioned before) go away as well.

Do you mean "bad eureka client"?

I'm not sure of the correct terminology here. There are eureka-server service instances (self-registration of the eureka client within the eureka server instance) in the registry,  which I can inspect at /eureka/apps/eureka-server, and one of them had incomplete/incorrect metadata as described. After restarting each member of the eureka-server cluster the eureka-server service instance with incomplete metadata disappeared. There are also service instances for microservices (eureka clients) that should have been evicted but stuck around. Those also go away after restarting each eureka-server instance.
I'm mainly concerned about the lack of eviction of service instances that are no longer running, which causes production issues. I don't see any message on the eureka server dashboard about self preservation mode, so I don't think that's the problem here. I'm hoping the additional eureka-server instances are causing the eviction problem. I'll add the logging, and perhaps try not updating EurekaInstanceConfigBean properties when the AmazonInfo returned by AmazonInfo.Builder doesn't contain the proper metadata fields.

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.


Translate: React Without ES6

Translate React Without ES6

We're closing this issue to reduce the noise in the repo. The place to claim an issue is #4
Thanks! 👍


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-27-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3441

Questions ?
Please refer to the Backport tool documentation


Keep track of a keyboard state.

We should catch the qt keyboard events and keep track of the keyboard state in a struct.

Done in animation branch.


failing to get term width for wrapping shouldn't be fatal

hello! I encountered an issue using this lib, looked for the source of it, and found out something that might be a wrong decision.
here's what happened to me:

I tried to print a box with this code:

box.New(box.Config{
	Py:            0,
	Px:            5,
	ContentAlign:  "Center",
	Type:          "Double",
	TitlePos:      "Inside",
	AllowWrapping: true,
}).Println(title, msg)

I started my app in a container started by docker-compose.
my app fataled with the message inappropriate ioctl for device
I looked in the code and found out that if I'm setting AllowWrapping to true and an error is returned from term.GetSize,the code calls to log.Fatal:

	// Allow Wrapping according to the user
	if b.AllowWrapping {
		// If limit not provided then use 2*TermWidth/3 as limit else
		// use the one provided
		if b.WrappingLimit != 0 {
			lines = wrap.String(lines, b.WrappingLimit)
		} else {
			width, _, err := term.GetSize(int(os.Stdout.Fd()))
			if err != nil {
				log.Fatal(err)
			}
			lines = wrap.String(lines, 2*width/3)
		}
	}

IMO, a library of such kind should not panic but return an error instead. let the user decide what to do.

You are correct that this should be handled by the user, not by the library. I made this library 2-3 years ago without much knowledge of Go. I have been planning to do this in v3 because it is a big change, and it needs to be done with a lot of consciousness. Here is the issue tracker for this: https://github.com/Delta456/box-cli-maker/issues/26


enable managedDNS for GCP

/test e2e-gcp

I need to use managed DNS for the e2e gcp tests, too. I can do that as part of this PR, or I can do it as a follow-up PR.

I need to use managed DNS for the e2e gcp tests, too. I can do that as part of this PR, or I can do it as a follow-up PR.

I have added it as part of this PR.

/test e2e-gcp
/test e2e-azure

Could you also update the using-hive.md docs as this mentions not being available for GCP and is currently Route53 specific.

/test e2e-gcp
/test e2e-azure

/test e2e-gcp
/test e2e-azure

/test e2e-gcp

/lgtm


BUILD_TESTING OFF still builds unittests

We are not using BUILD_TESTING in the correct way in crocoddyl, and as a result unittests are built even when it is turned off.
The issue is assigned to @nim65s , but if someone has the time to fix it first, please change the assignment and go ahead.

Please remove the cmake files and try again.

Of course I tried with a clean build system.
The issue is that we are building the unittests along with the main repository, while the BUILD_TESTING is supposed to build the unittests separately by make test. This could be corrected by using the macro ADD_UNIT_TEST, but with the factory files, we would need to accomodate them in the testing, which is not how this macro is designed to be used.

Hi @proyan
I can't reproduce your issue.
I did this:
mkdir build
cd build
cmake -DBUILD_TESTING=OFF ..
make

After this, I tried:
$ find . -name \*test\*
./CMakeFiles/build_tests.dir

I also tried:
$ make test
Running tests...
/usr/bin/ctest --force-new-ctest-process
Test project /home/nim/local/loco-3d/crocoddyl/build
      Start  1: example-python-double_pendulum
      Start  2: example-python-boxfddp_vs_boxddp
      Start  3: example-python-quadrotor
      Start  4: example-python-quadrotor_ubound
 1/12 Test  #3: example-python-quadrotor ......................   Passed    0.36 sec
      Start  5: example-python-arm_manipulation
 2/12 Test  #4: example-python-quadrotor_ubound ...............   Passed    0.40 sec
      Start  6: example-python-quadrupedal_gaits
 3/12 Test  #1: example-python-double_pendulum ................   Passed    0.95 sec
      Start  7: example-python-quadrupedal_walk_ubound
 4/12 Test  #5: example-python-arm_manipulation ...............   Passed    0.62 sec
      Start  8: example-python-bipedal_walk
 5/12 Test  #8: example-python-bipedal_walk ...................   Passed    2.79 sec
      Start  9: example-python-bipedal_walk_ubound
 6/12 Test  #6: example-python-quadrupedal_gaits ..............   Passed    3.72 sec
      Start 10: example-python-humanoid_manipulation
 7/12 Test  #7: example-python-quadrupedal_walk_ubound ........   Passed    3.81 sec
      Start 11: example-python-humanoid_manipulation_ubound
 8/12 Test  #2: example-python-boxfddp_vs_boxddp ..............   Passed    5.05 sec
      Start 12: example-python-humanoid_taichi
 9/12 Test  #9: example-python-bipedal_walk_ubound ............   Passed    3.10 sec
10/12 Test #10: example-python-humanoid_manipulation ..........   Passed    4.89 sec
11/12 Test #11: example-python-humanoid_manipulation_ubound ...   Passed    9.39 sec
12/12 Test #12: example-python-humanoid_taichi ................   Passed   12.65 sec

100% tests passed, 0 tests failed out of 12

Total Test time (real) =  17.70 sec

To me, its seems that unittests were not built when BUILD_TESTING was turned OFF. And this is the behavior I was expecting.
Now, I agree that one could expect that make testwill actually build the unittests and launch them afterwards. This is what the ADD_UNIT_TEST macro provides. But as you mentioned, we are not using this macro, and instead we are purely deactivating the whole unittest CMake subtree when BUILD_TESTINGis OFF.
So in order to build unit tests after a -DBUILD_TESTING=OFF, one can easily cmake -DBUILD_TESTING=ON .., and make again. This time, unit tests are available: find . -name \*test\* shows tons on results, and make test` runs everything.
Could you detail your needs on this matter ? Is there anything that you can't do as you would like to, or anything that is done behind your back while you would prefer it not to be done ?

I turned off all options, however, this is the build that I receive:
Script started on 2021-06-04 12:11:23+02:00 [TERM="xterm-256color" TTY="/dev/pts/3" COLUMNS="211" LINES="53"]
]0;rbudhira@pl834-pro: ~/devel/src/loco3d/crocoddylrbudhira@pl834-pro:~/devel/src/loco3d/crocoddyl$ builds
-- Package version (ROS package.xml): 1.7.0
-- Contact RObot COntrol by Differential DYnamic programming Library (Crocoddyl), version 1.7.0
-- Copyright (C) 2018-2021 CNRS-LAAS, University of Edinburgh, INRIA
-- All rights reserved.
-- Released under the BSD 3-Clause License.
-- The CXX compiler identification is Clang 11.0.0
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
CMake Warning (dev) at /usr/share/cmake-3.16/Modules/CTest.cmake:50 (option):
  Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
  --help-policy CMP0077" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  For compatibility with older versions of CMake, option is clearing the
  normal variable 'BUILD_TESTING'.
Call Stack (most recent call first):
  cmake/post-project.cmake:45 (INCLUDE)
  CMakeLists.txt:59 (PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Performing Test R-pedantic
-- Performing Test R-pedantic - Success
-- Performing Test R-Wno-long-long
-- Performing Test R-Wno-long-long - Success
-- Performing Test R-Wall
-- Performing Test R-Wall - Success
-- Performing Test R-Wextra
-- Performing Test R-Wextra - Success
-- Performing Test R-Wcast-align
-- Performing Test R-Wcast-align - Success
-- Performing Test R-Wcast-qual
-- Performing Test R-Wcast-qual - Success
-- Performing Test R-Wformat
-- Performing Test R-Wformat - Success
-- Performing Test R-Wwrite-strings
-- Performing Test R-Wwrite-strings - Success
-- Performing Test R-Wconversion
-- Performing Test R-Wconversion - Success
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.17") found components: doxygen missing components: dot
-- currently used  C++ standard: 201402
-- minimal C++ standard upgraded to 14
-- pinocchio FOUND. pinocchio at /local/rbudhira/devel/install/sot/lib/libpinocchio.so
-- boost_filesystem FOUND. boost_filesystem at /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
-- boost_serialization FOUND. boost_serialization at /usr/lib/x86_64-linux-gnu/libboost_serialization.so
-- boost_system FOUND. boost_system at /usr/lib/x86_64-linux-gnu/libboost_system.so
-- Found Boost: /usr/include (found version "1.71.0") found components: filesystem serialization system
-- eigenpy FOUND. eigenpy at /local/rbudhira/devel/install/sot/lib/libeigenpy.so
-- hpp-fcl FOUND. hpp-fcl at /local/rbudhira/devel/install/sot/lib/libhpp-fcl.so
-- Found Boost: /usr/include (found version "1.71.0") found components: chrono serialization
-- scipy is optional.
 I turn off all options in CMakeLists.txt:
# Create different building options
OPTION(ENABLE_VECTORIZATION "Enable vectorization and further processor-related optimizations" OFF)
OPTION(BUILD_PYTHON_INTERFACE "Build the python binding" OFF)
OPTION(BUILD_BENCHMARK "Build the benchmark" OFF)
OPTION(BUILD_EXAMPLES "Build the examples" OFF)

IF(DEFINED BUILD_UNIT_TESTS)
  MESSAGE(AUTHOR_WARNING "BUILD_UNIT_TESTS is deprecated. Use BUILD_TESTING instead.\
    If you are manually building Crocoddyl from source in an existing build folder,\
    we suggest that you delete your build folder and make a new one.")
  SET(BUILD_TESTING ${BUILD_UNIT_TESTS})
ENDIF(DEFINED BUILD_UNIT_TESTS)
SET(BUILD_TESTING OFF)

I think the SET(BUILD_TESTING OFF) isn't working very well. Do you have an insight?

Can you grep -r BUILD_TESTING in your build dir ?

Interesting. I get
CMakeCache.txt:BUILD_TESTING:BOOL=ON

So I'm not able to set BUILD_TESTING from inside the CMakeLists. This is unexpected

https://github.com/Kitware/CMake/blob/master/Modules/CTest.cmake#L50 is a
option(BUILD_TESTING "Build the testing tree." ON)

In CMake, options are a shortcut to cached bool variables. And you can't update a cached variable with only set(var val).
I'm sorry that CMake is such a pain sometimes, but C++ doesn't come with anything better :/

I strongly advise anybody against doing any local configuration by changing the CMakeLists.txt. In case you really want that footgun to work, you can try set(BUILD_TESTING "VALUE" CACHE BOOL OFF FORCE), but you've been warn: please don't ;)

I don't intend to force set variables. However, I expect to be able to set options in CMakeLists during development, you need different segments during different times.
Since we are not using BUILD_TESTING with the intended ADD_UNIT_TEST macro, I don't see any advantage of using SET here instead of OPTION. I think it would be better to change to
OPTION(BUILD_TESTING ${BUILD_UNIT_TESTS})

instead. What do you think?

hmmm, thanks for the link.
It looks like OPTION doesn't create a copy variable, and insteads works on the upstream variable.  So ADD_UNIT_TEST is working on the copy variable, while the current build is processing with the original variable.
We are using the OPTION behaviour, while setting with SET instead.

I'm sorry that CMake is such a pain sometimes, but C++ doesn't come with anything better :/
Agreed!

Fixed with #958


Look into Possible Autonomous Modes

I'd like to look into and breakdown the possible autonomous modes. These should start from the far left/right of the driver station and the center, beside the line near the exchange.
We should have a

timed auto drive forward (in case encoders break)
a distance drive forward (in case partners can only switch and our elevator is acting up or something, and prevents us from doing scale)
either side of switch from center position
scale auto from far left/right to either scale

These separate modes should be put into an organized list, along with the calculated motion profile points. You can test the points using Vannaka's MP Generator, the actual drivetrain configuration shouldn't matter too much, use the width between the wheels just so you can see how it looks.
The points will then later be injected into our DriveTrajectoryCommand for our auto command groups.

Speed = 5 ft/sec
Baseline
Left (2 sec) (1.59,23.11) , (10, 23.11)
Middle (2 sec) (1.59, 13.1) , (10, 13.1)
Right  (2 sec) (1.59, 3.9) , (10, 3.9)
Switch
Left (2.3 sec) (1.59, 13.1) , (12, 18)
Right (2.22 sec) (1.59, 13.1) , (12, 9)
Left Scale
Left (4.74 sec) (1.59, 23.11) , (25, 19.5)
Right (6.29 sec) (1.59, 3.9) , (14, 3.9) , (25, 19.5)
Right Scale
Left (6.29 sec) (1.59, 23.11) , (14, 23.11), (25, 7.5)
Right (4.74 sec) (1.59, 3.9) , (25, 7.5)


switch odoc to version 2.4.0

This switches the odoc version used to version 2.4.0. This is the version of odoc that supports search.
The intend being this is to be a step towards using sherlodoc on ocaml. This will be an improvement over the current search because there is fuzzy type search like hoogle, and because it is tailored and tested for ocaml.
This will also allow updating the online version of sherlodoc, which needs as input the odocl file generated by this CI. The new version of sherlodoc is only compatible with odoc.2.4.0. As the format of the odocl file is not backward-compatible, the odocl files currently generated are not suitable to be consumed by the new sherlodoc, which has loads of new features.
I am not sure my change is correct, I have run the tests and they pass, but maybe more testing is required. Odoc itself should be backwards compatible.

Thanks for the contribution.
The process for upgrading odoc requires coordination with voodoo to ensure the same version is used.  See https://github.com/ocaml-doc/voodoo/pull/134 for an example of what to change.
After that is in place, it can be deployed to staging pipeline (https://staging.docs.ci.ocamllabs.io) to validate the changes and check that package versions build correctly.
Then https://github.com/ocaml/ocaml.org needs modifications to ensure it can read the new voodoo/odoc artefacts. I am not familiar with the changes required there cc @sabine.
Finally the changes get deployed to https://docs.ci.ocaml.org live and once an epoch is generated then a coordinated deploy of ocaml.org is required.
I can help with getting things deployed to staging and validating the changes there.

As long as the odoc upgrade doesn't change the odoc html --as-json format, no changes to OCaml.org should be necessary.
But indeed, testing first locally on voodoo with odoc 2.4.0 and then on staging.docs.ci.ocamllabs.io will be great.

I am in vacation for a while, so I will work on this when I come back.

Hey @tmcgilchrist .
Guillaume has a PR on voodoo that works with odoc 2.4 https://github.com/ocaml-doc/voodoo/pull/128
I have tested it on ocaml.org and it required a small patch because the .html.json have two extra fields, but apart from that it looks fine.

The odoc pin on the staging docs pipeline should be upgraded according to this PR.
Only after the voodoo staging branch builds package docs successfully on the staging pipeline, this PR should be merged into the main branch.

Isn't that just a case of pushing this PR to the staging branch?

@mtelvers Yes, but I think neither of @EmileTrotignon or I have rights to push on this repo.

@sabine I have pushed it to staging

@mtelvers thanks!

There seem to be lots of errors like this: https://staging.docs.ci.ocamllabs.io/job/2024-01-14/232445-voodoo-do-52799a

@EmileTrotignon @gpetiot are we pinning the right odoc version?

What version of odoc-parser is this expecting? The obuilder spec in those
logs is not pinning odoc-parser, it was not necessary previously.
You can run the whole environment via docker compose if that helps
debugging the problem.
On Mon, 15 Jan 2024 at 7:01 pm, sabine @.***> wrote:

@EmileTrotignon https://github.com/EmileTrotignon @gpetiot
https://github.com/gpetiot are we pinning the right odoc version?
—
Reply to this email directly, view it on GitHub
https://github.com/ocurrent/ocaml-docs-ci/pull/168#issuecomment-1891515962,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABJXONKVS2T36SMN6FBLKLYOTO33AVCNFSM6AAAAABA3W34NOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJRGUYTKOJWGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

odoc is expecting the same version of odoc-parser (the package is not released separately anymore).
I'm trying to reproduce locally but ocaml-docs-ci does not build locally (fresh install, switch, etc.), I get this error:
File "vendor/ocurrent/lib_web/query.ml", line 35, characters 87-91:
35 |         [input ~a:[a_input_type `Checkbox; a_name "id"; a_value job_id; a_autocomplete `Off] ()]
                                                                                ^^^^
Error: This expression has type [> `Off ]
       but an expression was expected of type bool

(probably hiding something else)

Can you edit ocaml-docs-ci.opam and update the pin-depends sections to this
pin-depends: [
  ["ocaml-version.dev" "git+https://github.com/ocurrent/ocaml-version#496b14cdf826a737841526b753ebad8c3656a85a"]
  ["current.dev" "./vendor/ocurrent"]
  ["current_git.dev" "./vendor/ocurrent"]
  ["current_github.dev" "./vendor/ocurrent"]
  ["current_web.dev" "./vendor/ocurrent"]
  ["current_ocluster.dev" "./vendor/ocluster"]
  ["ocluster-api.dev" "./vendor/ocluster"]
]

Then, create a new switch:
opam switch create . 4.14.1 --deps-only --with-test

Naive question but how is it supposed to be tested locally? Running docker-compose -f docker-compose.yml up runs the whole day without coming to an end or failing until the containers are stopped with Ctrl+C. And the online CI seems to only return errors 500.

As far as I understood, testing the docs-ci locally is nontrivial because of the keys involved, that's why the staging environment exists.
Is there anything I can do to help this progress? It would be great to get the staging branch of voodoo tested and deployed.

Let's wait for odoc.2.4.1 to be available on opam, as it's apparently necessary to have eio compile.

In that case, can we revert the staging branch to be identical to the main branch?
This would allow me to test and deploy the bugfix for wrong library names on ocaml.org that people are waiting for.

Sure!

Done

Thanks, I'll update voodoo staging and it will probably be picked up tomorrow by staging pipeline

This can be closed since #169 removes the pinning of odoc by the pipeline.


Warning in translating "% Funded"

I was just translating the string "% Funded" into Dutch using the Transifex Web Editor. The string appears at the location www/explore/teams/index.spt:39. I got the following warning:
Warning: The expression '% F' is not present in the translation.
A short search resulted in this Transifex FAQ page, which describes some solutions to this problem. I have no clue which solution is preferred, but perhaps there is a policy on that?

I just ignored it for eo.

Closing as duplicate of #2856.

Thanks for the fast replies guys!


syncthing: 1.25.0 -> 1.26.0

Description of changes
A simple version bump.
See https://github.com/syncthing/syncthing/releases/tag/v1.26.0 for changelog.

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Thanks!


[BUG] The harvester is unavailable somehow by using the new IP to visit when the original host is down

Describe the bug
The harvester status appears to double running in the console
To Reproduce
Steps to reproduce the behavior:

Install harvester via ISO installation. (node01)
Add two more nodes to the environment(node02 and node03)
Shut down node01
Using the new IP to access Harvester

Result:
The harvester is unavailable somehow by using the new IP to visit

Environment:

Harvester ISO version: master (716900d)
Installation Mode: ISO/app-mode
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630):

k3s-io/k3s/issues#1264
Also need to up harvester deployment replicas to 3

For now, all the harvester replicas are scheduled to one node, if that node is down, the harvester will be unreachable

Validated on master-head


Dev/maxh

Split up validation, occurs before assignment now
made BaseSE an abstract class
Added default colData and rowData
Default rowRanges does not work as GenomicRanges doesnt seem to work the same as BiocFrame?
Lots of small "improvements" all over the place
Fixed type hinting and added py.typed stub file

I added a default GenomicRanges to RangeSummarizedExperiment but I don't think dummy data is the right approach...
In bioconductor it is RangedSummarizedExperiment not RangeSummarizedExperiment (notice the d on Ranged) as it is here
I updated the docstrings to "proper" google style: https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings

@jkanche


Migrate test suite from unittest to pytest

Fixes #169
Checklist

[x] My branch is up-to-date with upstream/develop branch.
[x] Everything works and tested for Python 3.6.1 and above.

Description

I have migrated the test suite to pytest from unittest. Using pytest would improve the readability of the test code with its features like fixtures, mocks, etc.
To run the test in /hydrus folder run pytest

Majority of the repetitive code are as pytest fixtures in conftest.py which reduces the clutter in actual test files making it easier to read.
Fixed test_agent.py which was failing tests and builds before.
Fixed response variable in agent.py being referenced before assignment.

thanks. could you also bump the Python versions used in the tests to 3.8 (removing 3.7)?


Refactor core file validators based on aind-data-schema-models expected modalities

https://github.com/AllenNeuralDynamics/aind-data-schema-models/issues/76

Waiting on https://github.com/AllenNeuralDynamics/aind-data-schema-models/issues/76


feat(provider): implement fake provider

Fixes: #605
This is my proposal for adding a fake provider. This is intended to be a minimal provider that supports just enough functionality so we can test things easily.
Thought Process:

the user must be in control of the values for proper testing (e.g. for testing the template engine, encoding...)
provider should support both data and dataFrom
support for a remoteRef.version can be implemented but is not really necessary.  I don't really see a use-case for that - but the added complexity is manageable.
i decided to not support remoteRef.property: I don't see added value from the testing perspective (because the property implementation really depends on a particular provider). The complexity is not worth it IMO.

Here's an example (the same as in the docs):
apiVersion: external-secrets.io/v1alpha1
kind: ClusterSecretStore
metadata:
  name: fake
spec:
  provider:
    fake:
      data:
      - key: "/foo/bar"
        value: "HELLO1"
        version: "v1"
      - key: "/foo/bar"
        value: "HELLO2"
        version: "v2"
      - key: "/foo/baz"
        valueMap:
          foo: example
          other: thing

apiVersion: external-secrets.io/v1alpha1
kind: ExternalSecret
metadata:
  name: example
spec:
  refreshInterval: 1h
  secretStoreRef:
    name: fake
    kind: ClusterSecretStore
  target:
    name: secret-to-be-created
  data:
  - secretKey: foo_bar
    remoteRef:
      key: /foo/bar
      version: "v1"
  dataFrom:
  - key: /foo/baz

apiVersion: v1
kind: Secret
metadata:
  name: secret-to-be-created
  namespace: default
data:
  foo_bar: SEVMTE8x # HELLO1  (via data)
  foo: ZXhhbXBsZQ== # example (via dataFrom)
  other: dGhpbmc=   # thing   (via dataFrom)

Looks awesome! This will be very useful to new contribs :)

/approve

/merge