Watch + join + compile stops after 2 - 3 recompilations

I'm running the following command:
coffee --watch --join public/build.js --compile src/file1.coffee src/file2.coffee src/file3.coffee

It will re-build public/build.js two or three times after changes to the files in src/, but then stop thereafter. This occurs reliably and repeatably.
Using CoffeeScript 1.2.0, TextMate 2 r2020, and MacOS 10.7.3.

So without the --join, you don't experience this problem?

I can't reproduce the problem -- @tysontate: can you try this with the latest master coffee and let us know if you're still seeing the problem?

@jashkenas master appears to have fixed the problem:
> coffee --watch --join 3.js --compile 1.coffee 2.coffee
22:51:28 - compiled 3.js
22:51:37 - compiled 3.js
22:51:40 - compiled 3.js
^C%
> ./coffee-script/bin/coffee --watch --join 3.js --compile 1.coffee 2.coffee
22:55:53 - compiled 3.js
22:55:59 - compiled 3.js
22:56:01 - compiled 3.js
22:56:03 - compiled 3.js
22:56:05 - compiled 3.js
22:56:10 - compiled 3.js
22:56:12 - compiled 3.js
22:56:18 - compiled 3.js
22:56:22 - compiled 3.js
^C%

(Edited 1.coffee and 2.coffee several times in succession both times.)
As a policy, do you close tickets when they are fixed in master or in the latest released version?

@tysontate: as soon as they hit master.

Rad. Thanks!


Cannot run on simple for loop

Hi,
I've just installed Numba to speed up a simple code (as I was happy with Numba speed up processing time for a previous application):
@numba.njit
def _FillVotes(votes, array1, array2, width: int, height: int):
    for y in range(height):
        for x in range(width):
            votes[array1[:,y,x], array2[:,y,x]] += 1

But I get errors when I try to run the code:
numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
No implementation of function Function(<built-in function getitem>) found for signature:

 >>> getitem(array(uint16, 2d, C), UniTuple(array(uint16, 1d, A) x 2))

There are 16 candidate implementations:
  - Of which 14 did not match due to:
  Overload in function 'getitem': File: <built-in>: Line <N/A>.
    With argument(s): '(array(uint16, 2d, C), UniTuple(array(uint16, 1d, A) x 2))':
   No match.
  - Of which 2 did not match due to:
  Overload in function 'getitem': File: <built-in>: Line <N/A>.
    With argument(s): '(array(uint16, 2d, C), UniTuple(array(uint16, 1d, A) x 2))':
   Rejected as the implementation raised a specific error:
     NotImplementedError: only one advanced index supported
  raised from ......./site packages/numba/core/typing/arraydecl.py:65

During: typing of intrinsic-call at ./FiReTiTiPyLib/Evaluations.py (316)

File "FiReTiTiPyLib/Evaluations.py", line 316:
def _FillVotes(votes, array1, array2, width: int, height: int):
    <source elided>
		for x in range(width):
			votes[array1[:,y,x], array2[:,y,x]] += 1
   ^

Am I doing something wrong?

Hi,
if I am interpreting your code correctly, you are using array1 and array2 to index into votes.
If this is true, then the following may be related:
From the numba docs:
https://numba.pydata.org/numba-doc/dev/reference/numpysupported.html#array-access

Array access
Arrays support normal iteration. Full basic indexing and slicing is supported. A subset of advanced indexing is also supported: only one advanced index is allowed, and it has to be a one-dimensional array (it can be combined with an arbitrary number of basic indices as well).

So this may be failing because you have two, non-basic indices.

@HPLegion
Thank you for your answer.
I interpret it the same way, so I think you've found out why it does not work.
Is there any workaround?

The two things I can think of, off the top of my hat would be to flatten your votes array so that it is 1D, or maybe you can loop over the slice of array2 to combine the advanced index of array1, with a basic index extracted from array2, which according to the docs, should work? - There are probably more clever ways to do this :-P

Closing this issue as no new information has been provided. It is assumed that the above resolved the reported issue, if this is not the case please reopen the issue with new information. Many thanks.

@HPLegion I was facing same error while running with jit.
 @staticmethod
    @jit(nopython=True)
    # @cuda.jit
    def _get_transmission(rows,cols,Alight,src,tran,radius=7, omega=0.95):
        # print("Starting to compute transmission...")
        # start = time.time()
        for i in range(rows):
            for j in range(cols):
                rmin = max(0,i-radius)
                rmax = min(i+radius,rows-1)
                cmin = max(0,j-radius)
                cmax = min(j+radius,cols-1)
                pixel = (src[rmin:rmax+1,cmin:cmax+1]/Alight).min()
                tran[i,j] = 1. - omega * pixel
        # print("time:",time.time()-start)
        return tran

Can you help me out how to solve it?


allow custom icons in sankey-chart

The sankey-chart can show icons (option "show_icons: yes"), but it uses the default ones from the entity. I'd like to use different icons with the chart, configuration could look like the following:
sections:
  - entities:
      - entity_id: sensor.total_dc_power
        name: PV
        icon: mdi:solar-power      <----
        color: yellow
        children:
          - sensor.load

Would it please be possible to integrate this?
Regards, Uli

I agree that would be very helpful

Something to add on this: Is it possible to increase the width of the bar where the icons sit? Currently many icons are too wide and it does not look very nice.

@mb-software you can do stuff like that with card-mod. I can't add an option for every css property or the card will become too slow

@mb-software you can do stuff like that with card-mod. I can't add an option for every css property or the card will become too slow

Sure. But in my opinion this should not be an option, it should just be adjusted by default. Currently the option show_icons makes not much sense, because most icons are not shown properly.
Anyway, I already tried it with card-mod, but couldn't get the width adjusted. Can you guide me to the correct styles entry with card-mod?

The css for width is
.box div:first-child {
        width: 15px;
}
.connectors {
    left: 15px;
}

You have to adjust both or the branches will be detached. Which is actually a desired effect for some ppl

I agree that the icons don't fit and it should be addressed but I consider it low priority because few people use the icons. Also the fix would most probably be to move the icon to the label instead of the colored box. Feel free to create a separate issue if it is important to you because I have to close this one.


Bgs

Added ImprovedBGS2.h - - - uses two queues, requires no node moving
Updated the Driver.cpp to use ImprovedBGS2.h

This is the wrong branch - needs to go to PDB-refactor.


Voice trigger action

Determine which voice triggers we want to use.
I think we last settled on :

send my current location
Send a voice transcribed message

Perhaps as a stretch goal we want to request another users location.

So far we can send messages, and read the latest. (still needs to merge to master)
Perhaps future work could open a new issue, for sending my current location to the channel.
And possibly requesting another users location.

@mysysadmin Do you still have these changes? We should get them integrated before we forget how it works. Just open a PR and we can work through it together. If you need help, just let me know. (we can do it next week at the meet up if you want)

Yes! Sounds good. Let's do it latest next week together.
On Sun, 27 Nov 2016 at 20:29, John Regner<EMAIL_ADDRESS>wrote:

@mysysadmin https://github.com/mysysadmin Do you still have these
changes? We should get them integrated before we forget how it works. Just
open a PR and we can work through it together. If you need help, just let
me know. (we can do it next week at the meet up if you want)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/iOS-Connect/Connect/issues/17#issuecomment-263181323,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA331K6gPgZv-VeSw6HfFCRKgtn442bFks5rClitgaJpZM4K3lv3
.


Fix FFMPEG audio encoding

According to the FFMPEG website this argument (included in the commit) is required when encoding an AAC audio stream from an MPEG-TS file into other formats
https://ffmpeg.org/ffmpeg-bitstream-filters.html#toc-aac_005fadtstoasc
Without this argument the encoded video file will have a longer duration than normal (usually 20-25 seconds more) and will present noticeable audio pops every 3-7 seconds
There might be a better way to implement this as this fix only considers formats related to MP4, so it may be not needed by other formats, however since i do not have much programming experience i'm unable to provide a better alternative, so i at the very least hope this encoding option can be applied to MP4 files

Can you provide an episode/series in which the behavior you describe occurs?

Can you provide an episode/series in which the behavior you describe occurs?

One example being Kobayashi's Maid Dragon, there are noticeable pops when playing the audio on VLC and the episode has a longer duration than normal

I can't reproduce this on my system (Linux) with the latest v3.0.0-dev.2 version (as well as with the old v2.3.6).
$ ./crunchy download -o "test.mp4" https://www.crunchyroll.com/watch/GD9UVD04K/the-strongest-maid-in-history-tohru-well-she-is-a-dragon

Can you paste your OS + the command you were using for downloading? It can also be a specific ffmpeg issue so your ffmpeg version would also be helpful.
The link you provided also quotes "Please note that it is auto-inserted for MP4A-LATM and MOV/MP4 and related formats.", which I interpret to mean that the option should be automatically applied to mp4 files, regardless of whether the option was (manually) specified or not.

I can't reproduce this on my system (Linux) with the latest v3.0.0-dev.2 version (as well as with the old v2.3.6).
$ ./crunchy download -o "test.mp4" https://www.crunchyroll.com/watch/GD9UVD04K/the-strongest-maid-in-history-tohru-well-she-is-a-dragon

Can you paste your OS + the command you were using for downloading? It can also be a specific ffmpeg issue so your ffmpeg version would also be helpful.
The link you provided also quotes "Please note that it is auto-inserted for MP4A-LATM and MOV/MP4 and related formats.", which I interpret to mean that the option should be automatically applied to mp4 files, regardless of whether the option was (manually) specified or not.

Alright, after some testing the issue seems to be present only on version 2.3.6 and not present on version 3


generate_the_title function doesn't appear to exist

this line
https://github.com/pfefferle/wordpress-activitypub/blob/master/includes/model/class-post.php#L24
sets the summary field of the post (which ends up as a content warning in Mastodon)
however I am getting null in the output, which appears to be because there is no generate_the_title function

        public function generate_the_title(){
                $post = $this->post;
                return \get_the_title( $post->ID );
        }

that appears to be sufficient.

looks to have been dropped in d260d7c276b66ac2c111f0f802370365f8fb4b3c I will update the pull request to put it back as it was

Great catch!
Would this mean every post would automatically be hidden behind the content warning/read more button, though?

Good question! I thought mastodon uses the summary for that?!?

yeah, mastodon does use the summary for that, so if we put the post title in the summary then pretty much everything will be folded up on Mastodon - however, we should be going back to the spec to see what should be in the field, I think it is here in the activitystreams document that is referenced from the activitypub spec:
https://www.w3.org/TR/activitystreams-vocabulary/#dfn-summary
so the summary should contain "A natural language summarization of the object encoded as HTML" and putting a blog post title in there seems like a good idea to me. A blog post could be quite big (way over 500 characters) so folding it up in Mastodon with the blog title seems like the polite thing to do.

True for the summary, but the question was more: Does the title have a similar effect for Mastodon? Do you know that?
Regarding the summary: I plan a setting for that, where you can (globally) choose if you want to keep it empty, add am excerpt (maybe choose between title and excerpt) or if you want to add a disclaimer.
@AlanBell @enzocomics any thoughts?

I absolutely agree-- it's a good idea to implement it!
I would argue, however, that the user should be able to choose for themselves whether or not their post is collapsed. It shouldn't be automatic.
I was only able to test this on Mastodon, but I published a post on my site with a very large amount of text to see how Mastodon would handle it:

Only the first 500-or-so characters were initially visible, but clicking on "read more" reveals the entire text, despite it being around 2000 characters long. However, unlike the content warning, it doesn't load the full text inline in the feed -- it loads it in a new column on top of the feed.
I don't know if that's a feature of the protocol, the plugin, or Mastodon itself, though.
For reference, this is what the expanded post looked like:

The read more... is a mastodon UI feature https://github.com/mastodon/mastodon/issues/21047 based on displayed height over 706px.
I think that from Wordpress using the post title as the summary is OK, and using something else as the summary is also OK if the post title then gets prepended to the content. I think using the title as summary is a sensible default, or your first long form article posted without a collapse is going to get you shouted at.


Add support for MS SQL Server

Discussed in https://github.com/kdhrubo/db2rest/discussions/475

Originally posted by kdhrubo January 21, 2024

@lserveriiev - looked good and i have merged. if you want to make cleanup or things better in other modules, pls feel free to do with an issue.


Update concept-authentication-authenticator-app.md

Small grammar revision.

@Justinha small spelling check fix. Please merge at earliest convenience.


hi how are you ?

how to set the camera little bit down ,, imean the player should be in the middle of the screen

the player speed ,how to define it ,,speedvalue ,,,

oh i knew ,,, groundmove

I'm good :wink:


fix: Format contributors links properly

In #698 links in README on NPM were clickable, but now they are just plain text.
This PR aims to do this after markdown transformation:
My Self

Before:

These definitions were written by Maxim Mazurok (https://github.com/Maxim-Mazurok).

After:

These definitions were written by [Maxim Mazurok](https://github.com/Maxim-Mazurok).

So that no matter how npmjs treats plain-text links, now link will always be clickable, also consuming less space and being more readable.

Perfect, thanks!


iOs: fix openExternalView & openExternalEdit are broken

Seing that working in this lib : https://pub.dev/packages/contacts_service
There are still a problem with openExternalEdit : the id isn't return

@joachimvalente can you please accept that asap

@joachimvalente can you please accept that asap


[SWARM-1856,SWARM-1884] wfs-circuite-breaker pom updates

Updated the swarm version to 2018.3.3
2, Updated the parent version to 18

The failure after last commit is caused by the version.override.jackson property removal. In the -redhat variant, the top-level POM contains this property as well, so it's fine there.
But actually! The community variant of this booster (and actually of any WildFly Swarm booster) doesn't need to do the Jackson version override, so I'd just delete everything from https://github.com/sberyozkin/wfswarm-circuit-breaker/blob/1f51d0218e97728d3e260b28a99f42450caf010f/tests/pom.xml#L139 to the very end, except of specifying the integration-test and verify goals.

Oops, I did not even check yesterday if this property was used; good plan though to remove all the related info after all :-)

I've changed the job to use a higher timeout. The OpenShift cluster the tests run on seems sluggish nowadays.
retest this please

Now this sounds like an actual test issue. I mean -- probably an issue in the test, but I'll have to look.

retest this please


linux, replays, need proton/steamcmd love.  also, need something extensible that's not hardcoded for other channels.  what other channels though?

this appears to be an attempt to parse the executable using the shell.
given this is on ubuntu and not windows, there may be some proton magic required to perform a .cmd file +-  protontricks 9420 shell   with some drive letter normalization, or steamcmd which i am even less familiar with.
I am running this locally in intellij.  If unifying the lobby/match and replay code is a good idea, I am happy to help.  if it's not a good idea, more info about this is also greatly appreciated!
details below:
2022-02-27 15:41:17.097  INFO 11776 --- [onPool-worker-3] c.f.client.fa.ForgedAllianceService      : Starting Forged Alliance with command: [%USER_PROFILE%/.faforever/bin/ForgedAlliance.exe, /init, init.lua, /nobugreport, /log, %USER_PROFILE%/.faforever/logs/, /replay, %USER_PROFILE%/.faforever/cache/temp.scfareplay, /replayid, 14167823] in directory: %USER_PROFILE%/.faforever/bin
2022-02-27 15:41:17.123  INFO 11776 --- [onPool-worker-3] com.faforever.client.game.GameService    : Forged Alliance terminated with exit code 2
/home/jim/.faforever/bin/ForgedAlliance.exe: 1: MZ����@0��: not found
/home/jim/.faforever/bin/ForgedAlliance.exe: 1: Syntax error: word unexpected (expecting ")")

You can just add the prefix to the executable decorator in the client settings then it will run the game with whatever prefix commands you want.

there is no precedent for accessing the PROFILE strings or the decorators or how the settings would identify the need for linux decorator on init, and there are no other decorators to get any hints from.
i guess what I wrote is that each builder instance does the check if the config is blank.  there are some imports from a previous streams filter in this first patch.

So, I might be having the same issue? Or I might be having something completely different, I'm not sure. I can get into the FAF client, but when I try and launch an actual game, it immediately crashes, giving me:
2022-02-27 10:28:47.537  INFO 7450 --- [Thread-78] c.f.client.fa.ForgedAllianceService      : Starting Forged Alliance with command: [%USER_PROFILE%/.faforever/bin/FAFDebugger.exe, %USER_PROFILE%/.faforever/bin/ForgedAlliance.exe, /init, init.lua, /nobugreport, /log, %USER_PROFILE%/.faforever/logs/game_16454457.log, /gpgnet, <IP_ADDRESS>:18545, /mean, 1500.0, /deviation, 500.0, /savereplay, gpgnet://<IP_ADDRESS>:46825/16454457/%USER%.SCFAreplay, /country, US, /numgames, 0, /numgames, 0] in directory: %USER_PROFILE%/.faforever/bin
2022-02-27 10:28:47.635  INFO 7450 --- [ForkJoinPool.commonPool-worker-3] com.faforever.client.game.GameService    : Forged Alliance terminated with exit code 2

And no game_###.log. I tried using the experimental debugger, as you can see, and it didn't help any. I'm on Xubuntu 20.4, using GraalCE17, and Vanilla FA runs just fine if I launch it with 'PROTON_NO_ESYNC=1 PROTON_NO_FSYNC=1 %command% /windowed 1024 758'.
Of note, it might not be the same issue, because I don't have:
/home/jim/.faforever/bin/ForgedAlliance.exe: 1: MZ������@0������: not found
/home/jim/.faforever/bin/ForgedAlliance.exe: 1: Syntax error: word unexpected (expecting ")")

Or anything like it in my logs - my game just crashes without any kind of notice. :/

you might not have bash, or might not have same selinux things, but it looks like its trying to run a .exe which hasn't worked in a decades on linux  (linux used to make an attempt, and also run java class files).

change "%s" to "protontricks-launch --appid 9420 %s" in your configs btw, assuming you can get protontricks on your path

I definitely have bash, that's how I run the FAF client. But, yeah, it seems the default commands don't run on my linux? Which is weird, I downloaded the linux client. And I think it's just passing the executable to something else, not calling it directly? I couldn't get the command to run properly when I tried copy=pasting it into terminal, it didn;t like all the commas. I'll try the protontricks thing though. :/

Well, that didn't work, but I got a neat new error! XD
NotifiableException(i18nKey=game.start.couldNotStart, i18nArgs=[])
	at com.faforever.client.game.GameService.lambda$startGame$35(GameService.java:594)
	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2147)
	at com.faforever.client.fa.relay.ice.IceAdapterImpl.lambda$start$7(IceAdapterImpl.java:222)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.io.IOException: Cannot run program "protontricks-launch" (in directory "/home/angle/.faforever/bin"): error=2, No such file or directory
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073)
	at com.faforever.client.fa.ForgedAllianceService.launch(ForgedAllianceService.java:144)
	at com.faforever.client.fa.ForgedAllianceService.startGameOnline(ForgedAllianceService.java:82)
	at com.faforever.client.game.GameService.lambda$startGame$35(GameService.java:591)
	... 5 more
Caused by: java.io.IOException: error=2, No such file or directory
	at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
	at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:314)
	at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:244)
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110)
	... 9 more

I can also confirm that protontricks is on my path, if I run just 'protontricks' in a new terminal, it spits out the help screen.

protontrisk-launch is ... i donnuo where i got it..;.
jim@okmijnhub:~$ which protontricks-
protontricks-desktop-install  protontricks-launch
jim@okmijnhub:~$ which protontricks-launch
/home/jim/.local/bin/protontricks-launch

'protontricks-launch' is also on the path, it works in a terminal:
(base) angle@Sager:~/.faforever/bin$ protontricks-launch
usage: protontricks-launch [-h] [--no-term] [--verbose] [--no-runtime]
                           [--no-bwrap] [--appid [APPID]]
                           executable ...

Utility for launching Windows executables using Protontricks

Usage:

i was told that it should be in the configs but i sent a PR instead. wfm.  i did not actually try the advice i gave you first

your latest error dump does not print the whole array.
quotes seem suspect.

in the java code, i prepend "protontricks-launch  --appid 9420 " to ""%s""

i have also only been testing with replays though im sure that bash won't parse an exe file.

Hmm, yeah maybe I'm screwing the quotes up? I tried adding a pair of double quotes around it, and got:
Client Version: 2022.2.0
NotifiableException(i18nKey=game.start.couldNotStart, i18nArgs=[])
	at com.faforever.client.game.GameService.lambda$startGame$35(GameService.java:594)
	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2147)
	at com.faforever.client.fa.relay.ice.IceAdapterImpl.lambda$start$7(IceAdapterImpl.java:222)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.io.IOException: Cannot run program "protontricks-launch --appid 9420 " (in directory "/home/angle/.faforever/bin"): error=2, No such file or directory
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073)
	at com.faforever.client.fa.ForgedAllianceService.launch(ForgedAllianceService.java:144)
	at com.faforever.client.fa.ForgedAllianceService.startGameOnline(ForgedAllianceService.java:82)
	at com.faforever.client.game.GameService.lambda$startGame$35(GameService.java:591)
	... 5 more
Caused by: java.io.IOException: error=2, No such file or directory
	at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
	at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:314)
	at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:244)
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110)
	... 9 more

i just entered this and ran a replay i have locally and it worked

Nope, I already tried that, no such luck. Maybe it can't find the directory for some reason? I can find it in file manager, but maybe there's an issue with permissions somewhere or something? :/

Though, I am trying to run the game, not watch a replay, so maybe that's the issue? :/

i don't personally trust flatpack, but it documents workarounds.
make sure things in your path have export in bashrc
export PATH=$PATH:/home/jim/.konan/kotlin-native-prebuilt-linux-x86_64-1.6.0-RC/bin:~/.local/bin:/usr/local/bin

...Do I need to install Konan first, or something? :/

nonono  that's just where i found the ~/.local/bin/

my total path is about 20 lines of console
echo $PATH |wc -c
2974

:/home/jim/.local/bin:/usr/local/bin
is the end of the path fwiw.

Hmm, I tried adding that to my profile? I'll try restarting my computer and see if it helps. XD

i attempted a replay with

result

if you lack winetricks protontricks does not succeed

Well I definitely have winetricks. When I tried running the game now though, I got a rather different appearance - I got a windows style window saying fatal error, containing:
Failed to setup initial search path.

Program : Z:\home\angle\.faforever\bin\ForgedAlliance.exe
Cmd line arguments : / /init init.lua /nobugreport /log /home/angle/.faforever/logs/game_7347164.log /replay /home/angle/.faforever/cache/temp.scfareplay /replayid 7347164

Callstack:
    unavailable.

Last 100 lines of log...

warning: Running "Z:\home\angle\.faforever\bin\init.lua" failed: cannot read init_faf.lua: No such file or directory
         stack traceback:
         	[C]: in function `dofile'
         	Z:\home\angle\.faforever\bin\init.lua(1): in main chunk

I was able to look up said 'init.lua' file, I can confirm that it does, actually, exist. :/

it took some fishing for this log entry but i joined a lobby with success
2022-02-28 02:36:42.049  INFO 54466 --- [     Thread-137] c.f.client.fa.ForgedAllianceService      : Starting Forged Alliance with command: [protontricks-launch, --appid, 9420, %USER_PROFILE%/.faforever/bin/ForgedAlliance.exe, /init, init.lua, /nobugreport, /log, %USER_PROFILE%/.faforever/logs/game_16454915.log, /gpgnet, <IP_ADDRESS>:4968, /mean, 1118.57, /deviation, 81.2442, /savereplay, gpgnet://<IP_ADDRESS>:35713/16454915/Zentrodi.SCFAreplay, /country, ID, /numgames, 455, /numgames, 427] in directory: %USER_PROFILE%/.faforever/bin
2022-02-28 02:36:42.105 DEBUG 54466 --- [tor-tcp-epoll-1] com.faforever.commons.lobby.FafLobbyApi  : Inbound message: {"command":"ice_servers","ice_servers":[{"urls":["turn:coturn-eu-1.supcomhub.org?transport=tcp","turn:coturn-eu-1.supcomhub.org?transport=udp","stun:coturn-eu-1.supcomhub.org"],"username":"1646073401:96452","credential":"EKDBMYQBwmjrqB8sc9EWZSu2rW8=","credentialType":"token"},{"urls":["turn:faforever.com?transport=tcp","turn:faforever.com?transport=udp","stun:faforever.com"],"username":"1646073401:96452","credential":"EKDBMYQBwmjrqB8sc9EWZSu2rW8=","credentialType":"token"},{"urls":["turn:faf.mabula.net?transport=tcp","turn:faf.mabula.net?transport=udp","stun:faf.mabula.net"],"username":"1646073401:96452","credential":"st5JA4Luh7rYfwYuooJhhpAjJMM=","credentialType":"token"}],"ttl":86400}

im running ubuntu on liquorix right now, almost fresh install, steam is always first validation test.
im running proton experimental, it seems like a whole other vintage from Z; drive mentions.

Well, I amanged to get an actual gamer error log. Pretty short:
warning: Running "Z:\home\%USER%\.faforever\bin\init.lua" failed: cannot read init_faf.lua: No such file or directory
         stack traceback:
         	[C]: in function `dofile'
         	Z:\home\%USER%\.faforever\bin\init.lua(1): in main chunk

Not sure what's up with the 'Z:' at the start there. That might be wine or proton doing some compatibility thing? Or it might be the source of the problem, I'm not sure. :/

have you gone to protondb lately?  its not profound, but the fa page has some pretty consistent non-faf run throughs

Yeah, I followed those and they got it running in normal FA just fine. But they don't seem help me here. And I had different problems with normal FA, it would run, just laggy, until I followed the advice from protondb. :/

you should be able to launch protontricks-launch --appid 9420 ~/.faforever/bin/blahblabha
this would give you a new perspective on the path related issue

Okay, so I found: 'https://gist.github.com/Yoslincake/ddfa6f3f1aedfb6faa5f17ddd7d12f28' which has lots of novel instructions. Gonna see if I can figure it out, and get back to you. :/
Also, pretty sure my problem here is different from what yours was, so I should probably make my own issue, I'll do that too. :X

that was the first set of instructions i used which got me seeing bash parsing the exe on ubuntu 22.10
$SHELL --version
GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)

closing as culturally unresolvable, awaiting a J2EE specialist.


Malek/udf grammar changes

Changes to match with our new grammar, and also support imperative functions.

:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Connectors.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Core.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Interpreter.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.LanguageServerProtocol.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Transport.Attributes.dll

:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Connectors.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Core.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Interpreter.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.LanguageServerProtocol.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Transport.Attributes.dll

:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Connectors.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Core.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Interpreter.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.LanguageServerProtocol.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Transport.Attributes.dll

:x: 2 Binary Compatibility issues for Microsoft.PowerFx.Connectors compared against version 0.2.2-preview.20220803-315292.

MembersMustExist : Member 'Microsoft.PowerFx.Connectors.PowerPlatformConnectorClient.GetAuthToken.get()' does not exist in the implementation but it does exist in the contract.
MembersMustExist : Member 'Microsoft.PowerFx.Connectors.PowerPlatformConnectorClient.Transform(System.Net.Http.HttpRequestMessage)' does not exist in the implementation but it does exist in the contract.

:heavy_check_mark: No Binary Compatibility issues for **Microsoft.PowerFx.Core.dll**
:heavy_check_mark: No Binary Compatibility issues for **Microsoft.PowerFx.Interpreter.dll**
:heavy_check_mark: No Binary Compatibility issues for **Microsoft.PowerFx.LanguageServerProtocol.dll**
:heavy_check_mark: No Binary Compatibility issues for **Microsoft.PowerFx.Transport.Attributes.dll**

:x: 2 Binary Compatibility issues for Microsoft.PowerFx.Connectors compared against version 0.2.2-preview.20220803-315292.

MembersMustExist : Member 'Microsoft.PowerFx.Connectors.PowerPlatformConnectorClient.GetAuthToken.get()' does not exist in the implementation but it does exist in the contract.
MembersMustExist : Member 'Microsoft.PowerFx.Connectors.PowerPlatformConnectorClient.Transform(System.Net.Http.HttpRequestMessage)' does not exist in the implementation but it does exist in the contract.

:heavy_check_mark: No Binary Compatibility issues for **Microsoft.PowerFx.Core.dll**
:heavy_check_mark: No Binary Compatibility issues for **Microsoft.PowerFx.Interpreter.dll**
:heavy_check_mark: No Binary Compatibility issues for **Microsoft.PowerFx.LanguageServerProtocol.dll**
:heavy_check_mark: No Binary Compatibility issues for **Microsoft.PowerFx.Transport.Attributes.dll**

:x: 2 Binary Compatibility issues for Microsoft.PowerFx.Connectors compared against version 0.2.2-preview.20220803-315292.

MembersMustExist : Member 'Microsoft.PowerFx.Connectors.PowerPlatformConnectorClient.GetAuthToken.get()' does not exist in the implementation but it does exist in the contract.
MembersMustExist : Member 'Microsoft.PowerFx.Connectors.PowerPlatformConnectorClient.Transform(System.Net.Http.HttpRequestMessage)' does not exist in the implementation but it does exist in the contract.

:heavy_check_mark: No Binary Compatibility issues for **Microsoft.PowerFx.Core.dll**
:heavy_check_mark: No Binary Compatibility issues for **Microsoft.PowerFx.Interpreter.dll**
:heavy_check_mark: No Binary Compatibility issues for **Microsoft.PowerFx.LanguageServerProtocol.dll**
:heavy_check_mark: No Binary Compatibility issues for **Microsoft.PowerFx.Transport.Attributes.dll**

:x: 2 Binary Compatibility issues for Microsoft.PowerFx.Connectors compared against version 0.2.2-preview.20220803-315292.

MembersMustExist : Member 'Microsoft.PowerFx.Connectors.PowerPlatformConnectorClient.GetAuthToken.get()' does not exist in the implementation but it does exist in the contract.
MembersMustExist : Member 'Microsoft.PowerFx.Connectors.PowerPlatformConnectorClient.Transform(System.Net.Http.HttpRequestMessage)' does not exist in the implementation but it does exist in the contract.

:heavy_check_mark: No Binary Compatibility issues for **Microsoft.PowerFx.Core.dll**
:heavy_check_mark: No Binary Compatibility issues for **Microsoft.PowerFx.Interpreter.dll**
:heavy_check_mark: No Binary Compatibility issues for **Microsoft.PowerFx.LanguageServerProtocol.dll**
:heavy_check_mark: No Binary Compatibility issues for **Microsoft.PowerFx.Transport.Attributes.dll**


Add Serviceworker and use for Caching

install serviceworker for all samples
precache font and landing page
update amp-install-serviceworker sample to reflect these changes
small manifest fixes
remove sw-precache and use sw-toolbox instead
use bower to install JS client dependencies

Theoretically this would give us a score of 100 in Lighthouse. However, I've still disabled the manifest as the AMP validator doesn't support it. Not sure whether it is worth breaking the AMP compatibility.
PTAL @juliantoledo @jmadler
//CC @ymotongpoo @adewale @kul3r4

Deployed here

It's super fast! What exactly does not validate? each example or just amp-install-serviceworker?

It currently validates - but to become a proper PWA it needs a manifest.json file. The manifest.json link is currently not supported by the AMP validator that's why I've commented it out in templates/favicons.html.

LGTM then, we can uncomment the link once fixed or decide to break compatibility later if it isn't in a while.

PTAL

Update the PR to perform proper precaching:

Show an offline page if page is not available offline
Generate placeholder images when offline
Precache all icons and logos

Also for the offline page:

Add support for standalone / non-example pages.

@jmadler @ithinkihaveacat @juliantoledo PTAL

Addressed the comments.
@jmadler @ithinkihaveacat @juliantoledo PTAL

LGTM

Thanks for the reviews!


ui-sref-active directive for inactivated sticky states

I have some parallel states and buttons which controls sticky states: example.
I want this buttons
view 1
view 2

to have classname current even when I move the parallel state base.details. Is it possible? Maybe some kind of frozen state or smth else?

I'm thinking about this directive and it should also listen for stateChangeSuccess on $state because there is no other way to be synced with ther current state, isnt it?

You could watch $state.current.name, but listening to $stateChangeSuccess is probably more performant.

I can only get the active leaf, not the entire branch.
Im checking $state.current.views.hasOwnProperty(attrs.uiView)
So if i have a -> a.b -> a.b.c only the active class in the c view will be on.
Any idea?

I can only get the active leaf, not the entire branch.

You can get the entire active branch using $state.current.$$state().path
I'm not sure what your code looks like, but can you use $state.includes()?  What do you have so far


[GHSA-72w2-j52c-7682] Moodle SQL Injection vulnerability

Updates

CVSS
Severity

Comments
Code!

Hi there 👋
What makes you want to change the severity on this advisory? Do you have any links in support of this change?

👋 This pull request has been marked as stale because it has been open with no activity.  If you do nothing this pull request will be closed eventually by the stale bot. Please see CONTRIBUTING.md for more policy details.

👋 This pull request has been marked as stale because it has been open with no activity.  If you do nothing this pull request will be closed eventually by the stale bot. Please see CONTRIBUTING.md for more policy details.


Provide consistent spacing between form control button and form

What does this PR do and why?
Provide a description of what this PR does. Link to any relevant GitHub issues, Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] I have tested this PR in all supported browsers.
[ ] I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #2410

PR #2411   👈

This comment was auto-generated by Graphite.

Graphite Merge Job
Current status: ⏳ Queued to merge
This pull request is currently queued to be merged as part of a stack.
This comment was auto-generated by Graphite.

Job Reference: FjnKiWW0YdfBRPMyJxnQ


The name 'GetFile' does not exist in the current context

I have tried to add the following code to a task:
Squirrel(GetFile(path));

It didn't work and I kept having the following error:

Error occurred when compiling build script: E:/Dev/build.cake(73,18): error CS0103: The name 'GetFile' does not exist in the current context

I have managed to make it work with this code though:
Squirrel(new FilePath(path));

Have I done something wrong or is the documentation out of date?

It is out of date.  That is for the issue and I will get it all updated.
On Tue, Oct 17, 2017, 2:50 PM Damien Chaib<EMAIL_ADDRESS>wrote:

I have tried to add the following code to a task:
Squirrel(GetFile(path));
It didn't work and I kept having the following error:
Error occurred when compiling build script: E:/Dev/build.cake(73,18):
error CS0103: The name 'GetFile' does not exist in the current context
I have managed to make it work with this code though:
Squirrel(new FilePath(path));
Have I done something wrong or is the documentation out of date?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cake-contrib/Cake.Squirrel/issues/22, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABfthZM8aGHap4eZWGverMnAxpZQ0eAyks5stPbhgaJpZM4P8pWT
.

Thanks for the reply. If you want, I cannot have a look and make a pull request.
Also, wouldn't be easier to just use a string as a parameter? That's how it is usually done, isn't it?


Added New Scheduler and Modified Spark Manager

Below are the changes :

Added new scheduler which is combination of dataproc scheduler and local scheduler.
Modified Spark Session to read data directly from s3 locations.
Added job_deployed_node parameter into global parameter. (Related to point 1.)

Below are the changes :

Added new scheduler which is combination of dataproc scheduler and local scheduler.
Modified Spark Session to read data directly from s3 locations.
Added job_deployed_node parameter into global parameter. (Related to point 1.)
Added new dataproc step
Modified dataproc scheduler, local scheduler.


Real-time plot integration

Added a new argument to sense.py function 'main' to allow displaying a real time plot based on selected analog channels. It is compatible with the file_buffer (tested) and stream_buffer (not tested). The display sampling frequency could be increased (line 123 in scientisst.rt_plotter.py) but may lead to a slow response, thus I left it at every 100ms = 10 Hz.

Hi @afonsof3rreira , thank you so much for your contribution!
What you're implementing is a really needed feature for sense.py.
I reviewed your code and I have one major suggestion: instead of creating the MainWindow and passing all existing objects (scientisst, file_buffer, lsl_buffer, etc), I suggest creating a new buffer used for the real-time plotting. Something similar to what you find here. You could add an argument and do something like:
if args.plot:
    plot_buffer.put(frames)

Then you could pass the plot_buffer to the MainWindow. Thus instead of passing all the variables mentioned above, you'd only pass the plot_buffer. I don't know if the plotting is done in a different thread, but that would be something to look into.
What do you think?

Thank you for the feedback :) At first I wanted to ensure the incoming data would be exactly the same for the buffers and the real time plot,  thus "throwing" these buffers into a thread inside the MainWindow class and accessing frames directly there, but I think it should also work fine by keeping a separate buffer for plotting.  I'll adapt the class asap!


feat: multi-testnet deployments

Description
Multi-testnet deployments.

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[X] included the correct type prefix in the PR title
[ ] ~added ! to the type prefix if API or client breaking change~
[ ] ~provided a link to the relevant issue or specification~
[X] included the necessary unit and integration tests
[X] code is adequately commented
[ ] ~updated the relevant documentation or specification~
[X] reviewed "Files changed" and left comments if necessary
[X] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[x] confirmed the correct type prefix in the PR title
[ ] ~confirmed ! in the type prefix if API or client breaking change~
[ ] confirmed all author checklist items have been addressed
[ ] reviewed service design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

I think this makes a lot more sense to have multiple JSON files for each contract deployment on testnet. With this, you'll then need to move things to a structure where the Addresses.json file is read in from an env variable or some other way so you don't just read in a single address all of the time.
Unsure why changeAddress is being used in the zips. It makes way more sense to check if the address is set first, and then if it isn't, deploy and add the address vs just always deploying a new contract. If you always deploy a new contract, then integration tests won't work properly because you won't be testing against the mainnet state of that actual contract.

Agreed. I also don't see where we are bringing in the forge proposal simulator package?

Would be great to see comments on how to operationalize this setup.
How to run one or all ZIP's against testnet.
How to run scripts to build and simulate calldata creation.

I am adding a readme in proposals folder, that would resolve these queries.

Here is what I think we should simplify things to:

    /// @notice runs before all deployments.
    /// @dev a place to put pre-deployment checks
    function _beforeDeploy(Addresses addresses, address deployer) internal virtual;

    /// @notice deployment of zip's contracts/features
    function _deploy(Addresses addresses, address deployer) internal virtual;

    /// @notice runs after all deployments
    function _afterDeploy(Addresses addresses, address deployer) internal virtual;

    /// @notice build governance proposal
    function _build(Addresses addresses, address deployer) internal virtual;

    /// @notice run governance proposal onchain
    function _run(Addresses addresses, address deployer) internal virtual;

    /// @notice teardown anything required
    function _teardown(Addresses addresses, address deployer) internal virtual;

    /// @notice validate the deployment
    function _validate(Addresses addresses, address deployer) internal virtual;

I am working on exactly this in a separate PR as I think making that change in this PR will make it heavy. We can merge this one if everything else looks good and I will make a separate PR for this. what do u think?


critical problem with div

the following test fails on both your current version and my local version.
var c=Crunch(true,true);
c.div([7425251],[3725290, 80117760])
//returns [1]

btw i've tried to modify it like this:
//yt = v[0]*268435456 + v[1];
yt = [v[0], v[1]];
//xt = u[i-1]*72057594037927936 + u[i]*268435456 + u[i+1];
xt = [u[i-1], u[i], u[i+1]];
//while (q[i]*yt > xt) { //condition check can fail due to precision problem at 28-bit
while (cmp(mul([q[i]], yt), xt) === 1) { //condition check can fail due to precision problem at 28-bit

this seems to solve the case at https://github.com/vukicevic/crunch/issues/13, but doesn't help with this one.
sorry i can't fully understand the div code. only i know is that it runs into the loop commented "only cmp as last resort" and q[0]++ which should not happen. maybe problem with the loop condition.
hope this helps.

A possible problem is that JavaScript internally uses a 64-bit floating point number which only has 52 bits precision. In the expression below,  u[i-1]*72057594037927936 is an 84-bit integer, so there is no representation in the lower 32-bits of the value. This means there is no point in adding the 28-bit value  u[i+1]. And some precision from u[i]*268435456 is also lost.
u[i-1]*72057594037927936 + u[i]*268435456 + u[i+1];

Is it necessary to have the full 84-bit precision of this expression for div to work in all cases?

A constructive suggestion: This expression is only used to compute a value xt for comparison on the next line.  So, maybe xt itself should be computed using mul and add and compared with cmp. This would keep the full precision.

Oops. I see that in the comparison code linked above you already commented "condition check can fail due to precision problem at 28-bit". Anyway, what do you think about using Crunch arrays and doing the comparison with cmp?

I made a pull request to show what I had in mind.

Looks great! I've merged the request and will push a new version of the lib soon.


Make dot density homogeneous

The dot density is not the same in all points of the aperture and this varies based on the motion direction.
Find a way to simulate this:

ensure that the asked dot density is the one required

results of simulation with:
        cfg.dot.coherence = 1; % proportion

        cfg.dot.lifeTime = 10; % in seconds

        cfg.dot.matrixWidth = 250; % in pixels

        cfg.dot.proportionKilledPerFrame = 0;

        cfg.timing.eventDuration = 500; % in seconds


Find a solution for adding entitlements on macOS without buying a certificate from Apple

We are going to need com.apple.security.hypervisor soon.

Self-signed cert with an automatic certification signing on build?

The problem with self signed is I'm not sure it will work on the user machine without installing the certificate.

You could check how Ryujinx does it. They use the hypervisor on macOS.

Thanks!

Not sure how they get the certificate: https://github.com/Ryujinx/Ryujinx/blob/master/distribution/macos/create_macos_build_ava.sh

Seems like it is required to buy a certificate from Apple.

I don’t think so. As far as I’m aware the only thing that requires a paid dev account is notarisation, which is not necessary for distribution.
I’m sure the Ryujinx team will answer specifics on the discord channel.

@ultimaweapon From the Ryujinx team:
there is no certificate
it's an ad-hoc signature

you aren't forced to sign via Apple on macOS
some entitlements require an apple certificate and account
but not hypervisor and jit

Thanks!


allow removal of .snap in snapshot name

Hi,
every snapshot currently has '.snap' appended to the generated filename.
would be nice to have an option to disable that, I did not find a way to get that removed.
here is my current options
const options: CypressImageSnapshotOptions = {
			failureThreshold: 0,
			allowSizeMismatch: true,
			failureThresholdType: 'percent',
			capture: 'viewport',
			comparisonMethod: 'ssim',
			customSnapshotsDir: './cypress/reports/snapshots/${Cypress.spec.fileName}',
			e2eSpecDir: '${Cypress.spec.relative}',

		};

Hey,
Yes, it's not an option currently as seen here - https://github.com/simonsmith/cypress-image-snapshot/blob/master/src/plugin.ts#L35
What would be the reason for this, out of curiosity?

it is a bit annoying as I am using mochawesome/addContext.js for reports and I use my path to get the image but now i have to add '.snap' to the check. I also do not really like a snapshot with this type of name test.snap.png.
Is there a purpose of adding that string for anyone otherwise it is just added for nothing ?

Yeah, it's just there to make the file name distinct and it can be useful for file searching. Happy to make it a configurable option though


Adds more tooltips

Related to #66

What's happening with this one, @wassgha? Should we get it in the alpha?

@wassgha any objections to closing this and then create an issue to tackle this more holidtically?

This one will be closed by the absolute positioned elements PR
On Thu, Apr 30, 2020 at 12:11 PM Pascal Birchler<EMAIL_ADDRESS>wrote:

@wassgha https://github.com/wassgha any objections to closing this and
then create an issue to tackle this more holistically?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/web-stories-wp/pull/516#issuecomment-622047292,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEQOJ3FYSEOPDTSWQGEXYTRPHENNANCNFSM4LE2YEAA
.

--
Wassim Gharbi,
Portfolio http://gharbi.me/ - LinkedIn
https://linkedin.com/in/wassimgharbi/ - Youtube
https://www.youtube.com/user/wassgha/videos
Software Engineer @ Google, Inc.


Automatic paths resolver.

I wonder what you think about a kind of paths database system to allow folder reorganization without
breaking dependencies.
The editor already displays the folder tree into the "Filesystem"dock maybe it is possible to save these informations into some location or a text file at the project's root.
This database file will be updated at every scene saving or scene running. Or simply when the Filesystem dock is updated.
To use this, a function, exposed to GDScript, must be designed to pull paths strings from the database.
This function takes the file name key as argument, and tries to returns the string who is necessary in various places where a file path is needed.
var myScene = preload(get_file_path("my_scene.scn"))
extends get_file_path("base_class.gd")
Maybe it's uglier to read, but such a function allows you to rearrange the folders,
move the files when you want without worriying about broken dependancies. It prevents you to type
long paths in your scripts if your file system becomes huge.
If a kind C++ programmer found this useful for his needs, and if it's possible to implement with not much sweat, I guess he could helps a lot of other developers.
If an easy workaround is already  avalaible I apologize for this useless proposal.

what if there is two my_scene.scn??
but I think if we can drag and drop the files from filesystem two code then the path is copied there it will so good

if you do file operations in the filesystem dock, Godot fixes dependencies. Is there any missing operation?

@reduz Thanks for the tip ! I will try that.
My little project has all scenes folders at root. Some weeks later I wanted to create a single "Scene" folder and drop all the scenes folders inside.
Anyway the mohaalak post is very interesting. Sometimes we can have two identical names. So his idea is probably better than mine.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


书籍格式转换报错

[2024-11-06 00:06:20,819]  INFO {cps.editbooks:322} converting: book id: 874 from: EPUB to: MOBI
[2024-11-06 00:06:21,157]  INFO {cps.tasks.convert:161} Book id 874 - target format of .mobi does not exist. Moving forward with convert.
[2024-11-06 00:06:27,931]  INFO {cps.tasks.convert:208} ebook converter failed with error while converting book
[2024-11-06 00:06:27,932] ERROR {cps.tasks.convert:212} Calibre failed with error: mechanize._response.get_seek_wrapper_class..httperror_seek_wrapper: HTTP Error 503: Service Unavailable


Issue deprecation notice

Replaced by https://github.com/frictionlessdata/jsontableschema-js/blob/master/src/validate.js
Context https://github.com/frictionlessdata/jsontableschema-js/issues/17
Please add pwalsh and okfn as owners on npm.

@pwalsh you are an owner :-). I'll let you do the usual on the repo (e.g. move to oki-archive, add DEPRECATION somewhere prominent etc etc)

done.


Investigate cause / validity of a few specific pixels from WRF output on the North Slope

More details TBD, but there's a few pixels which seem to be discontinuous relative to their surrounding values in the North Slope.  Ask the downscaling team about this re: WRF outputs.

The funky water mask is another chapter in the SagaOfWRF™ and based upon the following I am going to close this issue:

We raised the issue to the downscaling group and the reaction was a collective "meh"
There is no fix, short of running some type of Gaussian filter other resampling technique across the dataset, but that path leads to a world of vicious pain
We cannot just reprocess + fix
Kyle heroically led the WRF repair, and that process is complete, and the WRF data are as quality as they'll ever be
Eventually we'd hope to supersede all this stuff with CMIP6 or other daily data (NCAR 12 km)


win11 gtx960M tensorflow2.5~ tensorflow2.7 CUDA out of memory

win11 gtx960M tensorflow2.5~ tensorflow2.7 report errors : CUDA out of memory ,but win10 gtx960M tensorflow2.5~ tensorflow2.7 can run normally

Hi @lindadamama ! Could you please provide the standalone code to reproduce this issue?

Currently, tensorflow 2.4.4 can be used normally
从 Windows 版邮件https://go.microsoft.com/fwlink/?LinkId=550986发送

发件人: mohantym @.>
发送时间: Monday, November 8, 2021 5:30:54 PM
收件人: tensorflow/tensorflow @.>
抄送: lindadamama @.>; Mention @.>
主题: Re: [tensorflow/tensorflow] win11 gtx960M tensorflow2.5~ tensorflow2.7 CUDA out of memory (Issue #52980)
Hi @lindadamamahttps://github.com/lindadamama ! Could you please provide the standalone code to reproduce this issue?
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/tensorflow/tensorflow/issues/52980#issuecomment-962966659, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALUZR7STIHJ44K6WBVQF3ADUK6KE5ANCNFSM5HR6YW2A.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hi @sanatmpa1! Could you please look at this issue ?

@lindadamama,
Can you clarify if you're getting this error while installing tensorflow or while running any code after installing tensorflow?

running code after installing tensorflow ，
This error occurred
Run print（tf.test.is_gpu_available()）return true
However, an error is reported when running the program
I tried to install tensorflow 2.5~2.7，Reported the same error：cuda out of memeory
I tried to install tensorflow 2.4.1~2.4.4，run normaly
The configuration of my computer is intel I76900HQ ，nvida gtx960M 8GB ，16GB RAM win11 ,cuda11.2
However,using win10, everything is normal
It may be an API compatibility issue
The code is in the attachment
从 Windows 版邮件https://go.microsoft.com/fwlink/?LinkId=550986发送
发件人: @.>
发送时间: 2021年11月9日 19:44
收件人: @.>
抄送: @.>; @.>
主题: Re: [tensorflow/tensorflow] win11 gtx960M tensorflow2.5~ tensorflow2.7 CUDA out of memory (Issue #52980)
@lindadamamahttps://github.com/lindadamama,
Can you clarify if you're getting this error while installing tensorflow or while running any code after installing tensorflow?
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/tensorflow/tensorflow/issues/52980#issuecomment-964073823, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALUZR7XHL7ICE7ZRO6CPDWLULECTHANCNFSM5HR6YW2A.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

anaconda 2021.05 python3.8
从 Windows 版邮件https://go.microsoft.com/fwlink/?LinkId=550986发送

发件人: lin lin @.>
发送时间: Tuesday, November 9, 2021 8:01:49 PM
收件人: tensorflow/tensorflow @.>
主题: 回复: [tensorflow/tensorflow] win11 gtx960M tensorflow2.5~ tensorflow2.7 CUDA out of memory (Issue #52980)
running code after installing tensorflow ，
This error occurred
Run print（tf.test.is_gpu_available()）return true
However, an error is reported when running the program
I tried to install tensorflow 2.5~2.7，Reported the same error：cuda out of memeory
I tried to install tensorflow 2.4.1~2.4.4，run normaly
The configuration of my computer is intel I76900HQ ，nvida gtx960M 8GB ，16GB RAM win11 ,cuda11.2
However,using win10, everything is normal
It may be an API compatibility issue
The code is in the attachment
从 Windows 版邮件https://go.microsoft.com/fwlink/?LinkId=550986发送
发件人: @.>
发送时间: 2021年11月9日 19:44
收件人: @.>
抄送: @.>; @.>
主题: Re: [tensorflow/tensorflow] win11 gtx960M tensorflow2.5~ tensorflow2.7 CUDA out of memory (Issue #52980)
@lindadamamahttps://github.com/lindadamama,
Can you clarify if you're getting this error while installing tensorflow or while running any code after installing tensorflow?
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/tensorflow/tensorflow/issues/52980#issuecomment-964073823, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALUZR7XHL7ICE7ZRO6CPDWLULECTHANCNFSM5HR6YW2A.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@lindadamama,

I tried to install tensorflow 2.5~2.7，Reported the same error：cuda out of memeory

Can you try killing the process that consumes significant amount of GPU memory? you can take a look at this comment as a reference.
Also here's the set of tested build configuration which are already tested and works as expected. Since you haven't filled the issue template, Can you make sure that you have the configurations similar to tested build configuration for proper installation of TF. Thanks!

I reinstalled tensorflow2.7 and the test results are in the attachment，tensorflow2.7 can not run，But tensorflow 2.4.4 can run normally. I am from China and have limited English expression ability. Sorry
从 Windows 版邮件https://go.microsoft.com/fwlink/?LinkId=550986发送

发件人: Sanat @.>
发送时间: Friday, November 12, 2021 12:56:02 AM
收件人: tensorflow/tensorflow @.>
抄送: lindadamama @.>; Mention @.>
主题: Re: [tensorflow/tensorflow] win11 gtx960M tensorflow2.5~ tensorflow2.7 CUDA out of memory (Issue #52980)
@lindadamamahttps://github.com/lindadamama,
I tried to install tensorflow 2.5~2.7，Reported the same error：cuda out of memeory
Can you try killing the process that consumes significant amount of GPU memory? you can take a look at this commenthttps://stackoverflow.com/a/62382792 as a reference.
Also here's the set of tested build configurationhttps://www.tensorflow.org/install/source_windows#tested_build_configurations which are already tested and works as expected. Since you haven't filled the issue template, Can you make sure that you have the configurations similar to tested build configuration for proper installation of TF. Thanks!
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/tensorflow/tensorflow/issues/52980#issuecomment-966462009, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALUZR7UMSIRQQEAQLTKLLDDULPYSFANCNFSM5HR6YW2A.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@lindadamama,
Can you share the error trace in the comment, as I am not able to open your attachment, Also Can you provide the below details for helping you with this issue? Thanks!
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version:
Python version:
Installed using virtualenv? pip? conda?:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

OS Platform ： win11 home edition
TensorFlow installed command：python -m pip  install  --user   tensorflow==2.7.0  -i https://pypi.tuna.tsinghua.edu.cn/simple
cuda11.2 cudnn cudnn-11.2-windows-x64-v<IP_ADDRESS>
GPU model and memory:nvdia gtx960M 8GB
Anaconda 2021.05 python3.8
RAM：8GB
Log printed during installation：
LOG
_(base) PS D:\Dism++10.1.1000.90B_6db9c6e8045f93cc899878ccb48e2bc1e9d8bb72> python -m pip  install  --user   tensorflow==2.7.0 -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting tensorflow==2.7.0
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/03/9e/63266f9324f3ac5ec9b2f0eaebec75872f424f79ca05442c605f9fa03c09/tensorflow-2.7.0-cp38-cp38-win_amd64.whl (430.8 MB)
Requirement already satisfied: wrapt>=1.11.0 in d:\anaconda\lib\site-packages (from tensorflow==2.7.0) (1.12.1)
Requirement already satisfied: opt-einsum>=2.3.2 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from tensorflow==2.7.0) (3.3.0)
Requirement already satisfied: tensorflow-io-gcs-filesystem>=0.21.0 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from tensorflow==2.7.0) (0.21.0)
Requirement already satisfied: h5py>=2.9.0 in d:\anaconda\lib\site-packages (from tensorflow==2.7.0) (2.10.0)
Requirement already satisfied: protobuf>=3.9.2 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from tensorflow==2.7.0) (3.19.0)
Collecting keras<2.8,>=2.7.0rc0
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/6b/8b/065f94ba03282fa41b2d76942b87a180a9913312c4611ea7d6508fbbc114/keras-2.7.0-py2.py3-none-any.whl (1.3 MB)
Requirement already satisfied: keras-preprocessing>=1.1.1 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from tensorflow==2.7.0) (1.1.2)
Collecting tensorflow-estimator<2.8,~=2.7.0rc0
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/db/de/3a71ad41b87f9dd424e3aec3b0794a60f169fa7e9a9a1e3dd44290b86dd6/tensorflow_estimator-2.7.0-py2.py3-none-any.whl (463 kB)
Requirement already satisfied: wheel<1.0,>=0.32.0 in d:\anaconda\lib\site-packages (from tensorflow==2.7.0) (0.36.2)
Requirement already satisfied: six>=1.12.0 in d:\anaconda\lib\site-packages (from tensorflow==2.7.0) (1.15.0)
Requirement already satisfied: termcolor>=1.1.0 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from tensorflow==2.7.0) (1.1.0)
Requirement already satisfied: google-pasta>=0.1.1 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from tensorflow==2.7.0) (0.2.0)
Requirement already satisfied: gast<0.5.0,>=0.2.1 in d:\anaconda\lib\site-packages (from tensorflow==2.7.0) (0.3.3)
Requirement already satisfied: libclang>=9.0.1 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from tensorflow==2.7.0) (12.0.0)
Requirement already satisfied: tensorboard~=2.6 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from tensorflow==2.7.0) (2.7.0)
Requirement already satisfied: grpcio<2.0,>=1.24.3 in d:\anaconda\lib\site-packages (from tensorflow==2.7.0) (1.32.0)
Requirement already satisfied: numpy>=1.14.5 in d:\anaconda\lib\site-packages (from tensorflow==2.7.0) (1.19.5)
Requirement already satisfied: typing-extensions>=3.6.6 in d:\anaconda\lib\site-packages (from tensorflow==2.7.0) (<IP_ADDRESS>)
Requirement already satisfied: flatbuffers<3.0,>=1.12 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from tensorflow==2.7.0) (1.12)
Requirement already satisfied: absl-py>=0.4.0 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from tensorflow==2.7.0) (0.15.0)
Requirement already satisfied: astunparse>=1.6.0 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from tensorflow==2.7.0) (1.6.3)
Requirement already satisfied: setuptools>=41.0.0 in d:\anaconda\lib\site-packages (from tensorboard~=2.6->tensorflow==2.7.0) (52.0.0.post20210125)
Requirement already satisfied: requests<3,>=2.21.0 in d:\anaconda\lib\site-packages (from tensorboard~=2.6->tensorflow==2.7.0) (2.25.1)
Requirement already satisfied: tensorboard-data-server<0.7.0,>=0.6.0 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from tensorboard~=2.6->tensorflow==2.7.0) (0.6.1)
Requirement already satisfied: werkzeug>=0.11.15 in d:\anaconda\lib\site-packages (from tensorboard~=2.6->tensorflow==2.7.0) (1.0.1)
Requirement already satisfied: google-auth<3,>=1.6.3 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from tensorboard~=2.6->tensorflow==2.7.0) (2.3.0)
Requirement already satisfied: markdown>=2.6.8 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from tensorboard~=2.6->tensorflow==2.7.0) (3.3.4)
Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from tensorboard~=2.6->tensorflow==2.7.0) (0.4.6)
Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from tensorboard~=2.6->tensorflow==2.7.0) (1.8.0)
Requirement already satisfied: pyasn1-modules>=0.2.1 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from google-auth<3,>=1.6.3->tensorboard~=2.6->tensorflow==2.7.0) (0.2.8)
Requirement already satisfied: rsa<5,>=3.1.4 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from google-auth<3,>=1.6.3->tensorboard~=2.6->tensorflow==2.7.0) (4.7.2)
Requirement already satisfied: cachetools<5.0,>=2.0.0 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from google-auth<3,>=1.6.3->tensorboard~=2.6->tensorflow==2.7.0) (4.2.4)
Requirement already satisfied: requests-oauthlib>=0.7.0 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard~=2.6->tensorflow==2.7.0) (1.3.0)
Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard~=2.6->tensorflow==2.7.0) (0.4.8)
Requirement already satisfied: chardet<5,>=3.0.2 in d:\anaconda\lib\site-packages (from requests<3,>=2.21.0->tensorboard~=2.6->tensorflow==2.7.0) (4.0.0)
Requirement already satisfied: certifi>=2017.4.17 in d:\anaconda\lib\site-packages (from requests<3,>=2.21.0->tensorboard~=2.6->tensorflow==2.7.0) (2020.12.5)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in d:\anaconda\lib\site-packages (from requests<3,>=2.21.0->tensorboard~=2.6->tensorflow==2.7.0) (1.26.4)
Requirement already satisfied: idna<3,>=2.5 in d:\anaconda\lib\site-packages (from requests<3,>=2.21.0->tensorboard~=2.6->tensorflow==2.7.0) (2.10)
Requirement already satisfied: oauthlib>=3.0.0 in c:\users\a1057\appdata\roaming\python\python38\site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard~=2.6->tensorflow==2.7.0) (3.1.1)
Installing collected packages: tensorflow-estimator, keras, tensorflow
Attempting uninstall: tensorflow-estimator
Found existing installation: tensorflow-estimator 2.4.0
Uninstalling tensorflow-estimator-2.4.0:
Successfully uninstalled tensorflow-estimator-2.4.0
Attempting uninstall: tensorflow
Found existing installation: tensorflow 2.4.4
Uninstalling tensorflow-2.4.4:
Successfully uninstalled tensorflow-2.4.4
WARNING: The scripts estimator_ckpt_converter.exe, import_pb_to_tensorboard.exe, saved_model_cli.exe, tensorboard.exe, tf_upgrade_v2.exe, tflite_convert.exe, toco.exe and toco_from_protos.exe are installed in 'C:\Users\A1057\AppData\Roaming\Python\Python38\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed keras-2.7.0 tensorflow-2.7.0 tensorflow-estimator-2.7.0

_
test cuda
import tensorflow as tf
print(tf.version)
print(tf.test.is_gpu_available())
I got it“ 2.7.0  true”
run code  LOG:
2021󈚯󈚧 22:25:11.457012: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance‑critical operations: AVX AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021󈚯󈚧 2021-11-03 22:45:58.919955: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-11-03 22:46:00.946967: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1510] Created device /device:GPU:0 with 2821 MB memory:  -> device: 0, name: NVIDIA GeForce GTX 960M, pci bus id: 0000:01:00.0, compute capability: 5.0
2021-11-03 22:46:25.093703: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1510] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 2821 MB memory:  -> device: 0, name: NVIDIA GeForce GTX 960M, pci bus id: 0000:01:00.0, compute capability: 5.0
2021-11-03 22:46:25.226416: I tensorflow/stream_executor/cuda/cuda_driver.cc:732] failed to allocate 2.75G<PHONE_NUMBER> bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory
2021-11-03 22:46:25.282507: I tensorflow/stream_executor/cuda/cuda_driver.cc:732] failed to allocate 2.48G<PHONE_NUMBER> bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memoryI tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:185] None of the MLIR Optimization Passes are enabled (registered 2)
2021-11-03 22:45:58.919955: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-11-03 22:46:00.946967: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1510] Created device /device:GPU:0 with 2821 MB memory:  -> device: 0, name: NVIDIA GeForce GTX 960M, pci bus id: 0000:01:00.0, compute capability: 5.0
2021-11-03 22:46:25.093703: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1510] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 2821 MB memory:  -> device: 0, name: NVIDIA GeForce GTX 960M, pci bus id: 0000:01:00.0, compute capability: 5.0
2021-11-03 22:46:25.226416: I tensorflow/stream_executor/cuda/cuda_driver.cc:732] failed to allocate 2.75G<PHONE_NUMBER> bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory
2021-11-03 22:46:25.282507: I tensorflow/stream_executor/cuda/cuda_driver.cc:732] failed to allocate 2.48G<PHONE_NUMBER> bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory
Then python crashes, and then the computer freezes, I can only solve it by restarting the computer
Then after installing tensorflow2.4.4, the same situation did not happen
MY CODE:
-- coding: utf-8 --
"""
Created on Sat May 22 18:49:08 2021
@author: A1057
"""
import csv
import tushare as ts
import os
from tensorflow.keras.layers import  LSTM, Dense
from tensorflow.keras.models import Model, Sequential
from tensorflow.keras.optimizers import SGD, Adam
import numpy as np
import pandas as pd
from pandas import DataFrame
import seaborn as sns
from tensorflow.keras.callbacks import EarlyStopping
import matplotlib.pyplot as plt
plt.rcParams['font.sans-serif'] = ['SimHei']  #显示中文4
plt.rcParams['axes.unicode_minus']=False #用来正常显示坐标中的负号
stockcode=['sh','002449','601377','300308','600756','601360','300059','000021','002975']
stocktext=['上证指数','国星光电','兴业证券','中际旭创','浪潮软件','三六零','东方财富','深科技','博杰电子']
riqi= "2010-01-01"
def dataupdate(update):
if update== 1:
for a in range(len(stockcode)):
stock= ts.get_hist_data(stockcode[a],riqi)
stock=stock.sort_values(["date"], ascending=True)
stock.to_csv(stockcode[a]+stocktext[a]+'.csv')
stock.to_csv(stockcode[a]+stocktext[a]+'.txt')
print('数据更新完成')
def data_processing(raw_data,min,max):
return (raw_data-min)/(max-min)
def scale_inv(raw_data,min,max):
return raw_data*(max-min)+min
def makeModel(timesteps, features):
model = Sequential()
model.add(LSTM(16,dropout=0.05,input_shape=(timesteps, features),activation = 'relu', return_sequences = True))
model.add(LSTM(32,activation = 'relu', return_sequences = True))
model.add(LSTM(16,activation = 'relu'))
model.add(Dense(features))
model.compile(loss='mean_squared_error', optimizer='adam')
return model
def forcast(path):
df = pd.read_csv(path+'csv', usecols=[2,4], engine='python')
df['lh/2']=(df['low']+df['high'])/2
step = 60
trainx=DataFrame()
trainy=DataFrame()
for i in range(len(df)-step):
    x=df.loc[i:i+step-1]
    y=df.loc[i+step:i+step]
    trainx=pd.concat([trainx,x],ignore_index=True)
    trainy=pd.concat([trainy,y],ignore_index=True)
min=np.min(np.min(df))
max=np.max(np.max(df))
trainx=trainx.values
trainy=trainy.values
x=data_processing(trainx,min,max)
y=data_processing(trainy,min,max)
x=x.reshape(len(y),step,trainx.shape[1])
model1 = makeModel(step,trainx.shape[1])
EarlyStopping(monitor='val_loss',patience=3)
model1.fit(x, y, epochs = 1000, verbose =1)
dataset=df
for i in range(60):
    d = data_processing(dataset[len(dataset) - step:len(dataset)],min,max).values
    dd=d.reshape(1,step,trainx.shape[1])
    yyp= model1.predict(dd)
    yy=scale_inv(yyp,min,max)
    yyDF = pd.DataFrame(yy, columns = df.columns)
    dataset=pd.concat([dataset,yyDF],ignore_index=True)
plt.figure(figsize=(10,4))
plt.plot(dataset[len(df)-80:] )
plt.plot(df)
plt.grid()
plt.title('{} LSTM股票预测'.format(path))
plt.legend()
plt.grid()
plt.savefig('04'+path +'LSTM价格预测.png', dpi=400, bbox_inches='tight')
plt.show()
dataset[len(dataset)-60:len(dataset)].to_csv('{}股价预测结果.csv'.format(path))
print(dataset[len(dataset)-60:len(dataset)])
print('#############################################################')

def single_oredict(train_X,train_y):
model  =  Sequential()
model.add(LSTM(50, input_shape=(train_X.shape[1], train_X.shape[2])))
model.add(Dense(train_y.shape[1]))
model.compile(loss='mse', optimizer='adam', metrics=['accuracy'])
my_callbacks =   EarlyStopping(monitor='loss', min_delta=0.0001,patience=30 )

#model.fit(train_X, train_y, epochs=3000, batch_size=80, callbacks = my_callbacks,verbose=0, shuffle=False)
model.fit(train_X, train_y, epochs=3000, batch_size=80, verbose=0, shuffle=False)

return model

def generate_data(seq,TIMESTEPS):
X = []#初始化输入序列X
Y = []#初始化输出序列Y
'''生成连贯的时间序列类型样本集，
每一个X内的一行对应指定步长的输入序列，Y内的每一行对应比X滞后一期的目标数值'''
for i in range(len(seq) - TIMESTEPS - 1):
    X.append([seq[i:i + TIMESTEPS]])#从输入序列第一期出发，等步长连续不间断采样
    Y.append([seq[i + TIMESTEPS]])
    '''对应每个X序列的滞后一期序列值'''
return np.array(X, dtype=np.float32), np.array(Y, dtype=np.float32)

def generate_predata(seq):
X = []#初始化输入序列X
X.append(seq)
return np.array(X, dtype=np.float32)
def Datapredict(path):
dd = 20
df = pd.read_csv(path+'csv', engine='python')
#print(df)
df=df['high']
min=np.min(df)
max=np.max(df)
data=data_processing(df,min,max).values
train_X, train_y = generate_data(data,dd)
test_X, test_y = generate_data(data,dd)
model=single_oredict(train_X, train_y)
result = model.predict(train_X, verbose=0)
datalist = data.tolist()
pre_result = []
for i in range(60):
pre_x = generate_predata(datalist[len(datalist) - dd:])
pre_x = np.reshape(pre_x, (1, 1, dd))
pre_y = model.predict(pre_x)
pre_result.append(pre_y.tolist()[0])
datalist.append(pre_y.tolist()[0][0])
all = result.tolist()
all.extend(pre_result)
print(scale_inv(np.array(pre_result),min,max))
plt.figure(figsize=(10,3))
plt.plot(scale_inv(np.array(all),min,max), label='预测数据')
plt.plot(scale_inv(test_y,min,max), label='真实数据')
plt.title('{} LSTM股票预测'.format(path))
plt.legend()
plt.savefig(path +'LSTM价格low预测.png', dpi=400, bbox_inches='tight')
plt.show()
def analysis(path):
stock=pd.read_csv(path+'csv')
stock['low'].plot(legend=True ,figsize=(10,4))
stock['ma5'].plot(legend=True ,figsize=(10,4))
stock['ma10'].plot(legend=True ,figsize=(10,4))
plt.title(' 2019-2020 {}股票价格分布'.format(path))
plt.xlabel('日期')
plt.ylabel('价格')
plt.grid()
plt.savefig('01'+path +'价格分布.png', dpi=400, bbox_inches='tight')
plt.show()
#画布林线
stock['mid']=stock['low'].rolling(10).mean().dropna()
stock['tmp2']=stock['low'].rolling(10).std().dropna()
stock['top']=stock['mid']+2stock['tmp2']
stock['bottom']=stock['mid']-2stock['tmp2']
stock['mid'].plot(legend=True ,figsize=(10,4))
stock['top'].plot(legend=True ,figsize=(10,4))
stock['bottom'].plot(legend=True ,figsize=(10,4))
plt.title('2019-2020 {}  BOLL线'.format(path))
plt.xlabel('日期')
plt.ylabel('价格')
plt.grid()
plt.show()
sns.displot(stock['p_change'].dropna(), kde=True,height=3)
plt.title('2019-2020 {}涨跌幅度分布正态分布'.format(path))
plt.xlabel('涨跌幅度')
plt.ylabel('百分比')
plt.grid()
plt.savefig('02'+path +'涨跌概率密度幅度.png', dpi=400, bbox_inches='tight')
plt.show()
sns.displot(stock['close'].dropna(), kde=True,height=3)
#f=sns.displot(stock['close'].dropna()).get_lines()[0].get_data()
final=stock['close']
finaldf=pd.DataFrame(final)
index=int(len(stock))
finaldata=finaldf.iloc[index-1,0]
plt.axvline(x=finaldata,color='#d46061', linewidth=4)
plt.title('2019-2020 {}价格分布'.format(path))
plt.xlabel('价格分布')
plt.ylabel('百分比')
plt.grid()
plt.savefig('03'+path +'价格概率密度.png', dpi=400, bbox_inches='tight')
plt.show()
bb=stock.iloc[:,[0,1,2,3,4]].describe()
bb.loc['middle']=np.median(stock.iloc[:,[0,1,2,3]])
bb.loc['MAX-MIN']=bb.loc['max']-bb.loc['min']
bb.loc['var变异系数']=bb.loc['std']/bb.loc['mean']
bb.loc['75%-25%']=bb.loc['75%']-bb.loc['25%']
print('#######################'+path+'分析结果##########################################')
print(bb)

######################################################################################3
dataupdate(8)#1使用网络数据，0使用本地数据
for a in range(len(stockcode)):
path= stockcode[a]+stocktext[a]+'.'
analysis(path)
#forcast(path)
Datapredict(path)

I reinstalled version 2.7，add the code“ os.environ['TF_FORCE_GPU_ALLOW_GROWTH'] = 'true'” and after the installation is successful, the computer is stuck when the program is run for the first time. After the forced shutdown and restart, it returns to normal,  but the time taken is about 4 to 5 times that of the 2.4.4 version.

@lindadamama,
As per the second screenshot, it shows that you're using CUDA version 11.5, whereas the tested configurations use CUDA 11.2 for TF 2.7. You can refer here.
Since you're getting OOM error, Can you try reducing the amount of data that you're using and also try reducing the batch size while training?

I just checked it again and it shows that 11.2 is installed

@lindadamama,
Alright, Can you take a look at answers in this  SO thread which discusses about the similar issue? Thanks!

The server of this website may not be in China, I can’t open it temporarily on my computer，Thank you very much for helping to solve the problem

@lindadamama,
Have you got a chance to take a look at the link shared in above comment? Thanks!


Aligning objects to specific normals sets object scale to zero

Tested versions
Reproducible in 4.2.stable and 4.1.1.stable
System information
Godot v4.2.stable - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1070 (NVIDIA; <IP_ADDRESS>13) - AMD Ryzen 7 2700X Eight-Core Processor (16 Threads)
Issue description
Aligning object's Y-axis with collision normal results in scale (0, 0, 0) for specific normals
https://github.com/godotengine/godot/assets/46084870/74521573-962c-4ddd-a9fb-fbedcc6a2b40
Grey mesh (GM) contains the problematic "back wall" face.
Red mesh (RM) works.
Blue mesh (BM) works.
Expected
Changing the object's alignment from GM "floor" face normal to GM "back wall" face normal should rotate the object as expected and maintain scale of 1.
Actual
Changing the object's alignment from GM "floor" face normal to GM "back wall" face normal results in scale of Vector3.ZERO.
Worth Mentioning

Setting scale to Vector3.ONE after alignment reveals the transform is aligned with initial rotation
Alignment from GM "floor" face to BM face works
Alignment from GM "floor" face to any RM face works
Alignment from RM/BM face to GM "back wall" face works. But a subsequent move from GM "back wall" to GM "floor" face will produce scale Vector3.ZERO.
The working BM/RM "back wall" normals show as (0, -0, 1), while the non-working GM "back wall" normal shows as (0, 0, 1)

IMPORTANT: While typing that last point, I came to the realization that the y value float in (0, -0, 1) is truncated. Printing the y-value for the "back wall" normals that align properly results in -0.0000000437114 for BM and -0.00000005960464 for RM. GM is simply 0. All meshes are perfectly aligned in both Blender and Godot, so it seems this discrepancy is occurring elsewhere.
I initially thought the alignment code I'm relying on fails when attempting to align to a perfectly aligned normal, but some of the other normals that alignment works with are perfectly aligned normals 🤔
Steps to reproduce
The grey mesh (GM) contains the seemingly problematic normals. It was created in blender by scaling a cube, deleting the front face, recalculating normals inside, applying all transforms, and exporting as gltf/glb (collider autogenerated with -col suffix). Generating collider separately within Godot makes no difference. Solidifying makes no difference.

The red mesh (RM), while seemingly similar, doesn't contain any problematic normals. It was created in blender by rotating a plane 90 degrees on x-axis, extruding front face, deleting front face, recalculating normals inside, applying all transforms, and exporting as gltf/glb (collider auto-generated with -col suffix).

The blue mesh (BM) is a primitive PlaneMesh made within Godot, collider generated via Mesh > Create Trimesh Static Body.
I'm attempting to align an object to a collision normal with the following function:
func align_with_normal(xform: Transform3D, normal: Vector3) -> Transform3D:
	xform.basis.y = normal
	xform.basis.x = -xform.basis.z.cross(normal)
	xform.basis = xform.basis.orthonormalized()
	return xform

Example usage:
# debug_mesh.top_level = true
# debug_mesh.position = result.position
# var xform = debug_mesh.transform
# debug_mesh.transform = align_with_normal(xform, result.normal)
# ^^^  doesn't make a difference either way  vvv
debug_mesh.global_position = result.position
var xform = debug_mesh.global_transform
debug_mesh.global_transform = align_with_normal(xform, result.normal)

Minimal reproduction project (MRP)
normal_alignment_bug.zip

I made some changes to align_with_normal. Seems to align as expected now.
func align_with_normal(xform: Transform3D, n2: Vector3) -> Transform3D:
	var n1 = xform.basis.y.normalized()
	var cosa = n1.dot(n2)
	if cosa >= 0.99:
		return xform
	var axis = n1.cross(n2).normalized()
	var alpha = acos(cosa)
	return xform.rotated(axis, alpha)

To any future googlers: make sure to set the object's position again after calling align_with_normal to prevent the object being out of place for a single frame.

There's always some level of approximation expected in physics engines, so some values being returned as near-zero when they should technically be zero sounds expected to me.

I searched for a solution to this for hours now.
This worked in the end, but the position is mostly not correct afterwards. Just move the object after alignment and you're dandy.


Scan receipts- After admin approves request with error, RD still present in LHN

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.51-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4418424
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:

Open the App
Start the request money flow > "Scan" receipt
Upload a blurry receipt
Complete the money request flow
While the receipt is scanning - navigate to the request conversation
Manually edit the amount field
Leave the merchant field empty,so it shows an error to "Enter a merchant"
As the admin - Mark the expense as approved

Expected Result:
The red dot is removed from the report preview, from the LHN conversation and the expense details.
Actual Result:
After approval, the red dot is still present in the report preview, the LHN conversation and the expense details.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/115492554/6940c5d7-c9de-466b-9d2c-bcba752d502c

View all open jobs on GitHub

@johncschuster I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

We think that this bug might be related to #wave-collect - Release 1
CC @trjExpensify

Proposal
Please re-state the problem that we are trying to solve in this issue.
The red dot still shows in LHN even after the admin approves the request.
What is the root cause of that problem?
Currently, we check for any smart scan error in all report actions.
https://github.com/Expensify/App/blob/632b1f8d46bac05d5bc4592215156fa8a5044040/src/libs/OptionsListUtils.ts#L504-L506
We will show the error if there a missing fields and the request is not settled yet, but we never check whether it's approved or not.
https://github.com/Expensify/App/blob/632b1f8d46bac05d5bc4592215156fa8a5044040/src/libs/ReportUtils.ts#L5069
What changes do you think we should make in order to solve the problem?

Add the approved state check and don't show the error if it's approved.
&& !isReportApproved(IOUReportID)

We will do the same for report preview.
https://github.com/Expensify/App/blob/632b1f8d46bac05d5bc4592215156fa8a5044040/src/components/ReportActionItem/ReportPreview.tsx#L214

I think this is more violations related. @JmillsExpensify, did we land on removing the RBR on approval but keeping the error in-line within the expense?

Proposal
Please re-state the problem that we are trying to solve in this issue.
After approval, the red dot is still present in the report preview, the LHN conversation and the expense details.
What is the root cause of that problem?
We show the error for policy expense chat in LHN if at least one report preview action or split bill action has smart scan error
https://github.com/Expensify/App/blob/fa6bcc0da0554067dc1169a802b28e796dbf1d8d/src/libs/OptionsListUtils.ts#L504-L507
In this function we missed to check the report is approved or not
https://github.com/Expensify/App/blob/fa6bcc0da0554067dc1169a802b28e796dbf1d8d/src/libs/ReportUtils.ts#L5069
What changes do you think we should make in order to solve the problem?

Add the check !isReportApproved(IOUReportID) here

https://github.com/Expensify/App/blob/fa6bcc0da0554067dc1169a802b28e796dbf1d8d/src/libs/ReportUtils.ts#L5069

After add the check above, with the test steps of the issue, the red dot still appears because the whisper split action that doesn't appear in ReportScreen of admin has error after scanning completely and we don't remove this to the list action need to check.

To fix this case, we should check if the report action is not visible we will return false here
 if ((!ReportActionsUtils.isSplitBillAction(action) && !ReportActionsUtils.isReportPreviewAction(action)) || !ReportActionsUtils.shouldReportActionBeVisible(action, key)) {

https://github.com/Expensify/App/blob/fa6bcc0da0554067dc1169a802b28e796dbf1d8d/src/libs/ReportUtils.ts#L5065-L5067

We should add the check !isReportApproved(IOUReportID) in ReportPreview and MoneyRequestPreviewContext to prevent show the error when it's approved as well.

What alternative solutions did you explore? (Optional)
NA

Thanks for calling out that this is likely related to #wave-control, @trjExpensify! I've added it to the project tracker and raised it in Slack. 👍

Not overdue. I've just triaged this one out.

We should close the issue. It's being handled here instead: https://github.com/Expensify/App/issues/34548


Hyper-V Local: Node cores, ram, disk labels not being set

I just noticed the node related labels are not being set for cluster deployed via HyperVLocalHostingManager.

...same thingish happening with XenServerHostingManager.

I'm going to also rename the PhysicalMachine label and related properties to Hostname.  That makes more sense.

Fixed

Whoops!  PhysicalMachine actually makes sense.  This was being set correctly for XenServer and Local Hyper-V.  I need to revert this one change.

Reverted back to PhysicalMachine


PPO reference

This library looks great -- beautiful work.
The proper reference for PPO is the arxiv paper from my coauthors and me (https://arxiv.org/abs/1707.06347). As acknowledged by Heess et al. in their DPPO paper, their algorithm was based on my github code, which didn't have a corresponding publication at the time.

Hi John,
Glad you liked the framework.
Thanks a lot, we are great fans of your work!
Sorry for the confusion.
It is fixed now in the GitHub repo eb0b57d7fad541e59c9a0fce09ec1a9a6e11ec4b, and should also be fixed at http://coach.nervanasys.com and in the blog post in a day or two.

Great, thanks!


SecretManager broken when running in vscode

vscode 0.10.5
I have a project setup to use secret and if I run the project in VS15 or cmd using "dnx web" work but if I run it from VSCode Command Palette -> dnx:Run Command -> dnx web
I get the following error:
Application startup exception: System.ArgumentNullException: Value cannot be null.
Parameter name: paths
at System.IO.Path.Combine(String[] paths)
at Microsoft.Extensions.Configuration.UserSecrets.PathHelper.GetSecretsPathFromSecretsId(String userSecretsId) at Microsoft.Extensions.Configuration.ConfigurationExtensions.AddUserSecrets(IConfigurationBuilder configuration) at aspnet.Startup..ctor(IHostingEnvironment env) in c:\Users\rspaulino\Documents\vscodeprojects\aspnet\Startup.cs:line 23
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
at Microsoft.AspNet.Hosting.Startup.StartupLoader.LoadMethods(Type startupType, IList`1 diagnosticMessages)
at Microsoft.AspNet.Hosting.Internal.HostingEngine.EnsureStartup()
at Microsoft.AspNet.Hosting.Internal.HostingEngine.BuildApplication()
Hosting environment: Development
Now listening on: http://localhost:5000
Application started. Press Ctrl+C to shut down.
this is line 23: builder.AddUserSecrets();
I have install secretmanager, set a secret, have the proper dependency as I mention this project work and compile when run from VS or command line the issue only happen when it's run from vscode.
here is a link of the example I follow: https://docs.asp.net/en/latest/security/app-secrets.html

I can confirm that the same code on Mac work but on Windows it doesn't.

This issue was moved to OmniSharp/omnisharp-vscode#21


double-beep: Watch aerobase.io

double-beep requests the watch of the watch_keyword aerobase\.io. See the MS search here and the Stack Exchange search here.

aerobase\.io has been seen in 2 true positives, 0 false positives, and 0 NAAs.

Approved by Nisse Engström in Charcoal HQ


[BUG] LAPI Connection refused

Describe the bug 🐛
I am trying to get this plugin working however every time I try to test it by making a request to a service that uses the plugin middleware I get this error:
DEBUG: CrowdsecBouncerTraefikPlugin: 2024/10/27 02:07:13 ServeHTTP:handleNoStreamCache ip:2...1 isBanned:t crowdsecQuery:unreachable url:http://crowdsec.localnet:8089/v1/decisions?ip=2...1&banned=true Get "http://crowdsec.localnet:8089/v1/decisions?ip=2...1&banned=true": dial tcp <IP_ADDRESS>:8089: connect: connection refused

with context
DEBUG: CrowdsecBouncerTraefikPlugin: 2024/10/27 02:07:13 ServeHTTP ip:2...1 isTrusted:false
DEBUG: CrowdsecBouncerTraefikPlugin: 2024/10/27 02:07:13 cache:Get key:2...1
DEBUG: CrowdsecBouncerTraefikPlugin: 2024/10/27 02:07:13 ServeHTTP:Get ip:2...1 isBanned:false cache:miss
DEBUG: CrowdsecBouncerTraefikPlugin: 2024/10/27 02:07:13 ServeHTTP:handleNoStreamCache ip:2...1 isBanned:t crowdsecQuery:unreachable url:http://crowdsec.localnet:8089/v1/decisions?ip=2...1&banned=true Get "http://crowdsec.localnet:8089/v1/decisions?ip=2...1&banned=true": dial tcp <IP_ADDRESS>:8089: connect: connection refused
DEBUG: CrowdsecBouncerTraefikPlugin: 2024/10/27 02:07:13 handleRemediationServeHTTP ip:2...1 remediation:t

I have other bouncers that are registered and work fine.
When I curl from the same host I get following so doesn't seem to be connectivity issue:
{"message":"access forbidden"}
Logs for crowdsec LAPI show the request made using curl but absolutely no requests coming from the plugin itself.
Context 🔎
http:
  middlewares:
    crowdsec:
      plugin:
        crowdsecbouncer:
          enabled: true
          logLevel: DEBUG
          updateIntervalSeconds: 60
          updateMaxFailure: 0
          defaultDecisionSeconds: 60
          httpTimeoutSeconds: 10
          crowdsecMode: live
          crowdsecLapiKey: "k...k"
          crowdsecLapiHost: crowdsec.localnet:8089
          crowdsecLapiScheme: http
          crowdsecLapiTLSInsecureVerify: true
          clientTrustedIPs:
            - <IP_ADDRESS>/24
          remediationHeadersCustomName: cs-remediation
          redisCacheEnabled: true
          redisCacheHost: "redis.localnet:6379"
          redisCachePassword: "z...g"
          redisCacheDatabase: "4"

I've played with the config a bunch so this doesnt reflect everything I've tried just the current state of affairs, no matter what I cant seem to log a request from the plugin to the LAPI
Version (please complete the following information):

OS:  Arch
Traefik version: 3.0.0-rc3
Plugin version: 1.3.5

It was a configuration error.  Don't try to debug things at 4am.


🚀  Implemented ES6 -> Gilt modules transformer for JSX files

Implemented a very basic ES6 Modules to Gilt modules transformer.
It comes with a couple of limitations:

It's limited to only one export per module, and it must be an export default type;
You can't currently import 3rd party libraries straight from the node_modules folder, but you need to have said libraries inside the public/vendor folder (ui-vendor repository)

Other than that, we can start writing our modules (at least the JSX ones) using ES6 syntax, like so:
// src/app-container.jsx
import React from '../vendor/react/react';
import SomeComponent from './component/some-component';

// ... stuff ...

export default AppContainer;

and it will be transformed into a Gilt module like so:
gilt.define('src.react_views.app-container', [
  'vendor.react',
  'src.react_views.component.some-component'
], function (
  React,
  SomeComponent
) {
  var exports = {};

  // ... stuff ...

  exports.default = AppContainer;
  return exports.default;
});

I hope this can help the transition to a new bundling system based on ES6 modules, rather than the current Gilt flavor of RequireJS.

Closing this. Following an internal discussion, I'll open a new PR that adds a separate swig task that would process every module, not only JSX based ones.