Domain: dzone.com
Stories and comments across the archive that link to dzone.com.
Comments · 35
-
Not new. Added in 2016
This is not news, unless we've all turned our clocks back to 2016 See: https://dzone.com/articles/a-f... and http://openjdk.java.net/jeps/2...
-
terminal emulator for Windows/WSL (DomTerm)windows has a terrible terminal emulator
Can I suggest you check out DomTerm? It has the functionality of gnome-terminal (and then some) but does not require an X-server. Instead, it uses Electron, which (in my biased opinion) makes for a very nice interface. This article focuses on DomTerm on WSL. The release page includes pre-compiled WSL binaries.
-
Re:Bad Microsoft?
Great... if you targeted Kubernetes on day one. Oh you didn't? Because your software was built and working more than three years ago? or because you didn't take those things into consideration so early on? Darn.
It's still not impossible... just good luck to you.
This comic often comes to mind in such cases: https://dzone.com/articles/ent...
I've been part of a team which ported a legacy system, originally running on a single machine, then a cluster at a co-location site, to finally fully being in AWS... it was an amazing amount of work. Had it been known what platform options would exist years in the future... choices would have been different, though at the time they were focused on building a viable product, and not making sure they could hop infrastructure to infrastructure as the winds changed.
-
Re:Inaccurate Heading!!!!!!!!
Further to that, Javalobby has the definitive analysis and answers a bunch of misconceptions.
-
Re:Time Slider
ZFS on Linux would be cooler if they could port Time Slider to Linux from Open Solaris. http://java.dzone.com/news/kil...
That's what snapper is for.
-
Time Slider
ZFS on Linux would be cooler if they could port Time Slider to Linux from Open Solaris. http://java.dzone.com/news/kil...
-
Re:JAVA could be great if it lost weighrt.
Or wait for Java 8 to come out, as it has a new date time system (which essentially "rips off" JodaTime, meaning it should be relatively easy to pick up if you have experience with that framework):
-
Re:Developers hate Agile too
"The daily standups should be about 5 minutes and are mainly for communicating problems encountered, if any."
You are incorrect, though "You're doing it wrong" is the standard comeback for anyone who criticizes Agile.
http://en.wikipedia.org/wiki/Stand-up_meeting
http://www.mountaingoatsoftware.com/scrum/daily-scrum/
http://agile.dzone.com/articles/agile-health-check-daily-standThere are three things that each Scrum team member is expected to relate in turn:
- What they have done since the last standup
- What they are working on now
- Any impediments that are getting in their wayOf course, such meetings aren't unique to Agile and aren't what makes Agile suck. There are other, far worse, problems.
-
Re:Enough Already
Java has a very small memory footprint by default.
Erm. No. Just no.
class Main { public static void main(String[] args) { while (true); } }
(jdk 1.7.0.6 x86_64 linux)
17M resident for that. 0.5G of virtual address space. The only other class referenced is java.lang.String.
The equivalent Perl is 1.7M. Node.js is 9M. Python is 4M. TCL is 1.9M.
EVERYTHING uses less RAM than bleeping Java. A lot less. And this isn't some fail test where Java gets better as applications scale. Go look over here and observe how almost every other language consumes less memory across a wide variety of algorithms. Anecdotal evidence from any app server admin will corroborate this.
Java is a RAM pig and it always has been. The problem, at least regarding initial memory footprint (and start-up time), is excessive class loading. This is not opinion. There has been a project to correct it on the books for almost four years.
Like everything else with Java, it has been neglected. Supposedly the results will appear in JDK 9..... sometime in 2015.
And don't cite Android as some exception. Dalvik isn't JRE.
-
Re:Wake me up when...
I don't know if it's because of Unity, in spite of it, or unrelated to it, but according to this source , Linux desktop usage is up 64% in the last hear. I really hope Unity isn''t driving people away.
-
Re:Pay to develop?
http://mobile.dzone.com/news/comparing-iphone-and-android
I have no idea what a "midi-over-wifi based 24 track mixing control surface" is. But if it has a market, then you'll probably sell 4 times as many on iPhone than you would on Android, and the $99 developer program subscription will be neither here nor there.
If you don't sell it - a waste of time or a hobby - you could call it either way depending on whether it's you or someone else describing it.
-
Re:Technical Debt
First thought that came to my mind was 'which one uses agile programming the most, Java or COBOL?' Specifically I thought about many of the proponents of agile I talk to who use the term evolving architecture or discovered architecture and how it seems absurd to think you can build solid apps on a moving (ahem evolving) target. A lot of agile methodologies that I've seen think that doing up front architecture is the wrong thing to do (and woe to those who use requirements and documentation!!!). Why is agile and architecture considered mutually exclusive (this is a rhetorical question). And when it comes to the 'software built using up front architecture is bad' types of people (including a bunch of 'agile coaches' I've encountered), once it gets into maintenance mode and a few years go by, the effects of the evolving architecture are compounded by fact these people are also 'the code is self documenting, documentation and requirements are bad' people. I feel sorry for the people who will have to maintain the code years down the line. On the other hand, most COBOL programs were built using documentation and architecture. Something that provides stable foundations. Slag away in 4, 3, 2, 1, go...
-
Re:Graph Language
You're right - it's Java 8 that has closures, not Java 7.
-
NaCl is an anti-web abomination
NaCl is not so much about executing C/C++ code as it is about executing native compiled binaries. This has issues:
- If I compile my C++ code for x86, I can run it on x86 browsers (well, specifically only Chrome on x86).
- Ok now I have a cell phone, which is ARM. Guess I have to compile for ARM.
- Now I have to compile everything for both x86 and ARM.
- Ok now some other architecture is popular, but it won't run x86 or ARM.
It's incredible Google is even pushing this. It's so anti-portable and in concept anti-web.
There is a "portable" version of this, called "Portable Native Client". This means, of course, that NaCl is actually "Non-Portable Native Client" and that should itself be a clue. The "portable" version uses LLVM bitcode and a virtual machine. So more than a decade later, we've basically reinvented Java virtual machine applets minus the gigantic runtime (and language of your choice).
The only people who could possibly benefit from NaCl are Google. There's no general case use for this, and pushing it as standard into Chrome is a nasty move. Mozilla also reject the idea of NaCl. I believe Opera rejects it too (lacking a link). So, why is this being pushed?
-
Try using a JS-heavy web app with JS turned off
It's a good thing.
Not when IE, Safari, Firefox, Opera, Mobile Safari, and Android's browser don't support the NaCl required for NaTcl. Firefox has explicitly rejected NaCl, and Apple would likely reject it as an end run around the App Store. And not when members of your site's audience on corporate computers have NaCl turned off for the same reason they have ActiveX turned off. For them, it'd be like turning JavaScript off, which makes a lot of web applications nearly unusable.
-
Re:GC vs. temp objects
Here's a start:
http://en.wikipedia.org/wiki/Java_performance#Escape_analysis_and_lock_coarseninghttp://java.dzone.com/articles/escape-analysis-java-6-update
Looks like for the Sun JVM, it's experimental in 6u14 and later. I believe IBM's had it in their JVMs a bit longer than that.
-
Re:Reminds me of XFree86 vs XOrg
yes, and in that case it more clearly defines that the cake can't be eaten and still had. Except, it's still a silly saying, and rarely makes sense or helps actually clarify a situation; calling on a short saying to describe a situation should generally add clarity to the description; why say it otherwise? They're not trying to eat (take in the material components of and, destroying them, turn them in to something else...) OOo, they're trying to change the leadership to a more community-driven model.
Why are they wanting to migrate from the parent leadership? Well, look what Oracle has done with other Open Source projects. Look at the recent things they've done that are extremely anti-open source. The fact is, there was already a growing entity that existed (go-oo) and LibreOffice is just community recognition of that. If the community is so beholden to Oracle contributions, why is Go-oo so much better than OO? They're not trying to fork the project, they're trying to ensure the project survives, versus the long list of projects that oracle has killed. MySQL's time has already passed, at this point, as has Glassfish's. OpenOffice could still be (and will still be, even without Oracle's assistance) saved.
Say, for an example, you like Firefox. Then, say Mozilla was out of funds, and decided to sell off the ownership of Firefox, and it was bought by Haliburton. And, still just for example's sake, say you hate Haliburton. Say you were one of the leaders of the Firefox project, and you decide to move away from Haliburton...not because you want to compete with yourself, not because you want there to be two projects and you have a COI, but because you merely want to move away from the grandparent ownership of your project.
BTW, my use of Mozilla as an example was on purpose, as this same thing happened there. "When AOL (Netscape's parent) drastically scaled back its involvement with Mozilla Organization, the Mozilla Foundation was launched on July 15, 2003 to ensure Mozilla could survive without Netscape. AOL assisted in the initial creation of the Mozilla Foundation, transferring hardware and intellectual property to the organization and employing a three-person team for the first three months of its existence to help with the transition and donated $2 million to the foundation over two years."
That's what LibreOffice was hoping for - they made the same exact move the Mozilla Foundation made, and were hoping that Oracle would be as good-natured about it as AOL was. Guess Oracle is getting shown up by AOL, in the end...
-
Re:Java?
So? Many things are written in Java, and it's probably the language most used for new commercial apps. There is a lot of Java in embedded real time apps, and there are extensions to validate pre- and post conditions as well. There is little to nothing that would prevent Java to be used within such an application.
That said, this seems to be a completely random piece of code used for a commercial video:
http://snippets.dzone.com/posts/show/356
That's just too much of a coincidence. I looked it up after seeing the import for the zip package. Unless the car has automatic download capabilities, I just don't not see the need for it.
-
Dude, the first one's always free.
Didn't you watch after-school specials? This is the drug-dealer approach.
1. Get everyone to use your patented tech "for free" as a standard.
2. Jack up licensing once your tech is a "must have" all over the industry.
3. ??? (where each question mark denotes five minutes of laughing until you cry while kissing your fistfuls of money).
4. Actually profit.Step 2 is likely to happen in 2016 a la this story. It was to be January 1st, 2011, but, surprise, there isn't enough industry adoption to pull that rug out yet. MPEG-LA will keep us on the hook a bit longer before really hitting us.
There are, of course, those out there (like Google with VP6, open-source nutters with Theora) that are doing their best to stop the obvious and, if you have ever licensed MPEG2, repeated abuses of this tactic, but they'll feel like Cassandra while being called Chicken Little.
In the grand Apple balance sheet, yeah, it's a small motivation. Nonetheless, it's an incentive that, combined with a clear adversarial hatred for, well, everyone else, might lead to things like feature restriction. Apple may be getting a bit ahead of themselves on taking the "most hated jerks in the tech industry" crown away from Microsoft before they have 90% market share.
-
Re:Seems like the right solution to me
One solutions takes 3 seconds, can be done by an intern, and makes the company no money. The other solution takes a little bit of time, maybe some reading or prior knowledge and still makes the company no money. The results yielded for each solution are acceptable for the situation. Given the cost to profit it seems like Microsoft chose EXACTLY the right solution.
I dunno, a quick Google for "javascript shuffle array" brings up this simple function as the first result:
//+ Jonas Raoni Soares Silva
//@ http://jsfromhell.com/array/shuffle [v1.0]
shuffle = function(o){ //v1.0
for(var j, x, i = o.length; i; j = parseInt(Math.random() * i), x = o[--i], o[i] = o[j], o[j] = x);
return o;
};It didn't take much time at all to do the search, probably just as much time as it took to come up with the wrong function that Microsoft used.
-
Re:Old versions.
I'm not trying to grief, and it is certainly consistent with reality, but is this documented anywhere?
Sure. Only Apple can release java for mac. Something about look & feel and/or quality assurance.
http://blog.cr0.org/2009/05/write-once-own-everyone.html
http://java.dzone.com/news/critical-mac-osx-javaLook at the "java downloads for all operating systems" webpage:
http://www.java.com/en/download/manual.jsp
Notice that you can't download java for mac from Sun?
-
Name spelling; other info links.
I am 99.999999999999999999999999999999999% sure that his name is supposed to be typed as Ryu Sung-tae (Sung, not Sunt; there is not in my studies of Korean some such name, given, or family...). Besides, g and t on the US / Latin keyboard are adjacent, and all the more this seems to be a typo. If it was a phone interview, with the interviewer making corrections, it's then even possible that his name is Seung, not Sung, as in the director http://www.koreanfilm.org/films2008.html Ryu Seung-jin.
Unfortunately, it appears the opensource site seems to have it wrong. But, *i* could be wrong, so maybe you can e-mail him and ask him if his name is actually misspelled on the site.
For those not aware, the "WI" as in wizard or whiskey in the US/English speakign areas is written in Korean charactes that look in English like "oi", but pronounced making for it to look like "uh-wee-zard". So, it's neat/nifty a spin to have UI and Wi merged for UIzard, instead of just using Wizard....
Just my two cents...
Oh, Ajaxjian Link:
http://ajaxian.com/archives/uizard-a-web-mashup-generator-written-in-yui
DZone link:
http://www.dzone.com/links/uizard_a_web_mashup_generator_written_in_yui.html
And another, unrelated item:
http://technews.am/conversations/ajaxian/uizard_a_web_mashup_generator_written_in_yui
http://technews.am/conversations/ajaxian/3d_cube_using_new_css_transformations -
Take Geir with a grain of salt.He and Stephen Colebourne are engaged in a bitter propaganda war with Sun (now Oracle) over JCP licensing for Apache Harmony.
The linked article's comments should be seen in that light.
Long before Harmony existed, there was a GNU clean-room implementation of Java called Classpath. In the interests of the community, the thing to have done for free software would be to obtain implementation completeness and then 'pony up' the money to Sun to certify (Cacao/JamVM/Kaffe + Classpath) as Java compatible.
Perhaps Sun wouldn't have allowed that but... Instead, the backers of Apache sought to create a second clean-room implementation, namely Harmony (Code and financial resources of IBM, & others - according to wikipedia). 'They' choose to hire developers to implement Java again from scratch a second time in the hopes of bullying Sun into giving them the JCK for free. It would have been sensible before work started on Harmony 4 years ago to negotiate licensing. Now there's a standoff but in whose interests does it serve to have 2 almost compatible implementations? As one javalobby poster bluntly put it recently:Apache Harmony is just a cheap IBM trick to attempt to wrest control of Java from Sun. It failed miserably when Sun GPL'd Java so that the source could not be integrated into Harmony. Apache is not an altruistic organization formed of developers donating code off hours. It's financed and draws developers from large companies such as IBM that have their own agendas, good and bad.
So in this case, the Apache license benefits faceless corporations. I believe GPL is a good license for Sun's Java, as it prevents closed forks. Apache are arguing it's good to have a JVM distinct from the reference implementation. Again, good for whom? IBM, so they can release a proprietary JVM for Websphere? Google, so they can plunder bits of it for Harmony?
In response to the above quote, Oracle may also have their own agendas for Java but at least now the code is GPL'd. Red Hat, the main contributor to IcedTea, could fork it at their leisure for the goodwill of the people - any changes they make would be subject to the GPL. Forks of Harmony don't have the same protections. And yeah, I trust Oracle more than I would IBM! -
ZFS
Linux seriously needs to find a workaround to its licensing squabbles and find a way to get a rock-solid ZFS in the kernel. Right now, ZFS on OpenSolaris is simply wonderful, and this is what I am deploying for file service at all my customer sites now. The scary thing about file system corruption is that it is often silent, and can go on for a long time, until your system crashes, and you find that all of your backups are also crap. I've replaced a couple of linux servers (and more than a couple of Windows servers) after filesystem and disk corruption compounded by naive RAID implementations (RAID[1-5] without end-to-end checksumming can make your data *less* safe), and my customers couldn't be happier. Having hourly snapshots and a fast in-kernel CIFS server fully integrated with ZFS ACLS (and with support for NTFS-style mixed case naming) is jut icing on the cake. Now if only I could have an Opensolaris desktop with all the nice linux userland apps available. Oh wait, I can!
-
Re:The Schwartz is with you ... NOT
Here are the instructions for installing 1.1 on Linux (haven't tried this myself):
http://java.dzone.com/tips/javafx-11-linux-netbeans
And OpenSolaris (not sure if they work with 1.1, I haven't had time to try):
http://blogs.sun.com/observatory/entry/javafx
The reason JavaFX is not officially available on Linux and OpenSolaris is because they haven't solved the media rendering issues on those two OS's, so they can't offer the full non-beta versions.
Besides, if JavaFX doesn't work completely on Sun's *own* OS, then you know that there are substantial issues still to be resolved. It has nothing to do with any vindication against open source.
-
Programming leaves no time for a life
One thing you must realize about software development as a career are that:
* The industry and profession changes more quickly than any other -- Tools change and go in/out of fashion. True, the concepts carry-over, because a lot of tools re-invent the wheel; it's both the stupidity of work-duplication and the evolutionary process of proving/disproving the effectiveness and usability of those tools.
* The culture of IT, and development in particular, says having a life outside of geekdom is akin to being a "cool kid" - and geeks were almost universally never cool kids. If you're not wholly-focused on being a geek in your spare time -- giving up time you could spend with friends, family, your own personal projects, etc. like the rest of the civilized, white-collar non-IT workers of the world -- you're branded an outsider. Go read DZone for a week if you need examples of people spouting such insanity.
* Business knows that developers are usually willing to give away their free time for nothing (OSS is a great example), even to for-profit organizations, and so will take every advantage of you they can.
Combine these 3 points, and you will realize that you either work in software development out of an unbridled, uncontrollable passion for it - or you don't work (or, at least, do enjoyable work, and probably sub-in for sysadmins, who suffer similar problems).
If you want a life, pick another career.
(Yes, IIAD.)
-
similar things with python and an ir-webcam
I just released some of my code I was playing around with this summer
it allows for very similar things.
you can find the code here http://snippets.dzone.com/posts/show/4920
be warned, it has no documentation and its really messy.
the included demo is able to track and plot the movement of multiple IR emitters. I have other demos as well like "swing" detections (ie. swinging motions). A more elaborate hack involved using a wireless mouse+LED to simulate a wiimote experience (moving around the mousepointer and clicking).
To recreate the hack in this story all you need to do is to attach the IR emitter to some glasses.
The last thing I was working on when I had to quit (school started :/) was tracking color LED's. This way I was able to create a two player pong game by using a regular webcam and green/red LEDs.
Obviously using an IR-webcam (simple hack) with IR emmitters is a lot easier because it removes a whole lot of "noise" (ie. useless motion). -
Re:Similar PiiMote/PyToy
http://snippets.dzone.com/posts/show/4920
I released the code under GPL.
it's actually 3 files:
1) a library
2) a demo
3) a misc-lib to calculate the fps
the code is ver messy so let me know when you get stuck and let me know what you do with it -
Re:Similar PiiMote/PyToy
here you go: http://snippets.dzone.com/posts/show/4920 the library, a demo (win32-only) and a misc. file take a look at it, I published it under GPL let me know where you get stuck
:) -
Re:semi-formalized
One of the good things about Snippets in particular is the taggability.. kinda like searching for stuff in del.icio.us. So.. I can just kinda guess some URLs and know I'll get something relevant (I hope!)
http://snippets.dzone.com/tags/ruby
http://snippets.dzone.com/tags/ruby/http
http://snippets.dzone.com/tags/python/windows
http://snippets.dzone.com/tags/rebol
And so on.. -
Re:semi-formalized
One of the good things about Snippets in particular is the taggability.. kinda like searching for stuff in del.icio.us. So.. I can just kinda guess some URLs and know I'll get something relevant (I hope!)
http://snippets.dzone.com/tags/ruby
http://snippets.dzone.com/tags/ruby/http
http://snippets.dzone.com/tags/python/windows
http://snippets.dzone.com/tags/rebol
And so on.. -
Re:semi-formalized
One of the good things about Snippets in particular is the taggability.. kinda like searching for stuff in del.icio.us. So.. I can just kinda guess some URLs and know I'll get something relevant (I hope!)
http://snippets.dzone.com/tags/ruby
http://snippets.dzone.com/tags/ruby/http
http://snippets.dzone.com/tags/python/windows
http://snippets.dzone.com/tags/rebol
And so on.. -
Re:semi-formalized
One of the good things about Snippets in particular is the taggability.. kinda like searching for stuff in del.icio.us. So.. I can just kinda guess some URLs and know I'll get something relevant (I hope!)
http://snippets.dzone.com/tags/ruby
http://snippets.dzone.com/tags/ruby/http
http://snippets.dzone.com/tags/python/windows
http://snippets.dzone.com/tags/rebol
And so on.. -
semi-formalized
Some people are already doing this, such as koders, code fetch, codase, and snippets. Talk to them for formalizing as I'm sure they have some good input.
-
Re:Sun implicitly admits this is a problem, even.
Sun doesn't think much can be done evidently, seeing as they added splash screen support into Java 6 instead of actually fixing the problem. The problem being that they need to load megabytes of code to support the runtime environment when most of it doesn't get used. There's one word for that: bloat.
Sun not only admitted it is a problem, but is actually fixing it in a near update.