Cannot parse server response for status code 204 on delete request

Hi,
I really like this library, thanks for creating this!
Noticed a small issue today. I have an API which responds with a 204 (no content) status code on a successful DELETE request and thus has no content in the response body. This makes sense to me.
However Siesta considers this to be an error Cannot parse server response.
Is this intended behavior? This issue is similar to #11 except that issue was concerning a POST request, not a DELETE request.
P.s. I made sure my API does not set a Content-Type header.

Hi @pcantrell do you have any suggestion for a workaround?

The “Cannot parse server response” error means that something in the transformer pipeline returned an error. If you look in the logs should be an accompanying underlying error.
Two likely causes:

If your server sets a Content-type response header, this can trigger an attempt to parse the response body as e.g. JSON.
If you have configured a model transformer for this resource, it may be the thing that is failing.

In either case, one blanket solution is to disable the entire response transformer pipeline for all DELETE requests:
service.configure("**", requestMethods: [.delete]) {
  $0.removeAllTransformers()
}

(You might want to only disable process for specific pipeline stages if you have some transformers that do useful things with headers, errors, etc.)
If it is one of your model transformers that is failing, another less ham-handed approach is to configure your model transformer only for specific request methods:
service.configureTransformer("/users/*", requestMethods: [.get, .put, .post]) {
    try jsonDecoder.decode(User.self, from: $0.content)
}

Hi @pcantrell,
Thanks for the reply!
The error is:

Details:
failure
userMessage:    "Cannot parse server response"
cause:          dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "No value." UserInfo={NSDebugDescription=No value.})))

So the response has a 204 status code, the body is blank and the Content Type is not JSON.
The last workaround you suggested works great, but it's still a workaround.
What I can't derive from your answer is whether this is expected behavior or a bug? It does not seem logical to me that if setting a 204 status code it still attempts to parse the body.

You need to look up in the log to see where the transformer pipeline is being applied to the response. If you enable logging for configuration, network, and pipeline (the detailed preset includes all three), Siesta will show you what transformers are configured, what the server sent back, and which transformers it applies to the response in what order. Look in the logs for entries matching those categories.
The question here is why it’s trying to apply a transformer that expects JSON. Is it because the server sent a content type that triggered the default one? Is it because you configured a model transformer that's kicking in?


Fixes to the Payment Method Basics article

What's changed, or what was fixed?
In the Payment Method Basics article,

Fixed a sentence that states that, in an example, two payment methods are declared, where in fact three are declared (Google Pay is missing)
Replaced periods with colons when introducing a snippet or an image
Added missing punctuation

CC: @petele

@agektmr - can you review and approve please?

:tada: This has been pushed live to https://developers.google.com/web/


CLI: Support user-specified monitor socket

For some use cases, Cilium may be deployed such that the monitor socket
resides somewhere other than /var/run/cilium. In that case, provide an
environment variable CILIUM_MONITOR_SOCK and commandline argument to
cilium monitor so that the user can specify where to find the socket.
I'd like to sneak this into v1.6, as it would make the microk8s cilium CLI wrapper
handle a bit more smoothly.

This change is

test-me-please

Coverage increased (+0.03%) to 44.144% when pulling fe18d5c01e08ad4d9ee3ffaf6d1bdc122550c2ac on joestringer:submit/customize-monitor-cli-path into 679b06c1d0a573694696c8e1ad1bd47340c65d46 on cilium:master.


fix: alias jspm to jspm.io for backwards compatibility

Currently failing due to a builder error, only 1 test is affected, going to merge for now.


Support multi-item selection

Closes #1213
Pass a JSON encoded array to allow for multi-select. This also works with the EditButton element.
def mount(_params, _session, socket) do
  {:ok, assign(socket, selection: [])}
end

def render(%{format: :swiftui} = assigns) do
  ~SWIFTUI"""
  <EditButton />
  <List selection={Jason.encode!(@selection)} phx-change="selection-changed">
    <Text id={"#{i}"} :for={i <- 1..10}><%= i %></Text>
  </List>
  """
end

def handle_event("selection-changed", %{ "selection" => selection }, socket) do
  {:noreply, assign(socket, selection: selection)}
end

https://github.com/liveview-native/liveview-client-swiftui/assets/13581484/c9ac86fc-a8d9-43c3-bb2f-af951620482e

@bcardarella Is it possible to have the LVN engine automatically JSON encode list attributes?
Do you have an example of the Phoenix select options I could look at?

We could but let me first find out if there are any traps with doing this

@bcardarella Is it possible to have the LVN engine automatically JSON encode list attributes?
Do you have an example of the Phoenix select options I could look at?

@carson-katri in the .input core component, this function converts a keyword list and a select value into the options for a select element.
https://hexdocs.pm/phoenix_html/3.3.3/Phoenix.HTML.Form.html#options_for_select/2
This is how it's defined in core components:
  def input(%{type: "select"} = assigns) do
    ~H"""
    <div phx-feedback-for={@name}>
      <.label for={@id}><%= @label %></.label>
      <select
        id={@id}
        name={@name}
        class="mt-2 block w-full rounded-md border border-gray-300 bg-white shadow-sm focus:border-zinc-400 focus:ring-0 sm:text-sm"
        multiple={@multiple}
        {@rest}
      >
        <option :if={@prompt} value=""><%= @prompt %></option>
        <%= Phoenix.HTML.Form.options_for_select(@options, @value) %>
      </select>
      <.error :for={msg <- @errors}><%= msg %></.error>
    </div>
    """
  end

Meaning options can be defined like so:
<.input type="select" options={["label": "value", "label2": "value2"]}/>

Hope that gives some inspiration!

@carson-katri could you please merge it if it is finished? Thank you so much


property access speed improvement

removed recursion
removed array shift
addeed property caching

@sreekotay Thank you for the pull request. Even if this speed optimization is perfectly valid I am not going to merge it into the master, as the main goal of the project is to keep the code as small as possible.

I discovered the following bug when testing the code of @sreekotay that does not occur in the original: When empty strings are passed the variables are replaced with null. For example, mustache("Hello {{name}}!", {name: ""}) returns Hello null! instead Hello !.


Implement jailing for uptime violations

Currently slashing behaves as a terminal state for validators. Other chains behave somewhat differently and implement a "jailed" state for uptime violations, in which the validator will have their rates slashed and be removed from the active validator set, however they can re-enter the validator set (with their now lowered rate) by sending a special transaction.
Slashing for Byzantine behavior should remain a terminal state transition.

[ ] Update the monodraw diagram in the documentation
[ ] Update chain parameters to add jail duration
[ ] Add jail/unjail transitions to validator state machine
[ ] Design new transaction type for unjail requests
[ ] Implement unjail request transaction
[ ] Modify Slashed state to have a byzantine and uptime violation variants, to enforce transition mechanics through typing

This should probably be done together with #723, since otherwise the validator state machine will become more complicated.

Modify Slashed state to have a byzantine and uptime violation variants, to enforce transition mechanics through typing

I think it'd be better to eliminate the Slashed state entirely, and just have Jailed/Tombstoned states.  Then "slashing" isn't a state itself, but is just the process by which a validator is moved into those states.
Another note is that currently, we handle state transitions in a kind of ad-hoc way.  But since we're representing the validator states as enums, we can model the state transitions with match statements (or a tuple match on the validator's state x validator's bondedness), and see all of the allowable transitions in one go.

Implemented in #787

Closed in #787


[HttpClient] Create UI Design Mockup

The Http Services tab in Glimpse should look something like this:

(Note: This rough sketch is only provided to inspire. It's layout and design choices are not intended to be limited by what you see here.)
This issue should be used to track the progress of the design and provide feedback to @chetsangnil

Latest complete walk through pdf for "Web Services" tab
Web Services V8_Complete Walk Through.pdf
Here're all the .png for the pdf. In case you need to use them for any reason later ;)

Minor tweak on color on the text here! Thank you!

This was completed with #67


Can I use python 3.7 on pyxy3d?

Hi, I tried to implement pyxy3d with our FLIR camera system, which requires PySpin to connect to the camera instead of cv2.VideoCapture. However, the PySpin version I use only supports python 3.7. I want to know if pyxy3d will still function in a python 3.7 environment.
Thanks

Hi @JohnNan123 ,
Pyxy3D is now set up to work with pre-recorded footage so that the video acquisition can be decoupled from the video processing. My hope is that this will allow a larger variety of camera solutions. If you can get your data in the standard format then it should be possible to process it apart from any specific camera requirements (so hopefully its own Python interpreter is fine).
This is a quick and dirty sample project that hopefully gives a more concrete example of the file layout requirements: https://utexas-my.sharepoint.com/:f:/g/personal/priblede_my_utexas_edu/EliBf-eSuxJMpltXfANlS4oB35S9muKtpCxg4VMKX9rt2Q?e=skyiTm
I am not familiar with PySpin but am definitely interested in learning more about it. Side Note: I have moved the recording (built on OpenCV) to its own package that I'm still in the midst of fleshing out: https://github.com/mprib/multiwebcam
I'm guessing PySpin already has some synchronized recording functionality available along with hardware trigger integration, but just thought I'd point out that companion project as a potential resource that could potentially be adapted to non-OpenCV capture objects.

And I'm realizing that I have not directly addressed your question about 3.7. I believe that there may be some type hinting that would clash with 3.7, but if you run into that issue and are willing to sort it out, I'm totalling willing to accept a PR to make the main project work with more python versions.
Another potential issue is Mediapipe, which can be a particularly finicky dependency and I can't really speak to how that might behave.

Hi @mprib
Thank you for your reply. The fact is we used to have pyxy3d working in our camera as same as cv2.VideoCapture uses a wrapper called EasyPySpin, which is available from Git Hub, under Python 3.10. We still want to keep the live-streaming of the calibration feature as it is easy to use. The only problem is the Python 3.7 version, which has some syntax changes (like match/cases and slot at @dataclass ), which stops it from running.

@JohnNan123
I'm glad to know that the live stream version has been useful. The feedback that I've previously received was universally of the opinion that people wanted to be able to integrate with pre-recorded footage. Trying to maintain both approaches is tricky (so far development is primarily just me), so I've opted to only support the pre-recorded workflow. I hope you understand and will consider giving the pre-recorded workflow a try if this is otherwise a useful tool.
One advantage of this new workflow is that it can capture many more frames because it is not running charuco searches on each of the cameras which slows down the processing. I hope that the added robustness from more data will offset some of the conveniences of the real-time feedback.
My plan is to get multiwebcam saving out everything in the appropriate file structure so that it would be a matter of "click  in multiwebcam" and then once files are saved out "click  in pyxy3d".

And thank you for pointing out PySpin and EasyPySpin to me. These are projects I previously didn't know about and it is super relevant to me. I'm sorry that I may not be able to prioritize maintaining backward compatibility with 3.7 given my time constraints. If there is any feedback you have about the project aside from the python compatibility I'm very interested in hearing it. And if you feel like contributing at some point, PRs are welcome!

Going to go ahead and close this one. Worth noting that not even the Python Software Foundation supports Python 3.7 anymore: https://devguide.python.org/versions/
My hope is that PySpin and its underlying packages will get brought forward to python versions that have not yet reached end-of-life.


Badges don't work on Samsung devices on Android 7

@evollu I recently ran into some issues regarding badging on Android, specifically Samsung devices on Android 7.
The issues seem to have been addressed in Shortcut Badger v1.1.14, but currently we're only targeting v1.1.10.  I've done some local testing on a Galaxy S6 and S8 and everything seems to be working as expected.
Would you consider updating the Shortcut Badger dependency?

released 7.4.0 with 1.1.17


Frontend: Fallback to Alls in compare mode

Description and Motivation

addresses #3605 for maternal mortality
fix map color for maternal mortality
remove unneeded county-fips handling for maternal mortality
fix some issues with react keys on <></> returns

Has this been tested? How?
Screenshots (if appropriate)
Types of changes
(leave all that apply)

Bug fix
New content or feature
Refactor / chore

New frontend preview link is below in the Netlify comment 😎

closing in favor of doing this on the backend #3766


Flatten /functor

Summary
Continuing the flatten by flattening the stan/math/{fwd, mix, rev, prim}/*/functor folder to stan/math/{fwd, mix, rev, prim}/functor. There are no file merges here, just moves and fixes of includes so while this PR touches a lot of files all the changes are straightforward.
This PR needs to be merged with Cmdstan PR TBD as we need to also flatten some includes in Cmdstan.
Tests
/
Side Effects
/
Checklist

[x] Math issue #937

[x] Copyright holder: Rok Češnovar
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

No no, please do mention it if you see it. If there was any such plan I would have mentioned it. It seems that I somehow botched the regex search for these header guards. Will fix! Thanks!

I found 2 wrong header guards and fixed those. Also fixed the weird include before defines. Thanks again.

If anyone has time to review https://github.com/stan-dev/cmdstan/pull/790 it would be very welcome. We should not merge this before that is approved. Its a simple PR to fix the includes.

Sorry I didn't see that, I've approved it just now.


CharacterbBody2D's slide on ceiling does not stop the slide when turned off in master (works in 3.4)

Godot version
godot v4.0.dev.20211108.official [596865366]
System information
windows 10
Issue description
Characterbody2d's slide on ceiling does not stop the slide when turned off, comparing it with godot 3.4 , the kinematic body immediately stops and falls down.
Steps to reproduce
jumping near a ceiling will reproduce the bug
press space
Minimal reproduction project
characterbody2d.zip

cc @pouleyKetchoupp

Sorry, it was an error on my side it is working now. I added "Velocity = motion_velocity" after move_and_slide() to get the no slide motion, I thought turning off the slide on ceiling would completely stop sliding motion.

Closing, I can confirm updating the velocity from motion_velocity is needed for the sliding to properly stop.


BUG REPORT | CUDA121

I got error after these steps
git clone https://github.com/timdettmers/bitsandbytes.git
cd bitsandbytes
CUDA_VERSION=121 make cuda12x
python setup.py install

python -m bitsandbytes

===================================BUG REPORT===================================
Welcome to bitsandbytes. For bug reports, please run

python -m bitsandbytes

 and submit this information together with your error trace to: https://github.com/TimDettmers/bitsandbytes/issues
================================================================================
bin /...../libs/bitsandbytes/bitsandbytes/libbitsandbytes_cuda121.so
False
/...../bitsandbytes/bitsandbytes/cuda_setup/main.py:149: UserWarning: /mnt/disk2/miniconda3/envs/... did not contain ['libcudart.so', 'libcudart.so.11.0', 'libcudart.so.12.0'] as expected! Searching further paths...
  warn(msg)
CUDA SETUP: CUDA runtime path found: /usr/local/cuda-12.1/lib64/libcudart.so
CUDA SETUP: Highest compute capability among GPUs detected: 7.5
CUDA SETUP: Detected CUDA version 121
CUDA SETUP: Loading binary /....../bitsandbytes/libbitsandbytes_cuda121.so...
/usr/local/cuda-12.1/lib64/libnvJitLink.so.12: file too short
CUDA SETUP: Something unexpected happened. Please compile from source:
git clone git@github.com:TimDettmers/bitsandbytes.git
cd bitsandbytes
CUDA_VERSION=121
python setup.py install
Traceback (most recent call last):
  File "/mnt/disk2/miniconda3/envs/..../lib/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/mnt/disk2/miniconda3/envs/..../lib/python3.10/runpy.py", line 146, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/mnt/disk2/miniconda3/envs/...../lib/python3.10/runpy.py", line 110, in _get_module_details
    __import__(pkg_name)
  File "/.....bitsandbytes/bitsandbytes/__init__.py", line 6, in <module>
    from . import cuda_setup, utils, research
  File "/......bitsandbytes/bitsandbytes/research/__init__.py", line 1, in <module>
    from . import nn
  File "/......../bitsandbytes/bitsandbytes/research/nn/__init__.py", line 1, in <module>
    from .modules import LinearFP8Mixed, LinearFP8Global
  File "/......../bitsandbytes/bitsandbytes/research/nn/modules.py", line 8, in <module>
    from bitsandbytes.optim import GlobalOptimManager
  File "/....../libs/bitsandbytes/bitsandbytes/optim/__init__.py", line 6, in <module>
    from bitsandbytes.cextension import COMPILED_WITH_CUDA
  File "......../libs/bitsandbytes/bitsandbytes/cextension.py", line 20, in <module>
    raise RuntimeError('''
RuntimeError:
        CUDA Setup failed despite GPU being available. Please run the following command to get more information:

        python -m bitsandbytes

        Inspect the output of the command and see if you can locate CUDA libraries. You might need to add them
        to your LD_LIBRARY_PATH. If you suspect a bug, please take the information from python -m bitsandbytes
        and open an issue at: https://github.com/TimDettmers/bitsandbytes/issues

Upgrading via pip install -U bitsandbytes should resolve this issue. I will close this issue. Please reopen if upgrading does not resolve the error.


Integrating multiple data

Hello, I am applying mgatk on several datasets and at a certain point I will need to integrate them. Given that the same cell barcode can be in different experiments, I was thinking I could concatenate the rds objects so that every cell gets a unique name across multiple datasets. Is this legit for downstream analysis? I thought I could then perform a single run of variant calling on the merged dataset.
I admit I'm not proficient with R, so any hint on how to merge multiple SummarizedExperiment objects is much appreciated :-)
Another question that comes after integration is how to evaluate the similarities among cells. Once variants have been identified (and filtered), would it be appropriate to calculate distances on the allele_frequency values in the data slot?

Sorry for the delay!
SummarizedExperiments are pretty great; what I typically do is something like this..
SE1 <- readRDS("mgatk_SE1.rds")
SE2 <- readRDS("mgatk_SE2.rds")
colnames(SE2) <- gsub("-1", "-2", colname(SE2)
SE <- cbind(SE1, SE2)

So in short, you can cbind objects and it will automatically combine all of the nested matrices as well as rename the cells via changing the colnames of the SE object. Some people use more sophisticated conventions when reannotating cells, such as paste-ing a descriptor associated with the library. This isn't unlike what one would have to do in Seurat if you had multiple libraries that you were trying to analyze concurrently!

Thanks, I have solved with cbind() and changing colnames so that they match names in AnnData I am using.


Image source binding

Can you give an actual example of binding for Image's "Source" property with XAML markup?
Im using LocProxy now:
  <Image x:Name="MyImh" Grid.Row="0" Grid.Column="1"  Source="{Binding ElementName=LocProxy, Path=Result}" Stretch="UniformToFill"></Image> <lex:LocProxy Name="LocProxy" Source="{Binding SelectedItem.Slide}"/>
Thank you

Hello, @Uporka95!
I think the problem is that Binding inside lex:Loc doesn't have access to control's ILocalizationProvider, only to default. And I think you use default provider for strings (because I do the same).
@konne, I think this restriction with Binding is very bad. And now threre is not opportunity to refuse from LocProxy untill it wasn't fixed.

@Karnah can we have next week a sync and let us discuss potential changes. I this week ill. You should still have my skype connection. What would fit for you (after Wednesday)

@Uporka95, sorry, but I had a mistake. It's possible to do like this:
<Image
       lex:LocalizeDictionary.Provider="{x:Static lex:ResxLocalizationProvider.Instance}"
       lex:ResxLocalizationProvider.DefaultAssembly="AssemplyName"
       lex:ResxLocalizationProvider.DefaultDictionary="DictionaryName"
       Source="{lex:Loc {Binding SelectedItem.Slide}}" />

or don't use Provider/DefaultAssembly/DefaultDictionary if you have specified them upper on hierarchy.
@konne, sorry too, this case is ok. But there are another cases with problems. And it is a good idea to have a call. I think we can discuss time on Thursday.

Hi, @Uporka95! Did you have opportunity to check this?


Irritating and doesn't work.

I have been fooling with this for 6 hours and I'm DONE!!! So exhausting and confusing. First of all, the directions were absolutely TERRIBLE AND THE YOUTUBE VIDEOS DID NOT HELP AT ALL!!!!
When I FINALLY got to run the scrape, I get the error message "Failed to resolve 'fyp.ebay.com' ([Errno 11001]" something is going on with ebay to where it won't even run anything else. I am so defeated.

I have been fooling with this for 6 hours and I'm DONE!!! So exhausting and confusing. First of all, the directions were absolutely TERRIBLE AND THE YOUTUBE VIDEOS DID NOT HELP AT ALL!!!!
When I FINALLY got to run the scrape, I get the error message "Failed to resolve 'fyp.ebay.com' ([Errno 11001]" something is going on with ebay to where it won't even run anything else. I am so defeated.

U can comment 538 line and it will work without ebay scraper

Comment on what though…is what I’m asking. Like where do you type it…

@kybrbie probably helping the README helps... I'll post the relevant part here for you...
"IMPORTANT: *email2phonenumber is a proof-of-concept tool I wrote during my research on new OSINT methodologies to obtain a target's phone number. The supported services (Ebay, Lastpass, Amazon and Twitter) have long added protections to protect from these type of scraping like having to receive a code over email first or simply adding captchas. There are of course many other sites that are still leaking phone number digits but I am focused on other research projects. Feel free to submit pull request if you want to add support for new sites."
Also, you may think for some reason that I am getting paid for this or something given your attitude and tone of your message. Maybe you want to try and appreciate researchers work rather than just complaining and being rude?

Like I said, I fooled with this for over 6 hours and could not figure
anything out. It was extremely frustrating but I no longer care.
On Thu, Feb 29, 2024 at 1:17 PM Martin Vigo @.***>
wrote:

@kybrbie https://github.com/kybrbie probably helping the README
helps... I'll post the relevant part here for you...
"IMPORTANT: *email2phonenumber is a proof-of-concept tool I wrote during
my research on new OSINT methodologies to obtain a target's phone number.
The supported services (Ebay, Lastpass, Amazon and Twitter) have long added
protections to protect from these type of scraping like having to receive a
code over email first or simply adding captchas. There are of course many
other sites that are still leaking phone number digits but I am focused on
other research projects. Feel free to submit pull request if you want to
add support for new sites."
Also, you may think for some reason that I am getting paid for this or
something given your attitude and tone of your message. Maybe you want to
try and appreciate researchers work rather than just complaining and being
rude?
@Weffy61 https://github.com/Weffy61 kudos to you for your patience and
trying to help even in disrespectuful scenarios like this
—
Reply to this email directly, view it on GitHub
https://github.com/martinvigo/email2phonenumber/issues/38#issuecomment-1971697924,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGHP43XGANRGNC7OVVQA6H3YV5YEFAVCNFSM6AAAAABDNVLQMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZRGY4TOOJSGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Where can I get a list of keyboards shotcuts?

Is there a wiki containing all of the keyboard shortcuts?

Hitting ? in GPM and YTM will produce their keyboard shortcuts.
YTM

GPM


various fixes in FR and EN :

EN:

IN september (in )
the following week (the following )

FR:

"L'après-midi" (the afternoon) should NOT be latent
lundi EN soirée (monday evening)
la semaine QUI SUIT (the following week)
EN septembre (in september)
LA dernière semaine d'août (the last week of August)
lundi dans l'après-midi (monday in the afternoon)
fix : samedi 12 à 18h (is not 'samedi de 12h à 18h')
fix: 'avant 16h' should be a one-sided interval

Side notes :
1 - It could be interesting to add mid-week. Do you think from tuesday to thursday is a good interval ?
2 - is "later today / later this week.." relevant ? It could be a one-sided interval before the end of the
3 - It could be interesting to add in the corpus words that should NOT match a time.
For example : "demain est-ce possible" (tomorrow is it possible) matches "demain est" because EST is a timezone.. But a giving a timezone without giving a time is not logic.
4 - In the corpus, we have :
"the week of october 6th"
"the week of october 7th"
(datetime 2013 10 7 :grain :week)
Don't you think "the week of october 6th" or "the week of october 3rd" is (datetime 2013 9 31 :grain :week) = the week containing october 6th

+1 for point 3 above. duckling often identifies things as date that can be ruled out as such by very simple rules on the context. A typical example is: an integer only probably refers to some time when it is surrounded by whitespaces/punctations but not when it appears inside some sequence of characters.

+1 for point 3 !
Other examples of strange matches that could be easily fixed with "negative" rules :

"à une" in "à une personne" matches a time
"un" in "quelqu'un" matches a number

Thank you guys for this good discussion.

Tuesday to Thursday sounds good for "mid week"

The clean way to implement is to define "later" as an open interval starting now and intersect it with the time interval that follows ("this week", "today", etc.).

Duckling is very greedy by design (the original project name was "Picsou"...). A list of negative words will avoid a few common issues but it's a never ending game. Ideally, an independent NER model is trained on temporal entities and we would accept only Duckling spans that are "confirmed" by the NER. It's what we do in most cases in Wit.ai. A question is: should we add this NER model to Duckling itself?

I don't have a strong opinion on this question... anybody else?


export the interfaces

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.86%. Comparing base (22f577f) to head (0013ea7).
Report is 1 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #64   +/-   ##
=======================================
  Coverage   78.86%   78.86%
=======================================
  Files          55       55
  Lines        3094     3094
=======================================
  Hits         2440     2440
  Misses        638      638
  Partials       16       16

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Importing the module results PowerShell dropping to a cmd prompt.

System Details

posh-git version/path: 1.0.0 beta4 ~\Documents\PowerShell\Modules\posh-git\1.0.0
PowerShell version: 7.1.2
git version 2.30.1.windows.1
OS: Microsoft Windows NT 10.0.19042.0

Issue Description
I am experiencing a problem with...
After installing posh-git any attempt at importing the module results in PowerShell dropping back into cmd and the module isn't imported.
I've tried installing elevated and installing non-elevated, i've removed and reinstalled the module countless number of times, and I cannot work out what's going on.
Any attempt to add Import-Module posh-git to my PowerShell profile results in the PowerShell window dropping out back to cmd with no errors.

Can you try starting PowerShell by running pwsh -noprofile and then try Import-Module posh-git -Verbose?  If that fails, paste the verbose output back here.

Seems the module is importing, but as you can see it immediately drops to cmd without error?
PS C:\Users\cdash> Import-Module posh-git -Verbose
VERBOSE: Loading module from path 'C:\Users\cdash\Documents\PowerShell\Modules\posh-git\1.0.0\posh-git.psd1'.
VERBOSE: Populating RepositorySourceLocation property for module posh-git.
VERBOSE: Loading module from path 'C:\Users\cdash\Documents\PowerShell\Modules\posh-git\1.0.0\posh-git.psm1'.
VERBOSE: Importing function 'Add-PoshGitToProfile'.
VERBOSE: Importing function 'Expand-GitCommand'.
VERBOSE: Importing function 'Format-GitBranchName'.
VERBOSE: Importing function 'Get-GitBranchStatusColor'.
VERBOSE: Importing function 'Get-GitDirectory'.
VERBOSE: Importing function 'Get-GitStatus'.
VERBOSE: Importing function 'Get-PromptConnectionInfo'.
VERBOSE: Importing function 'Get-PromptPath'.
VERBOSE: Importing function 'New-GitPromptSettings'.
VERBOSE: Importing function 'Remove-GitBranch'.
VERBOSE: Importing function 'tgit'.
VERBOSE: Importing function 'Update-AllBranches'.
VERBOSE: Importing function 'Write-GitBranchName'.
VERBOSE: Importing function 'Write-GitBranchStatus'.
VERBOSE: Importing function 'Write-GitIndexStatus'.
VERBOSE: Importing function 'Write-GitStashCount'.
VERBOSE: Importing function 'Write-GitStatus'.
VERBOSE: Importing function 'Write-GitWorkingDirStatus'.
VERBOSE: Importing function 'Write-GitWorkingDirStatusSummary'.
VERBOSE: Importing function 'Write-Prompt'.
VERBOSE: Importing variable 'GitPromptScriptBlock'.
C:\Users\cdash>

Okay... not sure what's changed but although it appears to be dropping back to cmd, it isn't anymore and powershell commands still work after the import, this wasn't the case yesterday.
Thanks for your assistance, will close now.


[community packages] Support Ceph Storage in delta

Hi, we implemented the file system with ceph rgw for delta Lake through openstack swift API. The scheme of the path is ceph, The full path is ceph://<your cephrgw container>/<path to delta Table> . There is no problem using s3singledriverlogstore in logstore. We talked about this before in github.com/delta-io/delta  #877 and #950, and we have sent this function to Maven centra repository. Here are the links to SBT and Maven.
SBT:
libraryDependencies += "io.github.nanhu-lab" % "hadoop-cephrgw" % "1.0.1"
Maven:
<dependency>
<groupId>io.github.nanhu-lab</groupId>
<artifactId>hadoop-cephrgw</artifactId>
<version>1.0.1</version>
</dependency>

Thanks @zhangt-nhlab - we're still updating the community  page but as soon as we get that done, we will merge this in.  Thanks!

Hi @zhangt-nhlab thank you for this contribution to Delta Lake! We had a discussion around exactly where this documentation should go and how we can add the contribution.
We think that it would best go into this section of the documentation on storage alongside S3, Azure, etc.
https://docs.delta.io/latest/delta-storage.html
Would you write up the text and sample code in either a Google doc or markdown (in this issue) following the pattern as the other storage options above? We can then add your Ceph storage documentation to the page above.
We are currently working on making all our docs contributable inside this website but we are not there yet and don’t want to wait for that to happen before accepting this contribution. In the future, this process will be more streamlined and you will be able to contribute directly to the correct place in documentation yourself through GitHub!
Thanks!

@zhangt-nhlab One question. Sorry I don't know much about the Ceph. Does Ceph respects the all three requirements (Atomic visibility, mutual exclusion, consistent listing) listed here?

Hi @zhangt-nhlab before publishing these docs on Ceph support, we need to confirm @vkorukanti question above. Do you know if Ceph respects all three requirements (Atomic visibility, mutual exclusion, consistent listing) listed here?
Thanks! We are looking forward to getting this in the docs!

@zhangt-nhlab thanks for this contribution! As the first outside contributor to our collaborative website/repo, we would like to send you a t-shirt if you would like one!
If you would, please DM me in slack at https://go.delta.io/delta-users. My name is John O'Dwyer.
Thanks again!
John

Sorry, we forgot to close this as we had already added this to delta.io/integrations.  Please re-open if we forgot something.  Thanks!


ENH: tolerance for Float64Index including join / reindex-nearest

When trying to intersect two Index objects containing floats I get the following unexpected behavior:
>>> new_index = pd.Index(np.arange(0.0,1.0,0.1),dtype='float64')
>>> new_index2 = pd.Index(np.arange(0.5,1.0,0.1),dtype='float64')
>>> intersection = new_index.intersection(new_index2)
Float64Index([0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9], dtype='float64')
Float64Index([0.5, 0.6, 0.7, 0.8, 0.9], dtype='float64')
Float64Index([0.5], dtype='float64')

Where I would expect the intersection to equal index2.
 In general, producing the same set of floating point numbers two different ways will produce numbers that are not exactly equal.
We could do more in pandas handle some sort of tolerance automatically, though the exact implementation remains to be worked out and there are some potential performance issues. See here for more discussion: https://github.com/pydata/pandas/issues/9530

Here's what getting called
as these are both monotonic. Would need a tol as @shoyer and @dsm054 point out for these types of comparisons.
Not a bad idea, but would require a bit of effort.

You can do this to in-effect get what you want. This would need a tolerance as well (in the reindexer) so make it robust.
In [28]: target, indexer = new_index.reindex(new_index2,method='nearest')

In [29]: target
Out[29]: Float64Index([0.5, 0.6, 0.7, 0.8, 0.9], dtype='float64')

In [30]: indexer
Out[30]: array([5, 6, 7, 8, 9])

In the process of working this out in #10411.
Is there any safe default threshold to use when aligning float indexes?
Some possibilities:

A fixed constant, e.g,. 1e-9
A constant that depends on index values, e.g., 1e-9 * (dx.max() - idx.min()).
A user settable tolerance in the Float64Index constructor, e.g., Float64Index(values, tol=1e-9)

For 2 and 3, how do we handle indexes with different tolerances? Just use the larger one, I guess?
My sense is that this may be unsolvable -- probably better to force users to be explicit and supply a tolerance manually. Unfortunately, automatic alignment comes up all the time in pandas, and there's no easy way to control the tolerances in these cases.

Have a look at numpy.isclose(). There are actually two tolerances, a relative (rtol, default 1e-05) and an absolute tolerance (atol, default 1e-08). From the documentation:
For finite values, isclose uses the following equation to test whether two floating point values are equivalent.
absolute(a - b) <= (atol + rtol * absolute(b))
The above equation is not symmetric in a and b, so that isclose(a, b) might be different from isclose(b, a) in some rare cases.

@Dimchord we added a tolerance argument into reindexing in the above mentioned pull requests -- it's in the latest version of pandas. We still haven't added a default tolerance for floating point indexes, though.


pnp:App for existing app (An instance of this App already exists at the specified location)

I think issue #433 should be reopened. It looks like @PaoloPia has not read the question before answering.
Basically the request is to avoid the template from failing if the app exits. @jonathanhotono proposes a new action called InstallOrUpdate. Alternatively, a Force parameter could achieve the same result.

Thanks for bringing this up again @Rafaelki . I totally missed that thread. But yes, we definitely need that new action to avoid the template from failing if the app already exists.

Has this been resolved?

This has not been resolved and not sure whether they even seen this.

I'm experiencing the same issue.
The code here looks like it only writes a warning message and skips provisioning if allready installed.
https://github.com/pnp/PnP-Sites-Core/blob/master/Core/OfficeDevPnP.Core/Framework/Provisioning/ObjectHandlers/ObjectApplicationLifecycleManagement.cs
WriteMessage($"App with ID {appId} already exists in the target site and will be skipped", ProvisioningMessageType.Warning);
But instead an error occurs with "app allready exists".
As suggested there needs to be an InstallOrUpdate option or and OverWrite option with Action="Install"

Not sure whether anyone has picked this up..
Sorry @VesaJuvonen can this request be considered? We need an option to overwrite/update existing spfx app in <pnp:Apps>
So we can do something like:
<pnp:App AppId="{xxx}" Action="**InstallOrUpdate**" />

We're in the process of defining a new version of the Provisioning Schema and we'll consider this suggestion.
Currently, the engine installs a new app, when you specify an Action with value UploadAndPublish or Publish for the Package and an Action with value Install for the App. Moreover, the engine updates an already existing app when you specify an Action with value UploadAndPublish or Publish for the Package and an Action with value Update for the App.
If you ask the engine to Install an app that is already installed, while you should ask for an Update, it will clearly fail. As such, we can consider an additional option "InstallOrUpdate".

@PaoloPia thanks for your answer. "InstallOrUpdate" is LITERALLY what we asked for. If you spend a bit of time reading the issue and the comments you will see the motive of this request: We want to reapply a template without failing.

There is a bit of a strange tone on this thread for sure. Please remember that @PaoloPia is using his own time for your benefit for free... he is helping you @Rafaelki as he tries to solve your issue... Using friendlier tone will certainly help people to be more helpful and willing to assist faster on your issues as well.

Good point @VesaJuvonen.
Also @Rafaelki, I believe it is encouraged to submit your own pull request whenever possible, since PnP is essentially an open source community project adeopted by Microsoft if I'm correct.
@PaoloPia thanks for considering the suggestions in this thread.

@wspelt this is a change in the schema, so I don't think it is something that can be modified for everybody.

@Rafaelki agree: I would not know where to start myself actually :).

Clearly, updating the schema requires proper design and quite some time and effort. We used to release a new schema every 4-6 months, collecting all the community requests and adding support for the new functionalities released by Microsoft. However, in 2020, due to numerous reasons, we released just the Feb 2020 schema. Now I've added the requested option to the March 2021 schema. After sealing the schema, we'll need to update the actual implementation in PnP Framework (PnP Sites Core is now archived) and then the new functionality will be out. I'm going to close this item because, from a PnP Provisioning Schema point of view, it is now managed. I'll create a new issue in PnP Framework, once the schema will be updated there. At that point in time, feel free to pick up the item and implement it, or you can simply keep on updating the Action property in the template from Install to Update, after the first installation, while waiting for someone to implement the new option.

For anyone needing a quick fix for this in the meanwhile you could use this code "as is" in addition to the template:
public static void InstallSingleApp(ClientContext context, Guid appId, string appTitle)
{
	AppManager manager = new AppManager(context);

	// Get the apps already installed in the site
	var siteApps = manager.GetAvailable()?.Where(a => a.InstalledVersion != null)?.ToList();
	// Check on the title, installed id is different than package-solution id
	var alreadyExists = siteApps.Any(a => a.Title == appTitle);

	if (alreadyExists)
	{
		Log.Write($"App '{appTitle}' is already installed. Skipping installation.");
		return;
	}

	try
	{
		Log.Write($"Installing app '{appTitle}'.");

		Task installTask = Task.Run(async () => await manager.InstallAsync(appId));
		installTask.Wait();

		Log.Write($"App '{appTitle}' installed.");

	}
	catch (Exception ex)
	{
		Log.Write(TraceEventType.Error, "Exception Caught - Mostly because the App is already installed. Skipping Install. Message - " + ex.InnerException.Message);
	}
}


Have SetShaderValue(i) take a const pointer

Just a tiny little change: the glUniform* functions take const pointers, so I don't think there is any reason to disallow const pointers from being used in SetShaderValue :)

Thanks for the review @nounoursheureux!


Add a line pointing out the Y combinator in Untyped

Closes #618

From Combinatory Logic by Curry, Feys, and Craig:

The  paradoxical  combinator  appeared explicitly in Rosenbloom (EML] (as Theta on pp. 130-131).  However. the combinator was implicit  in [IFL]; and the idea that the Russell  paradox  (and some others) could be forml.ilated in combinatory terms goes back  to the early days of  our subject (cf. [FPF], p. 373, which  was  essentially  con- tained  in  Curry’s letter of  December,  1929, to Hilbert, and Church [SPF.I], p. 347). For  a  similar  idea  see  Fitch  [SRR].

CHURCH, A.
[SPF.I]  A  set of  postulates  for the foundation of  logic. Ann. of  Math.  (2) 33  346-366  (1932).
CURRY, H. B.
[FPF] First properties of  functionality in combinatory logic. Tōhoku Math. J. 41: 371-401 (1936).
FITCH, F.  R.
[SRR] Self-referential relations.  Actes  du XIème Congrès International  de
Philosophie 14 : 121-127  (1953).
KLEENE, S. C.  and ROSSER, J. B.
[IFL] The inconsistency of certain formal logics. Ann. of Math. (2) 36 : 630- 636  (1935).
ROSENBLOOM, P. C.
[EML] The elements of  mathematical logic.  New  York,  1950.
May I add that the fact that this book does not, in any meaningful way, sort its bibliography is a crime against good academic practices.

Based on what Curry and Feys wrote, it seems incorrect to a tribute the formulation of the Y combinator to Curry.

OK tried tracing its source but I couldn't get access to the content of the second citation in the Wikipedia page, "Henk Barendregt (1985). The Lambda Calculus.”

Barendregt says nothing about the history of Y, but merely gives its definition and notes that Curry calls it the “paradoxical operator”.

Related, this is also a good source: http://www.users.waitrose.com/~hindley/SomePapers_PDFs/2006CarHin,HistlamRp.pdf

I asked Hindley, and he said "I wrote to Hindley asking the proper citation for Y and he responded as follows: "I think the name $Y$ was chosen by Curry; -- for no deeper reason than that other letters had already been chosen for other things.  His first reference to it is in Curry and Feys 1958  p.178  where he calls it the "paradoxical combinator"."  A citation to Cardone and Hindley (the passage mentioned by Wen above) seems best, as it lists all the major players (Turing, Rosenbaum, Curry).

Closed due to inactivity.


feat(KFLUXUI-217): add contexts to show page

Add the context values to the integration show page.
Add a modal to allow easy edits.
Use spinner for loading instead of text.

backport of https://github.com/openshift/hac-dev/pull/1008

Relies on https://github.com/konflux-ci/konflux-ui/pull/25

I will rebase this soon now that the dependent MR has been merged.

Converted to draft for now so I can add some spec tests for formatContexts

Code coverage check should be safe to ignore IMO. I added an additional test to improve it. The other lines should be safe to ignore.

LGTM

@sahil143 Quick question: Only certain people can merge, correct? This PR has been approved, but when I click the "Merge when ready" button it appears that the merge queue times out and the commit cannot be merged.
I'm going to assume I don't have the correct permissions to merge, even with that button being available.

LGTM.

/lgtm

LGTM

@sahil143 Quick question: Only certain people can merge, correct? This PR has been approved, but when I click the "Merge when ready" button it appears that the merge queue times out and the commit cannot be merged.
I'm going to assume I don't have the correct permissions to merge, even with that button being available.

Merge queue waits for this Red Hat Konflux / konflux-ui-on-pull-request check to pass. I don't think it can run in a merge queue because once PR is added to merge queue, a temporary branch is created and all the checks start again. Konflux checks just times out and PR is removed from the queue. I am figuring out a work around for this.


Missing info about the "nameid" field

Issue Transfer
This issue is being transferred from the Azure SDK for .NET repository, #22451
Please be aware that @Yozez is the author of the original issue and include them in any discussion or response.
Original Description
I try to understand all the fields in the jwt token,
and I can't found documentation about the "NameId" field,
and it seems like this field is a combination between account id and tenant id.
it will be great if someone could approve that for me, and besides that will add more info about that field to the documentation.
Thanks!

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

ID: fad76c95-16a4-e946-c015-f79fe72c84c7
Version Independent ID: 0eedd505-3e2f-efa0-6b8c-ac57c08d5206
Content: JwtRegisteredClaimNames.NameId Field (System.IdentityModel.Tokens.Jwt) - Azure for .NET Developers
Content Source: xml/System.IdentityModel.Tokens.Jwt/JwtRegisteredClaimNames.xml
Service: active-directory
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@jsquire NameId is not used in any spec i can find or by AAD.
I suspect it was used at one time, but is simply a carryover from the past.


A-Frame tango example anchor not really at a fixed position in reality

I tried the simple example published at https://medium.com/arjs/ar-js-supports-tango-on-a-frame-too-2c098de4df34 but the box seems not to be really at a fixed position in the real world.
Maybe my expectation is wrong? I'm using a lenovo phab2pro device for the tests.
How will the position be selected?
Thx

Click on the screen, and it will be put at the given location
On Thu, 10 Aug 2017 at 18:29, cloud4every1<EMAIL_ADDRESS>wrote:

I tried the simple example published at
https://medium.com/arjs/ar-js-supports-tango-on-a-frame-too-2c098de4df34
but the box seems not to be really at a fixed position in the real world.
Maybe my expectation is wrong? I'm using a lenovo phab2pro device for the
tests.
How will the position be selected?
Thx
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jeromeetienne/AR.js/issues/156, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPcIrJWtHybYdae0KXUIKC-oJWhgeUbks5sWz4UgaJpZM4OzvfV
.

@jeromeetienne I tried the Ar.js and tango example. The cube/box initially doesn't appear when I fire up the webcam. But, when I show a Hiro marker it does appear and then it stays and as you said works on mouse click. Any reason why the cube/box doesn't show up without a marker?

Works now for me with the right Browser (Chromium WebAR). Some example seems to have the cube/objects initially too close to the camera.


bgImageSrcSet

Hey Richard,
could you please tell me what syntax should I use for bgImageSrcSet?
Thank you ,
Nadja

Hi,
syntax description is missing in the description, I should add it. You can pass everything that is officially supported. See here: https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images. This can also be combined with bgImageSizes


Bring back the infinity blue icon.

This logo is way better than all of the currently shown icons.
Don't why microsoft is so poor at design? What are they smoking?

And then they plan to bring this! WT*?

The reasons are nicely summarised here: https://code.visualstudio.com/blogs/2017/10/24/theicon


Generate client bindings from API discovery JSON

Currently the API jars are sourced from maven or the Android Studio repo. The gcloud SDK generates APIs using google/apitools. Using that same approach for Flank would allow us to generate an always up to date Java binding.

https://github.com/google/apitools
def GenerateApi in /googlecloudsdk/api_lib/regen/generate.py#L52
gcloud-cli/tools/regen_apis/

The new generation tool is googleapis/toolkit however I haven't found the protobufs required to make that work for the testing API.

looks like https://github.com/google/apis-client-generator is the most appropriate for Java.

done on master


fix: Fix error codes returned by ocular-test, ocular-lint, etc

The indirection introduced in #6 doesn't propagate the error code for script failures, effectively kneecapping our tests and lint. This updates to immediately exit, propagating the error code, after the bash script runs.

Not sure why puppeteer can't be installed in CI all of a sudden, but I'm dropping Node 12 from the test matrix as the easy fix - Node 12 is already EOL.


BorderPane Layout

Describe the enhancement
Set the layout of the GUI as a BorderPane in order for the TextArea widget to expand.

git fetch origin
git checkout 21-borderpane-layout


Getting "OSError: could not find class definition" for most checks

I tried installing django-extra-checks, but only one of the check I've tried worked without errors.
My EXTRA_CHECKS dict looks like this:
EXTRA_CHECKS = {
    "checks": [
        # FileField/ImageField must have non empty `upload_to` argument
        "field-file-upload-to",
        #
        # Use UniqueConstraint with the constraints option instead
        # "no-unique-together",
        #
        # Use the indexes option instead
        # "no-index-together",
        #
        # All field's `verbose_name` must use gettext
        # "field-verbose-name-gettext",
        #
        # All field's `help_text` must use gettext
        # "field-help-text-gettext",
        #
        # TextField() shouldn't use null=True
        # "field-text-null",
    ]
}

The field-file-upload-to check works fine if it's the only check. If I uncomment any of the other checks in EXTRA_CHECKS above (whether field-file-upload-to is commented out or not), I get the following:
Traceback (most recent call last):
  File "/app/manage.py", line 31, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 413, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 354, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 398, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python3.9/site-packages/django/core/management/commands/check.py", line 63, in handle
    self.check(
  File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 419, in check
    all_issues = checks.run_checks(
  File "/usr/local/lib/python3.9/site-packages/django/core/checks/registry.py", line 80, in run_checks
    errors.extend(new_errors)
  File "/usr/local/lib/python3.9/site-packages/extra_checks/checks/model_checks.py", line 63, in check_models
    yield from check(field, ast=field_ast, model=model)
  File "/usr/local/lib/python3.9/site-packages/extra_checks/checks/model_field_checks.py", line 31, in __call__
    yield from super().__call__(obj, ast=ast, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/extra_checks/checks/base_checks.py", line 40, in __call__
    if not ast or not ast.is_disabled_by_comment(error.id):
  File "/usr/local/lib/python3.9/site-packages/django/utils/functional.py", line 246, in inner
    self._setup()
  File "/usr/local/lib/python3.9/site-packages/django/utils/functional.py", line 382, in _setup
    self._wrapped = self._setupfunc()
  File "/usr/local/lib/python3.9/site-packages/extra_checks/ast/ast.py", line 96, in <lambda>
    FieldAST, SimpleLazyObject(lambda: get_field_ast(self, field))  # type: ignore
  File "/usr/local/lib/python3.9/site-packages/extra_checks/ast/ast.py", line 117, in get_field_ast
    model_ast._assignments[field.name], field, model_ast._source_provider
  File "/usr/local/lib/python3.9/site-packages/django/utils/functional.py", line 48, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/usr/local/lib/python3.9/site-packages/extra_checks/ast/ast.py", line 84, in _assignments
    self._parse()
  File "/usr/local/lib/python3.9/site-packages/extra_checks/ast/ast.py", line 54, in _parse
    for node in self._nodes:
  File "/usr/local/lib/python3.9/site-packages/django/utils/functional.py", line 48, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/usr/local/lib/python3.9/site-packages/extra_checks/ast/ast.py", line 48, in _nodes
    if self._source_provider.source is None:
  File "/usr/local/lib/python3.9/site-packages/django/utils/functional.py", line 48, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/usr/local/lib/python3.9/site-packages/extra_checks/ast/source_provider.py", line 45, in source
    return textwrap.dedent(inspect.getsource(self._obj))
  File "/usr/local/lib/python3.9/inspect.py", line 1024, in getsource
    lines, lnum = getsourcelines(object)
  File "/usr/local/lib/python3.9/inspect.py", line 1006, in getsourcelines
    lines, lnum = findsource(object)
  File "/usr/local/lib/python3.9/inspect.py", line 851, in findsource
    raise OSError('could not find class definition')
OSError: could not find class definition
ERROR: 1

I'm not exactly sure where to go from here to troubleshoot this. Any ideas? Am I missing something obvious?

@OmenApps inspect.getsource can't find source code of one of your models:
  File "/usr/local/lib/python3.9/site-packages/extra_checks/ast/source_provider.py", line 45, in source
    return textwrap.dedent(inspect.getsource(self._obj))

check what is inside of self._obj and if its source code file is reachable from the environment where you run check command.
Try to run inspect.getsource on that object from manage.py shell.
Judging by the paths of the stack trace you're most probably running the app inside docker, so my best guess is that something broken in environment setup that leads to the problem when inspect can't find source file.

Hello, I am using django-extra-checks in a project and I have this same problem with the django-simple-history library. I tried to ignore the line that generates the error according to the documentation, but it still does not work. This is the case:
# Standard Libraries
import textwrap
from typing import Final, final

# Django Libraries
from django.db import models
from django.utils.translation import gettext_lazy as _

# Thirdparty Libraries
from main.models.main import MAX_LENGTH_CHAR_FIELD, BaseAbstractModel
from simple_history.models import HistoricalRecords

#: That's how constants should be defined.
_POST_TITLE_MAX_LENGTH: Final = 80

@final
class BlogPost(BaseAbstractModel):
    title = models.CharField(max_length=_POST_TITLE_MAX_LENGTH)
    body = models.TextField()
    # extra-checks-disable-next-line
    history = HistoricalRecords()

    class Meta(object):
        verbose_name = _("BlogPost")
        verbose_name_plural = _("BlogPosts")

    def __str__(self) -> str:
        return textwrap.wrap(self.title, _POST_TITLE_MAX_LENGTH // 4)[0]

This is the output:
Performing system checks...

Exception in thread django-main-thread:
Traceback (most recent call last):
  File "/project/.pyenv/versions/3.9.13/lib/python3.9/threading.py", line 980, in _bootstrap_inner
    self.run()
  File "/project/.pyenv/versions/3.9.13/lib/python3.9/threading.py", line 917, in run
    self._target(*self._args, **self._kwargs)
  File "/project/.venv/lib/python3.9/site-packages/django/utils/autoreload.py", line 64, in wrapper
    fn(*args, **kwargs)
  File "/project/.venv/lib/python3.9/site-packages/django/core/management/commands/runserver.py", line 118, in inner_run
    self.check(display_num_errors=True)
  File "/project/.venv/lib/python3.9/site-packages/django/core/management/base.py", line 419, in check
    all_issues = checks.run_checks(
  File "/project/.venv/lib/python3.9/site-packages/django/core/checks/registry.py", line 80, in run_checks
    errors.extend(new_errors)
  File "/project/.venv/lib/python3.9/site-packages/extra_checks/checks/model_checks.py", line 59, in check_models
    yield from check(model, ast=model_ast)
  File "/project/.venv/lib/python3.9/site-packages/extra_checks/checks/base_checks.py", line 40, in __call__
    if not ast or not ast.is_disabled_by_comment(error.id):
  File "/project/.venv/lib/python3.9/site-packages/extra_checks/ast/ast.py", line 112, in is_disabled_by_comment
    return check in self._source_provider.get_disabled_checks_for_line(1)
  File "/project/.venv/lib/python3.9/site-packages/extra_checks/ast/source_provider.py", line 69, in get_disabled_checks_for_line
    self._comments_cache[line_no] = _find_disabled_checks(comments)
  File "/project/.venv/lib/python3.9/site-packages/extra_checks/ast/source_provider.py", line 30, in _find_disabled_checks
    for line in comments:
  File "/project/.venv/lib/python3.9/site-packages/extra_checks/ast/source_provider.py", line 59, in _get_line_comments
    for line in (self.source or "").splitlines()[line_no::-1]:
  File "/project/.venv/lib/python3.9/site-packages/django/utils/functional.py", line 48, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/project/.venv/lib/python3.9/site-packages/extra_checks/ast/source_provider.py", line 45, in source
    return textwrap.dedent(inspect.getsource(self._obj))
  File "/project/.pyenv/versions/3.9.13/lib/python3.9/inspect.py", line 1024, in getsource
    lines, lnum = getsourcelines(object)
  File "/project/.pyenv/versions/3.9.13/lib/python3.9/inspect.py", line 1006, in getsourcelines
    lines, lnum = findsource(object)
  File "/project/.pyenv/versions/3.9.13/lib/python3.9/inspect.py", line 851, in findsource
    raise OSError('could not find class definition')
OSError: could not find class definition

Is there any possible solution that you can recommend me?
Thank you

@gvizquel Hi, you can disable HistoricalRecords field check with skipif, see example skipif_streamfield https://github.com/kalekseev/django-extra-checks#ignoring-check-problems
If you have time to debug please provide information what you have in self._obj here:
  File "/project/.venv/lib/python3.9/site-packages/extra_checks/ast/source_provider.py", line 45, in source
    return textwrap.dedent(inspect.getsource(self._obj))

I just installed/configured django-extra-checks and I have exactly the same problem.
Maybe adding a new extra-check on the app itself for catching unexpected errors is needed here. :)

@gvizquel thank you for the source code, I was able to reproduce the error with simple history field. The root cause of the error is that simple history generate a companion model in the runtime so it's impossible to get its source code.
If django-extra-checks emits errors for that model you can disable them using skipif:
def skipif_simple_history(model_cls, *args, **kwargs):
    from simple_history.models import HistoricalChanges

    return issubclass(model_cls, HistoricalChanges)

EXTRA_CHECKS = {
    "checks": [
        {
            "id": "model-attribute",
            "attrs": ["tenant_link"],
            "level": "ERROR",
            "skipif": skipif_simple_history,
        },
        {
            "id": "model-meta-attribute",
            "attrs": ["db_table"],
            "level": "ERROR",
            "skipif": skipif_simple_history,
        },
}

@kalekseev thank you very much for the quick fix and release!


Add a way to disable strong name verification and execute it when building things on the CI

Due to issues with the signing infrastructure some of the newer packages coming out of our partner builds. This results in failures when we test or run something on desktop net4x. To workaround this, we'll add a way to disable strong name verification and execute this as part of our CI builds. Devs \ contributors would have a way to run this to avoid seeing issues around this when building locally.
AspNetWebStack used an MSBuild target that needed to be run to do this. Perhaps that's a way to go about it.

The targets get added in aspnet/BuildTools#501. We no longer need to use it on the CI yet, correct?

Not until we pick up unsigned binaries.

Fixed by https://github.com/aspnet/BuildTools/commit/00ce1383114015fe89b221146036e59e6bc11219.


Fix for issue 162

Coal inventory emissions come in with Compartment_path=NaN, so emissions with the same name from different compartments (e.g., ammonia to air, ammonia to water, ammonia to ground) were getting dropped to just 1 compartment at the duplication check,

Pending a test to ensure that emissions aren't significantly changed due to the change - most likely to happen in power plant emissions with multiple occurrences of the same species.

Confirmed that the fix works - no impacts to aggregated emissions outside of coal mining.


LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20211206043442899 to main

LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20211206043442899 to main with localized lcls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.004%) to 41.697%

Totals

Change from base Build<PHONE_NUMBER>:
0.004%

Covered Lines:
27273

Relevant Lines:
59354

💛  - Coveralls


[stdlib] Add Substring comparison benchmarks

This reveals lots of unimplemented cases, which will cause us to uncomment the
disabled code.

@swift-ci Please smoke benchmark

@swift-ci Please smoke test and merge

@eeckstein do I need to regenerate some harness to get this to pass?

@dabrahams Yes, run  benchmark/scripts/generate_harness/generate_harness.py

@swift-ci Please smoke benchmark

@swift-ci Please smoke benchmark

@swift-ci Please smoke test and merge

@swift-ci Please smoke test and merge

!!! Couldn't read commit file !!!


Post Nav/Pagination Not Showing

As always, thank you so much for FoundationPress. Its my favorite!
For some reason I am unable to get next and previous pagination navigation to appear on the bottom of my single-*.php pages. This usually works out of the box but not working for me this time. Previous and next links don't appear on my posts.
I haven't changed anything in the functions.php pagination function.
Here's what I've using in my single-*.php files...
//CODE I'M USING ON MY SINGLE PAGES

<?php /* Display navigation to next/previous pages when applicable */ ?>
		<?php if ( function_exists( 'foundationpress_pagination' ) ) { foundationpress_pagination(); } else if ( is_paged() ) { ?>

<?php next_posts_link( __( '← Older posts', 'foundationpress' ) ); ?>

<?php previous_posts_link( __( 'Newer posts →', 'foundationpress' ) ); ?>

		<?php } ?>

Hi, I also can't get the pagination to work on single.php.

Hello folks, there seems to be slight confusion what kind of navigation should appear and where.
The single.php is equipped with wp_link_pages function:
https://codex.wordpress.org/Function_Reference/wp_link_pages
I agree single.php should contain previous_post_link and next_post_link function:
https://codex.wordpress.org/Function_Reference/previous_post_link
https://codex.wordpress.org/Function_Reference/next_post_link
The snippet @robertrhu suggests is meant to be used only on archive templates.

Thanks Eccola, here's my template code, do you know why it's not showing?
`<?php
/**

The template for displaying all single posts and attachments

@package FoundationPress
@since FoundationPress 1.0.0
*/

get_header(); ?>

		<?php do_action( 'foundationpress_before_content' ); ?>
		<?php if ( have_posts() ) : ?>
		<?php while ( have_posts() ) : the_post(); ?>
			<article <?php post_class('main-content') ?> id="post-<?php the_ID(); ?>">

<?php the_title(); ?>

					<?php foundationpress_entry_meta(); ?>

				<?php do_action( 'foundationpress_post_before_entry_content' ); ?>

				<?php
					if ( has_post_thumbnail() ) :
						the_post_thumbnail('large');
					endif;
				?>

				<?php the_content(); ?>

					<?php wp_link_pages( array('before' => '
' . __( 'Pages:', 'foundationpress' ), 'after' => '
' ) ); ?>

<?php the_tags(); ?>

		<?php endwhile;?>

		<?php else : ?>

<?php _e('Sorry, no posts matched your criteria.'); ?>

		<?php endif; ?>

		<?php do_action( 'foundationpress_after_content' ); ?>

<?php get_footer();`

Hi Eccola, here's my template code, do you know why I can't get pagination to show here?
`

		<?php do_action( 'foundationpress_before_content' ); ?>
		<?php if ( have_posts() ) : ?>
		<?php while ( have_posts() ) : the_post(); ?>
			<article <?php post_class('main-content') ?> id="post-<?php the_ID(); ?>">

<?php the_title(); ?>

					<?php foundationpress_entry_meta(); ?>

				<?php do_action( 'foundationpress_post_before_entry_content' ); ?>

				<?php
					if ( has_post_thumbnail() ) :
						the_post_thumbnail('large');
					endif;
				?>

				<?php the_content(); ?>

					<?php wp_link_pages( array('before' => '
' . __( 'Pages:', 'foundationpress' ), 'after' => '
' ) ); ?>

<?php the_tags(); ?>

		<?php endwhile;?>

		<?php else : ?>

<?php _e('Sorry, no posts matched your criteria.'); ?>

		<?php endif; ?>

		<?php do_action( 'foundationpress_after_content' ); ?>

`

@joewellmade, what FP version you are using?
Try paginating your single post content, like:
Post Page 1 Content

Post Page 2 Content

Post Page 3 Content

Thanks Eccola, I'm using the latest version, I've got it working now by adding:
<?php previous_post_link(); ?>    <?php next_post_link(); ?>
I'm not sure how to add this to a custom post type single.php page however. I've got a single page template called single-monkey_business.php and need to apply pagination to that now.

Thanks, much appreciated, I have it working now.

@Eccola you think we should add the previous_post_link() & the next_post_link() to FoundationPress on single.php? I'm all for adding it, if others think so too.
Anybody else have an opinion on adding this? @olefredrik @Aetles?

I'd say yes.

Isn't that what the_post_navigation() does? It's already in single.php. Or am I misunderstanding the questing here?
(Whenever I am in doubt I usually check what Underscores are doing and they are using the_post_navigation() in their single.php and no sign of previous_post_link() or next_post_link().)

@Aetles thank you, that is correct. I only read this thread and should have looked at the theme first.
@robertrhu is <?php the_post_navigation(); ?>  present in your single-*.php?

@colin-marshall ,  see: https://github.com/olefredrik/FoundationPress/pull/839


Posting to Facebook requires posting twice

On my site have it set up so that when a piece of content is added or updated it makes a request to generate the cache in prerender which works fine. When i then go to paste the link on Facebook is shows all the information apart from the image. If I then refresh Facebook and post the link again it display everything including the image.
I've included below screenshots of the first post the the second attempt.
Not sure that giving you links is going to help in this scenario.

I have the same issue, do you think that is prerender related? Because event if you post without loaded image it will be shown in your feed as well but not in dialog.

I've only come across this issue while using prerender, so can only assume it has something to do with it. Never had any problem with non javascript sites.

Does it only happen with new URLs? I'll look into it. Thanks for letting me know!

Yes it's the first time URL is posted on Facebook, but the link has already been cached. After the second attempt displays the image it will aways show on Facebook correctly.

I'm having exatly same issue.. need to post twice to make it work.

Well, this is not a Prerender problem. See FB bug: https://developers.facebook.com/bugs/657696104321030/
We've added og:image:width and og:image:height and it shows the image instantly.

Interesting. @dottodot and @vkartaviy

Yes it's seems to work, thanks for that.

i think its not a prerender issue, since its working fine with google sharing.


Faasoft Video Converter will not get fixed to a fancy zone

Microsoft PowerToys version
v0.58.0
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
Faasoft Video Converter will get fixed to a fancy zone. It  will not trigger Fanzy Zone when i try to make it to one of the zones.
✔ Expected Behavior
Get it in to a Fanzy Zone
❌ Actual Behavior
Faasoft Video Converter will get fixed to a fancy zone. It  will not trigger Fanzy Zone when i try to make it to one of the zones

PowerToysReport_2022-05-25-13-07-47.zip
.
Other Software
No response

Could be several reasons for this.

Is PowerToys running elevated when you snapping the window?
Did you try to turn on the Allow popup windows snapping option?

/needinfo

/needinfo

I am not super good at english, but i will try to explain. When i hit the shift button and then want to move tje Faasoft window to a zone, the Fancy Zone do not react to that. Hope you understand what i mean, Best regards Thore from Sweden

Could be several reasons for this.

Is PowerToys running elevated when you snapping the window?
Did you try to turn on the Allow popup windows snapping option?

I am in admin mode.
It do not make any difference

Thanks for good/fast reply

Ok, thank you for the info.
Let's check if FancyZones' can process this window at all.
Please run the C:\Program Files\PowerToys\Tools\PowerToys.StylesReportTool.exe, activate the Faasoft Video Converter window, and press a shortcut requested by the tool. Then the file with the information about this window will appear on the desktop, so you can share it here.
/needinfo

Ok, thank you for the info. Let's check if FancyZones' can process this window at all. Please run the C:\Program Files\PowerToys\Tools\PowerToys.StylesReportTool.exe, activate the Faasoft Video Converter window, and press a shortcut requested by the tool. Then the file with the information about this window will appear on the desktop, so you can share it here. /needinfo

Hello and sorry for late answer, alot to do beside the computer.
I have done what you ased me to, and here is the result. Best regards Thore

window_styles.txt

Thank you. According to its styled is should work well.
Installed Faasoft Video Converter locally to check, and found out that FancyZones doesn't receive EVENT_SYSTEM_MOVESIZESTART event from the system when Video Converter window is moving. So FZ doesn't even know if something important has happened. I'm not sure if we can do anything with it, unfortunately.

Thank you. According to its styles is should work well. Installed Faasoft Video Converter locally to check, and found out that FancyZones doesn't receive EVENT_SYSTEM_MOVESIZESTART event from the system when Video Converter window is moving. So FZ doesn't even know if something important has happened. I'm not sure if we can do anything with it, unfortunately.

Ahaa.. Thought it was me who messed it up though i am new with FZ... Think that has something to do with the "codecs" or something else that the program is using. And why i think so is because that i have other Video editing softwares that also use the video card and for an example FFMPEG and not works with FZ. Just a guess, but SUUUPER thanks for all help.


Fix syntax error in DALL-E notebook

Summary
The keyword argument here is missing a trailing comma, so the cell currently contains a syntax error.

Oops -- closing in favor of https://github.com/openai/openai-cookbook/pull/1036.


[1.5 million SC (~$4,800)] - A new or existing Near app with a Skynet-based UI

 Issue by stevefunk
Tuesday Sep 08, 2020 at 16:33 GMT
Originally opened as https://github.com/NebulousLabs/Skynet-Hive/issues/7

Near Hack the Rainbow Hackathon
Prize Bounty
One (1) Grand Prize
1,000,000 SC (about $3,200 as of this writing)
Two (2) Runner Up Prizes
250,000 SC (about $800 each as of this writing)
And ALL PARTICIPANTS with a prize worth consideration will receive 15,000 SC (about $50 as of this writing)
Challenge Description
Skynet is the decentralized content distribution platform for the new Internet. Create a next generation app or developer tool built on Near, with a front end UI that is hosted on Skynet. A previously built Near app whose UI is moved to Skynet is also acceptable, as long as:

the original team who made the Near app completes the migration to Skynet, or;
the Skynet app launch gets integrated into the main app repo. If the core team accepts your merge request, that’s good enough for us

Submission Requirements

The project must be open source
Skynet must be implemented as the front-end UI for a new or existing Near app
The app must do something that is useful, entertaining, or interesting
Demo videos are strongly recommended for complete submissions (upload your videos to Skynet!)

Example apps and ideas

Uniswap front-end
Balancer front-end
Balancer instructions for deployment to Skynet
Mooniswap front-end
Mooniswap instructions for deployment to Skynet
Skynet Paste Bin
Apps similar to those in the Skynet App Store
An application built on Near but whose UI is hosted on Skynet

Resources
Skynet Resources:

Skynet
Skynet SDK Docs
Browser JS, NodeJS, Python, GO SDK
Sia Discord

Near Resources:

Near docs
Near’s Github profile
Near Hackathon Quick Start Guide
Near Discord Server

Submission Deadline
September 30th, 2020
Judging Criteria
Submissions will be judged on the following:

A Near app with a Skynet-based UI
How applicable the project is and how likely it is to be used by others
Potential positive impact on the Skynet and Near ecosystems
Works on mainnet
Greater appeal to a wider audience

Funding
We will send all winnings separate from the Gitcoin platform. Prizes will be distributed in Siacoins, so you'll need an SC wallet setup to receive them after the hackathon. We'll contact all winners and participation prize qualifiers to get their addresses.
How involved or difficult the application is will not be considered. If a very useful and interesting app can be created with very little effort, this app will still qualify for the grand prize and all other prizes.
Special note: As noted above, the prize is paid out in Siacoins. Siacoins are a cryptocurrency and the USD value might change - potentially significantly - between now and prize distribution. Whether that works out in your favor or against, the prizes are paid in the amounts of Siacoins listed above.

 Comment by gitcoinbot
Thursday Sep 10, 2020 at 20:43 GMT

Issue Status: 1. Open 2. Started 3. Submitted 4. Done

This issue now has a funding of nan OTHER   attached to it.

If you would like to work on this issue you can 'start work' on the Gitcoin Issue Details page.
Want to chip in? Add your own contribution here.
Questions? Checkout Gitcoin Help or the Gitcoin Chat
$744,409.37 more funded OSS Work available on the Gitcoin Issue Explorer

 Comment by gitcoinbot
Tuesday Sep 29, 2020 at 12:10 GMT

Issue Status: 1. Open 2. Started 3. Submitted 4. Done

Work for 0 OTHER  has been submitted by:

Learn more on the Gitcoin Issue Details page
Want to chip in? Add your own contribution here.
Questions? Checkout Gitcoin Help or the Gitcoin Chat
$758,016.73 more funded OSS Work available on the Gitcoin Issue Explorer

 Comment by gitcoinbot
Tuesday Sep 29, 2020 at 20:35 GMT

Issue Status: 1. Open 2. Started 3. Submitted 4. Done

Work for 0 OTHER  has been submitted by:

@gagdiez
@lunafromthemoon
@hdriqi
@princesinha19
@littlezigy
@rezahsnz
@jackson-harris-iii
@robert-zaremba

@sia-steve please take a look at the submitted work:

PR by @robert-zaremba
PR by @jackson-harris-iii
PR by @rezahsnz
PR by @littlezigy
PR by @princesinha19
PR by @hdriqi
PR by @lunafromthemoon
PR by @gagdiez

Learn more on the Gitcoin Issue Details page
Want to chip in? Add your own contribution here.
Questions? Checkout Gitcoin Help or the Gitcoin Chat
$845,777.95 more funded OSS Work available on the Gitcoin Issue Explorer


chore: updating scripts, environments and test deployment

Updating scripts, environments and deploying light protocol to Optimism, Base, Celo.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (222f983) 99.13% compared to head (7778496) 99.13%.
 Consider uploading reports for the commit a086d6f to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #152   +/-   ##
=======================================
  Coverage   99.13%   99.13%
=======================================
  Files          20       20
  Lines        1620     1620
  Branches      300      300
=======================================
  Hits         1606     1606
  Misses         14       14

Flag
Coverage Δ

unittests
99.13% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Release notes for 337

Hive
* Fix reading CSV tables with ``separatorChar``, ``quoteChar`` or ``escapeChar`` table property
  containing more than one character. For compatibility with Hive, only first character is considered
  and remaining are ignored. (:issue:`3891`)

https://github.com/prestosql/presto/pull/3891 https://github.com/prestosql/presto/issues/3868

* Add support for variable-precision ``TIMESTAMP WITH TIME ZONE`` type (:issue:`3947`)

https://github.com/prestosql/presto/pull/3947

Hive:

Add add support for null_format table property for tables using TEXTFILE storage format (:issue:4056)

* Add Druid connector. (:issue:`3522`)

https://github.com/prestosql/presto/pull/3522

Hive
* Improve performance of ``INSERT`` queries writing to bucketed tables, when some buckets to not receive
  any data. (:issue:`1375`)

https://github.com/prestosql/presto/pull/1375

PostgreSQL Connector Changes
* Improve performance of aggregation queries, by computing aggregations within PostgreSQL database.
  Currently, following aggregate functions are eligible for pushdown: ``count``,  ``min``, ``max``, ``sum``
  and ``avg``. (:issue:`4124`, :issue:`18`)

Base-JDBC Connector Library Changes
* Implement framework for aggregation pushdown. `io.prestosql.plugin.jdbc.JdbcClient#implementAggregation`
  is the new extension point. (:issue:`4124`)

https://github.com/prestosql/presto/issues/4124

General
--------

* Add peak non-revocable memory metric to query stats. (:issue:`4096`)
* Fix peak non-revocable memory metric in event listener. (:issue:`4096`)

https://github.com/prestosql/presto/pull/4096

Hive:
* Add add support for ``null_format`` table property for tables using RCTEXT and SEQUENCEFILE storage formats (:issue:`4143`)

#4143

Hive
* Improve performance of queries reading Parquet data with predicates on ``timestamp`` columns. (:issue:`4104`)

https://github.com/prestosql/presto/pull/4104

General
-------

* Reduce worker graceful shutdown duration. (:issue:`4192`)

https://github.com/prestosql/presto/pull/4192

* Fix incorrect result of inequality join involving `NaN`. (:issue:`4120`)

https://github.com/prestosql/presto/pull/4120

* Add support for `IN` predicate with subqueries in outer join condition. (:issue:`4151`)

https://github.com/prestosql/presto/pull/4151

Hive
* Improve performance for queries over partitioned tables. (:issue:`4156`)

https://github.com/prestosql/presto/pull/4156

* Add support for quantified comparisons (e.g., ``> ALL (...)``) in aggregation queries. (:issue:`4128`)

https://github.com/prestosql/presto/pull/4128

* Improve performance of queries involving comparisons between ``DOUBLE`` or ``REAL`` values and integer types. (:issue:`3533 `)

Hive
* Add optimized Parquet writer. The new writer is disabled by default, and can be enabled with the ``parquet_optimized_writer_enabled`` session property or the ``hive.parquet.optimized-writer.enabled`` configuration property. (:issue:`3400`)

#3400

Elasticsearch
* Add support for password authentication. (:issue:`4165`)

https://github.com/prestosql/presto/pull/4165

* Disable user impersonation in default system security.  (:issue:`4082`)

#4082

General
---
* Add :func:`translate` function. (:issue:`4080`)

#4080

Hive
---
* Support ACID data files naming used when direct inserts are enabled in Hive (HIVE-21164).
  Direct inserts is an upcoming feature in Hive 4. (:issue:`4049`)

#4049

* Fix queued query JMX stats. (:issue:`4129`)

#4129

Hive
----

* Upgrade Rubix caching to 0.3.12. This version adds support for Azure Data Lake and AliyunOSS storage
  and fixes support for Google Cloud Storage. Please see Rubix release notes for more details
  about new features. (:issue:`4213`)

https://github.com/prestosql/presto/pull/4213


stim_channel='auto' for read_raw_edf.

Closes https://github.com/mne-tools/mne-python/issues/4340

Failures
https://travis-ci.org/mne-tools/mne-python/jobs/246165836#L3003

thx @jaeilepp


Add variouos fields present in latest mattermost, support SSL

Various small changes to make it work in my environment.
Should be trivial and straight-forward

Thanks that very nice to share this upgrade.


Sentence piece wants a string, not <class 'pathlib.PosixPath'>

Hi, I've downloaded your code and pip installed your requirements.txt
However, when I try to run python one_file_ref.py, I get an error stemming from this line in tokenizer.py
self._model = SentencePieceProcessor(model_file=model_path)

It seems that model_path has type <class 'pathlib.PosixPath'>, whereas SentencePieceProcessor wants a string.
What version of python were you using? It seems like this is a versioning problem that we'd like to get around?
This issue may be relevant: https://github.com/omry/omegaconf/issues/934

This is weird. I don't remember the exact version, but it should either be 31.0 or 3.11 (more probably this one). Anyway, thanks for notifying this. I will fix this


[CARBONDATA-4010] Added documentation for set/unset of longStringColumns.

Why is this PR needed?
Added documentation for set/unset of longStringColumns.
What changes were proposed in this PR?
Does this PR introduce any user interface change?

No

Is any new testcase added?

No

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/2464/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/4207/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/2469/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/4212/


SQL Server Import extension does not start

Type: Bug
After right-clicking a database and choosing Import Wizard, the status bar at the bottom of the app says "Activating Extensions..." for a few seconds, then nothing happens.
I followed the suggested actions in this comment, but it did not resolve. I uninstalled the extension, updated to the latest version of ADS, and then reinstalled the extension.
Extension version: 1.5.5
Azure Data Studio version: azuredatastudio 1.46.1 (ba29842b81dec01177415e53948ca2168e69c3f8, 2023-10-02T18:14:38.547Z)
OS version: Darwin x64 22.6.0
Restricted Mode: No
Preview Features: Enabled
Modes:

System Info

Item
Value

CPUs
Apple M1 Max (10 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
2, 3, 2

Memory (System)
32.00GB (0.46GB free)

Process Argv

Screen Reader
no

VM
0%

It displayed itself randomly after a while, so closing this out.


Syntax highlighting in the RegistryPreview

Description of the new feature / enhancement
The syntax highlighting helps to distinguish between registered and unregistered entries.
Scenario when this would be used?
When loading a large .reg file, the syntax highlighting is very helpful during editing/fixing the file.
Supporting information
No response

/dup #25097


Update widget_toolkit_otp package dependencies to latest versions

One of the dependencies, of this package, pinout,  had a major update going from version 2.3.0 to 3.0.1 with some breaking changes. This update lowered the score of widget_toolkit_otp to 130

The issues should be addressed with the new widget_toolkit-v0.0.2 and related packages.


Added an Extra column in the Article table to store the image link to the article

Added logic so this is retrieved with the article info so it can be displayed in the frontend.
The result can be seen in https://github.com/zeeguu/web/pull/323

@tfnribeiro  - i've made the two changes I pointed to above myself, because i really want to deploy this today ;) by Monday we should come back to a feed with images :)

Sounds good! Sorry, I have the Github account on my personal mail and not on the work mail so I didn't get a notification about this.
I wanted to talk about the SQL file names, because technically we could have a PR go through a few changes before being merged, and if we would want to keep track of when it was deployed maybe it would be best to have a run migration scripts that runs a file, and then recreates it with the date?

Your observation is very sharp... the reason for the date was in my mind more of a general ordering of the SQL changes than a precise date when the query was run... it's true that it's not very clear why the general ordering si needed ... it just feels nicer somehow? :)

I was more thinking about if we ever wanted to "rollback" then we would have sort of an idea of the order the changes were made, but I think it's OK. Next time I will put the date in the name :)

this is a very good point!
it would be most useful to keep track of the order of the changes!
and now I re-read your idea with the running of the migration script and renaming after.
this is super-cool. I never heard it before!
you could even run all migrations that don't have a date in alphabetical order and then when you successfully ran one you rename it with the date!

Or should we discard articles with path longer than 255?
These are several examples of articles with long path length:
￼
There are only two more than 255, the last two above.
If we look at articles that are more than 240 we have a few more:
/lifeandstyle/ng-interactive/2022/nov/22/christmas-gift-guide-2022-australia-good-gifts-ideas-best-xmas-presents-how-to-shop-for-her-him-by-age-men-them-mum-dad-kids-friends-family-top-unique-thoughtful-useful-online-present-novelty-shopping
/lifeandstyle/ng-interactive/2022/nov/25/christmas-gift-guide-2022-australia-good-gifts-ideas-best-xmas-presents-how-to-shop-for-her-him-by-age-men-them-mum-dad-kids-friends-family-top-unique-thoughtful-useful-online-present-novelty-shopping
/lifeandstyle/ng-interactive/2022/nov/29/christmas-gift-guide-2022-australia-good-gifts-ideas-best-xmas-presents-how-to-shop-for-her-him-by-age-men-them-mum-dad-kids-friends-family-top-unique-thoughtful-useful-online-present-novelty-shopping
/lifeandstyle/ng-interactive/2022/dec/02/christmas-gift-guide-2022-australia-good-gifts-ideas-best-xmas-presents-how-to-shop-for-her-him-by-age-men-them-mum-dad-kids-friends-family-top-unique-thoughtful-useful-online-present-novelty-shopping
/lifeandstyle/ng-interactive/2022/dec/06/christmas-gift-guide-2022-australia-good-gifts-ideas-best-xmas-presents-how-to-shop-for-her-him-by-age-men-them-mum-dad-kids-friends-family-top-unique-thoughtful-useful-online-present-novelty-shopping
/nyheter/innenriks/i/69VRgz/hoeyres-dagligvare-talsperson-lene-westgaard-halle-sier-hun-tror-coop-kan-forsvinne-fra-dagligvaremarkedet-vi-liker-ikke-at-det-bare-er-tre-store-aktoerer-innen-dagligvare-men-det-kan-bli-verre-det-kan-bli-to-sier-hun
/indland/art9407245/L%C3%A6serne-fort%C3%A6ller-om-deres-dybeste-familiehemmeligheder-%C2%BBDa-jeg-kom-hjem-tr%C3%A6ngte-min-mor-mig-op-i-en-krog.-Jeg-sagde-at-hvis-hun-slog-mig-ville-jeg-sl%C3%A5-hende-s%C3%A5-h%C3%A5rdt-jeg-kunne.-S%C3%A5-slog-hun%C2%AB
/politique/macron/ces-inconnus-qui-dirigent-la-france-dominique-boutonnat-et-stephane-sitbon-gomez-soft-power-dominique-boutonnat-le-petit-donateur-de-macron-et-grand-argentier-du-cinema#utm_source=RSS-MARIANNE&utm_medium=Flux-Rss&utm_campaign=RSS_general
/societe/agriculture-et-ruralite/mort-de-la-fille-de-l-agricultrice-decedee-en-ariege-victoire-de-trump-dans-le-new-hampshire-frappes-americaines-en-irak-les-3-infos-de-la-nuit#utm_source=RSS-MARIANNE&utm_medium=Flux-Rss&utm_campaign=RSS_general
/societe/agriculture-et-ruralite/la-fnsea-demande-des-aides-immediates-l-assemblee-favorable-a-une-liberte-garantie-sur-l-ivg-flambee-des-actes-antisemites-les-3-infos-de-la-nuit#utm_source=RSS-MARIANNE&utm_medium=Flux-Rss&utm_campaign=RSS_general
The first few examples here are just shitty SEO titles… we would not lose much by not including them.
Then again, it wouldn’t be a terrible expense to increase to 512 chars.
Do you see any other perspective that I’m missing?
Ciao ciao,
M.

On 18 Mar 2024, at 15.22, Tiago Ribeiro @.***> wrote:
Suspect Issues
This pull request was deployed and Sentry observed the following issues:
‼ DataError: (MySQLdb.DataError) (1406, "Data too long for column 'path' at row 1") sqlalchemy.orm.session in _prepare_impl View Issue https://zeeguu.sentry.io/issues/5079643734/?referrer=github-pr-bot
Did you find this useful? React with a 👍 or 👎
I think this is interesting, I didn't handle long links, but currently path is set to 255, which can maybe be increased if we see this problem too much? Maybe just double it would be enough.
image.png (view on web) https://github.com/zeeguu/api/assets/17390076/f763b32e-b99c-45ec-b5e5-ac14a8dd85c7
—
Reply to this email directly, view it on GitHub https://github.com/zeeguu/api/pull/128#issuecomment-2004052945, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADRNBZHN53ZADDAOQJTV2DYY32AZAVCNFSM6AAAAABEXQZCESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBUGA2TEOJUGU.
You are receiving this because you modified the open/close state.

So the simplest thing would be to just drop any article with a too long URL at crawl time?
That would be nice, because it would help us decrease the number of exceptions in Sentry.
And I’d love if we could constantly decrease those till it becomes a special situation that we have exceptions :)
Cheers,
M.
Sent with a Spark
On 19 Mar 2024 at 14.41 +0200, Tiago Ribeiro @.***>, wrote:

I think I agree, I also think we can just wait to see how often this happens, if it's not so often we can just add a exception catching mechanism to avoid getting errors and we just don't store the URL, maybe that is the best solution :)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: @.***>


fix example yaml

add detail comment for nvidia specify card case.
What type of PR is this?

/kind documentation
What this PR does / why we need it:
add detail comment to nvidia specify card case to be more user-friendly. avoid wrong use，like https://github.com/Project-HAMi/HAMi/issues/707
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

@archlitchi cc

@archlitchi have a look

/lgtm


add elements install script for Liquid support

adding elements node, service and config similar to bitcoin core.

Takes a long time to sync on Tor + I2P only so best to enable clearnet for IBD by adding temporarily to elementsconf:
onlynet=ipv4
onlynet=ipv6

Once synced it had no problem to keep up on Tor and I2P only.
Could also add to Specter Desktop (installed with #3709 ) simply following https://specter-desktop-docs.netlify.app/elements/#liquid-configuration-in-specter:

@openoms might add a noto CHANGES


Warn and ignore functions supplied for standard options

See discussion starting here

Feel down the phantomjs hole for a bit on this one.
Turns out typeof fixture.querySelectorAll('div') returns function

Good lord. That's even more messed up than the typeof node.parentNode === 'unknown' I discovered in IE8 the other day


Determine best location for data stores

At first, I intend to develop off of whatever their most recent version of the data is and store it inside the bundle. However, I think their goal is potentially to provide a more dynamic dataset, particularly one where folks can contribute new information, fill in gaps, suggest edits, etc.
Potential outlets for dynamic data with persistent identifiers include:...SB

for the time being, the updated data will be availble via the code repo only.

for the time being, the updated data will be availble via the code repo only.


Performance issue in m3tl/read_write_tfrecord.py

Hello! Our static bug checker has found a performance issue in m3tl/read_write_tfrecord.py:  reshape_tensors_in_dataset is repeatedly called in a for loop, but there is a tf.function decorated function _reshape_tensor defined and called in  reshape_tensors_in_dataset.
In that case, when reshape_tensors_in_dataset is called in a loop, the function _reshape_tensor will create a new graph every time, and that can trigger tf.function retracing warning.
Here is the tensorflow document to support it.
Briefly, for better efficiency, it's better to use:
@tf.function
def inner():
    pass

def outer():
    inner()

than:
def outer():
    @tf.function
    def inner():
        pass
    inner()

Looking forward to your reply.

Hi,
Thanks for the update. Please create a PR to fix this issue.
On Fri, Feb 24, 2023, 2:50 PM DLPerf @.***> wrote:

Hello! Our static bug checker has found a performance issue in
m3tl/read_write_tfrecord.py: reshape_tensors_in_dataset
https://github.com/JayYip/m3tl/blob/a948cc90017ec03b00a3496bab742e0ad8887952/m3tl/read_write_tfrecord.py#L529
is repeatedly called in a for loop, but there is a tf.function decorated
function _reshape_tensor
https://github.com/JayYip/m3tl/blob/a948cc90017ec03b00a3496bab742e0ad8887952/m3tl/read_write_tfrecord.py#L365
defined and called in reshape_tensors_in_dataset
https://github.com/JayYip/m3tl/blob/a948cc90017ec03b00a3496bab742e0ad8887952/m3tl/read_write_tfrecord.py#L351
.
In that case, when reshape_tensors_in_dataset is called in a loop, the
function _reshape_tensor will create a new graph every time, and that can
trigger tf.function retracing warning.
Here is the tensorflow document
https://tensorflow.google.cn/guide/function#tracing to support it.
Briefly, for better efficiency, it's better to use:
@tf.functiondef inner():
pass
def outer():
inner()
than:
def outer():
@tf.function
def inner():
pass
inner()
Looking forward to your reply. Btw, I am glad to create a PR to fix it if
you are too busy.
—
Reply to this email directly, view it on GitHub
https://github.com/JayYip/m3tl/issues/115, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADS2OTFTXDF4ZM5YOLTNWODWZBKZVANCNFSM6AAAAAAVGRGA4Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


issue with 2.3.1?

just for my own clarification... there was a moment when I was running v2.3.1 and received a variety of errors.  while troubleshooting it, v2.3.2 was relelased and resolved things.  was v2.3.1 known to be a flawed release?
i can roll back to it and provide specific errors if needed

Yeah, you're probably using classHandler or errorsContainer as functions, those broke in 2.3.1, sorry for that. See #1060.

yup i was using both. thanks for the confirmation! :)


Social media links on website

Please ensure that there are links easily findable on both the "networkreliability.engineering" and "labs.networkreliability.engineering" sites for all of our social media points of presence.  Twitch, discord, trello, github, and twitter.

Dup of https://github.com/nre-learning/nre-learning.github.io/issues/2