Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror

Comment Re:Can we get an explanation on who gets mod point (Score 1) 1834

I suspect there's a line of code in the "assignModPoints" function that says something like

if(freaks.contains("pudge")) return 0;

I haven't gotten mod points in a long time either, though I suspect in my case that I had turned off the "willing to moderate" option when it existed in the user options, and unrelated to that pudge foed me at a later time.

User Journal

Journal Journal: Rant: Android namespaces and ids 3

I hate Java, i hate Android development, but i repeat myself. And that's exactly what i hate about them.

In Android, objects have their own namespaces, under R. There's R.class, R.mipmap, R.layout, R.color, R.integer, and many more. So, the namespace of the layout (where you usually add objects) is under R.layout, the image on a button can be under R.mipmap. Nice.

User Journal

Journal Journal: Stupid Code: Using if() to set a value 4

Here's the latest example of something i have seen way too often:

if(getListView().getCount()==checkedItemCount) chk.setChecked(true); else chk.setChecked(false);

What's the point of obfuscating your code with an if()? This isn't conditional. You want to set it to the same boolean value as the evaluated expression. Obviously, the clearest way to write this (without changing names) is:

User Journal

Journal Journal: Verbiage: Seeing more often a weird sentence formulation

I seem to be seeing more often a weird sentence formulation. A book talks of passing to a function a variable, an article mentions "signed into law a bill," and plenty lately of others. While normal to be found this formulation in other languages, it sounds in English rather awkward.

Comment Re:New laptop (Score 1) 167

While I am not 100% sure, most likely the license is embedded in your firmware. They started doing that with Windows 8.
You can find it out using Linux:

sudo hexdump -s 56 -e '"MSDM key: " /29 "%s\n"' /sys/firmware/acpi/tables/MSDM

(Source)

Now, it is true that there are pre-activated keys for OEMs disks like HP, Dell, etc.. At least for Windows 7 it was like that. They have so called SLP Keys (System Locked Pre-Installation Key) and they are not the same as the one printed on your Windows 7 machine. SLP keys only work on a certain range of machines, but also have the advantage as working like generic OEM DVDs. I've had this case where a Windows Vista machine (Vista Key sticker) from Dell and I used the a Windows 7 Dell OEM disk, and ... it activated itself. Technically it didn't have the rights to do so and I was totally surprised it did. Use the same OEM disk on an Acer and it will install but not be activated, at which point you use the sticker on the machine. When I started to mess around with these things, I realized that in the Windows 7 era, all machines shipped with two keys: the SLP license and the (recovery) sticker license.

Given that from Windows 8 on the licenses are embedded in the firmware, this is over.

Personally, I think reinstalling from scratch is always the right option. With decrapifying you might miss something, and if you're routined, you have a reinstallation done rather quickly. If you stick with big brand machines, getting drivers is no Herculean task any more. Back in the day, oh, yes, I remember... Hard to find, need to use shady places, take drivers from different machines and try to see whether they work. Today, it's "go to manufacturer website", download what is *missing* and use what Windows gives you as default drivers for all the rest, with the notable exception of the graphics card.

Comment Re:New laptop (Score 1) 167

It's not that I don't believe you and I'm the first to discourage the use of Windows... BUT, Microsoft has done one thing right since the release of Windows 10, namely allow the OS to be downloaded for free (gratis) from their site. Windows 10 Pro and Home can be downloaed as an ISO or with a tool to create a Bootable USB stick. From what I understand any valid Windows 10 key, will be accepted by these installation media.

As a matter of fact, this can be done with Win 8(.1) too these days, even though I only did once: The laptop I am typing this on. Came with OEM Win 8, but I didn't want to use it, so I installed Ubuntu without making a backup of anything. Now, in order to secure the 10 license, I did a dd of the disk, installed Win 8 from the installation media I got from Microsoft and then upgraded to 10. After that, I did a dd in order to restore it to the original configuration. This way, should I want to give it away or sell it in a few years, I can give the future owner what they might want: Windows 10.

To get back to my point: Windows now provides usable installation media. No need for restore media, or hoping you find a OEM disk that works with your machine and key... There is now an official way, and that is the only positive thing that Windows 10 brought us.

Your Envy can be reinstalled from scratch if you are inclined to do so. Get the ISO here. Now, my personal opinion is that you're better off with staying with Linux, but don't kid yourself. You *can* have a clean Windows installation these days.

Comment Re:google play (Score 1) 3

You can do a search to setup play. There's an article on XDA about it. I took the longer method, because i don't feel right getting rid of the ads. I saved $15 by "saying" i would view them.

I have not used it extensively. The OS is made to use and sell Amazon services, and has a somewhat different feel than regular Android.

User Journal

Journal Journal: Chronicle: Bluetooth, Kindle Fire, updates, and more. 3

Continuing from the last exciting edition of what is Chacham buying today, I decided to try out the Plantronics Explorer 50 for $23.19 on ebay. Weird that it's cheaper from the UK. Anyway, i was thinking of purchasing the 3 for the 10% discount, but that's too big a gamble for a product i have not tried. If i like it, i may buy another 1 or 2. Or, purchase 3 and see if i can sell one on Amaz

Slashdot Top Deals

Keep the number of passes in a compiler to a minimum. -- D. Gries

Working...