CollisionPolygon2D keeps reporting collisions when disabled if polygon property is changed

Godot version:
3.0.2
Issue description:

An Area2D with a CollisionPolygon2D keeps reporting collisions even when the CollisionPolygon2D is disabled. This only happens after the polygon property is changed from code.
Steps to reproduce:
Make an Area2D, attach a CollisionPolygon2D to it. Disable the CollisionPolygon2D. Connect a print statement to the body_enter signal of the Area2D. Make sure the polygon property of the CollisionPolygon2D is edited at least once from code, you can simply do $CollisionPolygon2D.polygon = $CollisionPolygon2D.polygon in _ready to achieve this.
Create a controllable KinematicBody2D and run the scene.
Move the KinematicBody2D inside the Area and the print statement will be executed, even though collisions should be disabled.
Minimal reproduction project:
debug_collisions_disabled.zip

Might be solved once #17151 is merged.

Bug is still preset on master(a16d9c6).
This is really strange, Godot prints that collision is disabled but still detects it

Same thing still happens in 3.1 stable with Area2D/KinematicBody2D/RigidBody2D owning some CollisionShape2D or CollisionPolygon2D with disabled property set to true. After changing shape/polygon properties of said CollisionObject2D (area,kinematic,rigid) from code or animation. This can only be prevented if disabled property toggled false/true right after changing shape/polygon.

I'm not sure if this is a separate issue or the one at hand here. However I have an animated CollisionPoligon2D that would not register collisions when .disabled is animated on and off via AnimationPlayer. (Process mode Physics, on Idle it's even less predictable).
Minimal Project: https://github.com/golddotasksquestions/Collision_Detection-collpoly_disabled

Same issue on 3.1.1
It works and doesn't randomly.
Tried many things, in different scenarios.

Have you tried with the new 3.2 alpha2? @polytect

Have you tried with the new 3.2 alpha2? @polytect

Yes i did. Just now. And the problem still the same in '3.2 alpha2' as in the picture below.
What's our next step?

Can you attach minimal project?
I can't reproduce this on Godot 3.2 master.

Trying to catch it. As I tried to reproduce, it didn't worked. Now I'm trying to strip down my project to reproduce it in minimal environment.

Polytects_Collision_bedbugs.zip

Tested on:
Godot 3.1.1_stable (bug)
Godot 3.2_alpha1 (bug)
Godot 3.2_alpha1 (bug)
System:
GNU/LINUX Debian 10
This one is working bug (roach), was hard to catch.  It is really an unusual situation.
Signal of body entered > function of Body> trough function of node> trough signal back to body. Which works, but fails to execute polygon.
Click play and watch. RED means collision is disabled.
"ui_select" to disable/enable collision directly (works).
Problem might be more simple, but this is exactly my scenario.
And funny thing is that height impacts the collision on my original project, but this is another thing, i will recreate scenario if needed as well. Lets hope it is not a roach nest.
What do you think?

ERROR: body_set_shape_disabled: Can't change this state while flushing queries. Use call_deferred() or set_deferred() to change monitoring state instead.
When i used call_deferred() it worked for this.
I is it a bug then? Or something in between.
Every day something new to learn..


Summoning Sickness Indicator

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I've noticed I can't tell which creatures have summoning sickness - in particular when I have tokens on the field and want to pump or put counters on those attacking. I sometimes target the wrong creatures for that reason. Does this feature already exist? If not, I think it would be a good value add.
Thanks!

Hi! Thank you for your message. First of all, you should tell about this feature on official MTGA game forum. I do not thing that it should be the function of our tracker.


References to objects in array documents and object documents

According to this discussion on Json:API forums, resources in primary data may have relationships with other resources that are also there (e.g. two "people" type resources with HasOne relationships referencing each other in "spouse" field). The library have not supported such a case, so I added find(ResourceIdentifier) method overrides in ArrayDocument and ObjectDocument that allow searching for referenced Resource in data field.

Coverage decreased (-0.006%) to 82.262% when pulling dbc984dbf1e6cacb772fcbbe6a6d79083d5ddb90 on codequest-eu:references-to-objects-in-array-documents-and-object-documents into 3582cd6bfbaf1ac29fbeb4cb1d3ed340cdbd55ad on kamikat:master.


Random Server Lag Spikes. Logs within.

I am having these random lag spikes on my server. They don't last a long time but they an extreme annoyance and shouldn't be happening. Anything I catch in the log seems to point to enderIO and or Extra Cells. Ill drop my pastebins here.
http://pastebin.com/ELfZGbTg
http://pastebin.com/KgAwK8ht
http://pastebin.com/kVpCPbnd

This is an extra cells bug, the error originates there.


Upgrade Electron to latest version

Many bugs that are occurring are due to the outdated Electron version used.
Unfortunately upgrading Electron as always be a major difficulty on this project, and this time its still no luck as much work needs to be done to be able to upgrade to the latest version (or even just from v7 to v9).
Persistence layer
Context: What we learned from data persistence in our growing Electron app
sqlite3 package will not be able to be loaded inside Electron renderer process. All core logic is currently handled in a "worker" process, which is just a frameless renderer process. Persistence is a part of this.
We cannot easily replace the package with better-sqlite3 as its not compatible with sequelize. And we are not sure if it would completely work.
Best bet would be to get rid of sqlite and sequelize and use IndexedDb, as we are in a renderer process (at the time we wrote the article, the persistence was done in the main process).
BrowserWindow extension APIs
See https://www.electronjs.org/docs/breaking-changes#deprecated-browserwindow-extension-apis
Not sure if this will be a no brainer, but my guess is that it will probably not be as simple as the documentation suggests.
Deprecation of worldSafeExecuteJavaScript
See https://www.electronjs.org/docs/breaking-changes#default-changed-worldsafeexecutejavascript-defaults-to-true
It will probably have an impact, but its unknown yet.
Other minor changes
All (most?) of breaking changes are listed here https://www.electronjs.org/docs/breaking-changes. Things like changes in API names shouldn't be too difficult to migrate.
Of course, any other/better idea is welcome on the subject!

Hello magne4000, I'm sorry I'm not skilled enough to be of some help, but just to mention a detail that might be of some help:
the electron version used in Canary version, despite is almost 18 months old, is working fine with everything I used so far.
https://github.com/getstation/station-canary/releases/tag/0.19.131

Hey, in the last few days I looked around for a nice all-in-one app and I think that this one could be just the perfect one when all the problems will be solved. I am starting to have some interest in web technologies and I was really looking for an open source project where I could try to give some help, hope to be somewhat useful!


How to make arrows move back and forth.

Describe your problem here.
I am a newbie at Lua coding, trying to make notes move back and forth to look all ghostly. Getting fucked.
local pencilsup = true
local pencilsmovement = true

function onCreate()
debugPrint(defaultOpponentStrumX0, 'defaultOpponentStrumX1', 'crochet')
end

function onSongStart(count)
		noteTweenAlpha('ghostlyNotes1', 0, 0.6, 0.1, 'linear')
		noteTweenAlpha('ghostlyNotes2', 1, 0.6, 0.1, 'linear')
		noteTweenAlpha('ghostlyNotes3', 2, 0.6, 0.1, 'linear')
		noteTweenAlpha('ghostlyNotes4', 3, 0.6, 0.1, 'linear')
		runTimer('startCycle2', 0.1, 1)
		runTimer('startCycle3', 0.2, 1)
		runTimer('startCycle4', 0.3, 1)
		noteTweenX('gNFloat1', 0, 150, 0.85 * 3, 'quadInOut')
		runTimer('back1', 0.85 * 3, 1)
end

function onTimerCompleted(tag, loops, loopsLeft)
	if tag == 'startCycle2' or 'forth2' then
		noteTweenX('gNFloat2', 1, 265, 0.85 * 3, 'quadInOut')
		runTimer('back2', 0.85 * 3, 1)
	elseif tag == 'startCycle3' or 'forth3' then
		noteTweenX('gNFloat3', 2, 380, 0.85 * 3, 'quadInOut')
		runTimer('back3', 0.85 * 3, 1)
	elseif tag == 'startCycle4' or 'forth4' then
		noteTweenX('gNFloat4', 3, 495, 0.85 * 3, 'quadInOut')
		runTimer('back4', 0.85 * 3, 1)
	elseif tag == 'forth1' then
		noteTweenX('gNFloat1', 3, 150, 0.85 * 3, 'quadInOut')
		runTimer('back1', 0.85 * 3, 1)
	elseif tag == 'back2' then
		noteTweenX('gNFloatBack2', 1, 200, 0.85 * 3, 'quadInOut')
		runTimer('forth2', 0.85 * 3, 1)
	elseif tag == 'back3' then
		noteTweenX('gNFloatBack3', 2, 300, 0.85 * 3, 'quadInOut')
		runTimer('forth3', 0.85 * 3, 1)
	elseif tag == 'back4' then
		noteTweenX('gNFloatBack4', 3, 400, 0.85 * 3, 'quadInOut')
		runTimer('forth4', 0.85 * 3, 1)
	elseif tag == 'back1' then
		noteTweenX('gNFloatBack1', 3, 100, 0.85 * 3, 'quadInOut')
		runTimer('forth1', 0.85 * 3, 1)

	end
end

function onTweenCompleted(tag)
	if tag == 'gNFloat1' then
		noteTweenX('gNFloatBack1', 0, 100, 1.25, 'quadOut')
	elseif tag == 'gNFloat2' then
		noteTweenX('gNFloatBack2', 1, 200, 1.25, 'quadOut')
	elseif tag == 'gNFloat3' then
		noteTweenX('gNFloatBack3', 2, 300, 1.25, 'quadOut')
	elseif tag == 'gNFloat4' then
		noteTweenX('gNFloatBack4', 3, 400, 1.25, 'quadOut')
	elseif tag == 'gNFloatBack1' then
		noteTweenX('gNFloat1', 0, 150, 1.25, 'quadOut')
	elseif tag == 'gNFloatBack2' then
		noteTweenX('gNFloat2', 1, 265, 1.25, 'quadOut')
	elseif tag == 'gNFloatBack3' then
		noteTweenX('gNFloat3', 2, 380, 1.25, 'quadOut')
	elseif tag == 'gNFloatBack4' then
		noteTweenX('gNFloat4', 3, 495, 1.25, 'quadOut')

	end
end

There is a bunch of code I (Badly) tried to do this with. It barely works. It moves the first 2 once and then stops. If anyone has a script that does this or just knows how to fix my broken code that would be cool.
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No, I did not.

Basically if you want to do this with both notes, you could use something like this (with the slight ghost effect on alpha of course):
function onUpdate(elapsed)
    noteTweenX(elapsed..'12',4,defaultPlayerStrumX0 + 1+(21*math.sin(getSongPosition()/400)),0.01)
    noteTweenX(elapsed..'22',5,defaultPlayerStrumX1 + 2+(21*math.sin(getSongPosition()/400)),0.01)
    noteTweenX(elapsed..'32',6,defaultPlayerStrumX2 + 3+(21*math.sin(getSongPosition()/400)),0.01)
    noteTweenX(elapsed..'42',7,defaultPlayerStrumX3 + 4+(21*math.sin(getSongPosition()/400)),0.01)
    noteTweenY(elapsed..'1',4,defaultPlayerStrumY0 + (11*math.sin(1+getSongPosition()/255)),0.01)
    noteTweenY(elapsed..'2',5,defaultPlayerStrumY1 + (11*math.sin(2+getSongPosition()/255)),0.01)
    noteTweenY(elapsed..'3',6,defaultPlayerStrumY2 + (11*math.sin(3+getSongPosition()/255)),0.01)
    noteTweenY(elapsed..'4',7,defaultPlayerStrumY3 + (11*math.sin(4+getSongPosition()/255)),0.01)
end

If you're using any version that supports runHaxeCode() though, something like
    runHaxeCode([[
        for (i in 0...playerStrums.members.length) {
            FlxTween.tween(playerStrums.members[i],{x: Math.sin(playerStrums.members[i].x) + playerStrums.members[i].x + 20},,{ease:FlxEase.sineInOut, type:FlxTween.PINGPONG});
        }
    ]])

would probably work too. (only thing is I haven't found out how to really delay each for a wavy effect like the one above)

Man it didn't even notify me of this thanks a ton.


Do not close a popover when the mouse is hovering on it

Since we can use HTML in a popover, it would be useful if the popover stayed opened when the mouse is hovering over it. This gives the user a chance to read something then click a link.
As it stands, the popover fades onMouseOut, or based on the delayOut argument. In order to use a link in the popover, we have to use a delayOut anyway to give the popover a chance to stay after onMouseOut.
But then the popover can disappear while hovering over the link.

This isn't possible with the current markup. Maybe in 2.0

Proposed a fix, https://github.com/twitter/bootstrap/pull/702 .

so is this working?

Yup! It wasn't accepted (see thread; closed 'til 2.0) but I'm using my fork
in private builds and it works great.
On Mon, Dec 12, 2011 at 6:31 AM, Parker Ituk <
<EMAIL_ADDRESS>
wrote:

so is this working?

Reply to this email directly or view it on GitHub:
https://github.com/twitter/bootstrap/issues/664#issuecomment-3104861

can you share you private builds with me, cheers

Sure -- one of the beauties of github is you can download the version I committed: https://github.com/aaronsnow/bootstrap/blob/71048b06f8d11332f7db0348a6d6514937b7a823/js/bootstrap-twipsy.js

Thanks

Thx you so much!!

I've made a commit to make the popover stay when mouse is hovering over it and automatically hide when the mouse leaves the popover. Very useful in some cases. Hope it helps : https://github.com/abhishekdelta/bootstrap/commit/01c3334ff1cbb6d2fc65fc4c6e3065ab543cb2e8

Are you planing to merge this into core?


Correctly set minecraft version requirement

In you fix: https://github.com/Zolo101/NotEnoughServers/commit/a4e73748893227f14752b6bacb90f3071c582dbe#diff-882c6606823cf6c4e4114c1125850a04ed3180c48aef0e1467f1e4022b235db2 you changed the minecraft version from
"1.19.x" -> ">=1.19.x" but it has to be ">=1.19" if it should work for 1.19 and higher.

#3

Thank you for the PR! I've replaced the v1.1.1 build on Modrinth & Curseforge with this working version

No problem, thanks for creating the mod


eventmux: support middleware

#68  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jespert and the rest of your teammates on  Graphite

Merge activity

May 18, 10:27 AM EDT: @jespert merged this pull request with Graphite.


Fix filename conflict

Fix #137
I'm honestly not sure what in 0.8.1 caused this issue to surface. Something around when template files are compiled maybe? It was synchronous before? Anyway... This works. Tested it on our project that has probably 30+ templates, many of which have the same file name.
Template filenames will now be gibberish mostly, but they weren't really useful in large projects anyway, since in our case they all started with same-file-name-as-everywhere-else-<hash>. Suggestions welcome here, maybe we could reproduce the same folder structure in the build directory as we have in src? Surely we can't name output files after the absolute path of the source file since we'll hit a filesystem filename size limit quickly. Thinking out loud. Currently, I added a comment into the generated file explaining where the source code of the template came from.

@levkk Very Very Much Appreciated! I will get this merged right away, and once again thank you very much for your contribution! I am always saddened when changes break functionality, and appreciate your quick fix for getting our project up and going again!


Add supports method to formatters

We have the same case with the Bitcoin formatter: decorator.
Although it is not a good design to include a supports method just to make it compatible with some sort of AggregateMoneyFormatter, we should consider doing so. We might be able to add custom Formatters as well, based on different conditions.
Alternatively we could also have a SelectiveMoneyFormatter interface with it which could be used in an AggregateMoneyFormatter.

@sagikazarmark Should this not belong in the client library? The client library is responsible for injecting the correct formatter into a class that is using a formatter. This resonsibility should not be passed to the formatter itself I think.

Well, I agree with you and I have some doubt in myself. However the current formatter tries to provide a fallback logic by accepting a fallback formatter and I was thinking if we could remove the decoration somehow.

Ah I get it. You mean the delegatedFormatter inside the Bitcoin formatter? It might be a good idea indeed to remove that. Let me think on this.

Aye. Also, what about the parser? We can't really have a supports method there. Maybe we could have an AggregateParser based and determine "support" based on the return value (money object or not).

@sagikazarmark What about something like this?
<?php
final class CurrencySpecificMoneyFormatter implements MoneyFormatter {
  private $formatters = [];
  public function __construct(array $formatters) {
    foreach ($formatters as $currencyCode => $formatter) {
      $this->addFormatter($currencyCode, $formatter);
    }
  }

  private function addFormatter($currencyCode, MoneyFormatter $formatter) {
    $this->formatters[$currencyCode] = $formatter;
  }

  public function format(Money $money) {
    $currencyCode = $money->getCurrency()->getCode();
    if (isset($this->formatters[$currencyCode])) {
      return $this->formatters[$currencyCode]->format($money);
    }
    throw new FormatterException('Cannot format currency ' . $currencyCode);
  }
}

Or with a default.
<?php
final class AggregateMoneyFormatter implements MoneyFormatter {
  private $currencySpecificFormatters = [];
  private $defaultFormatter;
  public function __construct(MoneyFormatter $defaultFormatter, array $currencySpecificFormatters) {
    $this->defaultFormatter = $defaultFormatter;
    foreach ($currencySpecificFormatters as $currencyCode => $formatter) {
      $this->addFormatter($currencyCode, $formatter);
    }
  }

  private function addFormatter($currencyCode, MoneyFormatter $formatter) {
    $this->currencySpecificFormatters[$currencyCode] = $formatter;
  }

  public function format(Money $money) {
    $currencyCode = $money->getCurrency()->getCode();
    if (isset($this->currencySpecificFormatters[$currencyCode])) {
      return $this->currencySpecificFormatters[$currencyCode]->format($money);
    }
    return $this->defaultFormatter->format($money);
  }
}

Then there is no need for supports method. Because the aggregate formatter is handling which formatter should be handled by which money object. In this case the currency code is de determinative factor. Clients can implement their own strategy with another determinative factor.

Looks good to me. Maybe we could add the default as part of the formatter array with a key "default" or "*". Another thing that we might think about is adding regex support for keys so that it is easier to register one formatter for many currencies.

Alright, we could do the * method. Is regex the method to match currencies?

Yeah, regex could match currencies, but not sure it's the way we should do it. It would after all be the same as adding the formatter multiple times (listing the currencies) and adds a considerable amount of overhead, so let's drop regexes.

Closed by #216


⚠ Fetchers has degraded performance

In d545c3e, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 278 ms

Resolved: Fetchers performance has improved in db27c75.


bot laggy

anyone know how to fix my bot so laggy, when i request !play the bot always delay 30s - 20 minutes. help
or is it my connection problem ?

It's probably because your internet speed is low

ah yeah i can see when i ping yt there's timed out. im never had this problem 1-2 weeks ago

same problem with !play..

make your own issue.


PrismJS not loaded

PrismJS isn't loaded in default.hbs, thus syntax highlighting on <code> doesn't work.

Fixed in 5091e88


Update DG diagrams

Codecov Report

Merging #268 (641e9dd) into master (5ac2a8a) will decrease coverage by 0.44%.
The diff coverage is n/a.

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


[test] Modernize affinity test

Codecov Report

Merging #2149 (b8f9d87) into master (0ca19e7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2149   +/-   ##
=======================================
  Coverage   86.15%   86.15%
=======================================
  Files          53       53
  Lines        9465     9465
=======================================
  Hits         8155     8155
  Misses       1310     1310

Continue to review full report at Codecov.

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


Creating HiFi

Creating HiFi with Figma based on user tests from LoFi evaluation

https://www.figma.com/file/egNJJLKXcAtXzS5PLNb5NS/BudgetBinder_HiFi

We stopped working on our HiFi to concentrate on frontend-development instead


[ELE-442] Lineage with Runtime - Data Model Optimisation Tool

Is your feature request related to a problem? Please describe.
Runtimes by model are great for seeing individually inefficient models but another thing that is often needed to optimise the lineage between the models that ultimately affects total uptime of a dbt run. You can have many efficient models individually but if they all run concurrently you will have a very long dbt task.
Describe the solution you'd like
To identify these problems areas with Lineage I would like to see a lineage graph laid out like a Gant chart with model start and end times so you can see which models are key choke points in the lineage (perhaps as they are depended on by many models etc.)
Extras:

A view of lineage depth - i.e. how many models deep a specified node is from source / exposure - this gives an idea of project complexity
A view on lineage effeciency - some sort of metric of how well the nodes in a project are designed to run in parallel.

Describe alternatives you've considered
We developed this tool internally but it was too much to maintain with the changes to artefact structure over time. The below images are a very rough alpha version of how we imagined this might be presented.
Additional context

Would you be willing to contribute this feature?
Definitely if I can with some guidance from the team.
ELE-442

https://getdbt.slack.com/archives/C01NH3F2E05/p1680268887658689


Kubespray supports Custom VM and BareMetal

Kubespray supports Custom (On-premises VMs) & Custom (Bare Metal).
https://kubespray.io states:

Can be deployed on AWS, GCE, Azure, OpenStack, vSphere, Packet (bare metal), Oracle Cloud Infrastructure (Experimental), or Baremetal

/lgtm
/approve


[Feature Request] Allow bold-face for language keywords

Currently I cannot use bold-face for keywords in C# (for example)
for (int i=0;i<10;i++){
...
}
Here's the keyword highlighting with Tahoma font in Visual Studio:

Here's the same file when viewed in Visual Studio Code with Tahoma font:

I looked at settings and we can only customize colors for keywords, not boldface.

Themes can define bold/italics on different scopes, that is the only way to change the font weight right now.

is there an example theme i can use?

@vijaykrishna82 turns out you can do this in your settings. First generate theme json from your current theme:

Find the keyword textmate rule in the json and then add it to your settings but add fontStyle: bold like this:
  "editor.tokenColorCustomizations": {
    "textMateRules": [
      {
        "name": "Markdown bold",
        "scope": "markup.bold",
        "settings": {
          "foreground": "#9fcff9",
          "fontStyle": "bold"
        }
      }
    ]
  }


Tax rate is not updated upon logging in after adding items to cart - this also affects the order placed!

PHP Version: 8.3   | Shopware Version: <IP_ADDRESS>  | Affected area / extension: Platform(Default)

Expected behaviour:
Tax rate should update as soon as customer's address (and thus, country) is known. This usually happens upon logging in.
Actual behaviour:
Tax rate is not updated upon logging in. It remains the standard tax rate until adding an item to the cart again or changing amounts.
How to reproduce:

Go to frontend
Put item in cart - default tax rate is now visible in the cart page itself
Login a customer with a delivery address in a country where the tax rate differs
Go to cart page again

Should be a duplicate of https://github.com/shopware/shopware/issues/4664.
Shyim already fixed the error. He said that currentlyy the release team is working on releasing a patch for it.

[public] The issue is already covered by the following ticket: https://github.com/shopware/shopware/issues/4664
[created from NEXT-38287, comment 495285]


request for information

Hi Guys,
I am working on the integration of ROS [ moveit, rviz, etc] with Nvidia IsaaC SDK/ Jetson devices. I was advised to study your project as it uses nvidia hardware.
Could you let me know if your project supports nvidia jetson Xavier AGX/ nvidia jetson NX, nvidia jetson Nano hardware, please?
If it supports - is there a guide how to implement ovc with it? ovc3? ovc4?
Regards & Thanks

Hi!
We are working literally right now on OVC4 which will be based on the Xavier NX module.
Since the module is very new the development is still in its early stage but you can keep an eye on the repo and follow as it progresses.
We used OVC3 with Xavier AGX previously, OVC3 is just a USB 3 device so it should work on any Linux machine as long as it runs ROS on Linux and has the driver for USB networking (Ubuntu does by default).
/Luca

Dear Luca,
Thank you for your response.
Could you point to some detailed guidelines on how to implement OVC 4m given I am totally a newbie with that particular project but have had extensive jetson experience before? Which hardware components will be required to construct the platform? Which custom software implementations will need to be made?
What is the extent of complexity for a new user to repeat your steps to implement ovc at their side?
Previously I used to follow up nvidia jetbot assembly and configuration.
Is ovc something like that? In term of complexity? https://github.com/NVIDIA-AI-IOT/jetbot/wiki Will ovc be much more difficult to implement from scratch for a newbie who never used ovc before? could you point out to documents to start getting familiar with the project, please?

OVC4 literally started a few weeks ago, right now the hardware itself is
still in the design stage. Until we finish the design it will not be
possible to build it (unless you finish the design yourself, but it's not
an easy task).
After finishing the hardware design we would need to go into firmware (i.e.
kernel modules for the cameras) and software (i.e. the ROS driver), before
all those steps are done I doubt it can be useful to an end user.
Once it is done I expect all you would need to do is fabricate the PCB (if
you are not sure how to do that you can outsource it to an external
company), buy a Xavier NX module and assemble everything together.
I expect it to be not too bad for someone who is familiar with Linux and
the Nvidia tools but can't be sure until the design is finished.
Apologies if I can't be more precise but we are still defining what OVC4
will look like since it's very early.
On Mon, Apr 27, 2020 at 9:14 PM Andrey Volodin<EMAIL_ADDRESS>wrote:

Dear Luca,
Thank you for your response.
Could you point to some detailed guidelines on how to implement OVC 4m
given I am totally a newbie with that particular project but have had
extensive jetson experience before? Which hardware components will be
required to construct the platform? Which custom software implementations
will need to be made?
What is the extent of complexity for a new user to repeat your steps to
implement ovc at their side?
Previously I used to follow up nvidia jetbot assembly and configuration.
Is ovc something like that? In term of complexity?
https://github.com/NVIDIA-AI-IOT/jetbot/wiki Will ovc be much more
difficult to implement from scratch for a newbie who never used ovc before?
could you point out to documents to start getting familiar with the
project, please?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/osrf/ovc/issues/29#issuecomment-619977835, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACFQQBSZUL2II6BXEASP4R3ROWAKLANCNFSM4MR4LF5Q
.

Hi!
Yes the cameras will be hardware synchronised (it's the main feature we are
building it for). Regarding Nano compatibility, we are designing for Xavier
NX which is mostly pin compatible. I expect you should be able to use most
features with Nano (except maybe some of the cameras since iirc the new
module supports more cameras in parallel.
On Fri, May 1, 2020 at 10:20 AM poudyalbot<EMAIL_ADDRESS>wrote:

Will it support Jetson Nano.....
And will the camera and imu be hardware synchronised.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/osrf/ovc/issues/29#issuecomment-622216439, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACFQQBSPB7S7A63D4ZGG5YTRPIWWDANCNFSM4MR4LF5Q
.


Fix issue #52

Coverage increased (+0.6%) to 53.873% when pulling d711cbb7fc9aa1b435324c5d3633dea35c1520da on issue_52 into 55249f6a05eccfdc7c711e4870594b0f08ce59f2 on master.


Delete institution scenario

[ ] user can delete an institution, but later restore one with the latest values #48

[ ] tab state changes to deleted

[ ] selected next available institutions

[ ] if no institutions are available after deletion, do not select institutions

#54 Later

The question is - How to mark institution deleted?

Disable fields?
Create new state with list of disabled institution?
Use a hidden field in use-hook-form, ie isDeleted ?

[validateDOMNesting(...): <button> cannot appear as a descendant of <button>](https://stackoverflow.com/questions/61341666/validatedomnesting-button-cannot-appear-as-a-descendant-of-button)

Again got the problem with rerendering on formState hook change. The previous solution not working #53


modify price of an existing product

As a merchant on E-commerce
I need to be able to modify the price of an existing product
So that the price can be appropriately adjusted due to inflation,  scarcity, or abundance
Details and Assumptions

[document what you know]

Acceptance Criteria
Given a request from a merchant to change the price of an existing product
When the merchant put in the updated price
Then the current price of the product should be correctly reflected while other information stays unchanged

Do we want users to be able to modify the name and descriptions of their products as well?

Yes, they should be able to. I just wrote this story as a starting point. I will put them in separate user stories to keep each minimum. Good point though!

Great job on pioneering! What about currency? Do we want to add that capability? Or should that maybe be a separate story?


🏗 Use hub-ci for tests

cc @XCiD
Uses the new CI environment for tests, which uses Gitaly and is automatically updated to the latest version of the Hub.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

CI failing though.

Depends on #878 for the CI to pass

#878 has been merged

Hmm so it turns out the identical_ok argument for HfApi.upload_file has been broken for a while now (since the Gitaly migration)
In [4]: upload_file(repo_id="sbrandeis/private", token="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", path_in_repo="test_file", path_or_fileobj=io.BytesIO(b"content"), identical_ok=False)
Out[4]: 'https://huggingface.co/sbrandeis/private/blob/main/test_file'

In [5]: upload_file(repo_id="sbrandeis/private", token="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", path_in_repo="test_file", path_or_fileobj=io.BytesIO(b"content"), identical_ok=False)
Out[5]: 'https://huggingface.co/sbrandeis/private/blob/main/test_file'

In [6]: upload_file(repo_id="sbrandeis/private", token="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", path_in_repo="test_file", path_or_fileobj=io.BytesIO(b"content"), identical_ok=False)
Out[6]: 'https://huggingface.co/sbrandeis/private/blob/main/test_file'

On the plus side, the new hub-ci should help us catch these discrepancies between the server and huggingface_hub earlier 😅
@LysandreJik @adrinjalali how should we "deprecate" that argument, since it does not do anything anyways?

It does not do anything since then...

If no-one noticed, let's just remove the param no? don't think we need a deprecation strategy for a param which didn't work :)

If it doesn't do anything, I'd put an easy deprecate and just warn if users pass anything other than the default value, and tell them it's not doing anything and will be removed.

Merging

Not sure why this was tested against production?

@LysandreJik feel free to open an issue if there is a problem with that


[Issue] Could/should azd add a .gitignore to .azure?

I just learned that subdirectories can have .gitignore's! Apparently lots of tools add .gitignore to their created folders, like venv recently did:
https://github.com/python/cpython/issues/83417
I wonder if it'd make sense for .azure to have a .gitignore? (Instead of adding itself to the repo's .gitignore?)
Just a thought!

I wonder if it'd make sense for .azure to have a .gitignore? (Instead of adding itself to the repo's .gitignore?)

Hey @pamelafox - I wonder what would be the point of that? Specifying .azure in .gitignore at the repo level means that the folder will be ignored by Git.

The benefit of adding a .gitignore with * in .azure is that azd doesn't need to mess with the root .gitignore. It just seems like it might be a bit cleaner, less brittle. I think sometimes I get double .azure's in my .gitignore due to azd logic in how it adds to it.
Functionally, the result would be same as today. It's just a different approach.

Thanks, I didn't know that. I did a quick test to confirm behaviour and found:

.gitignore * includes all files and folders contained within .azure
.azure is not committed because it is an empty folder

I like it, nice and simple.


License activation port

@dalianelanzarin commented 6 hours ago — with docs.microsoft.com
Good morning, I have a license server and I need 01 jump server to look for this license, I already pointed the IP in regedit, but I need to release the connection on the firewall, would you know what port it uses for this connection and license activation?

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

ID: 4767a747-aab2-11eb-28fc-02652c3479ec
Version Independent ID: c3245db3-8839-7b41-32a2-b4cf14bc5848
Content: Deploy your Remote Desktop environment
Content Source: WindowsServerDocs/remote/remote-desktop-services/rds-deploy-infrastructure.md
Product: windows-server
Technology: remote-desktop-services
GitHub Login: @lizap
Microsoft Alias: elizapo

Wish I had found this ticket earlier.


Is this a Bug: My Arctic LED ARGB Fans are not running, Protocol issues?

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Change to '...'
Upload '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.

i notice, that ARTIC LED Fans are not running with this COntroller. Mine is base on a Arduino Pro Micro
Many LED Stripes and Rings are Running. (eg. Intertech argb fans)
But not that from Arctic (PWM aRGB and Freezer aRGB). Did there use a special Protocol?
a tiny argb controller (sata DC plugin, 3 pin ardgb out) is good on that arctic LED Fans...
so there is a kind of difference between the Icue and the tiny controller protocol

Screenshots
If applicable, add screenshots to help explain your problem.
Same Connection as to some LED stripes (30cm, 3 Pin Connection V Di, G)
System (please complete the following information):

OS: [e.g. Windows 10]
WIn 10, Icue 4.33,  Firmware 99,40

Board: [e.g. Arduino Leonardo]
Arduino Pro Micro

Device: [e.g. Lighting Node PRO]
Lightning Node Pro, Firmware 99,40

Version of IDE: [e.g. Arduino IDE 1.8.13]
Arduino IDE 1,8.13

Version of CLP: [e.g. 0.15.0]
0.3.1

Version of CLP Boards: [e.g. 0.2.0]

Sketch: [e.g. RepeatAndScale]

Could be a software Issue in the Libary?
Code changes
Did you changed the code of the library or the sketch?
No!

To debug this problem we need to know what kind of LEDs are built into the Artic LED fans. Depending on the kind, some changes in the code are required to make them work.


Bump NPM version

Can we publish the merged code to npm, please? :dancing_men:

Bumped and published!


DataTable: Header/Fotter: ColumnGroup support

1 row in columnGroup: output as is
2+ row in columnGroup: add header row same way as data

Close this issue because exporting the ColumnGroup header and footer is already supported by DataTableExcellaExporter.
I'll also open a new issue to support by TreeTableExcellaExporter.


Fixed JavaScript error thrown when multiple instances of TextField are used on the page

Coverage remained the same at 82.486% when pulling de826fb111e36135fbf9f33143dcc93d0608c28a on vxsx:bugfix/multiple-instances-on-same-page into a49846f884662e16d1d5e1587611939d6fa417e8 on divio:master.

Coverage remained the same at 82.486% when pulling de826fb111e36135fbf9f33143dcc93d0608c28a on vxsx:bugfix/multiple-instances-on-same-page into a49846f884662e16d1d5e1587611939d6fa417e8 on divio:master.


storage: Ingest snapshot by split

What problem does this PR solve?
Issue Number: ref #5237
This is one of a series of PRs for https://github.com/pingcap/tiflash/issues/5237, where you can see the overall roadmap.
What is changed and how it works?
Use LogicalSplitAt + ReplaceData to ingest snapshots when clear_data_in_range == true.
Check List
Tests

[x] Unit test
[ ] Integration test
[x] Manual test (add detailed scripts or steps below)

Workload: Ingest 100GB data using Full-Speed, then query a few times
this PR vs master:

[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

Improve ApplySnapshot performance

/run-all-tests

Not sure how integration test failed, but looks like the storage meta data is corrupted, which seems to be not related with ingestion:
DB::Exception: Cannot open file /tmp/tiflash/data/db/metadata/db_401/t_398.sql, errno: 2, strerror: No such file or directory:  table name: t_398, table id: 398
Cannot reproduce the problem locally. Try rerun again.

/run-integration-test

We can add some tests that applySnapshot and read/applySnapshot and background segmentMergeDelta run concurrently (maybe in later PR)

/run-all-tests

LGTM
but I think it would be better to let 5879 get merged first. Or it will introduce some conflict for apply snapshot codes when cherry-picking 5879 to previous versions

Makes sense. Let's merge #5879 first.

/run-all-tests

/rebuild

/run-all-tests

@JaySon-Huang @flowbehappy Great thanks for the review! Let me use the latest branch to perform some e2e tests as the final verifications. I will trigger the merge after that.

/run-integration-test

/rebuild

/run-integration-test

/rebuild

/run-integration-test

/merge


chore: Visual changes for core navigation elements on IDE

Description
Updates a few visual elements for better Navigational experience using the Segmented Controls
Fixes #37881
Automation
/ok-to-test<EMAIL_ADDRESS>:mag: Cypress test results

[!IMPORTANT]
🟣 🟣 🟣 Your tests are running.
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/12117686531
Commit: b097fe85aaed4b487a0a5b04296f5251dc3e92d2
Workflow: PR Automation test suite
Tags: @tag.Sanity
Spec: ``
Mon, 02 Dec 2024 10:47:00 UTC

Communication
Should the DevRel and Marketing teams inform users about this change?

[ ] Yes
[ ] No

Summary by CodeRabbit
Release Notes

New Features

Introduced a new styled component for dynamic font weight in tab labels, enhancing visual representation.
Restructured button configurations in the sidebar to reflect data source availability.

Improvements

Updated styling for the SidebarButton to improve user interface consistency.
Enhanced the BottomButtons configuration with proper definitions for LIBRARIES and SETTINGS.
Improved the handling of button states in the sidebar based on data source presence.

Bug Fixes

Corrected the closing of the TopButtons array to ensure syntactical accuracy in the configuration.

/build-deploy-preview

/build-deploy-preview

/build-deploy-preview

/build-deploy-preview

/build-deploy-preview


caching

Can caching be added to this? This is adding 1m 14s runs to our jobs.

Can caching be added to this? This is adding 1m 14s runs to our jobs.

Seems like it should be possible, do you want to give it a go and send a PR? https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows
We should probably have it behind an optional flag.
If you don't want to send a PR we'll pick it up when we get some time over to do it. :)

Any thoughts on how you'd like to see this implemented? (What exactly should be cached etc)?

I recommend implementing caching similar to how the flutter-action implements it:
https://github.com/subosito/flutter-action/blob/main/action.yml#L29-L33

Any thoughts on how you'd like to see this implemented? (What exactly should be cached etc)?

It's a bit tricky, since it is all the lock files and dependencies that should be cached, and not the full tree preferably.
Or maybe everything checked out should be cached after melos bootstrap has run, that would be the simplest...


How to get the metrics about predictions?

Hi,
Thanks a lot for open sourcing the model.
Is there a way to output the metrics similar to alpha fold/alphafold multimer and get also coloring of residues based on prediction confidence?
Thanks a lot.

Hi @GXcells

get also coloring of residues based on prediction confidence?

I guess that's pLDDT coloring of residues? Sure, we can add this.

to output the metrics similar to alpha fold/alphafold multimer

You want to see PDE / PAE matrices or something else?

Yes pLDDT coloring.
For scores, pTM ad ipTM would also be good for multimers.
Also a  PAE plot would be really useful.
Thanks a lot.

pLDDT coloring was just merged in #8 , not yet exposed in web server

@GXcells we now write a scores file alongside the pdbs ( #12), you can get ptm and iptm as follows:
# Load pTM, ipTM, pLDDTs and clash scores for sample 2
scores = np.load(output_dir.joinpath("scores.model_idx_2.npz"))

ptm = scores["ptm"]
iptm = scores["iptm"]

all_available_scores = list(scores.keys())

the scores also contain per-chain pTM and per-chain-pair ipTM if you need more detailed metrics.

Great Thank you all. I close the issue.


pass payload

Hello guys,
I try redux zero with a input type text but I can't get the payload when I use the onChange event. it's normal or a bug?
Thanks

Could you please show us the code, or even better, create a small example on codesandbox?

Hello,
Yes this is the link : https://stackblitz.com/edit/react-lps2th?file=actions.js.
I take your counter for simple example.  If I want increment with 10 or other number  for example.
Your first param return the state ok , but the second should be take my payload .
Or maybe there is a different way for this.
Thanks @matheusml

Yes, there's another way. You can use the old way, before auto-bindings the actions.
In this way, you have to import the store inside your actions.
Please read it on the old example readme
Btw, maybe there's a way of doing it with the new way, but right now I simply don't know.


Change url with window class styles

@kokosxD : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Add zoom range restriction to keepCurrentZoomLevel

Fixes https://github.com/domoritz/leaflet-locatecontrol/issues/246

Hmm, thinking about this a bit more, I am not sure we want to merge this yet. When I see an array for keepCurrentZoomLevel, I'd think that this is providing the range that the zoom should be in (i.e. the target zoom level). I feel that filtering when to zoom is something that is very specific and should be done outside.
I'd say let's add an event that gets triggered so that you can implement your own logic for zooming in, okay?
I'm going to close this PR for now.
I hope you understand that I want to keep only core functionality as otherwise this library will get too complex to maintain.

ok. sure
but I'd think that this is providing the range that the zoom should be in (i.e. the target zoom level).
that is what is doing.
If define as [13,18] then, if outside that range, it WILL zoom to that range. Its only if its already within 13->18 that it doesnt zoom. ie keep current zoom, if already within 13->18.

Not quite. What I thought a range would be a is a range to clamp to. For example, if the user defines [13,18], then the zoom level would be between 13 and 18 but we might still zoom. But you are right that this isn't quite compatible with keepCurrentZoomLevel as a name, which implies that the range has something to do with keeping the zoom level. I think now I understand it better and updated the wording a bit. Now I also see that this is quite useful and so let's merge it.
Sorry, I needed a moment to understand this proposal fully.

Could you do these two things to finish the PR?

[ ] Have a look at https://github.com/domoritz/leaflet-locatecontrol/pull/247#discussion_r303865857 and see whether you want to apply the suggestion.
[ ] Apply your refactoring to extract zoomOutsideRange as you discussed in zoomOutsideRange.

Thanks!

So are thinking to have as a new separate 'option', as opposed to overloading keepCurrentZoomLevel.
ie add 'options.zoomOutsideRange'.
Or is it just reflectoring the complicated if(..) clause that concerned about?

I think keeping it part of keepCurrentZoomLevel is fine (no separate option). I am concerned about the docs (they need to be crystal clear so that others don't run into my confusions ;-)) and the complicated if clause.


GoogleGCMServiceAccountValidator casing incorrect and fingerprint is wrong

@eddynaka , @jameswinkler , this is a small fix but high priority
The correct casing of this rule name is GoogleGcmServiceAccountValidator. In .NET, you never case more than two letters in sequence as upper-case.
Also, the fingerprint for this check is broken. Resource is not the right property to use. A 'resource' is a sub-component of a container. So, a database is a resource of a database server.
This rule in general looks weak. What's the insecurity here? If we can't detect an exposure of interest, that can be validated, please just consider deleting this check for now.

I will exclude GCM since we are not capturing anything relevant and we can't validate.


Instance-names can not include '@' signs

Godot version:
3.1
OS/device including version:
Arch linux
Issue description:
If you make multiple instances of the same nodetype, godot names the first instance after the node type and the other ones are prefixed with an @ and suffixed with an @ and a number. For example, if you create two Nodes of type GraphNode, the first instances name is "GraphNode" and the seconds name is "@GraphNode@288" or something like this.
If you want to rename an instance and it does include an @, the @ gets discarded.
var node = GraphNode.instance()
add_child(node)
node.set_name("@GraphNode@200")
print(node.get_name()) # prints GraphNode200

This is problematic if you want to save and load node data and node-connections.
Steps to reproduce:
Make an GraphEdit, attach a script to it. In the script, create an instance of GraphNode and add it as a child. Set it's name to "@GraphNode@100". After that, print the name of the nodes instance. The name is "GraphNode100" and not "@GraphNode@100"

Why do you want to set such name though? @ is used by the engine internally to indicate nodes that were instanced without being given an explicit name, i.e. we don't actually care about their name. @ is thus a reserved symbol so that you know that nodes with a @ have all been created this way at runtime.

Well, just name all your instances you care for in unique way so that on the same level of the tree there is no duplication. This way you will now how to access each instance. I use that to save and restore from/to json.
BUT there is no easy to find documentation on which symbols I can safely use in instance names. The reason I ask about this is sometimes I need annotations for objects to which I add special handling (during import or runtime). For example all names ending in _spawn are spawn points and get attached script. But also I need to specify settings so that to select what in particular to spawn and other things. So I want to have some structure of name with separators. Using some characters would be nice to make that expressive. For example having something like "char_spawn#role=gplayer#team=1#group=spawn#id=10" would be nice as there is no other nice way to produce annotations in 3D software for engine to use.

Ran into this particular issue when writing a save system, took a while to understand what was happening too. The @ gets serialized just fine, but breaks things down the line when you try to use the name or node path for something (like parenting other nodes). I guess the proper workflow is to explicitly name all the instanced nodes that get used this way, but would've still been nice to know...

hi, anyone try to save the connections between GrpahNode to Json? i try a lot, still can't done, can any one help? (i can save the GraphNode size, position, and etc, but can't save the connections), thanks!

@xukongwen Please ask support questions on one of the other community channels, not here.

BUT there is no easy to find documentation on which symbols I can safely use in instance names.

Ideally we would use something like XID_Continue (see this and click category search), not sure what Godot currently does (personally I've only ever used English letters and numbers for node names).

Also @ can be in imported files. There should be some name filter functions
in API to create safe names.
On Thu, Sep 24, 2020 at 9:36 AM Aaron Franke<EMAIL_ADDRESS>wrote:

BUT there is no easy to find documentation on which symbols I can safely
use in instance names.
Ideally we would use something like XID_Continue (see this
https://unicode-lookup.netlify.app/ and click category search), not
sure what Godot currently does (personally I've only ever used English
letters and numbers for node names).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/27608#issuecomment-698145261,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAABPU37OORMAWARUQ6ZHATSHLSFVANCNFSM4HDCTTCA
.

I run into this problem making a save system for color palette generation app using GraphNodes and connections are made knowing the names. This symbol shouldn't be there if it's not allowed to be used naming nodes in code.
Either remove practice from the engine side or give access to use it.

BUT there is no easy to find documentation on which symbols I can safely use in instance names.

Quotes from the current docs:
String.validate_node_name()

Returns a copy of the string with all characters that are not allowed in Node.name removed (. : @ / " %).

Node.name

The name of the node. This name is unique among the siblings (other child nodes from the same parent). When set to an existing name, the node will be automatically renamed.
Note: Auto-generated names might include the @ character, which is reserved for unique names when using add_child(). When setting the name manually, any @ will be removed.

Node.add_child()

If force_readable_name is true, improves the readability of the added node. If not named, the node is renamed to its type, and if it shares name with a sibling, a number is suffixed more appropriately. This operation is very slow. As such, it is recommended leaving this to false, which assigns a dummy name featuring @ in both situations.

I think the solution to this issue is to add cross-references (and possibly duplicate the list of prohibited characters into the Node.name description).
Related:

godotengine/godot-proposals#6225

This is especially apparent when collision shapes are created from Mesh Instance. These will start with @ but if we click to rename and press Esc, it'll change _ with no way to go back.

Trying to rename node to include @ shows a proper error dialog and the behavior is properly documented.
Some characters have to be reserved, so that editor can use them internally to have a guaranteed unique name. This is not going to change, I think the issue can be closed.

Since the behavior is now clearer, I'm closing this as resolved, not archived.


The Jupiter notebook tutorial returns 404 error

Thank you for these codes. Unfortunately, the jupyter notebook link is not functional now.
Based on your recommendations in your paper, I actually implemented random forest for gapfilling methane fluxes in R (10-fold cross validation in my case). I am not good with python codes, and I was hoping to understand how you assessed the uncertainty.
In addition, I can't figure out how the yearly sine-cosine are calculated. For now I use some linear continuous variable for each season (min 0, max 1 picking in the middle of each season) as predictors in the random forest. While my model works perfectly fine, I wanted to test the yearly sine and cosines too.
I wrote a lote in here, but I hope you get to give me some ideas...
Thanks,
Koffi

Thanks! We've updated the link to the jupyter notebook: https://github.com/stanfordmlgroup/methane-gapfill-ml/blob/master/fluxgapfill_tutorial.ipynb


Wrong Classification with custom model

Hello everyone.
I'm testing the implementation with a model trained by myself, and I'm facing some issues during the classification process. I had to modify the code to export the YOLO classification model, and I did it like this:
import torch
import os
from torch import *
from torch.utils.mobile_optimizer import optimize_for_mobile

dev = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")

model = torch.hub.load('main_folder', 'custom', 'yolov5s-cls.pt', source='local')
model.cpu()

example = torch.zeros((1, 3, 224, 224))
traced_script_module = torch.jit.trace(model, example)
optimized_traced_model = optimize_for_mobile(traced_script_module)
optimized_traced_model._save_for_lite_interpreter("model.pt")

It seems like the export is working, but when I use it in Flutter, it always gets classified with the wrong class.\
In my case, my model was trained with only 3 classes, and I updated your code to accommodate this number of classes.
I also calculated the mean and standard deviation based on my dataset.
In addition to changing the number of classes in the code, do I need to make any other modifications in the code to use a custom model with a different number of classes?

Can you share your code, Also did you update the labels.txt?
And for yolo no need to change the model the mean and std if you're using the default values, so can you test with the default?

Certainly, I will provide the codes, model, and classes along with the image I am testing.
model.zip
Yes, I tested it with the mean and standard deviation values as well.
For this attached image, the return class should be 'andorinha', but regardless of which image I use, it always returns the class 'objeto'.
Here are some parts of my code.
https://github.com/zezo357/pytorch_lite/assets/34580126/769e4529-11a3-493c-bbe7-30b4384f5e5f

Okay I see that all of your codes are correct, but I can't figure out why the results are not correct,
Anyway I am working on a new release for iOS support and changing how the package reads and gets results so can you wait for new release?
When I do I can further test why the classification is not correct, and improve it if I can.

Of course, I will wait and conduct new tests with the new build. Thank you for your attention!

Hello @zezo357, were you able to reproduce my code and test it? Do you need any additional information? If you can help with anything, please let me know, as I ran some tests and still have the same result. Thanks!

I was not free lately, thank you for reminding me to test again sry for the wait
I did try some stuff and changed variables without any useful results, so I will try some different normalization and see what works and let you know, still no promises that I will be able to make it work

Meanwhile, I will continue running some tests. If there is progress, I will let you know.

Meanwhile, I will continue running some tests. If there is progress, I will let you know.
To improve reproduction, here are the codes used, original model, and converted model, along with the output tensors.
https://drive.google.com/file/d/149grCV5f6vQkXw9j4xoDufcQN6LW3z1I/view?usp=share_link

i have sent a request to access, hopefully i can figure something this weekend

Access granted. Any news let me know. Thanks

can you guys try on this branch?
it maybe be the fix for the problem not sure, but lets see
  pytorch_lite:
    git:
      url: https://github.com/zezo357/pytorch_lite
      ref: fix-classification-bug

Also sorry for asking but, can you provide a GitHub repo i can test on, instead of asking you to test?
Just to be more efficient while testing and having the same configuration

@zezo357 hello my friend!
How you doing?
I have shared with you the code we used to test pytorch_lite
https://github.com/ebdjesus/ri_novo/

@zezo357 hello my friend!
How you doing?
I have shared with you the code we used to test pytorch_lite
https://github.com/ebdjesus/ri_novo/

thank you will test and let you know if new fix is enough

@zezo357 hello my friend!
How you doing?
I have shared with you the code we used to test pytorch_lite
https://github.com/ebdjesus/ri_novo/

thank you will test and let you know if new fix is enough

I'm sending the images in case I need to test with this model we generated

@ebdjesus i cant find a way to test the model? the code is not using it?
the camera icon prints the path, but doesnt run the classification function

can you let me know how to run the model in your app ?

After capturing the image, you need to click the + button to run the classification.

i just tested on the package example (just replacing model and labels files )

all of the results are correct? where is the problem?

my function
    final XFile? image = await _picker.pickImage(source: ImageSource.gallery);
    //get prediction
    //labels are 1000 random english words for show purposes
    print(image!.path);
    Stopwatch stopwatch = Stopwatch()..start();

    String textToShow = await _imageModel!
        .getImagePrediction(await File(image.path).readAsBytes());
    textToShow = "${textToShow ?? ""}, ${inferenceTimeAsString(stopwatch)}";

this image is gallo label its correct
Now try with this image that is andorinha label

this image is gallo label its correct
Now try with this image that is andorinha label

also i tested this image and it works too ?? ?

in your code you have

i am thinking this is the problem, since using the default works correctly

@zezo357
all your tests are correct
I downloaded your code and included the branch you provided and the models and label I trained, but I was unsuccessful.

Did you close app and doing a pub get and rerun it after changing the models?
Please set it as a different name to make sure it's replaced correctly

https://github.com/zezo357/pytorch_lite/tree/classifer-test this is the code i tested on and showed the results to you

I deleted the .pub-cache and tried to clear everything, changed the name as you said and nothing.
I was creating a new project to import your classes.

The model I used is the one in your repo, and it works correctly,
And I did give you the branch I tested on, this is weird
Please can you try on the branch I provided?

@zezo357
I have now tested it directly in my project and it is working very well.
The problem was that @diogogonnelli  had given me the old classification file, I'm going to kick his ass here ;D
Once again thank you very much for your support

Glad to help and good luck , also don't be too harsh on him we all mess up sometimes. All we can do is learn from mistakes.

I'm just kidding, he's largely responsible for us having this functionality today and you for making it possible to run this in the app.

I'm just kidding, he's largely responsible for us having this functionality today and you for making it possible to run this in the app.

Hopefully all goes well, and don't hesitate to ask for assistance if needed


in 1 py, every time when Jieba was called, it needs "building..., loading, loading". Why it needs building every time?

sorry, import sentences should be out of def. got it.


As a user my submission will be executed on a server after uploading

Description
From stored submissions, a new submission is taken and together with the correct simulator/validator run on a server. This does not yet include the run settings (amount of cpu etc). The resulting metrics can be stored.
Acceptance Criteria

[x] A stored submission (from an upload to the platform) can be combined with a simulator/validator (1 example is enough)
[x] The submission code is run with the simulator/validator on the server
[ ] The result of the evaluation is stored

Requirements

[ ] URF 9.3

See https://github.com/SEP-TU-e-2024/JudgeQueuer/pull/18 and https://github.com/SEP-TU-e-2024/website/pull/150

last one for review is https://github.com/SEP-TU-e-2024/website/pull/166


 WHERE `id`={}".format(self.DBNAME, db_table, row_id)

        try:
            self.CURSR.execute(sQry)
            self.DBO.commit()
            msg = "Deleted row id: {} from {}.{}".format(row_id, self.DBNAME, db_table)
            print(msg)
            logging.info(msg)

        except Exception as e:

            self.DBO.rollback()
            msg = "!!Error Deleting Row : " + str(e)
            print(msg)
            logging.error(msg)

    def TruncateColoumn(self, db_table: str, col_name: str):

        col_value = None or "NULL"
        qry = "UPDATE `project_list` SET `note`={}".format(col_value)

        try:
            self.SetQryStr(qry)
            self.CURSR.execute(qry)
            self.DBO.commit()
        except Exception as e:
            self.DBO.rollback()
            print("!!Error Truncating {} coloumn in {} table: {} ".format(db_table, col_name, str(e)))


Avoid recursion by keeping the list of pending statement in a vector.

This change is

crates/cairo-lang-lowering/src/inline/mod.rs line 389 at r1 (raw file):
Previously, orizi wrote…
doc here why to do the reverse ordering.

because the stack is in reverse order?

crates/cairo-lang-lowering/src/inline/mod.rs line 170 at r1 (raw file):

statement_rewrite_stack
Good name, thanks!


fix(app): Fix alignment issues in modals, fix titlebar on page

overview
This PR fixes the alignment issues introduced by #1705. Some modal page titlebars had been cropped. This should standardize behavior once and for all. Worth noting labware calibration uses a spinner modal as modal page content, not the SpinnerModalPage component from comp_lib so a little css override in LabwareCalibration was necessary.  While I was in there, I made the TitleBar position fixed.
changelog

comp_lib update ModalPage styles
app fixed titlebar when in page
center spinner modal positioning in LabwareCalibration

review requests
Please click though any and all modals in the app, some are not accessible in VS so a Robot is preferred.

[ ] attach/change pipette modals and titlebars look as expected
[ ] calibrate modals and titlebars look as expected (get to at least the first jog screen)
[ ] labware calibration modals look as expected

@Kadee80 Looks like some padding is missing from the top:


taglist func can not report tag list after upgrade vim 8.0.45

vim script eg:
1175         if (cscope_connection() > 0)
1176             let l:list = taglist(a:expr)
1177             let l:len = len(l:list)
1178             call SrcExpl_WinPrompt(' firtly '. string(a:expr) . string(l:list))
1179             return
always show :
firtly '<ignore_suspend>\C'[]
l:list always be empty

cs f g ignore_suspend　have so many result in linux kernel source code,
so let l:list = taglist(a:expr) show return so may list
this scipt work fine in vim 7.X

please provide exact a minimum reproducible example and mention what you expect and what you see. what are your various cscope options?

exact  info about vimscript :  https://github.com/vim-scripts/SrcExpl
issue step :
1:when use  7.x vim , this vimscript work fine
2:when upgrade this script , find do not work , after add debug info
find  vim buildid func 'taglist ' always retrun empty
debug info :  call SrcExpl_WinPrompt(' firtly '. string(a:expr) . string(l:list))
print firtly '<ignore_suspend>\C'[]

a:expr have the value eg <ignore_suspend>\C , but  l:list is empty []

vimscript link : https://github.com/haolongzhangm/shell_my/blob/master/unexeshell/vim_config/.vim/plugin/srcexpl_base_cscope.vim
debug info :  line 1178 --line 1180
issue step :
1:when use 7.x vim , this vimscript work fine
2:when upgrade this script , find do not work , after add debug info
find vim buildid func 'taglist ' always retrun empty
debug info : call SrcExpl_WinPrompt(' firtly '. string(a:expr) . string(l:list))
print firtly  ignore_suspend []
a:expr have the value eg 'ignore_suspend  , but l:list is empty []

vimscript link : https://github.com/haolongzhangm/shell_my/blob/master/unexeshell/vim_config/.vim/plugin/srcexpl_base_cscope.vim
debug info : line 1178 --line 1180
issue step :
1:when use 7.x vim , this vimscript work fine
2:when upgrade vim  , find do not work , after add debug info
find vim buildid func 'taglist ' always retrun empty
debug info : call SrcExpl_WinPrompt(' firtly '. string(a:expr) . string(l:list))
print firtly ignore_suspend []
a:expr have the value eg 'ignore_suspend , but l:list is empty []

vimscript link : https://github.com/haolongzhangm/shell_my/blob/master/unexeshell/vim_config/.vim/plugin/srcexpl_base_cscope.vim
debug info : line 1178 --line 1180
issue step :
1:when use 7.x vim , this vimscript work fine
2:when upgrade vim , find do not work , after add debug info
find vim buildin  func 'taglist ' always retrun empty
debug info : call SrcExpl_WinPrompt(' firtly '. string(a:expr) . string(l:list))
print firtly ignore_suspend []
a:expr have the value eg 'ignore_suspend , but l:list is empty []

string  ignore_suspend  has so many define in linux kernel source code tree

Ｄear chrisbra
any idea about this issue

@haolongzhangm Please start by answering questions you have been asked.
I cloned the linux repository. Then what do I have to do? How should I create the cscope database? Then what do I do to trigger the problem? What are your various cscope options?
Please provide an exact and minimum reproducible example and mention what you expect and what you see.

Hi haolongzhangm!
On Do, 20 Okt 2016, haolongzhangm wrote:

string  ignore_suspend  has so many define in linux kernel source code tree

And you are using cscope? Does it work interactively in cscope? has the
database been refreshed? What are your various cscope settings? Can you
provide a repository with a) the database b) the taglist function and c)
detailed steps to trigger the problem?
Best,
Christian
Ein Prozeß, der von der Amöbe zum Menschen geführt hat, schien den
Philosophen augenscheinlichen Fortschritt zu bedeuten - aber ob die
Amöbe dieser Auffassung zustimmen würde, ist nicht bekannt.
-- Bertrand A. W. Russell

Hi chrisbra and vim-ml
1: Download kernel src
2:get cscope database at kernel src dir by command: make cscope ARCH=arm64
3:download  https://github.com/haolongzhangm/shell_my/blob/master/unexeshell/vim_config/.vim/plugin/srcexpl_base_cscope.vim ,
4:download
https://github.com/vim-scripts/autoload_cscope.vim.git
5: put step3 and step4 file to .vim/plugin
6: vim init/main.c
7: run fuction :SrcExplToggle
8:put cusror to lockdep_init()
ps :
1:  infact you can also use ctags , beacuse srcexpl_base_cscope.vim use
let l:list = taglist(a:expr) to find the tag
you can see ctrl + ] can find the tag , but  taglist will retrun null
so I think  issue caused by  buildin fuc taglist
2:if you want debug the info , you can open the
srcexpl_base_cscope.vim ,
line :   1179 and line 1180
you will find taglist api will return  NULL even a:expr have a string , but use ctrl + ] can find the define about the string , eg string = start_kernel

Hi chrisbra and vim-ml
1: Download kernel src
2:get cscope database at kernel src dir by command: make cscope ARCH=arm64
3:download https://github.com/haolongzhangm/shell_my/blob/master/unexeshell/vim_config/.vim/plugin/srcexpl_base_cscope.vim ,
4:download
https://github.com/vim-scripts/autoload_cscope.vim.git
5: put step3 and step4 file to .vim/plugin
6: vim init/main.c
7: run fuction :SrcExplToggle
8:put cusror to lockdep_init()
ps :
1: infact you can also use ctags , beacuse srcexpl_base_cscope.vim use
let l:list = taglist(a:expr) to find the tag
you can see ctrl + ] can find the tag , but taglist will retrun null
so I think issue caused by buildin fuc taglist
2:if you want debug the info , you can open the
srcexpl_base_cscope.vim ,
line : 1179 and line 1180
you will find taglist api will return NULL even a:expr have a string , but use ctrl + ] can find the define about the string , eg string = lockdep_init

Dear chrisbra amd  vim-ml
any idea for the issue ?

Hi, I still cannot reproduce. Because after :ScrExplToggle, I get an empty second window that only says "  Source Explorer v5.3" and no more content. Also again, what are your cscope related settings?

Dear chrisbra
at you env , can you find tags by ctrl + ]  or not ?　after step:
1: make cscope ARCH=arm64
2: download
https://github.com/vim-scripts/autoload_cscope.vim.git　　　, then
put this plugn to  to .vim/plugin

if you can find tags by ctrl + ]  ,
then you should open  debug  modify by :
open srcexpl_base_cscope.vim ,
opne line : 1179 and line 1180
then you will find the API issue ,

if you can not find tags by  ctrl + ] , you should fisrtly follow :
1: make cscope ARCH=arm64
2: download
https://github.com/vim-scripts/autoload_cscope.vim.git　　　, then
put this plugn to  to .vim/plugin

Dear chrisbra
any idea?

it would help, if questions asked would actually get answered.

Dear vim-ml  and chrisbra
Can u repoduce this issue or not?

gdb /home/zhl/vim-master/src/vim
b f_taglist
b get_tags
646     ftrace_init();
647
648     /* Do the rest non-__init'ed, we're now alive */
649     rest_init();
650 }
1: Ctrl + ]  "rest_init"  will return the define  of rest_init
2: then use : call taglist("rest_init")
tagkind = 0x100000000 <error: Cannot access memory at address 0x100000000>, tagkind_end = 0xd2adb0 ""}
is_static = 5359333
(gdb) n
3899	    if (ret == OK && num_matches > 0)
(gdb) n
3975	    return ret;
(gdb) n
3976	}
(gdb) i locals
num_matches = 0
i = 0
ret = 1
matches = 0x0
p = 0x7fffffffcc90 "\260\314\377\377\377\177"
full_fname = 0x58f454a760 <error: Cannot access memory at address 0x58f454a760>
dict = 0x7fffffffcdb0
tp = {tagname = 0x7fffffffccb0 "\340\314\377\377\377\177",
tagname_end = 0x4f3d58 <list_alloc+18> "H\211E\370H\203", <incomplete sequence \370>, fname = 0x919940  "2", fname_end = 0xd2adb0 "",
command = 0x7fffffffcce0 "\020\315\377\377\377\177",
command_end = 0x4f3dbb <rettv_list_alloc+17> "H\211E\370H\203", <incomplete sequence \370>,
tag_fname = 0x7fffffffcce0 "\020\315\377\377\377\177", is_etag = -11712,
tagkind = 0x100000000 <error: Cannot access memory at address 0x100000000>, tagkind_end = 0xd2adb0 ""}
is_static = 5359333
(gdb) n
f_taglist (argvars=0x7fffffffd070, rettv=0x7fffffffd240) at evalfunc.c:12304
12304	}
(gdb) i locals
fname = 0x0
tag_pattern = 0x9672b0 "rest_init"
(gdb) p *(typval_T *)rettv
$1 = {v_type = VAR_LIST, v_lock = 0 '\000', vval = {v_number = 13807024, v_float = 6.8215762297055912e-317, v_string = 0xd2adb0 "",
v_list = 0xd2adb0, v_dict = 0xd2adb0, v_partial = 0xd2adb0, v_job = 0xd2adb0, v_channel = 0xd2adb0}}
(gdb) Quit
(gdb) nQuit
(gdb) q

issue happened from get_tags()retrun num_matches ---> from find_tags()return err

find_tags call backtrace
(gdb)
1629		    if (get_it_again)
(gdb)
1635		    if (state == TS_BINARY)
(gdb)
1648		    else if (state == TS_SKIP_BACK)
(gdb)
1663		    if (state == TS_BINARY || state == TS_SKIP_BACK)
(gdb)
1708			    if (use_cscope)
(gdb)
1709				eof = cs_fgets(lbuf, LSIZE);
(gdb)
1713			} while (!eof && vim_isblankline(lbuf));
(gdb)
1715			if (eof)
(gdb)
1718			    if (incstack_idx)	/* this was an included file /
(gdb)
1730				break;			    / end of file */
(gdb)
2458		if (line_error)
(gdb)


[$45] Update Work Period and Payment data in UI after Payment Editing

at the moment when payment is cancelled, the work period data is reloaded - it's very nice
but after we edit payment the work period data is not reloaded and even data of the update payment is not updated inside the table, see demo video https://monosnap.com/file/q9mE4x8sOzv2qbmk85g47gCEDiTr1k. As we already started this topic let's fix this: after payment is updated:

update data of the payment in the payment list
update work period data (reload after some delay)

Verified on Dev Env.
https://user-images.githubusercontent.com/55895538/129701589-94c85dfe-52b0-4db8-a040-25162193a97c.mp4

Challenge https://www.topcoder.com/challenges/c44165e0-947d-4060-aa71-069f9d859d84 has been created for this ticket.This is an automated message for maxceem via Topcoder X

Challenge https://www.topcoder.com/challenges/c44165e0-947d-4060-aa71-069f9d859d84 has been assigned to madopcode.This is an automated message for maxceem via Topcoder X

Payment task has been updated: https://www.topcoder.com/challenges/c44165e0-947d-4060-aa71-069f9d859d84
Payments Complete
Winner: madopcode
Copilot: maxceem
Challenge c44165e0-947d-4060-aa71-069f9d859d84 has been paid and closed.This is an automated message for maxceem via Topcoder X

Verified on Prod Env. Working as expected.
cc: @nkumar-topcoder


docker-compose build not working 2.0.2 when configuring postgres_1

I am trying to use docker-compose to test out Cachet, however I cannot get it to complete using the latest release.
mkdir -p /usr/local/cachet
git clone https://github.com/cachethq/Docker.git cachet-docker /usr/local/cachet
cd cachet-docker
git tag -l
git checkout 2.0.2
docker-compose build

During the build, I get the following error:
postgres_1 | ERROR: relation "settings" does not exist at character 15
postgres_1 | STATEMENT: select * from "settings"
postgres_1 | ERROR: relation "settings" does not exist at character 15
postgres_1 | STATEMENT: select * from "settings"
cachet_1   | 2015-12-18 17:02:01,998 CRIT repeated unknown pid 221)

This error loops and causes the build to not finalize.

Looks like we're missing 2.0.3 and 2.0.4 too.

Looks like git checkout 2.0.1 works fine.

Is this something that will be addressed?

@GrahamCampbell @erikng I have added releases and builds for v2.0.3 and v2.0.4 - Mind giving it a try with the new version?

I am still having the exact same issue.

Looks like you need to follow the Cachet getting started with Docker guide
The database and encryption key must be created using php artisan within the container.:
$ docker exec -i <Container Name> php artisan migrate --force
$ docker exec -i <Container Name>  php artisan key:generate
$ docker exec -i <Container Name>  php artisan config:cache

Replacing <Container Name>  with the name of your running Cachet container.  By default when using docker-compose the container name would be docker_cachet_1

But those steps are after the shell steps. I'm getting stuck prior to this (unless I'm misunderstanding the docker compose guide).
Sent from my iPad

On Jan 4, 2016, at 4:26 PM, Ryan Trauntvein<EMAIL_ADDRESS>wrote:
Looks like you need to follow the Cachet getting started with Docker guide
The database and encryption key must be created using php artisan within the container.:
$ docker exec -i  php artisan migrate --force
$ docker exec -i   php artisan key:generate
$ docker exec -i   php artisan config:cache
Replacing  with the name of your running Cachet container. By default when using docker-compose the container name would be docker_cachet_1
—
Reply to this email directly or view it on GitHub.

The errors you mentioned are from a running container, not something that would come up during the docker-compose build step

I assure you it's happening on the docker compose. I will start from scratch tomorrow and outline all the steps and try and recreate it. I was still using the same VM today.
Sent from my iPhone

On Jan 4, 2016, at 6:09 PM, Ryan Trauntvein<EMAIL_ADDRESS>wrote:
The errors you mentioned are from a running container, not something that would come up during the docker-compose build step
—
Reply to this email directly or view it on GitHub.

Right, it is from when you ran docker-compose up.
postgres_1 | ERROR: relation "settings" does not exist at character 15
postgres_1 | STATEMENT: select * from "settings"
postgres_1 | ERROR: relation "settings" does not exist at character 15
postgres_1 | STATEMENT: select * from "settings"
cachet_1   | 2015-12-18 17:02:01,998 CRIT repeated unknown pid 221)

This is output from the postgres_1 and cachet_1 containers. docker-compose runs in the foreground unless you specify detached mode docker compose up -d.
Open a second terminal, get the name of your Cachet container using docker ps:
$ docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                  NAMES
06f1e042824d        docker_cachet       "/sbin/entrypoint.sh"    21 minutes ago      Up 21 minutes       <IP_ADDRESS>:80->8000/tcp   docker_cachet_1
99773acbbf8b        postgres:9.4.4      "/docker-entrypoint.s"   21 minutes ago      Up 21 minutes       5432/tcp               docker_postgres_1

Then initialize the DB
docker exec -i docker_cachet_1 php artisan migrate --force
docker exec -i docker_cachet_1  php artisan key:generate
docker exec -i docker_cachet_1  php artisan config:cache

Okay I understand now. I think in some ways the documentation should explicitly state that postgres errors are expected behavior and you should move on with the shell configuration steps.
When I hit this error, I thought something was wrong, rather than moving on in the steps.


Font misalignment in converted pdf

FONT ISSUES WITH PDF TO HTML CONVERSION
1.All "ti","fi","tt" characters are missing
SAMPLE SCREENSHOT

2. Font overlapping issue
SAMPLE SCREENSHOT

NOTE: I don't get this issue with firefox. Getting the above issues in chrome in safari browser

I AM USING

Using the 0.13.6 version of pdf2htmlEX
Using the following command to convert pdf to html

pdf2htmlEX --split-pages 1 --zoom 3 --fit-width 920 --correct-text-visibility 1 --dest-dir $1 $2 2>&1

TRIED WITH
Using --fallback 1 option solves all my above problems. But

The fallback option reduces the clear visiblilty. Please refer the below screen shots.

SCREENSHOT WITH FALLBACK ENABLED

SCREENSHOT WITH FALLBACK DISABLED

2.Table in the page disappears rather replaced with empty space.
PLEASE CLARIFY

Could you explain a bit more on fallback?

I have tried the above one (using fallback). Please suggest me if you prefer a different approach.

Kindly help me in this regard.

You have to post this issue on https://github.com/coolwanglu/pdf2htmlEX. This is just a simple wrapper for pdf2htmlex written in Elixir.


Add a wrap module

Allows one to do:
var jadeSrc = 'p= body';
// By default compileClient automatically embeds the needed runtime
functions,
// rendering this module useless.
var compiledCode = jade.compileClient(jadeSrc, {
  externalRuntime: true
});
//=> 'function template (locals) { ... jade.escape() ... }'

var templateFunc = wrap(compiledCode);
templateFunc({body: 'Hey!'});
//=> '
Hey!
'

There are plenty of places where this can be used:

https://github.com/jadejs/jade/blob/master/lib/index.js#L178
https://github.com/jadejs/jade/blob/master/test/run.js#L70-L78
https://github.com/jadejs/jade/blob/master/test/jade.test.js#L1069-L1103

Code LGTM.
I was thinking about the p= body example. I found it somewhat confusing because body is also an HTML tag. Could we change it to something else, maybe h1 Hello #{name}?


clang::Cursor::typedef_type should return Option

The FFI call that typedef_type makes will return an invalid type if the cursor's referent is not a typedef. We should check whether the referent is a typedef and return None if it is not, and make the FFI call and return Some if it is a typedef. This would be one less foot gun.
I can mentor anyone who'd like to pick up this bug.

Please make a comment here if you intend to work on this issue. Thank you!

How difficult is this? I am just getting my foots wet with rust. I am almost halfway through the Rust book form the website.

Ok. I should implement the check inside the function and return Some() or None? And every calling that checks the validity of this function should be wrapped into is_some() etc.? And every other function calling should have .expect(sth)? Then a am working on it in the next couple days.

Yep that sounds right! Let me know if you run into any roadblocks.

I'll let you know :)

@codingHahn Have you done any progress on that or I can take it?


Error in step 6 starting the training

Who can help me? Everything was working fine until I got to step 6. When I tried to start the training, i got this error.
Traceback (most recent call last):
File "C:\Users\David-Up\Anaconda3\envs\tensflow\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 510, in _apply_op_helper
preferred_dtype=default_dtype)
File "C:\Users\David-Up\Anaconda3\envs\tensflow\lib\site-packages\tensorflow\python\framework\ops.py", line 1104, in internal_convert_to_tensor
ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
File "C:\Users\David-Up\Anaconda3\envs\tensflow\lib\site-packages\tensorflow\python\framework\constant_op.py", line 235, in _constant_tensor_conversion_function
return constant(v, dtype=dtype, name=name)
File "C:\Users\David-Up\Anaconda3\envs\tensflow\lib\site-packages\tensorflow\python\framework\constant_op.py", line 214, in constant
value, dtype=dtype, shape=shape, verify_shape=verify_shape))
File "C:\Users\David-Up\Anaconda3\envs\tensflow\lib\site-packages\tensorflow\python\framework\tensor_util.py", line 441, in make_tensor_proto
_GetDenseDimensions(values)))
ValueError: Argument must be a dense tensor: range(0, 3) - got shape [3], but wanted [].
During handling of the above exception, another exception occurred:
Note: that i'm using the same project to detect cards, that means I don't change anything in the label map.
Thanks in advance for your help guys.
Regards,

hi, i need cpu mode, but i try a lot method, environment fail
i install gradation

python-3.5.4-amd64.exe from windows
Anaconda3-5.3.1-Windows-x86_64.exe from windows
create tensorflow1 dir to C:\
git tensorflow mode to C:\tensorfolw1
conda create -n tensorflow1 pip python=3.5
pip install --ignore-installed --upgrade tensorflow==1.10

other step just like author, but just set cmd => python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config... will fail


Content Play, but there is an error LICENSE_RESPONSE_REJECTED ERROR 6008

What version of Shaka Player are you using ?
Shaka Demo Page
What version of Shaka Packager are you using ?
The latest version v2.4.3
https://github.com/google/shaka-packager/releases
Are you using the demo app or your own custom app?
Both
What browser and OS are you using?
Chrome 89 and Firefox 87 on Windows OS
What are the manifest and license server URIs?
Manifest :
https://aptaplay.net/vod/new/drm/vid_4/stream.mpd
DRM Server :
https://widevine-dash.ezdrm.com/proxy?pX=580C85&token=deb80ed9c366f7b999d930fb3247e26e7db8aab778ff606424b6a30a7b82acb083085e5618d4e6bf0dfbad63ad73e2a56a14d3dff8aa89fcb15df56fdeb749acIEl8iEDTkHq2dOuVf3bixwxwlvU%2FHzfkNKJu5F0YL9bflIALcoOZRUcLfXC3BGXl
What actually happened?
The content played, but specific after 5 second content stopped. And i've  got an error License_Response_Rejected with code error 6008. I check on this link https://shaka-player-demo.appspot.com/docs/api/shaka.util.Error.html#value:6008
But i don't know what the error mean and what should i do.
Thanks

6008 means the browser rejected the response we got from the server.  Usually this means your license server returned a wrapped response (e.g. JSON data) that you need to unwrap before we can give it to the browser.  See our license wrapping tutorial for more info.
Your license server gives a 500 error, so I can't see why the response was rejected.


ENH: add clear_checkpoint message

remove a checkpoint with out creating a new one

This looks good. I guess you should remove the aborted attempt to fix the suspenders tests -- we'll leave marking them as known failures to @ericdill and his py.test overhaul.


Projects can declare dependencies on plugin artifacts using plugin coordinates instead of artifact coordinates

   // buildSrc/build.gradle.kts
   plugins {
      `kotlin-dsl`
   }

   dependencies {
      compile(plugin("org.foo") version "1.0")
      compile(plugin("org.bar") version "2.3")
   }

Implementation notes
With https://github.com/gradle/kotlin-dsl/issues/389, plugin markers artifact notations could be leveraged.

Just an alternative work-around function:
dependencies {
    implementation(gradlePlugin("com.github.ben-manes.versions:0.21.0"))
}

fun gradlePlugin(plugin: String): String = plugin.let {
    val (id, version) = it.split(":", limit = 2)
    "$id:$id.gradle.plugin:$version"
}

A shorter version:
dependencies {
    implementation(plugin("com.github.ben-manes.versions", "0.21.0"))
}

fun plugin(id: String, version: String) = "$id:$id.gradle.plugin:$version"

Nothing has changed, this would still be a good idea.

Hi I have found a demo example from :-
https://docs.gradle.org/current/samples/sample_building_java_applications_multi_project.html
here i am trying to add spring boot jar …. to create a multimodule project
i have a configuration like this:-
in buildSrc dir /
com.macajava-common-conventions.gradle ------file
plugins {
// Apply the java Plugin to add support for Java.
 id 'org.springframework.boot' version '2.4.3'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'

}
ERROR:-
Invalid plugin request [id: 'io.spring.dependency-management', version: '1.0.11.RELEASE']. Plugin requests f
rom precompiled scripts must not include a version number. Please remove the version from the offending requ
est and make sure the module containing the requested plugin 'io.spring.dependency-management' is an impleme
ntation dependency
Invalid plugin request [id: 'org.springframework.boot', version: '2.4.3']. Plugin requests from precompiled
scripts must not include a version number. Please remove the version from the offending request and make sur
e the module containing the requested plugin 'org.springframework.boot' is an implementation dependency
Can any one help on this

Gradle issues are not a support chat, you should use the forums or the community slack for that. ;-)
Also your question does not really have much to do with the issue here and the error message is quite clear, isn't it?
You have to add an implementation dependency on those plugins in buildSrc/build.gradle(.kts) and then use them without version in your convention plugin. If you have further issues with that, I'd suggest you use one of the channels I mentioned above. ;-)

can u plz share me the link of form for technical discussion.
this is a major blockage for our project build,

https://discuss.gradle.org/
https://gradle.com/slack-invite

Relates to #18620 and #17963


Add missing envvar COCOTB_SIM=1.

COCOTB_SIM=1 is needed these days, $(SIM_ROOT) in PYTHONPATH was an older accidental addition that I needed for a testbench but which shouldn't be in this Makefile.

Thanks!


Add simple show SCION paths tool

The tool displays the paths returned by SCIOND

This change is

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, 4 unresolved discussions, some commit checks failed.

go/tools/showpaths/paths.go, line 1 at r1 (raw file):

// Copyright 2017 ETH Zurich

2018

go/tools/showpaths/paths.go, line 35 at r1 (raw file):

	srcIAStr       = flag.String("srcIA", "", "Source IA address: ISD-AS")
	sciondPath     = flag.String("sciond", "", "SCIOND socket path")
	dispatcherPath = flag.String("dispatcher", "/run/shm/dispatcher/default.sock",

Add loglevel flag and set the default to INFO

go/tools/showpaths/paths.go, line 89 at r1 (raw file):

	PathMgr = snet.DefNetwork.PathResolver()

	pathSet := PathMgr.Query(srcIA, dstIA)

Also print something like Available Paths to <IA>:

go/tools/showpaths/Readme.md, line 5 at r1 (raw file):

Then, run the application using:

go run paths.go -dstIA 2-26 -srcIA 1-10

I'd rather you mention make and then use ./bin/showpaths ...

Comments from Reviewable

Review status: 0 of 2 files reviewed at latest revision, 10 unresolved discussions, some commit checks failed.

go/tools/showpaths/paths.go, line 47 at r2 (raw file):

)

func validateFlags() {

Our coding style is to put functions/methods roughly in order of execution order/importance/etc. So i would move this below main().

go/tools/showpaths/paths.go, line 51 at r2 (raw file):

	flag.Parse()

Go code tends to have lots of lines that are just }, so blank lines aren't often needed for readability. In general the only case i'd use them is when it's a fairly long function, and it has distinct phases (e.g. multi-step setup, use, cleanup).

go/tools/showpaths/paths.go, line 54 at r2 (raw file):

	dstIA, err = addr.IAFromString(*dstIAStr)
	if err != nil {
		LogFatal("dstIA:", err)

Our logging library expects a string followed by pairs of key/values (where the keys are strings). Otherwise you end up with logging like this:
dstIA:                                   LOG15_ERROR= LOG15_ERROR="Normalized odd number of arguments by adding nil"
The error message is also not very descriptive. Suggestion:
LogFatal("Unable to parse destination IA", "err", err)

go/tools/showpaths/paths.go, line 81 at r2 (raw file):

	validateFlags()
	liblog.Setup(*id)

FYI only
Huh. You know, we've never had an actual simple scion client in Go before, which means liblog doesn't not logging to a file. We should fix that, as it doesn't make sense for a simple tool like this to have a log file by default. Filed #1407 to track this.

go/tools/showpaths/paths.go, line 91 at r2 (raw file):

		LogFatal("Initizaling SCION local networking module", "err", common.FmtError(err))
	}
	PathMgr = snet.DefNetwork.PathResolver()

The convention is that local vars start with a lower-case letter.

go/tools/showpaths/paths.go, line 103 at r2 (raw file):

func LogFatal(msg string, a ...interface{}) {
	log.Crit(msg, a...)

The log needs to be flushed before exiting, otherwise some messages can get lost.
liblog.Flush() just before os.Exit does the trick.
Ah, and there's no flush at the end of main() either, so the log file doesn't get created most of the time. I suggest adding defer liblog.Flush() just after the existing defer statement in main().

Comments from Reviewable

Reviewed 2 of 2 files at r2.
Review status: all files reviewed at latest revision, 10 unresolved discussions, some commit checks failed.

Comments from Reviewable

Review status: 1 of 2 files reviewed at latest revision, 10 unresolved discussions, some commit checks failed.

go/tools/showpaths/paths.go, line 1 at r1 (raw file):
Previously, shitz wrote…
2018

Done.

go/tools/showpaths/paths.go, line 35 at r1 (raw file):
Previously, shitz wrote…
Add loglevel flag and set the default to INFO

As it turned out, it was already adding liblog flags, so just proper setup was required.

go/tools/showpaths/paths.go, line 89 at r1 (raw file):
Previously, shitz wrote…
Also print something like Available Paths to <IA>:

Done.

go/tools/showpaths/paths.go, line 47 at r2 (raw file):
Previously, kormat (Stephen Shirley) wrote…
Our coding style is to put functions/methods roughly in order of execution order/importance/etc. So i would move this below main().

Done.

go/tools/showpaths/paths.go, line 51 at r2 (raw file):
Previously, kormat (Stephen Shirley) wrote…
Go code tends to have lots of lines that are just }, so blank lines aren't often needed for readability. In general the only case i'd use them is when it's a fairly long function, and it has distinct phases (e.g. multi-step setup, use, cleanup).

Done.

go/tools/showpaths/paths.go, line 54 at r2 (raw file):
Previously, kormat (Stephen Shirley) wrote…
Our logging library expects a string followed by pairs of key/values (where the keys are strings). Otherwise you end up with logging like this:
dstIA:                                   LOG15_ERROR= LOG15_ERROR="Normalized odd number of arguments by adding nil"
The error message is also not very descriptive. Suggestion:
LogFatal("Unable to parse destination IA", "err", err)

Done.

go/tools/showpaths/paths.go, line 91 at r2 (raw file):
Previously, kormat (Stephen Shirley) wrote…
The convention is that local vars start with a lower-case letter.

Done.

go/tools/showpaths/paths.go, line 103 at r2 (raw file):
Previously, kormat (Stephen Shirley) wrote…
The log needs to be flushed before exiting, otherwise some messages can get lost.
liblog.Flush() just before os.Exit does the trick.
Ah, and there's no flush at the end of main() either, so the log file doesn't get created most of the time. I suggest adding defer liblog.Flush() just after the existing defer statement in main().

Done.

go/tools/showpaths/Readme.md, line 5 at r1 (raw file):
Previously, shitz wrote…
I'd rather you mention make and then use ./bin/showpaths ...

Done.

Comments from Reviewable

Reviewed 1 of 1 files at r3.
Review status: all files reviewed at latest revision, 5 unresolved discussions, some commit checks failed.

Comments from Reviewable

Reviewed 1 of 2 files at r2, 1 of 1 files at r4.
Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

Comments from Reviewable

Reviewed 1 of 1 files at r4.
Review status: all files reviewed at latest revision, 3 unresolved discussions, some commit checks failed.

go/tools/showpaths/paths.go, line 37 at r4 (raw file):

	id         = flag.String("id", "paths", "Element ID")
	sciondPath = flag.String("sciond", "", "SCIOND socket path")
	timeout    = flag.Int("timeout", 5000, "SCIOND connection timeout in ms")

This can just be flag.Duration.

go/tools/showpaths/paths.go, line 57 at r4 (raw file):

	sd := sciond.NewService(*sciondPath)
	sdConn, err := sd.ConnectTimeout(time.Duration(*timeout * 1000))

This calculation is wrong, it will actually convert it to microseconds. This goes away if you use flag.Duration, but for reference the correct thing is time.Duration(*timeout) * time.Millisecond

Comments from Reviewable

Review status: 1 of 2 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.

go/tools/showpaths/paths.go, line 37 at r4 (raw file):
Previously, kormat (Stephen Shirley) wrote…
This can just be flag.Duration.

Done.

go/tools/showpaths/paths.go, line 57 at r4 (raw file):
Previously, kormat (Stephen Shirley) wrote…
This calculation is wrong, it will actually convert it to microseconds. This goes away if you use flag.Duration, but for reference the correct thing is time.Duration(*timeout) * time.Millisecond

Done.

Comments from Reviewable

Reviewed 1 of 1 files at r5.
Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

go/tools/showpaths/paths.go, line 37 at r4 (raw file):
Previously, sgmonroy wrote…
Done.

Ah, the default and description need to change, too. For a 2s timeout, that would be 2 * time.Second.  The value supplied by the user isn't ms, it's whatever https://golang.org/pkg/time/#ParseDuration supports, so i suggest something like "SCIOND connection timeout (e.g. 250ms)"

Comments from Reviewable

Review status: 1 of 2 files reviewed at latest revision, 1 unresolved discussion.

go/tools/showpaths/paths.go, line 37 at r4 (raw file):
Previously, kormat (Stephen Shirley) wrote…
Ah, the default and description need to change, too. For a 2s timeout, that would be 2 * time.Second.  The value supplied by the user isn't ms, it's whatever https://golang.org/pkg/time/#ParseDuration supports, so i suggest something like "SCIOND connection timeout (e.g. 250ms)"

Done.

Comments from Reviewable

Reviewed 1 of 1 files at r6.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable


ImportError: cannot import name 'generated_jit' from 'numba'

These errors are showing up on the continuous integration tests:
 ImportError: cannot import name 'generated_jit' from 'numba' (/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/numba/__init__.py)

What's going on? What depends on Numba?

AzureMachineLearning.ipynb which uses IndShockConsumerTypeFast. Not widely used and we could remove from code base until we figure out what's going on with numba.
DecayInterp.ipynb which uses interpolation.py. This might be required by @Mv77 and his JMP.

Alan thinks it's interpolation.py, which is not being maintained. I will go
through and see where we're actually using that and see if it can be
"unwound".
On Wed, Feb 7, 2024, 9:02 AM Sebastian Benthall @.***>
wrote:

Assigned #1382 https://github.com/econ-ark/HARK/issues/1382 to @mnwhite
https://github.com/mnwhite.
—
Reply to this email directly, view it on GitHub
https://github.com/econ-ark/HARK/issues/1382#event-11732892831, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADKRAFI3QBVE6P3U4V7F6GDYSOCP7AVCNFSM6AAAAABC54ITQ6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRG4ZTEOBZGI4DGMI
.
You are receiving this because you were assigned.Message ID:
@.***>

The errors are below. All these files use interpolation.py
ERROR HARK/ConsumptionSaving/tests/test_IndShockConsumerTypeFast.py
ERROR HARK/ConsumptionSaving/tests/test_PerfForesightFastConsumerType.py
ERROR HARK/tests/test_dcegm.py
ERROR HARK/tests/test_econforgeinterp.py

https://github.com/EconForge/interpolation.py/issues/110
Need to set numba < 0.59.0