WarGames Crashes

I have absolutely zero idea if this is where I should be asking this, but I finally decided to give your WarGames Windows 10 patch a try, and at first all seemed well. However, after trying to put a hacker into a computer center in the second human level, it crashed for the first time, and now it will randomly crash just about any time as I try to get back to the second level. All I can really see is it suddenly spikes my GPU to 100% and then desktops me.

Can you upload your log file?  I will take a look at this when I get a chance.
You could also try disabling Dd7to9 and enabling DDrawCompatExperimental to see if that helps.

I just tested those two changes and it seems they work. I'm not able to do an indepth test as I'm currently working from home and can't exactly play video games just now but I'll post later if I can make it past the second mission.
I wanted to ask though, I don't see a log file anywhere. Where would I find that?

The log file should be called dxwrapper-wargames.log and it should be in the game folder.

Well as far as I can tell your instructions fixed the issue. Was able to get to mission 3 before I had to stop for the night, farther than I've gotten in two decades. Music doesn't work for very long though, but that seems to be the single only issue, so, thank you very very much for the patch and for the fix!

So.. how is it going by now? Everything as it should in the end?

So.. how is it going by now? Everything as it should in the end?

Yes! I played through several missions and it worked perfectly. If any further issues arise I'll let you know but as of right now, everything works well.

I've gone through the fix and am still not able to even launch the game. I'm not sure if I've put the patch files in the wrong place,  but I open the file as an admin, compatibility off, run through the rasterizer and get a black screen, then back to my desktop. Any thoughts as where to start?

Have you tried with the latest update here?  It should be working now without crashing.

This issue should be fixed with the latest release:  https://github.com/elishacloud/dxwrapper/wiki/WarGames

Sorry to necro a dead thread, but I'm now having a new issue?
I actually got this working about 18 days ago, ran just fine, even streamed it via twitch with zero issues.
But today, as I'm trying to help a friend potentially start this thing up, it now refuses to boot for me.
I am running on Windows 11, not Windows 10, which your patch says should work either way, but I'm now stumped. I'm getting a pop up after selecting software rasterizer, that says "An error occurred while starting the game. Please check your installation and setup."

Hoping you can help, cause like I said this was running successfully not even a few weeks ago on the same PC, same everything, but now I'm at a loss.

I don't have Windows 11 to test with.  But you can try the latest build to see if this works:  dxwrapper.zip

I don't have Windows 11 to test with. But you can try the latest build to see if this works: dxwrapper.zip

I am using the latest build of it, it's doing what I described above.

From the log files the build you were using is 35060 23:54:42.650 Starting DxWrapper v1.1.6900.22.  The latest build is v1.1.7109.22.  Did you try the new build I gave you?

Oh snap I didn't realize you sent a direct file. My bad, give me like, half an hour and I'll report back on the results. My apologies.

From the log files the build you were using is 35060 23:54:42.650 Starting DxWrapper v1.1.6900.22. The latest build is v1.1.7109.22. Did you try the new build I gave you?

All right, so tried it with that version you sent. It almost works, but goes to a black screen for a moment, then back to desktop. New log below:

6368 17:17:06.564 Starting DxWrapper v1.1.7072.22
6368 17:17:06.565 Running from: C:\WarGames\dxwrapper.dll
6368 17:17:06.565 Reading config file: C:\WarGames\dxwrapper.ini
6368 17:17:06.565 ASRock B650E PG Riptide WiFi Default string (Desktop)
6368 17:17:06.565 ASRock B650E PG Riptide WiFi Default string (Desktop)
6368 17:17:06.565 NVIDIA GeForce RTX 3080
6368 17:17:06.565 Windows 10 Enterprise 64-bit (10.0.22621)
6368 17:17:06.565 wargames.exe (PID:18012)
6368 17:17:06.569 Environment variable __COMPAT_LAYER = ""
6368 17:17:06.569 WriteMemory::WriteMemory Writing bytes to memory...
6368 17:17:06.569 Disabling High DPI Scaling...
6368 17:17:06.569 Loaded library: user32.dll
6368 17:17:06.569 Loaded library: shcore.dll
6368 17:17:06.569 Setting SingleCoreAffinity...
6368 17:17:06.569 Utils::GetProcessMask Setting CPU mask: 0x2
6368 17:17:06.569 Set exception handler
6368 17:17:06.569 Loaded library: kernel32.dll
6368 17:17:06.569 Finished setting exception handler
6368 17:17:06.569 Loading 'ddraw.dll'...
6368 17:17:06.569 Hooking ddraw.dll APIs...
6368 17:17:06.570 Installing GDI & User32 hooks
6368 17:17:06.570 Loaded library: gdi32.dll
6368 17:17:06.570 Loaded library: d3d9.dll
6368 17:17:06.570 Enabling ddraw wrapper
6368 17:17:06.570 Enabling d3d9 wrapper
6368 17:17:06.570 Loading 'd3d9.dll'...
6368 17:17:06.570 Loaded library: C:\WINDOWS\system32\d3d9.dll
6368 17:17:06.570 Loaded library: winmm.dll
6368 17:17:06.570 Installing memory management hooks
6368 17:17:06.601 Installing messaging hooks
6368 17:17:06.601 Installing display mode hooks
6368 17:17:06.601 Installing registry hooks
6368 17:17:06.601 Installing Win32 hooks
6368 17:17:06.603 DxWrapper loaded!
6368 17:17:06.617 dd_DirectDrawEnumerateA
6368 17:17:06.617 d9_Direct3DCreate9
6368 17:17:06.617 Redirecting 'Direct3DCreate9' ...
6368 17:17:06.656 Creating interface m_IDirect3D9Ex::m_IDirect3D9Ex (02AFE358)
6368 17:17:06.656 m_IDirect3D9Ex::LogAdapterNames Adapter: 0 \.\DISPLAY1 NVIDIA GeForce RTX 3080
6368 17:17:06.656 m_IDirect3D9Ex::LogAdapterNames Adapter: 1 \.\DISPLAY2 NVIDIA GeForce RTX 3080
6368 17:17:06.656 dd_DirectDrawCreate
6368 17:17:06.656 dd_DirectDrawCreateEx
6368 17:17:06.656 Direct3D9SetSwapEffectUpgradeShim Calling 'Direct3D9SetSwapEffectUpgradeShim' ... 0
6368 17:17:06.656 Redirecting 'DirectDrawCreate' IID_IDirectDraw to --> 'Direct3DCreate9'
6368 17:17:06.656 Creating interface m_IDirectDrawX::m_IDirectDrawX (00BC14F8) converting interface from v1 to v9
6368 17:17:06.656 Redirecting 'Direct3DCreate9' ...
6368 17:17:06.659 Creating interface m_IDirect3D9Ex::m_IDirect3D9Ex (02AFE4D8)
6368 17:17:06.677 m_IDirectDrawX::~m_IDirectDrawX (00BC14F8) deleting interface!
6368 17:17:06.677 m_IDirect3D9Ex::~m_IDirect3D9Ex (02AFE4D8) deleting interface!
6368 17:17:06.677 m_IDirectDrawSurfaceX::CleanupSharedEmulatedMemory Deleting 0 emulated surfaces!
6368 17:17:06.677 m_IDirect3D9Ex::~m_IDirect3D9Ex (02AFE358) deleting interface!
6368 17:17:08.037 Direct3D9SetSwapEffectUpgradeShim Calling 'Direct3D9SetSwapEffectUpgradeShim' ... 0
6368 17:17:08.037 Redirecting 'DirectDrawCreate' IID_IDirectDraw to --> 'Direct3DCreate9'
6368 17:17:08.037 Creating interface m_IDirectDrawX::m_IDirectDrawX (00BC14F8) converting interface from v1 to v9
6368 17:17:08.037 Redirecting 'Direct3DCreate9' ...
6368 17:17:08.071 Creating interface m_IDirect3D9Ex::m_IDirect3D9Ex (02A8D708)
6368 17:17:08.084 WndProc::AddWndProc Creating WndProc instance! WND(00050B9C,WarGames,{0,0,639,479})
6368 17:17:08.094 m_IDirectDrawX::CreateD3D9Device Direct3D9 device! 640x480 refresh: 0 format: D3DFMT_X8R8G8B8 wnd: WND(00050B9C,WarGames,{0,0,639,479}) params: {640,480,D3DFMT_X8R8G8B8,1,0,0,1,WND(00050B9C,WarGames,{0,0,639,479}),0,0,D3DFMT_UNKNOWN,0x0,0,0x80000000} flags: 0x46
6368 17:17:08.476 Creating interface m_IDirect3DDevice9Ex::InitDirect3DDevice (06F7A278)
6368 17:17:08.510 Creating interface m_IDirectDrawClipper::m_IDirectDrawClipper (06FE3840)
6368 17:17:08.510 m_IDirectDrawX::CreateSurface2 Primary surface 0x0 dwFlags: 0x21 ddsCaps: 0x238, 0x0, 513
6368 17:17:08.510 Creating interface m_IDirectDrawSurfaceX::m_IDirectDrawSurfaceX (06F8C580) converting interface from v1 to v9
6368 17:17:08.510 Creating interface m_IDirectDrawSurfaceX::m_IDirectDrawSurfaceX (06F8C7F8) converting interface from v1 to v9
6368 17:17:08.510 Creating interface m_IDirectDrawPalette::m_IDirectDrawPalette (06F8CA70)
6368 17:17:08.511 Creating interface m_IDirect3DTexture9::m_IDirect3DTexture9 (06FD49B8)
6368 17:17:08.518 Creating interface m_IDirect3DSurface9::m_IDirect3DSurface9 (06FC65A8)
6368 17:17:08.532 Creating interface m_IDirect3DTexture9::m_IDirect3DTexture9 (06FD4D00)
6368 17:17:08.533 Creating interface m_IDirect3DSurface9::m_IDirect3DSurface9 (06FC6DE8)
6368 17:17:08.534 Creating interface m_IDirect3DVertexBuffer9::m_IDirect3DVertexBuffer9 (06FD4EC8)
6368 17:17:08.581 UnhandledExceptionFilter: exception code=0xc0000005 flags=0 addr=0056AC0B
6368 17:17:08.594 UnhandledExceptionFilter: NOP opcode=  len=2
6368 17:17:08.594 UnhandledExceptionFilter: exception code=0xc0000005 flags=0 addr=0056AC14
6368 17:17:08.594 UnhandledExceptionFilter: NOP opcode=  len=2

Does it change anything with the patch? Or does it start with dgvoodoo?

Here is an update.  I disabled some things that might cause issues on Windows 11:  dxwrapper.zip
If that does not work here are a few other things to try:

Disable any security product you are using.  It could be triggering a false positive on dxwrapper.
Try using only a single monitor or set the monitors up to duplicate the image on both screens.  Some games have issues with dual monitors.
Try disabling high DPI settings.  These can sometime interfere with some games.

Sadly nothing worked from this. I'm really confused why it ran perfectly smoothly that one day and then just... doesn't now. It really doesn't make sense.

Yeah I actually thought of that, and un-installed the update that happened a few days ago. Sadly no go.

If it is not an MS patch then it could be your antivirus update.  Did you try disabling you antivirus before running the game?
The only other thing I can think if is that it could be a corrupted file in the game.  Did you try reinstalling?
If those don't work I will have to spend some time when I have a chance and install Window 11 on a VM and see if it can be reproduced there.

Disabling AV did nothing sadly, still same unhandled exception in the logs and still same black screen back to desktop.
I will try to rip another install from my CD when I get home, but I pulled the same copy from my USB stick I used to move it over to my desktop PC (it doesn't have a disk drive) and tried it there, with no luck. Weirdly enough the installer from the disk refuses to run in windows 11, so I had to install it on my windows 10 system and then steal all the files from it that way via USB.

Take note that sometimes AV don't really shut down 100%.
Pretty much had something identical to your problem happening with spotify, and only after uninstalling bitdefender it got solved.

Take note that sometimes AV don't really shut down 100%. Pretty much had something identical to your problem happening with spotify, and only after uninstalling bitdefender it got solved.

I've only got windows defender on my system since that's really all you need nowadays unless you somehow get a major infection. I disabled everything on it and still no luck even after getting a new install of the game. I'm at a complete loss at this point.

Can you try to log the game with procmon, and see what it tries to look in the instants leading to the error message?

Can you try to log the game with procmon, and see what it tries to look in the instants leading to the error message?

I'm sorry I'm only now seeing this, what is procmon? It's also not giving an error message on the desktop, only in the logs.


Fish caught by Fishing Machine goes straight to the inventory

Hi
I've noticed that while bait chamber is on, things started to go directly to our inventories instead of to the fishing machines.
Terraria: v<IP_ADDRESS>
tModLoader: v2<IP_ADDRESS>

Compatibility issue with Zephyr Fish effect of Pets Overhaul Mod
Fixed https://github.com/ForOne-Club/ImproveGame/commit/f13fe53abd26811342ce71d6acd0f72b8eca1cf2
Will be published to Steam Workshop in next update


Python v2.7 and raven v6.1.0 , server returns 404

Hey there,
I have latest Sentry server 8.20.0, Django 1.11.4, Raven 6.1.0 and Python v2.7.10.
Server isn't the problem as I can send events via curl.
For some reason even cli command  raven test <dsn> returns 404 http error from urllib2.
Url is correct tryed with curl, my first guess would be the body of request or auth is wrong.
As raven cli doesn't return any stacktrace here is what I got from python manage.py raven test  :
Traceback (most recent call last):
  File "/Users/hmilkovi/src/kraken/kwiki/backend/venv/lib/python2.7/site-packages/raven/transport/threaded.py", line 172, in send_sync
    super(ThreadedHTTPTransport, self).send(url, data, headers)
  File "/Users/hmilkovi/src/kraken/kwiki/backend/venv/lib/python2.7/site-packages/raven/transport/http.py", line 43, in send
    ca_certs=self.ca_certs,
  File "/Users/hmilkovi/src/kraken/kwiki/backend/venv/lib/python2.7/site-packages/raven/utils/http.py", line 66, in urlopen
    return opener.open(url, data, timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 469, in error
    result = self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 656, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error
    return self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found

Thx, any info will help.

I can't reproduce this with my any of my tests environments. You can test your environment by creating a bare virtualenv with only raven installed and run raven test <dsn> to help troubleshoot your issue.

@ashwoods yep, I created new  virtualenv.
pip freeze:
contextlib2==0.5.5
raven==6.1.0

raven test :
Using DSN configuration:
<EMAIL_ADDRESS>
Client configuration:
  base_url       : http://sentry.hrvoje.hr
  project        : 18
  public_key     : **********************
  secret_key     : **********************

Sending a test message... Event ID was '6571e9f720f24f3b81c7589de6e05591'
No handlers could be found for logger "sentry.errors"
error!

@hmilkovi You might want to add a handler and set logging to debug. My guess is that the problem lays somehow on your system configuration, and is not a bug, but hard to say without more info.

Oke I tasted it now with free account on https://sentry.io so and it worked.
Thx for all help 👍 . Now I see that maybe there is an issue with self hosted sentry server.


CSV: straight from google docs

If users have a google spreadsheet compliant to OutbreakTSS, then should be able to load that right up via the published URL.
https://github.com/jsoma/tabletop

Other options but they seem earlier in dev so tabletop is probably wiser

And if from excell:
http://uxblog.idvsolutions.com/2012/12/excel-hack-map.html
Can such be done as well in google docs? is that just "link to public data viewer"?


Helper - Play Method Error - Not Play

What kind of issue is this?

[ ] Bug:  When start loading and play the video i have this error here, please help me..
i try everything.. change version.. look at demo.. and nothing

[ ] Toro version:

  implementation 'im.ene.toro3:toro:<IP_ADDRESS>04'     implementation 'im.ene.toro3:toro-ext-exoplayer:<IP_ADDRESS>04'     implementation ("com.google.android.exoplayer:exoplayer:2.9.3") {         exclude group: 'com.android.support'     }

[ ] Android version 9.0

[ ] Device name :A70

[ ] Source code:

` public class ListaCandidatosVH extends RecyclerView.ViewHolder implements ToroPlayer {
    ImageView fullscreen;

    PlayerView playerView;
    ExoPlayerViewHelper helper;
    Uri mediaUri;
    TextView state;
    ImageView img_vol,img_playback;
    boolean isMuted; //to mute/un-mute video (optional)

    private final Playable.EventListener listener = new Playable.DefaultEventListener() {
        @Override public void onPlayerStateChanged(boolean playWhenReady, int playbackState) {
            super.onPlayerStateChanged(playWhenReady, playbackState);
            state.setText(format(Locale.getDefault(), "STATE: %d・PWR: %s", playbackState, playWhenReady));
        }
    };

    public ListaCandidatosVH(View view)
    {
        super(view);

        img_vol = (ImageView) view.findViewById(R.id.img_vol);
        fullscreen = (ImageView) view.findViewById(R.id.fullscreen);
        playerView = (PlayerView ) itemView.findViewById(R.id.playerView);
    }

    @NonNull
    @Override
    public View getPlayerView() {
        return playerView;
    }

    @NonNull
    @Override
    public PlaybackInfo getCurrentPlaybackInfo() {
        return helper != null ? helper.getLatestPlaybackInfo() : new PlaybackInfo();
    }

    @Override
    public void initialize(@NonNull Container container, @NonNull PlaybackInfo playbackInfo) {
        if (helper == null)
        {
            helper = new ExoPlayerViewHelper (container, this, mediaUri);
            helper.addEventListener(listener);

        }
        helper.initialize(container,playbackInfo);
    }

    @Override
    public void play() {
        if (helper != null)
        {
            helper.play();
            helper.setVolume(0f);
            isMuted = true;
        }
    }

    @Override
    public void pause() {
        if (helper != null) helper.pause();
    }

    @Override
    public boolean isPlaying() {
        return helper != null && helper.isPlaying();
    }

    @Override
    public void release() {
        if (helper != null) {
            helper.removeEventListener(listener);
            helper.release();
            helper = null;
        }
    }

    @Override
    public boolean wantsToPlay() {
        return ToroUtil.visibleAreaOffset(this, itemView.getParent()) >= 0.85;
    }

    @Override
    public int getPlayerOrder() {
        return getAdapterPosition();
    }

    void bind(Uri media) {
        this.mediaUri = media;
    }
}
`

LogCat
019-10-14 10:02:03.950 15308-15308/br.com.oneplace E/CustomActivityOnCrash: App has crashed, executing CustomActivityOnCrash's UncaughtExceptionHandler java.lang.NoSuchMethodError: No direct method <init>(Lcom/google/android/exoplayer2/RenderersFactory;Lcom/google/android/exoplayer2/trackselection/TrackSelector;Lcom/google/android/exoplayer2/LoadControl;Lcom/google/android/exoplayer2/drm/DrmSessionManager;)V in class Lcom/google/android/exoplayer2/SimpleExoPlayer; or its super classes (declaration of 'com.google.android.exoplayer2.SimpleExoPlayer' appears in /data/app/br.com.oneplace-9vafVwIM0vqaS0u3JElNeQ==/base.apk!classes56.dex)     at im.ene.toro.exoplayer.ToroExoPlayer.<init>(ToroExoPlayer.java:47)     at im.ene.toro.exoplayer.DefaultExoCreator.createPlayer(DefaultExoCreator.java:118)     at im.ene.toro.exoplayer.ToroExo.requestPlayer(ToroExo.java:153)     at im.ene.toro.exoplayer.PlayableImpl.ensurePlayer(PlayableImpl.java:261)     at im.ene.toro.exoplayer.PlayableImpl.ensureMediaSource(PlayableImpl.java:251)     at im.ene.toro.exoplayer.PlayableImpl.play(PlayableImpl.java:101)     at im.ene.toro.exoplayer.ExoPlayable.play(ExoPlayable.java:47)     at im.ene.toro.exoplayer.ExoPlayerViewHelper.play(ExoPlayerViewHelper.java:108)

@lucazin I think you have figure out the cause about ExoPlayer version. As ExoPlayer 2.10.x is out, i will update this library soon to meet the update.

Thanks!
Em ter, 15 de out de 2019 às 01:38, Nam Nguyen Hoai <
<EMAIL_ADDRESS>escreveu:

@lucazin https://github.com/lucazin I think you have figure out the
cause about ExoPlayer version. As ExoPlayer 2.10.x is out, i will update
this library soon to meet the update.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/eneim/toro/issues/457?email_source=notifications&email_token=AGXVDFUISYCEYWT7NCTESKDQOVCLXA5CNFSM4JAO4T62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBHMG3I#issuecomment-542032749,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGXVDFRCVLL6YHD3ET7T463QOVCLXANCNFSM4JAO4T6Q
.

I am still getting same error. Is there any solution ?


[Math] Add solution to AddDigits

Thank you for your contribution, could you please fix a tiny code style issue?

@soapyigu Of course I can (:

@soapyigu Fixed.

Awesome, thank you!


refactor: externalize frontmatter plugin

@mdit-vue/plugin-frontmatter is built on gray-matter, but wrap the frontmatter / excerpt parsing inside markdown-it rendering workflow, and extract the result to the env.
Also, that plugin supports rendering exerpt to html, but I currently disable it to be consistent with our current behavior.
If this PR is accepted, I think we can go one step further to replace grayMatterOptions with frontmatterOptions, which accepts options for @mdit-vue/plugin-frontmatter (breaking change). Then users could enbale renderExcerpt by themselves.

Thanks. I have invited you to the repo, or rather do you think it's a good idea to maintain this plugin under mdit-vue org?

@antfu Sounds like a good idea. I've changed your role as the owner of @mdit-vue org.


Fix git command

Codecov Report

Merging #134 (f2c835b) into main (79ee13e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #134   +/-   ##
=======================================
  Coverage   80.26%   80.26%
=======================================
  Files          48       48
  Lines        2458     2458
=======================================
  Hits         1973     1973
  Misses        485      485

Continue to review full report at Codecov.

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


shape of feature selection and problems with vlm.perform_PCA()

Hi,
I'm trying to get a first look of the loom file. I have two questions:

the feature selection commands returned me a figure that doesn't look like what was shown in the notebook:
vlm.score_cv_vs_mean(3000, plot=True, max_expr_avg=35)
vlm.filter_genes(by_cv_vs_mean=True)
On my data, it returned a plot the opposite direction as shown on the notebook.

Jupyter notebook i have seems not be able to run vlm.perform_PCA() command. Kernel killed.
I used the standard command lines to import and do normalizations, but didn't have clusters imported yet. Is there something wrong with my data import?

Thanks again for everything.

This is really peculiar, I am looking at the code and I have no clue on what can cause the misbehaviour on your machine.
Why don't you look at the source code of score_cv_vs_mean and try to run the code line by line (substitute self to vlm) in the notebook while inspecting the results?
Check the data matrices is there something strange?

Have you tried to run the example notebook of the Human or mouse data we
provide? Does that work?

I fixed that by running the analysis on the linux system, so I guess it was just the incompatibility for Mac for some reason!
One more quick question. I used the velocyto run command instead of run10x. Is there anyway I can append the attributes (clusters) to the loom file afterwards?
I get this problem when I try to plot the arrows:
'VelocytoLoom' object has no attribute 'colorandum'
Thanks!

I got the plot to work by giving everything the same cluster attribute and run set_cluster. It's looking very promising. Now I just need to figure out how to plot in a meaningful way and the right cluster colors.Thank you so much for all the help and guidance! @gioelelm

@cynthiazhou1005 Could you tell me if you used Anaconda Python when you got the error, and if so, which version? See #104 .

I have the same problem , and I used Anaconda Python which version is Python 3.6.6.What should I do?
Thank you for your attention.
[scatter_dict = {"s": 20, "zorder": -1, "alpha": 0.2, "lw": 0, "c": self.colorandum}
AttributeError: 'VelocytoLoom' object has no attribute 'colorandum']

As specified in #104, this is a problem caused by anaconda's bugged mkl. You may consider installing a conda environment that uses the conda-forge channel, they do not depend mkl using openblas at the backend of their scipy stack, maybe it is enough to do the trick!
This might do the trick
conda config --add channels conda-forge
conda install numpy

(adding conda-forge can also cause conflicts to the working environment so I suggest to run these comands on a new conda environment)

@cynthiazhou1005 I have the same problem. Were you able to fix the issue you had?

[scatter_dict = {"s": 20, "zorder": -1, "alpha": 0.2, "lw": 0, "c": self.colorandum}
AttributeError: 'VelocytoLoom' object has no attribute 'colorandum']

I think this error has really nothing to do with this thread.
Your error just means that the color for each pixel is not set, because the clusters have not been set.
Set cluster or set vlm.colorandum = "k" or a list of color in a format that matplotlib accepts to keep running the code.

Thanks @gioelelm! Could you please provide an example of how we could set the clusters?
If we should cluster the cells using a different tool, how we could integrate the clustering results.
Thank you in advance!

We have a full API guide on velocyto.org, don't esitate to check there for this kind of doubts! In particular when examples notebooks are not enough. You do it by:vlm.set_clusters(clusters)Where clusters needs to be dermined using some clustering algorithm using the vlm.S matrix after applying the usual pre-filtering and normalization steps.

Thank you very much @gioelelm!


Loading failed for the

I would like to integreate a  TinyMCE+Elfinder pair for a new projekt, but it doesn't work at all.
My source code is the following between   Tags, located at the top of my page,  JS includes looks like this:

The warning message is the following (Console + Network Tab):

@Fzoltan87 Please move <script> tags inside <head>.

@Fzoltan87 Please move <script> tags inside <head>.

May i ask, why this is the only solution to make the script work, please ?
Thank you for your answer.

@Fzoltan87 elFinder scans the

@Fzoltan87 elFinder scans the

@Fzoltan87 Please use elFinder's option baseUrl.
const mceElf = new tinymceElfinder({
    baseUrl : './skin/elFinder/',
    // connector URL (Set your connector)
    url: 'php/connector.minimal.php',
    // upload target folder hash for this tinyMCE
    uploadTargetHash: 'l1_lw', // Hash value on elFinder of writable folder
    // elFinder dialog node id
    nodeId: 'elfinder' // Any ID you decide
});

@Fzoltan87 Please use elFinder's option baseUrl.
const mceElf = new tinymceElfinder({
    baseUrl : './skin/elFinder/',
    // connector URL (Set your connector)
    url: 'php/connector.minimal.php',
    // upload target folder hash for this tinyMCE
    uploadTargetHash: 'l1_lw', // Hash value on elFinder of writable folder
    // elFinder dialog node id
    nodeId: 'elfinder' // Any ID you decide
});

okay, thank you.


Create CONTRIBUTING.md, update README.md/install.rst

Create a CONTRIBUTING.md file with a quickstart guide and advice on how to start developing. Most of the information is at the moment in README.md.
Also make sure that the information in doc/install.rst is up to date and in line with README.md and CONTRIBUTING.md

Github website on building a strong community:
https://help.github.com/categories/building-a-strong-community/


Removed the unneeded duplicated client package

Signed-off-by: Krasi Georgiev<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 959702928

0 of 6 (0.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.7%) to 5.559%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/tracker/gasPrice/gasPrice.go
0
1
0.0%

pkg/tracker/index/balancer.go
0
1
0.0%

pkg/tracker/index/index.go
0
1
0.0%

pkg/tracker/index/uniswap.go
0
1
0.0%

pkg/ethereum/mock.go
0
2
0.0%

Totals

Change from base Build 956844782:
0.7%

Covered Lines:
95

Relevant Lines:
1709

💛  - Coveralls


I can not pull down panel on scroll list

when the panel contains a list of items "ListView" is scrollable. It can not be pulled down.
https://github.com/luciano-work/we_slide/assets/14290499/eb8521d1-e389-4df9-b192-e606acca7495

Hi @Faiz-rhm,
Please can you share a small example like this?

I have added  ListView to the panel..


OpenMS depends on deprecated proteomics_datatypes repository

Since most proteomics datatypes are now integrated into galaxy would it be possible to remove the proteomics_datatypes repository as a dependency for openms?
proteomics_datatypes contains some references to old visualisation tools that will cause startup errors like the one referenced in this issue

Done. Thanks Ira!


[DOC] rapids_cython_create_modules() should document the fact that it reads CYTHON_FLAGS

rapids_cython_create_modules() inspects the variable CYTHON_FLAGS. It's not obvious that this specific variable is consulted.
This should probably be documented, or perhaps exposed as an additional argument to rapids_cython_create_modules(). I guess it is supposed to mimic the CMAKE_CXX_FLAGS and friends. But if that is the case, the user might expect to set e.g. CMAKE_CYTHON_FLAGS or CMAKE_CYTHON_FLAGS_DEBUG.

I agree, this would be good to do. If you have a few moments we'd love a contribution! I originally chose CYTHON_FLAGS to match the behavior of the legacy scikit-build's Cython CMake layer, but I'd welcome improvements to that design now that we're pretty much rolling our own Cython invocations. I do hope to eventually switch over to using cython-cmake (and longer-term a native Cython solution) so I'd also be happy to propose any such improvements upstream.


[BUG] eventgen does not work with python 3.8

Describe the bug
Follow the eventgen install document and try to install it with a new created python 3.8 venv.
a lot of errors comes up with command as below, after the switch to a newly created python3.7.5 venv, it works fine:
pip install splunk_eventgen-7.1.0.tar.gz
....
Installing collected packages: lxml, pytest-mock, docutils, jmespath, python-dateutil, botocore, s3transfer, boto3, ujson, pyyaml, httplib2, MarkupSafe, jinja2, pyflakes, pycodestyle, entrypoints, mccabe, flake8, yapf, isort, click, Werkzeug, itsdangerous, Flask, redis, requests-futures, uuid, splunk-eventgen
Running setup.py install for lxml ... error
ERROR: Command errored out with exit status 1:
command: /root/eventgen/dist/eventgen-venv/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-m3thgm4h/lxml/setup.py'"'"'; file='"'"'/tmp/pip-install-m3thgm4h/lxml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-nppa3bp8/install-record.txt --single-version-externally-managed --compile --install-headers /root/eventgen/dist/eventgen-venv/include/site/python3.8/lxml
cwd: /tmp/pip-install-m3thgm4h/lxml/
Complete output (2506 lines):
Building lxml version 4.3.4.
Building without Cython.
Using build configuration of libxslt 1.1.28
Building against libxml2/libxslt in the following directory: /usr/lib64
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/lxml
copying src/lxml/sax.py -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/_elementpath.py -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/builder.py -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/ElementInclude.py -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/init.py -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/usedoctest.py -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/cssselect.py -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/pyclasslookup.py -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/doctestcompare.py -> build/lib.linux-x86_64-3.8/lxml
creating build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/init.py -> build/lib.linux-x86_64-3.8/lxml/includes
creating build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/diff.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/builder.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/init.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/clean.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/formfill.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/defs.py -> build/lib.linux-x86_64-3.8/lxml/html
creating build/lib.linux-x86_64-3.8/lxml/isoschematron
copying src/lxml/isoschematron/init.py -> build/lib.linux-x86_64-3.8/lxml/isoschematron
copying src/lxml/etree.h -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/etree_api.h -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/lxml.etree.h -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/init.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/c14n.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-3.8/lxml/includes
creating build/lib.linux-x86_64-3.8/lxml/isoschematron/resources
creating build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/rng
creating build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl
creating build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/src
creating build/temp.linux-x86_64-3.8/src/lxml
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/root/eventgen/dist/eventgen-venv/include -I/usr/local/include/python3.8 -c src/lxml/etree.c -o build/temp.linux-x86_64-3.8/src/lxml/etree.o -w
src/lxml/etree.c: In function '__Pyx_InitCachedConstants':
src/lxml/etree.c:228068:3: error: too many arguments to function 'PyCode_New'
__pyx_codeobj__90 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__89, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_lxml_etree_pyx, __pyx_n_s_getitem, 95, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__90)) __PYX_ERR(0, 95, __pyx_L1_error)
^
In file included from /usr/local/include/python3.8/compile.h:5:0,
from /usr/local/include/python3.8/Python.h:138,
from src/lxml/etree.c:97:
/usr/local/include/python3.8/code.h:122:28: note: declared here
PyAPI_FUNC(PyCodeObject *) PyCode_New(
^
src/lxml/etree.c:228080:3: error: too many arguments to function 'PyCode_New'
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
A clear and concise description of what happens after doing the reproduce steps.
Screenshots
If applicable, add screenshots to help explain your problem.
Sample files and eventgen.conf file
Please attach your sample files and eventgen conf file
Do you run eventgen with SA-eventgen?
No(No means you run eventgen with pip module mode)
If you are using SA-Eventgen with Splunk (please complete the following information):

OS: [e.g. Windows/Mac OS 10.14]
Browser [e.g. chrome, safari]
Eventgen Version [e.g. 22]
Splunk Version[e.g. 7.1.3]
What other apps you have installed in Splunk etc/apps?

If you are using eventgen with pip module mode (please complete the following information):

python version: 3.8
OS:  centOs 7.6
Virtual Env is used: Yes
Eventgen Version 7.1.0

Additional context
Add any other context about the problem here.

@kenshinxu1 can you pull down the develop branch and see if the issue still exists?


[SPARK-31954][SQL] Delete duplicate testcase in HiveQuerySuite

What changes were proposed in this pull request?
remove duplicate test cases
Why are the changes needed?
improve test quality
Does this PR introduce any user-facing change?
NO
How was this patch tested?
No  test

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ok to test

Test build #123760 has started for PR 28782 at commit c4f9a62.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28384/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28442/
Test PASSed.

have adjusted test case order and rename test result file to look more pretty

Test build #123819 has started for PR 28782 at commit c7b81d2.

Test build #123819 has finished for PR 28782 at commit c7b81d2.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/123819/
Test FAILed.

retest this please

retest this please

Test build #123838 has started for PR 28782 at commit c7b81d2.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28463/
Test PASSed.

Test build #123838 has finished for PR 28782 at commit c7b81d2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/123838/
Test PASSed.

Merged to master, branch-3.0 and branch-2.4.


[feature] allow versioning via S3 paths

Describe the Feature
Allow taskcat upload to handle subpaths in the .project.name key would enable versioning of templates via subpaths.
aws-quickstart-project
├── v1.1
│   ├── templates
│   │   ├── main.template.yaml
│   │   └── nested1.template.yaml
│   └── scripts
└── v1.2
    ├── templates
    │   ├── main.template.yaml
    │   └── nested1.template.yaml
    └── scripts

To Reproduce

Are you testing a QuickStart or Custom template? -> QuickStart
Attach or link a copy of the template if possible (remove any sensitive info) -> https://github.com/aws-quickstart/quickstart-uipath-automation-suite
Provide the parameters that you passed. (remove any sensitive info) -> N/A
How did you install taskcat? (docker or pip3) -> pip3
Are you using a profile, an instance role or  access keys to run taskcat? -> no
Is your AWS environment configured via aws configure? -> yes

Expected behavior
For an existing stack, if a user uses the update-stack functionality, the nested templates are "pulled" or "downloaded" from the S3 bucket.
This means that a main template can be updated using the content at the point of deployment, but it will reference the updated versions during the update-stack process.
Screenshots
andrei@DESKTOP:aws-quickstart-project $ taskcat upload
 _            _             _
| |_ __ _ ___| | _____ __ _| |_
| __/ _` / __| |/ / __/ _` | __|
| || (_| \__ \   < (_| (_| | |_
 \__\__,_|___/_|\_\___\__,_|\__|

version 0.9.30
[ERROR  ] : ValidationError 'aws-quickstart-project/v1' does not match '^[a-z0-9-]*$'

Failed validating 'pattern' in schema['properties']['project']['properties']['name']:
    {'description': 'Project name, used as s3 key prefix when uploading '
                    'objects',
     'examples': ['my-project-name'],
     'pattern': '^[a-z0-9-]*$',
     'type': 'string'}

On instance['project']['name']:
    'aws-quickstart-project/v1'

**Version (Please make sure you are running the latest version of taskcat)

Taskcat Version: 0.9.30

Additional context
Add any other context about the problem here.

For the moment this can be (somewhat) worked around via the -k flag under the upload subcommand.
Ex: taskcat upload -p /path/to/project -k key-prefix-in-s3
With that in mind, I'm hesitant to modify the 'project_nameregex because of the blast radius. However I'm totally open to aproject_version` config key.
Any concerns?

we have a 2 step release process:

Perform a taskcat test run in an AWS dev account, using the config file in the root of the project. This will upload and deploy the current branch, using S3 infrastructure which is internal only. Not interested in versioning this step.
Perform taskcat upload for an external customer audience. This step will upload to public S3 infrastructure.

The "versions" would reside on different branches. I'm open to have some metadata file in each branch, containing the version akin to https://github.com/torvalds/linux/blob/7e57714cd0ad2d5bb90e50b5096a0e671dec1ef3/Makefile#L1-L6 or even dynamically modify the command line or config file during the publishing step

this diagram represent the tree containing both nestedstacks and basic infrastructure objects
our problem statement is:

during update-stack operations, the nested stack templates are downloaded from the S3 buckets and may not be compatible with the initial deployment or with the main template

so we have proposed the above solution which involves versioning on subpaths. we are happy to look at other possible solutions 😁

We are facing similar issue while testing multiple versions with taskcat, is it possible to just fix the regex for name or introduce upload-artifacts-prefix as a new parameter for uploading artifacts ?


design:type wrong for enum values

Describe the bug
In TSC, when you have an enum type, the base enum type is set as design:type.
SWC is setting the enum object itself.
Input code
enum MyEnum {
  x = "xxx",
  y = "yyy"
}

class Xpto {
  @Decorator()
  value!: MyEnum;
}

function Decorator() {
  return function (...args) {};
}

Config
{
  "module": {
    "type": "commonjs"
  },
  "jsc": {
    "target": "es2018",
    "parser": {
      "syntax": "typescript",
      "decorators": true,
      "dynamicImport": false
    },
    "transform": {
      "legacyDecorator": false,
      "decoratorMetadata": true
    }
  }
}

Expected behavior
A clear and concise description of what you expected to happen.
TSC:
__decorate([
    Decorator(),
    __metadata("design:type", String)
], Xpto.prototype, "value", void 0);

SWC:
Reflect.metadata("design:type", typeof MyEnum === "undefined" ? Object : MyEnum)

@kdy1 Any news regarding this issue ? We have a similar problem that's preventing our team from switching to swc. We're using https://github.com/RobinBuschmann/sequelize-typescript and decorators are a problem for us right now.
@Column
status: TProcessingStates;

TSC:
__decorate([
    decorators_1.Groups([{ operation: 'read' }, { operation: 'write' }]),
    sequelize_typescript_1.Column,
    __metadata("design:type", String)
], Collage.prototype, "status", void 0);

SWC:
Reflect.metadata("design:type", typeof _mediaManager.TProcessingStates === "undefined" ? Object : _mediaManager.TProcessingStates)

Switching to swc would be a game changer for our team.

@Exilz I'll fix this soon.
I expect today or tomorrow (It's almost 11 PM here, so...)

Fixed it.
May I list your company on the site as swc user after the migration?

@kdy1 I need to ask the CEO permission but I guess we'd be happy to be listed on the website !
How do I go about testing your fix ? Do I need to build the source myself ? I've never used rust before so I'm not sure where to start.

@Exilz I'm now in progress of publishing. Github actions will publish new version.
Typically it takes about one hour.
Oh. I noticed that github updates text real-time.

@kdy1 thanks a lot for the update. I'm still in the process of refactoring our code, but it looks like we're one step closer to migrating to swc.
However, I noticed a couple of things :

Using enums as the issue stated, it doesn't work if the enum is imported from another file. It compiles properly when the enum is declared in the same file, though.

import { TPublicationStatus } from '../publicationStatus';

class MyClass {

  @Column
   publicationStatus: TPublicationStatus;
}

which compiles to
_dec31 = typeof Reflect !== "undefined" && typeof Reflect.metadata === "function" && Reflect.metadata("design:type", typeof _publicationStatus.TPublicationStatus === "undefined" ? Object : _publicationStatus.TPublicationStatus)

The exact same problem happens using types instead of enums, as in the following exemple :

    @Column
    type: 'reps' | 'time';

which compiles to
 _dec24 = typeof Reflect !== "undefined" && typeof Reflect.metadata === "function" && Reflect.metadata("design:type", void 0)

This is also true when declaring the type separately and not directly in the class.
Should I open a new issue ? Or two ?

I'll just reopen this.
But I'm not sure if knowing a type is enum without evaluating dependencies.
(tsc works by loading all file, while swc and babel work in one-by-one manner)
Evaluating deps is not hard, but I'm not sure about the api change.

@kdy1 I understand what you mean, this is quite a big change for the project as a whole.
However, I guess importing a type or an enum and using it like this is a common usage, right ?
If this isn't implemented, you'd need to document it and make sure people are aware of this because it's quite "sneaky", and the errors it can generate when running your app won't make sense to most people.
Maybe that's something the maintainers need to discuss further.

I don't think it's sneaky. Why it's sneaky?
It is just misunderstanding about the way tools work.

Well, because something that's working within a single file will break when using imports.
Sneaky isn't quite the right word, but it will probably confuse people.

I believe this single file limitation will be a deal breaker for most people interested in SWC.
If SWC can't be a transparent replacement for TSC, there will be just very few use cases where it will be used.

I'm actively working on the type system, which will allow any transforms requiring type informations.
Even though the issue can be fixed by simple hack, I'm not sure if it's correct way to go. It requires lots of opinionated approach.

Would appreciate a simple hack first (or as an option) since type system is a long way to go.

I agree with @sunnylqm, we've been eager to hop on the swc train ever since we've discovered it, but this issue is still a show stopper for us.
@kdy1 Do you have any rough timeline regarding the availability of the type system ? Or maybe the aforementioned hack ?

@Exilz No. I don't have one.

I have questions regarding the issue.
For the context, I want to implement this for the next version but this is fairly complex, mainly due to circular imports.
Also, as it is also used by deno, there are some restrictions in the APIs.
To support it correctly, loader abstraction and a caching layer are required.
So my first question is

Are you guys using spack?

It already have loader abstraction and a caching layer, so it would be easier.
Also, I'm not sure about the api.
The api of swc is designed after babel, which handles one file at a time.
But tsc compiles all dependencies even if the user only passes one file.
I think flags like --deps (and jsc.includeDeps: true in .swcrc) would work.
Does this API seem reasonable?
If not, please feel free to tell me.

@kdy1 We're not using spack. Our setup is fairly simple so using only the CLI is enough for us.
I guess it would be acceptable for you to require people to use your bundler in order to achieve such things as long as it's clearly stated in the documentation.
The deps flag / includeDeps option would be awesome. I'm just wondering if it should be enabled by default.

Is includeDeps equivalent to isolatedModules?

@sunnylqm No. The purpose of the option is to prevent breaking things.
e.g. npx swc src/ should work identically.
But with includeDeps: true, the invocation can be changed to npx swc src/index.ts.

I think the option is enough for tsc mode (or project mode) vs babel mode.
Eventually, I'll add the ability to run babel plugins without modification. (See https://github.com/swc-project/swc/pull/1416)

I've implemented the very basics of multi-file decorator metadata support, but I'm not sure how much I should implement.
Currently, I tested only export enum Foo, and there's no code to support enum Foo with export { Foo }, nor codes for handling circular imports.
How do you guys think about it?

We can try some alpha versions to see if it can solve some problems

@kdy1 hello and thanks for the awesome product!
It works amazing, but we bumped into the same issue with decorator metadata, while trying to adopt SWC in the company.
I see that it's been moved into Blocked by type checker milestone.
Is the type-checking feature has been planned to be implemented in any foreseeable future?
Thanks.

I think this can be fixed without the type checker.
The main problem is internal apis, though.

Does this work for tsc with isolatedmodules?

@kdy1 thanks for the reply.
Just checked, the project has no errors when running tsc with --isolatedModules switch.
With swc though, the decorator metadata for imported enum has been generated in a way that won't work with TypeOrm - throws an error in runtime (the same as specified in the issue).
Of course, if this can be fixed, it will help a great deal to move our project to use swc.
Thanks!

Encountering the same issue with sequelize-typescript, everything else is working perfectly but without Sequelize we can't run the app or @swc-node/jest tests

Encountering the same issue with sequelize-typescript, everything else is working perfectly but without Sequelize we can't run the app or @swc-node/jest tests

See if this typeorm sidestep I made is somehow portable to sequelize. Essentially there were infered enum types that did not work and needed to be explicitly set

Encountering the same issue with sequelize-typescript, everything else is working perfectly but without Sequelize we can't run the app or @swc-node/jest tests

See if this typeorm sidestep I made is somehow portable to sequelize. Essentially there were infered enum types that did not work and needed to be explicitly set

Amazing, this solved all the issues. Somehow tsc infers correct types when building but swc didn't, but by giving explicit types to Sequelize it works without issue. Thank you!

@drFabio

Encountering the same issue with sequelize-typescript, everything else is working perfectly but without Sequelize we can't run the app or @swc-node/jest tests

See if this typeorm sidestep I made is somehow portable to sequelize. Essentially there were infered enum types that did not work and needed to be explicitly set

What solution are you referring to? I do not see anything in this thread. I have the same issues with TypeOrm.

For me it was to explicitly set the types, it seems like there's a problem inferring the type when built with swc, but if I explicitly set them i.e. decorator @Column({ type: DataTypes.STRING }), then it works without issue.
I'm not sure if TypeORM uses a different format but setting the type explicitly in the decorator solved any Sequelize issues.

Just wanna chime in that I ran into what I think is the same issue. I have a multi-project setup where projects A, and B references enums in project C (a shared library) through tsconfig paths. The enums work fine when using ts-loader (webpack) but when switching to SWC and swc-loader the enums are undefined at runtime. This is a bit of a bummer since the speed gains I got from SWC were amazing, but had to switch back to ts-loader for now.
Thank you for all the hard work on this! Looking forward to switching over when this is fixed.

Closing as we are not going to implement project mode of tsc


azp/ci: Rename bazel.yml -> ci.yml

In a follow up i will add another template for bazel specifically and reduce/simplify some code

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

ive done this in a separate step as it will make the diff/s a lot clearer


Add section about destructurung

Relating to decision 2 from Round Table meeting
https://sellics.atlassian.net/wiki/x/SQDbQ

Comment

Test

@qoalu is there any lint rule where we can enforce this in our projects?

@isaquediasm there is a discussion at eslint github for this rule, but I haven't found any that implements the rule

https://github.com/isaquediasm/eslint-plugin-destructure-depth
@qoalu now we do :D


Scala 2.13 and SBT 1.3.10 upgrade

Should resolve #4. Can we do a release?

Unfortunately it's been a while and I don't know how to get CI to work anymore  😞


Compile benchmarks as separate modules and fix broken compilations of executable files

In this PR, i rearranged directories of benchmark modules. You can see what i changed in below. Additionaly, google benchmark is not compatible when our benchmarks is compiled using common shared lib. This is corresponding issue: https://github.com/google/benchmark/issues/1498
FROM :
.
├── CMakeLists.txt
├── include
│   └── moveit_middleware_benchmark
│       └── scenarios
│           ├── scenario_basic_service_client.hpp
│           └── scenario_perception_pipeline.hpp
└── src
    ├── scenario_basic_service_client_benchmark_main.cpp
    ├── scenario_perception_pipeline_benchmark_main.cpp
    └── scenarios
        ├── scenario_basic_service_client.cpp
        └── scenario_perception_pipeline.cpp

15 directories, 27 files

TO :
.
├── CMakeLists.txt
├── include
│   └── moveit_middleware_benchmark
│       ├── scenario_basic_service_client
│       │   └── scenario_basic_service_client.hpp
│       └── scenario_perception_pipeline
│           └── scenario_perception_pipeline.hpp
└── src
    ├── scenario_basic_service_client
    │   ├── CMakeLists.txt
    │   ├── scenario_basic_service_client_benchmark_main.cpp
    │   └── scenario_basic_service_client.cpp
    └── scenario_perception_pipeline
        ├── CMakeLists.txt
        ├── scenario_perception_pipeline_benchmark_main.cpp
        └── scenario_perception_pipeline.cpp

17 directories, 29 files

Hi @sjahr , i am calling you for a review because seems you are only one who can review this PR. If you are willingness to take a look, please take a look, if not, you are free to just click on approve button. Thanks in advance. Btw, CI fails because i have forgotten to give credentials to pull docker image and package is in private. Don't mind.

Heartfelt thank you for your interest


Output as text

Added option to output the simplified relations as text instead of as a dot image.
This can be useful for displaying the relations in another visualisation or doing other operations on the data.

Why is this one closed now?

I guess I pressed a wrong button in my editor.
I can reopen it in a new PR.


Fixed README, config, docs

Fixes #329 #328 + I've removed config, because it is not necessary and fails in enviroments without mix.
You just need to mix hex.publish

@ankhers ping

Sorry about the delay here. Real life has been less than kind recently.
Thank you for the contribution!


Generate servicefabricmesh package

Autogenerated. Matching specification pull request - https://github.com/Azure/azure-rest-api-specs/pull/4131
Found azure-rest-api-specs repository in D:\azure-rest-api-specs
Refreshed D:\azure-rest-api-specs repository successfully
Found specification in D:\azure-rest-api-specs\specification\servicefabricmesh\resource-manager
Copied readme file successfully
Generated content of the new TypeScript readme file successfully
Content saved successfully to D:\azure-rest-api-specs\specification\servicefabricmesh\resource-manager\readme.typescript.md
Updated content of the readme file successfully
Content saved successfully to D:\azure-rest-api-specs\specification\servicefabricmesh\resource-manager\readme.md
Found azure-rest-api-specs repository in D:\azure-rest-api-specs
Refreshed D:\azure-rest-api-specs repository successfully
>>>>>>>>>>>>>>>>>>> Start: "["arm-servicefabricmesh"]" >>>>>>>>>>>>>>>>>>>>>>>>>
Executing command:
------------------------------------------------------------
autorest --typescript --typescript-sdks-folder=D:\azure-sdk-for-js2 --license-header=MICROSOFT_MIT_NO_VERSION D:\azure-rest-api-specs\specification\servicefabricmesh\resource-manager\readme.md --use=D:\autorest.typescript
------------------------------------------------------------
AutoRest code generation utility [version: 2.0.4283; node: v10.11.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
   Loading AutoRest core      'C:\Users\kamip.NORTHAMERICA\.autorest\@microsoft.azure_autorest-core<EMAIL_ADDRESS>(2.0.4289)
   Loading local AutoRest extension<EMAIL_ADDRESS>(D:\autorest.typescript)
   Loading AutoRest extension<EMAIL_ADDRESS>(2.3.51->2.3.51)
INFORMATION: The output folder doesn't contain a pre-existing package.json file to get the package version from.
INFORMATION: Getting the package version for package "arm-servicefabricmesh" from NPM.
INFORMATION: Package doesn't exist on NPM, so setting its initial version to "1.0.0-preview".

Installing dependencies...
>>>>>>>>>>>>>>>>>>> End: "["arm-servicefabricmesh"]" >>>>>>>>>>>>>>>>>>>>>>>>>

Generated servicefabricmesh SDK successfully

I'll regenerate the package with the new name in a separate PR.


1.0.0-rc.1 crashes at runtime when APIPlugin is added but backend does not exist yet

Describe the bug
Amplify 1.0.0-rc.1
When the code adds the APIPlugin but the amplify push has not been made yet (there is no API / backend), the execution crashes.
To Reproduce
Steps to reproduce the behavior:

Create a new project, create the pod, create the DataStore schema and do a codegen
Initialize amplify in your code with

        do {
//            Amplify.Logging.logLevel = .info

            try Amplify.add(plugin: AWSAPIPlugin())
            try Amplify.add(plugin: AWSDataStorePlugin(modelRegistration: AmplifyModels()))

            try Amplify.configure()
            print("Amplify initialized")
...

Expected behavior
No crash
Screenshots
If applicable, add screenshots to help explain your problem.
Environment(please complete the following information):

Amplify Framework Version: 1.0.0-rc.1
Dependency Manager: cocoapod 1.9.2
Swift Version : 5.x

Device Information (please complete the following information):

Device: simulator
iOS Version: 13.x
Specific to simulators:

Additional context
Error in my console :
Amplify initialized
==HUB== HubPayload(eventName: "Amplify.configured", context: nil, data: nil)
Fatal error: API category is not configured. Call Amplify.configure() before using any methods on the category.: file /Users/stormacq/Documents/amazon/code/amplify/amplify-mobile-news-blog/amplify-lib-ios-demo/Pods/Amplify/Amplify/Categories/API/AmplifyAPICategory.swift, line 17
2020-05-22 21:18:04.867104+0200 amplify-lib-ios-demo[28171:4552336] Fatal error: API category is not configured. Call Amplify.configure() before using any methods on the category.: file /Users/stormacq/Documents/amazon/code/amplify/amplify-mobile-news-blog/amplify-lib-ios-demo/Pods/Amplify/Amplify/Categories/API/AmplifyAPICategory.swift, line 17

Line that causes the crash
#6	0x0000000101a6b2d0 in AmplifyAPICategory.plugin.getter at /Users/stormacq/Documents/amazon/code/amplify/amplify-mobile-news-blog/amplify-lib-ios-demo/Pods/Amplify/Amplify/Categories/API/AmplifyAPICategory.swift:17

Error message in the debugger :
Thread 5: Fatal error: API category is not configured. Call Amplify.configure() before using any methods on the category.

I see the same error even after the backend is deployed with auth and api.

I see the same error even after the backend is deployed with auth and api.

I assume you have the API Plugin added at initialization time.
            try Amplify.add(plugin: AWSAPIPlugin())

Does your awsconfiguration.json has an AppSync property ?
Does your amplifyconfiguration.json has an api property ?

Hi @sebsto, yes, I initialise like this in my AppDelegate:
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        // Override point for customization after application launch.
        // Initialize AWSMobileClient singleton
        AWSMobileClient.default().initialize { (userState, error) in
            if let userState = userState {
                print("UserState: \(userState.rawValue)")
            } else if let error = error {
                print("error: \(error.localizedDescription)")
            }
        }

        let apiPlugin = AWSAPIPlugin(modelRegistration: AmplifyModels())
        do {
            try Amplify.add(plugin: apiPlugin)
            try Amplify.configure()
            print("Amplify initialized")
        } catch {
            print("Failed to configure Amplify \(error)")
        }

        return true
    }

awsconfiguration.json does include the AppSync property with
"AppSync": {
        "Default": {
            "ApiUrl": "*",
            "Region": "*",
            "AuthMode": "AMAZON_COGNITO_USER_POOLS",
            "ClientDatabasePrefix": "*"
        }
    }

and amplifyconfiguration.json does include the api property.
"api": {
        "plugins": {
            "awsAPIPlugin": {
                "*": {
                    "endpointType": "GraphQL",
                    "endpoint": "*",
                    "region": "*",
                    "authorizationType": "AMAZON_COGNITO_USER_POOLS"
                }
            }
        }
    }

Amplify 1.0.0-rc1 is unreleased yet, this is just a release candidate, the doc is not published yet.
You do not need to use AWSMobileClient anymore
Have a look at my sample project at https://github.com/sebsto/amplify-mobile-news-blog

I had a feeling that was the case!
I tried with the contents of your AppDelegate and after I sign in with Cognito and use the API I get the same problem as before
2020-05-26 11:23:41.652330+0200 * Fatal error: Authentication category is not configured. Call Amplify.configure() before using any methods on the category.: file /*/amplify-ios-1.0.0/Amplify/Categories/Auth/AuthCategory.swift, line 18

I messaged the team in Discord and I'll wait for 1.0.0 to be released.
Would you be so kind to add a README to your example repo, the iOS one in particular. It looks great btw!

I am writing a blog post for Amplify Mobile 1.0.0 launch, that will be the  missing README :-)
It should not be very long anymore.
Can you check your Auth category is correctly configured ? (you have an Auth property in awsconfiguration.json ? and a 'authproperty inamplify configuration.json` ?)
This is my amplifyconfiguration.json (notice the Auth from awsconfiguration.json is duplicated there, this will be added automatically by amplify CLI when 1.0.0 will be released)
{
    "api": {
        "plugins": {
            "awsAPIPlugin": {
                "amplifyDatasource": {
                    "endpointType": "GraphQL",
                    "endpoint": "https://3sq.appsync-api.eu-west-1.amazonaws.com/graphql",
                    "region": "eu-west-1",
                    "authorizationType": "API_KEY",
                    "apiKey": "da2-cli64d4"
                }
            }
        }
    },
    "auth": {
        "plugins": {
            "awsCognitoAuthPlugin": {
                "UserAgent": "aws-amplify/cli",
                "Version": "0.1.0",
                "IdentityManager": {
                    "Default": {}
                },
                "AppSync": {
                    "Default": {
                        "ApiUrl": "https://3nrsq.appsync-api.eu-west-1.amazonaws.com/graphql",
                        "Region": "eu-west-1",
                        "AuthMode": "API_KEY",
                        "ApiKey": "da2-cli6dd4",
                        "ClientDatabasePrefix": "amplifyDatasource_API_KEY"
                    }
                },
                "CredentialsProvider": {
                    "CognitoIdentity": {
                        "Default": {
                            "PoolId": "eu-west-1:8761f7",
                            "Region": "eu-west-1"
                        }
                    }
                },
                "CognitoUserPool": {
                    "Default": {
                        "PoolId": "eu-west-1_gjqXwlSJs",
                        "AppClientId": "6sk0",
                        "AppClientSecret": "1q157",
                        "Region": "eu-west-1"
                    }
                },
                "Auth": {
                    "Default": {
                        "OAuth": {
                            "WebDomain": "amplify-lib-ios-demo-amplify.auth.eu-west-1.amazoncognito.com",
                            "AppClientId": "6sk0",
                            "AppClientSecret": "1q57",
                            "SignInRedirectURI": "myapp://",
                            "SignOutRedirectURI": "myapp://",
                            "Scopes": [
                                "phone",
                                "email",
                                "openid",
                                "profile",
                                "aws.cognito.signin.user.admin"
                            ]
                        },
                        "authenticationFlowType": "USER_SRP_AUTH"
                    }
                }
            }
        }
    },
    "predictions": {
        "plugins": {
            "awsPredictionsPlugin": {
                "defaultRegion": "eu-west-1",
                "convert": {
                    "translateText": {
                        "targetLang": "fr",
                        "sourceLang": "en",
                        "region": "eu-west-1",
                        "defaultNetworkPolicy": "auto"
                    }
                }
            }
        }
    }
}

The awsconfiguration.json's Auth is a bit scarce.
    "CredentialsProvider": {
        "CognitoIdentity": {
            "Default": {
                "PoolId": "*",
                "Region": "*"
            }
        }
    },
    "CognitoUserPool": {
        "Default": {
            "PoolId": "*",
            "AppClientId": "*",
            "AppClientSecret": "*",
            "Region": "*"
        }
    },
    "Auth": {
        "Default": {
            "authenticationFlowType": "USER_SRP_AUTH"
        }
    },```

And actually `amplifyconfigurtion.json` doesn't have `auth` at all.

It means the Auth category is not correctly setup.
Maybe amplify update auth ? or amplify remove auth and 'amplify add auth` again ?

please ignore the message.  It just means Auth is configured for Cognito only, not Federated single-sign-on.

I removed and redeployed everything but I'm seeing the same error :(

I am afraid I can not help anymore.  Wait for 1.0.0 to be released and try again with a fresh project and the updated CLI

@amuresia and @sebsto 1.0.0 is released and I've verified that it's available in CocoaPods. Can you re-test with the latest version & see if this is still an issue?

I will verify this tomorrow. thanks

This is not fixed in 1.0.0
When adding AWSAPIPlugin() at runtime but before an amplify push, the app is crashing with  :

Thanks for confirming @sebsto
We will work on a fix for this.

I was able to reproduce this. Issue happens when AWSAPICategoryPlugin is added to the project but amplify push was not called. Since amplify push is not called, amplifyconfiguration.json does not contain any configuration for API. Due to this, the following code block is not called:
https://github.com/aws-amplify/amplify-ios/blob/da26991b88f5128d8b0f6bc07c17eb038bc5da03/AmplifyPlugins/API/AWSAPICategoryPlugin/AWSAPIPlugin%2BConfigure.swift#L36
As a result the non-nil value pluginConfig was never assigned a value.

The fix has been released, please try with the latest SDK. Feel free to reach us if you have any concerns.

Hello,  thank you for the follow up.
I just tested this using Amplify 1.0.5 and I confirm this is fixed.

Hello ,
i tried 1.0.0, 1.0.5 and 2.0.0
still i'm facing issues can any one please help me.

@Cretus-iosDev Can you please open a new issue with the relevant logs and problems you are facing.


Log info instead of error for NumberFormatException

Why do we want to log the exception as info instead of warn/error?

Codecov Report

Merging #1242 into master will increase coverage by <.01%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master    #1242      +/-   ##
==========================================
+ Coverage   67.34%   67.34%   +<.01%
==========================================
  Files         772      772
  Lines       37520    37522       +2
  Branches     4915     4916       +1
==========================================
+ Hits        25267    25269       +2
+ Misses      10600    10599       -1
- Partials     1653     1654       +1

Impacted Files
Coverage Δ

...core/query/executor/ServerQueryExecutorV1Impl.java
86.5% <75%> (-1.4%)
:arrow_down:

...re/operator/docvalsets/UnSortedSingleValueSet.java
64.61% <0%> (-4.62%)
:arrow_down:

...time/converter/stats/RealtimeColumnStatistics.java
93.18% <0%> (-4.55%)
:arrow_down:

...ltime/impl/dictionary/DoubleMutableDictionary.java
53.52% <0%> (-4.23%)
:arrow_down:

...ealtime/converter/RealtimeSegmentRecordReader.java
82.35% <0%> (-2.95%)
:arrow_down:

...e/realtime/converter/RealtimeSegmentConverter.java
87.23% <0%> (-2.13%)
:arrow_down:

...ommon/request/helper/ControllerRequestBuilder.java
89.41% <0%> (-1.18%)
:arrow_down:

...manager/realtime/HLRealtimeSegmentDataManager.java
74.58% <0%> (-1.11%)
:arrow_down:

...ata/manager/realtime/RealtimeTableDataManager.java
51.51% <0%> (-1.02%)
:arrow_down:

...lix/core/realtime/PinotRealtimeSegmentManager.java
78.03% <0%> (ø)
:arrow_up:

... and 11 more

Continue to review full report at Codecov.

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

@jfim Because the NumberFormatException is caused by bad query (e.g. select * from table where int_column = "abc"). We should not log warn/error for client wrong behavior. I will add a new Exception type to handle the Bad Request.


Fix KN version in CI and fiw workflow

@gabriel-farache shouldn't https://github.com/parodos-dev/orchestrator-helm-chart/blob/main/charts/orchestrator/templates/tekton-tasks.yaml#L212 be updated as well?

Yes, I did not check all the places... lots of duplicated places here ^^
I'll open another PR

https://github.com/parodos-dev/orchestrator-helm-chart/pull/209


[QUESTION] Set input encoding during upload in Excel class.

Package version, Laravel version
Laravel: 5.4.25
Larave-Excel: ~2.1.0
Expected behaviour
I need to change the input encoding after update, using the excel class approach.
Actual behaviour
Sometimes happen that some value are not correctly encoding.
Steps to reproduce the behaviour
I've a csv file with a price column, with a value like  "10 €", well that symbol are bad decoding, after the file is uploaded.
Any suggestions ?

That's currently not supported for the excel classes. You'll have to use the "default" approach if you need to change input encoding.


Android project can not be created

A Android project can not be created with the current beta version (<IP_ADDRESS>1)
Failed to load asset! Reason: The file "Resource.Designer.cs" can not be found.

duplicate of https://github.com/stride3d/stride/issues/827#issuecomment-730392218

duplicate of https://github.com/stride3d/stride/issues/827#issuecomment-730392218


Log errors that occur when executing vm methods

sometpl.viewmodel
  pwdLength: 0
  setLength: -> pwdLength($pwdField.val().length)

When running this code the console is silent.
But typing ViewModel.findOne('sometpl').setLength() produces Uncaught ReferenceError: pwdLength is not defined.
This error should be shown on runtime.

I get pwdLength is not defined, make a repro.

Yep, seems to be working fine in 3.3.2


Add helper functions to parse error code from error

How to categorize this PR?

/area ops-productivity quality
/kind enhancement
What this PR does / why we need it:
This PR adds helper functions so the extension can use provider-specific regex to parse error code from error.
Which issue(s) this PR fixes:
Part of https://github.com/gardener/gardener/issues/5444
Special notes for your reviewer:
Release note:

NONE

/test pull-gardener-integration

/cc @rfranzke can we add this in 1.59 release?


Bicaws 2102 Merge generated org units with existing org units

To ensure we don't remove any org units that are still in use

Should you bump the version in the pom.xml too?

Should you bump the version in the pom.xml too?

No, the maven package version is picked up from the package.json file https://github.com/ministryofjustice/bichard7-next-data/blob/main/pom.xml#L11

Actually, you may be right, we haven't merged this https://github.com/ministryofjustice/bichard7-next-data/pull/64, although I'm pretty sure the last time I released it was just fine with updating the package.json 🤔


Issue 2:- Add Bottom Navigation Bar Here : Dashboard and Playlist Add/Remove View

Add a bottom navigation bar to the app which includes dashboard and playlist add/remove

Hi, Can I resolve this issue?


DB Size increasing with pruning @ 200

Describe the bug
Pruning is set to 200 which should stop the DB from growing after 3-4 hours. My node has now started to exponentially increase in DB size every 4 hours.
To Reproduce
Run server with pruning at 200
Log
trace_boltdb_increase.zip
Stack Dump
Heap
alloc
Expected behavior
HORNET works correctly
Environment information:

Ubuntu 18.04 8GB 4 Core CX41 with 150GB root filesystem
Version 0.4.0-rc10-7511e71
Go 14.3

Fixed with #451


ref in ts does not support focus()

Version react-textarea-autosize: 8.0.1.
Hi, we are currently using textarea in a typescript react project. Trying to call focus() on the textarea ref component leads to lint returning a type error Property 'focus' does not exist on type 'TextareaAutosize'.
Ref is being used in a functional component pattern:
import Textarea from 'react-textarea-autosize';

function component(){

  const myRef = useRef<Textarea | null>(null);

  return (
    <Textarea
     ref = {myRef}
    />);

Focus is being called on ref with
myRef.current?.focus();
EDIT: On further inspection, this seems to be not a problem with this library. We are currently nesting the TextArea component in a styling layer, which also uses forwardRefs, thereby making the outer TextArea component its inner ref.

What you have imported as Textarea is not a type - I suspect that you have @types/react-textarea-autosize installed where this is defined as a class which is acceptable for TS in types position.
The correct way of using this in v8 is to uninstall @types/react-textarea-autosize if you have it installed and do this:
import * as React from 'react';
import Textarea from 'react-textarea-autosize';

function MyComponent() {
  const myRef = React.useRef<HTMLTextAreaElement>();
  return <Textarea ref={myRef} />;
}


[docs] Return value of CRUD operations

The official docs (https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/crud#update) doesn't say what's the return value of CRUD operations.
For example, in case of update on item, does it throw an error or return null if the object was not found?

@kenptr Thanks for raising this, update throws an error when an object to be updated is not found

This issue tracks updating the docs to reflect this :)

Covered in #773

All return types now documented in tables like this in reference docs: https://www.prisma.io/docs/reference/api-reference/prisma-client-reference#return-type


Update Makefile, remove outdated precompiled version of OSInfo

This is a fix for #714

similar to #691 #697 #698

@Willena can you add .class to .gitignore ? Then it will be good to merge

@Willena can you add .class to .gitignore ? Then it will be good to merge

No problem, I'll do that next week !

@gotson .class has been added to .gitignore

Thanks a lot!


_settings.scss is not watched and not compiled

Hi,
thanks for sharing this efficient and usefull repository for wordpress.
I have a problem : the files .scss of Foundation in the bower_components are not watched and so not compiled everytime i make a change and save it.
i tried to change my gulpfile.js with the code i found on the official foundation 5 page :
gulp.src('./scss/*.scss')
.pipe(sass({
includePaths: ['bower_components/foundation/scss']
}))
.pipe(gulp.dest('./css'));
But it doesn't work.
Could you help me ?
Thanks

Can you share the watch task you're using?

i am using the default gulpfile.js contained in Gromf

Ok, so two things:

Don't modify the source in bower_components directly; copy the _settings.scss file out and commit it directly to the repo.
The watch task will only fire based on changes to the globbed paths (the first param in array of paths to watch). You'll notice the bower_components folder isn't included there, which is why it isn't firing.

Thanks for your answer.
Do you mean to copy the "_settings.scss" file in the "assets/styles" folder ?

Yeah, though I'd probably put it in common. Also make sure it's imported in main.scss.

it works !
THANK YOU !
d–(^ ‿ ^ )z


Add bigobj to msvc compile flags

Adding /bigobj to the compile options fixes an error when trying to compile soci using VS 2019

Thanks for the fix! I wonder if we could do it tests/CMakeLists.txt instead, as it only affects the (huge, due to common-tests.h inclusion) source file there? I imagine using /bigobj has some drawbacks, even if I'm not sure what they're, as otherwise I don't know why it wouldn't be turned on by default.

AFAIK there is not real drawback in enabling /bigobj.

A quick web search finds this SO answer which states that it results in a 2% size penalty for the object files using it. It's not a lot, but, still, why bloat SOCI objects size if it's only needed for the tests?

So I guess it is ok to enable it for all files. Otherwise it must be enabled when needed for each file.

Could it be enabled just in tests subdirectory as I suggested? If yes, this would be just as simple as doing it here and would be completely uncontroversial (who cares about the tests size...). Could you please test if that works? TIA!

I enabled the option only for the tests. If other files show the same issue in the future they need to be added afterwards.
I personally find the 2% size penalty a little exaggerated and it is only for the object files. So basically it is only disk space during compile.
That is the reason why I always use bigobj by default. Because as soon as you start using templates you will hit this issue.

That is the reason why I always use bigobj by default. Because as soon as you start using templates you will hit this issue.

I can only second this statement. This is my approach as well.
Besides, the size of object files should essentially be of no concern on this scale as modern hardware has more than enough disk space to fit in an extra 2% for bigger object files.
The thing that you get for having smaller object files is that you'll eventually run into (seemingly odd) compiler errors eventually :shrug:


Cargo build --package node-template --release failed to compile with error fatal error: 'stdarg.h' file not found

Is there an existing issue?

[X] I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

[X] This is not a support question.

Description of bug
cargo build --package node-template --release, failed to compile with the below error
error: failed to run custom build command for librocksdb-sys v0.6.1+6.28.2
Caused by:
process didn't exit successfully: substrate-node-template/target/release/build/librocksdb-sys-8b687a1cca94619d/build-script-build(exit status: 101)   --- stderr   rocksdb/include/rocksdb/c.h:65:10: fatal error: 'stdarg.h' file not found   rocksdb/include/rocksdb/c.h:65:10: fatal error: 'stdarg.h' file not found, err: true   thread 'main' panicked at 'unable to generate rocksdb bindings: ()', /home/azad/.cargo/registry/src/github.com-1ecc6299db9ec823/librocksdb-sys-0.6.1+6.28.2/build.rs:43:10   note: run withRUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
Steps to reproduce
clone the source code.
git clone --branch latest --depth 1 https://github.com/substrate-developer-hub/substrate-node-template
compile the source code
cargo build --package node-template --release

Abe to resolve the issue by installing clang
Maybe we can add this to the documentation
https://docs.substrate.io/quick-start/


TS-3781: Add the log field "pqsp" (server port)

We already have the server IP available as a field for logging.
This patch adds the server port as well.

looks good to me. to those who know better than I, is zero as a default log value when no port is available standard?

@bgaff  Please review and commit. Also, make sure the mnemonics for this new tag (and TS-3780) are in line with existing standards.


[SupportedTasks] Correct supported task list

Update supported task list here: https://docs.rubrix.ml/en/stable/getting_started/supported_tasks.html

see #1240


Including prior limits in 2D posterior plots

I had a quick question about the functionality of anesthetic. I've been trying to work out how to set prior boundaries on the corner plots produce by the plot_2d method, in the manner of getdist's ranges. I've found that the 2d plotting functions have optional parameters for x and y max and min, but these these wouldn't take multiple values for the different parameters, so I assume I'm using them wrong. I couldn't find an example of this in the plot gallery, so I wanted to ask how I should go about doing this.

In my plots I am currently doing it manually, if this is helpful:
    for i in range(len(paramNames)):
        for j in range(len(paramNames)):
            if i!=j:
                axes[paramNames[i]][paramNames[j]].set_xlim(prior_bounds[i])
                axes[paramNames[i]][paramNames[j]].set_ylim(prior_bounds[j])

If you have only a lower/upper plot change to i<j or i>j (not sure which way around), and you can handle diagonal plots if i==j.

Many thanks @Stefan-Heimersheim. This is indeed a clear approach.
As a minimum working example

from anesthetic import NestedSamples

samples = NestedSamples(root='./tests/example_data/pc')

fig, axes = samples.plot_2d(['x0','x1','x2'])

The following are equivalent pandas-like ways of adjusting a single set of limits
axes.x0.x0.set_xlim(-0.2,0.2)
axes.loc['x0','x0'].set_xlim(-0.2,0.2)
axes.iloc[0,0].set_xlim(-0.2,0.2)

Note that the shared axes means that adjusting one axis adjusts all the corresponding ones (this is particularly useful for zooming in or out of interactive plots).
This means that the pandas equivalent of @Stefan-Heimersheim  's like code is:
xlims = [[0, 0.3], [-0.4, 0], [0, 0.5]]
ylims = [[0, 0.3], [-0.4, 0], [0, 0.5]]

for i, x in enumerate(axes.columns):
    for j, y in enumerate(axes.index):
        axes.loc[y,x].set_xlim(xlims[i])
        axes.loc[y,x].set_ylim(ylims[i])

but in practice this can be accomplished for a square plot by scanning across a single row
for i, lim in enumerate(xlims):
    axes.iloc[0,i].set_xlim(lim)


Issue with deleting proxy from folder.

This function, as I understand it, should check the proxy for valid and removes all invalid ones. And if I don't want these proxies to be checked? I have my own valid proxies, and this function just removes most of them. If I try to remove this function from the code, the script hangs and something strange happens to it (the console does not respond and it cannot be turned off, and the attack continues).

Go to 1301 line and note:

print("downloading {}'s proxy plz wait".format(socktyper))
print ("Number Of Socks%s's Proxies: %s" %(choice,len(proxies)))
check_list(out_file)
ans = str(input("Want to download a proxy?(y/n, defualt=y):"))
print("Please wait, proxies are being downloaded")
if ans == "":
    ans = "y"
if ans == "y":
        print ("Downloading {}'s Please Wait".format(socktyper))
        downloadsocks(choice)
        proxies = open(str(out_file)).readlines()
        check_list(out_file)
        check_sock


Add FAQs section

@aditya-bhaumik
There should be Frequently Asked Questions section in the website.
Could you please assign this issue to me under GSSOC'24 extd and Hacktoberfest'24?

The section has been created but if you notice, it does not match with the UI of the website. If you are willing to change the UI of FAQ page so that it aligns with the others, then i will assign this to you.

@iAmDiksha The section has been created but if you notice, it does not match with the UI of the website. If you are willing to change the UI of FAQ page so that it aligns with the others, then i will assign this to you.

@iAmDiksha its been two days and no reply came so we are closing this issue


navigateBack follows cursor movement in C/C++ and Python

Does this issue occur when all extensions are disabled?: No
Question above is somewhat irrelevant code navigation only works with language specific extension.

VS Code Version:
Version: 1.57.1 (Universal)
Commit: 507ce72a4466fbb27b715c3722558bb15afa9f48
Date: 2021-06-17T13:28:32.912Z (4 days ago)
Electron: 12.0.7
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 20.5.0

I also tried this with insiders build. Same problem.

OS Version:
MacOS Big Sur 11.4

Steps to Reproduce:

Navigate to function or a method.
Move the cursor around to a different function.
Navigate back - navigation will follow cursor movement.

Searching similar issue, I found at least two bug reports:
https://github.com/microsoft/vscode/issues/92669 and https://github.com/microsoft/vscode/issues/29027
Both issues have been resolved. I genuenly wish the problem has been fixed and this is something wrong in my setup.
As a side note, I think there is value having both modes of navigation - i.e. one that ignores cursor movement and one that does not. However, I personally find the mode that ignores cursor movement more useful.
Thank you!

navigateBack follows cursor movement

Yes, for any language. There is no other way of navigation implemented for "Go Back", "Go Forward".
Should this be rebranded as feature request then?

It seems like there are two options:

We say that current behavior is a bug and "Go Back" and "Go Forward" should ignore cursor movement. And perhaps if there is interest in variation that follows cursor movement, we file a feature request. I am personally not interested in variation that follows cursor movement.

We say that current behavior is fine and we need new variation of "Go Back" and "Go Forward" that ignore cursor movement. In this case we need a feature request.

I am curious how people feel about this. Given the other two tickets, it seems that I am not the only person interested in that.
The end goal seems to be having two variations of both commands. What can I do to facilitate this work?

 And want this configuration to accept infinity?

@yume-chan Yes, this seems like a good idea.

Not sure this is something I can do myself, but just in case, instead of waiting for VS code team to fix this, can I submit a patch with a fix myself?


Feat/pick settings from multiplying architecture at init

currently error in console.log:
react-dom.development.js:16227 Uncaught (in promise) Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
    at Object.throwInvalidHookError (react-dom.development.js:16227:1)
    at useContext (react.development.js:1618:1)
    at KaotoEditorApp.tsx:30:41

now it can load the one specified in settings
To do:

in case the provided url is invalid, there is a blank page without details
handle not set value (either use an empty string or fix the framework??)

Error: Cannot read properties of null (reading 'setLoadingFinished')
	at<EMAIL_ADDRESS>(/home/apupier/git/vscode-kaoto/dist/extension/extension.js:2217:29)
	at<EMAIL_ADDRESS>(/home/apupier/git/vscode-kaoto/dist/extension/extension.js:2225:18)
	at Object.receive (/home/apupier/git/vscode-kaoto/dist/extension/extension.js:2082:27)
	at<EMAIL_ADDRESS>(/home/apupier/git/vscode-kaoto/dist/extension/extension.js:1939:33)
	at /home/apupier/git/vscode-kaoto/dist/extension/extension.js:3290:34
	at /home/apupier/git/vscode-kaoto/dist/extension/extension.js:3106:65
	at Array.forEach (<anonymous>)
	at EnvelopeBusMessageBroadcaster.broadcast (/home/apupier/git/vscode-kaoto/dist/extension/extension.js:3106:28)
	at VsCodeKieEditorController.<anonymous> (/home/apupier/git/vscode-kaoto/dist/extension/extension.js:3292:129)

@lordrip any hints what is the correct way to proceed so that the catalogUrl is set/updated in a correct way for React?

@lordrip any hints what is the correct way to proceed so that the catalogUrl is set/updated in a correct way for React?

After checking, I realized there's a missing provider in the KaotoBridge.tsx component, I'm adding it here: https://github.com/KaotoIO/kaoto/pull/1219

@lordrip any hints what is the correct way to proceed so that the catalogUrl is set/updated in a correct way for React?

After checking, I realized there's a missing provider in the KaotoBridge.tsx component, I'm adding it here: #1219

so potentially, rebasing should be enough?

In combination with https://github.com/KaotoIO/kaoto/issues/1227 , it gives:


Kino input field not appearing (bug?)

When I run the following code in a code cell:
Kino.Input.text("Node") |> Kino.render()
Kino.Input.text("Cookie") |> Kino.render()

Kino.nothing()

The output doesn't show the HTML input element of the first Kino.Input:

I was able to replicate that bug with Livebook main, Kino main or Kino 0.12.3 (latest).

Fixed in https://github.com/livebook-dev/livebook/commit/c67095bbe12bcfd8fbc40d88875b343350e2d24f.


[TS] Cannot re-export a type when the --isolatedModules flag is provided

Is this a bug report?
No
Description
Previously I used the following file structure for components:
FooComponent/
|- FooComponent.module.scss
|- FooComponent.tsx
|- index.tsx

In my FooComponent.tsx I'd basically define the following:
export interface IFooComponentProps { /* ... */ }
export function FooComponent(props: IFooComponentProps) { /* ... */ }

Furthermore I'd re-export the types in index.tsx as follows:
export { FooComponent, IFooComponentProps } from "./FooComponent";

Unfortunately CRA does not allow me to disable isolatedModules in the tsconfig.json and the compiler is complaining about re-exporting IFooComponentProps. In my use case I have an IFooComponentProps[] in another file that I am using to dynamically create FooComponents. It seems I have to move my props interface into separate files (especially when I use stateful components) which is just unnecessarily increasing the amount of files.
I'd like to know why CRA is enforcing isolatedModules (even automatically writing it to the config if I remove it manually) and how I may fix my design.

Babel is used to compile typescript, but requires isolatedModules to be true. Typescript won't let you re-export types when isolatedModules is true because of this. There's your explanation at least.

I came across a workaround that is really weird to me. Writing export * from "./FooComponent"; allows me to re-export and use the classes and interfaces once again. It seems arbitrary that this works but it serves its purposes in my case.

I'll add that you can kinda do the same thing by manually exporting an alias to the type. Kinda annoying, and maybe there's a better way, but it's what I'm doing when I need it.
import { SomeType } from "./types";
// export { SomeType };
export type SomeType = SomeType;


upload kml file

Hi,
I am trying to upload a kml file to my map, but it isn´t working. I am using OL4.
My code Source is:
var kmlSource = new ol.source.Vector({
projection: 'EPSG:3857',
text: e.target.result   //my kml file
});
Is something wrong with my source?
Thanks
Nuno

There is no text option on ol.source.Vector, and I doubt that your KML's projection is 'EPSG:3857'. Why don't you configure your ol.source.Vector with the url of the source instead?

Hi,
I would like to configure my ol.source.Vector with the url, but how to get it from my uploaded kml file?
I am using a FileReader. My code is:
        reader.onload = (function (theFile) {
            return function (e) {

                var kmlSource = new ol.source.Vector({
                        url: ???,
                        format: new ol.format.KML()
                });

                loadLayerFromFile(kmlSource);

            };
        })(f);

Thanks,
Nuno


When not able to invest proportionally, its not obvious how to proceed

Its a bit confusing when you cannot invest proportionally that you have to go on the 'Customize my investment' button. Does not feel intuitive, even i was wondering what i need to do. wanted to edit the numbers next to the coins.  Maybe add an info banner or something that if you want to not invest proportionally you have to 'customize' the investment or just go directly to the non proportional invest screen if you cannot invest proportionally

Changed the customize button to primary when proportional is disabled. Added an alert message.
The headline says "Pool tokens in my wallet," not sure about the wanting to edit the numbers statement :)

Haha yea who has time to read text nowadays 🙈