skysight-inc/HackerNews huggingface dataset:
I really like the Bose ie2 earbuds http://www.amazon.com/Bose-627476-0020-IE2-audio-headphones/...

While Bose is generally overpriced, these earbuds are the best I've found in the sub $100 range. The pair i bought has lasted 2 years despite my abusive use (shoving them in my pockets, tossing them around). And I like the sound almost as much as my overear Grados
Specifically for "analyzing of project structure" there does exist [MaDGe (Module Dependency Graph)](https://github.com/pahen/madge). You can generate some pretty nifty dependency graphs for your javascript codebase. I use it everyday when working on my game as I have a step in my gulp watch task that checks for any circular dependencies I may have introduced every time I hit save. It was a lifesaver when I made the switch over to browserify for my large game-codebase and found out I had a nightmarish dependency graph with a huge amount of cycles in it.
Two-factor is arguably the most important step, along with setting up app specific passwords.
Ask HN: Whats the worst startup idea you've heard, which turned out to be genius?
The API isn't stack-based. It's more like the Python C API, complete with reference counting (but note that actual memory reclamation is done through mark-and-sweep GC), except that instead of everything being a pointer to an object, numbers and booleans are represented directly, so a union is used to represent values.
>If I represent a creditor, I'm not going to care if your chickenshit small business is incorporated or not, particularly if it's just a professional services business like a consultant. I'll just sue you AND your corporation.

You can sue anybody you want. The question is always whether or not you can prevail. If you're just a creditor you would almost certainly be unable to get a judgement against the individual unless he did something stupid like spend corporate money on personal items.
- Destructors are very useful indeed. So is automatic reference counting: both drastically decrease the annoyance of certain styles of coding.

- Re: 'mechanical sympathy', encouraging raw pointer access and such is nice until you start caring about security, at which point the few extra instructions required to bounds check vector accesses are infinitely less problematic than the alternative; in C++ you can stick them in vector::operator[], not in C.

- C makes it extremely difficult to write efficient container types, due to the lack of templates. It's possible using macros, and I've done it, but the contortions and pitfalls inherent in the implementation of such macros eliminate any kind of aesthetic benefit. This encourages things like the use of raw {pointer, size} pairs over specialized types, which requires obnoxious boilerplate, and dumber data structures rather than smarter (e.g. linked list vs. hash table, when the number of entries is expected to be small - until suddenly it isn't).

- On a related note, templates in general, when used right, make it easy to generate highly efficient specialized code, useful not just for containers but in many situations. It's a blemish to C's reputation for speed that it has more difficulty doing that.

- Both languages lack proper sum types, which are a natural counterpart to structs; unions are nice but explicitly tagging them is entirely gratuitous unsafety.

- Sometimes you really just want short code, and not to have to cross every i and dot every t. UI frameworks are a particularly good example, where there are a large number of knobs to turn, and many more that should be left at their defaults, making it very desirable to (a) minimize the length of code required to turn one and (b) make it as easy as possible to leave things unspecified - encouraging the free use of default parameters and overloads, and making the repetition involved in global name uniqueness look pretty ugly. I think this paradigm can be improved upon in general, but I'm not sure C is the language to do so in.

Still, I don't think C++ is the future either, not even the improved-but-further-bloated newer versions. Nor do any of the other languages in the market do a good job at targeting the niche C currently excels at (including Rust).
Insulting a cop is actually a crime in Germany. But ironically, you're probably in less danger for doing it than you would be in the US, where it's technically your right, but effectively not.

In Germany, you'd get a citation and a fine. In the US you roll the dice on a beating, a night or two in jail, and/or a thought-up charge as retaliation.
The fact that Brown could have prevented his death by changing any of his actions is true, but irrelevant.

Imagine you insult a person's mother, and in response he gets upset and shoots you. I say, if you hadn't mouthed off then you wouldn't have gotten killed. Is this true? Absolutely. Does it make your death justified? Not in the least.

The fact that these things happen quickly and that you "just respond" is not an excuse for using deadly force when it's not necessary. Police are supposed to be the ones protecting us, not the ones getting us killed. That he killed Michael Brown when he didn't need to is an abject failure on his part. Maybe it was a failure caused by a lack of time to think and a failure caused by an innate response, but it's still a failure. I also have to wonder why Wilson got so close when opening his door in the first place, to someone he knew might be dangerous. If he felt at a disadvantage because he was seated in his car, why not stop some distance away, get out, and confront the suspect on a better footing?

You don't get to engineer a dangerous situation, then use deadly force to eliminate the danger and call it good. The fact that the other person participated somewhat still doesn't justify it. If Wilson had taken more care before he was in the middle of a fight then he wouldn't have been in the position to "just respond" with deadly force in the first place.
This is his baby, and he feels very strongly on this issue. I hope his board, mentors, and team members help pull him in a little. Reality is hard to find in your own distortion bubble sometimes. He is a really good guy, just stuck on this and not realizing how bad it looks.
Everybody knows: you have got to keep your worlds apart!

You have slipped up.
In NZ, if a police officer arrested someone because they were verbally abusive to that officer, he or she would not remain an officer for long.

Though here it might be different? Police always work in pairs and so there is sort of a peer driven enforcement of proper professional behaviour. Not sure if thats the same in the states.
My favorite thing while trying to read is animation.
Meh, it's not that bad for me; I have the help of my wife's parents, though.
It seems to me that consistent allocation patterns would help more if JerryScript used reference counting for memory management, perhaps with mark-and-sweep GC as a backup to handle cycles. As it stands now, each object has a reference count to keep it alive while it's being used by C code via the API, but actual deallocation is done via mark-and-sweep GC.
Do you have the patience to wait out a 6 week period of negotiation that might result in another candidate taking the job full time? If so, then offer terms to 5 companies simultaneously and take the first two that execute agreements. If that's going well, offer a few hours a week of engineering analysis and code review in return for right of first refusal on your original terms to one of the remaining three.
>And (if true) I wasn't aware that all immigration law is civil. I'd presumed that there was a parallel with "criminal trespass", but perhaps that phrase is itself a misnomer.

"If true"...like I said there are just certain groups/individuals who can not wrap their minds around the idea immigration status is separate and distinct from criminal law. The crazy thing to me is not even where these ideas come from, I guess it just doesn't matter, but the length people go to in order to maintain their present state of thought. Just do a simple Google Search of "is immigration law civil or criminal", you don't even need to click a result, Google gives you the Answer.

>Could you point to some sources that explain the difference between "unlawful", "illegal", and "criminal" as you understand them?

Its not so much as I understand them, as their definitions in a legal context.

"Unlawful"/"illegal" are terms that may be used interchangeably and by definition indicate the violation of a law (either civil or criminal), so all criminal acts are unlawful/illegal but not all unlawful/illegal acts are criminal. For example, the Court ruled that Apple unlawfully/illegally fixed e-book prices[1], yet that is not criminal nor to we go around calling Apple an "illegal company". That is the pejorative nature of "illegal" in the immigration context, where it implies criminality...in fact is likely the reason you didn't know immigration law is civil and presumed a parallel with criminal trespass.

Source: myself, but I can point you to Black's Law Dictionary, I feel confident their definitions will be consistent with my own.

[1] https://en.wikipedia.org/wiki/United_States_v._Apple_Inc
Ask HN: Need help validating offer from a startup
I have an offer to join a startup as employee #41 (#16 in my country) that received ~10M $ funding from a VC besides smaller investment from a few well established companies. They have offices in 3 countries and are into core engineering work. On the conservative side, they expect a 9x increase in value in 4 years. On the upside, it's 41x. Even if successful, I don't see the company lasting more than 5 years after which I expect the product to get commoditized and margins to drop at which point someone may pick it up. I have not been in the job market for 10 years and am not sure how the startup scene works.

1) Could anyone provide me an insight into how to validate their estimation of 9x and 41x? What information could I ask to substantiate this projection?

2) I have been offered the same salary as I earn now and equity value worth 1/3rd of my salary that will vest in 4 years. I can't help but feel this is less. Any thoughts on the offer and how I could negotiate better?

Thanks!
Their optional typing for JS is called Flow, and they've open sourced an IDE of sorts (a suite of Atom plugins) called Nuclide (http://nuclide.io/).
Sure, but it seems inevitable that some major player from the late 90's/ early 00's would have a significant influence on the state of the internet in 2015. I'm happier with where Google has brought us than if, say, Yahoo or AOL had been the leader during this time period.

That said, Google has helped bring us where we are today. It's still a fairly young internet, I imagine. Where should we take it? Google will remain an influential shaper of the internet for a while yet, but Google still doesn't control it.

How would you like to see the internet develop over the next ~25 years?
Personally I've found voice messages incredibly useful during transit (texting & driving isn't safe, and riding a bus bouncing over potholes is difficult to type.

WeChat supports address sharing which integrates to mapping, which works well. It support regular text messages to, and voice calls -- so your options are covered.
No this would be the definitive guide: http://www.kroah.com/lkn/
Yes I worked for a guy in 1998 who basically invented both salesforce and AWS and wanted me to join him as the technical lead. I thought he was nuts and told him no. Due to the geographical location of the company he couldn't find anyone else to do it and went back to fixing PCs.

Now I look back with regret.
Try using it on Linux or OS X. It isn't there yet.
zsnes (before the C rewrite) ran FFVI at full speed on a pentium 166 with 32MB RAM.

UltraHLE ran Mario64 full-speed on a celeron 300Mhz with 64MB RAM.
Spheric – The world's first predictive networking platform
Facebook. I was convinced this was a terrible idea until about 2007 or so, despite being on it since 2004. Still think it's kinda a terrible idea, but a billion people disagree with me. (Or perhaps it's more like a billion people agree with me but use it anyway.)
1. The smallest regular expression that contains the input is either:

The empty language + the positive examples

or

Kleene star - the negative examples

arbitrarily based on the number of examples in one set versus the other.

2. The only way for a user to know if the regular expression provided by the output is meaningful is to already know the regular expression that describes the desired state machine...or to knowingly accept that the output regular expression is based on rules that are not derived directly from the input and ideally to understand what those rules are. That's fine for sophisticated users who understand the context, but not for people who don't understand automata.

3. The end user gains nothing by withholding training data because the regular expression is deterministic. Withholding training data is only useful for understanding the heuristics of the generator and tuning it. The regular expression itself is simply right or wrong.

4. While automatic generation of automata sounds like the sort of thing that solves real world problems, the automatic generation of regular expressions of the sort programmers rely on seems more likely to produce bugs of the sort that arise when a programmer writes code that they don't understand.
Spheric aims to revolutionize the way we meet, network, and connect with other humans. Aside from dating platforms, social networking today simply connects people with people they already know, but doesn't come close to adequately introducing like-minded users to one another.

Spheric will integrate with those networks, and employ a proprietary algorithm to match users together based on interests, professions, location, and proximity to one another.

In an airport on an extended layover? Send a Pulse and instantly find people valuable to your professional network within close proximity to you, and grab a drink. Attending a conference? Send a Pulse and connect with movers and shakers you should know. The best part? Not only will Spheric curate matches, but approval to connect is completely up to your approval.

Spheric is going to transform social networking as it exists today, officially launching Fall 2015.
If Hitler that gotten the bomb first he could have dropped it on London and the war would have been over.
AIUI Oleg's complaint is more about the compiler removing redexes or moving them about, rather than not duplicating them.
This looks interesting. What are those .patel files? [1]

[1]: https://github.com/be5invis/Iosevka/tree/master/glyphs
I live in Alexandria and I can assure you that I am not a trust fund baby. Only child of a single parent with no college education, self-taught web developer with a decent income.

It is a diverse area. My neighborhood is single-family homes and I would wager half of them are just scraping by. Two blocks in either direction and you'll see abject poverty or McMansions nestled on too little land next to military housing from the 30s.
The fund holds 1.3 percent of listed companies globally
Japan's 279 Kilometer T2K Experiment Offers Three Antineutrino Detections
Same here, I (try to) spend most of my time out of my depth. :)

It sounds like the bandwidth of the 137 MHz satellite signal is in the 36 kHz vicinity, going by the article. So one possible strategy would downconvert 137 MHz to somewhere in the first Nyquist zone of the ~30 MSPS ADC (i.e., below about 15 MHz). The ASIC picks up 3 more bits of process gain by decimating to 3 MSPS, then the host CPU could pick up about 5 more bits by further decimation to about 100 kSPS. The 36 kHz signal would then have a dynamic range approaching that of a 16-bit ADC, which is quite adequate for most purposes.

Of course, IMD artifacts and other spurious tonal responses due to the cheap RF front end don't experience any such improvement, but you sure can't complain for $20.
Fixed it for you
Google is a participant in PRISM. Wouldn't securing your account imply deleting it?
Easy to work with, that was fun!

I was really hoping I could draw Escher staircases!

Technical Making of Monument Valley (isometric game using escher geometry) https://www.youtube.com/watch?v=mCCC9hQm6MM
Did anyone know they issued a CLR already that worked on ARM, PPC, OSX and FreeBSD and is open source?

It even requires perl to build!

http://www.microsoft.com/en-us/download/details.aspx?id=4917

(they yanked official support for half of the bits bit its still in the tree)
Ruby on Rails Performance Optimization
At work. I work 6 days a week. I'm on a one-year contract, but by the time the PO was fully approved, it was already one month into its validity period; and I could not start immediately (I needed a month to wrap up what I was doing). So now I have 10 months to do a year worth of work.
this post encapsulates why development with js can be a nightmare. you start with grunt because that's the cool one, then everyone shifts to the new cool one -gulp- but oh wait, if you are concerned about build time, you need to be using this other new hotness.
congratulations! I have 3 children, now 11, 13, 17.

So older, but they still have activities and schedules. I tend to stay up a bit later than my wife to be able to spend time on coding. I also try and set aside 2-3 weekend days a month to dedicated, don't interrupt me coding. Then I fill in the gaps and spend time as I can.

Laptop and earbuds are helpful to me.
Twitter. To this day, I find it idiotic. I thought society reached rock bottom when politics started using it to convey their message (is there anything sadder than a political agenda that can be expressed in 140 characters?)
Treasure – ORM for rust lang (journey begins)
I find I get more done now because I have less time to do it so I am more focused and intent. (Father of a seven year old.)
Ex-Google Exec: Women Should Be on the Board of Every Startup
I'd say the point is valid though if the only function the tunnel is supposed to fulfil is channelling traffic from and to a web browser.

As far as browsers go, only Internet Explorer lacks SOCKS5 support. And I doubt an office which such stringent header filtering has an IT department that doesn't provide people with proper browsers...
IP white-listing can be great until you one day add a load balancer and all requests now come from a trusted IP :P

Lesson learned: Add more "layers" of security.
As the saying goes, you can beat the rap, but you can't beat the ride.
From their contact page:

$ ssh 2ton.com.au
The Raspberry Pi 2 port is not complete, but it is well on its way (props to benpye who did the bulk of the work.)

The FreeBSD port is a community effort as well.
Any reason you don't use HAProxy for SSL termination too?
Bloomberg: simple pricing model strengthens business model
Their is a problem with that. First that is 15 years old and is not open source (it is just source open). This was for educational purposes and first ever implementation of the common language runtime. It was a prove of concept project.
It's not ready for end-user yet, I agree on that part. However I experimented with CoreCLR on Linux and managed to get things running. It will most likely take another 6 months or so to polish all those and we'll get ourselves a new cross-platform language.
حداد مظلات في الكويت – حداد كيربي – تفصيل مظلات للسيارات – اعلانات الكويت
His nuclear program was so far behind it is unlikely it would have ever produced anything. Nor were the resources available to do anything on the scale of the Manhattan Project.
So it is on windows too (As the software is in its beta phase) .
In my opinion Ember JS is the best framework out there. It's instantly productivity and everything just works out of the box. No worry about tooling and such. If you are coming from Ruby on Rails or similar platforms, ember JS is your best bet.
I'm not sure whether you understood what I was trying to say. For any particular package that had originally had an MIT or BSD license, Canonical's requirement to remove trademarks and rebuild would apply. However, since GPL forbids that sort of requirement for derived works, and it was Canonical that happily sprinkled their trademarks everywhere in the first place, Canonical cannot make that requirement with respect to GPL packages.
Show HN: Brain VR Cardboard app
It was controlled using a screw driver. What makes a device? For me 2 plutonium spheres and a screw driver rotated to adjust the gap counts.
I'm (probably) the primary maintainer of kube-up on AWS. kube-up does a lot of tedious AWS configuration that I/we haven't documented. But there's really no magic involved; it is standard AWS, except for the fact that we use VPC alternative routing to assign each node a private /24 CIDR. There's a lot of tagging of resources as well, primarily so that we can find them later to delete them as part of kube-down, but also to support multiple kubernetes clusters in a single VPC.

Now that we are post-v1 I'm certainly hoping to replace kube-up with something more readable and maintainable (or at least start replacing it). Hopefully we'll find something which better promotes reuse between the different clouds, and hopefully we can document it a bit better as well. The split between kube-up and Salt is also not exactly elegant.

If there are any particular questions you have about how the magic happens, I'd be happy to try to answer them (or feel free to file issues and tag me on github); this will help me make the docs better.
Web Application / API Security Scanner
TLDR; We'll perform a full security scan for your web site, API or mobile application, using our application security scanner, for free, in exchange for building our portfolio. You will receive a highly detailed security report, that's easily understandable by developers and non-security experts.

We have been working on an application security scanner for the past 12 months to produce something that would scan websites, api's and mobile apps for well known, major security vulnerabilities. We wanted to build something that will run in the cloud, scan your websites periodically, and generate a report that's easily understandable by developers and non-security experts. Report will contain a security score for your web site, detailed explanation on each vulnerability found, and instructions for fixes.

We wanted to offer it to the community for free to get your thoughts on it and also help us build our portfolio.
Please drop here a comment if you are interested and we'll get in touch.
"Priority of life" was developed for an 'active shooter' situation, not day-to-day policing. It also doesn't suggest that an officer should take a bullet for someone else, bodyguard style. It's talking about who to protect first, and emergency workers are lower on the list because they have chosen to be there and they generally have the training to deal with the situation.
Ask HN: How do you prioritize your reading material?
Given that there's a virtually infinite number of books, journals, articles, blog posts, etc. to choose from, how do you make sure that what you're reading is really worth the time?
Isn't this basically the same as the Espruino [1]?
Has anyone compared the two in terms of performance and handling?

[1]: https://github.com/espruino/Espruino
I believe anyone that has obvious visible wealth can easily exercise that right -- police like that are bullies and only pick on those they know cannot defend themselves. If you take a upper-middle-class white man and dress him as if he were homeless, he will get the asshole treatment. Likewise p-diddy is renowned for talking shit to cops and having them meekly walk away many times in the past.