From owner-freebsd-questions@freebsd.org Mon Jul 13 22:16:15 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 66B403738B9 for ; Mon, 13 Jul 2020 22:16:15 +0000 (UTC) (envelope-from dwilde1@gmail.com) Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B5Hzf4rZRz4c1r for ; Mon, 13 Jul 2020 22:16:14 +0000 (UTC) (envelope-from dwilde1@gmail.com) Received: by mail-pg1-x532.google.com with SMTP id g67so6664212pgc.8 for ; Mon, 13 Jul 2020 15:16:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=WQ0/A7tkDs97GEE7BOy8jLdFt3bY/J6O/9EzjmR1+xs=; b=Q4LCOCuy3/X+ZtGPUbwnOzntsDONQya9i76k4+xzLGQ8nYXQ0r6NmHMsY2xEvhyCKn bP6Y4OoD6OVmbaP6IizBwtqiMcOwmEH9S/cM3bjl25niiYq6SfbHh1rnbvp5z030K6VF BYliO663AaweZM8cFxyTS62GFTh/cfS1NJEyo0ZzemcFe0c91qfIgE6TuF+MpRhmzGlb M6RnXlKO3L0nI7EvwksTT6m/GRLKAmSSSSaem8RxyyVtVB8UCKdZ4dNe5oGtklF/X9nI vEcO/DfxrNEaGcAy4Jw2+2ykb1++0VALGvB8Jn+wLsO7GIdKZ9PxS5bO0QvDY2bhrRwt gbJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=WQ0/A7tkDs97GEE7BOy8jLdFt3bY/J6O/9EzjmR1+xs=; b=IozJiD20ZjQOQW1X7WUu7MlhtUSeypHfH6f9VJlKpTSOTi2wDCuvIVAU5mtU7wPEhX utDJrY8tCuCP3b2R23v/PAazHqb6Z4p4HDr/hzCMa4YcuIYL8e4dVWAMrMIg9bnqhEFN kzyfSGe/IggtgOYhk2rhdzk5khavPtP1D3ajEX44iJgdaJ/qATbsNl6vggFApUBmCtOQ JJ21HOh0eBaBgjVPi1sjBxpEo+JAOhJp4wnUhSzftQgik70SuHOGnELA7dNEaMGKpkib s/YY5XYZ6chAhWCZ3zDYikFnwvjIhGVBzLHjUjwB+jsIw7EPCg7jYmAr6bgsWgdRAUIq 4foA== X-Gm-Message-State: AOAM533FHb4bpL6Kg8aPaD2exsmPd1uyKocdvJ03BKYR2SXK/yutWyH3 ShQi6FEoH3+sKNwlQwtHEIqINwzR X-Google-Smtp-Source: ABdhPJybGv5cj7kaB8K674tPteUokM68CID6juGW+4adtT7za5SxxJIV8fgdqeE0Gd8wGs9cH+QQlA== X-Received: by 2002:a63:ee48:: with SMTP id n8mr1027706pgk.292.1594678572333; Mon, 13 Jul 2020 15:16:12 -0700 (PDT) Received: from [192.168.0.4] (174-26-193-115.phnx.qwest.net. [174.26.193.115]) by smtp.gmail.com with ESMTPSA id d9sm14817370pgv.45.2020.07.13.15.16.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Jul 2020 15:16:11 -0700 (PDT) Subject: Re: Petite Cloud, CBSD, Intellij To: Aryeh Friedman Cc: FreeBSD Mailing List References: <5a761348-fb9f-5cf3-e035-7ba42afcb221@gmail.com> From: Don Wilde Message-ID: <8fcd60d7-1de1-82dc-d840-2555663ac153@gmail.com> Date: Mon, 13 Jul 2020 15:16:09 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Rspamd-Queue-Id: 4B5Hzf4rZRz4c1r X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Q4LCOCuy; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dwilde1@gmail.com designates 2607:f8b0:4864:20::532 as permitted sender) smtp.mailfrom=dwilde1@gmail.com X-Spamd-Result: default: False [-3.57 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.61)[-0.608]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[174.26.193.115:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.957]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.008]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::532:from]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2020 22:16:15 -0000 On 7/13/20 2:49 PM, Aryeh Friedman wrote: > > > On Mon, Jul 13, 2020 at 12:46 PM Don Wilde > wrote: > > > On 7/13/20 5:59 AM, Brandon helsley wrote: > > > > > > > > Hi Aryeh, I wanted to ask you a few questions. I remember you > telling me about the program petite cloud and was wondering if you > would show me how it works. I found CBSD and Intellij projects and > want > > > I will answer this as a separate message later today. > > to know more about how they work too and find anymore programs > available on freebsd like these if you know of any. Could you > remind me of how to change the settings in thunderbird so I'm not > top posting and replying correctly too? > > > > Actually, I see evidence in the ports tree that there is some support > for hosting JetBrains' IDEs on FreeBSD, but I haven't looked hard > as I'm > not building a desktop at this time. Since they are written in Java, > that should not be difficult. > > > # find /usr/ports -name "*jetbrains*" > > # find /usr/ports -name "*intellij*" > > > There are a number of Java IDE's in the ports collection... everything > from the (bad) attempt to do everything and be everything to everyone > of Eclipse to the simplicity of BlueJ.  Almost none of them quiet > "work". They all have some serious sort coming, e.g. all of them I > have tried except BlueJ can't produce a standalone executable jar to > save their lives nor do many of them give you freedom to use whatever > tools you want under the hood (i.e. version control can only be done > via git and none play well with batched build systems).   That's why I > don't use a IDE I use the command line, it is a lot more powerful/more > portable in the long run then any IDE ever will be (unless you count > the semi-integrated one I have put together by hand consisting of > tcsh, java/openjdk8 [slowly playing with moving to a higher version], > www/tomcat9 [tomcat is typically the target of my code], editors/vim, > devel/cook, devel/aegis and devel/fhist [note I am the maintainer of > the last 2]... I usually don't need to but I also can bring out the > big guns for debugging like java/visualvm and java/jad).   Note > cook/aegis/fhist are unorthodox when used with Java but I can (and > often will) make strong arguments to why the "official" tools *SUCK*. > > All this being said if you feel more comfortable with an IDE while > learning Java I recommend BlueJ it is designed for teaching Java but > has all the features you need to make full fledged applications of any > size with (when I was in school I even implemented a interpreter for a > teaching language I designed and wrote a visual Turing Machine > simulator with it... both non-trivial applications).   BlueJ has one > "killer feature" in my mind and that is it is the only IDE I know of > that will automatically draw/update a simplified UML class diagram of > your code (very useful if you are in the very early stages of the > class level architecture of a larger app).    For more info on BlueJ > (and the book mentioned below) go to bluej.org .. > last note BlueJ is one of the few that actually produces working > executable standalone jars. > > If you are learning Java and even if you don't use BlueJ I recommend > the entry level (no programming experience needed) textbook written by > the same person who maintains BlueJ upstream. "Objects First with > Java: A Practical Introduction Using BlueJ (6th Edition)", David J. > Barness, Michael Kolling, Pearsons, 2016, ISBN: 978-013-447736-7 ... > it is the book I used when I learned Java even though I had been > programming for 20 years at the point I found the book a breath of > fresh air in terms of how things are covered. Even though I have not > read it yet (I have read other more advanced books in the same series) > another good learning source is "Head First Java" (O'Reilly ... don't > have a full citation on hand). > I've never used IntelliJ itself, only Eclipse for Java and Enterprise Architect (payware). MPHO is that I stay as far away from Java as I can, although I do use tools _written_ in Java like RubyMine (and Eclipse). I was tasked with maintaining the JVM for a large IoT project (mainly because nobody else would touch it; they _knew_); Java7 was used both for the Things and the Internet analytics servers. The JVM is written (as is OpenJDK) in layer upon layer of code, and what we discovered was that one layer or another was always being broken by all the various open source developers. When our CEO laid off all my backups to please Wall Street, I gave my notice. Java has many slick features, but it takes a _lot_ of Java coders to get anything big done. YMMV. pkg install bluej... number of packages to be installed: 47. Wow. I think not. :) Personally, I like the LLVM-based CLANG and Crystal. Most of the installation time comes from the various versions of LLVM being requested by the HLL. IMHO, the LLVM is a much more flexible and accessible virtual execution engine than Oracle's Java and JVM. -- Don Wilde **************************************************** * What is the Internet of Things but a system * * of systems including humans? * ****************************************************