skysight-inc/HackerNews huggingface dataset:
A related read, titled Why You Should Never Use MongoDB:
https://news.ycombinator.com/item?id=6712703
> Does anyone else feel like this is reinventing the JVM Garbage Collection technology - which has at least 20 years of calendar experience and countless man hours of engineering research in the real world?

No, because GCs optimizations are very dependent on the semantics of the programming language.

There isn't something like a general purpose GC algorithm for every type of programming language out there.
> Plus with NSA mass surveillance, DNS makes seeing what domains you're visiting and building a "picture" of you as an individual absolutely trivial. The IP addresses still may help them do that to some extent, but it certainly becomes very easy if they can see your DNS packets.

FYI, there is a working group within the IETF working on the issue of providing confidentiality to DNS transactions. It's called DPRIVE and more info can be found here:

https://datatracker.ietf.org/wg/dprive/charter/
If you're building queries in ANY language by concatenating strings you're doing it wrong.

In a sane language that query might look something like

cursor.execute("select field from tbl where long_obtuse_column_name=:foo and status != :status", foo=query, status='open')

All parameters are properly escaped by the api of course, so even if foo is "'; drop table audit; " you don't have any problems.
Well, she did prove one point though. She's not a customer for these things and doesn't have first hand understanding of that market. So she's got that going... :P
Facebook rejected our product screenshot from an ad for containing FB imagery
Ask HN: Has anyone had success with Canada's startup visa?
I wanted to know if anyone here has success with "Canada Start-up visa" program:
http://www.cic.gc.ca/english/immigrate/business/start-up/index.asp

And if so can you share your experience here? they time it took or any info that you think it is useful for others interested in this program?

Thanks
SaaS Tools for Improving Company Culture
In my experience, it's great to start with ORMs, and they help you go really fast, but if the project is important then sooner or later you're going to find a case where you need to go around it and write custom SQL (probably for performance reasons).

And that's fine, but it does mean that you should pick an ORM that plays nicely with that workflow (or otherwise design your ORM to be compatible with it). Back when I was working with Perl I found that you could do some pretty good stuff with RoseDB -- it could load objects from your custom queries and they'd still work like normal ORM objects (i.e. you can load related objects from them). I've missed that capability on several occasions since.
Your view is completely unsupported by the evidence. At some point you have to work with the filesystem, or the network, or other I/O systems. These have OO interfaces. According to you, these don't exist, or are somehow not OO. It's a purist attitude that does not fit reality.

You must know the performance characteristics of your API. OO says nothing about performance. Sure, it's possible to have a random-access/list-like interface to a set of records ... on a file system, and assuming you're willing to take the initial hit for indexing should you want to seek to the end. But this assumes you are working with a file, and not a tape drive, socket, pipe, keyboard or other interface.

It also assume that memory is infinite. You do not get a "list of entries", you get an iterator (notice the "-or"!) of records. A reader doesn't know if you have enough memory to provide a list. A list does, or it had to provide a lot of work to fake it.

If you don't care about performance, memory constraints, latency, and other real-world factors then sure, your idealized world could do what you want. I don't live in that world, nor do you, nor does it seem that we'll get there in our lifetimes, nor does it seem reasonable to get rid of readers for the contexts I've mentioned, nor does it seem that people are confused by the "reader" suffix.

Again, I ask for your names that distinguish between something which reads from a streaming interface (what I call a reader) and something which supports random access lookup (what I call a list). I gave code; they do different things. You suggsted "list" for the first one; what do you call them?

I also asked you for what you think is the right name for a "generator".
Because it's kernel-side SMP support is basically from the 80s

Because getting commercial support for it is hard

Because getting drivers for it is hard

Because ..

Lots of reasons, nothing to do with feel-good or whatever else. OpenBSD's focus on security is commendable, but it's not the only reason you'd pick an operating system.
Design process for Apple Watch
The Mozart Programming System
As a hiring metric, nothing can beat open source.

I don't agree. Only a small segment of the talented programming folks I know do open source contributions.
Symptom: fears that the AI will (in the near future) be writing programs for us, so why bother...

Remedy: ?
Well...I can compile Java code to native code just as well, which many in HN seem to forget.

Just because the option isn't part of OpenJDK, doesn't mean other commercial JVMs don't offer it on their toolchain.
Quantity begets quality. I'd rather give 50 researchers 10 million each than give 500 million to one researcher. It's unlikely a single person is going to solve such a complex problem alone.
I was talking to one of my best friends who also happens to be a coworker the other day, and I said "Hey, if you're ever a victim of sexual harassment, what can I do to make you feel comfortable with coming to me so that I can attempt to help?"

She said "Nothing, really. The problem is that most harassment isn't blatant, it is hidden and not obvious. It's like a feeling that you get from someone. I can't tell you how many meetings I've been in where the person on the other side of the table is regularly looking at my boobs. What am i supposed to do about that?"

So my follow-up question to OP's is: what is she supposed to do about that?

I'm a hetero white male manager. And I have no idea how to answer that question.
You are the only one so far, you might want to look up what "overwhelmingly" means :-)
Riak is amazing and actually scales. But I would only use Riak for high-volume data storage (similar to S3).

FoundationDB looks great, I haven't used it yet but they appear to have their heads on right.

PostgreSQL, the newer versions, have indexable BJSON data types so you can get the same exact behavior from Postgres as you do from Mongo but with a true RDBMS along with it, a dependable storage engine, etc...

Postgres is harder to scale horizontally though - if you have really high-volume data writes, you should be using something else for that.

I typically use PostgreSQL for all of my highly "structured" data and Riak for high-volume and "flatter" data (Postgres also often serves as an index into those objects).
Right Now: Reddit AMA with Tim Berners-Lee
ZoomCharts at the Mill Riga
MongoDB is a great database and has a really good set of client tools. It has a learning curve and it has not been without problems but I have loved it at a past startup and would absolutely use it again. If you try it out and find you like it, I'd really suggest getting to one of their MongoDB seminar days. They tend to have good speakers and for sure you'll learn something new about databases and MongoDB.
Sandy Hook: Victim's family seeks trademark protection
Previous discussion: https://news.ycombinator.com/item?id=6770698.

LuaJIT certainly is a work of art, but please don't rewrite titles unless they are misleading or linkbait: https://news.ycombinator.com/newsguidelines.html. (Submitted title was "LuaJIT: A piece of art".)
Postgres for structured data, Riak for high-volume and flatter data, and TempoDB for high-volume time-series data.
There is only one NoSQL database satisfies all following requirements:
1. easy to use
2. reliable
3. transaction support
4. easy to scale
5. eays to build indexes

It is BigTable.

Generally, if your data is not very large, you should use a SQL database. NoSQL is mainly used for easy scaling, not for its schema-less feature.
I live in the Bay Area, where majority of people are pretty liberal. And what I noticed is that when people are talking about general stuff, they are all for equality, etc etc. But when it comes to their own issues, for example where their kids go to school, they are very bigoted and unashamed of it. I've had many conversations around cocktails when people would say pretty racist things about the composition of kids at a local public school.
Also true for large coding projects. At some point, you have to identify the components that will need to be built and portion them off into approachable tasks. In this case, the first task is agreeing on the 'heretofore unsolved problem' -- that hasn't happened yet.

Discerning invested participants from trolls might help.
Just because people disagree still doesn't mean it's harassment.

Also, nearly this entire post's comments are debate. There are people on both sides. This issue is not black and white, anything but. If you read some other comments, you will see it's not so "overwhelming." A majority, yes. Overwhelming, no.
For learners and teachers of English go to the podcast site
You forgot DragonflyBSD with its HAMMER filesystem, virtual kernels, etc.
I didn't quite understand the whole concept. The idea in Schuko plugs is that you cannot pull the cable out of the plug. It's totally fixed (either inside solid plastic, or attached with a strain relief that fixes it).

edit: now that I think of it, Schuko plugs of the install-yourself kind where you can attach cable with a screwdriver (not solid plastic with the cable) are done so that the earth cable is longer than L/N are inside the casing.
Fixed in what way? I prefer Apple's Mail app, but I use the Gmail app when I want to look at a label or something, and it seems to work fine.
No comment.. (facepalm) and bad PR.
I wouldn't bet on us mere proles not being the product - one promising route to rejuvenation is by transplanting tissue or tranfusing fluids from younger people into older people.
> No-one ever migrates their db unless they really are in some sort of serious shit.

I've been involved in several migrations. All of which were planned over years in some cases. There was no "serious shit" at any point in the process.

One popular reason for migrations is licensing costs (e.g. escaping Oracle or IBM), or due to mergers where the other company had a different database system and they wanted to consolidate both technology but also expertise.

> I'll also guess you've never done it because the EF + MySQL = a world of pain.

I've never done what? I've never done EF with MySQL. I never claimed I did however.

I've used EF with other database systems including Oracle 11g, MS SQL (several), and other integrated it with some smaller database systems that had EF providers available.

> MySQL does not like nested queries, the EF uses them like they're crack, one of the reasons the SQL it produces is so hard to read.

You, the developer, formulate the queries. If you're seeing excess nesting then examine how you're doing things.

> I'd guess that the EF + [any db that's not MS SQL] probably suffers from similar "holy shit why did the DB just die, oh it's the EF" problem.

That's not been my experience. While I have found some other EF providers "limited" compared to Microsoft's provider, most of the problems encountered were due to underlying bad configuration or bad entity layout rather than EF itself. I will say Code First is significantly better than EDMX-style modelling. In particular in larger projects (the Visual Studio designer kind of sucks).

> mainly because you have no idea what convoluted SQL it's going to spit out.

It is very easy to see exactly what EF spits out. You can even pipe that output all over the place (e.g. error system, performance logs, etc). There's no excuse for being ignorant of what EF is doing under the hood anymore.
Yes, "Excite" is probably not the right word to use there. I share a wariness towards too much "excitement" about a new DB (I never really trusted Mongo and only used it to play with). In this case I don't see postgres as "new and unproven" but rather "proven and pushing the envelope" which is what excites me.
BJ Fogg, excellent resource for triggers and habits.

i.e. it can explain Kit Kat sales increase (office trigger: grab a coffee, eat a Kit Kat)
https://vimeo.com/7816626
As far as I can tell, the offence here is that he used privileged information (contact details from her job application) to contact her about a personal matter (the date).

Once her application was rejected there ceased to be a meaningful power relationship. Some people seem to be implying that there remains a professional power relationship since she may choose to apply at the company in the future, but I doubt that has any practical or legal teeth. The same could be true of all her potential future employers OR her future employees, vendors, customers, etc...

So what he did was creepy and unprofessional, yes. But let's understand why and to exactly what degree before deciding what the appropriate response should be.

Personally, I would contact the HR department and inform them that I didn't appreciate company employees using the contact details from my application to solicit me for a date.
ICC World Cup Cricket 2015
Sure ,if you're willing to pay $3000 per seat or use something free that hasn't been updated to the latest JDK. And it doesn't come with a guarantee of a lower memory footprint.
Remember the $100 diamond app? Status products work.

Also what if the whole point of the watch was to get hype.

"Pfft. $10,000 apple watch, what a rip off"

... 3 months later...

"Oh, An apple watch for $60? Why that is a much better price than that awful idea of the $10,000 watch"

Marketing win.
Correct, this is taken from New Relic's APM service.
When is the ARM support coming?
Although I haven't developed hardware, I feel that hardware development suffers from rigidity.
Is there noticeable progress of development not manufacturing in last 10 years?
It seems that hardware developers often complain about VHDL and Verilog while continue to use them because they are only actual options vendors support.
I found netlist format such as EDIF seems assembly language for hardware, but I also heared that vendors need to produce their own custom netlist from souce of VHDL or Verilog.
I suspect that processors could evolved more than pace of Moore's law if tools have accumulated developer's creativity.
Mongo is rarely the answer for high performance, high transaction systems. I use it quite happily to prototype applications due to it's very low boilerplate overhead.

If you need schema-less data storage in a "real" database, use PostgreSQL's JSON type.

http://clarkdave.net/2013/06/what-can-you-do-with-postgresql...
How Much Should You Pay Your Engineers? (Infographic)
> Aging is the number one cause of suffering and death in old age

Correction: aging is the only cause of old age.
I imagine "whole industry" == Silicon Valley?

I am yet to do any project that doesn't use SQL servers for data storage.
You really don't think stuff like this moves the dial at all in a developers mind when deciding whether to focus on Android or iOS?
Ask HN: $5K-15K “innovation facilitation” purchases my enterprisy corp can make?
Have some funds that need to be spent so any ideas for tools or tech in the $5K-$15K range?

Think stuff like language processing, social media analysis, "big data" tools, software development quality or productivity enhancers, visualization libraries, anything neat/novel/cool, etc. etc. etc.?

Maybe your startup is selling something I should know about?

Thanks in advance.
Ironically, there are a few Calvin and Hobbes comics about this: http://i.imgur.com/nv6mLAE.gif
That's really cool. It looks like the ARM is doing the heavy lifting, though, and is supplemented by custom hardware (likely Xilinx's many hardware IPs) that the ARM farms things out to. I'm not saying this sort of thing has no place, and I think it's awesome, but you need the ASIC processor for this to be fast. This is perfect for Zynq because of the built-in ARM. You are right that it is also possible with just an FPGA, but FPGA logic is an order of magnitude slower than ASIC. People still do this sort of thing with soft processors though. Probably a lot.

The limits of this is you're not making custom IP, but rather using a library of digital logic designs provided by Xilinx. Which works well for a lot of use cases, but it's not on the same abstraction level as actually describing the hardware itself.
Thoughtbot now offers Rails coaching
Uhh, does it have neither a month nor a week view or am I missing something? You have to scroll, no way to get an overview?
So we shouldn't try? Just give up?

Sorry. I'm not defeatist enough to do that.
If you have pause of only 10ms it's pretty good even for a gameserver.
10ms is 100fps ( server side ) the only game server that fast I know of is the source engine with CS:Go.
Of course status products work. The author does a horrible job of showing why a status product works. A year of gas heat for a home is not a status product.
> One of the companies I worked at actually made a game out of leaving your terminal unlocked. I can tell you, after a few days of your colleagues kindly laughing at you returning to a screen full of Internet memes, you instinctively Ctrl + L upon standing up, even if it's to walk to the windows to look at the view.

This was unofficial but standard practice at a support center I once worked at. It was a terrible work environment for other reasons, but individual computer security was great because the new guys very rapidly learned that leaving a computer unlocked left you a prime target for background changes, YTMND pages hidden behind other windows, the Dell ctrl+alt+up thing, etc.
Top 100 stories on HN in February
That's not really a possibility, it's just your desire to see Bitcoin go down. I don't know why there are so many people so salty about Bitcoin.
> I haven't heard many alternatives (in general).

From tptacek's FAQ ( http://sockpuppet.org/stuff/dnssec-qa.html ):

> What’s the alternative to DNSSEC?

> Do nothing. The DNS does not urgently need to be secured.
> All effective security on the Internet assumes that DNS lookups are unsafe. If this bothers people from a design perspective, they should consider all the other protocol interactions in TCP/IP that aren’t secure: BGP4 advertisements, IP source addresses, ARP lookups. Clearly there is some point in the TCP/IP stack where we must draw a line and say “security and privacy are built above this layer”. The argument against DNSSEC simply says the line should be drawn somewhere higher than the DNS.
What makes a user "high-value"?

As a friend of mine just joked in irc, this is Klout-as-a-Service.
> Is MongoDB useless as a database, or are people being bitten for thinking it's a silver bullet and throwing it at every problem?

A bit of both really.

NoSQL databases allow for rapid prototyping, as do weakly and dynamically typed languages. It's amazing if you want to just get a product out of the door. NoSQL is the short term answer. And MongoDB is the answer if writing your data to /dev/null feels like a good idea to you..

However, strong typing and regular databases offer consistency. You have no way of going wrong because it would have refused to compile twenty times before you even think about pushing your (wrong) code in production. Sure, you can force yourself to get such consistency in MongoDB. But first, it's pretty taxing mentally, and secondly if you're doing that, why not go the way of a relational DB which offer you tools to enforce that and is faster ?

KV columns in databases feel wrong to me too, I feel dirty using PGSQL's json storage because I feel like I'm throwing normal forms away. But at the end of the day, what matters is that your product works.
Testing for the Strawhorse Backdoor in Xcode
Tips for Public Speaking
"Hi everyone, I just heard about Bitcoin... And I'm here to fix it"
By some wonderful coincidence I need to implement antialiased line rendering this afternoon. Previously I'd done the 6-triangle method (but I also rasterized any kind of path with all sorts of fancy fills, and it made more sense for that).

Thanks for such a clear write-up and all the links.
Awesome, Thanks for the reply. My use cause is barely out of the "toy app" range. We only do a handful of events each year and they only draw around 100 attendants. We're talking a very small amount of data. When you do the PostgreSQL and Riak combo is it ever on the same/related dataset. What are you using at the application layer? I'm building this in rails and I feel like it would be better to store the structured fields in MySQL and the variant data in something NoSQL. But I haven't read much into using active record with two different persistence layers. That's interesting about PostgreSQL with indexable BJSON. I've only ever used MySQL, I really need to check out Postgres.
Much 18 hours so Uranus
Perfect is the enemy of the good. Change is made by small steps, not giant leaps.

That said, if you know people in the Linux community who are more qualified than one or more of the people in the TAB, totally encourage them to apply and encourage TAB to accept them.
no, I am in front of a computer all day, and already use my phone way too much. I got rid of my tablet because "do I really need it?"

being more connected for me is not a positive, I'm not looking to turn into a robot, I'm trying to humanize myself a bit more. more or less the same reasons I won't get Google Glass.
wow cool idea. I wonder what could be achievable in terms of precision with different frequencies on seperate speakers and 2 or 3 microphones; a paper(printed) or laser lit (on a surface) keyboard?
O Clube Da Meia-Noite: Sessão Da Meia Noite: O AMOR NOS TEMPOS DO CÓLERA
The cognitive load point is extremely important. It isn't that "weirdness is bad" but "your weirdness puts my brain in the position of having to do more work, using up precious fractions of my most limited resource: attention." People radically under-estimate the amount of attention we have available (and are then shocked and surprised when they miss the guy in the gorilla suit.)

So on this basis, weirdness is always potentially rude and anti-social, unless it becomes so common that it's no longer weirdness, but just natural variation. It's impossible to be "weird" anymore by simply having tattoos for example (at least where I live) because so many people have them that the presence or absence of ink is recognized as a completely ordinary variation, well within accepted social norms.

To be weird, something has to be outside of local social norms, and by definition such things call attention to themselves, each one using up 10 - 20% of other people's extremely limited attentional resources (because we can only pay attention to 5 - 10 things at once.)

As such, budgeting your weirdness wisely is simply polite and pro-social. We should be weird in ways that matter to us enough that they warrant the attention they will use up. People will differ on both the kind and amount of weirdness that exceeds this threshold, but the general principle that we should be weird wisely still holds.
And to add to this tangent: my friend Dana Simpson does a strip for Universal called "Phoebe and her Unicorn", about a girl whose best friend is... well, the title kind of gives it away. When the strip launched, they sent her the gigantic collection of All The C&H; she's never quite decided if it was in celebration, or a threat that she had to live up to that standard.

http://www.gocomics.com/phoebe-and-her-unicorn
“Tech” Can be Better