Slashdot: News for Nerds


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!



Will Google's Dart Language Replace Javascript? (Video)

goruka Fuck languages, Standarize a VM ! (180 comments)

How difficult it can it be to agree on this? This way anyone can use any language they wish. It's a win-win situation for Firefox and Google and probably for Microsoft because their underperforming new platforms will get loads of new applications. I seriously don't get corporations sometimes..

about three weeks ago

A Brain Implant For Synthetic Memory

goruka Lies, they want to make killer robots. (87 comments)

How obvious is it that, in reality, they want to make killer robots? Start with the synthetic memory, then continue with the synthetic consciousness and put it in a highly sophisticated mechanical armature and you have a killer robot.

We are doomed.

about three weeks ago

Ask Slashdot: Best Way to Learn C# For Game Programming?

goruka You have to pay $$ to use C# in a game. (254 comments)

Everyone is getting into C# because of Unity, but this is actually a trap. If you want to make a C# game and publish it on mobile without restrictions you have to pay. The only portable C# implementation that works on mobile (besides Windows Phone) is Mono. Their class library is LGPL, which is in a grey area, Xamarin says:

"Typical examples of commercial licensees include device manufacturers embedding Mono in hardware where the user is not able to independently upgrade the Mono virtual machine from the source code"

This rules out Android and iOS. Unity has a free version but also has restrictions:

Unity Free, which include the free platform add-on products, may not be licensed or used by a commercial entity with annual gross revenues (based on prior fiscal year) in excess of US$100,000, or by an educational, academic, non-profit or government entity with a total annual budget for the entire entity (based on prior fiscal year) in excess of US$100,000.

So, again, make sure you are doing your research well, because you might end up in an unexpected situation.

about a month ago

Ask Slashdot: Best Way to Learn C# For Game Programming?

goruka There is no such thing as "Learn Game Programming" (254 comments)

The best way is to make games first, then see what language do you need later. Most games do not even need something such as C# and what might seem as " more powerful" can also be seem as "more wasted time doing something more complex than needed".

about a month ago

Google Engineer: We Need More Web Programming Languages

goruka We don't need more languages, we need bytecode. (309 comments)

Web browsers should at this point be able to parse some sort of bytecode that can be translated to native. This way anyone can use whatever programming language he or she pleases. Google did a great work with PNaCL, but I don't think that will ever gain traction from the other vendors.

Mozilla's ASM.JS is much better idea and much closer to a real-life usage scenario, but Google itself is not doing enough to promote it and their support is half assed (even though It would definitely benefit them).

about a month and a half ago

Intel Confronts a Big Mobile Challenge: Native Compatibility

goruka Thank You Google, you were Wrong. (230 comments)

> two thirds of the top 2,000 apps in the Google Play Store use natively compiled C code

Of course, how else would one make code portable between platforms? Yet their support for using their native Java API from C or C++ is horrible. JNI is unsafe and crash prone and the NativeActivity is so limited that barely anyhthing can be made with it.

about 2 months ago

Next IE Version Will Feature Web Audio, Media Capture, ES6 Promises, and HTTP/2

goruka Why is asm.js not listed!? (173 comments)

I know it's not a "standard" (yet?) but asm.js is one of the best things that happened to web browsers. It already works well in Firefox, Chrome and Safari, yet performance in IE is much worse than in the other platforms. Given all platforms support WebGL at this point, we are pretty much only waiting for IE to adopt proper support for asm.js.

about 2 months ago

Let Spouses of H-1B Visa Holders Work In US, Says White House

goruka Re:Double down? How about "No." (566 comments)

Regulation? But this is what America is about! the big rich companies are the ones that dictate the regulation. And hiring overseas is MUCH more convenient to them. Why do you think the American government is one of the highest proponents of free trade treaties? I'm surprised you are american and you don't know this.
Next time there are elections you can vote the national socialists if you want more labor protectionism, see how it goes.

about 3 months ago

Let Spouses of H-1B Visa Holders Work In US, Says White House

goruka Re:Double down? How about "No." (566 comments)

Typical american short-sightedness. You believe that if there were no more foreigners, companies would hire Americans and pay them more because there would be less competition. You are completely wrong because in reality:

1) Large sized American companies open offices overseas and hire foreigners there, which are cheaper than H1-B workers. They also hide their headcount info very well by many different methods. Travel a bit around the world and see the size of IBM, Oracle, Ford, etc offices there.
2) Medium sized American companies hire small sized foreign companies, which are most of the time incorporated in the US too (In Delaware of course), because they are cheaper than small sized American companies.

So, what you believe is the solution to your problem is actually just fighting for breadcrums while someone else already came and took your cake and ate it. The truth if you have trouble getting a job, you are either underqualified, irrelevant or unaffordable, so pardon my single tear for you.

about 3 months ago

Let Spouses of H-1B Visa Holders Work In US, Says White House

goruka Silly americans, understand your own country... (566 comments)

I had this argument plenty of times, as I visit USA often.
The fundamental problem is that Americans think they are the best at way they do, because they do something that no one (or at least they believe no one) else does outside America. Americans have a huge pride and pisses them off to no end that someone from the outside can come into the country and do a better job than them. Period. This is the root problem with H-1Bs and everything else is indirectly linked to this.

I always hear the same arguments coming from Americans regarding to H-1B or Outsourcing, like "They just bring those workers because they are cheaper, so it doesn't matter if they are worse!" or "They sent to India but those guys are terrible at doing their job!".

To understand why you already lost, you have to accept the fact that other people is as good as you or better outside America. I'm not talking about bringing Mexicans to do construction work, I'm taking about scientists, engineers, etc. There is PLENTY of birllant people outside, and guess who do they work for? Their local companies and governments? Some might, but they will work for the highest bidder and that includes American companies and American government (through companies). Most of that people is in countries where the standards of living are cheaper or much cheaper, and with an entry level American salary they are rich, have their whole family and they don't care about H-1Bs.

That is the people responsible of less jobs for the Americans, and you have no idea how many are there, probably more than americans themselves. Remember that I mentioned at the beginning of the post that I travel often to the USA? Guess why. America makes it very easy for foreigners to open an American company.

So, complaining that H-1Bs are responsible for the loss of jobs is like blaming a cold for the death of a patient with HIV.
In fact, if you were not short-sighted, you might even see the positive side of having foreigners come and work in american soil. One foreigner will take away at much one job, but one foreigner can also create many jobs, and they don't need to be Elon Musk or Satya Nadella.

But no blaming your problems on those inferior immigrants. Right. I can tell you that there is plenty of jobs and plenty of people willing to invest in endless amount of opportunities in America, Been in many countries and no other country compares to America in this regard, your country is the best.
Also met and have known of more foreigners living outside America taking these opportunities than there are individuals under H-1B.

So, if you are worried about your job or unemployment, it definitely is because you either are not qualified, relevant , or affordable enough. That's the hard truth. America is a free country and promotes free trade with every other country. Vote for the national socialists next time there are elections if you don't like this.

about 3 months ago

Hulu Blocks VPN Users

goruka Cheap VPN Howto (259 comments)

1) Rent AWS or any other VPS provider in the US, or just ask a friend to give you an account in his box.
2) ssh -D proxyport
3) configure proxy on localhost:proxyport

watch hulu

about 3 months ago

The GNOME Foundation Is Running Out of Money

goruka Re:So greedy, they want money but don't want users (693 comments)

The war IS over. No one is using Gnome 3 except from a very small niche and the trend hasn't reverted.
Cinnamon, Unity and even Mate are much more popular.

about 3 months ago

The GNOME Foundation Is Running Out of Money

goruka Re:So greedy, they want money but don't want users (693 comments)

I'm sorry but that argument is past it's due date. Gnome 3 has been out for years and the hate didn't stop.
In comparison, It did in great measure for Ubuntu+Unity, which has now much wider acceptance than when it was released.
Gnome 3 was simply not able to revert the hate and is heading directly to irrelevance.

about 3 months ago

The GNOME Foundation Is Running Out of Money

goruka Re:I like Gnome 3, and I am donating (693 comments)

Or why can't be just start a foundation to teach minorities and women to code, funded by itself?

Seems like a great idea, Gnome developers do a fine job focusing on Minorities.

about 4 months ago

The GNOME Foundation Is Running Out of Money

goruka So greedy, they want money but don't want users. (693 comments)

Being honest, they only seem to be developing Gnome 3 for themselves and the few loyal users that remain with them. They are not interested in the rest of the community using Gnome anymore, they sent that message clearly several times, and we the past users understood. Yet, they ask for money with the excuse that some of the components are being used by other environments and/or applications.

I don't personally mind at this point if gnome dies, they should have seen what happened to KDE 4 and take note. They should have see what happened with Windows 8 and read the writing on the wall. Even Microsoft has changed course by now while Gnome is still heading to irrelevance.

If I were in their shoes, I'd simply change course, post a public apology, announce Gnome 4 and bring back everything that users are missing. That should give them enough support to stay alive. I'm sure there is still time for them. But as I said before, I don't think they even care so let them die.

about 4 months ago

Do Free-To-Play Games Get a Fair Shake?

goruka Been at GDC, and F2P is dying. (181 comments)

Once large F2P publishers, advertisers and developers such as Gree, 6waves, Tapjoy, Zynga, King, etc. were all but gone. I'm not saying there aren't companies still milking the model, but they are more into niches and whales in a shrinking market. Investment for these kind of games is disappearing rapidly.

Met with many publishers and can tell you for sure that the huge success of Steam and high amount of sales of the PS4 is making them reconsider where to invest. The new trend now seems to be something called "Premium", where you basically pay upfront for a game. Something never heard of that It's going to change the world.

about 4 months ago

Australia Declares Homeopathy Nonsense, Urges Doctors to Inform Patients

goruka Re:Homeopathy Works (408 comments)

And how is that an improvement over giving them a medicine that beside a placebo effect of identical magnitude additionally causes direct pharmaceutical effects? Since when do these two effects clash?

Your answer makes sense, but you lack the whole picture. Homeopathy doesn't work like that.
Homeopathy is not just the "fake medicine", as most articles you read on the internet work. There is a whole theatrical performance. It works like this:

1) The "doctor" asks for a few questions about your problems, your dreams, your social life, family, etc.
2) He has a book where each of the things you mention (or the closest one) have an homeopathic ingredient listed
3) He correlates and finds an ingredient that appears the most in the issues that you mentioned. He will show it to you.
4) He will ask you to buy a medicine with that ingredient.
5) However, before leaving, he will warn you that it's possible that he might have given you something that is too strong, and will explain you that you have to dilute it a little (or do something like that, I don't remember) to mitigate the effects of an overdose.

So, the reason why it works as a placebo is because it's designed to be convincing, not because you are drinking water.

about 4 months ago

Australia Declares Homeopathy Nonsense, Urges Doctors to Inform Patients

goruka Homeopathy Works (408 comments)

And is a scam at the same time. I've met homeopaths who were certain that It didn't really work, but have seen a great deal of patients recover from terrible illnesses only because it helped them not give up, or worked very efficiently as a placebo. Where I live, to work as homeopath, you need am university degree in medicine so It's not really that the practitioners don't know what they are doing, and will often send patients to a real doctor when they see imminent danger or can't see results.

By the same logic, Astrology should be banned, as it probably affects human relationships in an even more negative way.

about 4 months ago

Godot Game Engine Released Under MIT License

goruka Re:Lets define our own string, vector, list classe (73 comments)

Thanks for the preaching, but I don't know what an "experienced C++ programmer" is. There are several different ways people programs C++, including different styles and different purposes.

Clean code is useless when it doesn't perform as expected, and performant code is useless when it's more difficult to write. C++ is meant to mix both things, so by definition it will never be entirely clean or performant. It's a language that strikes the right balance for this specific purpose.

In other words, the reason for the lack of a virtual destructor is performance. This way, the class will not need for a vtable and vpointer, and will be destructed inline. Containment will make it more difficult to write and debug, you would need to replicate operators such [], mehods such as size, etc.

So, I hope I could make my point of why the current choice is the right choice in that context.

about 6 months ago



Godot Game Engine Released Under MIT License

goruka goruka writes  |  about 6 months ago

goruka (1721094) writes "Godot is a fully featured, open source, MIT licensed, game engine. It focuses on having great tools, and a visual oriented workflow that can deploy to PC, Mobile and Web platforms with no hassle. The editor, language and APIs are feature rich, yet simple to learn. Godot was born as an in-house engine, and was used to publish several work-for-hire commercial titles.

With more than half a million lines of code, Godot is one of the most complex Open Source game engines at the moment, and one of the largest commitments to open source software in recent years. It allows developers to make games under Linux (and other unix variants), Windows and OSX."

Link to Original Source

Reducing Executable Size of a C++ App?

goruka goruka writes  |  about 4 years ago

goruka (1721094) writes "Often, when programming large applications in C++, the executable tends to get huge (several megabytes). I know that some factors (C++ features) such as inline abuse, templates, constructors, strings, etc. contribute to adding fat to the binary executable. Although this isn't a big problem in desktop PCs, which have gigabytes of RAM nowadays, it is very serious when writing for mobile or embedded devices. So my question is, are there any tools or profiling techniques to somehow "detect" which sections of a binary (functions, constants, , etc) are consuming the most space? I know that there are many memory, cpu, I/O profilers around, but executable binary size profiling seems not to be a common area of optimization..."

Providing a closed source license upon request?

goruka goruka writes  |  more than 4 years ago

goruka (1721094) writes "As a citizen of the open source community, I have written several applications and libraries and released under the BSD license. Because of my license choice, I often run into the situation where a company wants to write software for a closed platform using my code or libraries. Even though there should be no restrictions on usage, companies very often request a different license citing as a valid reason that the creator of such platform has special terms forbidding "open source software" in the contracts forced upon the developer. So my question is, has anyone else run into this situation, and are there examples of such licenses that I can provide? (Please keep in mind that I'm not a US resident and i don't have access or resources to afford a lawyer there)"


goruka has no journal entries.

Slashdot Account

Need an Account?

Forgot your password?

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>
Create a Slashdot Account