« first day (2473 days earlier)      last day (2309 days later) » 

05:26
@user193319 First of all, you need to get the Syntax right. All Mathematica functions start with an uppercase letter and ususally, separate words in one command use camelcase, which means each separate word starts again with an uppercase letter. Example: ListLinePlot.
Secondly, Mathematica uses brackets for function application [..]. Always.
({...} is for lists and (...) is only to give an expression a higher precedence like in a * (b + c).)
Numeric Eigenvalues are already sorted and are returned in a list
Eigenvalues[{{1, 2, 3}, {2, 1, 3}, {3, 2, 1}}]
If you want the largest, you can simply call
First[Eigenvalues[{{1, 2, 3}, {2, 1, 3}, {3, 2, 1}}]]
 
1 hour later…
06:39
@user193319 if this is a pure Maxima question we probably cannot help you. We only really do Mathematica here.
@Kuba One issue with Block for $ContextPath localization is that it can cause lots of shadowing messages. I've found it cleaner to use System`Private`NewContextPath, System`Private`RestoreContextPath, and Internal`WithLocalSettings
You can always Block on $Context though, without issues
@Szabolcs @Kuba I use Qt Creator and even though I barely use its features to their fullest extent it's been very nice for me.
06:55
@Szabolcs CLion is nice but it is not available as Community edition! You need a paid license.
07:53
@b3m2a1 I haven't had any problems with shadowing but then, I don't use them very much. Can you outline a problematic case?
08:44
Is this question really so difficult?
2
Q: Simplify (or Reduce) a system of inequalities intelligently

apt45I have the following system of inequalities of 4 real variables 3 (a + b) + 4 (d + c) > 0 && 2 (a - d) + 3 (b - c) > 0 The system can be written as a system of 3 independent variables using the following variables a+b=x d+c=y a-d=e b-c=x-y-e 3x+4y>0 && -e +3(x-y)>0 Is there a way to do thi...

 
1 hour later…
10:10
This guy does not work for me, the site is not opened and it echoes $Failed:
RunScheduledTask[Echo@SystemOpen@"https://www.wolfram.com", {1}]
Can you reproduce the problem?
10:47
Anyone? ^
@Kuba yeah, failed
@CarlLange Thanks. The strange thing is it fails in 90% cases and quite recently I had this working. Not sure what and when went wrong.
@Kuba Feels like it could be an OS problem?
I'm on Win10. But It works if not run from scheduled tasks.
Hmm. I'm on OSX Mojave, so perhaps not.
I don't really know how scheduledtask works though, so can't help you there :)
10:56
SystemOpen is eventually run by the FrontEnd. And when it is called from ScheduledTasks it is sent via a ServiceLink as opposed to a MainLink where Shift+Enter requests are sent.
But I don't see how this can affect it.
11:07
¯_(ツ)_/¯
insert regular complaint about how expensive MMA is here
Desperate to use MMA at my new job but it's so expensive for professional work
:(
 
1 hour later…
12:37
Can someone try this:
s[m_]:=Table[\[Omega]/(4 \[Omega]^2+(m^2-\[Omega]^2)^2),{\[Omega],0.01,10,0.01}];
list=Table[s[m],{m,0.,10.,0.001}];
list//ListLinePlot,crash,list//First, crash
"11.3.0 for Microsoft Windows (64-bit) (March 7, 2018)"
I didn't ask questions directly, because the crash does not recur every time (but it does happen), and it also creates pop-ups:

LinkObject::linkv: Argument Null in Null is not a valid LinkObject.
12:58
@CarlLange practice some persuasion on the boss? Annual license is $1390. For about the price of a cup of coffee each day, they can increase your work performance exponentially (show this on a graph)!
 
2 hours later…
14:44
https://wolfr.am/StylesheetsSurvey
Guys, something to help all of us in a long run... We would like your input to ensure the best possible experience while upgrading Wolfram's stylesheets system. If you have interest in helping to improve our stylesheet system, please provide feedback via the following form. All data collected will remain anonymous.
6
If you want to discuss:
http://community.wolfram.com/groups/-/m/t/1535042
15:11
@VitaliyKaurov Great to hear this will be upgraded!
 
1 hour later…
17:15
@GalAster list//First worked for me 15/15 times; list//ListLinePlot has been running for 15 minutes, with neither crash nor results yet
Any IGraph/M users: please give this a spin before the public release. dropbox.com/s/gxqsircmgp2q8ui/IGraphM-0.3.100.92.paclet?dl=0
I am especially interested in feedback from users on Linux (especially older distros!!), Windows, or Raspberry Pi. If nothing more, just a confirmation that Needs["IGraphM`"]; IGVersion[] produces a reasonable looking output.
18:07
It is fascinating to follow along with the live streams of the internal meetings, but I am glad to follow along as an outsider... wouldn't want to be one of the participants.
@GalAster still working on list//ListLinePlot after an hour and ten minutes .. it might be too much for the kernel :)
@kickert "fascinating" is such a flexible word..
@halirutan It was intended as such.
Fascinating because you learn about new features in the works (especially as come up on a new major release). Fascinating because you get an insight into the working environment behind the scenes. Fascinating because random users like myself have a chance to participate via live feed. Fascinating because you realize how much work goes into what seems like mundane aspects of the language and documentation.
It is obvious Stephen is a genius, but also obvious that you would have to have pretty thick skin to work on cutting edge areas.
18:32
3
Q: What to be aware when using new-style package?

SzabolcsA new package format is described in this post. This format does not use BeginPackage and Begin. Instead, each package file is scanned before its contents are evaluated, and the context of each symbol is decided beforehand. What are some of the things to be aware when using this package format?

Comments, clarification requests, etc. are welcome.
I wrote this FAQ so others don't have to go through the same experimentation process I had to, and won't have to learn about the incompatibilities between 10.x and 11.x the hard way.
@Szabolcs Thanks! p.s. a quick pros and cons would help too.
@GalAster Last update: ListLinePlot[list, PlotRange -> All] finished in two minutes, so you might try adding an explicit PlotRange.
similar results as @ChrisK on macOS 12.0 PR2, and just for fun I tried Plot3D[\[Omega]/(4 \[Omega]^2 + (m^2 - \[Omega]^2)^2), {\[Omega],
0.01, 10}, {m, 0, 10}]
or more accurately, Plot3D[\[Omega]/(4 \[Omega]^2 + (m^2 - \[Omega]^2)^2), {m, 0,
10}, {\[Omega], 0.01, 10}], I guess.
19:03
@Kuba Maybe later ... I am not as sure that this is the way to go as I was before. But I still thought it's good to share what I found.
@Szabolcs sure, I really appreciate you took the time to sum it up. Will read it now and will try to ask few question you could address unless they already are.
@Szabolcs before I finish, I would go striaght to rewrite my old code if there was ImportPackageAs["ThirdPartyPackage", "ThirdPartyPackageXYZ"] or something
Btw, on Twitch streems they were talking about making documentation of Get up to date. Including explanation how Get resolves context into files. About time.
Button[
            "Image",
            Block[{$ContextPath}, Needs["wp`wpPalette`"]; previewImage[NotebookRead[SelectedNotebook[]], rasterizeSelection[]]],
            Tooltip -> "Upload the selected expression as an image.",
            TooltipDelay -> Automatic, ImageSize -> 140
          ]
@Kuba When I press that button, nothing happens. But if I run Needs["wpwpPalette"] first in the notebook, then everything works.
It doesn't make any sense, right?
@C.E. You need to get package before you build gui, otherwise `previewImage` will be typesett with $CellContext or whatever context it was found on. So the steps are

- needs @ wpwppalette
- build /deploy gui
- you can forget gui now, quit mma etc
- this button should work now.
@Kuba so it does, thank you very much! One step closer to release.
20:21
@Kuba What about Dialogs, I open up new Dialogs after I've clicked buttons in the palette and nothing works in them, even though I load the package with the Initialization :> ... of DynamicModule that surrounds the content of the Dialogs. The Dialogs have Dynamic stuff in them, so for those I can't just load it in buttons.
The structure of my app is: Palette with four buttons that trigger different dialogs -> dialogs edit values and do stuff.
@C.E. is your repo public?
20:39
@C.E. This SetCredentails will be run when you create a palette, but you create it during a build process right>?
WordPressPalette[] := CreateWindow@PaletteNotebook[
  DynamicModule[{wpCurrentUser = ""},
    SetWordPressCredentials
It is probably not related to the problem but I noticed it
that's true. Should I move it to the Initialization of the DynamicModule, or what is the right change to make?
Hard to tell without knowing all details but 90% it is initialization.
ok
21:07
@C.E. do you have a separate notebook to build it or how to you do this?
I forked it but there are only source files
@Kuba To build it, I just load the package with Get, then do nb = WordPressPalette[]; and then NotebookSave[nb, ...]
@kickert You know I've actually found him to be less caustic than I expected. The last couple of livestreams have definitely been a bit spicier though, I suppose the release it coming up
@kickert I definitely think the livestreams are great, I love being able to have an input and it really helps me learn about features of the language I didn't know about. They can be surprisingly entertaining as well.
21:30
There was someone who requested that I compile IGraph/M for the Raspberry Pi again. Then my wrist was hurt and I had to postpone everything. Now I have an RPi version, but I can't find the person (I can't find the post under which we has a comment-discussion).

« first day (2473 days earlier)      last day (2309 days later) »