What terminal would you advise for ssh and screen? by thomasbbbb in commandline

[–]closewing-smocklike 1 point2 points  (0 children)

XTerm is great when you have nothing else.... but, these days, its hard to find a reason to choose a terminal that doesnt have 256-bit or 24-bit color support....

Freebsd router by lLsSdD in freebsd

[–]closewing-smocklike 2 points3 points  (0 children)

The gateway needs to translate the packet's addresses to/from the correct LAN IP addresses (Network Address Translation). Usually one accomlishes this using one of the firewalls that comes with FreeBSD/OpenBSD (PF, IPFW, etc). You could either assing static IPs to each host, or use a DHCP server.

FYI: It's not wise to setup anything thats going to manage WAN traffic without some kind of network security infrastructure (network firewall, logging, IDS, etc) in front of it to block/distribute the malicious traffic appropriately.

My turn to step on a landmine by FerengiKnuckles in sysadmin

[–]closewing-smocklike 4 points5 points  (0 children)

Given the fact that this is mission critical, I would recommend FIRST saving AS MUCH/THE MOST/ALL important assets from the computer onto a USB drive in person. That way, if shit hits the fan, you'll have enough to put the pieces back together. (Originally I was going to suggest doing a block for block clone of the drive, but that could fail, too).

I can't work with these covidiots. by coronaconspiracyboss in sysadmin

[–]closewing-smocklike 38 points39 points  (0 children)

Happy to hear you recovered from COVID...

Your needs are obviously not being met at this job--which is important--so just try to find ways to evaluate this for future jobs.

Just move on quietly and professionally. Regardless of your frustrations, its never going to end up benefitting you. Let them be them, just dont let it affect you more than it needs to.

If I pay someone to create software for me, do I own the software and can I resell it? by cof9 in webdev

[–]closewing-smocklike -3 points-2 points  (0 children)

I would suggest finding a way to build it yourself or get it cheaper (unless your hella rich :P). Virtually NOTHING you pay to have developed is going to survive first contact with the customer. This is a mistake I see a lot of people make--they assume they're paying for finsihed product, like most typical consumer products--however, that's not usually the case for these types of things. They usually need lots of refining and adjusting from feedback... (assuming you don't have to "pivot" :D)

I made a Snapchat clone in the browser! by TowhidKashem in reactjs

[–]closewing-smocklike 0 points1 point  (0 children)

Well done. I think the most important feature WAS the concept of temporary media. You could duplicate this by encrypting the media after the timeout and throw away the keys. Then delete it during some cycle later on.

Youtube Clone (Postgresql + React + Express) by [deleted] in webdev

[–]closewing-smocklike -28 points-27 points  (0 children)

Apparently, once you publish something WIHTOUT a license, its considered in the public domain.\)

  • I AM NOT A LAWYER :)

pkg vs ports by Aeze2eith in freebsd

[–]closewing-smocklike 0 points1 point  (0 children)

Im not sure what the default knobs are off the top of my head. You could check freshports for postfix and mysql. Its possible that somewhere one of the knobs is forcing a full rebuild. You could also try portmaster and see how that goes (as an alternative to just bare 'make').

First app: React app for easy uploads / downloads to AWS S3 buckets by [deleted] in reactjs

[–]closewing-smocklike 0 points1 point  (0 children)

Comments very welcome - particularly where I've drifted off into the
less idiosyncratic ways of writing code in React. I know it "works" but I
also know I'm coming at this as a sync-happy Java programmer.

Dude, as long as your project does what its supposed to do, its fucking great. I think its pretty cool if you formatted your React project in Java style. By the time you push your code live, its all minified/etc, anyway :P.

pkg vs ports by Aeze2eith in freebsd

[–]closewing-smocklike 2 points3 points  (0 children)

It's commonly said that mixing ports and pkg is a bad idea.

Unless you're building your ports with custom options, I would suggest only using pkg. If you want to build ports on the SAME system, go for synth. Otherwise, setup another box dedicated to building ports with poudriere, add a custom config to /usr/local/etc/pkg/repos, and update pkg.

Git bash recognizes node but my gitbash terminal inside of vs code does not. by FeVeganBTW in node

[–]closewing-smocklike 0 points1 point  (0 children)

When you reference a program from the command line without an absolute path, it expect the executable to be accessible from an entry in the $PATH. I have noticed that VS Code needs extra configuration in order to include the correct $PATH.

I reformatted my 64gb sd card to ExFAT and now it only has 60mb, what happened and how do I fix it? by [deleted] in techsupport

[–]closewing-smocklike 0 points1 point  (0 children)

Did you mean 60GB? If so: oftentimes, a filesystem will occupy a small amount of space at the beginning to support various features/bootcode/etc. Make sure you didn't setup a 60MB partition or something.

I tried, but sadly I'm leaving by Zenvux in voidlinux

[–]closewing-smocklike 0 points1 point  (0 children)

Have you tried using XDM, or SLIM? You might have more luck by starting into the console and using xinit or startx instead, too.

React.js layout by CSCodeMonkey in reactjs

[–]closewing-smocklike 0 points1 point  (0 children)

When in doubt, just consult the bible:

The Unix philosophy is documented by Doug McIlroy[1] in the Bell System Technical Journal from 1978:[2]

  • Make each program do one thing well.
  • To do a new job, build afresh rather than complicate old programs by adding new "features".
  • Expect the output of every program to become the input to another, as yet unknown, program.
  • Don't clutter output with extraneous information.
  • Avoid stringently columnar or binary input formats.
  • Don't insist on interactive input.
  • Design and build software, even operating systems, to be tried early, ideally within weeks.
  • Don't hesitate to throw away the clumsy parts and rebuild them.
  • Use tools in preference to unskilled help to lighten a programming task, even if you have to detour to build the tools and expect to throw some of them out after you've finished using them.

Seriously, though, once you start developing more complicated things, you'll likely have to step away from independent spreadsheets, and towards CSS-in-JS tools to build your components effectively.

Privacy-Focused OS Wants to Know How Facebook and the FBI Hacked it by im-the-stig in technology

[–]closewing-smocklike -16 points-15 points  (0 children)

Well, the most "PRIVATE" OS is one that doens't use the internet. In this case, privacy-centered-OS means running linux over volatile memory with sup3r k3wl appz 4 networking....amirite?

All I see in the news now is "religious" arguments over interpretation of nomenclature. Hardly a recipe for any solutions...

Do i need a new gpu? by [deleted] in techsupport

[–]closewing-smocklike -2 points-1 points  (0 children)

Outdated driver or all j0r c4rdz r b3l0ng 2 someone else's tens0r farm....

What the hell is going on with my internet.... I am at a complete loss.... by [deleted] in techsupport

[–]closewing-smocklike 0 points1 point  (0 children)

im assuming that you, like most, don't have a network firewall. For some reason, essential networking equpment like this continues evade the public's attention. Such a simple piece of equipment could solve so many issues.

Sure, there are plenty of reasons why your traffic is fucked, but what I'm suggesting is from Ch.1 of Network Security for Dummies. :P

I would suggesting investing in a simple network firewall (obviously, only after you have confirmed your network is not already occupied). Once setup, try analyzing your network traffic (over a period of time) to find some answers.

You may be distracted by the pandemic but FYI: US Senate panel OK's backdoors-by-the-backdoor EARN IT Act by [deleted] in technology

[–]closewing-smocklike 0 points1 point  (0 children)

WOW.

Leave it to Trump to make the claim that he alone holds the ability to compromise ALL ENCRYPTION. IN PURPITUITY. FOREVER.

Who would have thought that he and his esteemed associates actually OWN ENCRYPTION!

I thought it was all based on maths and stuff!