No longer works with Depop website update.

Depop has recently updated its website, causing this script to suddenly stop working.
When 'Following', the program clicks the 'Followers' element and then just pauses there.
When 'Unfollowing', the program clicks the 'Following' element and then scrolls but it does not click any of the 'Following' buttons.
Maybe this fix is simple and is just as a result of Depop renaming some elements of the website?

Should have some time this week to investigate this

Thanks!

@rileypeterson any news?

No news. I did not end up having/making time. I apologize for that and feel bad. I'll post here some updates when I have some, but don't want to make any promises about when they will be made.

Please fix this, you angel! Great tool

Sorry to pester But any updates?

I finally got some time to work on this. Unfortunately, a challenge for me is that I do not have an account to login to. Nevertheless, I believe I've made some progress.
Can any of you test the following for me?

Copy the following code (or git clone and then checkout the bugfix2019 branch): https://github.com/rileypeterson/Depop/blob/bugfix2019/depop_github.py
Replace the chrome_path and home_user variables with your values as before.
Then login and try running the following mode (it should ask for a user to follow from e.g. gsvwear). I have not yet worked on the unfollowing mode.

What I'm expecting will happen is that it will go through and follow users for 30 seconds. Can anyone confirm that this works for them? If not, please post the traceback. If you have questions about how to test this please ask.

So I have ran it. It worked a couple of times (as you expected). However it faced 2 different errors. One of them is really simple and is minor: once the followers load too long the program shows the problem that  array is out of index. So I guess there should be some safeties.
Second error is unknown for me, while following users it stopped and showed traceback as in picture. I think but I am not sure that it may be when programs tries to follow user which is already followed.
One way to solve this problem to use some text files which could store data of followed people.
Also it would be a great program if it could dig deeper into followers and run for a long time without humans touch .
One way or another I am grateful to you and look forward to updates!
@rileypeterson

@rileypeterson
Any updates of the program?

@gustininho I believe I've handled the errors you describe and I'd be glad if you tried it again. Let me know how it goes.

Also it would be a great program if it could dig deeper into followers and run for a long time without humans touch .

Once I can get it to run consistently for a single follower list I can have it run for a longer time across more follower lists. But first I want to make sure it works consistently for a single follower list.

@rileypeterson So I have ran the program and the following process is now fluent without any errors. However, I think some parts of code do not function. It is not an error but a warning. When program starts user gets to write an input ("First username to use:"), the issue is that there is no difference what user enters to this field or even leaves it as a blank there is no difference in later program work. So the issue is that it does not navigate to the entered person's account.
I made a little fix which works but is not optimal.

I just created another input which works perfectly. (but that means that some piece of code is not functioning)
There was another small issue when pressing on login did not work in some cases (I think that depop has slightly updated the html of that page). But I have found very simple solution and I think that it is enough.

Overall, the following bot works perfectly 0 bugs regarding following process. The only thing that you should take a look at is navigation of my abovementioned issue.
Also, if we look in the future I think that the bot would be 1000x times better if it used invisible driver instead of chromedriver something like PhantomJS or HTMLUnit. Unfortunately, I do not have yet enough knowledge for such tasks. So the maximum I can do is suggest :)
Thanks for your app!

Ok, I made these fixes (https://github.com/rileypeterson/Depop/commit/708abc7ce6c47c671d031f85d6e569abff23e546)
That's a good point about navigating directly to the login url. I did that.
I will working on "chaining" users so that it's self sufficient.
Regarding switching to some headless browser: Maybe it will happen eventually, as of right now being able to debug visually is very helpful so that is why I'm using it.

@rileypeterson Good point about the debugging. Nice job! I will be waiting!

@gustininho Go ahead and give the most recent version a shot. Something I've noticed is that it works best when the browser window is actually in view on my computer (though not necessarily focused). Not really sure why that is, but I see better performance when I have it in the foreground. 🤷♂
I added some retry behavior for various errors. If you get an error please post the screenshot.
Also reminding you of the license and warning

@rileypeterson
The following algorhytm works perfectly. Retry behaviour works very well. Program while chaining quite often fails to get stats but when retries it works nicely.
Only got this error while getting stats. (The most recent version)

Today I have tested a previous version and 1-2 times I got this error. But I guess you are already aware of it. Because the newer version has not faced any errors like this yet.

Only got this error while getting stats. (The most recent version)

Because the newer version has not faced any errors like this yet.

Which of these is true? Are you still getting this error in the most recent version?? I just added a brief pause to hopefully alleviate this error.
If everything is going fine, I will work on the unfollowing part next.

@rileypeterson
Nah I have tested today and it worked pleasantly without any problems. Nice! So now you should work on unfollowing mode. I look forward to updates :)

@gustininho
I just wrote a sample portion of the unfollowing code (it should only run for 60 seconds). This part is significantly more difficult to test for me since I don't have an account (though also much more straightforward to code...). Can you let me know how it goes?

Have you tested it on macOS, trying to run it on macOS it gets to the followers page however it doesn't follow anyone.

@rileypeterson Hello, sorry for the delay. I have tested the unfollowing mode and unfortunately it does not work. The first following are unfollowed (5 people) and then the program only uses slider and slides down (huge steps) without pressing buttons.
Also, the place number that should show the amount of unfollowed users displays 0 everytime a person is unfollowed.

@uzair166
Hi, the symptoms that you are describing were happening on the previous version. You should use the newest one.
You should check whether you are using the right branch of this project. It should this one: https://github.com/rileypeterson/Depop/tree/bugfix2019

@gustininho
I am using that branch and I am getting some other errors. When it navigates to the login page i get the following error

To fix this, I removed the line which was causing it and i logged in manually on the browser when the program pauses after asking the user to enter their password. After i logged in manually I type anything into the terminal to allow the program to continue and it navigates to the profile page and brings up the list of followers however it doesn't follow anyone.
i think this may be due to sauce=[i for i in sauce if "data-css" in i and "Follow" in i and "span" in i] as when I inspect element on the follower list i don't see "data-css" anywhere in the html code

@gustininho Hi, I am using the right branch.
i think this may be due to
sauce=[i for i in sauce if "data-css" in i and "Follow" in i and "span" in i]
as when I inspect element on the follower list i don't see "data-css" anywhere in the html code

I have realised now the code gets stuck in this while loop
   while break_button_1=="no":         for data in sauce:             scroll_elm = driver.find_element_by_tag_name('html')             driver.find_elements_by_xpath("""//p[contains(text(),'@')]""")[1:][0].click()             scroll_elm.send_keys(Keys.END)             data_word=data.split("=")[0]             buttons=driver.find_elements_by_css_selector("["+data_word+"='']")[1:]             for button in buttons:                 if button.text=="Follow" and button.is_displayed():                     break_button_1="yes"                     break             if break_button_1=="yes":                 break         sauce=driver.page_source         sauce=sauce.split()         sauce=[i for i in sauce if "data-css" in i and "Follow" in i and "span" in i]         sauce=list(set(sauce))     print(data_word)
After the program as following or unfollowing, after i input following, nothing is ever printed to the terminal, the browser navigates to the profile page and and just opens my list of followers

In the following code what is the split method meant to split at? In the program it splits the data at every space, is it meant to be newline?

@uzair166 that code is from the master branch, not the bugfix2019 branch.
@gustininho ok I will try and figure it out when I’ve got time

Ohh yes I have just realised! I apologise for my stupidity! Thanks so much:)

@rileypeterson If you need an account to test it with, if you give me your email I can email you some account details to test it with :)

@gustininho I managed to find a "hacky" solution to get the unfollowing working using the code in the master branch!
If you change the unfollowing code in the master branch to the following

and then when you run the program and select unfollowing it will ask you to input the data word.
Then you go the chrome window that opened up and inspect element on one of the "following" buttons and copy and paste the classname on the a tag (shown in the image below)

It should then unfollow everyone! It managed to work for my account and I was following over 6000 :)
It's not a perfect solution but it works until we get a better one

@uzair166 I appreciate the offer, but don't want to do that. It sounds like you've got a temporary fix working which is great! It will probably be mid/late June before you can expect me to work on this.

@rileypeterson
Any news regarding this amazing tool?

@gustininho thank you for reminding me. I will work on it within the next 7 days (hold me to it!), I had a difficult month personally so couldn't bring myself to work on it. I'll push something to master and notify you here when I do!

@rileypeterson
Haha! My appreciation is endless!

@gustininho try the unfollowing mode on the most recent commit to the bugfix2019 branch and let me know how it goes, if there are errors please post screen shots, otherwise explain the behavior you see... I'm expecting it to unfollow for 60 seconds and then exit.

@gustininho @uzair166 Can one of you try the unfollowing mode for me?

I will be able to do that in a few days period

@rileypeterson
Sorry, I had a very busy time so I couldn't contribute.
Now I have switched to Ubuntu and while running this program I face some errors. I am not sure if the issue is somewhere in my Ubuntu python or it is in the program.
These are two abovementioned issues. If I try to run it I face this issue:
(1)
Once I delete this code:
Store credentials (as dictionary) in config.json, if you want
try:
with open("config.json") as f:
config_json = json.load(f)
except FileNotFoundError:
optional piece of code which did not work I receive another error  :
Chome is being initiated I receive this eror:
(2)
Most likely that I am doing something wrong but I would like you to take a look at it.

You might need to just do python3 instead of python
The default version of python on Ubuntu is python 2
Let me know if that works

@rileypeterson
Hahaha! Thanks Riley! Silly me, I have checked whether the version of Python is updated but never checked if I'm using the right version. The program works without any issues. Thanks a million!

Great!


change behavior of _config.yml

don't have local _config.yml inherit from defaults.yml as that is not an expected behavior.
rather when scaffolding a new yarn site copy the entirety of defaults.yml into the new local yarn installation.

going to keep behavior as is for now, but going to document the inheritance pattern

actually going to change it, was too confusing with inheritance
fixed via https://github.com/yarnjs/yarn/commit/52cff79caeb0813d49f8efa41b2378ea1b5ecbdb


Bubble up private code gen methods to make integration easier (see Data Hub).

Some functions required for extraction are currently included as private functions with code-generated modules.  It would be more convenient to work with entity services from the data hub perspective were these functions part of the es:module.
Propose removing two functions from instance converter and two functions from version translator.
instance:init-source => es:init-source
instance:add-attachments => es:add-attachments
translator:init-source => es:init-translation-source
translator:copy-attachments => es:copy-attachments
also to add
es:init-instance which replaces some inline code currently in the codegen modules.

I have this work ready to review by @paxtonhare .
It will require docs work, as the public interface is slightly changed.  Also I'd like review to make sure these functions make sense, that they are indeed useful and should be exposed.

Hi @bsrikan this issue should go to Kim next, as it is largely a documentation task.

Test updates are checked in #310. Passing it on to Kim for documentation.

Apidoc for these functions has already been added. You can find them pubs, under the "Helper Functions" subcat of the ES apidoc. Charles has reviewed them, so I think we close this task out.


i18n(zh-cn): update cloudflare.mdx

Description (required)
update cloudflare.mdx
Related issues & labels (optional)

https://github.com/withastro/docs/pull/8211

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

zh-cn
guides/integrations-guide/cloudflare.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


APPS-1241 Add concurrent scans limiter

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

Project coverage is 80.37%. Comparing base (4822898) to head (297b109).

Files
Patch %
Lines

client.go
68.42%
6 Missing :warning:

io/aerospike/record_reader.go
33.33%
4 Missing and 2 partials :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #113      +/-   ##
==========================================
- Coverage   80.57%   80.37%   -0.21%
==========================================
  Files          62       62
  Lines        3218     3235      +17
==========================================
+ Hits         2593     2600       +7
- Misses        432      441       +9
- Partials      193      194       +1

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


addPolyline not exsist icons,so we cant add a symbol polyline

can you update this method?

I thought that was strange, too. Especially because a bug has been fixed ( https://github.com/SebastianM/angular-google-maps/issues/94 ) in this property, but it is not available in the directive https://github.com/SebastianM/angular-google-maps/blob/f605cb83def42beeff2a16e171fb2c0e4e82b38e/packages/core/directives/polyline.ts#L39

ok, thx you for your reply !


Technical Error occured - Retry Transaction

when i use meda or visa card in live account  return technical error

Hello
could you please provide us with more information to trace down the issue

I used SDK 4.0.0 and followed the instructions in the document, and I tested through the<PHONE_NUMBER>1 test cards, and the operations were completed successfully. When transferring the account to Live and using a real mada card, the following error appears to me: "technical error try again"
Then I used a Visa card and it gives me the same message
here variables that i used:
intent.putExtra(PaymentParams.ADDRESS_BILLING, address)
intent.putExtra(PaymentParams.CITY_BILLING, "Riyadh")
intent.putExtra(PaymentParams.STATE_BILLING, "Riyadh")
intent.putExtra(PaymentParams.COUNTRY_BILLING, "SAU")
intent.putExtra(PaymentParams.POSTAL_CODE_BILLING, "00966")
intent.putExtra(PaymentParams.ADDRESS_SHIPPING, address)
intent.putExtra(PaymentParams.CITY_SHIPPING, "Riyadh")
intent.putExtra(PaymentParams.STATE_SHIPPING, "Riyadh")
intent.putExtra(PaymentParams.COUNTRY_SHIPPING, "SAU")
intent.putExtra(PaymentParams.POSTAL_CODE_SHIPPING, "00966")

Are you using Pt1 or Pt2 version
And please find provide me with the flow. When exactly this error appears?
And if you provide me with the response code from onActivityResult method it will be helpful.

using Pt1 version

Click on Checkout. And call the library by the Pay Tabs. The screen for entering the card’s data appears. Enter the data and press Pay.
The total is shown with the currency symbol SAR

What is your Merchant id ?
On Sat, 28 Nov 2020, 6:21 am Mubark-p<EMAIL_ADDRESS>wrote:

[image: WhatsApp Image 2020-11-26 at 17 31 15]
https://user-images.githubusercontent.com/64717588/100493672-48950a00-314a-11eb-903b-4252609fc7d0.jpeg
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/paytabscom/paytabs-android-library-sample/issues/10#issuecomment-735037897,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEIGPXT6CZCL5YHWAF2J5CTSSB3FJANCNFSM4UBOTLXQ
.

10070940

please make sure you pass the address without special characters

billing of address  ? i send location  address from google maps

yes try to remove the special character "," after receiving it from google maps

i will try and send feedback thanks ^^

and if you pass Arabic characters, please make sure to pass it in English instead

the reason behind this error is that the processor rejecting the transaction so we are trying to figure out the cause


Setting for unique text color depending on speaker?

Title says all, small addition but would be a really nice addition.

You mean the speaking text for the entire text, right?

yeah, I understand that you can simply add the [color=] command in front of each dialogue but having it so the speaker has a specific default text color, I get that it's probably niche but it'd be QOL, or could have something more-so like "default effects on text" which would let you type in or select specific BBCode which would let you have those applied automatically for that speaker, eg.
CharacterA and CharacterA (thoughts) as two different characters, setting one to italicize and color the text differently automatically or by default for CharacterA (thoughts) rather than applying it individually?

yeah, that sounds like something we could add when we improve the characters 👍🏻

Hm... I mean this could be the easier solution.
But we could also just have a theme selector on the character editor. By having a theme for your character you could change much more then the color (a different font for example).

So in 1.4 (currently WIP) you can set a theme for each character. This means you can also create a theme with a different color for your character. To be honest this is probably still a bit annoying until Theme inheritance #232 is a thing, but I don't think we will add a text color setting to the character editor now. If you disagree, feel free to reopen the issue.


[UX] Moving yarn above npm

As at https://symfony.com/doc/current/frontend/encore/installation.html

Q
A

Bug fix?
no

New feature?
no

Tickets

License
MIT

Haha I think npm was above yarn just because it's more popular, but yes I think yarn is more popular in this community so let's put it above! 😁

I've been putting npm first these days simply because it is something that is already installed for users with node. That lowers the barrier of entry. If we're going to make it consistent, I'd vote for putting npm first.
yarn is likely common in our community because that's what we started recommending when Encore came out. But back then, I'm not sure that npm even had its lock file yet. These days, I don't have much a preference between the two - hence wanting to recommend the one that comes pre-installed with node.

Would it be possible to use a toggler/segmented control like the "configuration bloc" ? Ideally that would remember the choice made by the user ?
That could ease a lot the reading

Don't forget about pnpm and bun :trollface:

You cannot imagine how the front-end wars do not concern me (especially when you consider the basic install commands we would ask any user to run are exactly the same...)
But right now, it would be a blind lie to pretend Yarn is on the rise... and.. whatever "userbase" UX could have today, npm is (sadly or not is not my point) the de facto tool everyone has.
So i'm 100% to write documentation with choices "yarn / npm / pnpm / bread / burger-bread" .... as long as the default displayed one is the default installed one.
And even you, right now, reading this message, i'm pretty sure you did not expect those usage statistics.

npm vs yarn .... ("yes but you have to install npm to install yarn".... if we don't see how this is itself a reason..... let's look the next line :p )
yarn vs pnpm vs vite

Who can stand and say "yarn is on the rise" right here right now will have my eternal respect.
(please note i have no personal opinion on those tools...  Mootools was the only one <3  )
Right now, i strongly beleive we have to use the tool everyone has. And even if i'm not sure it's a good thing...... today this tool is npm.

Forgetting about the order. Is it even common to show npm and yarn these days? Are there any popular projects showing their install with both? At this moment, I'd prefer to ONLY show npm.

Closing in favor of #2263, where yarn commands have been removed.
Anyway, thanks for the contribution :)


TypeScript Compiler grabs modules I included on a different branch

TypeScript Version:  TypeScript SDK <IP_ADDRESS> and Visual Studio 2019
Expected behavior:
I have two different branches in my aspnetcore project using Visual Studio 2019.
On the main branch, I make use of TypeScript, but do not use a module system.
As a temporary workaround, I declare '$' as a global variable of type 'any' - being well aware that this is in principle a bad thing.
On the feature branch, I made commits to switch to using ES2015 modules, and switch the typescript compilation from msbuild to webpack.
I expect that switching to the feature branch and then returning to the main branch does not change the outcome of the build.
Actual behavior:
When I return after a build on the feature branch to the main branch and do a build, the build outputs a TS2451 error (twice, but let's ignore this for now).
1>------ Rebuild All started: Project: WebApplication1, Configuration: Debug Any CPU ------
1>C:\1_Projects\TypeScriptNode\WebApplication1\WebApplication1\node_modules@types\jquery\misc.d.ts(6536,15): error TS2451: Build:Cannot redeclare block-scoped variable '$'.
1>C:\1_Projects\TypeScriptNode\WebApplication1\WebApplication1\scripts\hello.ts(2,13): error TS2451: Build:Cannot redeclare block-scoped variable '$'.
1>C:\1_Projects\TypeScriptNode\WebApplication1\WebApplication1\node_modules@types\jquery\misc.d.ts(6536,15): error TS2451: Build:Cannot redeclare block-scoped variable '$'.
1>C:\1_Projects\TypeScriptNode\WebApplication1\WebApplication1\scripts\hello.ts(2,13): error TS2451: Build:Cannot redeclare block-scoped variable '$'.
1>Done building project "WebApplication1.csproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Minimal repro example is here:
https://github.com/HermannGruber/TypeScriptNpmAndBranches
To reproduce the error, open the solution in Visual Studio 2019, do a build on the master branch (successful), switch to the branch feature/modules, build again (successful), switch to the master branch, and build again (fails).

TypeScript can't possibly be reading files from the "wrong branch" - it doesn't have a built-in git implementation or anything remotely like that.
You should be able to reproduce the problem using a simple series of file operations - we can maybe look at the repo eventually, but we don't have the resources to do long investigations on user repos.

Okay, I see :-) I looked again into this issue and managed to reproduce the problem without Visual Studio. I have the following tsconfig.json in the root folder:
{     "compilerOptions": {         "module": "none",         "strict": true,         "noEmitOnError": true,         "sourceMap": false,         "experimentalDecorators": true,         "emitDecoratorMetadata": true,         "target": "es5",         "lib": [             "es2015",             "es5",             "dom"         ],         "outDir": "wwwroot/js"     },     "exclude": [ "node_modules, wwwroot" ],     "include": [ "scripts/**/*" ],     "compileOnSave": true }
in the scripts/ folder, I have a file "hello.ts", which looks as follows:
//import * as $ from "jquery" declare var $ : any; $(() => {     document.body.innerHTML += "<i>Hello TypeScript using jQuery</i>"; });
Furthermore, I have a node_modules folder, which contains all sorts of stuff. But this folder is listed in my .gitignore (by default for Visual Studio solutions). Nothing else is in my root folder. Now if I run
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VisualStudio\NodeJs\node.exe" "C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.4\tsc.js"  --project ".\tsconfig.json" --listEmittedFiles --locale en-US
I get the following output:
`node_modules/@types/jquery/misc.d.ts:6536:15 - error TS2451: Cannot redeclare block-scoped variable '$'.
6536 declare const $: JQueryStatic;
~
scripts/hello.ts:2:13
2 declare var $ : any;
~
'$' was also declared here.
scripts/hello.ts:2:13 - error TS2451: Cannot redeclare block-scoped variable '$'.
2 declare var $ : any;
~
node_modules/@types/jquery/misc.d.ts:6536:15
6536 declare const $: JQueryStatic;
~
'$' was also declared here.
Found 4 errors.`

Addendum: In particular, I have no files package.json and no package-lock.json. Such files exist on the feature branch, where I inited npm.

Intentionally, exclude doesn't prevent node_modules/@types from being auto-included. Add "types": [] to your tsconfig.json if you don't want the jquery @types definition included.

Thanks a lot! I was not aware of that. I can imagine that auto-including those type definitions helps in many situations. Adding "types": [] to the "compilerOptions" in tsconfig.json is a solution in my situation.


Update cmake for onemkl

Lapackpp tests pass on Intel machine.
cd slate/lapackpp/build/test/
./run_tests.py --device
...
All routines passed.
Elapsed 106.91 sec

On sunspot, for both cpu and device code, the CMake build passes quick tests.
env ZE_AFFINITY_MASK=0.0 ./run_tests.py --quick
All routines passed.
Elapsed 167.59 sec
Mon Jul 10 21:32:42 2023


E2e cleanup

Since prepare might be ran on a different system to init the module, we don't want to start libvirtd. That logic should be part of cda. In addition, don't mix the venv of the two submodules.

/test e2e-dpu-operator-tests

/test e2e-dpu-operator-tests

/test e2e-dpu-operator-tests

/lgtm


CW-Unit-test-suites: Unit test suites

Summary

Adds/formats unit tests for the following files:

AddButton

CommandmentGroup

ExamineItem

SinListItem

Sorry for the slow response, I was on vacation last week. Catching up on things now, I'll take a look at this in the next day or two!


Outdated links to API documentation in README

One section in the README reads:

The Twitter API is documented at:
https://dev.twitter.com/overview/documentation
The list of most accessible functions is listed at:
https://dev.twitter.com/rest/public

These links now all redirect to https://developer.twitter.com/en/docs - the API documentation is fragmented now and that list of functions doesn't exist anymore as such.
I'm guessing a rewrite should make clear(er) which of Twitter's API(s) the project is currently applicable to.

There is still a list here: https://developer.twitter.com/en/docs/api-reference-index
Thx for the notice, I've updated the README

Ohh, I've looked at/over different parts of the API docs several times within the last 2 weeks but never found that list. o__O Thanks!


Taskfile

Description

This PR:

Adds a Taskfile to make it easier to build clp_ffi_py
Refactors the docs Taskfile so that it can be called from the main Taskfile.
Applies our latest guidelines for Taskfiles to the docs tasks.

NOTE: This PR requires task v3.35.1 for the latest bug fixes.
Validation performed

Validated building each artifact from a clean state:
task clean && task
task clean && task wheel
task clean && task docs:site

Validated repeated builds of each artifact-generating task did not result in the artifact being regenerated:
task clean && task wheel && task wheel
task clean && task docs:site && task docs:site

Validated that after running task docs:site, changing any of the following files triggered a rebuild of just the docs:

docs/conf/conf.py
docs/src/index.md
docs/tasks.yml

Validated that after running task wheel, changing any of the following triggered a rebuild of the wheel:

clp_ffi_py/__init__.py
src/clp (the version of the clp submodule)
src/clp_ffi_py/error_messages.hpp
Taskfile.yml

Validated that after running task docs:site, changing any of the following files from the previous step triggered a rebuild of the wheel and the docs.

Validated task clean && task docs:serve built and served the site.

Workflow failures unrelated to the present PR. They'll be addressed in another PR.

Title: ?
Add a main `Taskfile` to make it easier to build clp_ffi_py; Refactor the docs `Taskfile` to make it callable by the main Taskfile. (#46)

It seems we do not checksum all build/dist artifacts. e.g.,

I did intentionally leave out the .tar.gz, but that is probably not a good idea since the .tar.gz can be used to build the package from source. Added the .tar.gz.

In fact, hashing of the *.whl file does not seem correctly handled.

Huh, strange. I would've expected task to checksum the file properly by itself. Anyway, switched to the explicit md5 checksum.


Readme is inaccurate

The readme says that npm run dev starts a dev server, but this is not the case per the package.json.  In actuality, it is npm start that starts the dev server.

Good catch!


instalaoder : command not find, after v.4.5.3 installation

Hi,
I've just installed the lastest instaloader's version (4.5.3) on Linux Mint 20.
Installation was successfull, but when I type "instaloader profilename", my terminal says instaloader : command not find whatever profile's name I put.
When I was using instaloader 4.2. on Mint 18, no problem.
Maybe I miss something ?

Duplicate of #440


refactor(nuxt): refactor NuxtIslandResponse and improve nuxt-island render mechanism

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Hi :wave: this PR brings some improvement to nuxt islands and added more comment to make it easier to understand for newcomers if they are working on islands.
refactor for slots:

use a component just like how client component are working
move to attributes like data-island-**
get it's own interface in the NuxtIslandResponse
the serverside teleport component for slots can be used in non island components.
move props from html to the json response

refactor of NuxtIslandResponse.

move slots and client component's data into their own interfaces instead of having props/components at the root of the object.

former props and components are moved to the interface for client components

the server-side teleport component for client components has been improved to be usable in non island components. So we can propagate the nuxt-client attribute globally (in another experimental flag and in another PR)
improvement of the render mechanism:

the new system relies on withMemo to have a better control on the static and teleports rendering

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have added tests (if possible).
[ ] I have updated the documentation accordingly.

/ecosystem-ci run

Tagging @harlan-zw because of the og-image failure - though this looks like a snapshot mismatch rather than anything more serious.

Tagging @harlan-zw because of the og-image failure - though this looks like a snapshot mismatch rather than anything more serious.

The actual image buffer snapshots aren't modified so looks good for the og-image module. I can rework these tests if it's a blocker.


memory leak

Hi!
I have a memory leak in the exporter.

Dcgm-exporter: 3.3.5-3.4.0
Model: NVIDIA A30
Driver Version: 550.54.14
CUDA Version: 12.4

@computerixxx,  Please answer the following questions to get better assistance:
What happened?
Tell us what happened and provide as many details as possible, including logs.

What did you expect to happen?
Tell us about expected behaviour.

What is the GPU model?
Tell us about the hardware configuration of the GPU, including the output of 'nvidia-smi'

What is the environment?
Is DCGM-Exporter running on bare metal or in a virtual environment, container, pod, etc?

How did you deploy the dcgm-exporter and what is the configuration?
Tell us how you deployed DCGM-Exporter. Did you use helm, build from source or use the GPU Operator?

How can we reproduce the issue?
Clear and concise steps to reproduce an issue can help everyone by allowing us to identify and fix problems more quickly.

What is the version?
Tell us about DCGM-exporter version.


Please dont stop this project :/

mcstatus.io is a much more stable service than this library. Node is not a great language for streaming binary data over TCP sockets, which is the main reason why this library has been deprecated. I highly recommend using mcstatus.io instead, and it is easy to implement into your existing service.


kubernetes proxy always activating on 1.0.1

Rancher Version: 1.0.1
Docker Version: 1.10.3
OS: Centos 7
Steps to Reproduce: add host
Results:
kubernetes proxy always activating
Expected:
log:
4/16/2016 12:38:23 AMI0415 16:38:23.843694       1 iptables.go:177] Could not connect to D-Bus system bus: dial unix /var/run/dbus/system_bus_socket: no such file or directory
4/16/2016 12:38:23 AMI0415 16:38:23.843818       1 server.go:154] setting OOM scores is unsupported in this build
4/16/2016 12:38:23 AMI0415 16:38:23.845807       1 server.go:216] Using userspace Proxier.
4/16/2016 12:38:23 AMI0415 16:38:23.848160       1 proxier.go:159] Setting proxy IP to <IP_ADDRESS> and initializing iptables
4/16/2016 12:38:23 AMI0415 16:38:23.898682       1 server.go:236] Tearing down pure-iptables proxy rules.
4/16/2016 12:38:23 AMI0415 16:38:23.981901       1 conntrack.go:36] Setting nf_conntrack_max to 262144
4/16/2016 12:38:23 AMI0415 16:38:23.981988       1 conntrack.go:41] Setting conntrack hashsize to 65536
4/16/2016 12:38:23 AMopen /sys/module/nf_conntrack/parameters/hashsize: read-only file system

@zzq889 can you add write permissions on /sys/module/nf_conntrack/parameters/hashsize? This is the file where kube-proxy writes for connections tracking

I roll back to rancher server 1.0.0 and proxy works fine for me.
and it seems that CATTLE_AGENT_IP doesn't apply to kubernetes config
4/16/2016 2:10:11 AMI0415 18:10:11.960793       1 iptables.go:177] Could not connect to D-Bus system bus: dial unix /var/run/dbus/system_bus_socket: no such file or directory
4/16/2016 2:10:11 AMI0415 18:10:11.961931       1 server.go:154] setting OOM scores is unsupported in this build
4/16/2016 2:10:11 AMI0415 18:10:11.968214       1 server.go:216] Using userspace Proxier.
4/16/2016 2:10:11 AMI0415 18:10:11.973238       1 proxier.go:159] Setting proxy IP to <MY_EXTERNAL_IP> and initializing iptables
4/16/2016 2:10:12 AMI0415 18:10:12.052933       1 server.go:236] Tearing down pure-iptables proxy rules.
4/16/2016 2:10:12 AMI0415 18:10:12.181080       1 conntrack.go:36] Setting nf_conntrack_max to 262144
4/16/2016 2:10:12 AMI0415 18:10:12.181167       1 conntrack.go:41] Setting conntrack hashsize to 65536
4/16/2016 2:10:12 AMI0415 18:10:12.182193       1 conntrack.go:46] Setting nf_conntrack_tcp_timeout_established to 86400
4/16/2016 2:10:16 AME0415 18:10:16.182485       1 event.go:202] Unable to write event: 'Post http://master/api/v1/namespaces/default/events: dial tcp: lookup master on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:53: i/o timeout' (may retry after sleeping)
4/16/2016 2:10:22 AMI0415 18:10:22.227345       1 proxier.go:415] Adding new service "default/kubernetes:https" at <IP_ADDRESS>:443/TCP
4/16/2016 2:10:22 AMI0415 18:10:22.227855       1 proxier.go:360] Proxying for service "default/kubernetes:https" on TCP port 60081
4/16/2016 2:10:22 AMI0415 18:10:22.233432       1 roundrobin.go:263] LoadBalancerRR: Setting endpoints for default/kubernetes:https to [<IP_ADDRESS>:6443]

@sangeethah, could you test it against latest rancher using centos machine? And see if you can reproduce it.

@alena ,Tested kubernetes environment using Centos 7.2 host.  Kubernetes stack got created successfully , but the hosts keeps getting to "reconnecting" state and back to "active" and   Kubernetes stack took close to 1 hour to get  created . I have logged a different issue to tracke this -https://github.com/rancher/rancher/issues/4610

@sangeethah I believe it should be fixed by now, could you retest?

Rancher Version: v1.1.1
Docker Version on hosts: 1.10.3
Host OS: CentOS Linux 7 (3.10.0-327.22.2.el7.x86_64)
In the default cattle environment , Add 1 Centos 7 host.
Update default environment to kubernetes env.
Kubernetes system stack gets to "active" state in 5 minutes.
Able to add service/rc/pods successfully.
mysql> select id,name,state,created,removed,first_running from instance where name like "%Kubernetes%";
+----+-----------------------------------------+---------+---------------------+---------------------+---------------------+
| id | name                                    | state   | created             | removed             | first_running       |
+----+-----------------------------------------+---------+---------------------+---------------------+---------------------+
|  1 | Kubernetes_etcd_data_1                  | stopped | 2016-07-20 21:17:26 | NULL                | 2016-07-20 21:17:29 |
|  2 | Kubernetes_etcd_1                       | running | 2016-07-20 21:17:27 | NULL                | 2016-07-20 21:17:56 |
|  4 | Kubernetes_etcd_data_2                  | purged  | 2016-07-20 21:17:58 | 2016-07-20 21:19:12 | NULL                |
|  5 | Kubernetes_kubernetes_1                 | running | 2016-07-20 21:18:13 | NULL                | 2016-07-20 21:18:44 |
|  6 | Kubernetes_rancher-ingress-controller_1 | running | 2016-07-20 21:18:46 | NULL                | 2016-07-20 21:19:15 |
|  7 | Kubernetes_controller-manager_1         | running | 2016-07-20 21:18:46 | NULL                | 2016-07-20 21:18:57 |
|  8 | Kubernetes_kubelet_1                    | running | 2016-07-20 21:18:46 | NULL                | 2016-07-20 21:18:59 |
|  9 | Kubernetes_rancher-kubernetes-agent_1   | running | 2016-07-20 21:18:46 | NULL                | 2016-07-20 21:19:14 |
| 10 | Kubernetes_kubectld_1                   | running | 2016-07-20 21:18:46 | NULL                | 2016-07-20 21:19:59 |
| 11 | Kubernetes_proxy_1                      | running | 2016-07-20 21:18:46 | NULL                | 2016-07-20 21:18:56 |
| 12 | Kubernetes_scheduler_1                  | running | 2016-07-20 21:18:46 | NULL                | 2016-07-20 21:18:53 |
+----+-----------------------------------------+---------+---------------------+---------------------+---------------------+
11 rows in set (0.01 sec)


Feature Request / Multiple py files

Thank you for creating p5py.  It is almost exactly what I was looking for!
I'm not sure if you are interested in feature requests but... It would be great if p5py could support multiple .py files.
So, for example, in your sample project.  The Wave class could be defined in wave.py and then in the main sketch file, you could import wave.  (I imagine each .py file would be in a tab like in the Processing SDK)

Yeah I think it would be great if we can make multiple .py files. But I'm not very familiar with front-end development. So I may need to spend some time to see how to make it.


[Task] Configure GH workflows to support PRs that originate from this repo

What product(s) is this story for?
Sage Monorepo
As a user, I want
No response
Description
The existing CI workflow runs when:

pushing to main
a PR targeting main is opened from a fork

The CI workflow currently doesn't run when a PR is created from this repo. For example, this PR created by a bot.
The task is to update the CI workflow to run it when a PR is created by this repo.
Acceptance criteria
No response
Tasks
No response
Anything else?
No response
Have you linked this story to a GitHub Project?

[X] I have linked this story to a GitHub Project and set its metadata.

The scope of this ticket has been extended from updating the CI workflow to updating all GitHub workflows that should run when a PR is created from this repo.

Added to Sprint 24.3

Done for Sonar


Feature/355 nested dragging

Allow dragging of fieldsets between nesting barriers and to other Archetype properties: https://github.com/imulus/Archetype/issues/355

@Nicholas-Westby Great work! :+1:
It looks very promising. I haven't tested it, tho', just glanced the code.
A few things come to mind (bear with me if they're already handled):

The source fieldset alias should match one of the target ones, since it's usually used for rendering (calling partials).
Does this break the max allowed fieldsets feature?
Can this entire feature be made opt-in through configuration?

@Nicholas-Westby This does look pretty sweet!
Aside from the questions @kjac mentioned, I'm not sure I have much feedback (other than this really adds flexibility #h5yr).
Regarding getting it into the next release. It's a matter of testing and figuring out if we can make this opt-in and can work through the max fieldsets potential issue.

Thanks for the comments. Some replies:

I'll make sure to add the performance suggestion.
I'll take a look to see if the fieldset alias is available on the model (don't see why it wouldn't be) to add an extra check.
Nope, it respects the max fieldsets feature (see the "canAdd" variable).
It can be made opt-in, though the trick would be figuring out which configuration. Since this deals with multiple configurations, I'm thinking the code will look at the drop target for that config (of course, users can then enable it for all their Archetypes). However, that will lead to funny situations like only being able to drag one way.
Oops, I will fix that code comment (and now I know why GitHub was coloring that red).

@Nicholas-Westby Good deal. I think the opt-in is just to make it explicit that you can now do this. Trying to avoid unintended consequences on existing installs.

I just noticed new fieldsets won't drag across boundaries. Seems like they are missing a few properties until they are saved. Here's a fieldset's property before being saved:

And here it is after being saved:

The before is missing the dataTypeGuid. I'm thinking I may need to add that to the model when it is first created (rather than on save). Any tips for going about that before I dig into it tonight?

Nevermind, think I figured out the issue with new fieldsets.

I think I've addressed all of your comments (see latest commits). Let me know if there are any further changes you'd like me to make.

@Nicholas-Westby, I'm hoping to get to this to review this week.

Yo, I'm reviewing this now. So far REALLY good :) 👍
Only thing so far is a minor spacing thing I think we should consider:

I'm still reviewing for any Gotchas™, but I'm really happy so far.

Ok functionality review is complete. WOW. #h5yr!

Looking through code now :)

Looks like nice and clean code. @kjac, are you in a position to review this is in the next week or two?

Margin added :-)

👍  I have some margin to fix in the config as well (unrelated to this PR).

I'll have a look at it tonight or tomorrow :-)
On Apr 28, 2016 5:28 PM, "Nicholas-Westby"<EMAIL_ADDRESS>wrote:

Margin added :-)
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/imulus/Archetype/pull/356#issuecomment-215464960

OK I've been fooling around with this a little while now and I really like the feature. However, there are a few issues with it.

The $scope.canSort() method should probably take $scope.canRemove() into account. I was sorely confused until I realized I couldn't move my fieldset because it was the last one in the archetype, and $scope.canRemove() prevented the update.
If I'm not mistaken, multiple properties can end up getting the same alias because of the way aliases are assigned to properties in archetypeService.getUniquePropertyAlias(). The simplest way to achieve this would be to drag a fieldset from a source archetype to a target archetype and then afterwards create a new fieldset of the same type in the source archetype (without saving first). Not sure if this is an issue, but I have a feeling it might just potentially be for editors relying on unique aliases.
Validation is an issue. An invalid state is carried along from the source archetype to the target archetype, which looks funny. Even worse, if the target archetype does not have validation set up on the same properties, the validation breaks. This may be a configuration issue, but still worth addressing.
The publishing feature is broken when dragging fieldsets between archetypes. This may be due to that merge issue @kgiszewski ran into, it looks like something isn't quite right (I'm testing on 7.4). I'll have to test some more on this.

A very positive note is that the RTE's aren't breaking. I had sort of expected that with all the grief we've had with them vs. fieldset sorting in the past.

Thanks for the thorough review! I'll try to address some of these tonight. Some comments:

I'm not familiar with the scenario you are describing regarding canSort(). I'll see if I can figure it out, but if you could go into some more detail about this I would appreciate it.
I'm not familiar with the "unique alias" stuff, so I'll dig into that to familiarize myself.
I'll see if I can re-validate after the drop.
Didn't see publishing issues myself, but I'll see if I can replicate and fix.
Will see if ui-sortable has an option to indicate valid drop targets.

Thanks guys, the next release will have some killer features. Thanks for your hard work.

Noticed something else I should probably look into, though I'm not certain it's particular to this new feature:

Got those console errors when clicking the "reorder" button (or was it the "I am done reordering" button) in the document type designer:

Probably something related to the new 7.4 Umbraco overhaul.

Looks like even the current release of Archetype has issues with validations. I tried a few things and nothing has worked yet. Seems to be a problem of validations not being processed when fieldsets are collapsed.
Wasn't there some mention on another ticket recently about something relating to issues when fieldsets are collapsed? I think a solution may have been mentioned. Maybe it was to modify the ng-if that is removing fieldset contents when collapsed  so that it doesn't remove the contents if the fieldset has been opened once.
Maybe that would be worth trying. Let me know what you both think. In any event, it's getting late, so I'll have to pick this up again over the weekend.

@Nicholas-Westby The current release has problems with validations of collapsed archetypes. Something that is partially mended by the upcoming release. The fix you propose is exactly the fix that has been implemented (or should have been, I still need to double check on that merge).
I think I need to clarify a bit on my findings from last night :)

With regards to canSort(), you've changed that method to always return true. That's not really correct, as fieldsets cannot be moved out of an archetype, if the current limit for minimum fieldsets in that archetype is not fulfilled. I belive that if canSort() returns the value of canRemove(), this issue will be fixed. But it requires testing, of course :)
The mentioned publishing issue has nothing to do with Umbraco publishing, but with the newly introduced publishing settings on fieldsets. You can enable publishing on fieldsets, which introduces publish and unpublish dates on the individual fieldsets. The problem is that the datepicker datatype doesn't save its value back to its model until the formSubmitting event is executed, so I had to add an archetype-submit-watcher to watch the publishing datepickers. Long story short, we need to make sure that these publishing dates are stored on submit, both for open and closed fieldsets (again, I need to double check that merge first and foremost).
For ui-sortable there are a bunch of events you can hook into (see http://api.jqueryui.com/sortable/ - the over event might be the best option). If you can somehow render a drop target invalid, that'd of course be ideal. It that's not possible, maybe you can add a CSS class to the drop target placeholder that hides it or grays it out or gives some other indication that this is not a valid drop target.

I just merged the upstream master branch back into my forked feature branch. Perhaps that will help. I'm going to give it another go now.

I have the validation stuff playing mostly nicely on my local (no commits yet, as it is super hacky and needs some work). Basically removes the validations, then revalidates after the drop. Will try to get that finished up Sunday.

Strange, I thought I left a comment last night (perhaps I didn't press the "Comment" button).
Short version is the RTE dragging is borked and I'll need do so some more work on that (in addition to some other things). Validation's mostly done though.

@Nicholas-Westby, ha. Welcome to the suck ;) RTE has long been a pain point ;) :hurtrealbad:

Looks like the RTE is an issue because the ID is generated with archetypeService.getUniquePropertyAlias(), which changes when dragging between fieldsets (that makes the disable/enable of the RTE fail). Perhaps I can tack on a data attribute or something to remember the original property ID to assist with the RTE fix. Will look into tomorrow.

@Nicholas-Westby it might be possible to replace archetypeService.getUniquePropertyAlias() with some usage of _.uniqueId() (see documentation: http://underscorejs.org/#uniqueId)

RTE's seem to be good and the validations are acting a little more sensible. I just clear the validation errors on the source/target Archetypes on drag drops. If errors still exist, they'll be made apparent during the next attempt to publish.
Will work on the further modifications tomorrow.

@Nicholas-Westby 👍  great work, can't wait to test the final version

I think I've addressed all of the outstanding issues. Let me know if there's anything I missed.

Super. Likely will review on Monday.

@Nicholas-Westby, I haven't forgotten but the pesky day job is taking priority lately. I'll get to this soon :)

No worries. I can relate :-)

@Nicholas-Westby I tried reviewing this today but got an error when trying to sort a fieldset. Core version 7.2.8.

Strange, I haven't seen that on the latest version of Umbraco (7.4.3). I'll try building from my branch and installing it to a clean Umbraco 7.2.8 install tonight.
My best guess is that older versions of Umbraco use an older version of sortable before this bug was addressed: https://github.com/angular-ui/ui-sortable/issues/316
Probably related to this line of code: https://github.com/Nicholas-Westby/Archetype/blob/e1fa7a327194a463b414e862f4f9f0b11eb85c3c/app/controllers/controller.js#L76
Maybe there is some alternative approach to get the target sortable.

Good info. The question will be what to do about it if we have to use the newer libs. Right now we only need core version 7.2.x. If we need 7.4.3, then we'll have to consider bumping up the dependency (not the best case). Let me know what you find out.

@kgiszewski FYI, my latest commit fixes this issue.

@Nicholas-Westby looking real good. One issue remains that I'm debugging. When I disable the cross dragging, I can still do it in the UI.

Disregard. Turns out it's just an interesting oddity that I think is possibly useful. So I have multiple Archetypes and I disabled cross-dragging on one and not on the other. The effect is you can 'give' one away and not let it come back. Any way... #h5yr! 👍


Investigate - Standard shader properties can fail to update material properties on spectator devices.

This comes from community feedback. It still may require some investigation:
"I am trying out specator view for Hololens and Android , one of my objects has a material with standard shader with rendering mode fade. It fades on Hololens but not on Android.
Does anyone have any ideas ?
In my adroid build settings I got Auto graphics API checked off and OpenGLES3 in the APIS list."
At first glance, it may be related to the following issue:
https://forum.unity.com/threads/standard-material-shader-ignoring-setfloat-property-_mode.344557/

We could add documentation around how to specify custom shader properties for synchronizing
We could add a material update extension point for different shader keywords
It seems like the standard shader should be supported by default

It appears that property reporting works correctly. If anyone hits this issue, they may be able to unblock themselves by including their desired assets in a scene that is included in the application.

We've added troubleshooting documentation for this issue. If you include the HoloLens scene in your android/ios builds, you should be able to pick up the shader variant you need based on materials referenced in this scene. Otherwise, you likely need to mess around with different graphics settings.


Enable -fexpose-all-unfoldings

This allows us to reliably expose unfoldings for all exposed functions, instead of only those that are marked INLINABLE.
Also remove -fwarn-tabs which is enabled by default now.

I will finish this after merging #355.

This will definitely do something. Let's make sure it's something good.

Apparently -fexpose-all-unfoldings does something very different than marking everything INLINEABLE:
https://gitlab.haskell.org/ghc/ghc/-/issues/21715#note_437347
I probably won't work on this further until I have a better understanding of the implications.

I also wasn't aware of this difference. I've made a note of it for the handbook.
I don't think -fexpose-all-unfoldings will do a better job than marking the exported functions with INILNEABLE. I would expect INLINEABLE to be better because GHC will have more information at the call site in whichever package is using u-c, and so it has more opportunity to optimize better.


Policy is allowing to add duplicate rules

For accessControl policy type I am able to add duplicate rules.
Payload
Here I am passing two same rules but not getting any error for duplicate rules.
{
  "name": "DevOpsRoleAccessControlPolicy",
  "policyType": "AccessControl",
   "rules": [
        {
          "name": "DevOpsRoleAccessControlPolicy-UpdateDescription",
          "allow": true,
          "enabled": true,
          "priority": 1000,
          "operation": "UpdateDescription",
          "userRoleAttr": "DevOps"
        },
        {
          "name": "DevOpsRoleAccessControlPolicy-UpdateDescription",
          "allow": true,
          "enabled": false,
          "priority": 1000,
          "operation": "UpdateDescription",
          "userRoleAttr": "DevOps"
        },
      ]
}

Response

CC: @harshach @mithmatt @sureshms

@mithmatt can we add a unique constraint of operation per policy?

Checking, we should add a unique constraint for this one

This is a minimal change on the backend (a few lines of code)
Will post PR soon


Does python-markdown support inline code highlighting?

Hi,
Can one write something like  `code`{.ruby} to highlight inline code?
See https://stackoverflow.com/questions/23226224/inline-code-syntax-highlighting-in-github-markdown

If you are using a JavaScript highlighter, it is possible you could just add a class. I imagine you may additionally need a custom loader to target inline code, but it is probably possible.
There is also: https://facelessuser.github.io/pymdown-extensions/extensions/inlinehilite/.

Thanks, that's what I was searching for.


Issue running on windows

Hi, I've tried to run this tool but gives me
Error: StreamNameNotFound
I'm on Windows 11
Thanks

Hello, would you be able to supply the .pdb file by chance? Due to the nature of the file format, the file may be missing debug information, which would prevent it from being decompiled.

Yes, I've uploaded it on WeTransfer

Thanks for sharing. I have run the .pdb file through cvdump and was able to determine that it was created without type information. The the names of all of the functions are available, however. This essentially limits it to the same usability of a symbol map (.map file). I will spend some time this weekend fixing the code to report a more user-friendly error message for this case, as well as allow the function declarations to be decompiled to their appropriate source files.

Thanks so much

This should be resolved as of commit e348e7c.
The PDB you've provided still won't decompile, but it now displays the following error message when attempting to decompile it on my machine:
ERROR: could not decompile PDB because it does not contain a string table: StreamNameNotFound

Thanks for reporting, I'll go ahead and close this.


Break apart selenium chart

Right now the selenium chart installs the hub as well as the chrome + firefox selenium nodes. Ideally if you're using selenium you'd want to control these or configure these separately, right? It makes sense to me to have a "selenium-hub" chart as well as a "selenium-node" chart. Thoughts @elsonrodriguez?

What do you think of having a "selenium" meta chart that depends on "selenium-node*" and "selenium-hub"?
This way people can uninstall/upgrade components while still preserving the convenience of a one-command install.
(haven't done a feasibility check on this)

With Helm 0.3.0, the meta chart idea would work well. I'd be happy to see us go this route.


JMC not available for linux aarch64

I'd like to run JMC on my linux on Apple M1.

这是来自QQ邮箱的假期自动回复邮件。您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

For those wondering what the above means, like me :-). Translation says:
This is a vacation auto-reply email from QQ mailbox. Hi, I am currently on vacation and cannot reply to your email personally. I will get back to you as soon as possible after the holiday.

This would be an issue for the JMC project itself (https://github.com/openjdk/jmc), though they use the OpenJDK Jira so you might not be able to open an issue there. Maybe try an email to jmc-dev mailing list? https://mail.openjdk.org/mailman/listinfo/jmc-dev

这是来自QQ邮箱的假期自动回复邮件。您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

The JMC project is built for aarch64. Here is to run it after you've built it:
target/products/org.openjdk.jmc/macosx/cocoa/aarch64/JDK\ Mission\ Control.app/Contents/MacOS/jmc
You will also find it in the Adoptium builds of JMC:
https://github.com/adoptium/jmc-build/releases
Have fun on your M1! :)

Hi @thegreystone thanks for your reply. However, I can only find an aarch64 build for MacOS, not for Linux.
Is it available for Linux?
Thanks

这是来自QQ邮箱的假期自动回复邮件。您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

Ah! I missed that you wanted it for Linux. Sorry.
I added:
https://bugs.openjdk.org/browse/JMC-8120

So, I did a PR, that I believe should work. That said, I don't have Linux on an M1, so I can't verify. Could you help give it a shot?
It's over here:
https://github.com/openjdk/jmc/pull/514

Hi @thegreystone, thanks for doing the work.
I fetched the code from your clone and finally managed build/package it locally. However, I see 4 products in target and the linux aarch64 is missing.
Do I need to configure somewhere that I also want to create that product?

I was using master branch. Will try again with branch 8120-linux-aarch64.

It seems to work! JMC starts up, JMX browser works, I will test the flight recording later.

Flight recorder with reports also works! :-)
Nice to see more colors in flame graphs.
Only, just 'Samples' metric seems to work for flame graph.

It seems to work! JMC starts up, JMX browser works, I will test the flight recording later.

Excellent! :)

@thegreystone we may leave this issue open, as the new binary needs to be incorporated into the build scripts...

Binaries now available on https://adoptium.net/jmc/

Nice!


[FEATURE] Pass arguments received to chromedriver

This will give is the ability to pass args to chromedriver. chromedriver args are currently hardcoded to []

thanks, can you release a new tag as well when you have a moment?
You pass the params to chromedriver like --port=1500, not --port 1500 like I first expected


Instructions on downloading attachments from Raw parameters in Webhook Parse call

I'm trying to figure out how to actually download an attachment from the raw parameters in a Webhook Parse call to my service. I can't find an example in C# or any other language in the docs. Am I looking in the wrong place? The Webhook docs I've found are very sparse.

Hi @gdodd1977
We're sorry you're having trouble with Parse. Our C# helper library doesn't currently include a Parse Webhook helper. There is an open Issue here discussing it, and it looks like a recommendation for the StrongGrid SDK:
https://github.com/sendgrid/sendgrid-csharp/issues/766
If you're looking for other Parse examples, our Python library does have Parse support, which you can see here:
https://github.com/sendgrid/sendgrid-python/tree/master/sendgrid/helpers/inbound
We hope this is helpful and gets you onto the right path.
Best,
Twilio SendGrid Docs Team


Make error handling more suggestive

Thank you for your contribution to the Graph Data Science Client project.

Before submitting this PR, please read Contributing to the Neo4j Ecosystem.
Make sure:

[x] You signed the Neo4j CLA (Contributor License Agreement) so that we are allowed to ship your code in our library
[x] Your contribution is covered by tests

Great feature. I know we talked about this in the past. Nice you actually did it on the side!
I think we can make it even a bit better, so I made some comments where I think we can improve. Reach out if you want to pair on it :)

Thanks for the comments! I'll try to get to it tmr. Could pair for sure if you want :)


datastore: recognize DATASTORE_DATASET env var

Fixes #1040

I didn't narrow down what it is, but regardless of whether I set the env var all the transaction system-tests fail, where they appear ok in master.

@stephenplusplus I think you need to change projectId to datasetId for Transactions as well.

Fixed!


DBC22-2810: avoided location pin marks got deleted when alternate route showing

DBC22-2810: avoided location pin marks got deleted when alternate route showing

I don't think the solution here is correct. It seems like the newly added removeOverlays function removes all overlays which causes the markers to be removed. This function should be modified to affect only the distance labels.


Swipeable Tabs not working

Tabs that have been initialized with the options:
{
swipeable : true
}
do no longer work and throw an error right away.
I have included a codepen, try switching swipeable to false and back, you will see that it only breaks when it's set to true.
By "breaking" I mean that it behaves like a normal list of elements and also no longer features the white selection bar beneath the tab element.
Nor does swiping work at all.
Codepen: https://codepen.io/thebusybiscuit/pen/zaJpBx
Console Error: https://pastebin.com/F3S7cFum
Environment

Version used: 1.0.0-rc.2
Browser Name and version: Chrome 67
Operating System and version (desktop or mobile): Windows 10

According to the documentation, to initialize the tabs, you can either do :
// Plain javascript
M.Tabs.init(document.querySelectorAll('.tabs'), { swipeable: true });

// Or with jQuery
$('.tabs').tabs({ swipeable: true });

But not combine both !

@EnzoBaldisserri
Previously I used $(".tabs")[0] to access it as a DOM element, same result.
I also tried $(".tabs").tabs(...) same result.
Also for M.Tabs.init(document.querySelectorAll(".tabs")
I have also just tested each case in the codepen and it still produces the outcome explained in the post.
I have updated to use the pure jQuery version to avoid further confusion.

Ok, I found out there are 2 problems with the CodePen.
First, tabs need a content to be swipeable. Here you just have the tabs, there is actually nothing to swipe. See the example in the documentation.
Second, more related to CodePen than to the code : you put the link to materialize's scripts in the head of your html, and add jQuery in CodePen scripts, which are added at the end of the body of the document.
What's important here is that materialize is loaded before jQuery, thus you aren't able to use jQuery to initialize any of materialize's components.

@EnzoBaldisserri
I see.
You are right I set up the codepen in the wrong order, didn't think about that when creating it but my html doc is properly set up.
And yeah, it works when I give it content, it is strange that it doesn't even render or throws an exception that hints at the missing components, but anyway, thank you very much, it works now.


Modify the request body in sequential call with dynamic value

I am implementing a sequential call which include two API.They are API1 and API2.API 1 is Get and API2 is post call .
The initial request will route to API 1, After it is  successfully executed, The request will route to  API2.I want to set the request  body of API2  with the response  of API1..For that , i am doing following  configuration .
Here xyz is the  key which i am setting  in API1 response .
"github.com/devopsfaith/krakend-martian":
{
"body.Modifier": {
"scope": ["request","response"],
"body": "{resp0_xyz}"
}
}
}
Can you please advise how  to achieve  this .

Hi,
This flow is not supported as of krakend 1.4.1. You can use data from API1 to build the URL of API2 but you cannot pass the body content from one to the other.

Perfect ..Thank you


Clear empty region on server

Waiting 2 days before deploying this, so all clients will be updated by then.


Change relationships schema test to use LOJ instead of not in

It's more efficient to do the join than to do the not in on Oracle (and thus I presume on other row storage DBs), and it's more efficient in BigQuery as well, taking 72% less slot time (computational efficiency) as not in (10.398s vs 37.491s) and shuffling 97% less data (I/O efficiency) (5.76MB vs 186.04MB) in a small test case.  On a larger dataset that I use for candidate SQL exercises (compares 1MM record table to 100MM record table), the revised logic uses 2m56s of slot time vs 15m11s, and shuffles 71MB of data vs 186MB.

Thanks @rsmichaeldunn. I just had a chat about this with @jthandy this morning. We found that the explain plans were identical in Redshift, but it looks to me like the where ... in code is faster than the equivalent left outer join on Redshift??
Can you point me to any docs/articles for BQ that would explain the performance gain for a join over a subquery? Or, your intuition is totally welcomed here too. My Redshift test was by no means rigorous, but I want to avoid a scenario where someone comes along 3 months from now with a PR to change this back :)
We have a way to implement this test differently on a per-adapter basis. We can totally do that, but I want to make sure we have good reason to before we go down that road

@drewbanin For columnar DB's, for anything but really large implementations, it probably won't make too much difference.  I haven't seen any documentation for BQ with this kind of specificity - just the tests that I ran.  The larger test I ran uses a table containing 1MM random hashes, each of which has between 1 and 100 timestamps, and each resulting row has either "entrance" or "exit" randomly assigned to it.  (This is for a SQL assessment where I ask candidates to tell me who is currently in a secured space given an audit log of entrances and exits).  There is a second table containing the correct list of hashes that should be returned by the candidate's query.
The LOJ method looks like this:
select count(*)
from (
    select
        t1.person_id
    from s_michael.candidate_test_correct_result t1
    left outer join s_michael.candidate_test_data t2
      on  t1.person_id = t2.person_id
    where t1.person_id is not null
      and	t2.person_id is null
) validation_errors

and has this execution plan:

S00: Input

Action
Details

READ
$1:person_idFROM s_michael.candidate_test_data

WRITE
$1TO __stage00_outputBY HASH($1)

S01: Input

Action
Details

READ
$10:person_idFROM s_michael.candidate_test_correct_resultWHERE not(is_null($10))

WRITE
$10TO __stage01_outputBY HASH($10)

S02: Join+

Action
Details

READ
$10FROM __stage01_output

READ
$1FROM __stage00_output

AGGREGATE
$30 := COUNT_STAR()

FILTER
is_null($40)

JOIN
LEFT OUTER HASH JOIN EACH WITH EACH ON $10 = $1

WRITE
$30TO __stage02_output

S03: Output

Action
Details

READ
$30FROM __stage02_output

AGGREGATE
$20 := SUM_OF_COUNTS($30)

WRITE
$20TO __stage03_output

The not in method looks like this:
select count(*)
from (
    select
        person_id as id
    from s_michael.candidate_test_correct_result
    where person_id is not null
      and person_id not in (select person_id from s_michael.candidate_test_data)
) validation_errors

and has this execution plan:

S00: Input

Action
Details

READ
$1:person_idFROM s_michael.candidate_test_data

AGGREGATE
$70 := SUM($90)

COMPUTE
$90 := if(is_null($1), 1, 0)

WRITE
$70TO __stage00_output

S01: Input

Action
Details

READ
$10:person_idFROM s_michael.candidate_test_data

COMPUTE
$120 := 1

WRITE
$10, $120TO __stage01_outputBY HASH($10)

S02: Aggregate

Action
Details

READ
$70FROM __stage00_output

AGGREGATE
$50 := SUM($70)

WRITE
$50TO __stage02_output

S03: Input

Action
Details

READ
$20:person_idFROM s_michael.candidate_test_correct_resultWHERE not(is_null($20))

COMPUTE
$110 := ()

WRITE
$20, $110TO __stage03_outputBY HASH($20)

S04: Join+

Action
Details

READ
$20, $110FROM __stage03_output

READ
$10, $120FROM __stage01_output

AGGREGATE
GROUP BY $140 := $131$80 := ANY_VALUE($100)$81 := ANY_VALUE($130)

COMPUTE
$100 := not(is_null($132))

JOIN
LEFT OUTER HASH JOIN EACH WITH EACH ON $20 = $10

WRITE
$80, $81, $140TO __stage04_outputBY HASH($140)

S05: Aggregate+

Action
Details

READ
$50FROM __stage02_output

READ
$80, $81, $140FROM __stage04_output

AGGREGATE
$40 := COUNT_STAR()

FILTER
not(if($60, 1, if(or(is_null($50), and(equal($50, 0), not(is_null($61)))), 0, NULL)))

AGGREGATE
GROUP BY $150 := $140$60 := ANY_VALUE($80)$61 := ANY_VALUE($81)

WRITE
$40TO __stage05_output

S06: Output

Action
Details

READ
$40FROM __stage05_output

AGGREGATE
$30 := SUM_OF_COUNTS($40)

WRITE
$30TO __stage06_output

So it certainly appears to require more steps in BQ to do the not in method.  If it was just BQ, then I'd say it's probably not worth going to the trouble of adding adapter-specific schema test methods, but what about Postgres?  A few years ago on Oracle, moving from not in to LOJ was a significant performance boost, so I would imagine it would be similar for other non-columnar databases.

Thanks for the writeup! I'll do some similar benchmarking for Postgres / Redshift / Snowflake and report back here


Link mising to

It's very strange to me that the topic on the report object does not have a link to the topic Report Data Type https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/report/report-data-type.
And search on report object does not reveal it either.
Please add a link between the two topics.

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

ID: a0042001-b98b-71c6-f659-84af0bd52a7d
Version Independent ID: 212b2740-288e-8c5a-9e1e-960fcfb5739c
Content: Report Object - Business Central
Content Source: dev-itpro/developer/devenv-report-object.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Makes good sense, thanks for the feedback. Will be fixed with the next doc refresh.


magic command unexpected value

when trying the magic command in both powershell or shell (bash ships with git on windows)
echo @vault

it returns: app://local/C:/Users/hanne/OneDrive/Documents/repos/obs_test
when i expected just  C:/Users/hanne/OneDrive/Documents/repos/obs_test
is this on purpose, or a bug?
it causes issues when trying to browse to a directory
cd @vault

tested on windows 11

Hi @hannesdelbeke, this is on purpose but maybe it needs to be changed. I answered it in #181


infer-ant: adapt the situation when too much files need to be compiled.

More updates were needed here. We are working on rewriting the ant integration in OCaml too so the PR won't apply anymore (but the new integration will likely have whatever problem this was addressing).


Ship name as per station control

more a quick question, than an issue.
Is there a variable that states the ship name as per game?
EDDI responds to the station on supercruise exit, but I cannot find it in the EDDI variables list.
EG:  Faulcon Delacy Sierra Alpha Bravo - as opposed to the name set in the EDDI parameters?

Use this:
{ShipCallsign()}
It will do what you are asking for.  It's listed in the help file.
You can also provide ship details if you wish one of your other ships to be said instead of the current one.  Interestingly, if you provide an ID number, every ship you have ever owned is remembered by the game. For example:
{ShipCallsign(1)}
will report the callsign of your very first ship that you started the game with.

Ah, i was looking for it for voice attack and only found this:
{TXT:Ship callsign}: the callsign of the ship as shown in EDDI configuration (e.g. "GEF-1020")
which pointed to the EDDI shipyard variable.
I shall try this out :)

This absolutely works, you are brilliant.


Split User Management into Students-only and Admins-only Views

We want to be able to manage admins and students separately. To that end, we should split User Management page into Admin Management and Student Management screens. We can obviously remove the 'role' column, so think about what column makes send to replace it with for each of the new screens.
Separate ticket:
As an Admin, I'd like to be able to click on a student's name in the new Student Management screen and see a dashboard with information about the student. At the very least, we can show some basic information about the student. @nokierae and @chrissantillan are available to discuss what else we'd like to see on that dashboard.

@calisio @chrissantillan

Which of the tabs "Admin" or "Student" is the default tab?

The roles should be displayed as tabs, similar to what it looks like in the My Courses page on the student view (screenshot attached below. Make sure to add in the "Users" title to the top of the page (doesn't exist now). The tabs are not currently a component.
Subtasks

[ ] Create a new component for the tab view on My Courses. Use that component within MyCourses.tsx and then later in Users.tsx
[ ] Use the tab view within Users.tsx to create a similar tabular view as is seen in the My Courses, but with "Admin" and "Student" as the two tabs for now. Remove the "Role" column in the table.

To answer your question @corypride, @chrissantillan and I both thought that Student view should be the default.

UPDATE TO THIS TICKET: We have decided to split the users and the admin into two different pages. The refactoring of moving the tab view in the component will still exist as that might be needed in the future, but the new designs for these pages are linked here.


PSShouldProcess rule triggering when the attribute is not defined.

when running the PSScriptAnalyzer with default rules on this script, i keep getting the following error back:
RuleName                            Severity     FileName   Line  Message
--------                            --------     --------   ----  -------
PSShouldProcess                     Warning      ConvertTo- 21    'ConvertTo-ShortPath' calls ShouldProcess/ShouldContinue
                                                 ShortPath.       but does not have the ShouldProcess attribute.
                                                 ps1

here is the script, the SupportsShouldProcess, or SupportsShouldContinue is clearly not defined.  This is the second time i have encountered this.
<#
.SYNOPSIS
    Converts the path to the 8.3 short equivilent.
.DESCRIPTION
    Converts the NTFS file or folder path to the MS-DOS 8.3 short path equivilent.
.INPUTS
    System.String.
.OUTPUTS
    System.String.
.PARAMETER Path
    The path to be converted.
.EXAMPLE
    PS C:\> ConvertTo-ShortPath -Path $env:ProgramFiles
    C:\PROGRA~1
.NOTES
    This function uses COM, and as such, permissions are needed to read the file or folder.
.LINK
    https://dotps1.github.io
#>

function ConvertTo-ShortPath {

    [CmdletBinding()]
    [OutputType(
        [String]
    )]

    param (
        [Parameter(
            ValueFromPipeline = $true,
            ValueFromPipelineByPropertyName = $true
        )]
        [Alias(
            "FullName"
        )]
        [String[]]
        $Path
    )

    begin {
        $fso = New-Object -ComObject Scripting.FileSystemObject
    }

    process {
        foreach ($item in $Path) {
            if (($item = Get-Item -Path $item).PSIsContainer) {
                $fso.GetFolder(
                    $item.FullName
                ).ShortPath
            } else {
                $fso.GetFile(
                    $item.FullName
                ).ShortPath
            }
        }
    }

    end {
        [Void][System.Runtime.InteropServices.Marshal]::ReleaseComObject(
            $fso
        )

        Remove-Variable -Name fso
    }
}

Closing, duplicate of #646 and #644, but it sounds like with multiple bugs reported, this should be high priority.


Link to C# example is broken

Project structure has changed and the new file is located here: https://github.com/Azure/azure-functions-durable-extension/blob/dev/samples/precompiled/RestartVMs.cs

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

ID: a29097a2-e7ac-f8ae-c8b9-65dd9707d089
Version Independent ID: b4d2634f-9551-5851-a3f3-a134ac1cf722
Content: HTTP features in Durable Functions - Azure Functions
Content Source: articles/azure-functions/durable/durable-functions-http-features.md
Service: azure-functions
GitHub Login: @cgillum
Microsoft Alias: azfuncdf

@slyons Thank you for your feedback! We will review and update as appropriate.

@slyons Thanks for reporting this linking issue and helping us drive improvements toward MS Docs! I've created a PR that corrects the link to the complete sample and the change should be live shortly.
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Auto: error on reducer without input; warn on ordinal size; expose warnings

Demo. Sketching some additional errors / warnings based on what I've seen leading people astray.
Error on reducer without input — Setting a non-count reducer without an input field error, not warns, because it's a static error in the config, regardless of what data gets passed in. TODO: do any other reducers not need an input field?
Warn on ordinal size — Since this is dynamic, it’s just a warning, not an error. One issue is there’s no way to suppress it if for some reason you want this. It should probably be subsumed by https://github.com/observablehq/plot/issues/493, but I was just itching to try something.
Expose warnings (https://github.com/observablehq/plot/issues/1192) — In this PR, my approach is to set an array of warnings on the returned figure. Mike has mentioned he might prefer passing in an onWarn callback. I guess the advantage there is that these warnings could be triggered by interaction in the future? Right now, the chart cell almost never runs into warnings, but there are situations where it seems like it should (like ordinal size), so I feel the itch to be able to expose the warnings in its UI.

sum does not need an input (it defaults to count)

Even though sum and distinct work as count, I've seen several people get confused by selecting "distinct" in the chart cell and seeing nothing change, so I'm still sort of inclined to throw (or warn?) on them.

I broke out the one solid piece (error on underspecified reduce) to https://github.com/observablehq/plot/pull/1833.
https://github.com/observablehq/plot/issues/493 and https://github.com/observablehq/plot/issues/1192 remain as open issues; I don’t feel good enough about the approaches in this PR.


[WIP] Vector-valued interpolation in econforgeinterp

econforgeinterp (and all other interpolators in HARK) currently support interpolation of scalar valued functions, $f:\mathbb{R}^n\rightarrow \mathbb{R}$. I would like to work on adding the capability to interpolate vector-valued functions, $f:\mathbb{R}^n\rightarrow \mathbb{R^m}$.
The current version of this PR makes this possible in the barebones LinearFast. I still need to adjust the extra-stuff: derivatives and decay-interpolation.
Why do I think this would be useful?
In a model with, say, a 2-dimensional state space, we often will construct a bunch of interpolators for vFunc(m,n), dvdmFunc(m,n), dvdnFunc(m,n), cFunc(m,n)... over the same (m,n) grids.
Often, in the expectation step of backward induction, we will need to evaluate, say dvdmFunc(m,n), dvdnFunc(m,n) in a bunch of points. We can do this with two different interpolators, one for each function. But this does the slow calculation of which indices and weights to use for interpolation twice for every point (once in each interpolator). If we instead had an
$\mathbb{R}^2\rightarrow \mathbb{R^2}$ interpolator of (m,n) -> [dvdmFunc(m,n), dvdnFunc(m,n)] the calculation of indices and weights would be done only once.

[ ] Tests for new functionality/models or Tests to reproduce the bug-fix in code.
[ ] Updated documentation of features that add new functionality.
[ ] Update CHANGELOG.md with major/minor changes.

@alanlujan91 not sure how this interferes or interacts with your interpolation rework. Does that change the econforgeinterp module?

Codecov Report
Patch coverage: 96.42% and project coverage change: +0.04 :tada:

Comparison is base (a479a8d) 73.29% compared to head (936f7d8) 73.34%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1242      +/-   ##
==========================================
+ Coverage   73.29%   73.34%   +0.04%
==========================================
  Files          75       75
  Lines       12535    12561      +26
==========================================
+ Hits         9188     9213      +25
- Misses       3347     3348       +1

Impacted Files
Coverage Δ

HARK/econforgeinterp.py
90.21% <90.00%> (-0.26%)
:arrow_down:

HARK/tests/test_econforgeinterp.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@Mv77 this is a great idea! No worries about my interpolation overhaul. I'll merge your changes and resolve any conflicts.
The only changes I made to econforgeinterp was moving the file to a HARK.interpolation subdirectory.

I've run into some strange potential bug in econforge/interpolation.py that affects this PR.
https://github.com/EconForge/interpolation.py/issues/104
Don't merge in yet.

Just to codify a point from our discussion today:  I'd really love to find some framework that is designed to represent a function AND ITS DERIVATIVES at a point, all in a tidy bundle.
So, for the consumption function, at point $m_{i}$ we would want to measure at least the level and the derivative of consumption with respect to m:
$$[c(m_{i}),c^{\prime}(m_{i})]$$
or in Python
[cFunc(m[i]),cFunc.deriv('m')(m[i])]
and using the Envelope result that $v^{\prime}(m)=u'(c(m))$ we would be able to represent the value function consistent with that consumption function by
$$
[v(m_i),v^{m}(m_i) = u^{c}(c(m_i)),v^{mm}(m_i) = u^{cc}(c(m_i))c^{m}(m_{i})]
$$
with corresponding python something like
[vFunc(m[i]),uFunc.deriv('c')(m[i]),uFunc.deriv('c').deriv('c')(m[i])*cFunc.deriv('m')(m[i])
Somehow I can't shake the suspicion that surely someone, somewhere, has developed some infrastructure for constructing objects like this, rather than simply representing each item as a completely standalone thing as in Mateo's example.
(I know that, if you have an interpolating function that has already been constructed, there's a syntax for obtaining its derivatives at a point; the natural syntax for representing the values of these derivatives at given points, to be fed to the interpolator constructor, would be to set the values for each point using exactly the same syntax, and then instruct your interpolation constructor to use the points it has to construct a piecewise function using some specified method.  For example, piecewise Hermite interpolators will generate a function that matches the inputs (in levels and derivatives) at the specified points.)


Prometheus Agent: consider never moving samples to checkpoint

Prometheus Agent will currently move samples to checkpoints if, during GC, the timestamp of those samples are behind the lowest sent timestamp across all remote_write endpoints. The intent is that samples are kept best-effort: i.e., try to not delete them before they're sent.
However, remote_write will never read samples from checkpoints. We should consider always dropping all samples when creating a new checkpoint for the Prometheus Agent WAL. Series records for live time series should still be kept in the checkpoint.
As an aside: @gouthamve pointed out that remote_write doesn't currently any existing samples at all from an existing WAL, which makes having a WAL seem a little pointless. I know that I've heard talk from @csmarchbanks and @cstyan of using some kind of marker so remote_write can re-start from a marker, but I don't know what the status of that is. Until we have that, I do agree that the Prometheus Agent's (and grafana/agent's) WAL isn't really providing any benefits to the user.

I wouldn't say its not providing any benefits. It is, when the remote is down.
Having said that, it doesn't help when the agent restarts. We basically restart onto a clean slate, and can save a lot of time during restarts by just deleting the WAL.

I wouldn't say its not providing any benefits. It is, when the remote is down.

It seems like the most you'd get would be using less memory when remote_write is backed up by using the disk as a buffer. Am I missing anything else?

Yes because the agent should ideally work with a multiple hours outage.

I think even with the remote write checkpoint/marker we don't need samples in the WAL checkpoint for the agent.

I'm pretty confident that's true. We've also noticed that the WAL replay for loading in series can take forever, partially because of how many samples might exist in checkpoints. I think there's a few changes we can do here:

Don't store samples in checkpoints, since they're never read by remote_write
During replay, initialize in-memory series with a lastTs of math.MinInt64 to indicate that it's new. This is opposed to the current initialization of 0 with lastTs being eventually set to the most recent TS in the WAL for that series.
Given 2, don't decode samples while replaying, which will massively improve WAL replay speed

Hello from the bug scrub!
Since this issue was opened, a new sample_age_limit was added to remote-write config; I would argue that this could be applied to checkpointing to achieve the intent here, without adding an additional arbitrary cut-off.
(I am assuming at some time the WAL will be used to replay data after a restart, which is as noted not the case today)


Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installer hash mismatch.
Brief description of your issue
Installer hash does not match.
Steps to reproduce
winget upgrade --all
Actual behavior
Installer hash does not match.
Expected behavior
successfull update
Environment
Windows Package Manager v1.7.10861
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.3447
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.10861.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

Screenshots and Logs

https://github.com/microsoft/winget-pkgs/pull/150778

Resolved by #150778


feat(precise-builds): add a precise-builds config and default it false

Setting it to true tells us to Build only the required packages, and individually (default: false)
By default when we need to build anything in your workspace, we build your entire workspace with --workspace. This setting tells cargo-dist to instead build each app individually.
On balance, the Rust experts we've consulted with find building with --workspace to be a safer/better default, as it provides some of the benefits of a more manual [workspace-hack][], without the user needing to be aware that this is a thing.
TL;DR: cargo prefers building one copy of each dependency in a build, so if two apps in your workspace depend on e.g. serde with different features, building with --workspace, will build serde once with the features unioned together. However if you build each package individually it will more precisely build two copies of serde with different feature sets.
The downside of using --workspace is that if your workspace has lots of example/test crates, or if you release only parts of your workspace at a time, we build a lot of gunk that's not needed, and potentially bloat up your app with unnecessary features.
If that downside is big enough for you, this setting is a good idea.

Seems to behave correctly on the examples I've tried


Scanning wrong type of QR code results in the app asking you to open the browser but nothing happens after that

In the Import Wallet screen, if you scan a Singapore COVID QR entry code with the AlphaWallet qr code scanner, it asks if you want to open the url in the browser but if the user answers open nothing happens. If you scan in other places, the app does open a built in browser.
https://user-images.githubusercontent.com/1050309/150711372-749056c4-e24a-4220-82e3-47e119cb2ba9.mov

@eviltofu can u share URL example scanned in qr code?

@eviltofu can u share URL example scanned in qr code?

https://share.icloud.com/photos/038jNZBwOCtPg3RdcJo-nH-IQ

@oa-s


Roll engine with rolled dart

Made redundant by @alexmarkov's PR

I'm rebuilding mac e92933611af7762a0632a10c1e409a77b88cb4e4 with fix for gen_snapshot and hope to roll engine to just that revision to vet dart roll it contains.
@alexmarkov @cbracken

fyi -- The rebuilds are already kicked off


Set different boundaries for different datatypes

Is your feature request related to a problem?
Currently it's impossible to define different ranges for a parameter that might contain a integer >0 or an float that's <1.
Desired solution
Boundaries should be allowed to be stacked, for different datatypes (for different modes, so continuous or discrete).
Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response

Duplicate of https://github.com/lars-reimann/api-editor/issues/767.


Default Opportunity Naming for Opp Recipes

Changes
this is really a documentation update to address naming, along with a dataset to generate default naming if desired.
Issues Closed
#15 - although record types are still not completely right out of the box in a fresh org, the new naming convention dataset does its job to overwrite default opp names.

@acrosman thanks for catching the artifacts--I think I reverted them, but I'm just on the web right now. Also would be happy for this PR to be irrelevant.


Add sc17 and hpac2018 presentations to docs

Fixes #246

@jenkins-cscs retry all

@jenkins-cscs retry daint


SQLite: WITHOUT ROWID optimization

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary (and Motivation)💡

SQLite has an optimization for composite primary keys which is called WITHOUT ROWID which is greatly described on their website. This optimization allows to reduce database size and query latency in certain cases. A perfect example for this is Ent's M2M relations table.
I suggest to add the support for WITHOUT ROWID optimization for sqlite3 dialect. Maybe as an opt-in.

I'm currently reevaluating Ent for a project. Can someone indicate whether or not there's a way to add WITHOUT ROWID clause to some selected tables?

Looks like the Options annotation could be used for that. Will try it and report back here.

Negative. Like the Options field in entsql.Annotation is only used for MySQL :(


BUG || Submitted On Date is In-correct in Join Case Flow in QA

Describe the bug
Submitted On date is shown wrong in Modal box for Join case flow in QA
To Reproduce
Steps to reproduce the behavior:

Go to 'Accused Advocate'
Click on 'Join Case' button
Enter mandatory fields and successfully join case.
See Submitted date error in successfully joined modal box

Expected behavior
Submitted date should be correct.
Screenshots
Judge screen

Accused advocate Screen

Hi @rajeshcherukumalli  the issue is fixed and working as expected in qa , Please check .
cc:- @anirudh-0

HI @rajeshcherukumalli
Working as expected in UAT


Update winestreamproxy

The version of winestreamproxy provided by this flake constantly causes segfaults killing the entire wineserver.

It stopped working a while ago, and the build system changed. Now I'm not really sure how to make it work properly. I've asked for help on the NixOS discord server but no one had an idea of how to fix it.
@LavaDesu told me we could go back to using wine-discord-ipc-bridge. I haven't tested it yet as I don't have much time, but could you test it? I noticed it stopped working on wine 6.15 and later, but it seems to have been updated since. If it works, we'll just replace winestreamproxy with wdib.

Tried wdib, works flawlessly. As such, I've added it, and replaced occurences of wsp with it. Games should work properly now.
Still tried to update and build wsp. Although I'm getting closer, it's still broken so I marked it as such.


Swap and more

Merging the front-end created and the deploy script for the hook.
Deploy front-end with hook.

Integrate front end with hook
Deploy to sepolia


Request for in-game documentation

It would be great to have some in-game documentation
Multi-block structures would be much easier to construct with documentation. Immersive engineering has a neat way to show how to build multi-block structures.
When items change their name like Factory Installers now being called Tier Installers this would benefit from in-game documentation.
Processes like brine production are difficult to show with NEI and JEI would benefit too.
Thanks for the great mod, I love it.

If you went down the book path for this you could get it on spawn and could be crafted through a book/paper and osmium (shapeless).


RM-114 remove upper bounds on db-facts

damn looks like there is indeed some issue with the 1password db-facts  change which is unsettling. the test is simply timing out

nvm it was the gcloud thing, excellent

Also, I ran too many simultaneous checks yesterday and they overwhelmed our very low resource redshift itest instance @Brunope

ah okay that makes sense why it was seeing redshift timeout errors