Fix bug in optics example

Changed json.asNumber to j.asNumber in Recursively modifying JSON. Now correctly converts the numbers to string.

Good catch, thanks. I guess this is a good reminder that just compiling your docs isn't always enough.

Codecov Report

Merging #1315 into master will decrease coverage by 0.19%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #1315     +/-   ##
=========================================
- Coverage   86.04%   85.84%   -0.2%
=========================================
  Files          74       74
  Lines        2537     2537
  Branches      108      108
=========================================
- Hits         2183     2178      -5
- Misses        354      359      +5

Impacted Files
Coverage Δ

...rc/main/scala/io/circe/shapes/SizedInstances.scala
78.57% <0%> (-14.29%)
:arrow_down:

...les/core/shared/src/main/scala/io/circe/Json.scala
76.96% <0%> (-1.22%)
:arrow_down:

...rc/main/scala/io/circe/numbers/BiggerDecimal.scala
84.79% <0%> (-0.59%)
:arrow_down:

.../core/shared/src/main/scala/io/circe/Decoder.scala
85.25% <0%> (ø)
:arrow_up:

...re/shared/src/main/scala/io/circe/JsonNumber.scala
96.38% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


terminal.css needs more colors and blinking

This input:
out.txt
Should look like this:

(Terminal.app and iTerm 2 with standard ANSI colors)
…but looks more like this:

So the "2 - 6" has no color and the little bolts don't blink.

Yeah, I think it's that the provided terminal.css doesn't include those codes.
Also the current code doesn't interpret blink, but that's trivial to add.
@keithpitt any chance we can get the terminal.css that's used with buildkite atm in this repo as the example?

Just had a look, and the only difference in our production CSS is that Consolas has been added to the font stack!
There do seem to be a few omissions in the regular colour palette 🤔

https://gist.github.com/keithpitt/f35b0101a12adc382ccce337505c2a90
I've just gisted it up!

Feel free to make revisions to the CSS and I'll get it merged it back in.

I’d love to move this to frontend (but uh, lol, #41), or have it imported from this repo so it’s consistent. Is submoduling Terminal even reasonable?

@ticky we could totally just copy/paste the CSS file from our backend application to frontend - nothing wrong with that!

I guess, but given that this would also ideally be something shipped with Terminal that may be suboptimal?

Yeah probably. I also just realised that @matthias-vogt might be using this library standalone (not through Buildkite) :P

That's right :)

@matthias-vogt ah! In that case, you just need to add a few more lines to this file: https://github.com/buildkite/terminal/blob/master/assets/terminal.css We'd happily accept a pull request adding a few extra colours to it.

If somebody writes a CSS animation for blink and adds it to the file, I'll add the code to interpret it.

(I briefly considered having it wrap in <blink> but then came to my senses)

`

I don't really know anything about color codes so I was hoping you guys could help me out with that…

Things missing;

bold (for the  → stanza
Xterm extended foreground colours 47 and 49 (which for some reason are both present in the CSS?)

 I should have some time this weekend to dive in further.

Looking into prepping a more comprehensive Xterm-256color test, as they seem… thin on the ground?

Something like
#!/usr/bin/env bash

COLGROUPS=40

if which tput >/dev/null 2>&1; then
  COLGROUPS=$(( $(tput cols) / 7 ))
fi

for ((background=0;background<=255;background++)); do
  echo -en "\033[48;5;${background}m"
  for ((foreground=0;foreground<=255;foreground++)); do
    echo -en "\033[38;5;${foreground}m•\033[39m"

    if (( $foreground < 16 && $foreground % 4 == 3 )); then
      echo ""
    fi

    if (( $foreground > 15 && $foreground < 232 && ($foreground - 15) % 6 == 0 )); then
      echo -en "\033[49m \033[48;5;${background}m"
      if (( ($foreground - 15) / 6 == $COLGROUPS )); then
        echo ""
      fi
    fi

    if (( $foreground == 231 || $foreground == 255 )); then
      echo ""
    fi
  done
done

Note that this tests all Xterm-256 backgrounds as well, which we don’t seem to provide support for currently. It’s also probably not an ideal test of the standard 16-colour set as it uses the extended mode control code to apply all the colours! Also, note that this outputs 1.4 MB of text. :P

I've got a possible fix in https://github.com/buildkite/terminal/pull/44
On my machine the output (when used with terminal-to-html --preview) now matches the expected example above.

I think this was fixed in #44! Feel free to reopen if it wasn’t!

Beautiful, thanks a lot :)
Used it in https://github.com/matthias-vogt/wttr-uebersicht
Now the lighting bolts blink when there's thunder! Awesome.


Thank you for the package

Would love to see your examples. and could not find py.test - was it part of the package?
your base module for windows does not have it
All the best!

it seems like your package does not work even with your own example. it's pity

@scienceaiden. I have been able to use this package without any issue. I admit the documentation can be improved, but I've used publicly available survival datasets and get CI's greater than 0.6. I've commented on previous issues where I document how I've been able to use DeepSurv. Keep in mind that if you get deepsurv from PyPi (pip) then you'll be getting an older version than what's available from the master branch.

@dareneiri I have been trying to download using pip or running directly from source code to no avails. and why do you think 0.6 is good result? theano proven to have much higher results

@scienceaiden My point regarding getting a CI >0.6 was that DeepSurv works. For datasets I'm working with I usually get 0.8-0.9.
Can't say I understand why you're getting the same code from pip or from github. They're different for me. If I download from https://pypi.python.org/pypi/deepsurv/0.1.0 and check the files there, the source code is completely different from what's available here.
If you provide specific details about how you're trying to install and get DeepSurv to work, then I can try to help (I am not involved with DeepSurv directly, just very familiar with it).

@dareneiri thank you for the help.
you are right - if i compare master ( in https://github.com/jaredleekatzman/DeepSurv) with deepsurv (in anaconda  site-packages) folder, they are different.
what i meant is that i take all those class methods and definition and embed in the code and run, it gave me all sort of errors starting with different shape, etc. etc.
please guide me how can i install from the master properly.

@dareneiri  thanks for the awesome writeup
i did like you said and when i import, i have this error message about lazylinker_ext.pyd Access is denied.
have you had experienced before?

Looks like it might be related to Windows updates?
https://github.com/Theano/Theano/issues/2733
But I can't say for sure as I haven't had that issue; I installed theano on a linux system.

@dareneiri  thank you - you helped enough
btw: cannot get access to DeepSurv.git now...

what is specific error?

@dareneiri  access denied

I don't have a problem running this on my system:
pip install git+https://github.com/jaredleekatzman/DeepSurv.git
This is likely coming from your own system and its own permission settings for your directory.

@dareneiri ok, i will try to reboot router just in case as well.
thank you for all your help

@dareneiri , after reinstalling everything from scratch, it works. thank you

As of today, I managed to install DeepSurv in a Windows 10 machine, 64 bit, running Python 3.7 and Anaconda using dareneiri instructions. However, I still needed to install h5py. For the sake of completion, this is what worked for me:
pip install --upgrade https://github.com/Theano/Theano/archive/master.zip
pip install --upgrade https://github.com/Lasagne/Lasagne/archive/master.zip
pip install git+https://github.com/jaredleekatzman/DeepSurv.git
pip install h5py


Add to jsDelivr

This would be great via distributed CDN:
https://github.com/jsdelivr/jsdelivr#how-to-submit-or-update-projects

The new backend is live. It pulls files directly from npm and github https://github.com/jsdelivr/jsdelivr#usage
Example<EMAIL_ADDRESS>Example directory listing<EMAIL_ADDRESS>


Improve performance by adding a 2 layered cache

Use this cachemanager module  and configure a 2-layered cache in the Gateway:

layer 1 : local cache in lua VM using lua_shared_dict
layer 2: Redis cache

The README of the repo has this documented but I'm sharing a simplified version here:
For setting up we can add the code bellow to routing.lua and other places that use Redis.
            local cache_cls = require "api-gateway.cache.cache"
            ngx.apiGateway.request_cache = cache_cls:new()

            -- define a local cache with a max TTL of 10s
            local local_cache_max_ttl = 10
            local local_cache = require "api-gateway.cache.store.localCache":new({
                dict = "cachedrequests",
                ttl = local_cache_max_ttl
            })

            -- define a remote Redis cache with  max TTL of 5 minutes
            local redis_cache_max_ttl = 300
            local redis_cache = require "api-gateway.cache.store.redisSetCache":new({
                ttl = redis_cache_max_ttl
            })

            -- NOTE: order is important as cache stores are checked in the same order
            ngx.apiGateway.request_cache:addStore(local_cache)
            ngx.apiGateway.request_cache:addStore(redis_cache)

Then when storing something in cache use:
ngx.apiGateway.request_cache:put(key, value)

And when reading something from the cache use:
ngx.apiGateway.request_cache:get(key)

The lib will take care of using both cache stores appropriately.

Awesome thank you

If  you use the local cache, do you still need the Redis cache ? Or can we (optionally) skip that ?
(and maybe add a few couchbase slaves if needed)
For large installations Redis might still be a requirement, however for smaller installations the smaller  the number of technologies to be managed the better.

The ultimate goal is to make the storage layer pluggable so that you can plug in any backend you like as long as you code to the appropriate interface spec.

@seriousme checkout v0.9.0, which includes the pluggable storage layer.
We have plans for a few additional drivers that will be officially supported (Cassandra, local filesystem, and in-memory for now). If there are others you think may be useful, feel free to open an issue. We'd also welcome some PRs in that area ;-)

I have to admit that I'm getting a bit lost here after reading:
https://medium.com/openwhisk/uncovering-the-magic-how-serverless-platforms-really-work-3cb127b05f71
Where does the APIgateway fit in the picture depicted in this article ?
I thought it was  providing the Nginx service at the top, but he picture shows no Redis ?!?

An API gateway is a general framework for managing APIs. It is not "serverless specific". Relative to the diagram in the article you liked, it's a layer on top of the nginx router that's part of openwhisk. They serve different purposes. Yes, you can conceive of collapsing the routers. But if these are separate services, the separation is usually necessary.

Thanks for the explanation ! I know what an API gateway is supposed to do, just couldn't fit how it was specific to openwhisk. Stupid question maybe, but if the openwhisk API gateway is not specific for openwhisk, why is it then labeled as openwhisk-apigateway ?
If it is supposed to be part of the openwhisk ecosysteem it would seem more natural to me to use couchdb as (caching) datastore  instead of redis.
Just being curious.

Thanks for clarying the question - I don't see it as openwhisk specific but others may disagree.

I agree--designed to be a generic gateway--somewhat of a "competitor" to Kong, I suppose. However, it was designed to fit nicely with Whisk, with built-in policies that work well with Whisk actions whether they be "web" actions or "standard" ones.
We probably should build a couchdb connector though, as that would tie nicely into the default OpenWhisk build.

Actually, currently, it seems to be a tight coupling between Openwhisk and this API GW in the sense that the GW is not readily isolated in order to make other implementations pluggable. See core package which is coupled with GW's Management API, and the cli.  So whether the GW is OW specific or not is one aspect, and whether OW is currently specific about which GW to use, in this sense, is another aspect.


Cybersecurity: 3 Computer Viruses?

Description
What are Computer Viruses?
Note:

If interested, mention in which format you want to contribute: Documentation or Video
Please avoid copy/paste, BE YOURSELF
Try to explain with Diagrams
Changes should be made inside the Cyber_Security/ directory & Cyber_Security branch.
Task will be assigned on first come first serve
Check it out Contribution Guidelines

/assign documentation


add methods to access table variables

This PR adds methods to load table variable outputs.
Notes

Confusingly, table variable output is stored in the OUT/LIST directory.
a txt file is generated for each day of the simulation, record the key-value pairs of the table on that day.

@lanecodes for consistency with the other methods, we are loading a table variable at the run level into a series where the indices are the keys to the table. The user must select the sim_day.
For the job level, we could load every day the output is generated and return a long data frame with run_id, sim_day, key, and value columns.

@duncandc yes that approach sounds intuitive 👍


Cursor move/enable feature

I'm trying to write text editor with asciimatics, and I need to view cursor :)
Please add functions like cursor.show() and cursor.move(x, y)
Or just please explain how to do it. I see in code
win_out = win32console.CreateConsoleScreenBuffer()
win_out.SetConsoleCursorInfo(0, 1)
But how to use it?

Have you considered using the TextBox widget?  This already handles freeform input and gives you an emulated cursor?

I want to make all things at low-level, anyway, thank you very much, I will try it.

It's not that hard to switch the cursor back on, but it will end up flickering around the screen as the Effects refresh, so is probably not the effect you want.  You could try by simply removing the line of code that hides the cursor and then try running some samples to see what I mean.


Allow win-arm64 as a wheel platform

Upstream, we are planning (hoping... all going well) to release 3.11 with native support for Windows ARM64.
pip already handles win-arm64 as the tag, and there should be no need to change this in the future.
The main risk to the release plan is if the ecosystem is completely unviable for users. The most likely reason for this would be lack of any free CI support, but we're hoping that will become available during the 3.11 beta releases. The second reason would be lack of Warehouse support for wheels, so I'm hoping to get this one out of the way :)

It's already allowed since #10338:
https://github.com/pypa/warehouse/blob/eb241f9061633752672a07851cd553ad4c5cd24a/warehouse/forklift/legacy.py#L107-L112
And there are already releases on PyPI with distributions for this platform:

https://pypi.org/project/maturin/#files
https://pypi.org/project/pypdfium2/#files

Is there something else that we need to do here?

Haha, one of my colleagues is ahead of me! Perfect, nothing else neededd


Issue templates are meaningful

Issue template can help developer post clear problem description at here, so that we can get the key info from it with less conversation.
You can refer to issue templates from python-wechaty. @lyleshaw how do you think about it?

Got it 👌
I'll add issue templates refer to python-wechaty


Fix getTileAtPoint floating point computation error

Fix #1276

Looks great! Thank you for chasing this down :)


Removed unwanted entry #19728

I'm submitting a ...
[ ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
[*] approval request for removing an entry from tokenlist.json

Summary
Removed unwanted entry #19728

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
we had added couple of entries which are not required any more. these are safe to be deleted. Kindly review and approve the request.

merged


Bookshelves don't load

https://offprint.net/profile/IQ3lL4j-V/shelf/0WOg95e8cxZMk2x4IshVL
The works in this and other shelves don't load. This applies to your own shelves and those of other users.
This is related to the fact that content is displayed using the _id value, when in fact it should use the content value.
Premade library shelves like "Prose & Poetry" load fine.

works load correctly now


Problem in updating parallel_hashmap in v2

@shokrof The latest version of kmerDecoder has a recent version of the parallel_hashmap library. When I try to update it in the v2 branch, I got errors from this line
https://github.com/dib-lab/kProcessor/blob/871d32087367f8a885746e22af0bc0868c5c4492/src/algorithms.cpp#L640-L641
Snippet from the error log:
/home/mabuelanin/dib-dev/try_kp2/lib/kProcessor/src/algorithms.cpp:1143:82: warning: unused parameter ‘output’ [-Wunused-parameter]
 1143 |     void mergeIndexes(vector<kDataFrame *> &input, string tmpFolder, kDataFrame *output) {
      |                                                                      ~~~~~~~~~~~~^~~~~~
In file included from /home/mabuelanin/dib-dev/try_kp2/lib/kProcessor/ThirdParty/kmerDecoder/include/kmerDecoder.hpp:5,
                 from /home/mabuelanin/dib-dev/try_kp2/lib/kProcessor/include/kProcessor/kDataFrame.hpp:7,
                 from /home/mabuelanin/dib-dev/try_kp2/lib/kProcessor/include/kProcessor/algorithms.hpp:14,
                 from /home/mabuelanin/dib-dev/try_kp2/lib/kProcessor/src/algorithms.cpp:1:
/home/mabuelanin/dib-dev/try_kp2/lib/kProcessor/ThirdParty/kmerDecoder/lib/parallel-hashmap/parallel_hashmap/phmap.h: In instantiation of ‘bool phmap::priv::parallel_hash_map<N, RefSet, Mtx_, Policy, Hash, Eq, Alloc>::try_emplace_l(K&&, F&&, Args&& ...) [with K = long unsigned int&; F = kProcessor::parallelJoin(std::vector<std::__cxx11::basic_string<char> >&, std::vector<unsigned int>, uint64_t)::<lambda(uint32_t&)>; Args = {unsigned int&}; long unsigned int N = 4; RefSet = phmap::priv::raw_hash_set; Mtx_ = std::mutex; Policy = phmap::priv::FlatHashMapPolicy<long unsigned int, unsigned int>; Hash = std::hash<long unsigned int>; Eq = std::equal_to<long unsigned int>; Alloc = std::allocator<std::pair<const long unsigned int, long unsigned int> >]’:
/home/mabuelanin/dib-dev/try_kp2/lib/kProcessor/src/algorithms.cpp:644:36:   required from here
/home/mabuelanin/dib-dev/try_kp2/lib/kProcessor/ThirdParty/kmerDecoder/lib/parallel-hashmap/parallel_hashmap/phmap.h:3910:31: error: no match for call to ‘(kProcessor::parallelJoin(std::vector<std::__cxx11::basic_string<char> >&, std::vector<unsigned int>, uint64_t)::<lambda(uint32_t&)>) (phmap::priv::parallel_hash_map<4, phmap::priv::raw_hash_set, std::mutex, phmap::priv::FlatHashMapPolicy<long unsigned int, unsigned int>, std::hash<long unsigned int>, std::equal_to<long unsigned int>, std::allocator<std::pair<const long unsigned int, long unsigned int> > >::value_type&)’
 3910 |             std::forward<F>(f)(const_cast<value_type &>(*it)); // in case of the set, non "key" part of value_type can be changed
      |             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mabuelanin/dib-dev/try_kp2/lib/kProcessor/src/algorithms.cpp:641:40: note: candidate: ‘kProcessor::parallelJoin(std::vector<std::__cxx11::basic_string<char> >&, std::vector<unsigned int>, uint64_t)::<lambda(uint32_t&)>’
  641 |                                        [&order](uint32_t& v) {
      |                                        ^
/home/mabuelanin/dib-dev/try_kp2/lib/kProcessor/src/algorithms.cpp:641:40: note:   no known conversion for argument 1 from ‘phmap::priv::parallel_hash_map<4, phmap::priv::raw_hash_set, std::mutex, phmap::priv::FlatHashMapPolicy<long unsigned int, unsigned int>, std::hash<long unsigned int>, std::equal_to<long unsigned int>, std::allocator<std::pair<const long unsigned int, long unsigned int> > >::value_type’ {aka ‘std::pair<const long unsigned int, unsigned int>’} to ‘uint32_t&’ {aka ‘unsigned int&’}
In file included from /home/mabuelanin/dib-dev/try_kp2/lib/kProcessor/ThirdParty/kmerDecoder/include/kmerDecoder.hpp:4,
                 from /home/mabuelanin/dib-dev/try_kp2/lib/kProcessor/include/kProcessor/kDataFrame.hpp:7,
                 from /home/mabuelanin/dib-dev/try_kp2/lib/kProcessor/include/kProcessor/algorithms.hpp:14,
                 from /home/mabuelanin/dib-dev/try_kp2/lib/kProcessor/src/algorithms.cpp:1:
/home/mabuelanin/dib-dev/try_kp2/lib/kProcessor/ThirdParty/kmerDecoder/include/kmerDecoder.hpp: At global scope:

In the parallel_hashmap recent release, they significantly increased the phmap loading time.

Fixed in #99


flutter create should let you customize the "com.yourcompany" part of the generated android manifest

This is only an issue when code signing. Rather than add more to the flutter create command, the flutter run command detects this situation and provides guidance on what needs to be done.

This bug seems about Android and code signing is an ios thing.  I'm not sure if I understand the original bug correctly?

If we force the user to a choose an id during the flutter create command, then we have to explain it and they have to spend time understanding the choice. This is an unnecessary barrier to entry. They don't need to make this choice at the time of flutter create. IMO it is better to defer the choice until they encounter a situation where they need it.
If we add an option to flutter create to specify the id then who will use it? New users will forgo options as they are getting started because they don't understand the choices and expect the defaults to "just work". Experienced users don't need it. My take on this is that we should not complicate the flutter create command.


dateBelongsTo is always set to .thisMonth after setting hasStrictBoundaries to false

IMPORTANT - BEFORE CREATING YOUR ISSUE PLEASE READ THE FOLLOWING:

PLEASE STATE THE VERSION NUMBER you are using. -> 7.1.5
Are you using the latest version of JTAppleCalendar? Latest version is currently 7.1.5 -> YES
PROVIDE ENOUGH INFORMATION SO I CAN RECREATE THE PROBLEM.

In order to have a smooth date range selection, I removed the section headers and set the hasStrictBoundaries to false. However, after doing this the cellState.dateBelongsTo is always set to .thisMonth, which is preventing me from setting different colors for the date cells in the calendar based whether they are in the same visible month or not
This is my calendar configuration:
return ConfigurationParameters(
startDate: startDate,
endDate: startDate.date(byAddingDays: 360),
numberOfRows: 6,
calendar: .current,
generateInDates: .forFirstMonthOnly,
generateOutDates: .off,
firstDayOfWeek: .monday,
hasStrictBoundaries: false
)
and the calendar is set to only show one month on vertical scroll.
In addition to, when selecting a range of dates last day in the month is highlighted as .right. After performing a couple of range selections, it would go back again to be a middle selection. Please check the attached screenshots.

Would appreciate some help :)
Thanks..

for range selection

calendarView.allowsMultipleSelection = true
calendarView.isRangeSelectionUsed = true

Also another things is needed, can you paste me both your cellForItem function and your willDisplayCell function?

However, after doing this the cellState.dateBelongsTo is always set to .thisMonth

This is expected. dateBelongsTo lets the developer know which month the date belongs to. Since you removed outDates and inDates (except for the first month) then all other dates visible will belong to the .thisMonth.

which is preventing me from setting different colors for the date cells in the calendar based whether they are in the same visible month or not

Can you be a little clearer on the criteria for coloring the date cells? sample screenshot maybe?

The cellForItem:
`if let cell = calendar.dequeueReusableJTAppleCell(withReuseIdentifier: "CalendarDayCell", for: indexPath) as? CalendarDayCell {
        cell.set(cellState: cellState)

        cell.layoutIfNeeded()

        return cell
    }

    return JTAppleCell()`

The willDisplayCell:
`self.set(cell: cell, cellState: cellState)
    cell.layoutIfNeeded()`

set(cell: cell, cellState: cellState) send the cellState to the cell itself so it can determine the case if selected, if date belongs to thisMonth or any other attributes that needs to be set for the cell.
What I mean by:

which is preventing me from setting different colors for the date cells in the calendar based whether they are in the same visible month or not

I need cells that have the date of the current visible month to be colored as black for example and the other dates belonging to previous or next month to be colored with light gray.

FIY Old version 6.0 documentation for range selection here

closing until user responds.

I think I'm having the same issues with a similar setup. What I want is a calendar with in dates for the first month and no out dates so the cells layout without gaps between the months.
When hasStrictBoundaries is true the selection works as desired, but there are gaps in the layout  between the months. When hasStrictBoundaries is false the dates have no gaps and if the start of the range is last day of the month the selection works as desired. The issue occurs if the start of the range is not the last day of the month or the range spans multiple months. In those cases the last days of the months have a selected range position of .right instead of .middle. Is this result achievable?
Here is my configuration:
        let startDate = Date()
        let endDate = Date(timeIntervalSinceNow: 60 * 60 * 24 * 365)

        return ConfigurationParameters(startDate: startDate,
                                       endDate: endDate,
                                       numberOfRows: 6,
                                       calendar: Calendar.current,
                                       generateInDates: .forFirstMonthOnly,
                                       generateOutDates: .off,
                                       firstDayOfWeek: .sunday,
                                       hasStrictBoundaries: false)

hasStrictBoundaries true

hasStrictBoundaries false

Desired behavior:

It turns out reloading the dates immediately after setting them achieves the desired result. I'll do that until a fix is introduced. Also, I'm using pod 'JTAppleCalendar', '~> 7.1.6'
calendar.selectDates(from: startDate, to: date, triggerSelectionDelegate: false, keepSelectionIfMultiSelectionAllowed: true)
calendar.reloadDates(calendar.selectedDates)

it should work without reloading.

did you set allowsMultipleSelection = true
did you set isRangeSelectionUsed = true
if possible can you send me an very simple sample app that demonstrates this problem?

Yes, I have
        calendar.allowsMultipleSelection = true
        calendar.isRangeSelectionUsed = true

I'll make a simple example and share it.

Here's what I'm doing https://github.com/jhildensperger/JTCalendarExample
Thanks for looking into it.


Problem in Bahasa Indonesia (ID)

I could not parse this string: "Minggu, 18 Mar 2018 07:30"
Which is basic Indonesia and linearly translate to English as "Sunday, 18 Mar 2018 07:30"
Here's my code:
import dateparser
print(dateparser.parse(u'Minggu, 18 Mar 2018 07:30'))

Interestinglly, "Senin, 18 Mar 2018 07:30" could be parsed correctly. (English: "Monday, 18 Mar 2018 07:30")
Further investigation leads to the incorrect translation from Indonesia to English,
week in Indonesia is minggu, same as sunday is minggu, so the minggu in the date translated into week which does not make sense in English thus returning invalid date.

Fixed by https://github.com/scrapinghub/dateparser/pull/1134


RFE: Update existing links

I don't know if it's possible, but it would be great if the plugin could update existing links in other notes such that they would point to the new, combined note.

I think that should be possible


pkg/process/{model,config}: force using zstd v0.5 to avoid breaking with the intake and fix agent bin path on windows

What does this PR do?
There was some issues decoding process/containers payloads encoded with zstd 1.3.0 this will force using zstd 0.5 to avoid any issues.
It also fixes the following error on windows:

Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?

Unfortunately backwards compatibility wasn't added to zstd until 0.8.1, I believe

Where else is zstd being used ?

It's the only place where it's used for processes / network, I will add a test 👍


I just tried to install but it didnt open with command Show Icons

I just clicked but nothing happened

It also got the same problem. It doesn't work neither with the command or the shortcut

This used to work great for me but now I'm getting the same issue

same issue :/

me too :(. I use VScode 1.38.0 at ubuntu 18.04 with extension version 0.1.2.

No one still on this project ?


Fix typo in CHANGELOG

All PR should go to develop branch. For some reason I can't just edit the target branch, so I'll take a look later.
Thanks!

All PR should go to develop branch.

OK. I've changed the branch to develop.

Following issue @ https://github.com/zsh-users/antigen/pull/221


Remove redundant call to Stream constructor

I'm not sure if this is some sort of witchcraft that I'm not familiar with, but I would normally not call the parent constructor twice as it have been done now for about a year since ef4016f.
If this is indeed on purpose I think it's one of those rare occasions that deserves a code-comment explaining it :wink:

:+1:


Feature Request: Render True Tile Indicator Behind Player Model

Title; Currently the true tile metronome indicator renders in front of the player model.  Add a configurable option (or make it the default) to render it behind the player model.

"Improved Tile Indicators" in conjunction with this plugin results in this behavior, for anyone else who ends up here.

Yeah I see you've figured it out yourself, Improved Tile Indicators' render under model option does indeed work with this plugin's tile indicator now.


Generate CHANGELOG.md

While installing fastlane-plugin-changelog it should check whether CHANGELOG.md is present in project folder. If not, generate one with predefined structure.

See https://github.com/fastlane/fastlane/issues/5736

Implemented in v0.5.0


Fixes Codacy issue "Quote this to prevent word splitting."

Added quotes to fix this recommendation
Signed-off-by: Patrick Hession<EMAIL_ADDRESS>

@hessio DCO check is failing. can you please signoff in the commit message?

@hessio, can you please squash or fixup the commits into one?

DCO check is failing somehow ... can you check it @hessio ?


Issue#7592

Replaced curly quotes in command samples of dockerfile_best-practices.md with regular quotes in order to allow copy-paste of examples.

Deploy preview for docsdocker ready!
Built with commit b1654c157c7d80336764e58ee71e8cf079d411a3
https://deploy-preview-7602--docsdocker.netlify.com


limit APNs cluster workers - leasing of the permission to push for APNs AGPUSH-1413

Distributed version of APNs service cache - limiting number of services that can be created across entire cluster.
Tests use 2 clustered instances of WildFly (in Full HA configuration).
https://issues.jboss.org/browse/AGPUSH-1413

@matzew this builds upon the recent JMS related work

@lfryc can you rebase this off of master, and send a PR against upstream ?

@matzew sure thing, resent to upstream...


Decrease confusion over which exec function to use

There are several different exec* functions in Command, but not all of them are appropriate all the time. In particular, the "prepared" variants MUST be used when using a prepared statement, and the "SQL" variants must be used otherwise.

The library should, at the very least, throw an appropriate exception with a meaningful error message when the wrong one is used.
Also, the "SQL" and "prepared" versions of an exec* function should be combined into single functions that simply do the right thing. The older confusing versions should be deprecated. If possible, one single function named exec to cover all cases would be ideal (maybe even if it's overloaded. But have to consider whether that's worth the reduced redundancy).
Possibly, might even want to split Command into separate structs, one tailored for prepared statements, and one for non-prepared.

This is related to #84

Fixed in v1.0.0


Query API: CosmosDB does not support non-string values in query

The current cosmosDB package github.com/a8m/documentdb does not support non-string values in the query.
See https://github.com/a8m/documentdb/blob/master/query.go#L5
However, non-string values work fine when querying cosmosDB directly from the Data Explorer.
Possible solution:

replacing https://github.com/a8m with another (Microsoft?) SDK
fixing github.com/a8m/documentdb

Given that there is no official SDK or even an unofficial popular SDK, I would propose going with (2).
Some time back MSFT recommended another SDK , vippsas/go-cosmosdb, but it does not have commits since 2 years.

This is not officially listed as a "Preview" yet, but this looks like it https://github.com/Azure/azure-sdk-for-go/tree/main/sdk/data/azcosmos

Please see this tracking issue @shubham1172 #1526

Can we close this issue?

@shubham1172 Why was this issue closed ? This is still an issue with cosmosdb unless there was a fix done to the dependent library and updated in go.mod in contrib ....

@mukundansundar isn't there another issue to track the same? This was an enhancement issue to change the cosmos DB library, and #1526 already tracks it.

@shubham1172 That is for tracking the sdk update ... but checking if non-string values work is not a priority for that issue imo.
I think this should be kept open.

Sure, let's open it and label it as a bug then?

reopening this and labelling as bug

In v1.9 we upgraded to the new Azure SDK, so this likely is not a problem anymore. However, it has also been discussed that Query API will not leave Alpha state.
Instead we will be introducing a DocumentStore building block. Cosmos DB itself will eventually exist as a DocumentStore and a proper Query API will be implemented there.
Closing this as probably fixed already / wontfix.


Min and max items of json array not strict

example

#311 addresses this issue on the frontend, enhancing the user experience by limiting the item count. However, I strongly recommend implementing similar validation on the backend as well. It's important to note that frontend validation primarily serves user experience purposes and does not ensure data integrity


test: filter out picolib tests for ARC MWDT toolchain

Currently picolib isn't compatible with ARC MWDT toolchain, so don't try to build picolib tests in case of ARC MWDT toolchain usage.

I recently reported a similar issue for gnuarmemb toolchain: https://github.com/zephyrproject-rtos/zephyr/issues/47275 . Picolibc should not be enabled for any toolchain but Zephyr SDK, as it's clearly not validated with anything else.

I recently reported a similar issue for gnuarmemb toolchain: #47275 . Picolibc should not be enabled for any toolchain but Zephyr SDK, as it's clearly not validated with anything else.

That's currently true in the Zephyr environment, but not true for upstream picolibc which is tested with the Zephyr SDK, Debian arm compiler, the GNU Arm Embedded Toolchain and clang. Getting Zephyr to understand how to use picolibc with those toolchains is a matter of Zephyr configuration, not picolibc validation.

@keith-packard:

That's currently true in the Zephyr environment, but not true for upstream picolibc which is tested with the Zephyr SDK, Debian arm compiler, the GNU Arm Embedded Toolchain and clang. Getting Zephyr to understand how to use picolibc with those toolchains is a matter of Zephyr configuration, not picolibc validation.

The talk in this context is strictly about Zephyr. I once again appreciate your efforts with Picolibc, but it's nice to have its further progress in a way that doesn't currently break anything in Zephy mainline (yes, by disabling picolibc in not proven configurations, while hopefully working on extending its coverage in dedicated branches). In that regard, I appreciate https://github.com/zephyrproject-rtos/zephyr/pull/48900, which fixed gnuarmemb issue I was seeing. Thanks!

This looks ok to me - what's happening with the failing tests though?

This looks ok to me - what's happening with the failing tests though?

Agreed, it would be nice to actually fix the code so picolibc could build for zephyr with arc mwdt. Picolibc should build with any C compiler supporting C99 through C18.


install: add backtrace on failure

The error message might be useless alone

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

This was suggested by @claui. (Thanks again it helped me debug my issue).
I can put the printing beyond the debug flag, but I think printing it out right away is what we want here.

I can put the printing beyond the debug flag, but I think printing it out right away is what we want here.

No strong opinion on that one because we’re already applying it inconsistently.
Examples:

always print
print only if we’re debugging

No strong opinion on that one because we’re already applying it inconsistently.

The rule (or at least, what the rule should be) is pretty much is "do we expect users to report this issue to us".

Agreed with @MikeMcQuaid's version: it's mostly useful for us as devs when something fails while refactoring code or trying stuff out.

Thanks again @iMichka!


LibWeb/CSS: Define writing-mode

Fill out the json and associated boilerplate for the writing-mode property, and fill out a FIXME in BlockFormattingContext.cpp

Thanks for fixing the FIXME!
The getComputedStyle-print-all.html test fails on CI, probably someone else added a property since you last pulled master. Rebase, rebuild Ladybird, and then run that rebaseline script again to fix it.
Can we get a test for the FIXME change?

Noticing that even though this passes CI, when I run the test suite locally /ladybird/Tests/LibWeb/Text/input/DOM/FormAssociatedElement-selection-type-change.html times out. It makes a call to getBoundingClientRect(); from an element object but I can't trace that back to the function I edited. Can anyone reproduce?

As far as I understand, this is still waiting for a review.. If so, could you please rebase it on master and advertise it on Discord?


Website

How to create website using ID and Class concepts .

Please don't create spam PRs for hacktoberfest.


s/observeOne/observeOn

Hystrix-pull-requests #236 FAILURE
Looks like there's a problem with this pull request


Use health.json for uptime.

Closes #5102

Tested with https://github.com/pulibrary/imagecat-rails/pull/238 - an unhealthy check never deploys or goes live.


adding slide info

This looks good to me except that the google slide links aren't rendering as far as I can tell.

Yup, it is ready. Was just waiting for you to see it.


Hide system UI in ComposeUiSpacerTest

We can actually see what the desired rendered effect is.

Thanks! Not sure what happened to the previous screenshots


Navigating via link to page: renders as normal input field.

I assume this is some kind of configuration or page set up issue at my end, but I'm stumped.
When I navigate to a page with this slider it renders as a normal input field. However if I immediately refresh the page, the input is rendered correctly as a slider…
Any idea?
Cheers,
Ryan

Hey @ryanbooker,
Please share some code so that I could help you :)

Will do. Not quite sure what to post, though. I have the js included in application.js and the css included in application.scss, and one range slider in the view. Cheers.

I would need to see your JavaScript code initializing the slider and maybe the HTML of the slider.

I've worked it out… sort of. I had to add $('#slider').slider(); to the JS of the page. However, I don't know why it is only needed for the initial load?
<input
      type="text"
      id="slider"
      name="search_params[depth_range]"
      data-provide="slider"
      data-slider-min="0"
      data-slider-max="500"
      data-slider-step="5"
      data-slider-value="[<%= params[:search_params][:depth_range] %>]">

$('#slider').slider(); is required everywhere you have a field which has to be a slider (in a $(document).ready(function() { ... });.
Are you using Turbolinks?

Yes. Using turbolinks. I still don't understand why the slider works on subsequent refreshes… without that javascript.

This could come from Turbolinks ... but I'm not sure.
Without the source code, it's hard to say :)


new Insight() call crash under specific circumstances

Follow-up to #494
It seems that in some context (which needs to be investigated), the new Insight() call just plainly crash the app. We need to figure out why, and if needed report the issue upstream.

After some (quick) checks, I still have no idea why this happens sometimes. Since a workaround has been added, let's drop this one.


Refactoring of finite element classes

Right now it is extremely difficult to reuse the code in these classes for other problem types, boundary conditions, etc.

@SerafeimBakalakos I have almost completed the 3D case. Please note that some caching was missing so I corrected this in both 2D and 3D case.


Azure kubernetes api-key

Hi,
I'm deploying a instance on azure using :
helm install  ./qdrant-on-azure --create-namespace
This worked. i'm able to access the dashboard.
Now i would like to add a api-key, i have tried several changes to the values.yaml file for example:
adding
apiKey: bebfbc6c-f5b0-409b-ab40-471baa642c17
or
service:
apiKey: bebfbc6c-f5b0-409b-ab40-471baa642c17
After editing, i use this command :  helm upgrade  ./qdrant-on-azure
But no api key is added.

Not really sure if you lost formatting when pasting but the documented configuration is here. You can also see the integration test for it.
Let me know if this does not solve the issue for you.


Eriner theme required font

Hi,
Using the eriner theme my prompt looks like this:

The glyphs suggest the required font is not installed. What font is required for the eriner theme?

https://github.com/Eriner/zim/blob/master/modules/prompt/themes/eriner.zsh-theme#L6

I would add this to the wiki, but I don't know your conventions for where to place it. Definitely would be helpful for newcomers.

Running the following commands has me in the same state. Is there any other debug information I can provide?
wget https://github.com/Lokaltog/powerline/raw/develop/font/PowerlineSymbols.otf
wget https://github.com/Lokaltog/powerline/raw/develop/font/10-powerline-symbols.conf
sudo mv PowerlineSymbols.otf /usr/share/fonts/
sudo fc-cache -vf
sudo mv 10-powerline-symbols.conf /etc/fonts/conf.d/

What  font are you presently using?
And have you verified that it's covered in that font config?

Prompt could use a help function explaining the font requirement
prompt_eriner_help () {
	cat <<EOH
	This prompt works best with a font containing powerline characters.
	Such a font can be found here: ...... etc.
EOH
}

FWIW, if you've stumbled on this issue and want an easy fix, you can install powerline-fonts-git from the AUR to resolve the immediate issue.


modules python missing

Hi all,
I'm installing from a virtual machine (windows 7 os, it is clean, just installed) the mbed-cli and I'm having a problem. After the installation following the video https://www.youtube.com/watch?v=cM0dFoTuU14 I tried to compile the project but I get this error:

mbed compile
Traceback (most recent call last):
File "C:\Users\mbed\Desktop\mbed-os-sensor-node\mbed-os\tools\make.py", line 31, in
from tools.utils import args_error
File "C:\Users\mbed\Desktop\mbed-os-sensor-node\mbed-os\tools\utils.py", line 31, in
from intelhex import IntelHex
ImportError: No module named intelhex
[mbed] Auto-installing missing Python modules...
[mbed] WARNING: Unable to auto-install required Python modules.
[mbed] WARNING: -----------------------------------------------------------------
[mbed] WARNING: The mbed OS tools in this program require the following Python modules: colorama, pyserial, prettytable, jinja2, intelhex, junit_xml, pyyaml, requests, mbed_ls, mbed_host_tests, mbed_greentea, beautifulsoup4, fuzzywuzzy
[mbed] WARNING: You can install all missing modules by running "pip install -r requirements.txt" in "C:\Users\mbed\Desktop\mbed-os-sensor-node\mbed-os"
[mbed] ERROR: "c:\python27\python.exe" returned error code 1.
[mbed] ERROR: Command "c:\python27\python.exe -u C:\Users\mbed\Desktop\mbed-os-sensor-node\mbed-os\tools\make.py -t GCC_ARM -m NUCLEO_L476RG --source . --build .\BUILD\NUCLEO_L476RG\GCC_ARM" in "C:\Users\mbed\Desktop\mbed-os-sensor-node"

I resolved the problem installing manually the modules with this command:
pip install IntelHex jinja2 bs4 fuzzywuzzy prettytable colorama pyserial junit_xml pyyaml requests mbed_ls
example:

pip install IntelHex
Collecting IntelHex
Using cached intelhex-2.1-py2.py3-none-any.whl
Installing collected packages: IntelHex
Successfully installed IntelHex-2.1

but the modules mbed_host_tests and mbed_greentea are missing.
example:

pip install mbed_host_tests
Collecting mbed_host_tests
Using cached mbed-host-tests-1.1.8.tar.gz
Collecting PySerial>=3.0 (from mbed_host_tests)
Using cached pyserial-3.3-py2.py3-none-any.whl
Collecting PrettyTable>=0.7.2 (from mbed_host_tests)
Using cached prettytable-0.7.2.zip
Collecting requests (from mbed_host_tests)
Using cached requests-2.17.3-py2.py3-none-any.whl
Collecting mbed-ls>=1.0.0 (from mbed_host_tests)
Using cached mbed-ls-1.2.13.tar.gz
Collecting pyOCD>=0.8.1a1 (from mbed_host_tests)
Using cached pyOCD-0.8.1a1.tar.gz
Complete output from command python setup.py egg_info:
Download error on https://pypi.python.org/simple/setuptools_scm/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661) -- Some packages may not be found!
Download error on https://pypi.python.org/simple/setuptools-scm/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (ssl.c:661) -- Some packages may not be found!
Couldn't find index page for 'setuptools_scm' (maybe misspelled?)
Download error on https://pypi.python.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (ssl.c:661) -- Some packages may not be found!
No local packages or working download links found for setuptools_scm!=1.5.3,!=1.5.4
Traceback (most recent call last):
File "", line 1, in
File "c:\users\mbed\appdata\local\temp\pip-build-iugdm1\pyOCD\setup.py", line 66, in
include_package_data=True,  # include files from MANIFEST.in
File "c:\python27\lib\distutils\core.py", line 111, in setup
setup_distribution = dist = klass(attrs)
File "c:\python27\lib\site-packages\setuptools\dist.py", line 315, in init
self.fetch_build_eggs(attrs['setup_requires'])
File "c:\python27\lib\site-packages\setuptools\dist.py", line 361, in fetch_build_eggs
replace_conflicting=True,
File "c:\python27\lib\site-packages\pkg_resources_init.py", line 850, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "c:\python27\lib\site-packages\pkg_resources_init.py", line 1122, in best_match
return self.obtain(req, installer)
File "c:\python27\lib\site-packages\pkg_resources_init.py", line 1134, in obtain
return installer(requirement)
File "c:\python27\lib\site-packages\setuptools\dist.py", line 429, in fetch_build_egg
return cmd.easy_install(req)
File "c:\python27\lib\site-packages\setuptools\command\easy_install.py", line 659, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('setuptools_scm!=1.5.3,!=1.5.4')
Command "python setup.py egg_info" failed with error code 1 in c:\users\mbed\appdata\local\temp\pip-build-iugdm1\pyOCD\

The only way to install them is to download from a repository using the browser then install them from the zip file.
Two days ago I didn't have this problem but since yesterday afternoon the problem is started. I tried 3 times with 3 virtual machine clean with installed Windows 7. And for three times I having this problem.
Any suggestion?
Thank you
Roberto Spelta

Thanks for reporting this. However to my knowledge we haven't made any changes to the packages you mentioned.
From the error log it looks like you may be having an SSL issue. This isn't something we can fix.
I did a bit of searching and found this discussion thread, maybe something there will help you? https://github.com/pypa/pip/issues/3415

Thank you for the reply, the only way I findout to resolve this problem is to install in this order the packages:
pip install mbed-cli IntelHex jinja2 bs4 fuzzywuzzy prettytable colorama pyserial junit_xml pyyaml requests mbed_ls
pip install setuptools_scm
pip install mbed-host-tests
pip intall mbed-greentea
Seems that setuptools_scm is a package to install in order to avoid that error.

@rspelta Thanks for posting your findings. We don't have control over those packages unfortunately. I'm gonna close this issue for now, if others run into this we can look into this issue in more depth.


Async/feat

fix: #5

Hey @Ananya2001-an This is the complete PR for the feature.

Hey @Mr-Sunglasses thanks for the contribution :) Just wondering that do we need to create separate sync functions as well if we are trying to make an async library? Honestly I have not much experience with the async await functionality in python so it's better if I get to understand its usage before actually merge those changes...

@Mr-Sunglasses I would like to merge this PR but can you rectify some things....I dont think we need separate sync functions


[Event Request] Page 98 "Purch. Cr. Memo Subform" - Field "Description" - trigger OnValidate()

                field(Description; Description)
                {
                    ApplicationArea = Basic, Suite;
                    ShowMandatory = NOT IsCommentLine;
                    ToolTip = 'Specifies a description of the entry of the product to be purchased. To add a non-transactional text line, fill in the Description field only.';

                    trigger OnValidate()
                    begin

----------------------- ADD EVENT ----------------------
                IsHandled := false;
                OnBeforeValidateFieldDescription(Rec, IsHandled);
                if IsHandled then
                    exit;
----------------------------------------------------------

                        UpdateEditableOnRow();

                        if "No." = xRec."No." then
                            exit;

                        ShowShortcutDimCode(ShortcutDimCode);
                        NoOnAfterValidate();

                        UpdateTypeText();
                        DeltaUpdateTotals();
                    end;
                }

...............

[IntegrationEvent(false, false)]
local procedure OnBeforeValidateFieldDescription(var PurchaseLine: Record "Purchase Line"; var IsHandled : Boolean)
begin
end;

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


add decorator for flaky tf sparsity tests

Some of our tensorflow_v1 sparsity mask tests use randomly initialized tensors for testing. This can cause errors on the unlikely (but not impossible) chance that the randomly initialized tensor has a 0 in it.  We've seen this happen less than 5 times over the last 6 months, but it's happened twice in the last week now, so am nipping this in the bud.  @kevinaer suggested looking into flaky tests when this first occured.
Adding the flaky decorator, has pytest rerun the flaky test once (can be set to other values) if it fails.  This should be greatly decrease the chance that one of these tests will fail due to a 0 popping up in the test tensor.
https://pypi.org/project/flaky/
even though the decorator is called through pytest, I've checked that flaky must be installed for the logic to properly function.

cool, didn't know about flaky


List flatbuffers license in openvino/licensing/third-party-programs.txt

Already merged to the tflite branch


Check if method contains underscore

Some devs do not respects pep8, and so I think it's good to check if method contains underscore or not before raising an error.

Hi @AdiuvoDotFr
If your check get_test_number it's used just in sort_test_list, it's a func to help sort all the test, that's why it returns 0 if any number is found at index 1. I think what we're really missing here is catch the IndexError exception


remove needless $btn-focus-box-shadow

Fixes #36779

We can't remove a variable like that, it'd be a breaking change. This would have to wait until v6.

I closed this without thinking about deprecating the one-off variable. That's likely an option still if you wanted to modify this PR.


Bump node-postgres version for compatability

Issue Summary
This issue occurs on my server running Ubuntu 16.04, but it would occur anywhere. I'm using the latest stable Ghost 0.11.x with Postgres 9.6.x. The optional dependency maintained in your package.json is "pg": "4.1.1", which is about 2 years old. Using this old driver with a recent Postgres results in failed authentications, meaning Ghost cannot even start.
Bumping "pg" to the latest release "6.1.0" fixed this issue for me.
Steps to Reproduce

Run Ghost with any recent Postgres release. It will not be able to connect.

Technical details:

Ghost Version: 0.11.3
Node Version: 6.9.1
Browser/OS: Ubuntu 16.04
Database: Postgres 9.6.1

I believe Ghost no longer support pg in its latest version :(
here is the link: https://dev.ghost.org/dropping-support-for-postgresql/

@ivantedja I had not come across that... ok that's their call. I will close this then.


patch: fix force-unlock with delete path by updating in terraform.Status.Lock.Pending terraform CR.

finalize() routine updates terraform.Status.Lock.Pending in terraform CR on lock error.
Return updated terraform from routine finalize() so that it can be patched on lock error.
closes #560

Thank you for the PR @mmeha
I'm reviewing it and will test it on a cluster soon.

Thank you so much @mmeha :1st_place_medal:


Region data and release versions do not match for "and_chr"

Hi,
I'm using caniuse-lite to create a summary of usage % for the browser support targets we are currently aiming for. I'm using the release_date property on the agents to create a list of versions to summarize usage for.
I noticed that 'and_chr' is behaving a bit oddly though. It's  only tracking data for one version (not the weird part), but the version in release_date and the version in the usage data do not match. The release_date seems to show the latest version and it's release date, but the usage is always summarized under the version key '0'. Is this intended? The "regular" agents/browsers (e.g. Chrome/Firefox/Safari/Edge/IE) did not show any weird or similar behavior.
import { agents, region } from 'caniuse-lite';
import ww from 'caniuse-lite/data/regions/alt-ww.js';

agents['and_chr'].release_date;
// { "79":<PHONE_NUMBER> }
region(ww)['and_chr'];
// { "0": 34.422267 }

https://stackblitz.com/edit/js-zcjlru

Yeap. Unfortunately, we receiving this data from caniuse-db and right now we are just proxy for Can I Use data without changing them.

You could ask them, but Can I Use doesn’t want to change data.
Another way is to help us with funding for big caniuse-lite refactoring, which could will help us fixing Can I Use data.

Thanks for your response. I didn't know it was an caniuse-db issue, I thought it might have been one of the transforms applied to the data for minification.

It's not huge issue, it's not too hard to work around. It was mostly unexpected and a bit of a "rough edge".


Analyzer sdk bump

Proposed Changes
This updates the Analyzer SDK to the latest version, compatible with the most up-to-date version of FCS.
It also provides a docker-compose file for a test PG 12 database to run the tests against, as well as brief documentation about how to use it. After this change, I believe the analyzer will not run on prior versions of the analyzer CLI/SDK (due to breaking FCS API changes), but it will run on updated analyzer SDK/CLI versions. Therefore you might want to hold off on merge/release of this PR until a version of Ionide launches with support (you can watch https://github.com/fsharp/FsAutoComplete/pull/590 for details on this effort)
Types of changes
What types of changes does your code introduce to BinaryDefense.FSharp.Analyzers?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] Build and tests pass locally
[ ] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[x] I have added necessary documentation (if appropriate)

Thanks a lot for updates and sorry for the delay :pray:
I have published a new version as of v3.3.0 🚀 and it will be available soon on nuget :smile:


fix list view - re-do search with updated city name

to reproduce:

go to /mexico
click mexico city
defualts to no
refreshing should get updated data

fix:

re-do search with new name on click of a list item

Merged into another branch for testing and all that boring shit @elischutze


Comments styles

Added styles for comments. There is a comment-form.blade.php with the comment form that needs to have the actual functionality. For now, it's just an empty form without action.
related #268

The Qodana fail again, I have no idea what Qodana is

It's a product by jetbrains, it's about code quality, I think there is a problem with the configuration, from the error it seems it does not have access to some secret QODANA_TOKEN. not sure if we can do much about it without @brendt.

FYI I've removed Qodana for now, I was trying some things out, but had to deal with sick kids yesterday, so it took a while to fix it :)

This looks great btw! Happy to merge it :)


Remove old label check & refine hbase example

Coverage increased (+0.01%) to 51.632% when pulling 746c8ee367a051ef2a521072e8007ebb7c569cf3 on yife/fix2 into b7df7bdf10878a32e13de1f2deb7acf4c381cab1 on master.


What will happen to XMR when fluffypony will get charged with crypto fraud like McAfee?

https://tinyurl.com/h4rz4f9x
https://tinyurl.com/czwswrxv

Spam or truth? There is only one way to find out. Look into the sources yourself.

tari-project/tari#3069

tari-project/tari#3052

tari-project/tari#3051

tari-project/tari#3035

tari-project/tari#3072

tari-project/tari#3071

tari-project/tari#3070

tari-project/tari#3068


Fix broken tests using deprecated matplotlib function from 3.6.0 (closes #909)

Summary
Matplotlib 3.6.0 deprecates join() for Grouper, which is returned by get_shared_{x,y}_axes(). This means a deprecation warning is raised by MplCurveDrawer, which causes some tests to fail. See #909 for more.
Details and comments
This PR fixes #909 as described in the issue. I have confirmed the tests pass locally on my machine (macOS Intel, Python 3.9).
Pinging relevant people
@wshanks @nkanazawa1989

Ugh, it looks like there is a second upstream issue with aer being moved from qiskit.providers.aer to qiskit_aer: https://github.com/Qiskit/qiskit-aer/pull/1526.
Maybe pin aer to <0.11 here and then we can do a real fix for that in a separate PR? Or we could pin aer and matplotlib in a separate PR, then unpin matplotlib in this PR, and then unpin aer in the PR that fixes 0.11.

I merged #911, so you should be able to merge/rebase main and remove the matplotlib constraint now.

Actually, I went ahead and did the above. I wanted to get the CI started since it takes a while.


Pylance, configurable start - end of exceptions

Using some non standard python code like PIO asm in micropython lets Pylance throw reports about UndefinedVariables

By adding # pyright: reportUndefinedVariable=false all undefined variables are ignored.

By placing another pyright statement # pyright: reportUndefinedVariable=true after the PIO block, all warnings for the file are displayed again.

Feature request
Adding exceptions selectively, instead of a whole file would solve that issue.
# pyright: reportUndefinedVariable=false
foo = undefined() # no warning
# pyright: reportUndefinedVariable=true
foo = undefined() # warning

Thanks for the suggestion.
I believe we'd implement this in Pyright, transferring there.


Ability to set default model in config file

would be nice

default system prompt could be cool too? but I saw you are working on some sort of template system for that so maybe too early for that

This is going to happen! See:

#31


question

Can you tell me what these four files contain? They are all_edges_with_sccluster2_pred_ent.pkl, emb_mtx_with_sccluster2_pred_ent.pkl, pred_counts.pkl and conf_mat_updated.npy.

The first two files contain the hierarchical knowledge graph we created, which encodes commonsense knowledge about predicates and entities. Specifically, all_edges_with_sccluster2_pred_ent.pkl contains 4 binary matrices (edges_ent2ent, edges_pred2pred, edges_ent2pred, edges_pred2ent) to indicate if there is a commonsense connection between each pair of predicates/entities, emb_mtx_with_sccluster2_pred_ent.pkl contains two matrices that encode the embedding of each predicate and entity.
Besides, pred_counts.pkl stores the frequencies of each predicate in the training set of VG. conf_mat_updated.npy is the confusion matrix between predicates, which is initialized with SGG-G2S (conf_mat_freq_train.npy), and updated during our training process. See Sec. 3.7 of our paper for more details.


python.pkgs.pyqt5: 5.11.3 -> 5.12

Motivation for this change
https://github.com/NixOS/nixpkgs/pull/56349#issuecomment-467031384
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Not yet ready for merge. I still have to investigate why running qutebrowser yields
qutebrowser needs QtWebKit or QtWebEngine, but neither could be imported!
The errors encountered were:
QtWebKit: cannot import name 'QtWebKit' from 'PyQt5' (/nix/store/5prasyaxrbcy43rdyq0zydgc1ap2l8dl-python3.7-pyqt-5.12/lib/python3.7/site-packages/PyQt5/__init__.py)
QtWebEngine: cannot import name 'QtWebEngineWidgets' from 'PyQt5' (/nix/store/5prasyaxrbcy43rdyq0zydgc1ap2l8dl-python3.7-pyqt-5.12/lib/python3.7/site-packages/PyQt5/__init__.py)

According to https://www.riverbankcomputing.com/news/pyqt-512, "the QtWebEngine, QtWebEngineCore and QtWebEngineWidgets modules have been moved to a separate PyQtWebEngine package." I'm currently packaging that one.

Now I'm getting
Fatal error: PyQt5.QtQml is required to run qutebrowser but could not be imported! Maybe it's not installed?

The error encountered was:
No module named 'PyQt5.QtQml'

Please search for the python3 version of PyQt5.QtQml in your distributions packages, or see https://github.com/qutebrowser/qutebrowser/blob/master/doc/install.asciidoc

Could you rebase?

Done. Note there's a new version out. However, I currently don't have time to look into this any further or work on nixpkgs at all.

Build fails for me:
$ nix-build -A qutebrowser
these derivations will be built:
  /nix/store/hcddpixnf5r6nd5acy5b1n28v71kvsha-python3.7-pyqtwebengine-5.12.1.drv
  /nix/store/aaxagq1g99520rvspgdfa5qbcx8ihhn0-qutebrowser-1.6.2.drv
building '/nix/store/hcddpixnf5r6nd5acy5b1n28v71kvsha-python3.7-pyqtwebengine-5.12.1.drv'...
unpacking sources
unpacking source archive /nix/store/bqzynfhf1d6in4cdb1bc7ni9qi74j399-PyQtWebEngine_gpl-5.12.1.tar.gz
source root is PyQtWebEngine_gpl-5.12.1
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file PyQtWebEngine_gpl-5.12.1/sip/QtWebEngineWidgets/qwebengineview.sip
patching sources
configuring
Error: Make sure you have a working sip on your PATH or use the --sip argument
to explicitly specify a working sip.
builder for '/nix/store/hcddpixnf5r6nd5acy5b1n28v71kvsha-python3.7-pyqtwebengine-5.12.1.drv' failed with exit code 1
cannot build derivation '/nix/store/aaxagq1g99520rvspgdfa5qbcx8ihhn0-qutebrowser-1.6.2.drv': 1 dependencies couldn't be built
error: build of '/nix/store/aaxagq1g99520rvspgdfa5qbcx8ihhn0-qutebrowser-1.6.2.drv' failed

Now I'm getting
Fatal error: PyQt5.QtQml is required to run qutebrowser but could not be imported! Maybe it's not installed?

This can probably be fixed by adding more options into pkgs/development/python-modules/pyqt/5.x.nix. It depends on qtbase, but not qtdeclarative.

So I tried to contiue this by updating pyqt to 5.12.2 and pyqtwebengine to 5.12.1 since old versions are not available anymore. I can not make pyqtwebengine compile:
mkdir: cannot create directory \u2018/nix/store/4c4ajgdnhlqk994hilagk5cgv7vw9yzg-python3-3.7.3/lib/python3.7/site-packages/PyQt5\u2019: Permission denied
I've had some really annoying bugs in qutebrowser lately, which is why I really want this update, so I can see if the mismatched pyqt version is at fault.

I'm taking this further in https://github.com/NixOS/nixpkgs/pull/65836.


Update dependencies. Fix issue with event ID access

Probably gradle version should be also updated to 8 in workflows (dev-release-java-publish-sonatype-and-docker.yml & java-publish-sonatype-and-docker.yml files)


volume didn't change after clicking the slider

First I clicked the slider (not click and drag), the volume didn't change. And then I clicked slider again, and the volume changed.

Couldn't reproduce, could you please provide a video?


Dependency filelock move to requirements-tests

Can we move filelock from requirements.txt to requirements-tests.txt

Seems like it. Nice catch!


Package manager?

Is it possible to include a package manager? or at least a package installer?

Hi! Could you please be more specific? At the heart this linux system is built from scratch (generated by buildroot). There is no relation to any distro.

i actually wanted to add some specific python modules which requires me to have pip which requires apt-get or at worst i have a  deb installer avaiable. while your image is light my specific case requires me to install some extra stuff. Anyway i managed to got the Ubuntu image running my sd card was bad but your image was the only one that worked on it for some reason.


freeze/thaw interface for StaticStrideArrays

Currently, a StaticStrideArray must be a mutable struct so that we can get reliable pointers to it's storage in order to avoid interacting with the NTuple data.
However, this causes problems with StaticStrideArrays if they cross non-inlined function boundaries because then the storage data will end up on the heap even if it doesn't need to be there, requiring us to deal with the scariness of  PtrArrays @gc_preserve.
One possible solution to this problem would be to have StaticStrideArray be an immutable struct, and then have a MutableStaticStrideArray that can be created from it on-demand in order to get a pointer, and then converted right back to the immutable version as soon as we're done.
Here's a little demo of what I'm imagining:
using StrideArrays, StrideArraysCore
using StrideArraysCore: StaticStrideArray

macro new(T, args...)
    Expr(:new, T, args...) |> esc
end

struct FrozenStaticStrideArray{T, N, R, S, X, O, L} <: AbstractStrideArray{T, N, R, S, X, O}
    data::NTuple{L,T}
end
function freeze(sa::StaticStrideArray{T, N, R, S, X, O, L}) where {T, N, R, S, X, O, L}
    @new FrozenStaticStrideArray{T, N, R, S, X, O, L} getfield(sa, 1)
end
function thaw(fsa::FrozenStaticStrideArray{T, N, R, S, X, O, L}) where {T, N, R, S, X, O, L}
    @new StaticStrideArray{T, N, R, S, X, O, L} getfield(fsa, 1)
end

function Base.getindex(fsa::FrozenStaticStrideArray, i::Int...)
    thaw(fsa)[i...]
end

let
    sa = StaticStrideArray{Float64}(undef, (static(1000),)) .= 1
    fsa = freeze(sa)
    @btime $sa[1000]
    @btime $fsa[1000]
endl

#+RESULTS:
:   1.940 ns (0 allocations: 0 bytes)
:   1.939 ns (0 allocations: 0 bytes)

I think having an immutable variant like this could make this a much more convincing replacement for StaticArrays.jl.

I am in favor, please feel free to make a PR!
@ChrisRackauckas and I have been talking for some time about making a StaticArrays.jl replacement that doesn't unroll anything, using loops for all implementations, to avoid the compile time and scalability problems that StaticArrays.jl has.
I'm also in favor of making StrideArrays(Core) that library.
It should perhaps also be updated to make use of the new Pkg extensions.

Hm, it seems that julia is being a bit overly cautious about avoiding us mutating a region of stack memory that belonged to an immutable variable, so a freeze/thaw is not as cheap an operation as one might hope. All the memory needs to be moved:
julia> let v = StrideArray{Float64}(undef, static(1000)) .= 1
           fv = freeze(v)
           @btime freeze($(thaw(fv)))
       end;
  153.136 ns (0 allocations: 0 bytes)

julia> let v = StrideArray{Float64}(undef, static(1000)) .= 1
           fv = freeze(v)
           code_llvm(Tuple{typeof(fv)}) do fv
               freeze(thaw(fv))
           end
       end;
;  @ REPL[8]:4 within `#3`
define void @"julia_#3_2881"([1 x [1000 x double]]* noalias nocapture sret([1 x [1000 x double]]) %0, [1 x [1000 x double]]* nocapture nonnull readonly align 8 dereferenceable(8000) %1) #0 {
top:
; ┌ @ REPL[5]:2 within `freeze`
   %.sroa.0.0..sroa_cast = bitcast [1 x [1000 x double]]* %1 to i8*
   %2 = bitcast [1 x [1000 x double]]* %0 to i8*
   call void @llvm.memcpy.p0i8.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(8000) %2, i8* noundef nonnull align 8 dereferenceable(8000) %.sroa.0.0..sroa_cast, i64 8000, i1 false)
; └
  ret void
}

Not a show-stopper, but having a cost to freezing and thawing does put a damper on things...

Yes, we're aware of that problem. A few people looked at it and couldn't come up with simple fixes, but we think it's still worth it despite this cost (and eventually, compiler improvements should eliminate that copy).

Okay, I'll see what I can do. What is your appetite here for a breaking version?
I'm picturing replacing what is currently StaticStrideArray with a StrideArray wrapping a Ref{<:NTuple}, i.e.
function StrideArray{T}(::UndefInitializer, sz::StaticInt...) where {T}
    r = Ref{NTuple{Int(prod(sz)), T}}
    p = Ptr{T}(pointer_from_objref(r))
    pA = PtrArray(p, sz)
    return StrideArray(pA, r)
end

and then the name StaticStrideArray would then be used for the immutable version. Does that make sense, or was there a reason that StaticStrideArray is a separate type from StrideArray with static storage / size?

I'm okay with a breaking version, as there's only a handful of packages I maintain depending on this, and none use StaticStrideArray, so it won't be too much work to update.

Does that make sense, or was there a reason that StaticStrideArray is a separate type from StrideArray with static storage / size?

I want the array passed as a pointer to memory, not a pointer to a pointer to memory. I had it closer to what you described before, but this caused a slight loss in performance.
I thought there was an associated issue, but it may have only been a Zulip discussion. Perhaps @cscherrer recalls.

I think I made an issue for this in ArrayInterface a while ago

a StaticArrays.jl replacement that doesn't unroll anything, using loops for all implementations, to avoid the compile time and scalability problems that StaticArrays.jl has

How would this be different from a SizedArray?

I want the array passed as a pointer to memory, not a pointer to a pointer to memory. I had it closer to what you described before, but this caused a slight loss in performance.
I thought there was an associated issue, but it may have only been a Zulip discussion. Perhaps @cscherrer recalls.

Sorry, I don't remember. Could have been Zulip.


Default mapping of Xbox One controller on Linux is incorrect

Godot version:
Godot 3.2.2 flatpak package
OS/device including version:
Pop OS 20.04
Issue description:
My Xbox One controller was detected, however the right axis had issues getting properly detected, the horizontal axis was making the camera rotate vertically and the vertical axis didn't have any effect
Steps to reproduce:
plug in the xbox one controller then test in game
I was able to fix the issue by manually adding this mapping to my project :
Input.add_joy_mapping("030000006f0e0000b802000001010000,XInput Controller,platform:Linux,a:b0,b:b1,x:b2,y:b3,back:b6,guide:b8,start:b7,leftstick:b9,rightstick:b10,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:a2,righttrigger:a5,",true)

It seems like this mapping is not known to the SDL DB we use: https://github.com/gabomdq/SDL_GameControllerDB
Could you contribute it upstream following their instructions? https://github.com/gabomdq/SDL_GameControllerDB#create-new-mappings
Then we'll get support for it next time we sync the DB.
CC @madmiraal @27thLiz

I see, I'll do it, thanks

https://github.com/gabomdq/SDL_GameControllerDB/pull/380#event-3712081919 It's been merged

Thanks! Fixed by a61cae1469 (master) and 9be924c454 (3.2).

A new Xbox controller was added to the db according to this PR: https://github.com/gabomdq/SDL_GameControllerDB/pull/383
It seems I can add the mapping myself per  https://github.com/godotengine/godot/issues/41595#issue-688505531 but to make that available for everyone using Godot should I present a PR or a new issue would do it?


Support metadata identification for items.

Idea by killrrkillrr on spigot.org

I was just about to suggest this improvement! I am very interested in this ticket.
One would differentiate between the gold_nugget with nbt tag used as the currency of my server and the vanilla gold_nugget.
The two versions of the gold_nugget (or any other item used as currency) would be visually different, especially since it is not possible to give an enchantment to some items without specific permissions on many servers.
I know you have a lot of things planned for Gringotts, do you have a specific date for this addition?
Thanks you for the maintenance of this essential plugin!

Implemented on latest version :)
Config example:
  denominations:
    - material: emerald
      value: 1
      unit-name: Emeraldo
      unit-name-plural: Emeraldos
      displayname: Emeraldo
      damage: 10
      custom_model_data: 1
      lore:
        - line1
        - line2
    - material: emerald_block
      value: 9
      unit-name: Emeralde
      unit-name-plural: Emeraldes
      displayname: Emeralde
      damage: 10
      custom_model_data: 1
      lore:
        - line1
        -  #line2


Updatedoc-MicrosoftDocs/azure-docs-powershell#1552

MicrosoftDocs/azure-docs-powershell#1552 - replacing AzureApiManagementNamedValue with AzApiManagementNamedValue in get, new, remove,set cmdlets.

Docs Build status updates of commit ff7df25:
:clock10: Full build: the average full build time is 33 min(s) 46 sec(s), this is based on the last 528 build(s) for this repository.

Docs Build status updates of commit ff7df25:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azps-4.6.1/migrate-az-4.1.0.md
:white_check_mark:Succeeded
View (azps-4.6.1)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Problem in compound verses with prefix

These works
bible.get_references('Ezra 1:1-Ezra 2:1')
bible.get_references('1 Kings 1:1-3')

But these return wrong references or fail to return references
bible.get_references("1 Kings 1:1-Kings 1:10")
bible.get_references("1 Chronicles 1:5-1 Chronicles 1:7")

My hunch is the 2nd "1" in "1 Chronicles" is getting picked up like I had tried to find "1 Chronicles 1:5-1"

This should be fixed in pythonbible version 0.8


use exhaustive match statement in peer/connection.rs

based on a comment in code review

do we want to try to find a way to get exhaustive matching here?
Originally posted by @yaahc in https://github.com/ZcashFoundation/zebra/pull/1016#discussion_r483852626

The relevant part of connection.rs is in handle_message_as_request, which is responsible for interpreting a Bitcoin message as a Request from a remote peer, then passing it to our inbound network service.
Ideally, this function should be handled as a single match statement, where each match arm is independent of the others and handles exactly one pattern.  This can make the code superficially uglier, e.g.,
            Message::GetData(items)
                if items
                    .iter()
                    .all(|item| matches!(item, InventoryHash::Tx(_))) => { /* ... */ }

but makes the code easier to analyze and change (because the match arms are more independent of each other, and each one does one thing.
Currently there are three match statements in a row, with _ fallthrough cases.  Ideally they would be combined into one match statement, with no fallthrough cases.  Initially, this will probably require adding a bunch of patterns whose bodies are like
Message::Foo => {
    tracing::debug!("unhandled message type Foo");
    None
}

but it will be useful to enumerate all of the messages we need to be able to handle, rather than having a single catch-all "unhandled" arm.


Conditional Inference Trees

I enjoyed the code that you have here as well as the descriptions in the accompanying slideshow. I have two suggestions.

Would you consider adding a section on conditional inference trees? These are trees that utilize probabilistic associations between features and outcome variable to make splits rather than the information gain (or impurity/error reduction) criterion used here. Conditional inference trees are effective in reducing the variable selection bias present in CART methods (the framework for decision tree creation used here) in which variables with more splits are preferentially selected when compared to variables with fewer splits. They are also less risky to interpret, as each split is based on some statistical association rather than absolute differences in some information metric. The one thing I worry about is obfuscating your very clear presentation of the decision tree algorithm, but this might help to reduce confusion down the line when people try to interpret CART method trees too much. Note that besides the segmentation criterion, conditional inference trees are identical to CART method trees.
In the Module 5-Decision Tree slideshow on slide 53 (the slide right before "Model Performance") you reference the fact that the RMSE algorithm proceeds by "Calculating the variance for each node" and "calculating the variance for each split as weighted average of each node variance." Unless I'm misunderstanding here, I believe this is incorrect. You are not calculating the variance in each node, nor are you calculating the variance for each split; you are instead calculating the root mean squared error (RMSE) and not the variance. The equations are similar, but for variance you are subtracting the average value from each observation in the summation, whereas in RMSE you are subtracting the predicted value from each observation in the summation.

Thank you for your consideration.

Hello @andrewnolanhall,
Hope you are doing well! I am one of the Teaching Fellows helping out at Delta Analytics.
Thanks for reaching out about these two points, and Delta Analytics appreciates your feedback! These are great conceptual topics I can ask the technical lead or other leads about, for sure.
I will keep you posted! Have a good one until then.

Thank you for your response! And thanks for considering it. I couldn't
decide if adding the conditional inference trees would add more confusion
than they are worth, but thought it might be good to point them out.
Best,
*Andrew N Hall *
*PhD Candidate, Northwestern University *
Data Science Research Consultant
Northwestern IT Research Computing Services
On Sat, Mar 21, 2020 at 3:32 AM Raul-ing Average<EMAIL_ADDRESS>wrote:

Hello @andrewnolanhall https://github.com/andrewnolanhall,
Hope you are doing well! I am one of the Teaching Fellows helping out at
Delta Analytics.
Thanks for reaching out about these two points, and Delta Analytics
appreciates your feedback! These are great conceptual topics I can ask the
technical lead or other leads about, for sure.
I will keep you posted! Have a good one until then.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DeltaAnalytics/machine_learning_for_good/issues/56#issuecomment-602014001,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKI2TB7H4V75N5HP5QLXBNDRIR3STANCNFSM4LQXMX4Q
.

Closing this issue. Conditional inference trees are out of the scope for the introductory nature of this course.


Fix tracker crashing on inf

Fix tracker crashing when trying to print inf values
Use scientific notation to print large numbers

Thanks for the pull request!

Thanks for the pull request!


iOS: implement deep linking for program

Description
LEARNER-6445
Implement deep linking for program.
How to test this PR

Add "https://edx.app.link/program" in notes, opening this url by clicking will open the app and navigate to programs screen.

@salman2013 Can you please provide a deep link to test this PR?

@saeedbashir I have added the link to test.

@saeedbashir ready for another pass.

@saeedbashir ready for another pass.

@saeedbashir ready for another pass.

After opening the Programs from deep link title is not changing.

Action sheet of course share is not closing on opening Program from a deep link.

@saeedbashir ready for another pass.

@saeedbashir The above issue has fixed.

@saeedbashir sorry i forgot to commit that, now it has fixed.


Send deposits in collection with reviewers to mediation

Why was this change made?
Fixes #349
How was this change tested?
Which documentation and/or configurations were updated?

@jcoyne can you respond to @ndushay's question:

It looks like we now check if review is enabled, and if so, submit the work for review? and maybe you added a trait to the collection for a test so it is now magically testing this?

I think that's the last thing to resolve before we can merge.


Vanilla OpenCV example code won't open ArduCam on RPI

I have the SDK library installed:
/usr/lib/libArduCamLib.so
/usr/lib/libArduCamLib.so.2
/usr/lib/libArduCamLib.so.2.0.0
I am trying to use a vanilla OpenCV example, which attempts to open the "default" simply camera as follows:
// Initialize camera
VideoCapture cap(0);
if (!cap.isOpened()) {
cerr << "Couldn't open video capture device" << endl;
return -1;
}
The ArduCam-provided RPI cpp code does not provide any example on how to extend generic OpenCV code to leverage the SDK libraries to be able to open the camera.
Can you please provide an example?
I expect I need to link the SDK library and specify the appropriate camera yml, but I do not see how to do it plainly.  :-(
Yes, I see the "proprietary" way to open the camera in .../ArduCAM_USB_Camera_Shield/RaspberryPi/Cpp/Streaming_demo/ArduCam_Demo.cpp, however that is not the generic OpenCV way.

Moved to:
https://github.com/ArduCAM/ArduCAM_USB_Camera_Shield/issues/97


Add Github Action config to test on every pull request

Check composer.json syntaxe and run phpunit on PRs

Hey @gpupo !
Thanks for this PR. We already have tests running on Travis CI (with PHPUnit tests running there). For some reason, the TravisCI display has been broken in the Github PR for the last few weeks. I'll have to check why.
I'll keep this PR open as we will certainly migrate away from TravisCI to Github Actions and this is a great starting basis, but I'd like to migrate everything at once and not have 2 CI systems in parallel.
If you have some time to migrate more Travis to Github, that would be a huge help. Otherwise, I can take over from here!

@moufmouf im set the trigger only to creation of tags and disabled  runs at PRs and Pushs
Consider including this conf for an initial use of githuub actions

The CI was migrated to github actions in #297 and #298. Thank you for your help.


fix path regexp for MS

addressing https://github.com/rxaviers/react-globalize-webpack-plugin/issues/13

Will review your PR this weekend. Please, make sure you signed-off you commits after reading https://github.com/rxaviers/react-globalize-webpack-plugin/blob/master/DCO.md.
Thanks!

@rxaviers are there any news on this?

Sorry for the delay. We'll also need to update one more occurrence:
-     new SkipAMDOfUMDPlugin(/(^|\/)react-globalize($|\/)/)
+     new SkipAMDOfUMDPlugin(/(^|[\/\\])react-globalize($|[\/\\])/)

Thanks! Released as 0.4.2.


Validation bug on array field

Laravel Version: 6.0.3
PHP Version: 7
This is a bug, not a question!
Description:
Hello, I found one Bug, if you do a validation on a input name[] (array) and the user deletes the input, the validator ignore.
Steps To Reproduce:
Create a empty form.
create a controller for the action of this form with this:
request()->validate([
'products.*' => 'required',
]);

This will not throw a error, but is REQUIRED!

I think if you do
request()->validate([
    'products' => 'required|array',
]);

that solves it?

No, because the products is a array input,
<input name="products[]" />
<input name="products[]" />

So,  then will throw error when its correct, because is array

I think if you do
request()->validate([
    'products' => 'required|array',
]);

that solves it?

No, because the products is a array input,

So, then will throw error when its correct, because is array

I think if you do
request()->validate([
    'products' => 'required|array',
]);

that solves it?

I tested and it worked, thanks,
For those who are using the application the way I said and do not know, may be at risk of users delete in the browser and save templates without the requirements.


error handling after each API call

Check each API response for the right shape (perhaps with automation to define the expected ok-shape)
and raise a verbose error if not
e.g. create collection currently can silently fail if 50 indexes (free tier)

I pushed an initial version of this, which at least logs and returns the error, but i'm keeping this open because checks on the return format are not there yet.

There is another point to agree on:
Do we want the methods in astrapy to raise an error if the HTTP method works all right but it contains information about a failure?
Suppose my LLM Framework integration wants to create a collection. Would you like to have to inspect the response of astrapy's create_collection call, or would you rather have astrapy check its response and issue an error if the intent of the create collection does not succeed?
I realize the SDK could just, you know, be a proxy for http methods, but it could also act as the natural point for raising exceptions perhaps (?) though I'm not 100% sure of that (there are grey areas ... what about insertMany that fails halfway through, for instance? Hmm)

@erichare as per our meeting, this could be reassigned to Kirsten (i.e. @synedra as far as I know)

I think when @synedra accepts the invite from cedrick we'll be able to re-assign. I unassigned myself for now!

I found the message, clicked on it, and then it disappeared without letting me accept the invite :-(
Kirsten

On Oct 24, 2023, at 8:32 AM, Eric Hare @.***> wrote:
I think when @synedra https://github.com/synedra accepts the invite from cedrick we'll be able to re-assign. I unassigned myself for now!
—
Reply to this email directly, view it on GitHub https://github.com/datastax/astrapy/issues/22#issuecomment-1777494992, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASOTDYHHD53U6PO5OGK7MZLYA7NSHAVCNFSM6AAAAAA6L4Y2OOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZXGQ4TIOJZGI.
You are receiving this because you were mentioned.


Allow LexicalTypeaheadMenuPlugin to work when inside an iframe

Hi Lexical team, I'm making some changes to the LexicalTypeaheadMenuPlugin such that when we're using the ContentEditable in an iframe but rendering the dropdown menu of the typeahead outside (iframe's parent), we'll still calculate the position of the dropdown menu correctly.

Unrelated to this PR, but maybe we should add editor.getWindow() / editor.getDocument() with fallback to globals. It might simplify swapping globals with jsdom (e.g., for server rendering)

I think, this is a great idea.


diff() doesn't take days rounding into account

Hi,
I found this weird behavior. I try to truncate time and use dates only to calculate difference. It looks like startOf('day') is not properly taken into account when calculating date difference.
EDIT: I would like to calculate date difference in UTC, it looks like it translates to local time.
I'm sitting in +10 timezone which makes below calculations valid in local time.
Expected behavior would be to completely ignore time when rounding is being requested.
Example and repro steps:
console.log('======== BEGIN ===========')

var date1 = "2016-11-10T16:12:17.933Z"
var date2 = "2016-11-13T11:17:13.933Z"

var m1 = moment(date1);
var m2 = moment(date2);

var diff = m2.diff(m1);
var diffDays = moment.duration(diff).asDays();

console.log(diff)
console.log(diffDays)

console.log("That's fine -> we take hours into account, diff is less than 3 days")

m1 = moment(date1).startOf('day');
m2 = moment(date2).startOf('day');

diff = m2.diff(m1);
diffDays = moment.duration(diff).asDays();

console.log(diff)
console.log(diffDays)
console.log("That should be rounded to 3 days difference without hours into account, but ok...")

// Let's change hours - since we round to days it should be irrelevant
date1 = "2016-11-10T10:12:17.933Z"
date2 = "2016-11-13T11:17:13.933Z"

m1 = moment(date1).startOf('day');
m2 = moment(date2).startOf('day');

diff = m2.diff(m1);
diffDays = moment.duration(diff).days();

console.log(diff)
console.log(diffDays)
console.log("Wait, what? That should be same as above as we calculate date difference only, right?")

console.log('========= END ===========')

Following along in my own JS console, I got a little confused. The last two console.log(diffDays) printed 3 for me. Is that not what you got? Is it not what you expect?

@icambron I think I found the issue. Time calculation are done in local time. I was expecting UTC differences. Is there a way I can choose UTC calculations?

Depends a bit on what you mean by "calculation". The number of MS between two timestamps is the same regardless of zone, so it won't change diff. But you can certainly make it compute startOf as the the start of the UTC day:
moment(date1).utc().startOf('day');

Closing this due to age. Happy to reopen if you have more questions comments.


fix: support non nullable reference type b2c app

Description
References

Codecov Report

Merging #532 (dd62cb5) into main (21978a1) will decrease coverage by 34.01%.
Report is 205 commits behind head on main.
The diff coverage is 33.46%.

@@             Coverage Diff             @@
##             main     #532       +/-   ##
===========================================
- Coverage   83.07%   49.07%   -34.01%
===========================================
  Files         456      321      -135
  Lines       10418     6358     -4060
===========================================
- Hits         8655     3120     -5535
- Misses       1438     3144     +1706
+ Partials      325       94      -231

Files
Coverage Δ

...ivedMessages/ArchivedMessageGetDocumentListener.cs
0.00% <ø> (ø)

source/Api/Common/HttpHeadersExtensions.cs
0.00% <ø> (ø)

...iddleware/Authentication/ActorForAuthentication.cs
0.00% <ø> (ø)

...ntication/Bearer/BearerAuthenticationMiddleware.cs
0.00% <ø> (ø)

...MarketActors/MarketActorAuthenticatorMiddleware.cs
0.00% <ø> (ø)

...ation/Middleware/Correlation/CorrelationContext.cs
66.66% <ø> (ø)

.../Middleware/Correlation/CorrelationIdMiddleware.cs
0.00% <ø> (ø)

...iguration/Middleware/Correlation/UserProperties.cs
0.00% <ø> (ø)

...figuration/Middleware/FunctionContextExtensions.cs
0.00% <ø> (ø)

...rce/Api/Configuration/ServiceBusMessageMetadata.cs
0.00% <ø> (ø)

... and 79 more

... and 400 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


cloudgaming-83分支能被单独编译成webrtc.lib吗

it can;t compile to webrtc.lib, missing thirdParty.  i also want to know how to make config and build it


Build error with GHC 8.10.1

I cannot install the library with GHC 8.10.1 because i) the upper bound version for base and ii) https://github.com/haskell-hvr/deepseq-generics/issues/8.
Blocking https://github.com/agda/agda/issues/4582.

Issue https://github.com/haskell-hvr/deepseq-generics/issues/8 was fixed.

Any news?

Any news?

Released https://hackage.haskell.org/package/github-0.26


Equivalent of FT_GetComPortNumber

Hey all,
I was wondering if there was the equivalent function of the raw C/C++ FT_GetComPortNumber?
I want to be able to scan COM port names (COM6 for example) (before or after opening ports is fine), however I am not sure of how to do it in this python wrap of the FTD2XX driver.
Ideally I would like to open the device with COM port name, but just being able to determine the COM port name would significantly help.
Is there any way currently implemented to read the COM port number associated with a device number?
Thanks,
CaptainJL

This fork by @cbrx-fw has this functionality: https://github.com/cbrx-fw/ftd2xx. If they agree, I can merge. Or if you want to implement it and create a PR, that'd be great too.

Hey snmishra
Would be nice if you could merge this function and release it to pypy. Thanks for all your good work!

@ubichsel @CaptainJL  1.1.2 include getComPortNumber and is active on pypi.


No coverage information was collected, exit without writing coverage information es6

"cover": "istanbul cover _mocha test/mocha.js"
运行npm run cover报错

#841


Triangular Number in Java

Create a new program which checks if a number is a triangular number or not. A number is triangular if it is formed by the addition of
consecutive sequence of integers starting from 1.

I have made a pull request (PR #83 ). Please approve it.

gg @Sbiswas001


Differentiate between the events of Clear click and Remove click

Hi,
is there any way to distinguish between the event of Clear click and the event of Remove click?
I need this to handle images deletion correctly. In the case where Clear is clicked I have to remove all the images and in case of Remove I need to delete only the selected one.

Both clear and remove emit the same event - onRemove.
I believe this should work for your use case as when clear is clicked it simply emits onRemove once for each image and passes the FileHolder through as the $event.


minDateAndroid and maxDateAndroid converted minimumDate and maximumDate

Thank you @geekvijay, merged! 👍

Did you test it? Can I just publish it on npm? :)

i did it, You can push it to the npm :)

Just released it on npm, check for v3.0.0 👍

nice 👍


Add MonadReader and MonadState ActionT instances

It's probably a fairly common case to have a MonadReader as 'm' in
'ActionT e m' which stores some global configuration. Accessing this
reader can only be done with explicit 'lift'.
This commit add 'MonadReader (ActionT e m)' instance which is forwarded
from 'm' itself, to avoid this 'lift' and simplify user code. The same
is done for 'MonadState'.

Is there any hope to get someone look at this? :)

if you add a changelog entry, and CI passes, i will merge this.

Sure!
CI fails due to errors that are not caused by me, for example for 8.6.5:
gpg: requesting key F6F88286 from hkp server keyserver.ubuntu.com
Error: retrieving gpg key timed out

Or with GHC 7.8.4 simple-sendfile does not compile:
Network/Sendfile/Linux.hsc:113:29: Not in scope: ‘<$>’

I've also lowered requirement for base-compat-batteries to 0.10, since that's what available in all latest stack's LTS.
Let's see if CI passes now.

Looks like CI is OK 🎉

Nice! Beautiful! Thank you!

Wow, great, thank you!
Could you make a new hackage release with this version? Or are you planning a new version soon?

Planning on a new version soon, with some more changes. Please ping me if this hasn't happened in a reasonable amount of time.

Got it, thanks!

Hi @chessai!
It's been two month, so I'm pinging you about making a new release :)

Ping?

@maksbotan
I apologise for the silence. I've just finished moving. There's a bunch of improvements I want to fold in to one majour version release, this being one of them.


fix(c/driver/postgresql): Support trailing semicolon(s) for queries inside COPY statements

Fixes #1147

Thanks!
I'm guessing there's no query where a trailing semicolon is somehow meaningful...

I was surprised to see that these are valid:
ywc=# select current_date;;;
 current_date
--------------
 2023-10-05
(1 row)

sqlite> select current_date;;;
2023-10-05