skysight-inc/HackerNews huggingface dataset:
>Anything that makes programmers productive is a great tool. Angular 1.x definitely makes teams productive.

Definately? Based on what? The teams i've seen and projects i've been on that use Angular take much longer and end up with slow, buggier code.

>Sure it isn't perfect, but show me something better with all the features AngularJs has.

Meteor, Ember, React, Qooxdoo, Extjs, Backbone, etc... pretty much every other framework. Most of them don't specify a half-baked programming language hiding in data attributes in your dom-nodes.

>AngularJS became popular because it was obviously superior in term of developer experience

That is a lie. Angular seems to attract back-end programmers who have been moved to the front-end because it uses design patterns that are more common to back-end development. Find me a single Angular fan, that has actual job experience with at least two other SPA frameworks.

>Instead of saying "this thing is bad", Educate them. But I guess sensationalism drives more clicks.

You are misrepresenting his blog post, mostly out of spite.

Here's a more generic complaint: doing control-flow by annotating dom-nodes dom just means you lose proper debugging, refactoring, scoping and not to forget: hurts performance (since dom reads are much too expensive).

Angular is one of the worst executions of a fundamentally flawed approach. The only people defending it are those who are not familiar with _any other alternative_.
Ask HN: Whats the Right Word for This Product? \_(“n”)_/
The Idea {brighterme.org} is to send a weekly digest of the 10 funniest photos on the Internet to our kind subscribers.

The problem is that I don't know the right wording to use in getting people interested.

Anyone skilled in positioning or language pls help!!!!
There seems to be a lot of embedded KV store already, and SQLite is pretty much the defacto embedded relational DB. Is there a good embedded Graph DB around? Specifically, a embedded property graph DB. Hypergraphdb is embeddable, but it's not property graph, and while neo4j has an embedded version, I don't think it works for non-java use case.
Techweek Detroit returns with hiring fair, fashion show, Citizenfour documentary
Interview with the Bulletproof Executive
It was of benefit to Twitter because they got to find out whether or not there was a market for the "enhancements and cleaned up API niceities" that DataSift (and Gnip) offered, without needing to invest in it themselves.

It's like MVP by proxy.
Isn't that "So hey, how was your day?"?

;)
Let's see, there are about 40 employees where I work and I'm the only developer and engineer, so that is 2.5%.
It would be great to add a comparison with Consul[1] and Etcd[2]

[1] https://www.consul.io/

[2] https://github.com/coreos/etcd
You can also do it over just one function that takes in a variable that modifies behavior.

Imagine you have a closure with a function that takes in a string and a list and returns a list. Depending on implementation of the function, you could have the string be the operation you wish to perform. The method name, and the list be the parameters. The returned list is the output.

Getters could pass an empty list and return a list with one entry

Setters could pass a list with a value and return an empty list

And so on :)

Like this:

func NewClosure() func(string, ...float64) []float64 {
x := float64(0)
return func(method string, args ...float64) []float64 {
if method == "setX" && len(args) > 0 {
x = args[0]
return nil
} else if (method == "getX") {
return []float64 { x }
} else {
panic("invalid method")
}
}
}

a := NewClosure()
b := NewClosure()

a("setX", 50)
b("setX", 12)

fmt.Printf("a.X = %v, b.X = %v", a("getX")[0], b("getX")[0])

Runnable example here: http://play.golang.org/p/68NTyEx6_P

I like it.

[edit: added working example .. and realized I'm adding to what my parent poster was saying]
The original “Erlang: The Movie” https://www.youtube.com/watch?v=xrIjfIjssLE (with a good demonstration of what a reliability means)
If anyone hasn't seen the original, it's worth a watch.

https://www.youtube.com/watch?v=xrIjfIjssLE
It is certainly a big part of life - being well liked. Not feeling like you're expendable in terms of your family/friends is quite important.

The thing about 'character' is that it's empty words. See, you 'think' we should 'try to be people of character.'

'It's good for society.' All of these ideas are empty ideas.

Nobody is going to cease being the way they are because... well... we should try to be not like that... Why? because... 'character' and 'good for society.' Gags

It's when people are out of touch with what happens when you are a selfish prick long enough, that these words get spoken.

See, the reason people need to work together and not be delusional or ego-maniacs, is because that's the ONLY way we can survive. People who have not lived around poverty or places where you NEED to be able to rely on others for basic things, oftentimes don't get this.

When you grow your own food at a cottage and your water hose ceases working, you NEED to be able to go and ask the neighbour for help. When you cut yourself and you are out of bandages, you NEED to be able to go and ask the neighbour. When people know this, not 'think' they should 'have character' because 'it's good for society' but when they KNOW that without this, we'd be SCREWED, then things fall in place.

It goes in waves - people move to cities, raise kids who never have to rely on anybody and everything 'just works somehow', tend to grow up selfish and clueless, end up making terrible decisions until we have to come together to fix it and then when we do, we remember oh... this is what makes it all work - working together.

And then everything is fine, until it is not and then we come together and fix it again, if we can :)
> The decision to have scopes be objects that (sometimes, not always) inherit from one another, is entirely on Angular

It's almost as if they try to shoehorn a custom adhoc programming language straight into your dom-nodes, but they couldn't be that stupid, right?
So why not BerkleyDB? I couldn't find a comparison to the old standard on the site (granted did just a cursory glance).
From what I understand this isn't distributed, but clients pull from it? Docs don't mention anything about multi-server deployments...
Why I don't mock: http://blog.metaobject.com/2014/05/why-i-don-mock.html

Dependency Injection is a Virtue: http://blog.metaobject.com/2013/01/dependency-injection-is-v...
How to Make Money with Bitcoin
Yes. Having acquired Gnip, Twitter can now offer the same services that DataSift offers.

So, Twitter terminates their "partnership" with DataSift, and all of DataSift's customers (i.e. the market that DataSift spent money and effort getting "nice and established", educating potential customers, helping them figure out how to make use of the data, etc.) who want to continue benefitting from those services will now migrate to Twitter/Gnip.

I bet Twitter/Gnip will come out with some tool to make it ultra-easy for DataSift's customers to migrate across.
Agreed - you do feel dirty after reading this. Also waiting for the other shoe to drop and here it is in the byline:

David Brooks is an Op-Ed columnist and the author, most recently, of The Road to
Character, from which this essay is adapted.

I love the stern paternalism of an OpEd piece designed to sell a book - a book that I suspect has no more thought content than the OpEd piece.

I hate the NYT as much as I used to love it - Brooks, Kristof, Dowd and the rest. The morally bankrupt schooling us on morals.

Funny the focus on 'eulogy virtues' - reminds me of a (hopefully not misquoted) epigram of the philosopher Lukacs before he became a Stalinist... "Life is not Living"

Preparing your life to make a good eulogy is exactly the problem. Dorothy Day did not live and act with one eye on what the NYT would write in her obit when she passed.

Who speaks badly at someone's funeral? There is an old taboo or at least superstition against "speaking ill of the dead". Today it is at least considered bad form.

And who really cares about your eulogy? Brecht 3-penny song "Ballad of the Pleasant Life" - MacHeath warns that if you live a virtuous life and you will be:

"mingling with the greats - but you are dead"

and goes on to add his preference:

"The bulging pockets make an easy life"

We are 'expendable' it is that insight that should be in front of us all the time. Morality like Brooks discusses it is a luxury to be savored with something overpriced and 80 proof and perhaps a cigar. It is not a living thing.
There have been a lot of replies addressing a few of your concerns, I will attempt to hit all of them. The only one that really has any no great solution is the refactoring support.

> * no tabs

There actually are tabs, but they probably don't work the way you expect, they are closer to viewports or workspaces, but they are there. You can also use assorted plugins to improve tabs and/or emulate them.

> * no project structure

Not sure I understand this way -- no enforced structure? Neither to IDEs, no tree viewer -- there are bunches of tree based file viewers.

> * in my IDE (eclipse based or intellij based) I can ctrl-click a class/object/other to navigate into that object's definition

This is supported by the tags system in Vim, which depends on ctags. :tselect, C-], lots more -- this exists out of the box.

> * in my IDE I can search for classnames, I can press ctrl-T to find who inherits from something, ctrl-alt-H to find who uses something etc...

This obviously very specific to some language you have in your head, as many of those things don't make sense in some languages. That said, this is supported in various languages by various plugins (In Go, Oracle for example).

> when I find myself actually writing code, it's usually a line or two in each of several files (because modern programming paradigms tell us we should split code as much as possible), or modifying some copy pasted snippet I found on google - so navigation is extremely important even when editing.

Agreed, which is why Vim has so many ways from jump-to-def to jump-to-file to various smart plugins for rails and C and <X>.

> * auto-complete(with annotation to tell you what the function variables are)

Gobs of plugins do this for Vim -- normally language specific and they tend to work rather great.

> * debug inside your IDE

See Clewn, full gdb support integrated with vim.

> * run code-lint, auto-build on typing to detect errors, etc...

Vim has all of that, syntastic will show errors in the left bar as you type, setting things to autorun is trivial, all major languages already have this.

> * auto refactor (I.E. extract method, move variable, extract class etc...)

Language specific (as is your IDE's features, because to do requires understand the language), but this exists in limited form for Go and C++ -- and I am sure others. The level isn't up to major IDEs. That said, many of these things are easily scriptable in vim.

> * format all your files according to your pre-specified project guideline.

Tons of vim support for this, even supporting standard 3rd party like EditorConfig.

> * sharing you IDE configuration with other contributors

I think you will find far more vimrc files shared in the wild than any IDE.

> * showing when files are/aren't in version control and integrating version control so that you view history in your IDE.

Fugitive has great time travel features for flipping through versions of files and seeing differences. Use git-nerdtree to add git status to nerdtree.
"Distribution on demand ... Configurations are not pushed to the environments but fetched by them". To me this means this is not a distributed configuration system, but a centralised one distributed clients read from. I quickly scanned the docs and couldn't see anything about distributed deployments...

That said, the admin interface and the collaboration features sound awesome, I shall give this a spin when I get the chance :)

Also, couple of website-y thoughts: the home/logo link doesn't work on any page except the index. And please less of the font - the about text on the homepage is hard to read!
I would've loved to hear more details about why you built your own.
For example, you mention that Elastic Search wasn't deployed at your scale and there was some talk about machine footprint, but it doesn't explain how your solution compares to something like ES.

Did ES just didn't scale when you tried it? Is your solution better/faster? If so, by how much and on what workloads?

Contrast this with something like RocksDB. They just show you the numbers - http://rocksdb.org/
Stray Dog Kicked by Driver Returns with a Pack of Friends to Trash His Car
The 25% margin mentioned in the parent is a gross margin. I don't think anyone has ever said that Tesla's gross margin is negative. These terms mean something specific.
Run your own high-end cloud gaming service on EC2
Pass an object to DoSomething and you get the same thing as the closure.
You are correct. The energy cost to desalinate increases as the salt content increases, eventually you have to let it go.
Сила Божья способствующая мне
No. "Itaque" means "and so". "Ita" means "so", and "que" means "and".

And so it goes ;)
Way more than half, everything except great refactoring support really.
Which makes Dependency Injection all the worth while using but since the Author doesn't Unit Test, the application of DI is obviously lost on him. So, big rant follows.
I believe CoreData should count as an embedded Graph DB. It's backed by SQLite but Cocoa specific.
This looks very promising. The code is very clean and optimization is taken into consideration.
funnybones.com

funnyweek.com

funweek.com

weeklygiggles.com

weeklychortles.com

chortleme.com

theweekinlaughs.com
It's a pretty good idea imo . I don't share most of the complains about the law, but the one they refer to "protest in front of public buildings" is unbelievable. For instance, according to this, Transferwise could have never lead a naked march on Wall Street
To people who don't agree - you might want to take a look at pluma's comment in this thread (and the part in it about being nervous):

https://news.ycombinator.com/item?id=9364377

Also, I don't think downvoting people whose opinions you don't agree with, is a good idea. Rather leave a comment in reply saying why you don't. And yes, I have read the rationalizations for that (downvoting) behavior, in other HN threads. But don't agree with it. Smacks of nervousness (again) to me - nervousness when someone disagrees with your opinion or voices an opinion different from yours. What's there to be nervous of? Opinions are just that - opinions.
Google Cache:
http://webcache.googleusercontent.com/search?q=cache:PbUmEMZ...
Is it an accident? No, it's a wildcard subdomain
Absolutely. That said, I think modern IDEs suffer from huge discoverability problems as well. The truth is, when you have thousands of features, discoverability had to give way to documentation.
Oh, I agree. I was just saying that there's "serious" and there's "serious"

http://www.greatlakeswaterwars.com/chapter11.htm says that it was a for-profit "humanitarian effort on behalf of the world’s poor that was also designed to make money".

I can't figure out how it was supposed to work. It looks like it comes down to person who wanted to do it was in Sault Ste. Marie, Ontario, and thought of the tons of water in the backyard [paraphrasing]. So he and his partners could have been serious about, but there's no real chance it would work out.

It doesn't really matter what the prices were in 1997. Alaska water is closer to Asia than the Great Lakes. If it made sense for Lake Superior, it would make even more sense for water from the Sitka.

http://www.heatisonline.org/contentserver/objecthandlers/ind... says that around the same time :

> A company called Global Water Corp. has announced plans to ship up to 5 billion gallons a year of glacier water by tanker from Alaska, near the port city of Sitka, to the Middle East. The company said on its Internet web site that it has reached agreements with buyers in China, and that it plans to negotiate with interested parties in the southwest U.S.

There's a lot of people who talk, in the hopes that someone else will front the money. It's not really a con, because it might actually work. But if things are borderline, it can help to sound serious and express no doubts.
BerkeleyDB API is ugly. And probably its extra features impact performance.
Examples of Amok in Action, Live Code Editing Canvas, Reactjs, Etc.
Can you provide a statue citation?

Modern devices already make a recording of the 'call' (it is fundamental to the working of the device).

Consent is explicit in choosing to use a device that is well-known to make recordings.

There is no expectation of privacy due to the explicit consent mentioned above and wide-spread allegations and revelations of US intelligence agencies and their affiliates and subsidiaries copying and storing Internet communications, as well as being able to 'listen in' on communications as they occur.
I have had to think about the same issue. The best idea I got was to use a Docker image. The database can be created and maintained external to the Docker VM.
>Well you didn't disprove my assertion (I was obviously talking about front end frameworks) by citing a front end framework that came with an extensive testing framework. So why on earth are you saying something without backing it with facts?

Let me help settle which of you two is the liar then.

Ember comes with tooling for unit-tests and so does Qooxdoo (which also includes Selinium support out of the box).
And that's just two of three i'm familiar with.

>No the problem is that Javascript doesn't have pointer variables

There you go: pass-by-reference semantics (i.e. pointer variable)

var flow = function( init ){
return function( v ){
if( v !== undefined ) init = v;
return init;
}
}

> It has nothing to do with angular but everything to do with the way Javascript works.

No, it has to do with the ad-hoc programming language shoehorned into dom-nodes. Javascript has lexical scoping, Angular does not, because its control-flow lives in your dom. It also doesn't have encapsulation or proper step-debugging this way. But none of that has anything to do with Javascript. If all that logic lived in a .js file lexical scoping would be possible and recommended.
I agree, but I think the author of the article was talking about the 'smaller world'.
This has been my favourite explanation since I read Stross' book, Accelerando. The common argument I get against it is along the lines of "humans being too curious to abandon the real universe".

Of course simulation in this case doesn't answer the problem of Von Neuman probes and the like, as its still perfectly reasonable to expect a simulated race to have some physical presence and desire to explore the universe, however since we recognize the risks of these kinds of things so long before we even have the capability of launching our own VN probes, perhaps the vanishingly unlikely scenario is an advanced civilization actually doing it themselves?
Has anyone played it? Is it fun?
We try to charge people with crimes they actually commit. DUI is a crime because of the actual harm caused by drunk driving. CFAA make exceeding authorized access a crime too, and I suppose there are even corollaries to DUI where "exceeding access" could cause inadvertent harm as well, but certainly not in the case of a teacher's desktop background.

The CFAA used to have a $5,000 minimum damages inflicted before the offense was actually a felony, but that was eliminated in 2008 (according to Wikipedia). It would certainly be a miscarriage of justice if this is actually proceeded as a felony charge; just like a first-time offense blowing a .04 needn't be a big deal either.

The problem here isn't actually the charge, it's the law. When you have to ignore the law in order to avoid imposing ruinous charges for inconsequential pranks, it's a clear sign the law should be changed.

States are just starting to figure this out for adolescent drug charges it's a wonder we're going in the opposite direction with computers.
> * in my IDE I can search for classnames, I can press ctrl-T to find who inherits from something, ctrl-alt-H to find who uses something etc...

>> -> I believe there are some plugins for but here i haven't seen anything good so far.

Language dependent, Go has "Oracle" for example, for finding callers, etc.

> * debug inside your IDE

>> -> good point. have to wait for Neovim for this - I believe. Installing current WIP version from neovim is on my todolist. ;)

Clewn.

> * auto refactor (I.E. extract method, move variable, extract class etc...)

>> -> good point. don't know any good plugin.

Language specific, Go has multiple and lots of people write small bits of script to do this -- but it is a place IDEs are far ahead of Vim.

> * showing when files are/aren't in version control and integrating version control so that you view history in your IDE.

>> -> if you need to do in the editor... there is plugin for that. However, i found git command line is usually find. and for more serious committing I use GitX (L).

Nerdtree & git-nerdtree.
Readr 0.1.0
Bryan R. Wilson, "The Persistence of Sects", Diskus, Journal of the British Association for the Study of Religions, Vol 1, No. 2, 1993
BerkeleyDB is awesome, but its license may not be suitable for many organizations. Also, the different design would probably result in different behaviors under different scenarios. It seems like Sophia is optimized for inserts.
Well, this is key to pretty much a lot of software in the world: the longer you use it, the older it gets. Meanwhile the raging fire of progress burns on. Lucky for groups like Pixar and R&H (in the day), that the hardware guys also worked late nights.
Clewn for GDB.
@pmwkee:
http://sphia.org/pv12.html doesn't tell us the scaling characteristics. The cited performance page is DB at steady state of 6.0M keys. how does it behave under dynamic load? Various scenarios to help your potential users determine if the software is a good fit for their use-case, would be helpful.

Glanced at the code and the arch doc. Looks promising and shows careful crafting. Well done!
Samsung Galaxy S6 Edge Review
Thankfully neuroscience allows us to turn philosophy's inside-out approach on its head and look from the outside in. The very existence (and broad conscious awareness) of things like brain damage, neurosurgery, and mind-altering substances demonstrates conclusively that the mind resides in the brain.

Any philosophical questioning of the existence of existence is rendered moot by its inherent begging of the question and lack of consequence to physical reality.
The oldest trick in the ASCII book
Bioinformatics might be a great halfway field.
Aren't documents on dropbox supposed to be encrypted?
There's a video of someone playing Shadowforge and Wraith on YouTube: https://www.youtube.com/watch?v=o7py_FGQ5tU
There are a lot of platform specific solutions (neo4j, networkx, Core Data, etc) but I'm not aware of a generalized solution. I would like to know this too, because I'm often constrained to certain languages/platforms but would like to use something like neo4j.
48 hours that changed the future of rainforests
Traditional books on paper open a new chapter of success
Twitter Is Pushing Celebrities and Publishers to Stop Using Meerkat