skysight-inc/HackerNews huggingface dataset:
> purely for static files

While I do see the need for both small and big servers, this one has support for cgi, and via cgi ssi -- so it's not entirely accurate to say "purely for static files" (as far as I can tell, there's no easy way to completely remove cgi support via the ./configure script -- I could be wrong).

As others have mentioned, openbsd transitioned to a new httpd based off of relayd. Not sure if/how one might compile that for Linux -- I'm not familiar enough with how openbsd organizes its code. I figured out one could get the relevant source with:

cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs get src/usr.sbin/httpd/

but as far as I can tell, there is no support for any OSs other than openbsd at this time. I'd love to be wrong, but "httpd" (where "httpd" is supposed to be not apache httpd, but new openbsd httpd, which as far as I can tell, is just called, "httpd") isn't very easy to search for...

Anyway, openbsd httpd has support for fast-cgi -- so a truly simple server, would be something like:

http://unix4lyfe.org/darkhttpd/
its just javascript, its so error prone, it can take hella long to write simple algorithms, because of some undefined error.

compare that to golang, even though u make errors, the compiler is so awesome at pointing those out. And u can get so much done
Eclipse user here. The Java editor does have folding but I find it's much easier to navigate by doing a incremental find (Ctrl-S in emacs mode) or jumping to declarations or uses of a particular symbol. Looking through source by reading words is too slow; even the outline sidebar with method names is not that useful.

The last time I used folding and actually liked it was with GFA Basic on Atari ST :-)
The sad truth is that there are many, many people like you knocking at the door of the US wanting to get in, and most don't.

Build your product. If it does well, revenue will (should) follow, and if you do need to move here to pursue more sales it'll make the visa process much easier.

You can always apply to YCombinator and friends if you feel like your company could benefit from it, but don't let it distract you.

The same way that an aspiring actor shouldn't focus on "being a part of Hollywood", but rather on going to auditions and getting parts, don't focus on being part of Silicon Valley. Focus on building your product and company. Things will naturally follow.

Of course, this is assuming that your end goal is to build a company. If your end goal is to move to Silicon Valley, there are easier options (get a job here, or enroll as a college student in a US university in a STEM field, get a degree, which will allow you to work for 1+ years without a visa and will make your life easier for getting a visa)
I'm not sure how complete this is, but there's really not much to implementing a graphdriver backend:

https://github.com/gurjeet/docker/tree/00cb68183447a43fd1498...
Yes, Emscripten, basically takes C or C++ and compiles to JavaScript using LLVM.
What does it mean to you for a salesperson to be honest about their products and services?
Naive Bayes and Text Classification I – Introduction and Theory
It was just an example how you could detach the secret and the device made by Apple. I'm sure there are better ideas for that. The way this is configured now Apple can decrypt any phone, which voids the argument made in the OP. But I can understand why this will be the unpopular opinion here.
Is Dvorak really, scientifically better?
Fiddling around with rvm I tried to install the latest ruby on OSX. Well, something in "brew" broke so I tried to do a "brew update" but got an error with that. Then according to an SO entry I should "git reset" the local git repo used by "brew". Why do developers put up with this shit?

Edit: I just discovered "brew doctor" and I had to use it. Ugh. Showing lots of warnings that I have to wade through...
Might want to check out https://www.upcounsel.com/, couple of friends used them for the startup incorporation process and said they loved them. Not sure if they deal with patent law but could be worth checking out.
It's all right, I just try kind of hard to be the least ad-having, most license friendly, site I can host... so it gets my goat a bit given what I think are better "ugh" targets by far.

I'm traveling and it's not convenient to fix it tonight, but I will do it as soon as I can.
My recommendation would be to do a very simple patent search - I've always found the EPO Espacenet superior to the USPTO offering, Google's is even easier but less refined. Find a few applications for things in the region of your invention in the last few years and look at the patent documents. You'll see the names of the patent attorneys in the filing info. Contact them and ask them this question. If you can find the IPC code for your idea look at maybe 20 sets of metadata and look for similarities - some patent attorneys have specialisms.

Eg, https://register.epo.org/application?number=EP13189587 has BWT as their representative.

If you find the quoted prices too high and your offers of lower amounts are rebuffed then ask again here stating the offers you were given.

Ultimately you can submit a complete disclosure of your invention and then mould the actual application later so if you're doing this as a prelude to seeking funding then that is probably the cheapest way to go. A good patent attorney is likely to be able to get you a relatively useful patent that is actually more broad than your actual invention however.

https://oedci.uspto.gov/OEDCI/ might be useful, it's a USPTO list of those registered to practice with the USPTO, you can query by state, for example.

If you're after a UK agent feel free to PM me for further info.
No apps "run by default". The OS's core components require user confirmation, as that's just a normal iOS update.
Airware (YC W13) is hiring SF engineers to work with commercial drones
Airware's next-generation commercial (non-military) drone platform extends beyond flight-related hardware and software. Giving drone operators online access to data, video, and images is a critical element of transforming drones from flying robots into viable business tools.

We have multiple opportunities to play a leading role in architecting, implementing, and deploying an innovative web-based management system that is tightly integrated with sophisticated autonomous aerial technology.

Web Positions
-------------
Principal Software Engineer, Cloud APIs
http://boards.greenhouse.io/airware/jobs/19001

Software Engineer, Cloud APIs
http://boards.greenhouse.io/airware/jobs/19224

Application Developer, Windows
http://boards.greenhouse.io/airware/jobs/13472

UI/UX Designer
http://boards.greenhouse.io/airware/jobs/16606

See all
-------
http://boards.greenhouse.io/airware
The whole article is an interesting read, and as another comment here already pointed out, it links to other good online content. I think that the article's point about online security is a healthy reminder for many Hacker News readers:

"The seven persuasion principles might be as old as the hills, but Stajano says they are often ignored by security experts, who are as likely to blame security breaches on the people using their systems as they are to blame the scammers. 'Too many security professionals think: users are such a pain – my system would be super-secure if only users behaved in the proper way,' he says. He is trying to persuade experts that they need to make security systems that work in harmony with – not despite - the way we behave."

We have to deal with human nature as it is, not as we wish it to be, if we are to make progress in computer and Internet security.
A new type of software helps researchers decide what they should be looking for
Why nerd culture must die
Trying to avoid cleverness is a big one for me. Also, learning about patterns (both from books and from existing software). It can be pretty overwhelming to start a new project from scratch, but patterns provide a reference point to start from.
> We all hate it but can't get away from it.

Gratuitous generalization, because you hate it, doesn't mean everybody hates JavaScript. The problem is that most people that hate JavaScript don't bother to properly learn the language because of the familiar syntax and they get burned by it :).
Unfortunately, most prisons don't allow calling to a cell phone in their rules. Violating it can result in full suspension of your phone privileges.
There is a very quick overview of all this here: http://en.wikipedia.org/wiki/Write_(system_call)#Higher_leve...
If you lived in Minnesota, an inventions assignment agreement is unenforceable. Employers cannot legally condition employment based on an assignment of inventions unrelated to the employee's work, or made on the employee's own time, or not based on the employer’s trade secrets, equipment, or resources. The MN statute 181.78 lays this out clearly.

MN is a great place for you to work on your lean startup no matter what kind of work you do to pay the bills.
Give Dart a try
... and in 5 years it will be obsolete.
yes, $1-2k can get a lawyer to help you write a provisional but writing the full patent tends to be more like $5-10k, and that's assuming you do most of the work. a provisional gives you 1 year to write the full patent but at least starts the clock on first-to-file.

if you've formed a business entity around the patentable idea, a law firm may be willing to defer their compensation (if you pitch them).

but you only want to patent something if you think you can defend that patent in the future. otherwise it's an expensive paper trophy.
Man, the nerve of some people.

You're working at a company, where you willingly signed a work contract, which included things like "when you're at work you will work" and "since we're paying you we'd like your full attention when you're at work". They're paying you to produce work according to said contract. You're also probably in tech, which means that your employer isn't Walmart or McDonald's or an Indonesian sweat shop and you're generously compensated in money and benefits.

And now you're asking the internet for tips on how to break that contract without getting caught. Really? Even the 11th graders I teach have more common sense than that.

Your non-immoral options are:

1) try to change your current position to part time so you can deal with your other business on the side.

2) quit your job, and find another job that will let you work on your side business during work hours (improbable)

3) quit your job, and go freelance to fund your venture (or wait tables, make coffee at Starbucks, whatever it is you need to do to pay your rent).

4) quit your job, go all in using your savings.

No matter what, sneaking around and knowingly breaking your work contract and inventions agreement won't end well for you. At best you'll get fired, at worst you'll get sued.

PS: since you're trying to start a company, what would you think if down the line you found out that one of your employees posted exactly this on HN?
I think perhaps you're not nearly as clever as you think you are.
I come to bury IAmCarbonatedMilk.com, not to praise it (2002)
If you're more inclined to go down a functional route then you may find elm to be particularly exciting:

http://elm-lang.org/
You have formed a team and built several successful products, why not wait until you are expanding. Moving your team to Silicon Valley will probably boost your burn rate by a factor of ten after you pay the transition costs. Use your time now to establish some long term business relationships, you can plan future visits but I would encourage you to build on your current successes in place.
How the world’s health organizations failed to stop the Ebola disaster
What point are you trying to make? That because of the existence of Nginx, every other HTTP server project should be abandoned?

Nginx certainly is some kick-ass piece of software, but as every other software, it doesn't suit 100% of users 100%. There are valid reasons to choose different HTTP servers over Nginx, as people in this thread already pointed out.

To give another example, the OpenBSD project, famously obsessed about code quality, recently removed Nginx from the base system, not least because they think its code is "über-optimized," possibly eliminating OS-level security mechanisms. [1] This doesn't mean that the code bad, but some people prefer "tiny" and clearly-written codebases that can be audited in reasonable time. thttpd, in particular, seems to hold the balance between code size and performance very well, which makes it a nice choice for embedded systems.

[1] <http://undeadly.org/cgi?action=article&sid=20140827065755&pi...
> Some claim rights over everything, others only over things related to the company's business

Mine was limited to the company's primary business. Then I asked the founder (of Linode) what "the company's primary business" entailed. He smugly replied "computers."
> iCloud backups are not encrypted

This is wrong. iCloud uses AES 128 and 256 encryption:

http://support.apple.com/kb/HT4865?viewlocale=en_US&locale=e...
Facebook Messenger is adding P2P payments
Same exact thing happened with the '08 bailouts in the US, which Americans were strongly against. There must be some general mechanism by which the most powerful influencers get their act together when they need to.

And now I'm sounding uncomfortably similar to conspiracy theorists ...
>I think it's these people that are hoping one day that the technological wonderland comes where nobody has to work

Frankly, I consider it a very strong statement to say that your job is the best possible thing that you would enjoy the most of all to do with your time.

>I don't think we'll ever get a world where no one has to work,

You think nothing can replace human labor economically? Then what do you think human labor is, and where do you think it comes from?
Thousands of mountains have been discovered under the sea
For what it's worth, I thought the site was very well done.
To continue the discussion...

https://hackpad.com/Native-Bitcoin-Applications-dNXoRdhwIb5
Well... one might time how long it takes to load various patch-levels of... say the bash binary? And so deduce if another container is running known-vulnerable code, to later leverage that in a spearfishing attack.
You could, but the inherent limitation of the Streisand effect is that both media and public attention are finite resources.

You can focus media/public attention on at best a few individuals and have it be effective. Have tens of thousands, and the effect is too diluted to be meaningful.
Where are you looking? Have you had luck with word of mouth referrals?
Even non musicians- the OSC protocol is used a lot in HCI research for prototyping (TUIO is built on top of OSC). For my master's thesis, I implemented a system that allowed a user to seamlessly transfer content (an open picture, playing video, etc.) from device to device in a room (phone, pads, tabletop computers, etc.), and the protocol gluing everything together was built upon OSC.
Film deals reflect Netflix's growing clout
https://hn.algolia.com/?q=intelligent+plant#!/story/forever/...
Are you suggesting that morality has no purpose other than to provide a civilized society? That's one view on morality, but it's not that common nowadays.

To suggest that you shouldn't harm a neighbor solely so that others won't harm you is a very selfish proposition. This is an anemic view on morality and altruism in any modern society. From an evolutionary standpoint, altruism and morality serve merely as constructs and contracts to enable a functioning society, but from a psychological standpoint they're something far greater.

>The reason certain behaviours are considered moral/ ethical and are set as a standard is to make sure we (human) can have a reasonable life among one another, and not because the behaviour itself is intrinsically good.

Ok, then what happens if you decide a certain person or certain group no longer reasonably belongs in the category of "one another"? For example, how some Sunnis view Shiites, and how Hutus view Tutsis. That group is no longer seen as a vital part of civilization and can be treated in any way at all, because behavior cannot be intrinsically good or bad.

>I think the main point I'm trying to make is that I'd love to see a concrete philosophical explanation on many of vegan-related stuffs.

If you want one example of such a philosophical explanation, look at utilitarianism. There are countless other moral philosophies which can be used to argue that "intrinsically good" behavior is a thing to strive for, even if it may be applied with certain nuances.

It may be debatable whether moral vegetarianism actually has the desired effect of a utilitarian standpoint (not eating meat may not necessarily reduce the number of animals killed each year for food), but it is ludicrous to argue that morality plays no role in a vegetarian or vegan's desired end goal of reducing animal suffering and death.
Snowflake-shaped networks are easiest to mend
This spam I think.
Thank you for posting this. Very few brazilians are aware of this possibility of fraud.
When I tell people that our voting machine is insecure I always get blank stares. It's something that they haven't ever even considered to be possible.
Ray Gottie Don Dotta – Call Me Don Dotta
http://www.avvo.com would be another great option. I have a few friends that work there, really cool office-space.
Vague, all-encompassing definitions like that generally don't hold up in court.
Yup, I've used Mandos, just stating that there are other options if you don't want automatic.
The questioner wrote:

"But how are you supposed to do that with a full time gig that has you technically under an inventions assignment agreement?

Those agreements, arguably, would own anything you create while employed, at least if it's somewhat related to your full time job. Granted, their enforceability is questionable in a lot of cases (especially in California)..."

Which means, his employer put a stipulation in the contract which means they own everything done while at work, or anything done outside of work (even if it's not related to the job).

I would guess those stipulations are not really enforceable, but I don't know.

You wrote:
"since you're trying to start a company, what would you think if down the line you found out that one of your employees posted exactly this on HN?"

I'm not the OP, but in my case I encourage my employees to have side projects. Even projects that could turn into businesses. I don't own them, and having those outlets often makes them better employees. They obviously have non-competes in their contract, which cover our area of business, but not unrelated side-projects.

As a side note, I don't understand why your comment is so aggressive. You're probably right, in that if the contract is really as the poster states the safest thing is to find another job. However overall I think the moral fault lies with the employer, you shouldn't be able to restrict your employees in this way.
http://waltherpragerandphilosophy1.blogspot.ro/2014/07/fearf...
I would keep everything above board in cases like this. Be open with your company and let them know exactly what you intend to do. If they are upset by it then you should probably question what it is you're doing.
I'd like to add something to the discussion wrt network architectures and representations of neural net parameters. Neural nets when being trained can be packed up as one parameter vector to represent this same structure. In fact, this is how a lot of linear optimizers train neural networks. To demonstrate a quick example:

A typical neural net layer is made up of a weight matrix W and a bias vector. This represents the connections of the network.

A typical feed forward architecture will have a weight matrix of number of inputs x number of outputs with a bias equal to the number of outputs.

Say: W is a 3 x 2 with a bias of 2. We can then represent a neural net parameter space as an 8 length vector.

The only the the neural net needs to know how to do is "unpack" the parameters to retain the layer structure. I actually do this in deeplearning4j for training the weights and putting them in to a search algorithm.

You would then repeat this for however many layers you have in your network going in order to the output layer.

Anyways: the reason deep architectures are used with more "learning" capacity is due to being able to intermix different kinds of activations. A typical example of this is a deep belief network where you have an initial layer that takes in continuous data and then the activations change it to binary.

It really depends on the problem you're solving as to whether this is relevant or not.

Just a neat thought. Anyways great paper!
Ask HN: Am I being underpaid and should I switch to consulting practice?
Hi HN ,

I enjoy discussion on this site and everyday I get to learn something new. I am on H1B in US and live in Boston area. I am wondering if I am being underpaid ?
I have near seven years of experience and earn close to ( but less than ) $80K / annum.
I would describe myself as fairly good though not expert in software development. I actively code and lead team of two developers. I am heavily involved in data platform engineering applications and possess good knowledge of many technologies.

My company employs lots of people on H1B visa ( nearly ~30 % population ). I constantly see stories on how people starting their jobs are getting $90K and on.
I understand SF, NY are highly expensive areas so adding more $20k make sense but still Boston itself is very expensive city to live.

I am a bit shy and probably worst negotiator. Last year when I changed job I even did not counter the offer ( I feel bad though ! )
I read this post https://news.ycombinator.com/item?id=8409020 and see people are at least earning $50 to $60 per hour ( roughly $130K or more ) and now wondering should I change from direct employment to consulting gig ?
One of challenge I know as of now in going for consulting is , my network is very weak. I am less social person and know very limited number of people in US.

I am 29 years old and might soon start a family. So not sure if consulting is way to go if you have family. I would like to know from you if I am being underpaid being on H1B.

Any pointers to improve myself both in terms of earning and negotiation will also be helpful.
Sorry for throwaway account and Thank you for taking the time to read the post.

Cheers ,

Fellow HN reader
So why do you paint bathrooms instead of doing Drupal or Angular work?
Go check out some conference presentations by Christopher Tarnovsky. He's made a career out of it, and acquired some very expensive toys (focused ion-beam equipment doesn't come cheap), but there are lectures of his explaining how he broke the (iirc) STMicro TPM chips for fun. These sorts of devices have all sorts of countermeasures against direct invasive attacks like these, but with enough cash and bricked test phones, I'd be greatly surprised if it wasn't entirely practical.

The only issue would be making the process so 100% reliable that you succeed first time, because a single mistake or misunderstanding could trash the single copy you have of the code.

I'm curious now if flylogic or chipworks have done any serious teardown of the 'secure enclave' stuff.
I mostly do legacy code conversion for the banking sector. It's all contract work, so it varies, but 95% of the time that's my deal.
Requiring at least one crew member trained in its use

Just plain false. Reading comprehension? I stated that the crew would have to make a request to have it launched. It could be remotely piloted by a US military organization or similar.

putting a portable military-grade weapons system on every container ship.

Remove the ability for the crew to operate it, and this ceases to be an insurmountable problem.

A small crew of armed marines or mercenaries and perhaps some heavier stuff built into the ship would also work.

And be much more expensive. My solution just required an extra half container be loaded and offloaded, plus routine inspection and maintenance. Mercenaries would entail big salaries, which was the whole point of my suggestion.