skysight-inc/HackerNews huggingface dataset:
the FBI are honorless cunts.
Well it depends on what you're building surely? Anything with relational data would fit in a RDBMS more than it would Mongo.

E-Commerce is one area that isn't `ancient` and that would need the reliability of a traditional ACID compliant DB like Postgresql.
> Now that most syntax ideas from TypeScript have been added to ES6.

By 2012, most of what's in ES6 had rough consensus on; TypeScript was just implementing what was going to be in ES6, rather than ES6 taking it from TypeScript.
OK, so they might have added also a Firefox plugin that infects the Mozilla trusted CA list as well.

I guess Firefox should block that plugin as malicious.
These are all very good reasons for not bringing out a mobile phone. There were well liked and established brands: Nokia, Motorola, Erickson, Blackberry. There was a glut at the cheaper end.

I have no idea if Apple are working on a car or not. I doubt they would revolutionise the car business any more than they revolutionised the phone business.

But for Apple to make a big dent in a sector that is highly technical but with significant brand and aesthetic factors? That doesn't strike me as being very far fetched at all.
It's not necessarily that the two concepts never shall meet; Racket, Heresy, and F# all contain for loops, but there are crucial differences in how the former two handle them vs. how for loops are usually used in other languages.

In most languages, the usefulness of for loops is almost entirely contingent upon either mutability (in the form of some accumulating variable and/or explicit alteration of program state) or on side effects like I/O routines. Partly, these things are often only necessary because the language itself doesn't handle recursion well; why use a for loop to generate a factorial, for example, when I can simply call the function again?

However, you can get something an awful lot like a traditional for loop, while still staying relatively functional pure: in Racket and Heresy, for loops are actually just some familiar syntax sugar layered on top of what's actually a recursive function. They actually become an abstraction over a very common pattern in Lisp languages: the let loop.

In Racket, often times I still need to accumulate some value over successive computations, but I don't necessarily need to build a whole named function to do it. In those scenarios I can make a let loop, which looks like this:

(let foo ([var 0]
[l '()])
(if (> var 10)
l
(foo (+ 1 var) (cons var l))))

If that looks a lot like a for loop, well, that's because it basically is! It's just the recursive, functional method of writing a similar pattern. Rather than having to rewrite that pattern over and over again in our code, Racket provides a whole range of built-in for loop styles, so that the same pattern can more simply be written:

(for/list ([x (in-range 10)])
x)

Underneath, it's still the same functional code (well, with a lot of other toys to allow things like breaking on a condition, skipping entries, etc.). Heresy goes a step further towards simplifying the huge breadth of specialized for/functions that Racket uses, allowing you to write a for loop in a functional style while explicitly defining your carrying values. So you can write stuff like this:

(for (x in (range 1 to 10) with '())
(carry (join x cry)))

Which seems more complicated, except that you can use that 'with' keyword to define any starting point for the 'cry' variable you like, meaning you can easily write all manner of different patterns with the same basic syntax.

There are of course complications with this; the functional for loop is great in dynamically typed languages but it can be tricky to correctly type-check, which is why in Haskell it's a monad-y thing, and in Typed Racket there's a number of bugs still being worked out for handling the for loops.

Still, the two aren't necessarily mortal enemies, or explicitly imperative or functional, it just takes some thinking about what you wish to do.
> I purchased an iPhone 3G because it was among the first phones to support fast internet connectivity

You're joking? The original iPhone was mocked for not having 3G because that was a pretty standard smartphone feature by 2007.
The American system of piling up charges sucks so hard because it's so easily abused, especially when you live in a country where anyone commits 3 felonies a day [1] due to shitty and complex law.

When things have gotten so bad, Americans should take example from other countries and only count the biggest charge when sentencing someone to prison. Minimum sentences + abusive plea bargains don't help the current system either (they do help vengeful government tax-paid employees, though, in destroying the life of anyone they wish).

[1] - http://www.threefeloniesaday.com/Youtoo/tabid/86/Default.asp...
Why the move away from ORMs? I've certainly banged my head against the wall with them any number of times, but I wouldn't want to give up the compile time checking of queries when I make a db change.
The problem with client-side certs is that things go through a queue, yeah. CSC are only secure to the server, not to the other device. You're right about the replay attacks, that's why I include a timestamp. Since commands usually take less than a second, it works well enough, but sequence numbers work too, yep.
Incompetance probably. They didn't realise that it would be that much of a bad thing.
Yeah their official site is little cryptic to read. Try this http://www.integralist.co.uk/posts/bem.html
Learn how to view a certificate in Chrome or Internet Explorer:

https://support.google.com/chrome/answer/95617?hl=en

Then look to see if the certificate for a secured site lists Superfish:

https://twitter.com/kennwhite/status/568270748638318593/phot...

(That doesn't prove it isn't on your computer, but it will show if it is actively intercepting your connections)
Yep, you need at least a shared secret that isn't published anywhere for sending the events (reading them is fine if you're public).
The iPhone 3G was about five years late to the 3G party in 2008. :)
As far as bringing things to the table, Apple have out-maneuvered every other manufacturer of devices they compete with in each each respective market.

The computer as a center of lifestyle is pretty much Apples' domain at this point, they defined it as a domain over decades of work, and they are a market leader. And I believe - given the nature of Apples' history, as well as its clearly stated goals to revolutionize the way humans interact with the world, which is a spiritual asset - it only makes total sense for them to start applying their dogma to other realms.

An Apple car, an Apple Jet, Apple rockets .. why not? In the end, if the same thing happens to [product] as happened with computing, the "Apple Way" may .. very well .. be an appropriate contribution to the next few hundred years of manufacturing.

(Its the "Apple 3D-printer/molecular-assembler" that will truly kick the religion up a gear..)

Its going to be super interesting to see Tesla and Apple in 5 - 10 years time. Or maybe something else that rises in all this serious industrial privilege that we're all a party to.

If it were possible, I'd put on my TeslApple googles, don the TesLevi protective suit appropriate to my rank, crank up the Goojuice, hit the power button and go 'bong' in unison with the rocket engines as we watch Brain'oSoft lifestyle movies on my way to LEO-station Alpha Jobs.

Since thats just a fantasy, going for a ride in a rich friends Apple Car will suffice. Hope it happens.
I think the bigger manufacturers are now pushing vehicle platforms from 7 to 10 years; with mid-cycle refreshes hitting every 3-5 years.

Full development includes a new platform / new engine. Mid-cycle refreshes are only updates to the exterior / interior, with some potential refinements to the platform and engines.

Theres finally been a shift to modular platforms too - VW's MQB/MLB is the first that comes to mind and it covers pretty much their most popular sellers in the entire group (Skoda through to Audi).

The smaller manufactures (Mazda, Suzuki etc) are definitely more aggressive, new models hitting every 5 years with a refresh every other or third year.

It's also a bit more complex because the development of engines / platforms / vehicles isn't always synchronised; so what does happen very often is that a brand new vehicle is release, then some time later it comes with additional engine / transmission options, followed by a facelift, followed by a platform update, and so on; so you never truly get an "all-new from the ground up" vehicle that often.
Mongo does not give you transactions.
The New Pleasure Principle: GPS-Enabled Sex with Strangers
"3 felonies a day" is more of a marketing tagline for a book than it is any sort of meaningful fact.

edit: http://skeptics.stackexchange.com/questions/22530/does-the-a...
Liberty vs. security: a human-sized case
U.S. Marshals Are Selling 29,656.51306529 Bitcoin
> Toilet flushes: a significant change in the frequency of toilet flushes may indicate the spread of communicable diseases such as gastroenteritis, or community health problems like food poisoning.

Well, you can't learn anything from just a number of today's flushes. With a proper chart graphing frequency over time and emphasizing changes, sure. But that's not what you get on the dashboard, at least without clicking. The lone number is useless.

> Apple-z: Clearly someone is having a lot of problems with whatever software they are using. There is a UX optimisation opportunity there.

Well, maybe. You can't tell from a lone number. Again, the graphs you can find when you click around could be useful, but not what you get by default.

Information is useless if it doesn't help you make decisions.
I really really really like Knex. While Mongo claims to be "easy" and "js-native", It's far easier doing complicated queries with Knex on Postgres than on Mongo with the official client.

I work on a mongo project and doing aggregate queries is really ugly and painful. Everyone praising mongo probably never made "advanced" queries like that or dismissed SQL as shitty and unsecure without ever using it.
Show HN: Station, Tumblr analytics that supports charity
Intoo “reddit but nicer and more gen. public” 30 places left for the private beta
I'm a writer. As much as I work on my craft, when I sit down and put my fingers on the keys I'm not doing any of it. 95% of what I write I have no conscious decision in making.

I remember completely scrapping a 1500 word piece, rewriting the whole piece and resubmitting it to my editor. He was amazed I did it so quickly, I was quite disturbed I'd written the whole thing with barely an iota of conscious thought going into it.

I don't think I'm riding shotgun for my consciousness, I think I'm a kid in the back of the wagon.
It could simply be a case of disillusionment at Tesla. Also Apple employees are known to leave Apple, either to start a company or for a sabbatical but then go back to working at Apple once they're done.
I'll add I've witnessed bad mechanical design from Lenovo.

A friend bought a $1000 laptop (U330 touch) from them and a piece of plastic holding a hinge broke. When I looked at it, it was clear that the part could have been 10 times (yes, 10) thicker without adding much weight (about a gram I guess) and probably zero cost.

I find this mistake nearly unacceptable but the evil part comes when you ask for warranty and they tell you that you must have done something wrong, why would a hinge break otherwise? And you accepted the warranty terms, so its their right to say so.

Quality control also was an issue as the laptop first came with a malfunctioning keyboard and a non operating touch screen.

So yeah, now is not a good time to buy anything from Lenovo.
No, no, no!

We can't just dismiss this sort of behavior because you can reformat the computer and "Result: no bloat and no malware". They need to learn that people won't let them get away with this. So no this is unacceptable, I too will never buy nor recommend a Lenovo product in the foreseeable future!
I've used both Bootcamp and Fusion for running Windows 8 and 7 (client insisted on using some Excel files, and some of the plugins only worked on Windows Excel...) and found both really quite pain free. In fact, whenever I can't get away with OpenOffice, I just use Fusion/Excel as a standalone app.

In fact Fusion on the MBPr was the first VM app I used that didn't suck; I used to run various VMs in VirtualBox on the XPS which had, in theory, the same specs and a better CPU and the lag was worse than ssh into a server on the other side of the world (not to mention the overheating)...

I hear you on moving away from Linux. You do get a feel, often, that OSX is consumer oriented and just "gets in the way". On the upside, when you need stuff, you can usually find it quickly and it just "works". That's the ecosystem. Still, if I was to go back, it would STILL be on a mac. One of my former colleagues wiped OSX and installed http://nixos.org/, so I'm sure a more popular distro would work out.

The thing is, well, this will sound like every other Apple addict out there, but, the hardware quality really makes a difference, and it is quite hard to explain. The MBPr is the first machine I've ever used that feels "perfect", as if they got everything right. And with most of my work done on the cloud anyway, I didn't need absolute top line specs; portability and things like battery life mattered more. Amongst the other machines in the house is an X230, which I wanted to get and boost instead of the XPS, but it feels almost ten years older.

As for price, in early 2014 I spent a few weeks looking for a good standard dev laptop for the company (which I've since left) and got a good feel for the alternatives. In raw specs, you can get a cheaper "laptop", something that will fit a backpack and work for a while unplugged, yes (think W530). If you need portability though, all ultrabooks at the time were more expensive if specced to the same level. We did buy a couple W530s and upgraded them a bit (32GB RAM, etc.) and all their users ended up using them like desktops. I do not know if this is still the case, probably not, but I've seen many nominally more powerful "ultrabooks" (like the YogaPad, whose user assured me he had better resolution than me) fail in other ways; battery life is one, creaky joints is another. It took me a few more months before I got over my psychological block and got the base spec MBPr when it came out in August... One thing to note is that there are corporate discounts; if you or your friends are employed by a big corp, you can save a few hundred. Also, the upgrades are REALLY expensive compared to alternatives - why pay 300 dollars for extra SSD when you can get an SSD-grade, flush-with-the-side card from Transcend on Amazon for under 50?
Electric Motorcycles/Scooters/Mopeds are awesome. I could totally see a suite of such things with the Apple logo on them.

Don't forget though, that there are already some very badass, nice transport systems being made:

http://thekneeslider.com/dechaves-garage-dch-project-a-naked...
Soon announcing Boost and Android programming support.
Killjoy :(. I thought the whole point of IoT was to be able to flicker your neighbour's lights, turn on music on your crush's radio and flush random toilets remotely.

(I'm only partially joking. Security and fun seem to be mutually exclusive.)
Just repeat, “Never ascribe to malice that which can adequately be explained by incompetence.”

They probably didn't figure out that anyone would have a problem with this. For them, it's just a cool gimmick to get some money. That it is a gaping security hole which makes about 0.42 % of user population mad, probably never occurred to them.

Unfortunately, for the 0.42 % (that is us, reading this site, and people of similar interests) it will be hard going to explain to the next 4.2 % why this is so bad. The remaining approximately 96 % of population will stay largely uninterested.
NixOS, Consul, Nginx and containers
How 2 Guys in Ireland Bootstrapped a $14M SaaS Business
Deconstructing Continuous Quality Process
Constant borrowing like this isn't uncommon for farmers and other agricultural producers. You need to pay for things like feed, seeds, livestock, fertilizer, electricity, machinery, &c., every year, and that's a large capital outlay, and they have to wait a long time to be able to deliver on that, be it harvest, lambing season, whatever.

It's things like this that lead to the creation of futures, and effectively, that's what these farmers and Credem are engaging in.
Unfortunately, some people have a different concept of fun from ours :P
That's a good point, since i'm no expert in security things, I'm struggling finding an adequate solution.

We have a private token, that the arduinos post along with the measure. It seems enough for our use case, but not at all for sensitive data.

Security in IoT is a big concern, an I need to know more about it.
6 Types of Tools Ad Agencies Need
My serious start in anti-Communism began with reading in 1971 +- a couple of years a Reader's Digest condensed version of one such "spy's" autobiography. He was entrapped and forced into becoming one, was caught almost immediately upon entering the US.

One of the strong and unquestioned implications was this sort of entrapment was wrong, and one of the things that distinguished the US from the USSR. Fast forward to Ruby Ridge, and Randy Weaver's refusal to try to become an undercover agent against a group of white supremacists, which he was not, and they knew that and hated him with a passion, i.e. it would have been suicide, brought the full weight of "the law" on him, resulting in the Feds murdering his wife and son.
This is a clean looking dashboard! Nicely done. Is it a live demonstration? If so, what hardware do you use or do you have any blogposts about it?

I'm curious about a lot of things, like how did you integrate this with common hardware? (eg. the widget with footballs used)
You need to read up on futures contracts. That's essentially what's going on here, but the bank is providing a secure location for the product to mature, and given the nature of the product, that's a sensible step for all involved.
Inbox for iPad
Mongo is great for when you're rapidly developing a product and/or still operating at a small-medium scale.

Once you start to really scale, you'll start to find a couple parts of MongoDB break-down:

1. MongoDB has no concept of transactions and is not ACID compliant. These short-comings seem innocuous enough at first, but you end up with some crazy potential race conditions that you just end up praying you never face.

2. Distributed MongoDB layers are difficult to implement as well as maintain.

3. MongoDB Replica sets are unpredictable and unreliable in the speed at which they are able to stay up to date and require changes to your code to fully utilize (since you need to ensure you are always reading from a replica when you can, but only ever writing to the master MongoDB instance)

4. At scale, MongoDB will consistently perform worse than Postgres for CRUD-based operations

5. Do you have true relations between documents? Do you ever use Mongoose's convenient `populate()` functionality? If so, you are now making multiple db queries in series when trying to fetch a document(s) from a single collection. This starts to really hurt your query times once you get enough documents/relations in your mongo collections.

I'm sure I'm missing some, but these are some of the areas where MongoDB has fallen down for me in the past.
There's a whole chapter on mathematically troublesome graphics in How To Lie With Statistics.
J.K. Rowling’s Magical Writing Hut and the Pursuit of True Depth
(Uplifting) trance, preferably no lyrics, for me.

Post metal (again no lyrics ) on bad days (more than a year since last.)

Maybe someone with higher level account can make a poll?
My own experience makes me suspect the same thing. I used to work for a company that was, at the time, trying to develop a privacy-enhancing product (ironically enough...) which did something somewhat similar (although not on the size of this fuckup -- they'd be intercepting, but not tampering with, encrypted traffic, and storing encrypted private data).

Virtually everyone in the engineering team raised a flag when the imbec...uhm, the Product Manager came up with the idea. We pointed out that a) this burdens us with the responsibility of storing sensitive data which can, at least, have significant legal implications and that b) even if it's encrypted data, it may be a little hard to market a privacy device that works by uploading user data to our server as a first step without being transparent about the whole process. Oh, and c) that the data recovery mechanism he proposed (which involved storing the users' private keys on our servers as well, just in case they lost their precious little gimmick) was, in this case, entirely retarded.

The whole thing didn't even make it to Legal, because everyone in the decision tree just thought that since there's no plaintext data being stored, there's no potential for a lawsuit (and when we told the PM about Lavabit, he came back two hours later saying he Googled it and that we're covered since we're not an e-mail provider). The bright heads in Marketing weren't exactly sure about the whole transparency thing. They thought we should keep it simple and just tell people that their data is safely encrypted and be done with it, because end-users don't need to know about tech mumbo-jumbo like encryption keys and all that.

I don't work there anymore (thank God) and they haven't launched in the meantime, but when I left, they were basically working on implementing this clusterfuck.

I'm sorry I can't be more specific than this (for obvious reasons, I hope). The point is, however, that decisions as complex as these (there's a stack of paperwork thicker than the Osbourne-1 involved in preloading anything on a laptop) are made through an elaborate process, not made "by mistake".

Someone knew there was a problem. The problem may have ended up misunderstood or washed out along the decision chain (although I find that fairly unlikely), but someone, at some point, decided this was ok.
> But I am wondering who is using SQL based DBs

Maybe if you are working with data which inherently has a relational structure using a relational database makes sense. Maybe if you need to ensure transactional consistency, you want to use a data-store which is ACID compliant.

You know: There's no silver hammer. Use the right tool for the right job. Etc etc.

Just a though. A sprinkle of old man's dust onto this new hip generation who thinks JSON solves all the problems in the world.
Can you specify why they went from Python to Php to Sharepoint?
Indeed, I use and appreciate freefillableforms.com. Sorry, I should have clarified that I was talking about the state government tax filing process not having a free electronic submission process (at least for the three states I have filed in recently).
I would love doing this -- as long as I felt like I was helping somebody. It's a shame the system can't be set up so that you propose an idea/project, then depending on how many people express interest you decide to proceed or not.
Also my project ljsyscall https://github.com/justincormack/ljsyscall - you can run this on bare metal on Xen and other platforms too as well as under Linux/OSX/BSD.
> It's valid until you find a solution to this problem.

The balance between predatory and counter-predatory behaviour is the story of life on earth and human civilisation.

There will never be "a" solution.
Really nice.

Some glitches in desktop Safari 8 and it crashes my poor iPhone 4S repeatedly.
Any chance Rdb plans to support a traditional callback style interface for those of us that prefer to stay away from promises?
> (I assume the linked code is not copyrighted, if it is, please let me know and I can take it down).

it probably is, but by the look of things one can safely assume that they can fuck off