Beta

×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Comments

top

Ask Slashdot: PC-Based Oscilloscopes On a Microbudget?

DrMcCoy Re:Salae logic (172 comments)

You can get Chinese knock-offs of the Saleae Logic or the USBee for $10, at DealeXtreme for example. They run fine with sigrok, and even with the original Saleae software if they report the correct USB Product/Vendor ID pair. They might not do the higher sampling rates, though.

If they don't report the correct USB IDs, you can reprogram the USB EEPROM with the Cypress EZ-USB FX2LP tool. The Linux version is a bit buggy though (converts hex data to 0-terminated char* before sending to the device and therefore can't write data with 0x00 in it), so I wrote my own little tool: https://github.com/DrMcCoy/FX2LPTool

Of course, that's "only" a logical analyzer, no oscilloscope.

about a month and a half ago
top

The Next Unreal Tournament: Totally Free, Developed By Public

DrMcCoy Re:open = being able to have your own build bypass (122 comments)

Also, GitHub /doesn't/ require you to pick an open source license for public repositories. You can choose whatever the hell damn license you want.

The only thing you do by accepting the GitHub terms of service is grant some rights, namely that everyone can see and fork your repository (which might qualify as "open source" in your book, but I view as a cop-out). Of course, this still doesn't give anyone the rights to actually do anything with the code besides looking at it.

Which is one of the reasons many free software proponents have been dismayed by the amount of license-less GitHub repository. To answer that, GitHub added the license picker for newly created repositories, but that thing still is completely optional.

about 3 months ago
top

The Next Unreal Tournament: Totally Free, Developed By Public

DrMcCoy Re:open = being able to have your own build bypass (122 comments)

Yes, exactly, and this is not a public repository! No one said this will be a public repository!

Hell, they already do that for the Unreal Engine 4! Look at that, here, ffs: https://www.unrealengine.com/ue4-on-github

about 3 months ago
top

The Next Unreal Tournament: Totally Free, Developed By Public

DrMcCoy Re:open = being able to have your own build bypass (122 comments)

Really, you too: Read the actual article. It says nothing about it being open source or free software. It only says the UE4 developers will have access to the source on GitHub.

about 3 months ago
top

The Next Unreal Tournament: Totally Free, Developed By Public

DrMcCoy Re:so (122 comments)

I'm going to repeat what the other Anonymous Coward above said: "nobody said free to compile and use". TFA says that the code is available to UE4 devs. I.e. people who pay the subscription money for an UE4 license.

about 3 months ago
top

The Next Unreal Tournament: Totally Free, Developed By Public

DrMcCoy Re: so (122 comments)

RTFA. It doesn't say anything about it being under the terms of a FLOSS license; or a liberal license. It will probably be the standard UE4 license, possibly even forbidding changing the store code.

about 3 months ago
top

The Next Unreal Tournament: Totally Free, Developed By Public

DrMcCoy Re:so (122 comments)

Source says this:
"All code and content will be available live to UE4 developers on GitHub"

I.e. you can view the code if you are an UE4-licensee. Just like how the UE4 code is on GitHub, available to UE4-licensees.
It will not be "free software" for free as in freedom/libre. I will only be "open source" for a very weird, non-OSI-approved definition of the term.

about 3 months ago
top

Does Coding Style Matter?

DrMcCoy Re:Kinda Subjective but... (479 comments)

Of course tabs have changed throughout the years. Look at what word processors do with tabs. They actually use it for alignment within proportional text.

about 2 years ago
top

Does Coding Style Matter?

DrMcCoy Re:Kinda Subjective but... (479 comments)

> In your bizarro world there is something magical and unique about the first non-whitespace character than makes it's "alignment" different than the alignment of everything else

There is. It's called indenting. And it /is/ different than, say, aligning "=" in following lines.

> There is a set of standards that fix this problem once and for all

Exactly. And it's called: Tabs for indenting, spaces for alignment. Works beautifully. Always has, always will.

about 2 years ago
top

Does Coding Style Matter?

DrMcCoy Re:Kinda Subjective but... (479 comments)

> But if tabs are for indention and spaces are for alignment, as you say, then spaces can only work for alignment for one and ONLY one value of a tab

Wrong.

<pre>
<TAB>int a = 5;_// Explanatory comment:
<TAB>___________// Foobar
</pre>

(Let's hope those pre-tags work. Because they don't work in the preview, although my Comment Mode is now set to text + html. In either case, it should hopefully be clear what I mean.)

about 2 years ago
top

Does Coding Style Matter?

DrMcCoy Re:Kinda Subjective but... (479 comments)

> as long as don't have to scratch my head to figure out how they liked their tabs

Which is why the code style guidelines in my projects explain how to use tabs: Tabs for indenting, spaces for alignment.
The same sentence I've used several times in this discussion. Should I draw you an even more detailed explanation?

> You're the Nazi here

*sigh* Using the word Nazi in such a callous manner is really not a good idea.

> I have to figure out what your tabs mean

Tabs for indenting, spaces for alignment. Not that hard.

Of course, if you're using spaces *and* tabs for indenting, I have to guess which of those each of your spaces are. Now that's guesswork.

about 2 years ago
top

Does Coding Style Matter?

DrMcCoy Re:Kinda Subjective but... (479 comments)

So because apparently some people will inevitable do it wrongly, it's best to just not do it at all? I find this idea completely and utterly weird.
Everybody will spell things wrongly every now and then, so just ban coherent spelling altogether? Some people will use this interface in the wrong way, so just throw out the whole shebang?

I'm feeling reminded by the Hitchhiker quote about how coming down from the trees was a mistake.

about 2 years ago
top

Does Coding Style Matter?

DrMcCoy Re:Kinda Subjective but... (479 comments)

> Use Unix "unexpand" and shove in tabs everywhere you want

Which is of course not always possible, because using spaces for indent *and* alignment is lossy. You are expressing two different concepts with the same character. Which is exactly my fricking point.

> But for the source code I have to deal with

You are (probably) not the only person having to deal with the source code. If you're so egoistical that you're making it harder for everyone else by mangling two different things together, I sincerly hope you and I are never working on the same codebase together.

about 2 years ago
top

Does Coding Style Matter?

DrMcCoy Re:Kinda Subjective but... (479 comments)

Also, completely off-topic: Is it just me, or is the Comment Post Mode option wonky? I can't seem to switch it away from "Code" anymore. No matter what I set, it's not correctly saved. It's back to code when I want to comment.

about 2 years ago
top

Does Coding Style Matter?

DrMcCoy Re:Kinda Subjective but... (479 comments)

> So, since apparently most everybody uses tabs incorrectly

Well, the solution is to educate stupid people, not letting them continue in their stupidity.

> and there does not seem to be any point at all with using tabs instead of spaces

There is.
1) Differentiate the semantic differences of indenting and alignment
2) Let everyone change their level of indentation to their own choice

> Are there really people who get their jollies by changing the tab value to make code look different on their screens

Yes.

> Tab (ascii 9) goes back to typewriters and teletypes and is effectively an 8 indent

A tab is not 8 spaces, it's a tab. Which is the point.

> So if you don't want an 8-space indent, don't use a tab

A tab is not 8 spaces, it's a tab. Which is the point.

> If you do want an 8-space indent, you can't assume the viewers device will treat it that [way]

A tab is not 8 spaces, it's a tab. Which is the point.

about 2 years ago
top

Does Coding Style Matter?

DrMcCoy Re:Kinda Subjective but... (479 comments)

No, this just means you (and/or the people you work with) are using tabs in the wrong way.
Tabs for indenting, spaces for alignment. Makes sense logically too, because those two functions are fundamentally different.

I.e. it should be:

<TAB>int_a;________//_Hello
<TAB>int_whatever;_//_Yeah

Where <TAB> is a tab and _ is a space.

Works beautifully. Think, people!

about 2 years ago
top

ScummVM 0.13.0 Delivers New Adventure Games

DrMcCoy Re:That's all good but... (69 comments)

Actually, there are 2 other freeware'd adventure games running in ScummVM: "Lure of the Temptress" and "Drascula: The Vampire Strikes Back".

more than 5 years ago
top

ScummVM 0.13.0 Delivers New Adventure Games

DrMcCoy Re:SCI (69 comments)

There is an outdated and AFAIK currently unmaintained (another chance for someone with some free time to step in and help out) Linux port of AGS.

As for the games, some work on Linux, as long as they don't use any external DLLs (obviously). Unfortunately, there are many who do (popular DLLs being SFX for raindrops and flashlights, last I checked).

more than 5 years ago
top

ScummVM 0.13.0 Delivers New Adventure Games

DrMcCoy Re:SCI (69 comments)

As in beer, but not as in speech. :P

more than 5 years ago
top

ScummVM 0.13.0 Delivers New Adventure Games

DrMcCoy Re:Grim Fandango (69 comments)

Well, just to be clear: The thing with residual is not some abstract status, but a lack of interested devs with enough free time.

Anybody here who qualifies for that is free to check in #scummvm on FreeNode and offer their help. :P

more than 5 years ago

Submissions

top

ScummVM 1.2.0 released

DrMcCoy DrMcCoy writes  |  more than 3 years ago

DrMcCoy (941651) writes "ScummVM has just released version 1.2.0, the first release that supports SCI1 and SCI1.1 games, 1.5 years after it merged with FreeSCI.
Other new features include launcher localization support and new ports (Android, Dingux, Caanoo, OpenPandora)."

Link to Original Source

Journals

DrMcCoy has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?
or Connect with...

Don't worry, we never post anything without your permission.

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>