You have a public variable of type ListBox, LBJan that you never instantiate and you are attempting to access a property of it in a method (textBoxJan_KeyDown) that will be called multiple times. Your code is a mess.
Have you researched your exception? ThreadStateException.
Not to be rude about this but what you are attempting sounds to me like an absolute train wreak... I don't think that you clearly understand threading enough at this point and I would strongly suggest that you go and do some research. Specifically Managed Threading, Task Parallel Library (TPL), async & await and Task-based Asynchronous Pattern (TAP).
I really don't know why you are wasting your time pissing around in old and deprecating technologies such as WinForms either... Switch to WPF & MVVM at least and follow the modern standard patterns and practices that I have listed. I would suggest that you could easily spend the rest of the day reading through those links before you should even touch another single line of code to do with threading.
Ultimately though the decision is of course yours and I have seen you on this forum numerous times before ignoring the advice you have been given... you'll only be back here crying when it all blows up in your face again.
Ok so I am very confused on what you're trying to accomplish with this. From what I can tell you have little experience working with asp.net, I would advise working with some simple asp.net MVC applications to start off with or maybe Web Api depending on what you like. After you understand some more on how to work with asp.net web servers then I'd advise looking into HttpClient for making requests in C#, that's under the System.Net.Http namespace, aswell as the Signal R NuGet package to deal with real time communication, which is actual real time not polling. Which brings me to my next point, polling is not real time, generally polling is a rather bad way to handling communication events are much better way of doing things.
using System;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
string userData = "";
Console.Write("Please enter some data and hit enter: ");
userData = Console.ReadLine();
Console.WriteLine(userData);
Console.ReadKey();
}
}
}
What language you use is mostly down to personal preference.
I personally started off learning Python, which I think is a good option for starting out since it's so intuitive and like natural english. But now I'm deep in C# and I've never looked back, if I can complete a task in C# then i'll use it.
Also I'm guessing that you're assuming to use C++ because you hear somewhere that it's used to make windows applications, well most languages can make applications with GUI's. C# can easily same as Python and obviously C++ so again that's why i'd say it's down to personal preference.
However C++ (as far as I know) cannot do web applications, where as both Python can C# can, which is always something to consider. Most of my personal project's I've just made into web apps since it's so much easier to share
What language you use is mostly down to personal preference.
I personally started off learning Python, which I think is a good option for starting out since it's so intuitive and like natural english. But now I'm deep in C# and I've never looked back, if I can complete a task in C# then i'll use it.
Also I'm guessing that you're assuming to use C++ because you hear somewhere that it's used to make windows applications, well most languages can make applications with GUI's. C# can easily same as Python and obviously C++ so again that's why i'd say it's down to personal preference.
However C++ (as far as I know) cannot do web applications, where as both Python can C# can, which is always something to consider. Most of my personal project's I've just made into web apps since it's so much easier to share
Im not sure what you mean by where to start. I'd suggest the bottom?
Only advice is that make sure you're using Python version 3.x not 2.x where x is whatever.
Choose a Python for beginners or similar and watch it through beginning to end, make sure you're coding along with the person rather than just watching, just watching you'll never learn
For example https://www.python.org/about/gettingstarted/
Since you don't know any of the features or terminology I wouldn't look for anything specific, just look up Python for Beginners or similar and let them teach you what you need to know
There are loads of free to use Weather API's that you could get this data from and display it your own way, might be a bit more work but would be better than just using someone else's webpage
Im not sure what you mean by where to start. I'd suggest the bottom?
Only advice is that make sure you're using Python version 3.x not 2.x where x is whatever.
Choose a Python for beginners or similar and watch it through beginning to end, make sure you're coding along with the person rather than just watching, just watching you'll never learn
Soundcloud Link: https://soundcloud.com/thewanshow/the-wan-show-87-of-android-devices-are-insecure-october-16-2015
Sponsors!
Lynda.com Link: http://lynda.com/wanshow for a 10 day free trial
Squarespace: http://squarespace.com/linus, offer code LINUS to save 10%.
TunnelBear: http://tunnelbear.com/LTT - Browse privately and get your first 500MB for free!
Soundcloud Link: https://soundcloud.com/thewanshow/the-wan-show-kids-dont-play-enough-computer-games-october-2-2015
Main News Topics University of Cambridge study reveals 87% of Android devices to be insecureSource 1: http://linustechtips.com/main/topic/466915-cambridge-study-reveal OP: log234
Source 2: http://arstechnica.com/security/2015/10/university-of-cambridge-study-finds
Source 3: http://androidvulnerabilities.org/
Score List for each manufacturer
Test conclusion finds that “on average 87.7% of Android devices are exposed to at least one of 11 known critical vulnerabilities.”
Data for the study collected by group’s “Device Analyzer” app, which has been free on the play store since May 2011
Study collected Android version and build number info from over 20,400 devices
Study concludes that most of the blame sits with OEMs
The Group states that “the bottleneck for delivery of updates in the Android ecosystem rests with the manufacturers, who fail to fix critical vulnerabilities.”
Study found that Google’s Nexus devices were the most secure with a FUM score of 5.2 out of 10
Google and OEMs have committed to a monthly security update program, but it is for devices less old than two years (Nexus, three years)
Most of Android sales are not flagship devices, so this is a problem
Until Google re-architects Android to support centralized, device-agnostic updates, there’s no solution to security problems
Chipgate FAQ: Everything you need to know about iPhone 6s controversySource 1: http://www.cultofmac.com/391618/chipgate-faq-everything-you-need-to-know-about-
Jonathan Morrison’s Video
Austin Evan’s Video
Apple outsourced production of A9 processors for the new iPhones to two companies, TSMC and Samsung
Samsung’s version is 96 square milimetres, TSMC’s is slightly larger at 104.5 millimeters
Shouldn’t affect performance…. But some owners are claiming otherwise
YouTuber Austin Evans tested both, and saw TSMC’s hardware saw a longer battery life
Evans used an app called “Lirum” that identifies which processor a phone has
He pulled number for reference
Samsung = N71AP, N66AP TSMCs = N71MAP (6s), N66MAP (6s Plus)
App pulled temporarily due to compatibility issues, is being put back up
Apple stated “Certain manufactured lab tests which run the processors with a continuous heavy workload until the battery depletes are not representative of real-world usage, since they spend an unrealistic amount of time at the highest CPU performance state. It’s a misleading way to measure real-world battery life.”
Apple says that these stress tests aren’t the best way to compare
Another YouTuber Jonathan Morrison did real world testing, and saw there was differences between the two
Did real world tests, 4k video, uploading video, Geekbench and at the end the Samsung iPhone was at 55% and TSMC iPhone was at 62%
Tesla cars can drive themselves starting Oct 15th Source 1: http://linustechtips.com/main/topic/467293-teslas-cars-can OP: TopWargamer
Source 2: http://www.theverge.com/2015/10/14/9533539/teslas-cars-can-drive-t
Source 3: http://www.teslamotors.com/presskit/autopilot
YouTube Demonstration
At press event Oct 14th, Tesla announced version 7.0 of the Model S software, new build enabling the car’s self-driving features
Capabilities were first announced last year
Necessary sensors were added to all Model S cars since last September
Tesla needed additional time to flesh out the algorithms, which they have been testing
7.0 released to US, will proceed to Europe and Asia in the coming weeks pending approval
Model X shouldn’t be far behind
Features:
Autosteer maintains speed and distance from the car ahead
Auto Lane Change moves the car to another lane by tapping the turn signal
Collision Warning
Autopark, continuously scans for available parking around the car
Automatic Emergency Steering
Side Collision Warning, uses sensors to nudge the car away from danger, while alerting the driver
Elon Musk called out Autosteer as a “beta” feature, and for users to keep their hands on the steering wheel at all times
Keeps liability out of Tesla’s control, since they told users not to take their hands off the wheel
Musk said “If there is an accident, the driver of the car is responsible”
Version 7.1 will add ability to send car off to a garage, and come back and pick you up when needed
Tesla is continuously uploading real-world sensor data from 7.0-equipped vehicles to home base
Utilizes four sensor types on the car: forward radar, forward-facing camera, 360-degree ultrasonic sensors, and a GPS combined with Tesla’s own high-resolution navigation maps
Musk calls it “fleet learning technology”
Functionality will improve each passing week, even without a firmware update, since the car is always accessing and improving Tesla’s high-res maps
AMD Reports 2015 Third Quarter ResultsSource 1: http://linustechtips.com/main/topic/467832-good-news-for-amd/ OP: marldorthegreat
Source 2: http://www.marketwatch.com/story/amd-reports-2015-third-quarter-results-2015-10-15
Source 3: http://www.marketwired.com/prhttp://www.marketwatch.com/story/amd-reports-2015-third-quarter-results-2015-10-15ess-release/amd-reports-2015-third-quarter-results-
AMD delivered double-digit percentage sequential revenue growth in both segments in the third quarter of 2015
Strong 13% quarter-over-quarter revenue growth
CEO Dr. Lisa Su said “We continue to take targeted actions to improve long-term financial performance, build great products and simplify our business model.”
$65 million inventory write-down, primarily older-generation APUs
$1.06 billion in revenue, down from $1.43 billion in Q3 of 2014
Operating loss of $158 million, compared with a loss of $137 million in Q2, and a loss of $17 million in Q3 2014
net loss in Q3 2015 of $197 million, compared to Q2 2015 net loss of $181 million
Announced corporate restructuring plan to further reduce operating expenses
Announced a definitive agreement for Assembly, Test, Mark and Pack (ATMP) manufacturing joint venture (See next topic)
AMD to Spin-off back end testing & Assembly Operations into joint venture for $371 MillionSource 1: http://linustechtips.com/main/topic/467863-amd-to-spin-off-back-en OP: zMeul
Source 2: http://www.anandtech.com/show/9723/amd-to-spinoff-backend-testing-assemb
Spinning off their back-end manufacturing operations into a new joint venture with Nantong Fujitsu Microelectronics, (NFME) with them essentially buying the bulk of these operations off of AMD
ATMP (Assembly, test, mark and pack) operations turning into a new, unnamed joint venture in partnership with NFME
NFME will immediately be buying an 85% stake of AMD’s ATMP operation
no other partners involved, AMD will retain 15% stake
NFME will be paying AMD approximately $371 million (approximate net gain of $320 million to AMD after taxes)
AMD states the sale “further strengthens [their] balance sheet with significant asset monetization”
Joint venture will remove 1,700 employees from AMD’s payroll
Intel reports flat revenues and lower year-on-year profits for Q3
Source 1: http://linustechtips.com/main/topic/467067-intel-reports-flat-re OP: Mr_Troll
Source 2: http://techreport.com/news/29188/intel-reports-flat-revenues-and-lower-yea
Intel took in $14.5 billion in revenue, down less than one percent a year ago
$4.2 billion in operating income, down 8% year-over-year
Client Computing Group took in $8.5 billion in revenue, down 7% year-over-year
Desktop platform volume fell 19% from Q3 2014
Average selling prices rose by 15%
Notebook platform volume fell 14% from a year ago
Average selling prices rose by 4%
Tablets hardest-hit: platform volumes fell 39% year-on-year
Other divisions delivered brighter results
Data Center Group took in $4.1 billion, 12% increase
Internet of Things Group took in $556 million, about the same as last year
For Q4 2015, Intel expects approximately $14.8 billion in revenue Bell Canada fined for fake App Store reviewsSource 1: http://linustechtips.com/main/topic/467633-bell-canada-fined OP: GoodBytes
Source 2: http://www.engadget.com/2015/10/15/bell-canada-review-fine/
Source 3: http://9to5mac.com/2015/10/14/bell-fake-app-store-reviews/
Fined roughly $1.25 million CAD by Canada’s competition bureau
According to regulator, carrier “encouraged” staff members to post glowing testimonials of the MyBell and Virgin My Account apps to the App Store and Google Play
Exposed by Scott Stratten, who was aware of the apps poor standing on iTunes
Suddenly saw the rating skyrocket due to series of five star reviews
He did digging on LinkedIn, found out that the most praiseworthy mentions were directors, marketing managers and other people paid by Bell Canada
Company admitted that certain employees had been encouraged to post the ratings, but as soon as bosses were made aware, they ended the practice
Firm has pledged to tighten up its compliance program, making sure employees know not to review the app
First time a company has faced significant monetary fines for biased reviews
Sets a precedent in Canada
Uber unleashes “UberRush” its on-demand delivery serviceSource 1: https://www.yahoo.com/tech/uber-finally-unleashes-fedex-killer-120000311.html
Source 2: http://techcrunch.com/2015/10/14/uber-takes-on-postmates-with-uberrush-to-de
launched a pilot version of its merchant delivery service Oct 14th in San Fran, New York and Chicago
soft launch in New York City back in April
Utilizes vehicle and bike couriers to deliver things quickly
Focused on local shops for the moment
Convenience costs, but Uber’s decision to turn it from an experiment into a real business suggests confidence in its business model
Businesses don’t have to pay Uber to sign up for UberRush, but each delivery will cost the merchant between $5 and 7$
Uber drivers can pick up passengers and/or packages, but can’t do both at the same time
Customers ordering something for same-day delivery go to the merchant’s site and select UberRush to get same-day delivery during checkout process
Business Insider tried the New York City pilot, a reporter had a raincoat she forgot at a meeting picked up and dropped off within 20 minutes for $11
John “Totalbiscuit” Bain says cancer is reappearingSource 1: http://linustechtips.com/main/topic/467658-john-tb OP: Michael McAllister
Source 2: http://www.twitlonger.com/show/n_1snlj3r
Twitter post
“Cancer in the bowel is gone, but spots have appeared in my liver.”
“Average life expectancy is 2-3 years, though there are outliers that live much longer.”
“Who knows what they’ll come up with in the next decade? I Intend to beat if for as long as possible”
“Going on chemo in a few weeks, with the goal of pushing it back and keeping it there for as long as possible”
also closing his SC2 team Axiom
“It’s no secret that 2015 has been the worst year for our team… We had planned to go through a lineup revamp and announce our participation in Proleague 2016… Unfortunately the environment just isn’t fertile anymore for Axiom to survive and even if it were, it is one big financial and time investment that I am going to have to give up in order to focus more on my family life and medical expenses.” -TB
screengrab of full announcement
Skarp the Laser Razor is cancelled by Kickstarter, on Indiegogo nowSource 1: http://linustechtips.com/main/topic/466219-skarp-the-lase OP: pwn_intended
Source 2: https://www.kickstarter.com/projects/skarp/the-skarp-laser-razor-21st-century-shaving
Source 3: https://www.indiegogo.com/projects/the-skarp-laser-razor-21st-century-shaving#/
Shaving Demo
After raising over $4,000,000 in funding, the project was suspended by Kickstarter due to them not having a working prototype
More than 20,000 people had backed the project
New page is up at Indiegogo, has raised over $288,000 so far (Oct 15)
A shave demo was released through YouTube Oct 12
Description for video states that “the fiber in this video can only be mounted with rudimentary means, this means it’s not robust.”
Hoping that mass production will help Skarp to secure rigidly mounted fiber for shaving
SuperMHL to support 8K videoSource 1: https://twitter.com/m_cummings99/status/652943232733614080?s=09
Source 2: cnet.com/supermhl-is-on-its-way...
support for 8K 120fps video
super Mobile High-Definition Link
launched at CES 2015
allows you to stream up to 8K AV content from a mobile device to a TV or other display
up to 48-bit color
Rapid Fire
BUILD LOGS
White Metropolis
Junk in a Box
"Project Iceberg" The Ultimate Watercooled Gaming Wall
Leonardo DiCaprio snaps up rights to a movie about the VW emissions scandalSource 1: http://linustechtips.com/main/topic/466469-leo-dicaprio OP: Master Disaster
Source 2: http://www.wired.co.uk/news/archive/2015-10/13/dicaprio-vw-emissions-film
DiCaprio’s production company Appian Way has teamed up with Paramount to buy the rights to a proposed book about the VW emission scandal
proposed by journalist Jack Ewing and titled “Too Big To Fail”
wants to investigate how a “more, better, faster” ethos among car companies led to the current crisis
DiCaprio has also recently signed a multi-year deal with Netflix to produce environmental films
Said “There’s never been a more critical time for our planet or more of a need for gifted storytellers to help us make sense of the issues we face.”
Light’s L16 camera challenges DSLRs with 16 lenses in one packageSource 1: http://linustechtips.com/main/topic/466752-lights-l16-cam OP: XTankSlayerX
Source 2: http://www.engadget.com/2015/10/08/lights-l16-camera/
Source 3: https://light.co/
Photography startup Light has launched L16, which the company’s calling a “multi-aperture computational camera”
Called the L16, because it's equipped with 16 individual lenses
L16 runs on Android and has built-in WiFi, allowing to posting pics directly from device
Comes with an integrated 35mm-150mm optical zoom and a five-inch touchscreen display
It’s about the size of a Nexus 6, and double the thickness
When you take a picture using the camera, all 16 lenses capture photos simultaneously at different focal lengths
Light’s technology then combines them into a single 52-megapixel image
Able to adjust photo’s depth of field, focus and exposure after it’s been captured
Cost is $1299 USD if you pre-order today, $1699 USD Summer 2016
Humble Bundle let go 20% of its staffSource 1: http://linustechtips.com/main/topic/466512-humble-bundle-l OP: TopWargamer
Source 2: http://www.destructoid.com/humble-bundle-s-let-go-20-of-its-staff-315201.p
Source 3: https://www.polygon.com/2015/10/12/9513937/humble-bundle-cuts-jobs
Has laid off 12 people - in a move that the CEO admitted reflected overly eager expansion
Layoffs hit people in creative, engineering, business development and communications departments
Microsoft on Windows 10 Mobile: We “will decide when to send the updates out”Source 1: http://linustechtips.com/main/topic/466493-microsoft-says- OP: jos
Source 2: http://wmpoweruser.com/microsoft-on-windows-10-mobile-we-wi
Lots of questions about the Windows 10 Mobile update process
When the Lumia 950 and 950XL was launched, Panos Panay spoke of “The power of the Windows Update keeping things fresh”
Wmpoweruser.com reached out to Microsoft to clarify that statement
Told that Microsoft will offer app updates to all Windows 10 phones and pcs at regular cadence
When asked about carrier updates, they stated “Microsoft is working closely with mobile operators to leverage their testing and our flighting to meet and exceed current quality bars. We will use their input but will decide when to send the updates out based on input form from Mobile Operators and our Windows Insiders.”
Implying that they will be pushing Windows Phone updates directly
AMD’s Phil Rogers jumps to NvidiaSource 1: http://linustechtips.com/main/topic/466545-amd OP: zMeul
Source 2: http://www.hardocp.com/news/2015/10/13/phil_rogers_amd_fellow
AMD back in 2007 “announced the appointment of Phil Rogers to AMD Corporate Fellow”
“Corporate Fellow is the highest level of technical recognition at AMD, and is reserved for those who impact AMD’s business opportunities and technical breadth by providing a high degree of expertise, knowledge, creativity, and tactical and strategical direction
Rogers was with AMD for 21 years
Confirmed Oct 13, 2015 that Phil is now with Nvidia as Chief Software Architect - Compute Server
iPhone 6s camera shows no improvement over the 6Source 1: http://linustechtips.com/main/topic/467248-iphone-6s-camera OP: kurahk7
Source 2: http://www.dxomark.com/Mobiles/Apple-iPhone-6s-revi
Comparison Graph
Iphone 6, 6s Test Results - Video
Iphone 6, 6s Test Results - Photo
iPhone 6s scores same “82” score as iPhone 6 on DxOMark Apple Updates their iMac PeripheralsSource 1: http://www.anandtech.com/show/9716/apple-updates-their-imac-peripherals
Source 2: http://9to5mac.com/2015/10/14/magic-mouse-2-unboxing-video/
Source 3: http://www.apple.com/ca/shop/product/MJ2R2LL/A/magic-trackpad-2
Magic Mouse 2
Packaging has changed for the Magic Mouse 2, a larger mostly white box replaces the small, clearer packaging for the original magic mouse
Built in rechargeable battery versus the AA slots that needed replacement before
Charging slot on the bottom of mouse, can’t use while charging
Features a pairing method to Macs on OS X El Capitan
Charges for 9 hours of use in about 2 minutes
Comes with a Lightning cable for charging
$79 USD
Magic Trackpad
Build-in battery, brings force touch to the desktop
Four force sensors underneath the trackpad allow you to click anywhere
Brings increased functionality to your fingertips
Nearly 30% larger than the previous trackpad
Pairs automatically with your Mac
Rechargeable battery via lightning to USB
Battery is said to last months at a time
Magic Keyboard
Rechargeable battery via lightning to USB
Pairs automatically
Optimized key travel and lower profile
Improved scissor mechanism beneath each key for increased stability
Memory chips are essentially operated in a sort of "RAID 0" type setup, where you access multiple chips simultaneously to improve speed. Instead of writing data to one chip, split the data in half and send each half to a different chip at the same time, and you can read or write in half the time. Memory bus is the number of "channels" the GPU is equipped with, 64-bits for each channel. Higher bus width means data can be split between more channels to improve speed.
It doesn't affect computational power, but if the memory bus is not wide enough to transfer data as quickly as the GPU can process it, then some of the GPU's cycles will be wasted idling while it waits for memory operations to complete. Improving the memory subsystem will improve performance by regaining those wasted cycles, but only if the memory bus was limiting your performance in the first place.
Python and HTML/CSS (Don't learn Python on code academy, it teaches Python 2.7 not 3.4 which are very different)
Python may not be the best language for everything but it gets the fundamentals down without having to worry about finicky syntax.
And everyone needs to know a bit of HTML/CSS
Pretty much the same as the other builds but with the monitor you said you wanted and some peripherals
-You don't need a CPU cooler on a Xeon
-For what it's worth i'd always get a 250GB SSD over a 120
PCPartPicker part list / Price breakdown by merchant
CPU: Intel Xeon E3-1231 V3 3.4GHz Quad-Core Processor ($453.09 @ Wiseguys)
Motherboard: Gigabyte GA-H97-GAMING 3 ATX LGA1150 Motherboard ($169.95 @ Computer Lounge)
Memory: Kingston HyperX Fury Black 16GB (2 x 8GB) DDR3-1600 Memory ($164.00 @ 1stWave Technologies)
Storage: Samsung 850 EVO-Series 250GB 2.5" Solid State Drive ($178.25 @ PB Technologies)
Storage: Western Digital Caviar Blue 1TB 3.5" 7200RPM Internal Hard Drive ($86.33 @ PC Force)
Video Card: Gigabyte Radeon R9 390 8GB SOC Video Card ($621.00 @ Paradigm PCs)
Case: Corsair 200R ATX Mid Tower Case ($109.99 @ Mighty Ape)
Power Supply: Cooler Master VSM 650W 80+ Gold Certified Semi-Modular ATX Power Supply ($171.84 @ PC Force)
Monitor: AOC G2460PQU 144Hz 24.0" Monitor ($448.50 @ Aquila Technology)
Keyboard: Cooler Master CM Storm Devastator Gaming Bundle Wired Gaming Keyboard w/Optical Mouse ($58.00 @ 1stWave Technologies)
Headphones: Kingston HyperX Cloud Pro Headset ($113.85 @ PB Technologies)
Total: $2574.80
Prices include shipping, taxes, and discounts when available
Generated by PCPartPicker 2015-10-07 17:26 NZDT+1300