programming

TBP injects a Javascript based cryptocurrency miner, spiking visitors' CPU to 100%

TBP injects a Javascript based cryptocurrency miner, spiking visitors' CPU to 100%

The Birate Pay?

Maybe if it was opt in

People seem to misunderstand this quite a bit. The reason nothing is ever opt in is because nobody would ever opt in. You're living in a different universe if you expect to be given control front and center.

Your choice that you are free to make, is to opt-out, by not using the service and taking any precautions required.

Its actually an interesting alternative to ad revenue. Maybe if it was opt in and didnt atrain the CPU quite so much

It's awful in that it manages to pay even less that ads, it's bad for your battery life and makes your fans go into mach 3

IBM has open sourced it's own JDK as Eclipse OpenJ9!

IBM has open sourced it's own JDK as Eclipse OpenJ9!
IBM has open sourced it's own JDK as Eclipse OpenJ9!

Man, the Internet circa 2017 is just awful. Ten years ago, whenever a company open sourced something, it was greeted with celebration. Just on principle, even if nobody planned to actually use it.

Today, whenever a company open sources something, so much of the feedback is negative. "The thing sucks!" "The company is evil, doe!" "But it doesn't support X!" Etc. Just on principle, people are psychologically trained to be negative and cynical about everything, because they see the more "edgy" comments getting upvoted to the top.

I'm kinda surprised that companies still bother.

Anyway, there are a lot basic questions in this thread, so let me try my hand at an alternative unofficial-FAQ, that assumes less prior knowledge than the one on the Eclipse site:

IS THIS AN ALTERNATIVE JAVA COMPILER?

No, this isn't the thing that compiles your Java source code into binary class files. It's the thing that executes that binary code at runtime. You might install this runtime on your server globally, or embed it with your application bundle (e.g. in a Docker container or something).

WHY IS IBM OPEN SOURCING THIS, REALLY?

Probably following Microsoft's lead. Younger developers haven't thought about these old enterprise companies in awhile now. And over time those younger developers become older decision makers, with budget. So you can't sit back and let your mindshare erode forever.

Between .NET Core and Visual Studio Code, Microsoft has more young developer eyeballs on them now than they did a few years ago. Their hope is that over the long run, this will drive more business to Azure (or whatever).

Open sourcing a single JVM implementation (when there are already multiple other open source options) isn't as big a deal. But it's something. I'd guess that IBM just wants some younger folks talking about them again. Maybe drive some business to BlueMix eventually?

WHY WOULD I USE THIS?

If you're just a hobbyist working on personal projects, or even an SMB (small to midsize business), then you probably wouldn't. Maybe out of curiosity. Or maybe if you're ideological, and think that Oracle's lawyers are more evil that IBM's lawyers or something.

However, a lot of big enterprises spent a LOT of effort on tweaking their Java applications for maximum runtime performance. This means doing things like tweaking the low-level details of how the garbage collector works, or a ton of other config options. Using profiling tools to test your application with various setups, and finding the best one possible.

At the next level, it might mean using a completely JVM implementation. Of course there's OpenJDK, which is free but has the least amount of configuration extras. There's the "default" Oracle binaries, which are sorta-free-as-in-beer, but have a lot of licensing traps (i.e. you have to pay to use the best profiling and optimization extras). Then there are 3rd-parties, like Azul Systems, that sell forks of OpenJDK with their own secret sauce on top.

For large companies, or at least large-scale projects, this move represents a new 3rd-party option that you don't have to pay for. Maybe it'll be good enough for some people's needs, that it eats into some business that would otherwise have gone to Oracle or Azul.

IS THIS COMPATIBLE WITH REGULAR JAVA CODE?

This seems to support the Java 9 standard library (the "OpenJ9" name suggests as much, but I'm kinda surprised that you have to go splunking through IBM's knowledgebase for real confirmation).

However, it won't have any of the com.sun.* packages, which only come with the Oracle binaries. That used to be a bigger problem ten years ago or so. Crypto libraries and other such things would depend on those classes, even though you're supposed to not use them. Pretty much all major libraries have gotten the memo at this point, so it's not such a big problem.

Basically, if you app targets OpenJDK, then this should be able to run it just fine too.

DOES IT SUPPORT SWING OR JAVAFX?

This whole project looks to be a set of patches on top of OpenJDK, and OpenJDK includes Swing. So that should be a "yes" for Swing.

JavaFX has a more complicated licensing history. But at this point, it's as open source (i.e. OpenJFX) as anything else in OpenJDK... and there's no legal reason why OpenJDK forks wouldn't want to include it.

But it's still usually kept separate for technical reasons (i.e. OpenJFX has a completely different build system from the rest of OpenJDK). I know that Azul and Red Hat's OpenJDK forks don't include FX, and I doubt that IBM will include it either. I would be pretty amazing if they did so, though.

Fixed title: "IBM has open sourced it's its own JDK JVM as Eclipse OpenJ9!"

IBM is perhaps the largest individual contributor to open source.

But big corporations with their matching suits are all evil, don't you know? /s

We've only released Linux binaries so far (Linux s390x and ppc64le builds only went up about two hours ago after x64 earlier in the week), but OpenJ9 isn't limited to Linux :-)

Here's the FAQ on why you might choose it: https://www.eclipse.org/openj9/oj9_faq.html

Sublime Text 3 is out!

Sublime Text 3 is out!

One of the areas I'm especially proud of in Sublime Text 3 is performance: it's significantly faster than Sublime Text 2 along every axis.

Atom users weep

This is really exciting. I tried atom for a while but I just could not do the performance. A text editor should be lightweight to free up resources for testing and running the code your building.

Significantly improved startup time

already crazy fast became significantly faster lol

as someone that's been using ST 3.0 beta for what feels like 3+ years, are there any major changes that weren't in the beta already?

ReactOS, an open source Windows clone, has more than 14 million unit tests to ensure compatibility.

ReactOS, an open source Windows clone, has more than 14 million unit tests to ensure compatibility.

How is it even possible to write 14 million test cases? Are some (most?) of them generated?

Any any rate, amazing progress.

All the youngsters in here thinking this has to do with some js framework.

TDD taken to extremes

First, I thought it was just a silly experiment about creating an OS with React JS...

Reddit's main code is no longer open-source.

Reddit's main code is no longer open-source.

back in 2008, Reddit Inc was a ragtag organization1 and the future of the company was very uncertain. We wanted to make sure the community could keep the site alive should the company go under and making the code available was the logical thing to do

Translation: We needed you guys back then. We don't now.

The rest of it seems like a combination of technical hurdles that don't seem particularly compelling (they don't need to have secret new feature branches in their public repo) and some that don't make any sense (how does a move away from a monolithic repo into microservices change anything?) and some that are comical (our shit's so complicated to deploy and use that you can't use it anyway)

It's sad that their development processes have effectively resulted in administrative reasons they can't do it. I remember them doing shenanigans like using their single-point-of-failure production RabbitMQ server to run the untested April fools thing this year (/sub/place) and in doing so almost brought everything down. So I'm not surprised that there doesn't seem to be much maturity in the operations and development processes over there.

To be fair though, the reddit codebase always had a reputation for being such a pain that it wasn't really useful for much. Thankfully, their more niche open source contributions, while not particularly polished and documented, might end up being more useful than the original reddit repo. I know I've been meaning to look into the Websocket one.

Or maybe they just don't feel the need to pretend to be an open platform anymore

I guess they dont know they could make a private repo and update origin after the feature is done.

If I read it right, it's not so much that it's "no longer" open source, but hasn't been truly open for a while now and they're just giving up on maintaining the open version.

Because of the above, our internal development, production and “feature” branches have been moving further and further from the “canonical” state of the open source repository. Such balkanization means that merges are getting increasingly difficult, especially as the company grows and more developers are touching the code more frequently.

So in effect, they made a private fork of their own code and it's now diverged to the point where they can't feasibly maintain both.

It's sad but I suppose inevitable when your business model involves using your code rather than giving it to other people and selling support. Any users of your code are not potential customers but competitors.

However, since their source apparently remains available under a semi-free copyleft license (CPAL), maybe there will be a community-maintained fork of some kind.

Software development 450 words per minute

Software development 450 words per minute

Trying to understand the clips of synthesised audio was more or less impossible for me. The fact that someone can glean meaning from, or even better, fully comprehend, is mind blowing.

I guess this is something to do with sensory compensation, but regardless what an incredible story! I too have always wondered what the full workflow for a no-sighted developer would be like.

Thanks for this!

If you're having troubles understanding even a word of the first sound-file, don't feel bad. It's read with the Finnish synthesizer. The second file, while still really difficult to understand, is much more intelligible to someone like you and me who have never listened to that stuff before.

Title little mis leading, but a nice read. I've always wondered how bring a blind developer is like.

Dude has a real talent for writing. I'd like to read more blog posts by him.

TIL The original Pokemon games were written in assembly.

TIL The original Pokemon games were written in assembly.

All console games from that era were written in assembly. Ever see how low powered and how little ram those machines had? There was no choice.

Computer resources are cheaper now, but programmer man-hours are still expensive. So it's not surprising that most of our programs are made to optimize programmer man-hours rather than computer resources.

And now we have programs taking some hundred MB of RAM to write down notes. Note the fact that "Built on Electron" is considered as a feature in that review ...

I knew people back in the days who were porting SNES game to Megadrive for a living. From assembly to assembly, with CPUs from two very different family.

We did it Reddit! HTTP Error Code 418 - "I'm a Teapot" will not be removed from Node, Go, Asp.net, or Python's Request. The Internet Engineering Task Force is marking HTTP 418 as reserved, cementing "I'm a Teapot"'s legacy for a long time to come.

We did it Reddit! HTTP Error Code 418 - "I'm a Teapot" will not be removed from Node, Go, Asp.net...

Mark Nottingham both made the GitHub Issues and wrote the draft.

Reading the draft he added in that the status code can still be replaced if all other 4xx status codes have been exhausted.

I have to respect the guy for this move, he realized that people are really attached to a silly status code and since it's already out there as a de facto "standard" it would be an uphill struggle to get it removed. Someone could've easily doubled down on this.

But I also think the RFC is on point that we shouldn't have further "teapots" in reserved status codes. One is enough.

Seeing as a lot of people write APIs that only use GET/POST with response statuses 200 or 500, I don't care either way.

One huge pet peeve of mine is getting back a 200 {"success": false}

See, that's the thing - 418 is only being reserved, meaning if we one day run out of HTTP 4XX codes, then 418 can be replaced with a more useful status code . For now though, we can enjoy using our IOT teapots and can continue browsing http://google.com/teapot.

What happens when you type "Google.com" in the address bar

What happens when you type "Google.com" in the address bar

No discussion of TCP/IP stack, embedded design principles, or semiconductor physics. B-

If anything it underscores two remarkable evolutions in technology:

Technology has become simpler through abstraction.

And through corollary, any piece of technology is built upon an iceberg of existing - and hopefully proven - technology.

Which bringing things back home, reminds us why unit tests are important. If any level in that chain of dependency fails the whole thing comes crashing down.

"To push enter, first you must create the Universe."

"We're sorry but we are looking for someone with more experience"

Adobe to end-of-life Flash by 2020

Adobe to end-of-life Flash by 2020
Adobe to end-of-life Flash by 2020

Adobe:

Adobe is planning to end-of-life Flash. Specifically, we will stop updating and distributing the Flash Player at the end of 2020 and encourage content creators to migrate any existing Flash content to these new open formats.

Google:

Chrome will continue phasing out Flash over the next few years, first by asking for your permission to run Flash in more situations, and eventually disabling it by default. We will remove Flash completely from Chrome toward the end of 2020.

Mozilla:

Starting next month, users will choose which websites are able to run the Flash plugin. Flash will be disabled by default for most users in 2019, and only users running the Firefox Extended Support Release (ESR) will be able to continue using Flash through the final end-of-life at the end of 2020. In order to preserve user security, once Flash is no longer supported by Adobe security patches, no version of Firefox will load the plugin.

Microsoft:

In mid to late 2018, we will update Microsoft Edge to require permission for Flash to be run each session. Internet Explorer will continue to allow Flash for all sites in 2018. In mid to late 2019, we will disable Flash by default in both Microsoft Edge and Internet Explorer. Users will be able to re-enable Flash in both browsers. When re-enabled, Microsoft Edge will continue to require approval for Flash on a site-by-site basis. By the end of 2020, we will remove the ability to run Adobe Flash in Microsoft Edge and Internet Explorer across all supported versions of Microsoft Windows. Users will no longer have any ability to enable or run Flash.

Looks like Flash will be completely dead by the end of 2020.

Looks like Flash will be completely dead by the end of 2020.

Kongregate :'(((((((

Yes! HBO's lazy ass will finally be forced to get rid of their horrible Flash web player

A bit sad to see people spit on Flash's grave like this. There still isn't, as far as I'm aware, any software that combines an artwork pipeline and programming so seamlessly as Flash did. Also I'm not even sure if there's a mainstream vector graphics rasterizer out there that is even remotely as powerful as Flash's was/is. Initially HTML5 + JS was so extremely lackluster that I cursed Steve Jobs for instigating this crusade, but I agree it is neccessary that Flash dies and we replace it with something completely open.

I will remember Flash fondly, not without problems, but as an incredibly important tool in developing the careers and skills of interaction designers, artists and programmers alike.

Try one of these subthreads