tech
Discord ID: 352761432833523713
1,350 total messages. Viewing 250 per page.
Prev |
Page 4/6
| Next
Does anyone here have any experience with old MFC/AFX? I'm modernizing some software and running into a really weird issue. Everytime I try to build my VS solution I get an error stating VS is missing 'hcw' and this is somehow tied to an .hpj file for my project
lol this takes me way back
Win XP Master race
> Running bitcoin node for the past month
> Data usage is high
> Internet starts running extremely slowly
> Darn ISP is throttling me, I'll call to complain
> "Sir, have you tried rebooting your PC, modem, and router?"
> "Aw heck, it's been running fine for 3 months straight, you're probably throttling me, that's the simplest trick in the book, but just to please you I'll do it anyway"
> Reboot and internet is screaming fast again
> "Well, uh ... that worked. Thanks"
> Feel like idiot as girl tech support just beat me me with the oldest trick in the book "have you tried turning it off and turning it back on again?"
Either that, or she removed the throttling because I complained and she lied when she said there was no throttling in the first place.
Same thing happened to me when I had high data usage. I tried the "unplug it, plug it back in" technique with no luck. Had to call them and then that technique worked.
Lol
<@&435155896780324864> So I'm ready to buy a VPN. Can you guys recommend one please?
James Allsup recommends virtual shield.
@Deleted User yeah like @The Huwhyte Ulf - VA There's Virtual Shield. Another one I hear people such as @Deleted User recommend is NordVPN
Bearing recommends virtual shield too
And its cheap too
Like $10 a month or something iirc
Thanks lads
@Deleted User I'm using NordVPN and have been happy with it on my laptop, tablet, and smartphone. $79.00 for two years right now. The quick connect/disconnect on mobile devices is nice and you can set up kill switches if you want.
FrootVPN has worked well for my torrenting needs. They're pretty cheap.
You can pay in bitcoin.
I went with NordVPN mainly because Virtual Shield offered "premium content" packages for extra money per month, which made me think that the basic package might not be that good
Plus NordVPN sounds cooler.
That's the real reason, right?
@Rogue I've always suspected that was the REAL reason
I mean, Skyrim does belong to the Nords.
i have an android phone with a busted screen, making it unusable. i'd like to pull some photos off of it, but i don't know how. plugging into a computer won't do anything because there's a prompt on the phone asking for permission to connect, which I can't press. what are my options?
sim card?
not sim card. the other thing that androids often use.
SD
All the files are stored on the phones internal memory
@TV Save the phone until you can find a broken one to borrow the screen from, it's a thin ribbon cable, may take forever, but may be transplantable ๐คท๐ผโโ๏ธ
Possible @TV that a phone repair place would have a donor screen solely for data transfer.
That's a good idea
Its a few years old I could probably find one cheap
What model?
Alternative possibility: https://youtu.be/onp0Zrr5HVc
$4 @TV
I can't use the screen at all.
Bummer, maybe attach it to a Wacom tablet or something?
Yikes
That's what I'm working with
You need an external screen for sure
Looking into replacing the screen was a good idea
Best wishes. Going to bed. Early day tomorrow. Later dude.
๐
I've got a camera tech question for anyone who's familiar with canon. I'm having a problem with my canon T6i where the ISO will start spazzing out while taking video. I stand in front of a bright softbox light, the camera is set to manual, ISO at 200, aperture at 3.5 (lowest) and on occasion if I move or hold something that is reflective on the light, the ISO will freak out and crank up to 3200. The LCD touch screen looks as if someone is pressing the buttons to raise the ISO but again everything is set to manual on the camera so idk why it would be reacting this way? It's a strange glitch. Does anyone have any suggestions?
Take it off auto
Are you in P mode?
It's already on manual, as stated above
What's P mode?
I have the dial turned to M for manual, and then switch the camera into video mode.
Autofocus is also off so everything is adjusted manually
Odd
Yeah very. I'm not sure what to do other than replace the camera
I think that's just the light meter.
Don't have my DSLR on hand.
Anyone else @here have a suggestion?
<@&435155896780324864>
Anybody @here feel like helping a fellow Identitarian debug some weirdness with rxjs subject in Angular 6?
Did you try turning it off and back on again?
In case anybody does, I'll just leave my problem here: I am doing something that's basically the exact same as when you set up the search in the Tour of Heroes. Same damn code, set up a subject w/switchMap on search terms to a service method that returns an Observable<Stuff[]>, then run that all into a local var and pipe that through `async` pipe in the template.
You go to type, nothing happens. No errors, no nothing. Adding `console.log()` calls makes it seem like the Subject's `next()` method is getting called, but nothing is happening.
I am staring dumbfounded at my Tour of Heroes code that works fine, and it's the same exact thing.
Only difference I can see is ToH is calling from In Mem. Web API, and I am calling out to a PHP script that is pulling from a real database.
But the service method that actually pings that PHP script is never getting called.
This is BS.
use Vue or react
problem solved!!!!!!!
Fork off.
lol
im reading the problem
but this is the exact reason im so turned off from angular
Looks like `next()` is returning undefined.
sounds like an architecture issue that would be hard to guess at
yea log everything between the user and where the url call is ordered to see what is not being called
Well I traded one problem for another. Fixed the issue with the call not firing, now I got some other weird error.
The thing is, I'm sure whatever it is is a simple fix, it's just that the stack trace is pointing to library files instead of my code, so it's useless.
Question about online security and doxxing prevention. A friend of mine accidentally had his work phone logged into the company WiFi, while downloading a file from TRS. He said his work email is connected to his phone. Should he be worried? If so, how much?
Not at all. It's not a good practice, but network admins are so flooded with traffic they aren't going to be able to single it out, especially from a mobile device over wifi. Tell him not to worry one bit, but to refrain from doing that.
I will let him know. Thanks!
Not a problem, that's taken from my years of working for two big evil, corporations, my two year degree in IT-Sec, and the fuck-ups I've done like that.
lol. I hear that.
Tell him to get a VPN to mask his traffic.
But yeah, unless the network admins are actively looking for "problematic" web surfing, there should be no problem. Typically if they are concerned with the web traffic, it's about time-wasters like reddit.
In the past, I was pretty reckless and listened to alt right YouTube videos from my work pc, with the headphones on at least.
What is a good VPN?
someone call James alsup
@Rick Strongly advise you just use your phone instead. Not worth the risk. A lot of workplaces automatically block or flag VPN/tunneling sites.
oh. i no longer do that at work. just wonder for private life.
also. a few months ago, there was a link to an article on how to avoid being doxxed. does anyone still have it?
Nevermind, I found it: https://redice.tv/news/how-to-not-get-doxed
@Rick A good VPN is one that allows payment in bitcoin, has many servers (countries) available, and if you're into such a thing...allows torrent traffic.
Another layer of protection is having a dedicated browser installation *only* for use with the VPN.
If privacy is your goal: basically, try to avoid being digitally "fingerprinted" at your real location with your online accounts.
For instance, if I switch over to VPN and keep using the same browser, all those cookies with login information and tracking (Google, anyone?) still persist.
Does anyone have any good recommendations for a quiet high capacity sump pump? I want to upgrade before I sink a bunch of money into finishing my basement.
My current pump is a 1/2hp and it barely keeps up on rainy days. I also already have a water powered emergency backup but I'd rather not have that run unless it has to.
Also it definitely occurs to me that this probably isn't the right channel to ask this question in but we don't have a plumbing channel.
@Der Seeteufel - SD good point, created: <#469988837175721985>
Lol I was checking our zimbra logs one day and noticed a static IP constantly deauthing
It was out of china but wasnt from one of our offices and was trying to login under generic user names, so I blacklisted it on our gateway
Its been 6 days and the bot on whoevers foreign server has tried to auth in to our zimbra server over 10k times
@Deleted User haha. Good thing you're there.
yeah lol, I've also noticed there are a lot of chinese command and control servers being hosted out of israel
usually they appear to just be servers that the israelis havent apparently checked in a while and theres ching chong gibberish that comes back whenever you request data from one of their services
I set up VPSes on DO sometime, and almost immediately when they start they get pummeled by URL and port scanners from who knows where. It's not a major problem as long as your username/password isn't admin/admin
you can pcap with something like pfring if you have a ton of data. Usually I sniff the incoming traffic and filter for all of our site gateway IPs or NAT address and then blacklist almost everything else if its outside of the US
Yeah depending on the Use case I have different types of auth, but usually it's just ssl+basic auth behind an Apache proxy for services and UFW for ports I don't want open
have you ever used nginx?
Not really, I know it's popular but I always use Apache
yeah the companies at the end of its static IP range but I need 3 new services up. Im working on a reverse proxy with nginx for bitbucket, confluence, jira and maybe an ovpn AS for a subdomain. Learning it on the fly and getting it fully functional is a bit of handful with the other side projects I have going.
also working on starting an on prem voip service, but you have to be way too smart to do it straight from asterisk
Is there a way to track clicks on third-party sites?
<@&435155896780324864> How do you (git) version control crontab files and configuration files in /etc on Linux/Unix systems?
lmao dude idfk why do I have the tech tag
@John O - You probably contributed to something in the channel at some point, I'll remove it from your roles.
Thanks man
@RevStench he has it!
Weird, I don't see it?
@RevStench on mobile hold your finger on his username, on computer hover the mouse on his username. You have the electrician role too by the way. You have a lot of roles.
Crazy, I can see everyone else's tags. But ok, you're the man @ThisIsChris, well not THE man๐
Anyone here have formal training in GIS? I am going to have some education grant money left over next semester after I get my bachelors and I think getting some kind of GIS cert or training would be my best bang for buck economically.
@Wood-Ape - OK/MN GIS?
Geographic Information Systems
Is that like surveyors? @Wood-Ape - OK/MN
Or like GPS?
Yes. GPS is one type of GIS software, afaik
Didn't know if anyone here had certifications or knee of the best method. My goal is to use it to fast track to grad school and/or get a higher paying job in the natural resources or recreation field
@Wood-Ape - OK/MN If it were a year from now, I could help you, haha. But for the time being, no cigar. I know Esri (the producer of ArcGIS, an industry standard,) offers some courses. Went through and wasn't impressed with their free 'demo' or broad introductory course though.
I mean I'll be taking a couple of courses for my major. And I know that a lot of federal agencies have a GIS department or personnel. It sounds like a good idea though, better than many other minors, particularly Comp.Sci IMO
I believe most all GIS software utilizes C++/Python Coding and terminal-type inputs as well
(as an alternative or supplement to the GUI)
Ah, I was wondering if there were any legit online and/or free courses
There's definitely some out there, get your hands dirty with open source alternatives, but yeah wish I knew the best one. At least you've got the grant money.
Good luck though!
Thanks... I really wanted to use July grant money on a Wilderness EMT class or maybe a two month bushcraft school, but maybe that isn't wise. I am always trying to learn more skills so I can eventually have a family and be undoxxable
Last thing I'll say; always remember that paying debts or saving for a down payment on a house/car etc. is an option!
Or even day trading stocks, an investment, etc.
The aforementioned money is AmeriCorps grant. Very restricted usage and a built in expiration date. Otherwise I definitely would have bought an acre or three
Udemy has some great courses for cheap. I don't know if they still do $10 sales, the floor seems to have moved up to 12. Still cheaper than college.
Microsoft Edge PDF reader question: you can type notes on PDF documents, but how do you print the notes?
Sorry not experienced with Edge as I don't use it, let alone for PDFs, but I'd expect it to be a near-barebones PDF reader at this point. Can you find any options directed at the PDF reading function of Edge? If not, what about the ability to export PDFs from Edge to say...PNG files? Maybe it will export the notes into the image too.
The most vulgar/inconvenient way to do it would be screenshots saved as images then printed out, without a lot of tweaking it will look bad but you will get those notes...
@wolfwood ty for reply. I canโt seem to find the function, but I donโt know why they would have a notes option if you canโt print the notes
@ThisIsChris Can I constantly ping an endpoint using a personal computer? Do I need some kind of server set up? Or do I just need a program running constantly in the background?
@Jacob yeah you can constantly ping an endpoint using a personal computer. Some endpoints have a rate limit (usually pings per minute or pings per hour) after which point they will tell you that they won't respond with useful information until you slowdown. But the first step is to try pinging it constantly and then only adjust things if you run into an issue
Okay this bot idea might actually be easier than I expected
Here's the concept:
> create a bot that crawls r/changemyview
> send my a notification every time someone makes a post or comment on immigration
> have a document with responses to all the pro-immigration arguments
> literally just copy paste
This could actually influence public opinion with minimal effort. I could make it impossible to be pro-immigration without being met with opposition.
If I want it to take it a step further, I could potentially not even read the comments myself, and just have the bot send an automated response based on key phrases. For example, if the bot finds "immigration grows the economy", it could send a canned response explaining the difference between GDP, per capita GDP, and per capita GDP adjusted for inequality.
@Jacob that's a good idea, though if you automatically post a canned response then they will probably ban your boy from posting in the subreddit. Btw if you want to *post* then you'll need a Dev account for your not, and you'll probably want to use PRAW though it's not strictly necessary. Checkout r/redditdev for more info. If you just want to scan comments though then you don't need the dev stuff. That's what I do, scan comments and then send an email to myself and whoever whenever keywords are found that O might want to respond to. Then I do have canned responses that I copy and paste but I usually edit the opening sentence to make it relevant to the post I'm responding to. I did that a lot to teach people about how what is usually seen as white privilege is actually just Jewish privilege
Ya using the bot to post canned response might be a bit much
It's probably not necessary to go that far anyway. It's not like it's a lot of work to go into my document, copy paste, and maybe switch out a few words.
@Jacob completely agree
You think this is something I should try doing myself after having taken 3 Java classes? Or should I use your white privilege bot and modify it?
@Jacob I'm sure you could do it but there's no sense reinventing the wheel, here's the scraper
Not sure if you have python set up already, let me know if you can run the script
okay thanks
I was thinking of doing it as a programming exercise, but my time would probably be better spent practicing what I'm learning in class.
There's plenty to add to the script if you like
Here's one idea we had in another Discord server
Once a comment is identified as being about immigration, scan the comment for particular phrases, like "jobs Americans won't do". Then, when the bot sends me the email, it would it provide both a link to the comment, and a few potential counterarguments based on the key phrase found.
So, let's say I have a database with 30 counterarguments. That's a lot of work to open it up and sift through it each time to get the right now. So, instead, the bot would send me 3 counterarguments in the email that are likely matches based on the text of the comment.
why not just *become* the machine
mindexplosion.jpg
@ThisIsChris Do you think you could add some comments to that code to explain a bit what each section does?
@Jacob alright, here you go!
Thanks!
You're welcome! I tried to be thorough with the comments but let me know if there's anything unclear
<@&435155896780324864> Anyone online to help me with Java?
Depends, I took it last spring and I'm doing C++ now. What'd you need?
to find out what's wrong with this program
okay this is the right one
Is it not compiling?
There's an error on line 155 in the CDoublyLinkedList class
I'm not sure how to compare the objects
what is the purpose of the program?
to make a circular doubly linked list and test it
@ThisIsChris can you help me with this?
@Jacob
line 155-156 is:
```java
if (sortedCurr.data.equals(curr.data) ||
sortedCurr.data.compareTo(curr.data) > 0)
```
I'll let Chris handle this one.
try changing it to:
```java
if ( (sortedCurr.data.equals(curr.data)) ||
(sortedCurr.data.compareTo(curr.data) > 0) )
```
it still gives an error
What's the error?
"The method compareTo(Object) is undefined for the type Object"
You're missing a (
where?
and why would that make the compareTo method undefined?
before sorted
second line
Doesn't look like it's closed
nah all the parentheses are closed
I changed it to the one Chris sent
I'm not getting any errors from parentheses
@Jacob `data` is an Object, how do you know it implements the Comparable interface?
```java
javac Tester.java
./CDoublyLinkedList.java:155: error: cannot find symbol
(sortedCurr.data.compareTo(curr.data) > 0)) {
^
symbol: method compareTo(Object)
location: variable data of type Object
1 error
```
is there a way I can make it implement comparable class?
I'm not sure how much I'm supposed to modify this assignment
or is there a better way to do insertion sort?
You can try to call the compareTo method and then catch an Exception if compareTo is not implemented
how do I do that?
I feel like there's a better way that I'm missing, since this is part of the assignment and I don't think he wants us to modify the given code
well, besides filling in the methods
maybe I could cast the object?
the tester class only uses characters
@Jacob Cast it as Comparable?
or maybe as a char
or integer if that's possible
I don't know
@Jacob
line 4
```java
private Object data; //Assume data implemented Comparable
```
OK... you can assume that, but Java is going to want that declared somewhere
or it will refuse to compile
I think he really may want you to try/catch
God
I did this stuff like two years ago
I got a Java developer certificate when I graduated high school
and we did try catch and everything
```java
try {
your code;
}
catch Exception {
//leave empty lol
}
```
we also did Linked Lists I think
put that inside the method?
the entire method? @ThisIsChris
I'd put the `try` at line 148, just before the while loop, don't want that thing to go on catching exceptions forever waiting for the loop to break
so put the entire loop inside it?
so
```java
try {
//lines 149-163, the whole outer while loop, until just before the function ends
}
catch Exception {
//leave blank because we're supposed to assume nothing will happen
}
//then exit the function
}
``` @Jacob
thanks
okay now I have a new exception
here is my new code
```java
------------------testAddLast()----
Exception in thread "main" java.lang.NullPointerException
at MyLinkedList$ListNode.access$2(MyLinkedList.java:11)
at MyLinkedList.add(MyLinkedList.java:205)
at MyLinkedListTester.testAddLast(MyLinkedListTester.java:42)
at MyLinkedListTester.main(MyLinkedListTester.java:214)
```
That's good, different errors now
Unfortunately it's 2am here so I have to get to bed
okay thanks for your help
good night
good night
by the way
for googling purposes
what I suggested with "try to see if it works, catch an exception if it doesn't" is called "duck typing" so for more info you can google "duck typing in java"
The idea of a function that can take in anything that implements a function (like the sort function that works on any node data that implements a `compareTo` function) is called "polymorphism"
though googling "polymorphism in Java didn't present any helpful examples to your problem, maybe you'll have better luck
ok good night
thanks a lot
good night
@ThisIsChris When you run the Reddit script, do you also get a bunch of duplicate comments?
1,350 total messages. Viewing 250 per page.
Prev |
Page 4/6
| Next