macOS

macOS

Application and Data / Languages & Frameworks / Operating Systems
Needs advice
on
OpenGLOpenGLUnreal EngineUnreal Engine
and
VulcanSQLVulcanSQL

Hello all,

I recently saw someone using OpenGL to create interesting evolving/rotating, mathematical-type visuals that I'd like to use in my honors project. He uses OpenGL but I'm operating on a 2012 MacBook Pro, which won't let me upgrade past macOS Catalina.

Does anyone have any experience with alternative programs that would be just as easy to use, and implement?

Thanks for any help

READ MORE
6 upvotes·8K views
Needs advice
on
AnsibleAnsibleChefChef
and
Puppet LabsPuppet Labs
in

Personal Dotfiles management

Given that they are all “configuration management” tools - meaning they are designed to deploy, configure and manage servers - what would be the simplest - and yet robust - solution to manage personal dotfiles - for n00bs.

Ideally, I reckon, it should:

  • be containerized (Docker?)
  • be versionable (Git)
  • ensure idempotency
  • allow full automation (tests, CI/CD, etc.)
  • be fully recoverable (Linux/ macOS)
  • be easier to setup/manage (as much as possible)

Does it make sense?

READ MORE
Chef vs Puppet vs Ansible vs Saltstack: Which One to Choose | Edureka (edureka.co)
10 upvotes·252.4K views
Replies (3)
Principal Engineer at RaiseMe·
Recommends
on
Ansible

I recommend whatever you are most comfortable with/whatever might already be installed in the system. Note that, for personal dotfiles, it does not need to be containerized or have full automation/testing. It just needs to handle multiple OS and platform and be idempotent. Git will handle the heavy lifting. Note that you'll have to separate out certain files like the private SSH keys and write your CM so that it will pull it from another store or assist in manually importing them.

I personally use Ansible since it is a serverless design and is in Python, which I prefer to Ruby. Saltstack was too new when I started to port my dotfile management scripts from shell into a configuration management tool. I think any of the above is fine.

READ MORE
9 upvotes·60.5K views
Recommends
on
Salt

You should check out SaltStack. It's a lot more powerful than Puppet, Chef, & Ansible. If not Salt, then I would go Ansible. But stay away from Puppet & Chef. 10+ year user of Puppet, and 2+ year user of Chef.

READ MORE
6 upvotes·61.7K views
View all (3)
CEO at Stealth Startup·
Needs advice
on
PyQtPyQtReact NativeReact Native
and
XamarinXamarin

We are developing an AWS IoT app for large boats. The IoT devices have sensors all over the boat for engine oil pressure, position, water depth, fuel level, crew location, etc. When the boat has internet, we interact with AWS cloud using lambda and Amazon DynamoDB. When the boat is offshore, the captain and crew still need normal and emergency alerts and real-time sensor information. The crew might have an Android or IoS phone or a Windows or macOS PC to receive alerts and interact with sensors. We may use the AWS GreenGrasss edge computing solution and either MQTT or HTML for that function.

Question: We want to develop a cross-platform client to run on Windows, Mac, Android, IOS, and possibly Linux. We are primarily Python programmers, so PyQt or Kivy are options for us, but we have heard good things about React Native, Flutter, Xamarin, and others. We think an AWS Greengrass core on an RPI4 could communicate to the client with MQTT or a local webserver with a client web interface.

Any thoughts would be much appreciated.

READ MORE
7 upvotes·439K views
Replies (2)
Recommends
on
React Native

I don't know much about Xamarin but I know about PyQt and React Native.

However, I don't recommend PyQt because the apps made using PyQt are not that suitable for mobile apps. If you take a look at the PyQt interface, you will be able to see that the features are more of a desktop apps kind.

React Native uses JavaScript. React Native is immensely flexible in upgrading your apps because it allows you to formulate your app code into independent blocks.

In Xamarin, you have to write the code in .NET . The best thing about Xamarin is, that it extends the.NET developer platform with tools and libraries specifically for building apps for Android, iOS, tvOS, watchOS, macOS, and Windows

While the best choice for you depends on various factors but React Native app development is a promising overall choice. In today’s scenario, React Native has steady growth, flawless code structure, and brilliant and large community support. We suggest you go for React Native for your next project owing to its outstanding support from developers, easy availability, and cost-effectiveness.

READ MORE
5 upvotes·67.8K views
Founder at The First Prototype·

It seems like your app is not really using any native functionality on the phone. I have experience with cross platform iOS & Android development. They are all really good tools! Xamarin (all the project on the website portfolio I attached) is awesome for accessing native functionality (NFC, Sensors, Bluetooth, etc), and I have built apps that have millions of downloads, some that hit Top 5 on Utilities, another that hit Top 50 in Finances. You just have to look at what your application intent is, it seems like it's just to read and post data. For that they are all pretty good, but you should also look into Ionic which may serve the same purpose

READ MORE
The First Prototype (thefirstprototype.com)
4 upvotes·47.3K views
Needs advice
on
ElectronElectronUnityUnity
and
WebGLWebGL

We want to create a 3D web and desktop(Windows and macOS) application with a lot of functionalities. This is a 3D furniture customization application in which we give options to add, delete, scale, move, rotate objects. Something like a floor planner. We are also going to add AR and VR.

I am thinking about using Electron or Unity. Please recommend what should I choose for this purpose. Please consider that we have to develop for web and desktop (windows and mac) all platforms.

READ MORE
10 upvotes·182.5K views
Replies (1)
Recommends
on
Unity
WebAssembly

Take Unity for development as it is a full engine, with better tools to develop UI, use 3D assets, develop the integration with the API endpoints and deployment not only for Web (w/ WebAssembly) and Desktop, but also Mobile platforms (Android and iOS)

READ MORE
3 upvotes·338 views

Out of curiosity, when my coding instructor for Python did some commands on his computer, he told me learning any sort of terminal command interface (e.g. GNU Bash, PowerShell, Zsh ) will make me understand systems and how computers work and would make me know the basics of systems programming (although I am more into web development). I immediately went curious, out of my time, and looked up some command line interfaces to learn. It gave me bash, shell, zsh, powershell, etc. All these are really confusing, and they all seem the same. I want to be a terminal dweller, so which of the terminal related things should I learn? I think Bash, since it can replace Powershell on Windows, and has all the Linux/macOS systems.

READ MORE
5 upvotes·29.9K views
Replies (2)
Astrophysicist / Principal SOE at ESA / ESOC / OPS-OAX, Telespazio VEGA Deutschland·

Well, it is alway a matter of taste.

But to share my own experience, using Unix Shells ever since 1988, and also PowerShell for some period of time. If you want to script Windows OS as an Administrator, PowerShell is a good option. If you want to administer all different kinds of UNIX OS, bash will be available on almost all of them. If you want to develop software and have the freedom to choose, I recommend zsh, better yet oh-my-zsh.

READ MORE
4 upvotes·1 comment·554 views
Yoram Kornatzky
Yoram Kornatzky
·
June 4th 2022 at 3:16PM

Try the Linux kind of shells. Best zsh but bash is also good. They are for Linux and MacOSX. The Windows PowerShell has no use outside Windows. It will expand your understanding of programming. As you will learn the concepts of pipes, input and output redirection, and the general use of command-line tools. It is a must for any serious student of programming and more importantly for programmers in general.

·
Reply
Escaped Notions·
Recommends
on
GNU Bash

I use GNU bash - the latest version, currently 5.2 - as my daily driver, on macOS, Linux, and Windows regularly.

I do this because modern bash has features comparable to zsh with the largest community.

On Windows, I use git-for-windows bash which is GNU bash compiled via the msys2 project, which also bundles various GNU/Linux core utilities. If you're using Windows, you should get to know the https://msys2.org/ and https://gitforwindows.org/ projects, which themselves rely on cygwin. Mainly keep in mind the helper cygpath to convert paths back and forth - some things will need Windows style paths.

You can also easily call powershell from bash.

READ MORE
4 upvotes·104 views
Needs advice
on
BootstrapBootstrap
and
WordPressWordPress

Hi,

I'm a graphic designer and an acting teacher, and I want to build websites for each of my activities. A few months ago, I created, a Wix website, but it's not responsive. So, I plan to build one from scratch, as I want to host the content and not leave it to Wix or such companies. I was pretty decided to use WordPress to build my website (with "Local" macOS app), but I came across Bootstrap (via "blocs" macOS app).

I'm now wondering which of these two options I should consider building my website? I want something clean, easy to customize, aesthetic, and easy to update. I read about the lack of SEO with Bootstrap, but I guess there's a way to compensate and promote the website anyway.

Any piece of advice welcome! Thanks.

READ MORE
6 upvotes·70K views
Replies (2)
Recommends
on
Bootstrap

I started with WP and hated it. I was running a huge theme and tried customizing it to my needs and had limitations I wasn’t comfortable with accepting. Yes I was able to add/edit my own content but not customize everything with all our all the clunkiness. Now I have. MERN stack with bootstrap and although I need a developer to do many things I was able to do. My site is wayyyyy cleaner and faster. They say you only use about 20-40% of WP anyway.

READ MORE
4 upvotes·1 comment·6.9K views
Guybrush Threepwood
Guybrush Threepwood
·
July 2nd 2021 at 1:53PM

Thanks a lot for sharing your experience.

·
Reply

It depends on what your knowledge is in designing and writing code and for what purpose you are building your site.

Bootstrap gives you a design solution for building in code, but will not provide a solution for user management because it is a design language and not a code language.

WordPress on the other hand, because it was developed in open source, offers a huge database of ready-made design templates for any purpose. WordPress also allows you to manage users and create page templates, while in Bootstrap you will need to create each post from scratch.

READ MORE
4 upvotes·1 comment·6.8K views
Guybrush Threepwood
Guybrush Threepwood
·
July 1st 2021 at 1:44PM

Thanks a lot for your answer.

I’ve decided to use WordPress since it’s more documented and easier to customise. Plus it has many templates.

·
Reply

We have a python app currently built with Streamlit.

In order to deliver this to customers, we need to shield the codebase and make it executable (for both macOS and Windows users).

Does anyone have any advice on bundling a Python app into an executable?

All we're hoping to do is package the Streamlit app into .exe or something similar.

READ MORE
6 upvotes·23K views
Citrix Systems·
Needs advice
on
PlaywrightPlaywright
and
Robot FrameworkRobot Framework

So our web application also has native applications for Windows and macOS so we browser test can be done using any framework but we have 1-2 test cases that require validation from native application which will be opening after a user choose to switch from web part to native part using protocol handler, for e.g our website will prompt whether you want to open thin in application just like teams and Slack and open a native application on window or mac, which we are thinking of doing by integrating shell scripting and take screenshots, so I have a confusion with these two frameworks. or what other framework I can use to get my work done.

READ MORE
5 upvotes·4.3K views
Replies (1)

Buddy ,you should go with RObot framework as per my experience,let me be clear i dont have any experience in playwright. We have similar kind of situation that time we used robot framework for native Web ,api and Android app . RF gives you privileg to automate any kind of application . Rf is open source , timely library upgrade like selenium 4 webdriver manager ,sikuli . And it is easy to maintain easy to learn

READ MORE
2 upvotes·1 comment·3.2K views
Ksenija Laukanene
Ksenija Laukanene
·
January 15th 2024 at 3:13PM

Based on your requirements, both Robot Framework and Playwright are suitable for browser testing. However, you mentioned that you have 1-2 test cases that require validation from native applications. In this case, Robot Framework might be a better choice as it has a wider range of libraries and can be extended to support testing of native applications1.

That being said, Playwright is a great choice for browser automation and has a simple syntax. It also has the ability to connect directly to the browser’s API and has full control of the browser and its content.

If you are looking for other options, you might want to consider Selenium WebDriver which is a popular choice for browser automation. Alternatively, you could also look into Cypress which is another popular framework for browser testing.

·
Reply
Needs advice
on
IntelliJ IDEAIntelliJ IDEA
and
NeovimNeovim

I have a strong familiarity with Jetbrains products, having used most of them since around 2015. However, in the past 6 months, I have started transitioning to Neovim as my primary "IDE". This is due to the extensive nature of my work, where I would typically load a different JetBrains product for each programming language I was working with. I wanted to reduce the amount of RAM I was using and have an easier time exporting my setup to weaker hardware.

My current setup, which is still a work in progress, consists of Neovim, tmux, and a few other applications. It took me a while, but I now feel much more comfortable working with this setup than I did with Jetbrains products. In the past, I often had to change my workflow or struggle with some of the tooling provided by JetBrains.

While I haven't worked with Java in a production environment for a few years, I have been working with TypeScript, PHP, Python, C++, and C#. Neovim works well for almost everything, but I do encounter some issues when working with .NET. In these cases, JetBrains Rider seems to be a better fit for C#, and I hope to resolve these issues. I also have an extensive ruleset setup (naming schemes and whatnot) in the JetBrains ecosystem that I have yet to find a suitable alternative of enforcement in Neovim.

However, I am now facing the prospect of returning to a Java stack at work. I'm wondering whether I should continue with Neovim and invest more time in configuring it and researching more about its Language Server Protocol (LSP) capabilities, or if I should return to IntelliJ and not waste the effort. Can Neovim be as good as, or almost as good as, IntelliJ for Java development? Talking about Kotlin is a plus, but my focus is on Java and potentially working with the Spring ecosystem.

I have used the JetBrains' vim plugin for about 2 years. It does not hold a candle to using nvim. Probably this shouldn't affect the question much, but: I am a Linux/Windows guy, however, I will be forced to use macOS at work.

READ MORE
6 upvotes·17K views