Hacker Newsnew | comments | show | ask | jobs | submit | scriptproof's comments login

In the future, JavaScript will be the virtual machine of many languages. But maybe "real programmers" still will use JS code directly.

reply


https://www.destroyallsoftware.com/talks/the-birth-and-death...

reply


What are these issues? I use Ace daily (in Advanced Explorer) and have no issue. It has a syntax checker for JavaScript that is invaluable.

-----


If I well understood, it is recommended now to support the team to buy a clone rather that an original Arduino?

-----


Absolutely. Arduino (both of them) have dropped the ball. Atmels are great for small low-everything projects. But once you move up to dealing with more complex data, they just don't have the horsepower... And when they do, you end up with the Arduino Yun, which is a binary blob of closed sourceness. Might as well go with a RasPi/uno combo for best of both worlds.

Since the Chinese have been innovating here a lot, here's some links to get you started. And yes, I like AliExpress and Ali Baba.

Pro mini $1.68 http://www.aliexpress.com/item/Pro-Mini-Module-Atmega328-5V-...

Nano $2.52 http://www.aliexpress.com/item/1PCS-Nano-3-0-controller-comp...

Uno $3.15 http://www.aliexpress.com/item/Best-prices-UNO-R3-MEGA328P-f...

Mega $9.85 http://www.aliexpress.com/item/Freeshipping-Mega-2560-R3-Meg...

-----


The RPi is based on a 32 bit processor and complex operating software. Great for things that need a web interface or have to interact with complex protocols. You wouldn't consider something like a RPi if you could get the reliability and ease of implementation of a simple program running on an 8 bit processor.

-----


I agree.

Where the Rpi<>Arduino combo comes in is where you need PWM and analog inputs in an easy form factor. Arduino talks to RPi over USB serial, and is easy to script. The Arduino can be the controller interface while logic can be done on the RPi.

Also if you're doing computation expensive things (like using Arduino to pick up EEG data), the CPU on an Arduino is sufficient in ferrying the data to a faster CPU.

-----


I know I'm living in a pretty small world of likeminded people and startup IoT companies, but it seems to me _everybody_ hits on the idea of "RaspberryPi + Arduino", then iterates until they end up with some very familiar looking ARM SOC + Atmel 8 bit microcontroller. It's astoundingly common. (And that's because it's a really good idea.)

-----


What Ive seen in the tight knit IoT communities is the ESP8266 going like wildfire. Its a crazy little chip, cheap and easy to use with LUA.

And when it finishes FCC tests, will be legal to implement in designs here :)

-----


There's the arduino zero(cortex-m0) or arduino due(cortex-m3) which are powerful,and mostly compatible with the arduino - and probably have a decent community around them. So i'm not sure they've"dropped the ball".

-----


http://www.ebay.com/itm/STM32F103C8T6-ARM-STM32-Minimum-Syst...

http://www.ebay.com/itm/STM32F103C8T6-ARM-STM32-Minimum-Syst...

-----


Wow, those prices are insanely low. The atmel chips themselves can cost more than these boards.

-----


Holy cow that's cheap. I have no idea what I'm going to do with the six that I just bought, but now they'll be accessible at a moment's notice when the inspiration strikes.

-----


Those prices are amazing. Do you know how the quality level compares?

-----


Sure do. I'v reviewed them over at crankylinuxuser.wordpress.com , my blog.

Tl;dr: They're worth it. Well worth it.

And you with the CH340 serial driver, you won't be FTDIcked around.

-----


Well, in fact the CH340 can be a problem, at least for Macs.

The manufacturer's own driver is unsigned, so for years you had to disable kernel security features just to run it, and with the latest OS X release, it causes kernel panics outright.

There is an excellent third party driver at https://www.mac-usb-serial.com, but the $7 for that (in itself a very reasonable price) start pushing the clones back toward the price range of the originals.

-----


Wow £2.15 for a Uno! Paid 4x that on eBay.

I currently have one switching a fan on and off periodically to exercise some seedlings (tomatoes, chillis) so not a massive CPU demand here :)

-----


If you want to support the team you should buy from http://store.arduino.cc/ or from any other site. You should not buy from http://www.smartprj.com/ which is the Arduino Srl site.

-----


Here is a huge list of presumably legit distributors:

http://arduino.cc/en/Main/Buy

For example: DigiKey has thousands of the Arduino Uno in stock.

-----


Except that there are reports (http://forum.arduino.cc/index.php?topic=307397.0) that the boards from official distributors are shipping with Arduino Srl's USB Vendor ID, indicating that purchasing any "official" Arduino is likely funding the attack on Arduino LLC.

Hence the GP's observation that buying a 'no-name' clone seems to currently be the least-harmful option available.

-----


Except that almost all the boards are sold out. Is there any other alternative?

-----


Sparkfun's Arduino-like boards pay back a percentage to the inventors.

-----


Once you already have an Arduino (one with a DIP socketed AVR chip like an Uno), a great option is to just buy ATMEga 328 or similar ICs with the Arduino bootloader burned on them and build standalone circuits around those, which requires only a 28 pin socket, a voltage regulator, a 16mhz crystal(or whatever clock rate you want to use), and a couple caps. Your Arduino board basically then serves as a programmer for the AVR.

-----


Well that absolves me of a ton of guilt!

I've bought a few cheap clones off ebay over the last couple of years.

-----


Shouldn't feel guilty. It's OSHW, anyone can build their own and resell.

-----


> The article has only an image of the Z4 in Munich. And it is an image of the Z3 if one looks closer at the description on the left.

-----


They created at Atari a night shift just for him (he was the only employe of this team) to do the same work than the others. This answers the question.

-----


"instead of using horrible, ancient tools" (JavaScript=1995, HTML 5 spec=2014) "use capable systems languages like C" (Objective-C=1982, C=1972, Java=1994). WTF?

-----


C-family languages are still the best languages for systems dev, they've aged well, and Java is good for it as well. Systems dev hasn't changed much since they were developed, mostly just more transistors and cores were shoved into processors and more RAM became available. And it still stands that pretty much you can do with a computer, you can do with C. This is NOT the case with JS/HTML. HTML was developed during the time of static webpages, and JS was literally cobbled together in 10 days, and meant to provide functionality where webpages could talk to a webserver off in the background and not have to refresh, and to make HTML more dynamic.

The rich web applications that have become standard today are not what HTML and JS were designed for, hence, as I said before, the deluge of frameworks and compile-to languages that try to put bandaids over Javascripts warts. Even huge players like Google push stuff like Dart because JS is so bad.

Few people have tried to develop a replacement for C(aside from fringe projects like Rust), mainly because it's good at what it does - anything you can do with a computer. Yes, Swift is meant as an ObjC replacement, but it seems more aimed at improving programmer productivity than fixing anything wrong with ObjC.

HTML AND JS WERE NOT DEVELOPED TO RUN NATIVELY ON DEVICES! WHY WOULD YOU WANT THEM TO RUN ON DEVICES?

-----


HTML AND JS WERE NOT DEVELOPED TO RUN NATIVELY ON DEVICES! WHY WOULD YOU WANT THEM TO RUN ON DEVICES?

Please don't shout. HTML and JS were developed to run on any device, past, present and future. HTML is actually pretty good at presenting most UI state along with documents - the UI of the vast majority of native device apps is really not hard to present as html, the only roadblock is the vendors lack of focus on mobile web view performance. JS is a mixed bag, and as you say pretty rushed, and not the favourite language of many - I wouldn't want to write an app in it, though of course it is possible.

The choice developers are presented with here is to commit to learning each new API/Language on the continually shifting sands of OS vendor APIs for multiple vendors/devices, or to commit to an open but less performant toolkit they know will be around for a while, but which has the advantage of being stable, cross platform, and not tied to any specific vendor.

Clearly you don't feel the pressure of being tied to specific vendors and having to produce multiple binaries on a growing array of platforms both mobile and desktop, but others do, and this is mostly why they choose to use web tech on mobile or desktop. It's a very political and economic choice not one based on language syntax or capabilities alone, if you attempt to simply compare C and js on a technical level for example you will fail to understand why the choice is made. I fully expect that trend of web everywhere to increase if/when HTML starts offering more choice of languages (NaCl/asm.js) and perhaps more sophisticated layout (though for present uses it's not bad for that purpose). At that point, why choose a native API which will be deprecated in 5 years, when you can truly write once and run anywhere (web, mobile, desktop).

The people native apps benefit the most is OS vendors, because of lock-in, for both consumers and developers having a more open cross platform tech is clearly desirable (easy to switch platforms or for developers serve all platforms), even if not fully practical at present.

-----


>The people native apps benefit the most is OS vendors, because of lock-in

C and Java can run on any platform(far more than HTML and JS which were developed to run in browsers), what lock in?

-----


The APIs provide the lock-in. With the exception of posix, they're platform dependent.

-----


Maybe but if you use real DOCTYPE such as <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> then you will see huge difference in rendering.

-----


Maybe he makes money also with the 50 pages displaying ads you have to visit before to be able to download the file. But this does not detract from the qualities of the software, that I use daily.

-----


Maybe. Myself I just used the "If you’re using Paint.NET v3.5.x, go to the Utilities menu and click on “Check for Updates.” path.

I would also like to have a confirmation from HN if the developer indeed make a living only out of Paint.NET.

-----


The developer of Paint.NET works for Microsoft. Thus, he does not "make a living only out of Paint.NET."

Of course, that does not say whether or not he could live off Paint.NET if he wanted to.

-----


thanks!

-----


You can also install from Chocolatey: https://chocolatey.org/packages/paint.net

cinst paint.net

-----


What am I missing? I had three clicks, zero ads.

I clicked here: http://www.getpaint.net/download.html

Then I clicked here: http://www.dotpdn.com/downloads/pdn.html

Then here for the file: http://www.dotpdn.com/files/paint.net.4.0.install.zip

I use adblock, but when I fired up another browser, I still had three clicks, and the only ads were one typical square block ad, that didn't get in the way at all.

-----


these are the ads:

https://www.dropbox.com/s/q9dzn78tfh2srnb/Screenshot%202014-...

It isn't really a bad thing. He's giving the software away for free. I'm never a fan of the ones that pretend to be the download link (the ad on the left linked to http://www.mac-zip.com/lp/freezip_osx/df?mnag=155060&mnct=45... god knows what kind of stuff you'd get if you downloaded/ran that...)

-----


Interestingly, others seem to be seeing two ads. With Chrome I only get one ad square, the one on the left part of the page. The ad on the right never shows up.

-----


Just use ninite.

-----


ninite.com may help with that.

-----


For the Windows question, I must advise that it is not limited to Visual Studio or Cygwin. I use MingW daily and have a experience similar to that of GCC or Clang on Linux. CLang runs also on Windows but lacks a linker for now and uses that of MingW or VS.

-----


If you want not use Angular or another other framework, a fully functional autocomplete may be made with 10 lines of JavaScript. See demo: http://www.scriptol.com/javascript/autocomplete.php Adding a scrolling list of choices would requires two or three more lines.

-----


We use Twitter's typeahead (not the one in bootstrap, separate project), pretty pleased with it: http://twitter.github.io/typeahead.js/

-----


Cool but the demo isn't working in Chrome for me.

It would be nice to wrap something like that in a web component so that it'd be trivial to reuse without a framework.

-----

More

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: