skysight-inc/HackerNews huggingface dataset:
Relatively speaking this really couldn't be further from the truth.

There's plenty of codebases that implement some programming language and only use C bindings for truly low-level primitives, such as external library calls, memory allocation etc, leaving any substantial logic that's built on top of those OS primitives to a higher level language.

Emacs is not such a codebase, most of the C code by volume is things that could perfectly well be implemented in Emacs Lisp itself, but aren't because Emacs Lisp is relatively slow.

So while it's fine for "scripting" Emacs itself, things like regexes, anything that has to do with low-level character handling, most of the GUI layout of Emacs itself (i.e. the buffer logic etc, not actually calling ncurses or X) etc. is written in C.

Just browse through the C files in src/, most of this clearly has nothing to do with interacting with low-level OS primitives: http://git.savannah.gnu.org/cgit/emacs.git/tree/src
Not a single programmer, manager, or any other central office employee gets paid out of COGS. There are at least 50,000 of those. Same goes for real estate costs, legal costs, etc. Servers and their operations costs might go into COGS on the AWS side, but definitely not on the retail side.

Breaking out investment vs administrative cost is actually very hard to do. Is a programmer working on a new feature an R&D cost, or an administrative cost? What if it's a new service? What if it's a new product? What if it's a bug fix? What if it's a critical vulnerability? What if your programmer does all of the above at different times of the year? It's pretty much impossible to separate administrative overhead from research and development in tech companies, which is why they tend to not do it unless they are forced to. It's up to their shareholders or the SEC to force them to do it if it happens, which hasn't been the case for Amazon yet.

It is assumed that they would be turning a profit if they decided to just keep the lights on and not invest in the future. That's what they tell us, and that's what we see (new product and service announcements tell us as much). What we don't know from public information is whether they would be 10% more profitable or 10,000% more profitable. And that's before we know if their investments will pay off or if they become another perpetually subsidized program like Amazon Fresh. That's why Amazon stock is considered to be a speculative investment, whereas Google and Microsoft are more in the blue chip camp. My experience and hunch tells me that Amazon stock prices are at least 50% undeserved hype.
An Intel VP mentioned it at JavaOne. He said they would provide FPGA support for OpenJDK. One central use case he mentioned would be big data & machine learning on Spark.

It was very pleasant surprise! The JVM world usually does not a have a great interface to the heterogenous world. I think it would yield tremendous benefits. FPGA-accelerated matrix multiplication, sorting, graph operations sound very appealing.

And then, as you mentioned, is the possibility of JITting things. http headers parsing ends up on the FPGA, and routes things to a message queue an actor can read. Or FPGA based actors; Does that make sense?

----

I have been unable to follow this development at all, however. Do you have any news about this project? I've been looking for a blog, a github or a mailing list, but can't find any.
You only addressed my points showing there was a link between the communities. Just because there are links between the lisp community and other communities doesn't mean Scheme isn't a lisp.
Depends what you want to get out of it. I used it for a year to host a crappy blog that got trivial amounts of traffic. It's perfectly fine for its primary use case of getting your feet wet in the AWS ecosystem, learning what all the different features are for, and how to manage them. If you want to do any "real work" you'll blow past what the free tier offers, but that's ok with me.

Yes, you can incur charges if you exceed what's covered by the free tier. Not all AWS services even have a free tier, and those that do are severely limited (1 micro instance, 5GB of S3 storage, etc). You're not off in some sandboxed environment where they just shut you down if you go over the limits. It's more like a monthly credit of $X for the first 12 months of your account. To cover my ass, I set a really low billing alert threshold. Like "email me if my monthly bill ever projects to exceed $1".
Someone with the net economic value of a cruise ship photographer??? Before they got married, Oesterlund ran a struggling flower importer. Is it really so hard to believe that Pursglove was fairly heavily involved in his post-marriage success? Particularly in light of quotes like:

"Pursglove hired the employees, trained them and helped manage the offices."
> You can generate both.

That means that a user who wants to patch the build rules has to have the generator, and learn the generating language instead of the Make language he or she already knows.

Autoconf has this disease. You can build from an official tarball, but touch anything (or use a git checkout) and you need auto-this to generate auto-that. Not just any auto-this, but a specific version, that is seven releases behind current, or else three releases ahead of what your distro provides.

> should result in the same output

It should; but someone has to ensure that it does. That's just another unnecessary concern that doesn't actually have to do with anything with the functionality of whatever is being built. We would like to spend our QA cycles validating the program, not three ways of building it.

Best to have just one way to build, and don't require users to install extraneous tools.
I don't know the reasons behind the shortage, but if this is a one-off thing, TME still carries some: http://www.tme.eu/gb/details/osk40603c1e/smd-colour-leds/opt...

By the way, wouldn't it be feasible to just mix red and blue, either discrete or in RGB packages?
Nope. Folks will be able to use just certain icon packs on their site. For more granular control, the $350k goal was a desktop icon subsetter.
Mining is unlikely, with bitcoin at least. Bitcoin passed the FPGA stage and moved onto ASICs many years ago. There are some alt coins that are currently best mined on GPUs though and this may change that or put their claims to a real test.
> over the median wage on average

That's an odd measure. Why use the average median instead of the median median or the average average?

Remember also to take into account the median (or average, whatever) wage among people with four year degrees + special training + willingness to continue training to maintain their certificates.
Static page generator for documenting GraphQL Schema
Developer here,

At my company we needed a Java library that did the same type of work that zxcvbn does, and back in 2014 when I started looking around, I didn't see anything. So I took it upon myself to create a Java implementation of the methods that zxcvbn uses. We've been using it internally for a good while, but I didn't get around to cleaning up, and commenting the code until a few days ago. I just released it publicly yesterday.

I wanted to focus on being highly configurable for different use-cases, and I think I achieved that pretty well, though any feedback is more than welcome.
People focusing just on pricing miss the point. The key factor here is that it is easy to get started but if you need to scale you have the full power of AWS offering and ecosystem that cannot be matched by VPS providers
Until you get successful and Amazon copy your implementation.
Zodiac 2017
wow. that's what was going through my mind reading this article but it quickly dawned upon me (and sad) that I probably won't be able to build anything with it as we are not solving problems that require programmable hardware but euphoric nonetheless to see this kind of innovation coming from AWS.
If someone can see a font, they can pirate it. We just don't want to make it really, really easy.
you may be wrong about everything.

you're all idiots.
Their yearly conference, Re:Invent, is going on this week, so there will probably be more announcements to come.
In addition to those? Actors, musicians, sport people. In the office? Managers. Hence the advice, focus on soft skills. I would wager the top 1% on the developer track earn nowhere near to the top 10% on the managerial track.
And your best bet is to regularly change jobs otherwise good luck getting anything more than a 5-10% increase, while managerial salaries and bonuses scale with the size of the organization. Also, there is a lot to be said about the difficulty of the work.
If you think that solving this problem in a consumer-friendly way is beyond the wit of Amazon then I think you are wrong.
After that WaveNet speech synthesis demo, none of these sound even remotely good.

https://deepmind.com/blog/wavenet-generative-model-raw-audio...
Are these custom fpgas or an Altera or Xylinx?
The reason the 'service' command was introduced was to allow an abstraction between System V, systemd, upstart and all other service managers.

`/etc/init.d/nginx restart` is a System V sublety.
Paging @idlewords, I’m sure he has a lot to say about this :)
I pick .com for everything. .net for network related things but only associated with the .com (CDN cookieless domains, etc).

I'm ok with .tv and .io domains for specific things.
My solution currently is : Aws API gateway + Cognito + lambda + DynamoDB for webservice. S3 for html/css/js. CodeDeploy + Cloudformation for deployment.

Athena does not gurantee for timing, use it for async call and offline processing
It's cool to know it's an area of active research. I wonder if there are also power consumption ramifications though. While e.g. AES-NI is incomparable performance-wise, my novice (perhaps incorrect) understanding is that ARM beats x86 power consumption by having a drastically simpler instruction set.

Could a simple ARM-like instruction set plus a generic "synthesize and send this loopy junk to FPGA" have power implications without a major performance impact on cloud servers? (Yeah I know this is likely a topic for hundreds of PhD theses, but is that something being investigated too?)
I've built this here: https://narro.co (I haven't built into the Polly voices yet, but it uses Ivona currently, Polly's precursor.)
I had a wee wonder whether this could in itself be exploitable -- whether some other compromise could end up dropping a file in /boot/ssh and then waiting for a reboot to enable persistence. I guess by that point, however, you've probably already lost so that threat model likely doesn't matter.

I'm interested in whether this will make a meaningful difference, however. It probably would have been nicer if Raspbian required users to put a root password into /boot/password or similar, and then deleted that file on boot -- or mandated that users change their password on first login. My concern with this is that I suspect most tinkerers will press the "make it work" button, drop /boot/ssh in, and never bother changing the password.
I've been learning Haskell and Idris off and on now for a few years. I have a few friends who happen to be computer science majors and they tend to be very dismissive of Haskell, they mostly focus on the performance tweaking of a Haskell program, which seems to be a 'black art'.

Does anyone know if Idris improves on this aspect of Haskell?
> All our python examples are in framework X, that's sufficient for everyone using framework Y, right?

I work on GCP on the Python samples.

We generally pick Flask, since our thinking is that for many API calls, it is pretty much identical code in other frameworks, and Flask has minimal boilerplate.

We have quick starts for Django for all our platforms. I think Flask + Django covers a huge chunk of Python frameworks people are using.

If you think we are missing important Python samples, you can file an issue here:

https://github.com/googlecloudplatform/python-docs-samples

There are a lot of potential samples to write, so any guidance on which ones people want is always helpful to us.
Sure, but they aren't Web Scale!
We've asked you many times not to comment like this, so we have to ban the account. We're happy to unban accounts if you email hn@ycombinator.com and we believe you'll post only civilly and substantively in the future.
I am currently using Osram Lightify bulbs with my SmartThings hub (no separate Osram hub required unless you want to update the firmware), and I have both tunable white and tunable white+rgb bulbs that work great.
Startup plans to provide molecular age profiles by quantifying 1000s of proteins
Top 8 Places to Look for Life in Our Solar System
honeypot has to be the most generous name for "federal government controlled and operated pedophilia distribution network" ever.
There is probably more C# and Java tools than Go. There has been more time for libraries to build up.

But to the general thrust of your question, because that's the problem Google was trying to solve? The built in libraries make it quite easy to write applications that speak HTTP/HTTPS in a reasonably scalable way.

Rust will probably be comparable in the future, but isn't quite there yet. C/C++ remains a bit difficult, although it should become a lot easier if the C++ networking TS makes it in.
I was using it to write C++. The default cc-mode didn't work properly. I was then pointed to various random plugins that people had written to address various modern C++ syntax issues but each had their own bugs.
mbeaty_1 above me has a point, but I think Snowmobile & Snowball both tie into the naming for AWS Glacier.
> There was this awesome bug with AWS a while back too where you could accidentally sign up an account twice

Not a bug, this has been amazon's philosophy with accounts on all systems from very early on. Some of the initial designers of amazon knew families where multiple people shared one e-mail address, but wanted separate accounts for shopping.

Multiple accounts per e-mail address was a concious design decision for all Amazon systems.
I read the entire article. She was so involved...that she had no idea about the companies, bank accounts, or professionals involved. She sounds really integral to the business. I'm not defending the guy(I hate malware and the people that make it as much as the next person), but get yourself through a nasty divorce and you might change your tune. The real failure was the husband trying to "keep going" so to speak - he should have cashed out and disappeared as step #1.

If the husband has/had any integrity, he demonstrated it by fighting this in court, instead of handing someone a picture of his wife and $250,000 in cash.
Rather than try to capture the state of the C library's memory-allocation subsystem, it simply marshals and saves the set of Elisp objects known to the editor.

This is what Allegro CL (and I presume all the other Common Lisps) have done for 30+ years. I'm surprised they didn't move to the marshalling idea before, for fear of the Glibc hacks going away.

EDIT:

Actually, unexec() was used in the early days, so the 30+ years is wrong. It's been more like 20+ years.
How do I get it working on my arch setup? I think ubuntu provides something that still works with systemd, but is that true of all distros?
Subprime delinquencies highest in 6 years [pdf]
I agree--the impact of a great engineer working in healthcare is very high, particularly if you partner with medical experts.

We're a small startup that has partnered with UCSF Cardiology to detect abnormal heart rhythms, and other conditions, using deep learning on Apple Watch heart rate data:

https://wsj.com/articles/new-study-seeks-to-use-deep-learning-to-detect-heart-disease-1458240739

https://blog.cardiogr.am/three-challenges-for-artificial-intelligence-in-medicine-dfb9993ae750

https://a16z.com/2016/10/20/cardiogram/

We have about 10B sensor data points so far. If you're a machine learning engineer and interested in working on this type of problem, feel free to email me: brandon@cardiogr.am.
Ashton Kutcher Rescued 6000 Sex Trafficking Victims
If one partner earns more and pays a disproportionate amount of the downpayment and mortgage on a house that both partners live in, is the house really only 1/2 theirs legally? Ethically?

Makes sense to me. If say, the dad stays home to take care of the house and look after the children, while the wife works. Should the husband then be left with no claim to money/house if the wife decides she wants a divorce?

Maintaining a house and raising children are not low effort jobs. If you calculate how much daycare + a basic cleaning service would be year round, I doubt the cost would be minimal. Not to mention the fact that the person staying home will undoubtedly have a tough time entering the workforce after an extending period of time away from their careers.

Even if both work, how would you go about figuring out the split if the incomes were inequal? Do you literally just take the incomes and proportionally divide up the assets accordingly? What if the person earning more doesn't actually contribute their share to the mortgage, and wastes money on frivolous expenditures? How do you actually decide what is fair?
Reading GCP documentation is a delight. Reading AWS documentation feels like reading Salesforce's documentation.
My vision of romance is more like "I love you for who you are, so I give you everything I am, and everything I have, until death do us part". Corny and old-fashioned, but that's me.
Exercise as You Work in the Office or at Home with SpinaliS Chairs
The FPGA Accelerated Cloud Push Just Got Stronger
I wish every cloud company had a managed Postgres offering. The potential pain of managing my own database is what keeps me locked in, and I'd be able to switch at a moments notice if that weren't the case.
This is great. Reading now. Thanks for the recommendation.
"The systems administrators are the guys who buy the desktop computers, setup windows, and kinda manage the active directory."
How is that if you are traced at the ip/auth level?
Will this help me tag and classify my thousands of personal photos? Once it recognizes a face will it tag it and identify it the next time I call it with the same person on another picture?
> "Pursglove hired the employees, trained them and helped manage the offices."

And yet she had no idea about where the money went, the people paid to manage it, or really anything else. She was scorned, I get that, and she wanted half of what was his...not hers.
Yeah, gotta monitor daily
>I think that code written where NIL is the sole false value tends to read better than code with a distinguished false value, but I'm open to the idea that uglier code is more reliable.

It's less reliable, and less clean. If you can't see the problem with overloading false, look at C, another language which overloads false and suffers for it.

>Only mistakenly. I used to think that Lisp-1 is better: after all, I'm used to other languages like C or JavaScript where functions and variables share the same namespace.

I have yet to see a disadvantage to being a lisp-1, and it comes with many advantages: we don't have to function and funcall everything, which makes our code a good deal cleaner.

>But it's not an actual descendant of a Lisp

That is definitely wrong. It is emphatically a descendant of Lisp. In fact, the very first paper on Scheme, AI Lab Memo 349, described it as "a full funarg lisp."

We can argue about whether Scheme is a lisp, but its descendance is well-documented: if you can't trust the language's creator on its origins, than who can you trust?

>it's under-specified

This is true. However, R7RS is working on fixing this. And as I understand it, it's even including a standardized procedural macro mechanism, so there you go.
for a moment I got super excited and thought us-fin-1 was real then saw that trailing slash indicating sarcasm.

maybe we'll see High Frequency Trading For The Masses sort of situation in the future that wipes out profits for existing guys although it seems unlikely seeing how arbitrage opportunities are all automated by large capital holders.
They do, however, offer over 2x disk space in some of their plans. 80GB in LightSale and DO vs 192GB in Linode
There are businesses like that already but most (not all) act as consulting services. Beyond regulations, there are three main problems.

1. Each organization has their own data silo and treats it as if it were gold. Therefore it is difficult and expensive to aggregate.

2. Because the data is sensitive, there are often many contractual restrictions beyond HIPAA on how the data can be used. Anything from research purposes only to you can build a commercial product but you can only sell it to the data owner.

3. Even if an organization wanted to share data with reasonable restrictions and pricing, it is often hard to do so because their focus isn't software. So it is difficult or impossible for them to share it.

Source: I made a serious attempt at a healthcare data analytics startup. It didn't work out.
Ask HN: Anybody working on a good math editor for the web (or would like to)?
I was trying to put up a few equations from a course I was doing, on my personal blog and I was curious about how people normally put up equations on the web. More importantly how the content -> presentation workflow works? Some solutions I have encountered are:

1. Do it in latex, generate PDF, copy image and paste or save as URL and link URL to an img tag.
2. Use some GUI (standalone or web) app to write latex/mathml etc as equations, generate the layout, save as image, copy and .....
3. Have custom plugins on a custom installation of <your favorite blogging platform>.

Can this be done better and in a less painful way? I can see this may not be such a hot market, but was curious to see if anybody is working on this in an interesting way.

One idea that comes to mind is if the copy-and-paste aspect can be gotten rid of by say the equations/math-document being hosted as a resource at some REST endpoint and a PNG representation is served on a GET (if .png is the format selected). Similarly an /edit would take you to the "editor page" of the equation. (2) above would still be required but (1) and (3) are taken care of.

Thoughts?
If your language is not purely functional it is imperative. There is really no conceptual difference between Clojure and Python, except for syntax/macros and that Clojure has immutable data structures in clojure.core.

You could use mutable arrays in Clojure the same way you could use immutable arrays in Python (yet nobody is calling Python a functional language.)

Still, I agree that functional mostly means "language with closures and immutable data" in the mainstream, but in the context of this post I'd say it's not that hard to guess that the authors meant purely functional.
Oh, right. I don't like that. Mondash does it and it is not good.
+1.

Also, s/wander/wonder/.
What about companies interested in real-time streaming of 3D content? That use case is extremely sensitive to latency, probably more so than normal gaming is.

Fortunately the amount of additional latency introduced is likely to be negligible (another comment cites PCI-E switches incurring <= 1µs).
Hmm, the usage of .dbc files is interesting. That format is owned by Vector and proprietary. I'm curious as to what the limits of using DBC are, as I'd love to integrate them into the product I currently work on without paying thousands of dollars for the official API from Vector.
Your first statement is true, but the traffic doesn't have to be successfully terminated for an attack -- a DDoS attack can easily fill your internet pipe with traffic even if your firewall silently ignores it (and indeed, once the attack is underway, it's likely that your servers can't keep up with the request rate, so many of the connections are going unanswered). So a VPN is no magic bullet.
What others have said is true, and also note that Amazon bought Twitch 2 years ago, so I'm sure Amazon can run their own product announcements through Twitch if they want :)

EDIT: updated when amazon bought twitch, woops