« first day (2406 days earlier)      last day (2088 days later) » 

3:47 AM
Considering Jlink is just outputting byte code would it be feasible to wire it into android studio?
 
4:09 AM
I sent a message to support to see what they will say.
 
 
2 hours later…
6:03 AM
@William "Considering Jlink is just outputting bytecode"? That doesn't make sense to me. JLink is an interface between Mathematica and Java. At which point does it output bytecode?
 
pity it does not work:
MatchQ[<|a -> 1, b -> 2, c -> 3|>,
  KeyValuePattern[{a -> 1, KeyValuePattern[{b -> 2}]}]
]
considering associations merge automatically
@CarlLange @MichaelHale @halirutan, maybe he did trigger Reddit :)
 
7:02 AM
@Kuba Maybe :)
 
7:19 AM
@halirutan I forgot a closing bracket somewhere, is there a way to find the problematic expression? IntellijJ highlights only the very last line as the one which was not closed.

Running package via notebook interface narrows the problem down to the problematic cell, so it is better but it is not shown in nested groups XD.

Any tips?
 
7:29 AM
@Kuba When you go at the end of the file where the error is shown, using Ctrl+[ should bring you to the place where the unclosed brace is opened.
 
@halirutan neat!
Thanks
@halirutan is there a way to Get @ givenFile within already opened FE from IntelliJ?
I don't need full load/build stuff, just to get a file
 
@Kuba Only manually. What I do is usually in IDEA I use Alt+1 to navigate to the project view and navigate to the file. Then Ctrl+Shift+C to copy the full path and insert it in Mathematica.
It's been I don't know how, since I made the request to open-source the Workbench so that I can finally see how they do all the FE integration. But there was no real feedback..
 
@halirutan not sure if that would be convenient enough. I have a multipfile project setup where I can do as follows: launch full project, edit on file, get that file, test changes. So I can develop without reloading full project. Which also means I need to be able to Get the file quickly and file can change
Currently I have a .m notebook with toolbar and Get @ NotebookFileName[] button
That is probably the main feature that keeps me in the FE
instead of IntelliJ
@halirutan I suppose I could use 'External Tools' for this, not sure I could associate a shortkey with them though.
Alaternatively I could try to work with Intellij and have a project nb opened in FE and create a gui project-explorer to get selected file with a click
don't have time for this atm
 
7:50 AM
@Kuba I would very much have it too. The main problem I have kept asking people for ages is: How do I control a running FE through MathLink?
 
But if @b3m2a1 reads that he will probably say, 'I didn't sleep only for last 3 nights so here's something I cooked up'
@halirutan do you have 'can't tell you' response or just no response?
 
I have an idea that includes having a palette in Mathematica the lets you do it the other way around: Connect to a running IDEA by opening a MathLink from withing a running FE. Then we have a connection that I might be able to use to send requests to the running FE.
13
Q: Control Front End in "mathlink" mode

halirutanNote: This question was already posted in the Wolfram community. In a terminal math session, we can start a front end (FE) easily by launching it though LinkLaunch or by using functions provided in the Developer` context (thanks to Oleksandr for telling me about this). Here is a very basic exa...

 
@halirutan but have you asked devs/support too, or only via SE/community?
 
In a best-case scenario, I can do the following things from within IDEA

- connect to a running FE
- talk to the FE, inject cells, evaluate stuff
- talk to the running kernel that the FE is using (so I can load packages automatically or get evaluated results back to IDEA)
@Kuba I'm not so sure atm, but I believe I asked the same thing on WC.
 
I will ask JF if I meet him
 
7:56 AM
@Kuba I see now, that I did ask on WC
Same silence though.
 
@halirutan not sure if that is worth the effort, any feature would need to be implemented by you, while having lightweight project explorer in FE would allow customization with WL. And one usually needs to have FE launched during development.
 
@Kuba It would add a great feature to the plugin. "Running" packages or code is one of the things many users ask me. And I simply refuse to hack a solution that opens a new Mathematica all the time (knowing that I still cannot control the FE even then)
@Kuba In theory, it would be possible to even support a debugger. That's why I'm so keen to see the WB sources.
 
I see
I will think about it, explorer is already there:
13
Q: How can I get a FileNameSetter-like dialog inside my own custom dialog?

LLlAMnYPI am making a GUI for one of my programs. The program is tasked with opening certain data files containing optical spectroscopy data and then doing things which are unrelated to this question. The files are usually named something like "jul08a.big" which is not very descriptive, but will not be ...

so we would need to establish what features/actions are needed polish the gui
 
@Kuba But right now I have my desk full of Rubi stuff. I'm constantly working on this, I'm helping the SymJa project to get it working in its Java library, etc..
 
I see. Will let you know once I find motivation under condition of free time and do something about it.
K, going back to code, have a nice day
 
8:03 AM
@Kuba Have a nice day too.
 
9:01 AM
I have not been following SW's live streams for the past 2 months or so. Have they discussed any graph stuff?
 
9:46 AM
Strange, Internal`ComparePatterns[ h[_, _, _Association], h["", _, _Association] ] returns Incomparable but downvalues will be reordered
 
9:59 AM
Isn't this surprising?
foo // ClearAll
foo[_, _, _?NumberQ] := 1;
foo["test", _, _Association] := 2
?? foo
==> no reordering
Isn't that crazy?
foo // ClearAll
foo[_, _, _?NumberQ] := 1;
foo[x_Integer, x_Integer, x_Integer] := 2
?? foo
==> no reordering
 
10:17 AM
Or should I already know that pattern test is so impactful?
 
 
1 hour later…
11:30 AM
@Kuba At least the first example isn't that surprising:
foo // ClearAll
foo[_, _, _Integer] := 1;
foo["test", _, _Association] := 2
?? foo
This also doesn't reorder, and has not pattern tests
I guess the main issue with pattern tests is that someone needs to hard-code the fact that _Integer is more restrictive than _?NumberQ - and even if they did, what about _?(NumberQ@#&)?
 
i am new on stack exchange and i don't know how to use integral symbol to type questions? please help me i am weak in coding but i really want to understand it to ask my maths question
 
@LukasLang I don't have a strong opinon on that but I'd say that pattern test should be less specific by default. And even if not it should be incomparable but then I'd expect something smarter from the case of equal numer of arguments where comparison results in {clearly specific, same, incomparable}
@AdarshKumar use input form, Integrate[Exp[x], x] etc
 
@Kuba how can i do it using html?
 
@AdarshKumar ? you don't need html, just type. For code block formatting see mathematica.stackexchange.com/help/formatting
 
can we make a group on instagram for sharing knowledge
 
11:46 AM
@AdarshKumar I doubt instagram is better suited for this than stackexchange :) Or?
There is also community.wolfram.com in case you are more into open discussions about WL
 
@Kuba ok
 
 
1 hour later…
1:10 PM
I could bet in pre 11.3 CurrentValue[EvaluationNotebook[], {"CounterValue", "ItemNumbered"}] would return a counter value for current selection in the notebook, now it is always 0.
Can anyone reproduce the problem?
 
 
4 hours later…
6:10 PM
@C.E. Cool! Could you announce on Community? Your nice website I mean.
 
7:09 PM
@VitaliyKaurov Thank you, I will do as soon as I get one or two more articles up so it doesn't look so empty. Looking forward to being a bit louder about it then.
 
7:46 PM
@halirutan I have tried the new package Rubi (4.16.0.2 "revisited") on Mma 8. Now, it works.
 
 
3 hours later…
10:54 PM
@andre Thank you very much.
 

« first day (2406 days earlier)      last day (2088 days later) »