Follow Slashdot stories on Twitter


Forgot your password?
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Comment Stay away from Windows 10 insider builds (Score 1) 151

Stay away from Windows 10 insider builds.

I was using an insider build that worked okay, then tried upgrading to the next build in the "slow" track, and it completely broke my wifi, then I reverted back to the earlier insider build. So far, no real problems.

Then Microsoft decided that insider builds should expire, and become non-functional. You get a BSOD every 4 hours as a way of reminding you to not use old insider builds.

The built-in Windows Update for insider builds was also broken since I had been messing with registry settings for telemetry, and it refused to check for insider build updates.

So yeah, stay away unless you like broken wifi or BSODs every 4 hours.

Comment Re:Hello, world! (Score 1) 421

You're going to get junk for every trivial program no matter what. It includes the CRT or runtime library into all statically linked programs, no matter how much of the CRT or runtime library it actually needs.
The only way to not get junk is to turn on "ignore all default libraries", which is tough to do, but possible. You lose a lot of features of the compiler, such as the built-in standard library, converting floats to ints, etc.

Here's a minimal Hello World program that includes no junk whatsoever:
#include <windows.h>

void PutText(const char *str)
        HANDLE standardOutput = GetStdHandle(STD_OUTPUT_HANDLE);
        int len = lstrlenA(str);
        WriteFile(standardOutput, str, len, NULL, NULL);

int EntryPoint()
        PutText("Hello World!\n");
        return 0;

You need to adjust linker settings, you turn on "Ignore Default Libraries", then change the entry point to EntryPoint.
After doing this, you get a 2.5K EXE file, where each section (.text, .data, .rdata) contains nothing extraneous at all, except for the padding to 512 byte alignment.

The Almighty Buck

Olympic Athletes To Sport Visa's New Payment Ring In Rio ( 129

An anonymous reader writes from a report via Engadget: Visa is introducing a new ring at the Olympic Games in Rio that will let people pay for things by waving their hand -- no phone, wallet, or battery is needed. The ring, which has yet to be named, features a secure microchip from Gemalto, and an embedded antenna. It is crafted of black or white ceramic, as metal would interfere with the antenna. There will be 20 sizes available during its trial run where it will be available exclusively for employees and partners, as well as the 45 athletes sponsored by Visa. The athletes inspired the creation of the ring, as wallets and typical wearables can be an annoyance to them when they're constantly changing uniforms. The ring is even fit for Olympic swimmers, as it is water resistant up to 50 meters. It never needs to be charged since it draws a tiny amount of power from the payment terminal and transmits far less data than Apple Pay or Android Pay. As for security, the ring can be deactivated from a smartphone, and thanks to tokenization, sensitive data is replaced by a digital identifier that can be used to process payments, so thieves won't be able to use it. There has been some controversy surrounding the Olympic Games in Rio de Janeiro. Some doctors have warned that the games could spark a "full-blow public health disaster" with the spread of the Zika virus.

Slashdot Top Deals

If you suspect a man, don't employ him.