skysight-inc/HackerNews huggingface dataset:
'Always bet on text' is a catchy slogan, but the author fails to define 'text'. This is confusing because the post contains a lot of pictures of things that I don't know we would all agree are text.

Let's start with a radical position. Is something text iff it can be directly encoded in UTF-8? What, then, about symbols that have not yet made there way into Unicode? Like an i dotted with a heart. Does it become text when the Unicode Consortium says so?

Nowadays memes tend to be distributed as (animated) bitmaps. But if we wanted to, we could encode them more efficiently. So are they text?

If 'text' = Unicode then that would also mean that many mathematical expressions (matrices, fractions) are not text. Math texts before symbols were not very readable: http://www.boston.com/bostonglobe/ideas/brainiac/2014/06/bef...

ASCII-encoded math is not without problems either.

Does 'text' include semantic markup like 'emphasis', 'heading', or 'list-item'? Does it include visual markup like 'italic', 'underline', 'blue', or 'Times New Roman'?

Does 'text' include newline and tab characters? Is it correct to say that newlines and tab characters exist on paper? If they don't then why do we use them to indent blocks of code?

If a sheet of paper with scribblings can be text, then can a bitmap be text too?

Now that I've brought up mathematics, HTML, and code, should we think of text as a linear medium or is it better to think of texts as trees?

What about handritten class notes that include arrows that link together different text fragments? Are these arrows part of the text? Does that mean that texts are directed graphs?

I'm even wondering if the author might actually have meant 'always bet on language', although that seems kind of obvious.

Or perhaps he meant 'don't needlessly throw away information', which is what would be happening if your CMS served pages as HTML image maps.

That is to say, even if we're all inclined to say that text is awesome, which we probably are, we might still be saying quite different things.
Most machine shops (production shops at least) are not purchasing new manual machine tools. Manual machine tools, even tool room (i.e. high precision) machines, like mills (and shapers) and lathes represent little or no value to commercial enterprises due to the labor costs and productivity relative to CNC machine tools.

Thus, there are an abundance of used manual machine tools on the market, now they are irrelevant to the manufacturing industry. They remain difficult and expensive to move. They are very heavy take up lots of space, and may have special electrical power requirements. Their capability is also a function of tooling, which may, or may not be readily and cheaply available when obtaining the machine. So, despite the bargain that used manual machine tools represent, they are not likely impulse purchases.

If I had the space, I would love a Monarch 612. You can get them for scrap prices, but its just far too impractical to consider.
Very rarely is WYSIWYG in a plain text format.
When the author talks about text he doesn't refer to WYSIWYG.
Badusb Research Indicates Huge Security Problem in Firmware
In the Nvidia video they are using OLED screens from another HMD. It looks like it has a bunch of microlenses on top of it, maybe 200 or so. So it seems like resolution would be a big issue since small form factor OLEDs only go up to 2560 x 1440 in current devices available to consumers.
I prefer React to Angular -- I find it much simpler to work with. I wrote up some thoughts here: http://noelwelsh.com/programming/2014/08/17/angularjs-vs-rea...
You can use it anywhere but it'll be especially helpful for long lists. Angular binds anything in double curlies, creating watchers that dirty check and evaluate with every digest cycle. It's tempting (and IMO Angular incorrectly encourages users) to use double curlies for templating everwhere, so in typical list views you can end up with thousands of watchers on data that never needs to change once the page is rendered. This is slow, especially for searching and sorting. Further reading[1]

Before this release it's been necessary to write custom directives or use a tool like Bindonce[2] to turn off data binding where it's not needed.

[1] http://tech.small-improvements.com/2013/09/10/angularjs-perf...

[2] https://github.com/Pasvaz/bindonce
>> https://prism.com/
Pattern matching the audio wave or video bitmap frame-by-frame.
I agree with andwaal that reflux is the simplest way so far that I've seen. I think what is really lacking is a demonstration application which isn't just "hello world" or the standard todo app rewritten in React. I just don't find that helpful.

For another overview, see this article:

http://blog.andrewray.me/reactjs-for-stupid-people/

Please don't take offence at the title, I didn't write it :D
I think what the author meant was that the elapsed time to sort: t = k * O(f(n)). So given two algorithms that have the same O(f(n)) then the smaller the k, the faster the sort.
Ask HN: I need your professional opinion about Angular,Node,TypeScript project
I am trying to create a comfortable but strong architecture for one of my Angular, Node, Typescript project. So my bootstrap project is currently working fine, but lack of my JS only app architecture knowledge, I can not feel comfortable with my implementation. Feeling something is not right but i can't find it.
So my question is, please check my project and drop your general or specific comments about it. My main concern is, this architecture approach strong/flexible/enough to go further development for mid size web application.

Little bit background information, I am a senior software engineer/architect which actively working for 10+ years, mainly focused on .Net, Java, Android development stack.

Here is the project repository : https://github.com/cihanduruer/WeeMS

Test deployment to Azure : http://weems.azurewebsites.net/

Thanks for all the fish !

Cihan
Err..

1. I admit Angular documentation sucks, but that's not atypical in any open source. It's getting way better btw, and there are tons of resources from 3rd party.

2. Which toolchain are you referring to? If we're talking Web/JavaScript (where Angular is for), I can say the toolchain e.g. Grunt is quite recent.

3. I somewhat agree with this. We can use e.g. Chrome Dev tools and Batarang (Angular Chrome plugin), but definitely there's room for improvements.

5. Care to elaborate your definition of free? Even for Java, I can say a significant ecosystem for Java is open source. Sure, some Enterprise prefer Java Enterprise Edition, but many are satisfied with Spring and other open source Java-based solutions.
Building a better Objective-C
Funny, it actually IS tuesday again :D
http://www.eclectide.com/blog/2014/09/14/another-password-le...
How to debug your brain
Alphabets are just symbols that have some sort of meaning to you. Alphabets in a row are text.
There are symbols that have no meaning to you but still are te xt such as Kanji or Korean alphabet for some people yet you consider them text.
Unicode has nothing to do with what is considered text. Humans have for millenia used pictures as symbols that are used for text, in egypt for example.
A commenter on my post notes that it isn't just countries with a low threshold it's ALL other countries. That you are non-resident in. So essentially if you want to sell to the EU you have to register for MOSS and therefore have to be VAT registered.

It's crap. I hope I'm wrong or that something can be done to exempt small enterprises.
3 VALUABLE APPLICATIONS FOR PRICE OPTIMIZATION AND MANAGEMENT
The only better solution I can think of is direct interfacing between brain and computer (network(s)).
Note that Unicode includes hieroglyphs: https://en.wikipedia.org/wiki/Egyptian_hieroglyphs#Unicode
Could they write a small imap application that dumped the headers into simple json or what have you that we could then verify before submitting? I know it's not exactly user friendly, but it would make the people that care about security a lot happier.
Ha, why doesn't it surprise me that Waitrose have that?
Or: the startup singularity is near!
Well, good luck with that approach.

I'll continue to try and help out other small indie firms run their businesses and support their families.

It's not a solution, I don't have a solution, I'm just trying to help.

If anyone has any experience in lobbying the government to look into this sort of stuff, I'd love to hear about it. My experience as a business owner since 2001 however has been that they do not care a tiny bit about our kind of business, unless they can find a way to fine us for something. Fines that could cripple a small business but would just be seen as a cost of doing business for a larger one.
From the looks of the website this may in fact be a next-generation hallucinogenic drug :). Seriously though, the technology looks interesting but I would be careful getting too excited about this. When lots of credible people put tons of money and hype into things....we get stuff like Clinkle and Segway and Color.
So you'll spout the exact same nonsense in another thread, I'll call you on it, you won't present any evidence for your nonsense, and suggest we do this again?

No, thanks. I'll pass.

If you have any evidence, present it now.
http://meetprizm.com !
> The thing is we're already dealing with disjoint sets of programs and broken composability. Thats why so many shell one liners take the form...I mean we have to do the C->Bash->Awk->Bash->C precisely because nothing actually works together and thats with just text.

You seem to contradict yourself :) Yes, you might have to munge some text to get the disparate programs to work together. But, at the end of the day, you get the result you want, because munging the data is possible. Contrast this to a world where munging the data is all but impossible, since each program speaks different objects. Then you'll have some real breakage on your hands, unless you can write O(N^2) inter-object mungers to replace the O(1) text-based mungers you were using before.

> If we did mandate some IPC and ran across a program that couldn't speak it? Well as long as our smart program had a toString equivalent we wouldn't be any worse off than we are now. But between programs that spoke it we'd be better off.

How would this be an improvement? Most programs (i.e. the ones that don't know your "smart" program's IPC object format) would fall back to using the toString() method. The comparatively small set of programs that can use your program's IPC objects would be tightly coupled to each other, meaning a change to the IPC object structure or semantics will require modifications to most/all of the programs. If anything, your proposal exacerbates the "disjoint sets of programs" problem, and has the effect of turning the legacy/compatibility option (toString()) into the ironically future-proof method for interacting with "smart" programs.
Personally I went all-in on Swift. Unfortunately I found that the sceptics were largely right about Swift:

The safety features did not make the code more safe, but caused new classes of bugs. Runtime performance fairly random. Generics caused ten times as many problems as they solved. Optionals simply added runtime crashes, no additional safety.

And this was surprising, given that I regularly program Java with its optionals, use finals everywhere, clearly annotate nullables and of course I use its generics. (Given how poor the generics is in Java, anything would be an improvement, right? Or so I thought)

Programming in Swift isn't anything like programming in Java/C++. It adopts a much stricter typing model - then leaves you hanging without the tools to overcome the consequences of it. Same with generics, stricter constructor rules etc.
I read much slower than I speak :)
Every letter, number or any sign is a "picture". In fact every written text is in fact structured array of simplified pictures, which happens to be understandable under conditions of given language rules. What should be bet is information. It doesn't really matter what communication tool will be used - information is the creme de la creme. Think about this - I can write simple text: "Mother should love their childrens". Would you still bet on text, if i wrote this in different language? "Każda matka powinna kochać swoje dzieci" or "Kila mama lazima kuwapenda watoto wao" isn't as understandable by most of people, despite the fact letter I used are almost identical. And how about other characters? "יעדער מוטער זאָל ליבע זייער קינדער" or "すべての母親が子どもを愛する必要があります" (thanks google translate ;))? In the end what matter is not text itself, but message behind it.
Not just hieroglyphs... Unicode includes anything you can imagine
Yes, it has helped us acquire high quality consulting clients. But we're at a stage where we no longer wish that revenues from consulting fund the project because time spent on consulting is time we can't spend on product development.
I was thinking about this other day. it's not too hard weaponize a drone. this is our worst nightmare. can you imagine people getting assassinated from an ak-47 fired from a quadrotor heavy duty drone?

Like this is straight out of the tv series Dark Angels with Jessica Alba.

Imagine if we lived in a country where tech was as advanced as we were and the government was powerless and anarchy ruled.

These killer drones would be a reality. you could have armies of these. if they became autonomous with the facial recognition which is possible now, it would be a cinch for law enforcement or terrorists to take anyone out.

my biggest fear is law enforcement or government agencies deploying such autonomous self flying drones hooked up to a giant database of human faces and their every little communication and using deep machine learning to predict someone who is about to commit a crime and quickly deploy itself and apprehend the would be criminal or even more chilling, taking them out.

edit: I just realized that in parts of the world, this is already taking place. Chilling because it's already a reality and imagine if we, the free West, lived under constant fear of drones flying over our heads, watching entire houses or car infront of you get blown up without warning, vowing vengeance and to join a resistance against the drone wielding country.
Here is a list of US patents for key escrow systems: 380/286 [1]. It is important to know that key escrow does not itself mean that the keys are escrowed to law enforcement, but in many cases it is obvious or it is spelled out explicitly: "In order to receive the information, law enforcement may submit a request to each of the entities identifying the communication session and their basis for authorization." [2] It is also important to know that law enforcement escrow systems may also apply under different categories, so this list has both type 1 and type 2 error.

The number of companies on the list is huge and include essentially all of the 'blockbuster' names in the tech industry, from IBM to Amazon to Fujitsu to Seagate to Apple to Symantec to F-Secure, etc. (I have a longer list here, although it has not been combed for law enforcement escrow and it is also not representative of the names on the patent search list [3]). Care must be taken to discern which patents would have applicability to serve orders such as those by National Security Letters or to comply with the decryption requirements of CALEA.

There's some scary stuff in there, like "Automatic recovery of TPM keys" (Lenovo) [4] and "Cloud key escrow system" (Microsoft) [5].

HP obtained a patent (in 2008) for PC backdoors [6].

[1] https://www.google.com/search?tbm=pts&hl=en&q=uspclass%3A%22...

[2] https://www.google.com/patents/EP2637350A2

[3] https://news.ycombinator.com/item?id=8452070

[4] https://www.google.com/patents/US8290164

[5] https://www.google.com/patents/US20120321086

[6] https://www.google.com/patents/EP1059578A2
I think that a more simple machine were anyone can program it on assembly (and eventually on C) could be better :

https://github.com/trillek-team/trillek-computer

https://github.com/trillek-team/trillek-vcomputer-module
Show HN: Bronson – Automated Java Code Review on GitHub
It's worth remembering that in addition to all their famous kids films Disney has also produced all of these films: http://en.wikipedia.org/wiki/List_of_Touchstone_Pictures_fil....

Hyperion wouldn't be that much out of character for them, even if personally "Hyperion, from the producers behind Pearl Harbor and The Avengers" isn't at tag line I'd particularly look forward to.
IMHO tig does this pretty well.

https://github.com/jonas/tig
French economist wins Nobel Prize for work on market power and regulation
Highway robbery.
It includes many things, but not, for example, an 'i' dotted with a heart. And to represent mathematics well you need to use MathML.
What unicode does or does not include doesn't matter.
My preferred platform is a Sparkfun Pro Micro (or clone) with the DFU bootloader on it. Just the right number of pins for most projects and programmable with a common micro-USB cable. Tried to poke around with Arduino, but I like using my own libraries.
As a person who killed off his FB account a couple of years ago, my first reaction upon seeing this was "Stickers? Wow, Facebook seems to have gone downhill since I used it." Then I remembered I absolutely LOVED the stickers in Trello Gold.
more

Quality is not quantity; I think that's what the parent and the reviewer was trying to say - there's certainly plenty of documentation, but it's not particularly easy to use that documentation effectively. E.g.

I have learned that you need uView.begin() in your setup, but I only figured that out because it’s in every one of the examples, not because I read documentation anywhere that said, “This is how you structure a MicroView compatible sketch.”

(Also brings to mind the absolutely overwhelming amount of documentation available for some of the modern smartphone SoCs, but with no easy way to find out e.g. the relationship between one peripheral module and many others sharing the same resources.)
but someone who is going to weaponize a drone isn't going to the hobby store. they are going to get the parts from elsewhere or they will seek underground marketplaces with bitcoin.

in the line of fire 1993 movie, john malkovich plays an assassin who creates a gun from toy car parts so the weapon can't be traced or even be suspected. he assembles it just before attempting the hit but it's foiled.
IMO service providers should, at the very least, have procedures in place to lock the accounts in the list then email everyone with an unlock link.

I just can't fathom there being huge publicly available password lists with credentials that are still valid.
Early in science education is the very important lesson that you always write units for your answers, as they are more important than any numerical value you happened to get. The best teacher I ever had liked to use an example of a simple cake recipe: "2, 8, 9, 2.5" tells you nothing, while "flour, butter, eggs, sugar" is something you could experiment with to find the specific values. The text units (labels) convey far more information.

I propose that this is one of the key reasons why text files are vastly superior to binary formats. While they end up very similar in normal use, the readability enables investigation and experimentation, while writing a raw struct out to a file keeps the meaning in the (possibly lost or unobtainable) original program files.

// if speed is needed, you can always cache the parsed version of the text file
I guess I'll have to drop Blender and use text files to create 3D models, because some guy on the internet thinks that text is "the most powerful, useful, effective communication technology ever, period".

If the point of the article was to trick people into clicking, then it succeeded in that I guess.
It doesn’t really relate to the Flux architecture directly. You could probably use something like Flux in addition to Omniscient. In the same way that Flux encourages a continuous loop with data from the top, Omniscient has a single direction of data flow. But you could easily use dispatchers with stores to communicate in the other direction, like with the Flux architecture.

Omniscient is a very small library, only providing a “smarter” shouldComponentUpdate for use with Immutable.js cursors and a wrapper for easily creating components with renderers and composability with mixins in focus. See the documentation to see more about Omniscients rationale: http://omniscientjs.github.io/documentation/
Lenovo Sisley could be the best iPhone 6 design-up
Hi, johnymontana!

The idea is to have the SciPy tools available in the IPython environment. So from that environment, you can get readings from sensors, and then directly use this as an input to one of the many algorithms available in scikit-learn or scipy.

It's still at an early stage, and the RPi image is not fully ready. I believe it will be in a few weeks. If you can sign up to our mailing list though, I'd love to keep you in the loop. It's on the bottom of the page.

Thanks for the feedback!
Triple Revolution (1964)
Estelle from LocomotiveCMS here. Thanks everyone for the comments! We're in full agreement agreement that we need to improve our marketing, many thanks for the suggestions.

You'll see huge changes on our sites very soon.
We actually paused all our marketing efforts for a while to focus on development but it seems that it has to be our priority #1 right now.
Is that where Jeff Dean suddenly acquihires the ability to use 100% of his brain and automates all the work for every single US corporation, making the rest of the population unemployed overnight, other than those lucky few who can grab jobs fetching Jeff coffee?
I know that you only have one controller, but I don't think it's wise to reference each and every controller in one single angular.module(...).controller() declaration... Perhaps read this: https://github.com/gocardless/angularjs-style-guide

Also, it might be worth looking at ng-annotate so you don't have to specify the array of dependencies. It's not necessary but it does help speed up development a little bit, not having to type that out all the time - it can get quite unruly sometimes. :P

Further than that, you need to implement unit testing, as well as end-to-end testing with Angular Protractor. I've been on a large scale Angular project without any testing in place, and boy did I give the lead my two cents about how much trouble that caused us. The project was delivered 2 weeks late because of buggy, untested code. Prevent this as soon as you can.
I just want to add a point here about the travelling aspect: I am a remote developer, and I have found out that working while travelling is counter productive. When you are in a new place, you'd ideally want to spend as much time as possible exploring the place and enjoy travelling, rather than spending 8-9 hours stuck in front of your laptop trying to finish your work.

I think this was the case with me because I am a full time remote employee. If you can figure out some contracts which take up 3-4 hours per day, and you can sustain yourself comfortably with that much money, you can do this. But you have to be sure you have a nice safety net. Getting stuck abroad with no money is not fun.
I just wanted to clarify this because I got the impression you were implying they weren't.
Eight graphs you should see on global warming, population, and public opinion