« first day (1277 days earlier)      last day (3208 days later) » 

5:31 AM
Some interesting commentary by @ilian:
3
Q: Why do I need to apply DiscretizeRegion to a derived region to visualize it?

murrayWhat are the design principles, or other explanations, as to why one needs to apply DiscretizeRegion to obtain a graphical representation of a derived region, rather than Graphics or Graphics3D? (It's not what I expected.) For example, Disk[{0,0}, 1] and Disk[{2,0},1] are displayed if you wrap e...

It'd sound like geometric regions functionality is actually planned to get improvements over time, unlike some functionalities...
 
 
3 hours later…
8:03 AM
@belisarius You might want to have a look at this.
 
 
1 hour later…
9:20 AM
Hi ?
@Mr.Wizard Hi ?
 
@Athanassios Hello :-)
 
Most kind of you to ask for a chat... ;-)
 
First, for reference, could you please paste the entire code for your example that did not work?
 
Sure .... just a moment.
rls2 = {"display_name" -> "Stones", "accept_rate" -> 80,
   "account_id" -> 495497,
   "badge_counts" -> {"bronze" -> 39, "silver" -> 9}};
This is the list of rules
defaults = {"age" -> Missing[],
  "badge_counts" -> {"bronze" -> #, "gold" -> #, "silver" -> #} &@
   Missing["NotAvailable"]}
These are the defaults...
OptionValue[{rls2, defaults}, {
  "display_name", "accept_rate", "account_id", "age",
  "badge_counts" -> "bronze", "badge_counts" -> "gold"}]
 
(you can click "fixed font" button after pasting but before clicking send to format as code)
 
9:24 AM
Oh I see....
OptionValue::optnf: Option name badge_counts->gold not found in defaults for {{display_name->Stones,accept_rate->80,account_id->495497,badge_counts->{bronze-‌​>39,silver->9}},{age->Missing[],badge_counts->{bronze->Missing[NotAvailable],gold‌​->Missing[NotAvailable],silver->Missing[NotAvailable]}}}. >>
This is the error message ....
 
OK, let me look at this example. I shall "ping" you when I have something, hopefully useful, to write.
 
Thank you.
 
@Athanassios Well, you're right, and it was my failing not to observe this problem when I posted that answer. At the moment I cannot see why this form should not work but I can confirm that it does not. Which Mathematica version are you using? In 10+ you should use Associations instead, but if you do not have that I shall try to find a solution.
We can at least get rid of the error message with:
OptionValue[{}, {rls2, defaults},
{"display_name",
  "accept_rate", "account_id",
  "age",
  "badge_counts" -> "bronze",
  "badge_counts" -> "gold"}]
But that does not fix the problem, and "badge_counts" -> "gold" is returned in the output. :-/
 
I am using 10.1
 
@Athanassios Okay, then I shall not try too hard to solve this old problem but I will update my answer to note my failing. If I find a solution in the future that doesn't involve un-nesting all the rules I shall post it.
 
9:40 AM
As for using associations, do you mean importing a JSON and then converting it with the ToAssociations ?
And second one thing you cannot have with associations is repeating the key.... is that right ?
 
@Athanassios Yes, that is what I meant, and again yes, you cannot have a repeated key as the second appearance will replace the first. Is that going to be a problem for you?
 
OK, I am still learning MAthematica constructs and how they can be used.... ;-) The general problem I am trying to apply Mathematica functions is data modelling with hypergraphs.... See my posts at LinkedIn and the AtomicDB. In fact I think a far more advanced data structure than association can be created....
The problem is repeating the key, .....
sorry write it again, repeating the keys (columns) for each record
and the solution of AtomicDB by creating context on the data means you can get rid of the keys !!!
it is like RDBMS but instead of fixing the order of values,
the values are replaced by having references
so a typical record can be
 
@Athanassios were you going to continue?
 
sorry... {2,7,257,1}->1 and {2,7,257,2}->2 and {2,7,257,3}->3......
These are (key, value) pairs .....
 
9:57 AM
@Athanassios Interesting stuff but it's going to take me a while to understand. (Thanks for the link.) If there is a specific problem you wish to solve I encourage you to post a Question about it. There are a lot of minds greater than my own on this site. :^)
 
No problem thanks for the chat, do you have a linkedin account, would you like to connect with me ?
 
@Athanassios Actually I don't. Sorry.
 
No problem, I will catch you later on a more specific Mathematica topic ;-)
Bye now ....
 
Okay :-) Bye.
@ArnoudBuzing I have a proposal: create a build of 10.2.0 with all the new features externally disabled but all the bug-fixes in place, and provide this as a free support release to all 10.0 licensees. How difficult would that be?
 
Somehow missed it during all that Pluto stuff...
 
10:18 AM
@Mr.Wizard I think it depends on if they can isolate the new features in source code.
 
@Edmund, that should surely be easy, if they have any kind of version control?
 
10:39 AM
AaaaAAAARRRGH!!1
DiscretizeRegion@RegionSymmetricDifference[Disk[], Disk[{1, 0}]] crashes v10.2 kernel.
Interestingly enough, BooleanRegion[Xor, ...] doesn't.
It seems like an v10.2 regression.
This works, though: DiscretizeRegion@RegionSymmetricDifference[Disk[], Disk[{1 + 10^-1000, 0}]]
Bug reported...
 
11:14 AM
It seems case numbers have risen by over 4500 since release of v10.2...
 
11:26 AM
Bugs, bugs everywhere, but nary a fix in sight\and soon more bugs shall come to light\When, oh when, will all these bugs go\hopefully not until 11.0
 
12:10 PM
I really hope the developers aren't getting attacked by management for the bugs, when presumably they already know they need a bug-fixes release and just aren't being allowed to make oneā€¦
 
@PatrickStevens People are exaggerating too... I mean 700 bug fixes in 10.2 isn't nothing.
700 fixes turns into "nary a fix in sight" in this chat :D
 
@Pickett But they're still adding new features, which makes it seem like less of a bugfix release and more of a "let's add regressions!" release :)
 
I think it's a bit exaggerated but sure, they could have put more focus on fixing bugs.
 
zab
12:29 PM
Hi all
How do I get mathematica to display 01 instead of 1 in PlotLabel etc
?
I have a list of tables. When the index switches from single to double digits, the size changes
Mucho annoying.
 
12:59 PM
@zab Use IntegerString[your number, 10, 2] where 2 is the length of the number (01 is two characters), 10 is the number base.
 
@Pickett, you mean, it isn't Nothing. :)
 
:P
 
 
9 hours later…
9:45 PM
I'm hanging out in Seattle this week, and I just showed one of my friends who runs a car data website how to generate a spreadsheet of earliest production years for over 1000 car models in a few minutes with Mathematica (using WikipediaData to generate model list and get article data, StringCases to parse, etc). He's now on Wolfram Store spending money.
 

« first day (1277 days earlier)      last day (3208 days later) »