Load from local CSV

Hi there,
Pls consider to load data from local CSV.
`
# Initialization requires a ticker symbol
def __init__(self, ticker, exchange='WIKI', csv_repository=""):

    # Enforce capitalization
    ticker = ticker.upper()

    # Symbol is used for labeling plots
    self.symbol = ticker

    # Use Personal Api Key
    #quandl.ApiConfig.api_key = 'xxxxxxxxxxxxxxxxxxxxxxxx'

    if exchange in "CSV":
        print("Load from CSV file...")
        stock = pd.read_csv(self.symbol_to_path(ticker,csv_repository), index_col='Date',
                            parse_dates=True,
                            # usecols=['Date', 'Open','High','Low','Adj Close','Volume'],
                            na_values=['nan'])
        #print(stock.head(5))
    else:
        # Retrieval the financial data from QUANDL
        try:
            stock = quandl.get('%s/%s' % (exchange, ticker))

        except Exception as e:
            print('Error Retrieving Data.')
            print(e)
            return

...
`
Check my modified version  here: https://github.com/asfolcini/stocker/blob/master/stocker.py

Perhaps consider an adapter pattern here (ie QuandlSourceAdapter / CustomSourceApdapter ). It will provide extensible way of adding datasources for the library. What do you think ?

Sorry
I can't use it from local csv to run.
Can you give me an example? THX

open a PR with the changes requested

Sorry
I can't use it from local csv to run.
Can you give me an example?
THX

df=pd.read_csv(r'C:\Users\Rohan\Desktop\ML\linear_ref_multivariate\homeprices.csv')
@just add r before file location...After adding r, represents raw data.so u will not get any error after adding r.


Wrap file-check with try-except (attempt 2)

Bugfix for #50.
I needed to recreate this so that I could be working from a branch based on your develop branch.
Again, lmk of any other changes you'd like me to make here.

To continue our discussion about link-behavior:
Perhaps it would be sensible for the default to follow dropbox's convention, but permit a flag or configuration value to allow following of symlinks? This PR of course isn't the place for that, but I'm just offering my two cents.

Yes, that's a good idea. I typically prefer providing only one (the "best") option, but there really is a use case for syncing folder's outside of the Dropbox directory.

I saw another place in monitor.py where the same logic that caused #50, for when a file gets modified.

Good catch.

I don't quite like that duplicated logic

You can move the code to a private method UpDownSync._wait_for_creation (or any better name) if you like.

Again, lmk of any other changes you'd like me to make here.

One last request: Could you just exit the while loop with break instead of raising an exception here? For now, I prefer raising all exceptions from MaestralApiClient. A broken symlink will be handled there automatically.

Good suggestion. I moved those two while-true loops to a static method.
In the static method, return and break serve the same semantic job, but IMO return is clearer here.
Further, in its current usage now, the try-catch is equivalent to using a break in the original, in-line, PR.
I didn't realize I didn't need to raise the exception there. You're right, I let it go and I still get the broken symlink in the sync errors list.
Thanks for your help on the PR!

Perfect, thank you!


fix fialing lint Consider using 'register' to avoid unnecessary configuration

fix failing lint Consider using 'register' to avoid unnecessary configuration in Android studio :

Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.
List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Test-exemption: This is a change in behavior lets identify at least one test that covers this path so we can claim that this codepath is tested.
I am comfortable saying that the compile and copy assets tasks are covered but we need to find a test that covers the jni libs task.

approved % jnilibs test identification.

Should i write a test ?
Any examples that i can use them as a blueprint ?

approved % jnilibs test identification.

Should i write a test ? Any examples that i can use them as a blueprint ?

I dont think you need to write a test just identify an existing test that uses the jni task. I am about to go on vacation for a bit more than a week (time off + thanksgiving) and i am trying to get some different work landed before I leave or I would find this for you.

approved % jnilibs test identification.

Should i write a test ? Any examples that i can use them as a blueprint ?

I dont think you need to write a test just identify an existing test that uses the jni task. I am about to go on vacation for a bit more than a week (time off + thanksgiving) and i am trying to get some different work landed before I leave or I would find this for you.
if understand the errors right , this is a test that failed when to excute without the jni task (there is others , but this one seamed more accurate)
Linux gradle_plugin_fat_apk_test

approved % jnilibs test identification.

Should i write a test ? Any examples that i can use them as a blueprint ?

I dont think you need to write a test just identify an existing test that uses the jni task. I am about to go on vacation for a bit more than a week (time off + thanksgiving) and i am trying to get some different work landed before I leave or I would find this for you.

if i understand the errors right , this is a test that failed to execute without the jni task (there is others , but this one seamed more accurate) Linux gradle_plugin_fat_apk_test

Confirmed
[2024-11-19 04:04:15.120178] [STDOUT] stdout: [  +99 ms] > Task :aaa:mergeDebugJniLibFolders
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8730841621379757489/+/u/run_gradle_plugin_fat_apk_test/stdout
From this pr.


external/esp_idf_port:Add ESP32 wifi driver OS's dependency.

Add ESP32 wifi driver dependent os interface, timer, message queue,
irq, semaphore, mutex lock, event groups and etc.

Regard O_NONBLOCK, could you explain which place need to modify?


Issue no: #308 Alignment of menu section

before:

after:

@sunny0625  kindly review the PR ,  and in this I have resolved the conflicts.

solve conflicts.

#308


Add picture URL to LinkedIn user info endpoint default fields

Extended the list of fields included on the LinkedIn basic profile scope
endpoint to include the picture URL also.  It is nice having this on the
user object to parse out in existing authentication providers such as
Google and Yahoo and having it on LinkedIn is also nice for the sake of
consistency across the spectrum of supported options.  Similar to the
Google implementation this is not promoted to a top level authenticated
context property but just hangs off of the user object graph in the
event somebody needs it to not incur the small overhead of parsing out
each time.

Thanks for yet another contribution @aaron-horst. Update will probably only go out over the weekend.

Sounds great and looking forward to it!

@jerriep Just wanted to check in and see if there was anything additional you needed from me related to this.  If you have any questions feel free to reach out.

@aaron-horst Nope sorry, I just have been swamped with too many things on my plate...
New version pushed to Nuget, thanks!


Compiled FuzzyMatch-cli binary segfaults

Hi,
We tried to build and use the utility but in the end this is all what happened:
FuzzyMatch-cli  -c mycorpus
STEP	Importing TM: mycorpus	ELAPSE	0.005	TOTAL	0.005
STEP	Sorting Index	ELAPSE	0.117	TOTAL	0.123
STEP	Dump: mycorpus.fmi	ELAPSE	0.029	TOTAL	0.152
Segmentation fault

We have not faced any compilation problems that's why we don't really have any idea what could have gone wrong. This is our cmake (v. 3.18.4) short report:
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Boost: /usr/include (found version "1.57.0") found components: serialization iostreams system regex
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Found ICU: /usr/lib64/libicuuc.so;/usr/lib64/libicui18n.so;/usr/lib64/libicudata.so (found version "50.2.0")
-- Found Boost: /usr/include (found version "1.57.0") found components: program_options
-- Found GTest: /share/local/src/googletest/build/lib/libgtest.a
-- Found Boost: /usr/include (found version "1.57.0") found components: filesystem system
-- Configuring done
-- Generating done
-- Build files have been written to: /share/local/src/fuzzy-match/build

And everything compiles fine.
Scanning dependencies of target FuzzyMatch
[  7%] Building CXX object src/CMakeFiles/FuzzyMatch.dir/fuzzy_match.cc.o
[ 15%] Building CXX object src/CMakeFiles/FuzzyMatch.dir/ngram_matches.cc.o
[ 23%] Building CXX object src/CMakeFiles/FuzzyMatch.dir/suffix_array_index.cc.o
[ 30%] Building CXX object src/CMakeFiles/FuzzyMatch.dir/vocab_indexer.cc.o
[ 38%] Building CXX object src/CMakeFiles/FuzzyMatch.dir/suffix_array.cc.o
[ 46%] Building CXX object src/CMakeFiles/FuzzyMatch.dir/sentence.cc.o
[ 53%] Building CXX object src/CMakeFiles/FuzzyMatch.dir/fuzzy_matcher_binarization.cc.o
[ 61%] Building CXX object src/CMakeFiles/FuzzyMatch.dir/edit_distance.cc.o
[ 69%] Linking CXX shared library libFuzzyMatch.so
[ 69%] Built target FuzzyMatch
Scanning dependencies of target FuzzyMatch-cli
Scanning dependencies of target FuzzyMatch-test
[ 76%] Building CXX object cli/src/CMakeFiles/FuzzyMatch-cli.dir/FuzzyMatch-cli.cc.o
[ 84%] Building CXX object test/CMakeFiles/FuzzyMatch-test.dir/test.cc.o
[ 92%] Linking CXX executable FuzzyMatch-test
[ 92%] Built target FuzzyMatch-test
[100%] Linking CXX executable FuzzyMatch-cli
[100%] Built target FuzzyMatch-cli

Any help is greatly appreciated.

Hi,
Does FuzzyMatch-cli have the right to write the file on your system?
What does the file mycorpus  looks like?
Can you please check if this happens with your corpus restricted to the first sentence?

It's a simple text file one line per sentence. Permissions are fine. Same segfault with first sentence only and with the stock tests as well.

Are there any specific requirements on versions of dependencies like cmake, ICU, boost, or compiler version? Or pretty much everything should work...?

I am not aware of any restrictions.
We use boost 1.61.0, ICU 57.1, OpenNMT Tokenizer 1.20.0 and fuzzy-match works well with these dependencies.

Which version of cmake do you use?

I use cmake version 3.10.2 (on my system) or 3.17.3 (bundled in my IDE).

Try update your boost dependency with at least 1.61.0.

Finally we managed to make it work on another machine. It was probably a boost issue (multiple versions were installed in the system).


Stabilize and freeze mapping.yml and database schema

This issue will be aggregator for small schema issues/discussion.
Since we're getting close to the rendering after which we can only change the mapping and schema stuff with big costs since the diffs rely on it we should start freezing it and reviewing it one last time.
We must hope that the still open map issues have all the data they need to be solved after that.

[ ] Schema diagram @lukasmartinelli should also create a database schema diagram now (we need one for the thesis like last time) which will also show us excess column names directly.
[ ] Find out unused columns

otherside: Quest for unused database columns :)
osm_admin_linestring - area ?
osm_airport_point - name_int ?
...

Working on the diagram in Google Drive. I could generate them (last time I did but they usually are to ugly to use in a thesis).
Barriers
Nothing special here. Except it is one of the only layers that doesn't have a label laayer.

Road
We do need the is_ford, construction, tracktype, service, access all for the type and class or structure values.

Water and Waterways
Wow there goes a lot of thought into making water appear.

[ ] Perhaps we can use the Natural Earth and OSM Water tables (that are not from imposm) in the same zoom level views (create new ones)? What do you think @manuelroth? Now we pull data in the tm2source file and in the zoom level views.

@lukasmartinelli thats a good idea will add it to the zoom level views

Won't add the new views to the layer_* view as this view is used for the changed_tile process.

Changed tile process does no longer work with the zoom level views but works with the tables directly since last PR.
You could safely extend the existing views.

Won't add the new views to the layer_* view as this view is used for the changed_tile process.
Changed tile process does no longer work with the zoom level views but works with the tables directly since last PR.

You could safely extend the existing views.
Ohh right, so we could actually remove the layer_* views?- Because these were only needed for the changed_tile process

I did remove them but readded them because we need them for the mapping-qa
report.
On Apr 21, 2016 6:22 PM, "Manuel Roth"<EMAIL_ADDRESS>wrote:

Won't add the new views to the layer_* view as this view is used for the
changed_tile process.
Changed tile process does no longer work with the zoom level views but
works with the tables directly since last PR.
You could safely extend the existing views.
Ohh right, so we could actually remove the layer_* views?- Because these
were only needed for the changed_tile process
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/osm2vectortiles/osm2vectortiles/issues/265#issuecomment-212993875

After #268 the water diagram looks like this.

Admin
Admin uses a complex combination of Natural Earth and OSM in order to give the best possible borders per zoom level.

Housing
We once had the idea whether we could put housenumber_polygon and building_polygon into one table. But because we also have a point table it easier for the understanding to have two separate tables for housenumbers.

Places
We still have some ranking problems. But I think we got all the fields that are relevant. Problem there is the scalerank matching.

Landuse

[ ] landuse_overlay missing

POI

Mountain Peak Label

Rail Station Label


Remove mac check if host variable is configured

I'm using deConz in a OpenWrt router with chroot strategy (qt libs are missing in openwrt).
Using chroot, the bridgeid is never updated.
Because of this line, your great plugin never register my deconz:
https://github.com/ebaauw/homebridge-hue/blob/b6aa599fdf3171719121e1c8ae9cbd064bd111c5/lib/HueBridge.js#L168
Simply removing it, all works great. Is it possible to skip this check (eg, when the host variable is configured)?

deConz 2.05.46 upgrade solved my mac issue.


[stable/mongodb-replicaset] Unable to scale down my replica.

Hi Guys,
I am unable to scale down my replica. I initially created a mongodb-replicaset with 4 replicas. Then I used helm upgrade mongo stable/mongodb-replicaset --reuse-values --set replicas=2 --version 3.0.0 to scale down to 2 replicas. It successfully terminated my 2 pods (mongo-mongodb-replicaset-2 and mongo-mongodb-replicaset-3 were terminated) but none of the pods were master anymore. Running for ((i = 0; i < 2; ++i)); do kubectl exec --namespace default mongo-mongodb-replicaset-$i -- sh -c 'mongo --eval="printjson(rs.isMaster())"'; done still displayed the old 4 pods in hosts config.
"hosts" : [
		"mongo-mongodb-replicaset-0.mongo-mongodb-replicaset.default.svc.cluster.local:27017",
		"mongo-mongodb-replicaset-1.mongo-mongodb-replicaset.default.svc.cluster.local:27017",
		"mongo-mongodb-replicaset-2.mongo-mongodb-replicaset.default.svc.cluster.local:27017",
		"mongo-mongodb-replicaset-3.mongo-mongodb-replicaset.default.svc.cluster.local:27017"
	],

Is there something I'm missing ??

I'm experience the same issue trying to scale from 3 to 1
helm upgrade db stable/mongodb-replicaset \
  --reuse-values \
  --set replicas=1 \
  --version 2.1.5

It scales down to replicaset-0 but it's a secondary (it was the primary before scaling down).
Scaling back up to 3 is fine and 0 becomes the primary again.

I'm facing the same issue. Forced to run a replica of 3 as of now. Let me know too in case you find a solution @jamesholcomb.
Thanks


FIX: transitionOnUserGestures value not used

The value set for transitionOnUserGestures was not passed to PhotoViewImageWrapper. This cause it to be always the default value of false regardless.

This is related to issue #65 and #77


Make it clear liquidation price is based on Chainlink price

Description
It's currently not clear that a liquidation is based on the chainlink price and the Chainlink price isn't displayed anywhere to reference.
Solution

Add a tooltip to the liquidation price on the position table to explain the trigger and show the current on chain price
Replace index price in market details with Chainlink price

@yvesbou We need a design for this. Thanks.


Get-CertificationAuthority returns nothing in a script launched by scheduled task that uses a gMSA

I have a PowerShell script running as a scheduled task that uses a gMSA as the identity to execute the action.
The script works when run interactively in PowerShell 5.1 and PowerShell 7.3.6.
When run in the scheduled task as a gMSA the Get-CA / Get-CertificationAuthority cmdlet does not get any CAs. Even using -Verbose fails to create any output (I added extra logging to the script for troubleshooting). However, if I run the scheduled task as a normal user account, the cmdlets all work fine.
Any idea why this cmdlet would fail as a gMSA?

As we discussed this in twitter, main problem is insufficient permissions and rights assigned to gMSA account when it runs a process from scheduled task. When running under the task scheduler the user account has much less access to local resources because account is not automatically promoted to Users group via special groups (like Interactive). The workaround in this case is to explicitly add your service account to local Users group.

Yes, thanks for that great tip! Unfortunately, I'm stumped and little frustrated again because I got it to work after adding the gMSA to the local Users group--then I updated the scheduled task to run my production script instead of my test script, and now I can't get either to work again. Back at square one until I figure out the missing piece.

Agreed. I'm certainly not trying to present this as an issue with the code. Just curious if you or anyone else has encountered this and found a way around the way that gMSAs work. Thanks for your help! I'll post here if I find a consistently working solution.

Specifically, I never tested it in scheduled task with gMSA account. It does work with normal user accounts though.


I noticed that HashSet and SortedSet are not mentioned on the page

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

ID: ee0b88ff-d651-fd2f-a6e4-acfa1089b1f2
Version Independent ID: bc5056d9-27ed-f1ce-bc7a-6e61121a578d
Content: Collections (C#)
Content Source: docs/csharp/programming-guide/concepts/collections.md
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

SortedDictionary and LinkedList are missing as well.

I'll keep this open. However, the fix is not for the C# guide to exhaustively list all the types in sections of the .NET libraries.
Rather, these pages should be updated to provide an overview, but send readers to the library documentation for more details.

Handling this as part of adding the language reference for collection expressions.


Compare the full 64 bits address on Solana

vector_new() takes an initializer arguments, which has as special value
for "no initializer". We should check the full 64 bits, rather than
casting the lower 32 bits to int.
This change exposes a bug in the old BPF target in Solana's LLVM fork. Switching
to the newer SBF target fixes the issue.

This change exposes a bug in the old BPF target in Solana's LLVM fork. Switching to the newer SBF target fixes the issue.

The LLVM compilation instructions in our docs must be updated as well.

The LLVM compilation instructions in our docs must be updated as well.

I don't think there is anything that needs updating there, as the LLVM target are not listed. I have replaced occurrences of BPF with SBF.


NeodigmMetronome | Move native timeout and interval functions to a separate thread.

Improve performance by overloading the setTimeout and setInterval with a multi-threaded implementation.

Behind a feature flag. I imagine, off by default?

This is complete in v2.5. This logic has been integrated into the NeodigmMetronome init method.
Usage: Turn on feature flag.
<script>
let neodigmOptCustom = {  neodigmWWInterval:true }
</script>

Update: Turning on Feature Flag, however the components that make use of it will be limited.
Using the setTimeoutN55() idea and it seems to work.
Adding some debug level logging.
Documentation, will be just a comment in the architecture overview.

This issue is resolved in v3.0 (Toast Only - setTimeout Only)
Feature flag is true by default
<script>
// Turn on Feature Flag
// Turn  on debugger to verify | neodigmOpt.N55_DEBUG_lOG = true
let neodigmOptCustom = {  neodigmWWInterval:true }
// Verify by neodigmToast.q("If this Toast goes away, it is working", "brand")
</script>


Vs Code is not working in Bigsur

I install Bigsur
And I need Vscode in bigsur for my office work but when i install vscode and start its not working fine not Complete Ui laggy and so on
Please help me how to resolve this Tanks

@Harismehmoodulhaq how did you fix this?

I am not able to fix it yet i closed it and make a new request you answer me
Vs Code not working in MacOS BigSur #37

It works (for me) if you use 'code --disable-gpu'


Fuzzy finder layout bug

Hello,
There is a visual bug in displaying the Fuzzy Search pannel, in Atom. A + sign in a square appears above some of the file names, as you can see in the attached screenshot.
Atom: 1.12.9
Predawn-ui: 1.0.2
Predawn-syntax: 1.0.4

Hey, thanks @andreiciceu. Do you mind adding this issue to jamiewilson/predawn-ui instead?

@jamiewilson done


Run unit tests within Docker container on GitHub Actions

Goals:

[x] Build unit tests for Tizen arm/arm64 architecture. - https://github.com/flutter-tizen/engine/pull/242
[x] Run unit tests in a Tizen arm/arm64 Docker container on GitHub Actions. (Here's the proof of concept.)

https://github.com/flutter-tizen/engine/pull/241
https://github.com/flutter-tizen/engine/pull/244

[x] Fix failing test cases. - https://github.com/flutter-tizen/engine/pull/240
[x] Remove support for experimental Linux x64 builds. - https://github.com/flutter-tizen/engine/pull/248

Optional tasks:

[x] Create a Format job. - https://github.com/flutter-tizen/engine/pull/243

cc @bbrto21 @bwikbs @WonyoungChoi

@swift-kim
It seems like I'm asking too late, but I haven't been able to see this for a while due to personal circumstances.
Q) Why did you remove x64?  As I understand it, there is no use for it, is this correct? Any other reasons?

@bwikbs I feel sorry to delete some of the code that you worked on hard.😢 I wanted to ask your opinion before proceeding but I couldn't find you at your seat.

Yes, the main reason is that we can now run unit tests without the x64-specific code. Of course the code can be used for other purposes than testing, such as running normal Flutter apps on Linux desktop (EFL), but there has been no specific use case for it for a year.
The x64-specific code makes the entire code hard to maintain and less readable. Many of our new contributors have been asking why their PR build fails and how they should deal with build errors because it was hard to understand without sufficient background that they should write code for both Tizen and Linux. Writing and maintaining two sets of code is a burden even for those who are already familiar with the code.
We're writing a Flutter embedder for the Tizen platform but not (generic) Linux EFL. We've been using the Linux-specific code as a workaround for testing our embedder, but now we have no such demand, so there's no good reason to maintain it.
FYI, this activity is to be part of my Best Reviewer coursework.

@swift-kim
First of all, I have no big affection for my work. (Basically I think they are sucks!) You do not have to worry about it at all. 😉
Thank you for your detailed explanation. I think that the parts mentioned are reasonable.
A recent debugging environment has evolved and working on a Tizen device better than before. Still, I think it is fast and easy to use X64 shell for functional POCs. But It is not enough to keep it to be maintained.
BTW, I hope to have a good result of your BR work. Please let me know if you need something for it. :)


ScrollSpy highlighting incorrect tabs in Chrome

Using the latest Chrome (16.0.912.75) and  Boostrap 1.4 I've noticed that the active tabs register incorrectly. In the docs, when clicking on Popovers, it scrolls correctly to Popovers but highlights Javascript.
I can recreate it on my own development site, and it also happens on the last few tabs.

Sorry don't follow - however I don't think we'll be patching 1.4 anymore - as we're releasing 2.0 on the 31st. If this is a problem in 2.0 as well - please reopen - thanks!


Verify signature_or_mac_3

There are some minor fixes, but primarily this introduces a check for the signature / MAC on message 3. (This is based on #17 and #18, so please ignore these first commits; this may be easier to process if they are merged first).
@TimothyClaeys please check whether the basic operation fits in your concepts for py-edhoc.
This can be tested by checking out the edhoc branch of aiocoap and running the edhocserver.py script and edhocclient.py localhost, possibly with a --static-static option.

Procedurally, it may also make sense to merge the fixes first (leaving out the last commit) and for me to merge that later with the checks on signature_or_mac2.

Now extended to also verify mac_or_signature2; it'll probably need a round of refactoring to pass the tests again.

Changes (including a consistent view on id_cred_remote) are regrouped as planned now, with a single "verify" commit on top.
Tests start breaking at "cred / authkey: Evaluate callback eagerly, deduplicating code"; I'd need a bit of help understanding what fails here: if you check what's happening at tests/test_initiator.py line 26, in some cases cred_idr has not been set yet at all, so the initiator.remote_authkey would not have contained anything sensible before (None rather than what it now does in raising an AttributeError, which IMO is the better behavior for "not having been set"). How can that have yielded any sensible data before?
(Along with that, I think this is now ready for review).

Tests are now all fixed, most of them in a manner I'd consider compatible (in the sense that the fixes are really to the test system, either because parts of it were buggy and just didn't trigger, or because they represent a usage pattern that is unobtainable outside test settings).
What was not fixed that cleanly was testing of the mac_or_signature, as the auth keys for cred_type 0 (what is that? don't find it in the documented parts) are simply absent (None). In these cases, a warning is issued and the tests are aborted prematurely.
With this, the test suite passes, I think this is good to review and merge.

Thanks a lot for this update. I've went over it quickly (will do another more thorough pass later today) and it looks really good. The idea behind the cred_type parameter was to distinguish between the different credential types (either RPK, C.509 or X.509) when providing them to the Initiator/Responder, and based on that value change the behaviour of the tests. As you mentioned, it is not something from the standard but I added it to make my life simpler. I'm not sure if it is still necessary.

Merging in the changes. CI will fail because of the newer pycose package.


react-native-cli init leads to corrupt project

Made sure I upgraded react-native-cli to latest version and created a new project.
First of all, myproject.xodeproj is installed to the IOS directory, not as indicated by the cli in the root directory of the project.
When I open in xcode and try to run, I get a parse error in RCTNetworking.m at line 223: expected a type and in RCTBridgeModule.h at lines 140: Expanded from macro RCT_EXPORT_METHOD and 152: Expanded from macro RCT_REMAP_METHOD.
Second time I try to run the project, I also get parse errors in RCTWebSocketManager.m
I use Xcode on Mac OS Maverick. Perhaps this has something to do w it?

What version of Xcode are you using? Try 6.3+. Also almost all the people working on RN are using the latest or second-latest OS and compilers so you may have an easier time if you keep your own setup up-to-date.

I use Xcode 6.2. I can't upgrade to 6.3 on Maverick. But i get these errors during install:

<EMAIL_ADDRESS>install /Users/Shared/java/projects/react/msa/msa_mobile/node_modules/react-native/node_modules/ws/node_modules/bufferutil
node-gyp rebuild

gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: connect ETIMEDOUT <IP_ADDRESS>:80
gyp ERR! stack     at Object.exports._errnoException (util.js:749:11)
gyp ERR! stack     at exports._exceptionWithHostPort (util.js:772:20)
gyp ERR! stack     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1003:14)
gyp ERR!    It may work with 6.2 but there's no support for it per se, especially with Xcode 7 coming very soon.
For the io.js issue try getting nvm and install io.js 2.x with nvm install v2. All sorts of weird things can happen if you install node/iojs with brew or the pkg.

Thx, I guess I will have to patient for El Capitan. Held back from installing Yosemite with all these WiFi issues

FYI Yosemite moved back to mDNSresponder in 10.10.4.

Right. BTW. Your nvm tip did resolve the gyp issue although I still have the same errors in the XCode build

@mschipperheyn - yeah you'll need to upgrade Xcode, sorry :(
Yosemite is actually pretty good, by the way. I'm going to close this issue because there are no plans to support 6.2, and the Getting Started guide explains that 6.3 or higher is recommended. If that doesn't fix your issue then feel free to ping @ide and/or myself again on this issue and we can reopen! In the meantime, if you want to use React Native without having to upgrade Xcode you can try out Exponent :smile:

I can confirm that updating Xcode solves the problem. I was getting the same errors on Xcode 6.1. Updating to 7.0 works like a charm.

thanks @mzabriskie :smile_cat:

Hi,
I am facing the same issue and getting build errors. I am using Xcode 7.2. Kindly advise


fix: Remove terminal width detection from pretty table

And instead alway require that it's passed in. Removes some magic and makes things a bit more reproducible.
Fixes https://github.com/GlareDB/glaredb/issues/2005 (terminal width was getting reported as zero inside eshell)

Merging since this hurts my dev workflow right now


Bump black to the latest version

Summary
Nothing has changed in the majority of files, but recent versions of black now support formatting Jupyter notebooks with the jupyter extra installed.
Details and comments
There's a nice --experimental-string-processing option which maybe something we want to consider adding into the tox -eblack run (but not requiring it in the full check); it'd have saved @levbishop a bunch of time a short while ago.
If we accept it, probably no need to bother adding this PR to the ignored commits file in the repo root, since the changes are incredibly minimal.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.008%) to 83.094%

Files with Coverage Reduction
New Missed Lines
%

qiskit/extensions/quantum_initializer/uc.py
2
88.65%

qiskit/pulse/library/waveform.py
3
89.36%

Totals

Change from base Build<PHONE_NUMBER>:
-0.008%

Covered Lines:
51667

Relevant Lines:
62179

💛  - Coveralls


Update manifests/t/Tencent/QQ/<IP_ADDRESS>151/Tencent.QQ.locale.en-US.yaml

Fixes an issue where this package has multiple different monikers
Microsoft Reviewers: Open in CodeFlow

Needs Attention

@wingetbot run

[Policy] reset feedback

[Policy] Needs-Attention

@wingetbot run

@wingetbot run


write instructions for using maps from OpenStreetMap

hi man , where are the instructions

Hey bro, where is the instructions from OpenStreetMap to your dot file


Advent of Code Day 8

Various improvements that came up while working on Advent of Code Day 8.

Improve span placement when parsing lookup chains
Change list modification ops that return Empty so that they return the list
Allow keys to be in different orders in map equality comparisons
Add iterator.find
Don't panic when accessing a reserved id in a temporary function

No idea why I thought this was day 6, maybe I need a break 😅


Notebook header

This PR includes the following changes to the "regression" docs (doc/source/regression):

Header: Puts JupyterLite and download links above each doc
Notebook cell styling: Restyles notebook cells that have been rendered to HTML with MyST-NB
Handcoded output: Introduces workaround to control how notebook cell outputs look in the rendered doc page (see doc/source/regression/README.md for detailed explanation)
Corrections and edits: Make some changes to the text and reverts some changes that were made (see inline code comments)

Header

Shared header file
Each relevant doc file includes the shared header file via the include directive
The header file contains substitutions for the parent document name (the document that includes the header) that look like {{ parent_docname }}
These substitutions are replaced with the name of the parent document by a callback for the Sphinx "include-read" event

Notebook cell styling
I started with Melissa's suggested style changes, as shown in the following screenshot:

This design is good for accessibility because it labels the input cells with "In" and the output cells with "Out".
The only thing I really changed was the green left border on the input cell. I made it gray to better match the PyData Theme color palette, as shown in the screenshot below:

Here's how it looks in dark mode:

Thanks for the review comments @agriyakhetarpal. I have responded to them.
I am taking this out of draft mode because I think it is now ready for review.
I decided not to split these changes up into separate PRs because I did not want to deal with merge conflicts.


Android: Set CORE.display.[width, height] before screen size check

In InitGraphicsDevice(...), the Android section has a screen security check
like other platforms- but CORE.display.width, CORE.display.height are
not set yet, so the security check sets it to 0. So ensure we query the
device's screen width and height before the screen size security check.
This also gives you the ability to run a proper full-screen application
on Android without any scaling and guess work on the target device by
setting screen width and height to 0 in InitWindow(...) and using
GetScreen[Width|Height]() to get the actual values.

@Doy-lee Ok, it looks nice! :)


updated meta.thrift

update meta.thrift.

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

Codecov Report

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

@@             Coverage Diff             @@
##             master    #187      +/-   ##
===========================================
+ Coverage     70.98%   71.1%   +0.11%
  Complexity       10      10
===========================================
  Files            87      87
  Lines          2630    2630
  Branches        311     311
===========================================
+ Hits           1867    1870       +3
+ Misses          543     542       -1
+ Partials        220     218       -2

Impacted Files
Coverage Δ
Complexity Δ

...rc/main/java/com/uber/tchannel/api/SubChannel.java
77.88% <0%> (+0.96%)
0% <0%> (ø)
:arrow_down:

...java/com/uber/tchannel/handlers/RequestRouter.java
71.15% <0%> (+1.92%)
0% <0%> (ø)
:arrow_down:

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 77032af...4fc49d2. Read the comment docs.


Add function to allow setting Useragent

Add a method to the coreTracker to allow setting the useragent from trackers such as NodeJS.

cc @jethron


Rebrand demo script

Problem
The demo script is useful not only as a demo but also as the default way to quickly run the pipeline and see how it behaves under different scenarios. I feel like it's wrong to call it a "demo".
Idea
Change the name from "demo" to "stream", which also reads more clearly:
python -m diart.stream microphone
python -m diart.stream some_file.wav

It would also be useful to improve the argument documentation, since some information is missing, like default values.

Implemented in PR #47


copy cut past with a keydown!

Is your feature request related to a problem? Please describe.
I want to assign a key like c to copy directly, x to cut, v to past .without having to press CTRL
Additional context
this would make it possible to customize keys for Copy, Cut, and Past later!
Are you working on this? (Yes/No)
YES

It is listed in assignment task for a project , custom shortcuts, most of the applicants have already implemented it in their private repo,

It is listed in assignment task for a project , custom shortcuts, as well as it is a project task too, most of the applicants have already implemented it in their private repo,

This is not the project task

@tachyons @nitin10s shall we close this one

@tachyons @nitin10s shall we close this one

Why?

Because as far as I know, GSoC tasks would eventually be converted to Issues during the community bonding period.

No need to close this issue

@tachyons @nitin10s please can anyone of you reopen this issue then

@nitin10s this can be added in the new Key Shortcuts feature @abstrekt is developing


Make compatible with docker virtualbox

via docker-machine
if ip doesn't exists, it it ifconfig
closes #49

+1 kinda bricked until this is merged.  related to: https://github.com/wemanity-belgium/hyperclair/issues/81


Replace valueForKeyPath with custom function

Currently valueForKeyPath: is a little more generic than we need it to
be, and depending on the scenario this can cause an NSException to be
thrown, which cannot be caught from Swift.
Here is a case that will fail:
let dictionary = ["user": "not dictionary"] as NSDictionary
dictionary.valueForKeyPath("user.phone") // Crashes

But really in our use case, we don't care about non-dictionary objects
to be key value coding compliant for the key we're interested in.
Luckily, if the key is nil, it will not crash:
let dictionary = [:] as NSDictionary
dictionary.valueForKeyPath("user.phone") // Returns nil

To fix this, since valueForKey also crashes in these cases, we will
instead just treat everything as an NSDictionary and fetch the keys
accordingly.

:shipit:


Mismatched bases error

Fix discrepancy with the reported number of mismatched bases:

Close due to existing issue in #17