« first day (1213 days earlier)      last day (3277 days later) » 

4:32 AM
Hmmmh... Z3 has bitvector types which don't have specific type semantics for signedness, only per-operation unsigned/signed semantics. How to represent these semantics sensibly in Mathematica?
My current idea is something like Assuming, a block which would modify interpretation of enclosed operations as wanted...
 
 
1 hour later…
5:38 AM
@RolfMertig I have the opposite problem, as you know. The business wants to learn Mathematica...
 
6:01 AM
Hmm, I've e-mailed Shog weeks ago if they're still interested in restoring my modly powers back, but no response. I wonder…
 
 
2 hours later…
8:07 AM
Would a few people please review my list of possible duplicates below this question and vote if they agree with one of them?:
6
Q: How to delete Missing["NotAvailable"] from list of rules?

SuTronConsidering we have a list of rules: { First-> {a-> "aaaa", b-> "bbbb"}, Second-> {c-> "cccc", d-> "dddd", e-> Missing["NotAvailable"], f-> Missing["NotAvailable"] }} How can I bring this to be: { First-> {a-> "aaaa", b-> "bbbb"}, Second-> {c-> "cccc", d-> "dddd" }} Thanks.

 
 
3 hours later…
11:36 AM
What is the best way to get the maximum value of an association and preserve the key? Max[ass] gives just the value. Is MaximalBy[ass, Value] the best way to go? I see the problems with duplicate maxima.
 
11:59 AM
@MichaelE2 Are you around?
 
@Szabolcs I just sat down with my coffee. :)
 
@MichaelE2 I haven't used Dataset much because it seemed cumbersome and buggy when v10 came out, but now I'm trying to use it again. Is this normal? --> Dataset[Range[10]][Select[# > 4 &]] gives {5,6,7,8,9,10}, it's what I expect.
Dataset[Range[10]][Select[# > 4 &] /* Length] gives 6, what I expect.
Dataset[Range[10]][Length@*Select[# > 4 &]] gives errors:
I'd assume f @* g and g /* f to be equivalent.
@MichaelE2 Am I missing something?
 
@Szabolcs I haven't used Datasets extensively either. What you say about the compositions seems right....let me see
 
It might be about descending vs ascending stuff
@MichaelE2 If you haven't used them either, don't bother.
 
@Szabolcs OK. I might play a little. I'll ping if I find something. Otherwise have a nice day.
@Szabolcs Try Length@*Select[# > 4 &][Range[10]]
 
12:06 PM
@MichaelE2 That should be (Length@*Select[# > 4 &])[Range[10]], no?
 
@Szabolcs Oops. (Yes.)
 
I think it's interpreting it as descending with /* but ascending with @*, it's a but confusing ..
 
12:21 PM
An ordinary `Trace` shows the error. Not sure but seems like a bug. The offending command is ``(Dataset`Query`PackagePrivate`comp[#2][#1] &)[Identity,
Length@*Select[#1 > 4 &]]`` and you can inspect the function with ``PrintDefinitions[Dataset`Query`PackagePrivate`comp]``....
 
12:48 PM
Hm, Dataset still not ready for prime time? These things are so frustrating. That's why I keep going back to the old way of doing things.
 
12:58 PM
If I had not said this before, I'll say it now: the profile page now looks even more like a nuclear plant's control panel than when I last saw it…
2
 
The documentation mentions why /* is complicated: "When one or more descending operators are composed with one or more ascending operators (e.g. desc/*asc), the descending part will be applied, then subsequent operators will be applied to deeper levels, and lastly, the ascending part will be applied to the result at that level."
 
 
1 hour later…
2:05 PM
@Szabolcs The documentation gives the appearance of rather complicated distinctions and I guess I have no reason for delving deeper at this point. A single reading is insufficient....You might not care but the bug can be fixed by changing Dataset`Query`PackagePrivate`comp[#2] [#1] to Dataset`Query`PackagePrivate`comp[#2] /* #1 in Dataset`Query`PackagePrivate`foldops` :
Block[{Dataset`Query`PackagePrivate`foldops},
 Dataset`Query`PackagePrivate`foldops[ops_List] :=
  Dataset`Query`PackagePrivate`optimizeops[
   Fold[Dataset`Query`PackagePrivate`comp[#2] /* #1 &, Identity,
    Reverse[ops]]];
 Dataset[Range[10]][(Length@*Select[# > 4 &])]
 ]
Of course it will probably break something else. :/
 
2:19 PM
I seem to be getting the impression that the Wolfram developers were rushed quite a bit to release version 10. It's not like writing guaranteed-correct software is as easy as writing a tweet.
7
 
2:39 PM
posted on May 15, 2015 by Christopher Wolfram

Cryptography has existed for thousands of years, but before serious computers came around, only specific kinds of messages were worth encrypting. Now that computers routinely manage a huge amount of communication, there is little downside to invisibly applying cryptography to almost everything, from verifying where information comes from to exchanging information securely. Because of cryptograp

 
2:49 PM
Nice, concrete explanation with examples of why current deep NNs for computer vision aren't deep enough: evolvingai.org/fooling
 
 
1 hour later…
3:55 PM
Hi , if someone has Mathematica on a mac or a Linux system, could you please evaluate this code: ButtonLabelStyle[x_] := Style[x, 10]
Button["//ContractBasis" // ButtonLabelStyle, Null, ImageSize -> 85]
It simply displays a button. My question is : does the label of the button look good or is hyphenated? On Windows it is good, but i fear that on other platforms it might not be so.
It is 2 lines of code
 
@magma :/
 
@Pickett Thank you @Pickett . This is very annoying. Did you try it on a Mac or Linux? Probably the default font is larger on a Mac than in windows. Probably i should explicitly mention a (more compact) font, but which one?
 
4:14 PM
@magma No problem. Mac. If it's any consolation even the first "neat example" in the documentation has this problem.
 
@Pickett in the documentation of "Button" ? Well it is no consolation. I use this code in my xPrint package, so I need to fix it asap for mac users.
 

« first day (1213 days earlier)      last day (3277 days later) »