Better HN
topnewbestaskshowjobs
Log inSign up

vizeroth

140 karma · joined Jun 11, 2013 (13y ago) · 92 submissions

Submissions

comment 10y ago · link · parent

In most cases, it's probably still easier to use C#, but JScript has always been an option in ASP.Net (and classic ASP). I found that the ability to use the same code on the back-end and front-end was nice when you needed it, but those occasions were quite rare.

The code also usually required some (often significant) refactoring of the code in question to make it portable between the front-end and back-end environments. In classic ASP, this usually meant ensuring front-end code moving to the back-end was isolated from any DOM interaction and didn't use any ES5(+) features, while back-end code moving to the front-end had to be isolated from the ASP objects (Application, Server, Session, etc.). It's all stuff that seems like common sense, but wasn't rigorously applied to JScript code which only had to work on IE5 (later 6, finally 7 before the project was put out to pasture), especially since use of JavaScript on the client wasn't significant until the project's last couple of years.

comment 10y ago · link · parent

Most of the information that makes some of those books worth reading is only easily accessible on the web in the sense that it's pretty easy to find ebooks of many of those books on the web.

Many people learn a lot of their development knowledge from the web (and I certainly do as well), but the majority of the web sources for material beyond basic language reference simply extract the easiest to digest parts of the major texts. This is why so much of what many people know about patterns, algorithms, data structures, and even OOP, TDD, Agile, Scrum, etc. is fragmented or even wrong.

comment 10y ago · link · parent

Most of the books on the first list represent those I would only read once, and never again (or never at all, like "Head First [Anything]"). The C Programming Language and Refactoring are the exceptions. K&R was one of the textbooks in my first CS class, and the first CS book I read which was still useful to me 10 years later.

The books on the second list which I have read (at least partially) are books I have had reason to go back to at some point in my career, and any of them which I no longer have, I will likely purchase again.

comment 10y ago · link · parent

In my case, we have anywhere from 3 to 20+ types of employees, and "staff" is the word commonly used to refer to one of those classifications. Certain information requires different levels of protection for some of those classifications. While people can transition between classifications, it's not a very common occurrence, and it only makes handling their information more difficult (and the old classification may apply to the information for a specific period of time after the change, or indefinitely for some types of data).

I basically end up with a "people" table which holds a very small amount of common data and is used in a lot of relationships.

Honestly, the distinctions require a great deal of documentation to fully understand. However, making the data less normalized and a little harder to comprehend also protects new people from making honest mistakes which could lead to legal issues.

comment 10y ago · link · parent

From the DoJ letter:

"Faculty developing UC BerkeleyX courses can, but are not required to, develop courses in collaboration with the Berkeley Resource Center for Online Education (BRCOE). BRCOE follows best practices in design for accessibility and also has a quality assurance process that includes deploying various accessibility evaluators; remediating layout, page structure, downloadable or styling accessibility barriers; and obtaining transcripts of all audio and video files associated with a course."

They follow that with a checklist which all faculty which opted out of using those resources since July 2015 was required to sign.

To me, this looks like a system which is trying to comply, but the people within the system have failed to take the requirements seriously.

comment 10y ago · link · parent

One of the things pointed out in the findings is that Berkeley makes people/tools/systems readily available to the people producing these resources, but does not require them to be used. Generally, the costs may be prohibitive after the fact if the people producing the material did not take them into consideration. However, they can usually be factored into the costs of production up front, and steps can be taken to make it easier to make the material accessible.

In most cases, it is probably simply a lack of awareness on the part of the people making the material available. The difficult part is educating the faculty and staff of the University about the legal requirements they must meet and the resources available to them to make compliance easier, and, perhaps more importantly, an integral part of the process.

comment 10y ago · link · parent

More than likely, the material released to the public is not the material used for enrolled students. At the same time, they most likely have funding to make material accessible to enrolled students on an as-needed basis. If a person with a particular disability is enrolled at the University, the University will work with the student to discover their requirements and how they can best meet their needs. At that point, they can go through the list of courses the student has enrolled in for each quarter or semester and ensure that all of the course materials are accessible to that student.

Once they've completed that process, it usually has the side benefit of making those specific materials accessible to all future students with similar needs. The whole process is also getting better over time, especially for textbooks and similar material. However, video and audio are especially problematic areas when they are produced by individuals who don't understand (or aren't aware of) these requirements. If you just setup a camera and/or microphone to capture a lecture, public release and captioning may not be on your mind at the time.

comment 10y ago · link · parent

To expand on this, the government of California requires the University of California (UC) and California State University (CSU) systems to comply with the ADA and the Rehabilitation Act of 1974 (if you've ever heard of 508 compliance, it's a reference to section 508 of the latter Act). In recent years, both systems have been expanding their efforts to comply with this requirement, especially in regards to technology. (The CSU system includes not only the schools with CSU or Cal State prefixes, but also most of the schools with State or SU suffixes, including SFSU, SJSU, and SDSU.)

For more information: - UC Policy: http://www.ucop.edu/electronic-accessibility/initiative/poli... - CSU Policy: http://teachingcommons.cdl.edu/access/

comment 10y ago · link · parent

I'm also 38, and probably at the high end of the majority of the programmers at my workplace, but we have a handful of much older programmers who will probably be retiring over the next 5-10 years, and not many in between (ages in the mid 40s to early 50s seem pretty rare among the coders here). In our case, a large percentage of the coders in the 50+ ages are very much specialists supporting software and systems that are being phased out in part because it is becoming more difficult to support those environments every year.

It is difficult to find career paths which continue to make it worthwhile and still continue coding, but it's also difficult to find people who want to continue coding and can keep up with the progress of technology. Further, it's difficult to evaluate whether someone has the right combination of skills, desire, and adaptability in the hiring process. Unfortunately, most people seem more likely to associate 2 out of 3 of those traits with youth, and those also happen to be the hardest traits to see on a resume. For example, if someone has worked on a lot of projects in a lot of different software environments with different programming languages, it can be difficult to determine whether this means they can adapt well to change, or they can't work well with a team or grasp the necessary concepts for a given platform or language.

comment 10y ago · link · parent

C#/XAML on the front-end could mean that .Net/WPF is rendering the XAML and wiring up the C#. The C# might do little more than handle events triggered by the user interface and update the user interface in response to events triggered by the back end.

As the potential capabilities in front-end web development increase, the differences between web development and "desktop" software development are reduced, because web developers find themselves facing more and more of the same questions software developers have always faced when dealing with distributed software architectures at scale.

comment 10y ago · link · parent

In my first job, 70+% of the work force within the division had the same job title, and any number on that title had a pay range associated with it that could easily cover many years of mediocre raises with little basis on performance. During the 10 years I was there, my job title changed twice, with the second change reverting to the previous title (including an associated pay increase for both title changes), because the division did not have enough work that they could give to someone with that particular title.

In my second job, I was a Software Developer 3 for 5 years with relatively good annual raises, and I worked on two different contracts in that time. The only way my title would have been likely to change would have been due to being hired onto a contract that required different titles (Web Developer or Software Engineer, for example), or to move up to a Lead Developer, which would have been somewhere between a developer and a manager. With that employer, moving from Developer to Lead meant that a Lead quit on your contract (and you interviewed for it) or you were hired onto a different contract as a Lead.

With my current employer, the numbers were removed from the job titles several years ago. For the most part, raises are even worse than they were with my first employer, and job-hopping internally is the only way most people can see a significant raise, regardless of merit. Promotions come from people in higher positions leaving, which seems less likely (except through retirement) than I've seen elsewhere, but you have to apply/interview for the promotion against internal and external applicants. Most of the people in this location which make more money with the same title have been hired in the 4 years since I started, and I make roughly 50% more than my co-worker with the same title who has held his job for over 10 years. On the good side, there are still a couple of other job titles I'm qualified to hold before I become a manager (though again I'm tempted with that Lead Programmer title which blends the roles). On the bad side, there isn't a lot of chance of vertical movement, so it's a struggle between the comfort of the known environment and the internal job search to see if anything interesting is posted.

comment 10y ago · link · parent

In the last few years, we've started purchasing Dells with Ubuntu pre-installed. Most of them get imaged with Windows 10, but the machines which stay in IT and a small number of faculty members teaching IT-related courses usually get configured to dual-boot.

I have been using Virtualbox to deal with everything I need to do in Windows rather than going through the hassle of rebooting the machine. I use Windows for Active Directory administration, the occasional document that doesn't look right in LibreOffice, and occasionally jumping into Adobe software. My next computer at work is going to be a MacBook Pro with a Windows 10 VM, but at that point I should have most of the Adobe and MS Office tasks covered in OS X instead of the VM.

comment 10y ago · link · parent

MPEG-4 ALS and SLS were standardized after ALAC was released in OS X/QuickTime/iTunes, but yes, those are two more possibilities when you have an .mp4 or .m4a file, and the pile of other extensions they can use.

comment 10y ago · link · parent

They could have stuck with the .mp4 extension, but they were attempting to reduce the potential for confusion. It's a file extension, once we embrace the fact that it is just a hint (and can be a lie), it doesn't really matter so much.

The MPEG-4 format was based on the QuickTime format, so it shouldn't be any surprise that Apple prefers to go with an MPEG-4 format even when an acceptable alternative is available. The reality is that Apple doesn't support very many alternatives to MPEG-4 formats, and they probably wouldn't support MP3 if it weren't for the fact that they wouldn't have been able to take a significant position in the market for digital media players without MP3 playback. The same will probably never be the case for Ogg or FLAC.

comment 10y ago · link · parent

Vista was the first Windows release I really felt was unsuitable for installing on most systems which were purchased before the OS was released. OEMs made the problem worse by pre-installing it on low-to-mid-range systems which had no business running it. Additionally, if you were running 64-bit Vista at release, there were significantly more driver issues than with the 32-bit version, though running the 32-bit version meant you could barely support enough RAM to let the system start performing well.

UAC issues cleared up once all of the software developers got around to releasing the next versions of their applications, but MS took most of the blame. I can't really blame the developers for not wanting to make significant changes to their software before the final release of Vista, given the chain of events leading from XP to Vista. Many are already hard pressed to remember how rocky the XP release was, and that MS did much more in XP to make 3rd party applications work with the system. In Vista they essentially took the extra step to warn the user that the application was misbehaving, rather than silently letting it happen. Some people got into the habit of disabling UAC by default and I had to convince one person who should have known better that he wasn't going to suffer from a deluge of support calls if he stopped disabling it in Windows 7 (and the handful of Vista systems still around).

In the end, 7 put very little in terms of functionality or stability on top of Vista SP1, though Microsoft did put significant work into making it possible to run 7 on systems that didn't have the horsepower for Vista. The marketing push brought a lot of people around. I look at it as an essential part of the strategy they're currently using with Windows 10 (vs. 8), though they took the extra step of changing the underlying version number this time around (something they didn't do when going from Vista to 7).

The biggest problems with continuing to run Vista are that the support window is rapidly closing and 7 will usually perform better on the same hardware (because they toned down the UI and put real effort into getting 7 to work on hardware that was previously running XP).

comment 11y ago · link · parent

Or, to put it another way, the US GDP is over 6 times that of the UK or France, so a 1% difference in GDP amounts to spending almost 10 times as much money. By comparison, China, the #2 spender by $ spends a smaller percentage of their GDP than either France or the UK. Further, the countries which tend to spend the largest percentages of their GDP on military spending tend to be countries with low stability, high chances of conflict with neighboring countries, and a large reliance on outside involvement to maintain some semblance of stability.

Entitlements, by definition, are paid for by the recipients in some way, and are often capped by how much the individual paid into the system. At times when the entitlements are especially needed, these limits are sometimes waived or modified, which is one source of entitlement problems. Another source of entitlement problems comes when there is less need for those entitlements and government is attracted by the large amounts of money going into those entitlements. The US (and much of the west) happens to be in a long period when there has been great need which also happens to have followed a very long period when there was very little need. So, most of the money was stolen to pay the bills for everything else in the 90s and the early years of the wars in Iraq and Afghanistan, then anything left in the markets was destroyed by the economic situations which followed, and eventually the entitlement systems will no longer be able to meet the demands placed upon them. Add the Baby Boomers to the Social Security system with a heavier reliance on it for retirement income (thanks to the near elimination of corporate retirement when they decided the massive amounts of cash on their books waiting for Baby Boomers to start collecting looked bad for their bottom line), and I'm sure the outlook is just wonderful for my chances of ever collecting the money I've put into any number of entitlements, unless I find myself in the most miserable situation of my life before the government finds a way to cut every last remnant of the safety net.

comment 11y ago · link · parent

Since I was taught in a California public school in the 1980s, I believe I was taught using the Zaner-Bloser method. As someone else mentioned, the lowercase letters look mostly the same, but there are more differences in the uppercase letters. The main thing that strikes me in looking at your example is that I would have to lift my pen/pencil to generate most of those uppercase letters. In general, if I write in cursive, I only lift my pen/pencil off the page at the end of a word, and I tend to drag the tail of the last letter of the word back if I need to cross a 't' or dot an 'i' or 'j'. I also developed a habit of crossing my 'z' (and 'Z', and the number 7), oddly enough, from my German teacher in high school (though she was from Munich, and probably learned her handwriting in the 1940s or 1950s).

comment 11y ago · link · parent

My typing speed is more than 80 WPM when I'm 12 hours into a bad day and my handwriting is horrid, but I still often use paper to clarify my thoughts, take notes, and draw diagrams. More often than not, I never actually read what I've written, the act of writing just makes it easier for me to retain the information.

Similarly, I've found that I can retain the content of electronic documents more easily if I type them out in a text editor. Sometimes I just delete the text, other times I retain it as a more portable version of the content.

Most members of my family think it's strange that I work with paper so much (and continue to buy most of my books in paper form), given that I've made a living writing software and websites for almost 20 years. I just think that, even with computers in the house from a young age, I was taught to use my brain through paper, and every alternative they've come up with to date has been, at best, a half-assed imitation.

comment 11y ago · link · parent

Don't forget the hard-wired Administrator password: "admin"... and no logging to let someone know that someone may have removed into the machine and replaced the Access database holding the votes.

comment 11y ago · link · parent

This usually has little to do with the field of nutrition or the studies themselves. It has to do with how the media reports the findings of the studies, usually without properly understanding them and without putting them into context. Everything has to be revolutionary, has to prove everything else wrong, even though it's extremely difficult to perform a valid scientific study that proves anything wrong.

My wife has a long-time friend who became a nutritionist, and she'll tell anyone that will listen that most people have a pretty good idea of how to eat right if they don't over-think it, but it becomes very difficult to put it into practice, because everything we do to make food convenient tends to also make it bad for us. Another issue is that medical doctors don't take nutritionists seriously (despite medicine also being a constantly-shifting landscape), and rarely pay attention to diet for anything other than controlling your weight, blood sugar, and cholesterol. This is why we end up with things like "Irritable Bowel Syndrome", which, for most people is likely an undiagnosed food intolerance (and given the most common ingredients in processed foods, it's probably soy or lactose).

comment 11y ago · link · parent

The first trick is to not have that thing in your fridge, and I know as much as anyone how hard that trick can be to pull off (one helpful part is to go to the store after you eat). In fact, the only quick meal/snack I tend to have on hand is oatmeal (or occasionally yogurt).

I regularly eat 10-12 hours after I wake up, and rarely feel hungry before I hit the 10 hour mark, unless I make a habit of eating during that time period. If I decide to follow a whim to eat breakfast on two or three consecutive weekdays, I will be hungry at breakfast time on the following day, regardless of what I ate the day before, or when I last ate. The worst part, though, is that it sometimes takes longer for that hunger to stop coming at breakfast time every day than it does to get it to start coming in the first place.

Something else that helps, for me, is to get at least some amount of exercise first thing in the morning. I take a short (~1.5 mile) bike ride over a fairly mild route (mostly flat or downhill) on most mornings (when it's not raining). In my unscientific observation, it kick-starts my metabolism, which it needs, since I'm definitely not getting exercise at work. After that, I primarily have to keep my mind busy, as boredom typically leads to eating just to do something.

comment 11y ago · link · parent

Through most of my life I've been distinctly aware that I was lumped into Gen X (born 1978) with some of my aunts and uncles, while my sister (1980) and, more recently, my wife (1981) were usually lumped into some other generation (the name of which has shifted every few years).

I think what's really going on is that most of the advertisers ignored Gen X as a waste of marketing resources when Baby Boomers were always the pot of gold. Most of them are now looking back and realizing that they missed an opportunity at that crucial age range, and they're trying to make up for it by continuing to ignore Gen X and going straight for the Millennials. Of course, that's not to say that Gen X was completely ignored or that marketing doesn't work on them. There are clearly any number of instances in which they were targeted with some effect. However, I think that, in general, we live in a world which is still largely skewed in favor of the Baby Boomers, despite the fact that most of them are shifting into fixed incomes and/or continuing to work full-time well into retirement age simply because they do not feel they can retire (sometimes because they're still supporting their Gen X or Millennial children).

comment 11y ago · link · parent

This point of view, written by someone over 50, ignores the fact that many baby-boomers still want to see themselves the same way they did in their 20s and 30s, making the advertising nearly as effective on them. At the very least, the data is not showing that they are being driven away by the advertising, and it is not showing that anyone is more effective with baby-boomers by specifically targeting them with campaigns that would not be effective with millennials.

comment 11y ago · link · parent

We had a semester-long required course in high school (usually taken as a freshman) called "Career and Family" which focused on a re-hash of sex ed. and information on the dangers of drug abuse. We also had a semester-long required course in economics which focused more on the stock market and macroeconomics.

Way back in 4th/5th grade we had an hour or so each day for a couple of weeks focused on things like balancing a checkbook, but it was probably a bit too early on to do much good beyond reinforcing the required math skills. Then again, cooking was something I learned a year or two earlier in a summer-school class, so maybe some things do stick at that age.

comment 11y ago · link · parent

While the K-9 may not be possible for most departments, I know a few departments in Virginia started requiring all units to have a minimum of two officers because gas prices were too high to send a second car every time they needed a second officer on the scene. Of course, the San Diego County Sheriff's Department can't seem to shut off the engine, park legally, or fit more than one officer in an SUV.

comment 11y ago · link · parent

In the time since I got my current phone (an S3), my wife's gone through 3 of them (though all S3s, and primarily through insurance replacement). The primary reason I haven't replaced my phone (as this is my third or fourth "smartphone") is because my carrier changed their hardware policies, making a new phone more expensive unless I move to an older phone (though I could still get a newer model than the S3 for a fairly low price). My particular S3 has been great, while my wife's have been less resilient.

As for anything really keeping me from upgrading, other than a slight fear that the new phone might not be as good as the current phone, I'm really not afraid of losing contacts or anything else. I think I've gotten to the point where the new models aren't really offering a compelling reason to upgrade (other than planned obsolescence as apps get more bloated and OS versions become unsupported).

As for the Apple Watch (and competitors), I think there are three primary demographics: 1. Boomers who look at it as the "Dick Tracy" accessory. 2. Those who like to wear a large, expensive watch primarily as a showpiece (especially since so many people stopped wearing watches when they started using their phones as a timepiece). 3. Those interested in the tech.

comment 11y ago · link · parent

In 2010, melons, squash, and cucumbers combined accounted for 10% of the irrigated crop area of almonds and pistachios in California.

Source: California Department of Water Resources http://www.water.ca.gov/landwateruse/anaglwu.cfm

Further, per the same source, over twice as much water is applied to each acre of almonds and pistachios as each acre of melons, squash, and cucumbers.

What I've found so far for beef statistics doesn't make a lot of sense to me. For instance, California has the 4th largest cattle population in the U.S. (half of Texas' beef population), but is not in the top 10 beef producers. California is the top dairy producer, but it appears that only ~34% of the cattle population is dairy cattle. Further, it appears that chicken has been the meat of choice for the U.S. since the late 1990s.

Source: National Cattlemen's Beef Association: http://www.beefusa.org/CMDocs/BeefUSA/Producer%20Ed/Directio...

comment 11y ago · link · parent

Your job should never overwhelm your ability to do something important with the rest of your life.

comment 11y ago · link · parent

Melbourne: 4,442,919 people (1,100 people/sq mi) Sacramento: 475,122 (4,700 people/sq mi)

California's big cities tend to come in closer to Melbourne, or, in some cases, lower. The water districts cited at the top of that L.A. Times article cover huge areas, not, in most cases, individual cities, and some of those numbers likely do include agricultural use (not to mention golf courses and other questionable uses), despite the way they are presented.

comment 11y ago · link · parent

The Central Valley has never been a fully arid desert as long as there were not farmers there diverting the water. When they created a desert (in the 1800s), the federal government stepped in and diverted water from even further north and east. Of course, the farmers didn't do it all on their own, as lakes were drying up in California before they got here.
1234