• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics with the tag "help". Back to normal view
    1. 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
    2. 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
    3. 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
    4. 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
    5. 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
    6. [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
    7. 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
    8. [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
    9. Does anyone know how to interpret Mac's report code?

      I made a previous post about the weird issues that I am having with my iMac here. Today I ran Onyx maintenance tasks which, after completion, automatically restarts the computer. After restart I...

      I made a previous post about the weird issues that I am having with my iMac here.

      Today I ran Onyx maintenance tasks which, after completion, automatically restarts the computer.

      After restart I received a message stating that the computer was restarted because of a problem (there wasn't) and would I like to generate a report to send to Apple. Below is that report:

      panic(cpu 1 caller 0xffffff7f91c77aae): watchdog timeout: no checkins from watchdogd in 182 seconds (490 totalcheckins since monitoring last enabled), shutdown in progress
      Backtrace (CPU 1), Frame : Return Address
      0xffffff8112e4bc40 : 0xffffff8010b39a3b 
      0xffffff8112e4bc90 : 0xffffff8010c70fe5 
      0xffffff8112e4bcd0 : 0xffffff8010c62a5e 
      0xffffff8112e4bd20 : 0xffffff8010ae0a40 
      0xffffff8112e4bd40 : 0xffffff8010b39127 
      0xffffff8112e4be40 : 0xffffff8010b3950b 
      0xffffff8112e4be90 : 0xffffff80112d1875 
      0xffffff8112e4bf00 : 0xffffff7f91c77aae 
      0xffffff8112e4bf10 : 0xffffff7f91c77472 
      0xffffff8112e4bf50 : 0xffffff7f91c8ce76 
      0xffffff8112e4bfa0 : 0xffffff8010ae013e 
            Kernel Extensions in backtrace:
               com.apple.driver.watchdog(1.0)[AA44EEB8-57FA-3CAC-9105-C7AB21900B9A]@0xffffff7f91c76000->0xffffff7f91c7efff
               com.apple.driver.AppleSMC(3.1.9)[6DA4BDC6-9C64-34B3-A60E-D345D2DC2D5F]@0xffffff7f91c7f000->0xffffff7f91c9dfff
                  dependency: com.apple.iokit.IOACPIFamily(1.4)[4A40B298-87E0-373E-84A9-9A2227924F8F]@0xffffff7f91c6d000
                  dependency: com.apple.driver.watchdog(1)[AA44EEB8-57FA-3CAC-9105-C7AB21900B9A]@0xffffff7f91c76000
                  dependency: com.apple.iokit.IOPCIFamily(2.9)[AA7C7A4F-9F5D-3533-9E78-177C3B6A72BF]@0xffffff7f9152f000
      
      BSD process name corresponding to current thread: kernel_task
      
      Mac OS version:
      19B88
      
      Kernel version:
      Darwin Kernel Version 19.0.0: Thu Oct 17 16:17:15 PDT 2019; root:xnu-6153.41.3~29/RELEASE_X86_64
      Kernel UUID: 7503CD47-851F-321E-8747-50DB4299165F
      Kernel slide:     0x0000000010800000
      Kernel text base: 0xffffff8010a00000
      __HIB  text base: 0xffffff8010900000
      System model name: iMac16,2 (Mac-FFE5EF870D7BA81A)
      System shutdown begun: YES
      Panic diags file available: YES (0x0)
      
      System uptime in nanoseconds: 5121488392845
      last loaded kext at 850143916512: >!AXsanScheme	3 (addr 0xffffff7f949f5000, size 32768)
      last unloaded kext at 1098411559817: >!AXsanScheme	3 (addr 0xffffff7f949f5000, size 32768)
      loaded kexts:
      com.objective-see.lulu	1.1.2
      >!ATopCaseHIDEventDriver	3410.1
      @fileutil	20.036.15
      >AudioAUUC	1.70
      >!AGraphicsDevicePolicy	4.5.9
      @AGDCPluginDisplayMetrics	4.5.9
      >!AHV	1
      |IOUserEthernet	1.0.1
      |IO!BSerialManager	7.0.1f1
      >!AUpstreamUserClient	3.6.8
      >AGPM	111.2.5
      >!APlatformEnabler	2.7.0d0
      >X86PlatformShim	1.0.0
      >pmtelemetry	1
      >!A!IBDWGraphics	14.0.2
      @Dont_Steal_Mac_OS_X	7.0.0
      >!AHDA	283.14
      >eficheck	1
      >!AThunderboltIP	3.1.3
      |Broadcom!B20703USBTransport	7.0.1f1
      >!ALPC	3.1
      >!ASMCLMU	212
      >!A!IBDWGraphicsFramebuffer	14.0.2
      >!A!ISlowAdaptiveClocking	4.0.0
      >!AMCCSControl	1.13
      @filesystems.autofs	3.0
      |SCSITaskUserClient	422.0.2
      >!U!SCoexistentDriver	489.41.1
      @filesystems.apfs	1412.41.1
      >!ASDXC	1.7.7
      |!ABCM5701Ethernet	10.3.5
      >AirPort.BrcmNIC	1400.1.1
      >!AAHCIPort	341.0.2
      >!AVirtIO	1.0
      @filesystems.hfs.kext	522.0.9
      @!AFSCompression.!AFSCompressionTypeDataless	1.0.0d1
      @BootCache	40
      @!AFSCompression.!AFSCompressionTypeZlib	1.0.0
      @private.KextAudit	1.0
      >!ARTC	2.0
      >!AACPIButtons	6.1
      >!AHPET	1.8
      >!ASMBIOS	2.1
      >!AACPIEC	6.1
      >!AAPIC	1.7
      $!AImage4	1
      @nke.applicationfirewall	303
      $TMSafetyNet	8
      @!ASystemPolicy	2.0.0
      |EndpointSecurity	1
      >!AHIDKeyboard	209
      >!AMultitouchDriver	3410.2
      >!AInputDeviceSupport	3410.1
      >!AHS!BDriver	3410.1
      >IO!BHIDDriver	7.0.1f1
      >!AGraphicsControl	4.5.9
      |IOAVB!F	800.17
      >!ASSE	1.0
      >DspFuncLib	283.14
      @kext.OSvKernDSPLib	529
      @!AGPUWrangler	4.5.9
      |IONDRVSupport	568
      |Broadcom!BHost!CUSBTransport	7.0.1f1
      |IO!BHost!CUSBTransport	7.0.1f1
      |IO!BHost!CTransport	7.0.1f1
      |IO!B!F	7.0.1f1
      |IO!BPacketLogger	7.0.1f1
      >!AHDA!C	283.14
      |IOHDA!F	283.14
      |IOAudio!F	300.2
      >!ASMBusPCI	1.0.14d1
      @!AGraphicsDeviceControl	4.5.9
      |IOAccelerator!F2	438.2.7
      >X86PlatformPlugin	1.0.0
      >IOPlatformPlugin!F	6.0.0d8
      |IOSlowAdaptiveClocking!F	1.0.0
      >!AThunderboltEDMSink	4.2.1
      >!ASMBus!C	1.0.18d1
      |IOGraphics!F	568
      @plugin.IOgPTPPlugin	810.1
      @kext.triggers	1.0
      |IOUSBMass!SClass	4.0.4
      @vecLib.kext	1.2.0
      >usb.networking	5.0.0
      >usb.!UHostCompositeDevice	1.2
      |IOAHCIBlock!S	316.40.3
      |IOEthernetAVB!C	1.1.0
      |IO80211!F	1200.12.2b1
      >mDNSOffloadUserClient	1.0.1b8
      >corecapture	1.0.4
      |IOSkywalk!F	1
      |IOAHCI!F	290.0.1
      >usb.!UXHCIPCI	1.2
      >usb.!UXHCI	1.2
      |IOSerial!F	11
      |IOSurface	269.6
      @filesystems.hfs.encodings.kext	1
      >!AThunderboltDPOutAdapter	6.2.3
      >!AThunderboltDPInAdapter	6.2.3
      >!AThunderboltDPAdapter!F	6.2.3
      >!AThunderboltPCIDownAdapter	2.5.2
      >!AThunderboltNHI	5.8.0
      |IOThunderbolt!F	7.4.6
      |IOUSB!F	900.4.2
      >!AEFINVRAM	2.1
      >!AEFIRuntime	2.1
      |IOSMBus!F	1.1
      |IOHID!F	2.0.0
      $quarantine	4
      $sandbox	300.0
      @kext.!AMatch	1.0.0d1
      >DiskImages	493.0.0
      >!AFDEKeyStore	28.30
      >!AEffaceable!S	1.0
      >!AKeyStore	2
      >!UTDM	489.41.1
      |IOSCSIBlockCommandsDevice	422.0.2
      >!ACredentialManager	1.0
      >KernelRelayHost	1
      >!ASEPManager	1.0.1
      >IOSlaveProcessor	1
      |IOUSBMass!SDriver	157.40.7
      |IOSCSIArchitectureModel!F	422.0.2
      |IO!S!F	2.1
      |IOUSBHost!F	1.2
      >!UHostMergeProperties	1.2
      >usb.!UCommon	1.0
      >!ABusPower!C	1.0
      |CoreAnalytics!F	1
      >!AMobileFileIntegrity	1.0.5
      @kext.CoreTrust	1
      |IOTimeSync!F	810.1
      |IONetworking!F	3.4
      |IOReport!F	47
      >!AACPIPlatform	6.1
      >!ASMC	3.1.9
      >watchdog	1
      |IOPCI!F	2.9
      |IOACPI!F	1.4
      @kec.pthread	1
      @kec.corecrypto	1.0
      @kec.Libm	1
      
      4 votes
    10. This is the first time that I've had significant trouble with a desktop Mac since I purchased one in 2008.

      Basically, any trouble that I've had prior to this has been negligible and easily resolved. I don't recall, exactly, when these two issues began. Possibly months after upgrading to Catalina. I'm...

      Basically, any trouble that I've had prior to this has been negligible and easily resolved.

      I don't recall, exactly, when these two issues began. Possibly months after upgrading to Catalina. I'm combining the two issues because I believe that they be related.

      The first issue that I noticed was with Firefox (probably 70.0.1 and slightly earlier). I would have two or three tabs open, and go back to one of the other tabs, to find a completely white screen with a grayish colored pinwheel. I'd then go back to one of the other tabs to find the same thing (that was previously not happening. Then, I'd close all the tabs to open a new one in order to try starting fresh. No dice...same shit.

      Following this I'd select > Firefox > Quit Firefox. Minutes later it's still not quitting indicated by the black dot under the icon of the launch bar. So, I'd go to the apple icon > Force Quit > to execute that. Finally, it would quit. Minutes later I'd try to reopen Firefox and the icon would just keep jumping up and down from the launch bar and nothing would happen.

      I guess I'll just have to restart the computer then, right? Apple icon > Restart > several minutes later nothing would happen except for another grayed out pinwheel. So, I just performed a hard reset by holding in the power button on the back left of the screen. Waited several minutes, started it up again by quickly pressing the same button.

      After logging into my account, I'd get the usual text box saying that 'Your computer was restarted because of a problem...blah...blah...blah'. All of the aforementioned took many minutes.

      Now, when I try to shutdown my iMac it just goes black and then returns to the login screen with a brief black screen, in several languages (Chinese being one of them), that 'You have restarted your computer.....'

      And Firefox keeps fucking up as described above. Going to about:crashes registers jack shit.

      It's a never-ending loop of Mac/Firefox bullshit that's driving me fucking nuts.

      10 votes
    11. Some questions about using terminal

      When running brew upgrade I get some errors that I'd like to resolve. xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at:...

      When running brew upgrade I get some errors that I'd like to resolve.

      xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

      I'm fairly new to terminal and have no idea what this is or how to fix it.

      The next one is:

      Error: Could not link: /usr/local/share/doc/homebrew
      Please delete these paths and run 'brew update'.

      How, exactly, do I delete paths?

      Also, would you recommend some introductory to intermediate reading on how to use terminal?

      6 votes
    12. Help me get my head around DNSCrypt and DoH/DoT

      I want to adopt these technologies b/c I'm moving to a home w/o WiFi: I'll only use mobile networks in order to save some money. But the general pipeline and setup are hard to digest, and I'm not...

      I want to adopt these technologies b/c I'm moving to a home w/o WiFi: I'll only use mobile networks in order to save some money. But the general pipeline and setup are hard to digest, and I'm not sure if I really understand what are the implications for my privacy, except for the fact that DNS queries are encrypted so I don't leak domain names. This is especially important to me because Turkish internet law and the censorship mechanism is really intrusive, with DPI & DNS blocking. My current ISP does not fiddle with my HTTPS traffic, but I won't have that with my mobile network.

      I'm also considering a VPN, but major VPNs are blocked here. To what extent do the purposes of VPNs and these DNS solutions overlap? Assuming most of my important traffic is over HTTPS+DoH/T, how safe am I, and most importantly how much can I penetrate the censorship mechanisms?

      6 votes
    13. Need A Simple Way To Password Protect A Webpage

      Hey Tildes! I've got a static, basic website, HTML and CSS. It's one page only. But I'd like to create a second page with some more private content that is password protected. I know that I can...

      Hey Tildes!

      I've got a static, basic website, HTML and CSS. It's one page only. But I'd like to create a second page with some more private content that is password protected.

      I know that I can accomplish this via .htaccess but what I don't like about this method is that when the user navigates to the page, they get a pop up asking for a username and password. What I would like is having the user navigate to the page, and then they are met with a simple form asking for just a password (no username). After they enter the password, the "veil" lifts or the page forwards and they get the private content.

      Here's the thing... the content really only needs to seem private. It's not super secret, personal information. I don't want it indexed by search engines (nofollow), and I want it basically hidden, but the password is only there to make the user feel exclusive. If some tech-minded person encountered this page and jumped through a bunch of hoops to get in without the password, it's not a big deal to me. In reality, 99.9% of people accessing this page will not be able to bypass the password.

      I'm guessing this can be accomplished easily in Javascript, but I don't really know much Javascript apart from finding code snippets and plunking them in. I also want to be able to fully design the password entry page so that it looks branded, so a code snippet plunked down into my HTML doc would be great for this.

      If there is an easy way to actually protect the content behind the password, that would be excellent. In this case, I imagine it would be much like a news site with an ad-blocker-blocker. Just some kind of pop-up that blocks all the content. Enter the password, and you're in.

      Anyhow, I hope I've described what I'm looking for accurately enough. Anybody have any easy and quick ways to accomplish this?

      14 votes
    14. How do you structure larger projects?

      I'll be writing a relatively large piece of scientific code for the first time, and before I begin I would at least like to outline how the project will be structured so that I don't run into...

      I'll be writing a relatively large piece of scientific code for the first time, and before I begin I would at least like to outline how the project will be structured so that I don't run into headaches later on. The problem is, I don't have much experience structuring large projects. Up until now most of the code I have written as been in the form of python scripts that I string together to form an ad-hoc pipeline for analysis, or else C++ programs that are relatively self contained. My current project is much larger in scope. It will consist of four main 'modules' (I'm not sure if this is the correct term, apologies if not) each of which consist of a handful of .cpp and .h files. The schematic I have in mind for how it should look is something like:

      src
       ├──Module1 (Initializer)
       │         ├ file1.cpp
       │         ├ file1.h
       │         │...
       │         └ Makefile
       ├───Module2 (solver)
       │          ├ file1.cpp
       │          ├ file1.h
       │          │...
       │          └ Makefile
       ├───Module3 (Distribute)
       │          ├ file1.cpp
       │          └Makefile 
       └ Makefile
      

      Basically, I build each self-contained 'module', and use the object files produced there to build my main program. Is there anything I should keep in mind here, or is this basically how such a project should be structured?

      I imagine the particularly structure will be dependent on my project, but I am more interested in general principles to keep in mind.

      14 votes
    15. Python noob having trouble installing black

      So, the black installation doc tells me to install black by using: pip install black I don't know what pip is so I go read about it here. These instructions tell me that pip is already installed...

      So, the black installation doc tells me to install black by using: pip install black

      I don't know what pip is so I go read about it here. These instructions tell me that pip is already installed since I have the latest version of Python installed.

      That's wonderful, right?

      Not for me. How do I install black?

      Black can be installed by running pip install black.

      Do I run this from the Terminal (I'm using Mac)?

      5 votes
    16. State of WebRTC outside of major browsers

      I've been trying to set up a reliable lightweight solution for high quality, low-latency webcam (v4l2) streaming from Linux server to browsers, allowing for small (1-5) number of concurrent...

      I've been trying to set up a reliable lightweight solution for high quality, low-latency webcam (v4l2) streaming from Linux server to browsers, allowing for small (1-5) number of concurrent viewers.

      The obvious choice here is WebRTC, which when used through browser APIs, works wonderfully. It has low latency and automatic quality adjustment depending on network performance.
      I also checked out RTSP and RTMP, which are not supported without browser plugins. Next candidates were DASH and HLS, but while they provide high quality, they also have high latency.
      For a while I used MPEG1 streaming through Websockets (using jsmpeg library), which worked and had low latency, but the video quality was bad.

      Back to WebRTC - It seems like reliable, lightweight and maintained projects are really hard to find. So far I've found a few WebRTC media servers, but they're overkill for my use case:

      • Janus
      • MediaSoup
      • Kurento (unmaintained)

      I also tried implementing this functionality using low level Gstreamer elements in Python using PyGObject, but that's proving to be rather complicated with a ton of extremely low level implementation details.

      If anyone has tried doing something similar, I'd really like to hear what (if any) problems you had and if you found any sane solutions. Next thing on my list is using headless Chromium in combination with Puppeteer, but I'd really prefer more lightweight solutions.

      9 votes
    17. Help: I just received a mail from my own email, can't know if phishing or I'm hacked

      I just received a mail from my own e-mail address, hosted on Gandi on my own domain name. It said that the sender has hacked me, used malware, keyloggers and RDP to get my passwords and copy all...

      I just received a mail from my own e-mail address, hosted on Gandi on my own domain name. It said that the sender has hacked me, used malware, keyloggers and RDP to get my passwords and copy all my files to his own computer, and took videos of me while watching adult content using my webcam (I never noticed the light turning on for it). Claims they've been doing this for a few months. Gives a bitcoin address and wants $1000 (a sum I can't and won't give, don't even have a fraction of it) in 48 hrs, or else will share the videos with my contacts. It said something about a pixel the message included.

      I viewed the message from K-9 mail on android (which didn't tell anything about pixels or whatnot), and when I went back on my computer to check the headers and stuff, the message was deleted.

      Now, is this some sort of phishing or or have I really been pwned? I feel like it's just phishing, but the message deleting itself kinda gave me shills of fear. I promptly changed my password for the mail account.

      10 votes
    18. How to make money with Wordpress

      I have just graduated from uni, and am preparing for masters next fall. I'm a humanities student, but have some programming knowledge. Currently I'm looking for literary translation jobs, but...

      I have just graduated from uni, and am preparing for masters next fall. I'm a humanities student, but have some programming knowledge. Currently I'm looking for literary translation jobs, but should I fail that, I want to find some light freelance work (so that I can spare more time to my studies), and looking at e.g. freelancer.com, Wordpress is still quite popular.

      What are some good introductory material for Wordpress and PHP, that preferably does not assume total beginner to programming? How much can I expect to make, for how much effort? I'd be content if I could make $200-250 w/ 3-5hr work per day, or a couple full days a week, that's all I really need and such hours would mean that I could keep on doing such work even when I'm writing my thesis. I'm in Turkey, FWIW.

      7 votes
    19. Need help with Switching to linux

      Hi all, Hope ya'll doing good. I am done with windows. So I want to switch to linux. I have used it a few times. I just wanted to know, how long will it take to have it setup? Also, I am learning...

      Hi all, Hope ya'll doing good. I am done with windows. So I want to switch to linux. I have used it a few times. I just wanted to know, how long will it take to have it setup? Also, I am learning data science. Will switching to linux have any serious implications? Thanks

      29 votes
    20. A question about mailing lists

      Having recently installed OpenBSD, "join the mailing list" is a piece of advice I've come across a few times now. But being a hip young teenager unfamiliar with what exactly that entails, I...

      Having recently installed OpenBSD, "join the mailing list" is a piece of advice I've come across a few times now. But being a hip young teenager unfamiliar with what exactly that entails, I thought I'd go through how I've attempted to do that as a sort of sanity check, as some of you old farts will probably be much more familiar with them than I am.

      First, I went to the OpenBSD Mailing Lists page and scrolled down to the "Managing list membership via the web" section, which took me here. After following the sign up instructions and logging in to my email to confirm my registration, I attempted to navigate to the misc mailing server, at which point I subscribed to that specific list and again confirmed my subscription.

      So, I'm relatively sure I'm now subscribed to the "misc" OpenBSD mailing list. However my question is mainly...what exactly do I do now? Specifically, will new messages in misc automatically go to my inbox, or is there something else that must be done? I'm relatively sure the webpage can't be used to access messages from the mailing list.

      9 votes
    21. How Do I Make A Database?

      Hello everyone! I've recently got an idea for a Database as a Service I'd like to create. The only issue is - I don't know how to create or host a database! I've only ever used Mongoose/mLab with...

      Hello everyone!

      I've recently got an idea for a Database as a Service I'd like to create. The only issue is - I don't know how to create or host a database!

      I've only ever used Mongoose/mLab with Javascript, and a minimal amount of Postgres with Python.

      If I'm looking to create a database that will, eventually, be able to store images, songs, and videos, where should I start my homework?

      I can create the backend and the frontend with no issue - just stuck on this part here. If it's of any relevance, I most frequently use the MERN stack.

      13 votes
    22. How important is response time in monitors and how distinguishable is it?

      I'm currently looking for a new monitor and I have the ASUS MG279Q, the ASUS PG248Q and the ASUS MG278Q. Now, my setup is not the highest end, but decent with an i7 and a 1060 3GB, and there are...

      I'm currently looking for a new monitor and I have the ASUS MG279Q, the ASUS PG248Q and the ASUS MG278Q. Now, my setup is not the highest end, but decent with an i7 and a 1060 3GB, and there are three concerns I have currently not found an answer for:

      1. The (potential) difference in quality between the MG279Q's IPS panel and the MG278's TN panel
      2. And the delay difference, the TN panel having a 1ms response time and the IPS' 4ms
      3. If my setup can even handle 1440p/144Hz (I don't need to play on the highest settings, nor do I need to reach those 144 FPS), in which case I would tend more towards the PG248Q

      I'd love to upgrade towards 1440p as the screen real estate would be good for working (which I do a lot on the PC) and I would, I could later upgrade my GPU if the performance in games isn't satisfactory. I think my setup wouldn't have any issue handling day to day tasks and if need be I can play on lower resolutions or lower graphic settings. Also I wonder how large the difference between the IPS and TN panel is and if it's noticeable, particularly with colours.

      Does anyone of you have experience with the subject or with the monitors named in particular?

      20 votes
    23. Getting Started as a Developer from Scratch

      I have been interested in making the gradual career change to software development from my current humanities field. This stems from a handful of different places. Of course the pay and...

      I have been interested in making the gradual career change to software development from my current humanities field. This stems from a handful of different places. Of course the pay and flexibility are strong drivers but I like the idea of a field that is somewhat of a creative expression; one where you can manifest your knowledge and experience into something tangible.

      I have no experience with programming other than SQL use in ArcGIS and am hoping to gain some knowledge about the field; so anything would be helpful. Whether what to expect from this line of work, where someone with no experience should look to get started and what to expect, personal journeys, etc.

      Cheers!

      14 votes
    24. Batch-saving websites for offline viewing

      Anybody here have a good setup for batch-downloading articles/news from several sites you specify, similar to youtube-dl but for general websites? I'm sure it could be scripted with not too much...

      Anybody here have a good setup for batch-downloading articles/news from several sites you specify, similar to youtube-dl but for general websites? I'm sure it could be scripted with not too much effort but I'm interested what polished solutions there are.

      The idea would be so people with rare internet access could go to a hotspot weekly or something and sync that week's worth of content.

      12 votes
    25. Advice for those who want a computer science career?

      Those that have pursued a career that deals with any type of computer science, what advice would you give to students before they get a job in it? What do you do on a daily basis? What would you...

      Those that have pursued a career that deals with any type of computer science, what advice would you give to students before they get a job in it? What do you do on a daily basis? What would you have wanted to know before you started?

      17 votes
    26. Need recommendation for codecademy-like course for PHP

      Hi there, It looks like codecademy took down their PHP course, which stinks becuase I love, love, love how that site approaches teaching by doing. Any other free resources out there for a...

      Hi there,

      It looks like codecademy took down their PHP course, which stinks becuase I love, love, love how that site approaches teaching by doing. Any other free resources out there for a do-not-show approach for learning PHP?

      Looking to get my feet wet so I'm a little less dangerous when tinkering with my WordPress templates.

      14 votes
    27. Total noob looking for (hopefully) simple greasemonkey script

      I have knowledge of the basic concepts of programming in general and html and some very basic knowledge of javascript, but this specific task is proving a little beyond me. I'm actually using...

      I have knowledge of the basic concepts of programming in general and html and some very basic knowledge of javascript, but this specific task is proving a little beyond me. I'm actually using tampermonkey, in case that matters.

      www.bricklink.com is a site to buy Lego from private sellers. By default, when looking at a shop's listing of items, it shows 25 per page. I would like to automatically switch to 100 per page every time.

      Here's a randomly selected store page (no affiliation) at the default 25 per page:

      https://store.bricklink.com/TheBricky#/shop?o={"itemType":"P","catID":"18","showHomeItems":0}

      Now, same page set to display 100 per page. Note how "pgSize" is added to the url but doesn't appear by default:

      https://store.bricklink.com/TheBricky#/shop?o={"pgSize":100,"itemType":"P","catID":"18","showHomeItems":0}

      What I would like is for pgSize to be set to 100 only IF

      "shop" appears in the url

      AND

      "pgSize" does not appear in the url OR "pgSize" does appear in the url but does not equal 100.

      Since Bricklink remembers pgSize per shop page per session, once pgSize is set to 100 for a particular shop greasemonkey doesn't need to do anything. Intercepting the url before the page loads would be nice but unnecessary since loading is fast and I'm not worried about bandwidth.

      I tried making this but wasn't sure how to input what I'm trying to test for in the url. Of course now that I've thought about it some more it seems the task is more probably difficult than I thought it would be at first. Any help would be appreciated.

      EDIT: This comment below seems to be working, although the way Bricklink makes their urls feels funky at times.

      10 votes
    28. Coding Noob Needs Help/Guidance on Small Project

      Hi, There's a certain site which hosts media files and has a player that depends on a lot of third-party resources to play, while browsers have native support for those file types. Those 3rd-party...

      Hi,

      There's a certain site which hosts media files and has a player that depends on a lot of third-party resources to play, while browsers have native support for those file types. Those 3rd-party resources are often blocked by ad blockers and I have no desire to white-list them. I would like to extract the direct link to the media file and make it playable on my custom web page.

      The link to the media file is present in the page source of each page, always on the same line. It's not anchored in HTML but present in the JavaScript for the player, like so:

          $(document).ready(function(){
            $("#jquery_jplayer_1").jPlayer({
              ready: function () {
                $(this).jPlayer("setMedia", {
                  [ext]: "https://[domain]/[filename.ext]"
                });
              },
      

      In this example it's on line #5. [ext] = the file extension.

      I want to build the following:

      • A web page with a form with a single input field meant to receive links from that specific file host
      • [Something] that extracts the file link from the source of the host's page
      • Present the linked file as playable in an embedded native player

      So far I've managed to create a form with an input box and a submit button, but it doesn't do anything yet. What is the best way to build the actual functionality? I know HTML/CSS. I have some rudimentary understanding of JavaScript/jQuery and Python3, so those would be my preferred tools.

      For those worried about piracy: The files in question are not copyrighted and I'm not looking to make copies. I just want to make them playable. This is for personal use.

      Thank you for reading this far. Any and all advice is welcome!

      10 votes
    29. Website Admin Question: How to Block Google?

      I have a personal website, and while I don't mind it showing up in SERPs for DuckDuckGo, Bing, etc. I do not want it showing up on Google at all. Google doesn't send traffic my way, I pay for my...

      I have a personal website, and while I don't mind it showing up in SERPs for DuckDuckGo, Bing, etc. I do not want it showing up on Google at all.

      Google doesn't send traffic my way, I pay for my site out of my salary from my day job instead of running ads, and preventing Google from indexing my site seems like the best form of nonviolent direct action I can take to protest their continuing dominance and their "embrace, extend, and extinguish" campaign against the Web.

      I figure the easiest way to do this is to add the following to my site's .htaccess file since I don't have access to the server config file:

      X-Robots-Tag: googlebot: none, noarchive, nosnippet, notranslate, noimageindex
      

      Are there any downsides that I should know about besides not showing up in Google results?

      11 votes
    30. Inexperienced Programming Question

      TLDR: What programming language would be useful for taking info in an excel file and producing a text file (that is organized and arranged in a particular way) containing that info? Which would be...

      TLDR: What programming language would be useful for taking info in an excel file and producing a text file (that is organized and arranged in a particular way) containing that info? Which would be useful for this problem but also helpful in general? And also, are there any recommended online courses where I could learn it?


      I have no real experience coding or anything but have always wanted to learn. Recently at work we've encountered a problem. My boss had created a matlab program in order to take text/numbers from an excel document and transfer them to a text file, but in an organized way.

      Say you have something you call "Pancakes" and the cell next to it has the number "3", as in there are three pancakes. I want to be able to create a text file that would read something like this:

      NUMBER OF PANCAKES

      • Pancakes: 3

      We recently have changed around the format of the excel document for a different item, for example "French Toast". I've tried to mess with matlab briefly but was unable to change the program to compensate, and I no longer easily have access to matlab.

      I'm seeing this as an opportunity to learn some programming and also fix some stuff at work. So what programming language would be useful for fixing this problem? Which would be useful for this problem, but also helpful in general? And also, are there any recommended online courses where I could learn it?

      Thanks for any help, I appreciate it.

      16 votes
    31. Learning to Program

      Hi folks, I figured this would be a good place to ask a rather simple question. Where do I start to learn to code? I'm in high school, so I have (some) time to dedicate to it, and it seems there...

      Hi folks,

      I figured this would be a good place to ask a rather simple question.

      Where do I start to learn to code?

      I'm in high school, so I have (some) time to dedicate to it, and it seems there are a plethora of websites/resources out there, so I ask: what do you recommend, and why has it worked for you? I have no prior experience. I believe that this would really help out in the long run, as I will graduate high school with an Associate's Degree in Business. Thank you!

      EDIT: Thank you for all your responses! I'll start with Python and move on from there. You guys have been a great help, and I'll vote you up or reply.

      26 votes
    32. Good open source projects for beginners to contribute to?

      I'm looking for a project to contribute too. I'm not that experienced with programming, so I want something that isn't too complex. I'm also looking for a fairly young project. Big, mature...

      I'm looking for a project to contribute too. I'm not that experienced with programming, so I want something that isn't too complex. I'm also looking for a fairly young project. Big, mature projects don't really have much that a newbie can work on.

      27 votes
    33. Learning to pentest

      Hi, I need your help to learn pentesting. I'm programming for several years. I'm really good in C# and can write moderately complex apps in Dart, Python and JavaScript. I'm in highschool and work...

      Hi, I need your help to learn pentesting.

      I'm programming for several years. I'm really good in C# and can write moderately complex apps in Dart, Python and JavaScript. I'm in highschool and work for software development company as backend developer. But general programming starts to feel so boring...

      I've started to watch LiveOverflow on youtube (no link, there is no wifi here and I don't want youtube to drain my data) and it was so interesting - so I tried it. I've tried few CTFs, read many writeups, and now I've discovered CTF hack the box.

      When I know what to do, I have no problem googling and researching and later applying my knowledge. But I often discover, that I just don't know what I don't know.

      There is one CTF challenge that I haven't completed yet. It's 20 line html page, no javascript, nothing suspicous. No cookies. It has just form with password input, which sends post request to server. Here's the problem - how do I get the flag (the password)? I can bruteforce it, but it clearly isn't the correct way. I know that the php runs on apache, debian. I've tried getting some files, I've tried going up (../), sql injection, nothing works.

      And here's the general problem - what am I missing? What to learn? What should I google? I don't want ideas what I'm missing on this one example - Instead I need some sources where I learn generally about vulnerabilities I can exploit. Some blog, some website, something like this.

      Could someone here recommend me some sources where I learn about this? How did you start and what things do you generally check when you face something you have to break into?

      Thank you

      16 votes
    34. How do you go from "knowing" a programming language to actually making useful software?

      I'm in a bit of a rutt with my journey to learn how to write software, and I really have no idea where to go from here. I've taken a bunch of software engineering courses on edx.org, and I've done...

      I'm in a bit of a rutt with my journey to learn how to write software, and I really have no idea where to go from here. I've taken a bunch of software engineering courses on edx.org, and I've done a few personal projects with what I've learned, but I still don't know enough to be able to contribute to open source projects or make anything useful.

      TL;DR
      How can I learn to actually make things?

      28 votes
    35. Need help dispelling myths about how hackers access websites

      I hope I’m posting this in the correct place. I’ve been having a disagreement with someone over the abilities of hackers. I kinda hope Deimorz pops in because he wrote automod. I said that the...

      I hope I’m posting this in the correct place. I’ve been having a disagreement with someone over the abilities of hackers. I kinda hope Deimorz pops in because he wrote automod.

      I said that the only way for someone to gain access to a subreddit to make changes is if they steal a moderator’s account password or they are added to the mod team. The person I’m having a disagreement with believes that adding text to the wiki for users to view (like the extensive wiki r/skincareaddiction has) would make it easier for hackers to insert malicious code in order to gain access to the sub. This person also mentioned being able to change the subreddit through browser tools. She insists the sidebar and wiki are potential access points for scripting attacks. Automod just so happens to be enabled which is why I mentioned Deimorz.

      I’m not an IT professional. My brothers currently are which helped me learn most of what I know. I’ve supplemented that over the years with whatever info I came across online. What she’s saying sounds like crazy town to me. But since I’m not a hacker, is there a way to use the sidebar or wiki area to hack into a subreddit?

      Thanks in advance to anyone who pities me by providing a detailed answer to this thinly veiled request to help me win an internet argument 🙇🏾‍♀️.

      10 votes
    36. File sharing over a network

      Me and my friend arrive at an arbitrary place, we have access to a network from there. Now, we want to share a file and the network connection is all we have. The challenge: make the file go from...

      Me and my friend arrive at an arbitrary place, we have access to a network from there. Now, we want to share a file and the network connection is all we have. The challenge: make the file go from my device to my friends device in a pure p2p setting. If you know, for sure, that incoming connections are allowed this is very simple but here i want to explore which solutions exist that do not assume this.

      Assumptions:

      • Same network altough possibly different access points (one might be wired and the other wireless)
      • We have no prior knowledge about the network, incoming traffic might be blocked (outgoing isn't for sure)
      • No extra machines can aid in the transaction (no hole punching etc)
      • Should work reliably for any kind of device that you have free -- as in freedom -- control over. that is PCs, android phones/tablets and macs. most of Apple's other hardware can be excluded because they don't allow for anything anyway.
      • hard mode: We are both digitally illiterate

      Goal:

      • Send a file, p2p, from one party to another.

      Me (MSc cs) and my friend (PhD cs) tried to do this last week. And it appears to be among the hardest problems in CS. I would like to discuss this and hear which solutions you might have for this problem.

      Edits:

      1. this is not an assignment
      2. Added some specifics to the assumption set
      3. we're looking for practical solutions here.
      4. more specs
      10 votes
    37. Have any of you set up GPU passthrough for a virtual machine?

      Right now I dual boot windows 10 and fedora, windows for gaming, fedora for everything else. I'm considering running linux as my only native operating system, and running windows in a virtual...

      Right now I dual boot windows 10 and fedora, windows for gaming, fedora for everything else. I'm considering running linux as my only native operating system, and running windows in a virtual machine for gaming. This will be more convenient than restarting my pc every time I want to play a game, and I'll feel better about having windows sandboxed in a VM than running natively on my computer.

      To get gaming performance out of a virtual machine, I'm planning to have two gpus. One for linux to use, and one reserved exclusively for the virtual machine.

      Have any of you set up a computer like this before? What was your experience like? How was the performance?

      16 votes
    38. Full blown SSH servers within Docker containers?

      Trying to get a sense on how the networking would go down? If I had one public IP address and say 4 Docker containers on the host, how would the SSH connections work? Would I have to reserve ports...

      Trying to get a sense on how the networking would go down?

      If I had one public IP address and say 4 Docker containers on the host, how would the SSH connections work? Would I have to reserve ports for each container?

      7 votes
    39. What's in a git repo?

      Okay, I know the obvious answer is the history of the files. But how can I, from the command line, really understand what is hiding inside that .git directory? Today I was doing one of my periodic...

      Okay, I know the obvious answer is the history of the files. But how can I, from the command line, really understand what is hiding inside that .git directory?

      Today I was doing one of my periodic disk space audits, trying to figure out where my usage goes. This comes from having a 64GB drive mounted as /home on my Linux laptop. I found some 15G of old video files to delete today, so I'm no longer as pressed for space. But my interest was piqued by one thing I have downloaded from Github that is ~120 megs for a very simple program. Poking around further I find that most of that usage is a single file:

      $ ls -lh withExEditorHost/.git/objects/pack/pack-df07816cd15fb091439112029c28ebc366501652.pack
      -r--r--r-- 1 elijah elijah 102M Mar 14 23:28 withExEditorHost/.git/objects/pack/pack-df07816cd15fb091439112029c28ebc366501652.pack
      $ file withExEditorHost/.git/objects/pack/pack-df07816cd15fb091439112029c28ebc366501652.pack
      withExEditorHost/.git/objects/pack/pack-df07816cd15fb091439112029c28ebc366501652.pack: Git pack, version 2, 299 objects
      $
      

      Is there a unzip or tar xzf equivalent for Git pack files? Naive usage of git unpack-file is only generating errors for me.

      17 votes
    40. Angular with PureScript

      I have to do an assignment for university soon-ish, and it requires Angular. I'm not very fond of that framework specifically, but I would be interested in making it more interesting as a learning...

      I have to do an assignment for university soon-ish, and it requires Angular. I'm not very fond of that framework specifically, but I would be interested in making it more interesting as a learning project. I've also recently discovered PureScript, which I have no experience with right now.

      Searching online, I've purescript-angular, which hasn't been updated in years. I also couldn't find much else. Of course, I may be missing something simple (for instance, it's actually supported by default in Angular these days), so I wanted to ask if any of you know if this is possible, and if so, how?

      6 votes
    41. Components involved for flashing a custom Android ROM. Am I understanding things correctly?

      I'm going to be flashing a custom ROM on my Nexus 5X device, and I was just curious if I'm understanding all the components involved. I currently have CopperheadOS on my device, but that ROM may...

      I'm going to be flashing a custom ROM on my Nexus 5X device, and I was just curious if I'm understanding all the components involved. I currently have CopperheadOS on my device, but that ROM may be dead based on current events. I'm not switching because of this news, but mainly because I just want to try something else for the hell of it. I think I'm going to make the switch to Lineage, but there are way more options involved versus flashing CopperheadOS.

      It seems the main components to consider when flashing are the following:

      • The ROM itself (CopperheadOS, Lineage, PureNexus, etc.)
      • The custom recovery (TWRP, etc.)
      • The kernel (ElementalX, Franco, etc.)
      • root (magisk, etc.)
      • Play Services (OpenGApps, etc.)

      CopperheadOS was kind of it's own package, so I didn't have to consider all of these other options.

      My understanding is the minimum decisions I need to make if I want a custom ROM, is picking the ROM itself, and a custom recovery. In my case I'm going for LineageOS and TWRP.

      Choosing a custom kernel seems to be optional. I think I might go with Franco on this one based on the little research I've done. But to flash a custom kernel, I think I need root, right? So now I'll need to get root access which requires another tool. I was going to go with Magisk based on not much. Just seems to be common. So that's 4 main things there. The ROM (LineageOS), the recovery (TWRP), the kernel (Franco), and root (Magisk). I personally don't want any Google services on my device, so I'm fine with skipping that part. I currently don't have any installed, and I'm doing fine without them.

      So does my view on this seem correct? Are all the things I mentioned necessary for what I want to do? If I want LineageOS then I need a custom recovery right? If I want a custom kernel, then I need root which requires a separate tool, right? Just making sure I'm not doing more than I need to if I decided to go through with this. As a side convo, please recommend whatever ROMs, kernels, or root tools that you want. I have a Nexus 5X, and I'm hoping it doesn't bootloop after I'm done doing all this flashing =)

      9 votes
    42. Are there any good dark browsers for IPhone 4?

      I've just used Tildes on my phone for the first time and FUCK! MY EYES! I know I can't change the color of Safari, so I looked in the app store but couldn't find anything. Can you reccomend me a...

      I've just used Tildes on my phone for the first time and FUCK! MY EYES! I know I can't change the color of Safari, so I looked in the app store but couldn't find anything. Can you reccomend me a good browser with a dark theme?

      5 votes