Thread 1 "node" received signal SIGABRT, Aborted.

Created by request from https://github.com/medooze/media-server-node/issues/91
Thread 1 "node" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007f1dcbe74801 in __GI_abort () at abort.c:79
#2  0x00007f1dcbebd897 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f1dcbfeab9a "%s\n")
    at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007f1dcbec490a in malloc_printerr (str=str@entry=0x7f1dcbfe8cba "corrupted double-linked list") at malloc.c:5350
#4  0x00007f1dcbec4ac4 in malloc_consolidate (av=av@entry=0x7f1dcc21fc40 <main_arena>) at malloc.c:4456
#5  0x00007f1dcbecc03b in _int_free (have_lock=0, p=<optimized out>, av=0x7f1dcc21fc40 <main_arena>) at malloc.c:4362
#6  __GI___libc_free (mem=0x54f4150) at malloc.c:3124
#7  0x00007f1dc929cc60 in moodycamel::ConcurrentQueueDefaultTraits::free (ptr=<optimized out>)
    at ../media-server/include/concurrentqueue.h:332
#8  moodycamel::ConcurrentQueue<EventLoop::SendBuffer, moodycamel::ConcurrentQueueDefaultTraits>::destroy_array<moodycamel::ConcurrentQueue<EventLoop::SendBuffer, moodycamel::ConcurrentQueueDefaultTraits>::Block> (count=<optimized out>, p=<optimized out>)
    at ../media-server/include/concurrentqueue.h:3514
#9  moodycamel::ConcurrentQueue<EventLoop::SendBuffer, moodycamel::ConcurrentQueueDefaultTraits>::~ConcurrentQueue (this=0x4972aa0,
    __in_chrg=<optimized out>) at ../media-server/include/concurrentqueue.h:814
#10 EventLoop::~EventLoop (this=0x4972a58, __in_chrg=<optimized out>) at ../media-server/src/EventLoop.cpp:52
#11 0x00007f1dc92a9191 in RTPBundleTransport::~RTPBundleTransport (this=0x4972a40, __in_chrg=<optimized out>)
    at ../media-server/src/RTPBundleTransport.cpp:53
#12 0x00007f1dc925a361 in _wrap_delete_RTPBundleTransport (data=...) at ../src/media-server_wrap.cxx:12563
#13 0x0000000000ec3013 in v8::internal::GlobalHandles::DispatchPendingPhantomCallbacks(bool) ()
#14 0x0000000000ec323a in v8::internal::GlobalHandles::PostGarbageCollectionProcessing(v8::internal::GarbageCollector, v8::GCCallbackFlags)
    ()
#15 0x0000000000effe3a in v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) ()
#16 0x0000000000f00c64 in v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) ()
#17 0x0000000000f0143a in v8::internal::Heap::FinalizeIncrementalMarkingIfComplete(v8::internal::GarbageCollectionReason) ()
#18 0x0000000000f04b17 in v8::internal::IncrementalMarkingJob::Task::RunInternal() ()
#19 0x0000000000bf5d36 in v8::internal::CancelableTask::Run() ()
#20 0x0000000000980e74 in node::PerIsolatePlatformData::RunForegroundTask(std::unique_ptr<v8::Task, std::default_delete<v8::Task> >) ()
#21 0x0000000000982552 in node::PerIsolatePlatformData::FlushForegroundTasksInternal() ()
#22 0x0000000000a6ee8f in uv__async_io (loop=0x264f860 <default_loop_struct>, w=<optimized out>, events=<optimized out>)
    at ../deps/uv/src/unix/async.c:118
#23 0x0000000000a80738 in uv__io_poll (loop=loop@entry=0x264f860 <default_loop_struct>, timeout=156)
    at ../deps/uv/src/unix/linux-core.c:379
#24 0x0000000000a6f7cb in uv_run (loop=0x264f860 <default_loop_struct>, mode=UV_RUN_DEFAULT) at ../deps/uv/src/unix/core.c:364
#25 0x0000000000904525 in node::Start(v8::Isolate*, node::IsolateData*, std::vector<std::string, std::allocator<std::string> > const&, std::vector<std::string, std::allocator<std::string> > const&) ()
#26 0x000000000090272c in node::Start(int, char**) ()
#27 0x00007f1dcbe55b97 in __libc_start_main (main=0x8bbb30 <main>, argc=2, argv=0x7ffc1a7ea438, init=<optimized out>,
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc1a7ea428) at ../csu/libc-start.c:310
#28 0x00000000008bbc65 in _start ()

This one seems different, could you open a new issue instead?
Also, if it is a double free, it would be easy to catch it with asan, could you comment out this line:
https://github.com/medooze/media-server-node/blob/master/binding.gyp#L29
and run the node project again? You will probably need to preload the asan lib:
LD_PRELOAD=/usr/lib/gcc/x86_64-linux-gnu/8/libasan.so node index.js

Also please enable debug logs and send me te lines before the crash

I am not able to reproduce it locally, any change that you could create a small snippet reproducing the issue?

My box has /usr/lib/gcc/x86_64-linux-gnu/7/libasan.so hopefully this isn't a problem. On app start I'm getting this printed:
ubuntu@ip-172-18-0-82:~/media-server$ LD_PRELOAD=/usr/lib/gcc/x86_64-linux-gnu/7/libasan.so /usr/bin/node /home/ubuntu/media-server/app.js
=================================================================
==9798==ERROR: AddressSanitizer: alloc-dealloc-mismatch (operator new vs free) on 0x6030000828a0
    #0 0x7f98fac7e7b8 in __interceptor_free (/usr/lib/gcc/x86_64-linux-gnu/7/libasan.so+0xde7b8)
    #1 0x7f98f0d0e6bd in mp4v2::impl::Enum<mp4v2::impl::itmf::GenreType, (mp4v2::impl::itmf::GenreType)0>::Enum() (/home/ubuntu/media-server/node_modules/medooze-media-server/build/Release/medooze-media-server.node+0x4b36bd)
    #2 0x7f98f0918bb8 in _GLOBAL__sub_I_type.cpp (/home/ubuntu/media-server/node_modules/medooze-media-server/build/Release/medooze-media-server.node+0xbdbb8)
    #3 0x7f98fbb6b732  (/lib64/ld-linux-x86-64.so.2+0x10732)
    #4 0x7f98fbb701fe  (/lib64/ld-linux-x86-64.so.2+0x151fe)
    #5 0x7f98f99ac2de in _dl_catch_exception (/lib/x86_64-linux-gnu/libc.so.6+0x1672de)
    #6 0x7f98fbb6f7c9  (/lib64/ld-linux-x86-64.so.2+0x147c9)
    #7 0x7f98fa99cf95  (/lib/x86_64-linux-gnu/libdl.so.2+0xf95)
    #8 0x7f98f99ac2de in _dl_catch_exception (/lib/x86_64-linux-gnu/libc.so.6+0x1672de)
    #9 0x7f98f99ac36e in _dl_catch_error (/lib/x86_64-linux-gnu/libc.so.6+0x16736e)
    #10 0x7f98fa99d734  (/lib/x86_64-linux-gnu/libdl.so.2+0x1734)
    #11 0x7f98fa99d050 in dlopen (/lib/x86_64-linux-gnu/libdl.so.2+0x1050)
    #12 0x7f98fabedc58  (/usr/lib/gcc/x86_64-linux-gnu/7/libasan.so+0x4dc58)
    #13 0x8face3 in node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&) (/usr/bin/node+0x8face3)
    #14 0xb8dfee in v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) (/usr/bin/node+0xb8dfee)
    #15 0xb8eb58 in v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) (/usr/bin/node+0xb8eb58)
    #16 0x3b8684edbe1c  (<unknown module>)

0x6030000828a0 is located 0 bytes inside of 17-byte region [0x6030000828a0,0x6030000828b1)
allocated by thread T0 here:
    #0 0x7f98fac80458 in operator new(unsigned long) (/usr/lib/gcc/x86_64-linux-gnu/7/libasan.so+0xe0458)
    #1 0x7f98f0d0e8a0 in mp4v2::impl::Enum<mp4v2::impl::itmf::GenreType, (mp4v2::impl::itmf::GenreType)0>::Enum() (/home/ubuntu/media-server/node_modules/medooze-media-server/build/Release/medooze-media-server.node+0x4b38a0)
    #2 0x7f98f0918bb8 in _GLOBAL__sub_I_type.cpp (/home/ubuntu/media-server/node_modules/medooze-media-server/build/Release/medooze-media-server.node+0xbdbb8)
    #3 0x7f98fbb6b732  (/lib64/ld-linux-x86-64.so.2+0x10732)

SUMMARY: AddressSanitizer: alloc-dealloc-mismatch (/usr/lib/gcc/x86_64-linux-gnu/7/libasan.so+0xde7b8) in __interceptor_free
==9798==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0
==9798==ABORTING

If i supply the option to ignore that error I'm getting it crash out earlier now.
Thread 1 "node" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007f4010074801 in __GI_abort () at abort.c:79
#2  0x00007f40100bd897 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f40101eab9a "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007f40100c490a in malloc_printerr (str=str@entry=0x7f40101ec870 "double free or corruption (out)") at malloc.c:5350
#4  0x00007f40100cbe75 in _int_free (have_lock=0, p=0x60800002b590, av=0x7f401041fc40 <main_arena>) at malloc.c:4278
#5  __GI___libc_free (mem=0x60800002b5a0) at malloc.c:3124
#6  0x00007f40077eedc4 in DTLSConnection::SetRemoteFingerprint (this=this@entry=0x61d000067400, hash=hash@entry=DTLSConnection::SHA256,
    fingerprint=fingerprint@entry=0x60800002b7a0 "67:39:F8:85:4E:3B:33:8C:B0:48:26:CD:04:D3:8B:8B:76:9A:23:9A:35:F8:A9:1C:02:CB:E4:AB:FD:9C:0F:AB")
    at ../media-server/src/dtls.cpp:614
#7  0x00007f40077605e0 in DTLSICETransport::SetRemoteCryptoDTLS (this=this@entry=0x61d000067280, setup=<optimized out>, hash=hash@entry=0x60800002b6f0 "sha-256",
    fingerprint=fingerprint@entry=0x60800002b7a0 "67:39:F8:85:4E:3B:33:8C:B0:48:26:CD:04:D3:8B:8B:76:9A:23:9A:35:F8:A9:1C:02:CB:E4:AB:FD:9C:0F:AB")
    at ../media-server/src/DTLSICETransport.cpp:1367
#8  0x00007f4007752c26 in RTPBundleTransport::AddICETransport (this=<optimized out>, username="8b20f1e1fd6a0382:sZSX", properties=...)
    at ../media-server/src/RTPBundleTransport.cpp:96
#9  0x00007f400760ffc9 in _wrap_RTPBundleTransport_AddICETransport (args=...) at ../src/media-server_wrap.cxx:12310
#10 0x0000000000b8dfef in v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) ()
#11 0x0000000000b8eb59 in v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) ()
#12 0x00001076566dbe1d in ?? ()
#13 0x00001076566dbd81 in ?? ()
#14 0x00007fff1981b3f0 in ?? ()
#15 0x0000000000000006 in ?? ()
#16 0x00007fff1981b4d8 in ?? ()
#17 0x00001076566918d5 in ?? ()
#18 0x00001bbaee0826f1 in ?? ()
#19 0x00003583af74f8f1 in ?? ()
#20 0x0000000700000000 in ?? ()
#21 0x00001bbaee082801 in ?? ()
#22 0x00003d95e61bf109 in ?? ()
#23 0x00003d95e61c2491 in ?? ()
#24 0x00001948a6219971 in ?? ()
#25 0x00003d95e61bd7b1 in ?? ()
#26 0x00003583af779981 in ?? ()
#27 0x00003d95e61bd7b1 in ?? ()
#28 0x00003d95e61c2491 in ?? ()
#29 0x00003d95e61c2449 in ?? ()
#30 0x00003583af74f8f1 in ?? ()
#31 0x00003d95e61bef69 in ?? ()
#32 0x00002c71df4368e9 in ?? ()
#33 0x00003d95e61bf109 in ?? ()

Your logs give this:
[0x7f4012564cc0][1563795559.116][LOG]-RTPBundleTransport::AddICETransport [8b20f1e1fd6a0382:sZSX]
[0x7f4012564cc0][1563795559.116][LOG]-RemoteRateEstimator adding stream [ssrc:0]
[0x7f4012564cc0][1563795559.116][LOG]-DTLSConnection::SetSRTPProtectionProfiles() [profiles:'']
[0x7f4012564cc0][1563795559.116][LOG]-DTLSICETransport::SetLocalSTUNCredentials() | [frag:8b20f1e1fd6a0382,pwd:d05783380fe9125f4f05c8b1d8ebc248fa207e1383ef33b0]
[0x7f4012564cc0][1563795559.116][LOG]-DTLSICETransport::SetRemoteSTUNCredentials() |  [frag:sZSX,pwd:T0glNevTztP3JtT5sDCrXUOG]
[0x7f4012564cc0][1563795559.116][LOG]-DTLSICETransport::SetRemoteCryptoDTLS | [setup:actpass,hash:sha-256,fingerprint:67:39:F8:85:4E:3B:33:8C:B0:48:26:CD:04:D3:8B:8B:76:9A:23:9A:35:F8:A9:1C:02:CB:E4:AB:FD:9C:0F:AB]
[0x7f4012564cc0][1563795559.116][LOG]-DTLSConnection::SetRemoteSetup() | [remote:2]
double free or corruption (out)

I've not managed to get a sample project for this - do you still think you need one?

I cannot reproduce the issue, and the logs doesn't provide much info of what could be happening. I will investigate it end of next week,  but without the sample project i may not find much.
Is the seg fault resproducible in a reliable way on your side or it is random?

I can reproduce it reliably with our server code when benchmarking large amounts of connections, I'm not allowed to give this code out though.
I will try to cut it down to something I can package.

could you check if it's associated to the number of connections or to the running time? First sold mean a problem in object setup,  while the second a problem in media handling.
What media server objects are you using in your project?  which load are you testing with?  codecs?

could you check if it's associated to the number of connections or to the running time? First sold mean a problem in object setup,  while the second a problem in media handling.
What media server objects are you using in your project?  which load are you testing with?  codecs?

could you check if it's associated to the number of connections or to the running time? First sold mean a problem in object setup,  while the second a problem in media handling.
What media server objects are you using in your project?  which load are you testing with?  codecs?

could you check if it's associated to the number of connections or to the running time? First sold mean a problem in object setup,  while the second a problem in media handling.
What media server objects are you using in your project?  which load are you testing with?  codecs?

ping

Apologies, I have been on holiday - I will try to get this done this week.

me too, so no problem at all .. :)

Having issues reproducing this on my development machine. We use Ubuntu as our servers. The connections are single track audio opus.
Load testing is creating many RTP streamer objects. Those objects have active incoming RTP streams which are attached to many transports for broadcasting to clients.
My testing consists of running the server and then running multiple copies of a JS webpage to connect up the WebRTC to media-server.
I'm starting to wonder if its the environment it's running on.

This was my problem. I believe I wasn't stopping endpoints before they were freed. Masked and compounded by a rather annoying race condition.


Native admin panel

Clear and concise description of the problem
A pre-built admin panel for bootstrapping applications more quickly.
Suggested solution
An admin panel should come with the following features:

a users table with built-in crud functionality (using @stacksjs/tables)
GUI for permissions/roles
reports? analytics?
uptime tracking?
deployment tools & information
being able to edit configs
link to the docs

and more.
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

The Queue UI should be part of a native admin panel: https://github.com/stacksjs/stacks/issues/228


use a helper for volumes and mounts

Great reduction of duplication. Could we move this to another helper file, something like _volume_helper.tpl ? the helper file is pretty big as is and it would make those pieces a bit more readable.


Update Dockerfile to let tgcrypto build

Added gcc install

Don't know about gcc need to reffer it...thanks for pulling it

I do not know if it is related to arm architecture.

Yes got it gcc for c type language we are using python interpreter it's not required but we still use c based libraries for pyrogram making it faster and other to...!
Most of the system its pre-installed anyway I had added to the dockerfile thank you !


rendering callouts

Trying to render callout like:
:doctype: book
:source-highlighter: pygments

[source,ruby]
----
print 'hello' # <1>
----
<1> first callout

Rendering with built-in fonts I see:
The following text could not be fully converted to the Windows-1252 character set:
| ①
and the PDF doesn't show the right symbol.
Overwrote theme (using http://font.ubuntu.com/) :
base:
  font_family: Ubuntu

font:
  catalog:
    Ubuntu:
      normal: Ubuntu-R.ttf
      bold: Ubuntu-B.ttf
      italic: Ubuntu-RI.ttf
      bold_italic: Ubuntu-BI.ttf
  fallbacks: [Ubuntu]

but still saw the same warning and PDF still incorrect.
Added the override for code section (why is this needed when base already set?):
code:
  font_family: $base_font_family

Now the warning is gone, but the PDF is still incorrect (shows empty rectangle for the callout).
Is there a way to force UTF-8 used? Am I to use different fonts to get this work?
Thanks

If you ever get this message:

The following text could not be fully converted to the Windows-1252 character set:

It means for a certain chunk of text, Prawn is not using a TTF font. Prawn only supports UTF-8 when you are using a TTF font. The built-in fonts in PDF do not support UTF-8. See https://github.com/asciidoctor/asciidoctor-pdf/blob/master/docs/theming-guide.adoc#fonts for details.

Overwrote theme using Ubuntu. Now the warning is gone, but the PDF is still incorrect (shows empty rectangle for the callout).

Callouts numbers are special because they require UTF-8 glyphs that most fonts do not have (including Ubuntu). In the default theme, we have included these glpyhs in the subsetted font file for M+ 1mn, as indicated by this line: https://github.com/asciidoctor/asciidoctor-pdf/blob/master/data/themes/default-theme.yml#L11.
You have three choices right now.

You can either use the M+ 1mn font that we made:

https://github.com/asciidoctor/asciidoctor-pdf/blob/master/data/fonts/mplus1mn-regular-ascii-conums.ttf

You can use a tool like fontforge to add the conum glpyhs to the font file you want to use (copying them from some other font, such as M+ 1mn).

The Unicode range for the conums is U+2460 - U+2473.

You can define a fallback font that has the necessary glyphs (a good choice is VLGothic).

The reason this is complicated traces back to the fact that PDF has a "bring your own font" policy. If you don't provide the font that contains all the glyphs the content needs, you get a square box (or some other placeholder). PDF does not reach into the system fonts to resolve glyphs like a web browser. We take this for granted since most systems provide a fallback font that has every known glyph, which the browser makes use of.
One of the things we are planning to do is make the range of conums glyphs configurable. See #133.

Based on your directions, I configured M+ 1mn for code and conum. Thanks
I still have my initial question, why did the out-of-configuration fail formatting the callouts?

I still have my initial question, why did the out-of-configuration fail formatting the callouts?

Are you sure you were using the default theme at the time?

I did have a custom theme configured with title and footer configurations, but without font, code or conum overrides.

The problem is, if you have a custom theme, you have to specify everything. Otherwise, it defaults to using the PDF fonts (which are just useless). We're still sorting out how to make this easier (that's why we're still in alpha).
In short, the recommendation right now is to either use the built-in theme or develop a full theme with fonts included. It does take a bit of effort to setup, but once you create our own theme, then you really get a chance to fine tune a lot of things.

The problem is, if you have a custom theme, you have to specify everything.

...well, mostly everything. We do have a very basic theme that provides some framing, but it does not provide fonts.

For now, I think we could do a better job explaining this in the theming guide.

Could fonts be defaulted to "standard theme" fonts when using a custom theme (instead of the PDF fonts)?
https://github.com/asciidoctor/asciidoctor-pdf/pull/410

Unfortunately, not really. That's kind of what the default theme is for. The "bring your own font" requirement of PDF means we have to carry around a full set of fonts (or at least one for sans-serif and one for monospace).
I think the real solution here is theme inheritance. This lets you inherit from either the base theme or the default theme, then start building from there. See #367.

Btw, it is possible to refer to the fonts provided by the default theme without having to copy them to your project. The tricky part is when you specify your own fonts because there can only be one font directory right now. As soon as you add a single font, you have to provide them all.

We'll address how to use callouts with a custom monospaced font in #377.


I always get an error

Warning! Song will not be downloaded because URL could not be found after ten tries

Thank you for bringing up this issue. The program has been updated and the errors should be resolved now.

Still not working , sorry 🤷♂


Scalding jobs fail with object has no attribute 'reducer'

Runtime error:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/luigi/worker.py", line 229, in _run_task
task.run()
File "/usr/lib/python2.6/dist-packages/luigi/hadoop.py", line 507, in run
self.job_runner().run_job(self)
File "/usr/lib/python2.6/dist-packages/luigi/scalding.py", line 180, in run_job
arglist += ['-D%s' % c for c in job.jobconfs()]
File "/usr/lib/python2.6/dist-packages/luigi/hadoop.py", line 478, in jobconfs
if self.reducer == NotImplemented:
AttributeError: 'UserVectorArtistAggregate' object has no attribute 'reducer'

I'm closing this issue.

[x] It has been inactive for +4 months.
[ ] It's not about luigi core, so not as many users are affected about this.
[ ] The change seems quite big, it's unlikely to be sporadically picked up.
[ ] The owner haven't responded or disappeared.
[ ] I don't understand what this issue is about.
[ ] There exists a reasonable workaround for this.
[ ] We need to check if this hasn't been fixed by now (for old issues).
[ ] This is kind of by design and not a bug.
[ ] Resolving this would probably add a lot of complexity.

Every open issue adds some clutter, and we try to make the issues fewer and make it easier for new collaborators to find. Currently we try to close any issue that meets the first checkbox + one other.
Feel free to reopen this issue at any point if you have the intent to continue to work this. :)


Adds geothermal technology to TEMOA's model

This PR addresses #132 by adding a geothermal technology GEOT to the model.
Here is the figure of the new model:

@yardasol let me know if you have already created a scenario 11, if that's the case, this PR will hinder your work.
In that case, I will postpone this PR for later.
@samgdotson a few things:

GEOT converts ELC to USTM, should the MinActivity be in electric or thermal GWh?
Same question for CapacityToActivity and ExisistingCapacity.
snakemake runs and produces several figures. To see the GEOT generation I added GEOT to ind_techs. And this is the result:

I guess I should add an entry in the table MaxActivity.

Does the sector in the table technologies matter? I set the sector of GEOT to be electric. Should it be industrial?

Interestingly, this PR doesn't let me put @samgdotson as a reviewer. Other PRs let me, but this one doesn't. I am confused.
I believe @samgdotson you can still review this PR.

Interestingly, this PR doesn't let me put @samgdotson as a reviewer. Other PRs let me, but this one doesn't. I am confused.
I believe @samgdotson you can still review this PR.

@yardasol let me know if you have already created a scenario 11, if that's the case, this PR will hinder your work.
In that case, I will postpone this PR for later.

I have started a scenario 11 .sql file and am filling in the fixed cost table.

@yardasol let me know if you have already created a scenario 11, if that's the case, this PR will hinder your work.
In that case, I will postpone this PR for later.

I have started a scenario 11 .sql file and am filling in the fixed cost table.

It's very odd that I can't be added as a reviewer.
Some other thoughts:

Land use requirements (area per unit capacity)
Fixed Costs
Investment costs
variable cost (zero because it uses electricity produced on campus).

Also, we don't want to artificially limit or force Temoa to do certain things. We aren't trying to evaluate the proposed iCAP transitions, but rather determining what an ideal transition would look like.

It's very odd that I can't be added as a reviewer.
Some other thoughts:

Land use requirements (area per unit capacity)
Fixed Costs
Investment costs
variable cost (zero because it uses electricity produced on campus).

Also, we don't want to artificially limit or force Temoa to do certain things. We aren't trying to evaluate the proposed iCAP transitions, but rather determining what an ideal transition would look like.

I added CostInvest,  CostFixed, and LandUse calculations to a jupyter notebook.
I am not sure about the following:

CostFixed: The original formula includes the labor cost of operating the plant. I think we should be careful about that. If @yardasol included that in his numbers, then we should consider it, and if he didn't, then we shouldn't. I am not sure if we should consider it anyway, cause I am assuming that all the plants probably have more or less the same labor cost. So if UIUC deploys a geothermal plant or something else, the cost won't change considerably. It makes sense in my head. What do you think @samgdotson?
LandUse: First, the geothermal plant has a land-use requirement associated with the plants and also the well-field where the boreholes are. However, the boreholes are located under the ground. How far underground, I am not sure. So I don't know if it limits the construction of buildings or not above them. Maybe I should look into that a bit more. If it is possible to construct above the well-field, then I wouldn't consider that land-use requirement. If it is not possible to construct anything above the well-field, then I should consider those numbers. The current numbers in the Jupyter notebook don't consider the land-use requirement of the boreholes. Second, Temoa doesn't have any tables for the land-use requirements, is that the contribution you were talking about @samgdotson?

I added CostInvest,  CostFixed, and LandUse calculations to a jupyter notebook.
I am not sure about the following:

CostFixed: The original formula includes the labor cost of operating the plant. I think we should be careful about that. If @yardasol included that in his numbers, then we should consider it, and if he didn't, then we shouldn't. I am not sure if we should consider it anyway, cause I am assuming that all the plants probably have more or less the same labor cost. So if UIUC deploys a geothermal plant or something else, the cost won't change considerably. It makes sense in my head. What do you think @samgdotson?
LandUse: First, the geothermal plant has a land-use requirement associated with the plants and also the well-field where the boreholes are. However, the boreholes are located under the ground. How far underground, I am not sure. So I don't know if it limits the construction of buildings or not above them. Maybe I should look into that a bit more. If it is possible to construct above the well-field, then I wouldn't consider that land-use requirement. If it is not possible to construct anything above the well-field, then I should consider those numbers. The current numbers in the Jupyter notebook don't consider the land-use requirement of the boreholes. Second, Temoa doesn't have any tables for the land-use requirements, is that the contribution you were talking about @samgdotson?

About the LandUse, BSU built above the boreholes recreational fields and parking lots, which means that the surface area above the boreholes is usable after their installation. I can include them in the calculations anyway so we have a more conservative estimation.

About the LandUse, BSU built above the boreholes recreational fields and parking lots, which means that the surface area above the boreholes is usable after their installation. I can include them in the calculations anyway so we have a more conservative estimation.

About the LandUse, BSU built above the boreholes recreational fields and parking lots, which means that the surface area above the boreholes is usable after their installation. I can include them in the calculations anyway so we have a more conservative estimation.

Temoa does not have specific tables for land requirements. Land use is an interesting but difficult thing to make sharp statements about because, like you mention, it might have multiple uses. The land above the boreholes might be used for crops, solar panels can be raised to allow for farming as well. Wind turbines have a similar story. We are simply reporting the amount of land that is required for each energy source -- not remarking on all of the possible uses for this land. Does that make sense?
@yardasol should indicate what is being counted in the fixed cost. I agree that we need to be consistent across all energy sources.

About the LandUse, BSU built above the boreholes recreational fields and parking lots, which means that the surface area above the boreholes is usable after their installation. I can include them in the calculations anyway so we have a more conservative estimation.

Temoa does not have specific tables for land requirements. Land use is an interesting but difficult thing to make sharp statements about because, like you mention, it might have multiple uses. The land above the boreholes might be used for crops, solar panels can be raised to allow for farming as well. Wind turbines have a similar story. We are simply reporting the amount of land that is required for each energy source -- not remarking on all of the possible uses for this land. Does that make sense?
@yardasol should indicate what is being counted in the fixed cost. I agree that we need to be consistent across all energy sources.

Temoa does not have specific tables for land requirements. Land use is an interesting but difficult thing to make sharp statements about because, like you mention, it might have multiple uses. The land above the boreholes might be used for crops, solar panels can be raised to allow for farming as well. Wind turbines have a similar story. We are simply reporting the amount of land that is required for each energy source -- not remarking on all of the possible uses for this land. Does that make sense?

Yes!

Temoa does not have specific tables for land requirements. Land use is an interesting but difficult thing to make sharp statements about because, like you mention, it might have multiple uses. The land above the boreholes might be used for crops, solar panels can be raised to allow for farming as well. Wind turbines have a similar story. We are simply reporting the amount of land that is required for each energy source -- not remarking on all of the possible uses for this land. Does that make sense?

Yes!

@samgdotson I realized I forgot to mention that the current model only uses the geothermal plant for producing steam.
However, an additional benefit from geothermal heat pumps is that they produce chilled water as well.
I haven't included that in the model.
If I did that, we would need to add a CHW commodity and change the CHWS. And somehow translate CHW into electricity. We can talk about this in our meeting today (01/12/21)

@samgdotson I realized I forgot to mention that the current model only uses the geothermal plant for producing steam.
However, an additional benefit from geothermal heat pumps is that they produce chilled water as well.
I haven't included that in the model.
If I did that, we would need to add a CHW commodity and change the CHWS. And somehow translate CHW into electricity. We can talk about this in our meeting today (01/12/21)

Can we turn this into a TechOutputSplit?
1 unit of electricity turns into 1 unit of steam and 0.2 units of electricity. (for example, I just made these numbers up) This needs to be accounted for in the Efficiency table. I.e. an efficiency for elc --> geoth --> elc and elc --> geoth --> steam.
Then we have to explain that this electricity feedback is actually due to chilled water storage and "load shift."

Can we turn this into a TechOutputSplit?
1 unit of electricity turns into 1 unit of steam and 0.2 units of electricity. (for example, I just made these numbers up) This needs to be accounted for in the Efficiency table. I.e. an efficiency for elc --> geoth --> elc and elc --> geoth --> steam.
Then we have to explain that this electricity feedback is actually due to chilled water storage and "load shift."

Here is the diagram of the latest model.

The geothermal plant produces both USTM and ELC.

Here is the diagram of the latest model.

The geothermal plant produces both USTM and ELC.

I have the following concern.=:
GEOT input is ELC.
GEOT has two outputs: USTM and ELC.
So far, so good.
Now, the outputs have different units.
Normally the capacity is calculated with the output capacity of the technology.
In this case, there would be two output capacities, one for heating (produces USTM) and one for cooling (produces ELC).
How should the capacity be calculated in this case?
I think it would be easier to model GEOT separated into two technologies, one for heating and one for cooling.
However, the O&M cost associated with the plant is one, and it is not separated by function.
What do you think @samdotson?

I have the following concern.=:
GEOT input is ELC.
GEOT has two outputs: USTM and ELC.
So far, so good.
Now, the outputs have different units.
Normally the capacity is calculated with the output capacity of the technology.
In this case, there would be two output capacities, one for heating (produces USTM) and one for cooling (produces ELC).
How should the capacity be calculated in this case?
I think it would be easier to model GEOT separated into two technologies, one for heating and one for cooling.
However, the O&M cost associated with the plant is one, and it is not separated by function.
What do you think @samdotson?

Here is the diagram of the latest model:

And here is a figure with one of the results:

In the file geothermal.ipynb I state some of the assumptions.
This is what I wrote down for the geothermal plant (what we discussed IRL yesterday), let me know what you think @samgdotson:
Having one technology with two outputs using different forms of energy complicates the model. The cooling section of the plant produces savings in electricity consumption. By subtracting those savings from the plant's electricity inlet, we virtually increase the efficiency of the heating section of the plant. This way, we only model the geothermal plant as a heating plant with a virtually higher efficiency.

Here is the diagram of the latest model:

And here is a figure with one of the results:

In the file geothermal.ipynb I state some of the assumptions.
This is what I wrote down for the geothermal plant (what we discussed IRL yesterday), let me know what you think @samgdotson:
Having one technology with two outputs using different forms of energy complicates the model. The cooling section of the plant produces savings in electricity consumption. By subtracting those savings from the plant's electricity inlet, we virtually increase the efficiency of the heating section of the plant. This way, we only model the geothermal plant as a heating plant with a virtually higher efficiency.

These new results consider what Olek added in the model (the investment and fixed costs):

@samgdotson @yardasol this is ready to be reviewed.

These new results consider what Olek added in the model (the investment and fixed costs):

@samgdotson @yardasol this is ready to be reviewed.


[FEATURE] Remove transitive log4j dependency from langchain4j-documen…

…t-parser-apache-tika module

Context
Fixes #832
Change
I removed the transitive dependency log4j-api from tika-parsers-standard-package
and added explicit dependency to log4j-api, log4j-core and log4j-slf4j2-impl, like done for document-loader github and document-loader azure storage blob.
I don't think a unit/integration test is required for this.
Checklist
Before submitting this PR, please check the following points:

[ ] I have added unit and integration tests for my change
[ ] All unit and integration tests in the module I have added/changed are green
[ ] All unit and integration tests in the core and main modules are green
[ ] I have added/updated the documentation
[ ] I have added an example in the examples repo (only for "big" features)
[ ] I have added my new module in the BOM (only when a new module is added)

Checklist for adding new embedding store integration

[ ] I have added a {NameOfIntegration}EmbeddingStoreIT that extends from either EmbeddingStoreIT or EmbeddingStoreWithFilteringIT

Can we run the test on CI please? Thanks.

It should, but I can have a second try

Do you want me to remove completely the test dependencies? For me it is working fine.

If I just add exclusion (without adding test dependencies, this is what I get in tests:
[ERROR] Errors:
[ERROR]   ApacheTikaDocumentParserTest.should_parse_doc_ppt_and_pdf_files:30 » NoClassDefFound Could not initialize class org.apache.poi.poifs.filesystem.POIFSFileSystem
[ERROR]   ApacheTikaDocumentParserTest.should_parse_doc_ppt_and_pdf_files:30 » NoClassDefFound Could not initialize class org.apache.poi.poifs.filesystem.POIFSFileSystem
[ERROR]   ApacheTikaDocumentParserTest.should_parse_xls_files:46 » NoClassDefFound org/apache/logging/log4j/LogManager
[INFO]
[ERROR] Tests run: 11, Failures: 5, Errors: 3, Skipped: 0

So it seems that we have to live with it...

Yes, it seems so.

@oscerd I will close this PR and issue then

Sure. Thanks.


Contribution to openmod Berlin (January 2020)

In the issue on the next dev meeting in December #46, some of us have shown their interest in contributing something from the oemof side to the openmod meeting. I think it is nice to use the coincidence of having both meeting at roughly the same place and time. I open the issue so we can discuss ideas.
First idea: There is a group of researchers called "Python Wärme" at TU Berlin that have regular meetings to talk about thermal system modeling in python. @jakob-wo has been there and presented already. We could aim for a common session on that topic where we present our tools, challegenges, etc. What do you think, @oemof-developer?

It has just been published that the next OpenMod workshop will be postponed to 15-17.1.2020. It would be still great to contribute with a hand-on tutorial, etc. but it won't happen in the week of the developer meeting. Shall we close this issue?

Changing the title should be enough - there can still be an oemof contribution.

There was a oemof contribution, namely on tespy. Good session! The meeting is over, so I close the issue.


Do overflow check in when gererating NoiseTexture3D

An idea of fixing https://github.com/godotengine/godot/issues/88800
The origin problem is that the MRP's NoiseTexture3D's width is 4096, height is 4096 and depth is 4096. And In Noise::_get_image it will call values.resize(p_width * p_height * p_depth), the values vector's capacity is uint32_t which can not handle 4096^3 and overflows, thus the resize failed, or more preciously speaking, it overflowed to 0, and the later vector indexing caused this crash.
My solution here, technically speaking is not overflow check but more like an sanity check (the limit here is arbitray but can be less smaller since it has to be uploaded to gpu) that should be placed somewhere in NoiseTexture3D, I'm not sure where is the best place to do it or what's godot's way of handling such behaviour. Feel free to correct me.
Also the NoiseTexture2D may need the same check too, although it's less likely to have the same problem as NoiseTexture3D.

Limits it to the same memory size that maximum 2d texture has, looks good 👍

Thanks!


leaves are not persistent after closing the app

Could not be replicated atomically. A possible sequence of steps that could have caused this state to occur:

User types in "clear" command. Clear command clears the employees' list but not the leaves list (#123, #150)
User closes the application
User opens the application, which attempts to load the leaves from memory. Since there is no employee to associate each leave with (given that the employees' list was already cleared), all leaves will not be loaded.

This is the intended behaviour, and thus not a bug.


Error transcribing file on line Requested float16 compute type

Which OS are you using?

OS: [e.g. iOS or Windows.. If you are using Google Colab, just Colab.]
I use windows 11 and I always get this problem

Error transcribing file on line Requested float16 compute type, but the target device or backend do not support efficient float16 computation.
what should I do??

Hi @mavicena21 , This is fixed in #45.


Ruby

It would be great to see support for the Ruby language

There is a link to the OpenTelemetry Ruby OpenTelemetry client under Documentation on the website. Do you mean something else?

I obviously did not dig deep enough, thank you!
https://opentelemetry.io/ homepage should have the following section updated then.

I think the Ruby client might not be in Beta yet, and therefore not listed in that section.


Xmake is unable to install latest conan packages

Xmake Version
v2.9.6+HEAD.abd15c255
Operating System Version and Architecture
Windows 11 22631.4460
Describe Bug
Xmake is unable to install latest version of duckdb conan package. This could be caused by conan recently freezed conan 1.x repository, forcing to download packages from https://center2.conan.io.
add_requires("conan::duckdb/1.1.3", {alias = "duckdb"}) fails to install the package, while it works fine with any version upto 1.1.2
Expected Behavior
add_requires("conan::duckdb/1.1.3", {alias = "duckdb"}) should install duckdb latest version, but fails
add_requires("conan::duckdb/1.1.3", {alias = "duckdb"}) works fine
Project Configuration
add_rules("mode.debug", "mode.release")
add_requires("conan::duckdb/1.1.3", {alias = "duckdb"})
if is_plat("linux", "macosx") then
    add_requires("onetbb")
end

target("minimal_reproducible_example")
    set_kind("binary")
    set_languages("cxx20")
    set_optimize("faster")
    add_headerfiles("src/*.hpp")
    add_files("src/*.cpp")
    add_packages("duckdb")
    if is_plat("linux", "macosx") then
        add_links("pthread", "m", "dl", "tbb")
    end

Additional Information and Error Logs
.packages\c\conan_duckdb\1.1.3\latest\cache\installdir.failed\logs\install.txt:
======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=static
compiler.runtime_type=Release
compiler.version=193
os=Windows

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=static
compiler.runtime_type=Release
compiler.version=193
os=Windows

======== Computing dependency graph ========
duckdb/1.1.3: Not found in local cache, looking in remotes...
duckdb/1.1.3: Checking remote: conancenter
Graph root
    conanfile.txt: C:\Users\user\Documents\mytest\build\.conan\duckdb\1.1.3\conanfile.txt
ERROR: Package 'duckdb/1.1.3' not resolved: Unable to find 'duckdb/1.1.3' in remotes.

.conan\duckdb\1.1.3\conanfile.txt:
[requires]
duckdb/1.1.3

I don't know what xmake needs to do. Isn't this an issue of conan itself? You can try to update the conan version, or add a new conan2 repository. Its cli also has prompts.
 conan remote list
conancenter: https://center.conan.io [Verify SSL: True, Enabled: True]
WARN: deprecated: The remote 'https://center.conan.io' is now frozen and has been replaced by '
https://center2.conan.io'.
Starting from Conan 2.9.2, the default remote is 'center2.conan.io'.
It is recommended to update to the new remote using the following command:
'conan remote update conancenter --url="https://center2.conan.io"'

$ conan remote update conancenter --url="https://center2.conan.io"
$ xrepo install -vD "conan::duckdb 1.1.3"
/Users/ruki/projects/personal/xmake/build/xmake f -c --require=n -vD
checking for platform ... macosx
checking for architecture ... x86_64
checking for Xcode directory ... /Applications/Xcode.app
checking for SDK version of Xcode for macosx (x86_64) ... 14.0
checking for Minimal target version of Xcode for macosx (x86_64) ... 14.0
checking for nim ... /usr/local/bin/nim
configure
{
    arch = x86_64
    theme = default
    network = public
    kind = static
    host = macosx
    buildir = build
    xcode = /Applications/Xcode.app
    plat = macosx
    ccache = true
    proxy_pac = pac.lua
    ndk_stdcxx = true
    mode = release
    clean = true
}
/Users/ruki/projects/personal/xmake/build/xmake require -v -D -j 10 --extra={system=false} "con
an::duckdb 1.1.3"
checking for git ... /usr/bin/git
checking for gzip ... /usr/bin/gzip
checking for tar ... /usr/bin/tar
finding duckdb from conan ..
checking for conan::duckdb ... no
note: install or modify (m) these packages (pass -y to skip confirm)?
in conan:
  -> conan::duckdb 1.1.3
please input: y (y/n/m)

installing duckdb from conan ..
checking for conan ... /usr/local/bin/conan
/usr/local/bin/conan config install /Users/ruki/projects/personal/xmake/xmake/scripts/conan
Copying file xmake_generator.py to /Users/ruki/.conan2/extensions/generators
generate /private/var/folders/32/w9cz0y_14hs19lkbs6v6_fm80000gn/T/.xmake501/241206/xrepo/workin
g/build/.conan/duckdb/conanfile.txt ..
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr
/bin/clang ... ok
checking for the c compiler (cc) ... clang
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr
/bin/clang ... ok
/usr/local/bin/conan install . -g XmakeGenerator --profile:build=profile_build.txt --profile:ho
st=profile_host.txt --build=missing

======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=clang
compiler.cppstd=gnu17
compiler.libcxx=libc++
compiler.version=15
os=Macos

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=clang
compiler.cppstd=gnu17
compiler.libcxx=libc++
compiler.version=15
os=Macos

======== Computing dependency graph ========
duckdb/1.1.3: Not found in local cache, looking in remotes...
duckdb/1.1.3: Checking remote: conancenter
duckdb/1.1.3: Downloaded recipe revision 99495ff99f5bf65dd12d229def395b3a
Graph root
    conanfile.txt: /private/var/folders/32/w9cz0y_14hs19lkbs6v6_fm80000gn/T/.xmake501/241206/xr
epo/working/build/.conan/duckdb/conanfile.txt
Requirements
    duckdb/1.1.3#99495ff99f5bf65dd12d229def395b3a - Downloaded (conancenter)

======== Computing necessary packages ========
duckdb/1.1.3: Main binary package '83aa40fb4c79da2d8794103c8e77cb9abab7f390' missing
duckdb/1.1.3: Checking 9 compatible configurations
duckdb/1.1.3: Compatible configurations not found in cache, checking servers
duckdb/1.1.3: 'c34eb47637f5dfc69af4bec5012897eb60a7032b': compiler.cppstd=11
duckdb/1.1.3: '57442a7e336e850fe4b295e3e58e48dab675ede0': compiler.cppstd=gnu11
duckdb/1.1.3: 'a26d31cddc83afab2e2ab313ac3115e4f6d8c7bd': compiler.cppstd=14
duckdb/1.1.3: 'ee30ed80d8e4e36676a9024fc9ac48a14097d052': compiler.cppstd=gnu14
duckdb/1.1.3: '050156ad8a6088b1ba74fbafc44dcf4d281b8727': compiler.cppstd=17
duckdb/1.1.3: '63823ecae782cae84c1a166d774983d9fc42e5c5': compiler.cppstd=20
duckdb/1.1.3: '11a905a93f8622b805f0c5eb57fb2cfe1ab0a21d': compiler.cppstd=gnu20
duckdb/1.1.3: 'aae327356b1771d2aac83fe16e70f8d20ed8ac5a': compiler.cppstd=23
duckdb/1.1.3: 'c13f5f1ea951825fdbb3c783b5561763f01698d4': compiler.cppstd=gnu23
...

I have updated Conan to its last version. Using Conan, the package can be installed, but if xmake is used that error is thrown

I'm going to check if I have 2 different installed versions of Conan or if something went wrong during that installation
If not, I'll try uninstalling it and forcing the change to the new repo on a fresh installation again as shown in https://blog.conan.io/2024/09/30/Conan-Center-will-stop-receiving-updates-for-Conan-1.html

Fixed, I was getting that error because there were 2 conan installations in my computer (one pointing the new server and the other one still using the old repo). After uninstalling both and installing the latest conan version, everything worked fine


Remove duplicate gemma value from NO_PER_CHANNEL_REDUCE_RANGE_MODEL set

noticed gemma repeated twice in set

Thanks!

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


feat: Implemented ListNamespace admin API

Codecov Report

Merging #358 (0015488) into main (a7fc79e) will decrease coverage by 0.16%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #358      +/-   ##
==========================================
- Coverage   29.09%   28.92%   -0.17%
==========================================
  Files          64       64
  Lines        6774     6813      +39
==========================================
  Hits         1971     1971
- Misses       4584     4623      +39
  Partials      219      219

Impacted Files
Coverage Δ

server/metadata/tenant.go
31.69% <0.00%> (-0.92%)
:arrow_down:

server/midddleware/middleware.go
0.00% <0.00%> (ø)

server/services/v1/admin.go
0.00% <0.00%> (ø)

server/services/v1/search_reader.go
0.00% <0.00%> (ø)

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 a7fc79e...0015488. Read the comment docs.


Invalid object name between SQL statements

I seems that if I don't run a SQL statement within a minute (or so) between one another, the connection to the database is lost?
For example: I connect to a server, run use [database_name]. Then I run some select statement. Fine, results are returned. But if I don't run another command very shortly afterwards, I start getting the error: Error: Invalid object name 'company'. In this case, where company is the table name.
I need to run use [database_name] again for it to continue to work.
I am on macOS, connecting to a MS SQL Server 2012 instance.

Which version of the client are you using?

@hasankhan I'm using 0.4.7, on macOS 10.12.

i'll take a look

I wasn't able to reproduce the problem, can you try the latest code in the repo? Just git clone, switch to dev branch and do a npm install -g

@hasankhan Thanks, I'll try you suggestion.

@hasankhan I think it just has to do with node-mssql having a very short connection timeout default setting of 15 seconds. That's why the error occurs.
I'm just going to set the default using the env variable SQLCLI_TIMEOUT as used in options.js


MongoError: command find requires authentication

Ami I missing something here.
 Bot  is up and running
 MongoError: command find requires authentication
     at MessageStream.messageHandler (/DeleteNudesBot/node_modules/mongodb/lib/cmap/connection.js:268:20)
     at MessageStream.emit (node:events:365:28)
     at processIncomingData (/DeleteNudesBot/node_modules/mongodb/lib/cmap/message_stream.js:144:12)
     at MessageStream._write (/DeleteNudesBot/node_modules/mongodb/lib/cmap/message_stream.js:42:5)
     at writeOrBuffer (node:internal/streams/writable:389:12)
     at _write (node:internal/streams/writable:330:10)
     at MessageStream.Writable.write (node:internal/streams/writable:334:10)
     at Socket.ondata (node:internal/streams/readable:751:22)
     at Socket.emit (node:events:365:28)
     at addChunk (node:internal/streams/readable:314:12)
     at readableAddChunk (node:internal/streams/readable:289:9)
     at Socket.Readable.push (node:internal/streams/readable:228:10)
     at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
   ok: 0,
   code: 13,
   codeName: 'Unauthorized'
 } Context {

I found it worked with admin database and by passing uri credentials ( username:password).
var uri = "mongodb://root:password@<IP_ADDRESS>:27017/admin";

this is how I fixed this issue,
In my case I'm using the docker container instance, it can any local instance in your network.
var uri = "mongodb://root:password@<IP_ADDRESS>:27017/tlgcoin";

You run this in Visual Studio MongoDB extension  or via mongo cli
use('tlgcoin');

db.createUser(
  {
    user: "tempUser",
    pwd: "password",
    roles: [
       { role: "readWrite", db: "tlgcoin" }
    ]
  }
)


MINOR: Fix red herring when ConnectDistributedTest.test_bounce fails.

Test ConnectDistributedTest.test_bounce requires 5 nodes(3 Workers, 1 Broker, 1 ZK) when it succeeds and it also needs one more node for ConsoleConsumer when it fails and tries to collect data from a topic for debugging purposes.
With this change, the test gives a real failure reason:
Triggering test 2 of 17...
21:08:45 [INFO:2019-05-29 21:08:45,918]: RunnerClient: Loading test {'directory': '/home/jenkins/workspace/system-test-kafka-branch-builder/kafka/tests/kafkatest/tests/connect', 'file_name': 'connect_distributed_test.py', 'method_name': 'test_bounce', 'cls_name': 'ConnectDistributedTest', 'injected_args': {'clean': True}}
21:08:45 [INFO:2019-05-29 21:08:45,937]: RunnerClient: kafkatest.tests.connect.connect_distributed_test.ConnectDistributedTest.test_bounce.clean=True: Setting up...
21:08:45 [INFO:2019-05-29 21:08:45,938]: RunnerClient: kafkatest.tests.connect.connect_distributed_test.ConnectDistributedTest.test_bounce.clean=True: Running...
21:12:46 [ERROR - 2019-05-29 21:12:46,469 - connect_distributed_test - test_bounce - lineno:409]: Duplicate source sequence numbers for task 0
21:12:46 [ERROR - 2019-05-29 21:12:46,523 - connect_distributed_test - test_bounce - lineno:429]: Duplicate sink sequence numbers for task 0
21:12:46 [ERROR - 2019-05-29 21:12:46,569 - connect_distributed_test - test_bounce - lineno:409]: Duplicate source sequence numbers for task 1
21:12:46 [ERROR - 2019-05-29 21:12:46,629 - connect_distributed_test - test_bounce - lineno:429]: Duplicate sink sequence numbers for task 1
21:12:46 [ERROR - 2019-05-29 21:12:46,684 - connect_distributed_test - test_bounce - lineno:409]: Duplicate source sequence numbers for task 2
21:12:46 [ERROR - 2019-05-29 21:12:46,734 - connect_distributed_test - test_bounce - lineno:429]: Duplicate sink sequence numbers for task 2
21:12:54 [INFO:2019-05-29 21:12:54,416]: RunnerClient: kafkatest.tests.connect.connect_distributed_test.ConnectDistributedTest.test_bounce.clean=True: FAIL: Found validation errors:
21:12:54 Found duplicate source sequence numbers for task 0: ...
21:13:10   Found duplicate sink sequence numbers for task 1: ...
21:13:10   Found duplicate source sequence numbers for task 2: ...
21:13:10   Found duplicate sink sequence numbers for task 2: ...

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Thanks @rhauch ! I've changed the base to trunk, can we also port it to all earlier branch up to 1.0?

This is just changing value of an existing parameter in an existing system test, so I'm going to merge without waiting for a green build as the build doesn't run the system tests anyway.


The Swedish letter å can not be entered

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: Ubuntu Studio 20.04
scrcpy version: 1.12.1
installation method: apt
device model: Sony Xperia XA2 / Thinkpad T460s
Android version: Android 10 (LineageOS 17.1)

Describe the bug
The swedish alphabet has three characters that English does not have, å ä ö. I can input ä and ö but not å. When pressing the character å (right of the p-key on a Swedish keyboard) the letter å is not printed and the output in the terminal is the following:
[server] WARN: Could not inject char u+00e5

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#special-characters-do-not-work
Duplicate of #37.
Also see #1426.


Narrow unions to the narrowest constituent on assignment

Fixes #47731

@typescript-bot user test this

@typescript-bot user test thsi

@typescript-bot test this

@typescript-bot perf test this

+1.45s (+12.78%) 😭
I don't think we can take this as-is (Compiler Unions project is fairly representative of union-heavy codebases) given the original bug isn't super compelling.

ok, nothing to see here

Can we re-open this PR and rebase to recheck the performance now? I'm actually running into this problem, the ergonomics are not great.

The performance is unlikely to change. But it could be improved by caching. Do you know how to try the performance test suite at home? @RyanCavanaugh


Update fr.json

Translated new entries & adjusted wording+typo for others.

Thank you @baylanger. Will merge now and it will be part of the next update.


Update install.py for downloading and installing libcusparselt 0.6.1

Regarding issue #6757, I tried editing install.py to make it compatible with cusparselt. At this point, it is only grammatically correct, and I haven't tested it on all patterns, so I leave it up to you to decide whether to merge it or not.

Thanks @gdaisukesuzuki! CuPy is moving to use PyPI-hosted wheels instead of installing shared libraries on our own (#8013, #6999). As for cuSPARSELt, it looks like only a stub package ( https://pypi.org/project/nvidia-cusparselt-cu12) is available. @leofang, are there any plans to have cuSPARSELt wheels on PyPI?

We can't upload it to PyPI yet because of the size limit (https://github.com/pypi/support/issues/3904). I can check with @ethanhs next week and see if we can use pypi.nvidia.com as a temporary solution. Will get back once we discuss.

Sorry for my late response. I did discuss with the cuSPARSELt team and they have reasons to not publish to pypi.nvidia.com. Fortunately this is moot now that the size-bump request was granted. @ethanhs told me he should be able to get the wheels pushed to PyPI in a few days. Will keep this thread updated.

Update: We've released cuSPARSELt v0.6.2 wheels on PyPI (https://pypi.org/project/nvidia-cusparselt-cu12/), would you be able to give it a try @gdaisukesuzuki?

As discussed above, we are moving away from our own installer, so let me close this PR. I've made an issue to track the feature: #8604. Thanks again @gdaisukesuzuki for the contribution!


S3 DeleteObject operation doesn't return x-amz-* headers

The S3 DeleteObject operation should (when applicable) return x-amz-* headers. In particular x-amz-version-id and x-amz-delete-marker: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html
Moto doesn't.
See: https://github.com/spulec/moto/pull/3313 for fix

Thanks again for raising this, and providing a PR, @lsutic.
This should now be part of moto >= 1.3.16.dev6


Implementation of Liver vascular segments annotation and calculation

I had to delete the github branch as it was corrupted. Uploaded the branch again from my local copy, and made a new pull request: #131


[CARBONDATA-2681][32K] Fix loading problem using global/batch sort fails when table has long string columns

Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

In SortStepRowHandler, global/batch sort use convertRawRowTo3Parts instead of convertIntermediateSortTempRowTo3Parted.
varcharDimCnt was not add up to  noDictArray cause  error: Problem while converting row to 3 parts.

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5533/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6750/

retest this please

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6788/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5605/

retest this please

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6811/

retest this please

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6860/

[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36:05 min
[INFO] Finished at: 2018-07-06T03:18:36+02:00
[INFO] Final Memory: 218M/3157M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
......
[ some JENKINS detail logs ]
......
channel stopped
Checking console output
/var/lib/jenkins/jobs/ApacheCarbonPRBuilder1/builds/6860/log:
*** RUN ABORTED ***
Build step 'Jenkins Text Finder' changed build result to UNSTABLE
Setting status of a69012fd48fa140bc6c4ef720618db4186c17946 to FAILURE with url http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6860/ and message: 'Build finished. '
FileNotFoundException means that the credentials Jenkins is using is probably wrong. Or the user account does not have write access to the repo.
org.kohsuke.github.GHFileNotFoundException: {"message":"Not Found","documentation_url":"https://developer.github.com/v3/repos/statuses/#create-a-status"}

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5649/

retest this please

LGTM
waiting for the build

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6878/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5661/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5677/

retest sdv please

LGTM

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5709/


[FORMATTING] LIMIT format error

Input data
select * from account limit 10;
Indentation style: Tabular, Left
Expected Output
select    *
from      account
limit       10;

Actual Output
select    *
from      account
limit
          10;

Usage

How are you calling / using the library?  I using https://sql-formatter-org.github.io/sql-formatter/
What SQL language(s) does this apply to? SQL
Which SQL Formatter version are you using? 10.0.0

Thanks for reporting.
Looks like another regression from the change of how LIMIT keyword is handled. The test coverage for the other indentation styles besides the default is also fairly limited.

The fix for this is now out in sql-formatter 10.1.0


Import types from BNDB

Types should be importable from another bndb. It should be possible and even easy to import from another open file.

i really like how ghidra does it where you can create type archive. and any binary can choose to use that, and it will sync across everry binary.

Added in 3.3.4096 You can now run the action "Import From BNDB..."


Unit test added for 'getConflictCongigurations' method in daemon/conf…

…ig package

Ⅰ. Describe what this PR did
Unit test added for 'getConflictCongigurations' method in daemon/config package
Ⅱ. Does this pull request fix one issue?
fixes #1759
Ⅲ. Describe how you did it
/* 1. With Same Flag name(Same Value), Conflict */
/* 2. With Same Flag name(Different Value), Conflict */
/* 3. Two Configs's flag Intersects */
    /* 4. If commandLineFlagsSet contains 'Slice' type */

Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews
ⅤI. Anything else we need to know?
'Baiji' Group one

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

Merging #1799 into master will increase coverage by 0.05%.
The diff coverage is n/a.


Importing spotipy breaks logs even on simple code

After moving machines and updating things, I noticed that when I use Spotipy it breaks any sort of logging that I've been doing. This is basic example where if I don't import Spotipy, everything works as expected, but if I do it does not log. This is in Python 3.8.2
import logging
import spotipy

logging.basicConfig(level=logging.DEBUG)
mylogger = logging.getLogger(__name__)
handler = logging.FileHandler('test.log', mode='w')
formatter = logging.Formatter('''%(asctime)s -
                              %(name)s - %(levelname)s - %(message)s''')
handler.setFormatter(formatter)
mylogger.addHandler(handler)
mylogger.info('test')```

It seems the regression was caused in c6de8dc7131e5165b5d9cf2c266444a6f2b6c68d. I'm not sure why this change would break logging.

It looks like external scripts are unable to override this logging configuration which has once been set in spotipy.

I will have a look this week. I initially added https://github.com/plamere/spotipy/commit/c6de8dc7131e5165b5d9cf2c266444a6f2b6c68d because tests were failing. Perhaps I should just have added logging.basicConfig() in the tests rather than in the code? The thing is that it should also work for anyone without specifying logging.basicConfig() in their code

I was just about to file a bug about this, but generally libraries should not initialize the logging system. That should be left to the underlying application that is using the library. Libraries like requests and psycopg2 follow this pattern.
As far as tests failing, they tests were also passing when I submitted the work for my PR to add the logging here. So if they were breaking it might have been something else that was added with later changes. But I just pulled down the latest code down and the tests seem to pass. Should be safe to remove.

Alright I found that this error only happens with python2

test_track_bad_id (integration.test_user_endpoints.SpotipyLibraryApiTests) ... No handlers could be found for logger "spotipy.client"
ok

but it's all good with python3

test_track_bad_id (integration.test_user_endpoints.SpotipyLibraryApiTests) ... HTTP Error for GET to https://api.spotify.com/v1/tracks/BadID123 returned 400 due to invalid id
ok

So let's not worry about it unless someone complains about it. I'm going to merge your PR now @Beahmer89, thanks for that! also thanks for reporting @zambam5

Released in 2.12.0, @zambam5 feel free to upgrade

huh, thats crazy that that only happens in python2. Interesting find @stephanebruckert! I was only running my tests in python3, but will have to mess around with a python2.7 env.


Rewrote mirror recipe to use rubygems-mirror gem instead of rsync

Ruby gems are now moved to amazon s3 storage. rsync no longer works to create a mirror. Rewrote most of the mirror recipe to download gems using https://github.com/rubygems/rubygems-mirror
This fixes issues #4 , #3 , #2

any word on this?

@praste @tas50 @jtimberman is this cookbook supported anymore? looking for a private gem repository and this cookbook looks promising.

@praste I know it's been a while, but if you're still interested in this change can you please rebase it so we can merge it in?

I have changed jobs and may need to sign SLA again. Not sure if employer has to sign the SLA or just the individual contributor.
I will see what I can do

@praste We don't have the CLA anyone since that was a burden on employees at most workplaces. We have the DCO process now which is usually easier to get approved. https://blog.chef.io/2016/09/19/introducing-developer-certificate-of-origin/


External link is not working

External links don't work.
This is my code

HomePage content goes here

Get the page

this is my routes:
routes: [
                {
                    name: 'Web',
                    path: '/web/',
                    url: 'http://website.com'
                },
]

When i click on the link, the request for http://website.com is successfully made, but  the content of it is not inserted in the DOM.
What i want is to click that link and load that page inside the application like it's a normal local page of the application. i don't know if that's how it work or i didn't fully understand it.

https://framework7.io/docs/link.html#bypass-links-handler

It is not designed to be used in this way, and it is impossible to load whole webpage inside of the page. Or use iframe for this case


[wsl1] WSLHost eventually incorrectly tracks uptime

Platform ServicePack Version      VersionString

Win32NT             10.0.17134.0 Microsoft Windows NT 10.0.17134.0
kali-rolling
Linux D5DZ5WT2 4.4.0-17134-Microsoft #1488-Microsoft Mon May 05 16:17:00 PST 2020 x86_64 GNU/Linux
$ lsb_release -r
Release:	2020.2
Steps to reproduce
Difficult to determine...  leaving the shell open for a long period of time creating ssh connections every day eventually ssh just stops spawning a pty and when this occurs you also can't run commands over an ssh connection.
(e.g. ssh host uname -a)
What I have noticed when this occurs:
period@D5DZ5WT2 ~ $ cat /proc/uptime
4294083938.4294967263 3174791.47
root@D5DZ5WT2:~# uptime
 12:34:16 up -24855 days, -3:-14,  0 users,  load average: 0.52, 0.58, 0.59
root@D5DZ5WT2:~#
running sysinfo in command prompt gave this:
System Boot Time:          6/12/2020, 5:18:29 AM
So it may occur after 11 or more days of uptime but I can't be certain of this, the only solution I have found when this occurs is to use process explorer and restart wslhost, exit my shell and spawn a new one.
Expected behavior
ssh to always work and uptime to be tracked correctly
Actual behavior
/proc/uptime jumps to an absurdly high number and ssh breaks (it still is able to initiate the connection but a pty is never allocated and no commands can be sent to the remote host)

17134

/dupe #3514


[PE-D][Tester D] Group command seems to transfer a student from one group to another, unlike what is mentioned in UG

in UG, what is said that group command Group students by classes.
However when i typed the following: `group 20 33' my students in group 20 had their groups changed to group 33.
This really confuses the user.
UG:

Labels: severity.Medium type.DocumentationBug
original: vijay-shankaranand/ped#8

Solved but issue was not referred

ok if it was solved just close it lol


Line numbers in syntax highlighting

I've made very minimal changes from the base lanyon repo, and none to the CSS. I have the following code:
{% highlight cpp linenos %}
class A {
  void func(double y) {
    return;
  }
}
{% endhighlight %}

The problem is it looks like this:

I have googled around for hours, trying bits and snippets of other people's CSS to try to fix this line number issue. Unfortunately, nothing seems to work. Because of how CSS works, I thought maybe some other piece of CSS on Lanyon could be causing this issue. Does anyone have nice looking line numbers on Lanyon, on a github-pages site that is build server-side (i.e. not locally)? If so, can they share?
IMHO this should be merged to Lanyon in some form, as wanting line numbers in code is a pretty common thing.

Does anyone have nice looking line numbers on Lanyon, on a github-pages site that is build server-side (i.e. not locally)?

Why so specific? Do you get better line numbers when building locally?
Also try to give your issues a descriptive name, it is very hard to guess what is the problem you are having without reading the whole thing. See if Shift + Print Screen does not allow you to print just a section of the window on Ubuntu.

If you're going to build locally, then there are custom plugins and so on for Jekyll that are not available on github, and you have complete control of the build environment (which version of Jekyll, you can still use Pygments whereas github only supports Rouge, etc). So someone may have a solution that works for them building locally but will not work for me building on github (which is what I'd prefer).
I can change the title if you want, I think it's reasonably specific already to be frank. I could add "have excessive surrounding whitespace and look strange" to the end, but this seems a little long for an issue title, no? If you can suggest a better title, by all means.
I can crop the picture if you'd really like, but I can easily see exactly what's going on even with the existing picture, so I don't see what the issue is. Are you unable to see it?

The title is as specific as "pig" is. It does not give anyone a clue about what the problem is. Line numbers in syntax highlighting, trains in railroads, Jeremy on unicorns... See why it is simply bad?

"have excessive surrounding whitespace and look strange"

This is the first time you mentioned what your problem is. A sentence with these words alone and something about line numbers will have made it easier on us.
I am able to see it, no need to change it now. It is just that printing the way you did adds a lot of noise to the image and the tracker. Soon there will be 4K images here to show us how a 32x32 icon looks weird.

See what changing poole.css line 166 to "padding: 0;" does to it. Note that not only these blocks use it, so the change propagates to all code snippets and pre.
You should be able to apply these only to those lines by changing the style settings of the "lineno" class.
Also, I am a bit unsure about changing this theme-wise. I agree that the line numbers column is unnecessarily wide, but going further than that would require some public discussion before any changes.

I tried your suggestion, both globally (in poole.css) and just changing lineno. The first is definitely a massive improvement, though there is still huge space left of the line numbers. The second leaves a ton of extra space in front and after. To get the effect of the former without changing everything, I tried to follow something along this website: http://www.minh.io/blog/2015/06/28/jekyll-line-numbers/ and define a lineno-container class, but it didn't seem to work.
I am a total novice at css, all I can speculate is that when line numbers are added, it adds an extra nesting of elements which each get their own padding, which seems to play very poorly with Lanyon's generous spacing settings.
To be clear, my suggestion about merging is not to change anything else. Only to merge changes such that Lanyon plays nicer with line numbers but not to change other behavior (if that is possible). Here are photos corresponding to the two solutions; the one with less padding corresponds to changing poole.css. (I downloaded gimp and cropped the photos this time :+1:

Is this what you need?

Looks quite ideal, yes. What's your secret?

Well that requires a deposit to be made.

Just kidding, will try to explain it to you here.

My approach was very pragmatic and will not win any code beauty contest, so I wouldn't use it myself (and I don't like the results as much as you do).
I cannot give you the proper changesets and that may require some CSS writing on your own.
Essentially, the left td needs the following
width: 1px;
word-break: keep-all;
padding: .4rem .6rem;

Set its width to too-small-for-business. Do not allow breaking (so line 10 would become two lines, 1 and 0). Padding like that because my eyes approved it.
Done live in Chrome 48.0.2564.97 (64-bit), but not really browser-specific as far as I see it.

Alright, cool, I managed to get some CSS out that at least is allowing me to control these things. If you think you have something good that doesn't affect anything else, it might be good to upstream so that other can benefit. I can  try to push something as well but I suspect that my CSS is going to be unacceptable as I have no idea what I'm doing.

I edited this live on Chrome, I did not touch the CSS files, otherwise I would have opened a PR for you. Organizing it so that these properties only affect these specific code blocks is the complicated part which I will not go through because I have no interest on. I helped you so far by showing what you needed to change, the rest of the way is someone else's job.

Alright, once I have this done in a way that works for me I'll do my best to upstream. Thanks again for your help.

If I hadn't to work I or if I would reuse it myself I would do it for you, but I've done my part on this already. Good luck.


Screen image delay time is too long

Screen image delay time is too long, how to speed up  ？  like the Vysor?

Ditto

Hi,
Even Im facing the same issue. The screen image delay time is around 15 to 20secs. Is there any way to reduce the delay time.


NPM?

Hello! I would love to use this for my OS project. Can you make it a NPM package please? :)

Hello, im glad to hear, that you like it.
Im realy busy in the moment, but yes, i plan to make it available through NPM.

I made it available through NPM.
Hope you take good use of it! ;)

Hello! Thank you a lot! It will find its use here: https://martinmuzatko.github.io/flexproperties
Finally I can mange to have prismjs and codemirror look alike.
Thank you for your time :)

How do I import it? (I've installed it with NPM)


POLIO-1125  Backend Budget Process

Explain what problem this PR is resolving
Related JIRA tickets : POLIO-1125
Self proofreading checklist

[ ] Did I use eslint and black formatters
[ ] Is my code clear enough and well documented
[ ] Are my typescript files well typed
[ ] New translations have been added or updated if new strings have been introduced in the frontend
[ ] My migrations file are included
[ ] Are there enough tests
[ ] Documentation has been included (for new feature)

Changes
Explain the changes that were made. The idea is not to list exhaustively all the changes made (GitHub already provides a full diff), but to help the reviewers better understand:

which specific file changes go together, e.g: when creating a table in the front-end, there usually is a config file that goes with it
the reasoning behind some changes, e.g: deleted files because they are now redundant
the behaviour to expect, e.g: tooltip has purple background color because the client likes it so, changed a key in the API response to be consistent with other endpoints

How to test
Explain how to test your PR.
If a specific config is required explain it here (dataset, account, profile, ...)
Print screen / video
Upload here print screens or videos showing the changes
Notes
Things that the reviewers should know: known bugs that are out of the scope of the PR, other trade-offs that were made.
If the PR depends on a PR in bluesquare-components, or merges into another PR (i.o. main), it should also be mentioned here

Closing, replaced by https://github.com/BLSQ/iaso/pull/1093


Extend UndoableCommandInterface from CommandInterface

Hey guys,
I propose to extend UndoableCommandInterface from CommandInterface for the following reasons:

It contains only undo method which doesn't look like command at all
We can't correctly work this interface. Please look at these examples with simplified invokers:

function executeCommand(CommandInterface $command)
{
    $command->execute();
    $command->undo(); // undo is not part of the CommandInterface
}

function executeUndoableCommand(UndoableCommandInterface $command)
{
    $command->execute(); // execute is not part of UndoableCommandInterface
    $command->undo();
}

In both cases we can't follow the declared interface to work with the command.
Thanks,
Ihor

Looks good to me. What do you think about it @andrewnester?

@domnikl yeah, looks good. Thanks @ihor !

Merged, thanks @ihor!


Revise PDFType and its use cases, and then implement at PdfDao

Right now, PDFType takes a couple different forms:

APPLICATION("application")
IDENTIFICATION("identification")
FORM("form")

However, this is confusing. What is the difference between application and form? What about an un-annotated form and an annotated form that is ready to use?
I think we need to meet with business team to specify all the specifics.
In addition, we will need to create a PdfDao. However, I think because Pdf functionality is pretty important to our application, it might make sense to create a PdfDocument interface and then have ApplicationPdf, IdentificationPdf, and FormPdf as three classes that implement the PdfDocument interface. Then, we can handle each case of PdfType without making it super confusing, but also having a standardized interface (for example when we need to convert Pdfs into inputstreams or when we need to run them through the PdfBox engine).

@avwu99 we still need to do this correct? Should we do this before or after pdfEncryption?

@avwu99 we still need to do this correct? Should we do this before or after pdfEncryption?

I think it'd make sense to do it after just because I think it'll give us a better idea of what we need to change with the current PDF class implementation, so we can carry those changes out to the PdfDocument interface and go from there with the 3 different classes for each type of pdf

I think it'd make sense to do it after just because I think it'll give us a better idea of what we need to change with the current PDF class implementation, so we can carry those changes out to the PdfDocument interface and go from there with the 3 different classes for each type of pdf


Display Popups as Modal on Mobile

Some components need to display additional pop-up information when interacting with the user. For example, Dropdowns only show their options if currently selected. The same is true for rio.DateInput and really any user of rio.Popup.
We currently display this popup right next to the component. This is great on desktop, but can be awkward on mobile. It would be nice to instead have pop-ups appear over the entire screeen, until the user finishes with them. In the case of rio.Popup this should probably be configurable.

Done, though the popup could use improvements:

Instead of scrolling the content of the pop-up, scroll the popup itself
Display the dropdown label in the popup, if one is set

Leaving this open because of that missing functionality


Web app execution pauses in developer_patch.js on startup

Steps to reproduce:

flutter channel dev and flutter upgrade
Run app from IntelliJ in debug mode
The app pauses at the following breakpoint in developer_patch.js:

I cannot reproduce this issue on dev channel.

flutter doctor -v
[✓] Flutter (Channel dev, 1.26.0-12.0.pre, on Mac OS X 10.15.7 19H114 darwin-x64, locale en)
    • Flutter version 1.26.0-12.0.pre at /Users/pedromassango/Code/flutter_dev
    • Framework revision a706cd2112 (10 days ago), 2021-01-14 18:20:26 -0500
    • Engine revision effb529ece
    • Dart version 2.12.0 (build 2.12.0-224.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.2.5
    • Dart plugin version 203.6912

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • Mac OS X 10.15.7 19H114 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 87.0.4280.141

! Doctor found issues in 1 category.

I cannot reproduce this issue on dev channel.

flutter doctor -v
[✓] Flutter (Channel dev, 1.26.0-12.0.pre, on Mac OS X 10.15.7 19H114 darwin-x64, locale en)
    • Flutter version 1.26.0-12.0.pre at /Users/pedromassango/Code/flutter_dev
    • Framework revision a706cd2112 (10 days ago), 2021-01-14 18:20:26 -0500
    • Engine revision effb529ece
    • Dart version 2.12.0 (build 2.12.0-224.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.2.5
    • Dart plugin version 203.6912

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • Mac OS X 10.15.7 19H114 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 87.0.4280.141

! Doctor found issues in 1 category.

What's the error being caught?

What's the error being caught?

"Unexpected null value"

"Unexpected null value"

"Error: Unexpected null value.
    at Object.throw_ [as throw] (http://localhost:56471/dart_sdk.js:5306:11)
    at Object.nullCheck (http://localhost:56471/dart_sdk.js:5639:30)
    at http://localhost:56471/dart_sdk.js:50378:29
    at Generator.next (<anonymous>)
    at runBody (http://localhost:56471/dart_sdk.js:39000:34)
    at Object._async [as async] (http://localhost:56471/dart_sdk.js:39031:7)
    at http://localhost:56471/dart_sdk.js:50376:20
    at new Promise (<anonymous>)
    at Object._invokeExtension [as invokeExtension] (http://localhost:56471/dart_sdk.js:50373:12)
    at <anonymous>:1:31"

"Error: Unexpected null value.
    at Object.throw_ [as throw] (http://localhost:56471/dart_sdk.js:5306:11)
    at Object.nullCheck (http://localhost:56471/dart_sdk.js:5639:30)
    at http://localhost:56471/dart_sdk.js:50378:29
    at Generator.next (<anonymous>)
    at runBody (http://localhost:56471/dart_sdk.js:39000:34)
    at Object._async [as async] (http://localhost:56471/dart_sdk.js:39031:7)
    at http://localhost:56471/dart_sdk.js:50376:20
    at new Promise (<anonymous>)
    at Object._invokeExtension [as invokeExtension] (http://localhost:56471/dart_sdk.js:50373:12)
    at <anonymous>:1:31"

@johnpryan, since the dev channel no longer exists and this issue is quite old, can you confirm if this is still valid on the latest flutter versions?

I'm going to close since this is a very old issue. If this comes up again I'll file a new one.


Add support for smoke detector in deconz

Description:
Add support for smoke detectors to deconz component
Checklist:

[x] The code change is tested and works locally.

Should you update the docs?

I will, but there is no configuration change. I thought about doing it ad hoc later on.


Ability to eat stethoscope

Description
I noticed when playing as a moth that you have the ability to eat a stethoscope, I assume this isn't intended.
Screenshots

at least now they have a real use

real
On Tue, Aug 8, 2023 at 3:06 AM deltanedas @.***> wrote:

at least now they have a real use
—
Reply to this email directly, view it on GitHub
https://github.com/space-wizards/space-station-14/issues/18868#issuecomment-1669319479,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALBBHJMFKKWRINYBZJOI5KLXUIFR3ANCNFSM6AAAAAA3IGLQXQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Connection with the debug engine was lost

Save us time! Click 'Report an Issue' from the Help and Support panel inside of VS Code after you have connected to a system.
Describe the bug
Debugging an RPGLE source, which I successfully debugged all the way through a few minutes ago.  Now the debug engine connection gets lost on the 2nd step after stepping through once.
To Reproduce
Steps to reproduce the behavior:
Debugging a SQLRPGLE source member.  went away for a while and came back.  debugged again and now it can't debug through.
Expected behavior
Should debug all the way through without losing connection to debug engine
Video

Environment (please complete the following information):

Extension version
IBM i Debug v1.0.0
Code for IBM i v2.3.1
IBM i OS version 7.4

Additional context
Add any other context about the problem here.

Can you attach the output of the debug service here? The debug service output either appears at the debug service green screen console, or a QPRINT file for a JVM process, depending on how you start debug service.

It seems to be running in a JVM service but I'm not sure how to get the output from it?  Not much in its job log and no spool files.... Where is output written to?

job log entries:
Java Virtual Machine is IBM Technology for Java.  PID(834)
JVM properties were loaded from a properties file.

NO spool files output

There is a FAQ on this in the Merlin debug doc link (https://www.ibm.com/docs/en/merlin/1.0?topic=environment-debugging):
Question: How can I see the output of the debug service?
Answer: You can see the output of IBM i Debug Service from the QPRINT file at the output queue QUSRSYS/QDBGSRV. You may need to stop the debug service before inspecting the content of the QPRINT file.

If you use RDi, the QPRINT file will appear under the Spool Files filter.

@JDubbTX Closing this for now, but if it's still an issue for you, please post back.


reduce size of matrix in test

Description
Reduces size of matrix in test to enfasten.  2000ms -> 800ms

For repository owners only:
PERF: Slightly fastedr tests.
For more info see: https://github.com/tensorflow/tfjs/blob/master/DEVELOPMENT.md

This change is

yup, just needs an LGTM


polyfill usage

See discussion in #1

@fengmk2 Mind merging this?
The build fails because it can't install Node.js 0.4. I think that the correct path here is just to drop 0.4 since it's extremely old and I don't think anyone is using it anymore. Maybe target 0.10, 0.12 and iojs?

ping @fengmk2

+1
I will release major version

:tada:


error: The header content contains invalid characters

I get this issue , using https://github.com/matt-major/do-wrapper when trying to access my account information.
_http_outgoing.js:348
    throw new TypeError('The header content contains invalid characters');
    ^

TypeError: The header content contains invalid characters
    at ClientRequest.OutgoingMessage.setHeader (_http_outgoing.js:348:11)
    at new ClientRequest (_http_client.js:85:14)
    at Object.exports.request (http.js:31:10)
    at Object.exports.request (https.js:197:15)
    at Request.start (/home/pierre/Documents/freelance/upwork/dosh/node_modules/do-wrapper/node_modules/request/request.js:746:30)
    at Request.write (/home/pierre/Documents/freelance/upwork/dosh/node_modules/do-wrapper/node_modules/request/request.js:1345:10)
    at end (/home/pierre/Documents/freelance/upwork/dosh/node_modules/do-wrapper/node_modules/request/request.js:560:16)
    at Immediate._onImmediate (/home/pierre/Documents/freelance/upwork/dosh/node_modules/do-wrapper/node_modules/request/request.js:588:7)
    at processImmediate [as _immediateCallback] (timers.js:383:17)

I guess it is related to https://github.com/request/request/issues/2120 ?

I'll take a look in to this. Thanks @pierreozoux.

Sorry, it was my fault, there was some end-of-line, end-of-file chars at the end of my api token.


fix: Use the modified url

:tada: This PR is included in version 2.0.0-next.9 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add response header outcomes

Depends on https://github.com/Behat/Mink/pull/623

This Mink PR has been replaced with https://github.com/minkphp/Mink/pull/636

Are you sure? The https://github.com/minkphp/Mink/pull/636 is adding methods to WebAssert class in Mink that are then used by this PR to add new methods to MinkContext.

There is a typo in my previous comment. It should have been The Mink PR, not This Mink PR

Maybe you should just close the PR is we're no longer plan to continue work on it?

Well, this PR is not obsolete. It exposes the new assertions to the Behat land

Then your comment should say this to be 100% clear:
The Mink's PR mentioned in task description was replaced by minkphp/Mink#636.

The Mink PR has been merged. the feature is now in Mink 1.7.x-dev. I will wait a bit with this PR to avoid forcing to use a dev version of Mink in the extension.

@stof Anything I can do to help this land?


1.0 quick question regarding mod compatbility and ServerLaunchFix

I saw you crossed out the Server launch fix as a dependency. Did the devs refactor the game so that it is no longer needed?

I assumed it didn't work anymore but it does so it is still required my apologies for the confusion


Streamlit for multiple-camera view

I couldn't find the multi-view models when I launched Streamlit. I think it only looks for the models containing "predictions.csv" but the multi-view models have "predictions_VIEWNAME.csv".

thanks for the heads up, I'm actually working on the multi-view unsupervised losses now, so I'll check this out once I wrap that up (probably not until next week though!)

That's great! I'm looking forward to the multi-view unsupervised losses.


Feature/frontend vite build

We were not leveraging the vite build feature for prod builds, so production was running at the same speeds as dev. This compiles the frontend into a single js file for the entire up and serves the content over nginx. There are further optimizations possible, but for now, the vite bundler is sufficiently performant.

I'm not sure if npm is necessary or not, but if not requesting a multi-stage build.

The way I have the prod image set up, npm is already excluded from the resulting image.

As far as I am concerned, you could bypass the approval to merge this. Sorry, hope I'm not holding things up here. I saw your response.

Not at all, this isn't a blocker, just a QoL change and I would rather discuss it than just push forward.


Job iCTF-Chall-Release Thread Timeout Incorrect

Even though channel defaults to 3 days, threads are set to 1 week

Discord cache issue, restarting service fixes


Unable to create a client: IllegalAccessError

java.lang.IllegalAccessError: class org.litote.kmongo.KMongo tried to access method 'void org.bson.internal.OverridableUuidRepresentationCodecRegistry.<init>(org.bson.codecs.configuration.CodecProvider, org.bson.UuidRepresentation)' (org.litote.kmongo.KMongo and org.bson.internal.OverridableUuidRepresentationCodecRegistry are in unnamed module of loader 'app')
        at org.litote.kmongo.KMongo.createRegistry(KMongo.kt:82) ~[kmongo-core-4.5.0.jar:na]
        at org.litote.kmongo.KMongo.createClient(KMongo.kt:73) ~[kmongo-core-4.5.0.jar:na]
        at org.litote.kmongo.KMongo.createClient(KMongo.kt:59) ~[kmongo-core-4.5.0.jar:na]
        at org.litote.kmongo.KMongo.createClient(KMongo.kt:49) ~[kmongo-core-4.5.0.jar:na]
        at org.litote.kmongo.KMongo.createClient(KMongo.kt:41) ~[kmongo-core-4.5.0.jar:na]

Same error here after updating to 4.5.0

Hello,
Thank you for reporting.
What is the version of your jvm?

Looks like you have a version on mongo java driver < 4.5.0 in your classpath. Check your dependency tree.

Switched to 4.3 for now

Also switch to 4.3. I use quarkus which enforced the mongodb client version to 4.3.3 and I was not able to override this version to 4.5.