• 🇬🇧󠁿 🇸🇪 🇿🇦 🇮🇪 🇬🇭 🇩🇪 🇪🇺
    European & African
    Drug Discussion


    Welcome Guest!
    Posting Rules Bluelight Rules
  • EADD Moderators: Pissed_and_messed | Shinji Ikari

Platform-Independent Technical Gibberings - hardware and "Internet"

I am using a computer for the first time since around 2002. I have used them when on DWP courses for writing Cv's etc but thats not relevant to what i want to know.
When using a laptop is it necessary to Shut Down each time i have finished using it or is it ok to put it in Sleep or Hibernate mode? What do these do exactly? Thanks in advance for any help.
 
Afaik it is perfectly fine to leave your laptop in sleep mode instead of shutting down. It's a hell of a lot quicker to get started but the downside is it still uses a small amount energy whilst sleeping. Much like pausing a film, your laptop will go right back to whatever you were doing beforehand. I tend to use sleep during the day and shut it down when I go to bed.

I think hibernation takes a little longer to get started than sleep, but uses next to no energy.
 
Brilliant thanks Uncle R. I was getting fed up with the waiting time for the laptop to get going again after shutting it down.
I will try putting it in sleep mode until it's the end of the day and I know I won't be using the laptop again until the following day. Thanks for your help.
 
Hibernation should use the same amount of energy as having it switched off (ie none), because it copies the contents of your ram to the hdd, then powers off. It's probably not quicker than shutting down and restarting, but you do get to carry on your session.

I never shut my laptop down, standby has got so low power on modern laptops now that it will still go a couple of days before I need a recharge.
 
Long-shot, but does anyone have one of the newish Asus touchscreen laptops (X102BA or S200E)? Am tempted by one but not sure how crap the screens are as I hear they have quite a bit of glare.. ponder.
 
I have noticed recently that YouTube links sometimes redirect me & I end up getting: 'This page can't be displayed ... Make sure the web address https://pagead2.googlesyndication.com is correct.'... I am currently using Windows 8.1 with IE11, I think.

I am glad to say I found a fix & thought I'd share it in case anyone else had this problem.

Go to the 'Security' tab in Internet Options. Click on 'Trusted Sites', then the 'Sites' button below it & add https://www.youtube.com to the list.

It appears to have worked at least temporarily & with any luck, permanently.
 
is anybody here a coder?

i started writing basic code on my sinclair zx81 (1k of memory!) and got pretty good when my 48K spectrum came along. in my career, i've developed a working knowledge of a number of high-level languages including dbase, paradox, psion opl, visual basic, c, php and javascript. i don't have a lot of formal engineering experience - most of my jobs have involved finding bugs in other people's code or repurposing standalone code examples and fragments for different customers.

i decided to start teaching myself ruby and it's been pretty interesting. i have been working my way through beginning ruby by peter cooper and knowing some c has made it pretty straightforward. i've also been referring to https://www.ruby-lang.org/en/ a lot which is a good description of the language (and also, helpfully, has the c sources of all the methods i'm learning).

one of the chapters in the book has me writing a simple text analyzer to, among other things count the number of characters (including and excluding whitespace), lines, words and sentences in a text document. it also, counts average words per sentence and average sentences per paragraph and, finally, works out the percentage of useful words (i.e. words which are not simple words like 'and', 'to', 'the', etc.)

i'm struck by the sheer elegance of the code and how little code i needed to write to get that all done:
Code:
lines = File.readlines(ARGV[0])

line_count=lines.size
text=lines.join
total_characters=text.length
total_characters_nospaces=text.gsub(/\s/,'').length
word_count=text.split.length
sentence_count=text.split(/\.|\?|!/).length
paragraph_count=text.split(/\n\n/).length

sentences_per_paragraph=(sentence_count.to_f / paragraph_count.to_f).round(2)
words_per_sentence=(word_count.to_f / sentence_count.to_f).round(2)

stopwords = %w{the a by on for of are with just but and to the my I has some in}
words_array = text.scan(/\w+/)
keywords = words_array.select { |word| !stopwords.include?(word)}

useful_words_index=((keywords.length.to_f / words_array.length.to_f) * 100).to_i

puts "#{line_count} lines."
puts "#{total_characters} total characters."
puts "#{total_characters_nospaces} total characters excluding whitespace."
puts "#{word_count} words."
puts "#{sentence_count} sentences."
puts "#{paragraph_count} paragraphs."
puts "#{sentences_per_paragraph} sentences per paragraph (average)."
puts "#{words_per_sentence} words per sentence (average)."
puts "#{useful_words_index}% percent useful words."
when you take out the stuff at the end which just prints the information to screen, it's basically 14 lines of code. pretty impressive.

what do you guys know? what are you learning?

alasdair
 
I know you have good taste in computers (48k Speccy - rubber-keyed heaven <3) but beyond that Greek would be more comprehensible to me. However, that's a mighty short and neat-looking bit of code so would imagine it's really rather good. Part of me kinda wishes I had taken those coding courses that were available free here a while back. Never had much interest at the time but suspect it comes in mighty handy - and potentially could actually be useful. Perhaps one day but my head tends to spin, my eyes glaze over and my panic-levels start to rise when I see pages of code. There is something - something I'm well aware is a bit beyond me but perhaps not quite as far as I think - that is very appealing about it though.
 
I found programming very easy when I tried it... all basic of course. I found everything computer related a piece of piss at School. I'd always finish 20 minutes before most people & just sit making paint-based GIFs.

I often wonder what would have happened if I'd taken Computing at Higher. I just found programming so mind numbingly boring that I dropped it.

I also used to play around with this program, that I believe was called Hacker's Lab sometimes. It was my friend who showed me that, I've no idea if any of it was actually based on real-life hacking but it was fun. I used to know how to send an e-mail from command prompt that showed up as from a specified e-mail address too.

Perhaps it's a good thing I'm not learning anything ;)
 
I've been unable to log into YouTube for the past few weeks on IE. I've tried every step in the YouTube troubleshooting guide as well as one or two pointers I Googled. Has anyone else had this problem?

It works on Firefox but I'm kind of set in my ways & don't want to switch to using it.
 
I've been unable to log into YouTube for the past few weeks on IE. I've tried every step in the YouTube troubleshooting guide as well as one or two pointers I Googled. Has anyone else had this problem?

It works on Firefox but I'm kind of set in my ways & don't want to switch to using it.

Have u tried downloading free version on VPN Cyberghost? Never had any problems accessing torrents etc.
 
Right, my replacement laptop has a dual band card in it, the Intel Dual Band Wireless-N 7260, & it keeps dropping the connection, I assume because it is changing bands. I know that we sometimes have trouble with 2.4GHz downstairs as that's all my last laptop had but it does appear to be fine on the 5GHZ (or what I assume is) until it suddenly switches. It'll go from 4/5 bars to 2/3, usually hanging up whilst changing. Sometimes it just doesn't settle & the result is my connection keeps dropping.

I'd updated the drivers for the card & I have no windows updates available.

It's getting a bit frustrating when it plays up. There doesn't appear to be any software for controlling it & I couldn't spot anything in the adapter settings that suggested choosing one band over the other. I'm not exactly familiar with advanced adapter settings though, so I could be missing something.

Does anyone have any experience with this sort of thing?

Not sure if this should be in the Windows thread or this one... it's hardware running with windows. :sus:
 
Last edited:
What router/ISP do you have? Do you have any other devices using your wifi and if so, do they experience the same issues? What specific OS do you have? How often do you power off your router/modem/general boxy thing with lights and cables?
 
My number one tip for being "good at computers" is knowing how to utilise Google. If you know the correct term for the thing you're trying to fix you can almost always find someone with a similar issue and resolution. A particularly good site is stackexchange.com. It has many different sub-sites, for example about Linux or Windows or Android or Networking.

You could Google "site:stackexchange.com Internet Explorer crashes" to narrow it down to that site for example. Or usually just sticking "stack" in the search terms is enough. I highly recommend reading this short page from Google explaining how to more efficiently use their search engine - https://support.google.com/websearch/answer/136861?hl=en

Computing is like a language, the more familiar you become with the vocabulary and the syntax, the easier it is to accurately formulate things you've not actually heard before.
 
Top