• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics with the tag "ask". Back to normal view
    1. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      10 votes
    2. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      14 votes
    3. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      16 votes
    4. Would you all help walk me through setting up a Google cloud VM instance with NextCloud?

      This is a more refined continuation of this former thread. I'm not very tech savvy which is why I'm asking for a little hand holding. I've chosen Google as the server because I've mucked around...

      This is a more refined continuation of this former thread.

      I'm not very tech savvy which is why I'm asking for a little hand holding.

      I've chosen Google as the server because I've mucked around with it before and feel comfortable with it.

      Could we start with creating the instance and all the options at that first step?

      7 votes
    5. I'm asking for some initial insight into a problem that I'm trying to solve for hundreds of users that are dismayed with Discord

      I have just been introduced to a few hundred (maybe more) of Discord users that would like to break free of the constraints there. These users are made up of academics that, for the most part, are...

      I have just been introduced to a few hundred (maybe more) of Discord users that would like to break free of the constraints there.

      These users are made up of academics that, for the most part, are not technically savvy. They have tried to make use of what is currently available to them with Discord. On the other hand, they are increasingly becoming frustrated by its limitations and the fleecing of monies in order to do certain things.

      I've looked at their concerns and if I had better than a DSL connection to the Internet, then I would host a server my self and call it a day.

      Do you have any initial recommendations for a platform that they could move to? Should I consider self-hosting more?

      7 votes
    6. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      12 votes
    7. Is it OK to use pop media reference for a personal domain name?

      I'm finally in a position in my life to afford a personal domain. The name I'd like to use is name of an episode from a moderately popular TV series. The series ended its run few years ago, but...

      I'm finally in a position in my life to afford a personal domain. The name I'd like to use is name of an episode from a moderately popular TV series. The series ended its run few years ago, but I'm not sure how copyright/trademarks work.

      So far, I'm planning a strictly noncommercial personal use only. Will the choice of domain name be any trouble down the road?

      9 votes
    8. LaTeX: Using a different font for glyphs used in commands like \sum

      Hello everyone. I consider myself fairly competent when it comes to my work with LaTeX, but as everyone who uses it knows, it is definetely strange sometimes. And right now I have a problem which...

      Hello everyone. I consider myself fairly competent when it comes to my work with LaTeX, but as everyone who uses it knows, it is definetely strange sometimes. And right now I have a problem which just irks me in the wrong ways:

      I use XeTeX and a number of custom fonts for my documents, but when writing mathematical formulas I found out that the font I set for Greek letters (Gentium Plus) is used for letter commands like \alpha, \Alpha, ... but not for commands like \sum, \prod. As you can see in this example here. You can see XeTeX defaults to Computer Modern.

      I've looked all over the net for solutions but I can't find one. I'm using mathspec, amsmath, amsfonts, amssymb as my font related packages and I set my fonts like this:

      \setmainfont{Charis SIL}
      \setsansfont{Helvetica Now Display}
      \setmonofont[Scale=MatchLowercase]{Fira Code Retina}
      \setmathfont(Digits,Latin){Charis SIL}
      \setmathfont(Greek){Gentium Plus}
      

      I feel like I'm going insane not solving this problem. Should you require it, my entire LaTeX template is here on Github. Please help, thank you.

      8 votes
    9. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      16 votes
    10. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      19 votes
    11. Help Packaging Elmer FEM for Nix

      I'm trying to package Elmer for use with NixOS, and could use some help from any experienced Nix users. My current attempt is located here. There is some junk left around in that file from my...

      I'm trying to package Elmer for use with NixOS, and could use some help from any experienced Nix users. My current attempt is located here. There is some junk left around in that file from my experimenting, but it's at least a start. There are also a few lines of error included in the comment here.

      Any help is appreciated!

      6 votes
    12. What's the current state-of-the-art in Python package creation/distribution?

      I've been thinking on and off about packaging up a few simple Python utilities I've written to stick up on Github for people to use if they want, but, every time I go to check out how one goes...

      I've been thinking on and off about packaging up a few simple Python utilities I've written to stick up on Github for people to use if they want, but, every time I go to check out how one goes about managing dependencies and all that for a project, I run into a whole wall of options. Does anyone better versed in all of this have any recommendations for me?

      11 votes
    13. What are your favorite CLI tools/applications?

      While I've been teaching myself my first programming language (Python), I've been getting more into using the terminal as much as possible to build familiarity and get comfortable. This has opened...

      While I've been teaching myself my first programming language (Python), I've been getting more into using the terminal as much as possible to build familiarity and get comfortable. This has opened my eyes to so many useful utilities and makes me curious as to what there is out there that I haven't heard of yet.


      My favorites so far:

      exa - A modern version of "ls"

      youtube-dl - Download videos from youtube.com or other video platforms with various options

      hledger - Plain text double-entry accounting software based on ledger written in Haskell

      thefuck - App that corrects a spelling mistake in the previous command by typing "fuck"

      spicetify-cli - Customizes the Spotify client with themes and extensions

      spotifyd - Lightweight Spotify daemon

      spotify-tui - Control Spotify in the terminal

      neofetch - Launch tool that can display ASCII art or pictures and general system information

      I'm on macOS but I'm almost certain all of these are cross-platform.


      What are your favorite or "must-have" CLI packages?

      40 votes
    14. Have you done any experimenting with home servers/self-hosting? If so, what is/was your setup like?

      In my time as an internet denizen, I've bumped into this topic Quite A Lot over the years, but only casually. I don't really have much know-how, but I'm curious to learn more. I'd love to get...

      In my time as an internet denizen, I've bumped into this topic Quite A Lot over the years, but only casually. I don't really have much know-how, but I'm curious to learn more. I'd love to get started in this space and make something cool and useful, but I'm not sure where to begin. It's all quite overwhelming! For fun, though, I'd love to hear about examples from Tilderinos who have ventured out into this area. :)

      Here's a big list of topics that I'd love to delve deeper into one day
      • Containerization services like Docker (I know enough about how to download, start, and stop a container when an app provides instructions. The two I've come across are an image for playing MTGO on Linux, and this open-source, self-hosted alternative to Pinterest called Pinry. But, I don't know much about the nuances of deploying software, or the motivations behind why Docker exists?)
      • Networking
        • CS theory (When I was setting up my PiHole, I ran headfirst into a wall trying to configure DHCP/DNS stuff. I know a tad more now than I did then, but it's still close to 0.)
        • Choosing router/modem hardware
        • Replacing a router's default firmware with DD-WRT/Tomato/etc.
      • Choosing server hardware
        • Power consumption?
        • Noise? (I sleep right next to the only ethernet port, and silence is really important to me for falling asleep.).
        • Minimum specs for various services? (I tried using Plex on my RPi and found that it struggled with transcoding to my Chromecast on the fly.)
        • Ways to connect a server to a TV?
        • What can be done wirelessly and what absolutely needs a wired connection?
      • Various services/apps
        • File-hosting/cloud storage (NAS-related stuff? OwnCloud?)
        • Media management (Plex? Other, possibly piracy related things I'm seeing on /r/HomeServer?)
        • Open-source, self-hosted alternatives to SaaS companies (I've become increasingly frustrated with services with hostile user experiences, and I keep seeing suggestions to Try This Self-Hosted Thing! I'd love to get to a point where I didn't feel intimidated by that. The ones I've personally come across and are curious about are Pinry, Mastodon, Riot/Matrix, Jitsi, Tiny Tiny RSS, and TiddlyWiki.)
        • Gaming-related services (Was Steam Link a thing? Didn't Razer put out a thing to let you play games on your TV?)
      18 votes
    15. Learning resources for my soon to be twelve year old son?

      My son's elementary school teachers are phenomenal. He's, also, had a gifted and talented instructor since he was four years old. He's, approximately, four to five years ahead of his peers in...

      My son's elementary school teachers are phenomenal. He's, also, had a gifted and talented instructor since he was four years old. He's, approximately, four to five years ahead of his peers in reading comprehension and mathematics.

      Our schools have been closed now for three weeks and both our sons have been using an iPad and a Macbook to do classwork.

      Today my twelve year old's teacher gave him free reign to learn whatever that interests him. He wants to learn how to make video games. In his own words: "I don't want to make a million dollar game. I just want to make something simple."

      He's been learning BASIC but he fails to see any real world application right now.

      Would you happen to know any free and paid resources that I could provide him in his endeavor?

      12 votes
    16. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      9 votes
    17. Resources for a comprehensive self-education in Computer Sciences

      What is this? As someone distinctly outside of the field of programming, with no formal education in the Computer Sciences, I am currently in the process of putting myself through a crash...

      What is this?

      As someone distinctly outside of the field of programming, with no formal education in the Computer Sciences, I am currently in the process of putting myself through a crash education. I have found the internet is full of helpful guides in some departments (general language syntax, algorithms), while not nearly as easily accessible in other departments (compiler theory/operation, debugging).

      I recently picked up C# on some tilderino's suggestion (months ago, can't remember who it was, thank you if you see this!), and while the Microsoft Documentation is useful when you have a basic understanding of the topic at hand, I found that buying C# 7.0 in a Nutshell put it all together for me, whereas I was struggling with the official resources.

      Since we have quite the concentration of CS and IT related professionals and enthusiasts here, I guess what I'm looking for here are suggestions on books (physical or otherwise), resources, courses, blogs, or even material from your own CS courses or anything else helpful in putting together the bigger picture beyond learning the syntax and solving problems on Project Euler. Anything helpful beyond another "Hello World!" guide really, especially in the realms of debugging best practices, CLI usage (Windows if possible).

      The general topics I'm thinking of are:

      1. Programming Theory/Paradigms
      2. Algorithms
      3. Debugging & Optimization
      4. Compiler Function/Theory
      5. Architecture
      6. Command-line Interfaces
      7. Unlisted Topics (Such as GitHub/Lab Use)
      18 votes
    18. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      14 votes
    19. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      14 votes
    20. What's the best way to connect four monitors to two computers?

      I will spare you the life story of how I came to want to do this and instead outline what I would like to accomplish: One (Windows) desktop computer with a video card that has two HDMI and two...

      I will spare you the life story of how I came to want to do this and instead outline what I would like to accomplish:

      • One (Windows) desktop computer with a video card that has two HDMI and two DisplayPort ports.
      • One (Linux) laptop that has two USB-C Thunderbolt 3 ports.
      • Four monitors:
        • 1920x1080 60Hz
        • 2560x1080 75Hz
        • 3440x1440 100Hz
        • 5120x2160 60Hz

      What I would like to do is connect all four monitors into a KVM switch, and then from the KVM switch, connect all four monitors to both the desktop and the laptop. I would also like at least one USB port on the KVM that I could connect a USB hub to for switching my mouse, keyboard, graphics tablet, etc.

      From there, ideally I would be able to switch all four displays and all the peripherals between each device by pressing a single button on the KVM.

      However, there are three problems I have encountered with this idea:

      • KVM switches are expensive as fuck
      • Very few KVM switches support a two-computer, four-monitor [2x4] connection (it is almost always the other way around [4x2])
      • The few KVM switches I have found that do support such an arrangement only have DVI ports, no DisplayPort or HDMI

      So uh, if anyone knows of any KVM switches (or other solutions) for accomplishing this setup, I would really love to hear about it, no matter the cost.

      Thanks.


      In this setup, the laptop would be the daily machine, and the desktop would be a dedicated gaming/creativity rig. That gives me some room for alternative configurations:

      • Because the desktop wouldn't really need access to four monitors, I could get a KVM switch that only supports two monitors [2x2], and then just use something like Synergy to seamlessly move the mouse and other peripherals between computers. However, I have concerns with how well Synergy would work with a custom mechanical keyboard (running the QMK firmware) (Apparently there are no issues between QMK and Synergy)

      • Buy two [2x2] switches, which is probably cheaper than one [2x4], and switch all four displays between devices with two button presses instead of one. (And still probably run Synergy for when I want to split displays 2/2 between devices)

      • Just use a Thunderbolt dock, plug each monitor into the desktop and also into the dock (so two cables coming out of each monitor), and just manually switch the monitors between devices using their input controls. This is probably the simplest option, but switching four monitor inputs can be tedious. Though, I wouldn't actually need to switch all four of them, I could just switch one or two of them, and then use Synergy to take advantage of the others.

      • Run the desktop headless and stream its video output over the local network to the laptop/monitors. This might actually be the cheapest solution, but input latency would be variable with network conditions and could be a concern. I would also be dependent on specific services for streaming output. Parsec would be my go-to. I have used it before, including with friends over 1,000 miles away, and it works great. However, I'm not too keen on my computing setup being dependent on a single (proprietary) service.

      5 votes
    21. What's a good way to learn how to maintain my own computer hardware?

      I have two computers (a desktop and a laptop) that broke down just before my city entered a lockdown. Being able to assemble and fix my own computer hardware is something I have always wanted to...

      I have two computers (a desktop and a laptop) that broke down just before my city entered a lockdown. Being able to assemble and fix my own computer hardware is something I have always wanted to do, and if I knew that I would probably not be using a borrowed Macbook Air right now.

      I have no immediate need to provide any maintenance services, nor do I require a primer in electronics or anything too advanced. Just enough to know how to assemble and disassemble a machine, identify and fix the most obvious issues without breaking anything.

      I tend to learn better from sequential and structure learning materials, preferably in text/images form. But videos are also welcomed. I know the names of the things and what they are, but I don't really know how to put things together in practice.

      Suggestions? :)

      13 votes
    22. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      13 votes
    23. Help with wiring my house for Ethernet

      I am wanting to run a few Ethernet cables through my house to reach various rooms and electronics, and to be able to move my router to a more central location. In terms of cutting through walls...

      I am wanting to run a few Ethernet cables through my house to reach various rooms and electronics, and to be able to move my router to a more central location. In terms of cutting through walls and where to put the cables, I have figured that out, but I need some advice on what I will need in order to properly run the cables.

      I clearly need the cable itself, but I'm not sure what kind to get or what tools to get to install. I don't need anything fancy, just enough to get the job done.

      13 votes
    24. What are some pointers for managing repositories?

      Take a look, for example, at the youtube-dl repository. Now, compare that to the Tildes repository. youtube-dl, currently, has 2,667 issues and 584 pull requests! How in the heck would the...

      Take a look, for example, at the youtube-dl repository. Now, compare that to the Tildes repository.

      youtube-dl, currently, has 2,667 issues and 584 pull requests!

      How in the heck would the developers, directly involved with that repository, get organized enough to handle all of that?

      6 votes
    25. Tilderinos with experience in job-hunting/hiring for programming roles: What am I doing wrong?

      I'm an undergraduate electrical engineering student. My degree has a mandatory requirement for me to secure one more 4-month internship before I can graduate. I'll either need to find one for...

      I'm an undergraduate electrical engineering student. My degree has a mandatory requirement for me to secure one more 4-month internship before I can graduate. I'll either need to find one for summer (May-Aug) or for fall (Sept-Dec). If I can't find one, then I risk dropping out of my degree. I have a lot of student debt, so that would be a serious problem.

      I think I'm doing something wrong in my job search. I have a feeling I'm not applying to the right jobs. Or, I might be framing my skills/experiences the wrong way. Or, maybe now is just a bad time to be applying for internships?

      I would really appreciate it if you could tell me what you think I could be doing better. Feel free to be brutally honest... I feel like I've been given an opportunity (STEM degree) that I'm squandering, and I want to be whipped into shape. :(


      Experience

      • 3rd-Year Courses: Broad ECE curriculum (circuit theory, power, signal processing, control theory, embedded systems, EM wave theory, communications). No significant projects (theory only). Many assignments done in C or MATLAB. GPA was B-ish territory, if that matters.
      • 4th-Year Courses: Specialized in signal processing and data analysis (audio processing, image/video processing, computer vision, data mining, machine learning). A handful of projects using MATLAB or Python (OpenCV, numpy/pandas/etc., PyTorch). All of these were A+'s, if that matters.
      • Internship #1: I configured DSP units used to control sound systems in pools, arenas, hospitals, etc. The DSP units typically used proprietary visual programming environments (drag and drop components), with maybe some custom lua/python scripting functionality if I was lucky. It doesn't feel transferable to say "I have a Level-2 certification from QSC to design Q-SYS systems."
      • Internship #2: I did IT helpdesk support in a team for a place with 1000+ employees. Technical phone calls, imaging PCs, equipment tracking, addressing various tickets. Not much here feels transferable either.
      • Internship #3: I designed a video processing algorithm in a computer vision research lab. It tracks birds and detects when certain flight behaviors have occurred. I used Python (OpenCV, scikit-image, numpy/pandas/etc.) and git to manage my own progress. I wasn't on a team so I have no experience with handling merge conflicts, CI, or anything like that.
      • Part-time work #1: I deployed a deep learning model developed in MATLAB to perform inference on a mobile device. This involved converting the model from ONNX to the TensorFlow Lite format. I also turned my work into a Jupyter notebook so I could share it with my lab colleagues.
      • Course projects: (1) In one course, I am taking a recent CVPR paper implemented using MXNet and re-implementing it in PyTorch. (2) For my Honours Thesis, I am training a CNN to classify different bird species using PyTorch. I'm then going to integrate it into the codebase for the algorithm designed in Internship #3. (3) I implemented an audio noise reduction algorithm in MATLAB. (4) I tried to implement a video processing algorithm to transcribe chess matches in Python. (5) I compared different block-matching algorithms for video compression in MATLAB.
      • Technical extracurriculars: I have no club experience and have not participated in any programming competitions.
      • Personal projects: Nothing notable. Some small things here and there that never went anywhere because I had a hard time balancing my studies.

      Job search strategy

      Since most of my recent experience is related to computer vision (image/video processing) and data analysis (feature engineering, machine learning) I have been trying to apply for Data Science/Data Analysis internships.

      I go to indeed.com and linkedin.com, "Keyword OR" all of the languages/libraries/frameworks I have used, then submit my resume to the ones I find. I have submitted 10 or 20 applications. I also sometimes try to cold-email companies in my town. I want to stay in town because I don't want to leave my friends, so I would do remote work too. But, I would leave if it was necessary...

      I would be OK with any programming job. I don't have experience with many of the tech stacks I see for various programming jobs, though. So I don't apply, because I assume a true software engineering major would get the job over me.


      What could I be doing better?

      EDIT: Anonymized resume here: https://i.imgur.com/V8s4XLJ.png

      EDIT2: I already regret posting. This is too much information for me to process, and I don't know how to convert everyone's varied opinions and perspectives into an actionable plan. I feel overwhelmed and am shutting down trying to read your comments. I don't know what to do. But feel free to keep replying if you'd like.

      12 votes
    26. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      8 votes
    27. What, precisely, is E2E?

      I've never worked on E2E before. Thus, I'm not sure that what I have been working on is, technically, considered E2E. It's basically a browser based private messaging system. The only two tidbits...

      I've never worked on E2E before. Thus, I'm not sure that what I have been working on is, technically, considered E2E. It's basically a browser based private messaging system.

      The only two tidbits that I'm certain about are:

      • All information in the database is encrypted.
      • All information is sent to and from the browser using TLS.
      5 votes
    28. I could use some help with TLS/SSL please

      This is a follow-up to yesterday's post where I received excellent guidance. I have a certificate in place through Let's Encrypt. Using Firefox 74 I can see the exact same lock icon with Verified...

      This is a follow-up to yesterday's post where I received excellent guidance.

      I have a certificate in place through Let's Encrypt. Using Firefox 74 I can see the exact same lock icon with Verified by: Let's Encrypt.

      However, when I use SSL Labs to run a check I get the following error:

      Unable to connect to server - failed to connect to the server, it usually happens due to firewall restrictions

      For me, this is vague and I'm stuck.

      I'm running a Debian 9 instance with Apache2 and have, roughly, two weeks of experience with these.

      Any ideas where I could start to troubleshoot this?

      4 votes
    29. Would someone check my head about in-transit encryption?

      I'm going to use Tildes as a hypothetical example since I don't know how it is set up here. I want to send a private message to a user here. I'm fairly certain that only my self, the recipient...

      I'm going to use Tildes as a hypothetical example since I don't know how it is set up here.

      I want to send a private message to a user here. I'm fairly certain that only my self, the recipient user, and @Deimos would be able to see the private message. My self and the recipient could see the private message through the Tildes GUI. @Deimos could see the private message at the database on the server.

      If someone was savvy enough then they could 'listen' to a port and snag the private message in-transit from the client en route to the server. Therefore, they may see something like a userID number, the subject, followed by the message.

      However, if Tildes were set up with in-transit encryption (using Transport Layer Security/Certificates) then anyone listening in on a port would be thwarted.

      I've been reading about this lately and just wanted to make sure that I'm understanding the fundamentals of this correctly. Am I?

      12 votes
    30. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      12 votes
    31. Data-at-Rest Encryption with MariaDB

      I've just spent the past eight hours reading about this and trying to implement it on my local machine (XAMPP for OS X). So far, I've been unsuccessful. Would anyone happen to know if Heroku or...

      I've just spent the past eight hours reading about this and trying to implement it on my local machine (XAMPP for OS X). So far, I've been unsuccessful.

      Would anyone happen to know if Heroku or another testing service could easily be set up like this?

      3 votes
    32. [RESOLVED] Create new SQLite database with PHP?

      <?php //create or open (if exists) the database. $db = new SQLite3('mysqlitedb.db'); if($db->exec('CREATE TABLE bar (bar STRING)') ){ echo "Successfully Created"; } else{ echo "Failure"; } ?> I...
      <?php
      
      //create or open (if exists) the database.
       
      $db = new SQLite3('mysqlitedb.db');  
        
      if($db->exec('CREATE TABLE bar (bar STRING)') ){ 
              echo "Successfully Created"; 
      } 
      else{
              echo "Failure";
      }
      
      ?>
      

      I get the following error:

      Fatal error: Uncaught Exception: Unable to open database: bad parameter or other API misuse in /opt/lampp/htdocs/SQLite/CreateNewDB.php:5 Stack trace: #0 /opt/lampp/htdocs/SQLite/CreateNewDB.php(5): SQLite3->__construct('mysqlitedb.db') #1 {main} thrown in /opt/lampp/htdocs/SQLite/CreateNewDB.php on line 5

      EDIT: This has been incredibly frustrating since I've seen many examples of similar code online that claim to work. I've been beating my head against a wall with this and my project/app is stuck until this is resolved.

      7 votes
    33. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      10 votes
    34. Multi-format text editor with chain-of-command processing

      A while back I developed a desktop-based text editor (Scrivenvar) that uses the Chain-of-Responsibility design pattern to help me author fairly involved text documents. The editor's high-level...

      A while back I developed a desktop-based text editor (Scrivenvar) that uses the Chain-of-Responsibility design pattern to help me author fairly involved text documents. The editor's high-level architecture resembles the following diagram:

      https://i.imgur.com/8IMpAkN.png

      Am I reinventing the wheel here? Are there any modern, cross-platform, liberal open-source (LGPL, MIT, Apache 2), text editor frameworks (such as xi or Visual Studio Code), that would enable (re)development of such a tool?

      Scrivenvar is written in Java, but to my chagrin, Java 9+ no longer bundles JavaFX. The text editor was based on MarkdownWriterFX, itself based on JavaFX. This means there's no easy upgrade path, so I'm looking to rebuild the editor either as a cross-platform desktop application or as a web application.

      8 votes
    35. What tasks on your computer have you automated?

      After using Shreddit to delete my Reddit history periodically for some time now, I finally decided to make a cron job to automate it on a weekly basis. I use it to delete every post and comment...

      After using Shreddit to delete my Reddit history periodically for some time now, I finally decided to make a cron job to automate it on a weekly basis. I use it to delete every post and comment that isn't whitelisted, which right now is just a tiny subreddit for a musician I like that I solely moderate and a pinned post explaining why I have a bunch of karma but barely any posts.

      After setting this up, it got me curious as to what tasks other people automate in their lives in order to streamline their workflows and eliminate minor (or major) routine tasks.

      So, what do you automate, and how did you go about doing it?

      18 votes
    36. Do you run your own blog for personal use?

      I know this has been posted before, but I was going through old posts about blogging and at least half the blogs linked in the comments were offline now, so I thought I'd bring this topic back to...

      I know this has been posted before, but I was going through old posts about blogging and at least half the blogs linked in the comments were offline now, so I thought I'd bring this topic back to light.

      Do you run your own personal blog, and if so, could you share some details?

      • Is it self-hosted, or do you rent server space?

      • Do you use Wordpress or another blog platform like that, publish through other means like a flat-file CMS, or did you build it from scratch?

      • What topics do you write about?

      • How consistently do you post; or alternatively, why don't you post as often as you would like to?

      • Do you keep analytics, or do you write regardless of how many clicks you get?

      • Is your site monetized with ads or otherwise?

      • How popular is your blog on average?

      • How do you keep up with other writers' posts?

      I'm bringing this up because it seems like most places around the web centered on blogging are more in it for the money rather than for the content. Places like /r/blogging and the like are all talk about how to maximize views, earn revenue, and find your niche. I'd love to see some discussion more geared towards the content and construction of individual blogs, as opposed to people trying the next "get rich quick" scheme on their lists of passive income opportunities.

      Personally, I have multiple blogs for the sole purpose of giving me a platform to voice my opinions or share things that interest me without being constrained to a centralized platform like Twitter or Medium. I'd love to hear what you have all made and/or shared online, as well as the process behind making it happen.

      27 votes
    37. What arcade game would you like to see preserved at a source code level?

      Hi All, I have recently completed a software archaeology project, reverse engineering Space Invaders si78c, and would like to cast around for opinions as to which game(s) to do next. I am...

      Hi All,

      I have recently completed a software archaeology project, reverse engineering Space Invaders si78c, and would like to cast around for opinions as to which game(s) to do next.

      I am currently thinking of doing either Pacman, Donkey Kong or Galaga but am willing to entertain suggestions about other games of a similar vintage. Please go into detail as to why you think it's an important title.

      Eventually I would like to tackle bigger games from the home micro / console market, but they are most likely out of scope for now.

      Please note, this is very labour intensive work, taking several months / years at a time depending on title complexity, and I will most likely only do a handful of these (barring any great advances) in my lifetime.

      Cheers,
      Jason

      18 votes
    38. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      8 votes
    39. How to handle encrypted text fields?

      So, I have about fifteen years of web development experience mainly with classic ASP. Interestingly I never had a client who required any type of encryption other than some very low-level...

      So, I have about fifteen years of web development experience mainly with classic ASP. Interestingly I never had a client who required any type of encryption other than some very low-level username/password logins for administrative backends.

      What I am working on, as a pet project for my friends and family, is a private/direct messaging system that I will write with Go. To be clear, this is not a messaging service like WhatsApp nor Signal. It will be similar to the private/direct messaging that you see here at Tildes or Reddit.

      It is important to my friends and family that messages we write to each other be private and secure.

      Thus, how would I go about encrypting the messages so that if someone were to get into the server and acquire the database, they wouldn’t be able to read them?

      EDIT: At some point I will make the code available through GitLab.

      8 votes
    40. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      10 votes
    41. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      19 votes
    42. [RESOLVED] Is there a way for me to access the contents of my password protected zip file?

      At least one year ago I password protected a zip file. I'm not sure how I either lost or did not save the password with my password manager. Any help would be greatly appreciated. It's stored on...

      At least one year ago I password protected a zip file. I'm not sure how I either lost or did not save the password with my password manager.

      Any help would be greatly appreciated. It's stored on my desktop macOS 10.15.3.

      EDIT: I was able to determine what the zip file contained. Turns out that it was tax/bank information that I was able to find online. Thanks for all the help!

      9 votes
    43. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      10 votes
    44. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      17 votes
    45. Good domain registrars?

      Looking to pick up a domain name for a personal site and was wondering if anyone could recommend a good registrar. The whole domain name industry always feels more than a bit shady, so I'm wary of...

      Looking to pick up a domain name for a personal site and was wondering if anyone could recommend a good registrar. The whole domain name industry always feels more than a bit shady, so I'm wary of most of the providers.

      31 votes
    46. What git commands do you use frequently that you think more people should use?

      Some of my favorites are: git add -p * This will go through your unstaged changes in chunks and allow you to stage each chunk individually in an interactive shell. git checkout -p * Similar to the...

      Some of my favorites are:


      git add -p *

      This will go through your unstaged changes in chunks and allow you to stage each chunk individually in an interactive shell.


      git checkout -p *

      Similar to the above, this will go through your unstaged changes and allow you to undo each chunk. I almost never use Ctrl+Z anymore and go straight for this. Want to remove all of those print-debugging statements? Use this command to pluck them out one-by-one.


      git commit -a --amend --no-edit && git push --force-with-lease

      I alias this one to whoops in my bash profile. It will add all unstaged changes, add them to your last commit and then (safely) force-push the local branch to the tracked remote branch. This is especially useful when working with CI and you need to make constant configuration changes to get it to work. Yes, you could squash those commits afterwards as an alternative. But this is easier.


      git rebase -i HEAD~5

      (Change 5 to the number of previous commits you want to see)

      Interactive rebases are a core part of my git flow when working on feature branches. If a co-worker gives me feedback on a code review that requires a change to a previous commit I'll go back and edit that commit using this command. You can remove individual commits, squash commits, reorder commits, and so much more.

      25 votes
    47. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      17 votes
    48. Do you use Github Actions for continuous integration?

      I recently came across an article about setting up automated builds (installation, code quality check, running tests) using Github Actions. I've since found a few more articles excitedly promoting...

      I recently came across an article about setting up automated builds (installation, code quality check, running tests) using Github Actions. I've since found a few more articles excitedly promoting the feature and, from my personal testing, it seems to work quite well.

      I was wondering if others had begun using this feature for their own projects, or had tried it and disliked it and used something else. Is there any broader community consensus towards which tasks it's best-suited for and when to use something more robust?

      10 votes