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

Interviews: Ask "The King of Kong" Billy Mitchell About Classic Video Games

master_p Ms PacMan record (122 comments)

Question: what is your Ms PacMan record?

about a month and a half ago
top

HR Chief: Google Sexual, Racial Diversity "Not Where We Want to Be"

master_p Should we put more whites in the NBA too? (593 comments)

The NBA is dominated by blacks. How come there isn't a problem there? Shouldn't the NBA have more diversity?

You see how stupid this thing sounds, doesn' it? People are drawn to whatever they are good at or like to do. Let the white males be programmers and the black males be athletes or whatever they like. If the blacks want to be scientists, teachers or anything else, let them be. It's not really a problem...

about 2 months ago
top

How To Prevent the Next Heartbleed

master_p Buffer overruns can be prevented at compile time w (231 comments)

Buffer overruns can be statically prevented at compile time without any runtime penalty.

All that is required is that the type system of the target programming language enforces a special type for array indexes and that any integer can be statically promoted to such an array index type by a runtime check that happens outside of an array access loop.

Array indexes are essentially pointer types that happen to be applicable to a specific memory range we call an array. Memory itself is just an array, but for that specific array C gives you special types to access it, namely pointers.

about 3 months ago
top

Sand in the Brain: A Fundamental Theory To Model the Mind

master_p Re:Sand in our Brain (105 comments)

Could it be that neurons simply don't store new information except the first time and that all experiences are stored as an incremental backup, i.e. it's only the changes that are stored?

This solves the stability-plasticity dillemma: the first experience that comes is stored as a whole, and then similar experiences are only stored as a delta from the initial experience - thus allowing the brain to maintain some 'forever' experiences like touching a hot stove but also be flexible enough to remember new experiences.

This can also account for the deja vu effect - recalling experiences that are similar.

about 4 months ago
top

Job Automation and the Minimum Wage Debate

master_p Re:Russia != Communism (870 comments)

The problem is that Communism only works on paper. In practice, greed can easily kill it.

Capitalism can be killed too by greed, but at least in Capitalism there are enough conflicting forces to slow down the process.

In Communism, there is only one force, the Communist Party, and so everything can go to hell really fast.

about 4 months ago
top

Stephen Hawking: 'There Are No Black Holes'

master_p Re:SubjectsInCommentsAreStupid (458 comments)

Yes they are.

Science = the universe is 14 billion years old, here is why.

Religion (Christianity, for example): the universe is 6000 years old, no proof at all.

about 6 months ago
top

DRM Has Always Been a Horrible Idea

master_p DRM is fine. Piracy is theft. (281 comments)

The basis of our economic system is our right to sell our products in the way we see fit. Thus, content providers have the right to put any DRM system they want on their products. If we don't like DRM, then we simply shouldn't buy those products.

We don't have any right to pirate content, because piracy is theft: for any pirated product in use, the creator is missing a certain amount of money.

The argument "a pirated product is not a lost sale" is a bad argument, because it is a tautology: "a lost sale is a lost sale".

about 7 months ago
top

Life Could Have Evolved 15 Million Years After the Big Bang, Says Cosmologist

master_p Perhaps they have watched TOS episodes. (312 comments)

After watching James T. Kirk "managing" those green girls, they decided this planet isn't for them.

about 8 months ago
top

Japanese Aircraft-Carrying Super Submarine From WWII Located Off Hawaii

master_p Space Submarine Sentoku... (123 comments)

...Hashin!!!! :-)

about 8 months ago
top

A Link Between Wormholes and Quantum Entanglement

master_p Wormholes may explain entanglement. (186 comments)

If two entangled particles are connected with a wormhole, then it makes total sense that the state of one affects the state of the other, because if these two points in spacetime are connected via a wormhole, then communication between them is instant.

about 8 months ago
top

Jolla: Ex-Nokia Employees Launch Smartphone (MeeGo Resurrected)

master_p Re:Now give us a hardware keyboard... (141 comments)

I was never bothered by those inconsistencies in N900's UI.

Athough they do exist, they are irrelevant for me, unlike the UI inconsistencies of Android 4's UI.

about 8 months ago
top

Piracy Offers Heavy Metal a New Business Model

master_p Re:We've all seen the pie chart. (246 comments)

Holding a gun to people's heads and demanding money does not make you liked.Finding what they like is tough, and getting tougher every year

So, according to you, it would be ok to get a Ferrari, ride it for as long as I like, then dump it because it did not like it after all, withouit paying a dime, right?

about 8 months ago
top

AI Reality Check In Online Dating

master_p Re:Surprised people still use... (192 comments)

My experience is different. I had a lot of dates with women from dating sites, and I met my wife that way. I have a kid, after 5 happy years of married life.

I think what matters is the initial approach. Many men go for an impressive opening line, but women don't really want that. My approach was very simple. My initial message was: "hi, how are you?." Most women replied back, and then the conversation started.

about 8 months ago
top

Jolla: Ex-Nokia Employees Launch Smartphone (MeeGo Resurrected)

master_p Now give us a hardware keyboard... (141 comments)

...and I am sold.

I tried the iPhone. Didn't like it, too much of a walled garden.

I tried Android. It's UI sucks. Huge incosistences all around.

I will stick with my N900 until a Sailfish phone with a hardware keyboard arrives.

about 8 months ago
top

Astronomers Discover Largest Structure In the Universe

master_p "the largest in the universe?" (143 comments)

That's what she said!!!

(that's what you get from watching The Office).

about 9 months ago
top

Microsoft Warns of Zero-Day Attacks

master_p So why everyone still uses C-style buffers? (165 comments)

I would have expected, in this day and age, where computers are supposed to be much more powerful than needed for the majoirty of users, that C-style management of buffers would have been a thing of the past, especially in major software like Office and browsers.

But, judging from your post, it seems that is not the case. People still use raw buffers without bounds checking.

The principle "peformance first, safety second" has not done good. The majority of problems like this come from the programming language C which does not mandate bounds-checked array access.

about 9 months ago
top

4 Prominent Scientists Say Renewables Aren't Enough, Urge Support For Nuclear

master_p What about putting nuclear deep in the ground? (776 comments)

What if we put nuclear power stations deep in the ground so as that any nuclear accident can be simply dealth with by burying the stations with the dirt and rock above them?

about 9 months ago
top

First Experimental Evidence That Time Is an Emergent Quantum Phenomenon

master_p How this doesn't contradict Relativity? (530 comments)

Since time is an emergent property of entanglement, and since particles can be entangled no matter what the distance is between them, then there exists a common clock for entangled particles, thus proving that the theory of Relativity is wrong, since these particles can be light years away.

If the above is not correct, then entanglement must break at the point of one of the particles exiting the light cone of an event, and after that there cannot be a common clock between them.

about 9 months ago
top

Existing Drugs Fight Antibiotic-Resistant Bugs

master_p The bacteria are like the Borg. (110 comments)

In TNG, Starfleet made it a regulation to alternate phaser frequences in order to fight the Borg. The Borg soon adapted to that strategy.

It would be strange for the bacteria not to adapt to the strategy of alternating antibiotics as well. It seems the bacteria have a very good pattern recognition mechanism.

about 10 months ago

Submissions

top

FCC's Net Neutrality Plan blocks BitTorrent

master_p master_p writes  |  more than 4 years ago

master_p (608214) writes "The FCC's formally issued draft net neutrality regulations have a huge copyright loophole in them; a loophole that would theoretically permit Comcast to block BitTorrent just like it did in 2007 — simply by claiming that it was "reasonable network management" intended to "prevent the unlawful transfer of content." The new proposed net neutrality regulations would allow the same practices that net neutrality was first invoked to prevent, even if these ISP practices end up inflicting collateral damage on perfectly lawful content and activities."
Link to Original Source
top

Simple gui toolkit for native C++ apps?

master_p master_p writes  |  about 5 years ago

master_p (608214) writes "What is the best GUI toolkit for the following requirements?
  1. C++ native app
  2. only one library to manage
  3. can be written using a simple text editor and the compiler — no UI designer or preprocessing tool
  4. has native-looking widgets
  5. follows established C++ programming principles
  6. is cross-platform
  7. supports OpenGL
  8. supports Unicode
  9. has reasonable online support
  10. has a reasonable API (geared towards simplicity)

It seems to me there is no such GUI toolkit for C++.

Qt is an extremely good C++ gui toolkit, but it has some problems: a) it requires the MOC, b) its signals and slots mechanism is not an established way to do signals and slots in C++ (no static type checking, no binding of parameters etc), c) its memory management mechanism is limited to object ownership; it does not use shared ptrs.

WxWidgets is another good option, but again there are some problems: a) lots of libraries to manage, b) it's programming model does not follow established C++ principles (for example: custom deletion rules, message maps)

There are lots of other toolkits out there, but it seems none of them fulfills the above requirements. My question to the Slashdot crowd is: is there somewhere such a beast or I am looking in vain?"

top

master_p master_p writes  |  more than 7 years ago

master_p (608214) writes "Alex Kac, CEO/Founder of WebIS, a small software company which makes mobile phone applications, has posted a letter to warez sites explaining how WebIs is deeply hurt by software piracy. Other mobile developers strongly agree with that letter. Alex pretty much begs warez sites not to copy their software, because otherwise he will be forced to close down his company. Big companies like Sun or Microsoft are not really hurt by software piracy, and they have occasionally been helped by letting their products copied freely (and illegally) by almost everyone, but what about small software developers? Is it viable for a small company of under 20 developers to live on writing closed commercial software? And how will warez sites respond? finally, how will RIA/MPAA/SBA can offer protection of small software developers, if any?"

Journals

master_p 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>