_id
stringlengths
2
6
text
stringlengths
4
46k
title
stringclasses
1 value
d12201
Remove the column rental_id from the select list and sort the result by count(*) descending to return the top 1 row: SELECT cust.customer_id, cust.name, count(*) as Total_Rentals FROM rental as r INNER JOIN customer AS cust on r.customer_id = cust.customer_id GROUP BY cust.customer_id, cust.name ORDER BY Total_Rentals ...
d12202
You have to turn on the WORD-WRAP Feature in Visual Studio Code. There are 2 ways to do this: * *By using the View menu (View* → Toggle Word Wrap) *By using the Keyboard Shortcut Windows/Linux: ALT + Z Mac: ⌥ + Z
d12203
Change : ng-style="{'padding-left': grid.options.treeIndent * row.treeLevel + 'px'} to : ng-style="{'padding-left': (grid.options.treeIndent+10) * row.treeLevel + 'px'} Result
d12204
For protected OAuth requests, the signature is typically generated by using a pair of secrets (often a shared secret and an authorized token secret). As you've probably guessed, an ampersand ("&") is used to separate the two secrets. However, when a single secret is used as the signature (as with imgur) the ampersand...
d12205
The best solution is to downgrade the Flutter . after that update AndroidManifest file
d12206
You could separate the code that was extending the third party DLL into another DLL. Then, in your "extension manager" dll, use a config file to match your extending assemblies with the 3rd party ones. So, the config file could have an item with two entries like "someClass;inSome3rdPartDll" and then "yourClass;inYourDl...
d12207
Stripe Checkout with your live mode keys only works over HTTPS (or security reasons [0]), it works in localhost only in test mode. You should swap in your live mode keys only when you are ready for production and have your web page/app deployed. There is a handy checklist that you can reference so that you're meeting a...
d12208
EDIT: I found the correct link, and you can use the browser to translate to english. http://doc.open.youku.com/ The closest thing I can find to help you out this this thread, which contains a link that appears to go to Youku API documentation. I cannot get that link to open however. I hope this helps.
d12209
The question is why the layout worked under 1.0.2 at all. What you see under 1.1.0 is how the layout is really defined. There are a couple of constraints that moved the images and text out of the layout and produced the blank area that you see. I made the corrections to the following XML and all looks OK. (I changed th...
d12210
Your loop loops paragraph.length() times (the number of characters in paragraph), but each time you extract a word. See the problem? Use while (getline(ss, word, ' ')) instead. getline will return the stream it was given, and converting it to bool is equivalent to !ss.fail(). This basically loops until an extraction fa...
d12211
You forgot semicolons after your Ext.create() config. Seems to work just fine here. I made a fiddle http://jsfiddle.net/WGgR8/1/
d12212
You need a nested while to go through the days of the week rendering <span />s inside the week container. I'm not a php dev so can't help you with the implementation, sorry. A: The question is do these events depend on a specific time or are you just trying to throw them in 1 company event per day AM and PM? In which ...
d12213
First things first, I would like to be able to create several of SomeComponent from within App in the future. This (at least the way you're doing it) is not something that is possible or should be done at all when using React. You cannot create a component inside another component. The reason your useEffect is in an ...
d12214
Image Position (Patient) (0020,0032) specifies the origin of the image with respect to the patient-based coordinate system and patient based coordinate system is a right handed system. All three orthogonal planes should share the same Frame of Reference UID (0020,0052) to be spatially related to each other. A: Yes, th...
d12215
use the start.*?end in the re. The question mark means "as few as possible". A: >>> s = "startabcsdendsffstartsdfsdfendsstartdfsfend." >>> import re >>> p = re.compile('start(.*?)end') >>> p.findall(s) ['abcsd', 'sdfsdf', 'dfsf']
d12216
Windows Communication Foundation (WCF) was first introduced to the .NET Framework as part of .NET 3.0. It's not available with .NET 2.0. If the WCF service exposes a SOAP endpoint then you may be able to use it through the Web Service Extensions (WSE) that were published for old versions of Visual Studio. See here: htt...
d12217
Sample code below Main trick is unpivot, then using custom column and index to add the current, next, and next+1 row if they are the same Part Number let Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content], #"Changed Type" = Table.TransformColumnTypes(Source,{{"Part Number", type text}}), #"Unpivoted Other Colum...
d12218
If the Path variable in your code sample is user/uid/info, then the rules don't allow access to that location. The rules only allow per-user access to posts/uid. The path in your rules needs to match the path in your code in order for access to be allowed.
d12219
span is not a block element. padding will not work for inline elements. But margin will work. * *either you can use margin: 20px 18px; or *add display:block; or display:inline-block; to the span. padding will take effect once you make it a block element. A: Unlike div, p 1 which are Block Level elements which ...
d12220
I'm not sure how much this will help, but I have an example here using scala with the ical4j library to read a shared/public google calendar: http://github.com/kevinwright/lsug-website/tree/master/src/main/scala/org/lsug/ical4scala/
d12221
The TStringList::Strings[] property getter DOES NOT return a reference to a String object, like you are expecting. It returns a String object by value instead, which means a copy is returned as a temporary object. Strings[0][1] = ... has no effect because you are modifying that temporary object and not assigning it an...
d12222
var xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + "<CatalogProducts>" + "<CatalogProduct Name=\"MyName1\" Version=\"1.1.0\"/>" + "<CatalogProduct Name=\"MyName2\" Version=\"1.1.0\"/>" + "</CatalogProducts>"; var document = XDocument.Parse(xml); IEnumerable<CatalogProduct> catalogProducts...
d12223
Just get the height of the menu bar and subtract it from the offset like for example if the menu is 60px $("#button").click(function() { $('html, body').animate({ scrollTop: $("#myDiv").offset().top-60 }, 2000); });
d12224
Assuming that you have a good reason for doing this in XSLT (like, it's part of a larger task, or XSLT is your only programming language), you should take a look at the EXPath file module. The file:copy() function copies a directory. http://expath.org/spec/file#fn.copy It's available in Saxon-PE 9.6 or later/higher. A...
d12225
What is value here? UIPicker's value? or it's some other control in your view? Check out Highlighted state for UIButton in Interface Builder... hope this helps!
d12226
add the below method which generate the previous url in your controller and override the default one add following methods in your controller in your controller where you have defined $this->validate call define below method and use Request use Illuminate\Http\Request; // add at the top protected function getRedirectU...
d12227
Why not try printing out System.getProperty("user.dir"); and finding out what the application thinks? user.dir User's current working directory use the following to get the PARENT of where you .jar is loading from, which is what it sounds like you want import java.io.*; public class Main { public static void m...
d12228
You can use $reduce to convert an array of strings into single string: db.collection.aggregate([ { $addFields: { notes: { $reduce: { input: "$notes.term", initialValue: "", in: { $cond: [ { "$eq":...
d12229
TableFixHeaders project on github has an implementation with both Adapter an Recycling of views, plus handles scrolling wery nicely. And is quite easy to modify to suit your needs. This is not so uncommon request, so it has been done numerous times. I am sure you can find other implementations if this one is not right...
d12230
ImageSource.Width and ImageSource.Height A: You actually kind of answered your own question. There are two dependency properties that you can use: ActualWidth and ActualHeight. This will give you the size that the picture is using on the screen, not what is currently set, which is what Width and Height give you. Al...
d12231
If you use the widget like in the notebook of blois, you can use the following code to call the value: fruit_picker.value This will return the value of your chosen fruit. The code in total will look like this: import ipywidgets as widgets fruit_list = ['pomegranate', 'watermelon', 'lychee'] fruit_picker = widgets.Drop...
d12232
Unless I've misread that error stack it looks to me like that error is coming from HttpLoggingInterceptor trying to allocate a 102Mb buffer to quite literally log the whole of your Image data. If so I presume you've set the logging level to BODY, in which case setting it to any other level would fix the problem. A: Ad...
d12233
You need an index on :Doss(Num) or this won't be able to finish in a reasonable amount of time. The key is that most Cypher operations execute per row. So the second MATCH is being executed per each result from the first MATCH. If you don't have an index, then this will likely be doing a NodeByLabelScan for a, and then...
d12234
Have you tried it with an external manifest and ensured that works? If an external manifest doesn't work, then the manifest information isn't correct. Once you have a valid external manifest, you might try the Manifest Tool (MT.EXE) from the .Net SDK. It works well with true EXE files. As Terry noted though, the PB ...
d12235
There are a lot of things wrong with what you have. Here is just a simple example that should work for you. practice.php <?php if(isset($_GET['f'])) echo strip_tags($_GET['f']); ?> index.php <?php function myFirst() { echo 'The First ran successfully.'; } ?><html> <head> <title>Writing PHP Function</ti...
d12236
You should be safer with something like this: $(document).ready(function(){ setInterval(function(){ $.ajax({ type: "GET", url: "ajax_files/manage_friend_requests.php" }).done(function(result) { var $friends_requests = $('#all_friends_requests'); if ($f...
d12237
Below code works fine , I have changed the following things a) axis should be ax b) DF column names were incorrect c) for any one to try this example would also need to install lxml library import pandas as pd import numpy as np import matplotlib.pyplot as plt from nsepy import get_history import datetime as dt start...
d12238
db.products.aggregate([ { $lookup: { from: "orders", localField: "orderId", foreignField: "orderId", as: "docs" } }, { $match: { docs: [] }, { $limit: 10 } ]).pretty()
d12239
In traced = torch.trace(model.forward)(xample_inputs=(x, hidden)) you are passing a method i.e model.forward you should be using something like this traced = torch.trace(model.forward(x)) if your model is already had an instance with parameters
d12240
It's overkill for your needs but in general to print the yth ,-separated subfield of the xth :-separated field of any input would be: $ awk -F':' -v s=',' -v x=4 -v y=1 '{split($x,a,s); print a[y]}' file red A: Or awk -F '[:,]' '{print $4}' test output red A: It sounds like you are trying to extract the first fiel...
d12241
It's not a matter of "how long" but "at what point". There's enough of a distinction that it's important to study it. :-) Usually array controllers are automatically updated (re-fetch their contents in this case) on the next run-loop but technically "at some future run loop". If you want them to update immediately afte...
d12242
=IF(XLOOKUP(N7,'EDL Filter'!R2:R660,'EDL Filter'!AA2:AA660)="YES","Port Specific",XLOOKUP(N7,'EDL Filter'!R2:R660,'EDL Filter'!AB2:AB660) ) I've tried splitting it up as I have with other Xlookup statements below: ActiveCell = "=IF(XLookUp(N" & SafetyRow2 & ",'EDL Filter'!R2:R660,'EDL Filter'!AA2:AA660)=""Yes"",""Port...
d12243
It seems that you can't do it from vs code, it has to be done in android studio... I have searched for an answer as well as I was stuck with this and ended up doing it in android studio. If someone has a solution please share. A: Flutter has its own default icon for every app in its Android and Ios folder so there are...
d12244
After some try and error I found the answer and it's pretty obvious now. The thing is, that I was searching for data in the wrong place. The vmobject that I defined like this vm = new Vue({ template: '<div><account></account></div>', components: { account } }).$mount() Is a Vue instance that only have a component ...
d12245
Escape the apostrophe with a backslash; select notes from table1 where notes like '%\'%'; And to update, use REPLACE() UPDATE table1 SET notes = REPLACE(notes, '\'', ''); A: Did you try: select notes from table1 where notes like "'%";
d12246
Add these 2 keys in your Info.plist: LSSupportsOpeningDocumentsInPlace and UIFileSharingEnabled. And set YES as the value for both. Now you will be able use the Files app to see any file saved by your app in Documents Directory. A: Swift 5.0 and iOS13 let documentController = UIDocumentPickerViewController(url: expo...
d12247
You can use the following general tree traversal function, taken from How to flatten tree via LINQ? public static class TreeHelper { public static IEnumerable<T> Expand<T>(this IEnumerable<T> source, Func<T, IEnumerable<T>> elementSelector) { var stack = new Stack<IEnumerator<T>>(); var ...
d12248
In principle, any linux distro will work with the cluster, and also in principle, they can all be different distros. In practice, it'll be a enormously easier with everything the same, and if you get a distribution which already has a lot of your tools set up for you, it'll go much more quickly. To get started, someth...
d12249
Regular expressions are not the right choice, when it comes to parsing text. Parsing for example includes the functionality of counting backslashes, quotes, etc. Use a parser library (like ANTLR), or live with a semi-robust regular expression solution. A: if you want to get those strings before and after "=>" you can ...
d12250
I've fixed this and it had nothing to do with the hosting company. I published a new version of the site, but in the publish profile I told it to delete all files which deleted the .htaccess file which contained the version of PHP in. Unfortunately, I needed version 5.4 or above to run my code but since the file was r...
d12251
Instead of using an event, I used an observable in one of the fields. The exact solution to the problem I proposed is here. And I solved it using what I found here (they are basically the same thing, but I included mine for completion).
d12252
Your pattern is working. It is checked onsubmit, not onkeydown nor onkeypress. However, the pattern is nondeterministic. It should be writen in such a way that every character is matched by at most one subpattern. In this case, deterministic version is: [a-z](([a-z]{1,2})|([\s,]+[a-z])*) Also maxlength="3" will not wor...
d12253
For me, the project groups appear under: C:\Users\aedison\AppData\Roaming\NetBeans\8.1\config\Preferences\org\netbeans \modules\projectui Replace aedison with your user name and replace 8.1 with your Netbeans version. Hopefully that gives you a pointer in the right direction. I would caution you against manually mes...
d12254
As Glen said here there is no method to directly restore trash mails through Graph API. Please raise a feature request for this in the Microsoft Graph Feedback Forum so that the product team could implement it in the future.
d12255
Method Two is the way Autodesk recommends in the developer's documentation (you can read this section). In Method One, you use the ObjectId.GetObject() method to open the BlockTable and the model space 'BlockTableRecord'. This method uses the top transaction to open object which means that there's an active transaction...
d12256
This schema does not allow arbitrary values in the "level" attribute. There is no way to extend the set of valid values.
d12257
Try this: app.post('/api/character', function(req, res) { console.log(JSON.stringify(req.body)); res.status(200).send('whatever you want to send back to angular side'); }); app.get('/api/character/:id', function(req, res) { console.log(req.params.id); res.status(200).send('whatever you want to send back to an...
d12258
This code seemed to work. // Declare the futures list val arrayListNode = ClassHelper.make(ArrayList::class.java) val variable = "myVariable" val variableDeclaration = GeneralUtils.varX(variable, arrayListNode) val asListExpression = GeneralUtils.ctorX(arrayListNode) // Look for the arraylist constructor in the node v...
d12259
Bots are now easily detected by Instagram. Your account could be banned for 3 days, 7 days, 30 days or definitively if Instagram detects too many attempts Usually bots simulate a browser via Sellenium and then create a "browse like a human" bot to create likes, follow, unfollow, etc.
d12260
You're trying to use await within a constructor. You can't do that - constructors are always synchronous. You can only use await within a method or anonymous function with the async modifier; you can't apply that modifier to constructors. One approach to fixing this would be to create a static async method to create an...
d12261
Your PHP code is producing JSON in an incorrect format for the Google Visualization API. Try this instead: <?php $con=mysql_connect("xxxx.xxxx.xxxx.xx","Myuser","Mypass") or die("Failed to connect with database!!!!"); mysql_select_db("data", $con); $sth = mysql_query("SELECT * FROM data"); $data = array ( 'cols...
d12262
SELECT c.courseID s.studentName FROM course AS c JOIN asks AS a ON a.courseID = c.courseID JOIN student AS s ON s.studentName = a.studentName JOIN asks AS a2 ON a2.courseID = c.courseID JOIN student AS s2 ON s2.studentName = a2.studentName AND s2.seniority ...
d12263
When you add LEFT JOIN hintout_thanks AS ht2 ON h.hintout_id = ht2.hintout_id The number of rows increases, you get duplicate rows for table hc, which get counted double in COUNT(hc.comment_id). You can replace COUNT(hc.comment_id) <<-- counts duplicated /*with*/ COUNT(DISTINCT(hc.comment_id)) <<-- only counts uni...
d12264
Try to return document itself instead of Object in read method of CommReader.java and then check whether its coming null or not in the writer to stop it.
d12265
That is my prefer ..you can try it <?php $link = "http://www.example.com/abc?"; //try with object // $a = new stdClass(); // $a->a = "a"; // $a->b = "b"; //try with array $a = ["a","b","c"]; header("location:{$link}param=".json_encode($a)); www.example.com/abc <?php $data = json_decode($_GET["param"]); var_dump($data...
d12266
I recommend two sites: IconArchive and Icon8. They both have free icon sets that can help you to get you started with your designs! Cheers A: Depends on what kind of resources your looking for, if it's mainly icons I suggest: http://iconfinder.com If your looking for photo resources I would try http://gettyimage.com
d12267
Use a for loop to go from index 0 to yourArray.length - 1 and record the index of the first element with a value greater than 0. int firstIndex = -1; for (int i = 0; i < yourArray.length; i++) { if (yourArray[i] > 0) { firstIndex = i; break; } } Alternately, use a method which returns i immedia...
d12268
Attr will return value only for the first item. Read the full docs about it here. Description: Get the value of an attribute for the first element in the set of matched elements. So you need to filter the found items with your condition (specific data attribute in your case). For example, using .is() method if ($('.i...
d12269
Maybe consider using the Boost-Python library for interfacing between Python and C++.
d12270
Please check this related issue on github, I think it has the right answer for you: https://github.com/vuejs/vue-loader/issues/328 Specially look for mister shaun-sweet's answer.
d12271
include courses into student instance var dbStudents = await _dataContext.Student .Include(i=>i.Courses) .ToListAsync(); and fix Course class public class Course { public int Id { get; set; } public string CourseName { get; set; } = nul...
d12272
Ok here's what I found. I am using com.objsys.asn1j.runtime library; I need to implement the whole sequence in Java classes, and make each class extend Asn1Seq, Asn1Integer or other super classes from the library. In each class which extends Asn1Seq (ie. all Sequence-like classes) I need to override the decode method a...
d12273
I had the same issue on El Capitan, after I messed with OpenSSL. This means your Java certificate is screwed up. In the end, I fixed the problem by reinstalling the JDK. You can do this by first removing the current JDK under: /Library/Java/JavaVirtualMachines/jdkmajor.minor.macro[_update].jdk Then run: sudo rm -rf jd...
d12274
M2_HOME is set as the old maven home directory. Seems maven will pick up the MAVEN from this environment variable.
d12275
Try this: for dirs in $(ls -F /code | grep '/') do eval files=( "$(ls -1 ${dirs})" ) <ShellScript>.sh "${dirs}${files[0]}" "${dirs}${files[1]}" "${dirs%/}" func 50 done
d12276
Ok well, this is under the assumption that you want to specify how many times you want to copy A1 and B2 down the sheet. So your loop is fairly confusing, instead of using MOD, since you know you want it every 6 spaces and you're not doing anything to the other cells, it's easier just to have the number multiplied by 6...
d12277
The syntax for conversion in DW 2 is different. The Code you used is from dw 1. Adding references to type conversions in dw 2 below and fixed your DW script as well. https://docs.mulesoft.com/dataweave/2.1/dataweave-types %dw 2.0 import * from dw::util::Coercions output application/json --- { "quoteId" : vars.set...
d12278
y0 and y1 value 0-1 refer the yaxis amplitude. So you can set y0 and y1 value 0-1 in your layout configuration of the shape and setting the yref as 'paper'. Further documentation can be found here. { type: 'rect', xref: 'x', yref: 'paper', x0: 0, y0: 0, //y0: 0~1 range x1: 5, y1: 1,//y1: 0~...
d12279
This can be achieved with a module: #! /usr/bin/env ruby module Modulino def modulino_function return 0 end end if ARGV[0] == "-test" require 'test/unit' class ModulinoTest < Test::Unit::TestCase include Modulino def test_modulino_function assert_equal(0, modulino_...
d12280
I had the same issue with version 4.18.0 Facebook SDK. I reverted to an older version 4.17.0 and I no longer get the crash.
d12281
You can achieve that by using the is_home() method. Here is the reference to the method. <header class="entry-header"> <?php if ( has_post_thumbnail() && ! post_password_required() ) : ?> <div class="entry-thumbnail"> <?php the_post_thumbnail(); ?> </div> <?php endif;if(!is_home()):?> <h1 class="entry-title"><?php ...
d12282
I'm guessing you have already created the table? And that the table is as per your requirements? I myself am learning Hibernate, and I find these few problems with your code: a) @Column(name = "Name") annotation should be there on top of your Name getter setters. b) Also, I think in your hibernate.cfg.xml, it should sa...
d12283
Let me describe a couple of ways of how you could do this. ArrayObject with custom code ArrayObject implements all of the interfaces that you want. class DomainData extends ArrayObject { public $domainId; public $color; public function __construct($data = array()) { parent::__construct($data); foreach ...
d12284
If you know (Line1, City, State) you can determine zip. So, {Line1, City, State} -> zip Not the other way around. Because the same zip may contain multiple Line1 values for the same City and State (e.g. different house numbers on the same street). For 3NF the relations can be * *Person {ID, Name, Age, Line1, City, ...
d12285
There are similar questions like this or this other one. Before JavaFX 11, whenever you were calling something JavaFX related, you had all the javafx modules available within the SDK. But now you have to include the modules/dependencies you need. Your error says that you are using FXML but it can't be resolved, but you...
d12286
Use group_cancat() - $get_products = Product::select('id','name','mrp','price','status',DB::raw('group_concat(proportion)')) ->groupBy('name')->get();
d12287
Declare the static variable outside the onKeyDown and increment variable inside the onKeyDown and return if the value is equal to 3 and at the end again equal the static variable equal to 0; static int i=0; public boolean onKeyDown(int keyCode, KeyEvent event) { if (event.getKeyCode() == KeyEvent.KEYCODE_POWER) { ...
d12288
I haven't implemented in Ionic. But you can use the exact same thing in Ionic too: import { Component } from '@angular/core'; import { FormBuilder, FormGroup, FormArray, FormControl } from '@angular/forms'; export interface Data { ITEMS: Array<Item>; } export interface Item { NAME: string; QUANTITY: Array<strin...
d12289
Because the delimiters you want on the string seem to vary according to which part of the string they follow (some have '/', others have ' '), there's probably not a lot you can do there. If the delimiter were always the same (such as a space), you might use an array and then use join: var parts = []; if (level !=...
d12290
From this escape sequence reference: ISO C requires a diagnostic if the backslash is followed by any character not listed here. So a compiler is required to print a message about it. After a quick reading of the C11 specification (INCITS+ISO+IEC+9899-2011[2012], following the references in the above linked reference)...
d12291
I found the answer, thanks anyway. <!doctype html> <html> <head> <meta charset="utf-8"> <title>CSS3 - Fade between 'background-position' of a sprite image</title> <style type="text/css"> #button{ float: left; background-image: url('sprite.jpg'); background-position: 0 -60px; ba...
d12292
In my opinion the best way might be a join of the two dataframes and then you can model the conditions in the when clause. I think if you create a new column with withColumn it iterates over the values from the current dataframe, but I think you can not access values from another dataframe and expect it also iterates t...
d12293
This pretty much unambiguously says the server says the server has no messages in the INBOX: A1 SELECT INBOX * 0 EXISTS * 0 RECENT Either they are in another folder, or they are in another account.
d12294
@Effect() search$: Observable<Action> = this.actions$ .ofType(book.SEARCH) .debounceTime(300) .map(toPayload) .filter(query => query !== '') .switchMap(query => { const nextSearch$ = this.actions$.ofType(book.SEARCH).skip(1); return this.googleBooks.searchBooks(query) .takeUntil(nextSearch$) ...
d12295
The reason it flickers is because when you assign the width or height to a canvas element, this action resets the entire context of the canvas, most likely that is causing the blank frame. Try moving all the canvas/context definitions outside the drawCanvas. Something like: var elem = document.getElementById('c'); var ...
d12296
Please try the following solution based on XML and XQuery. Notable points: * *We are tokenizing input string as XML in the CROSS APPLY clause. *XQuery's FLWOR expression is checking for numeric integer values with a particular length, and substitutes then with a replacement string. *XQuery .value() method outputs b...
d12297
sample_string.erase(i,j) Calls the erase method on the sample_string object (assuming that this is an instance of a class that implements this method). string(sample_string).erase(i,j) Creates a temporary instance of the string class, calling a string constructor using the sample_string object for initialization ...
d12298
Here was an incorrect solution. Counterexample for your solution. Suppose, that one in square is the only one important. Your solution will delete one road. A: If you can prove that the optimal number of cuts is equal to the number of different cycles* that contain an important node, solving the problem is not that h...
d12299
use the following line. sys.path.insert(0, '/some/dir/submodules')
d12300
The FRC will only observe changes to the objects that it is directly interested in, not any of the objects that they are related to. You should configure your own observation, either directly with KVO or to the context being saved, and use that to trigger a UI refresh.