By GQman2121 Go To PostAnyone have any experience retrieving data from an external HDD that is connecting but showing as unallocated in the disk management? Just randomly happened while I was moving files from my PC and I'm stumped on how to go about getting the data off before reformatting which I'm also not sure how go about doing as that option was grayed out. It's a 1TB Seagate if that matters.The drive is probably dead, tbh. You will probably need to take it to a data recovery center to get your data off it, but that may not be worth the expense.
Or there may be another way of getting your information, but I don't know off hand.
e: i guess you can always try putting it into another computer to see if it is a problem with the drive or the computer
e2: my advice is the worst, except as a last ditch effort if nothing else works
By diehard Go To PostTry "testdisk" . I could do a step by step but a quick google will probably give you better info or a video.This testdisk thing worked. I'm copying the data over to my pc right now. Pretty easy once you get past the UI they use. But it's great. Thank you, thank you!
Now how about trying to reallocate the HDD or reformatting it once everything is off? I think its still usable and I'd like to try and have it as a spare.
By GQman2121 Go To PostThis testdisk thing worked. I'm copying the data over to my pc right now. Pretty easy once you get past the UI they use. But it's great. Thank you, thank you!Once it's done something like that i'd NEVER trust it again.
Now how about trying to reallocate the HDD or reformatting it once everything is off? I think its still usable and I'd like to try and have it as a spare.
By giririsss Go To PostI mean. Ok. But why. But ok.Some things exist just to be pretty cool and for no other purpose. And that's ok.
No really, why.
A couple big wigs behind R and Python are working to bring the two languages closer together: https://qz.com/1270139/r-and-python-are-joining-forces-in-the-most-ambitious-crossover-event-of-the-year-for-programmers/
So I should have gotten an A in CS2 but got docked half points for not zipping my first hw assignment correctly. Mentioning this since I got an A on the final which I was not expecting. Also based on my performance in 2 formal college programming classes, I'm fairly confident that I can indeed program. And teaching myself paid off and that whatever I learned before going back to school was right lol.
Was pretty funny seeing classmates with code that had generic variable names or almost everyone I saw couldn't figure out how to put everything in functions or use vectors correctly. Like we had to read file and print out its contents using classes as one of the assignments. When people saw my code they were utterly confused as to how or why I read the files in separate functions vs putting all my code in main like they did.
Was pretty funny seeing classmates with code that had generic variable names or almost everyone I saw couldn't figure out how to put everything in functions or use vectors correctly. Like we had to read file and print out its contents using classes as one of the assignments. When people saw my code they were utterly confused as to how or why I read the files in separate functions vs putting all my code in main like they did.
Teachers that dock points for technical bullshit like that can go fuck themselves. I thought only art teachers did that, but that's garbage.
Yeah he only allowed me to turn it late for half credit then to rub it in said the program was perfect otherwise ;_;. Also in general my classmates said they got docked for the smallest bullshit like formatting not being to his liking. My teacher definitely knew his stuff and he could teach. He's just super arrogant and a know it all. Couldn't admit when he was wrong or fucked up.
Tbf he never mentioned those and said to just use CTRL+shift+F to auto format in eclipse. Apparently some people didn't think to do that.
Though I think people were just lost in general. Like I had to walk through why I used used vectors by reference in functions in my class when we had to store things inside a vector in the class. And right now classmates are baffled why their for loops don't work for their maps. And they didn't show up to class for like the past month lol. Even when they did I still have to handhold them on why their code isn't working.
edit: Lol classmate straight up does not know why her for loop is wrong and I'm trying to explain to her how to get it working without giving her the answer. She's like fishing for me to just give up the code to make it work. It sounds like she genuinely doesn't understand how to use the iterator. Funny thing is if she showed up we did it in class. All I had to do to convert my vectors into maps and multimaps was copy what we did in class but swap out my old vector code with map syntax.
edit2: Ok whew she got it haha.
Though I think people were just lost in general. Like I had to walk through why I used used vectors by reference in functions in my class when we had to store things inside a vector in the class. And right now classmates are baffled why their for loops don't work for their maps. And they didn't show up to class for like the past month lol. Even when they did I still have to handhold them on why their code isn't working.
edit: Lol classmate straight up does not know why her for loop is wrong and I'm trying to explain to her how to get it working without giving her the answer. She's like fishing for me to just give up the code to make it work. It sounds like she genuinely doesn't understand how to use the iterator. Funny thing is if she showed up we did it in class. All I had to do to convert my vectors into maps and multimaps was copy what we did in class but swap out my old vector code with map syntax.
edit2: Ok whew she got it haha.
Yeah. College programming classes are a shitfest because it's constant learning. Nothing hard, but everything builds on top of each other. you can't really cut corners.
And then you have people who just aren't cut out for it. Who don't show up. Suck at speaking the language of the course (english or w/e) that hte tutor speaks. Or the tutor sucks at the language (genuinely had one class where the tutor must have just started learning english).
And there's a ton to learn about the structure of programming. Your IDE, what compiler. How to install it all.
And then there's the real cut and dry nature of programming classes. It either works, or doesn't. There's nothing in between.
But we got docked for not formatting properly, because most languages have a formal specification for formatting. And ... when you have to read hundreds of these things for programming 1... it would get tedious. Like it wasn't complicated formatting either. indent after a new block etc etc.
And then you have people who just aren't cut out for it. Who don't show up. Suck at speaking the language of the course (english or w/e) that hte tutor speaks. Or the tutor sucks at the language (genuinely had one class where the tutor must have just started learning english).
And there's a ton to learn about the structure of programming. Your IDE, what compiler. How to install it all.
And then there's the real cut and dry nature of programming classes. It either works, or doesn't. There's nothing in between.
But we got docked for not formatting properly, because most languages have a formal specification for formatting. And ... when you have to read hundreds of these things for programming 1... it would get tedious. Like it wasn't complicated formatting either. indent after a new block etc etc.
I can see why my teacher would dock formatting when I saw other classmate's C++ code. Int x, y everywhere. All the work done in main instead of separating things into functions. Then just functions and variables randomly declared with no organization. It was annoying me trying to decipher their code lol. And like I mentioned they got confused just seeing functionality spread out into functions.
Like with my classes I aligned all my functions in the hpp with the cpp function definitions. So my hpp reads like a table of contents if you need to look for a specific function in my cpp. Also even though it was optional I was like the only one using this.variable or this.function and I'm guessing people didn't get that granted he only briefly talked about it.
I also made sure to have different variable/parameter names per function. So even if they were doing the same thing either I or the person reading it knows exactly what that variable is for. I also picked up my teachers habit of commenting the closing brace where my statements end with what it is so //for, //if etc.
Aside from all that I learned alot about the compiler and how things work on a system level. My teacher really knew his shit when it came to all that. But yeah for the most part I picked up on all the new concepts to me like pointers, maps, exceptions etc pretty quickly. Also finally understood some algorithm stuff like how to do a bubble and select sort and exactly how they work. Now I feel like I'll understand JS way more when I get back into web stuff.
Overall at least this teacher knew his stuff and we did mostly coding in class to drill in concepts. Even when he lectured he prepared his own material for stuff he thought the book was lacking in or had terrible examples.
Last semester my teacher spent the whole class lecturing straight from the book/provided powerpoints and we only watched him code in class. If attendance wasn't mandatory I wouldn't have shown up much and still gotten an A. I did like every assignment in class instead of listening to him drone on with concepts I already knew.
Like with my classes I aligned all my functions in the hpp with the cpp function definitions. So my hpp reads like a table of contents if you need to look for a specific function in my cpp. Also even though it was optional I was like the only one using this.variable or this.function and I'm guessing people didn't get that granted he only briefly talked about it.
I also made sure to have different variable/parameter names per function. So even if they were doing the same thing either I or the person reading it knows exactly what that variable is for. I also picked up my teachers habit of commenting the closing brace where my statements end with what it is so //for, //if etc.
Aside from all that I learned alot about the compiler and how things work on a system level. My teacher really knew his shit when it came to all that. But yeah for the most part I picked up on all the new concepts to me like pointers, maps, exceptions etc pretty quickly. Also finally understood some algorithm stuff like how to do a bubble and select sort and exactly how they work. Now I feel like I'll understand JS way more when I get back into web stuff.
Overall at least this teacher knew his stuff and we did mostly coding in class to drill in concepts. Even when he lectured he prepared his own material for stuff he thought the book was lacking in or had terrible examples.
Last semester my teacher spent the whole class lecturing straight from the book/provided powerpoints and we only watched him code in class. If attendance wasn't mandatory I wouldn't have shown up much and still gotten an A. I did like every assignment in class instead of listening to him drone on with concepts I already knew.
Woo got 100% on my final assignment. Teacher said he liked my use of git. It was only introduced on like the 2nd to last day of class. So he just wanted us to show we understood the basics. All I did was separate out features into branches then merge them back to master.
Everything about crypto development is so ... mediocre.
The environments. Compiler error messages. test net setups. 99% of the software. Tutorials, pair or otherwise.
The environments. Compiler error messages. test net setups. 99% of the software. Tutorials, pair or otherwise.
By Smokey Go To Postis blockchain development IN right now?it depends what you mean by blockchain development.
There are lots of good use cases for both a ethereum style distributed smart contract style chain, and a bitcoin style pure currency block chain.
The Australian stock exchange has already said they're going to switch to using a blockchain (ethereum / ripple style) instead of the current massive database / server structure.
There are heaps of legitimate uses for both.
There IS demand for developers in both styles. How long that will last, what the future of it is, and what the top end in salary is? Who knows.
By Kibner Go To PostMS just bought GitHub, apparently.LMAO if true.
By Splatt Go To PostWriting machine learning algorithms in MapReduce is a pain in the assI have no experience with that at all. I should probably expand my skillset...
Just use Apache Spark if you are interested in writing a parallel version of existing algorithms.
Writing basic MapReduce apps is a giant headache
Writing basic MapReduce apps is a giant headache
For this week, I will probably spend some time setting up a home DNS server so I don't have to type in an IP when trying to access my sql server, web server, file server, physical server, and home theater mixer.
I have at least three machines I access all that stuff on and don't want to bother with managing hosts files with all them. I will lose my Eero router's extra DNS features, though, and that stinks. May be able to recreate them with my home DNS server, though. Stuff like blocking access to known malware sites and also ad blocking.
I have at least three machines I access all that stuff on and don't want to bother with managing hosts files with all them. I will lose my Eero router's extra DNS features, though, and that stinks. May be able to recreate them with my home DNS server, though. Stuff like blocking access to known malware sites and also ad blocking.
Why would MS buy github. Didn't google own it? Seems redundant to pass it around like that.
Can confirm, after another week of doing it, Ethereum / Smart contracts are a god damn mess. The whole infrastructure is terrible if you don't have anyone guiding you.
All of the lesson plans i've seen are ... just bad. 99% skip over incredibly important details, don't have written notes with all of the commands and links to the API docs you got them from, let alone slides. And the code used in the tutorial is sometimes not linked, or linked elsewhere.
Or there's one decent one where they're just excruciatingly slow. Explaining stuff that just doesn't need to be explained, like if statements / his thought process / speculating about what a method should do, when he's just copying it from a standard.
There's still no particularly decent IDE for it either. Offline IDE that is.
Can confirm, after another week of doing it, Ethereum / Smart contracts are a god damn mess. The whole infrastructure is terrible if you don't have anyone guiding you.
All of the lesson plans i've seen are ... just bad. 99% skip over incredibly important details, don't have written notes with all of the commands and links to the API docs you got them from, let alone slides. And the code used in the tutorial is sometimes not linked, or linked elsewhere.
Or there's one decent one where they're just excruciatingly slow. Explaining stuff that just doesn't need to be explained, like if statements / his thought process / speculating about what a method should do, when he's just copying it from a standard.
There's still no particularly decent IDE for it either. Offline IDE that is.
By reilo Go To PostGoogle never owned it.Yeah. was wrong.
Assumed they did when they closed their own git stuff and moved everything to github a few years ago.
Any DNS proficient people here? I want to know how to create an alias for a device on my network such that I do not need to use the domain name as part of the address I type into the browser. I'm currently using bind9 on ubuntu 18.04. e: this is for a home intranet network
What I have currently working is entering
Is it even possible or am I misunderstanding something fundamental? I have not been able to google an answer to this question.
What I have currently working is entering
http://switch.home
in a browser address bar will take me to my switch, as expected. I would like to know how I could enter http://switch
or, preferably, switch
, instead.Is it even possible or am I misunderstanding something fundamental? I have not been able to google an answer to this question.
If you can do it in your windows hosts file i assume you can do it via a DNS server. Can't say i know how though.
if you can ping "switch" and get a response, DNS is doing it's job. The rest is up to the browser to how it handles a domain entry that isn't fully qualified or simply missing a top level domain.
If DNS isn't working for an entry without ".home" , try looking up making a static entry without a TLD and you should get some easy instructions. If not, let me know.
If DNS isn't working for an entry without ".home" , try looking up making a static entry without a TLD and you should get some easy instructions. If not, let me know.
By diehard Go To Postif you can ping "switch" and get a response, DNS is doing it's job. The rest is up to the browser to how it handles a domain entry that isn't fully qualified or simply missing a top level domain.I can only ping "switch.home". It would probably help if I posted the contents of my configuration files. Give me a few minutes.
/etc/bind/named.conf.local
/etc/bind/db.home
/etc/bind/db.192
//
// Do any local configuration here
//
zone "home" {
type master;
file "/etc/bind/db.home";
};
zone "192.168.7.in-addr.arpa" {
type master;
file "/etc/bind/db.192";
};
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
/etc/bind/db.home
;
; BIND data file for .home
;
$TTL 604800
@ IN SOA home. root.home. (
20180606 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
IN A 192.168.7.70
;
@ IN NS server.home.
@ IN A 192.168.7.70
@ IN AAAA ::1
switch IN A 192.168.7.0
server IN A 192.168.7.70
/etc/bind/db.192
;
; BIND reverse data file for local 192.168.7.XXX net
;
$TTL 604800
@ IN SOA server.home root.home (
20180606 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS server.
0 IN PTR switch.home.
70 IN PTR server.home.
By diehard Go To Postthis help?ahh, i didn't see your edit or this post until just now. will look at your advice now.
https://arstechnica.com/civis/viewtopic.php?p=24649995
no problem, i manage windows DNS servers so i could easily just tell you how to do it there but hopefully guided you in the right direction for search terms to use. If its not working i can look too and see if i can find something.
By diehard Go To Postno problem, i manage windows DNS servers so i could easily just tell you how to do it there but hopefully guided you in the right direction for search terms to use. If its not working i can look too and see if i can find something.Yeah, top-level-domain seems to definitely be the search term I was missing. I'll let you know if I still have trouble with it. Unfortunately, I have to reset my router because I know of no other way to get it to refresh its caching of DNS lookups. Makes changing things and trying them out a pain.
Bah, can't figure it out. I'll just watch the game tonight, instead, since it's starting off close. I did fix some other potential future issues, at least.
Another networking connection: Does all traffic go through a network firewall at all times?
I wonder if setting up my wi-fi connected server as a firewall would increase game latency. Like, the initial connection from, for example, a console would go through the firewall, adding latency. But, once that connection passes firewall rules, does all traffic from that connection continue to go through the firewall or can it bypass it at that point?
I wonder if setting up my wi-fi connected server as a firewall would increase game latency. Like, the initial connection from, for example, a console would go through the firewall, adding latency. But, once that connection passes firewall rules, does all traffic from that connection continue to go through the firewall or can it bypass it at that point?
I've never used a "software" firewall on anything other than a client pc, but the general rule is a firewall won't add any noticeable latency to something over the Internet.
By diehard Go To PostI've never used a "software" firewall on anything other than a client pc, but the general rule is a firewall won't add any noticeable latency to something over the Internet.yes, but if the firewall the traffic goes through is connected to the router via wifi, then traffic going to the firewall will be hit by the wifi latency
By Kibner Go To Postyes, but if the firewall the traffic goes through is connected to the router via wifi, then traffic going to the firewall will be hit by the wifi latencyyou could do a traceroute to the router with the firewall setup, and unless the added latency is enough to push you over a latency of a frame it shouldn't really have any impact.
By Smokey Go To Postdiehard what do you do in your day to day involving dns?Mostly just maintain AD domain controllers that also handle DHCP and DNS. So making sure things like DNS logging and replication are working, along with the regular junk like making static entries and alias's... nothing all that fancy. Most of my time is spent on storage and virtualization (nobody ever asks about that though lol)
"it was DNS" is like a meme on the sysadmin reddit, i think everybody has had to troubleshoot it at some point.
By diehard Go To PostMostly just maintain AD domain controllers that also handle DHCP and DNS. So making sure things like DNS logging and replication are working, along with the regular junk like making static entries and alias's… nothing all that fancy. Most of my time is spent on storage and virtualization (nobody ever asks about that though lol)I would ask about virtualization but ... i just avoid it as much as possible.
"it was DNS" is like a meme on the sysadmin reddit, i think everybody has had to troubleshoot it at some point.
I was not able to get single word dns binding to work. The closest I got was to type in "switch." instead of just "switch". Have a headache now, but will keep looking another day.
Hmmm.... interesting. Looks like I can run my Docker host on a machine other than my dev machine. That would free up lots of ram on my work laptop. I think I will learn how to do this despite not yet using Docker in any of my projects.
https://docs.docker.com/engine/reference/commandline/dockerd/#bind-docker-to-another-hostport-or-a-unix-socket
https://docs.docker.com/engine/reference/commandline/dockerd/#bind-docker-to-another-hostport-or-a-unix-socket