TimeoutError: The write operation timed out

The problem
Sending create_observation fails intermittently. This might be due to slow response from API endpoint.
Expected behavior
Print an error about setting higher timeout  or adding sleep between requests.
Steps to reproduce the behavior

    token="My_Secret_token"
    enable_logging()

    create_observation(
        taxon_id=40268,
        observed_on_string="2023-12-17 18:27:29",
        time_zone="Bangkok",
        latitude="10.6122382",
        longitude="104.1774368",
        description=" some description",
        access_token=token
        )

---------------------------------------------------------------------------
TimeoutError                              Traceback (most recent call last)
File ~/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:790, in HTTPConnectionPool.urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, preload_content, decode_content, **response_kw)
    789 # Make the request on the HTTPConnection object
--> 790 response = self._make_request(
    791     conn,
    792     method,
    793     url,
    794     timeout=timeout_obj,
    795     body=body,
    796     headers=headers,
    797     chunked=chunked,
    798     retries=retries,
    799     response_conn=response_conn,
    800     preload_content=preload_content,
    801     decode_content=decode_content,
    802     **response_kw,
    803 )
    805 # Everything went great!

File ~/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:496, in HTTPConnectionPool._make_request(self, conn, method, url, body, headers, retries, timeout, chunked, response_conn, preload_content, decode_content, enforce_content_length)
    495 try:
--> 496     conn.request(
    497         method,
    498         url,
    499         body=body,
    500         headers=headers,
    501         chunked=chunked,
    502         preload_content=preload_content,
    503         decode_content=decode_content,
    504         enforce_content_length=enforce_content_length,
    505     )
    507 # We are swallowing BrokenPipeError (errno.EPIPE) since the server is
    508 # legitimately able to close the connection after sending a valid response.
    509 # With this behaviour, the received response is still readable.

File ~/.local/lib/python3.10/site-packages/urllib3/connection.py:409, in HTTPConnection.request(self, method, url, body, headers, chunked, preload_content, decode_content, enforce_content_length)
    408         else:
--> 409             self.send(chunk)
    411 # Regardless of whether we have a body or not, if we're in
    412 # chunked mode we want to send an explicit empty chunk.

File /usr/lib/python3.10/http/client.py:999, in HTTPConnection.send(self, data)
    998 try:
--> 999     self.sock.sendall(data)
   1000 except TypeError:

File /usr/lib/python3.10/ssl.py:1266, in SSLSocket.sendall(self, data, flags)
   1265 while count < amount:
-> 1266     v = self.send(byte_view[count:])
   1267     count += v

File /usr/lib/python3.10/ssl.py:1235, in SSLSocket.send(self, data, flags)
   1232         raise ValueError(
   1233             "non-zero flags not allowed in calls to send() on %s" %
   1234             self.__class__)
-> 1235     return self._sslobj.write(data)
   1236 else:

TimeoutError: The write operation timed out

During handling of the above exception, another exception occurred:

ProtocolError                             Traceback (most recent call last)
File ~/.local/lib/python3.10/site-packages/requests/adapters.py:486, in HTTPAdapter.send(self, request, stream, timeout, verify, cert, proxies)
    485 try:
--> 486     resp = conn.urlopen(
    487         method=request.method,
    488         url=url,
    489         body=request.body,
    490         headers=request.headers,
    491         redirect=False,
    492         assert_same_host=False,
    493         preload_content=False,
    494         decode_content=False,
    495         retries=self.max_retries,
    496         timeout=timeout,
    497         chunked=chunked,
    498     )
    500 except (ProtocolError, OSError) as err:

File ~/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:844, in HTTPConnectionPool.urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, preload_content, decode_content, **response_kw)
    842     new_e = ProtocolError("Connection aborted.", new_e)
--> 844 retries = retries.increment(
    845     method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]
    846 )
    847 retries.sleep()

File ~/.local/lib/python3.10/site-packages/urllib3/util/retry.py:470, in Retry.increment(self, method, url, response, error, _pool, _stacktrace)
    469 if read is False or method is None or not self._is_method_retryable(method):
--> 470     raise reraise(type(error), error, _stacktrace)
    471 elif read is not None:

File ~/.local/lib/python3.10/site-packages/urllib3/util/util.py:38, in reraise(tp, value, tb)
     37 if value.__traceback__ is not tb:
---> 38     raise value.with_traceback(tb)
     39 raise value

File ~/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:790, in HTTPConnectionPool.urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, preload_content, decode_content, **response_kw)
    789 # Make the request on the HTTPConnection object
--> 790 response = self._make_request(
    791     conn,
    792     method,
    793     url,
    794     timeout=timeout_obj,
    795     body=body,
    796     headers=headers,
    797     chunked=chunked,
    798     retries=retries,
    799     response_conn=response_conn,
    800     preload_content=preload_content,
    801     decode_content=decode_content,
    802     **response_kw,
    803 )
    805 # Everything went great!

File ~/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:496, in HTTPConnectionPool._make_request(self, conn, method, url, body, headers, retries, timeout, chunked, response_conn, preload_content, decode_content, enforce_content_length)
    495 try:
--> 496     conn.request(
    497         method,
    498         url,
    499         body=body,
    500         headers=headers,
    501         chunked=chunked,
    502         preload_content=preload_content,
    503         decode_content=decode_content,
    504         enforce_content_length=enforce_content_length,
    505     )
    507 # We are swallowing BrokenPipeError (errno.EPIPE) since the server is
    508 # legitimately able to close the connection after sending a valid response.
    509 # With this behaviour, the received response is still readable.

File ~/.local/lib/python3.10/site-packages/urllib3/connection.py:409, in HTTPConnection.request(self, method, url, body, headers, chunked, preload_content, decode_content, enforce_content_length)
    408         else:
--> 409             self.send(chunk)
    411 # Regardless of whether we have a body or not, if we're in
    412 # chunked mode we want to send an explicit empty chunk.

File /usr/lib/python3.10/http/client.py:999, in HTTPConnection.send(self, data)
    998 try:
--> 999     self.sock.sendall(data)
   1000 except TypeError:

File /usr/lib/python3.10/ssl.py:1266, in SSLSocket.sendall(self, data, flags)
   1265 while count < amount:
-> 1266     v = self.send(byte_view[count:])
   1267     count += v

File /usr/lib/python3.10/ssl.py:1235, in SSLSocket.send(self, data, flags)
   1232         raise ValueError(
   1233             "non-zero flags not allowed in calls to send() on %s" %
   1234             self.__class__)
-> 1235     return self._sslobj.write(data)
   1236 else:

ProtocolError: ('Connection aborted.', TimeoutError('The write operation timed out'))

During handling of the above exception, another exception occurred:

ConnectionError                           Traceback (most recent call last)
Cell In[225], line 17
     15 specimage=plot_guano(file)
     16 enable_logging()
---> 17 create_observation(
     18     taxon_id=40268,  # Bats (Order Chiroptera
     19     species_guess="Bats",
     20     observed_on_string=time,
     21     time_zone="Bangkok",
     22     latitude=lat,
     23     longitude=long,
     24     description=description,
     25     sounds=file,
     26     photos=specimage,
     27     access_token=token,
     28     #dry_run=True
     29     )
     30 time.sleep(300)

File /usr/local/lib/python3.10/dist-packages/forge/_revision.py:328, in Revision.__call__.<locals>.inner(*args, **kwargs)
    324 @functools.wraps(callable)  # type: ignore
    325 def inner(*args, **kwargs):
    326     # pylint: disable=E1102, not-callable
    327     mapped = inner.__mapper__(*args, **kwargs)
--> 328     return callable(*mapped.args, **mapped.kwargs)

File /usr/local/lib/python3.10/dist-packages/pyinaturalist/v1/observations.py:420, in create_observation(**params)
    417 response_json = response.json()
    418 observation_id = response_json['id']
--> 420 upload(observation_id, photos=photos, sounds=sounds, photo_ids=photo_ids, **kwargs)
    421 return response_json

File /usr/local/lib/python3.10/dist-packages/pyinaturalist/v1/observations.py:538, in upload(observation_id, photos, sounds, photo_ids, **params)
    536 sound_params['observation_sound[observation_id]'] = observation_id
    537 for sound in sounds:
--> 538     response = post(
    539         f'{API_V1}/observation_sounds', files=sound, session=session, **sound_params
    540     )
    541     responses.append(response)
    543 # Attach previously uploaded photos by ID

File /usr/local/lib/python3.10/dist-packages/pyinaturalist/session.py:376, in post(url, session, **kwargs)
    374 """Wrapper around :py:func:`requests.post` with additional options specific to iNat API requests"""
    375 session = session or get_local_session()
--> 376 return session.request('POST', url, **kwargs)

File /usr/local/lib/python3.10/dist-packages/pyinaturalist/session.py:256, in ClientSession.request(self, method, url, headers, json, access_token, allow_redirects, allow_str_ids, dry_run, expire_after, files, ids, only_if_cached, raise_for_status, refresh, stream, timeout, verify, **params)
    220 """Wrapper around :py:func:`requests.request` with additional options specific to iNat API requests
    221
    222 Args:
   (...)
    242     API response
    243 """
    244 request = self.prepare_inat_request(
    245     method=method,
    246     url=url,
   (...)
    253     params=params,
    254 )
--> 256 response = self.send(
    257     request,
    258     dry_run=dry_run,
    259     expire_after=expire_after,
    260     only_if_cached=only_if_cached,
    261     refresh=refresh,
    262     timeout=timeout,
    263     allow_redirects=allow_redirects,
    264     stream=stream,
    265     verify=verify,
    266 )
    268 # Raise an exception if the request failed (after retries are exceeded)
    269 if raise_for_status:

File /usr/local/lib/python3.10/dist-packages/pyinaturalist/session.py:305, in ClientSession.send(self, request, dry_run, expire_after, refresh, retries, timeout, **kwargs)
    303 # Otherwise, send the request
    304 read_timeout = timeout or self.timeout
--> 305 response = super().send(
    306     request,
    307     expire_after=expire_after,
    308     refresh=refresh,
    309     timeout=(CONNECT_TIMEOUT, read_timeout),
    310     **kwargs,
    311 )
    312 response = self._validate_json(
    313     request,
    314     response,
   (...)
    318     **kwargs,
    319 )
    321 logger.debug(format_response(response))

File /usr/local/lib/python3.10/dist-packages/requests_cache/session.py:205, in CacheMixin.send(self, request, expire_after, only_if_cached, refresh, force_refresh, **kwargs)
    203     response = self._resend(request, actions, cached_response, **kwargs)  # type: ignore
    204 elif actions.send_request:
--> 205     response = self._send_and_cache(request, actions, cached_response, **kwargs)
    206 else:
    207     response = cached_response  # type: ignore  # Guaranteed to be non-None by this point

File /usr/local/lib/python3.10/dist-packages/requests_cache/session.py:229, in CacheMixin._send_and_cache(self, request, actions, cached_response, **kwargs)
    225 """Send a request and cache the response, unless disabled by settings or headers.
    226 If applicable, also handle conditional requests.
    227 """
    228 request = actions.update_request(request)
--> 229 response = super().send(request, **kwargs)
    230 actions.update_from_response(response)
    232 if not actions.skip_write:

File /usr/local/lib/python3.10/dist-packages/requests_ratelimiter/requests_ratelimiter.py:87, in LimiterMixin.send(self, request, **kwargs)
     77 """Send a request with rate-limiting.
     78
     79 Raises:
     80     :py:exc:`.BucketFullException` if this request would result in a delay longer than ``max_delay``
     81 """
     82 with self.limiter.ratelimit(
     83     self._bucket_name(request),
     84     delay=True,
     85     max_delay=self.max_delay,
     86 ):
---> 87     response = super().send(request, **kwargs)
     88     if response.status_code in self.limit_statuses:
     89         self._fill_bucket(request)

File ~/.local/lib/python3.10/site-packages/requests/sessions.py:703, in Session.send(self, request, **kwargs)
    700 start = preferred_clock()
    702 # Send the request
--> 703 r = adapter.send(request, **kwargs)
    705 # Total elapsed time of the request (approximately)
    706 elapsed = preferred_clock() - start

File ~/.local/lib/python3.10/site-packages/requests/adapters.py:501, in HTTPAdapter.send(self, request, stream, timeout, verify, cert, proxies)
    486     resp = conn.urlopen(
    487         method=request.method,
    488         url=url,
   (...)
    497         chunked=chunked,
    498     )
    500 except (ProtocolError, OSError) as err:
--> 501     raise ConnectionError(err, request=request)
    503 except MaxRetryError as e:
    504     if isinstance(e.reason, ConnectTimeoutError):
    505         # TODO: Remove this in 3.0.0: see #2811

ConnectionError: ('Connection aborted.', TimeoutError('The write operation timed out'))

Workarounds
Is there an existing workaround for this issue?
Environment

OS & version: Ubuntu 20.04
Python version: 3.10.12
Pyinaturalist version or branch: 0.19.0

Thanks for the heads up. That error message could definitely be friendlier.
It must be intermittent issues on the iNat server side. Have you noticed this only with create_observation(), or also with read-only endpoints (like get_observations())? By default, pyinaturalist sends requests with a timeout of 10 seconds, and will retry failed requests up to 5 times with delays and exponential backoff. I could bump up the default timeout for create_observation(), maybe something like 30 seconds?
If you want, you can modify these settings yourself with a ClientSession object. Example:
from pyinaturalist import create_observation, ClientSession

session = ClientSession(timeout=30, max_retries=10)
create_observation(
    ...,
    session=session,
)

@JWCook Am in Southeast Asia with bit of latency, so sending a post payload with json,  image and audio file causing the above error every other requests.  Thanks for the tip on using clientsession with custom timeout and retries options, this should be documented in docs, it would have saved me valuable time.
I haven't noticed any timeouts on get_observations yet, perhaps I need to spend some time to do some metrics and report back here.

Good point about slower internet connections. I'll bump up the default timeout, and add some more info about that to the docs.

@JWCook  What finally seems to work well is to send each observation every 10 seconds and handle any timeout errors using python exceptions.
If an exception happens, then wait for another additional 10-20 seconds before sending any new create_observations.
Perhaps this backing off strategy seems to work for now. My guess is that iNat servers might have write latency and might respond badly if you send too many requests and file payloads too frequently.

@JWCook After further testing, I strongly suspect the problem is with the add '{API_V1}/observation_sounds endpoint which seems to cause most amount of write errors causing timeouts.

Hmm, in iNat's backend I don't think there's much difference in how it handles image uploads vs audio uploads. Could it be correlated with file size? Roughly how large are the files you're uploading? And are you still seeing the same type of error ( TimeoutError('The write operation timed out'))?
Also, there is already rate limiting built in (per_second, per_minute, and, per_day parameters for ClientSession), but it currently doesn't go any slower than 1 request per second. That's something I could fix, though.

@JWCook Am perplexed with this, there seems to be no correlation with the size of files. It is just that the server just gives up or stops responding triggering a time out error.
Will also play around with combination of per_* ClientSession options to see what's happening here.

per_second=0.1

Tried different combinations but still results in timeout errors for audio uploads.

Am using both per_second setting of requests-ratelimiter  and tenacity's retry method to manage to upload. Still has timeout errors but slowly managing to upload the backlog of observations.
@retry(wait=wait_exponential(multiplier=10, min=10, max=360) ```

@JWCook Shall we close this bug as this seems to be caused mainly by the iNat's servers capacity to handle audio files. What do you reckon?

Yeah, I don't think there's much more we can do about this on the client side. Sorry, I wish I could be of more help!
On the iNat server side, something that would help is support for uploading files in small chunks, and resuming failed partial uploads. As far as I know, that's not currently possible.
After thinking about it a bit more, it would be possible to set up an intermediate service that emulates this using a cloud storage provider. Something like:

AWS S3 multipart uploads

Google Cloud Storage and Cloudflare R2 also support this
These services might be better able to handle interrupted connections in general, and you may have a better connection to the nearest AWS datacenters (Hong Kong, Singapore, and eventually Bangkok) compared to iNat's servers

A job (for example with AWS Lambda) that uploads files from there to iNaturalist
That could likely be done within the AWS free tier (for S3 that's up to 5GB storage, 100GB transfer per month), but would take a bit of work to set up. It would also require an API key.

Let me know if that's something you'd be interested in looking into. I may not have time to work on something like that right now, but I could at least give some pointers and examples.

Thank you @JWCook . Perhaps I'll reach out to iNat developers through NatGeo to improve their upload process as you suggested in future.


[1.19.2] [Forge] EMI not Recognising  crafting inventories

I am trying to use the Storage Lecturn from Ars and Crating Terminal from Simple Storage, but EMI does not recognize it as a valid inventory space, so the recipe book shows as if it's empty.
And even quick crafting does not recognize non-Player inventories as available space.

Unfortunately this is the kind of issue that would need to be resolved by mods themselves adding EMI integration. JEI's information for recipe filling is not structured in a way that can be used by EMI particularly for craftables.


how to tell there was json parsing error?

post "/[task:Task:json]":
  # here `task` variable is initialized even if json parsing error occured
  # also response with an error is automatically sent back!
  # how do i detect that json was not parsed correctly here?

thanks for answer.

It's not possible right now. What exactly do you need? Complete the route after sending the JsonParseError from the server?

i need to add task to database, or do not add it if there was an error.

Ok, I added return statement on any JSON parse error
So, when user sends incorrect JSON, then:

Server detects it
Server respond error with 400 code
Server completes current route without executing

Please, update to latest commit via nimble install happyx@#head


ci: fix dev auto push

This PR aims at updating deploy_dev CI job with cleaned VM up to date satus and folders
Thanks for reviewing !

hi ! @Akilditu, maybe we can delete docker-compose-prod.yml and docker-compose-prod.yml if we are not using them then. Or it is used on prod VM ?

hi ! @Akilditu, maybe we can delete docker-compose-prod.yml and docker-compose-prod.yml if we are not using them then. Or it is used on prod VM ?

dev.yml is needed for dev using make run_dev. Deleted the prod though :)


Fix readme installation

You don't need to build the first time you docker-compose, it builds automatically.

Hey @alexandrelam Can I do this?

Hi @NaincyKumariKnoldus this is a project we are doing with our friends for our school. We not currently looking for help so we are going to do this ourselves!

okay @alexandrelam no problem.


Improve Dataset classes and Windower interaction

1 Re-fine definition of a BaseDataset:

does it inherit from pytorch Dataset?
if it is a pytorch Dataset, length should be n_times
is there a use case for calling getitem?

2 Have a BaseConcatDataset

should implement a 'split' method

3 Datasets should not know the windower

move EventWindower / FixedLengthWindower out of MOABBDataset/TUHAbnormal

4 Windowers should be applied to datasets

Windowers could be functions instead of classes
windowers should accept a ConcatDataset on call and return a ConcatDataset

5 Avoid variable name ambiguities

for example with mne.Raw.info

I've been working on an example for comparing lazy and eager loading on real data (https://github.com/hubertjb/braindecode/blob/lazy-loading-example/examples/plot_lazy_vs_eager_loading.py). I realized there are a few things we might want to add to our design of datasets.

Should we add properties to BaseConcatDataset to avoid having to go look for information in attributes of attributes, e.g., concat_ds.datasets[0].raw.info['sfreq']. Apart from the sampling frequency, other potential properties could be the number of channels, window length, available targets, etc. By using getters with the @property decorator these values could be fetched when needed for example.
Currently the data arrays inside the Dataset objects are saved as numpy arrays of type float64. First, knowing the model is usually made out of float32, should we internally cast the data to save space? It could make a difference when using eager loading for instance. Second, should we go a step further and actually store the data as torch Tensors directly, so that we don't need to perform the conversion numpy -> torch before every forward pass?

I've done this before in some of my experiments and included this information in what we now call the description which is a pandas.Series. What do you think about this? One downside would be that we need to manually update the information when we apply transforms (and hence change number of channels, or the sampling frequency). And since we want to support custom transformations, users would need to implement a update of the information...

Where would you apply the casting of float64 to float32? Could this be something which mne or MOABB implements instead? So for example mne.io.read_raw..(dtype=np.float32).

If repeatedly casting numpy -> torch is slow (as done in the PyTorch DataLoader), we could maybe implement a final transform which handels the conversion once before we train?
Can you maybe include this in your eager vs. lazy loading test to see a) whether it makes a difference to have float32 or float64 and b) whether casting to a Tensor once instead of whenever the DataLoader is called makes a difference?

1. I've done this before in some of my experiments and included this information in what we now call the `description` which is a pandas.Series. What do you think about this? One downside would be that we need to manually update the information when we apply transforms (and hence change number of channels, or the sampling frequency). And since we want to support custom transformations, users would need to implement a update of the information...

Ah good point, it kind of fits nicely into description, although I agree that the update part makes it pretty inconvenient. An option would be to make description a property itself, and create the fs, n_channels, etc. entries when the property is accessed. I would either go with that or use basic properties - I think the update solution could too easily become a source of confusion and errors.

1. Where would you apply the casting of float64 to float32? Could this be something which mne or MOABB implements instead? So for example `mne.io.read_raw..(dtype=np.float32)`.

Good point, maybe this could be done by MNE.

If repeatedly casting numpy -> torch is slow (as done in the PyTorch DataLoader), we could maybe implement a final transform which handels the conversion once before we train?

Also a very good idea!

Can you maybe include this in your eager vs. lazy loading test to see a) whether it makes a difference to have float32 or float64 and b) whether casting to a Tensor once instead of whenever the DataLoader is called makes a difference?

Yep, thanks for the suggestion, I'll do that as a first step. :)

I would suggest to try to save time here by only implementing here what we already need for some current example to work. E.g., maybe atm only need 'n_channels' and 'fs', then only implement this in a simple way, extend later as needed. When we have a clearer picture from running code what information we really certainly need at which point, these kind of discussions can get simpler.

if you can use the name sfreq for sampling frequency like MNE it would be great.

I would suggest to try to save time here by only implementing here what we already need for some current example to work. E.g., maybe atm only need 'n_channels' and 'fs', then only implement this in a simple way, extend later as needed. When we have a clearer picture from running code what information we really certainly need at which point, these kind of discussions can get simpler.

Sure! Actually I think this is not required for making an example work, we can currently do exactly this by accessing attributes of attributes. I was just wondering whether you guys had ideas - we can continue this discussion when it becomes a blocker/ends up in a PR.

Seems done to me.


fix npm api key

(we were using the same one that we use for ESA which doesn't work apparently as these keys are per project)

v0.2.1 was published successfully this time! 🎉


Reflection API reports 0 entry points in v2024.1.22

IModule::getDefinedEntryPointCount() and related APIs are returning 0 in the latest release / master branch. I have a minimal repro:
#include <slang.h>
#include <slang-com-ptr.h>

int main() {
    Slang::ComPtr<slang::IGlobalSession> globalSession;
    slang::createGlobalSession(globalSession.writeRef());

    slang::TargetDesc targetDesc = {
        .format = SLANG_SPIRV,
        .profile = globalSession->findProfile("glsl_460"),
        .flags = SLANG_TARGET_FLAG_GENERATE_SPIRV_DIRECTLY,
        .forceGLSLScalarBufferLayout = true,
    };
    slang::SessionDesc sessionDesc = {
        .targets = &targetDesc,
        .targetCount = 1,
        .defaultMatrixLayoutMode = SLANG_MATRIX_LAYOUT_COLUMN_MAJOR,
    };

    // Parsing
    Slang::ComPtr<slang::ISession> session;
    globalSession->createSession(sessionDesc, session.writeRef());

    Slang::ComPtr<slang::IBlob> diagnostics;

    const char* source = R"(

RWByteAddressBuffer output;

[numthreads(1)]
void ComputeMain(int tid : SV_DispatchThreadID) {
    output.Store(tid, 123);
}
)";
    slang::IModule* module = session->loadModuleFromSourceString("Repro", "Repro.slang", source, diagnostics.writeRef());

    Slang::ComPtr<slang::IEntryPoint> ep;
    auto res = module->findEntryPointByName("ComputeMain", ep.writeRef());
    printf("#EP: %p %08x %d\n", ep.get(), res, module->getDefinedEntryPointCount());

    return 0;
}

Output in v2024.1.22:
#EP: 00000256B939EF40 80070057 0
Output in v2024.1.21:
#EP: 000001F4D9DF0160 00000000 1

I don't suppose this relates at all to the flag -fvk-use-entrypoint-name, does it?
I usually have to add that flag into slangc in order to have entrypoint names "stick".

I don't think so, this happens before even linking and codegen. It's weird that looking up the entrypoint by name returns a non-null pointer, but an error result.

You can always use findAndCheckEntryPoint to make any function treated as an entrypoint, even when they don't have [shader] attribute.

It looks like a regression,. I recently touched this logic in https://github.com/shader-slang/slang/pull/4336/files#diff-81b3d1428af174af2fd0c7a42eef8d9b7e0fd4b239851472649fd51df063add6, not sure if that is the cause for the regression.

This was actually caused by a linking error, as I was just replacing the DLLs in my app folder 🤦. My apologies.

If anyone else comes across this. I thought I was building as a static library (I was not), I was linking against the DLL symbols. Instead of getting a DLL not found error, it was pulling a different version from the Vulkan install.


Feature/Pagination to Main

Somehow this wasnever merged to main. Has been already integrated on CATX-A1-SLDT

Won't merge, since I am working on a new branch for the new API and pagination will be added there.


”az webapp deploy“ requires additional "Microsoft.Web/Serverfarms/read" permission since version 2.59.0, which is unexpected

Describe the bug
It is not expected for the app service deployment to require additional permission for "Microsoft.Web/Serverfarms/read".

When run the same command prior to version 2.59.0, there is no issues.

Related command
az webapp deploy --resource-group APP --name xxx --src-path .\package.zip --type zip --async true
Errors
The client 'xxx' with object id 'xxx' does not have authorization to perform action 'Microsoft.Web/serverfarms/read' over scope '/subscriptions/xxx/resourceGroups/APP/providers/Microsoft.Web/serverfarms/LinuxPlan' or the scope is invalid. If access was recently granted, please refresh your credentials.
Code: AuthorizationFailed
Issue script & Debug output
N/A
Expected behavior
The deployment should go without issues
Environment Summary
PS D:\demo\sql-nodejs> az --version
azure-cli                         2.60.0
core                              2.60.0
telemetry                          1.1.0
Extensions:
serviceconnector-passwordless               1.0.2
spring                            1.20.1
Dependencies:
msal                              1.28.0
azure-mgmt-resource             23.1.0b2
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\lkevi.azure\cliextensions'
Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb  6 2024, 21:52:07) [MSC v.1937 32 bit (Intel)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response

Thank you for opening this issue, we will look into it.


Bad hostname

How can I set<EMAIL_ADDRESS>as the user and maraa  as the password in a proxy authentification
the scheme http does not accept registry part: m.fuentes<EMAIL_ADDRESS>(or bad hostname?)

@mano92fuentes have you looked here?
http://stackoverflow.com/questions/3877055/how-to-use-bundler-behind-a-proxy
or
http://stackoverflow.com/questions/18213242/how-to-use-rails-bundler-behind-a-proxy-network

Think its safe to assume @mano92fuentes resolved this issue, closing


🚚 Rename documentation to opentdf

@cassandrabailey293 Can you check the re-wording I did? Or maybe check with product?


Question: Why is propagates false for AfterInit Events?

I'm currently trying to add transient references to the root document of a subdocument and I fail because the afterInit event is fired on every nested document with  e.target being the nested document instead of the root document.

Without code I can't tell anything

https://github.com/jagi/meteor-astronomy/blob/v2/lib/core/class.js#L96 here the event is created and dispatched. It is then not propagated due to the default value of propagates (https://github.com/jagi/meteor-astronomy/blob/1823acb76800919699c9afe92743819e86e1cf80/lib/modules/events/class_prototype_methods/dispatch_event.js#L49) (definition Event: https://github.com/jagi/meteor-astronomy/blob/1823acb76800919699c9afe92743819e86e1cf80/lib/modules/events/event.js)

Init events are not propagated by purpose. I don't remember why I did it but it was necessary to make everything work. So closing it now as I'm not gonna change this behavior because it would break apps using Astronomy.


Convert all function names to uppercase to match the Amazon Documentation

The AWS Documentation for CloudFormation templates has all property types beginning with an uppercase letter, but we don't currently do this in the Javascript.
It's time for a makeover!

This will be completed by #38, so we won't fix this by hand


how do i compile as 64bit?

im trying to follow this and it says to compile extest as 64bit but idk how

You can build 64 bit like so:
cargo build --target=x86_64-unknown-linux-gnu --release

do i need steam for this to work? onboard isnt typing

Did you use LD_PRELOAD as shown in the readme? The 64bit build will be in target/release/libextest.so

yes i run env LD_PRELOAD=/usr/lib64/libextest.so onboard

Is libextest.so actually in /usr/lib64? It won't be installed there by default.

i copied it there

i get env LD_PRELOAD=/home/mariah/Downloads/extest/target/x86_64-unknown-linux-gnu/release/libextest.d onboard ERROR: ld.so: object '/home/mariah/Downloads/extest/target/x86_64-unknown-linux-gnu/release/libextest.d' from LD_PRELOAD cannot be preloaded (invalid ELF header): ignored. ERROR: ld.so: object '/home/mariah/Downloads/extest/target/x86_64-unknown-linux-gnu/release/libextest.d' from LD_PRELOAD cannot be preloaded (invalid ELF header): ignored. ERROR: ld.so: object '/home/mariah/Downloads/extest/target/x86_64-unknown-linux-gnu/release/libextest.d' from LD_PRELOAD cannot be preloaded (invalid ELF header): ignored. ERROR: ld.so: object '/home/mariah/Downloads/extest/target/x86_64-unknown-linux-gnu/release/libextest.d' from LD_PRELOAD cannot be preloaded (invalid ELF header): ignored. 15:25:12.289 WARNING Config: mousetweaks GSettings schema not found, mousetweaks integration disabled. running env LD_PRELOAD=/home/mariah/Downloads/extest/target/x86_64-unknown-linux-gnu/release/libextest.d onboard. right now im in gnome as i need a touch keyboard

You should be preloading libextest.so, not libextest.d

oh ok

should i move the library somewhere else

i get this on kde. screenshot because i cant type


OBST-454: Uncomment supportedDeploymentTypes: zip

@quintesse This one was missing. The previous version had supportedDeploymentTypes: zip commented out

@gastaldi with @quintesse on PTO maybe you can take a look at this?


Try to update Jest to v29

We should give jest v29 a shot since v28 failed.
Originally posted by @flacial in https://github.com/garageScript/c0d3-app/issues/2309#issuecomment-1248444411

Similar to v28. It's not yet possible.


Update addAppstoDock.sh

Added function to workaround not having to change the Microsoft Teams app name during the phasing of the new Microsoft Teams app.

@microsoft-github-policy-service agree

Thanks!


added Beta 29.1, 29.2, 29.3 release notes for mac and windows

Proposed changes

Added release notes for Betas 29.1, 29.2, 29.3 for Mac and Windows
Updated some links to docker/labs tutorials to go directly to README's for better usability

Project version

should go directly into master

Related issues

change logs and test plans in private repo

Please take a look
@joaofnfernandes @johndmulhausen @sanscontext @mstanleyjones @friism @MagnusS @dave-tucker
These docs changes are for already released hot fix betas, so I'd like to publish tonight. Thanks!
Signed-off-by: Victoria Bialas<EMAIL_ADDRESS>

Okay, LGTM!


[Prototype] Merge IConfigurationSection <-> IConfiguration

Enables clean traversal of IConfiguration, Root returns "" for Key/Path, but can now contain a value.
cc @divega

Also renamed GetSection => GetSubSection perhaps unneeded, but matches the doc comments and I feel Sub adds that 'Descendent' flavor

If you want to preserve the intellesense hiding, we could have IConfigurationRoot be:
public interface IConfigurationRoot {
   public void Reload();
   IConfiguration Configuration { get; }
}


fix: Table widget column with 0 as value should render 0

Fixes #7658
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
manual
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:green_circle: Total coverage has increased
// Code coverage diff between base branch:release and head branch: fix/table-value-zero

Status
File
% Stmts
% Branch
% Funcs
% Lines

:green_circle:
total
54.79 (0)
36.65 (0.02)
33.55 (0)
55.32 (0)

:green_circle:
app/client/src/utils/autocomplete/TernServer.ts
52.26 (0.22)
41.25 (0.83)
34.48 (0)
56.22 (0.26)

:green_circle:
app/client/src/widgets/TableWidget/component/TableUtilities.tsx
37.95 (0)
23.89 (2.27)
16.22 (0)
36.18 (0)

@vivekverma2312 Could you please test this on DP?

/ok-to-test sha=c9aa4e2

@sbalaji1192 Fix is tested on deploy preview and working fine

/ok-to-test sha=c9aa4e2

/ok-to-test sha=c9aa4e2

/ok-to-test sha=c9aa4e2

@sbalaji1192 its best to get the action link as a comment, Its difficult to track the test run otherwise

/ok-to-test sha=c9aa4e2

https://github.com/appsmithorg/appsmith/actions/runs/1438694169

/ok-to-test sha=f6bac53

https://github.com/appsmithorg/appsmith/actions/runs/1439242215


Add updated MS data files to data folder

Include updated batch, sample, and peak data in data folder - file sizes under size limit

What lesson do we need data/messy for?

Found it in lesson 4.


fix: Assign default attributes to all resources in the compiled CloudFormation template

Currently this plugin only assigns defined default attributes to items listed under resources.Resources, and not resources generated by the serverless framework or other plugins.
Currently, say if I have alarms defined by another plugin, i.e. serverless-plugin-aws-alerts, the resources generated by that plugin do not get default attributes that this plugin would be assigning to their resource type as the resources aren't manually defined under resources.Resources, i.e.
    - Type: AWS::CloudWatch::Alarm
      Metadata:
        cfn_nag:
          rules_to_suppress:
            - id: W28

These changes apply the defaultAwsAttributes to all resources in the compiled template, which includes resources generated by other plugins.
Compiling and then comparing the templates (.serverless/cloudformation-template-update-stack.json) before/after the change shows the expected results

Thanks @jeffsays! Just had a chance to look at this.
I had to make some edits, but couldn't seem to push them to your branch. Do you have Allowing changes to a pull request branch created from a fork disabled by any chance?
Changes I made: https://github.com/neverendingqs/serverless-default-aws-resource-attributes/pull/8

@neverendingqs I'll take a quick look!

Closing in favour of #8.


fix(core): Fosshub download

Closes lukesampson/scoop-extras#4249
Closes lukesampson/scoop-extras#4152
Closes lukesampson/scoop-extras#4157
Closes #4050

Have no idea why is it needed now.
Please test Excavator and normal execution
Before

After

It should work in Excavator:

Should this commit be merged into master ASAP? 🤔
Fosshub download has been broken for a month.

@hoilc more than one month...

@r15ch13 @Ash258 Shall we merge develop? I can do it, if need be.

As I said in teams discussion. I do not use this repo anymore so I have no clue about current state of develop and its stability.
Feel free to merge or cherry pick whatever you want.

Thanks for your contributions to the great project.
@rasa Do you have the free time to process the unmerged commits?

FYI, the error I reported at https://github.com/lukesampson/scoop/issues/4050 is still present today.


Update SQS tests to consume multiple messages at once

The tests in sqs.rs include a consume_queue function which pulls all outstanding messages off of a queue into a vector. It currently receives just a single message from the queue at a time, but the underlying receive_message method allows receiving a batch of up to 10. The code should be updated to receive messages in batches instead of one at a time.
(There may be some microscopic performance improvement from doing so, but really, this is a nice small self-contained change just to get familiar with building and testing the crate).

@rfk the receive_message method allows setting max_number_of_messages to 10. However, the delete_message still be one by one. I was thinking to try and replace it with the delete_message_batch.

That sounds good to me!


Multiple Cards

Is your feature request related to a problem? Please describe.
This is more of a call for help than a feature request.
I read the documentation and looked through the issues but I can't seem to understand how to access query data or display multiple cards in layout().
I have a card presenter on my Service model and I'm trying to display a card collection.
Basically display a card for every Service record on the Screen.
Describe the solution you'd like
It would be nice if I just could pass an array of Cardable elements and have them displayed.
public function query(): array
{
    return [
        'services' => Service::all()->presenter(),
    ];
}

public function layout(): array
{
    return [
        new Card('services', [
                Link::make('Edit')->route('platform.service.edit', 'service.id'),
        ]),
    ];
}

Would this even work?
Describe alternatives you've considered
This is my current working version, is there a better way to do this?
public function query(): array
{
    $this->services = Service::all();

    $out = [];
    foreach ($this->services as $service)
    {
        $out[$service->name] = $service->presenter();
    }

    return $out;
}

public function layout(): array
{
    $cards = [];

    foreach ($this->services as $service)
    {
        $cards[$service->name] = new Card($service->name, [
            Link::make('Edit')->route('platform.service.edit', $service->id)
        ]);
    }

    return $cards;
}

Additional context
I'm having a hard time understanding how to add layout elements dynamically.

@Davy1992 did you maybe manage to solve this issue some other way?


CC-6830: Add PA support terms for Redis connector

Signed-off-by: Arjun Satish<EMAIL_ADDRESS>

@jcustenborder can you take a look at this PR. thanks~!


go 1.17 support

Any possibility of supporting go 1.17?  We still use go 1.17 for now, we don't have plans to move to 1.18 due to the additional compilation costs.  Also,we are not using 1.18 features.

Any possibility of supporting go 1.17? We still use go 1.17 for now, we don't have plans to move to 1.18 due to the additional compilation costs. Also,we are not using 1.18 features.

If you are using go, the cost of upgrading go's version is a tex for using it.

Any possibility of supporting go 1.17? We still use go 1.17 for now, we don't have plans to move to 1.18 due to the additional compilation costs. Also,we are not using 1.18 features.

If you are using go, the cost of upgrading go's version is a tex for using it.

? a tex?

Hey @joel-rieke, sorry for the slow response. We'd prefer to stick to go 1.18 and stay up to date with the latest release. We'd be happy to discuss it internally if this is an issue for other customers, too, though. I haven't personally noticed a huge hit from compile times in 1.18, but I have read the issue on it over in the golang repo.
In the meantime, do you all have a good workaround? Have you already built a script to downgrade the go.mod file before you build go-mysql-server?

I forked back just prior to this change and have been working off the fork ever since.  :(  I'd rather not have to do this.  I think there are still pretty strong feelings by many developers about 1.18.  It seems to me they ought to be able to detect whether the new 1.18 features are being used in a code base and if not, don't pay the extra cost that 1.18 requires in compilation, but so far I'm not seeing any optimizations in this direction.  Seems like a big energy waste to me.

Have you all had a chance to try out the Go 1.19 release that just came out this week to see if it helps your compilation times?
 We still care about how this affects your team though, and want to hear if there's anything else we can do, but we won't be able to revert to 1.17.

Haven't heard back on this issue in about a month, so closing this one out now that 1.19 and 1.18 are the official TLS golang versions.


Curly quotes prevent a slack message from showing up in minecraft

Regular quotes: "foo"
Curly quotes : “foo”
If, on a mac, you have "Use smart quotes" enabled under System Preferences > Keyboard > Text, typing "foo" in many programs will automatically convert to curly quotes (“foo”).  Slack is one such program.
However, any message in slack containing curly quotes will fail to show up in minecraft, while the same message with regular quotes will show up fine.

This seems fixed now.


Iteration Plan of v2.13.0 - May 2021

MMDetection v2.12.0 will be released at the end of April.
We list our plan for v2.13.0, which will be released at the end of May.
The PRs from the communities will also be listed here.
Thus, developers could comprehensively know the plan and the progress.
Algorithms:

[x] Seesaw Loss for long-tailed instance segmentation (https://github.com/open-mmlab/mmdetection/pull/5128)
[ ] Panoptic FPN (#4969 and more)
[ ] Mosaic Augmentation (#4937)
[x] Centernet (#4602)

Features:

[ ] Support onnx2tensorrt with multi-batch for the listed models (TBA)
[ ] Add evaluattion tool for converted TensorRT models (TBA)
[ ] Add dataset downloading and extraction scripts for convenience (#5041)
[ ] Support PointRend model exporting to ONNX (#4977)
[ ] NMS update to speed up exporting to ONNX (#4990)
[x] Add soft_mask_target as a config option to allow non-binary masks for training (#4615)
[ ] Supports for exporting CornerNet to ONNX with dynamic shapes and comparable performance https://github.com/open-mmlab/mmdetection/pull/5112

Enhancements:

[ ] Add simple_test to dense heads and unify the mixins for dense heads (#5061)

Fixes:

[x] Discard bboxes with sizes equals to min_bbox_size (#5011)

If you have created a PR and wish it to be merged in this version, feel free to leave a message in this issue. We will update our plan accordingly here.

Hi, may I ask that are there any comments on #5011? I'm not sure whether there is a better solution, but this PR works in my case.

Could you please add my PR that extends flexibility of YOLOv3 architecture to this release?
https://github.com/open-mmlab/mmdetection/pull/5218


use Trainer to train model without validation loop

Dear Developer,
Since I have to train the model without validation loops. Is there any parameter that can make the trainer training without the validation loop?
trainer = pl.Trainer(strategy="dp", accelerator="gpu", devices="auto", max_epochs=1, limit_val_batches=0,
num_sanity_val_steps=0, val_check_interval=0)
I tried to set those parameters, but it does not work

limit_val_batches=0,
num_sanity_val_steps=0

just these 2 should work. Is it running the validation loop? does it show the validation progress bar?


Add UT for new FFC cases and add remaining MODP support

Can change target branch to throttle instead of master? Otherwise commits get tangled up when trying to merge upwards


Add --skip-covered flag to disable reporting covered files

Describe the feature you'd like

Interrogate's output can get very verbose which is very useful, however sometimes it would also be useful to ignore any files that are 100% covered to focus on the files that need docstrings added, I suggest adding a --skip-covered flag to disable reporting of such files.
Is your feature request related to a problem?

No
Your Environment

interrogate version(s) (interrogate --version: version 1.4.0
Operating System(s): MacOS
Python version(s): 3.9

Additional context

Coverage.py supports skipping covered files

Thanks for the good idea! I'll try to add this functionality in the next week or so for the 1.5.0 release.

FYI I've added this (as --omit-covered-files) and will be included in the 1.5.0 release. Not sure when I'll be able to make the release as I want to get a few more things in before, but I'll update this ticket once I do!

Update: 1.5.0 has been released! Let me know what you think / if you have any issues!

Thank you!


Is dkms for kernel 6.1^ in the roadmap

I'm not sure if this is an official AMD project. My question is simple is there a 6.1^ dkms version in the roadmap, if it is can I help with something I'm not an expert on GPUs but I want to have a server running and I use vanilla Debian so this could come in handy for me

Yes, here is the official AMD project.
Actually the dkms sources always commit to the linux kernel with amdgpu driver. So we can use upstream dkms from linux kernel. The difference is linux release version may stay an old version of kernel, so related dkms is an old version, so amdgpu driver cannot support new AMD gpu card.

But 6.1 is a quite new version, so I guess the built-in version of amdgpu and dkms from 6.1 may support at least RDNA2, likes RX6800.

So I can just install dkms from my mirror and run
sudo amdgpu-install --usecase=hiplibsdk,rocm --no-dkms
And I should be able to use my GPU with pytorch?

@alfonsocv12
The installation script is OK.
And before test pytorch, I suggest you test your gpu with /opt/rocm/bin/rocminfo to see which isa version of your card, likes gfx1030. And make sure pytorch-rocm can support this card.
Good luck.

I have done this, $ rocminfo outputs
ISA INFO:
    ISA 1
        Name:                 amdgcn-amd-amdhsa-gfx1030

Thanks a lot @xuhuisheng its working now 🥳
>>>import torch
>>>torch.cuda.is_available()
True

I'm going to make a medium post on the topic for people trying to get a similar setup

I believe a proper AMDGPU DKMS compiles on Linux OEM kernel 6.1.0 with ROCm 5.6.0 now


Rebase(2) of Pull Request #80

I tried to take over the changes as they were done. Repaired some conflicts here and there, reworked a test a little.

Thanks!


new line in answer breaks the json parsing

I've tried using gpt4-o to evaluate an answer and the model has the tendancy to output formatted json which contains newlines. For example:
{\n  "relevance": 0,\n  "reasoning": "The document incorrectly states that Rio de Janeiro is the capital of Brazil, which is factually incorrect. The correct capital of Brazil is Brasília."\n}
I get this error:
('Failed to evaluate qid: <no_qid> did: <no_did>', 'Exception: Answer does not contain all necessary keys\nExpected [\'relevance\', \'reasoning\'], found set().\nFull Answer:\n{\n  "relevance": 0,\n  "reasoning": "The document incorrectly states that Rio de Janeiro is the capital of Brazil, which is false. The correct answer is Brasília."\n}')

This breaks the __parse_json function even when the json is valid https://github.com/zetaalphavector/RAGElo/blob/d868c819be806e2953fefb493e85dee9f1ad0310/ragelo/evaluators/base_evaluator.py#L48

I guess this could be a prompting issue. I added (NON-BEAUTIFIED) to the example prompt and it works. I was confused because in the error I get, it's not clear what is wrong with the json

I have the same issue as above. I am not sure what exactly is meant by adding '(NON-BEAUTIFIED)' to the prompt . Could someone please advise and may be update the repo?
`>>> from ragelo import get_retrieval_evaluator

evaluator = get_retrieval_evaluator("RDNAM", llm_provider="openai")
raw_answer, processed_answer = evaluator.evaluate(query="What is the capital of France?", document='Lyon is the second largest city in France.')
Failed to PARSE answer for qid: <no_qid> document id: {document.did}
Raw answer: {"O": 0}
Traceback (most recent call last):
File "", line 1, in
File "/home/Ubuntu/miniconda3/envs/ragelo/lib/python3.11/site-packages/ragelo/evaluators/retrieval_evaluators/base_retrieval_evaluator.py", line 200, in evaluate
raise ValueError(
ValueError: ('Failed to evaluate qid: <no_qid> did: <no_did>', 'Exception: Failed to parse answer: {{"O": 0}')
`

@fahdmirza I'm not sure this is the same issue, because I was using a custom prompt instead of RDNAM. But here is my code if that can help:
from ragelo import get_retrieval_evaluator, get_llm_provider
from ragelo.types.configurations import OpenAIConfiguration

api_key = os.environ.get('OPENAI_API_KEY')
openai_config = OpenAIConfiguration(api_key=api_key, model="gpt-4o")
llm_provider = get_llm_provider(name="openai", config=openai_config)
prompt = """You are a helpful assistant for evaluating the relevance of a retrieved document to a user query.

The answer should be evaluated according tot its relevance to the user query.

User query: {q}

Retrieved document: {d}

WRITE YOUR ANSWER ON A SINGLE LINE AS A JSON OBJECT (NON-BEAUTIFIED) WITH THE FOLLOWING KEYS:
- "relevance": A score from 0 to 3 indicating the relevance of the document to the query.
    - 3 Perfectly relevant: The passage is dedicated to the query and contains the exact answer.
    - 2 Highly relevant: The passage has some answer for the query, but the answer may be a bit unclear, or hidden amongst extraneous information.
    - 1 Related: The passage seems related to the query but does not answer it.
    - 0 Irrelevant: The passage has nothing to do with the query.
- "reasoning": A short explanation of why you think the document is relevant and why you gave the specific score.
"""

evaluator = get_retrieval_evaluator(
    "custom_prompt", # name of the retrieval evaluator
    llm_provider=llm_provider, # Which LLM provider to use
    prompt=prompt, # your custom prompt
    query_placeholder="q", # the placeholder for the query in the prompt
    document_placeholder="d", # the placeholder for the document in the prompt
    answer_format="multi_field_json", # The format of the answer. In this case, a JSON object with multiple fields
    scoring_keys=["relevance", "reasoning"], # Which keys to extract from the answer
)

raw_answer, answer = evaluator.evaluate(
    query="What is the capital of Brazil?", # The user query
    document="Rio de Janeiro is the capital of Brazil.", # The retrieved document
    query_metadata=None,
    doc_metadata=None
)

I've just merged #32 that should help with the RDNAM evaluator. Let me know if the issue persists!

Thanks guys, I just reviewed it on my channel and also credited the help here:
https://youtu.be/b_l5aeLLxSE


Insert Dialogue functionality does not seem to be working

Hi there, as shown in the image, when I click 'Dialogue Mode', 'Add dialogue', or 'Add simple dialogue' a small card appears but nothing seems to happen when it is clicked on. Not sure what the expected result is, but I don't think this is it.

Hello. Thank you so much for reporting this issue.
You are right, this is not expected behavior. This issue is occurring because you don't have any characters in your project.
To add a new character, go to View > Characters > Add > give it some name, and then Apply changes. After this go back to Insert and now you should see this character, and you should be able to add a new dialogue.
I will investigate this issue, the button should not be enabled, and it should give you some feedback that you don't have a character in your project.
If you have more suggestions on this, please feel free to reply to this message. Or if you have any other suggestions or you found a different issue, feel free to create New Issue.

I have that same problem; no dialog about needing characters or anything pops up besides the blank, empty box that I circled that is missing content. I have no characters added; didn't know you could add characters. I just started using it like 5 minutes ago.
My windows specs if it helps track it down:

My .net version is  4.8.04084
Take Care, With Love Through God and Jesus and The Holy Ghost,

The new update with this and a few other issues fixed is now rolling out. Please check for updates on Microsoft Store. Thank you both @az4726 and @MidnightStuff very much for reporting this.
I am gonna close this issue but if you have any other suggestions or bugs, please feel free to open a New issue.


Feature Request: Spell - major GUI changes

Describe the Feature You'd Like (required):
Refactor script to take into account the major GUI changes
How Would You Use It (optional):
All - the Spell game devs look to have made a big graphical shift, and possibly some anti-bot blocking, we'll take a look in the coming days to see what can be done to get around this.

All,
Just a quick update to say Spell has been updated after the major GUI changes, the claim, balance and daily puzzle functions should now be working again.

All,
Just a quick update to say Spell has been updated after the major GUI changes, the claim, balance and daily puzzle functions should now be working again.

Hi I update the latest version but Spell game still notworking correctly. It said
Step 118 - This means either the claim failed, or there is lag in the game.

Hi,
Are you using the built-in proxy? My latest recommendation was to run with the built-in proxy disabled, after disabling it, please restart Spell:
Usage Instructions
After executing the script with ./launch.sh, you'll be prompted to update settings and configure your session.
Update Settings
If you choose "yes" when prompted to update settings, you can review and modify the following options:

useProxy: Decide whether to use the built-in proxy (as of 19th September 2024, recommended off).

pm2 restart /Spell/

Hi,
Are you using the built-in proxy? My latest recommendation was to run with the built-in proxy disabled, after disabling it, please restart Spell:
Usage Instructions
After executing the script with ./launch.sh, you'll be prompted to update settings and configure your session.
Update Settings
If you choose "yes" when prompted to update settings, you can review and modify the following options:

useProxy: Decide whether to use the built-in proxy (as of 19th September 2024, recommended off).

pm2 restart /Spell/

Hi Im using normal, not with any proxy

Hi,
If the proxy is turned off in your settings, yet the script still fails after updating and restarting, you'd need to follow the standard troubleshooting steps to discover why it's not working.


Rename translator module and include it in the installation.

setup.py was not installing the translator.py module where tratihubis.py could see it. This patch renames the module to something less likely to cause a clash with another package and adds it to setup.py and build.xml.

Looks like #29 already addresses most of this. I can close this one, if you prefer the other one.


Refactor actions and flags into distinct packages

Currently, the files in cmd has flags, actions and the command design all defined in a single file. This needs to be refactored out (ideally when people aren't working on command changes).

Not sure if needed


Potential formula Confusion

The ion-ion potential in K.Michaelian paper is:

and the one found in the Compphys minmax is:

and in the paper, the potential formula is referenced to:

For this homework, which formula should we follow? @laserlab may be you can provide some lead.

@reshnashrestha I think, we can estimate binding energies by using the relation:

Okay, I am just confused with which formula to implement on our task.

you can use the one from the notebook

Thank you


JSBin-like pane control navigation button bar

Currently the beta navigation looks like this:

We want to overhaul the navigation buttons control what's shown to look more like JSBin.com:

This should be right-adjusted in the navbar to make room for the forthcoming search bar.
This style of button is also commonly referred to as "pills." These would need to be able to change to an active state when the pane is open.

Ohh I'd like to try this on codepen first and see how it goes :O

I seem to remember we agreed to keep the buttons as is. This would not be a trivial change.

@BerkeleyTrue I seem to remember agreeing that this UI change shouldn't hold up merging your branch. I do think we'll need a JSBin-like button bar to clearly indicate which panes are active.

@BerkeleyTrue I updated the original issue to mention that the buttons should communicate the state of the active panes.

Wouldn't it be nice if you just had a drop down menu to the top of the "code" panel that indicates in what section they are? Or maybe it can be done such that the HTML/CSS/JS buttons are Inside the code panel, just like how it worked for the other panels (code panel, map, topic/tests). So the buttons in the menu bar are for the toggling of these major panels, and the buttons inside the codepanel are for toggling the different "language(html/css/js)" specific panels.

@buoyantair Can you create an illustration or point to an implemented example so we can better understand what you're proposing?

@QuincyLarson o_O 😅  Lemme do something to explain better >_>

@QuincyLarson o_O 😅  Lemme do something to explain clearly >_>

@buoyantair We plan to eventually allow for multiple JavaScript files and loading of specific libraries. Would you be interested in helping us implement this feature?

@QuincyLarson What's the status of this issue? It's still labeled blocked, I'm not sure what needs to happen here.

The status of this issue is blocked. No action is requred


fix hmre problems

use nodemon to restart server when client changed via hot reloading and to avoid differences between server and client side

Warning the current state could be lost if the server restarted

It would seem that isn't the good solution...


Unused local variable false positive when used with new and static variables

The following test case produces a false positive of an unused variable $cls.
<?php

class foo {
    public static $cls = 'foo';

    public static function create() {
        return new static::$var();
    }
}

foo::create();

$ phpmd test.php text unusedcode

/home/jon/test.php:7	Avoid unused local variables such as '$var'.

$ phpmd --version
PHPMD 1.5.0 by Manuel Pichler

This is still an issue in version 2.2.3


Will pulling names from a database for PI and Lab Person scale?

These drop down boxes are going to get out of hand. Is the plan to update this at some point (it'll probably work fine for a little while). Related to #925.

Would be better to have search function - I think
On Mon, Mar 9, 2015 at 7:09 PM, Greg Caporaso<EMAIL_ADDRESS>wrote:

These drop down boxes are going to get out of hand. Is the plan to update
this at some point (it'll probably work fine for a little while). Related
to #925 https://github.com/biocore/qiita/issues/925.
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/issues/928.

--
Gail Ackermann
Knight Lab
UCSD
<EMAIL_ADDRESS><EMAIL_ADDRESS>

What do you mean by out of hand? Do you mean too much data to fit in a dropdown (technical limitation), or do you mean inconvenient for the user? I'm not familiar with the technical limitations of the combo boxes we are using (or alternatives such as Chosen). As for inconvenience for user, the dropdown is filtered as you type to display only (fuzzy) matches. @ackermag it effectively is a search already, since it only displays (partial) matches to what you type.

Do you mean too much data to fit in a dropdown (technical limitation),
or do you mean inconvenient for the user?

Both, I think, but the fuzzy matching search will help a lot.

+1
On Mar 11, 2015 8:58 PM, "Greg Caporaso"<EMAIL_ADDRESS>wrote:

Do you mean too much data to fit in a dropdown (technical limitation),
or do you mean inconvenient for the user?
Both, I think, but the fuzzy matching search will help a lot.
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/issues/928#issuecomment-78415559.

Ok, so if the fuzzy match search is already in place let's close this one for now and re-open if it becomes a problem. I'll close, but @adamrp, if I'm misunderstanding and that's not already in place can you re-open?

As far as I am aware it is in place - I want to avoid a long list of
contributors to read through.  Sorry @adamrp <username: era-drop-215
password: J7XoQJ8I NEW PASSWORD 6N6VsPNF> I forgot that fuzzy search was in
place.
On Wed, Mar 11, 2015 at 8:11 PM, Greg Caporaso<EMAIL_ADDRESS>wrote:

Ok, so if the fuzzy match search is already in place let's close this one
for now and re-open if it becomes a problem. I'll close, but @adamrp
https://github.com/adamrp, if I'm misunderstanding and that's not
already in place can you re-open?
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/issues/928#issuecomment-78416542.

--
Gail Ackermann
Knight Lab
UCSD
<EMAIL_ADDRESS><EMAIL_ADDRESS>

Please don't post passwords...
On Mar 11, 2015 9:24 PM, "ackermag"<EMAIL_ADDRESS>wrote:

As far as I am aware it is in place - I want to avoid a long list of
contributors to read through. Sorry @adamrp <username: era-drop-215
password: J7XoQJ8I NEW PASSWORD 6N6VsPNF> I forgot that fuzzy search was in
place.
On Wed, Mar 11, 2015 at 8:11 PM, Greg Caporaso<EMAIL_ADDRESS>wrote:

Ok, so if the fuzzy match search is already in place let's close this one
for now and re-open if it becomes a problem. I'll close, but @adamrp
https://github.com/adamrp, if I'm misunderstanding and that's not
already in place can you re-open?
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/issues/928#issuecomment-78416542.

--
Gail Ackermann
Knight Lab
UCSD
<EMAIL_ADDRESS><EMAIL_ADDRESS>—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/issues/928#issuecomment-78417475.

@ackermag I've deleted your comment, sorry for doing that.


Default instance run with vulnerable cipher

Running the tool against itself, i get the following vulnerability :
'Vulnerable' cipher suites accepted by this service via the TLSv1.0 protocol:

TLS_RSA_WITH_3DES_EDE_CBC_SHA (SWEET32)

'Vulnerable' cipher suites accepted by this service via the TLSv1.1 protocol:

TLS_RSA_WITH_3DES_EDE_CBC_SHA (SWEET32)

'Vulnerable' cipher suites accepted by this service via the TLSv1.2 protocol:

TLS_RSA_WITH_3DES_EDE_CBC_SHA (SWEET32)

It seems to be fixable this way :
http://wiki.openvas.org/index.php/Edit_the_SSL_ciphers_used_by_GSAD
So,  unless i get it wrong, it would be good to default the container to this :)

@ITMaya Thanks so much! I'm happy to accept a PR for this :)

Hi @ITMaya Please take a look at this PR and see if it addresses your issue: https://github.com/mikesplain/openvas-docker/pull/156

I pulled the image, but i guess change did not yet make is way to the master.
So i applied the change manually to /etc/init.d/openvas-gsa and so far so good :D
Closing this one, thanks a lot, that was fast to get a solution :)
i'll pull a new image later on so as it will be embedded with the change.


Add spanish translation for manpages

Add spanish translations for manpages written by @AdminXVII .
Issue: #573

@Timidger I've just edit the manpage to match with the english version that you merge in the other issue.
Hope I help at least in a small way as I'm not very familiar with Rust just yet. I'll keep updating the spanish manpage if any changes occur in the english version.

Thanks!


[Event Request] Codeunit 97 Blanket Purch. Order to Order - OnBeforePurchBlanketOrderLineFindSet

Please add this event:
CreatePurchHeader(Rec, Vend.""Prepayment %"");

    PurchBlanketOrderLine.Reset;
    PurchBlanketOrderLine.SetRange(""Document Type"", ""Document Type"");
    PurchBlanketOrderLine.SetRange(""Document No."", ""No."");
    **OnBeforePurchBlanketOrderLineFindSet(PurchBlanketOrderLine);**
if PurchBlanketOrderLine.FindSet then

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


[FEATURE REQUEST] Limit battery charge Ulanzi TC001

Feature Request
Is your feature request related to a problem?
Not problem related
Describe the solution / feature you'd like
Battery always gets charged to 100% with is very unhealthy
Describe alternatives you've considered
Connect to a smart charger and turn it on/off accordingly.
Additional context
I'd like to see an internal charge control mechanism, but am pretty sure it's not possible. Just wanted to ask for confirmation.

You can see pictures inside in this thread about the voltage regulator failing: https://github.com/Blueforcer/awtrix3/issues/67 - I also had this issue.  I can confirm this is not software-controlled.  It is hardware controlled.
Actually I doubt it's being charged to 100%.  Most chargers have a cut-off.  That said, I'm not sure what mA is the cutoff on this board.  I'd like to think the DC from the USB goes to the ESP simultaneously as the battery charger.  I believe this can be demonstrated with an Lolin ESP32 Lite which can continue running as long as one or the other is plugged in - with no interruption.  You can confirm this yourself if you desire to take apart your clock.  I didn't think to do this test when I had my faulty clock apart and now it can't be done since that clock was eventually sacrificed to the gods of bad soldering.
Also, the 18650s here probably have a shelf-life of about 10-15 years, whether in use or not.  Li-on batteries even put in storage and unused for a few years eventually lose their ability to charge, and since the clock housing isn't restricted to this type of dual 18650 pack, it's extremely easy to replace if your batteries fail... opening the clock is a pain but can be done fairly easily compared to a Macbook or something.
Battery danger with a device like this is pretty minimal.  Phones and notebooks are more abused: charging and using your device at the same time is a good way to wreck your battery just from heat alone.
I'd love to give citations to you but as a 15 year vaper, fan of Mooch, and aficionado of batteries and battery tests, I can assure you this is not something to worry about.  If you're still worried about it, take it apart, and add a switch to the battery cable with a relay wired directly to one of the ESP pins.  It's possible but in terms of time and money, replacing the battery in 2034 is more effective.

If you're really up for a change... read through that thread and see if they've improved the bypass method.  With the first method, there's a weird plug that when plugging it in again, you have to press the Left and Right buttons together to get the display to show anything.  I couldn't find a software fix (ie emulating the button hold).
I ended up tossing the whole board (saving the regulator) and replacing it with an ESP32-Dev Board which was mostly reliable.  One pixel started to flicker and I opened it up (while tired) to do some work on it and ended up ruining 6 pixels at once.
In retrospect, now that I've studied RGB Leds more, I realize now the board probably wasn't supplying enough power and I should've just added a regulator or capacitor or something... oops.

Thanks @trip5. That's important news. If it doesn't start automatically w/o battery, then this is no valid solution. Adding additional hardware is not my plan, so I may leave all as it is :)

Clarified all hardware possibilities.


feat: intent based route preloading

This PR adds preload  (similar to remix) and preloadDelay (similar to tanstack-router) options to the Router and Link components.
I'm slowly making my way over from the world of React, so the particular implementation I chose might not be ideal - happy to adjust as ya'll see fit. I tried to minimize the amount of change, but it felt a little awkward to get access to the relevant route data and asset preload functions in the right spots given how things are currently organized (I ended up storing branches down to the route context - I'm not sure if there are any potential side effects to doing this).

[x] No breaking changes
[ ] No tests added - figured I'd wait to get feedback on whether this PR might be accepted or not before spending time here
[ ] Ditto re docs - can update the readme if this is something that might get merged

Usage
// Set global defaults via Router
<Router preload="intent" preloadDelay={500} />

// Override global default on a per Link basis
<Link preload="intent" preloadDelay={500} />

If the target route has a data function AND/OR if it has a lazy loaded component, the data func and lazy assets will be prefetched.

Thank you. This is interesting. Sorry it took me so long to get back here. I am not sure if you saw the work Ryan Turnquist did on https://github.com/solidjs/solid-router/compare/main...next
He was the original co-author of this library and started on a preload approach but I was never sure if this is how we wanted to do it. The problem with re-running the data functions is it does nothing unless we cache the results.. we had decided we'd leave that to the library, but we never had a blessed solution so the feature didn't really work well.
We talked about keeping the results of the data function around and then passing them into the actual render as available as that wouldn't waste work, but they would be live queries at that point so managing their lifecycle might be hard. I'm gathering you are doing the latter. Can you describe a bit more about the behavior? Am I correct in my understanding? LIke if something is preloaded at what point to do we throw it away?

No worries! Ah no I hadn't seen Ryan's work.
Yeah... imho data caching prob should not be a concern of solid-router. However, this opt-in preload behavior gives end users the option to combine solid-router with other libs that handle data caching - for example this functionality pairs very nicely with solid-query.

Happy to say this will be resolved by #312


Run bundle install after modifying Gemfile

Without this, a newly generated hanami app will fail to run hanami server due to guard-puma not yet being bundled.

 Ensure guard-puma gets bundled when running hanami new


If CRISISDEMOTE is called, update user's identity

This fixes a bug where if you lock a global ranked user, it looks as if they are still a global ranked user on the userlist and whatnot.

Uh I don't think this fixes the issue. In fact, locks currently allow the user to keep their global rank -until they log off.  User#deconfirm() should call this.setGroup(' ') I think...

Anyway, Punishments.lock should probably be the one to call updateIdentity

Will update this soon

Uh I don't think this fixes the issue. In fact, locks currently allow the user to keep their global rank -until they log off. User#deconfirm() should call this.setGroup(' ') I think...

Done

Updated


feat: add universal svg loader

@cyberalien I added packages/core/src/modern/index.ts and a few modules to packages/utils/src/loader and added some dependencies to both packages, I need to build the repo and add some tests.
/cc @antfu
For both packages also added "@types/debug": "^4.1.7" as dev dependency.
packages/core/package.json:
	"dependencies": {
		"@antfu/utils": "^0.3.0",
		"@iconify/api-redundancy": "^1.0.2",
		"@iconify/types": "^1.0.10",
		"@iconify/utils": "^1.0.16",
		"cross-fetch": "^3.1.4",
		"debug": "^4.3.3",
                "local-pkg": "^0.4.0"
	},

and packages/utils/package.json:
	"dependencies": {
                "@antfu/utils": "^0.3.0",
		"@iconify/types": "^1.0.12",
                "debug": "^4.3.3"
        },

closes #96

I also need to export the new modules on packages/utils/src/index.ts, just added a comment on that module.

@cyberalien so,  to build the packages to start adding some tests, what's the order?

I was going to write that it is as simple as running npm run build, but then remembered that new version uses custom build script that is also part of package, so it is actually a bit more complex.

Build build script (need to be ran only once):

cd packages/library-builder
npm run build

This will build library-builder package, which is similar to tsup, but also automatically updates exports in package.json and fixes import paths for ES modules, so they could be used in any environment.

Build Utils:

cd packages/utils
npm run build

Test: npm run test

ok, I need to change some system call since I use windows and tsc doesn't exist, it is tsc.cmd, I have built @iconify/library-builder and @iconify/utils.
The steps I follow are:

npm run build from packages/library-builder
npm install from packages/utils
npm run link from root
npm run build from packages/utils

So, for packages/core it should be  the same process but once @iconify/utils built.

@cyberalien can you take a look to the resulting build? Maybe we can omit exporting camelize and cia... they are only used on the loader internally.

Pending tasks:

[ ] use cache: on packages/core/modern/index.ts module use cache stuff instead _collections entry
[ ] add kolorist: add some colors to the new modules
[ ] add tests 1: add test for packages/core/modern
[ ] add tests 2: add test for new packages/utils stuff
[ ] add tests 3: add usage of packages/core/modern/index.ts on some/all demo project

How can we test the modern module on core (it will require some @iconify-json/** collection and/or full @iconify/json)?
Maybe we can also move the modern module to utils.
/cc @antfu I add to all loaders a transform/customize callback, and so we can configure also other attrs and not only the scale for svg width/height.

Is it ready for testing and merging?

@cyberalien happy new new
I need to include/review latest changes we made on unplugin-icons to allow more customizations and include them here, I need to review a few things (very busy with unoccss and vitest-dev). The actual impl is ok for you?

Happy new year to you too!
As for implementation, there are some questions.
Why is some code in utils package, some in core package? Utils package is for reusable code, which can be used by many packages. Core package is specific to building icon components in this repository. As far as I see, code in Core package does not rely on anything else from that package, so probably was added there by mistake?
I'm not a fan of using too many third party packages, unless they are really needed. In this case I don't see why debug is needed. Looks like its for opinionated logging, not part of actual functionality.
If you need additional debug information, such as which package icon was loaded from in loadCollection() function added to Core package, why not return an object with both package name and file path? Same issue with parameters that are passed only for use in debug log, such as collection in getCustomIcon().
In Utils package function getCustomIcon also uses debug package for no apparent reason.
Functions camelize() and 2 more similar functions in loader/utils.ts can be moved to their own file, for example, misc/strings.ts. Then they'll be reusable, separate from other functions in that file.

There are 2 functions that cannot be moved to utils, since the types are on core, and this packages also depends on utils, so we cannot move it to utils.
Can you do a refactor? Next week I'll try to finish this.

There are 2 functions that cannot be moved to utils, since the types are on core, and this packages also depends on utils, so we cannot move them to utils.

Which ones? I don't see any local imports in code added to core.

Can you do a refactor? Next week I'll try to finish this.

Sure

upps, you are right, only depends on types not on core, so, can we move modern/index.ts to utils?

Sure.
I'll merge this, then will refactor stuff within next few days.

@cyberalien we also need to include more utilities... so we work now on dev directly?

Sure.
I've started some refactoring, pushed some stuff in dev/more-utils branch.
After playing with debug package, I do see its advantages and it only has 1 dependency, so it is fine. However, in tryInstallPkg() you are using console.log. Wouldn't it make sense to use debug in that file as well for consistency?

if you need to do some cleanup/update, you can check the original code here https://github.com/antfu/unplugin-icons/blob/main/src/core/utils.ts, on the same directory you have also modern.ts


make program pip installable

here are some change to make the program installable

the most notable is that readme which now using restructured text instead of markdown language
the way the programm is called. after installed with pip, the program is called imgurdowload instead of python3 imgurdownload.py

Looks good, but why the change to .rst?

Pypi can only parse restructured text right now . To use markdown language on pypi, it need to be converted with pandoc and may cause undesired output
https://stackoverflow.com/questions/26737222/pypi-description-markdown-doesnt-work


Oracle DB tech ref updates

@MandiOhlinger,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

biztalk/adapters-and-accelerators/adapter-oracle-database/TOC.md
:white_check_mark:Succeeded

biztalk/adapters-and-accelerators/adapter-oracle-database/basic-oracle-data-types1.md
:white_check_mark:Succeeded
View

biztalk/adapters-and-accelerators/adapter-oracle-database/configure-a-port-using-the-wcf-custom-adapter-and-oracle-database-adapter.md
:white_check_mark:Succeeded
View

biztalk/adapters-and-accelerators/adapter-oracle-database/configure-a-port-using-the-wcf-oracledb-adapter.md
:white_check_mark:Succeeded
View

biztalk/adapters-and-accelerators/adapter-oracle-database/configure-the-soap-action-for-oracle-database.md
:white_check_mark:Succeeded
View

biztalk/adapters-and-accelerators/adapter-oracle-database/develop-your-oracle-database-applications.md
:white_check_mark:Succeeded
View

biztalk/adapters-and-accelerators/adapter-oracle-database/glossary3.md
:white_check_mark:Succeeded
View

biztalk/adapters-and-accelerators/adapter-oracle-database/messages-and-message-schemas-for-biztalk-adapter-for-oracle-database.md
:white_check_mark:Succeeded
View

biztalk/adapters-and-accelerators/adapter-oracle-database/metadata-node-ids3.md
:white_check_mark:Succeeded
View

biztalk/adapters-and-accelerators/adapter-oracle-database/microsoft-biztalk-adapter-for-oracle-database-developer-reference.md
:white_check_mark:Succeeded

biztalk/adapters-and-accelerators/adapter-oracle-database/microsoft-biztalk-adapter-for-oracle-database-documentation.md
:white_check_mark:Succeeded
View

biztalk/adapters-and-accelerators/adapter-oracle-database/origTOC.md
:white_check_mark:Succeeded
View

biztalk/adapters-and-accelerators/adapter-oracle-database/technical-reference-for-the-oracle-database-adapter.md
:white_check_mark:Succeeded

biztalk/adapters-and-accelerators/adapter-oracle-database/troubleshoot-operational-issues-with-the-oracle-database-adapter.md
:white_check_mark:Succeeded
View

biztalk/adapters-and-accelerators/adapter-oracle-database/use-the-servicemodel-metadata-utility-with-the-oracle-db-adapter-in-biztalk.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Where is commonJsStrictGlobal?

Currently in the browser in strict mode the templates do not work as root is undefined (should be window).

Could you PR a fix to the templates?


[4.x] OCI/CDI Refactor to use oci.yaml

#7348 introduces integrations/oci/runtime as the central mechanism to ascertain any global oci config and auth supplier defined. We should converge to use it in 4.x.
In 3.x, we should do the following:

backport the runtime to have a shared way of connecting to OCI
existing CDI integration should check this if there is a valid configuration through the new API (e.g. oci.yaml), and if not, fallback to current 3.x behavior (for backward compatibility)
in case there is a new MP ConfigSource based on OCI Vault, it should use the new approach (as obviously it cannot load MP config at the time it is being created

Site documentation should be also updated accordingly.

We have decided to deprecate runtime (https://github.com/helidon-io/helidon/pull/9184/files) and related annotation processing module.


HOMS-155 Add profiles for order list display settings

Process "active" css-class for select options.
Fix indent for select.
Fix underline for select.

UPD

There is still a chance to hide order code.

UPD

UPD

UPD


[JBPM-9890] - PIM file generated name needs to be refactored

JBPM-9890: PIM assembly file and name need some improvements

How to retest this PR or trigger a specific build:

a pull request please add comment: Jenkins retest this
a full downstream build please add comment: Jenkins run fdb

@mareknovotny - could you please merge along with its backport? thanks!

actually shouldn't be easier to remove finalName completely as by default the name of artifacts already does have that process-intsance-mig

you're right, @mareknovotny - done, backport also updated now

@mareknovotny would you please merge this and its backport? thanks a lot again


Allow for passing in log level

closes #100

This looks good! Only thing that might improve this is, when printing an error with no verbosity, it might be good to prefix with Error: .
Also, I'll create a follow-up issue for this, but there are a number of areas in spc where errors are printed out and an is.Exit(1) is done, if you'd like to move those over to this new function.

Looks good! I'll merge this in now, thank you so much!


Structs for Decoder are repeated

In the /Decoders folder we have one struct that is copied and pasted across all the files.
That struct has different values, but we can't impl on it twice.
/
- struct.rs
- obj1.rs
- obj2.rs

Where obj1 and obj2 both impl (implement) functions onto the struct struct.rs, but are separate.
Basically, struct.rs is a parent class and I'd like to create children classes from it. But! You can't do that in Rust.
I think our only option right now is:

Create a macro that generates the struct in each file, so we have one "main struct" and we can generate structs from that.

https://github.com/bee-san/Ciphey2/pull/7


json object from std::ifstream

I'm trying to initialise a json object from file.
using json = nlohmann::json;
std::ifstream file("Config.json");
json object(file);
I get the following error on terminal

terminate called after throwing an instance of 'std::invalid_argument' what():  parse error - unexpected '�'; expected string literal

And following warning on output

Main.cpp:31:21: warning: ‘nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType>::basic_json(std::istream&, nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType>::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::basic_string; BooleanType = bool; NumberIntegerType = long long int; NumberUnsignedType = long long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; std::istream = std::basic_istream; nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType>::parser_callback_t = std::function<bool(int, nlohmann::basic_json<>::parse_event_t, nlohmann::basic_json<>&)>]’ is deprecated (declared at libs/json.hpp:1945) [-Wdeprecated-declarations]
json object(file);

I'm using g++ (Ubuntu 4.9.4-2ubuntu1~12.04) 4.9.4 for compiling.
C++11 is enabled.
Am I doing something wrong?

The quotation marks in Config.json were wrong kind. Works now.

Hey I am facing the same issue, could you please tell me what you did to fix it?

@kariya2 How does your JSON file look like? What exception do you get while parsing it?


Treemacs does not work update recent upgrading

Observed behavior
I am using Emacs in terminal.
After run make upgrade && make update
can't <TAB> to expand directory and <RET> to open file.
System information

Click to expand
- OS: darwin (x86_64-apple-darwin14.5.0)
- Emacs: 26.1 (May 31, 2018)
- Doom: 2.0.9 (develop 60c965ded8f1f46eb5c7a82cdbc84fc0d1a49fb0)
- Graphic display: nil (daemon: nil)
- System features: NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS
- Details:
  ```elisp
  elc count: 0
  uname -a:  Darwin mao 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64 i386 MacBookPro10,1 Darwin
  modules:   (:feature eval (evil +everywhere) file-templates (lookup +docsets) snippets workspaces :completion company ivy :ui deft doom doom-quit evil-goggles hl-todo modeline nav-flash treemacs (popup +all +defaults) pretty-code unicode vc-gutter vi-tilde-fringe window-select :editor fold (format +onsave) multiple-cursors rotate-text :emacs dired eshell imenu term vc :tools flycheck lsp magit make :lang data emacs-lisp (haskell +intero) markdown (org +attach +babel +capture +export +present) python rust (sh +fish) :config default)
  packages:  ((s :modules ((:private))) (evil-textobj-column :modules ((:private))) (evil-textobj-line :modules ((:private))) (evil-textobj-syntax :modules ((:private))) (evil-textobj-entire :modules ((:private))) (aggressive-indent :modules ((:private))) (tmux-pane :modules ((:private))) (hl-fill-column :modules ((:private))) (fcitx :modules ((:private))))
  exec-path: (~/bin ~/.local/bin ~/.cargo/bin /usr/local/opt/python/libexec/bin /usr/local/opt/coreutils/libexec/gnubin /usr/local/bin /usr/local/sbin /usr/bin /bin /usr/sbin /sbin /Applications/VMware Fusion.app/Contents/Public /Library/TeX/texbin /usr/local/MacGPG2/bin /opt/X11/bin /Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_10 /Applications/Emacs.app/Contents/MacOS/libexec-x86_64-10_10 /Applications/Emacs.app/Contents/MacOS/libexec /Applications/Emacs.app/Contents/MacOS/bin)

I cannot recreate this.

Are there any errors/warnings in *Messages*? e.g. press SPC h e or M-x view-echo-area-messages

Does the error occur in vanilla Doom (without your private config)? e.g. press SPC h E, then press C-c C-p to launch an instance of Doom without your private config, open treemacs and try to recreate the issue.

What terminal are you using to run Emacs in? iterm2? Terminal?

still the same in vanilla Doom following your instructions.

failed in all of those: iterm2/iterm2+tmux/ternimal

I just pushed 90f36bce, which may resolve your issue. Please update and let me know.

Still does not work.
But Emacs.app works all the time. before or after this patch.

Does this resolve your issue?
(after! treemacs-evil
  (define-key evil-treemacs-state-map [return] #'treemacs-RET-action)
  (define-key evil-treemacs-state-map [tab] #'treemacs-TAB-action)
  (define-key evil-treemacs-state-map (kbd "TAB") #'treemacs-TAB-action))

works now. Thanks!
Would you put the codes in later commit,
so user need not to config by himself?

Done in a37e192, so I'll consider this resolved. However, this should probably be reported upstream as this isn't really a Doom issue.


Use  instead of <iostream.h> in Example Code for PCH

This old header seems to have been forgotten in one of the example files (UNSTABLE.H).

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

I assume this is still in process. When you are done, please add a hash comment to indicate the action to take on this PR. Thanks.

@TedLyngmo
Yes, I apologize for not commenting earlier. The header update is welcome; thanks for spotting that and contributing a change. I was working on getting the example to compile, and got the code looking okay with an added using statement, but ran into trouble with the makefile. It appears to be ancient, referring to libraries and command-line options that no longer exist. I thought I'd added a comment when I made an edit, but I may have gotten distracted while looking at the makefile problem. I'll take another look soon. Until then, I want to hold off on merging this. Thanks for your patience!

@corob-msft
No worries! Take your time. +1 on spotting the missing using statement.
@jborsecnik
I assume the hash comment link was for the MS staff?

Yes. I wasn't sure if corob-msft's comment meant he was done with it. Thanks.

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


mongo dsl文件自定义

QuerydslBindingsFactory spring加载bean时写死dsl文件路径

在jpa中都可以将dsl文件自定义路径放出来,为什么mongo就写死呢

Google translate only brings me so far, what is the actual issue with QueryDSL code generation here?

No problem, it works fine, I like it too, but in Mongo the DSL file mapping address can't be customized, it's a bit of a hassleNo problem, it works fine, I like it too, but in Mongo the DSL file mapping address can't be customized, it's a bit of a hassle


#89: Upgrade slf4j-api to 1.7.30

Should the msgpack version also be upgraded when the slf4j-api is upgraded?


After 100 successful requests, HTTPClient returns "NetworkFailure".

To Reproduce
Steps to reproduce the behavior:
HttpClientPtr client   = HttpClient::newHttpClient("http://honstane-here", loop);
for (int i = 0; i < 300; ++i)
{
      HttpRequestPtr request = HttpRequest::newHttpRequest();
      request->setMethod(drogon::Post);
      request->setPath("/");

   client->sendRequest(request, [=](ReqResult result, const HttpResponsePtr& response)
   {
      if (result == ReqResult::Ok && response)
      {
// Success
      }
      else
      {
// Handle failure
      }
   });
}

Expected behavior
Client supposed to run till 300th request

OS: Ubuntu 20.04
Version: Tried Drogon beta115, 16 and 18

I use the work around below:
if (i % 100 == 0)
        client  = HttpClient::newHttpClient("http://host", loop);

Some HTTP servers may limit the maximum number of requests on a single connection.
Refer here

So I thought until I tried another library and didn't have same issue.
I even tried a new Nginx installation on new server. Drogon terminates after 100, Brynet goes past 100 with success.
That was why I made the issue.

Try to set the keepalive_requests option of nginx to 1000 and test again.
Are you sure Brynet uses one connection to nginx?

Will probably increase Nginx keepalive_requests in that case.
I don't know if Brynet uses one connection

keepalive_requests does it.
Thanks.


Excel compatible dates

This patch updates the “presentable” accounts format to use a YYYY-MM-DD HH:MM:SS
format that Excel will parse automatically. Note that the original code used repr(v) which typically rendered a python snippet of form datetime.datetime(2017, 05, 05, 12, 55, 00) which seems to be of
limited value in an export
(apologies if this looks convoluted in the commits list; this is my first public pull request so I it isn't as clean as I would like. The "files changed" shows the small code changes that are the essence of this pull request)

Makes sense, thanks! Is there any reason to have the ISO8601_FMT and DATE_FMT? They don't seem to be used so my suggestion would be to move the EXCEL_FMT definition right above the place where it is used and remove the others.

Just for convenience in case anyone wanted a different format. I wasn't sure what the design intention was, so ISO might be preferred over pragmatic concerns like Excel compatibility. I'm fine removing them if that would help.
I also saw that the nightly build failed due to code convention errors. I'm not sure how to get those builds running against my branch but happy to fix if that would be helpful.

Thanks for the pep8 cleanup! Overall looks great :) I think instead of having random constants in the middle of the file, it might be friendlier if the presentable_format argument took a string, either "EXCEL", "ISO8601", or "DATE", and then used a dictionary to populate those. That way you can just look at the function and see the options, and there aren't constants hanging randomly around unused. If that sounds good, then I'll merge and cut a new release. Thanks @felciano for your time and contribution!

Sure -- that sounds like a cleaner encapsulation. Looking forward to seeing
the new release!
On Thu, Jun 1, 2017 at 9:49 PM, Mike Rooney<EMAIL_ADDRESS>wrote:

Thanks for the pep8 cleanup! Overall looks great :) I think instead of
having random constants in the middle of the file, it might be friendlier
if the presentable_format argument took a string, either "EXCEL",
"ISO8601", or "DATE", and then used a dictionary to populate those. That
way you can just look at the function and see the options, and there aren't
constants hanging randomly around unused. If that sounds good, then I'll
merge and cut a new release. Thanks @felciano
https://github.com/felciano for your time and contribution!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mrooney/mintapi/pull/99#issuecomment-305688843, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAY4lE_gwgLbi5EVFNLr2yOPIlHM-tsBks5r_5RdgaJpZM4Nohf9
.

Thanks, released as 1.25!