Python uploader for real time data to NightScout

I am looking into writing a Python uploader for real time pump and sensor data to NightScout, based on the existing code from this repo.
Unfortunately the NightScout documentation is a bit confusing so I thought I'd ask here.
Can you please point me to a good description of the NightScout uploader API?
Thanks

I don't think there is much. Look through the NS source for clues and maybe the Android uploader will help there too.

I found it. Needed to install an instance of Nightscout. Then the /api-docs/ URL has all the info (see below).
I just don't understand how the access token is passed in the API request? Can you please shed some light on this?
Thanks

Never mind, I worked out the authorization issue.
I am now able to send a single SGV data point to my Nightscout instance. The following curl command returns success. However no data appears in the Nightscout GUI. Any ideas what is going wrong?
curl -X POST "http://<IP_ADDRESS>:8080/api/v1/entries.json" -H  "accept: */*" -H  "api-secret:cc8a9a7c3670b6d3966fff040238f01a99da6b38" -H  "Content-Type: application/json" -d "    [{\"type\":\"sgv\",\"date\":1573470155,\"sgv\":100}]"

Oh, I just realized that the data record I am sending to the API is actually rejected so that's why it doesn't show up in the GUI. So what could be the reason for the data being rejected?

I found the solution with a comment in the new issue I raised here.
Basically the Nightscout documentation is far from perfect so it is really challenging finding the correct solution. But I guess you guys have gone through all this while implementing the 600SeriesAndroidUploader :smirk:

If you find how to remove an entry, please share your insight.

It's been quite some time since I've worked with the NS API and I've forgotten the details. The android uploader has all this worked out: https://github.com/pazaan/600SeriesAndroidUploader/tree/master/app/src/main/java/info/nightscout/android/upload/nightscout
To remove a item do a DELETE with http query form.
/api/v1/treatments.json?find[_id]=12345
/api/v1/treatments.json?find[created_at]=12345
From the JAVA code:
// query based delete     @DELETE("/api/v1/treatments.json")     Call<ResponseBody> deleteID(@Query("find[created_at]") String date,                                 @Query("find[_id]") String id);

Does this mean that I'd just have to replace -X POST in the curl command line (as discussed in #5199) with -X DELETE, with the right URI?

(Apparently I'm unable to edit previous posts, perhaps due to me using an outdated browser version?)
I can confirm that just adding -X DELETE to the curl invocation that would query for the matching entries, would remove the corresponding entries (and hopefully nothing else),
BUT: it takes a while to see the result! So if you run a query (-X GET implicitly set), immediately followed by a DELETE operation, the next GET query will still show the records.
There's some caching ongoing, undoubtedly.
After ~15 minutes, everything looks clean.

Is there a limitation to how many records can be uploaded at one time? In other words, what does more sense if I want to upload 10,000 entries: put them all into a single json file, or run 10,000 one-line uploads instead?

Break it into chunks. Allow for network issues all along the chain and make sure each part completes successfully. Allow for memory usage on the NS server and the uploader. While processing any incoming bulk of data other operations may be blocked as it processes and writes to the mLab DB. I don't know what the upper limit is here but I would keep bulk uploads to 100 entries.

@pogman:
Thanks for the advice which was too late already - for now, the DB has survived the flood of data, and it won't happen very soon again.
@ondrej1024:
I presume this whole effort will culminate in a sibling of ddguard that uploads directly to a NS instance, making your blynk approach obsolete? I (and some others)'ve been waiting for a non-Java, non-phone 600series uploader - which seems to be within reach now (if only my Python wasn't that rusty...).
To make the device even smaller, a RasPi ZeroW comes to mind - further miniaturization would be limited by (a) the CNL and (b) the power supply. (There's microPython for the ESP8266, ESP32 IoT devices, but one would have to reinvent the USB stack, I'm afraid.)
Do you have an estimate of the power draw of the CNL alone? That is, which amount of battery capacity would be necessary to run it?

@steve8x8
the Nightscout upload feature will only be an option of DD-Guard as I was asked to add that. The Blynk API will remain the main upload path to the Smarphone viewer app because that's what I prefer.
I have already purchased a RPi ZeroW which is on it's way, to run some test with DD-Guard. I hope it can be powered with a power bank together with the CNL but it's too early to say if this is actually working.

Hi all,
finally, due to the Corona crisis, I am less involved with my job and I have some time to dedicate to this project. After a few days of intensive work I have now backported some of the improvements that @pazaan and @Pogman implemented in the Android uploader code.
With theses changes, the CNL2.4 Python driver works reliably here for getting live data from the 670G pump with no E86 error, running on a battery powered RPi-Zero.
Next I will try to fix the history download function.
If you are interested, here is the modified Python driver:
https://github.com/ondrej1024/ddguard/blob/comms_robustness_backport/cnl24driverlib.py
I also started to write some documentation to better understand how the driver is working:
https://github.com/ondrej1024/ddguard/blob/comms_robustness_backport/doc/cnl24-driver-doc.md


Non-Steam Games installed to Lutris do no show in Boilr

As the title says I have installed 2 games from exes in Lutris. They show in Lutris but when I try to see them as a sync option they don't show (actually none of the Lutris games show).
I'm using the Flatpak version of Boilr.

Is Lutris running in the Background?

Nope
On Sun, Jul 17, 2022, 1:20 AM Daniel Hirt @.***> wrote:

Is Lutris running in the Background?
—
Reply to this email directly, view it on GitHub
https://github.com/PhilipK/BoilR/issues/184#issuecomment-1186442873, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AD53IKOBY5ARRXXVG2STENLVUO66TANCNFSM53YQ4D3A
.
You are receiving this because you authored the thread.Message ID:
@.***>

Just to make sure I understand, the problem is that NO games show up from Lutris?
Is this on steam deck?
Both BoilR and Lutris are flatpaks?

for me boilr doesnt detect lutris (both flatpaks)

Same here for me, installed a GOG game in lutris on steam deck, it doesn't show up in boilr.
Can I somehow provide more diagnostics, if it will help?

Can someone who has this problem try to run the following command in a terminal/konsole and post the output?
flatpak run net.lutris.Lutris//beta -lo
That command is what BoilR fires to find which Lutris games are installed (when Lutris is installed through a flatpak).

Hmm, I have a bad feeling that this might be a sandboxing issue. When BoilR is run through flatpak it is sandboxed, and that sandbox might not have permissions to query other flatpaks

Yup, this is a problem with flatpak in general
https://github.com/flatpak/flatpak/issues/4046
I guess the only workaround is to use the linux executable at the moment, or we have to find another way of identifying games installed through lutris.

I researched that a bit and it seems it should be possible doing this with flatpak spawn. It seems lutris is doing something similar. The linked issue https://github.com/flatpak/flatpak/issues/4046 seems to refer to a more special case where they need to (un)install flatpak apps, which isn't the case here.
It seems lutris uses the following permissions for that: https://github.com/flathub/net.lutris.Lutris/commit/b4297846e42ff1e972faae7c0d58d5e6a2c17b83
I am trying to try that out, though I am not really familiar with rust...

Ok it works when I do (in lutris_platform.rs):
let mut command = Command::new("flatpak-spawn");
command.arg("--host").arg("flatpak").arg("run").arg(flatpak_image).arg("-lo").arg("--json").output()?

And adding
  - --talk-name=org.freedesktop.Flatpak
  - --filesystem=xdg-data/flatpak:ro

in flatpak/io.github.philipk.boilr.yml.
I guess doing this only for lutris isn't that useful. Probably that should be integrated in a Command wrapper module and autodetect if ran inside a flatpak sandbox, so it is used for other commands too?

Great find!
I am thinking that I will just make a Rust feature, and then build with that feature enabled when building for flatpak.
That way there is no need to "autodetect" anything.
I will get right to it.

I have pushed a new version of BoilR flatpak now. Hopefully it should work there as well.
https://buildbot.flathub.org/#/builders/32/builds/107279

Just tested on my own steam deck, and it was able to find lutris with the newest version.

Works on my arch notebook. Though not on my steam deck, still debugging why...

Well sometimes a reboot does wonders :D

Just wondering shouldn't the same flatpak-spawn should be prepended to all commands called? E.G. legendary.
The README should probably be updated about the Lutris flatpak compatibility.
I also noticed that lutris (at least in the flatpak variant) won't run, so a notice about that would be helpful too. (README and Settings or Search View)

Just tested on my own steam deck, and it was able to find lutris with the newest version.

Hi...BoilR isnt showing my Lutris Games on the Steamdeck.
What should i put in in this files to get it to work?

make sure that you have the newest version of BoilR

Make sure lutris is shut down

On Thu, Sep 1, 2022, 09:09 nabelo @.***> wrote:

Just tested on my own steam deck, and it was able to find lutris with the
newest version.
Hi...BoilR isnt showing my Lutris Games on the Steamdeck.
What should i put in in this files to get it to work?
[image: 2022-09-01 09_08_15-359 791 067 - AnyDesk]
https://user-images.githubusercontent.com/50377455/187853546-87465228-276c-4f00-95a6-e46bb095cc88.png
—
Reply to this email directly, view it on GitHub
https://github.com/PhilipK/BoilR/issues/184#issuecomment-1233841960, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEE7DCOBFIRNJYFXLHEUETV4BJDZANCNFSM53YQ4D3A
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

@nabel0 as I wrote above, for me it only works if I never started Lutris after the last reboot. So maybe do a reboot and try again.

make sure that you have the newest version of BoilR 2. Make sure lutris is shut down
…
On Thu, Sep 1, 2022, 09:09 nabelo @.> wrote: Just tested on my own steam deck, and it was able to find lutris with the newest version. Hi...BoilR isnt showing my Lutris Games on the Steamdeck. What should i put in in this files to get it to work? [image: 2022-09-01 09_08_15-359 791 067 - AnyDesk] https://user-images.githubusercontent.com/50377455/187853546-87465228-276c-4f00-95a6-e46bb095cc88.png — Reply to this email directly, view it on GitHub <#184 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEE7DCOBFIRNJYFXLHEUETV4BJDZANCNFSM53YQ4D3A . You are receiving this because you modified the open/close state.Message ID: @.>

Latest Flatpak update is installed and lutris is also shut down.
Unfortunately Boilr isn Showing any of my Lutris Installed Games.
Is "net.lutris.Lutris" the correct configuration in the field i marked in my screenshot?
Or do i have to pu something else in this field?

@nabel0 as I wrote above, for me it only works if I never started Lutris after the last reboot. So maybe do a reboot and try again.

What did you put in the field i marked in my sreenshot?

Looks like the flatpak version of lutris is the o e that works.

I can't get Lutris games to show at all. I am using the flatpak version of Lutris, and the standalone version of Boilr. Have also tried the flatpak version of Boilr and that also doesn't work. Have tried restarting and launching Boilr before doing anything else, and it still doesn't find anything.

Hi @PhilipK I also can't get this to work. Using both flatpaks (boilr and lutris), with boilr pointing to the net.lutris.Lutris image, and boilr has permissions to access both the directories where Lutris stores its config and the prefixes. Also tried restarting and loading boilr before lutris. It still cannot find any games from Lutris.
Is there any way to get logs from boilr to know what is happening under the hood and try to pinpoint the error?

If you run the native version of Boilr it prints its log to the terminal.
On Mon, Oct 17, 2022, 15:39 Jacobo Quintáns @.***>
wrote:

Hi @PhilipK https://github.com/PhilipK I also can't get this to work.
Using both flatpaks (boilr and lutris), with boilr pointing to the
net.lutris.Lutris image, and boilr has permissions to access both the
directories where Lutris stores its config and the prefixes. Also tried
restarting and loading boilr before lutris. It still cannot find any games
from Lutris.
Is there any way to get logs from boilr to know what is happening under
the hood and try to pinpoint the error?
—
Reply to this email directly, view it on GitHub
https://github.com/PhilipK/BoilR/issues/184#issuecomment-1280877141, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEE7DDQCAAW7HCZZGIHLCDWDVJHXANCNFSM53YQ4D3A
.
You are receiving this because you were mentioned.Message ID:
@.***>

Is it possible from the flatpak version?

Yes, if you the flatpak from the terminal.
flatpak run io.github.philipk.boilr

It does not show any logs at startup, when it queries Lutris for installed games...
BTW this is on steam deck, don't know if it makes a difference

Like some others above I was having issues with BoilR finding any games under Lutris (currently just a single game installed from ISOs). The combination that finally worked was both flatpak Lutris and BoilR. The flatpak image was set by default to net.lutris.Lutris//beta (possibly from an older version of BoilR?); removing //beta caused my Lutris game to show up. Oddly, it isn't able to detect games from any other launcher, but the non-flatpak BoilR works for that.

@samling thanks for the hint with net.lutris.Lutris//beta I can see that the default was actually including the //beta, I have removed that now.
It is still a mystery to me why the flatpak version acts this way. BoilR has to break the sandboxing a bit to be allowed to call the Lutris flatpak, so I think it is still related to that. I is a pretty "unsupported" workflow.

With the latest BoilR flatpack update I can see my games from Lutris. But I can not see my other flatpack packages if I use BoilR flatpack. If I use BoilR standalone I can see all my flatpacks

was able to find it a few days ago on a fresh install (just got mine) but now it doesnt find any games now. I wonder what happened? I am using both boilR and Lutris from discover

Can confirm that since a recent update BoilR is not able to find any Non-Steam game installed through Lutris. Running flatpak run net.lutris.Lutris -lo lists the games correctly.

@azafrob I can confirm this as well. Boilr and lutris are installed as flatpacks and running flatpak run net.lutris.Lutris -lo lists the games correctly.


Remove duplication of fork count

closes https://github.com/pyOpenSci/update-web-metadata/issues/50

@SultanOrazbayev thank you - i just opened a pr from your fork so we can merge this fix!! it looks great - i know i don't have any tests yet but this should fix that double fork issue!

Thank you, @lwasser !

oh gosh thank you!! look i just reran our workflow and the duplication is now gone!!  🚀


Retry mechanism

On https://github.com/migtools/oadp-non-admin/pull/73 we are setting terminal error only to NonAdminBackup spec validation failure.
If another place fails, it retries until it succeeds. If for some reason cluster is not healthy, this can lead to an infinite loop.
We could add a mechanism to have a maximum number of retries.

@shawn-hurley do you want to add anything here?


[VL] Add helper function ColumnarBatches.toString

For test purpose, add this helper function.
Add refactor columnarToRow and rowToColumnar functions to support used in otherwhere.

What's the purpose of the API? Is it for testing use?
Also please fill in the PR description. Thanks.

Hi @jinchengchenghh,
If it's for testing purpose from Java side, my suggestion is not to propagate the call down to C++ code. We can add a Java API ColumnarBatches#toString which converts the input batch to Arrow batch (via #ensureLoaded), then use some regular ways to stringify it. This could be the simplest way to make the API support both Velox and Arrow data.

ArrowWritableVector does not have print function in java side.
We can also change it to InternalRow Iterator, but we don't have the print function too.

ArrowWritableVector does not have print function in java side. We can also change it to InternalRow Iterator, but we don't have the print function too.

If we can get the rows, there must be a way to stringify them since Spark requires for this to implement df.show

ArrowWritableVector does not have print function in java side. We can also change it to InternalRow Iterator, but we don't have the print function too.

If we can get the rows, there must be a way to stringify them since Spark requires for this to implement df.show

Yes, it uses ToPrettyString to show the result in dataframe, we can only use some of code, I have implemented our version.

Can you help review this PR again? Thanks! @zhztheplayer

Can you help review? Thanks!

@jinchengchenghh Will take a look as soon as possible. Thanks.

Can I take your some time? @zhztheplayer

Reviewing now. Thank you for noting.

Hi @jinchengchenghh , I have been thinking if the code can be simplified to ease maintenance.
Would you please have a check about the following example code to pretty print a row iterator with much less code than ToStringUtil:
test("UnsafeRow to string 2") {
  val util = ToStringUtil(Option.apply(SQLConf.get.sessionLocalTimeZone))
  val row1 =
    InternalRow.apply(UTF8String.fromString("hello"), UTF8String.fromString("world"), 123)
  val rowWithNull = InternalRow.apply(null, null, 4)
  val row2 = UnsafeProjection
    .create(Array[DataType](StringType, StringType, IntegerType))
    .apply(rowWithNull)
  val it = List(row1, row2, row1, row1, row2).toIterator
  val struct = new StructType().add("a", StringType).add("b", StringType).add("c", IntegerType)

  val encoder = RowEncoder(struct).resolveAndBind()
  val deserializer = encoder.createDeserializer()
  it.map(deserializer).foreach(r => println(r.mkString("|")))
}

For Iterator[UnsafeRow], it is OK.
Then the problem occurs again, loaded Arrow ColumnarBatch cannot invoke rowIterator because ColumnarBatchRow column is IndicatorVector @zhztheplayer

loaded Arrow ColumnarBatch cannot invoke rowIterator because ColumnarBatchRow column is IndicatorVector

Then we should fix this at first... Which sounds like a bug. I'll take another look on the issue.

Executing SQL query from resource path /tpcds-queries/q24b.sql...
24/08/16 09:15:21 WARN Runtime: WholeStageIterator Reservation listener org.apache.gluten.memory.listener.ManagedReservationListener@4523caff still reserved non-zero bytes, which may cause memory leak, size: 2.0 MiB.
24/08/16 09:15:21 ERROR Executor: Exception in task 0.0 in stage 477.0 (TID 1749)
org.apache.spark.SparkException: Managed memory leak detected; size = 2097152 bytes, task 0.0 in stage 477.0 (TID 1749)
	at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$4(Executor.scala:516)
	at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1500)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:509)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:750)
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f372fa0c9a6, pid=11701, tid=0x00007f372e207640
#
# JRE version: OpenJDK Runtime Environment (8.0_422-b05) (build 1.8.0_422-8u422-b05-1~22.04-b05)
# Java VM: OpenJDK 64-Bit Server VM (25.422-b05 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libvelox.so+0x18049a6]  facebook::velox::memory::ScopedMemoryPoolArbitrationCtx::~ScopedMemoryPoolArbitrationCtx()+0x6
#
# Core dump written. Default location: /__w/incubator-gluten/incubator-gluten/tools/gluten-it/core or core.11701
#
# An error report file with more information is saved as:
# /__w/incubator-gluten/incubator-gluten/tools/gluten-it/hs_err_pid11701.log
24/08/16 09:15:21 WARN TaskSetManager: Lost task 0.0 in stage 477.0 (TID 1749) (051b84fb203f executor driver): org.apache.spark.SparkException: Managed memory leak detected; size = 2097152 bytes, task 0.0 in stage 477.0 (TID 1749)
	at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$4(Executor.scala:516)
	at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1500)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:509)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:750)

@zhztheplayer  Thanks for your suggestion, It really make code clean and easy to maintain. Can you help to review again?


Clean up branch for sfn

For accessing the example dataset during SfN, we are giving users access a clone of aeon_mecha with the example dataset and database, hosted on AWS at works.datajoint.com
We need to:

[ ] Branch name
[ ] Add notebooks to 'aeon/docs/examples'
[ ] Clean up the branch (remove old notebooks / docs files that may confuse users)

Thanks @glopesdev !

branch name suggestion: early-access

closing as done


[WIP] Deployment changes

Discovered we were sending a different build to hockey/testflight
Triggering a decoy will open the build on circle
I'm struggling with the code singing on circle, so I don't think that xcodeproj change will stay

  | 1 Warning
------------- | ------------
    :warning: | PR is classed as Work in Progress

  Generated by :no_entry_sign: danger

deprecated  by #1125


update the docs according IPv6 changes on node17+

related to #705

Coverage remained the same at 97.872% when pulling 33056e141470a9ec2635a9fa46c953cd550fe9c6 on davidmeirlevy:patch-1 into 03239c726ad3fedc13cf989dd6306975d2212a60 on chimurai:master.

Thanks for the documentation and making it bulletproof!  🙏


rake db:seed probably breaks

Hi guys, thanks for working on this library. I was looking at your implementation and found that rake db:seed is probably broken.
It is calling rake currencies:seed which looks in config/seeds/currencies.yml but does not find the file. on the master branch, let me know. Markets is the same story.

markets:seed is broken, though the currencies:seed works fine. My suggestion is just to manually update the market if you want to add a coin until it's fixed?

Hmm weird that it works maybe you have an untracked file or something because the current master does not have config/seeds/currencies.yml file as far as I can see

config/seeds is generated from the template files through bin/init_config though. All the files are there, it's only markets:seed that screw up.

Oh nice thank you for the explanation I will close the issue


New styles for RSGButton, Label and Box.

List of what this pull request aims to cover.

[ ] Add new styles and features to existing components.
[ ] Add new examples for the changed components.

New styles applied to:

[x] RSGButton
[ ] RSGBox
[ ] RSGLabel

Changes require major versioning bump to rsg-components due to:

Change of styling in certain components.
Change to their respective APIs.

frera trelo.. hmm, what do we do now..
(just being my usual weird self, sorry)
I see you adding inline styles to the other 2 components, RSGBox and RSGLabel.
I'm reserving my judgement until you style the other two.

I tried to resolve the conflicts, but the files isn't ready for merge. I'll fix everything. Now just resolved the conflicts. I'll change the config files, remove bugs... and everything'll be done.

I'm asking you to remove 3 of them because they're conflicting
I can work out RSGButton
you do the rest

The wiki will soon be updated for the newly added animationTypes in advance.
But the ripple doesn't extend to the corners?
I've fixed all issues, so dismissing my negative review for the time.
But style the other two.

OK, Cool, @retrixe!

This PR wasn't successfully merged!

I unintentionally merged this PR.
All commits between the branches have been fixed.
It's impossible to reopen a PR, that's why I created a copy of this - #5 and we'll continue the work there...

What the hell..


Investigate timestamp logic

Right now in an effort to do less downloading when not needed, the metadata of a book is fetched before it is downloaded and the timestamp is compared to the added info field.
In the pursuit of just getting it working that comparison is pretty janky since the added field isn't storing fractional seconds, while the timestamp has them, so a strict equality is no good.
a couple solution routes:

investigate the added field more and see if there's anything wrong with storing the fractional seconds as well
look into how to compare a subset of date fields, or drop the fractional seconds from the timestamp so a strict comparison can work

Also I don't know what timestamp.with_timezone(&Local) actually does, or what implications it has when reading that value back out for comparison with the value coming from calibre.

Investigated and fixed both issues


for..in over array of string enum type casts to string type

TypeScript Version:  2.5.3
Code
Playground example here
enum Topping {
  Cheese = 'cheese',
  Olives = 'olives',
}

type Pizza = {
  toppings: Topping[];
};

const pizza = {
  toppings: [Topping.Cheese]
};

function calculateToppingPrice(topping: Topping): number {
  // ... whatever
  return 0;
}

let pizzaCost = 10;

for (let topping in pizza.toppings) {
  // Argument of type 'string' is not assignable to parameter of type 'Topping'.
  pizzaCost += calculateToppingPrice(topping);
}

Expected behavior:
The let topping in the for..in loop is of type Topping
Actual behavior:
The let topping in the for..in loop is of type string

I think you meant to use a for-of loop. Thanks JavaScript...

@DanielRosenwasser ughuyghuhguh.... thank you


Welcome to autoortho Discussions!

Discussed in https://github.com/kubilus1/autoortho/discussions/2

Originally posted by kubilus1 October  8, 2022

👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:

Ask questions you’re wondering about.
Share ideas.
Engage with other community members.
Welcome others and are open-minded. Remember that this is a community we
build together 💪.

To get started, comment below with an introduction of yourself and tell us about what you do with this community.

Congratulations on the work done with Autotoho, simply brilliant.
I installed everything on my computer Denza Special problems, but the cities are not in 3D but flat: how can I solve?
I attach Immagni and the Scenery_packs.ini file, please help me.

scenery_packs.ini.txt

Already answered in your other post, please do not post the same question in different areas one post is all we need

Sorry but this is my first time using this forum.
thank you very much for your quick reply and have a nice day
Giuseppe Di Sante
Il giorno dom 16 lug 2023 alle ore 14:47 dpdurst @.***>
ha scritto:

Already answered in your other post, please do not post the same question
in different areas one post is all we need
—
Reply to this email directly, view it on GitHub
https://github.com/kubilus1/autoortho/issues/271#issuecomment-1637089056,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARXMJVLRPECTHFQKK27YBNDXQPWHXANCNFSM6AAAAAA2L2B7UY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Support Docker Compose-based development workflow

This PR introduces support for launching the API and database servers using Docker Compose.
This gives us all the benefits of Docker without compromising on development ergonomics:

We can lock all the system-wide dependencies (e.g. Node.js) to avoid version mismatch issues.

We also avoid conflicts with the host operating system. If we use Node.js 8 for our API, contributors do not need to use a Node.js version manager to change their system-wide Node.js installation to a version we use.

It's also more convenient to use Docker Compose to launch the API services instead of having to set up a MySQL server for development, which could also conflict with other development projects on the contributor's machine. One command is all that is needed to start the API and database servers:
docker-compose up --build -d

This build and starts the servers in the background. We can simply go to localhost:8080/graphiql and query the API.
The running API server container will use the local project directory directly, i.e. it does not copy the files to the build image. This means that:

the API server still restarts on code changes just as it does when not using Docker Compose,
and building the images is lightning fast

I've also set up the API image to use a Docker volume to cache the node_modules folder separately from the local node_modules directory so that native Node.js dependencies do not conflict with the host's equivalents. This volume is persisted even when the containers are stopped so it subsequent runs take a fraction of the time.
This PR also changes the yarn dev command to use the standard Node.js executable instead of ts-node. This allows us to use the --inspect flag to debug TypeScript code using Visual Studio Code, including setting breakpoints and watch expressions. Unfortunately, this only works when the API server is not running in a container, although the debugging port is exposed to the host operating system. I haven't figured out why yet.

We could theoretically configure Docker Compose environment to be as close to the production environment as possible. For example, we can proxy the DNS requests of the development environment to route api.hollowverse.com to the containerized API development server. This PR does not do that, but using Docker Compose opens up the door for a lot of cool things!

If, for any reason, we do not want to use Docker Compose, we can keep the current development workflow. This PR does not affect that in any way.

Tasks

[ ] Update the Wiki entry to use Docker Compose
[ ] Figure out why debugging does not work when the server is running inside the container

Cool stuff!
So this containerizes our API dev workflow. Does it make sense to try to containerize the client-side dev workflow as well?

With regard to the debugging issue that you're running into, I've encountered Docker networking issues in the past, and the thing I've had to do to resolve them is change the hostnames inside Docker from localhost to <IP_ADDRESS> because apparently <IP_ADDRESS> is more dynamic. Not sure if this is related to the issue you're encountering now, but I just thought to throw that out there.

So this containerizes our API dev workflow. Does it make sense to try to containerize the client-side dev workflow as well?

Yeah, I'm thinking we should containerize everything! It's awesome!

With regard to the debugging issue that you're running into, I've encountered Docker networking issues in the past, and the thing I've had to do to resolve them is change the hostnames inside Docker from localhost to <IP_ADDRESS> because apparently <IP_ADDRESS> is more dynamic. Not sure if this is related to the issue you're encountering now, but I just thought to throw that out there.

Interesting, I will give that a try.

I finally figured out why debugging didn't work. It turns out that the port inside the container is only exposed on localhost (it is not exposed to the network Docker Compose creates). This comment (https://github.com/nodejs/node/issues/11591#issuecomment-283110138) pointed me in the right direction.


Tag new release

Would it be possible to tag a new release that includes #723? It would be great to finally not see this deprecation anymore in our CI 🤩
https://github.com/getsentry/sentry-symfony/compare/4.8.0...master
Thansk 🙏

Yes, we'll tag a new version soon. Please understand that we also have other things to consider after merging a PR, so it might take some time before a release goes out.
Thanks for your understanding.


Improve the rbenv prompt by using version-name

Prior to this, the rbenv prompt only showed something if the
$RBENV_VERSION environment variable was set. This was not a complete
solution because rbenv can be configured locally, per directory, with
dotfiles. When using dotfiles, the $RBENV_VERSION variable is not set.
This fixes the issue by taking the output of the rbenv version-name
command which shows the real rbenv version being used based on any of
the 4 ways to change rbenv as shown here:
https://github.com/rbenv/rbenv#choosing-the-ruby-version
This commit also adds documentation to the README that describes the prompt.
Fixes issue #215
Thanks to @MatthewMDavis for the original version of the patch: https://github.com/MatthewMDavis/powerlevel9k/commit/96a8408a0c27ed6dc10dfa8829a549419ab5d4ec

@natemccurdy - Regardless of what comes out of the #119 discussion, this is a great improvement to the existing functionality.
Thanks so much for another solid contribution! Very nice.


Add /play and /begin commands.

A bit useless, but it is on Overcast's PGM.

Can you make this one commit please?


Continuous Deployment to PyPi

Automating our release process to avoid mistakes and streamline release work.
The plan
I'd like to add 2 new GitHub Workflows:
Test versions
Build & publish test versions from our main branch on every GIT push or Pull Request merge.
This is useful for debugging purposes and will help us triage bugs by directing select users to these versions to test a fix or verify that a fix already in our development branch is applicable. All without having them to install from source thus avoiding the pitfalls.
The command to document: python3 -m pip install --index-url https://test.pypi.org/simple/ mido
URL: https://test.pypi.org/project/mido/
Stable versions
Build & publish stable versions on GIT tag event for tags starting with a v.
URL: https://pypi.org/project/mido/

...and my automated workflow failed because I forgot to install twine before using it, duh /o\
Unfortunately, GitHub seem to not allow running an updated workflow file on the tag and will always use the same as the one inside which I find annoying.
I had to revert to my recovery instructions in contributing.rst!
Anyways, all should be in good working order for the next release.
Happy anniversary 🎁


[security] cert copied to world writable dir using known name

https://github.com/gushphp/gush/blob/1.18.1/phar-stub.php#L18
i think this is security issue, vector for symlink attacks and who knows what else.
better safe than sorry.
if that copy i still necessary, better use some user owned paths (not word writable ones), $HOME for example.
other options is to use tempnam, but then should remember to clean up.

Thanks for reporting this :+1: will look into it.

What scenario you envision for attacks, i am not sure i follow.
This is actually corresponding to guzzle package since the file and things come from guzzle, is there a ticket in guzzle that treats this problem? if not i believe that is where it should start no?

it's general security-wise knowledge that you should not use files that ANYBODY in system can control (write).
how to use it for explotation, is up to attackers, they can probably figure something out :)
attack likely needs to be combination of several vectors, like forge dns server to point github.com to ip under attackers control, and then use rogue https cert there, but as ca file is under attacker control, you won't notice you download modified software from fake github server.

I see, gush is more of a personal tool, so this file is in your laptop that only you are suppose to control.
Maybe as you say we should just write it to ~ but if someone has access to your laptop then it can also access ~ home. I think we should move this concern to guzzle, since there are 37 hundred usages out there https://github.com/search?q=guzzle-cacert.pem&type=Code&utf8=✓ :blush:
Please link us here back so we follow up on the concern on guzzle.

you did not pay attention, /tmp is world writable, thus any user in the system can write it. think of shared hosting sites.
but whatever, i'm not here to convince you over.

any user in the system can write it. think of shared hosting sites

Gush is a development tool, it is not meant to be run anywhere than on your local machine. It shouldn't be added to a server, a shared hosting site, a CI build tool etc. It is only meant to be run on your local development computer.
So the fact that /tmp is world writable, means only people that have access to your PC can access the file. And if someone you don't trust has access to your PC, then there is more to worry about than the certificate file from Guzzle, because then they can steal all your passwords or any other information stored on your PC

you sound like gush is windows centric. can have more users on my linux box than me, and still be protected as they are regular users having no access to my $HOME

It's simple enough to fix this, lets keep this open. I will work on it tomorrow :+1:

The problem won't be solved like this. I think we have to escalate to guzzle it so i will create the ticket on guzzle and refer back to this.

That is where we need to address the problem https://github.com/guzzle/guzzle3/issues/71, either there or in their documentation. It is more responsible since i see a lot of people doing this.

I think the problem here is using an old and unmaintained version of Guzzle.
Gushg should be updates to use the latest version of Guzzle

@pierredup Gush uses Guzzle itself only for downloading patches (pull-request:) and it's used by the GitHub adapter (which can't upgrade).
Even we upgrade Guzzle, the GitHub adapter (and properly others) will still use the old version


Updating the documentation about docx file.

It was changed in https://github.com/deanmalmgren/textract/commit/11545ade179aa8b969adec34de7e716081c0d0fd.

Coverage remained the same at 90.315% when pulling 5946f645b93aa4d20b2f4f2571c505d0c6581876 on ankushshah89:docs into f3e2902f36c0f07b3ec4b81905bbcdefc04e5188 on deanmalmgren:master.

Thanks for the correction!


cypress integration

please check if that suits "developer needs 4 testing".
I will add tests, this is just for usability. (you need to export 3 vars for the bash script)

closed in favor of #2413


Replace iterator_apply() with foreach(){} statements

The iterator_apply() is slower than foreach(){} so change all parts
where iterator_apply() is used. Foreach(){} is faster, measured with
a benchmark here: https://gist.github.com/1287753

Reviewed, merged, and pushed to master.


Update the Compound Expansion Table to use Link Buttons

Currently the icon and text arent using the Link Button in Core which provides a margin between the icon and the text

:tada: This issue has been resolved in version 2.20.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


ERROR running force:org:create:

Hello,
When I run the "sfdx force:org:create -s -f config/project-scratch-def.json -a "default scratch org""
I see this error:

How can I fix it?
Thanks,

You need to be authenticated into a dev hub. Please look at this
documentation
https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup
On Fri, Jul 14, 2017 at 1:14 PM, Roman Lavrenov<EMAIL_ADDRESS>wrote:

Hello,
When I run the "sfdx force:org:create -s -f config/project-scratch-def.json
-a "default scratch org""
I see this error:
[image: sfdx error]
https://user-images.githubusercontent.com/19784835/28229093-36f0f32a-6896-11e7-9a07-d6716e7f4d18.png
How can I fix it?
Thanks,
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/forcedotcom/sfdx-dreamhouse/issues/142, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAHGHlhU0-BLZBNukF0Hj06mnkhEHQzfks5sN8wVgaJpZM4OYsMH
.

I believe I did it already, please see below.

Is that authentication you were talking about or it's something else?

@lavr001 You need to enable DevHub on your prod/dev org


Build is not working

I want to create the build of each project for deployment, but when it comes to the auth service. it shows classnotfound for the classes which are present in common.

Hi @sanjayrao3 ,
I had the same issue. I added a root pom.xml and adaptated other poms and run maven clean-compile-package orderly. Then it works. You can check it out here https://github.com/ramazansakin/microservices-spring-boot .

Hi @sanjayrao3 ,
I had the same issue. I added a root pom.xml and adaptated other poms and run maven clean-compile-package orderly. Then it works. You can check it out here https://github.com/ramazansakin/microservices-spring-boot .


feat: add watermark to branded credentials

Summary of Changes
Added ability to put a watermark on a credential card (useful for non-production credential testing)
Part of this change adds the nonProductionWatermark attribute to the baseOverlay OCA spec.

Related Issues
N/A
Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

[x] All commits contain a DCO Signed-off-by line (we use the DCO GitHub app to enforce this);
[x] Updated LICENSE-3RD-PARTY.md for any added dependencies or vendored components;
[x] Updated documentation as needed for changed code and new or modified features;
[x] Added sufficient tests so that overall code coverage is not reduced.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓

Read our contribution guide at least once; it will save you a few review cycles!
Your PR will likely not be reviewed until all the above boxes are checked and all automated tests have passed.

PR template adapted from the Python attrs project.

nonProductionWatermark
it seems to be already translatable but sure I can move it into the meta overlay

@wadeking98 , will this watermark be implemented on CredentialCard 1.0 or it will be exclusive to version 1.1?


intro-mdp/mission01/netconf_functions.py doesn't handle multiple addresses

When running the solution, I get the following error:
Device: ios-xe-mgmt.cisco.com
  Interface: GigabitEthernet2
Traceback (most recent call last):
  File "netconf_configure_ips.py", line 62, in <module>
    check_ip(device)
  File "/Users/mbrainar/coding/DevNet/dnav3-code/intro-mdp/mission01/netconf_functions.py", line 81, in check_ip
    ipv4["ip"], ipv4["config"]["prefix-length"]
TypeError: list indices must be integers or slices, not str

I believe it is because the instance of ios-xe-mgmt.cisco.com has multiple addresses configured on GigabitEthernet2:
<ipv4 xmlns="http://openconfig.net/yang/interfaces/ip">
                                                        <addresses>
                                                                <address>
                                                                        <ip><IP_ADDRESS></ip>
                                                                        <config>
                                                                                <ip><IP_ADDRESS></ip>
                                                                                <prefix-length>24</prefix-length>
                                                                        </config>
                                                                </address>
                                                                <address>

                                                                        <ip><IP_ADDRESS></ip>
                                                                        <config>
                                                                                <ip><IP_ADDRESS></ip>
                                                                                <prefix-length>31</prefix-length>
                                                                        </config>
                                                                </address>
                                                                <address>
                                                                        <ip><IP_ADDRESS></ip>
                                                                        <config>
                                                                                <ip><IP_ADDRESS></ip>
                                                                                <prefix-length>24</prefix-length>
                                                                        </config>
                                                                </address>
                                                        </addresses>
                                                </ipv4>

Just an FYI, but the openconfig model in theory allows multiple IP addresses on a subinterface. The first should be assigned as the primary IP and other should be added as secondary IP addresses. However, the problem above seems to be more about a Python coding error.


downlaoding speed issues (not my connection)

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

My youtube-dl version:

Question
Since a few days youtube-dl download very slowly (10x less), even with different user-agent, my connection works perfectly

Is there some others users who have same issues since at least 4 days? A change in youtube code?
Thanks for people who will take the time to look for
PS: here you can see the dl speed for a youtube video (same speed for any youtube videos)

Look around other open issue reports before making a new one. Too many duplicates.

Yeah.
 Search for speed shows at least 15 open issues:
https://github.com/ytdl-org/youtube-dl/search?q=speed+in%3Atitle&state=open&type=issues


[Bug] datasophon.sql has conflicting merged content

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
datasophon.sql has conflicting merged content
DataSophon Version
datasophon.sql has conflicting merged content
Error Exception
datasophon.sql has conflicting merged content

Screenshots

Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

pr like #189


allow fetch on worker scripts(web-worker, service-worker)

Hi! I've adapted the code copied from the gloo crate(related_section) to allow wasm-client to use fetch under worker environments.
Stumbled upon this when trying cloudflare workers(which is using service worker).

@yoshuawuyts  Greetings! Would you mind giving me some guidance over making this PR into an acceptable state? While currently http-client -> surf supports running on wasm, it will only allow making requests on the windows_global_scope, which for users seeking to use it inside web-worker or service-worker will receive runtime error of by using rust web_sys::window().unwrap()
This PR simply get the global_scope in runtime, so request and fetch api can be used alongside http-client -> surf.

rebase

@extraymond hi! -- sorry for not catching this sooner; yes we should definitely merge this. If you can fix the merge conflicts we can merge + release it.

@yoshuawuyts  No biggie, conflict resolved now.

@extraymond  it seems the CI is currently failing to compile WASM, and it may also need a cargo fmt pass. Would you mind looking into that?

rebase again

It seems I'm messing stuff up.
Should have just do it all over again since it's only two code snippets...

continue at #50


Needs to be fixed: Support more Linux distros and architecture.

For example Raspberry Pi OS 64bit is named to debian.
Output from my RPI3 Model B Plus
       _,met$$$$$gg.          root@raspberrypi
    ,g$$$$$$$$$$$$$$$P.       ----------------
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux bookworm/sid aarch64
 ,$$P'              `$$$.     Host: Raspberry Pi 3 Model B Plus Rev 1.3
',$$P       ,ggs.     `$$b:   Kernel: 5.15.84-v8+
`d$$'     ,$P"'   .    $$$    Uptime: 4 days, 3 hours, 18 mins
 $$P      d$'     ,    $$P    Packages: 813 (dpkg)
 $$:      $$.   -    ,d$$'    Shell: zsh 5.9
 $$;      Y$b._   _,d$P'      Terminal: mosh-server
 Y$$.    `.`"Y$$$$P"'         CPU: BCM2835 (4) @ 1.400GHz
 `$$b      "-.__              Memory: 246MiB / 959MiB
  `Y$$
   `Y$$.
     `$$b.
       `Y$$b.
          `"Y$b._
              `"""

grep 'ID' /etc/os-release | cut -c 4-9
will output: debian
lets find a way to implement it.

Maybe there is a better way to determ OS Check?

Raspberry Pi OS 32-bit support is dropped you need to uncomment the Check OS part and change aarch64 to arm.

Test showed that the OS detection is wrong. A supported system is detected as unsupported.
@drkostas maybe you have an idea how I could solve this?
Thanks for your help in advance

Fixed in: https://github.com/pheiduck/rpi_configs/commit/89352a69f0c9ba409fec3f68dfcc03dca15468cc


Regression: docker exec freezes in experimental build, not in 1.8.1

(This might be a duplicate of issue #15214: "Error running command in existing container with exec".)
Description of problem:
Running docker run -tid busybox and then docker exec -ti $cid /bin/sh just hangs.
docker version:
Client:
 Version:      1.9.0-dev
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   313b371
 Built:        Fri Aug 14 21:06:40 UTC 2015
 OS/Arch:      linux/amd64
 Experimental: true

Server:
 Version:      1.9.0-dev
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   313b371
 Built:        Fri Aug 14 21:06:40 UTC 2015
 OS/Arch:      linux/amd64
 Experimental: true

docker info:
Containers: 1
Images: 7
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 9
 Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.16.0-46-generic
Operating System: Ubuntu 14.04.2 LTS
CPUs: 1
Total Memory: 992.2 MiB
Name: ip-172-31-20-244
ID: ENWL:4UQ6:MIO5:NG6Z:WC4Y:LGCY:MMCA:DNGX:P3FV:DJP5:JEDF:7JKE
WARNING: No swap limit support
Experimental: true

uname -a:
Linux ip-172-31-20-244 3.16.0-46-generic #62~14.04.1-Ubuntu SMP Tue Aug 11 16:27:16 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Environment details (AWS, VirtualBox, physical, etc.):
Running on AWS (region eu-central-1, image ami-accff2b1), Linux 3.16 installed via package linux-image-generic-lts-utopic, Docker experimental installed per the official instructions.
How reproducible:
Always.
Steps to Reproduce:
ubuntu@ip-172-31-20-244:~$ docker run -tid busybox
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
cf2616975b4a: Pull complete
6ce2e90b0bc7: Pull complete
8c2e06607696: Pull complete
Digest: sha256:df9e13f36d2d5b30c16bfbf2a6110c45ebed0bfa1ea42d357651bc6c736d5322
Status: Downloaded newer image for busybox:latest
f8d4ef5806ca93027ec387be38bbda6076cc95ab64010e1c64663d643d07344a

ubuntu@ip-172-31-20-244:~$ docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
f8d4ef5806ca        busybox             "/bin/sh"           4 seconds ago       Up 4 seconds                            lonely_yalow

ubuntu@ip-172-31-20-244:~$ docker exec -ti f8d4ef /bin/sh

Actual Results:
There is no output, and there is no way to quit this via Ctrl-C, but only via closing the terminal (in this case aborting the SSH connection via '\n', '~', '.').
Expected Results:
The same works in stable 1.8.1 (upgraded "now inofficial" boot2docker 1.8.1 on OS X 10.9), i.e. I get greeted by a usable shell prompt in less than a second.

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Done. Bye bye turtle ;)

Seems to be duplicate of #15570

Yes, I confirm this is fixed in the current https://master.dockerproject.org/linux/amd64/docker binary:
Version:      1.9.0-dev
API version:  1.21
Go version:   go1.4.2
Git commit:   5ceff3f
Built:        Fri Aug 21 07:22:39 UTC 2015
OS/Arch:      linux/amd64

That was too soon. I have to re-test with the current experimental version.

Any pointers where I can get a build more current than Aug 14? I can't find a current binary via https://github.com/docker/docker/tree/master/experimental.
curl -sSL https://experimental.docker.com/ | sh gives me 313b371 from Aug 14.
curl -O https://experimental.docker.com/builds/Linux/x86_64/docker-latest gives me 0e3674d from Aug 11.

Following https://experimental.docker.com/builds/ also gives the Aug 11 version.

The same question regarding current experimental builds can be found on the Google Groups mailing list: https://groups.google.com/forum/#!topic/docker-dev/q2EVvraYaGk

This is likely a separate issue that should indeed be fixed already by #15598.
You can try with a binary from https://master.dockerproject.org/

Just confirmed that this is indeed fixed with the current / recent experimental build as well:
Client:
 Version:      1.9.0-dev
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   5ceff3f
 Built:        Fri Aug 21 12:26:50 UTC 2015
 OS/Arch:      linux/amd64
 Experimental: true

Server:
 Version:      1.9.0-dev
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   5ceff3f
 Built:        Fri Aug 21 12:26:50 UTC 2015
 OS/Arch:      linux/amd64
 Experimental: true


Hot reload on virtualbox with windows folder mount

Hot reload does not work on virtualbox with windows folder mount, probably due to disabled poll option of webpackDevMiddleware. The poll option is set to true when isWindowsBash is true, but isWindowsBash is not true on virtualbox with windows folder mount. The solution would be to allow to configure webpackDevMiddleware in next.config.js.

😨

https://github.com/zeit/next.js/pull/823

Have you found a work around?

Yep. Closing this in favor of #823


Error when using the realtime RVC-GUI

I am trying to use the realtime RVC - GUI with a model I trained and it throws an error when I hit the Start audio conversion button:
raise PortAudioError(errormsg, err)
sounddevice.PortAudioError: Error opening Stream: Invalid sample rate [PaErrorCode -9997]
My OS is Fedora 39  and I am using pyenv on 3.10.13 any help would be appreciated.  Exception in thread Thread-2 (soundinput): Traceback (most recent call last):   File "/home/derrick/.pyenv/versions/3.10.13/lib/python3.10/threading.py", line 1016, in _bootstrap_inner     self.run()   File "/home/derrick/.pyenv/versions/3.10.13/lib/python3.10/threading.py", line 953, in run     self._target(*self._args, **self._kwargs)   File "/mnt/data/AI/audio/Retrieval-based-Voice-Conversion-WebUI/gui_v1.py", line 653, in soundinput     with sd.Stream(   File "/mnt/data/AI/audio/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/sounddevice.py", line 1800, in __init__     _StreamBase.__init__(self, kind='duplex', wrap_callback='array',   File "/mnt/data/AI/audio/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/sounddevice.py", line 898, in __init__     _check(_lib.Pa_OpenStream(self._ptr, iparameters, oparameters,   File "/mnt/data/AI/audio/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/sounddevice.py", line 2747, in _check     raise PortAudioError(errormsg, err) sounddevice.PortAudioError: Error opening Stream: Invalid sample rate [PaErrorCode -9997]

I resolved this by changing
Input Device: default (ALSA)
Output Device: default (ALSA)


har2locust KeyError: '_resourceType'

Prerequisites

[X] I am using the latest version of Locust
[X] I am reporting a bug, not asking a question

Description
Hi everyone!
I'm sorry for this bug here but I can't open an issue in the har2locust repository. So I've installed har2locust, opened http://quotes.toscrape.com/ through Firefox, opened Network Tab, right-click and 'Save all as HAR'. Then in Terminal I went to the folder where there is this saved file and run
har2locust quotes.toscrape.com_Archive\ \[23-12-05\ 16-50-12\].har > locustfile.py
I got this error:
KeyError: '_resourceType'
Can someone help me to solve this issue, please? Thanks in advance!
Command line
har2locust quotes.toscrape.com_Archive\ [23-12-05\ 16-50-12].har > locustfile.py
Locustfile contents
no locustfile

Python version
3.11.6
Locust version
2.18.0
Operating system
MacOS

Thanks for notifying me, I have enabled issues in that repo now :)
It seems har2locust has some issues with recordings created with anything but Chrome/Edge, as they dont contain the same data. I have made a fix/workaround and released it in 0.8.6 (available any minute now)
https://github.com/SvenskaSpel/har2locust/commit/d515e571f1b3e1e18e0b6ccd998a955389fa85c7

Thanks for notifying me, I have enabled issues in that repo now :)
It seems har2locust has some issues with recordings created with anything but Chrome/Edge, as they dont contain the same data. I have made a fix/workaround and released it in 0.8.6 (available any minute now)
SvenskaSpel/har2locust@d515e57

Wow, thank you for so speedy response and help!
Kind regards, Ana


Add scheme type options for vector/raster tile

Launch Checklist

[x] Briefly describe the changes in this PR.
[ ] Link to related issues.
[x] Include before/after visuals or gifs if this PR includes visual changes.
[ ] Write tests for all new functionality.
[x] Add an entry to CHANGELOG.md under the ## main section.

Can you create a "before" and "after" screenshots?

Before
After

Vector tile

Raster tile

Thanks!
Can you please add a test that adds a source, changes the scheme and makes sure this is updated in the style? (i.e. e2e test)
Otherwise, this looks great, thanks!
There is a comment above one of the places you changed that needs an update I believe (something with a hack, that might not be true any more).


Feedback on the improvements to the PR flow

Refs: #2293
I just want to capture a bunch of my feedback here, and we can split this out into individual issues after.
General

[ ] Clicking Create Pull Request while in "focus view" opens the new views below the focus mode (would expect them on top) - [EA]
[ ] Sometimes focus mode won't open (not sure why yet) [EA]

SCM view

[x] Use PR icon in SCM view header, rather than the +
[ ] Add a Pull Request submenu under the SCM overflow menu (Below Pull), with options for Create... and Create Draft... (or maybe called New... and New Draft...) [EA]

Create PR View

Add a "source" repository selector (when there is more than 1 repo)
Add a "source" branch selector, rather than always the current branch

PR Focus "status" view

[x] ~Suggest changing the title to be PR #<number> or Pull Request #<number> and then use the description to be the title of the PR [RM] https://github.com/microsoft/vscode-pull-request-github/issues/2459~
[x] Should have a refresh button to update the view with the latest PR info [RM] https://github.com/microsoft/vscode-pull-request-github/issues/2455
Should show review status, if you are a reviewer -- probably also a "start review" button?
[x] Should have a "details" button or something to open the details webview [RM] https://github.com/microsoft/vscode-pull-request-github/issues/2456
[ ] Change Delete Branch to be Clean Up... [RM] https://github.com/microsoft/vscode-pull-request-github/issues/2460
[ ] Add a Close Pull Request... button with a confirmation [RM]
[ ] Add a new button to switch back to the "main" branch -- Switch back to 'main' or something like that [RM]
Add the Clean Up... button here -- when you just want to get rid of the PR and back to the main

PR Focus "changes" view

[x] Suggest changing the title to be Changes in PR #<number> or Changes in Pull Request #<number> and then use the description to be the title of the PR
[ ] Could lose the root node, and maybe just have a Commits node at the top, and then all the directly files below it to simplify things [EA]

"Clean Up" quick pick

[ ] Add options to suspend or delete the Codespace [RM]
Wish we could have disabled (uncheckable) quick pick items -- because it would be nice on the clean up quick pick to say why its not offering to delete the remote (because its in use by another branch)

Most of these have since been addressed.


Add a records-to-TinkerPop-elements coder

It has been suggested that annotations could be used for specifying a mapping from record types (e.g. originating in Avro) to property graph edge types. The format of these annotations is still being discussed, but a few basic requirements come to mind:

Annotations must specify edge labels, out-vertex and in-vertex identifiers -- i.e. strategies for constructing the label, out-vertex id, and in-vertex id on the basis of fields in the record type
Optionally, annotations may specify a strategy for constructing the id of an edge based on record data. If no strategy is provided, a default strategy will be used
Explicitly supported properties may be indicated with annotations
Annotations may specify a strategy for turning un-annotated fields into properties, defaulting to a simple strategy if none is provided (e.g. no extra properties, or all extra fields map to properties)
Both edges and vertices should be supported as targets for a given record type
Elements and element types should be parametric in terms of vertex ids, edge ids, and property values, in order to support a variety of target systems. Specific applications will fill the parameters as appropriate (e.g. edge and vertex ids are always strings or always integers, property values are JSON, or Hydra terms, etc.)

Support for producing multiple elements (edges and/or vertices, possibly with the same label) for the same record should be explored.

See branch https://github.com/CategoricalData/hydra/tree/feature/64-tinkerpop

Here is an example of an annotation format which might work well (probably with some small tweaks). Note that vertex and edge definitions are local to a particular record type (in this case, an Avro record type defined in an avsc file), and that we can produce multiple vertices or edges for the same record type using an attribute like "disambiguation":
{
  "namespace": "com.example",
  "name": "AirplaneModel",
  "type": "record",
  "fields": [
    {
      "name": "name",
      "type": "string",
      "@vertex": {
        "label": "Airplane",
        "idPattern": "airplane:${}"
      },
      "@edgeOut": [
        {
          "label": "engine"
        },
        {
          "label": "created",
          "disambiguation": "current"
        },
        {
          "label": "created",
          "disambiguation": "original"
        }
      ]
    },
    {
      "name": "engine",
      "type": {
        "name": "EngineModel",
        "type": "record",
        "fields": [
          {
            "name": "name",
            "type": "string",
            "@vertex": {
              "label": "Engine",
              "idPattern": "engine:${}"
            }
          },
          {
            "name": "type",
            "type": {
              "name": "EngineType",
              "type": "enum",
              "symbols": [
                "RECIPROCATING",
                "JET",
                "ELECTRIC"
              ]
            }
          },
          {
            "name": "maximumPowerHp",
            "type": "float"
          }
        ]
      },
      "@edgeIn": {
        "label": "engine"
      }
    },
    {
      "name": "originalManufacturer",
      "type": {
        "name": "Organization",
        "type": "record",
        "fields": [
          {
            "name": "name",
            "type": "string",
            "@vertex": {
              "label": "Organization",
              "idPattern": "org:${}"
            }
          },
          {
            "name": "industry",
            "type": "string"
          }
        ]
      },
      "@edgeIn": {
        "label": "created",
        "disambiguation": "original"
      }
    },
    {
      "name": "currentManufacturer",
      "type": [
        null,
        "Organization"
      ],
      "@edgeIn": {
        "label": "created",
        "disambiguation": "current"
      }
    }
  ]
}

Closing this. The TinkerPop coder can still use some refinement (particularly around types of properties), but it is there and it works.


Consider TypeScript

I'm uncomfortable writing increasingly large/complex software, which'll have multiple contributors, in a language without static types. But so far I've used TypeScript myself very little, and hit a number of snags with it, over in https://github.com/dabreegster/osm2svelte. Do we have any TypeScript experience on the incoming team? I'd like to have a discussion over how soon we should get used to using it, and what to watch out for.

All good questions, one for Slack, let's ask and nudge people this coming week.

Interesting counter point to typescript is maybe just using JSDocs.
This is how they do it with SvelteKit - https://www.reddit.com/r/sveltejs/comments/1219z04/thoughts_on_this_twitter_thread_svelte_and_ts/?utm_source=share&utm_medium=ios_app&utm_name=ioscss&utm_content=2&utm_term=1
I don't have a particular dog in this fight (have already started looking at TS anyway).

Close when we've enabled strict mode (no implicit anys, no nulls)

https://github.com/gcanti/newtype-ts looking at this


Watch the kill count remain unchanged whenever nothing drops from a kill.

Expected behavior
I expect the kill count to also count kills where nothing drops. Also, with "Show chat message for NPC kills"  enabled, I expect to see the message "You've killed a Flesh Crawler for 0 loot." just like I see when I get an untradeable drop.
Environment (please complete the following information):

OS: macOS 11.2.3
RuneLite version: 1.7.5
Launcher version: 2.1.5

Additional context
If these "nothing drop" kills aren't factored into loot table calculations, then that could skew the numbers for any NPC that can have a "nothing drop." I also enabled "Show chat message for NPC kills" and the message fails to appear for a "nothing drop."

Duplicate of #10831

Darn, I'm realizing that I only searched open issues before logging this, not closed issues. Sorry for the dupe.


reprojection loss not decreasing

Hi, I already passed the test for ex1, but the reprojection loss is not changing while I ran the code, which doesn't seem right. Are there any procedure I'm missing?

In other words, as r_locs.requires_grad=True, why is r_locs  still always 0?

Why is r_locs.grad still None after r_locs.requires_grad=True?


Generated c.addMo(polUni) fails with ValueError: mo context not found for uni

Hi,
Running APIC Version 1.2(1k) here.
arya generated this ending to the generated py script:
# commit the generated code to APIC
print toXMLStr(polUni)
c = cobra.mit.request.ConfigRequest()
c.addMo(polUni)

When I run the script I get this:
Traceback (most recent call last):
  File "tn-tutorial-tic.py", line 54, in <module>
    c.addMo(polUni)
  File "/xtra/anaconda/envs/py27/lib/python2.7/site-packages/acicobra-1.2_1k-py2.7.egg/cobra/mit/request.py", line 777, in addMo
    raise ValueError('mo context not found for {0}'.format(str(mo.dn)))
ValueError: mo context not found for uni

I made this change to the addMo statement and the script succeeds:
c.addMo(fvTenant)
Thanks.

Justo to say thanks, I had this issue also :-)


warning: time not installed (install packages named @jscpd/time-reporter or jscpd-time-reporter)

Describe the bug
A clear and concise description of what the bug is.
There is a new warning displayed and neither packages are available:
warning: time not installed (install packages named @jscpd/time-reporter or jscpd-time-reporter)
Cannot find module '@jscpd/time-reporter'

To Reproduce
Steps to reproduce the behavior:

I just run jscpd src

Expected behavior
Either remove the warning, or publish the package.
Screenshots
Desktop (please complete the following information):

OS: MacOS
OS Version 10.15.6
NodeJS Version v12.18.3
jscpd version 3.3.19

Additional context

Thank you for the report, will investigate the issue

bump


Version OKD4 not found in update channel

Hi!
I observe problem with OKD version 4.8.0-0.okd-2021-11-24-062209
In Cluster settings  i see error:
Version 4.8.0-0.okd-2021-11-24-062209 not found in channel stable-4. To request update recommendations, configure a channel that supports your version
[root@centos7-template ~]#  oc get clusterversion -o json|jq ".items[0].status.history"                                                               [

{
"completionTime": "2021-11-27T00:48:37Z",
"image": "registry.ci.openshift.org/origin/release@sha256:42971c167a72f9cea7fccae6a4dca6ead777930980848f447d0f8044d3b78049",
"startedTime": "2021-11-25T09:03:03Z",
"state": "Completed",
"verified": true,
"version": "4.8.0-0.okd-2021-11-24-062209"
},
{
"completionTime": "2021-11-24T09:48:39Z",
"image": "registry.ci.openshift.org/origin/release@sha256:1bd8465e745516310dcf45df838ef438bd1e541a054c1915b76e6199fb9658b8",
"startedTime": "2021-11-24T09:07:34Z",
"state": "Completed",
"verified": false,
"version": "4.8.0-0.okd-2021-11-24-014209"
}
]

[root@centos7-template ~]# oc get clusterversion -o json|jq ".items[0].spec"

{
"channel": "stable-4",
"clusterID": "dd53db71-c057-448d-85ec-564191ccd546",
"desiredUpdate": {
"image": "registry.ci.openshift.org/origin/release@sha256:42971c167a72f9cea7fccae6a4dca6ead777930980848f447d0f8044d3b78049",
"version": "4.8.0-0.okd-2021-11-24-062209"
},
"upstream": "https://amd64.origin.releases.ci.openshift.org/graph"
}

Please,help me decide this case.
Thank you.

See https://amd64.origin.releases.ci.openshift.org/#4-stable for a list of releases in stable-4 channel

I faced same problem.

Danger alert:Version 4.10.0-0.okd-2022-03-05-093244 not found in channel stable-4. To request update recommendations, configure a channel that supports your version.

The version 4.10.0-0.okd-2022-03-05-093244 was released on last weekend and I can't find it at https://amd64.origin.releases.ci.openshift.org/#4-stable or https://origin-release.apps.ci.l2s4.p1.openshiftapps.com/#4.10.0-0.okd.
How can I updae to 4.10.0-0.okd-2022-03-07-131213?

See openshift/okd#getting-started

Please note that each nightly release is pruned after 72 hours


Docs homepage links to old release notes

On the docs homepage, the link latest TypeScript release links to 2.3 rather than 2.4:

@DanielRosenwasser looks like a bug in the site, how do you want to track it.

I'm surprised a few releases have gone by without this being updated.

Should be updated now.


Initial draft of Asset Manager OMAS and Catalog Integrator OMIS API

This pull request is in draft status to allow early review of the new APIs.
There are also changes to the Integration Deamon's configuration to control the permitted directions of synchronization.

Looks like the last merge of master completely messed up this PR


feat: deployment to aws elastic container service

With the addition of the new provisioning plugins and the deployment plugin, the desire is to have some documentation around how to use these in conjunction. The difference provisioning plugins - i.e., provisioning-terraform-aws-core-vpc, provisioning-terraform-aws-repository-ecr, provisioning-terraform-aws-deployment-ecs,  provisioning-terraform-aws-database-rds - will be used to spin-up the infrastructure required. After that the deployment plugin - i.e., deployment-github-actions-aws-ecs - should be able to deploy on the previously created ecs cluster, with the built image in the ecr, connected via the vpc network to the rds database.
repository: https://github.com/amplication/provisioning-and-deployment-aws-ecs

Hi @levivannoort, I went through this one. It looks good. I just made some very slight adjustments.


python311Packages.jq: 1.3.0 -> 1.4.1

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 249931 run on x86_64-linux 1

12 packages built:

changedetection-io
changedetection-io.dist
pentestgpt
pentestgpt.dist
python310Packages.jq
python310Packages.jq.dist
python310Packages.langchain
python310Packages.langchain.dist
python311Packages.jq
python311Packages.jq.dist
urlwatch
urlwatch.dist


fail to connect zabbix 2.4

Zabbix server v2.4.4 (revision 52341) (23 February 2015)
Firefox
grafana-2.1.1-1.x86_64

i try to setup grafana-zabbix according wiki page,
https://github.com/alexanderzobnin/grafana-zabbix/wiki/Installation#note-for-zabbix-22-or-less
but i got this error.
Reason: CORS header 'Access-Control-Allow-Origin' missing

i am sure my api_jsonrpc.php have correct config like wiki mentioned, what's the reason on it?
thanks

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://zabbix***/zabbix/api_jsonrpc.php. (Reason: CORS header 'Access-Control-Allow-Origin' missing).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://zabbix.***/zabbix/api_jsonrpc.php. (Reason: CORS request failed).

more error log.

Check your web server config.

cool. it works for me. thanks


[MLDB-1701] add elections 2015 demo based on francois' blog post

Add election 2015 demo.

+1
note: when showing stuff like "top keywords" or "count of PRs by party" if you just put something like .plot(kind='barh') at the end of the call, you get a nice readable chart instead of a boring table :)

Do you want me to change those or just for next time?

Je dirais que ça vaut la peine de passer 30 minutes à l'arranger. Sinon on le fera probablement jamais :)


Question: MNS name confirmation

Can you confirm if the name is correct for the MNS testnet? I noticed "zkevm" mentioned and I'm unsure if this is expected.

modified name

This is working


inconsistent behaviour of watch and computed re-evaluation

Vue version
3.3.7
Link to minimal reproduction
https://play.vuejs.org/#eNq9U01v2zAM/SucLnZQN17SW5sE2IYetsM2bLtNOwgOY6uzZUMftgPD/32U3DjZVhQ99SaR71HvkdTA3jXNsnXIbtnGZFo2Fgxa1+y4klVTawsDaDwkkNVV4yzuE+iEzQoY4aDrCiLiRlxxldXKWKhMDltPiKOsECpHsIU00eKM6FcEOBWL4wVsdzBwBZ66bEXp8A7SFFTdBeoMBTprvEYPEf6OLeqjlRWGR6fXjC+kSb9WEPVRqCQtiLITR0/3CUN1EYwgYngOYmHAWC1V/oZ0jou7Wer6laT+JK2/Xi5WaC2Os9aTWucb6zv/9uzAeQdzLAwu7lcJXHhxq8nK1RUhQsFH2Ppv2PpfGFebdNoY2hW6WKyakuzSDWAjFbUC2uuq3mO55YyMczalCg3pdGp2rtkTBTppi8cZ3MIweC/juEn9Fv4HC+4n1PoC5eXMEljCrKEWHGS+fDC1ou0OLjjzM5Il6i+NldQizqiSz/icKMu6+xRiVjtMTvGswOz3E/EH0/sYZ181GtQtcjbnrNA52il9//0z9nSek9QUVxL6meQ3NHXpvMYJ9t6pPcm+wAW1H8Mfpbb9MPe9RWVOprxQjxwDnjP6ph+esX6We7O8CTyaMhv/AJChX6c=
Steps to reproduce
Create a watch of a computed, which is re-evaluated but its value hasn't changed.
What is expected?
The watch should not be triggered if the data has not changed.
What is actually happening?
If the return type is an array, the watch gets triggered anyways.
System Info
No response
Any additional comments?
My actual goal is to debounce a heavy calculation which currently gets triggered when anything in my array changes, even though it does not affect the calculation.
At first I was expecting that a simple computed with a map of my relevant data would help, but even though the output of the computed does not change, the computed is marked as dirty as the dependency state is dirty.
I understand that this is by design, but I am trying to find an easy solution to make a dependency only update on changes. I thought "watch" would be a good way, but as it seems it does not work as expected either, when the value is an array.
So I am mainly interested to find an easy/simple/intuitive solution to debounce my heavy calculation in a way, that it only gets re-calculated when the relevant data does really change.
i.e.
const suggestionPatterns = computed(() => (form.value?.groups?.map(g => g.pattern) ?? []));

watch(suggestionPatterns, () => {
    console.log('this gets called even if the patterns don't change, but some other property of form.value.groups change');
});

const suggestions = computed(() => {
  suggestionPatterns.value;
  console.log('this will be executed on all changes inside form.value, not only form.value.groups[].patterns');
});

Is sort of related to #11399

Should be fixed by https://github.com/vuejs/core/pull/5912
And it's probably duplicate of some more issues in the repo

Great, I hope that PR (from over a year ago) will get merged soon!

Great, I hope that PR (from over a year ago) will get merged soon!

The demonstrated behaviour is is not inconsistent behaviour.
"x" === "x" / => true
["x"] === ["x"] => false

The second computed returns a fresh array each time. So its value did change. So the watch callback gets called.

Great, I hope that PR (from over a year ago) will get merged soon!

That PR is still being worked on. It's a complex overhaul that needs extensive testing etc. But we want to merge it as soon as possible.


Package siren

[x] development dockerfile
- [ ] production dockerfile
- [ ] vanilla builds

Will do prod docker image and plain build in followup PR's -- she's ready to go!


feat: Cursor Lock

Contents

Added cursor lock when clicking under no UI element.
It relies on EventSystem.RaycastAll

Just did a quick profile, the new UpdateCursorInputSystem has 0 allocations during the clicking event.

Sadly this happens as a consequence of doing a UI Raycast


Added a property control whether the map should use viewport animations.

Added mapAnimationsEnabled property to control whether viewport should just snap to new position or animate to it.
Did not test the iOS version, as I do not have the tech to do so, but implemented it according to API docs.
Sorry for the few spacing changes. My editor did it automatically on save.

Thanks for the PR @Laureckis


creating embadding "nan" in 768 model

I can create embedding in SD 2.1 512.
but in sd 768 says "loss: nan" from the begining similar setting
what is gradient accumulation do?
what does it do if I Increase the value other then more time needed?

try disabling xformers and add the argument --no-half

Getting the same error. Disabled xformers and added --no-half but can't train without CUDA memory errors. Any suggestions?


I would like to support the ability to create branches by tag

Feature Description
Hello,I need to create a branch from tag through the API interface. I have searched the documentation and did not find this interface, so if you can support it, thank you very much.
Screenshots
No response

You want to create a branch based on a tagged commit via gitea api? Isn't that like the basic functionality of creating a remote branch in git?

You want to create a branch based on a tagged commit via gitea api? Isn't that like the basic functionality of creating a remote branch in git?

Yes, I need to operate multiple repositories through the API. But currently the interface for creating branches doesn't support creating from tag.


⚠ Visual-Crew_Builder has degraded performance

In db0e1f3, Visual-Crew_Builder (https://visual-crew-builder.ai) experienced degraded performance:

HTTP code: 200
Response time: 1359 ms

Resolved: Visual-Crew_Builder performance has improved in 8f7e3b5 after 6 minutes.


Soft bundle basic observability

Description
The PR adds several metrics and logging to Soft Bundle.
A node operator will have the ability to understand what bundles are submitted, as well as the content.
This can be particularly useful when tracing down a transaction.
Test plan
How did you test the new or updated feature?

Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

[ ] Protocol:
[ ] Nodes (Validators and Full nodes):
[ ] Indexer:
[ ] JSON-RPC:
[ ] GraphQL:
[ ] CLI:
[ ] Rust SDK:
[ ] REST API:

tl;dr - LGTM on the client IP extraction side.
One thing to note is that the client_id_source field of the validator server is currently populated based on a node config setting for a specific feature that need not be enabled. So if we want to reuse it for logging in other scenarios such as in this PR, it would make sense to decouple that config from the aforementioned feature. I can do that in a separate PR though as it seems out of scope for this. Should be fine to reuse in the meantime.

Hi @mystenmark ,
Guess we are almost done with the client IP extraction part.
Let me know if there are more comments.
Thank you

Thanks @shio-coder. Looks good on my side. Will leave final stamp to @mwtian

Thank you both @williampsmith and @mwtian !   Really appreciate the effort on reviewing this.


[docs] Fix small typo in ValueState Javadocs

What is the purpose of the change
Fix small typo in ValueState Javadocs
Brief change log

Fix small typo in ValueState Javadocs
change null to {@code null}
fix typo: loose(s) -> lose(s)

@zentol Just ran spotless. Also, I might have found another typo: looses -> loses. However, I'm not sure if they are actual typo or differences in English due to regions. I can revert back if those are not actually typos


Invalid index is passed to adapter when notifyDataSetChanged() while scrolling

FreeFlowContainer#notifyDataSetChanged() calls requestLayout() and redraw with backed adapter (computeLayout() and mLayout.prepareLayout()) in onMeasure().

https://github.com/Comcast/FreeFlow/blob/96ebb0cc959ba0bfe5d8a8118aa9345550ff58c9/FreeFlow/src/com/comcast/freeflow/core/FreeFlowContainer.java#L276
https://github.com/Comcast/FreeFlow/blob/96ebb0cc959ba0bfe5d8a8118aa9345550ff58c9/FreeFlow/src/com/comcast/freeflow/core/FreeFlowContainer.java#L255

But when requestLayout() is called while scrolling, onTouchEvent() is called before onMeasure() and it causes crash by IndexOutOfBoundsException in adapter implementation.
Note that ListView effectively avoids this problem by call layoutChildren() before applying scroll to view.

Set mDataChanged = true in notifyDataSetChanged().
https://github.com/android/platform_frameworks_base/blob/android-5.1.1_r4/core/java/android/widget/AdapterView.java#L809
Check mDataChanged and call layoutChildren() inTouchMove().
https://github.com/android/platform_frameworks_base/blob/android-5.1.1_r4/core/java/android/widget/AbsListView.java#L3763
Then redraw views with new data from mAdapter.
https://github.com/android/platform_frameworks_base/blob/android-5.1.1_r4/core/java/android/widget/ListView.java#L1561

Calling moveViewPort() before onMeasure() causes crash.
So flingRunnable is also affected.

For workaround extend FreeFlowContainer and call onMeasure() when moveViewport(boolean) is called.
    @SuppressLint("WrongCall") // for call onMeasure() directly instead of measure()
    @Override
    protected void moveViewport(boolean isInFlingMode) {
        if (dataSetChanged) {
            // XXX: Workaround for onTouchEvent() could be called between notifyDataSetChanged() and layout update in onMeasure()
            // and passing invalid index to adapter. This enforces layout update before applying scroll.
            // Refer: https://github.com/Comcast/FreeFlow/issues/85
            onMeasure(getWidth() | MeasureSpec.EXACTLY, getHeight() | MeasureSpec.EXACTLY);
        }
        super.moveViewport(isInFlingMode);
    }


714 | Best Time to Buy and Sell Stock with Transaction Fee | c++

Title - Best Time to Buy and Sell Stock with Transaction Fee
What will change - Adding Code for problem no 714
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] C++

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

please assign this issue to me.

please assign this issue to me .


Bug 1954891: Setting PriorityClassName for pruner cronjob

Following other components of this operator we start setting the
priority class name to "system-cluster-critical".

/assign @dmage

/lgtm


Invalid spring boot version

Hello everyone,
Spring Boot version 3.0.4 is no longer available via Spring cli.
The project creation script should be updated to use the 3.1.x or 3.2.x version.
spring init
--boot-version=3.0.4
--type=gradle-project
--java-version=17
--packaging=jar
--name=product-service
--package-name=se.magnus.microservices.core.product
--groupId=se.magnus.microservices.core.product
--dependencies=actuator,webflux
--version=1.0.0-SNAPSHOT
review-service
Using service at https://start.spring.io
Initializr service call failed using 'https://start.spring.io' - service returned Bad Request: 'Invalid Spring Boot version '3.0.4', Spring Boot compatibility range is >=3.1.0'

Hello, and thanks for pointing out this issue!
I have published a blog post on how to use the source code of this book with Spring Boot 3.1; see Upgrade to Spring Boot 3.1 and the branch SB3.1. The branch contains an updated version of create-projects.bash that uses Spring Boot 3.1.4.
I have also updated the errata section of the README.md file to point out that Spring Initializr no longer supports Spring Boot 3.0.


move to go modules and upgrade bblfsh client version

Closes #838
Updated rev-upgrade tool to work with go modules.
Upgraded go-mysql-server that does not use gopkg-in anymore.
Upgraded bblfsh client to use the new one that uses go modules.

[x] I updated the documentation explaining the new behavior if any.
[x] I updated CHANGELOG.md file adding the new feature or bug fix.
[x] I updated go-mysql-server using make upgrade command if applicable.
[x] I added or updated examples if applicable.
[x] I checked that changes on schema are reflected into the documentation, if applicable.

Fix tests: > fixtures folder not found

Ugh, yes. It happened to me locally, then it didn't anymore and forgot about that. go-git-fixtures does not work with go modules * sobs in spanish *

I trust @erizocosmico and it's sed-foo completely so I hereby approve the five thousand files of changes.

Waiting for a PR to be merged on go-git-fixtures before updating here and make tests work.

@erizocosmico go-git-fixtures is already merged, shall we continue with this?

Updated

All fixed. Ready to be merged


Crash when using small key

After the latest update, the game is crashing when using a small key to open a door. The crash occurs in the call to PostItemGet in the UpdateKeys function of pendantcrystalhud.asm.
I ran a test where I moved the PostItemGet call inside the scope of the push / pull of the registers (currently the call occurs outside this scope), and the crash no longer occurs.

updated


Add SaveMixin

Before submitting (must do checklist)

[x] Did you read the contribution guide?
[x] Did you update the docs? We use Numpy format for all the methods and classes.
[x] Did you write any new necessary tests?
[ ] Did you update the CHANGELOG?

Proposed Changes
Look at #1002.
Closing issues
Closes #1002.

Codecov Report

Merging #1007 (7cf665e) into inference-v2 (8264118) will decrease coverage by 77.49%.
The diff coverage is 36.92%.

@@               Coverage Diff                @@
##           inference-v2   #1007       +/-   ##
================================================
- Coverage         85.79%   8.30%   -77.50%
================================================
  Files               162     163        +1
  Lines              8603    8662       +59
================================================
- Hits               7381     719     -6662
- Misses             1222    7943     +6721

Impacted Files
Coverage Δ

etna/models/base.py
0.00% <0.00%> (-86.45%)
:arrow_down:

etna/transforms/base.py
0.00% <0.00%> (-96.16%)
:arrow_down:

etna/transforms/decomposition/stl.py
0.00% <ø> (-94.45%)
:arrow_down:

etna/transforms/decomposition/trend.py
0.00% <ø> (-100.00%)
:arrow_down:

etna/core/mixins.py
26.49% <26.66%> (-70.73%)
:arrow_down:

etna/core/saving.py
83.33% <83.33%> (ø)

etna/core/__init__.py
100.00% <100.00%> (ø)

etna/models/naive.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/models/utils.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/auto/__init__.py
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 145 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


5.0 new features documentation.

We added new props/features to Hexagon, Grid and Polygon Layers (may be others) in 4.1-release branch. We need to document these and also add them to whats-new.md of in master branch, so these will be included in 4.2 release.

@heshan0131 , if already done, please verify and close.

Resolved by #1237.


when locked screen - apk crashes

Fixed. The phone can be locked and unlocked, the program will still run.

Thanks, will look into it.
On Sat., Aug. 27, 2022, 12:12 p.m. Piotr eF, @.***>
wrote:

—
Reply to this email directly, view it on GitHub
https://github.com/izivkov/RemoteVideoCam/issues/5, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7M37X4BY5CCXJURVIRJ7LV3I455ANCNFSM57ZRLLJA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Allow users to signup

Verify email before allowing to login. By default logged in user cannot do anything extra.

Please leave out "Verify email before allowing to login" part, this will be moved to separate task.


🛠 Feat: Create an executable binary for the CLI

Currently, you'd need to run your project as a Python script. Ideally, CLI tools are better suited to run as executable binary files. There are tools like PyInstaller or p2exe that can help create a binary file for your Python script.
How cli2cloud presently runs on the terminal:
$ python app.py -del file_name

How cli2cloud would runs on the terminal post Change:
$ c2c -del file_name

Note: Taking c2c as an example for this cli tool. You can name it anything.

Once implemented, it'll be much cleaner to set up and use this CLI tool.
@thekaranatic

Hey! If you don't wish to make the Appwrite project API key accessible by users, your approach is good enough since there is no auth involved. Let the user clone and install cli2cloud and visit Appwrite to create their own API key and add it to the env variable. This way you'd not need to push your own access key.
💡 Another suggestion.

Add an example.env file to the repo and use .env file instead of cred.py, That's the best practice and a good code.
It'll become easy for the users to follow through with the installation with an example env file.

I'll be happy to contribute to a few repository restructure changes for you!

I did try adding .env file and also pushed it here but deleted later because I was bit unaware of how this approach would work on others' systems. Anyways, thanks for suggesting that practice again and you are welcome to contribute to this project. I would be very happy as this marks first external contribution to this repository from you!

Lovely! I'd need write access, please. Happy to help!
Steps:
   Settings > Access / Collaborators > Add People > @akashchouhan16

Hi @akashchouhan16, hope you're doing well. Since there is no activity from you, I would like to know if you are interested in contributing to this issue. Would like a response from you by EOD.

Hey, bud! Had been caught up with work. Planning to restructure your project a bit, will tag you for review for the changes you wish to incorporate to cli2cloud. Meanwhile, you could explore what you'd want to add for the next version

Sure!


get-help-support-8

@pebaum get-help-support path changes.
Freelancers: Do NOT merge.

@pebaum added do not merge tag, as advised by Author. Thanks


[chore] Bump 2.1.0, new release using lib 8.1.0

Closing in favour of: https://github.com/Emurgo/react-native-haskell-shelley/pull/44


docs: Update tcril-engineering to axim-engineering for backstage

@feanil

Well, tests passed before I rebased the branch (which was required) and now I can't get python tests to pass with

Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255

I guess I'll wait a bit


Remove reinitialization from SafeEthClient

As mentioned in #173, we don't actually need to reinitialize the client for reinitializing the subscription, or it seems anything else. So, we can make SafeEthClient a whole lot less complex.

Not totally open rn, but already tagging to keep the conversation.

Now open