NormalizationCorrections.txt

https://unicode.org/Public/UCD/latest/ucd/NormalizationCorrections.txt

skipping this file for now, happy to come back to it if an application needs it


feat(curriculum): restructured expense tracker python project

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #52570

Please no one make any commits to this until I am done. It has to be restructured to fit with the upcoming-python -> scientific-computing move

Please remember about https://github.com/freeCodeCamp/freeCodeCamp/pull/52570#discussion_r1432280440 :heart:

Please remember about https://github.com/freeCodeCamp/freeCodeCamp/pull/52570#discussion_r1432280440 ❤
Is that something we can address in a future PR? This is the last project I'm waiting on to unblock a few things :3

Please remember about #52570 (comment) ❤

Is that something we can address in a future PR? This is the last project I'm waiting on to unblock a few things :3

Too late

That is me done reviewing this. It works locally.


Missing VERSION constant

In secure_headers 2.x the library had a SecureHeaders::VERSION constant. The interface in the library has changed several times and trying to integrate a library with the different versions is a drama without that constant.
Can I ask the reason you preferred not having a so useful constant? Relying on rubygems to take the gem version is not ideal.

I can't remember why it changed but does Gem::Specification.find_by_name("secure_headers").version more or less get you the same information?

Yes, but that means requiring rubygems in the library and that is a bad
practice afaik.
On Wed, Sep 12, 2018, 23:56 Neil Matatall<EMAIL_ADDRESS>wrote:

I can't remember why it changed but does
Gem::Specification.find_by_name("secure_headers").version more or less
get you the same information?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/twitter/secure_headers/issues/397#issuecomment-420811200,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHe1SnEEIe3LrklrRPn3ggpz-qhUwX1ks5uaYMEgaJpZM4WjY03
.

We now have a version constant


Add embed::minimum_speed_i2c

API
Implements embed::i2c interface.
class minimum_speed_i2c : public embed::i2c {};

Problem
Consider the following:
auto& i2c = /* ... */;
auto device1 = device1::create(i2c); // 200kHz speed
auto device2 = device2::create(i2c); // 100kHz speed
auto device3 = device3::create(i2c); // 400kHz speed

Each device sets the i2c clock rate to their highest speed which differ from each other. An I2C bus must only be operated at the speed for which the slowest device can support. The last factory function sets the speed last and that could be a value greater than what other devices can support. This can result in errors with the lower speed devices.
How this solves it
Rather than passing the i2c driver directly to the devices pass them an embed::minimum_speed_i2c which ensures that the clock rate of the i2c driver is always set to the lowest speed of any device driver that calls ::configure().
Example:
auto& i2c = /* ... */;
auto minimum_speed_i2c = embed::minimum_speed_i2c::create(i2c);
// Configures to 200kHz speed
// minimum_speed_i2c configures i2c to 200kHz.
auto device1 = device1::create(minimum_speed_i2c);
// Configures to 100kHz speed
// minimum_speed_i2c configures i2c to 100kHz.
auto device2 = device2::create(minimum_speed_i2c);
// Configures to 400kHz speed
// minimum_speed_i2c will ignore this call since it would be greater than the current
// clock rate.
auto device3 = device3::create(minimum_speed_i2c); // 400kHz speed

Can you take this @liznguyen12 for iteration 9?

.take


Batch hooking

Hi again!
I was wondering, is there any way of hooking all the text for manual translation? Because many games has routes.
Thanks.

The way the translator works is essentially by trying to hook test as it is being displayed to the screen by knowing the UI components that are often used in Unity games, which means that something like this is very far from what the translator can do.
I am currently looking into implementing some functionality in relation redirecting resource files so they can be overridden/translated before they are used for the UI.
But even with this feature, something like this would probably require specialized implementation per game, although it perhaps could be generalized for something like Utage.

I see. I think would be really useful because there are visual novels very, very long and seems a bit impossible to do a manual hooking.

Out of curiosity, what game are we talking about here? Since I implemented the resource redirector into this plugin I would be curious to see if it can intercept resources for the game in question.

@gravydevsupreme Our World is Ended, but most novels are like this.

@gravydevsupreme fast question, any way to change windows name?

The fast answer would be no. I don't really think this is a part of the Unity API, but it can probably be changed through Win32 API.
Something along the lines of this:
https://answers.unity.com/questions/148723/how-can-i-change-the-title-of-the-standalone-playe.html

@gravydevsupreme Didn't want to open another issue. Can you tell me if it's possible to redirect the textures of Unity games that use ".dat" files?
Game UI is here:

But as expected, the plugin ignore those files.

The file format is really irrelevant here. dat files are usually just an indicating that it is a file that contains some arbitrary binary data that only the one who made it would understand.
But again, it is really irrelevant to the question. The texture part of this plugin does not work on files at all. It works on the textures after they are loaded into memory. Perhaps you can tell me:

What you have tried
What game it is

I just tried to dump the textures for translation, but just dumps some useless UI parts. This is the game.

@gravydevsupreme also here's the log if you need it:

[Info   :XUnity.AutoTranslator] Loaded XUnity.AutoTranslator into Unity [2018.2.19f1] game.
[Info   :XUnity.AutoTranslator] Attempting to load TextMesh Pro font from asset bundle.
[Info   :   BepInEx] Loading [XUnity Resource Redirector 1.1.2]
[Message:   BepInEx] Chainloader startup complete
[Info   :XUnity.AutoTranslator] Performing texture lookup during scene load...
[Info   :XUnity.AutoTranslator] Finished texture lookup (took 0 seconds)

Hello again and sorry for the delay. Been extremely busy lately and still am.
I tried out the game, and I can confirm it doesn't work properly in it. It might be using a custom UI system or similar.
At the moment I don't really have time to investigate why it doesn't work, though. Sorry.

@gravydevsupreme thanks for letting me know anyway. I hope you can investigate it anytime soon.

@gravydevsupreme I found something, but idk if this helps. FromImageData works, but all the files are being extracted as "unnamed [CRC]", original files are WEBP, maybe that's why? FromImageData, as the documentation says, causes a noticeable performance issue.

I see. The plugin uses the name of the resource to lookup the translation. But if there is no name this is impossible. So the only other option is to do it based on the actual image data.
I don't think that this would be related to the original file format, but rather how the game is implemented (if the images are stored in a arbitrary binary file, it would be up to the developer to actually set the image name of the generated texture).

@gravydevsupreme but I still don't understand why it can't find the images when they do have names.

The file format that is use (.dat) is not something that is inherently understood by Unity. So it is probably developer that parses the files and manually loads those files into Textures generated in script. The developer then "forgets" to set the name of the texture because he doesn't really need that name for anything anyway.
When unity loads images through more "standard" means the name of the texture is automatically set by the Unity Engine so the developer doesn't have to.
This is likely what is happening here.

Oh, I see. Then I'll have to work with FromImageData... Do you have any advice to reduce the lag impact? The game has 4K images, I think that causes more lag than it should, @gravydevsupreme

I'm afraid not. I can only think of the following ways to identity a Texture2D in Unity:

By it's resource name. (there may be duplicates, and some may not have names)
By it's image data. (certainly unique, but slow)
By it's placement in the game object hierarchy. (all will generally have a path, but the different paths can reference the same image leading to lots of duplicates, especially for atlas/sprite textures. (also game objects using the texture may be moved around in the hierarchy)). Would require a lot of manual configuration and as such has not been implemented.

Been spending a lot of time in the Unity Editor lately (also part of the reason why I am busy), but even the knowledge I gained from that does not suggest other ways of doing this.

Mmm, I see, thanks for clearing it up. My last question would be about redirecting videos, the opening for example, can the plugin replace it?

This is not supported at the moment, no.

Closing the original issue described here, as that is basically impossible to support.


”Sălașu de Sus” is listed in the drop-down menu

Description:
"Sălașu de Sus" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Sălașu de Sus" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Sălașu de Sus, HUNEDOARA".


spawning guns

any possible way to spawn guns without being host?

I still dont know how, there might be some cheats that does this tho


Model Render Issue

Do you want to request a feature or report a bug?
Bug?

What is the current behavior?
When I load the glTF model using ar.js there seems to be an issue with displaying the textures. It's like the renderer isn't sure what layer to show. For example a model of a bottle with a label on partially shows the bottle underneath the label. This severity varies on each render cycle. However it only happens on a certain model. But if load the same model in a glTF viewer like:
https://gltf-viewer.donmccurdy.com/
It displays correctly.
If the current behavior is a bug, please provide the steps to reproduce.
Loading the model using ar.js. If I load the model with a web viewer it displays as expected.

What is the expected behavior?
For the model to show solid.
I know this is a broad question/issue. I'm just wondering if there are any textures/colours or something I should avoid when creating a model? Or if there are any camera/renderer settings I can adjust?
I can post any code that might be relevant? Just not sure what bit to share right now!
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Operating System and Device Name
All test have been performed chrome

It turns out my problem was 'incorrect orientation of normals' - so not arjs related at all, sorry! I found an explanation of the solution here:
https://aframe.io/docs/0.8.0/introduction/models.html#my-model-looks-distorted


Expand env vars and user dirs read from config

Expands env vars (Ex: $HOME) and user vars (Ex: ~) for config and training profiles.
Checklist:

[ ] Commit Message Formatting: Commit titles and messages follow guidelines in the
conventional commits.
[ ] Changelog updated with breaking and/or notable changes for the next minor release.
[ ] Documentation has been updated, if necessary.
[x] Unit tests have been added, if necessary.
[ ] Integration tests have been added, if necessary.

It seems like this PR introduced some circular import issues that I'm now experiencing when adding new code paths into the designated files. For reference, see the failure in this CI runner:
https://github.com/instructlab/instructlab/actions/runs/10285276171/job/28463143941#step:11:57

How did this not fail on the PR checks here?

Perhaps this is an interaction of multiple PRs which landed near the same time?

@bjhargrave @nathan-weinberg This seems to be an issue only when we move code into utils which imports from ilabclient - since that's what the breaking PR is doing.
This PR is perfectly fine and doing the right thing, it just seems like this is a very Python-specific issue since we need to interpret all of our paths.
The better solution to this issue would be to move all of the defaults into a dedicated file, and that way we wouldn't have any of these circular dependency problems.


Array out of bounds error when chaining a combo

Got a x2 chain, 5-combo and the game crashed on the last pop. Seems like renderer.js is trying to play a pop SFX that is out of bounds. Not sure if this was present before the recent refactors/ports.

Ah yes the pop count going incorrect.
This has been here for a while.
Its an easy fix


Refactoring sqlsrv tests with parameterized queries

This change is

Coverage remained the same at 72.541% when pulling 0a2e6ad24256f805164895fe2b9f21ae4ddbd56a on yitam:sqlsrv_params into 8f67a413aa4267f2fb9a462c67e88aa3927185f6 on Microsoft:dev.

Codecov Report

Merging #610 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #610   +/-   ##
=======================================
  Coverage   77.17%   77.17%
=======================================
  Files          25       25
  Lines        7308     7308
=======================================
  Hits         5640     5640
  Misses       1668     1668

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 8f67a41...0a2e6ad. Read the comment docs.

Coverage remained the same at 72.541% when pulling 489d3e8018df4e2f482f1bf9df1a906b752f81bd on yitam:sqlsrv_params into 8f67a413aa4267f2fb9a462c67e88aa3927185f6 on Microsoft:dev.

Coverage remained the same at 72.541% when pulling ea83d94250b6534d1f1cbaafc771b97301689312 on yitam:sqlsrv_params into 8f67a413aa4267f2fb9a462c67e88aa3927185f6 on Microsoft:dev.

Coverage remained the same at 72.541% when pulling 581a98085fd61ea684071a2e1e5b8aeafddb1d29 on yitam:sqlsrv_params into 8f67a413aa4267f2fb9a462c67e88aa3927185f6 on Microsoft:dev.

review up to sqlsrv_complex_query.phpt

Coverage remained the same at 72.541% when pulling 69793cdafcca5490535a28098b48dcb92f6f0e26 on yitam:sqlsrv_params into 8f67a413aa4267f2fb9a462c67e88aa3927185f6 on Microsoft:dev.

Coverage remained the same at 72.541% when pulling cf9e54fb7464fdfe1e4870c122ad48a4f252bd5d on yitam:sqlsrv_params into 8f67a413aa4267f2fb9a462c67e88aa3927185f6 on Microsoft:dev.

Coverage remained the same at 72.541% when pulling 5a270e2d574ea6c3c31025acfe7af499141c6539 on yitam:sqlsrv_params into 8f67a413aa4267f2fb9a462c67e88aa3927185f6 on Microsoft:dev.

Coverage remained the same at 72.541% when pulling 08d0a7fddf5b84652d71aece06467589585a2796 on yitam:sqlsrv_params into 8f67a413aa4267f2fb9a462c67e88aa3927185f6 on Microsoft:dev.


Unable to run assistant_grpc_demo

Traceback (most recent call last):
File "/usr/local/bin/assistant_grpc_demo.py", line 6, in
exec(compile(open(file).read(), file, 'exec'))
File "/opt/aiy/projects-python/src/examples/voice/assistant_grpc_demo.py", line 20, in
import aiy.assistant.grpc
File "/opt/aiy/projects-python/src/aiy/assistant/grpc.py", line 17, in
import aiy._apis._speech
File "/opt/aiy/projects-python/src/aiy/_apis/_speech.py", line 39
<<<<<<< HEAD
^
SyntaxError: invalid syntax
PLEASE HELP

had to install the NEWEST release of all the OS


CustomFilter documentation not clear for actually filtering cell values

Hi Allen,
Firstly thanks for the awesome package, it works a treat in a project I've been working on for many months.
Just getting into custom filtering, trying to filter a column holding a date value with a from/to date range. Having looked at #601 and the various examples, I know DateFilter only supports a single date and comparator.
So having gone through https://github.com/AllenFang/react-bootstrap-table/blob/master/examples/js/column-filter/custom-filter.js and tried mocking up a basic solution, I can't see how/where I would filter the cell value? This example doesn't appear to actually filter - it just calls this.props.filterHandler() which when followed in debugging, goes into handleFilter and further into the internal Filter class etc.
How do I specify a custom function which is given the column value for each row and applies the filtering itself? I don't want to start using remote in any serious way as the table does the job just fine otherwise. And the handleFilterData API method seems to only support the built-in filters.
Look forward to hearing back,
Charlie

Hello @charlieanstey sorry for lately reply.
https://github.com/AllenFang/react-bootstrap-table/blob/master/examples/js/column-filter/custom-filter.js  call the handleFilter and pass the value you want to filter will trigger filtering.
BTW, if you want filter data programmatically, you can try following, handleFilterData is not restricted for any built-in filter :)
this.refs.table.handleFilterData({ name: 'Item name 3' });
or
this.refs.nameCol.applyFilter('Item name 3');

<BootstrapTable ref='table' data={ products }>
          <TableHeaderColumn dataField='id' isKey={ true }>Product ID</TableHeaderColumn>
          <TableHeaderColumn ref='nameCol' dataField='name' filter={ { type: 'TextFilter', delay: 1000 } }>Product Name</TableHeaderColumn>
          <TableHeaderColumn dataField='price'>Product Price</TableHeaderColumn>
        </BootstrapTable>

Feel free to let me know if you still have any questions :)

Hi Allen. Sorry for my similarly late response!
Okay so I don't think this answers my question.  But that actual filtering isn't customisable - I can't for example filter the value where it is outside a range of 2 values or dates. As stated, I want to handle the filtering myself. So I want to filter a date column between 2 dates which I define.
In the programmatic examples you've given, again that doesn't appear to let me filter between 2 dates or indeed anything else custom.
I get the feeling what I'm asking for isn't possible in react-bootstrap-table at the moment, essentially I'm saying the filter function should be exposed as a prop to pass in. Your custom filter feature doesn't appear to allow me to do what I expect: provide a custom function as a prop which accepts the column value and returns true/false to indicate whether or not the column value/row passed should be filtered. To me at least, the custom filter feature doesn't actually let me do custom filtering on the column - it just lets me customise when the filtering is triggered, but the filtering itself is just one of the predefined types you've implemented.
Again, I'm hoping this is just my lack of understanding of the documented examples and that I'm wrong. Hopefully you can shed some light on it.

HI @charlieanstey sorry for lately reply and some misunderstand on your question. now it's very clear 👍

again that doesn't appear to let me filter between 2 dates or indeed anything else custom.
Yes, it's the restriction in react-bootstrap-table currently.

provide a custom function as a prop which accepts the column value and returns true/false to indicate whether or not the column value/row passed should be filtered

yes, it's a good point that I can try to support it, I'll consider to add it, but actually I'm busy in recently, so may take some time. its very sorry

Hi Allen, thanks for the reply. Glad it makes sense now. It might not be a huge amount of work, perhaps adding a PropTypes.func prop to TableHeaderColumn for overriding the filterHandler. It would just need to be passed the cell value for each row, then return true or false to indicate if it should be filtered or not.
I realised that using Remote might have been a better option for my use case. But instead I decided to filter in my data request outside of react-bootstrap-table for now.

HI @charlieanstey sorry for some misunderstand lol
for the custom filter example, you can see here
Actually, I think this is what you want, this function will be call on here. Let me explain how it work...

filter function will be trigger when custom filter change, for example: click/checked etc.

In above function, you should call filterHandler and give a callback props, here

The callback function will be called from react-bootstrap-table when filtering on this column.

The callback function accept a column value and you can do your own filtering logic then return true/false to tell react-bootstrap-table if this column value is valid.

@charlieanstey I am running into the same issue that you had.  Were you able to come up with a solution?

@AllenFang But if you return true/false in the callback, you will not be able to get the value in the afterColumnFilter().
  afterColumnFilter = (filterConds, result) => {
    for (const prop in filterConds) {
      if (filterConds[prop].type === 'CustomFilter') {
        console.log('Filter column= ' + prop + ', Filter value= ' + filterConds[prop].value.callback());
      } else {
       // normal way to get the value
        console.log('Filter column= ' + prop + ', Filter value= ' + filterConds[prop].value);
      }
    }
  };


build window 32bit binary on Mac got json decode error

my go version
go version go1.7.4 darwin/amd64
go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/data/go/remotedisk"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.7.4_1/libexec"
GOTOOLDIR="/usr/local/Cellar/go/1.7.4_1/libexec/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/bj/9zlzfcdj5zb_prl50044jcv80000gn/T/go-build004604984=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"

build
➜  src git:(master) ✗ go build -v disk.go
config
util
layers/netlayer
layers/fslayer
commands
command-line-arguments
➜  src git:(master) ✗

on mac , the binary works well
then build the windows 32bit binary
➜  src git:(master) ✗ CGO_ENABLED=0 GOOS=windows GOARCH=386  go build -v -a -ldflags "-s -w" disk.go
runtime/internal/sys
runtime/internal/atomic
runtime
errors
internal/race
sync/atomic
unicode
unicode/utf8
encoding
math
sync
internal/syscall/windows/sysdll
unicode/utf16
sort
io
syscall
hash
hash/crc32
container/list
crypto/subtle
bytes
strings
bufio
crypto/cipher
crypto/hmac
internal/nettrace
internal/singleflight
strconv
math/rand
vendor/golang_org/x/net/lex/httplex
path
internal/syscall/windows
internal/syscall/windows/registry
time
reflect
crypto
encoding/base64
crypto/aes
crypto/sha512
crypto/md5
crypto/rc4
crypto/sha1
crypto/sha256
encoding/pem
regexp/syntax
os
regexp
path/filepath
io/ioutil
fmt
encoding/binary
crypto/des
flag
encoding/json
compress/flate
context
math/big
encoding/hex
net
compress/gzip
vendor/golang_org/x/net/http2/hpack
config
log
mime
mime/quotedprintable
net/http/internal
net/url
os/exec
util
crypto/elliptic
encoding/asn1
crypto/rand
crypto/rsa
crypto/dsa
crypto/x509/pkix
crypto/ecdsa
crypto/x509
net/textproto
net/http/httptrace
mime/multipart
crypto/tls
net/http
layers/netlayer
layers/fslayer
commands
command-line-arguments
➜  src git:(master) ✗

run it on windows 32bit , it runs ok in some case , but once decode json
got an error
json: cannot unmarshal number<PHONE_NUMBER>2758885 into Go value of type int
How can I make it runs well
I also build the arm32 binary , it cannot work , just the same issue , json decode got error
It may be the int64 and int issue , How can I fix it ?
thank you .

For questions about Go, see https://golang.org/wiki/Questions.

It's probably because you're decoding a big integer into type int,
whose size is platform dependent, and is only 32-bit on 32-bit
platforms.


Show future dates/combinations for the current Lost Sector Legendary weapon set

Often you'll want to know two things about the Legendary weapons dropping from the Lost Sectors:

When (date) will that set drop again?
What Lost Sector will it be?
When will the current combination come back around in the rotation?

Implemented ages ago!


confirm all expamples have decent spacing

No "clump of code", let's make them friendly to read.

confirmed


Kane/de 153 moveon spoke dbt

DE-153 dbt

I cannot replicate  this error locally that's appearing in Composer. locally the things are running fine and without errors. i checked the GCS buckets for extra or erroneous files and didn't find any. do you have any thoughts about where i might go next @emily-flambe?

@kanelouise can we also include _airbyte_emitted_at in the partner materialized view models? Once that's in there I say this is good to merge!
(I assume you used the helper script to generate the matviews - This PR was supposed to make it so the helper script includes _airbyte_emitted_at when generating them, but that PR probably got merged after this branch was created)

ah drats. thanks for pointing out, @emily-flambe. does this mean i need to re-run the helper script?

@kanelouise can we also include _airbyte_emitted_at in the partner materialized view models? Once that's in there I say this is good to merge!
(I assume you used the helper script to generate the matviews - This PR was supposed to make it so the helper script includes _airbyte_emitted_at when generating them, but that PR probably got merged after this branch was created)

ah drats. thanks for pointing out, @emily-flambe. does this mean i need to re-run the helper script?

you can probably do a bulk find-and-replace on all files in the folder (I can do that in TextEdit but I assume it's possible in all IDEs) to slap _airbyte_emitted_at into the matview models! But if that turns out to be annoying, you could also just merge main into your branch and rerun the helper script. Whatever is easier for you and gets the job done 😎

@emily-flambe, i want to understand what's missing conceptually here. i used Blocks as a model and simply added _airbyte_emitted_at to the _ab3 files and the files in partner_matviews and expected that to add _airbyte_emitted_at to the matviews themselves. Then I ran my dbt locally and expected to see the airbyte_emitted_at fields in the partner view.
However, looking at the partner view of the zip_code table (because it is a full refresh so should populate the field even if there's not new data), there isn't the _airbyte_emitted_at field. Even when I ran it as SELECT * from zip_code_base. I know I can just regenerate the views with the helper script, but I'd really like to have a deep understanding of what's happening under the hood, or what else I'm missing here.

@emily-flambe, i want to understand what's missing conceptually here. i used Blocks as a model and simply added _airbyte_emitted_at to the _ab3 files and the files in partner_matviews and expected that to add _airbyte_emitted_at to the matviews themselves. Then I ran my dbt locally and expected to see the airbyte_emitted_at fields in the partner view.
However, looking at the partner view of the zip_code table (because it is a full refresh so should populate the field even if there's not new data), there isn't the _airbyte_emitted_at field. Even when I ran it as SELECT * from zip_code_base. I know I can just regenerate the views with the helper script, but I'd really like to have a deep understanding of what's happening under the hood, or what else I'm missing here.

Ahh!! So, and this is not well documented at all (you would only know if you'd squinted very hard at line 31 of the cacher script with the commands for running dbt locally) - when you alter the schema of a partner materialized view (for example by adding a column), the matview needs to be built by running the dbt with --full-refresh, like:
pipenv run dbt run --target partner --select tag:partner --full-refresh
I just ran that on mospoke_test_db and the matviews seem to have _airbyte_emitted_at now!
I realize this is both very poorly documented and a somewhat critical piece of DE knowledge, so very open to ideas about how to make this less mysterious going forward 👀

thanks, @emily-flambe! This illuminates the same sticking point I was encountering in your dbt presentation yesterday at Eng Weekly. Because full refresh means something very different in Airbyte, I was confused why we'd run an incremental sync with the full refresh tag. The answer is that the same phrase means two different things in these two lil data worlds.
As for your question: how do we make this more knowledge more accessible? I could see there being value in adding it to the Running dbt locally doc. Especially because, as you were saying yesterday in Eng Weekly, this may be a fix that a prog lead may encounter someday and that'd be a handy doc for prog leads everywhere.

Once this has your sign-off, it'll be good to merge, @emily-flambe.


Embedly creates a video thumbnail for medium articles even when there isn't any video

To reproduce. Try posting https://medium.com/design-playbooks/designing-the-hiring-process-e0b59f3ee53. The thumbnail gets the video link and opens an empty lightbox.

Yes, that's because right now Telescope just displays whatever iframe it gets from Embedly. I wonder if we shouldn't think about better video integration, so that the video stops when you close the lightbox for example. We could even have playlists and prev/next video controls.
Anyway for now I guess we can start by fixing this, shouldn't be too hard to check if the contents of the iframe actually are a video or not :)

Yeah what is the logic for setting a thumbnail to be a video lightbox?
I think this project is the way to go for better video integration: https://github.com/embedly/player.js/

Related: #710

Hey, @kartikluke! Telescope has changed a lot in the past months, and there is a new React-based version, Telescope Nova (intro video). If you know Crater, it runs on the latest version.
The Legacy version is no longer supported, I'm closing this issue.
I invite you to check the new version, it's awesome!
Happy hacking! 🚀
Ps: by the way, don't hesitate to join the Slack to ask any question, you are welcome! 👍


DOIs for case studies

@bnicenboim suggested here:  https://github.com/stan-dev/stan-dev.github.io/issues/37#issuecomment-309366022
you should think on adding DOIs to the case studies and the Stancon papers. If I want to refer to them in a paper, it's much better than to have a link (and journals usually ask for the DOIs).
We generate DOIs for the software, but we don't know how to generate DOIs for case studies.  So any suggestions would be appreciated (feel free to just edit the issue rather than adding comments if there's a concrete workable suggestion).

A suggestion would be to use the Open Science Framework:
http://help.osf.io/s/support/m/sharing/l/524208-create-dois-and-arks
But you may need to store a version of the case study, submission there. I'm not sure if this is a problem.

@bnicenboim  That looks very interesting at a quick glance.
They want a link;  if they also want a copy, it's no problem given that we require them to be open-source licensed anyway.  They apparently don't do versioning (didn't even know that was a thing), so we'd have to freeze the DOI-ed version of case studies rather than updating them arXiv-style (actually, we're not even that careful to version---we've just been replacing them).
Any idea about

what kind of license we can use?
where the DOI would point?

I started a discourse thread here:
http://discourse.mc-stan.org/t/how-to-cite-case-studies-dois/2221
The suggestion came up from Diogo Melo to use zenodo, which we should check out.


Multiple unsigned integer overflows

Hi,
Multiple integer overflows found in libqpdf/MD5.cc
Verified in 8.4.0
POC: https://github.com/rshariffdeen/poc/blob/master/0008-qpdf-unsignedintoverflow-qpdf
$ qpdf CVE-2016-10246.pdf -
libqpdf/InputSource.cc:201:23: runtime error: unsigned integer overflow: 0 - 1047 cannot be represented in type 'unsigned long long'
WARNING: ../poc/mupdf//CVE-2016-10246.pdf: file is damaged
WARNING: ../poc/mupdf//CVE-2016-10246.pdf (offset 3526): xref not found
WARNING: ../poc/mupdf//CVE-2016-10246.pdf: Attempting to reconstruct cross-reference table
WARNING: ../poc/mupdf//CVE-2016-10246.pdf (object 3 0, offset 161): expected endstream
WARNING: ../poc/mupdf//CVE-2016-10246.pdf (object 3 0, offset 71): attempting to recover stream length
WARNING: ../poc/mupdf//CVE-2016-10246.pdf (object 3 0, offset 71): recovered stream length: 91
WARNING: ../poc/mupdf//CVE-2016-10246.pdf (object 5 0, offset 1563): expected endstream
WARNING: ../poc/mupdf//CVE-2016-10246.pdf (object 5 0, offset 353): attempting to recover stream length
WARNING: ../poc/mupdf//CVE-2016-10246.pdf (object 5 0, offset 353): recovered stream length: 762
WARNING: ../poc/mupdf//CVE-2016-10246.pdf (object 5 0, offset 1125): expected endobj
WARNING: ../poc/mupdf//CVE-2016-10246.pdf (object 7 0, offset 2895): unknown token while reading object; treating as string
WARNING: ../poc/mupdf//CVE-2016-10246.pdf (object 7 0, offset 1271): /Length key in stream dictionary is not an integer
WARNING: ../poc/mupdf//CVE-2016-10246.pdf (object 7 0, offset 1422): attempting to recover stream length
WARNING: ../poc/mupdf//CVE-2016-10246.pdf (object 7 0, offset 1422): recovered stream length: 1447
%PDF-1.4
%????
1 0 obj
libqpdf/MD5.cc:188:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:188:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:189:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:189:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:190:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> + 606105819 cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:191:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:191:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:192:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:193:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:194:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:195:5: runtime error: unsigned integer overflow: 502178268 +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:195:5: runtime error: unsigned integer overflow: 978110375 +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:196:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:197:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:198:5: runtime error: unsigned integer overflow: 225176403 +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:198:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:200:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:201:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:201:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:201:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:202:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:202:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:203:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:203:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:203:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:206:5: runtime error: unsigned integer overflow: 494526214 +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:207:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:209:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:209:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:210:5: runtime error: unsigned integer overflow: 797935850 +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:211:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:212:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:212:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:212:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:213:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:213:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:213:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:214:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> + 568446438 cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:214:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:215:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:215:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> + 461266052 cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:216:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:216:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:216:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:217:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:217:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:217:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:218:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:218:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:219:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:219:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:221:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:221:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:224:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:224:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:225:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:225:5: runtime error: unsigned integer overflow: 748490320 +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:226:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:227:5: runtime error: unsigned integer overflow: 228630942 +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:228:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:228:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:229:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:229:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:230:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:230:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:230:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:231:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:231:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:231:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:232:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> + 876922274 cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:233:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:233:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:233:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:234:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:234:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:236:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:236:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:237:5: runtime error: unsigned integer overflow: 982367735 +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:237:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:238:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:239:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:239:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:242:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:242:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:243:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:244:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:244:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:245:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:245:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:246:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:247:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:247:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:248:5: runtime error: unsigned integer overflow: 943221151 +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:249:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:250:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:250:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:251:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:251:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:252:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:252:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:253:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:253:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:254:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:254:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:255:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:255:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:255:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:256:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:257:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:257:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:257:5: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:260:14: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'
libqpdf/MD5.cc:261:14: runtime error: unsigned integer overflow:<PHONE_NUMBER> +<PHONE_NUMBER> cannot be represented in type 'unsigned int'

Thanks for reporting. I'm aware of this issue and have it on my backlog to resolve. Fixing it will break the ABI but should largely preserve source compatibility. I intend to go through the entire interface and make sure all integer types are appropriate. Ideally it should be possible to disallow all implicit type conversions with warnings, but unfortunately offsets and sizes are not always the same types and sometimes have to be interchanged with each other. Still, there are tons of legacy interfaces that use "int" or "unsigned int" that should use a more appropriate type. It's possible that I may get to resolving this sometime this summer, which is the next time I intend to take a large chunk of time to work on qpdf.

@rshariffdeen Did you have to build with any special flags to see these messages? I am not seeing this even when I built with clang using -fsanitize=undefined. I have fixed a number of integer arithmetic problems in master since you reported this. Could you retest and, ideally, tell me how you are seeing this?

Sorry for the late reply, I am using Clang Sanitizer with -fsanitize=integer

Oh, I didn't know about -fsanitize=integer. I either overlooked it or it has been added since last time I looked. I will add that to my build environment and see if I can work these out. I have found and fixed many potential integer overflows in the code, but I'm certain there are still others that are lurking.

yes, you will also be able to detect casting errors which won't be detected using UB sanitizer.

I'm going to close this without any action. After investigating this, these aren't real errors. They are cases in which the rollover behavior that C/C++ gives with overflows is expected and desired because they are essentially bit operations. In addition to these, there are a few other cases in the library that generate warnings, but they are all cases where we are intentionally doing something at the bit level. Also, the native MD5 implementation is not used by most distributions anymore since gnutls is supported as an alternative.
Thanks for making me aware of this.


Can't scroll to a specific element at the end of a big list

Hi,
This plugin is really cool. No laggy scroll with 3000 elements. Very interesting!
I have just one problem. When the page is loaded, I try to scroll to a specific element inside a scrollable container but this element doesn't exist in DOM because clusterize.js is already initialized and this element is at the bottom of this container.
Do you have a solution for that?
Thanks

Perfect!
Same thing for search. I create an array of the elements of my list, then search in when I type on input.
Just one thing, why is it preferable to render rows by myself with an array of tags in String?
Best performance?
Thanks for your answer

Instead of handling DOM nodes directly? Yes, that because of memory allocation

Great. Thanks for your work!


Update Lerna version and fix #390, #397

Coverage remained the same at 47.123% when pulling e9ef2198f1919dfb6475f8f93c5b11b6a112fc65 on pierreneter:lerna into 6b195da6a242a7f74025ee96ca606314e9c09601 on ory:master.

Thank you for your contribution! Two things:

Could you please add lerna rc5 to the lerna.json file? https://github.com/ory/editor/blob/master/lerna.json#L2
Please sign the DOC by signing your commit with git commit --amend -s

Thank you!

Coverage remained the same at 47.123% when pulling 9b3f90e00634646622ba1e92a38d1ef7e7b2cca7 on pierreneter:lerna into 6b195da6a242a7f74025ee96ca606314e9c09601 on ory:master.

Coverage remained the same at 47.123% when pulling e24881ef2833822ae6152a9d477f7e9a94f249d6 on pierreneter:lerna into 6b195da6a242a7f74025ee96ca606314e9c09601 on ory:master.

i have merged all my commit to a commit and signed it. Thank you.


Navigate to a CommandHandler from an InputChain

Is there a way to navigate to a specific CommandHandler from an InputChain? I have several steps that the user needs to go through. Each step can be triggered by its own command, so each step is handled by its own CommandHandler. Each step will trigger its own InputChain. When the user sends /start, I'd like to make the user journey seamless by going through the steps without waiting the user to send the command. I've tried to go through the wiki, but nothing mentions something similar like this.
This is my first time building a Telegram bot, so please bear with me if this is such a basic question.
Thanks in advance!

Hey, thank you for choosing this library as your first time experience :)
Sounds like you looking for something like FSM.
Or If you want more controll over process you can mark function with both CommandHandler + InputHandler so function can be triggered each way if this case more suits you :)

Hey, thank you for choosing this library as your first time experience :)

Thanks to you too for creating this awesome telegram bot library for Kotlin. The main differentiator of the library is the usage of KSP which makes it easier to structure the code :)

Sounds like you looking for something like FSM.
Or If you want more controll over process you can mark function with both CommandHandler + InputHandler so function can be triggered each way if this case more suits you :)

Yeah, I've used FSM for chaining input and it works well. If I understand correctly, marking the function as InputHandler would wait for a user input before the function is triggered right? What I wanted is executing the function right away without waiting for user input.
Here's an example. Let's say I have 2 commands, (1) for setting the first name and last name, (2) for setting date of birth
@CommandHandler(["/start"])
suspend fun start(user: User, bot: TelegramBot) {
    message { "Hello, tell me more about yourself. What's your first name?" }.send(user, bot)
    bot.inputListener.setChain(user, MainInfo.FirstName)
}

@CommandHandler(["/set_dob"])
suspend fun setDob(user: User, bot: TelegramBot) {
    message { "What's your date of birth?" }.send(user, bot)
    bot.inputListener.setChain(user, DetailInfo.DOB)
}

And here's the implementation of the InputChain:
@InputChain
class MainInfo {
    object FirstName : ChainLink() {
        override suspend fun action(user: User, update: ProcessedUpdate, bot: TelegramBot) {
            bot.userData[user, "first_name"] = update.text
            message { "What's your last name?" }.send(user, bot)
        }
    }

    object LastName : ChainLink() {
        override suspend fun action(user: User, update: ProcessedUpdate, bot: TelegramBot) {
            bot.userData[user, "last_name"] = update.text
            message { "Hello, ${bot.userData[user, "first_name"]} bot.userData[user, "last_name"]" }.send(user, bot)
            // Now here, how can I navigate to command `/set_dob` without waiting for user input?
        }
    }
}

Now after entering last name, I want to continue to command /set_dob, so the user will get the DOB prompt and continue with another InputChain. I'm expecting something similar like how we can redirect user to a specific InputHandler e.g.:
bot.inputListener[user] = "your-input-handler-keyword-here"

Surely I can call setDob(...) function from MainInfo.LastName.action to achieve that, but asking here if something built-in from the library exists.

I was thinking about your case, I was thinking to add hooks on chaines, I think it would work for this kind of problem.

added hooks for chainlink in 5.5.0, I hope it will help in similar cases!

That was quick!
I just tried 5.5.0 and it looks like that beforeAction behaves differently than what I expected. It still waits for user input before continuing, doesn't it? I overrode beforeAction like this:
override val beforeAction: Action = Action { user, _, bot ->
    message { "Hello, what's your first name" }.send(user, bot)
}

And beforeAction is never invoked until it receives an input. After receiving an input, beforeAction is invoked followed by action right away. Is that the intended behavior?

As I saw your previous examples you can set afterAction in your MainInfo.LastName, doesn't help in your case?

Something like this:
@InputChain
class MainInfo {
    object FirstName : ChainLink() {
        override suspend fun action(user: User, update: ProcessedUpdate, bot: TelegramBot) {
            bot.userData[user, "first_name"] = update.text
            message { "What's your last name?" }.send(user, bot)
        }
    }

    object LastName : ChainLink() {
        override suspend fun action(user: User, update: ProcessedUpdate, bot: TelegramBot) {
            bot.userData[user, "last_name"] = update.text
            message { "Hello, ${bot.userData[user, "first_name"]} bot.userData[user, "last_name"]" }.send(user, bot)
            // Now here, how can I navigate to command `/set_dob` without waiting for user input?
        }
        override val afterAction: Action = Action { user, _, bot ->
    message { "What's your date of birth?" }.send(user, bot)
    bot.inputListener.setChain(user, DetailInfo.DOB)
}
    }
}

Yeah, your example would work. Even without beforeAction and afterAction, I can actually put that inside action. My main objective was avoiding code duplication. If you notice, I need to duplicate this code:
message { "What's your date of birth?" }.send(user, bot)
bot.inputListener.setChain(user, DetailInfo.DOB)

in 2 places i.e. one in the CommandHandler and one in the ChainLink. I wanted to have a single place where I can invoke and reuse them. Hence, the initial question on whether I can redirect the user to the CommandHandler from the ChainLink.

Alright. Thank you for looking into this!


Linux version(amd64) doesn't start.

Hi! first of all, I'm very grateful for your work. It's amazing, really!
Now, the Linux version won't start on ZorinOS(Ubuntu). I download it, unpack it, and then I try to run it and nothing happens. What could be the problem?
Interestingly, it seems to be working via wine just fine.

does it output any logs?

does it output any logs?

No. The app simply doesn't start. I press on it and nothing happens.

@osomfinch, - " I press on it" - I do understand that you are trying to run it thru the file manager, correct?
Mind if I ask you to try to run it in a bit different way?
Open the terminal and navigate to the directory where you have your DB1000N executable file unpacked.
Then run the command in the terminal:
./db1000n

For example:

Please, ignore this message if tried this already. I don't have all the details, so it's rather my assumption

Open the terminal and navigate...

Yes, it works now. Thank you!
But I don't see any reason to use it instead of the Windows' version now. Cause with the Windows version I open it in two clicks, and with the Linux version I have to open the terminal and type a tone of things.
Since we know that the app works and the problem is in GNOME, is there a way to make GNOME open it via the GUI?

@osomfinch, glad to hear that!
Basically, this is CLI oriented utility that runs, in most cases, on the machines without the User Interface at all. Since it's fully automatic tool that receives configurations from the remote source - there is no need for user to see any kind of UI controls.
You can try to create the Desktop link like described here (https://askubuntu.com/questions/436891/create-a-desktop-file-that-opens-and-execute-a-command-in-a-terminal)
[Desktop Entry]
Version=1.0
Name=Test
Comment=Test the terminal running a command inside it
Exec=gnome-terminal -e "/path/to/my/db1000n"
Icon=utilities-terminal
Terminal=false
Type=Application
Categories=Application;

Basically, this is CLI oriented utility that runs...

Well, as we can see, I need it to be able to be run through GUI. It just goes to show how outdated the modern Linux desktop environment paradigm is. Especially it concerns GNOME. But it's a completely different topic.
Thank you for your help!


fix: allow override default onFieldChange

allow override default Field.onChange
this could be used to manually set Upload or any other fields on-change
for example, developer can use,  setValue from useFormContext manually to alter form state
example for Upload from antd
<FormItem
   valuePropName="fileList"
   overrideFieldOnChange={(info) => {
      setValue('images', info.fileList);
     }}
 />

close #83

@jsun969 hey boss, is this good ? I have a task on my work that is waiting for this PR :'D

yea all good. I'm busy these days and can't test it soon. I'll merge it rn and create a beta version for u if your work is urgent. Sry for the late reply. 🙏

@ahmedrowaihi Please use npm/yarn/pnpm add react-hook-form-antd@beta to install the beta version (1.1.1-beta.1). If it works properly in your project, tell me and I'll release a stable version ASAP.

@all-contributors please add @ahmedrowaihi for code

@all-contributors please add @yorman2401 for bug

Hi @ahmedrowaihi . CI is not working. Do you think it's because of this fix?

Ahh thx. I'll double check it.

Yea looks like a problem. I can try to update pnpm version.

I have released 1.1.1 as the latest version. Much appreciate for your help! @ahmedrowaihi


feat: Add pre-commit framework

Describe the behavior changes introduced in this PR
Adds pre-commit framework to Pelorus.
Linked Issues
resolves #681
Testing Instructions
Run make dev-env (this will run pre-commit install and setup pre-commit to you). Then, run pre-commit run --all-files to run pre-commit hooks against all files of Pelorus. Then, change a file and add it and commit it to see it in action.
If one of the hooks fails (defined in .pre-commit-config.yaml file), the commit is aborted. This can be bypassed by running git commit command with the -n/--no-verify flag.

/ok-to-test

/retest

todo for me: check if shellcheck in pre-commit works in macOS

Since the pre-run stuff is only necessary for CI (and makes assumptions about the user's repo), maybe it should be part of the github CI files only?

Since the pre-run stuff is only necessary for CI (and makes assumptions about the user's repo), maybe it should be part of the github CI files only?

this is to address #692 not the CI


error at 0.36.rc2 npm run prod

superset version: 0.36.rc2
python version: 3.7.7
node.js version: 12.16.1
npm version: 6.11.3

npm run prod or build  error：

<EMAIL_ADDRESS>prod F:\superset-dev\superset-frontend
node --max_old_space_size=4096 ./node_modules/webpack/bin/webpack.js --mode=production --colors --progress

Starting type checking service...
Using 1 worker with 2048MB memory limit
   591 modules

ERROR in ./src/SqlLab/index.jsx 23:16
Module parse failed: Unexpected token (23:16)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| import App from './App';
|
> ReactDOM.render(<App />, document.getElementById('app'));
|

ERROR in ./src/welcome/index.jsx 23:16
Module parse failed: Unexpected token (23:16)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| import App from './App';
|
> ReactDOM.render(<App />, document.getElementById('app'));
|

ERROR in ./src/profile/index.jsx 23:16
Module parse failed: Unexpected token (23:16)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| import App from './App';
|
> ReactDOM.render(<App />, document.getElementById('app'));
|

ERROR in ./src/addSlice/index.jsx 23:16
Module parse failed: Unexpected token (23:16)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| import App from './App';
|
> ReactDOM.render(<App />, document.getElementById('js-add-slice-container'));
|

ERROR in ./src/showSavedQuery/index.jsx 39:4
Module parse failed: Unexpected token (39:4)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
|   ReactDom.render(
>     <div>
|       <Form
|         schema={config.JSONSCHEMA}

ERROR in ./src/dashboard/index.jsx 42:16
Module parse failed: Unexpected token (42:16)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| );
|
> ReactDOM.render(<App store={store} />, document.getElementById('app'));
|

ERROR in ./src/explore/index.jsx 44:16
Module parse failed: Unexpected token (44:16)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| );
|
> ReactDOM.render(<App store={store} />, document.getElementById('app'));
|
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR<EMAIL_ADDRESS>prod: `node --max_old_space_size=4096 ./node_modules/webpack/bin/webpack.js --mode=production --colors --progress`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prod script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2020-04-01T07_24_19_026Z-debug.log

We have the same problem related to this post. How a correction at backend can correct a problem on build the front-end?

I have the same problem,How to solve it?

same here any solution for this

Sorry, I might have tagged the wrong ticket.

I haven't personally run into this one, but let's see if we can get the attention of some of our front-end-focused contributors: @rusackas @etr2460 - any thoughts on this one?

Same problem! Is there any solution for this issue?

Same problem happens when I run "npm run dev" under the superset-frontend.

It worked on ubuntu。


use Fetch API where available (Firefox, Chrome, Opera)

Right now, pdf.js uses XMLHttpRequest (XHR) for fetching the PDF, see https://github.com/mozilla/pdf.js/blob/master/src/core/network.js.
With the recent development of the Fetch API (released in Chrome 42, Firefox 39, Opera 30), a clean replacement for XHR is now in place; see

https://hacks.mozilla.org/2015/03/this-api-is-so-fetching/,
http://davidwalsh.name/fetch,
https://github.com/GoogleChrome/samples/blob/gh-pages/fetch-api/fetch-response-stream.html.

It can easily be detected if the current browser has fetch(), so this indeed looks like a interesting alternative.

That sounds great. If someone is willing to work on this, feel free to submit a pull request. We must be sure to remain compatible for old browsers, so we probably need a fallback to XHR or a polyfill for fetch() to do so.

Dup of #5319 ?

Also https://github.com/mozilla/pdf.js/issues/6126

Right, closing as duplicate of #6348. Let's continue there.


Don't puts to stdout if we're in rspec land.

I noticed this in the test output:
......................................................................
......................................................................
................................fixing miq_ae_values.value..........
cc @kbrock

Is there a way to capture the stdout in the spec?
or maybe pass in verbose?

although, we probably want to display wether or not :verbose is an option to the program

@kbrock you'd need to use dependency injection and a logger... Initialize the logger to STDOUT normally, with a stringio in test...
Something like this: http://stackoverflow.com/a/1484183, we do something similar here.  I'm fine with closing this PR if we have a replacement, I'm just trying to clean up some of the test output.

Or you can just stub Kernel#puts maybe?  The logger method approach is generally better cause then you can just stub that, but this is a one-off tool after all.

:+1: thanks @jrafanie


Rename?

The name is-touch-device or isTouchDevice has a connotation that it is only or primarily a touch device which is not the case. I worry that this will cause people to misuse this or make bad decisions. Perhaps a name more like deviceHasTouch would be better?

I'm not sure I agree that it has that connotation, nor that a rename wouldn't convey the same issue if somebody was prone to that misassumption.

Is this image red?

FWIW I'd make the same assumption.  Just the word "device" makes me think "something other than a desktop/laptop"
isTouchSupported touchEnabled ronTouchable touchSupported

isTouchSupported could work. I'm just not convinced it's that necessary; would someone who was already likely to support touch/mouse combo devices not do so with the current name who would with a new name; and would someone who was already likely not to support touch/mouse combo devices with the current name do so with the new name?
Separately, we've had this name for the helper in our own codebase as well as react-dates for well over a year, and nobody's raised a question about the name before.

While developing a responsive web app with an interactive (Google) map as the primary UI component, I sought to configure the zoom control based on whether or not the client was a mobile device. If it's a mobile device, rely on pinch-to-zoom. Otherwise, if it's a laptop/desktop, it's desirable to show the zoom slider (or +/- icons) overlaid on the map.
I naively sought to determine whether or not the client was a mobile device. After looking into UA sniffing and other hacks, I came upon Modernizr's ability to detect touch events. Modernizr makes it explicit it is only checking for touch events, as opposed to the type of device, and the user should not assume the device is a mobile device.
I think the distinction between touch/mobile device detection and touch event detection is of particular importance for appropriately handling devices such as laptop/tablet-hybrids with touch support whose primary input may not be touch based.
I think increased explicitness may be helpful to a user who may naively think isTouchDevice implies the device in question is a mobile device or a device primarily receiving touch input.

I was just about to use this module because I thought it would separate a touch device like phone and tablet from a computer or laptop. I would consider a laptop with touchscreen NOT a touch device.
-> The name is misleading IMO

I literally came into this issue queue to learn more about what this was detecting, and this open issue had the best answer. If not a rename, then a very clear note in the readme feels like a good minimum step. But to clarify, rename seems better, maybe to avoid package name hassle:
var isTouchSupported = require('is-touch-device').isTouchSupported;


Fails to Reproduce Experiment as Described in Your Paper

Hello, thank you for sharing the initial code. I aim to replicate the experiment outlined in your paper before proceeding to fine-tune the model with additional datasets. Could you kindly assist me in accessing a tutorial on reproducing the experiment results? Currently, the model seems to lack convergence, so any guidance you could provide would be greatly appreciated.
Once again, thank you for your efforts.
best,
koublal

Hi @oublalkhalid, thanks for the issue. We are planning to release the code for finetuning and reproducing the results in the paper by the next week (by end of march).

Hi @oublalkhalid Can you please share additional information about the results? You can reach me by email too if you'd like (arjun [dot] ashok @ servicenow [dot] com)

Closing this issue. Feel free to open it if required :)

Hi @oublalkhalid Please check the repo now. All scripts have been released.

Hi @ashok-arjun
When running the pretrain.sh scripts I am always getting this error, and I tried with different datasets
  File "/lag-llama/data/data_utils.py", line 40, in __next__
    (dataset,) = self._rng.choices(self._datasets, weights=self._weights, k=1)
  File "/.conda/lib/python3.10/random.py", line 533, in choices
    total = cum_weights[-1] + 0.0   # convert to float
IndexError: list index out of range


Correlations

Implement a module to handle the computation of correlations with TreeCorr.
Features:

[x] Read parameters from config
[x] Run shear-shear correlations
[ ] Run count-count correlations
[ ] Run count-shear correlations
[x] Make patches

[x] Possibility to use already existing patches

[x] Can run in low_mem mode
[x] Save results

[x] Also save covariance matrix

[ ] Run using MPI (that would need to refactor the library..)
[ ] Be as memory efficient as possible

In its current implementation this code is not meant to be called outside of an higher level class like rho_stat or alpha_leakage. This will need to be improved.


⚠ Turnos 24x7 has degraded performance

In fa138fb, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 4352 ms

Resolved: Turnos 24x7 performance has improved in 220beb7.


Unable to connect to local server with patched Ipa File on IOS

When I patch the Ipa File I paste my IPV4 Address Everything worked out! I downloaded this ipa on my IPhone, turn on the server and set the IPV4 of My Computer to the server itself I go to Deepworld And enter my Account Entered all the data And when I press the "Go" button, the gear freezes and writes an error (Fail time Request) I tried to create a New character! Tried restarting the computer! Still the same error. What to do?

Check the following:

Make sure that game_server_ip in your api.json is correct. Should be an IPv4 literal; 4 digits separated by dots.
Make sure that you entered the correct address when patching your IPA. Example: if the host IP is 12.345.67.89, you should enter http://12.345.67.89:5001.
Make sure that you messed with no other settings on the server, such as ports.
Make sure that the server actually started successfully with no errors in the console.
Make sure that your phone and computer are on the same network.

Inactive


Edit database

Implemented code to edit records in database.

Well, seems straight forward enough! On to the next phase of the project. Thanks, we'll need to all talk about this now.


Some wearables with emissive render completely different than previous explorer

The following wearable with emissives renders completely different in E@ than in the previous explorer
URN of wearable: urn:decentraland:matic:collections-v2:0xff8e630bd43246bf5c37aecc0228af5418a8ceef:4
Previous Explorer (unity-renderer)

Explorer Alpha

https://www.notion.so/decentraland/Avatar-Meta-Data-for-Outline-Post-Processing-effect-80b4c768842b42528e00c34ef708d162?showMoveTo=true&saveParent=true

Another example, the following wearable:

https://decentraland.org/marketplace/contracts/0xce3dcdb52098ddaf5436da1c5ffb21ce6c36bee4/items/1


error[E0061]: this function takes 3 arguments but 2 arguments were supplied (.apply(base_scenario, &mut rng))

error[E0061]: this function takes 3 arguments but 2 arguments were supplied
  --> headless/src/main.rs:33:10
   |
33 |         .apply(base_scenario, &mut rng)
   |          ^^^^^ -------------  -------- supplied 2 arguments
   |          |
   |          expected 3 arguments

error: aborting due to previous error

0.2.2-18-g9f72b3dd

Thanks for catching this; headless is an internal tool that nobody's used in months.


Improve the performance of KnuthSolver by x50

According to a Wikipedia article, I believe we can count the number of possible targets generating the same hint for a guess to compute the score of the guess instead.  The change produces the same histogram so I believe this does not change the behaviour.
The code might not be idiomatic from Kotlin point of view.  Feel free to add any modifications to it.  Thanks!
Bench mark environment
Ubuntu 20.04 (Core i7-8700 3.2GHz x6)
Result (before)
Computing KnuthSolver Histogram... (could take a while)!
Solved in 1 guess(es): 1
Solved in 2 guess(es): 53
Solved in 3 guess(es): 990
Solved in 4 guess(es): 1162
Solved in 5 guess(es): 107
Solved in 6 guess(es): 2
Failed to solve: 0
Average # guesses: 3.5732181425485963
Completed in 3446 second(s)!

Computing KnuthSolver Histogram (hard mode)... (could take a while)!
Solved in 1 guess(es): 1
Solved in 2 guess(es): 89
Solved in 3 guess(es): 907
Solved in 4 guess(es): 1054
Solved in 5 guess(es): 209
Solved in 6 guess(es): 40
Failed to solve: 15
Average # guesses: 3.652608695652174
Completed in 1777 second(s)!

Result (after)
Computing KnuthSolver Histogram... (could take a while)!
Solved in 1 guess(es): 1
Solved in 2 guess(es): 53
Solved in 3 guess(es): 990
Solved in 4 guess(es): 1162
Solved in 5 guess(es): 107
Solved in 6 guess(es): 2
Failed to solve: 0
Average # guesses: 3.5732181425485963
Completed in 90 second(s)!

Computing KnuthSolver Histogram (hard mode)... (could take a while)!
Solved in 1 guess(es): 1
Solved in 2 guess(es): 89
Solved in 3 guess(es): 907
Solved in 4 guess(es): 1054
Solved in 5 guess(es): 209
Solved in 6 guess(es): 40
Failed to solve: 15
Average # guesses: 3.652608695652174
Completed in 36 second(s)!

Very very cool, thank you so much!


update circle-test.sh to supress false error about removing container

This just suppresses the error that CircleCI always spits out when deleting the container.
We leave test.sh alone so that it will still try to clean up if someone if running the script locally etc.

Why not just remove this line? https://github.com/influxdata/influxdb/blob/master/test.sh#L72

@jwilder because if you run the test.sh script locally (or part of Jenkins etc) it will leave the container around. Also all the CircleCI specific logic remains in the circle-test.sh script.
We could just remove that line but I thought this was cleaner as we don't have to remember to add it back in if we move off CircleCI.

Make sense.  :+1:

@nathanielc What about making the --rm a separate variable, defaulting to remove, but setting it to --rm=false in circle-test.sh?

@joelegasse That would work. I'll do that its simpler. Thanks

@jwilder @joelegasse How does it look now?

LGTM :+1:

:+1:


fix: adding letter spacing for calendar title (SDS-4421) #407

Adding correct letter spacing for calendar title.
Changing the standard calendar example from "S M T W T F S" to "SUN MON TUE WED THU FRI SAT".
This fixes #407
Jira: SDS-4421
Description
Adding correct letter spacing for calendar title.
Also changing the standard calendar example from "S M T W T F S" to "SUN MON TUE WED THU FRI SAT". React Spectrum also features the abbreviations for their default calendar that might be something we could match. I left the other three calendar examples below the first default calendar untouched to display both options. https://react-spectrum.corp.adobe.com/storybook/?path=/story/calendar--default

How and where has this been tested?

How this was tested:
Navigate to http://localhost:3000/docs/calendar.html#variants and inspect the Standard calendar.

Browser(s) and OS(s) this was tested with:
Browsers left to right:
On macOs Mojave 10.14.5 (18F203):
Chrome Version 81.0.4027.0 (Official Build) canary (64-bit)
Safari Version 12.1.1 (146<IP_ADDRESS>.1)
FireFox 72.0.1 (64-bit)
Edge Version 80.0.361.32 (Official build) Beta (64-bit)

On Windows 10:
Microsoft Edge 42.17134.1098.0
VR test: https://spectrum-visual-regression.ci.corp.adobe.com/job/spectrum-css-vr-test-asset/172/artifact/spectrum-css/backstop_data/html_report/index.html
Screenshots

Before:

After changing the week days:

After correcting the letter spacing:

Before & After large:

Cross-browser test:

To-do list

[x] If my change impacts other components, I have tested to make sure they don't break.
[ ] If my change impacts documentation, I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.

[x] This pull request is ready to merge.

screenshot of that variable switch. Value stays the same:


[TikTok] Videos with empty title show erroneous warning message and set empty title

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.04.08 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
No response
Description
WARNING: Extractor failed to obtain "title". Creating a generic title instead is shown on videos with an empty title. This means that the predefined output file name is ignored.
Verbose log
[debug] Command-line config: ['-vU', 'https://www.tiktok.com/@derverruecktejunge78/video/7085629691561889029']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2022.04.08 [7884ade65]
[debug] Python version 3.10.4 (CPython 64bit) - Linux-5.17.4-arch1-1-x86_64-with-glibc2.35
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 5.0 (setts), ffprobe 5.0, rtmpdump 2.4
[debug] Optional libraries: brotli, certifi, Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2<IP_ADDRESS>, Current version: 2022.04.08
yt-dlp is up to date (2022.04.08)
[debug] [TikTok] Extracting URL: https://www.tiktok.com/@derverruecktejunge78/video/7085629691561889029
[TikTok]<PHONE_NUMBER>561889029: Downloading video details
[debug] Sort order given by extractor: quality, codec, size, br
[debug] Formats sorted by: hasvid, ie_pref, quality, vcodec, acodec, filesize, fs_approx, tbr, vbr, abr, lang, res, fps, hdr:12(7), asr, proto, vext, aext, hasaud, source, id
WARNING: Extractor failed to obtain "title". Creating a generic title instead
[debug] Default format spec: bestvideo*+bestaudio/best
[info]<PHONE_NUMBER>561889029: Downloading 1 format(s): bytevc1_720p_1054024-2
[debug] Invoking downloader on "https://v39-eu.tiktokcdn.com/7ee44fe37df7ff62d76d25d7e3bd6f4e/627375a2/video/tos/useast2a/tos-useast2a-ve-0068c001/105e9a6b67c54a179b2afb24bea1b911/?a=1180&br=2058&bt=1029&cd=0%7C0%7C0%7C3&ch=0&cr=3&cs=2&cv=1&dr=0&ds=3&er=&ft=aEAqiq4fmo0-CSzKvjJcIs~nRf-Z4V8_4k&l=2022050500582701024501910601D68394&lr=all&mime_type=video_mp4&net=0&pl=0&qs=14&rc=ajRkeTk6ZnNtPDMzNzczM0ApZmc4aDs2NGU1NzY2ZWk1OGcyMTRhcjRfYF5gLS1kMTZzczNeYGAuMzZeXy9fMF8yMF46Yw%3D%3D&vl=&vr="
[download] Destination: TikTok video #7085629691561889029 [7085629691561889029].mp4
[download] 100% of 1.90MiB in 00:00

The warning is correct

This means that the predefined output file name is ignored.

What "predefined output filename"?

The warning is correct

This means that the predefined output file name is ignored.

What "predefined output filename"?

The output name is specified with -o cool video %(title)s.%(ext)s. Instead of the correct  title "" "TikTok video #235743245785325" is used.
There warning is false because the title is "" and it could be retrieved successfully.

that case the file name would be totally fine

True, generating general title can be postponed after filenames validation, but I don't remember it checking if basename stars with ., if it contains .., or if it is completely empty.
Also extractors doesn't return None as not found 'title' only '', afaik.

I can only say that the behavior has changed, because about 6 months ago yt-dlp didn't show the warning and happily used the empty string for the title. That's why I created this issue, presuming it's a regression.

The output name is specified with -o cool video %(title)s.%(ext)s. Instead of the correct title "" "TikTok video #235743245785325" is used.

No, title and filename are different things! If you set a custom filename, that will be used. But you haven't set any in the given logs.

I can only say that the behavior has changed, because about 6 months ago yt-dlp didn't show the warning and happily used the empty string for the title. That's why I created this issue, presuming it's a regression.

yt-dlp should never have accepted empty title. If it did, that was a bug. If you want the title without the generated "generic title", use fulltitle field

title (string): Video title
fulltitle (string): Video title ignoring live timestamp and generic title

I'll try out fulltitle, but what does ignoring live timestamp and generic title mean?
And perhaps it should be documented that a generic title is used, if the title from the api is empty.

it should be documented that a generic title is used, if the title from the api is empty.

WARNING: Extractor failed to obtain "title". Creating a generic title instead

but what does ignoring live timestamp and generic title mean?

See https://github.com/yt-dlp/yt-dlp/issues/1573 https://github.com/yt-dlp/yt-dlp/issues/2760


Error in handling Accept-Encoding

We found an issue with how turing uses Accept-Encoding. We saw turing adding  Accept-Encoding: gzip to outbound requests, but not parsing the response as gzip. This results in clients calling turing receiving gzipped response even when they did not request for it.
Reproduction ->

deploy a service that supports gzip response encoding
configure turing to route to that end point
make a request through Turing without setting Accept-Encoding

cc @peterjrichens

Hi @ankurs, thanks for reporting this! After a quick scrolling through the codebase, I can't see that Turing explicitly adds any extra headers besides what is passed by the client. But the team will look into it and get back with more details soon.

I have a feeling this might be because of https://github.com/gojek/fiber but haven't looking deeper into it
Please let me know if need any more info for this


Fix crash on network error

Various types of exceptions will be thrown when trying to open a connection, not only MalformedURLException.

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


CAMEL-15978 Fixes in Buy in JIRA CAMEL-15978

All tests pass when using env var TESTCONTAINERS_RYUK_DISABLED=TRUE

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] If you're unsure, you can format the pull request title like [CAMEL-XXX] Fixes bug in camel-file component, where you replace CAMEL-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean install -Psourcecheck in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically.
Below are the contribution guidelines:
https://github.com/apache/camel/blob/master/CONTRIBUTING.md

I fxed the merge conflict

I fxed the merge conflict

Okay this requires also upgrading smack to 4.4 as then it uses jxmpp 1.0.x library.
And after that there are some security tests failing with certificates (yeah lovely). So its actually a harder work to do.

Okay this requires also upgrading smack to 4.4 as then it uses jxmpp 1.0.x library.
And after that there are some security tests failing with certificates (yeah lovely). So its actually a harder work to do.

Any updates on this one?

Closing inactive PRs


Support hashes in filenames

Based on #257

I tried this in my project (was previously using #257).
It works flawlessly.

Okay cool as soon as I have the time I will move your BasicSpec unit test to this branch and merge it.

Sounds great. Super excited to see this get merged.


[WebView] Improve layout on lower Android versions.

[ ] Android 4.1.1

[ ] Android 4.2.2

[ ] Android 4.1.1

[ ] Android 4.2.2

It is good to keep this in mind, but don't focus on this for now.
We need to make sure the message list works perfectly on recent hardware before tackling these.


Add create/delete network for CPI

https://www.pivotaltracker.com/story/show/161132263

CLA update


add fuzz target for rustfmt

https://github.com/rust-lang-nursery/rustfmt/blob/c9ac3487595eb56339d57de33aa326ac9e762f9c/src/lib.rs#L638

relevant discussion https://github.com/rust-lang-nursery/rustfmt/issues/1344#issuecomment-283056957

I have a trivial script working, but it crashes after <1s with
thread '<unnamed>' panicked at 'Box<Any>', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/syntex_syntax-0.58.1/src/parse/lexer/mod.rs:182

which is not a rustfmt thing but a panic from libsyntax (or, syntex_syntax in this case)… that line is literally panic!(FatalError);! With a seed folder (cf. #41) made from
$ mkdir -pv rustfmt/seeds
$ cp **/*.rs rustfmt/seeds/

I get to 38 execs (the seed files) covering 12550 code paths, but the first new one leads to a libsytax crash.
I assume rustfmt should catch libsyntax panics?
I can open a PR later if you'd rather want to discuss this there.

Cool! I've been meaning to do this. Feel free to open a PR. I'll merge it in, even if it immediately fails upon running. Do you have a backtrace of the panic?

@frewsxcv opened #42. I don't have the logs anymore, but it's easy to reproduce.

Logs! https://gist.github.com/killercup/406457100de570a33dfd68192ea0e9ee

Maybe we should add a fuzz target for https://github.com/serde-rs/syntex and report this panic upstream?

Regardless, this was completed in https://github.com/rust-fuzz/targets/issues/42. Thanks again!


Hidden achievements remain hidden after being unlocked

SuccessStory now allows the hiding of achievement descriptions if that achievement is intended to be hidden, only showing the description as "Hidden Achievement". That placeholder description should be replaced by the real description when the achievement is unlocked, but it is not.

https://github.com/Lacro59/playnite-successstory-plugin/commit/449b44b3c97a5239a790afe903174c3dc823962d


Android developer wanted!

Hi Kshitij,
Your GitHub profile caught me eye! We are searching for amazing Android developers and I think you can be the one! Would you have few minutes to jump on a call with me and talk about possible opportunities at ElevenLabs?
Kind regards,
Jakub

Thank you for the opportunity @limo1996. Let's discuss over LinkedIn instead.


Inconsistency in Lazy Loading Behavior

I noticed some inconsistencies in the loading behavior of navigation proxies. I'm not entirely sure what the expected behavior should really be, but the Gist from the next section contains my point of view in a few xUnit tests.
Case A
An entity without eager loaded (null) navigation property lazy loads the navigation property after changing the corresponding Id. => Works as expected
Case B
An entity without eager loaded (non-null) navigation property lazy loads the navigation property after changing the corresponding Id. => Works as expected
Case C
An entity with eager loaded (null) navigation property lazy loads the navigation property after changing the corresponding Id. => Does not work as expected
Case D
An entity with eager loaded (non-null) navigation property lazy loads the navigation property after changing the corresponding Id. => Works as expected
Steps to reproduce
https://gist.github.com/JoesGab/886929c65c119ecceddef9ff6f37d1ab
Further technical details
EF Core version: 2.1.2
Database Provider: (e.g. Microsoft.EntityFrameworkCore.InMemory)
Operating system: Win10 Enterprise
IDE: (e.g. Visual Studio 2017 15.8.1)

Note for triage: there are two issues here:

First, something needs to detect that the FK value has changed. By design, this would require DetectChanges to be called, but it may be pragmatic to put a localized check for just the FK here
Second, if the FK changes, but the navigation remains null after the changes, then the relationship is still flagged as "loaded". Explicitly setting clearing the flag results in lazy-loading happening.

Fixing the issue for 2.2 where a navigation already null does not have IsLoaded reset when the underlying FK changes. However, not implementing this in absence of DetectChanges because it would be better done as part of a wider change to do local DetectChanges as tracked by #13552


Add reload datalist method

Summary
Append, remove and modify DOM (datalist) element, no such function.
This code prepares for use render (template) systems.
How to use?
$('#simple-datalist').append('<option value="-1">TROLL</option>');
and
$('#simple').flexdatalist('reload');
Issue #51

Hi,
Thank you for your help and participation. Please, this pull request is no longer needed, since v2 handles datalist data differently.
Thanks again!
Sérgio


state of cover unknown

Hi,
Today I noticed my NHC2 covers have an unknown state in HA.
I can control them, and the up/down arrow changes whether the cover is open or closed.
So, it is picking up something, but the state open/closed is missing. Resulting in "unknown" in the history, as well as an unknown state icon.
So expecting this:

But getting this:

This used to work in the original hass-nhc2 integration (and probably still does, but that integration has other flaws and seems to be abandoned).

@bugzke Can you check if the update fixes your issue?  I don't have shutters in my installation.

Just installed the update: issue fixed!


get real path image in url from database and retrieve in json response

{
"id": 1,
"name": "Taylor",
"urlimg": "https://avatars1.githubusercontent.com/u/170256?v=3&s=400"
}

How to get real path image in url from database and retrieve in json response, I am facing the same problem.